/* prebid.js v7.39.0
Updated: 2023-03-08
Modules: 33acrossBidAdapter, adagioBidAdapter, adponeBidAdapter, adyoulikeBidAdapter, amxBidAdapter, aolBidAdapter, apacdexBidAdapter, appnexusBidAdapter, brightcomBidAdapter, connectadBidAdapter, conversantBidAdapter, eplanningBidAdapter, ixBidAdapter, lockerdomeBidAdapter, medianetBidAdapter, microadBidAdapter, nobidBidAdapter, nextMillenniumBidAdapter, minutemediaBidAdapter, openxBidAdapter, pubmaticBidAdapter, rubiconBidAdapter, sharethroughBidAdapter, sonobiBidAdapter, sovrnBidAdapter, synacormediaBidAdapter, teadsBidAdapter, trionBidAdapter, tripleliftBidAdapter, resetdigitalBidAdapter, adtelligentBidAdapter, unrulyBidAdapter, gumgumBidAdapter, yieldmoBidAdapter, onetagBidAdapter, rtbhouseBidAdapter, colossussspBidAdapter, mediafuseBidAdapter, undertoneBidAdapter, currency, priceFloors, schain, britepoolIdSystem, criteoIdSystem, id5IdSystem, intentIqIdSystem, sharedIdSystem, uid2IdSystem, userId, verizonMediaIdSystem, enrichmentFpdModule, gptPreAuction, unifiedIdSystem, pubProvidedIdSystem */
if(window.pbjs&&window.pbjs.libLoaded)try{window.pbjs.getConfig("debug")&&console.warn("Attempted to load a copy of Prebid.js that clashes with the existing 'pbjs' instance. Load aborted.")}catch(e){}else (function(){
!function(){var e,n={5706:function(e,n,t){t.d(n,{Pd:function(){return d},Th:function(){return c},_U:function(){return s}});var r=t(5730),i=t(4358),o=t(265),a=t(4614),u="outstream";function c(e){var n=this,t=e.url,o=e.config,a=e.id,c=e.callback,d=e.loaded,s=e.adUnitCode,l=e.renderNow;this.url=t,this.config=o,this.handlers={},this.id=a,this.loaded=d,this.cmd=[],this.push=function(e){"function"==typeof e?n.loaded?e.call():n.cmd.push(e):(0,i.H)("Commands given to Renderer.push must be wrapped in a function")},this.callback=c||function(){n.loaded=!0,n.process()},this.render=function(){var e=this,n=arguments,o=function(){e._render?e._render.apply(e,n):(0,i.yN)("No render function was provided, please use .setRender on the renderer")};f(s)?((0,i.yN)("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(s)),o()):l?o():(this.cmd.unshift(o),(0,r.B)(t,u,this.callback,this.documentContext))}.bind(this)}function d(e){return!(!e||!e.url)}function s(e,n,t){var r=null;e.config&&e.config.documentResolver&&(r=e.config.documentResolver(n,document,t)),r||(r=document),e.documentContext=r,e.render(n,e.documentContext)}function f(e){var n=pbjs.adUnits,t=(0,a.sE)(n,(function(n){return n.code===e}));if(!t)return!1;var r=(0,o.Z)(t,"renderer"),i=!!(r&&r.url&&r.render),u=(0,o.Z)(t,"mediaTypes.video.renderer"),c=!!(u&&u.url&&u.render);return!!(i&&!0!==r.backupOnly||c&&!0!==u.backupOnly)}c.install=function(e){return new c({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded,adUnitCode:e.adUnitCode,renderNow:e.renderNow})},c.prototype.getConfig=function(){return this.config},c.prototype.setRender=function(e){this._render=e},c.prototype.setEventHandlers=function(e){this.handlers=e},c.prototype.handleVideoEvent=function(e){var n=e.id,t=e.eventName;"function"==typeof this.handlers[t]&&this.handlers[t](),(0,i.ji)("Prebid Renderer event for id ".concat(n," type ").concat(t))},c.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){(0,i.H)("Error processing Renderer command: ",e)}}},875:function(e,n,t){t.d(n,{f:function(){return a}});var r=t(265),i={};function o(e,n,t){var r=function(e,n){var t=i[e]=i[e]||{bidders:{}};return n?t.bidders[n]=t.bidders[n]||{}:t}(e,t);return r[n]=(r[n]||0)+1,r[n]}var a={incrementRequestsCounter:function(e){return o(e,"requestsCounter")},incrementBidderRequestsCounter:function(e,n){return o(e,"requestsCounter",n)},incrementBidderWinsCounter:function(e,n){return o(e,"winsCounter",n)},getRequestsCounter:function(e){return(0,r.Z)(i,"".concat(e,".requestsCounter"))||0},getBidderRequestsCounter:function(e,n){return(0,r.Z)(i,"".concat(e,".bidders.").concat(n,".requestsCounter"))||0},getBidderWinsCounter:function(e,n){return(0,r.Z)(i,"".concat(e,".bidders.").concat(n,".winsCounter"))||0}}},1039:function(e,n,t){t.d(n,{VP:function(){return z},ZP:function(){return Y},rp:function(){return H},uV:function(){return L},TJ:function(){return M},nX:function(){return F}});var r=t(9062),i=t(3324),o=t(4942),a=t(4358),u=t(265),c=t(1002),d=t(3193),s=t(4614),f=t(4679),l=[];function g(e,n){return e.labelAll?{labelAll:!0,labels:e.labelAll,activeLabels:n}:{labelAll:!1,labels:e.labelAny,activeLabels:n}}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.labels,t=void 0===n?[]:n,r=e.labelAll,i=void 0!==r&&r,o=e.activeLabels,c=void 0===o?[]:o,d=arguments.length>1?arguments[1]:void 0,g=arguments.length>2?arguments[2]:void 0,p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l,h=v(p);(0,a.PO)(d)||(d=g?{banner:{sizes:g}}:{});var m=(0,u.Z)(d,"banner.sizes");h.shouldFilter&&m&&((d=(0,a.I8)(d)).banner.sizes=m.filter((function(e){return h.sizesSupported[e]})));var y={active:!d.hasOwnProperty(f.Mk)||(0,u.Z)(d,"banner.sizes.length")>0&&(0===t.length||!i&&(t.some((function(e){return h.labels[e]}))||t.some((function(e){return(0,s.q9)(c,e)})))||i&&t.reduce((function(e,n){return e?h.labels[n]||(0,s.q9)(c,n):e}),!0)),mediaTypes:d};return m&&m.length!==d.banner.sizes.length&&(y.filterResults={before:m,after:d.banner.sizes}),y}function v(e){return e.reduce((function(e,n){if("object"===(0,c.Z)(n)&&"string"==typeof n.mediaQuery&&n.mediaQuery.length>0){var t=!1;try{t=(0,a.Zy)().matchMedia(n.mediaQuery).matches}catch(e){(0,a.yN)("Unfriendly iFrame blocks sizeConfig from being correctly evaluated"),t=matchMedia(n.mediaQuery).matches}t&&(Array.isArray(n.sizesSupported)&&(e.shouldFilter=!0),["labels","sizesSupported"].forEach((function(t){return(n[t]||[]).forEach((function(n){return e[t][n]=!0}))})))}else(0,a.yN)('sizeConfig rule missing required property "mediaQuery"');return e}),{labels:{},sizesSupported:{},shouldFilter:!1})}d.vc.getConfig("sizeConfig",(function(e){return function(e){l=e}(e.sizeConfig)}));var h=t(59),m=t(5339),y=t(8928),b=t(2797),w=t(875),C=t(5102),A=t(4516),T=t(2021),E=t(5644),O=t(9128),k=t(5383);function B(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function I(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?B(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):B(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var j="client",S="server",U={},P=U.bidderRegistry={},_=U.aliasRegistry={},R=[];d.vc.getConfig("s2sConfig",(function(e){e&&e.s2sConfig&&(R=(0,a.kJ)(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])}));var N={};var q=(0,b.z3)("sync",(function(e){var n=e.bidderCode,t=e.auctionId,r=e.bidderRequestId,i=e.adUnits,o=e.src,c=e.metrics;return i.reduce((function(e,i){var d=i.bids.filter((function(e){return e.bidder===n}));return null==n&&0===d.length&&null!=i.s2sBid&&d.push({bidder:null}),e.push(d.reduce((function(e,n){var d=null==(n=Object.assign({},n,{ortb2Imp:(0,a.Ee)({},i.ortb2Imp,n.ortb2Imp)},(0,a.iG)(i,["nativeParams","nativeOrtbRequest","mediaType","renderer"]))).mediaTypes?i.mediaTypes:n.mediaTypes;return(0,a.FS)(d)?n=Object.assign({},n,{mediaTypes:d}):(0,a.H)("mediaTypes is not correctly configured for adunit ".concat(i.code)),e.push(Object.assign({},n,{adUnitCode:i.code,transactionId:i.transactionId,sizes:(0,u.Z)(d,"banner.sizes")||(0,u.Z)(d,"video.playerSize")||[],bidId:n.bid_id||(0,a._d)(),bidderRequestId:r,auctionId:t,src:o,metrics:c,bidRequestsCount:w.f.getRequestsCounter(i.code),bidderRequestsCount:w.f.getBidderRequestsCounter(i.code,n.bidder),bidderWinsCount:w.f.getBidderWinsCounter(i.code,n.bidder)})),e}),[])),e}),[]).reduce(a.xH,[]).filter((function(e){return""!==e}))}),"getBids");var x=(0,b.z3)("sync",(function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getS2SBidders,i=void 0===r?L:r;if(null==n)return e;var o=i(n);return e.filter((function(e){return o.has(e.bidder)}))}),"filterBidsForAdUnit");function Z(e,n){var t=(0,a.I8)(e),r=!1;return t.forEach((function(e){var t=e.bids.filter((function(e){var t;return"pbsBidAdapter"===e.module&&(null===(t=e.params)||void 0===t?void 0:t.configName)===n.configName}));1===t.length?(e.s2sBid=t[0],r=!0,e.ortb2Imp=(0,a.Ee)({},e.s2sBid.ortb2Imp,e.ortb2Imp)):t.length>1&&(0,a.yN)('Multiple "module" bids for the same s2s configuration; all will be ignored',t),e.bids=x(e.bids,n).map((function(e){return e.bid_id=(0,a._d)(),e}))})),{adUnits:t=t.filter((function(e){return 0!==e.bids.length||null!=e.s2sBid})),hasModuleBids:r}}function D(e){var n=(0,a.I8)(e);return n.forEach((function(e){e.bids=x(e.bids,null)})),n=n.filter((function(e){return 0!==e.bids.length}))}var H=new A.iK,F=new A.LO,M=new A.$e,z={getCoppa:function(){return!!d.vc.getConfig("coppa")}},W=(0,b.z3)("sync",(function(e,n){return function(e,n){return e.reduce((function(e,t){var r=p(g(t,n),t.mediaTypes,t.sizes),i=r.active,o=r.mediaTypes,u=r.filterResults;return i?(u&&(0,a.PN)('Size mapping filtered adUnit "'.concat(t.code,'" banner sizes from '),u.before,"to ",u.after),t.mediaTypes=o,t.bids=t.bids.reduce((function(e,r){var i=p(g(r,n),t.mediaTypes),o=i.active,u=i.mediaTypes,c=i.filterResults;return o?(c&&((0,a.PN)('Size mapping filtered adUnit "'.concat(t.code,'" bidder "').concat(r.bidder,'" banner sizes from '),c.before,"to ",c.after),r.mediaTypes=u),e.push(r)):(0,a.PN)('Size mapping deactivated adUnit "'.concat(t.code,'" bidder "').concat(r.bidder,'"')),e}),[]),e.push(t)):(0,a.PN)('Size mapping disabled adUnit "'.concat(t.code,'"')),e}),[])}(e,n)}),"setupAdUnitMediaTypes");function L(e){(0,a.kJ)(e)||(e=[e]);var n=new Set([null]);return e.filter((function(e){return e&&e.enabled})).flatMap((function(e){return e.bidders})).forEach((function(e){return n.add(e)})),n}var K=(0,b.z3)("sync",(function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.getS2SBidders,u=void 0===i?L:i,c=u(n);return(0,a.pP)(e).reduce((function(e,n){return e[c.has(n)?S:j].push(n),e}),(t={},(0,o.Z)(t,j,[]),(0,o.Z)(t,S,[]),t))}),"partitionBidders");function G(e,n){var t=P[e],r=(null==t?void 0:t.getSpec)&&t.getSpec();if(r&&r[n]&&"function"==typeof r[n])return[r,r[n]]}function J(e,n,t,r){try{(0,a.PN)("Invoking ".concat(e,".").concat(n));for(var i=arguments.length,o=new Array(i>4?i-4:0),u=4;u<i;u++)o[u-4]=arguments[u];d.vc.runWithBidder(e,r.bind.apply(r,[t].concat(o)))}catch(t){(0,a.yN)("Error calling ".concat(n," of ").concat(e))}}function V(e,n,t){var i=G(e,n);null!=i&&J.apply(void 0,[e,n].concat((0,r.Z)(i),[t]))}function Q(e){for(var n=new Set;_.hasOwnProperty(e)&&!n.has(e);)n.add(e),e=_[e];return e}U.makeBidRequests=(0,b.z3)("sync",(function(e,n,t,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},u=arguments.length>6?arguments[6]:void 0;u=(0,O.Bf)(u),T.j8(E.FP.BEFORE_REQUEST_BIDS,e),(0,h.Fb)(e),e=W(e,i);var c=K(e,R),f=c[j],l=c[S];d.vc.getConfig("bidderSequence")===d.FD&&(f=(0,a.TV)(f));var g=(0,C.nH)(),p=[],v=o.global||{},m=o.bidder||{};function y(e){var n=Object.freeze((0,a.Ee)({},v,m[e.bidderCode]));return e.ortb2=n,e.bids.forEach((function(e){return e.ortb2=n})),e}R.forEach((function(r){if(r&&r.enabled){var i=Z(e,r),o=i.adUnits,c=i.hasModuleBids,d=(0,a.DO)();(0===l.length&&c?[null]:l).forEach((function(e){var i=(0,a._d)(),c=u.fork(),s=y({bidderCode:e,auctionId:t,bidderRequestId:i,uniquePbsTid:d,bids:q({bidderCode:e,auctionId:t,bidderRequestId:i,adUnits:(0,a.I8)(o),src:E.os.YZ,metrics:c}),auctionStart:n,timeout:r.timeout,src:E.os.YZ,refererInfo:g,metrics:c});0!==s.bids.length&&p.push(s)})),o.forEach((function(e){var n=e.bids.filter((function(e){return(0,s.sE)(p,(function(n){return(0,s.sE)(n.bids,(function(n){return n.bidId===e.bid_id}))}))}));e.bids=n})),p.forEach((function(e){void 0===e.adUnitsS2SCopy&&(e.adUnitsS2SCopy=o.filter((function(e){return e.bids.length>0||null!=e.s2sBid})))}))}}));var b=D(e);return f.forEach((function(e){var o=(0,a._d)(),c=u.fork(),d=y({bidderCode:e,auctionId:t,bidderRequestId:o,bids:q({bidderCode:e,auctionId:t,bidderRequestId:o,adUnits:(0,a.I8)(b),labels:i,src:"client",metrics:c}),auctionStart:n,timeout:r,refererInfo:g,metrics:c}),s=P[e];s||(0,a.H)("Trying to make a request for bidder that does not exist: ".concat(e)),s&&d.bids&&0!==d.bids.length&&p.push(d)})),p.forEach((function(e){H.getConsentData()&&(e.gdprConsent=H.getConsentData()),F.getConsentData()&&(e.uspConsent=F.getConsentData()),M.getConsentData()&&(e.gppConsent=M.getConsentData())})),p.forEach((function(e){d.vc.runWithBidder(e.bidderCode,(function(){var n=d.vc.getConfig("fledgeEnabled");e.fledgeEnabled=navigator.runAdAuction&&n}))})),p}),"makeBidRequests"),U.callBids=function(e,n,t,r,o,u,c){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};if(n.length){var f=n.reduce((function(e,n){return e[Number(void 0!==n.src&&n.src===E.os.YZ)].push(n),e}),[[],[]]),l=(0,i.Z)(f,2),g=l[0],p=l[1],v=[];p.forEach((function(e){for(var n=-1,t=0;t<v.length;++t)if(e.uniquePbsTid===v[t].uniquePbsTid){n=t;break}n<=-1&&v.push(e)}));var h=0;R.forEach((function(e){if(e&&v[h]&&L(e).has(v[h].bidderCode)){var n=(0,y.O)(u,o?{request:o.request.bind(null,"s2s"),done:o.done}:void 0),i=e.bidders,c=P[e.adapter],d=v[h].uniquePbsTid,f=v[h].adUnitsS2SCopy,l=p.filter((function(e){return e.uniquePbsTid===d}));if(c){var g={ad_units:f,s2sConfig:e,ortb2Fragments:s};if(g.ad_units.length){var m=l.map((function(e){return e.start=(0,a.AB)(),r.bind(e)})),b=(0,a.pP)(g.ad_units).filter((function(e){return i.includes(e)}));(0,a.ji)("CALLING S2S HEADER BIDDERS ==== ".concat(b.length>0?b.join(", "):'No bidder specified, using "ortb2Imp" definition(s) only')),l.forEach((function(e){T.j8(E.FP.BID_REQUESTED,I(I({},e),{},{tid:e.auctionId}))})),c.callBids(g,p,t,(function(){return m.forEach((function(e){return e()}))}),n)}}else(0,a.H)("missing "+e.adapter);h++}})),g.forEach((function(e){e.start=(0,a.AB)();var n=P[e.bidderCode];d.vc.runWithBidder(e.bidderCode,(function(){(0,a.ji)("CALLING BIDDER"),T.j8(E.FP.BID_REQUESTED,e)}));var i=(0,y.O)(u,o?{request:o.request.bind(null,e.bidderCode),done:o.done}:void 0),s=r.bind(e);try{d.vc.runWithBidder(e.bidderCode,a.ak.call(n.callBids,n,e,t,s,i,c,d.vc.callbackWithBidder(e.bidderCode)))}catch(n){(0,a.H)("".concat(e.bidderCode," Bid Adapter emitted an uncaught error when parsing their bidRequest"),{e:n,bidRequest:e}),s()}}))}else(0,a.yN)("callBids executed with no bidRequests.  Were they filtered by labels or sizing?")},U.videoAdapters=[],U.registerBidAdapter=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.supportedMediaTypes,i=void 0===r?[]:r;e&&n?"function"==typeof e.callBids?(P[n]=e,(0,s.q9)(i,"video")&&U.videoAdapters.push(n),(0,s.q9)(i,"native")&&h.Sg.push(n)):(0,a.H)("Bidder adaptor error for bidder code: "+n+"bidder must implement a callBids() function"):(0,a.H)("bidAdapter or bidderCode not specified")},U.aliasBidAdapter=function(e,n,t){if(void 0===P[n]){var r=P[e];if(void 0===r){var i=[];R.forEach((function(t){if(t.bidders&&t.bidders.length){var r=t&&t.bidders;t&&(0,s.q9)(r,n)?_[n]=e:i.push(e)}})),i.forEach((function(e){(0,a.H)('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}))}else try{var o,u=function(e){var n=[];return(0,s.q9)(U.videoAdapters,e)&&n.push("video"),(0,s.q9)(h.Sg,e)&&n.push("native"),n}(e);if(r.constructor.prototype!=Object.prototype)(o=new r.constructor).setBidderCode(n);else{var c=r.getSpec(),d=t&&t.gvlid,f=t&&t.skipPbsAliasing;o=(0,m.PZ)(Object.assign({},c,{code:n,gvlid:d,skipPbsAliasing:f})),_[n]=e}U.registerBidAdapter(o,n,{supportedMediaTypes:u})}catch(n){(0,a.H)(e+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else(0,a.ji)('alias name "'+n+'" has been already specified.')},U.registerAnalyticsAdapter=function(e){var n=e.adapter,t=e.code,r=e.gvlid;n&&t?"function"==typeof n.enableAnalytics?(n.code=t,N[t]={adapter:n,gvlid:r}):(0,a.H)('Prebid Error: Analytics adaptor error for analytics "'.concat(t,'"\n        analytics adapter must implement an enableAnalytics() function')):(0,a.H)("Prebid Error: analyticsAdapter or analyticsCode not specified")},U.enableAnalytics=function(e){(0,a.kJ)(e)||(e=[e]),(0,a.yi)(e,(function(e){var n=N[e.provider];n&&n.adapter?n.adapter.enableAnalytics(e):(0,a.H)("Prebid Error: no analytics adapter found in registry for '".concat(e.provider,"'."))}))},U.getBidAdapter=function(e){return P[e]},U.getAnalyticsAdapter=function(e){return N[e]},U.callTimedOutBidders=function(e,n,t){n=n.map((function(n){return n.params=(0,a.S0)(e,n.adUnitCode,n.bidder),n.timeout=t,n})),n=(0,a.vM)(n,"bidder"),Object.keys(n).forEach((function(e){V(e,"onTimeout",n[e])}))},U.callBidWonBidder=function(e,n,t){n.params=(0,a.S0)(t,n.adUnitCode,n.bidder),w.f.incrementBidderWinsCounter(n.adUnitCode,n.bidder),V(e,"onBidWon",n)},U.callSetTargetingBidder=function(e,n){V(e,"onSetTargeting",n)},U.callBidViewableBidder=function(e,n){V(e,"onBidViewable",n)},U.callBidderError=function(e,n,t){V(e,"onBidderError",{error:n,bidderRequest:t})},U.callDataDeletionRequest=(0,b.z3)("sync",(function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var o="onDataDeletionRequest";Object.keys(P).filter((function(e){return!_.hasOwnProperty(e)})).forEach((function(e){var t=G(e,o);if(null!=t){var i=k.K.getBidsRequested().filter((function(n){return Q(n.bidderCode)===e}));J.apply(void 0,[e,o].concat((0,r.Z)(t),[i],n))}})),Object.entries(N).forEach((function(e){var t,r=(0,i.Z)(e,2),u=r[0],c=r[1],d=null==c||null===(t=c.adapter)||void 0===t?void 0:t[o];if("function"==typeof d)try{d.apply(c.adapter,n)}catch(e){(0,a.H)("error calling ".concat(o," of ").concat(u),e)}}))}));var Y=U},5339:function(e,n,t){t.d(n,{Q1:function(){return U},PZ:function(){return B},dX:function(){return k}});var r=t(3324),i=t(1002);function o(e){var n=e;return{callBids:function(){},setBidderCode:function(e){n=e},getBidderCode:function(){return n}}}var a=t(1039),u=t(3193),c=t(9626),d=t(1974),s=t(59),f=t(154),l=t(5644),g=t(2021),p=t(4614),v=t(8928),h=t(4358),m=t(265),y=t(4679),b=t(2797),w=t(5164),C=t(5383),A=t(5975),T=t(9128),E=(0,w.eA)("bidderFactory"),O=["cpm","ttl","creativeId","netRevenue","currency"];function k(e){var n=Array.isArray(e.supportedMediaTypes)?{supportedMediaTypes:e.supportedMediaTypes}:void 0;function t(e){var t=B(e);a.ZP.registerBidAdapter(t,e.code,n)}t(e),Array.isArray(e.aliases)&&e.aliases.forEach((function(n){var r,i,o=n;(0,h.PO)(n)&&(o=n.code,r=n.gvlid,i=n.skipPbsAliasing),a.ZP.aliasRegistry[o]=e.code,t(Object.assign({},e,{code:o,gvlid:r,skipPbsAliasing:i}))}))}function B(e){return Object.assign(new o(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:n,callBids:function(r,i,o,d,v,m){if(Array.isArray(r.bids)){var y={},b=[],w=_(r).measureTime("validate",(function(){return r.bids.filter(t)}));if(0!==w.length){var E={};w.forEach((function(e){E[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)})),I(e,w,r,d,m,{onRequest:function(e){return g.j8(l.FP.BEFORE_BIDDER_HTTP,r,e)},onResponse:function(n){v(e.code),b.push(n)},onFledgeAuctionConfigs:function(e){e.forEach((function(e){var n=E[e.bidId];n&&S(n,e)}))},onError:function(n,t){v(e.code),a.ZP.callBidderError(e.code,t,r),g.j8(l.FP.BIDDER_ERROR,{error:t,bidderRequest:r}),(0,h.H)("Server call for ".concat(e.code," failed: ").concat(n," ").concat(t.status,". Continuing without bids."))},onBid:function(n){var t=E[n.requestId];if(t){if(n.adapterCode=t.bidder,function(e,n){var t=A.S.get(n,"allowAlternateBidderCodes")||!1,r=A.S.get(n,"allowedAlternateBidderCodes");if(e&&n&&n!==e&&(r=(0,h.kJ)(r)?r.map((function(e){return e.trim().toLowerCase()})).filter((function(e){return!!e})).filter(h.tT):r,!t||(0,h.kJ)(r)&&"*"!==r[0]&&!r.includes(e)))return!0;return!1}(n.bidderCode,t.bidder))return(0,h.yN)("".concat(n.bidderCode," is not a registered partner or known bidder of ").concat(t.bidder,", hence continuing without bid. If you wish to support this bidder, please mark allowAlternateBidderCodes as true in bidderSettings.")),void i.reject(t.adUnitCode,n,l.Gw.Dg);n.originalCpm=n.cpm,n.originalCurrency=n.currency,n.meta=n.meta||Object.assign({},n[t.bidder]);var r=Object.assign((0,c.m)(l.Q_.Q,t),n);k(t.adUnitCode,r)}else(0,h.yN)("Bidder ".concat(e.code," made bid for unknown request ID: ").concat(n.requestId,". Ignoring.")),i.reject(null,n,l.Gw.Gp)},onCompletion:B})}else B()}function k(e,n){var t=(0,T.Bf)(n.metrics);t.checkpoint("addBidResponse"),y[e]=!0,t.measureTime("addBidResponse.validate",(function(){return function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,r=void 0===t?C.K.index:t;function i(){var e=Object.keys(n);return O.every((function(t){return(0,p.q9)(e,t)&&!(0,p.q9)([void 0,null],n[t])}))}function o(e){return"Invalid bid from ".concat(n.bidderCode,". Ignoring bid: ").concat(e)}if(!e)return(0,h.yN)("No adUnitCode was supplied to addBidResponse."),!1;if(!n)return(0,h.yN)("Some adapter tried to add an undefined bid for ".concat(e,".")),!1;if(!i())return(0,h.H)(o("Bidder ".concat(n.bidderCode," is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params."))),!1;if("native"===n.mediaType&&!(0,s.r4)(n,{index:r}))return(0,h.H)(o("Native bid missing some required properties.")),!1;if("video"===n.mediaType&&!(0,f.Dn)(n,{index:r}))return(0,h.H)(o("Video bid does not have required vastUrl or renderer property")),!1;if("banner"===n.mediaType&&!P(e,n,{index:r}))return(0,h.H)(o("Banner bids require a width and height")),!1;return!0}(e,n)}))?i(e,n):i.reject(e,n,l.Gw.UI)}function B(){o(),u.vc.runWithBidder(e.code,(function(){g.j8(l.FP.BIDDER_DONE,r),n(b,r.gdprConsent,r.uspConsent,r.gppConsent)}))}}});function n(n,t,r,i){j(e,n,t,r,i)}function t(n){return!!e.isBidRequestValid(n)||((0,h.yN)("Invalid bid sent to bidder ".concat(e.code,": ").concat(JSON.stringify(n))),!1)}}var I=(0,b.z3)("sync",(function(e,n,t,r,o,a){var u=a.onRequest,c=a.onResponse,d=a.onFledgeAuctionConfigs,s=a.onError,f=a.onBid,l=a.onCompletion,g=_(t);l=g.startTiming("total").stopBefore(l);var p=g.measureTime("buildRequests",(function(){return e.buildRequests(n,t)}));if(p&&0!==p.length){Array.isArray(p)||(p=[p]);var v=(0,h.yx)(l,p.length);p.forEach((function(n){var t=g.fork();function a(e){null!=e&&(e.metrics=t.fork().renameWith()),f(e)}var l=o((function(r,i){m();try{r=JSON.parse(r)}catch(e){}r={body:r,headers:{get:i.getResponseHeader.bind(i)}},c(r);try{r=t.measureTime("interpretResponse",(function(){return e.interpretResponse(r,n)}))}catch(n){return(0,h.H)("Bidder ".concat(e.code," failed to interpret the server's response. Continuing without bids"),null,n),void v()}var o;r&&(0,h.kJ)(r.fledgeAuctionConfigs)?(d(r.fledgeAuctionConfigs),o=r.bids):o=r,o&&((0,h.kJ)(o)?o.forEach(a):a(o)),v()})),p=o((function(e,n){m(),s(e,n),v()}));u(n);var m=t.startTiming("net");switch(n.method){case"GET":r("".concat(n.url).concat(function(e){if(e)return"?".concat("object"===(0,i.Z)(e)?(0,h.Re)(e):e);return""}(n.data)),{success:l,error:p},void 0,Object.assign({method:"GET",withCredentials:!0},n.options));break;case"POST":r(n.url,{success:l,error:p},"string"==typeof n.data?n.data:JSON.stringify(n.data),Object.assign({method:"POST",contentType:"text/plain",withCredentials:!0},n.options));break;default:(0,h.yN)("Skipping invalid request from ".concat(e.code,". Request type ").concat(n.type," must be GET or POST")),v()}}))}else l()}),"processBidderRequests"),j=(0,b.z3)("async",(function(e,n,t,r,i){var o=u.vc.getConfig("userSync.aliasSyncEnabled");if(e.getUserSyncs&&(o||!a.ZP.aliasRegistry[e.code])){var c=u.vc.getConfig("userSync.filterSettings"),s=e.getUserSyncs({iframeEnabled:!(!c||!c.iframe&&!c.all),pixelEnabled:!(!c||!c.image&&!c.all)},n,t,r,i);s&&(Array.isArray(s)||(s=[s]),s.forEach((function(n){d.k_.registerSync(n.type,e.code,n.url)})))}}),"registerSyncs"),S=(0,b.z3)("sync",(function(e,n){(0,h.PN)("bidderFactory.addComponentAuction",n)}),"addComponentAuction");function U(e,n){var t=a.ZP.getBidAdapter(e);if(t.getSpec().getMappingFileInfo){var r=t.getSpec().getMappingFileInfo(),i=r.localStorageKey?r.localStorageKey:t.getBidderCode(),o=E.getDataFromLocalStorage(i);if(o){try{o=JSON.parse(o)}catch(n){(0,h.H)("Failed to parse ".concat(e," mapping data stored in local storage"))}return o.mapping[n]?o.mapping[n]:null}}}function P(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.index,o=void 0===i?C.K.index:i;if((n.width||0===parseInt(n.width,10))&&(n.height||0===parseInt(n.height,10)))return n.width=parseInt(n.width,10),n.height=parseInt(n.height,10),!0;var a=o.getBidRequest(n),u=o.getMediaTypes(n),c=a&&a.sizes||u&&u.banner&&u.banner.sizes,d=(0,h.sF)(c);if(1===d.length){var s=d[0].split("x"),f=(0,r.Z)(s,2),l=f[0],g=f[1];return n.width=parseInt(l,10),n.height=parseInt(g,10),!0}return!1}function _(e){return(0,T.Bf)(e.metrics).renameWith((function(n){return["adapter.client.".concat(n),"adapters.client.".concat(e.bidderCode,".").concat(n)]}))}(0,b.v5)("checkAdUnitSetup").before((function(e,n){if(!u.vc.getConfig("adpod.brandCategoryExclusion"))return e.call(this,n);n.filter((function(e){return(0,m.Z)(e,"mediaTypes.video.context")===y.Oh})).map((function(e){return e.bids.map((function(e){return e.bidder}))})).reduce(h.xH,[]).filter(h.tT).forEach((function(e){var n=a.ZP.getBidAdapter(e);if(n.getSpec().getMappingFileInfo){var t=n.getSpec().getMappingFileInfo(),r=t.refreshInDays?t.refreshInDays:1,i=t.localStorageKey?t.localStorageKey:n.getSpec().code,o=E.getDataFromLocalStorage(i);try{(!(o=o?JSON.parse(o):void 0)||(0,h.AB)()>o.lastUpdated+24*r*60*60*1e3)&&(0,v.h)(t.url,{success:function(n){try{n=JSON.parse(n);var t={lastUpdated:(0,h.AB)(),mapping:n.mapping};E.setDataInLocalStorage(i,JSON.stringify(t))}catch(n){(0,h.H)("Failed to parse ".concat(e," bidder translation mapping file"))}},error:function(){(0,h.H)("Failed to load ".concat(e," bidder translation file"))}})}catch(n){(0,h.H)("Failed to parse ".concat(e," bidder translation mapping file"))}}})),e.call(this,n)}))},5730:function(e,n,t){t.d(n,{B:function(){return u}});var r=t(4614),i=t(4358),o=new WeakMap,a=["debugging","adloox","criteo","outstream","adagio","spotx","browsi","brandmetrics","justtag","tncId","akamaidap","ftrackId","inskin","hadron","medianet","improvedigital","aaxBlockmeter","confiant","arcspan"];function u(e,n,t,u,c){if(n&&e){if((0,r.q9)(a,n)){u||(u=document);var d=l(u,e);if(d)return t&&"function"==typeof t&&(d.loaded?t():d.callbacks.push(t)),d.tag;var s=o.get(u)||{},f={loaded:!1,tag:null,callbacks:[]};return s[e]=f,o.set(u,s),t&&"function"==typeof t&&f.callbacks.push(t),(0,i.yN)("module ".concat(n," is loading external JavaScript")),function(n,t,r,o){r||(r=document);var a=r.createElement("script");a.type="text/javascript",a.async=!0;var u=l(r,e);u&&(u.tag=a);a.readyState?a.onreadystatechange=function(){"loaded"!==a.readyState&&"complete"!==a.readyState||(a.onreadystatechange=null,t())}:a.onload=function(){t()};a.src=n,o&&(0,i.D9)(a,o);return(0,i.jC)(a,r),a}(e,(function(){f.loaded=!0;try{for(var e=0;e<f.callbacks.length;e++)f.callbacks[e]()}catch(e){(0,i.H)("Error executing callback","adloader.js:loadExternalScript",e)}}),u,c)}(0,i.H)("".concat(n," not whitelisted for loading external JavaScript"))}else(0,i.H)("cannot load external script without url and moduleCode");function l(e,n){var t=o.get(e);return t&&t[n]?t[n]:null}}},8928:function(e,n,t){t.d(n,{O:function(){return u},h:function(){return a}});var r=t(1002),i=t(3193),o=t(4358),a=u();function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.request,a=n.done;return function(n,u,c){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var s,f=d.method||(c?"POST":"GET"),l=document.createElement("a");l.href=n;var g="object"===(0,r.Z)(u)&&null!==u?u:{success:function(){(0,o.ji)("xhr success")},error:function(e){(0,o.H)("xhr error",null,e)}};if("function"==typeof u&&(g.success=u),(s=new window.XMLHttpRequest).onreadystatechange=function(){if(4===s.readyState){"function"==typeof a&&a(l.origin);var e=s.status;e>=200&&e<300||304===e?g.success(s.responseText,s):g.error(s.statusText,s)}},i.vc.getConfig("disableAjaxTimeout")||(s.ontimeout=function(){(0,o.H)("  xhr timeout after ",s.timeout,"ms")}),"GET"===f&&c){var p=(0,o.en)(n,d);Object.assign(p.search,c),n=(0,o.Q2)(p)}s.open(f,n,!0),i.vc.getConfig("disableAjaxTimeout")||(s.timeout=e),d.withCredentials&&(s.withCredentials=!0),(0,o.yi)(d.customHeaders,(function(e,n){s.setRequestHeader(n,e)})),d.preflight&&s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.setRequestHeader("Content-Type",d.contentType||"text/plain"),"function"==typeof t&&t(l.origin),"POST"===f&&c?s.send(c):s.send()}catch(e){(0,o.H)("xhr construction",e),"object"===(0,r.Z)(u)&&null!==u&&u.error(e)}}}},5383:function(e,n,t){t.d(n,{K:function(){return ne}});var r=t(4358),i=t(3324),o=t(1002),a=t(265),u=t(6463),c=t(59),d=t(8928),s=t(3193);function f(e,n){var t=n?"<![CDATA[".concat(n,"]]>"):"";return'<VAST version="3.0">\n    <Ad>\n      <Wrapper>\n        <AdSystem>prebid.org wrapper</AdSystem>\n        <VASTAdTagURI><![CDATA['.concat(e,"]]></VASTAdTagURI>\n        <Impression>").concat(t,"</Impression>\n        <Creatives></Creatives>\n      </Wrapper>\n    </Ad>\n  </VAST>")}function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.index,r=void 0===t?ne.index:t,i=e.vastXml?e.vastXml:f(e.vastUrl,e.vastImpUrl),o=r.getAuction(e),a=Number(e.ttl)+15,u={type:"xml",value:i,ttlseconds:a};return s.vc.getConfig("cache.vasttrack")&&(u.bidder=e.bidder,u.bidid=e.requestId,u.aid=e.auctionId),null!=o&&(u.timestamp=o.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(u.key=e.customCacheKey),u}function g(e,n){var t={puts:e.map(l)};(0,d.h)(s.vc.getConfig("cache.url"),function(e){return{success:function(n){var t;try{t=JSON.parse(n).responses}catch(n){return void e(n,[])}t?e(null,t):e(new Error("The cache server didn't respond with a responses property."),[])},error:function(n,t){e(new Error("Error storing video ad in the cache: ".concat(n,": ").concat(JSON.stringify(t))),[])}}}(n),JSON.stringify(t),{contentType:"text/plain",withCredentials:!0})}var p=t(5706),v=t(1974),h=t(2797),m=t(4614),y=t(154),b=t(4679),w=t(5975),C=t(2021),A=t(1039),T=t(5644),E=t(8792),O=t(9128),k=t(9626),B=t(6066),I=v.k_.syncUsers,j="completed";C.on(T.FP.BID_ADJUSTMENT,(function(e){!function(e){var n=(0,B.O)(e.cpm,e);n>=0&&(e.cpm=n)}(e)}));var S={},U={},P=[];function _(e){var n=e.adUnits,t=e.adUnitCodes,a=e.callback,u=e.cbTimeout,c=e.labels,d=e.auctionId,f=e.ortb2Fragments,l=e.metrics;l=(0,O.Bf)(l);var g,p,v,h,y=n,w=c,B=t,_=d||(0,r.DO)(),x=u,H=new Set,F=[],z=a,W=[],L=[],J=[],V=[],Q=[];function Y(){return{auctionId:_,timestamp:g,auctionEnd:p,auctionStatus:h,adUnits:y,adUnitCodes:B,labels:w,bidderRequests:W,noBids:J,bidsReceived:L,bidsRejected:F,winningBids:V,timeout:x,metrics:l,seatNonBids:Q}}function X(e,t){if(t&&clearTimeout(v),void 0===p){var i=[];e&&((0,r.ji)("Auction ".concat(_," timedOut")),o=H,(i=W.map((function(e){return(e.bids||[]).filter((function(e){return!o.has(e.bidder)}))})).reduce(r.xH,[])).length&&C.j8(T.FP.BID_TIMEOUT,i)),h=j,p=Date.now(),l.checkpoint("auctionEnd"),l.timeBetween("requestBids","auctionEnd","requestBids.total"),l.timeBetween("callBids","auctionEnd","requestBids.callBids"),C.j8(T.FP.AUCTION_END,Y()),q(y,(function(){try{if(null!=z){var t=B,o=L.filter(r.ak.call(r.IK,this,t)).reduce($,{});z.apply(pbjs,[o,e,_]),z=null}}catch(e){(0,r.H)("Error executing bidsBackHandler",null,e)}finally{i.length&&A.ZP.callTimedOutBidders(n,i,x);var a=s.vc.getConfig("userSync")||{};a.enableOverride||I(a.syncDelay)}}))}var o}function ee(){s.vc.resetBidder(),(0,r.PN)("Bids Received for Auction with id: ".concat(_),L),h=j,X(!1,!0)}function te(e){H.add(e)}function re(e){var n=this;e.forEach((function(e){var n;n=e,W=W.concat(n)}));var t={},a={bidRequests:e,run:function(){var a,d;a=X.bind(null,!0),d=setTimeout(a,x),v=d,h="inProgress",C.j8(T.FP.AUCTION_INIT,Y());var l=function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,a=void 0===t?ne.index:t,u=0,c=!1,d=new Set,f={},l={};function g(e,n){null==l[e]&&(l[e]=E.Z.resolve()),l[e]=l[e].then((function(){return E.Z.resolve(n).catch((function(){}))}))}function p(e,t){var r=e.timeout;(null==r||r>n.getTimeout())&&(r=n.getTimeout());var i=n.getAuctionStart()+r-Date.now(),o=l[e.bidderRequestId],a=l[""];(null!=o||null!=a)&&i>0?E.Z.race([E.Z.timeout(i),E.Z.resolve(a).then((function(){return o}))]).then(t):t()}function v(){u--,c&&0===u&&e()}function h(e,n,t){return f[n.requestId]=!0,K(n,e),u++,t(v)}function y(e,t){h(e,t,(function(e){var r=G(t);r.mediaType===b.pX?D(n,r,e):(null!=r.native&&"object"===(0,o.Z)(r.native)&&M(r),Z(n,r),e())}))}function w(e,t,o){return h(e,t,(function(e){var a,u=(0,k.m)(T.Q_.H,null===(a=t.getIdentifiers)||void 0===a?void 0:a.call(t));return Object.assign(u,Object.fromEntries(Object.entries(t).filter((function(e){var n=(0,i.Z)(e,1)[0];return!u.hasOwnProperty(n)&&!["ad","adUrl","vastXml","vastUrl","native"].includes(n)})))),u.status=T.UE.G9,u.cpm=0,t.rejectionReason=o,(0,r.yN)("Bid from ".concat(t.bidder||"unknown bidder"," was rejected: ").concat(o),t),C.j8(T.FP.BID_REJECTED,t),n.addBidRejected(t),e(),u}))}function A(){var t=this,i=n.getBidRequests(),o=s.vc.getConfig("auctionOptions");if(d.add(t),o&&!(0,r.xb)(o)){var a=o.secondaryBidders;a&&!i.every((function(e){return(0,m.q9)(a,e.bidderCode)}))&&(i=i.filter((function(e){return!(0,m.q9)(a,e.bidderCode)})))}c=i.every((function(e){return d.has(e)})),t.bids.forEach((function(e){f[e.bidId]||(n.addNoBid(e),C.j8(T.FP.NO_BID,e))})),c&&0===u&&e()}return{addBidResponse:function(){function e(e,n){var t,r=a.getBidderRequest(n);g(r&&r.bidderRequestId||"",R.call({dispatch:y},e,n,(function(r){return null==t&&(t=w(e,n,r)),t})))}return e.reject=w,e}(),adapterDone:function(){p(this,A.bind(this))}}}(ee,n);A.ZP.callBids(y,e,l.addBidResponse,l.adapterDone,{request:function(e,n){c(S,n),c(t,e),U[e]||(U[e]={SRA:!0,origin:n}),t[e]>1&&(U[e].SRA=!1)},done:function(e){S[e]--,P[0]&&u(P[0])&&P.shift()}},x,te,f)}};function u(e){var n=!0,t=s.vc.getConfig("maxRequestsPerOrigin")||4;return e.bidRequests.some((function(e){var r=1,i=void 0!==e.src&&e.src===T.os.YZ?"s2s":e.bidderCode;return U[i]&&(!1===U[i].SRA&&(r=Math.min(e.bids.length,t)),S[U[i].origin]+r>t&&(n=!1)),!n})),n&&e.run(),n}function c(e,n){void 0===e[n]?e[n]=1:e[n]++}u(a)||((0,r.yN)("queueing auction due to limited endpoint capacity"),P.push(a))}return C.on(T.FP.SEAT_NON_BID,(function(e){var n;e.auctionId===_&&(n=e.seatnonbid,Q=Q.concat(n))})),{addBidReceived:function(e){L=L.concat(e)},addBidRejected:function(e){F=F.concat(e)},addNoBid:function(e){J=J.concat(e)},executeCallback:X,callBids:function(){h="started",g=Date.now();var e=l.measureTime("requestBids.makeRequests",(function(){return A.ZP.makeBidRequests(y,g,_,x,w,f,l)}));(0,r.PN)("Bids Requested for Auction with id: ".concat(_),e),l.checkpoint("callBids"),e.length<1?((0,r.yN)("No valid bid requests returned for auction"),ee()):N.call({dispatch:re,context:this},e)},addWinningBid:function(e){V=V.concat(e),A.ZP.callBidWonBidder(e.adapterCode||e.bidder,e,n)},setBidTargeting:function(e){A.ZP.callSetTargetingBidder(e.adapterCode||e.bidder,e)},getWinningBids:function(){return V},getAuctionStart:function(){return g},getTimeout:function(){return x},getAuctionId:function(){return _},getAuctionStatus:function(){return h},getAdUnits:function(){return y},getAdUnitCodes:function(){return B},getBidRequests:function(){return W},getBidsReceived:function(){return L},getNoBids:function(){return J},getNonBids:function(){return Q},getFPD:function(){return f},getMetrics:function(){return l}}}var R=(0,h.z3)("sync",(function(e,n,t){this.dispatch.call(null,e,n)}),"addBidResponse"),N=(0,h.z3)("sync",(function(e){this.dispatch.call(this.context,e)}),"addBidderRequests"),q=(0,h.z3)("async",(function(e,n){n&&n()}),"bidsBackCallback");function x(e,n){n.timeToRespond>e.getTimeout()+s.vc.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function Z(e,n){!function(e){var n,t=!0===w.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0;e.bidderCode&&(t||e.dealId)&&(n=function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,r=void 0===t?ne.index:t;if(!n)return{};var i=r.getBidRequest(n),o={},a=Y(n.mediaType,e);X(o,a,n,i),e&&w.S.getOwn(e,T.k2.xn)&&(X(o,w.S.ownSettingsFor(e),n,i),n.sendStandardTargeting=w.S.get(e,"sendStandardTargeting"));n.native&&(o=Object.assign({},o,(0,c.Ur)(n)));return o}(e.bidderCode,e));e.adserverTargeting=Object.assign(e.adserverTargeting||{},n)}(n),(0,O.Bf)(n.metrics).timeSince("addBidResponse","addBidResponse.total"),C.j8(T.FP.BID_RESPONSE,n),e.addBidReceived(n),x(e,n)}function D(e,n,t){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.index,u=void 0===o?ne.index:o,c=!0,d=(0,a.Z)(u.getMediaTypes({requestId:n.originalRequestId||n.requestId,transactionId:n.transactionId}),"video"),f=d&&(0,a.Z)(d,"context"),l=d&&(0,a.Z)(d,"useCacheKey");s.vc.getConfig("cache.url")&&(l||f!==y.gZ)&&(!n.videoCacheKey||s.vc.getConfig("cache.ignoreBidderCacheKey")?(c=!1,L(e,n,t,d)):n.vastUrl||((0,r.H)("videoCacheKey specified but not required vastUrl for video bid"),c=!1)),c&&(Z(e,n),t())}var H,F,M=function(e){var n,t,r=null===(n=ne.index.getAdUnit(e))||void 0===n?void 0:n.nativeOrtbRequest,i=null===(t=e.native)||void 0===t?void 0:t.ortb;if(r&&i){var o=(0,c.zq)(i,r);Object.assign(e.native,o)}},z=function(e){g(e.map((function(e){return e.bidResponse})),(function(n,t){t.forEach((function(t,i){var o,a=e[i],u=a.auctionInstance,c=a.bidResponse,d=a.afterBidAdded;n?((0,r.yN)("Failed to save to the video cache: ".concat(n,". Video bid must be discarded.")),x(u,c)):""===t.uuid?((0,r.yN)("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."),x(u,c)):(c.videoCacheKey=t.uuid,c.vastUrl||(c.vastUrl=(o=c.videoCacheKey,"".concat(s.vc.getConfig("cache.url"),"?uuid=").concat(o))),Z(u,c),d())}))}))};s.vc.getConfig("cache",(function(e){H="number"==typeof e.cache.batchSize&&e.cache.batchSize>0?e.cache.batchSize:1,F="number"==typeof e.cache.batchTimeout&&e.cache.batchTimeout>0?e.cache.batchTimeout:0}));var W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:setTimeout,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z,t=[[]],r=!1,i=function(e){return e()};return function(o,a,u){var c=F>0?e:i;t[t.length-1].length>=H&&t.push([]),t[t.length-1].push({auctionInstance:o,bidResponse:a,afterBidAdded:u}),r||(r=!0,c((function(){t.forEach(n),t=[[]],r=!1}),F))}}(),L=(0,h.z3)("async",(function(e,n,t,r){W(e,n,t)}),"callPrebidCache");function K(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.index,o=void 0===i?ne.index:i,a=o.getBidderRequest(e),u=o.getAdUnit(e),c=a&&a.start||e.requestTimestamp;Object.assign(e,{responseTimestamp:e.responseTimestamp||(0,r.AB)(),requestTimestamp:e.requestTimestamp||c,cpm:parseFloat(e.cpm)||0,bidder:e.bidder||e.bidderCode,adUnitCode:n}),null!=(null==u?void 0:u.ttlBuffer)&&(e.ttlBuffer=u.ttlBuffer),e.timeToRespond=e.responseTimestamp-e.requestTimestamp}function G(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.index,i=void 0===r?ne.index:r;C.j8(T.FP.BID_ADJUSTMENT,e);var a=(null===(n=i.getBidRequest(e))||void 0===n?void 0:n.renderer)||i.getAdUnit(e).renderer,c=e.mediaType,d=i.getMediaTypes(e),f=d&&d[c],l=f&&f.renderer,g=null;l&&l.url&&l.render&&(!0!==l.backupOnly||!e.renderer)?g=l:a&&a.url&&a.render&&(!0!==a.backupOnly||!e.renderer)&&(g=a),g&&(e.renderer=p.Th.install({url:g.url,config:g.options}),e.renderer.setRender(g.render));var v=J(e.mediaType,d,s.vc.getConfig("mediaTypePriceGranularity")),h=(0,u.D)(e.cpm,"object"===(0,o.Z)(v)?v:s.vc.getConfig("customPriceBucket"),s.vc.getConfig("currency.granularityMultiplier"));return e.pbLg=h.low,e.pbMg=h.med,e.pbHg=h.high,e.pbAg=h.auto,e.pbDg=h.dense,e.pbCg=h.custom,e}function J(e,n,t){if(e&&t){if(e===b.pX){var r=(0,a.Z)(n,"".concat(b.pX,".context"),"instream");if(t["".concat(b.pX,"-").concat(r)])return t["".concat(b.pX,"-").concat(r)]}return t[e]}}var V=function(e){return function(n){var t=e||function(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,t=void 0===n?ne.index:n,r=J(e.mediaType,t.getMediaTypes(e),s.vc.getConfig("mediaTypePriceGranularity"));return"string"==typeof e.mediaType&&r?"string"==typeof r?r:"custom":s.vc.getConfig("priceGranularity")}(n);return t===T.Ql.B7?n.pbAg:t===T.Ql.uN?n.pbDg:t===T.Ql.yE?n.pbLg:t===T.Ql.M2?n.pbMg:t===T.Ql.lj?n.pbHg:t===T.Ql.qN?n.pbCg:void 0}};function Q(e,n){return{key:e,val:"function"==typeof n?function(e,t){return n(e,t)}:function(e){return(0,r.NA)(e,n)}}}function Y(e,n){var t=T.TD,i=Object.assign({},w.S.settingsFor(null));if(i[T.k2.xn]||(i[T.k2.xn]=function(){var e=T.TD;return[Q(e.BIDDER,"bidderCode"),Q(e.AD_ID,"adId"),Q(e.PRICE_BUCKET,V()),Q(e.SIZE,"size"),Q(e.DEAL,"dealId"),Q(e.SOURCE,"source"),Q(e.FORMAT,"mediaType"),Q(e.ADOMAIN,(function(e){return e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?e.meta.advertiserDomains[0]:""})),Q(e.ACAT,(function(e){return e.meta&&e.meta.primaryCatId?e.meta.primaryCatId:""}))]}()),"video"===e){var o=i[T.k2.xn].slice();if(i[T.k2.xn]=o,[t.UUID,t.CACHE_ID].forEach((function(e){void 0===(0,m.sE)(o,(function(n){return n.key===e}))&&o.push(Q(e,"videoCacheKey"))})),s.vc.getConfig("cache.url")&&(!n||!1!==w.S.get(n,"sendStandardTargeting"))){var u=(0,r.en)(s.vc.getConfig("cache.url"));void 0===(0,m.sE)(o,(function(e){return e.key===t.CACHE_HOST}))&&o.push(Q(t.CACHE_HOST,(function(e){return(0,a.Z)(e,"adserverTargeting.".concat(t.CACHE_HOST))?e.adserverTargeting[t.CACHE_HOST]:u.hostname})))}}return i}function X(e,n,t,i){var o=n[T.k2.xn];return t.size=t.getSize(),(0,r.yi)(o,(function(o){var a=o.key,u=o.val;if(e[a]&&(0,r.yN)("The key: "+a+" is being overwritten"),(0,r.LQ)(u))try{u=u(t,i)}catch(e){(0,r.H)("bidmanager","ERROR",e)}(void 0===n.suppressEmptyKeys||!0!==n.suppressEmptyKeys)&&a!==T.TD.DEAL&&a!==T.TD.ACAT||!(0,r.jH)(u)&&null!=u?e[a]=u:(0,r.PN)("suppressing empty key '"+a+"' from adserver targeting")})),e}function $(e,n){return e[n.adUnitCode]||(e[n.adUnitCode]={bids:[]}),e[n.adUnitCode].bids.push(n),e}function ee(e){Object.assign(this,{getAuction:function(n){var t=n.auctionId;if(null!=t)return e().find((function(e){return e.getAuctionId()===t}))},getAdUnit:function(n){var t=n.transactionId;if(null!=t)return e().flatMap((function(e){return e.getAdUnits()})).find((function(e){return e.transactionId===t}))},getMediaTypes:function(e){var n=e.transactionId,t=e.requestId;if(null!=t){var r=this.getBidRequest({requestId:t});if(null!=r&&(null==n||r.transactionId===n))return r.mediaTypes}else if(null!=n){var i=this.getAdUnit({transactionId:n});if(null!=i)return i.mediaTypes}},getBidderRequest:function(n){var t=n.requestId,r=n.bidderRequestId;if(null!=t||null!=r){var i=e().flatMap((function(e){return e.getBidRequests()}));return null!=r&&(i=i.filter((function(e){return e.bidderRequestId===r}))),null==t?i[0]:i.find((function(e){return e.bids&&null!=e.bids.find((function(e){return e.bidId===t}))}))}},getBidRequest:function(n){var t=n.requestId;if(null!=t)return e().flatMap((function(e){return e.getBidRequests()})).flatMap((function(e){return e.bids})).find((function(e){return e&&e.bidId===t}))}})}var ne=function(){var e=[],n={};return n.addWinningBid=function(n){var t=(0,O.Bf)(n.metrics);t.checkpoint("bidWon"),t.timeBetween("auctionEnd","bidWon","render.pending"),t.timeBetween("requestBids","bidWon","render.e2e");var i=(0,m.sE)(e,(function(e){return e.getAuctionId()===n.auctionId}));i?(n.status=T.UE.fe,i.addWinningBid(n)):(0,r.yN)("Auction not found when adding winning bid")},n.getAllWinningBids=function(){return e.map((function(e){return e.getWinningBids()})).reduce(r.xH,[])},n.getBidsRequested=function(){return e.map((function(e){return e.getBidRequests()})).reduce(r.xH,[])},n.getNoBids=function(){return e.map((function(e){return e.getNoBids()})).reduce(r.xH,[])},n.getBidsReceived=function(){return e.map((function(e){if(e.getAuctionStatus()===j)return e.getBidsReceived()})).reduce(r.xH,[]).filter((function(e){return e}))},n.getAllBidsForAdUnitCode=function(n){return e.map((function(e){return e.getBidsReceived()})).reduce(r.xH,[]).filter((function(e){return e&&e.adUnitCode===n}))},n.getAdUnits=function(){return e.map((function(e){return e.getAdUnits()})).reduce(r.xH,[])},n.getAdUnitCodes=function(){return e.map((function(e){return e.getAdUnitCodes()})).reduce(r.xH,[]).filter(r.tT)},n.createAuction=function(n){var t=_(n);return function(n){e.push(n)}(t),t},n.findBidByAdId=function(n){return(0,m.sE)(e.map((function(e){return e.getBidsReceived()})).reduce(r.xH,[]),(function(e){return e.adId===n}))},n.getStandardBidderAdServerTargeting=function(){return Y()[T.k2.xn]},n.setStatusForBids=function(t,r){var i=n.findBidByAdId(t);if(i&&(i.status=r),i&&r===T.UE.CK){var o=(0,m.sE)(e,(function(e){return e.getAuctionId()===i.auctionId}));o&&o.setBidTargeting(i)}},n.getLastAuctionId=function(){return e.length&&e[e.length-1].getAuctionId()},n.clearAllAuctions=function(){e.length=0},n.index=new ee((function(){return e})),n}()},5975:function(e,n,t){t.d(n,{S:function(){return g}});var r=t(5671),i=t(3144),o=t(265),a=t(4358),u=t(8640),c=t(5644);function d(e,n){!function(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,n),n.add(e)}function s(e,n,t){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return t}var f=new WeakSet;function l(e){return null==e?this.defaultScope:e}var g=new(function(){function e(n,t){(0,r.Z)(this,e),d(this,f),this.getSettings=n,this.defaultScope=t}return(0,i.Z)(e,[{key:"get",value:function(e,n){var t=this.getOwn(e,n);return void 0===t&&(t=this.getOwn(null,n)),t}},{key:"getOwn",value:function(e,n){return e=s(this,f,l).call(this,e),(0,o.Z)(this.getSettings(),"".concat(e,".").concat(n))}},{key:"getScopes",value:function(){var e=this;return Object.keys(this.getSettings()).filter((function(n){return n!==e.defaultScope}))}},{key:"settingsFor",value:function(e){return(0,a.Ee)({},this.ownSettingsFor(null),this.ownSettingsFor(e))}},{key:"ownSettingsFor",value:function(e){return e=s(this,f,l).call(this,e),this.getSettings()[e]||{}}}]),e}())((function(){return(0,u.R)().bidderSettings||{}}),c.k2.zF)},9626:function(e,n,t){t.d(n,{m:function(){return o}});var r=t(4358);function i(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.src,i=void 0===t?"client":t,o=n.bidder,a=void 0===o?"":o,u=n.bidId,c=n.transactionId,d=n.auctionId,s=i,f=e||0;function l(){switch(f){case 0:return"Pending";case 1:return"Bid available";case 2:return"Bid returned empty or error response";case 3:return"Bid timed out"}}this.bidderCode=a,this.width=0,this.height=0,this.statusMessage=l(),this.adId=(0,r._d)(),this.requestId=u,this.transactionId=c,this.auctionId=d,this.mediaType="banner",this.source=s,this.getStatusCode=function(){return f},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,auctionId:this.auctionId}}}function o(e,n){return new i(e,n)}},3193:function(e,n,t){t.d(n,{FD:function(){return g},vc:function(){return y}});var r=t(4942),i=t(1002),o=t(3324),a=t(6463),u=t(4614),c=t(4358),d=t(265),s=t(5644);function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}var l="TRUE"===(0,c.rD)(s.f).toUpperCase(),g="random",p={};p[g]=!0,p.fixed=!0;var v=g,h={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},m="*";var y=function(){var e,n,t,s=[],g=null;function y(){e={};var r={_debug:l,get debug(){return this._debug},set debug(e){this._debug=e},_bidderTimeout:3e3,get bidderTimeout(){return this._bidderTimeout},set bidderTimeout(e){this._bidderTimeout=e},_publisherDomain:null,get publisherDomain(){return this._publisherDomain},set publisherDomain(e){(0,c.yN)("publisherDomain is deprecated and has no effect since v7 - use pageUrl instead"),this._publisherDomain=e},_priceGranularity:h.MEDIUM,set priceGranularity(e){o(e)&&("string"==typeof e?this._priceGranularity=i(e)?e:h.MEDIUM:(0,c.PO)(e)&&(this._customPriceBucket=e,this._priceGranularity=h.CUSTOM,(0,c.ji)("Using custom price granularity")))},get priceGranularity(){return this._priceGranularity},_customPriceBucket:{},get customPriceBucket(){return this._customPriceBucket},_mediaTypePriceGranularity:{},get mediaTypePriceGranularity(){return this._mediaTypePriceGranularity},set mediaTypePriceGranularity(e){var n=this;this._mediaTypePriceGranularity=Object.keys(e).reduce((function(t,r){return o(e[r])?"string"==typeof e?t[r]=i(e[r])?e[r]:n._priceGranularity:(0,c.PO)(e)&&(t[r]=e[r],(0,c.ji)("Using custom price granularity for ".concat(r))):(0,c.yN)("Invalid price granularity for media type: ".concat(r)),t}),{})},_sendAllBids:true,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},_useBidCache:false,get useBidCache(){return this._useBidCache},set useBidCache(e){this._useBidCache=e},_deviceAccess:true,get deviceAccess(){return this._deviceAccess},set deviceAccess(e){this._deviceAccess=e},_bidderSequence:v,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){p[e]?this._bidderSequence=e:(0,c.yN)("Invalid order: ".concat(e,". Bidder Sequence was not set."))},_timeoutBuffer:400,get timeoutBuffer(){return this._timeoutBuffer},set timeoutBuffer(e){this._timeoutBuffer=e},_disableAjaxTimeout:false,get disableAjaxTimeout(){return this._disableAjaxTimeout},set disableAjaxTimeout(e){this._disableAjaxTimeout=e},_maxNestedIframes:10,get maxNestedIframes(){return this._maxNestedIframes},set maxNestedIframes(e){this._maxNestedIframes=e},_auctionOptions:{},get auctionOptions(){return this._auctionOptions},set auctionOptions(e){(function(e){if(!(0,c.PO)(e))return(0,c.yN)("Auction Options must be an object"),!1;for(var n=0,t=Object.keys(e);n<t.length;n++){var r=t[n];if("secondaryBidders"!==r&&"suppressStaleRender"!==r)return(0,c.yN)("Auction Options given an incorrect param: ".concat(r)),!1;if("secondaryBidders"===r){if(!(0,c.kJ)(e[r]))return(0,c.yN)("Auction Options ".concat(r," must be of type Array")),!1;if(!e[r].every(c.d8))return(0,c.yN)("Auction Options ".concat(r," must be only string")),!1}else if("suppressStaleRender"===r&&!(0,c.jn)(e[r]))return(0,c.yN)("Auction Options ".concat(r," must be of type boolean")),!1}return!0})(e)&&(this._auctionOptions=e)}};function i(e){return(0,u.sE)(Object.keys(h),(function(n){return e===h[n]}))}function o(e){if(!e)return(0,c.H)("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof e)i(e)||(0,c.yN)("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if((0,c.PO)(e)&&!(0,a.t)(e))return(0,c.H)("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0}n&&S(Object.keys(n).reduce((function(e,t){return n[t]!==r[t]&&(e[t]=r[t]||{}),e}),{})),n=r,t={}}function b(){if(g&&t&&(0,c.PO)(t[g])){var e=t[g],r=new Set(Object.keys(n).concat(Object.keys(e)));return(0,u.Oc)(r).reduce((function(t,r){return void 0===e[r]?t[r]=n[r]:void 0===n[r]?t[r]=e[r]:(0,c.PO)(e[r])?t[r]=(0,c.Ee)({},n[r],e[r]):t[r]=e[r],t}),{})}return Object.assign({},n)}var w=[b,function(){var e=b();return Object.defineProperty(e,"ortb2",{get:function(){throw new Error("invalid access to 'orbt2' config - use request parameters instead")}}),e}].map((function(e){return function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var n=arguments.length<=0?void 0:arguments[0];return n?(0,d.Z)(e(),n):b()}return j.apply(void 0,arguments)}})),C=(0,o.Z)(w,2),A=C[0],T=C[1],E=[T,A].map((function(e){return function(){var n=e.apply(void 0,arguments);return n&&"object"===(0,i.Z)(n)&&(n=(0,c.I8)(n)),n}})),O=(0,o.Z)(E,2),k=O[0],B=O[1];function I(t){if((0,c.PO)(t)){var r=Object.keys(t),i={};r.forEach((function(r){var o=t[r];(0,c.PO)(e[r])&&(0,c.PO)(o)&&(o=Object.assign({},e[r],o));try{i[r]=n[r]=o}catch(e){(0,c.yN)("Cannot set config for property ".concat(r," : "),e)}})),S(i)}else(0,c.H)("setConfig options must be an object")}function j(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n;if("string"!=typeof e&&(i=e,e=m,t=n||{}),"function"==typeof i){var o={topic:e,callback:i};return s.push(o),t.init&&i(e===m?T():(0,r.Z)({},e,T(e))),function(){s.splice(s.indexOf(o),1)}}(0,c.H)("listener must be a function")}function S(e){var n=Object.keys(e);s.filter((function(e){return(0,u.q9)(n,e.topic)})).forEach((function(n){n.callback((0,r.Z)({},n.topic,e[n.topic]))})),s.filter((function(e){return e.topic===m})).forEach((function(n){return n.callback(e)}))}function U(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{r(e),e.bidders.forEach((function(r){t[r]||(t[r]={}),Object.keys(e.config).forEach((function(i){var o=e.config[i];if((0,c.PO)(o)){var a=n?c.Ee:Object.assign;t[r][i]=a({},t[r][i]||{},o)}else t[r][i]=o}))}))}catch(e){(0,c.H)(e)}function r(e){if(!(0,c.PO)(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,c.PO)(e.config))throw"setBidderConfig bidder options must contain a config object"}}function P(e,n){g=e;try{return n()}finally{_()}}function _(){g=null}return y(),{getCurrentBidder:function(){return g},resetBidder:_,getConfig:T,getAnyConfig:A,readConfig:k,readAnyConfig:B,setConfig:I,mergeConfig:function(e){if((0,c.PO)(e)){var n=(0,c.Ee)(b(),e);return I(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({},n)),n}(0,c.H)("mergeConfig input must be an object")},setDefaults:function(t){(0,c.PO)(e)?(Object.assign(e,t),Object.assign(n,t)):(0,c.H)("defaults must be an object")},resetConfig:y,runWithBidder:P,callbackWithBidder:function(e){return function(n){return function(){if("function"==typeof n){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return P(e,c.ak.call.apply(c.ak,[n,this].concat(r)))}(0,c.yN)("config.callbackWithBidder callback is not a function")}}},setBidderConfig:U,getBidderConfig:function(){return t},mergeBidderConfig:function(e){return U(e,!0)}}}()},4516:function(e,n,t){t.d(n,{$P:function(){return m},$e:function(){return B},LO:function(){return O},iK:function(){return k}});var r=t(136),i=t(2963),o=t(1120),a=t(5671),u=t(3144),c=t(4942),d=t(8916),s=t(2793),f=t(4358),l=t(8792);function g(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,o.Z)(e);if(n){var a=(0,o.Z)(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return(0,i.Z)(this,t)}}function p(e,n,t){v(e,n),n.set(e,t)}function v(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function h(e,n,t){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return t}var m=Object.freeze({}),y=new WeakMap,b=new WeakMap,w=new WeakMap,C=new WeakMap,A=new WeakSet,T=function(){function e(){var n,t;(0,a.Z)(this,e),v(n=this,t=A),t.add(n),p(this,y,{writable:!0,value:void 0}),p(this,b,{writable:!0,value:void 0}),p(this,w,{writable:!0,value:void 0}),p(this,C,{writable:!0,value:void 0}),(0,c.Z)(this,"generatedTime",void 0),this.reset()}return(0,u.Z)(e,[{key:"reset",value:function(){(0,s.Z)(this,w,(0,l.P)()),(0,s.Z)(this,y,!1),(0,s.Z)(this,b,null),(0,s.Z)(this,C,!1),this.generatedTime=null}},{key:"enable",value:function(){(0,s.Z)(this,y,!0)}},{key:"enabled",get:function(){return(0,d.Z)(this,y)}},{key:"ready",get:function(){return(0,d.Z)(this,C)}},{key:"promise",get:function(){return(0,d.Z)(this,C)?l.Z.resolve((0,d.Z)(this,b)):((0,d.Z)(this,y)||h(this,A,E).call(this,null),(0,d.Z)(this,w).promise)}},{key:"setConsentData",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,f.AB)();this.generatedTime=n,h(this,A,E).call(this,e)}},{key:"getConsentData",value:function(){return(0,d.Z)(this,b)}}]),e}();function E(e){(0,s.Z)(this,C,!0),(0,s.Z)(this,b,e),(0,d.Z)(this,w).resolve(e)}var O=function(e){(0,r.Z)(t,e);var n=g(t);function t(){return(0,a.Z)(this,t),n.apply(this,arguments)}return(0,u.Z)(t,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&this.generatedTime)return{usp:e,generatedAt:this.generatedTime}}}]),t}(T),k=function(e){(0,r.Z)(t,e);var n=g(t);function t(){return(0,a.Z)(this,t),n.apply(this,arguments)}return(0,u.Z)(t,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&e.vendorData&&this.generatedTime)return{gdprApplies:e.gdprApplies,consentStringSize:(0,f.d8)(e.vendorData.tcString)?e.vendorData.tcString.length:0,generatedAt:this.generatedTime,apiVersion:e.apiVersion}}}]),t}(T),B=function(e){(0,r.Z)(t,e);var n=g(t);function t(){return(0,a.Z)(this,t),n.apply(this,arguments)}return(0,u.Z)(t,[{key:"getConsentMeta",value:function(){if(this.getConsentData()&&this.generatedTime)return{generatedAt:this.generatedTime}}}]),t}(T)},6463:function(e,n,t){t.d(n,{D:function(){return f},t:function(){return g}});var r=t(4614),i=t(4358),o=t(3193),a={buckets:[{max:5,increment:.5}]},u={buckets:[{max:20,increment:.1}]},c={buckets:[{max:20,increment:.01}]},d={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]},s={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};function f(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":l(e,a,t),med:""===r?"":l(e,u,t),high:""===r?"":l(e,c,t),auto:""===r?"":l(e,s,t),dense:""===r?"":l(e,d,t),custom:""===r?"":l(e,n,t)}}function l(e,n,t){var a="";if(!g(n))return a;var u=n.buckets.reduce((function(e,n){return e.max>n.max?e:n}),{max:0}),c=0,d=(0,r.sE)(n.buckets,(function(n){if(e>u.max*t){var r=n.precision;void 0===r&&(r=2),a=(n.max*t).toFixed(r)}else{if(e<=n.max*t&&e>=c*t)return n.min=c,n;c=n.max}}));return d&&(a=function(e,n,t){var r=void 0!==n.precision?n.precision:2,a=n.increment*t,u=n.min*t,c=Math.floor,d=o.vc.getConfig("cpmRoundingFunction");"function"==typeof d&&(c=d);var s,f,l=Math.pow(10,r+2),g=(e*l-u*l)/(a*l);try{s=c(g)*a+u}catch(e){f=!0}(f||"number"!=typeof s)&&((0,i.yN)("Invalid rounding function passed in config"),s=Math.floor(g)*a+u);return(s=Number(s.toFixed(10))).toFixed(r)}(e,d,t)),a}function g(e){if((0,i.xb)(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var n=!0;return e.buckets.forEach((function(e){e.max&&e.increment||(n=!1)})),n}},2021:function(e,n,t){t.d(n,{S1:function(){return l},j8:function(){return p},on:function(){return f},vw:function(){return g}});var r=t(4358),i=t(5644),o=Array.prototype.slice,a=Array.prototype.push,u=r.HA(i.FP,(function(e){return e})),c=i.aI,d=[],s=function(){var e={},n={};function t(n,t){r.ji("Emitting event for: "+n);var i=t[0]||{},o=i[c[n]],u=e[n]||{que:[]},s=r.HA(u,(function(e,n){return n})),f=[];d.push({eventType:n,args:i,id:o,elapsedTime:r.bd()}),o&&r.r3(s,o)&&a.apply(f,u[o].que),a.apply(f,u.que),r.yi(f,(function(e){if(e)try{e.apply(null,t)}catch(e){r.H("Error executing handler:","events.js",e)}}))}return n.on=function(n,t,i){if(function(e){return r.r3(u,e)}(n)){var o=e[n]||{que:[]};i?(o[i]=o[i]||{que:[]},o[i].que.push(t)):o.que.push(t),e[n]=o}else r.H("Wrong event name : "+n+" Valid event names :"+u)},n.emit=function(e){var n=o.call(arguments,1);t(e,n)},n.off=function(n,t,i){var o=e[n];r.xb(o)||r.xb(o.que)&&r.xb(o[i])||i&&(r.xb(o[i])||r.xb(o[i].que))||(i?r.yi(o[i].que,(function(e){var n=o[i].que;e===t&&n.splice(n.indexOf(e),1)})):r.yi(o.que,(function(e){var n=o.que;e===t&&n.splice(n.indexOf(e),1)})),e[n]=o)},n.get=function(){return e},n.addEvents=function(e){u=u.concat(e)},n.getEvents=function(){var e=[];return r.yi(d,(function(n){var t=Object.assign({},n);e.push(t)})),e},n}();r.u2(s.emit.bind(s));var f=s.on,l=s.off,g=(s.get,s.getEvents),p=s.emit;s.addEvents},8196:function(e,n,t){t.d(n,{W:function(){return o}});var r=t(4358),i=(0,t(5164).eA)(),o=(0,r.HP)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.host;if(!i.cookiesAreEnabled())return e;var n,t,o=e.split(".");if(2===o.length)return e;var a=-2,u="_rdc".concat(Date.now()),c="writeable";do{n=o.slice(a).join(".");var d=new Date((0,r.AB)()+1e4).toUTCString();i.setCookie(u,c,d,"Lax",n,void 0);var s=i.getCookie(u,void 0);s===c?(t=!1,i.setCookie(u,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,n,void 0)):(a+=-1,t=Math.abs(a)<=o.length)}while(t);return n}))},2797:function(e,n,t){t.d(n,{Bx:function(){return g},Cd:function(){return d},IF:function(){return p},bA:function(){return l},v5:function(){return s},z3:function(){return u}});var r=t(9062),i=t(1432),o=t.n(i),a=t(8792),u=o()({ready:o().SYNC|o().ASYNC|o().QUEUE}),c=(0,a.P)();u.ready=function(){var e=u.ready;return function(){try{return e.apply(u,arguments)}finally{c.resolve()}}}();var d=c.promise,s=u.get;var f={};function l(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.postInstallAllowed,o=void 0!==i&&i;u("async",(function(t){t.forEach((function(e){return n.apply(void 0,(0,r.Z)(e))})),o&&(f[e]=n)}),e)([])}function g(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];var i=f[e];if(i)return i.apply(void 0,t);s(e).before((function(e,n){n.push(t),e(n)}))}function p(e,n){return Object.defineProperties(n,Object.fromEntries(["before","after","getHooks","removeAll"].map((function(n){return[n,{get:function(){return e[n]}}]})))),n}},4679:function(e,n,t){t.d(n,{B5:function(){return r},Mk:function(){return o},Oh:function(){return a},pX:function(){return i}});var r="native",i="video",o="banner",a="adpod"},59:function(e,n,t){t.d(n,{Fb:function(){return j},JL:function(){return x},Sg:function(){return h},Ur:function(){return R},e6:function(){return _},eK:function(){return q},lY:function(){return F},r4:function(){return U},xc:function(){return m},zq:function(){return W}});var r=t(9062),i=t(3324),o=t(4942),a=t(265),u=t(4358),c=t(4614),d=t(5383),s=t(5644),f=t(4679);function l(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return g(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return g(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function g(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function p(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function v(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?p(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var h=[],m=Object.keys(s.FY).map((function(e){return s.FY[e]})),y={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}}},b=s.s$,w=s.oF,C=s.V1,A=s.zA,T=s.FY,E=L(C),O=L(b),k={img:1,js:2,1:"img",2:"js"},B=1;function I(e){if(e&&e.type&&function(e){if(!e||!(0,c.q9)(Object.keys(y),e))return(0,u.H)("".concat(e," nativeParam is not supported")),!1;return!0}(e.type)&&(e=y[e.type]),!e||!e.ortb||S(e.ortb))return e}function j(e){e.forEach((function(e){var n=e.nativeParams||(0,a.Z)(e,"mediaTypes.native");n&&(e.nativeParams=I(n)),e.nativeParams&&(e.nativeOrtbRequest=e.nativeParams.ortb||function(e){if(!e&&!(0,u.PO)(e))return void(0,u.H)("Native assets object is empty or not an object: ",e);var n={ver:"1.2",assets:[]};for(var t in e)if(!A.includes(t))if(T.hasOwnProperty(t)){var r=e[t],i=0;r.required&&(0,u.jn)(r.required)&&(i=Number(r.required));var o={id:n.assets.length,required:i};if(t in C)o.data={type:b[C[t]]},r.len&&(o.data.len=r.len);else if("icon"===t||"image"===t){if(o.img={type:"icon"===t?w.ICON:w.MAIN},r.aspect_ratios)if((0,u.kJ)(r.aspect_ratios))if(r.aspect_ratios.length){var a=r.aspect_ratios[0],c=a.min_width,d=a.min_height;(0,u.U)(c)&&(0,u.U)(d)?(o.img.wmin=c,o.img.hmin=d):(0,u.H)("image.aspect_ratios min_width or min_height are invalid: ",c,d);var s=r.aspect_ratios.filter((function(e){return e.ratio_width&&e.ratio_height})).map((function(e){return"".concat(e.ratio_width,":").concat(e.ratio_height)}));s.length>0&&(o.img.ext={aspectratios:s})}else(0,u.H)("image.aspect_ratios was passed, but it's empty:",r.aspect_ratios);else(0,u.H)("image.aspect_ratios was passed, but it's not a an array:",r.aspect_ratios);r.sizes&&(2===r.sizes.length&&(0,u.U)(r.sizes[0])&&(0,u.U)(r.sizes[1])?(o.img.w=r.sizes[0],o.img.h=r.sizes[1],delete o.img.hmin,delete o.img.wmin):(0,u.H)("image.sizes was passed, but its value is not an array of integers:",r.sizes))}else"title"===t?o.title={len:r.len||140}:"ext"===t&&(o.ext=r,delete o.required);n.assets.push(o)}else(0,u.H)("Unrecognized native asset code: ".concat(t,". Asset will be ignored."));return n}(e.nativeParams))}))}function S(e){var n=e.assets;if(!Array.isArray(n)||0===n.length)return(0,u.H)("assets in mediaTypes.native.ortb is not an array, or it's empty. Assets: ",n),!1;var t=n.map((function(e){return e.id}));return n.length!==new Set(t).size||t.some((function(e){return e!==parseInt(e,10)}))?((0,u.H)("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,u.H)("ortb.eventtrackers is not an array. Eventtrackers: ",e.eventtrackers),!1):n.every((function(e){return function(e){if(!(0,u.PO)(e))return(0,u.H)("asset must be an object. Provided asset: ",e),!1;if(e.img){if(!(0,u.hj)(e.img.w)&&!(0,u.hj)(e.img.wmin))return(0,u.H)("for img asset there must be 'w' or 'wmin' property"),!1;if(!(0,u.hj)(e.img.h)&&!(0,u.hj)(e.img.hmin))return(0,u.H)("for img asset there must be 'h' or 'hmin' property"),!1}else if(e.title){if(!(0,u.hj)(e.title.len))return(0,u.H)("for title asset there must be 'len' property defined"),!1}else if(e.data){if(!(0,u.hj)(e.data.type))return(0,u.H)("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,u.hj)(e.video.minduration)&&(0,u.hj)(e.video.maxduration)))return(0,u.H)("video asset is not properly configured"),!1;return!0}(e)}))}function U(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.index,i=void 0===r?d.K.index:r,o=i.getAdUnit(e);if(!o)return!1;var a=o.nativeOrtbRequest,u=(null===(n=e.native)||void 0===n?void 0:n.ortb)||z(e.native,a);return P(u,a)}function P(e,n){if(!(0,a.Z)(e,"link.url"))return(0,u.H)("native response doesn't have 'link' property. Ortb response: ",e),!1;var t=n.assets.filter((function(e){return 1===e.required})).map((function(e){return e.id})),r=e.assets.map((function(e){return e.id})),i=t.every((function(e){return(0,c.q9)(r,e)}));return i||(0,u.H)("didn't receive a bid with all required assets. Required ids: ".concat(t,", but received ids in response: ").concat(r)),i}function _(e,n){var t=n.native.ortb||M(n.native);return"click"===e.action?function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).fetchURL,r=void 0===t?u.hq:t;if(n){var i,o=(e.assets||[]).filter((function(e){return e.link})).reduce((function(e,n){return e[n.id]=n.link,e}),{}),a=(null===(i=e.link)||void 0===i?void 0:i.clicktrackers)||[],c=o[n],d=a;c&&(d=c.clicktrackers||[]),d.forEach((function(e){return r(e)}))}else{var s;((null===(s=e.link)||void 0===s?void 0:s.clicktrackers)||[]).forEach((function(e){return r(e)}))}}(t,null==e?void 0:e.assetId):function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.runMarkup,r=void 0===t?function(e){return(0,u.$8)(e)}:t,i=n.fetchURL,o=void 0===i?u.hq:i,a=(e.eventtrackers||[]).filter((function(e){return e.event===B})).reduce((function(e,n){return k.hasOwnProperty(n.method)&&e[k[n.method]].push(n.url),e}),{img:[],js:[]}),c=a.img,d=a.js;e.imptrackers&&(c=c.concat(e.imptrackers));c.forEach((function(e){return o(e)})),d=d.map((function(e){return'<script async src="'.concat(e,'"><\/script>')})),e.jstracker&&(d=d.concat([e.jstracker]));d.length&&r(d.join("\n"))}(t),e.action}function R(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.index,r=void 0===t?d.K.index:t,i={},o=r.getAdUnit(e);(0,a.Z)(o,"nativeParams.rendererUrl")?e.native.rendererUrl=Z(o.nativeParams.rendererUrl):(0,a.Z)(o,"nativeParams.adTemplate")&&(e.native.adTemplate=Z(o.nativeParams.adTemplate));var u=!1!==(0,a.Z)(o,"nativeParams.sendTargetingKeys"),c=D(o),s=v(v({},e.native),e.native.ext);return delete s.ext,Object.keys(s).forEach((function(n){var t=c[n],r=Z(e.native[n])||Z((0,a.Z)(e,"native.ext.".concat(n)));if("adTemplate"!==n&&t&&r){var d=(0,a.Z)(o,"nativeParams.".concat(n,".sendId"));if("boolean"!=typeof d&&(d=(0,a.Z)(o,"nativeParams.ext.".concat(n,".sendId"))),d)r="".concat(t,":").concat(e.adId);var s=(0,a.Z)(o,"nativeParams.".concat(n,".sendTargetingKeys"));"boolean"!=typeof s&&(s=(0,a.Z)(o,"nativeParams.ext.".concat(n,".sendTargetingKeys"))),("boolean"==typeof s?s:u)&&(i[t]=r)}})),i}function N(e,n,t){var r={message:"assetResponse",adId:e.adId},i=n.native;return n.native.ortb&&(r.ortb=n.native.ortb),r.assets=[],(null==t?Object.keys(i):t).forEach((function(e){if("adTemplate"===e&&i[e])r.adTemplate=Z(i[e]);else if("rendererUrl"===e&&i[e])r.rendererUrl=Z(i[e]);else if("ext"===e)Object.keys(i[e]).forEach((function(n){if(i[e][n]){var t=Z(i[e][n]);r.assets.push({key:n,value:t})}}));else if(i[e]&&s.FY.hasOwnProperty(e)){var n=Z(i[e]);r.assets.push({key:e,value:n})}})),r}function q(e,n){var t=e.assets.map((function(e){return(0,u.V9)(s.FY,e)}));return N(e,n,t)}function x(e,n){return N(e,n,null)}function Z(e){return(null==e?void 0:e.url)||e}function D(e){var n={};return(0,a.Z)(e,"nativeParams.ext")&&Object.keys(e.nativeParams.ext).forEach((function(e){n[e]="hb_native_".concat(e)})),v(v({},s.FY),n)}function H(e){if(S(e)){var n,t={},r=l(e.assets);try{var i=function(){var e=n.value;if(e.title){var r={required:!!e.required&&Boolean(e.required),len:e.title.len};t.title=r}else if(e.img){var i={required:!!e.required&&Boolean(e.required)};e.img.w&&e.img.h?i.sizes=[e.img.w,e.img.h]:e.img.wmin&&e.img.hmin&&(i.aspect_ratios={min_width:e.img.wmin,min_height:e.img.hmin,ratio_width:e.img.wmin,ratio_height:e.img.hmin}),e.img.type===w.MAIN?t.image=i:t.icon=i}else if(e.data){var o=Object.keys(b).find((function(n){return b[n]===e.data.type})),a=Object.keys(C).find((function(e){return C[e]===o}));t[a]={required:!!e.required&&Boolean(e.required)},e.data.len&&(t[a].len=e.data.len)}};for(r.s();!(n=r.n()).done;)i()}catch(e){r.e(e)}finally{r.f()}return t}}function F(e){if(!e||!(0,u.kJ)(e))return e;if(!e.some((function(e){var n;return null===(n=((null==e?void 0:e.mediaTypes)||{})[f.B5])||void 0===n?void 0:n.ortb})))return e;var n,t=(0,u.I8)(e),r=l(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.mediaTypes&&i.mediaTypes[f.B5]&&i.mediaTypes[f.B5].ortb&&(i.mediaTypes[f.B5]=Object.assign((0,u.ei)(i.mediaTypes[f.B5],A),H(i.mediaTypes[f.B5].ortb)),i.nativeParams=I(i.mediaTypes[f.B5]))}}catch(e){r.e(e)}finally{r.f()}return t}function M(e){var n={link:{},eventtrackers:[]};return Object.entries(e).forEach((function(e){var t=(0,i.Z)(e,2),r=t[0],o=t[1];switch(r){case"clickUrl":n.link.url=o;break;case"clickTrackers":n.link.clicktrackers=Array.isArray(o)?o:[o];break;case"impressionTrackers":(Array.isArray(o)?o:[o]).forEach((function(e){n.eventtrackers.push({event:B,method:k.img,url:e})}));break;case"javascriptTrackers":n.jstracker=Array.isArray(o)?o.join(""):o}})),n}function z(e,n){var t=v(v({},M(e)),{},{assets:[]});function r(e,r){var i=n.assets.find(e);null!=i&&(r(i=(0,u.I8)(i)),t.assets.push(i))}return Object.keys(e).filter((function(n){return!!e[n]})).forEach((function(n){var t=e[n];switch(n){case"title":r((function(e){return null!=e.title}),(function(e){e.title={text:t}}));break;case"image":case"icon":var i="image"===n?w.MAIN:w.ICON;r((function(e){return null!=e.img&&e.img.type===i}),(function(e){e.img={url:t}}));break;default:n in C&&r((function(e){return null!=e.data&&e.data.type===b[C[n]]}),(function(e){e.data={value:t}}))}})),t}function W(e,n){var t={},i=(null==n?void 0:n.assets)||[];t.clickUrl=e.link.url,t.privacyLink=e.privacy;var o,a=l((null==e?void 0:e.assets)||[]);try{var u=function(){var e=o.value,n=i.find((function(n){return e.id===n.id}));e.title?t.title=e.title.text:e.img?t[n.img.type===w.MAIN?"image":"icon"]=e.img.url:e.data&&(t[E[O[n.data.type]]]=e.data.value)};for(a.s();!(o=a.n()).done;)u()}catch(e){a.e(e)}finally{a.f()}t.impressionTrackers=[];var c,d=[];null!=n&&n.imptrackers&&(c=t.impressionTrackers).push.apply(c,(0,r.Z)(n.imptrackers));var s,f=l((null==e?void 0:e.eventtrackers)||[]);try{for(f.s();!(s=f.n()).done;){var g=s.value;g.event===B&&g.method===k.img&&t.impressionTrackers.push(g.url),g.event===B&&g.method===k.js&&d.push(g.url)}}catch(e){f.e(e)}finally{f.f()}return d=d.map((function(e){return'<script async src="'.concat(e,'"><\/script>')})),null!=e&&e.jstracker&&d.push(e.jstracker),d.length&&(t.javascriptTrackers=d.join("\n")),t}function L(e){var n={};for(var t in e)n[e[t]]=t;return n}},4614:function(e,n,t){function r(e,n,t){return e&&e.includes(n,t)||!1}function i(){return Array.from.apply(Array,arguments)}function o(e,n,t){return e&&e.find(n,t)}t.d(n,{Oc:function(){return i},q9:function(){return r},sE:function(){return o}})},1451:function(e,n,t){var r=t(3324),i=t(4942),o=t(8640),a=t(4358),u=t(265),c=t(6475),d=t(2021),s=t(59),f=t(5644),l=t(5383),g=t(4614),p=t(5706),v=t(3193),h=f.FP,m=h.AD_RENDER_FAILED,y=h.AD_RENDER_SUCCEEDED;function b(e){var n=e.reason,t=e.message,r=e.bid,i=e.id,o={reason:n,message:t};r&&(o.bid=r),i&&(o.adId=i),(0,a.H)(t),d.j8(m,o)}function w(e){var n=e.doc,t=e.bid,r=e.id,i={doc:n};t&&(i.bid=t),r&&(i.adId=r),d.j8(y,i)}var C=f.FP.BID_WON,A=f.FP.STALE_RENDER,T=new WeakSet,E={"Prebid Request":function(e,n,t){if(null==t)return void b({reason:f.q_.CANNOT_FIND_AD,message:"Cannot find ad '".concat(n.adId,"' for cross-origin render request"),id:n.adId});if(t.status===f.UE.fe&&((0,a.yN)("Ad id ".concat(t.adId," has been rendered before")),d.j8(A,t),(0,u.Z)(v.vc.getConfig("auctionOptions"),"suppressStaleRender")))return;try{!function(e,n){var t=e.adId,r=e.ad,i=e.adUrl,o=e.width,u=e.height,c=e.renderer,d=e.cpm,s=e.originalCpm;(0,p.Pd)(c)?(0,p._U)(c,e):t&&(k(e),n({message:"Prebid Response",ad:(0,a.ew)(r,s||d),adUrl:(0,a.ew)(i,s||d),adId:t,width:o,height:u}))}(t,e)}catch(e){return void b({reason:f.q_.EXCEPTION,message:e.message,id:n.adId,bid:t})}l.K.addWinningBid(t),d.j8(C,t)},"Prebid Event":function(e,n,t){if(null==t)return void(0,a.H)("Cannot find ad '".concat(n.adId,"' for x-origin event request"));if(t.status!==f.UE.fe)return void(0,a.yN)("Received x-origin event request without corresponding render request for ad '".concat(n.adId,"'"));switch(n.event){case f.FP.AD_RENDER_FAILED:b({bid:t,id:n.adId,reason:n.info.reason,message:n.info.message});break;case f.FP.AD_RENDER_SUCCEEDED:w({doc:null,bid:t,id:n.adId});break;default:(0,a.H)("Received x-origin event request for unsupported event: '".concat(n.event,"' (adId: '").concat(n.adId,"')"))}}};function O(e){var n=e.message?"message":"data",t={};try{t=JSON.parse(e[n])}catch(e){return}if(t&&t.adId&&t.message){var r=(0,g.sE)(l.K.getBidsReceived(),(function(e){return e.adId===t.adId}));E.hasOwnProperty(t.message)&&E[t.message](function(e){return null==e.origin&&0===e.ports.length?function(){var 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,a.H)(e),new Error(e)}:e.ports.length>0?function(n){e.ports[0].postMessage(JSON.stringify(n))}:function(n){e.source.postMessage(JSON.stringify(n),e.origin)}}(e),t,r)}}function k(e){var n=e.adId,t=e.adUnitCode,r=e.width,i=e.height;["div","iframe"].forEach((function(e){var o=function(e){var r=function(e,n){return(0,a.T9)()?function(e){var n=(0,g.sE)(window.googletag.pubads().getSlots(),(function(n){return(0,g.sE)(n.getTargetingKeys(),(function(t){return(0,g.q9)(n.getTargeting(t),e)}))}));return n?n.getSlotElementId():null}(e):(0,a.X4)()?function(e){var n=window.apntag.getTag(e);return n&&n.targetId}(n):n}(n,t),i=document.getElementById(r);return i&&i.querySelector(e)}(e+':not([style*="display: none"])');if(o){var u=o.style;u.width=r?r+"px":"100%",u.height=i+"px"}else(0,a.yN)("Unable to locate matching page element for adUnitCode ".concat(t,".  Can't resize it to ad's dimensions.  Please review setup."))}))}Object.assign(E,{"Prebid Native":function(e,n,t){if(null==t)return void(0,a.H)("Cannot find ad '".concat(n.adId,"' for x-origin event request"));T.has(t)||(T.add(t),l.K.addWinningBid(t),d.j8(C,t));switch(n.action){case"assetRequest":e((0,s.eK)(n,t));break;case"allAssetRequest":e((0,s.JL)(n,t));break;case"resizeNativeHeight":t.height=n.height,t.width=n.width,k(t);break;default:(0,s.e6)(n,t)}}});var B=t(1974),I=t(9062),j=t(4679),S=t(2797),U=t(5975),P=[],_=1;v.vc.getConfig("ttlBuffer",(function(e){"number"==typeof e.ttlBuffer?_=e.ttlBuffer:(0,a.H)("Invalid value for ttlBuffer",e.ttlBuffer)}));var R="targetingControls.allowTargetingKeys",N="targetingControls.addTargetingKeys",q='Only one of "'.concat(R,'" or "').concat(N,'" can be set'),x=Object.keys(f.TD).map((function(e){return f.TD[e]})),Z={isActualBid:function(e){return e.getStatusCode()===f.Q_.Q},isBidNotExpired:function(e){return e.responseTimestamp+1e3*(e.ttl-(e.hasOwnProperty("ttlBuffer")?e.ttlBuffer:_))>(0,a.AB)()},isUnusedBid:function(e){return e&&(e.status&&!(0,g.q9)([f.UE.fe],e.status)||!e.status)}};function D(e){return!Object.values(Z).some((function(n){return!n(e)}))}var H=(0,S.z3)("sync",(function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!r){var i=[],o=v.vc.getConfig("sendBidsControl.dealPrioritization"),u=(0,a.vM)(e,"adUnitCode");return Object.keys(u).forEach((function(e){var r=[],c=(0,a.vM)(u[e],"bidderCode");Object.keys(c).forEach((function(e){return r.push(c[e].reduce(n))})),t>0?(r=o?r.sort(F(!0)):r.sort((function(e,n){return n.cpm-e.cpm})),i.push.apply(i,(0,I.Z)(r.slice(0,t)))):i.push.apply(i,(0,I.Z)(r))})),i}return e}));function F(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(n,t){return void 0!==n.adserverTargeting.hb_deal&&void 0===t.adserverTargeting.hb_deal?-1:void 0===n.adserverTargeting.hb_deal&&void 0!==t.adserverTargeting.hb_deal?1:e?t.cpm-n.cpm:t.adserverTargeting.hb_pb-n.adserverTargeting.hb_pb}}var M=function(e){var n={},t={};function r(e,n){return e.adserverTargeting&&n&&((0,a.kJ)(n)&&(0,g.q9)(n,e.adUnitCode)||"string"==typeof n&&e.adUnitCode===n)}function o(e,n){if(!0===v.vc.getConfig("targetingControls.alwaysIncludeDeals")){var t=x.concat(s.xc);return H(n,a.ZH).map((function(n){if(n.dealId&&r(n,e))return(0,i.Z)({},n.adUnitCode,E(n,t.filter((function(e){return void 0!==n.adserverTargeting[e]}))))})).filter((function(e){return e}))}return[]}function c(e,n){var t=Object.assign({},f.TD,f.FY),r=Object.keys(t),i={};(0,a.PN)("allowTargetingKeys - allowed keys [ ".concat(n.map((function(e){return t[e]})).join(", ")," ]")),e.map((function(e){var o=Object.keys(e)[0],a=e[o].filter((function(e){var o=Object.keys(e)[0],a=0===r.filter((function(e){return 0===o.indexOf(t[e])})).length||(0,g.sE)(n,(function(e){var n=t[e];return 0===o.indexOf(n)}));return i[o]=!a,a}));e[o]=a}));var o=Object.keys(i).filter((function(e){return i[e]}));return(0,a.PN)("allowTargetingKeys - removed keys [ ".concat(o.join(", ")," ]")),e.filter((function(e){return e[Object.keys(e)[0]].length>0}))}function d(e,n){var t=(0,a.I8)(e);return Object.keys(t).map((function(e){return{adUnitCode:e,adserverTargeting:t[e]}})).sort(F()).reduce((function(e,r,i,o){var u,c=(u=r.adserverTargeting,Object.keys(u).reduce((function(e,n){return e+"".concat(n,"%3d").concat(encodeURIComponent(u[n]),"%26")}),""));i+1===o.length&&(c=c.slice(0,-3));var d=r.adUnitCode,s=c.length;return s<=n?(n-=s,(0,a.PN)("AdUnit '".concat(d,"' auction keys comprised of ").concat(s," characters.  Deducted from running threshold; new limit is ").concat(n),t[d]),e[d]=t[d]):(0,a.yN)("The following keys for adUnitCode '".concat(d,"' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ").concat(s,", the current allotted amount was ").concat(n,".\n"),t[d]),i+1===o.length&&0===Object.keys(e).length&&(0,a.H)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars).  Please review setup and consider adjusting."),e}),{})}function l(e){var n=e.map((function(e){return(0,i.Z)({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return(0,i.Z)({},Object.keys(e)[0],e[Object.keys(e)[0]].join(","))})).reduce((function(e,n){return Object.assign(n,e)}),{}))})).reduce((function(e,n){var t=Object.keys(n)[0];return e[t]=Object.assign({},e[t],n[t]),e}),{});return n}function p(n){return"string"==typeof n?[n]:(0,a.kJ)(n)?n:e.getAdUnitCodes()||[]}function h(){var n=e.getBidsReceived();if(v.vc.getConfig("useBidCache")){var r=v.vc.getConfig("bidCacheFilterFunction");"function"==typeof r&&(n=n.filter((function(e){return t[e.adUnitCode]===e.auctionId||!!r(e)})))}else n=n.filter((function(e){return t[e.adUnitCode]===e.auctionId}));return n=n.filter((function(e){return(0,u.Z)(e,"video.context")!==j.Oh})).filter(D),H(n,a.K$)}function m(e,t){var r=n.getWinningBids(e,t),o=y();return r=r.map((function(e){return(0,i.Z)({},e.adUnitCode,Object.keys(e.adserverTargeting).filter((function(n){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===o.indexOf(n)})).reduce((function(n,t){var r=[e.adserverTargeting[t]],o=(0,i.Z)({},t.substring(0,20),r);if(t===f.TD.DEAL){var a="".concat(t,"_").concat(e.bidderCode).substring(0,20),u=(0,i.Z)({},a,r);return[].concat((0,I.Z)(n),[o,u])}return[].concat((0,I.Z)(n),[o])}),[]))})),r}function y(){return e.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(x).filter(a.tT)}function b(e,n,t,r){return Object.keys(n.adserverTargeting).filter(w()).forEach((function(t){e.length&&e.filter(function(e){return function(t){return t.adUnitCode===n.adUnitCode&&t.adserverTargeting[e]}}(t)).forEach(function(e){return function(t){(0,a.kJ)(t.adserverTargeting[e])||(t.adserverTargeting[e]=[t.adserverTargeting[e]]),t.adserverTargeting[e]=t.adserverTargeting[e].concat(n.adserverTargeting[e]).filter(a.tT),delete n.adserverTargeting[e]}}(t))})),e.push(n),e}function w(){var e=y();return e=e.concat(s.xc),function(n){return-1===e.indexOf(n)}}function C(e){return(0,i.Z)({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(w()).map((function(n){return(0,i.Z)({},n.substring(0,20),[e.adserverTargeting[n]])})))}function A(e,n){return n.filter((function(n){return(0,g.q9)(e,n.adUnitCode)})).map((function(e){return Object.assign({},e)})).reduce(b,[]).map(C).filter((function(e){return e}))}function T(e,n){var t=x.concat(s.xc),o=v.vc.getConfig("sendBidsControl.bidLimit"),u=H(n,a.ZH,o),c=v.vc.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),d=c?c.map((function(e){return f.TD[e]})):t;return u.map((function(n){if(r(n,e))return(0,i.Z)({},n.adUnitCode,E(n,t.filter((function(e){return void 0!==n.adserverTargeting[e]&&-1!==d.indexOf(e)}))))})).filter((function(e){return e}))}function E(e,n){return n.map((function(n){return(0,i.Z)({},"".concat(n,"_").concat(e.bidderCode).substring(0,20),[e.adserverTargeting[n]])}))}function O(n){function t(e){return(0,u.Z)(e,f.k2.xn)}return e.getAdUnits().filter((function(e){return(0,g.q9)(n,e.code)&&t(e)})).map((function(e){return(0,i.Z)({},e.code,function(e){var n=t(e);return Object.keys(n).map((function(e){return(0,a.d8)(n[e])&&(n[e]=n[e].split(",").map((function(e){return e.trim()}))),(0,a.kJ)(n[e])||(n[e]=[n[e]]),(0,i.Z)({},e,n[e])}))}(e))}))}return n.setLatestAuctionForAdUnit=function(e,n){t[e]=n},n.resetPresetTargeting=function(n,t){if((0,a.T9)()){var r=p(n),i=e.getAdUnits().filter((function(e){return(0,g.q9)(r,e.code)})),o=P.reduce((function(e,n){return e[n]=null,e}),{});window.googletag.pubads().getSlots().forEach((function(e){var n=(0,a.LQ)(t)&&t(e);i.forEach((function(t){(t.code===e.getAdUnitPath()||t.code===e.getSlotElementId()||(0,a.LQ)(n)&&n(t.code))&&e.updateTargetingFromMap(o)}))}))}},n.resetPresetTargetingAST=function(e){p(e).forEach((function(e){var n=window.apntag.getTag(e);if(n&&n.keywords){var t=Object.keys(n.keywords),r={};t.forEach((function(e){(0,g.q9)(P,e.toLowerCase())||(r[e]=n.keywords[e])})),window.apntag.modifyTag(e,{keywords:r})}}))},n.getAllTargeting=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h(),t=p(e),r=m(t,n).concat(A(t,n)).concat(v.vc.getConfig("enableSendAllBids")?T(t,n):o(t,n)).concat(O(t));r.map((function(e){Object.keys(e).map((function(n){e[n].map((function(e){-1===P.indexOf(Object.keys(e)[0])&&(P=Object.keys(e).concat(P))}))}))}));var i=Object.keys(Object.assign({},f.kF,f.FY)),u=v.vc.getConfig(R),s=v.vc.getConfig(N);if(null!=s&&null!=u)throw new Error(q);u=null!=s?i.concat(s):u||i,Array.isArray(u)&&u.length>0&&(r=c(r,u)),r=l(r);var g=v.vc.getConfig("targetingControls.auctionKeyMaxChars");return g&&((0,a.PN)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(g," characters.  Running checks on auction keys...")),r=d(r,g)),t.forEach((function(e){r[e]||(r[e]={})})),r},v.vc.getConfig("targetingControls",(function(e){null!=(0,u.Z)(e,R)&&null!=(0,u.Z)(e,N)&&(0,a.H)(q)})),n.setTargetingForGPT=function(e,n){window.googletag.pubads().getSlots().forEach((function(t){Object.keys(e).filter(n?n(t):(0,a.zV)(t)).forEach((function(n){Object.keys(e[n]).forEach((function(t){var r=e[n][t];"string"==typeof r&&-1!==r.indexOf(",")&&(r=r.split(",")),e[n][t]=r})),(0,a.ji)("Attempting to set targeting-map for slot: ".concat(t.getSlotElementId()," with targeting-map:"),e[n]),t.updateTargetingFromMap(e[n])}))}))},n.getWinningBids=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h(),t=p(e);return n.filter((function(e){return(0,g.q9)(t,e.adUnitCode)})).filter((function(e){return!0===U.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0})).map((function(e){return e.adUnitCode})).filter(a.tT).map((function(e){return n.filter((function(n){return n.adUnitCode===e?n:null})).reduce(a.ZH)}))},n.setTargetingForAst=function(e){var t=n.getAllTargeting(e);try{n.resetPresetTargetingAST(e)}catch(e){(0,a.H)("unable to reset targeting for AST"+e)}Object.keys(t).forEach((function(e){return Object.keys(t[e]).forEach((function(n){if((0,a.ji)("Attempting to set targeting for targetId: ".concat(e," key: ").concat(n," value: ").concat(t[e][n])),(0,a.d8)(t[e][n])||(0,a.kJ)(t[e][n])){var r={};n.search(/pt[0-9]/)<0?r[n.toUpperCase()]=t[e][n]:r[n]=t[e][n],window.apntag.setKeywords(e,r,{overrideKeyValue:!0})}}))}))},n.isApntagDefined=function(){if(window.apntag&&(0,a.LQ)(window.apntag.setKeywords))return!0},n}(l.K),z=t(9626),W=t(5730),L=t(8792),K="__pbjs_debugging__";function G(){return(0,o.R)().installedModules.includes("debugging")}function J(e){return new L.Z((function(n){(0,W.B)(e,"debugging",n)}))}function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alreadyInstalled,t=void 0===n?G:n,r=e.script,i=void 0===r?J:r,u=null;return function(){return null==u&&(u=new L.Z((function(e,n){setTimeout((function(){if(t())e();else{var r="https://cdn.jsdelivr.net/npm/prebid.js@7.39.0/dist/debugging-standalone.js";(0,a.ji)('Debugging module not installed, loading it from "'.concat(r,'"...')),(0,o.R)()._installDebugging=!0,i(r).then((function(){(0,o.R)()._installDebugging({DEBUG_KEY:K,hook:S.z3,config:v.vc,createBid:z.m,logger:(0,a.qp)("DEBUG:")})})).then(e,n)}}))}))),u}}var Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.load,t=void 0===n?V():n,r=e.hook,i=void 0===r?(0,S.v5)("requestBids"):r,o=null,a=!1;function u(e){for(var n=this,t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return(o||L.Z.resolve()).then((function(){return e.apply(n,r)}))}function c(){a||(o=t(),i.before(u,99),a=!0)}function d(){i.getHooks({hook:u}).remove(),a=!1}function s(){o=null,d()}return{enable:c,disable:d,reset:s}}();Q.reset;v.vc.getConfig("debugging",(function(e){var n=e.debugging;null!=n&&n.enabled?Q.enable():Q.disable()}));var Y=t(875),X=t(5164),$=t(1039),ee=t(9128),ne=t(5102),te=t(8196),re=t(7809),ie={getRefererInfo:ne.nH,findRootDomain:te.W,getWindowTop:a.Zy,getWindowSelf:a.e7,getHighEntropySUA:re.KI,getLowEntropySUA:re.hi},oe=(0,S.z3)("sync",(function(e){return L.Z.all([e,(n=v.vc.getConfig("firstPartyData.uaHints"),Array.isArray(n)&&0===n.length?L.Z.resolve(ie.getLowEntropySUA()):ie.getHighEntropySUA(n)).catch((function(){return null}))]).then((function(e){var n=(0,r.Z)(e,2),t=n[0],i=n[1];return Object.entries(ue).forEach((function(e){var n=(0,r.Z)(e,2),i=n[0],o=(0,n[1])();o&&Object.keys(o).length>0&&(t[i]=(0,a.Ee)({},o,t[i]))})),i&&(0,c.N)(t,"device.sua",Object.assign({},i,t.device.sua)),t}));var n}));function ae(e){try{return e(ie.getWindowTop())}catch(n){return e(ie.getWindowSelf())}}var ue={site:function(){var e,n,t,r=ie.getRefererInfo(),i=(0,ne.hh)(r.page,{noLeadingWww:!0}),o=null===(e=ae((function(e){return e.document.querySelector("meta[name='keywords']")})))||void 0===e||null===(n=e.content)||void 0===n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\s/g,"");return function(e){return(0,a.iG)(e,Object.keys(e))}({page:r.page,ref:r.ref,domain:i,keywords:o,publisher:{domain:ie.findRootDomain(i)}})},device:function(){return ae((function(e){return{w:e.innerWidth||e.document.documentElement.clientWidth||e.document.body.clientWidth,h:e.innerHeight||e.document.documentElement.clientHeight||e.document.body.clientHeight,dnt:(0,a.oV)()?1:0,ua:e.navigator.userAgent,language:e.navigator.language.split("-").shift()}}))},regs:function(){var e={};ae((function(e){return e.navigator.globalPrivacyControl}))&&(0,c.N)(e,"ext.gpc",1);var n=v.vc.getConfig("coppa");return"boolean"==typeof n&&(e.coppa=n?1:0),e}},ce=(0,o.R)(),de=B.k_.triggerUserSyncs,se=f.FP,fe=se.ADD_AD_UNITS,le=se.BID_WON,ge=se.REQUEST_BIDS,pe=se.SET_TARGETING,ve=se.STALE_RENDER,he=f.q_,me=he.PREVENT_WRITING_ON_MAIN_DOCUMENT,ye=he.NO_AD,be=he.EXCEPTION,we=he.CANNOT_FIND_AD,Ce=he.MISSING_DOC_OR_ADID,Ae={bidWon:function(e){var n=l.K.getBidsRequested().map((function(e){return e.bids.map((function(e){return e.adUnitCode}))})).reduce(a.xH).filter(a.tT);if(!(0,a.r3)(n,e))return void(0,a.H)('The "'+e+'" placement is not defined.');return!0}};function Te(e,n,t){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=n,e.defaultView.frameElement.height=t)}function Ee(e,n){var t=[];return(0,a.kJ)(e)&&(n?e.length===n:e.length>0)&&(e.every((function(e){return(0,a.HC)(e,2)}))?t=e:(0,a.HC)(e,2)&&t.push(e)),t}function Oe(e){var n=(0,a.I8)(e),t=n.mediaTypes.banner,r=Ee(t.sizes);return r.length>0?(t.sizes=r,n.sizes=r):((0,a.H)("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 n.mediaTypes.banner),n}function ke(e){var n=(0,a.I8)(e),t=n.mediaTypes.video;if(t.playerSize){var r="number"==typeof t.playerSize[0]?2:1,i=Ee(t.playerSize,r);i.length>0?(2===r&&(0,a.PN)("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),t.playerSize=i,n.sizes=i):((0,a.H)("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 n.mediaTypes.video.playerSize)}return n}function Be(e){var n=(0,a.I8)(e),t=n.mediaTypes.native;if(t.ortb){var r=Object.keys(f.FY).filter((function(e){return f.FY[e].includes("hb_native_")})),i=Object.keys(t).filter((function(e){return r.includes(e)}));i.length>0&&((0,a.H)("when using native OpenRTB format, you cannot use legacy native properties. Deleting ".concat(i," keys from request.")),i.forEach((function(e){return delete n.mediaTypes.native[e]})))}return t.image&&t.image.sizes&&!Array.isArray(t.image.sizes)&&((0,a.H)("Please use an array of sizes for native.image.sizes field.  Removing invalid mediaTypes.native.image.sizes property from request."),delete n.mediaTypes.native.image.sizes),t.image&&t.image.aspect_ratios&&!Array.isArray(t.image.aspect_ratios)&&((0,a.H)("Please use an array of sizes for native.image.aspect_ratios field.  Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete n.mediaTypes.native.image.aspect_ratios),t.icon&&t.icon.sizes&&!Array.isArray(t.icon.sizes)&&((0,a.H)("Please use an array of sizes for native.icon.sizes field.  Removing invalid mediaTypes.native.icon.sizes property from request."),delete n.mediaTypes.native.icon.sizes),n}function Ie(e,n){var t=(0,u.Z)(e,"mediaTypes.".concat(n,".pos"));if(!(0,a.hj)(t)||isNaN(t)||!isFinite(t)){var r="Value of property 'pos' on ad unit ".concat(e.code," should be of type: Number");(0,a.yN)(r),d.j8(f.FP.AUCTION_DEBUG,{type:"WARNING",arguments:r}),delete e.mediaTypes[n].pos}return e}function je(e){var n=function(n){return"adUnit.code '".concat(e.code,"' ").concat(n)},t=e.mediaTypes,r=e.bids;return null==r||(0,a.kJ)(r)?null==r&&null==e.ortb2Imp?((0,a.H)(n("has no 'adUnit.bids' and no 'adUnit.ortb2Imp'. Removing adUnit from auction")),null):t&&0!==Object.keys(t).length?(null==e.ortb2Imp||null!=r&&0!==r.length||(e.bids=[{bidder:null}],(0,a.ji)(n("defines 'adUnit.ortb2Imp' with no 'adUnit.bids'; it will be seen only by S2S adapters"))),e):((0,a.H)(n("does not define a 'mediaTypes' object.  This is a required field for the auction, so this adUnit has been removed.")),null):((0,a.H)(n("defines 'adUnit.bids' that is not an array. Removing adUnit from auction")),null)}!function(){var e=null;try{e=window.sessionStorage}catch(e){}if(null!==e){var n=Q,t=null;try{t=e.getItem(K)}catch(e){}null!==t&&n.enable()}}(),ce.bidderSettings=ce.bidderSettings||{},ce.libLoaded=!0,ce.version="v7.39.0",(0,a.PN)("Prebid.js v7.39.0 loaded"),ce.installedModules=ce.installedModules||[],ce.adUnits=ce.adUnits||[],ce.triggerUserSyncs=de;var Se={validateAdUnit:je,validateBannerMediaType:Oe,validateVideoMediaType:ke,validateSizes:Ee};Object.assign(Se,{validateNativeMediaType:Be});var Ue,Pe=(0,S.z3)("sync",(function(e){var n=[];return e.forEach((function(e){if(null!=(e=je(e))){var t,r,i,o=e.mediaTypes;o.banner&&(t=Oe(e),o.banner.hasOwnProperty("pos")&&(t=Ie(t,"banner"))),o.video&&(r=ke(t||e),o.video.hasOwnProperty("pos")&&(r=Ie(r,"video"))),o.native&&(i=Be(r||(t||e)));var a=Object.assign({},t,r,i);n.push(a)}})),n}),"checkAdUnitSetup");function _e(e){var n=l.K[e]().filter(a.ak.call(a.IK,this,l.K.getAdUnitCodes())),t=l.K.getLastAuctionId();return n.map((function(e){return e.adUnitCode})).filter(a.tT).map((function(e){return n.filter((function(n){return n.auctionId===t&&n.adUnitCode===e}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return(0,i.Z)({},e[0].adUnitCode,{bids:e})})).reduce((function(e,n){return Object.assign(e,n)}),{})}function Re(e,n,t){var r=n.querySelector(t);e.parentNode&&e.parentNode===r||(0,a.jC)(e,n,t)}ce.getAdserverTargetingForAdUnitCodeStr=function(e){if((0,a.PN)("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var n=ce.getAdserverTargetingForAdUnitCode(e);return(0,a.Ob)(n)}(0,a.ji)("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},ce.getHighestUnusedBidResponseForAdUnitCode=function(e){if(e){var n=l.K.getAllBidsForAdUnitCode(e).filter(D);return n.length?n.reduce(a.ZH):{}}(0,a.ji)("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")},ce.getAdserverTargetingForAdUnitCode=function(e){return ce.getAdserverTargeting(e)[e]},ce.getAdserverTargeting=function(e){return(0,a.PN)("Invoking pbjs.getAdserverTargeting",arguments),M.getAllTargeting(e)},ce.getConsentMetadata=function(){return(0,a.PN)("Invoking pbjs.getConsentMetadata"),{gdpr:$.rp.getConsentMeta(),usp:$.nX.getConsentMeta(),gpp:$.TJ.getConsentMeta(),coppa:!!v.vc.getConfig("coppa")}},ce.getNoBids=function(){return(0,a.PN)("Invoking pbjs.getNoBids",arguments),_e("getNoBids")},ce.getNoBidsForAdUnitCode=function(e){return{bids:l.K.getNoBids().filter((function(n){return n.adUnitCode===e}))}},ce.getBidResponses=function(){return(0,a.PN)("Invoking pbjs.getBidResponses",arguments),_e("getBidsReceived")},ce.getBidResponsesForAdUnitCode=function(e){return{bids:l.K.getBidsReceived().filter((function(n){return n.adUnitCode===e}))}},ce.setTargetingForGPTAsync=function(e,n){if((0,a.PN)("Invoking pbjs.setTargetingForGPTAsync",arguments),(0,a.T9)()){var t=M.getAllTargeting(e);M.resetPresetTargeting(e,n),M.setTargetingForGPT(t,n),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(n){"hb_adid"===n&&l.K.setStatusForBids(t[e][n],f.UE.CK)}))})),d.j8(pe,t)}else(0,a.H)("window.googletag is not defined on the page")},ce.setTargetingForAst=function(e){(0,a.PN)("Invoking pbjs.setTargetingForAn",arguments),M.isApntagDefined()?(M.setTargetingForAst(e),d.j8(pe,M.getAllTargeting())):(0,a.H)("window.apntag is not defined on the page")},ce.renderAd=(0,S.z3)("async",(function(e,n,t){if((0,a.PN)("Invoking pbjs.renderAd",arguments),(0,a.ji)("Calling renderAd with adId :"+n),n)try{var r=l.K.findBidByAdId(n);if(!r){var i="Error trying to write ad. Cannot find ad by given id : ".concat(n);return void b({reason:we,message:i,id:n})}if(r.status===f.UE.fe&&((0,a.yN)("Ad id ".concat(r.adId," has been rendered before")),d.j8(ve,r),(0,u.Z)(v.vc.getConfig("auctionOptions"),"suppressStaleRender")))return;if(r.ad=(0,a.ew)(r.ad,r.originalCpm||r.cpm),r.adUrl=(0,a.ew)(r.adUrl,r.originalCpm||r.cpm),t&&t.clickThrough){var o=t.clickThrough;r.ad=(0,a.x_)(r.ad,o),r.adUrl=(0,a.x_)(r.adUrl,o)}l.K.addWinningBid(r),d.j8(le,r);var c=r.height,s=r.width,g=r.ad,h=r.mediaType,m=r.adUrl,y=r.renderer,C=r.adUnitCode,A=ce.adUnits.filter((function(e){return e.code===C})),T=ce.videoModule;if(A.video&&T)return void T.renderBid(A.video.divId,r);if(!e){var E="Error trying to write ad Id :".concat(n," to the page. Missing document");return void b({reason:Ce,message:E,id:n})}var O=document.createComment("Creative ".concat(r.creativeId," served by ").concat(r.bidder," Prebid.js Header Bidding"));if((0,a.jC)(O,e,"html"),(0,p.Pd)(y))(0,p._U)(y,r,e),Re(O,e,"html"),w({doc:e,bid:r,id:n});else if(e===document&&!(0,a.yL)()||"video"===h){var k="Error trying to write ad. Ad render call ad id ".concat(n," was prevented from writing to the main document.");b({reason:me,message:k,bid:r,id:n})}else if(g)e.write(g),e.close(),Te(e,s,c),Re(O,e,"html"),(0,a.R_)(r),w({doc:e,bid:r,id:n});else if(m){var B=(0,a.$u)();B.height=c,B.width=s,B.style.display="inline",B.style.overflow="hidden",B.src=m,(0,a.jC)(B,e,"body"),Te(e,s,c),Re(O,e,"html"),(0,a.R_)(r),w({doc:e,bid:r,id:n})}else{var I="Error trying to write ad. No ad for bid response id: ".concat(n);b({reason:ye,message:I,bid:r,id:n})}}catch(e){var j="Error trying to write ad Id :".concat(n," to the page:").concat(e.message);b({reason:be,message:j,id:n})}else{var S="Error trying to write ad Id :".concat(n," to the page. Missing adId");b({reason:Ce,message:S,id:n})}})),ce.removeAdUnit=function(e){((0,a.PN)("Invoking pbjs.removeAdUnit",arguments),e)?((0,a.kJ)(e)?e:[e]).forEach((function(e){for(var n=ce.adUnits.length-1;n>=0;n--)ce.adUnits[n].code===e&&ce.adUnits.splice(n,1)})):ce.adUnits=[]},ce.requestBids=(Ue=(0,S.z3)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.bidsBackHandler,t=e.timeout,i=e.adUnits,o=e.adUnitCodes,u=e.labels,c=e.auctionId,s=e.ttlBuffer,f=e.ortb2,l=e.metrics,p=e.defer;d.j8(ge);var h=t||v.vc.getConfig("bidderTimeout");(0,a.PN)("Invoking pbjs.requestBids",arguments),o&&o.length?i=i.filter((function(e){return(0,g.q9)(o,e.code)})):o=i&&i.map((function(e){return e.code}));var m={global:(0,a.Ee)({},v.vc.getAnyConfig("ortb2")||{},f||{}),bidder:Object.fromEntries(Object.entries(v.vc.getBidderConfig()).map((function(e){var n=(0,r.Z)(e,2);return[n[0],n[1].ortb2]})).filter((function(e){var n=(0,r.Z)(e,2);return n[0],null!=n[1]})))};return oe(L.Z.resolve(m.global)).then((function(e){return m.global=e,Ne({bidsBackHandler:n,timeout:h,adUnits:i,adUnitCodes:o,labels:u,auctionId:c,ttlBuffer:s,ortb2Fragments:m,metrics:l,defer:p})}))}),"requestBids"),(0,S.IF)(Ue,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.adUnits||ce.adUnits;return e.adUnits=(0,a.kJ)(n)?n.slice():[n],e.metrics=(0,ee.V6)(),e.metrics.checkpoint("requestBids"),e.defer=(0,L.P)({promiseFactory:function(e){return new Promise(e)}}),Ue.call(this,e),e.defer.promise})));var Ne=(0,S.z3)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.bidsBackHandler,t=e.timeout,r=e.adUnits,i=e.ttlBuffer,o=e.adUnitCodes,u=e.labels,d=e.auctionId,s=e.ortb2Fragments,f=e.metrics,p=e.defer,h=(0,$.uV)(v.vc.getConfig("s2sConfig")||[]);function m(e,t,r){if("function"==typeof n)try{n(e,t,r)}catch(e){(0,a.H)("Error executing bidsBackHandler",null,e)}p.resolve({bids:e,timedOut:t,auctionId:r})}if((r=(0,ee.Bf)(f).measureTime("requestBids.validate",(function(){return Pe(r)}))).forEach((function(e){var n,t,r=Object.keys(e.mediaTypes||{banner:"banner"}),o=e.bids.map((function(e){return e.bidder})),u=$.ZP.bidderRegistry,d=o.filter((function(e){return!h.has(e)})),s=(null===(n=e.ortb2Imp)||void 0===n||null===(t=n.ext)||void 0===t?void 0:t.tid)||(0,a.DO)();e.transactionId=s,null==i||e.hasOwnProperty("ttlBuffer")||(e.ttlBuffer=i),(0,c.N)(e,"ortb2Imp.ext.tid",s),d.forEach((function(n){var t=u[n],i=t&&t.getSpec&&t.getSpec(),o=i&&i.supportedMediaTypes||["banner"];r.some((function(e){return(0,g.q9)(o,e)}))?Y.f.incrementBidderRequestsCounter(e.code,n):((0,a.yN)((0,a.or)(e,n)),e.bids=e.bids.filter((function(e){return e.bidder!==n})))})),Y.f.incrementRequestsCounter(e.code)})),r&&0!==r.length){var y=l.K.createAuction({adUnits:r,adUnitCodes:o,callback:m,cbTimeout:t,labels:u,auctionId:d,ortb2Fragments:s,metrics:f}),b=r.length;b>15&&(0,a.PN)("Current auction ".concat(y.getAuctionId()," contains ").concat(b," adUnits."),r),o.forEach((function(e){return M.setLatestAuctionForAdUnit(e,y.getAuctionId())})),y.callBids()}else(0,a.ji)("No adUnits configured. No bids requested."),m()}),"startAuction");ce.requestBids.before((function(e,n){function t(e){for(var n;n=e.shift();)n()}t(X.Ld),t(qe),e.call(this,n)}),49),ce.addAdUnits=function(e){(0,a.PN)("Invoking pbjs.addAdUnits",arguments),ce.adUnits.push.apply(ce.adUnits,(0,a.kJ)(e)?e:[e]),d.j8(fe)},ce.onEvent=function(e,n,t){(0,a.PN)("Invoking pbjs.onEvent",arguments),(0,a.LQ)(n)?!t||Ae[e].call(null,t)?d.on(e,n,t):(0,a.H)('The id provided is not valid for event "'+e+'" and no handler was set.'):(0,a.H)('The event handler provided is not a function and was not set on event "'+e+'".')},ce.offEvent=function(e,n,t){(0,a.PN)("Invoking pbjs.offEvent",arguments),t&&!Ae[e].call(null,t)||d.S1(e,n,t)},ce.getEvents=function(){return(0,a.PN)("Invoking pbjs.getEvents"),d.vw()},ce.registerBidAdapter=function(e,n){(0,a.PN)("Invoking pbjs.registerBidAdapter",arguments);try{$.ZP.registerBidAdapter(e(),n)}catch(e){(0,a.H)("Error registering bidder adapter : "+e.message)}},ce.registerAnalyticsAdapter=function(e){(0,a.PN)("Invoking pbjs.registerAnalyticsAdapter",arguments);try{$.ZP.registerAnalyticsAdapter(e)}catch(e){(0,a.H)("Error registering analytics adapter : "+e.message)}},ce.createBid=function(e){return(0,a.PN)("Invoking pbjs.createBid",arguments),(0,z.m)(e)};var qe=[],xe=(0,S.z3)("async",(function(e){e&&!(0,a.xb)(e)?((0,a.PN)("Invoking pbjs.enableAnalytics for: ",e),$.ZP.enableAnalytics(e)):(0,a.H)("pbjs.enableAnalytics should be called with option {}")}),"enableAnalyticsCb");function Ze(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){(0,a.H)("Error processing command :","prebid.js",e)}}))}ce.enableAnalytics=function(e){qe.push(xe.bind(this,e))},ce.aliasBidder=function(e,n,t){(0,a.PN)("Invoking pbjs.aliasBidder",arguments),e&&n?$.ZP.aliasBidAdapter(e,n,t):(0,a.H)("bidderCode and alias must be passed as arguments","pbjs.aliasBidder")},ce.aliasRegistry=$.ZP.aliasRegistry,v.vc.getConfig("aliasRegistry",(function(e){"private"===e.aliasRegistry&&delete ce.aliasRegistry})),ce.getAllWinningBids=function(){return l.K.getAllWinningBids()},ce.getAllPrebidWinningBids=function(){return l.K.getBidsReceived().filter((function(e){return e.status===f.UE.CK}))},ce.getHighestCpmBids=function(e){return M.getWinningBids(e)},ce.markWinningBidAsUsed=function(e){var n=[];e.adUnitCode&&e.adId?n=l.K.getBidsReceived().filter((function(n){return n.adId===e.adId&&n.adUnitCode===e.adUnitCode})):e.adUnitCode?n=M.getWinningBids(e.adUnitCode):e.adId?n=l.K.getBidsReceived().filter((function(n){return n.adId===e.adId})):(0,a.yN)("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."),n.length>0&&(n[0].status=f.UE.fe)},ce.getConfig=v.vc.getAnyConfig,ce.readConfig=v.vc.readAnyConfig,ce.mergeConfig=v.vc.mergeConfig,ce.mergeBidderConfig=v.vc.mergeBidderConfig,ce.setConfig=v.vc.setConfig,ce.setBidderConfig=v.vc.setBidderConfig,ce.que.push((function(){window.addEventListener("message",O,!1)})),ce.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){(0,a.H)("Error processing command :",e.message,e.stack)}else(0,a.H)("Commands written into pbjs.cmd.push must be wrapped in a function")},ce.que.push=ce.cmd.push,ce.processQueue=function(){S.z3.ready(),Ze(ce.que),Ze(ce.cmd)}},8640:function(e,n,t){function r(){return window.pbjs}t.d(n,{R:function(){return r}}),window.pbjs=window.pbjs||{},window.pbjs.cmd=window.pbjs.cmd||[],window.pbjs.que=window.pbjs.que||[],window._pbjsGlobals=window._pbjsGlobals||[],window._pbjsGlobals.push("pbjs")},5102:function(e,n,t){t.d(n,{hh:function(){return a},nH:function(){return u}});var r=t(3193),i=t(4358);function o(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(!e)return e;if(/\w+:\/\//.exec(e))return e;var t=n.location.protocol;try{t=n.top.location.protocol}catch(e){}return/^\/\//.exec(e)?t+e:"".concat(t,"//").concat(e)}function a(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.noLeadingWww,r=void 0!==t&&t,i=n.noPort,a=void 0!==i&&i;try{e=new URL(o(e))}catch(e){return}return e=a?e.hostname:e.host,r&&e.startsWith("www.")&&(e=e.substring(4)),e}var u=function(e){function n(e){try{var n=e.querySelector("link[rel='canonical']");if(null!==n)return n.href}catch(e){}return null}return function(){var t,u,c,d,s=[],f=function(e){try{if(!e.location.ancestorOrigins)return;return e.location.ancestorOrigins}catch(e){}}(e),l=r.vc.getConfig("maxNestedIframes"),g=!1,p=0,v=!1,h=!1,m=!1;do{var y=t,b=h,w=void 0,C=!1,A=null;h=!1,t=t?t.parent:e;try{w=t.location.href||null}catch(e){C=!0}if(C)if(b){var T=y.context;try{u=A=T.sourceUrl,m=!0,v=!0,t===e.top&&(g=!0),T.canonicalUrl&&(c=T.canonicalUrl)}catch(e){}}else{(0,i.yN)("Trying to access cross domain iframe. Continuing without referrer and location");try{var E=y.document.referrer;E&&(A=E,t===e.top&&(g=!0))}catch(e){}!A&&f&&f[p-1]&&(A=f[p-1],t===e.top&&(m=!0)),A&&!v&&(u=A)}else{if(w&&(u=A=w,v=!1,t===e.top)){g=!0;var O=n(t.document);O&&(c=O)}t.context&&t.context.sourceUrl&&(h=!0)}s.push(A),p++}while(t!==e.top&&p<l);s.reverse();try{d=e.top.document.referrer}catch(e){}var k=g||m?u:null,B=r.vc.getConfig("pageUrl")||c||null,I=r.vc.getConfig("pageUrl")||k||o(B,e);return k&&k.indexOf("?")>-1&&-1===I.indexOf("?")&&(I="".concat(I).concat(k.substring(k.indexOf("?")))),{reachedTop:g,isAmp:v,numIframes:p-1,stack:s,topmostLocation:u||null,location:k,canonicalUrl:B,page:I,domain:a(I)||null,ref:d||null,legacy:{reachedTop:g,isAmp:v,numIframes:p-1,stack:s,referer:u||null,canonicalUrl:B}}}}(window)},5164:function(e,n,t){t.d(n,{Ld:function(){return c},df:function(){return l},eA:function(){return f}});var r=t(2797),i=t(4358),o=t(5975),a=t(4516),u=["core","prebid-module"],c=[];function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.gvlid,t=e.moduleName,r=e.bidderCode,d=e.moduleType,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=f.bidderSettings,g=void 0===l?o.S:l;function p(){if(null==r)return!0;var e=g.get(r,"storageAllowed");return null!=e&&e}function v(e){if(p()){var o;return s(n,r||t,{hasEnforcementHook:!1},(function(n){if(n&&n.hasEnforcementHook)o=e(n);else{var t={hasEnforcementHook:!1,valid:(0,i.wn)()};o=e(t)}})),o}(0,i.PN)("bidderSettings denied access to device storage for bidder '".concat(r,"'"));return e({valid:!1})}u.includes(d)&&(n=n||a.$P);var h=function(e,n,t,r,i,o){var a=function(o){if(o&&o.valid){var a=i&&""!==i?" ;domain=".concat(encodeURIComponent(i)):"",u=t&&""!==t?" ;expires=".concat(t):"",c=null!=r&&"none"==r.toLowerCase()?"; Secure":"";document.cookie="".concat(e,"=").concat(encodeURIComponent(n)).concat(u,"; path=/").concat(a).concat(r?"; SameSite=".concat(r):"").concat(c)}};if(!o||"function"!=typeof o)return v(a);c.push((function(){var e=v(a);o(e)}))},m=function(e,n){var t=function(n){if(n&&n.valid){var t=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return t?decodeURIComponent(t[2]):null}return null};if(!n||"function"!=typeof n)return v(t);c.push((function(){var e=v(t);n(e)}))},y=function(e){var n=function(e){if(e&&e.valid)try{return localStorage.setItem("prebid.cookieTest","1"),"1"===localStorage.getItem("prebid.cookieTest")}catch(e){}finally{try{localStorage.removeItem("prebid.cookieTest")}catch(e){}}return!1};if(!e||"function"!=typeof e)return v(n);c.push((function(){var t=v(n);e(t)}))},b=function(e){var n=function(e){return!(!e||!e.valid)&&(0,i.IG)()};if(!e||"function"!=typeof e)return v(n);c.push((function(){var t=v(n);e(t)}))},w=function(e,n,t){var r=function(t){t&&t.valid&&T()&&window.localStorage.setItem(e,n)};if(!t||"function"!=typeof t)return v(r);c.push((function(){var e=v(r);t(e)}))},C=function(e,n){var t=function(n){return n&&n.valid&&T()?window.localStorage.getItem(e):null};if(!n||"function"!=typeof n)return v(t);c.push((function(){var e=v(t);n(e)}))},A=function(e,n){var t=function(n){n&&n.valid&&T()&&window.localStorage.removeItem(e)};if(!n||"function"!=typeof n)return v(t);c.push((function(){var e=v(t);n(e)}))},T=function(e){var n=function(e){if(e&&e.valid)try{return!!window.localStorage}catch(e){(0,i.H)("Local storage api disabled")}return!1};if(!e||"function"!=typeof e)return v(n);c.push((function(){var t=v(n);e(t)}))},E=function(e,n){var t=function(n){if(n&&n.valid){var t=[];if((0,i.wn)())for(var r=document.cookie.split(";");r.length;){var o=r.pop(),a=o.indexOf("=");a=a<0?o.length:a,decodeURIComponent(o.slice(0,a).replace(/^\s+/,"")).indexOf(e)>=0&&t.push(decodeURIComponent(o.slice(a+1)))}return t}};if(!n||"function"!=typeof n)return v(t);c.push((function(){var e=v(t);n(e)}))};return{setCookie:h,getCookie:m,localStorageIsEnabled:y,cookiesAreEnabled:b,setDataInLocalStorage:w,getDataFromLocalStorage:C,removeDataFromLocalStorage:A,hasLocalStorage:T,findSimilarCookies:E}}var s=(0,r.z3)("async",(function(e,n,t,r){r(t)}),"validateStorageEnforcement");function f(e){return d({moduleName:e,moduleType:"core"})}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.gvlid,t=e.moduleName,r=e.bidderCode;if(arguments.length>1||arguments.length>0&&!(0,i.PO)(arguments[0]))throw new Error("Invalid invocation for getStorageManager");return d({gvlid:n,moduleName:t,bidderCode:r})}},1974:function(e,n,t){t.d(n,{k_:function(){return d}});var r=t(3324),i=t(4358),o=t(3193),a=t(4614),u=t(5164);o.vc.setDefaults({userSync:(0,i.I8)({syncEnabled:!0,filterSettings:{image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:3e3,auctionDelay:0})});var c=(0,u.eA)("usersync");var d=function(e){var n={},t={image:[],iframe:[]},u=new Set,c={},d={image:!0,iframe:!1},s=e.config;function f(){if(s.syncEnabled&&e.browserSupportsCookies){try{!function(){if(!d.iframe)return;l(t.iframe,(function(e){var n=(0,r.Z)(e,2),o=n[0],a=n[1];(0,i.ji)("Invoking iframe user sync for bidder: ".concat(o)),(0,i.Vs)(a),function(e,n){e.image=e.image.filter((function(e){return e[0]!==n}))}(t,o)}))}(),function(){if(!d.image)return;l(t.image,(function(e){var n=(0,r.Z)(e,2),t=n[0],o=n[1];(0,i.ji)("Invoking image pixel user sync for bidder: ".concat(t)),(0,i.hq)(o)}))}()}catch(e){return(0,i.H)("Error firing user syncs",e)}t={image:[],iframe:[]}}}function l(e,n){(0,i.TV)(e).forEach((function(e){n(e),u.add(e[0])}))}function g(e,n){var t=s.filterSettings;if(function(e,n){if(e.all&&e[n])return(0,i.yN)('Detected presence of the "filterSettings.all" and "filterSettings.'.concat(n,'" in userSync config.  You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.')),!1;var t=e.all?e.all:e[n],r=e.all?"all":n;if(!t)return!1;var o=t.filter,a=t.bidders;if(o&&"include"!==o&&"exclude"!==o)return(0,i.yN)('UserSync "filterSettings.'.concat(r,".filter\" setting '").concat(o,"' is not a valid option; use either 'include' or 'exclude'.")),!1;if("*"!==a&&!(Array.isArray(a)&&a.length>0&&a.every((function(e){return(0,i.d8)(e)&&"*"!==e}))))return(0,i.yN)('Detected an invalid setup in userSync "filterSettings.'.concat(r,".bidders\"; use either '*' (to represent all bidders) or an array of bidders.")),!1;return!0}(t,e)){d[e]=!0;var r=t.all?t.all:t[e],o="*"===r.bidders?[n]:r.bidders,u={include:function(e,n){return!(0,a.q9)(e,n)},exclude:function(e,n){return(0,a.q9)(e,n)}};return u[r.filter||"include"](o,n)}return!d[e]}return o.vc.getConfig("userSync",(function(e){if(e.userSync){var n=e.userSync.filterSettings;(0,i.PO)(n)&&(n.image||n.all||(e.userSync.filterSettings.image={bidders:"*",filter:"include"}))}s=Object.assign(s,e.userSync)})),n.registerSync=function(e,r,o){return u.has(r)?(0,i.ji)('already fired syncs for "'.concat(r,'", ignoring registerSync call')):s.syncEnabled&&(0,i.kJ)(t[e])?r?0!==s.syncsPerBidder&&Number(c[r])>=s.syncsPerBidder?(0,i.yN)('Number of user syncs exceeded for "'.concat(r,'"')):n.canBidderRegisterSync(e,r)?(t[e].push([r,o]),void(c=function(e,n){return e[n]?e[n]+=1:e[n]=1,e}(c,r))):(0,i.yN)('Bidder "'.concat(r,'" not permitted to register their "').concat(e,'" userSync pixels.')):(0,i.yN)("Bidder is required for registering sync"):(0,i.yN)('User sync type "'.concat(e,'" not supported'))},n.syncUsers=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(f,Number(e));f()},n.triggerUserSyncs=function(){s.enableOverride&&n.syncUsers()},n.canBidderRegisterSync=function(e,n){return!s.filterSettings||!g(e,n)},n}(Object.defineProperties({config:o.vc.getConfig("userSync")},{browserSupportsCookies:{get:function(){return!(0,i.fr)()&&c.cookiesAreEnabled()}}}))},4358:function(e,n,t){t.d(n,{$8:function(){return ve},$u:function(){return Q},AB:function(){return xe},An:function(){return U},Bq:function(){return tn},CS:function(){return Ve},D9:function(){return wn},DO:function(){return S},EE:function(){return E},Ee:function(){return vn},FS:function(){return We},G2:function(){return $e},H:function(){return K},HA:function(){return de},HC:function(){return on},HP:function(){return bn},I8:function(){return Pe},IG:function(){return He},IK:function(){return Ue},K$:function(){return Ie},LQ:function(){return $},NA:function(){return Ae},NI:function(){return Z},Ob:function(){return R},PN:function(){return W},PO:function(){return re},Q2:function(){return gn},RI:function(){return se},R_:function(){return pe},Re:function(){return _},S0:function(){return Le},SG:function(){return me},T9:function(){return Oe},TV:function(){return Se},U:function(){return Xe},V9:function(){return Te},Vs:function(){return he},W$:function(){return mn},X4:function(){return ke},XV:function(){return cn},Yp:function(){return fn},ZH:function(){return Be},Zy:function(){return H},_R:function(){return hn},_d:function(){return j},ak:function(){return B},bd:function(){return Ze},d5:function(){return dn},d8:function(){return ee},dj:function(){return yn},e7:function(){return F},eB:function(){return V},ei:function(){return nn},en:function(){return ln},ew:function(){return Ne},fr:function(){return Re},fz:function(){return en},hj:function(){return te},hl:function(){return an},hq:function(){return ge},iG:function(){return ze},jC:function(){return fe},jH:function(){return ae},ji:function(){return z},jn:function(){return ie},kJ:function(){return ne},ky:function(){return Qe},oV:function(){return Ke},or:function(){return Ye},pP:function(){return Ee},pw:function(){return N},qp:function(){return G},r3:function(){return ce},rD:function(){return Y},s:function(){return x},sF:function(){return q},t0:function(){return P},tT:function(){return be},u2:function(){return w},uh:function(){return rn},vM:function(){return Me},wn:function(){return De},xH:function(){return we},x_:function(){return qe},xb:function(){return oe},yL:function(){return _e},yN:function(){return L},yi:function(){return ue},yo:function(){return un},yx:function(){return Fe},zE:function(){return Ce},zV:function(){return Je}});var r,i=t(3324),o=t(9062),a=t(4942),u=t(1002),c=t(3193),d=t(7079),s=t.n(d),f=t(4614),l=t(5644),g=t(8792),p=Object.prototype.toString,v=Boolean(window.console),h=Boolean(v&&window.console.log),m=Boolean(v&&window.console.info),y=Boolean(v&&window.console.warn),b=Boolean(v&&window.console.error);function w(e){r=e}function C(){null!=r&&r.apply(void 0,arguments)}var A={checkCookieSupport:He,createTrackPixelIframeHtml:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!e)return"";n&&(e=encodeURI(e));t&&(t='sandbox="'.concat(t,'"'));return"<iframe ".concat(t,' id="').concat(j(),'"\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="').concat(e,'">\n    </iframe>')},getWindowSelf:F,getWindowTop:H,getWindowLocation:M,insertUserSyncIframe:he,insertElement:fe,isFn:$,triggerPixel:ge,logError:K,logWarn:L,logMessage:z,logInfo:W,parseQS:sn,formatQS:fn,deepEqual:pn},T={};function E(){return T}var O,k={},B=function(e,n){return n}.bind(null,1,k)()===k?Function.prototype.bind:function(e){var n=this,t=Array.prototype.slice.call(arguments,1);return function(){return n.apply(e,t.concat(Array.prototype.slice.call(arguments)))}},I=(O=0,function(){return++O});function j(){return I()+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 U(e,n){return n&&n[e]?n[e]:""}function P(e,n,t){return t?e+n+"="+encodeURIComponent(t)+"&":e}function _(e){var n="";for(var t in e)e.hasOwnProperty(t)&&(n+=t+"="+encodeURIComponent(e[t])+"&");return n=n.replace(/&$/,"")}function R(e){return e&&Object.getOwnPropertyNames(e).length>0?(n=e,Object.keys(n)).map((function(n){return"".concat(n,"=").concat(encodeURIComponent(Ae(e,n)))})).join("&"):"";var n}function N(e){if(e){var n=[];if(e.mediaTypes&&e.mediaTypes.banner&&Array.isArray(e.mediaTypes.banner.sizes)){var t=e.mediaTypes.banner.sizes;Array.isArray(t[0])?n=t:n.push(t)}else Array.isArray(e.sizes)&&(Array.isArray(e.sizes[0])?n=e.sizes:n.push(e.sizes));return n}}function q(e){var n=[];if("string"==typeof e){var t=e.split(","),r=/^(\d)+x(\d)+$/i;if(t)for(var i in t)se(t,i)&&t[i].match(r)&&n.push(t[i])}else if("object"===(0,u.Z)(e)){var o=e.length;if(o>0)if(2===o&&"number"==typeof e[0]&&"number"==typeof e[1])n.push(x(e));else for(var a=0;a<o;a++)n.push(x(e[a]))}return n}function x(e){if(D(e))return e[0]+"x"+e[1]}function Z(e){if(D(e))return{w:e[0],h:e[1]}}function D(e){return ne(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1])}function H(){return window.top}function F(){return window.self}function M(){return window.location}function z(){V()&&h&&console.log.apply(console,J(arguments,"MESSAGE:"))}function W(){V()&&m&&console.info.apply(console,J(arguments,"INFO:"))}function L(){V()&&y&&console.warn.apply(console,J(arguments,"WARNING:")),C(l.FP.AUCTION_DEBUG,{type:"WARNING",arguments:arguments})}function K(){V()&&b&&console.error.apply(console,J(arguments,"ERROR:")),C(l.FP.AUCTION_DEBUG,{type:"ERROR",arguments:arguments})}function G(e){function n(n){return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];n.apply(void 0,[e].concat(r))}}return{logError:n(K),logWarn:n(L),logMessage:n(z),logInfo:n(W)}}function J(e,n){e=[].slice.call(e);var t=c.vc.getCurrentBidder();return n&&e.unshift(n),t&&e.unshift(r("#aaa")),e.unshift(r("#3b88c3")),e.unshift("%cPrebid"+(t?"%c".concat(t):"")),e;function r(e){return"display: inline-block; color: #fff; background: ".concat(e,"; padding: 1px 4px; border-radius: 3px;")}}function V(){return!!c.vc.getConfig("debug")}function Q(){var e=document.createElement("iframe");return e.id=j(),e.height=0,e.width=0,e.border="0px",e.hspace="0",e.vspace="0",e.marginWidth="0",e.marginHeight="0",e.style.border="0",e.scrolling="no",e.frameBorder="0",e.src="about:blank",e.style.display="none",e}function Y(e){return sn(M().search)[e]||""}function X(e,n){return p.call(e)==="[object "+n+"]"}function $(e){return X(e,"Function")}function ee(e){return X(e,"String")}function ne(e){return X(e,"Array")}function te(e){return X(e,"Number")}function re(e){return X(e,"Object")}function ie(e){return X(e,"Boolean")}function oe(e){if(!e)return!0;if(ne(e)||ee(e))return!(e.length>0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0}function ae(e){return ee(e)&&(!e||0===e.length)}function ue(e,n){if(!oe(e)){if($(e.forEach))return e.forEach(n,this);var t=0,r=e.length;if(r>0)for(;t<r;t++)n(e[t],t,e);else for(t in e)hasOwnProperty.call(e,t)&&n.call(this,e[t],t)}}function ce(e,n){if(oe(e))return!1;if($(e.indexOf))return-1!==e.indexOf(n);for(var t=e.length;t--;)if(e[t]===n)return!0;return!1}function de(e,n){if(oe(e))return[];if($(e.map))return e.map(n);var t=[];return ue(e,(function(r,i){t.push(n(r,i,e))})),t}function se(e,n){return e.hasOwnProperty?e.hasOwnProperty(n):void 0!==e[n]&&e.constructor.prototype[n]!==e[n]}function fe(e,n,t,r){var i;n=n||document,i=t?n.getElementsByTagName(t):n.getElementsByTagName("head");try{if((i=i.length?i:n.getElementsByTagName("body")).length){i=i[0];var o=r?null:i.firstChild;return i.insertBefore(e,o)}}catch(e){}}function le(e,n){var t=null;return new g.Z((function(r){var i=function n(){e.removeEventListener("load",n),e.removeEventListener("error",n),null!=t&&window.clearTimeout(t),r()};e.addEventListener("load",i),e.addEventListener("error",i),null!=n&&(t=window.setTimeout(i,n))}))}function ge(e,n,t){var r=new Image;n&&A.isFn(n)&&le(r,t).then(n),r.src=e}function pe(e){var n=e.source,t=e.burl;n===l.os.YZ&&t&&A.triggerPixel(t)}function ve(e){if(e){var n=document.createElement("iframe");n.id=j(),n.width=0,n.height=0,n.hspace="0",n.vspace="0",n.marginWidth="0",n.marginHeight="0",n.style.display="none",n.style.height="0px",n.style.width="0px",n.scrolling="no",n.frameBorder="0",n.allowtransparency="true",A.insertElement(n,document,"body"),n.contentWindow.document.open(),n.contentWindow.document.write(e),n.contentWindow.document.close()}}function he(e,n,t){var r=A.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),i=document.createElement("div");i.innerHTML=r;var o=i.firstChild;n&&A.isFn(n)&&le(o,t).then(n),A.insertElement(o,document,"html",!0)}function me(e){if(!e)return"";var n='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return n+='<img src="'+encodeURI(e)+'"></div>'}function ye(e,n,t){return null==n?t:ee(n)?n:te(n)?n.toString():void A.logWarn("Unsuported type for param: "+e+" required type: String")}function be(e,n,t){return t.indexOf(e)===n}function we(e,n){return e.concat(n)}function Ce(e,n){var t;if(e)return n.some((function(n){var r=(0,f.sE)(n.bids,(function(n){return["bidId","adId","bid_id"].some((function(t){return n[t]===e}))}));return r&&(t=r),r})),t}function Ae(e,n){return e[n]}function Te(e,n){for(var t in e)if(e.hasOwnProperty(t)&&e[t]===n)return t}function Ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits;return e.map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(we,[])})).reduce(we,[]).filter((function(e){return void 0!==e})).filter(be)}function Oe(){if(window.googletag&&$(window.googletag.pubads)&&$(window.googletag.pubads().getSlots))return!0}function ke(){if(window.apntag&&$(window.apntag.getTag))return!0}var Be=je("timeToRespond",(function(e,n){return e>n})),Ie=je("responseTimestamp",(function(e,n){return e>n}));je("responseTimestamp",(function(e,n){return e<n}));function je(e,n){return function(t,r){return t.cpm===r.cpm?n(t[e],r[e])?r:t:t.cpm<r.cpm?r:t}}function Se(e){for(var n=e.length;n>0;){var t=Math.floor(Math.random()*n),r=e[--n];e[n]=e[t],e[t]=r}return e}function Ue(e,n){return(0,f.q9)(e,n&&n.adUnitCode)}function Pe(e){return s()(e)}function _e(){try{return A.getWindowSelf()!==A.getWindowTop()}catch(e){return!0}}function Re(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)}function Ne(e,n){if(e)return e.replace(/\$\{AUCTION_PRICE\}/g,n)}function qe(e,n){if(e&&n&&"string"==typeof n)return e.replace(/\${CLICKTHROUGH}/g,n)}function xe(){return(new Date).getTime()}function Ze(){return window.performance&&window.performance.now&&window.performance.now()||0}function De(){return!1!==c.vc.getConfig("deviceAccess")}function He(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}function Fe(e,n){if(n<1)throw new Error("numRequiredCalls must be a positive number. Got ".concat(n));var t=0;return function(){++t===n&&e.apply(this,arguments)}}function Me(e,n){return e.reduce((function(e,t){return(e[t[n]]=e[t[n]]||[]).push(t),e}),{})}function ze(e,n){return n.filter((function(n){return e[n]})).reduce((function(n,t){return Object.assign(n,(0,a.Z)({},t,e[t]))}),{})}function We(e){var n=["banner","native","video"];return!!Object.keys(e).every((function(e){return(0,f.q9)(n,e)}))&&(!e.video||!e.video.context||(0,f.q9)(["instream","outstream","adpod"],e.video.context))}function Le(e,n,t){return e.filter((function(e){return e.code===n})).map((function(e){return e.bids})).reduce(we,[]).filter((function(e){return e.bidder===t})).map((function(e){return e.params||{}}))}function Ke(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack}var Ge=function(e,n){return e.getAdUnitPath()===n||e.getSlotElementId()===n};function Je(e){return function(n){return Ge(e,n)}}function Ve(e){return function(n){return Ge(n,e)}}function Qe(e){var n=function(e){var n;return Oe()&&(n=(0,f.sE)(window.googletag.pubads().getSlots(),Ve(e))),n}(e);return n?{gptSlot:n.getAdUnitPath(),divId:n.getSlotElementId()}:{}}function Ye(e,n){var t=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n    ".concat(e.code," is a ").concat(t," ad unit\n    containing bidders that don't support ").concat(t,": ").concat(n,".\n    This bidder won't fetch demand.\n  ")}function Xe(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function $e(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,n){return"_"+n.toLowerCase()})).replace(/^_/,"")}function en(e){return Object.keys(e).reduce((function(n,t){return void 0!==e[t]&&(n[t]=e[t]),n}),{})}function nn(e,n){return"object"!==(0,u.Z)(e)?{}:n.reduce((function(t,r,i){if("function"==typeof r)return t;var o=r,a=r.match(/^(.+?)\sas\s(.+?)$/i);a&&(r=a[1],o=a[2]);var u=e[r];return"function"==typeof n[i+1]&&(u=n[i+1](u,t)),void 0!==u&&(t[o]=u),t}),{})}function tn(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keywords",t=[];return ue(e,(function(e,r){if(ne(e)){var i=[];ue(e,(function(e){((e=ye(n+"."+r,e))||""===e)&&i.push(e)})),e=i}else{if(!ee(e=ye(n+"."+r,e)))return;e=[e]}t.push({key:r,value:e})})),t}function rn(e,n){return Object.keys(e).forEach((function(t){var r,i;n[t]&&($(e[t])?n[t]=e[t](n[t]):n[t]=(r=e[t],i=n[t],"string"===r?i&&i.toString():"number"===r?Number(i):i),isNaN(n[t])&&delete n.key)})),n}function on(e,n){return ne(e)&&(!n||e.length===n)&&e.every((function(e){return Xe(e)}))}function an(e,n){for(var t=[],r=0;r<n;r++){var i=re(e)?Pe(e):e;t.push(i)}return t}function un(e,n){for(var t=[],r=0;r<Math.ceil(e.length/n);r++){var i=r*n,o=i+n;t.push(e.slice(i,o))}return t}function cn(e){return Math.min.apply(Math,(0,o.Z)(e))}function dn(e){return Math.max.apply(Math,(0,o.Z)(e))}function sn(e){return e?e.replace(/^\?/,"").split("&").reduce((function(e,n){var t=n.split("="),r=(0,i.Z)(t,2),o=r[0],a=r[1];return/\[\]$/.test(o)?(e[o=o.replace("[]","")]=e[o]||[],e[o].push(a)):e[o]=a||"",e}),{}):{}}function fn(e){return Object.keys(e).map((function(n){return Array.isArray(e[n])?e[n].map((function(e){return"".concat(n,"[]=").concat(e)})).join("&"):"".concat(n,"=").concat(e[n])})).join("&")}function ln(e,n){var t=document.createElement("a");n&&"noDecodeWholeURL"in n&&n.noDecodeWholeURL?t.href=e:t.href=decodeURIComponent(e);var r=n&&"decodeSearchAsString"in n&&n.decodeSearchAsString;return{href:t.href,protocol:(t.protocol||"").replace(/:$/,""),hostname:t.hostname,port:+t.port,pathname:t.pathname.replace(/^(?!\/)/,"/"),search:r?t.search:A.parseQS(t.search||""),hash:(t.hash||"").replace(/^#/,""),host:t.host||window.location.host}}function gn(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(A.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")}function pn(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.checkTypes,i=void 0!==r&&r;if(e===n)return!0;if("object"!==(0,u.Z)(e)||null===e||"object"!==(0,u.Z)(n)||null===n||i&&e.constructor!==n.constructor)return!1;if(Object.keys(e).length!==Object.keys(n).length)return!1;for(var o in e){if(!n.hasOwnProperty(o))return!1;if(!pn(e[o],n[o],{checkTypes:i}))return!1}return!0}function vn(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];if(!t.length)return e;var i=t.shift();if(re(e)&&re(i)){var u=function(n){re(i[n])?(e[n]||Object.assign(e,(0,a.Z)({},n,{})),vn(e[n],i[n])):ne(i[n])?e[n]?ne(e[n])&&i[n].forEach((function(t){for(var r=1,i=0;i<e[n].length;i++)if(pn(e[n][i],t)){r=0;break}r&&e[n].push(t)})):Object.assign(e,(0,a.Z)({},n,(0,o.Z)(i[n]))):Object.assign(e,(0,a.Z)({},n,i[n]))};for(var c in i)u(c)}return vn.apply(void 0,[e].concat(t))}function hn(e){for(var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=function(e,n){if($(Math.imul))return Math.imul(e,n);var t=(4194303&e)*(n|=0);return 4290772992&e&&(t+=(4290772992&e)*n|0),0|t},i=3735928559^t,o=1103547991^t,a=0;a<e.length;a++)i=r(i^(n=e.charCodeAt(a)),2654435761),o=r(o^n,1597334677);return i=r(i^i>>>16,2246822507)^r(o^o>>>13,3266489909),(4294967296*(2097151&(o=r(o^o>>>16,2246822507)^r(i^i>>>13,3266489909)))+(i>>>0)).toString()}function mn(e){return e?e.defaultView:null}function yn(e){try{return JSON.parse(e)}catch(e){}}function bn(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},t=new Map,r=function(){var r=n.apply(this,arguments);return t.has(r)||t.set(r,e.apply(this,arguments)),t.get(r)};return r.clear=t.clear.bind(t),r}function wn(e,n){for(var t in n)n.hasOwnProperty(t)&&e.setAttribute(t,n[t])}var Cn;Cn={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"}},6066:function(e,n,t){t.d(n,{O:function(){return a}});var r=t(5383),i=t(5975),o=t(4358);function a(e,n,t){var a,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=u.index,d=void 0===c?r.K.index:c,s=u.bs,f=void 0===s?i.S:s;t=t||d.getBidRequest(n);var l=f.get((null==n?void 0:n.bidderCode)||(null===(a=t)||void 0===a?void 0:a.bidder),"bidCpmAdjustment");if(l&&"function"==typeof l)try{return l(e,Object.assign({},n),t)}catch(e){(0,o.H)("Error during bid adjustment",e)}return e}},9128:function(e,n,t){t.d(n,{A:function(){return C},Bf:function(){return h},V6:function(){return y},g3:function(){return w}});var r=t(3324),i=t(3193);function o(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return a(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return a(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return u=e.done,e},e:function(e){c=!0,o=e},f:function(){try{u||null==t.return||t.return()}finally{if(c)throw o}}}}function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var u="performanceMetrics",c=window.performance&&window.performance.now?function(){return window.performance.now()}:function(){return Date.now()},d=new WeakMap;function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.now,t=void 0===n?c:n,r=e.mkNode,i=void 0===r?g:r,o=e.mkTimer,a=void 0===o?l:o,u=e.mkRenamer,s=void 0===u?function(e){return e}:u,f=e.nodes,p=void 0===f?d:f;return function(){return function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return{forEach:function(n){n(e)}}};function o(e){return function(t){return n.dfWalk({visit:function(n,r){var i=r[e];if(i.hasOwnProperty(t))return i[t]}})}}r=s(r);var u=o("timestamps");function c(e,t){var i=r(e);n.dfWalk({follow:function(e,n){return n.propagate&&(!e||!e.stopPropagation)},visit:function(e,n){i.forEach((function(r){null==e?n.metrics[r]=t:(n.groups.hasOwnProperty(r)||(n.groups[r]=[]),n.groups[r].push(t))}))}})}function d(e){n.timestamps[e]=t()}function f(e,n){var r=u(e),i=null!=r?t()-r:null;return null!=n&&c(n,i),i}function l(e,n,t){var r=u(e),i=u(n),o=null!=r&&null!=i?i-r:null;return null!=t&&c(t,o),o}function g(e){return a(t,(function(n){return c(e,n)}))}function v(e,n){return g(e).stopAfter(n)()}function h(e,n,t){var r=g(e);return t(function(e){var n=r.stopBefore(e);return n.bail=e.bail&&r.stopBefore(e.bail),n.stopTiming=r,n.untimed=e,n}(n))}function m(){var e={};return n.dfWalk({visit:function(n,t){e=Object.assign({},!n||n.includeGroups?t.groups:null,t.metrics,e)}}),e}function y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.propagate,a=void 0===o||o,u=t.stopPropagation,c=void 0!==u&&u,d=t.includeGroups,s=void 0!==d&&d;return e(i([[n,{propagate:a,stopPropagation:c,includeGroups:s}]]),r)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.propagate,i=void 0===r||r,o=t.stopPropagation,a=void 0!==o&&o,u=t.includeGroups,c=void 0!==u&&u,d=p.get(e);null!=d&&d.addParent(n,{propagate:i,stopPropagation:a,includeGroups:c})}function w(t){return e(n,t)}function C(){return e(n.newSibling(),r)}var A={startTiming:g,measureTime:v,measureHookTime:h,checkpoint:d,timeSince:f,timeBetween:l,setMetric:c,getMetrics:m,fork:y,join:b,newMetrics:C,renameWith:w,toJSON:function(){return m()}};return p.set(A,n),A}(i([]))}}function f(e,n,t){return function(){n&&n();try{return e.apply(this,arguments)}finally{t&&t()}}}function l(e,n){var t=e(),r=!1;function i(){r||(n(e()-t),r=!0)}return i.stopBefore=function(e){return f(e,i)},i.stopAfter=function(e){return f(e,null,i)},i}function g(e){return{metrics:{},timestamps:{},groups:{},addParent:function(n,t){e.push([n,t])},newSibling:function(){return g(e.slice())},dfWalk:function(){var n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.visit,a=t.follow,u=void 0===a?function(){return!0}:a,c=t.visited,d=void 0===c?new Set:c,s=t.inEdge;if(!d.has(this)){if(d.add(this),null!=(n=i(s,this)))return n;var f,l=o(e);try{for(l.s();!(f=l.n()).done;){var g=(0,r.Z)(f.value,2),p=g[0],v=g[1];if(u(s,v)&&null!=(n=p.dfWalk({visit:i,follow:u,visited:d,inEdge:v})))return n}}catch(e){l.e(e)}finally{l.f()}}}}}var p=function(){var e=function(){},n=function(){return{}},t={forEach:e},r=function(){return null};r.stopBefore=function(e){return e},r.stopAfter=function(e){return e};var i=Object.defineProperties({dfWalk:e,newSibling:function(){return i},addParent:e},Object.fromEntries(["metrics","timestamps","groups"].map((function(e){return[e,{get:n}]}))));return s({now:function(){return 0},mkNode:function(){return i},mkRenamer:function(){return function(){return t}},mkTimer:function(){return r},nodes:{get:e,set:e}})()}(),v=!0;function h(e){return v&&e||p}i.vc.getConfig(u,(function(e){v=!!e[u]}));var m,y=(m=s(),function(){return v?m():p});function b(e,n){return function(t,r){return function(i){for(var o=arguments.length,a=new Array(o>1?o-1:0),u=1;u<o;u++)a[u-1]=arguments[u];var c=this;return h(n.apply(c,a)).measureHookTime(e+t,i,(function(e){return r.call.apply(r,[c,e].concat(a))}))}}}var w=b("requestBids.",(function(e){return e.metrics})),C=b("addBidResponse.",(function(e,n){return n.metrics}))},8792:function(e,n,t){t.d(n,{P:function(){return w},Z:function(){return b}});var r=t(3324),i=t(5671),o=t(3144),a=t(7326),u=t(8301),c=t(136),d=t(2963),s=t(1120),f=t(8916),l=t(2793),g=t(8640);function p(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,s.Z)(e);if(n){var i=(0,s.Z)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,d.Z)(this,t)}}function v(e,n,t){!function(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,n),n.set(e,t)}var h=new WeakMap,m=new WeakMap,y=new WeakMap,b=function(e){(0,c.Z)(t,e);var n=p(t);function t(e){var r;(0,i.Z)(this,t);var o=[],u=[];function c(e,n){return function(t){if(!o.length){for(o.push(e,t);u.length;)u.shift()();n(t)}}}return r=n.call(this,"function"!=typeof e?e:function(n,t){var r,i=c(1,t),o=(r=c(0,n),function(e){return"function"==typeof(null==e?void 0:e.then)?e.then(r,i):r(e)});try{e(o,i)}catch(e){i(e)}}),v((0,a.Z)(r),h,{writable:!0,value:void 0}),v((0,a.Z)(r),m,{writable:!0,value:void 0}),v((0,a.Z)(r),y,{writable:!0,value:null}),(0,l.Z)((0,a.Z)(r),h,o),(0,l.Z)((0,a.Z)(r),m,u),r}return(0,o.Z)(t,[{key:"then",value:function(e,n){var i=this;if("function"==typeof n)for(var o=this;o;){(0,u.Z)((0,s.Z)(t.prototype),"then",this).call(o,null,(function(){return null}));var a=(0,f.Z)(o,y);(0,l.Z)(o,y,null),o=a}var c=(0,f.Z)(this,h),d=new t((function(t,o){var a=function(){var i=c[1],a=0===c[0]?[e,t]:[n,o],u=(0,r.Z)(a,2),d=u[0],s=u[1];if("function"==typeof d){try{i=d(i)}catch(e){return void o(e)}s=t}s(i)};c.length?a():(0,f.Z)(i,m).push(a)}));return(0,l.Z)(d,y,this),d}}],[{key:"timeout",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new t((function(n){0===e?n():setTimeout(n,e)}))}},{key:"resolve",value:function(e){return new this((function(n){return n(e)}))}},{key:"reject",value:function(e){return new this((function(n,t){return t(e)}))}}]),t}((0,g.R)().Promise||Promise);function w(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.promiseFactory,i=void 0===r?function(e){return new b(e)}:r;function o(e){return function(n){return e(n)}}return{promise:i((function(t,r){e=t,n=r})),resolve:o(e),reject:o(n)}}},154:function(e,n,t){t.d(n,{Dn:function(){return s},LD:function(){return d},gZ:function(){return c}});var r=t(265),i=t(4358),o=t(3193),a=t(2797),u=t(5383),c="outstream",d="instream";function s(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.index,i=void 0===t?u.K.index:t,o=(0,r.Z)(i.getMediaTypes(e),"video"),a=o&&(0,r.Z)(o,"context"),c=o&&(0,r.Z)(o,"useCacheKey"),d=i.getAdUnit(e);return f(e,d,o,a,c)}var f=(0,a.z3)("sync",(function(e,n,t,r,a){return t&&(a||r!==c)?o.vc.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,i.H)('\n        This bid contains only vastXml and will not work when a prebid cache url is not specified.\n        Try enabling prebid cache with pbjs.setConfig({ cache: {url: "..."} });\n      '),!1):!(r===c&&!a)||!!(e.renderer||n&&n.renderer||t.renderer)}),"checkVideoBidSetup")},265:function(e,n,t){function r(e,n,t,r,i){for(n=n.split?n.split("."):n,r=0;r<n.length;r++)e=e?e[n[r]]:i;return e===i?t:e}t.d(n,{Z:function(){return r}})},1432:function(e){
/*
* @license MIT
* Fun Hooks v0.9.10
* (c) @snapwich
*/
a.SYNC=1,a.ASYNC=2,a.QUEUE=4;var n=Object.freeze({useProxy:!0,ready:0}),t=new WeakMap,r="2,1,0"===[1].reduce((function(e,n,t){return[e,n,t]}),2).toString()?Array.prototype.reduce:function(e,n){var t,r=Object(this),i=r.length>>>0,o=0;if(n)t=n;else{for(;o<i&&!(o in r);)o++;t=r[o++]}for(;o<i;)o in r&&(t=e(t,r[o],o,r)),o++;return t};function i(e,n){return Array.prototype.slice.call(e,n)}var o=Object.assign||function(e){return r.call(i(arguments,1),(function(e,n){return n&&Object.keys(n).forEach((function(t){e[t]=n[t]})),e}),e)};function a(e){var u,c={},d=[];function s(e,n){return"function"==typeof e?p.call(null,"sync",e,n):"string"==typeof e&&"function"==typeof n?p.apply(null,arguments):"object"==typeof e?f.apply(null,arguments):void 0}function f(e,n,t){var r=!0;void 0===n&&(n=Object.getOwnPropertyNames(e),r=!1);var i={},o=["constructor"];do{(n=n.filter((function(n){return!("function"!=typeof e[n]||-1!==o.indexOf(n)||n.match(/^_/))}))).forEach((function(n){var r=n.split(":"),o=r[0],a=r[1]||"sync";if(!i[o]){var u=e[o];i[o]=e[o]=p(a,u,t?[t,o]:void 0)}})),e=Object.getPrototypeOf(e)}while(r&&e);return i}function l(e){var n=Array.isArray(e)?e:e.split(".");return r.call(n,(function(t,r,i){var o=t[r],a=!1;return o||(i===n.length-1?(u||d.push((function(){a||console.warn("fun-hooks: referenced '"+e+"' but it was never created")})),t[r]=g((function(e){t[r]=e,a=!0}))):t[r]={})}),c)}function g(e){var n=[],r=[],i=function(){},a={before:function(e,t){return c.call(this,n,"before",e,t)},after:function(e,n){return c.call(this,r,"after",e,n)},getHooks:function(e){var t=n.concat(r);"object"==typeof e&&(t=t.filter((function(n){return Object.keys(e).every((function(t){return n[t]===e[t]}))})));try{o(t,{remove:function(){return t.forEach((function(e){e.remove()})),this}})}catch(e){console.error("error adding `remove` to array, did you modify Array.prototype?")}return t},removeAll:function(){return this.getHooks().remove()}},u={install:function(t,o,a){this.type=t,i=a,a(n,r),e&&e(o)}};return t.set(a.after,u),a;function c(e,t,o,a){var u={hook:o,type:t,priority:a||10,remove:function(){var t=e.indexOf(u);-1!==t&&(e.splice(t,1),i(n,r))}};return e.push(u),e.sort((function(e,n){return n.priority-e.priority})),i(n,r),this}}function p(n,r,c){var s=r.after&&t.get(r.after);if(s){if(s.type!==n)throw"fun-hooks: recreated hookable with different type";return r}var f,p,v=c?l(c):g(),h={get:function(e,n){return v[n]||Reflect.get.apply(Reflect,arguments)}};return u||d.push(m),e.useProxy&&"function"==typeof Proxy&&Proxy.revocable?p=new Proxy(r,h):(p=function(){return h.apply?h.apply(r,this,i(arguments)):r.apply(this,arguments)},o(p,v)),t.get(p.after).install(n,p,(function(e,t){var r,o=[];e.length||t.length?(e.forEach(a),r=o.push(void 0)-1,t.forEach(a),f=function(e,t,a){var u,c=0,d="async"===n&&"function"==typeof a[a.length-1]&&a.pop();function s(e){"sync"===n?u=e:d&&d.apply(null,arguments)}function f(e){if(o[c]){var r=i(arguments);return f.bail=s,r.unshift(f),o[c++].apply(t,r)}"sync"===n?u=e:d&&d.apply(null,arguments)}return o[r]=function(){var r=i(arguments,1);"async"===n&&d&&(delete f.bail,r.push(f));var o=e.apply(t,r);"sync"===n&&f(o)},f.apply(null,a),u}):f=void 0;function a(e){o.push(e.hook)}m()})),p;function m(){!u&&("sync"!==n||e.ready&a.SYNC)&&("async"!==n||e.ready&a.ASYNC)?"sync"!==n&&e.ready&a.QUEUE?h.apply=function(){var e=arguments;d.push((function(){p.apply(e[1],e[2])}))}:h.apply=function(){throw"fun-hooks: hooked function not ready"}:h.apply=f}}return(e=o({},n,e)).ready?s.ready=function(){u=!0,function(e){for(var n;n=e.shift();)n()}(d)}:u=!0,s.get=l,s}e.exports=a},7079:function(e){e.exports=function e(n){var t=Array.isArray(n)?[]:{};for(var r in n){var i=n[r];t[r]=i&&"object"==typeof i?e(i):i}return t}},907:function(e,n,t){function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}t.d(n,{Z:function(){return r}})},3878:function(e,n,t){function r(e){if(Array.isArray(e))return e}t.d(n,{Z:function(){return r}})},5057:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(907);function i(e){if(Array.isArray(e))return(0,r.Z)(e)}},7326:function(e,n,t){function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,{Z:function(){return r}})},6983:function(e,n,t){function r(e,n){return n.get?n.get.call(e):n.value}t.d(n,{Z:function(){return r}})},6011:function(e,n,t){function r(e,n,t){if(n.set)n.set.call(e,t);else{if(!n.writable)throw new TypeError("attempted to set read only private field");n.value=t}}t.d(n,{Z:function(){return r}})},5671:function(e,n,t){function r(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}t.d(n,{Z:function(){return r}})},1519:function(e,n,t){function r(e,n,t){if(!n.has(e))throw new TypeError("attempted to "+t+" private field on non-instance");return n.get(e)}t.d(n,{Z:function(){return r}})},8916:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(6983),i=t(1519);function o(e,n){var t=(0,i.Z)(e,n,"get");return(0,r.Z)(e,t)}},2793:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(6011),i=t(1519);function o(e,n,t){var o=(0,i.Z)(e,n,"set");return(0,r.Z)(e,o,t),t}},3144:function(e,n,t){function r(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,n,t){return n&&r(e.prototype,n),t&&r(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}t.d(n,{Z:function(){return i}})},4942:function(e,n,t){function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}t.d(n,{Z:function(){return r}})},8301:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(8415);function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,n,t){var i=(0,r.Z)(e,n);if(i){var o=Object.getOwnPropertyDescriptor(i,n);return o.get?o.get.call(arguments.length<3?e:t):o.value}},i.apply(this,arguments)}},1120:function(e,n,t){function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{Z:function(){return r}})},136:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(9611);function i(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&(0,r.Z)(e,n)}},9199:function(e,n,t){function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t.d(n,{Z:function(){return r}})},1902:function(e,n,t){function r(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,o=[],a=!0,u=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(o.push(r.value),!n||o.length!==n);a=!0);}catch(e){u=!0,i=e}finally{try{a||null==t.return||t.return()}finally{if(u)throw i}}return o}}t.d(n,{Z:function(){return r}})},5267:function(e,n,t){function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(n,{Z:function(){return r}})},2786:function(e,n,t){function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(n,{Z:function(){return r}})},2963:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(1002),i=t(7326);function o(e,n){if(n&&("object"===(0,r.Z)(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},9611:function(e,n,t){function r(e,n){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},r(e,n)}t.d(n,{Z:function(){return r}})},3324:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(3878),i=t(1902),o=t(181),a=t(5267);function u(e,n){return(0,r.Z)(e)||(0,i.Z)(e,n)||(0,o.Z)(e,n)||(0,a.Z)()}},8415:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(1120);function i(e,n){for(;!Object.prototype.hasOwnProperty.call(e,n)&&null!==(e=(0,r.Z)(e)););return e}},9062:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(5057),i=t(9199),o=t(181),a=t(2786);function u(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},1002:function(e,n,t){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.d(n,{Z:function(){return r}})},181:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(907);function i(e,n){if(e){if("string"==typeof e)return(0,r.Z)(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?(0,r.Z)(e,n):void 0}}},6475:function(e,n,t){function r(e,n,t){n.split&&(n=n.split("."));for(var r,i,o=0,a=n.length,u=e;o<a&&"__proto__"!==(i=n[o++])&&"constructor"!==i&&"prototype"!==i;)u=u[i]=o===a?t:typeof(r=u[i])==typeof n?r:0*n[o]!=0||~(""+n[o]).indexOf(".")?{}:[]}t.d(n,{N:function(){return r}})},5644:function(e){e.exports=JSON.parse('{"k2":{"xn":"adserverTargeting","zF":"standard"},"f":"pbjs_debug","Q_":{"Q":1,"H":2},"FP":{"AUCTION_INIT":"auctionInit","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","BILLABLE_EVENT":"billableEvent"},"q_":{"PREVENT_WRITING_ON_MAIN_DOCUMENT":"preventWritingOnMainDocument","NO_AD":"noAd","EXCEPTION":"exception","CANNOT_FIND_AD":"cannotFindAd","MISSING_DOC_OR_ADID":"missingDocOrAdid"},"aI":{"bidWon":"adUnitCode"},"Ql":{"yE":"low","M2":"medium","lj":"high","B7":"auto","uN":"dense","qN":"custom"},"TD":{"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"},"kF":{"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"},"FY":{"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"},"os":{"YZ":"s2s"},"UE":{"CK":"targetingSet","fe":"rendered","G9":"bidRejected"},"Gw":{"UI":"Bid has missing or invalid properties","Gp":"Invalid request ID","Dg":"Bidder code is not allowed by allowedAlternateBidderCodes / allowUnknownBidderCodes","pe":"Bid does not meet price floor","Xx":"Unable to convert currency"},"V1":{"body":"desc","body2":"desc2","sponsoredBy":"sponsored","cta":"ctatext","rating":"rating","address":"address","downloads":"downloads","likes":"likes","phone":"phone","price":"price","salePrice":"saleprice","displayUrl":"displayurl"},"s$":{"sponsored":1,"desc":2,"rating":3,"likes":4,"downloads":5,"price":6,"saleprice":7,"phone":8,"address":9,"desc2":10,"displayurl":11,"ctatext":12},"oF":{"ICON":1,"MAIN":3},"zA":["privacyLink","clickUrl","sendTargetingKeys","adTemplate","rendererUrl","type"]}')}},t={};function r(e){var i=t[e];if(void 0!==i)return i.exports;var o=t[e]={exports:{}};return n[e](o,o.exports,r),o.exports}r.m=n,e=[],r.O=function(n,t,i,o){if(!t){var a=1/0;for(s=0;s<e.length;s++){t=e[s][0],i=e[s][1],o=e[s][2];for(var u=!0,c=0;c<t.length;c++)(!1&o||a>=o)&&Object.keys(r.O).every((function(e){return r.O[e](t[c])}))?t.splice(c--,1):(u=!1,o<a&&(a=o));if(u){e.splice(s--,1);var d=i();void 0!==d&&(n=d)}}return n}o=o||0;for(var s=e.length;s>0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[t,i,o]},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,{a:n}),n},r.d=function(e,n){for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},function(){var e={5602:0};r.O.j=function(n){return 0===e[n]};var n=function(n,t){var i,o,a=t[0],u=t[1],c=t[2],d=0;if(a.some((function(n){return 0!==e[n]}))){for(i in u)r.o(u,i)&&(r.m[i]=u[i]);if(c)var s=c(r)}for(n&&n(t);d<a.length;d++)o=a[d],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(s)},t=self.pbjsChunk=self.pbjsChunk||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}();var i=r.O(void 0,[6866],(function(){return r(1451)}));i=r.O(i)}();
(self.pbjsChunk=self.pbjsChunk||[]).push([[6866],{7809:function(n,r,t){t.d(r,{KI:function(){return a},hi:function(){return u}});var e=t(4358),o=t(8792),i=["architecture","bitness","model","platformVersion","fullVersionList"],u=function(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(n=window.navigator)||void 0===n?void 0:n.userAgentData,t=(0,e.xb)(r)?null:Object.freeze(l(1,r));return function(){return t}}(),a=function(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(n=window.navigator)||void 0===n?void 0:n.userAgentData,t={},u=new WeakMap;return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;if(!u.has(n)){var a=Array.from(n);a.sort(),u.set(n,a.join("|"))}var s=u.get(n);if(!t.hasOwnProperty(s))try{t[s]=r.getHighEntropyValues(n).then((function(n){return(0,e.xb)(n)?null:Object.freeze(l(2,n))})).catch((function(){return null}))}catch(n){t[s]=o.Z.resolve(null)}return t[s]}}();function l(n,r){function t(n,r){var t={brand:n};return(0,e.d8)(r)&&!(0,e.jH)(r)&&(t.version=r.split(".")),t}var o={source:n};return r.platform&&(o.platform=t(r.platform,r.platformVersion)),(r.fullVersionList||r.brands)&&(o.browsers=(r.fullVersionList||r.brands).map((function(n){return t(n.brand,n.version)}))),r.hasOwnProperty("mobile")&&(o.mobile=r.mobile?1:0),["model","bitness","architecture"].forEach((function(n){var t=r[n];(0,e.d8)(t)&&(o[n]=t)})),o}}}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2355],{5590:function(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,{P:function(){return t}})}}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[5279],{4980:function(e,t,n){n.d(t,{T:function(){return w},x:function(){return q}});var r=n(3324),i=new WeakMap;function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!i.has(e)){var n=Object.entries(e);n.sort((function(e,t){return(e=e[1].priority||0)===(t=t[1].priority||0)?0:e>t?-1:1})),i.set(e,n.map((function(e){var t=(0,r.Z)(e,2);return[t[0],t[1].fn]})))}var o=i.get(e).filter((function(e){var n=(0,r.Z)(e,1)[0];return!t.hasOwnProperty(n)||t[n]})).map((function(e){var n=(0,r.Z)(e,2),i=n[0],o=n[1];return t.hasOwnProperty(i)?t[i].bind(this,o):o}));return function(){var e=this,t=Array.from(arguments);o.forEach((function(n){n.apply(e,t)}))}}var a=n(4358),s=n(1002),d=n(4942),u=n(6475),p=n(265),c=n(4679);function f(e){return(e=(0,a.sF)(e)).map((function(e){var t=e.split("x"),n=(0,r.Z)(t,2),i=n[0],o=n[1];return{w:parseInt(i,10),h:parseInt(o,10)}}))}var v=new Set(["pos","placement","api","mimes","protocols","playbackmethod","minduration","maxduration","w","h","startdelay","placement","linearity","skip","skipmin","skipafter","minbitrate","maxbitrate","delivery","playbackend"]),l={instream:1};var m=n(5840);var b,y=n(6372),h=n(3193),O=(b={},(0,d.Z)(b,y.Z,{fpd:{priority:99,fn:function(e,t){(0,a.Ee)(e,t.ortb2)}},appFpd:R("app"),siteFpd:R("site"),deviceFpd:R("device"),onlyOneClient:{priority:-99,fn:function(e){["dooh","app","site"].reduce((function(t,n){return null!=e[n]&&Object.keys(e[n]).length>0&&(null!=t?((0,a.yN)("ORTB request specifies both '".concat(t,"' and '").concat(n,"'; dropping the latter.")),delete e[n]):t=n),t}),null)}},props:{fn:function(e,t){var n;Object.assign(e,{id:e.id||t.auctionId,test:e.test||0});var r=parseInt(t.timeout,10);isNaN(r)||(e.tmax=r),(0,u.N)(e,"source.tid",(null===(n=e.source)||void 0===n?void 0:n.tid)||t.auctionId)}}}),(0,d.Z)(b,y.DZ,{fpd:{priority:99,fn:function(e,t){(0,a.Ee)(e,t.ortb2Imp)}},id:{fn:function(e,t){e.id=t.bidId}},banner:{fn:function(e,t,n){if(!n.mediaType||n.mediaType===c.Mk){var r=(0,p.Z)(t,"mediaTypes.banner");if(r){var i={topframe:!0===(0,a.yL)()?0:1};r.sizes&&(i.format=f(r.sizes)),r.hasOwnProperty("pos")&&(i.pos=r.pos),e.banner=(0,a.Ee)(i,e.banner)}}}},video:{fn:function(e,t,n){if(!n.mediaType||n.mediaType===c.pX){var i=(0,p.Z)(t,"mediaTypes.video");if(!(0,a.xb)(i)){var o=Object.fromEntries(Object.entries(i).filter((function(e){var t=(0,r.Z)(e,1)[0];return v.has(t)})));if(i.playerSize){var s=f(i.playerSize);s.length>1&&(0,a.yN)("video request specifies more than one playerSize; all but the first will be ignored"),Object.assign(o,s[0])}var d=l[i.context];null!=d&&(o.placement=d),e.video=(0,a.Ee)(o,e.video)}}}},pbadslot:{fn:function(e){var t,n,r,i,o=null===(t=e.ext)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.pbadslot;o&&"string"==typeof o||(null===(r=e.ext)||void 0===r||(null===(i=r.data)||void 0===i||delete i.pbadslot))}}}),(0,d.Z)(b,y.Px,{mediaType:{priority:99,fn:m.R},banner:{fn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.createPixel,n=void 0===t?function(e){return(0,a.SG)(decodeURIComponent(e))}:t;return function(e,t){e.mediaType===c.Mk&&(t.adm&&t.nurl?(e.ad=t.adm,e.ad+=n(t.nurl)):t.adm?e.ad=t.adm:t.nurl&&(e.adUrl=t.nurl))}}()},video:{fn:function(e,t,n){if(e.mediaType===c.pX){if((0,p.Z)(n.imp,"video.w")&&(0,p.Z)(n.imp,"video.h")){var r=[n.imp.video.w,n.imp.video.h];e.playerWidth=r[0],e.playerHeight=r[1]}t.adm&&(e.vastXml=t.adm),t.nurl&&(e.vastUrl=t.nurl)}}},props:{fn:function(e,t,n){var i;Object.entries({requestId:null===(i=n.bidRequest)||void 0===i?void 0:i.bidId,seatBidId:t.id,cpm:t.price,currency:n.ortbResponse.cur||n.currency,width:t.w,height:t.h,dealId:t.dealid,creative_id:t.crid,creativeId:t.crid,burl:t.burl,ttl:t.exp||n.ttl,netRevenue:n.netRevenue}).filter((function(e){var t=(0,r.Z)(e,2);t[0];return void 0!==t[1]})).forEach((function(t){var n=(0,r.Z)(t,2),i=n[0],o=n[1];return e[i]=o})),e.meta||(e.meta={}),t.adomain&&(e.meta.advertiserDomains=t.adomain)}}}),b);function R(e){return{priority:90,fn:function(t){var n=h.vc.getConfig(e);"object"===(0,s.Z)(n)&&(t[e]=(0,a.Ee)({},t[e],n))}}}O[y.DZ].native={fn:function(e,t,n){if(!n.mediaType||n.mediaType===c.B5){var r,i=t.nativeOrtbRequest;i&&(null!==(r=(i=Object.assign({},n.nativeRequest,i)).assets)&&void 0!==r&&r.length?e.native=(0,a.Ee)({},{request:JSON.stringify(i),ver:i.ver},e.native):(0,a.yN)("mediaTypes.native is set, but no assets were specified. Native request skipped.",t))}}},O[y.Px].native={fn:function(e,t){if(e.mediaType===c.B5){var n;if(n="string"==typeof t.adm?JSON.parse(t.adm):t.adm,!(0,a.PO)(n)||!Array.isArray(n.assets))throw new Error("ORTB native response contained no assets");e.native={ortb:n}}}};var g=n(1283);function q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=void 0===t?{}:t,r=e.processors,i=void 0===r?w:r,s=e.overrides,d=void 0===s?{}:s,u=e.imp,p=e.request,c=e.bidResponse,f=e.response,v=new WeakMap;function l(e,t,n,r){var a;return function(){return null==a&&(a=function(){var a=n.bind(this,o(i()[e]||{},d[e]||{}));return t&&(a=t.bind(this,a)),function(){try{return a.apply(this,arguments)}catch(e){r.call.apply(r,[this,e].concat(Array.prototype.slice.call(arguments)))}}}()),a.apply(this,arguments)}}var m=l(y.DZ,u,(function(e,t,n){var r={};return e(r,t,n),r}),(function(e,t,n){(0,a.H)("Error while converting bidRequest to ORTB imp; request skipped.",{error:e,bidRequest:t,context:n})})),b=l(y.Z,p,(function(e,t,n,r){var i={imp:t};return e(i,n,r),i}),(function(e,t,n,r){throw(0,a.H)("Error while converting to ORTB request",{error:e,imps:t,bidderRequest:n,context:r}),e})),h=l(y.Px,c,(function(e,t,n){var r={};return e(r,t,n),r}),(function(e,t,n){(0,a.H)("Error while converting ORTB seatbid.bid to bidResponse; bid skipped.",{error:e,bid:t,context:n})})),O=l(y.YC,f,(function(e,t,n,r){var i={bids:t};return e(i,n,r),i}),(function(e,t,n,r){throw(0,a.H)("Error while converting from ORTB response",{error:e,bidResponses:t,ortbResponse:n,context:r}),e}));return{toORTB:function(e){var t=e.bidderRequest,r=e.bidRequests,i=e.context,o=void 0===i?{}:i;r=r||t.bids;var s={req:Object.assign({bidRequests:r},n,o),imp:{}},d=r.map((function(e){var r=Object.assign({bidderRequest:t,reqContext:s.req},n,o),i=m(e,r);if(null!=i){if(i.hasOwnProperty("id"))return r.bidRequest=e,s.imp[i.id]=r,i;(0,a.H)("Converted ORTB imp does not specify an id, ignoring bid request",e,i)}})).filter(Boolean),u=b(d,t,s.req);return s.req.bidderRequest=t,null!=u&&v.set(u,s),u},fromORTB:function(e){var t=e.request,n=e.response,r=v.get(t);if(null==r)throw new Error("ortbRequest passed to `fromORTB` must be the same object returned by `toORTB`");function i(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({ortbRequest:t},n,e)}var o=Object.fromEntries((t.imp||[]).map((function(e){return[e.id,e]}))),s=(n.seatbid||[]).flatMap((function(e){return(e.bid||[]).map((function(t){if(o.hasOwnProperty(t.impid)&&r.imp.hasOwnProperty(t.impid))return h(t,i(r.imp[t.impid],{imp:o[t.impid],seatbid:e,ortbResponse:n}));(0,a.H)("ORTB response seatbid[].bid[].impid does not match any imp in request; ignoring bid",t)}))})).filter(Boolean);return O(s,n,i(r.req))}}}var w=(0,a.HP)((function(){return(0,g.F)(O,(0,y.fP)(y.TP))}))},1283:function(e,t,n){n.d(t,{F:function(){return i}});var r=n(6372);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.shift(),a=t.length>1?i.apply(void 0,t):t[0];return Object.fromEntries(r.gm.map((function(e){return[e,Object.assign({},o[e],a[e])]})))}},5840:function(e,t,n){n.d(t,{R:function(){return o},e:function(){return i}});var r=n(4679),i={1:r.Mk,2:r.pX,4:r.B5};function o(e,t,n){if(!e.mediaType){var r=n.mediaType;if(!r&&!i.hasOwnProperty(t.mtype))throw new Error("Cannot determine mediaType for response");e.mediaType=r||i[t.mtype]}}}}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[951],{8214:function(e,i,d){d.d(i,{X:function(){return y}});var r,t=d(1283),n=d(4942),a=d(3324),o=d(6372),s=d(265),b=d(4358),c=d(4679),p=d(5840),u=(r={},(0,n.Z)(r,c.Mk,"banner"),(0,n.Z)(r,c.B5,"native"),(0,n.Z)(r,c.pX,"video"),r);var v=d(1039),f=d(6475);var l=d(5383);var g,m=d(3193),h=d(8640);var x=(g={},(0,n.Z)(g,o.Z,{extPrebid:{fn:function(e,i){var d;(0,f.N)(e,"ext.prebid",(0,b.Ee)({auctiontimestamp:i.auctionStart,targeting:{includewinners:!0,includebidderkeys:!1}},null===(d=e.ext)||void 0===d?void 0:d.prebid)),m.vc.getConfig("debug")&&(e.ext.prebid.debug=!0)}},extPrebidChannel:{fn:function(e){var i,d;(0,f.N)(e,"ext.prebid.channel",Object.assign({name:"pbjs",version:(0,h.R)().version},null===(i=e.ext)||void 0===i||null===(d=i.prebid)||void 0===d?void 0:d.channel))}},extPrebidAliases:{fn:function(e,i,d){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},t=r.am,n=void 0===t?v.ZP:t;if(n.aliasRegistry[i.bidderCode]){var a=n.bidderRegistry[i.bidderCode];a&&a.getSpec().skipPbsAliasing||(0,f.N)(e,"ext.prebid.aliases.".concat(i.bidderCode),n.aliasRegistry[i.bidderCode])}}}}),(0,n.Z)(g,o.DZ,{params:{fn:function(e,i,d){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},t=r.adUnit,n=r.bidderRequests,a=r.index,o=void 0===a?l.K.index:a,s=r.bidderRegistry,b=void 0===s?v.ZP.bidderRegistry:s,c=i.params,p=b[i.bidder];p&&p.getSpec().transformBidParams&&(t=t||o.getAdUnit(i),n=n||[d.bidderRequest],c=p.getSpec().transformBidParams(c,!0,t,n)),c&&(0,f.N)(e,"ext.prebid.bidder.".concat(i.bidder),c)}},adUnitCode:{fn:function(e,i){var d=i.adUnitCode;d&&(0,f.N)(e,"ext.prebid.adunitcode",d)}}}),(0,n.Z)(g,o.Px,{mediaType:{fn:function(e,i,d){var r,t,n=d.mediaType;n||(n=p.e.hasOwnProperty(i.mtype)?p.e[i.mtype]:null===(r=i.ext)||void 0===r||null===(t=r.prebid)||void 0===t?void 0:t.type,u.hasOwnProperty(n)||(n=c.Mk)),e.mediaType=n},priority:99},videoCache:{fn:function(e,i){if(e.mediaType===c.pX){var d=(0,s.Z)(i,"ext.prebid.cache.vastXml")||{},r=d.cacheId,t=d.url;if(!r||!t){var n=(0,s.Z)(i,"ext.prebid.targeting")||{},a=n.hb_uuid,o=n.hb_cache_host,b=n.hb_cache_path;a&&o&&b&&(r=a,t="https://".concat(o).concat(b,"?uuid=").concat(a))}r&&t&&Object.assign(e,{videoCacheKey:r,vastUrl:t})}},priority:-10},bidderCode:{fn:function(e,i,d){var r;e.bidderCode=d.seatbid.seat,e.adapterCode=(0,s.Z)(i,"ext.prebid.meta.adaptercode")||(null===(r=d.bidRequest)||void 0===r?void 0:r.bidder)||e.bidderCode}},pbsBidId:{fn:function(e,i){var d=(0,s.Z)(i,"ext.prebid.bidid");(0,b.d8)(d)&&(e.pbsBidId=d)}},adserverTargeting:{fn:function(e,i){var d=(0,s.Z)(i,"ext.prebid.targeting");(0,b.PO)(d)&&(e.adserverTargeting=d)}},extPrebidMeta:{fn:function(e,i){e.meta=(0,b.Ee)({},(0,s.Z)(i,"ext.prebid.meta"),e.meta)}},pbsWurl:{fn:function(e,i){var d=(0,s.Z)(i,"ext.prebid.events.win");(0,b.d8)(d)&&(e.pbsWurl=d)}}}),(0,n.Z)(g,o.YC,{serverSideStats:{fn:function(e,i,d){Object.entries({errors:"serverErrors",responsetimemillis:"serverResponseTimeMs"}).forEach((function(e){var r=(0,a.Z)(e,2),t=r[0],n=r[1],o=(0,s.Z)(i,"ext.".concat(t,".").concat(d.bidderRequest.bidderCode));o&&(d.bidderRequest[n]=o,d.bidRequests.forEach((function(e){return e[n]=o})))}))}}}),g),Z=d(4980),y=(0,b.HP)((function(){return(0,t.F)((0,Z.T)(),x,(0,o.fP)(o.md))}))}}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[373],{7157:function(t,e,r){var n=r(4942),i=r(5339),o=r(3193),a=r(265),s=r(4358),u=r(4679);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var p="33across",l=["33across_mgni"],f="https://ssc-cms.33across.com/ps/?m=xch&rt=html&ru=deb",m=/^[a-zA-Z0-9_-]{22}$/,h="siab",g="inview",v="instream",b=["mimes","minduration","maxduration","placement","protocols","startdelay","skip","skipafter","minbitrate","maxbitrate","delivery","playbackmethod","api","linearity"],y={uniqueSiteIds:[]},w="nm";function x(t){return"".concat(t.params.siteId,":").concat(t.params.productId)}function I(t){return"".concat(t.bidId)}function S(t){var e,r=t.bidRequests,n=t.gdprConsent,i=void 0===n?{}:n,o=t.uspConsent,c=t.pageUrl,p=t.referer,l=t.ttxSettings,f={},m=r[0],h=m.params,g=h.siteId,y=h.test;f.imp=[],r.forEach((function(t){f.imp.push(function(t){var e=(0,a.Z)(t,"ortb2Imp.ext.gpid"),r={id:t.bidId,ext:d({ttx:{prod:(0,a.Z)(t,"params.productId")}},e?{gpid:e}:{})};(0,a.Z)(t,"mediaTypes.banner")&&(r.banner=d({},function(t){var e,r=(0,a.Z)(t,"mediaTypes.banner",{}),n=(o=t.adUnitCode,document.getElementById(o)||document.getElementById(function(t){if((0,s.T9)())for(var e=googletag.pubads().getSlots(),r=(0,s.CS)(t),n=0;n<e.length;n++)if(r(e[n])){var i=e[n].getSlotElementId();return(0,s.PN)("[33Across Adapter] Map ad unit path to HTML element id: '".concat(t,"' -> ").concat(i)),i}return(0,s.yN)("[33Across Adapter] Unable to locate element for ad unit code: '".concat(t,"'")),null}(o))),i=function(t){if((0,s.kJ)(t)&&2===t.length&&!(0,s.kJ)(t[0]))return[A(t)];return t.map(A)}(r.sizes);var o;e="function"==typeof t.getFloor?i.map((function(e){var r,n=T(t,e,u.Mk);return n&&(r={ext:{ttx:{bidfloors:[n]}}}),Object.assign({},e,r)})):i;var c=function(t){return t.reduce((function(t,e){return e.h*e.w<t.h*t.w?e:t}))}(i),d=function(t){return{ttx:{viewability:{amount:isNaN(t)?t:Math.round(t)}}}}(function(t){return!function(){try{return(0,s.e7)()!==(0,s.Zy)()}catch(t){return!0}}()&&null!==t}(n)?function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.w,i=r.h;return"visible"===e.document.visibilityState?M(t,e,{w:n,h:i}):0}(n,(0,s.Zy)(),c):w);return{format:e,ext:d}}(t)));(0,a.Z)(t,"mediaTypes.video")&&(r.video=function(t){var e=(0,a.Z)(t,"mediaTypes.video",{}),r=(0,a.Z)(t,"params.video",{}),n=d(d({},e),r),i={},o=A(n.playerSize[0]),s=o.w,c=o.h;i.w=s,i.h=c,b.forEach((function(t){n.hasOwnProperty(t)&&(i[t]=n[t])}));var p=j(t);i.placement=i.placement||2,p===v&&(i.startdelay=i.startdelay||0,i.placement=1);if("function"==typeof t.getFloor){var l=T(t,{w:i.w,h:i.h},u.pX);l&&Object.assign(i,{ext:{ttx:{bidfloors:[l]}}})}return i}(t));return r}(t))})),f.site={id:g},f.device=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,s.e7)(),r={ext:{ttx:d(d({},k()),{},{pxr:e.devicePixelRatio,vp:U(),ah:e.screen.availHeight,mtp:e.navigator.maxTouchPoints})}};t.sua&&(r.sua=(0,s.ei)(t.sua,["browsers","platform","model"]));return r}(null===(e=m.ortb2)||void 0===e?void 0:e.device),c&&(f.site.page=c),p&&(f.site.ref=p),f.id=m.auctionId,i.consentString&&(f.user=O(f.user,{consent:i.consentString})),Array.isArray(m.userIdAsEids)&&m.userIdAsEids.length>0&&(f.user=O(f.user,{eids:m.userIdAsEids})),f.regs=O(f.regs,{gdpr:Number(i.gdprApplies)}),o&&(f.regs=O(f.regs,{us_privacy:o})),f.ext={ttx:{prebidStartedAt:Date.now(),caller:[{name:"prebidjs",version:"7.39.0"}]}},m.schain&&(f.source=O(f.source,{schain:m.schain})),1===y&&(f.test=1);return{method:"POST",url:l&&l.url||"".concat("https://ssc.33across.com/api/v1/hb","?guid=").concat(g),data:JSON.stringify(f),options:{contentType:"text/plain",withCredentials:!0}}}function O(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return(0,s.Ee)({},t,{ext:e})}function A(t){return{w:parseInt(t[0],10),h:parseInt(t[1],10)}}function C(t){return(0,s.Ee)({},t,{params:{productId:j(t)}})}function j(t){var e=t.params,r=t.mediaTypes,n=r.banner,i=r.video;return i&&!n&&"instream"===i.context?v:e.productId===g?e.productId:h}function T(t,e,r){var n=t.getFloor({currency:"USD",mediaType:r,size:[e.w,e.h]});if(!isNaN(n.floor)&&"USD"===n.currency)return n.floor}function E(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.w,n=e.h,i=t.getBoundingClientRect(),o=i.width,a=i.height,s=i.left,u=i.top,c=i.right,d=i.bottom;return(0===o||0===a)&&r&&n&&(o=r,a=n,c=s+r,d=u+n),{width:o,height:a,left:s,top:u,right:c,bottom:d}}function Z(t){for(var e={left:t[0].left,right:t[0].right,top:t[0].top,bottom:t[0].bottom},r=1;r<t.length;++r){if(e.left=Math.max(e.left,t[r].left),e.right=Math.min(e.right,t[r].right),e.left>=e.right)return null;if(e.top=Math.max(e.top,t[r].top),e.bottom=Math.min(e.bottom,t[r].bottom),e.top>=e.bottom)return null}return e.width=e.right-e.left,e.height=e.bottom-e.top,e}function M(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.w,i=r.h,o=E(t,{w:n,h:i}),a=Z([{left:0,top:0,right:e.innerWidth,bottom:e.innerHeight},o]);return null!==a?a.width*a.height/(o.width*o.height)*100:0}function U(){var t=function(){var t=(0,s.e7)();try{for(;t.parent!==t&&t.parent.document;)t=t.parent}catch(t){}return t}().document.documentElement;return{w:t.clientWidth,h:t.clientHeight}}function k(){var t=(0,s.e7)(),e=t.innerWidth,r=t.innerHeight,n=t.screen,i=[Math.max(n.width,n.height),Math.min(n.width,n.height)],o=i[0],a=i[1];return r>e?{w:a,h:o}:{w:o,h:a}}var P={NON_MEASURABLE:w,code:p,aliases:l,supportedMediaTypes:[u.Mk,u.pX],gvlid:58,isBidRequestValid:function(t){return function(t){if(t.bidder!==p&&!l.includes(t.bidder)||!t.params)return!1;if(!function(t){if(null===((0,a.Z)(t,"params.siteId","")||"").trim().match(m))return!1;return!0}(t))return!1;return!0}(t)&&function(t){var e=(0,a.Z)(t,"mediaTypes.banner");if(void 0===e)return!0;if(!Array.isArray(e.sizes))return!1;return!0}(t)&&function(t){var e=(0,a.Z)(t,"mediaTypes.video"),r=(0,a.Z)(t,"params.video",{});if(void 0===e)return!0;if(!Array.isArray(e.playerSize))return!1;if(!e.context)return!1;var n=d(d({},e),r);if(!Array.isArray(n.mimes)||0===n.mimes.length)return!1;if(!Array.isArray(n.protocols)||0===n.protocols.length)return!1;if(void 0!==n.placement&&"number"!=typeof n.placement)return!1;if("instream"===e.context&&void 0!==n.startdelay&&"number"!=typeof n.startdelay)return!1;return!0}(t)},buildRequests:function(t,e){var r=function(t,e){var r,n,i=Object.assign({},o.vc.getConfig("ttxSettings")),a=Object.assign({consentString:void 0,gdprApplies:!1},e&&e.gdprConsent),u=e&&e.uspConsent,c=null==e||null===(r=e.refererInfo)||void 0===r?void 0:r.page,d=null==e||null===(n=e.refererInfo)||void 0===n?void 0:n.ref;return y.uniqueSiteIds=t.map((function(t){return t.params.siteId})).filter(s.tT),{ttxSettings:i,gdprConsent:a,uspConsent:u,pageUrl:c,referer:d}}(t,e),n=r.ttxSettings,i=r.gdprConsent,a=r.uspConsent,u=r.pageUrl,c=r.referer,d=function(t,e){var r=e.map(C),n=t&&t.enableSRAMode;return function(t,e){var r={};return t.forEach((function(t){var n=e(t);r[n]=r[n]||[],r[n].push(t)})),r}(r,!0===n?x:I)}(n,t),p=[];for(var l in d)p.push(S({bidRequests:d[l],gdprConsent:i,uspConsent:a,pageUrl:u,referer:c,ttxSettings:n}));return p},interpretResponse:function(t,e){var r=t.body,n=r.seatbid,i=r.cur,o=void 0===i?"USD":i;return(0,s.kJ)(n)?n.filter((function(t){return(0,s.kJ)(t.bid)&&t.bid.length>0})).reduce((function(t,e){return t.concat(e.bid.map((function(t){return function(t,e){var r=t.adomain&&t.adomain.length,n={requestId:t.impid,bidderCode:p,cpm:t.price,width:t.w,height:t.h,ad:t.adm,ttl:t.ttl||60,creativeId:t.crid,mediaType:(0,a.Z)(t,"ext.ttx.mediaType",u.Mk),currency:e,netRevenue:!0};r&&(n.meta={advertiserDomains:t.adomain});if(n.mediaType===u.pX){"xml"===(0,a.Z)(t,"ext.ttx.vastType","xml")?n.vastXml=n.ad:n.vastUrl=n.ad}return n}(t,o)})))}),[]):[]},getUserSyncs:function(t,e,r,n){var i=t.iframeEnabled?y.uniqueSiteIds.map((function(t){return function(t){var e=t.siteId,r=void 0===e?"zzz000000000003zzz":e,n=t.gdprConsent,i=void 0===n?{}:n,a=t.uspConsent,s=o.vc.getConfig("ttxSettings"),u=s&&s.syncUrl||f,c=i.consentString,d=i.gdprApplies,p={type:"iframe",url:"".concat(u,"&id=").concat(r,"&gdpr_consent=").concat(encodeURIComponent(c),"&us_privacy=").concat(encodeURIComponent(a))};"boolean"==typeof d&&(p.url+="&gdpr=".concat(Number(d)));return p}({gdprConsent:r,uspConsent:n,siteId:t})})):[];return y.uniqueSiteIds=[],i}};(0,i.dX)(P),window.pbjs.installedModules.push("33acrossBidAdapter")}},function(t){t.O(0,[6866],(function(){return e=7157,t(t.s=e);var e}));t.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8514],{3934:function(t,e,r){var n=r(4942),i=r(4614),a=r(4358),o=r(265),s=r(3193),u=r(5339),c=r(5730),d=r(1582),p=r(5164),f=r(5102),m=r(4192),l=r(4679),h=r(5706),y=r(154),g=r(8640),v=r(59),b=r(1974);function A(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function I(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?A(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var T,D,O,w="adagio",x="Adagio:",S=[l.Mk,l.B5,l.pX],k="adagioScript",E=(0,p.df)({gvlid:617,bidderCode:w}),U={mimes:function(t){return Array.isArray(t)&&t.length>0&&t.every((function(t){return"string"==typeof t}))},minduration:function(t){return(0,a.U)(t)},maxduration:function(t){return(0,a.U)(t)},protocols:function(t){return(0,a.HC)(t)},w:function(t){return(0,a.U)(t)},h:function(t){return(0,a.U)(t)},startdelay:function(t){return(0,a.U)(t)},placement:function(t){return(0,a.U)(t)},linearity:function(t){return(0,a.U)(t)},skip:function(t){return(0,a.U)(t)},skipmin:function(t){return(0,a.U)(t)},skipafter:function(t){return(0,a.U)(t)},sequence:function(t){return(0,a.U)(t)},battr:function(t){return(0,a.HC)(t)},maxextended:function(t){return(0,a.U)(t)},minbitrate:function(t){return(0,a.U)(t)},maxbitrate:function(t){return(0,a.U)(t)},boxingallowed:function(t){return(0,a.U)(t)},playbackmethod:function(t){return(0,a.HC)(t)},playbackend:function(t){return(0,a.U)(t)},delivery:function(t){return(0,a.U)(t)},pos:function(t){return(0,a.U)(t)},api:function(t){return(0,a.HC)(t)}},C=(O={},{clearFeatures:function(){D=void 0},clearExchangeData:function(){O={}},getOrSetGlobalFeatures:function(){return D||(D={page_dimensions:G().toString(),viewport_dimensions:H().toString(),user_timestamp:(Math.floor((new Date).getTime()/1e3)-60*(new Date).getTimezoneOffset()).toString(),dom_loading:L().toString()}),D},prepareExchangeData:function(t){var e=JSON.parse(t,(function(t,e){if("_"!==t.charAt(0)||""===t)return e})),r=(0,o.Z)(e,"session.rnd"),n=!1;M.isNewSession(e)&&(n=!0,r=Math.random());var i={session:{new:n,rnd:r}};(0,a.Ee)(O,e,i),M.enqueue({action:"session",ts:Date.now(),data:O})},getExchangeData:function(){return O}});function R(){try{if((0,a.Zy)().location.href)return!0}catch(t){return!1}}function j(){return T||(0,a.e7)()}function N(){var t=(0,a.e7)();return!(!t.$sf||!t.$sf.ext)}function P(t){var e=M.isRendererPreferredFromPublisher(t)?"other":"adagio";return"other"===e&&(0,a.yN)("".concat(x," renderer.backupOnly has not been set. Adagio recommends to use its own player to get expected behavior.")),e}var M={enqueue:function(t){var e=M.getCurrentWindow();e.ADAGIO=e.ADAGIO||{},e.ADAGIO.queue=e.ADAGIO.queue||[],e.ADAGIO.queue.push(t)},getPageviewId:function(){var t=M.getCurrentWindow();return t.ADAGIO=t.ADAGIO||{},t.ADAGIO.pageviewId=t.ADAGIO.pageviewId||(0,a.DO)(),t.ADAGIO.pageviewId},getDevice:function(){var t=navigator.language?"language":"userLanguage";return{userAgent:navigator.userAgent,language:navigator[t],dnt:(0,a.oV)()?1:0,geo:{},js:1}},getSite:function(t){var e=t.refererInfo;return{domain:(0,f.hh)(e.topmostLocation)||"",page:e.topmostLocation||"",referrer:e.ref||(0,a.e7)().document.referrer||"",top:e.reachedTop}},getElementFromTopWindow:function t(e,r){try{if((0,a.Zy)()===r)return e.getAttribute("id")||e.setAttribute("id","adg-".concat((0,a._d)())),e;var n=r.frameElement,i=n.getBoundingClientRect(),o=e.getBoundingClientRect();return i.width===o.width&&i.height===o.height&&t(n,r.parent)}catch(t){return(0,a.yN)("".concat(x),t),!1}},getRefererInfo:f.nH,adagioScriptFromLocalStorageCb:function(t){try{if(!t)return void(0,a.yN)("".concat(x," script not found."));var e=/^(\/\/ hash: (.+)\n)(.+\n)$/;if(e.test(t)){var r=t.match(e),n=r[2],i=r[3];(0,d.T)(i,n,"AL16XT44Sfp+8SHVF1UdC7hydPSMVLMhsYknKDdwqq+0ToDSJrP0+Qh0ki9JJI2uYm/6VEYo8TJED9WfMkiJ4vf02CW3RvSWwc35bif2SK1L8Nn/GfFYr/2/GG/Rm0vUsv+vBHky6nuuYls20Og0HDhMgaOlXoQ/cxMuiy5QSktp",65537)?((0,a.PN)("".concat(x," start script.")),Function(t)()):((0,a.yN)("".concat(x," invalid script found.")),E.removeDataFromLocalStorage(k))}else(0,a.yN)("".concat(x," no hash found.")),E.removeDataFromLocalStorage(k)}catch(t){(0,a.H)(x,t)}},getCurrentWindow:j,canAccessTopWindow:R,isRendererPreferredFromPublisher:function(t){var e=(0,o.Z)(t,"renderer"),r=!!(e&&e.url&&e.render),n=(0,o.Z)(t,"mediaTypes.video.renderer"),i=!!(n&&n.url&&n.render);return!!(r&&!0!==e.backupOnly||i&&!0!==n.backupOnly)},isNewSession:function(t){var e=Date.now(),r=(0,o.Z)(t,"session",{}),n=r.lastActivityTime,i=r.vwSmplg;return!(0,a.hj)(n)||!(0,a.hj)(i)||e-n>18e5}};function Z(t){t.renderer.push((function(){"function"==typeof window.ADAGIO.outstreamPlayer?window.ADAGIO.outstreamPlayer(t):(0,a.H)("".concat(x," Adagio outstream player is not defined"))}))}function B(t){if(t.admNative&&Array.isArray(t.admNative.assets)){var e={};t.admNative.assets.forEach((function(t){if(t.title)e.title=t.title.text;else if(t.data)r=t.data,(n={1:"sponsoredBy",2:"body",3:"rating",4:"likes",5:"downloads",6:"price",7:"salePrice",8:"phone",9:"address",10:"body2",11:"displayUrl",12:"cta"}).hasOwnProperty(r.type)&&"string"==typeof r.value&&(e[n[r.type]]=r.value);else if(t.img)if(1===t.img.type)e.icon={url:t.img.url,width:t.img.w,height:t.img.h};else e.image={url:t.img.url,width:t.img.w,height:t.img.h};var r,n})),t.admNative.link&&(t.admNative.link.url&&(e.clickUrl=t.admNative.link.url),Array.isArray(t.admNative.link.clicktrackers)&&(e.clickTrackers=t.admNative.link.clicktrackers)),Array.isArray(t.admNative.eventtrackers)?(e.impressionTrackers=[],t.admNative.eventtrackers.forEach((function(t){if(1===t.event)switch(t.method){case 1:e.impressionTrackers.push(t.url);break;case 2:var r='<script async src="'.concat(t.url,'"><\/script>');e.javascriptTrackers?e.javascriptTrackers+="\n".concat(r):e.javascriptTrackers=r}}))):(e.impressionTrackers=Array.isArray(t.admNative.imptrackers)?t.admNative.imptrackers:[],t.admNative.jstracker&&(e.javascriptTrackers=t.admNative.jstracker)),t.admNative.privacy&&(e.privacyLink=t.admNative.privacy),t.admNative.ext&&(e.ext={},t.admNative.ext.bvw&&(e.ext.adagio_bvw=t.admNative.ext.bvw)),t.native=e}else(0,a.H)("".concat(x," Invalid native response"))}function z(t,e){if(t.params=t.params||{},!t.params[e]){var r=s.vc.getConfig("adagio")||{},n=t.ortb2,i=r[e]||(0,o.Z)(n,"site.ext.data.".concat(e),null);if(i){if(Array.isArray(i))return void(i.length&&(t.params[e]=i[0].toString()));t.params[e]=i.toString()}}}function q(t){var e=s.vc.getConfig("adagio")||{};t.params=t.params||{},e.siteId&&(t.params.organizationId=e.siteId.split(":")[0],t.params.site=e.siteId.split(":")[1]),!0!==e.useAdUnitCodeAsPlacement&&!0!==t.params.useAdUnitCodeAsPlacement||(t.params.placement=t.adUnitCode),t.params.adUnitElementId=(0,o.Z)(t,"ortb2Imp.ext.data.elementId",null)||t.params.adUnitElementId,t.params.adUnitElementId||(!0===e.useAdUnitCodeAsAdUnitElementId||!0===t.params.useAdUnitCodeAsAdUnitElementId?t.params.adUnitElementId=t.adUnitCode:t.params.adUnitElementId=function(t){var e=(0,a.ky)(t);if(e.divId)return e.divId}(t.adUnitCode)),z(t,"pagetype"),z(t,"category")}function G(){if(N()||!R())return"";var t=(0,a.Zy)(),e=t.document.querySelector("body");if(!e)return"";var r=t.document.documentElement,n=Math.max(e.scrollWidth,e.offsetWidth,r.clientWidth,r.scrollWidth,r.offsetWidth),i=Math.max(e.scrollHeight,e.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight);return"".concat(n,"x").concat(i)}function H(){if(!N()&&!R())return"";var t={w:0,h:0};if(N()){var e=(0,a.e7)();if("function"!=typeof e.$sf.ext.geom)return(0,a.yN)(x,"Unable to compute from safeframe api."),"";var r=e.$sf.ext.geom();if(!r||!r.win)return(0,a.yN)(x,"Unable to compute from safeframe api. Missing `geom().win` property"),"";t.w=Math.round(r.w),t.h=Math.round(r.h)}else{var n=(0,a.Zy)();t.w=n.innerWidth,t.h=n.innerHeight}return"".concat(t.w,"x").concat(t.h)}function V(t){if(!t)return"";if(!N()&&!R())return"";var e={x:0,y:0};if(N()){var r=(0,a.e7)();if("function"!=typeof r.$sf.ext.geom)return(0,a.yN)(x,"Unable to compute from safeframe api."),"";var n=r.$sf.ext.geom();if(!n||!n.self)return(0,a.yN)(x,"Unable to compute from safeframe api. Missing `geom().self` property"),"";e.x=Math.round(n.t),e.y=Math.round(n.l)}else{if(!R())return"";try{var i,o=(0,a.Zy)(),s=o.document;if(!0===(0,a.yL)()){var u=(0,a.e7)(),c=u.document.getElementById(t);i=M.getElementFromTopWindow(c,u)}else i=o.document.getElementById(t);if(!i)return"";var d=i.getBoundingClientRect(),p=s.documentElement,f=s.body,m=s.clientTop||f.clientTop||0,l=s.clientLeft||f.clientLeft||0,h=o.pageYOffset||p.scrollTop||f.scrollTop,y=o.pageXOffset||p.scrollLeft||f.scrollLeft;if("none"===(o.getComputedStyle(i,null).display||"block")){i.style=i.style||{};var g=i.style.display;i.style.display="block",d=i.getBoundingClientRect(),i.style.display=g||null}e.x=Math.round(d.left+y-l),e.y=Math.round(d.top+h-m)}catch(t){return(0,a.H)(x,t),""}}return"".concat(e.x,"x").concat(e.y)}function F(t,e){return e.bids&&e.bids.length&&(0,i.sE)(e.bids,(function(e){return e.adUnitCode===t})).bidderRequestsCount||1}function L(){var t,e=-1;if((t=R()?(0,a.Zy)().performance:(0,a.e7)().performance)&&t.timing&&t.timing.navigationStart>0){var r=t.timing.domLoading-t.timing.navigationStart;r>0&&(e=r)}return e}function _(t){var e,r=j();r.ADAGIO=r.ADAGIO||{},r.ADAGIO.pbjsAdUnits=r.ADAGIO.pbjsAdUnits.filter((function(e){return e.code!==t.adUnitCode})),t.features&&t.features.print_number?e=t.features.print_number:t.params.features&&t.params.features.print_number&&(e=t.params.features.print_number),r.ADAGIO.pbjsAdUnits.push({code:t.adUnitCode,mediaTypes:t.mediaTypes||{},sizes:t.mediaTypes&&t.mediaTypes.banner&&Array.isArray(t.mediaTypes.banner.sizes)?t.mediaTypes.banner.sizes:t.sizes,bids:[{bidder:t.bidder,params:t.params}],auctionId:t.auctionId,pageviewId:M.getPageviewId(),printNumber:e,localPbjs:"pbjs",localPbjsRef:(0,g.R)()}),r.ADAGIO.adUnits[t.adUnitCode]={auctionId:t.auctionId,pageviewId:M.getPageviewId(),printNumber:e}}var W={code:w,gvlid:617,supportedMediaTypes:S,isBidRequestValid:function(t){return t.params=t.params||{},q(t),!!(t.params.organizationId&&t.params.site&&t.params.placement)||((0,a.yN)("".concat(x," at least one required param is missing.")),!1)},buildRequests:function(t,e){t=(0,v.lY)(t);var r,n="https:"===location.protocol?1:0,i=M.getDevice(),u=M.getSite(e),c=M.getPageviewId(),d=function(t){if(!(0,o.Z)(t,"gdprConsent"))return!1;var e=t.gdprConsent,r=e.apiVersion,n=e.gdprApplies,i=e.consentString,s=e.allowAuctionWithoutConsent;return(0,a.fz)({apiVersion:r,consentString:i,consentRequired:n?1:0,allowAuctionWithoutConsent:s?1:0})}(e)||{},p=function(t){return!!(0,o.Z)(t,"uspConsent")&&{uspConsent:t.uspConsent}}(e)||{},f={required:!0===s.vc.getConfig("coppa")?1:0},h=(r=t[0],(0,o.Z)(r,"schain")),g=function(t){if((0,o.Z)(t,"userId"))return(0,m.HQ)(t.userId)}(t[0])||[],A=(0,o.Z)(s.vc.getConfig("userSync"),"syncEnabled")&&b.k_.canBidderRegisterSync("iframe","adagio"),T=(0,a.HA)(t,(function(t){var r=I(I({},C.getOrSetGlobalFeatures()),{},{print_number:F(t.adUnitCode,e).toString(),adunit_position:V(t.params.adUnitElementId)});Object.keys(r).forEach((function(t){""===r[t]&&delete r[t]})),t.features=r,M.enqueue({action:"features",ts:Date.now(),data:{features:t.features,params:t.params,adUnitCode:t.adUnitCode}});var n=function(t){if(!(0,a.LQ)(t.getFloor))return!1;var e=[],r=function(r,n){var i=t.getFloor({currency:"USD",mediaType:r,size:n});e.push((0,a.fz)({mt:r,s:(0,a.kJ)(n)?"".concat(n[0],"x").concat(n[1]):void 0,f:isNaN(i.floor)||"USD"!==i.currency?void 0:i.floor}))};return Object.keys(t.mediaTypes).forEach((function(e){if(-1!==S.indexOf(e)){var n=e===l.pX?"playerSize":"sizes";t.mediaTypes[e][n]&&t.mediaTypes[e][n].length?(0,a.kJ)(t.mediaTypes[e][n][0])?t.mediaTypes[e][n].forEach((function(t){r(e,[t[0],t[1]])})):r(e,[t.mediaTypes[e][n][0],t.mediaTypes[e][n][1]]):r(e,"*")}})),e}(t);if((0,a.kJ)(n)&&n.length){if(t.floors=n,(0,o.Z)(t,"mediaTypes.banner")){var i=t.mediaTypes.banner,s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r={size:e,floor:null},n=t.floors.filter((function(t){return t.mt===l.Mk})),i=n.find((function(t){return t.s===e.join("x")}));return r.floor=n?i?i.f:n[0].f:null,r};t.mediaTypes.banner.bannerSizes=(0,a.kJ)(i.sizes[0])?i.sizes.map((function(t){return s(t)})):s(i.sizes)}if((0,o.Z)(t,"mediaTypes.video")){var u=t.mediaTypes.video,c=t.floors.filter((function(t){return t.mt===l.pX})),d=u.playerSize&&(0,a.kJ)(u.playerSize[0])?u.playerSize[0]:u.playerSize,p=d?c.find((function(t){return t.s===d.join("x")})):void 0;t.mediaTypes.video.floor=c?p?p.f:c[0].f:null}if((0,o.Z)(t,"mediaTypes.native")){var f=t.floors.filter((function(t){return t.mt===l.B5}));f.length&&(t.mediaTypes.native.floor=f[0].f)}}return(0,o.Z)(t,"mediaTypes.video")&&function(t){var e=(0,o.Z)(t,"mediaTypes.video",{}),r=(0,o.Z)(t,"params.video",{}),n={};if(Array.isArray(e.playerSize)){var i=Array.isArray(e.playerSize[0])?e.playerSize[0]:e.playerSize;n.w=i[0],n.h=i[1]}var s=I(I(I({},n),e),r);s.context&&s.context===y.gZ&&(t.mediaTypes.video.playerName=P(t)),Object.keys(U).forEach((function(e){s.hasOwnProperty(e)&&(U[e](s[e])?t.mediaTypes.video[e]=s[e]:(delete t.mediaTypes.video[e],(0,a.yN)("".concat(x," The OpenRTB video param ").concat(e," has been skipped due to misformating. Please refer to OpenRTB 2.5 spec."))))}))}(t),_(t),t})),D=T.reduce((function(t,e){var r=(0,a.I8)(e);return r.params.organizationId=r.params.organizationId.toString(),delete r.floorData,delete r.params.siteId,delete r.userId,delete r.userIdAsEids,t[r.params.organizationId]=t[r.params.organizationId]||[],t[r.params.organizationId].push(r),t}),{});return(0,a.HA)(Object.keys(D),(function(t){return{method:"POST",url:"https://mp.4dex.io/prebid",data:{id:(0,a.DO)(),organizationId:t,secure:n,device:i,site:u,pageviewId:c,adUnits:D[t],data:C.getExchangeData(),regs:{gdpr:d,coppa:f,ccpa:p},schain:h,user:{eids:g},prebidVersion:"7.39.0",featuresVersion:"1",usIfr:A},options:{contentType:"text/plain"}}}))},interpretResponse:function(t,e){var r=[];try{var n=t.body;n&&(n.data&&M.enqueue({action:"ssp-data",ts:Date.now(),data:n.data}),n.bids&&n.bids.forEach((function(t){var n=(0,i.sE)(e.data.adUnits,(function(e){return e.bidId===t.requestId}));if(n){if(t.meta=(0,o.Z)(t,"meta",{}),t.meta.mediaType=t.mediaType,t.meta.advertiserDomains=Array.isArray(t.aDomain)&&t.aDomain.length?t.aDomain:[],t.mediaType===l.pX){var a=(0,o.Z)(n,"mediaTypes.video.context");!t.vastUrl&&t.vastXml&&(t.vastUrl="data:text/xml;charset=utf-8;base64,"+btoa(t.vastXml.replace(/\\"/g,'"'))),a===y.gZ&&(t.renderer=h.Th.install({id:t.requestId,adUnitCode:t.adUnitCode,url:t.urlRenderer||"https://script.4dex.io/outstream-player.js",config:I(I({},(0,o.Z)(n,"mediaTypes.video")),(0,o.Z)(t,"outstream",{}))}),t.renderer.setRender(Z))}t.mediaType===l.B5&&B(t),t.site=n.params.site,t.placement=n.params.placement,t.pagetype=n.params.pagetype,t.category=n.params.category}r.push(t)})))}catch(t){(0,a.H)(t)}return r},getUserSyncs:function(t,e){return!(!e.length||""===e[0].body||!e[0].body.userSyncs)&&e[0].body.userSyncs.map((function(t){return{type:"p"===t.t?"image":"iframe",url:t.u}}))},transformBidParams:function(t,e,r,n){var a=(0,i.sE)(n,(function(t){return"adagio"===t.bidderCode})),s=(0,i.sE)(a.bids,(function(t){return t.adUnitCode===r.code}));if(e){q(s),s.params.auctionId=(0,o.Z)(a,"auctionId");var u=C.getOrSetGlobalFeatures();s.params.features=I(I({},u),{},{print_number:F(s.adUnitCode,a).toString(),adunit_position:V(s.params.adUnitElementId)}),s.params.pageviewId=M.getPageviewId(),s.params.prebidVersion="7.39.0",s.params.data=C.getExchangeData(),(0,o.Z)(s,"mediaTypes.video.context")===y.gZ&&(s.params.playerName=P(s)),_(s)}return s.params}};!function(){R()&&(T=R()?(0,a.Zy)():(0,a.e7)());var t=M.getCurrentWindow();t.ADAGIO=t.ADAGIO||{},t.ADAGIO.adUnits=t.ADAGIO.adUnits||{},t.ADAGIO.pbjsAdUnits=t.ADAGIO.pbjsAdUnits||[],t.ADAGIO.queue=t.ADAGIO.queue||[],t.ADAGIO.versions=t.ADAGIO.versions||{},t.ADAGIO.versions.pbjs="7.39.0",t.ADAGIO.isSafeFrameWindow=N(),E.getDataFromLocalStorage("adagio",(function(t){try{C.prepareExchangeData(t)}catch(t){(0,a.H)(x,t)}})),E.getDataFromLocalStorage(k,(function(t){M.adagioScriptFromLocalStorageCb(t)})),E.localStorageIsEnabled((function(t){if(t)(0,c.B)("https://script.4dex.io/localstore.js",w);else try{window.localStorage.removeItem(k),window.localStorage.removeItem("adagio")}catch(t){(0,a.PN)("".concat(x," unable to clear Adagio scripts from localstorage."))}}))}(),(0,u.dX)(W),window.pbjs.installedModules.push("adagioBidAdapter")},4192:function(t,e,r){r.d(e,{HQ:function(){return s},Pv:function(){return u},UR:function(){return a}});var n=r(4358),i=r(265),a={growthCodeId:{getValue:function(t){return t.gc_id},source:"growthcode.io",atype:1,getUidExt:function(t){var e=(0,n.ei)(t,["h1","h2","h3"]);if(Object.keys(e).length)return e}},trustpid:{source:"trustpid.com",atype:1,getValue:function(t){return t}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(t){return t.uid},source:"id5-sync.com",atype:1,getUidExt:function(t){if(t.ext)return t.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(t){var e="";return t&&t.ext&&t.ext.DeviceID&&(e=t.ext.DeviceID),e},getUidExt:function(t){return t&&t.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(t){return t.eid?t.eid:t.ccpaOptout?"":null},getUidExt:function(t){var e=(0,n.ei)(t,["ibaOptout","ccpaOptout"]);if(Object.keys(e).length)return e}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(t){return t.lipbid},source:"liveintent.com",atype:3,getEidExt:function(t){if(Array.isArray(t.segments)&&t.segments.length)return{segments:t.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(t){var e;return null!=t&&null!==(e=t.ext)&&void 0!==e&&e.ssp?"".concat(t.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(t){return t.id},getUidExt:function(t){return t.keyID?{keyID:t.keyID}:t.ext?t.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(t){return void 0===t.snowflake.id?t.snowflake:t.snowflake.id},source:"novatiq.com"},uid2:{source:"uidapi.com",atype:3,getValue:function(t){return t.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(t){return t.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},czechAdId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(t){if(t&&Array.isArray(t.identifiers)&&t.identifiers[0])return t.identifiers[0].value},source:"paf",atype:1,getEidExt:function(t){if(t&&t.preferences)return{preferences:t.preferences}},getUidExt:function(t){if(t&&Array.isArray(t.identifiers)&&t.identifiers[0]){var e=t.identifiers[0];return{version:e.version,type:e.type,source:e.source}}}}};function o(t,e){var r=a[e];if(r&&t){var i={};i.source=(0,n.LQ)(r.getSource)?r.getSource(t):r.source;var o=(0,n.LQ)(r.getValue)?r.getValue(t):t;if((0,n.d8)(o)){var s={id:o,atype:r.atype};if((0,n.LQ)(r.getUidExt)){var u=r.getUidExt(t);u&&(s.ext=u)}if(i.uids=[s],(0,n.LQ)(r.getEidExt)){var c=r.getEidExt(t);c&&(i.ext=c)}return i}}return null}function s(t){var e=[],r=function(r){if(t.hasOwnProperty(r))if("pubProvidedId"===r)e=e.concat(t.pubProvidedId);else if(Array.isArray(t[r]))t[r].forEach((function(t,n,i){var a=o(t,r);a&&e.push(a)}));else{var n=o(t[r],r);n&&e.push(n)}};for(var n in t)r(n);return e}function u(t){var e=[];return t.filter((function(t){return(0,n.PO)(t.idObj)&&Object.keys(t.idObj).length})).forEach((function(t){Object.keys(t.idObj).forEach((function(r){(0,i.Z)(t,"config.bidders")&&Array.isArray(t.config.bidders)&&(0,i.Z)(a,r+".source")&&e.push({source:a[r].source,bidders:t.config.bidders})}))})),e}},4611:function(t,e){var r;Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){null!==t&&this.fromHexString(t)}return t.prototype.toHexString=function(){if(this.s<0)return"-"+this.negate().toHexString();var t,e=!1,r="",n=this.t,i=this.DB-n*this.DB%4;if(n-- >0)for(i<this.DB&&(t=this[n]>>i)>0&&(e=!0,r=d(t));n>=0;)i<4?(t=(this[n]&(1<<i)-1)<<4-i,t|=this[--n]>>(i+=this.DB-4)):(t=this[n]>>(i-=4)&15,i<=0&&(i+=this.DB,--n)),t>0&&(e=!0),e&&(r+=d(t));return e?r:"0"},t.prototype.fromHexString=function(e){if(null!==e){this.t=0,this.s=0;for(var r=e.length,n=!1,i=0;--r>=0;){var a=c(e,r);a<0?"-"==e.charAt(r)&&(n=!0):(n=!1,0==i?this[this.t++]=a:i+4>this.DB?(this[this.t-1]|=(a&(1<<this.DB-i)-1)<<i,this[this.t++]=a>>this.DB-i):this[this.t-1]|=a<<i,(i+=4)>=this.DB&&(i-=this.DB))}0,this.clamp(),n&&t.ZERO.subTo(this,this)}},t.prototype.negate=function(){var e=i();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.mod=function(e){var r=i();return this.abs().divRemTo(e,null,r),this.s<0&&r.compareTo(t.ZERO)>0&&e.subTo(r,r),r},t.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.lShiftTo=function(t,e){for(var r=t%this.DB,n=this.DB-r,i=(1<<n)-1,a=Math.floor(t/this.DB),o=this.s<<r&this.DM,s=this.t-1;s>=0;--s)e[s+a+1]=this[s]>>n|o,o=(this[s]&i)<<r;for(s=a-1;s>=0;--s)e[s]=0;e[a]=o,e.t=this.t+a+1,e.s=this.s,e.clamp()},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},t.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},t.prototype.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;--r>=0;)t[r]=0;for(r=0;r<e.t-1;++r){var n=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,n,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},t.prototype.multiplyTo=function(e,r){var n=this.abs(),i=e.abs(),a=n.t;for(r.t=a+i.t;--a>=0;)r[a]=0;for(a=0;a<i.t;++a)r[a+n.t]=n.am(0,i[a],r,a,0,n.t);r.s=0,r.clamp(),this.s!=e.s&&t.ZERO.subTo(r,r)},t.prototype.divRemTo=function(e,r,n){var o=e.abs();if(!(o.t<=0)){var s=this.abs();if(s.t<o.t)return null!=r&&r.fromHexString("0"),void(null!=n&&this.copyTo(n));null==n&&(n=i());var u=i(),c=this.s,d=e.s,p=this.DB-a(o[o.t-1]);p>0?(o.lShiftTo(p,u),s.lShiftTo(p,n)):(o.copyTo(u),s.copyTo(n));var f=u.t,m=u[f-1];if(0!=m){var l=m*(1<<this.F1)+(f>1?u[f-2]>>this.F2:0),h=this.FV/l,y=(1<<this.F1)/l,g=1<<this.F2,v=n.t,b=v-f,A=null==r?i():r;for(u.dlShiftTo(b,A),n.compareTo(A)>=0&&(n[n.t++]=1,n.subTo(A,n)),t.ONE.dlShiftTo(f,A),A.subTo(u,u);u.t<f;)u[u.t++]=0;for(;--b>=0;){var I=n[--v]==m?this.DM:Math.floor(n[v]*h+(n[v-1]+g)*y);if((n[v]+=u.am(0,I,n,b,0,f))<I)for(u.dlShiftTo(b,A),n.subTo(A,n);n[v]<--I;)n.subTo(A,n)}null!=r&&(n.drShiftTo(f,r),c!=d&&t.ZERO.subTo(r,r)),n.t=f,n.clamp(),p>0&&n.rShiftTo(p,n),c<0&&t.ZERO.subTo(n,n)}}},t.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var n=t%this.DB,i=this.DB-n,a=(1<<n)-1;e[0]=this[r]>>n;for(var o=r+1;o<this.t;++o)e[o-r-1]|=(this[o]&a)<<i,e[o-r]=this[o]>>n;n>0&&(e[this.t-r-1]|=(this.s&a)<<i),e.t=this.t-r,e.clamp()}},t.prototype.drShiftTo=function(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},t.prototype.subTo=function(t,e){for(var r=0,n=0,i=Math.min(t.t,this.t);r<i;)n+=this[r]-t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n-=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n-=t[r],e[r++]=n&this.DM,n>>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[r++]=this.DV+n:n>0&&(e[r++]=n),e.t=r,e.clamp()},t.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},t.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new p(e):new f(e),this.exp(t,r)},t.prototype.exp=function(e,r){if(e>4294967295||e<1)return t.ONE;var n=i(),o=i(),s=r.convert(this),u=a(e)-1;for(s.copyTo(n);--u>=0;)if(r.sqrTo(n,o),(e&1<<u)>0)r.mulTo(o,s,n);else{var c=n;n=o,o=c}return r.revert(n)},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;--r>=0;)if(0!=(e=this[r]-t[r]))return e;return 0},t.prototype.am1=function(t,e,r,n,i,a){for(;--a>=0;){var o=e*this[t++]+r[n]+i;i=Math.floor(o/67108864),r[n++]=67108863&o}return i},t.prototype.am2=function(t,e,r,n,i,a){for(var o=32767&e,s=e>>15;--a>=0;){var u=32767&this[t],c=this[t++]>>15,d=s*u+c*o;i=((u=o*u+((32767&d)<<15)+r[n]+(1073741823&i))>>>30)+(d>>>15)+s*c+(i>>>30),r[n++]=1073741823&u}return i},t.prototype.am3=function(t,e,r,n,i,a){for(var o=16383&e,s=e>>14;--a>=0;){var u=16383&this[t],c=this[t++]>>14,d=s*u+c*o;i=((u=o*u+((16383&d)<<14)+r[n]+i)>>28)+(d>>14)+s*c,r[n++]=268435455&u}return i},t}();function i(){return new n(null)}function a(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}e.BigInteger=n,e.nbi=i,e.nbits=a;var o,s,u=[];for(o="0".charCodeAt(0),s=0;s<=9;++s)u[o++]=s;for(o="a".charCodeAt(0),s=10;s<36;++s)u[o++]=s;for(o="A".charCodeAt(0),s=10;s<36;++s)u[o++]=s;function c(t,e){var r=u[t.charCodeAt(e)];return null==r?-1:r}e.intAt=c;function d(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}e.int2char=d;e.b64toHex=function(t){var e,r="",n=0,i=0;for(e=0;e<t.length&&"="!=t.charAt(e);++e){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(t.charAt(e));a<0||(0==n?(r+=d(a>>2),i=3&a,n=1):1==n?(r+=d(i<<2|a>>4),i=15&a,n=2):2==n?(r+=d(i),r+=d(a>>2),i=3&a,n=3):(r+=d(i<<2|a>>4),r+=d(15&a),n=0))}return 1==n&&(r+=d(i<<2)),r},e.removeExtraSymbols=function(t){return t.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420","")};var p=function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),f=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=i();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(n.ZERO)>0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=i();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],n=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function m(t){var e=i();return e.fromHexString(t.toString()),e}e.nbv=m,n.ZERO=m(0),n.ONE=m(1),"Microsoft Internet Explorer"==navigator.appName?(n.prototype.am=n.prototype.am2,r=30):"Netscape"!=navigator.appName?(n.prototype.am=n.prototype.am1,r=26):(n.prototype.am=n.prototype.am3,r=28),n.prototype.DB=r,n.prototype.DM=(1<<r)-1,n.prototype.DV=1<<r;n.prototype.FV=Math.pow(2,52),n.prototype.F1=52-r,n.prototype.F2=2*r-52},4950:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t.hash=function(e){e=t.utf8Encode(e||"");for(var r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],n=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],i=(e+=String.fromCharCode(128)).length/4+2,a=Math.ceil(i/16),o=new Array(a),s=0;s<a;s++){o[s]=new Array(16);for(var u=0;u<16;u++)o[s][u]=e.charCodeAt(64*s+4*u)<<24|e.charCodeAt(64*s+4*u+1)<<16|e.charCodeAt(64*s+4*u+2)<<8|e.charCodeAt(64*s+4*u+3)<<0}var c=8*(e.length-1)/Math.pow(2,32),d=8*(e.length-1)>>>0;o[a-1][14]=Math.floor(c),o[a-1][15]=d;for(s=0;s<a;s++){for(var p=new Array(64),f=0;f<16;f++)p[f]=o[s][f];for(f=16;f<64;f++)p[f]=t.q1(p[f-2])+p[f-7]+t.q0(p[f-15])+p[f-16]>>>0;var m=n[0],l=n[1],h=n[2],y=n[3],g=n[4],v=n[5],b=n[6],A=n[7];for(f=0;f<64;f++){var I=A+t.z1(g)+t.Ch(g,v,b)+r[f]+p[f],T=t.z0(m)+t.Maj(m,l,h);A=b,b=v,v=g,g=y+I>>>0,y=h,h=l,l=m,m=I+T>>>0}n[0]=n[0]+m>>>0,n[1]=n[1]+l>>>0,n[2]=n[2]+h>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+g>>>0,n[5]=n[5]+v>>>0,n[6]=n[6]+b>>>0,n[7]=n[7]+A>>>0}var D=new Array(n.length);for(A=0;A<n.length;A++)D[A]=("00000000"+n[A].toString(16)).slice(-8);return D.join("")},t.utf8Encode=function(t){try{return(new TextEncoder).encode(t).reduce((function(t,e){return t+String.fromCharCode(e)}),"")}catch(e){return unescape(encodeURIComponent(t))}},t.ROTR=function(t,e){return e>>>t|e<<32-t},t.z0=function(e){return t.ROTR(2,e)^t.ROTR(13,e)^t.ROTR(22,e)},t.z1=function(e){return t.ROTR(6,e)^t.ROTR(11,e)^t.ROTR(25,e)},t.q0=function(e){return t.ROTR(7,e)^t.ROTR(18,e)^e>>>3},t.q1=function(e){return t.ROTR(17,e)^t.ROTR(19,e)^e>>>10},t.Ch=function(t,e,r){return t&e^~t&r},t.Maj=function(t,e,r){return t&e^t&r^e&r},t}();e.Sha256=r},1582:function(t,e,r){var n=r(4611),i=r(4950);e.T=function(t,e,r,a){var o=new n.BigInteger(n.b64toHex(e)),s=new n.BigInteger(n.b64toHex(r)),u=o.modPowInt(a,s);return n.removeExtraSymbols(u.toHexString())===i.Sha256.hash(t)}}},function(t){t.O(0,[6866],(function(){return e=3934,t(t.s=e);var e}));t.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7380],{4814:function(n,e,t){var i=t(9062),d=t(4679),r=t(5339),a=t(4358),o={code:"adpone",supportedMediaTypes:[d.Mk],isBidRequestValid:function(n){return!!n.params.placementId&&!!n.bidId&&"adpone"===n.bidder},buildRequests:function(n,e){return n.map((function(n){var t="https://rtb.adpone.com/bid-request?pid="+n.params.placementId,i={at:1,id:n.bidId,imp:n.sizes.map((function(e,t){return{id:n.bidId+"_"+t,banner:{w:e[0],h:e[1]}}}))};return e&&e.gdprConsent&&(t+="&gdpr_applies="+e.gdprConsent.gdprApplies,t+="&consentString="+e.gdprConsent.consentString),{method:"POST",url:t,data:i,options:{withCredentials:!0}}}))},interpretResponse:function(n,e){if(!n||!n.body)return[];var t=[];return n.body.seatbid.forEach((function(d){d.bid.length&&(t=[].concat((0,i.Z)(t),(0,i.Z)(d.bid.filter((function(n){return n.price>0})).map((function(t){var i={id:t.id,requestId:e.data.id,cpm:t.price,ad:t.adm,width:t.w||0,height:t.h||0,currency:n.body.cur||"EUR",netRevenue:!0,ttl:300,creativeId:t.crid||0};return t.meta&&t.meta.adomain&&t.meta.adomain.length>0&&(i.meta={},i.meta.advertiserDomains=t.meta.adomain),i})))))})),t},onBidWon:function(n){var e=JSON.stringify(n),t=window.btoa(e);(0,a.hq)("https://rtb.adpone.com/prebid/analytics?q=".concat(t))}};(0,r.dX)(o),window.pbjs.installedModules.push("adponeBidAdapter")}},function(n){n.O(0,[6866],(function(){return e=4814,n(n.s=e);var e}));n.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[4996],{8522:function(e,n,t){var a,i=t(265),r=t(4358),d=t(5339),s=t(4679),o=t(3193),u=t(5706),c=t(4614),p=["",1,2],m={default:(a=0,function(){return"ghb"+p[a++%p.length]+".adtelligent.com"}),navelix:function(){return"ghb.hb.navelix.com"},appaloosa:function(){return"ghb.hb.appaloosa.media"},onefiftytwomedia:function(){return"ghb.ads.152media.com"},bidsxchange:function(){return"ghb.hbd.bidsxchange.com"},streamkey:function(){return"ghb.hb.streamkey.net"},janet:function(){return"ghb.bidder.jmgads.com"},pgam:function(){return"ghb.pgamssp.com"},ocm:function(){return"ghb.cenarius.orangeclickmedia.com"},vidcrunchllc:function(){return"ghb.platform.vidcrunch.com"}},l="outstream",f={},h={code:"adtelligent",gvlid:410,aliases:["onefiftytwomedia","appaloosa","bidsxchange","streamkey","janet",{code:"selectmedia",gvlid:775},{code:"navelix",gvlid:380},"pgam",{code:"ocm",gvlid:1148},{code:"vidcrunchllc",gvlid:1145}],supportedMediaTypes:[s.pX,s.Mk],isBidRequestValid:function(e){return!!(0,i.Z)(e,"params.aid")},getUserSyncs:function(e,n){var t=[];function a(n){var a=n.cookieURLs,i=n.cookieURLSTypes||[];Array.isArray(a)&&a.forEach((function(n,a){var r=i[a]||"image";!e.pixelEnabled&&"image"===r||!e.iframeEnabled&&"iframe"===r||f[n]||(f[n]=!0,t.push({type:r,url:n}))}))}return(e.pixelEnabled||e.iframeEnabled)&&(0,r.kJ)(n)&&n.forEach((function(e){e.body&&((0,r.kJ)(e.body)?e.body.forEach((function(e){a(e)})):a(e.body))})),t},buildRequests:function(e,n){var t=o.vc.getConfig(n.bidderCode),a=(0,i.Z)(t,"chunkSize",10),d=function(e,n){var t={Domain:(0,i.Z)(n,"refererInfo.page")};!0===o.vc.getConfig("coppa")&&(t.Coppa=1);(0,i.Z)(n,"gdprConsent.gdprApplies")&&(t.GDPR=1,t.GDPRConsent=(0,i.Z)(n,"gdprConsent.consentString"));(0,i.Z)(n,"uspConsent")&&(t.USP=(0,i.Z)(n,"uspConsent"));(0,i.Z)(e[0],"schain")&&(t.Schain=(0,i.Z)(e[0],"schain"));(0,i.Z)(e[0],"userId")&&(t.UserIds=(0,i.Z)(e[0],"userId"));(0,i.Z)(e[0],"userIdAsEids")&&(t.UserEids=(0,i.Z)(e[0],"userIdAsEids"));window.adtDmp&&window.adtDmp.ready&&(t.DMPId=window.adtDmp.getUID());for(var a=[],r=0,d=e.length;r<d;r++){var s=b(e[r]);a.push(s)}return{tag:t,bids:a}}(e,n),s=d.tag,u=d.bids,c=(0,r.yo)(u,a);return(0,r.HA)(c,(function(e){return{data:Object.assign({},s,{BidRequests:e}),adapterRequest:n,method:"POST",url:(t=n.bidderCode,a=t.split("_")[0],"https://"+(m[a]||m.default)()+"/v2/auction/")};var t,a}))},interpretResponse:function(e,n){var t=n.adapterRequest;e=e.body;var a=[];return(0,r.kJ)(e)?(e.forEach((function(e){a=(0,r.xH)(a,g(e,t))})),a):g(e,t)},transformBidParams:function(e){return(0,r.uh)({aid:"number"},e)}};function g(e,n){var t=!e||!(0,r.kJ)(e.bids),a=[];return t||e.bids.forEach((function(e){var t=(0,c.sE)(n.bids,(function(n){return n.bidId===e.requestId}));if(0!==e.cpm&&void 0!==t){var r=function(e,n){var t=(d=n,(0,i.Z)(d,"mediaTypes.video")?s.pX:s.Mk),a=(0,i.Z)(n,"mediaTypes.video.context"),r={requestId:e.requestId,creativeId:e.cmpId,height:e.height,currency:e.cur,width:e.width,cpm:e.cpm,netRevenue:!0,mediaType:t,ttl:300,meta:{advertiserDomains:e.adomain||[]}};var d;if(t===s.Mk)return Object.assign(r,{ad:e.ad,adUrl:e.adUrl});a===s.Oh&&Object.assign(r,{meta:{primaryCatId:e.primaryCatId},video:{context:s.Oh,durationSeconds:e.durationSeconds}});Object.assign(r,{vastUrl:e.vastUrl}),a===l&&Object.assign(r,{adResponse:e,renderer:v(e.requestId,n.params)});return r}(e,t);a.push(r)}})),a}function b(e){var n=(0,i.Z)(e,"mediaTypes.video")?s.pX:"display",t=n===s.pX?(0,i.Z)(e,"mediaTypes.video.playerSize"):(0,i.Z)(e,"mediaTypes.banner.sizes"),a={CallbackId:e.bidId,Aid:e.params.aid,AdType:n,Sizes:(0,r.sF)(t).join(",")};(a.PlacementId=e.adUnitCode,e.params.iframe&&(a.AdmType="iframe"),e.params.vpb_placement_id&&(a.PlacementId=e.params.vpb_placement_id),n===s.pX)&&((0,i.Z)(e,"mediaTypes.video.context")===s.Oh&&(a.Adpod=(0,i.Z)(e,"mediaTypes.video")));return a}function v(e,n){var t=u.Th.install({id:e,url:"https://player.adtelligent.com/outstream-unit/2.01/outstream.min.js",config:n.outstream||{},loaded:!1});return t.setRender(y),t}function y(e){e.renderer.push((function(){var n=Object.assign({},e.renderer.getConfig(),{width:e.width,height:e.height,vastUrl:e.vastUrl,elId:e.adUnitCode});window.VOutstreamAPI.initOutstreams([n])}))}(0,d.dX)(h),window.pbjs.installedModules.push("adtelligentBidAdapter")}},function(e){e.O(0,[6866],(function(){return n=8522,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7343],{7579:function(e,t,r){var i=r(1002),n=r(265),a=r(4358),o=r(5339),c=r(4192),d=r(4614),s=r(4679),u=r(59),p="USD",l={image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1},cta:{required:!1}},f={code:"adyoulike",gvlid:259,supportedMediaTypes:[s.Mk,s.B5,s.pX],aliases:["ayl"],isBidRequestValid:function(e){var t=h(y(e)),r=t.width>0&&t.height>0;return e.params&&e.params.placement&&(r||e.mediaTypes&&e.mediaTypes.native)},buildRequests:function(e,t){e=(0,u.lY)(e);var r=!1,i={Version:"1.0",Bids:e.reduce((function(e,t){var i=function(e){if((0,n.Z)(e,"mediaTypes.banner"))return s.Mk;if((0,n.Z)(e,"mediaTypes.video"))return s.pX;if((0,n.Z)(e,"mediaTypes.native"))return s.B5}(t),a=y(t),o=h(a);if(e[t.bidId]={},e[t.bidId].PlacementID=t.params.placement,e[t.bidId].TransactionID=t.transactionId,e[t.bidId].Width=o.width,e[t.bidId].Height=o.height,e[t.bidId].AvailableSizes=a.join(","),"function"==typeof t.getFloor&&(e[t.bidId].Pricing=function(e,t,r){var i=e.getFloor({currency:p,mediaType:r,size:[t.width,t.height]});if(!isNaN(i.floor)&&i.currency===p)return i.floor}(t,o,i)),t.schain&&(e[t.bidId].SChain=t.schain),i===s.B5){var c=t.mediaTypes.native;"image"===c.type&&(c=Object.assign({},l,c)),c.clickUrl={required:!0},e[t.bidId].Native=c}if(i===s.pX){r=!0,e[t.bidId].Video=t.mediaTypes.video;var d=t.mediaTypes.video.playerSize;Array.isArray(d)&&!Array.isArray(d[0])&&(e[t.bidId].Video.playerSize=[d])}return e}),{}),PageRefreshed:m()};t.gdprConsent&&(i.gdprConsent={consentString:t.gdprConsent.consentString,consentRequired:"boolean"==typeof t.gdprConsent.gdprApplies?t.gdprConsent.gdprApplies:null}),t.uspConsent&&(i.uspConsent=t.uspConsent),t.ortb2&&(i.ortb2=t.ortb2),(0,n.Z)(t,"userId")&&(i.userId=(0,c.HQ)(t.userId)),i.pbjs_version="7.39.0";var a=JSON.stringify(i);return{method:"POST",url:g(e,t,r),data:a,options:{withCredentials:!0}}},interpretResponse:function(e,t){var r=[],a={};try{a=JSON.parse(t.data).Bids}catch(e){}return e.body.forEach((function(e){var t=function(e,t){if(!e||!e.Ad&&!e.Native&&!e.Vast)return;var r=t&&t[e.BidID];r&&(e.Width&&"0"!==e.Width||(e.Width=r.Width),e.Height&&"0"!==e.Height||(e.Height=r.Height));var a={requestId:e.BidID,ttl:3600,creativeId:e.CreativeID,cpm:e.Price,netRevenue:!0,currency:p,meta:e.Meta||{advertiserDomains:[]}},o=e.Vast;o?(a.width=e.Width,a.height=e.Height,a.vastXml=window.atob(o),a.mediaType="video"):r.Native?(a.native=function(e,t){if("object"===(0,i.Z)(e.Native))return e.Native;var r={},a={},o={};if("string"==typeof e.Ad){a=JSON.parse(e.Ad.match(/\/\*PREBID\*\/(.*)\/\*PREBID\*\//)[1]),o=a.Content.Preview.Text;var c=a.TrackingPrefix+"/pixel?event_kind=IMPRESSION&attempt="+a.Attempt,d=a.TrackingPrefix+"/pixel?event_kind=INSERTION&attempt="+a.Attempt;a.Campaign&&(c+="&campaign="+a.Campaign,d+="&campaign="+a.Campaign),r.clickUrl=a.TrackingPrefix+"/ar?event_kind=CLICK&attempt="+a.Attempt+"&campaign="+a.Campaign+"&url="+encodeURIComponent(a.Content.Landing.Url),a.OnEvents?(r.clickTrackers=k(a.OnEvents.CLICK),r.impressionTrackers=k(a.OnEvents.IMPRESSION),r.javascriptTrackers=k(a.OnEvents.IMPRESSION,!0)):r.impressionTrackers=[],r.impressionTrackers.push(c,d)}return Object.keys(t).map((function(i,c){switch(i){case"title":r[i]=o.TITLE;break;case"body":r[i]=o.DESCRIPTION;break;case"cta":r[i]=o.CALLTOACTION;break;case"sponsoredBy":r[i]=a.Content.Preview.Sponsor.Name;break;case"image":var d=t.image.sizes||[];d.length||(d[0]=e.Width||300,d[1]=e.Height||250);var s=b(a,(0,n.Z)(a,"Content.Preview.Thumbnail.Image"),d[0],d[1]);s&&(r[i]={url:s,width:d[0],height:d[1]});break;case"icon":var u=t.icon.sizes||[];u.length||(u[0]=50,u[1]=50);var p=b(a,(0,n.Z)(a,"Content.Preview.Sponsor.Logo.Resource"),u[0],u[1]);p&&(r[i]={url:p,width:u[0],height:u[1]});break;case"privacyIcon":r[i]=b(a,(0,n.Z)(a,"Content.Preview.Credit.Logo.Resource"),25,25);break;case"privacyLink":r[i]=(0,n.Z)(a,"Content.Preview.Credit.Url")}})),r}(e,r.Native),a.mediaType="native"):(a.width=e.Width,a.height=e.Height,a.ad=e.Ad);return a}(e,a);t&&r.push(t)})),r}};function m(){try{if(performance&&performance.navigation)return performance.navigation.type===performance.navigation.TYPE_RELOAD}catch(e){}return!1}function g(e,t,r){var i=function(e){var t=(0,d.sE)(e,(function(e){return e.params.DC}));return t?"-"+t.params.DC:""}(e),n=r?"/hb-api/prebid-video/v1":"/hb-api/prebid/v1";return(0,a.Q2)({protocol:"https",host:"".concat("hb-api").concat(i,".omnitagjs.com"),pathname:n,search:v(t)})}function v(e){var t,r={};if(e){var i,n=e.refererInfo;n&&(n.location&&(r.RefererUrl=encodeURIComponent(n.location),n.reachedTop||(r.SafeFrame=!0)),r.PageUrl=encodeURIComponent(n.topmostLocation),r.PageReferrer=encodeURIComponent(n.location));var a=null===(i=e.ortb2)||void 0===i?void 0:i.site;a&&(r.PageUrl=encodeURIComponent(a.page||(null==n?void 0:n.topmostLocation)),r.PageReferrer=encodeURIComponent(a.ref||(null==n?void 0:n.location)))}var o=null==e||null===(t=e.refererInfo)||void 0===t?void 0:t.canonicalUrl;return o&&(r.CanonicalUrl=encodeURIComponent(o)),r}function y(e){var 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.sF)(t)}function h(e){var t={},r=e[0];if("string"!=typeof r)return t;var i=r.toUpperCase().split("X"),n=parseInt(i[0],10);n&&(t.width=n);var a=parseInt(i[1],10);return a&&(t.height=a),t}function I(e){return e?"https://blobs.omnitagjs.com/blobs/"+e.substr(16,2)+"/"+e.substr(16)+"/"+e:""}function b(e,t,r,i){var n="";if(t&&t.Kind)switch(t.Kind){case"INTERNAL":n=I(t.Data.Internal.BlobReference.Uid);break;case"EXTERNAL":var a=e.DynamicPrefix,o=t.Data.External.Url;if((o=(o=o.replace(/\[height\]/i,""+i)).replace(/\[width\]/i,""+r)).indexOf(a)>=0){var c=/.*url=([^&]*)/gm.exec(o);(n=c?c[1]:"")||(n=I(/.*key=([^&]*)/gm.exec(o)[1]))}else n=o}return n}function k(e,t){var r=[];return e?(e.map((function(e,i){(t&&"JAVASCRIPT_URL"===e.Kind||!t&&"PIXEL_URL"===e.Kind)&&r.push(e.Url)})),r):r}(0,o.dX)(f),window.pbjs.installedModules.push("adyoulikeBidAdapter")},4192:function(e,t,r){r.d(t,{HQ:function(){return c},Pv:function(){return d},UR:function(){return a}});var i=r(4358),n=r(265),a={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var t=(0,i.ei)(e,["h1","h2","h3"]);if(Object.keys(t).length)return t}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var t="";return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=(0,i.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return void 0===e.snowflake.id?e.snowflake:e.snowflake.id},source:"novatiq.com"},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},czechAdId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function o(e,t){var r=a[t];if(r&&e){var n={};n.source=(0,i.LQ)(r.getSource)?r.getSource(e):r.source;var o=(0,i.LQ)(r.getValue)?r.getValue(e):e;if((0,i.d8)(o)){var c={id:o,atype:r.atype};if((0,i.LQ)(r.getUidExt)){var d=r.getUidExt(e);d&&(c.ext=d)}if(n.uids=[c],(0,i.LQ)(r.getEidExt)){var s=r.getEidExt(e);s&&(n.ext=s)}return n}}return null}function c(e){var t=[],r=function(r){if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[r]))e[r].forEach((function(e,i,n){var a=o(e,r);a&&t.push(a)}));else{var i=o(e[r],r);i&&t.push(i)}};for(var i in e)r(i);return t}function d(e){var t=[];return e.filter((function(e){return(0,i.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){(0,n.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,n.Z)(a,r+".source")&&t.push({source:a[r].source,bidders:e.config.bidders})}))})),t}}},function(e){e.O(0,[6866],(function(){return t=7579,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[5301],{4041:function(e,n,t){var r=t(4942),i=t(1002),a=t(5339),o=t(4679),u=t(4358),s=t(265),c=t(3193);function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?d(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var p=(0,t(5164).df)({gvlid:737,bidderCode:"amx"}),f=/\.com?\.\w{2,4}$/,m=/^\s*<\??(?:vast|xml)/i,g="__amuidpb";function b(e,n){return null==e?[]:e.map(n).reduce((function(e,n){return null!=n&&e.concat(n)}),[])}function v(e){return null!=(n=e.adm)&&m.test(n)?o.pX:o.Mk;var n}var h=function(e,n){return null==e||(0,i.Z)(e)===n};function y(e){var n=e.hostname.split("."),t=n.slice(n.length-(f.test(e.hostname)?3:2)).join(".");return btoa(t).replace(/=+$/,"")}var O=encodeURIComponent;function w(){try{return p.getDataFromLocalStorage(g)}catch(e){return null}}function I(e){var n={};return(0,u.yi)(e,(function(e){n[e.bidId]=function(e){var n=(l=e.sizes,p=e.mediaTypes,l.concat((0,s.Z)(p,"".concat(o.Mk,".sizes"),[])||[]).concat((0,s.Z)(p,"".concat(o.pX,".sizes"),[])||[]).sort((function(e,n){return n[0]*n[1]-e[0]*e[1]}))[0]||[0,0]),t=e.mediaType===o.pX||o.pX in e.mediaTypes,r=t||n[1]>100,i=(0,s.Z)(e,"params.tagId"),a=null!=e.params&&"string"==typeof e.params.adUnitId&&""!==e.params.adUnitId?e.params.adUnitId:e.adUnitCode,u=[e.sizes,(0,s.Z)(e,"mediaTypes.".concat(o.Mk,".sizes"),[])||[],(0,s.Z)(e,"mediaTypes.".concat(o.pX,".sizes"),[])||[]],c=(0,s.Z)(e,"mediaTypes.".concat(o.pX),{})||{},d={au:a,av:r,vd:c,vr:t,ms:u,aw:n[0],ah:n[1],tf:0,sc:e.schain||{},f:j(Z(e)),rtb:e.ortb2Imp};var l,p;"string"==typeof i&&i.length>0&&(d.i=i);return d}(e)})),n}var C=function(e,n){return(0,u.hq)("".concat("https://1x1.a-mo.net/hbx/","g_").concat(e,"?").concat((0,u.Yp)(l(l({},n),{},{ts:Date.now(),eid:(0,u._d)()}))))};function j(e){return"number"==typeof e&&isFinite(e)&&e>0?e:0}function Z(e){if(!(0,u.LQ)(e.getFloor))return(0,s.Z)(e,"params.floor",0);try{return e.getFloor({currency:"USD",mediaType:"*",size:"*",bidRequest:e}).floor}catch(e){return(0,u.H)("call to getFloor failed: ",e),0}}function S(e,n,t){return(0,s.Z)(e,"refererInfo."+n,t)}function T(e,n){var t=e[n];return null!=t&&(!!("*"===t.bidders||(0,u.kJ)(t.bidders)&&-1!==t.bidders.indexOf("amx"))&&(null==t.filter||"include"===t.filter))}function k(){var e=c.vc.getConfig("userSync");if(null==e)return{d:0,l:0,t:0,e:!0};var n={d:e.syncDelay,l:e.syncsPerBidder,t:0,e:e.syncEnabled};return T(e.filterSettings,"all")?(n.t=0,n):(T(e.filterSettings,"iframe")&&(n.t|=2),T(e.filterSettings,"image")&&(n.t|=1),n)}function x(e){var n,t,r;return null!=(null==e?void 0:e.gppConsent)?e.gppConsent:null!==(n=null==e||null===(t=e.ortb2)||void 0===t||null===(r=t.regs)||void 0===r?void 0:r.gpp)&&void 0!==n?n:{gppString:"",applicableSections:""}}function q(e){if(null==e.refererInfo)return{r:"",t:!1,c:"",l:0,s:[]};var n=e.refererInfo;return{r:n.topmostLocation,t:n.reachedTop,l:n.numIframes,s:n.stack,c:n.canonicalUrl}}var U={code:"amx",gvlid:737,supportedMediaTypes:[o.Mk,o.pX],isBidRequestValid:function(e){return h((0,s.Z)(e,"params.endpoint",null),"string")&&h((0,s.Z)(e,"params.tagId",null),"string")},buildRequests:function(e,n){var t,r,i,a,o=(t=n,(0,u.en)((null===(r=t.refererInfo)||void 0===r?void 0:r.topmostLocation)||window.location.href)),d=(0,s.Z)(e[0],"params.tagId",null),l=(0,s.Z)(e[0],"params.testMode",0),p=null!=e[0]?e[0]:{bidderRequestsCount:0,bidderWinsCount:0,bidRequestsCount:0};return{data:{a:n.auctionId,B:0,b:o.host,brc:p.bidderRequestsCount||0,bwc:p.bidderWinsCount||0,trc:p.bidRequestsCount||0,tm:(a=l,!0===a||1===a||"true"===a),V:"7.39.0",vg:"pbjs",i:l&&null!=d?d:y(o),l:{},f:.01,cv:"pba1.3.2",st:"prebid",h:screen.height,w:screen.width,gs:(0,s.Z)(n,"gdprConsent.gdprApplies",""),gc:(0,s.Z)(n,"gdprConsent.consentString",""),gpp:x(n),u:S(n,"page",o.href),do:S(n,"site",o.hostname),re:S(n,"ref"),am:w(),usp:n.uspConsent||"1---",smt:1,d:"",m:I(e),cpp:c.vc.getConfig("coppa")?1:0,fpd2:n.ortb2,tmax:c.vc.getConfig("bidderTimeout"),amp:S(n,"isAmp",null),ri:q(n),sync:k(),eids:(i=e.reduce((function(e,n){return null==n||null==n.userIdAsEids||(0,u.yi)(n.userIdAsEids,(function(n){null!=n&&(e[n.source]=n)})),e}),{}),null!=Object.values?Object.values(i):Object.keys(i).map((function(e){return i[e]})))},method:"POST",url:(0,s.Z)(e[0],"params.endpoint","https://prebid.a-mo.net/a/c"),withCredentials:!0}},getUserSyncs:function(e,n,t,r,i){var a={gdpr_consent:O((null==t?void 0:t.consentString)||""),gdpr:O(null!=t&&t.gdprApplies?1:0),us_privacy:O(r||""),gpp:O((null==i?void 0:i.gppString)||""),gpp_sid:O((null==i?void 0:i.applicableSections)||"")},o={url:"https://prebid.a-mo.net/isyn?".concat((0,u.Yp)(a)),type:"iframe"};if(null==n||0===n.length)return e.iframeEnabled?[o]:[];var s=[],c=!1;return(0,u.yi)(n,(function(n){var t=n.body;null!=t&&null!=t.p&&t.p.hreq&&(0,u.yi)(t.p.hreq,(function(n){var t=-1!==n.indexOf("__st=iframe")?"iframe":"image";(e.iframeEnabled||"image"===t)&&(c=c||"iframe"===t||-1!==n.indexOf("cchain"),s.push({url:n,type:t}))}))})),!c&&s.length<2&&s.push(o),s},interpretResponse:function(e,n){var t=e.body;return null==t||"string"==typeof t?[]:(t.am&&"string"==typeof t.am&&function(e){try{p.setDataInLocalStorage(g,e)}catch(e){}}(t.am),b(Object.keys(t.r),(function(e){return b(t.r[e],(function(t){return t.b.map((function(t){var i,a=v(t),u=t.adm;if(null==u)return null;var s=function(e,n,t){if(null!=e.w&&e.w>1&&null!=e.h&&e.h>1)return[e.w,e.h];var r=n.m[t];return null==r?[0,0]:[r.aw,r.ah]}(t,n.data,e),c=a===o.Mk?240:300;return i={requestId:e,cpm:t.price,width:s[0],height:s[1],creativeId:t.crid,currency:"USD",netRevenue:!0},(0,r.Z)(i,a===o.pX?"vastXml":"ad",u),(0,r.Z)(i,"meta",{advertiserDomains:t.adomain,mediaType:a}),(0,r.Z)(i,"mediaType",a),(0,r.Z)(i,"ttl","number"==typeof t.exp?t.exp:c),i}))})).filter((function(e){return null!=e}))})))},onSetTargeting:function(e){var n,t;null!=e&&C("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:(n=e.adserverTargeting,t=[],Object.keys(n||{}).forEach((function(e){t.push(O(e)+"="+O(String(n[e])))})),O(t.join("&")))})},onTimeout:function(e){null!=e&&C("pbto",{A:e.bidder,bid:e.bidId,a:e.adUnitCode,cn:e.timeout,aud:e.auctionId})},onBidWon:function(e){null!=e&&C("pbwin",{A:e.bidder,w:e.width,h:e.height,bid:e.adId,C:e.mediaType===o.Mk?0:1,np:e.cpm,a:e.adUnitCode})}};(0,a.dX)(U),window.pbjs.installedModules.push("amxBidAdapter")}},function(e){e.O(0,[6866],(function(){return n=4041,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7254],{1570:function(e,n,t){var r=t(1002);function i(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var a,o,s,c=t(4358),d=t(6475),p=t(5339),u=t(4679),l="aol",m="verizon",f="onemobile",g="onedisplay",b={GET:"display-get"},h={GET:"mobile-get",POST:"mobile-post"},v={TAG:"iframe",TYPE:"iframe"},y={TAG:"img",TYPE:"image"},C=["admixer.net","adserver.org","adtelligent.com","akamai.com","amxdt.net","audigent.com","britepool.com","criteo.com","crwdcntrl.net","deepintent.com","epsilon.com","hcn.health","id5-sync.com","idx.lat","intentiq.com","intimatemerger.com","liveintent.com","liveramp.com","mediawallahscript.com","merkleinc.com","netid.de","neustar.biz","nextroll.com","novatiq.com","parrable.com","pubcid.org","quantcast.com","tapad.com","uidapi.com","verizonmedia.com","yahoo.com","zeotap.com"],O=w(a||(a=i(["","/pubapi/3.0/","/","/","/","/ADTECH;v=2;cmd=bid;cors=yes;alias=",";misc=",";",""])),"host","network","placement","pageid","sizeid","alias","misc","dynamicParams"),x=w(o||(o=i(["","/bidRequest?"])),"host"),P=w(s||(s=i(["dcn=","&pos=","&cmd=bid",""])),"dcn","pos","dynamicParams"),T={us:"adserver-us.adtech.advertising.com",eu:"adserver-eu.adtech.advertising.com",as:"adserver-as.adtech.advertising.com"},E="https",S=1;function w(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=r[r.length-1]||{},o=[e[0]];return t.forEach((function(n,t){var i=(0,c.U)(n)?r[n]:a[n];o.push(i,e[t+1])})),o.join("")}}function k(e){return e===l||e===m||e===f}function I(e){if(k(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var n=e.params.imp[0];return n.id&&n.tagid&&n.banner&&n.banner.w&&n.banner.h}}function R(e){return k(e.bidder)&&e.params.dcn&&e.params.pos}function U(e){return((n=e.bidder)===l||n===m||n===g)&&e.params.placement&&e.params.network;var n}function M(e){return e.userIdAsEids.filter((function(e){return-1!==C.indexOf(e.source)}))}var q={code:l,gvlid:25,aliases:[f,g,m],supportedMediaTypes:[u.Mk],isBidRequestValid:function(e){return U(e)||function(e){return R(e)||I(e)}(e)},buildRequests:function(e,n){var t,r,i=this,a={};n&&(a.gdpr=n.gdprConsent,a.uspConsent=n.uspConsent,a.gppConsent=n.gppConsent,!a.gppConsent&&null!==(t=n.ortb2)&&void 0!==t&&null!==(r=t.regs)&&void 0!==r&&r.gpp&&(a.gppConsent={gppString:n.ortb2.regs.gpp,applicableSections:n.ortb2.regs.gpp_sid}));return e.map((function(e){var n=function(e){return R(e)?h.GET:I(e)?h.POST:U(e)?b.GET:void 0}(e);if(n)return i.formatBidRequest(n,e,a)}))},interpretResponse:function(e,n){var t=e.body;if(t){var r=this._parseBidResponse(t,n);if(r)return r}else(0,c.H)("Empty bid response",n.bidderCode,t)},getUserSyncs:function(e,n){var t=!(0,c.xb)(n)&&n[0].body;return t&&t.ext&&t.ext.pixels?this.parsePixelItems(t.ext.pixels):[]},formatBidRequest:function(e,n,t){var r;switch(e){case b.GET:r={url:this.buildMarketplaceUrl(n,t),method:"GET",ttl:60};break;case h.GET:r={url:this.buildOneMobileGetUrl(n,t),method:"GET",ttl:3600};break;case h.POST:r={url:this.buildOneMobileBaseUrl(n),method:"POST",ttl:3600,data:this.buildOpenRtbRequestData(n,t),options:{contentType:"application/json",customHeaders:{"x-openrtb-version":"2.2"}}}}return r.bidderCode=n.bidder,r.bidId=n.bidId,r.userSyncOn=n.params.userSyncOn,r},buildMarketplaceUrl:function(e,n){var t,r=e.params,i=r.server,a=r.region||"us";return T.hasOwnProperty(a)||((0,c.yN)("Unknown region '".concat(a,"' for AOL bidder.")),a="us"),t=i||T[a],r.region=a,this.applyProtocol(O({host:t,network:r.network,placement:parseInt(r.placement),pageid:r.pageId||0,sizeid:r.sizeId||0,alias:r.alias||(0,c._d)(),misc:(new Date).getTime(),dynamicParams:this.formatMarketplaceDynamicParams(r,n)}))},buildOneMobileGetUrl:function(e,n){var t=e.params,i=t.dcn,a=t.pos,o=t.ext;"object"===(0,r.Z)(e.userId)&&(o=o||{},M(e).forEach((function(e){o["eid"+e.source]=e.uids[0].id})));var s=this.buildOneMobileBaseUrl(e);if(i&&a){var c=this.formatOneMobileDynamicParams(o,n);s+=P({dcn:i,pos:a,dynamicParams:c})}return s},buildOneMobileBaseUrl:function(e){return this.applyProtocol(x({host:e.params.host||"c2shb.ssp.yahoo.com"}))},applyProtocol:function(e){return/^https?:\/\//i.test(e)?e:0===e.indexOf("//")?"".concat(E,":").concat(e):"".concat(E,"://").concat(e)},formatMarketplaceDynamicParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t={};Object.assign(t,this.formatKeyValues(e.keyValues)),Object.assign(t,this.formatConsentData(n));var r="";return(0,c.yi)(t,(function(e,n){r+="".concat(n,"=").concat(encodeURIComponent(e),";")})),r},formatOneMobileDynamicParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.isSecureProtocol()&&(e.secure=S),Object.assign(e,this.formatConsentData(n));var t="";return(0,c.yi)(e,(function(e,n){t+="&".concat(n,"=").concat(encodeURIComponent(e))})),t},buildOpenRtbRequestData:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t={id:e.params.id,imp:e.params.imp};if(this.isEUConsentRequired(n)&&((0,d.N)(t,"regs.ext.gdpr",S),n.gdpr.consentString&&(0,d.N)(t,"user.ext.consent",n.gdpr.consentString)),n.uspConsent&&(0,d.N)(t,"regs.ext.us_privacy",n.uspConsent),"object"===(0,r.Z)(e.userId)){t.user=t.user||{},t.user.ext=t.user.ext||{};var i=M(e);i.length>0&&(t.user.ext.eids=i)}return t},isEUConsentRequired:function(e){return!!(e&&e.gdpr&&e.gdpr.gdprApplies)},formatKeyValues:function(e){var n={};return(0,c.yi)(e,(function(e,t){n["kv".concat(t)]=e})),n},formatConsentData:function(e){var n={};return this.isEUConsentRequired(e)&&(n.gdpr=S,e.gdpr.consentString&&(n.euconsent=e.gdpr.consentString)),e.uspConsent&&(n.us_privacy=e.uspConsent),e.gppConsent&&e.gppConsent.gppString&&(n.gpp=e.gppConsent.gppString,n.gpp_sid=e.gppConsent.applicableSections),n},parsePixelItems:function(e){var n=/\w*(?=\s)/,t=/src=("|')(.*?)\1/,r=[];if(e){var i=e.match(/(img|iframe)[\s\S]*?src\s*=\s*("|')(.*?)\2/gi);i&&i.forEach((function(e){var i=e.match(n)[0],a=e.match(t)[2];i&&a&&r.push({type:i===y.TAG?y.TYPE:v.TYPE,url:a})}))}return r},_parseBidResponse:function(e,n){var t,r;try{t=e.seatbid[0].bid[0]}catch(e){return}if(t.ext&&t.ext.encp)r=t.ext.encp;else if(null===(r=t.price)||isNaN(r))return void(0,c.H)("Invalid price in bid response",l,t);return{bidderCode:n.bidderCode,requestId:n.bidId,ad:t.adm,cpm:r,width:t.w,height:t.h,creativeId:t.crid||0,pubapiId:e.id,currency:e.cur||"USD",dealId:t.dealid,netRevenue:!0,meta:{advertiserDomains:t&&t.adomain?t.adomain:[]},ttl:n.ttl}},isOneMobileBidder:k,isSecureProtocol:function(){return"https:"===document.location.protocol}};(0,p.dX)(q),window.pbjs.installedModules.push("aolBidAdapter")}},function(e){e.O(0,[6866],(function(){return n=1570,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[273],{530:function(e,r,n){var t=n(265),i=n(4358),a=n(3193),o=n(5339),s=n(7673),d=n(5102),u={},c={},p={code:"apacdex",supportedMediaTypes:["banner","video"],aliases:["quantumdex","valueimpression"],isBidRequestValid:function(e){if(!e.params)return!1;if(!e.params.siteId&&!e.params.placementId)return!1;if(!(0,t.Z)(e,"mediaTypes.banner")&&!(0,t.Z)(e,"mediaTypes.video"))return!1;if((0,t.Z)(e,"mediaTypes.banner")){if(!(0,t.Z)(e,"mediaTypes.banner.sizes"))return!1}else if((0,t.Z)(e,"mediaTypes.video")&&!(0,t.Z)(e,"mediaTypes.video.playerSize"))return!1;return!0},buildRequests:function(e,r){var n,t,o,s,p,l=[];p=a.vc.getConfig("debug"),e.forEach((function(e){e.schain&&(t=t||e.schain),e.userIdAsEids&&(o=o||e.userIdAsEids),e.params&&e.params.geo&&function(e){if(!(0,i.PO)(e))return!1;if(!e.lat)return!1;if(!e.lon)return!1;if(!e.accuracy)return!1;return!0}(e.params.geo)&&(s=e.params.geo);var r=0;if(null!=u[e.adUnitCode])r=u[e.adUnitCode];else{var n=function(e){if(e.length<=0)return!1;for(var r=0,n=0,t=0;t<e.length;t++){var i=e[t][0]*e[t][1];i>=r&&(r=i,n=t)}return e[n][0]+"x"+e[n][1]}(e.sizes);n&&(null!=c[n]?(c[n]++,r=c[n]):(c[n]=0,r=0))}u[e.adUnitCode]=r,e.targetKey=r;var a=function(e){if(!(0,i.LQ)(e.getFloor))return e.params.floorPrice?e.params.floorPrice:null;var r=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,i.PO)(r)&&!isNaN(r.floor)&&"USD"===r.currency)return r.floor;return null}(e);a&&(e.bidFloor=a),l.push(JSON.parse(JSON.stringify(e)))}));var f={};f.tmax=r.timeout,p&&(f.test=1),f.device={},f.device.ua=navigator.userAgent,f.device.height=window.screen.width,f.device.width=window.screen.height,f.device.dnt=function(){try{if(window.top.doNotTrack&&"1"==window.top.doNotTrack)return 1}catch(e){}try{if(navigator.doNotTrack&&("yes"==navigator.doNotTrack||"1"==navigator.doNotTrack))return 1}catch(e){}try{if(navigator.msDoNotTrack&&"1"==navigator.msDoNotTrack)return 1}catch(e){}return 0}(),f.device.language=navigator.language;var m=function(e){var r;return(null==e||null===(r=e.refererInfo)||void 0===r?void 0:r.page)||window.location.href}(r);return f.site={},f.site.page=m,f.site.referrer=function(e){var r;return(null==e||null===(r=e.refererInfo)||void 0===r?void 0:r.ref)||window.document.referrer}(r),f.site.hostname=(null===(n=r.refererInfo)||void 0===n?void 0:n.domain)||(0,d.hh)(m),r&&r.gdprConsent&&(f.gdpr={},f.gdpr.gdprApplies=!!r.gdprConsent.gdprApplies,r.gdprConsent.consentString&&(f.gdpr.consentString=r.gdprConsent.consentString)),r&&r.uspConsent&&(f.us_privacy=r.uspConsent),t&&(f.schain=t),o&&(f.eids=o),s&&(f.geo=s),f.bids=l.map((function(e){return{params:e.params,mediaTypes:e.mediaTypes,transactionId:e.transactionId,sizes:e.sizes,bidId:e.bidId,adUnitCode:e.adUnitCode,bidFloor:e.bidFloor}})),{method:"POST",url:"https://useast.quantumdex.io/auction/pbjs",data:f,withCredentials:!0,bidderRequests:l}},interpretResponse:function(e,r){var n=e.body;if(!n||!(0,i.PO)(n))return[];var t=n.bids;if(!t||!(0,i.kJ)(t))return[];var a=[];return t.forEach((function(e){var r=e.dealId||"",n={requestId:e.requestId,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.creativeId,currency:e.currency,netRevenue:e.netRevenue,ttl:e.ttl,mediaType:e.mediaType};r.length>0&&(n.dealId=r),e.vastXml?n.vastXml=(0,i.ew)(e.vastXml,e.cpm):n.ad=(0,i.ew)(e.ad,e.cpm),n.meta={},e.meta&&e.meta.advertiserDomains&&(0,i.kJ)(e.meta.advertiserDomains)&&(n.meta.advertiserDomains=e.meta.advertiserDomains),a.push(n)})),a},getUserSyncs:function(e,r,n,t){var i=[];if((0,s.h)(n)){var a="";n&&"string"==typeof n.consentString&&(a="boolean"==typeof n.gdprApplies?"?gdpr=".concat(Number(n.gdprApplies),"&gdpr_consent=").concat(n.consentString):"?gdpr_consent=".concat(n.consentString)),t&&(a+="".concat(a?"&":"?","us_privacy=").concat(encodeURIComponent(t)));try{e.iframeEnabled&&i.push({type:"iframe",url:"https://sync.quantumdex.io/usersync/pbjs"+a}),r.length>0&&r[0].body&&r[0].body.pixel&&r[0].body.pixel.forEach((function(r){"image"===r.type&&e.pixelEnabled&&i.push({type:"image",url:r.url+a}),"iframe"===r.type&&e.iframeEnabled&&i.push({type:"iframe",url:r.url+a})}))}catch(e){}}return i}};(0,o.dX)(p),window.pbjs.installedModules.push("apacdexBidAdapter")},7673:function(e,r,n){n.d(r,{h:function(){return i}});var t=n(265);function i(e){return null==e||!e.gdprApplies||!0===(0,t.Z)(e,"vendorData.purpose.consents.1")}}},function(e){e.O(0,[6866],(function(){return r=530,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[3864],{6319:function(e,r,a){var n=a(1002),t=a(9062),i=a(4358),s=a(265),o=a(5706),d=a(3193),p=a(5339),u=a(4679),c=a(5383),l=a(4614),m=a(154),f=a(5164),v=a(5975),b=a(7673),_=a(59),g="appnexus",y="https://ib.adnxs.com/ut/v3/prebid",h="https://ib.adnxs-simple.com/ut/v3/prebid",k=["id","minduration","maxduration","skippable","playback_method","frameworks","context","skipoffset"],w=["minduration","maxduration","skip","skipafter","playbackmethod","api","startdelay"],x=["age","externalUid","external_uid","segments","gender","dnt","language"],I=["geo","device_id"],C=["enabled","dongle","member_id","debug_timeout"],E={apn_debug_dongle:"dongle",apn_debug_member_id:"member_id",apn_debug_timeout:"debug_timeout"},O={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}},j={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"},T="<script",q=/\/\/cdn\.adnxs\.com\/v|\/\/cdn\.adnxs\-simple\.com\/v/,S="trk.js",U=(0,f.df)({gvlid:32,bidderCode:g}),R={code:g,gvlid:32,aliases:[{code:"appnexusAst",gvlid:32},{code:"emxdigital",gvlid:183},{code:"pagescience"},{code:"defymedia"},{code:"gourmetads"},{code:"matomy"},{code:"featureforward"},{code:"oftmedia"},{code:"adasta"},{code:"beintoo",gvlid:618}],supportedMediaTypes:[u.Mk,u.pX,u.B5],isBidRequestValid:function(e){return!!(e.params.placementId||e.params.placement_id||e.params.member&&(e.params.invCode||e.params.inv_code))},buildRequests:function(e,r){var a,n,o=(e=(0,_.lY)(e)).map(N),p=(0,l.sE)(e,B),u={};!0===d.vc.getConfig("coppa")&&(u={coppa:!0}),p&&Object.keys(p.params.user).filter((function(e){return(0,l.q9)(x,e)})).forEach((function(e){var r=(0,i.G2)(e);if("segments"===e&&(0,i.kJ)(p.params.user[e])){var a=[];p.params.user[e].forEach((function(e){(0,i.hj)(e)?a.push({id:e}):(0,i.PO)(e)&&a.push(e)})),u[r]=a}else"segments"!==e&&(u[r]=p.params.user[e])}));var c,m=(0,l.sE)(e,D);m&&m.params&&m.params.app&&(c={},Object.keys(m.params.app).filter((function(e){return(0,l.q9)(I,e)})).forEach((function(e){return c[e]=m.params.app[e]})));var f,v=(0,l.sE)(e,J);v&&v.params&&m.params.app&&m.params.app.id&&(f={appid:v.params.app.id});var g={},k={},w=U.getCookie("apn_prebid_debug")||null;if(w)try{g=JSON.parse(w)}catch(e){(0,i.H)("AppNexus Debug Auction Cookie Error:\n\n"+e)}else{Object.keys(E).forEach((function(e){var r=(0,i.rD)(e);(0,i.d8)(r)&&""!==r&&(g[E[e]]=r,g.enabled=!0)})),g=(0,i.uh)({member_id:"number",debug_timeout:"number"},g);var O=(0,l.sE)(e,M);O&&O.debug&&(g=O.debug)}g&&g.enabled&&Object.keys(g).filter((function(e){return(0,l.q9)(C,e)})).forEach((function(e){k[e]=g[e]}));var j=(0,l.sE)(e,z),T=j?parseInt(j.params.member,10):0,q=e[0].schain,S=(0,l.sE)(e,H),R={tags:(0,t.Z)(o),user:u,sdk:{source:"pbjs",version:"7.39.0"},schain:q};S&&(R.iab_support={omidpn:"Appnexus",omidpv:"7.39.0"}),T>0&&(R.member_id=T),m&&(R.device=c),v&&(R.app=f);var A,Z,G=(0,i.I8)(r&&r.ortb2),V=(A=G,Z=[],["site.keywords","site.content.keywords","user.keywords","app.keywords","app.content.keywords"].forEach((function(e){var r=(0,s.Z)(A,e);(0,i.d8)(r)&&Z.push(r)})),Z).map((function(e){return $(e)})),F=(0,i.I8)(d.vc.getConfig("appnexusAuctionKeywords"))||{};Object.keys(F).forEach((function(e){((0,i.d8)(F[e])||(0,i.hj)(F[e]))&&(F[e]=[F[e]])}));var K=i.Ee.apply(void 0,[{},F].concat((0,t.Z)(V))),Q=(0,i.Bq)(K);if(Q.length>0&&(Q.forEach(P),R.keywords=Q),d.vc.getConfig("adpod.brandCategoryExclusion")&&(R.brand_category_uniqueness=!0),k.enabled&&(R.debug=k,(0,i.PN)("AppNexus Debug Auction Settings:\n\n"+JSON.stringify(k,null,4))),r&&r.gdprConsent&&(R.gdpr_consent={consent_string:r.gdprConsent.consentString,consent_required:r.gdprConsent.gdprApplies},r.gdprConsent.addtlConsent&&-1!==r.gdprConsent.addtlConsent.indexOf("~"))){var W=r.gdprConsent.addtlConsent,Y=W.substring(W.indexOf("~")+1);R.gdpr_consent.addtl_consent=Y.split(".").map((function(e){return parseInt(e,10)}))}if(r&&r.uspConsent&&(R.us_privacy=r.uspConsent),null!=r&&r.gppConsent?R.privacy={gpp:r.gppConsent.gppString,gpp_sid:r.gppConsent.applicableSections}:null!=r&&null!==(a=r.ortb2)&&void 0!==a&&null!==(n=a.regs)&&void 0!==n&&n.gpp&&(R.privacy={gpp:r.ortb2.regs.gpp,gpp_sid:r.ortb2.regs.gpp_sid}),r&&r.refererInfo){var ee={rd_ref:encodeURIComponent(r.refererInfo.topmostLocation),rd_top:r.refererInfo.reachedTop,rd_ifs:r.refererInfo.numIframes,rd_stk:r.refererInfo.stack.map((function(e){return encodeURIComponent(e)})).join(",")},re=r.refererInfo.canonicalUrl;(0,i.d8)(re)&&""!==re&&(ee.rd_can=re),R.referrer_detection=ee}if((0,l.sE)(e,X)&&e.filter(X).forEach((function(e){var r=function(e,r){var a=r.mediaTypes.video,n=a.durationRangeSec,s=a.requireExactDuration,o=function(e){var r=e.adPodDurationSec,a=e.durationRangeSec,n=e.requireExactDuration,t=(0,i.XV)(a),s=Math.floor(r/t);return n?Math.max(s,a.length):s}(r.mediaTypes.video),d=(0,i.d5)(n),p=e.filter((function(e){return e.uuid===r.bidId})),u=i.hl.apply(void 0,(0,t.Z)(p).concat([o]));if(s){var c=Math.ceil(o/n.length),l=(0,i.yo)(u,c);n.forEach((function(e,r){l[r].map((function(r){L(r,"minduration",e),L(r,"maxduration",e)}))}))}else u.map((function(e){return L(e,"maxduration",d)}));return u}(o,e),a=R.tags.filter((function(r){return r.uuid!==e.bidId}));R.tags=[].concat((0,t.Z)(a),(0,t.Z)(r))})),e[0].userId){var ae=[];e[0].userIdAsEids.forEach((function(e){!e||!e.uids||e.uids.length<1||e.uids.forEach((function(r){var a={source:e.source,id:r.id};"adserver.org"==e.source?a.rti_partner="TDID":"uidapi.com"==e.source&&(a.rti_partner="UID2"),ae.push(a)}))})),ae.length&&(R.eids=ae)}o[0].publisher_id&&(R.publisher_id=o[0].publisher_id);var ne=function(e,r){var a=[],n={withCredentials:!0},t=y;(0,b.h)(null==r?void 0:r.gdprConsent)||(t=h);"TRUE"!==(0,i.rD)("apn_test").toUpperCase()&&!0!==d.vc.getConfig("apn_test")||(n.customHeaders={"X-Is-Test":1});if(e.tags.length>15){var s=(0,i.I8)(e);(0,i.yo)(e.tags,15).forEach((function(e){s.tags=e;var i=JSON.stringify(s);a.push({method:"POST",url:t,data:i,bidderRequest:r,options:n})}))}else{var o=JSON.stringify(e);a={method:"POST",url:t,data:o,bidderRequest:r,options:n}}return a}(R,r);return ne},interpretResponse:function(e,r){var a=this,n=r.bidderRequest;e=e.body;var t=[];if(!e||e.error){var d="in response for ".concat(n.bidderCode," adapter");return e&&e.error&&(d+=": ".concat(e.error)),(0,i.H)(d),t}if(e.tags&&e.tags.forEach((function(e){var r,d=(r=e)&&r.ads&&r.ads.length&&(0,l.sE)(r.ads,(function(e){return e.rtb}));if(d&&((!0===v.S.get(n.bidderCode,"allowZeroCpmBids")?d.cpm>=0:d.cpm>0)&&(0,l.q9)(a.supportedMediaTypes,d.ad_type))){var c=function(e,r,a){var n=(0,i.zE)(e.uuid,[a]),t=(0,i._d)(),d={adId:t,requestId:e.uuid,cpm:r.cpm,creativeId:r.creative_id,dealId:r.deal_id,currency:"USD",netRevenue:!0,ttl:300,adUnitCode:n.adUnitCode,appnexus:{buyerMemberId:r.buyer_member_id,dealPriority:r.deal_priority,dealCode:r.deal_code}};r.adomain&&(d.meta=Object.assign({},d.meta,{advertiserDomains:[r.adomain]}));r.advertiser_id&&(d.meta=Object.assign({},d.meta,{advertiserId:r.advertiser_id}));function c(e){return{ver:"1.0",complete:0,nodes:[{bsid:e.buyer_member_id.toString()}]}}r.buyer_member_id&&(d.meta=Object.assign({},d.meta,{dchain:c(r)}));r.brand_id&&(d.meta=Object.assign({},d.meta,{brandId:r.brand_id}));if(r.rtb.video){switch(Object.assign(d,{width:r.rtb.video.player_width,height:r.rtb.video.player_height,vastImpUrl:r.notify_url,ttl:3600}),(0,s.Z)(n,"mediaTypes.video.context")){case u.Oh:var f=(0,p.Q1)(n.bidder,r.brand_category_id);d.meta=Object.assign({},d.meta,{primaryCatId:f});var v=r.deal_priority;d.video={context:u.Oh,durationSeconds:Math.floor(r.rtb.video.duration_ms/1e3),dealTier:v},d.vastUrl=r.rtb.video.asset_url;break;case m.gZ:if(d.adResponse=e,d.adResponse.ad=d.adResponse.ads[0],d.adResponse.ad.video=d.adResponse.ad.rtb.video,d.vastXml=r.rtb.video.content,r.renderer_url){var b=(0,l.sE)(a.bids,(function(r){return r.bidId===e.uuid})),_=(0,s.Z)(b,"mediaTypes.video.renderer.options");_||(_=(0,s.Z)(b,"renderer.options")),d.renderer=function(e,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=o.Th.install({id:r.renderer_id,url:r.renderer_url,config:a,loaded:!1,adUnitCode:e});try{n.setRender(G)}catch(e){(0,i.yN)("Prebid Error calling setRender on renderer",e)}return n.setEventHandlers({impression:function(){return(0,i.ji)("AppNexus outstream video impression event")},loaded:function(){return(0,i.ji)("AppNexus outstream video loaded event")},ended:function(){(0,i.ji)("AppNexus outstream renderer video event"),document.querySelector("#".concat(e)).style.display="none"}}),n}(d.adUnitCode,r,_)}break;case m.LD:d.vastUrl=r.notify_url+"&redir="+encodeURIComponent(r.rtb.video.asset_url)}}else if(r.rtb[u.B5]){var g,y=r.rtb[u.B5];if(function(e){if(!e||""===e)return!1;var r=e.match(q),a=null!=r&&r.length>=1,n=e.match(S),t=null!=n&&n.length>=1;return e.startsWith(T)&&t&&a}(r.viewability.config)){var h="pbjs_adid="+t+";pbjs_auc="+n.adUnitCode;g=r.viewability.config.replace("dom_id=%native_dom_id%",h)}var k=y.javascript_trackers;null==k?k=g:(0,i.d8)(k)?k=[k,g]:k.push(g),d[u.B5]={title:y.title,body:y.desc,body2:y.desc2,cta:y.ctatext,rating:y.rating,sponsoredBy:y.sponsored,privacyLink:y.privacy_link,address:y.address,downloads:y.downloads,likes:y.likes,phone:y.phone,price:y.price,salePrice:y.saleprice,clickUrl:y.link.url,displayUrl:y.displayurl,clickTrackers:y.link.click_trackers,impressionTrackers:y.impression_trackers,video:y.video,javascriptTrackers:k},y.main_img&&(d.native.image={url:y.main_img.url,height:y.main_img.height,width:y.main_img.width}),y.icon&&(d.native.icon={url:y.icon.url,height:y.icon.height,width:y.icon.width})}else{Object.assign(d,{width:r.rtb.banner.width,height:r.rtb.banner.height,ad:r.rtb.banner.content});try{if(r.rtb.trackers)for(var w=0;w<r.rtb.trackers[0].impression_urls.length;w++){var x=r.rtb.trackers[0].impression_urls[w],I=(0,i.SG)(x);d.ad+=I}}catch(e){(0,i.H)("Error appending tracking pixel",e)}}return d}(e,d,n);c.mediaType=function(e){var r=e.ad_type;return r===u.pX?u.pX:r===u.B5?u.B5:u.Mk}(d),t.push(c)}})),e.debug&&e.debug.debug_info){var c="AppNexus Debug Auction for Prebid\n\n"+e.debug.debug_info;c=c.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,i.ji)("https://console.appnexus.com/docs/understanding-the-debug-auction"),(0,i.ji)(c)}return t},getMappingFileInfo:function(){return{url:"https://acdn.adnxs-simple.com/prebid/appnexus-mapping/mappings.json",refreshInDays:2}},getUserSyncs:function(e,r,a,n,t){if(e.iframeEnabled&&(0,b.h)(a)&&function(e){return!e||!Array.isArray(e.applicableSections)||e.applicableSections.every((function(e){return"number"==typeof e&&e<=5}))}(t))return[{type:"iframe",url:"https://acdn.adnxs.com/dmp/async_usersync.html"}]},transformBidParams:function(e,r,a,n){var t=i.Bq;if(!0===r){var o=null,p=d.vc.getConfig("s2sConfig");(0,i.PO)(p)?o=(0,s.Z)(p,"endpoint.p1Consent"):(0,i.kJ)(p)&&p.forEach((function(e){(0,l.q9)(e.bidders,a.bids[0].bidder)&&(o=(0,s.Z)(e,"endpoint.p1Consent"))})),o&&o.match("/openrtb2/prebid")&&(t=F)}return e=(0,i.uh)({member:"string",invCode:"string",placementId:"number",keywords:t,publisherId:"number"},e),r&&(A(e.keywords)&&e.keywords.forEach(P),Object.keys(e).forEach((function(r){var a=(0,i.G2)(r);a!==r&&(e[a]=e[r],delete e[r])})),e.use_pmt_rule="boolean"==typeof e.use_payment_rule&&e.use_payment_rule,e.use_payment_rule&&delete e.use_payment_rule),e}};function A(e){return!!((0,i.kJ)(e)&&e.length>0)}function P(e){A(e.value)&&""===e.value[0]&&delete e.value}function N(e){var r={};Object.keys(e.params).forEach((function(r){var a=(0,i.G2)(r);a!==r&&(e.params[a]=e.params[r],delete e.params[r])})),r.sizes=Z(e.sizes),r.primary_size=r.sizes[0],r.ad_types=[],r.uuid=e.bidId,e.params.placement_id?r.id=parseInt(e.params.placement_id,10):r.code=e.params.inv_code,r.allow_smaller_sizes=e.params.allow_smaller_sizes||!1,r.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,r.prebid=!0,r.disable_psa=!0;var a=function(e){if(!(0,i.LQ)(e.getFloor))return e.params.reserve?e.params.reserve:null;var r=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,i.PO)(r)&&!isNaN(r.floor)&&"USD"===r.currency)return r.floor;return null}(e);if(a&&(r.reserve=a),e.params.position)r.position={above:1,below:2}[e.params.position]||0;else{var n=(0,s.Z)(e,"mediaTypes.banner.pos")||(0,s.Z)(e,"mediaTypes.video.pos");0!==n&&1!==n&&3!==n||(r.position=3===n?2:n)}e.params.traffic_source_code&&(r.traffic_source_code=e.params.traffic_source_code),e.params.private_sizes&&(r.private_sizes=Z(e.params.private_sizes)),e.params.supply_type&&(r.supply_type=e.params.supply_type),e.params.pub_click&&(r.pubclick=e.params.pub_click),e.params.ext_inv_code&&(r.ext_inv_code=e.params.ext_inv_code),e.params.publisher_id&&(r.publisher_id=parseInt(e.params.publisher_id,10)),e.params.external_imp_id&&(r.external_imp_id=e.params.external_imp_id);var t=(0,s.Z)(e,"ortb2Imp.ext.data.keywords");if((0,i.d8)(t)&&""!==t||!(0,i.xb)(e.params.keywords)){var o=$(t),d=(0,i.PO)(e.params.keywords)?(0,i.I8)(e.params.keywords):{};Object.keys(d).forEach((function(e){((0,i.d8)(d[e])||(0,i.hj)(d[e]))&&(d[e]=[d[e]])}));var p=(0,i.Ee)({},d,o),m=(0,i.Bq)(p);m.length>0&&(m.forEach(P),r.keywords=m)}var f,v,b=(0,s.Z)(e,"ortb2Imp.ext.data.pbadslot");if(b&&(r.gpid=b),(e.mediaType===u.B5||(0,s.Z)(e,"mediaTypes.".concat(u.B5)))&&(r.ad_types.push(u.B5),0===r.sizes.length&&(r.sizes=Z([1,1])),e.nativeParams)){var _=(f=e.nativeParams,v={},Object.keys(f).forEach((function(e){var r=j[e]&&j[e].serverName||j[e]||e,a=j[e]&&j[e].requiredParams;if(v[r]=Object.assign({},a,f[e]),(r===j.image.serverName||r===j.icon.serverName)&&v[r].sizes){var n=v[r].sizes;((0,i.HC)(n)||(0,i.kJ)(n)&&n.length>0&&n.every((function(e){return(0,i.HC)(e)})))&&(v[r].sizes=Z(v[r].sizes))}r===j.privacyLink&&(v.privacy_supported=!0)})),v);r[u.B5]={layouts:[_]}}var g=(0,s.Z)(e,"mediaTypes.".concat(u.pX)),y=(0,s.Z)(e,"mediaTypes.video.context");r.hb_source=g&&"adpod"===y?7:1,(e.mediaType===u.pX||g)&&r.ad_types.push(u.pX),(e.mediaType===u.pX||g&&"outstream"!==y)&&(r.require_asset_url=!0),e.params.video&&(r.video={},Object.keys(e.params.video).filter((function(e){return(0,l.q9)(k,e)})).forEach((function(a){switch(a){case"context":case"playback_method":var n=e.params.video[a];n=(0,i.kJ)(n)?n[0]:n,r.video[a]=O[a][n];break;case"frameworks":break;default:r.video[a]=e.params.video[a]}})),e.params.video.frameworks&&(0,i.kJ)(e.params.video.frameworks)&&(r.video_frameworks=e.params.video.frameworks)),g&&(r.video=r.video||{},Object.keys(g).filter((function(e){return(0,l.q9)(w,e)})).forEach((function(e){switch(e){case"minduration":case"maxduration":"number"!=typeof r.video[e]&&(r.video[e]=g[e]);break;case"skip":"boolean"!=typeof r.video.skippable&&(r.video.skippable=1===g[e]);break;case"skipafter":"number"!=typeof r.video.skipoffset&&(r.video.skippoffset=g[e]);break;case"playbackmethod":if("number"!=typeof r.video.playback_method){var a=g[e];(a=(0,i.kJ)(a)?a[0]:a)>=1&&a<=4&&(r.video.playback_method=a)}break;case"api":if(!r.video_frameworks&&(0,i.kJ)(g[e])){var n=g[e].map((function(e){var r=4===e?5:5===e?4:e;if(r>=1&&r<=5)return r})).filter((function(e){return e}));r.video_frameworks=n}break;case"startdelay":case"placement":if("number"!=typeof r.video.context){var t=g.placement,s=g.startdelay,o=function(e){if(!e)return;if(2===e)return"in-banner";if(e>2)return"outstream"}(t)||function(e){if(!e)return;if(0===e)return"pre_roll";if(-1===e)return"mid_roll";if(-2===e)return"post_roll"}(s);r.video.context=O.context[o]}}}))),e.renderer&&(r.video=Object.assign({},r.video,{custom_renderer_present:!0})),e.params.frameworks&&(0,i.kJ)(e.params.frameworks)&&(r.banner_frameworks=e.params.frameworks);var h=(0,l.sE)(c.K.getAdUnits(),(function(r){return e.transactionId===r.transactionId}));return h&&h.mediaTypes&&h.mediaTypes.banner&&r.ad_types.push(u.Mk),0===r.ad_types.length&&delete r.ad_types,r}function Z(e){var r=[],a={};if((0,i.kJ)(e)&&2===e.length&&!(0,i.kJ)(e[0]))a.width=parseInt(e[0],10),a.height=parseInt(e[1],10),r.push(a);else if("object"===(0,n.Z)(e))for(var t=0;t<e.length;t++){var s=e[t];(a={}).width=parseInt(s[0],10),a.height=parseInt(s[1],10),r.push(a)}return r}function B(e){return!!e.params.user}function z(e){return!!parseInt(e.params.member,10)}function D(e){if(e.params)return!!e.params.app}function J(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function M(e){return!!e.debug}function X(e){return e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context===u.Oh}function H(e){var r=!1,a=e.params,n=e.params.video;return a.frameworks&&(0,i.kJ)(a.frameworks)&&(r=(0,l.q9)(e.params.frameworks,6)),!r&&n&&n.frameworks&&(0,i.kJ)(n.frameworks)&&(r=(0,l.q9)(e.params.video.frameworks,6)),r}function L(e,r,a){(0,i.xb)(e.video)&&(e.video={}),e.video[r]=a}function G(e,r){!function(e){try{var r=document.getElementById(e).querySelectorAll("div[id^='google_ads']");r[0]&&r[0].style.setProperty("display","none")}catch(e){}}(e.adUnitCode),function(e){try{var r=document.getElementById(e).querySelectorAll("script[id^='sas_script']");r[0].nextSibling&&"iframe"===r[0].nextSibling.localName&&r[0].nextSibling.style.setProperty("display","none")}catch(e){}}(e.adUnitCode),e.renderer.push((function(){((0,i.W$)(r)||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()},V.bind(null,e))}))}function V(e,r,a){e.renderer.handleVideoEvent({id:r,eventName:a})}function F(e){var r="";return Object.keys(e).forEach((function(a){(0,i.d8)(e[a])?""!==e[a]?r+="".concat(a,"=").concat(e[a],","):r+="".concat(a,","):(0,i.kJ)(e[a])&&(""===e[a][0]?r+="".concat(a,","):e[a].forEach((function(e){r+="".concat(a,"=").concat(e,",")})))})),r=r.substring(0,r.length-1)}function $(e){var r={};(0,i.d8)(e)&&""!==e&&e.split(/\s*(?:,)\s*/).forEach((function(e){if(-1!==e.indexOf("=")){var a=e.split("="),n=a[0],t=a[1];r.hasOwnProperty(n)?r[n].push(t):r[n]=[t]}else r.hasOwnProperty(e)||(r[e]=[""])}));return r}(0,p.dX)(R),window.pbjs.installedModules.push("appnexusBidAdapter")},7673:function(e,r,a){a.d(r,{h:function(){return t}});var n=a(265);function t(e){return null==e||!e.gdprApplies||!0===(0,n.Z)(e,"vendorData.purpose.consents.1")}}},function(e){e.O(0,[6866],(function(){return r=6319,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7948],{7218:function(t,e,r){var i=r(1002),n=r(4358),o=r(6475),d=r(5339),s=r(4679),a=r(3193),u="brightcom",h={code:u,supportedMediaTypes:[s.Mk],gvlid:883,isBidRequestValid:function(t){if(t.bidder!==u||void 0===t.params)return!1;if(void 0===t.params.publisherId)return!1;return!0},buildRequests:function(t,e){try{var r,i="";e&&e.refererInfo&&(i=e.refererInfo.page);var d=[],s=(0,n.An)("publisherId",t[0].params);(0,n.yi)(t,(function(t){var e=t.mediaTypes&&t.mediaTypes.banner&&t.mediaTypes.banner.sizes||t.sizes,r=(e=(e=(0,n.kJ)(e)&&(0,n.kJ)(e[0])?e:[e]).filter((function(t){return(0,n.kJ)(t)}))).map((function(t){return{w:parseInt(t[0],10),h:parseInt(t[1],10)}})),i=document.getElementById(t.adUnitCode),o=r.reduce((function(t,e){return e.h*e.w<t.h*t.w?e:t})),s=function(t){return!function(){try{return(0,n.e7)()!==(0,n.Zy)()}catch(t){return!0}}()&&null!==t}(i)?function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.w,o=r.h;return"visible"===(0,n.Zy)().document.visibilityState?g(t,e,{w:i,h:o}):0}(i,(0,n.Zy)(),o):"na",a=isNaN(s)?s:Math.round(s),u={id:t.bidId,banner:{format:r,ext:{viewability:a}},tagid:String(t.adUnitCode)},h=function(t){if(!(0,n.LQ)(t.getFloor))return t.params.bidFloor?t.params.bidFloor:null;var e=t.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,n.PO)(e)&&!isNaN(e.floor)&&"USD"===e.currency)return e.floor;return null}(t);h&&(u.bidfloor=h),d.push(u)}));var u={id:(0,n._d)(),imp:d,site:{domain:(null==e||null===(r=e.refererInfo)||void 0===r?void 0:r.domain)||"",page:i,publisher:{id:s}},device:{devicetype:/(ios|ipod|ipad|iphone|android)/i.test(navigator.userAgent)?1:/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i.test(navigator.userAgent)?3:2,w:screen.width,h:screen.height},tmax:a.vc.getConfig("bidderTimeout")};return e&&e.gdprConsent&&((0,o.N)(u,"regs.ext.gdpr",+e.gdprConsent.gdprApplies),(0,o.N)(u,"user.ext.consent",e.gdprConsent.consentString)),e&&e.uspConsent&&(0,o.N)(u,"regs.ext.us_privacy",e.uspConsent),!0===a.vc.getConfig("coppa")&&(0,o.N)(u,"regs.coppa",1),t[0]&&t[0].schain&&(0,o.N)(u,"source.ext.schain",t[0].schain),t[0]&&t[0].userIdAsEids&&(0,o.N)(u,"user.ext.eids",t[0].userIdAsEids||[]),t[0]&&t[0].userId&&(0,o.N)(u,"user.ext.ids",t[0].userId||[]),{method:"POST",url:"https://brightcombid.marphezis.com/hb",data:JSON.stringify(u),options:{contentType:"text/plain",withCredentials:!1}}}catch(r){(0,n.H)(r,{bidReqs:t,bidderRequest:e})}},interpretResponse:function(t){if(!t.body||"object"!=(0,i.Z)(t.body))return(0,n.yN)("Brightcom server returned empty/non-json response: "+JSON.stringify(t.body)),[];var e=t.body,r=e.id,o=e.seatbid;try{var d=[];return r&&o&&o.length>0&&o[0].bid&&o[0].bid.length>0&&o[0].bid.map((function(t){d.push({requestId:t.impid,cpm:parseFloat(t.price),width:parseInt(t.w),height:parseInt(t.h),creativeId:t.crid||t.id,currency:"USD",netRevenue:!0,mediaType:s.Mk,ad:p(t),ttl:60,meta:{advertiserDomains:t&&t.adomain?t.adomain:[]}})})),d}catch(t){(0,n.H)(t,{id:r,seatbid:o})}},getUserSyncs:function(t,e,r){return[]}};function p(t){var e=t.adm;return"nurl"in t&&(e+=(0,n.SG)(t.nurl)),e}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.w,i=e.h,n=t.getBoundingClientRect(),o=n.width,d=n.height,s=n.left,a=n.top,u=n.right,h=n.bottom;return(0===o||0===d)&&r&&i&&(o=r,d=i,u=s+r,h=a+i),{width:o,height:d,left:s,top:a,right:u,bottom:h}}function c(t){for(var e={left:t[0].left,right:t[0].right,top:t[0].top,bottom:t[0].bottom},r=1;r<t.length;++r){if(e.left=Math.max(e.left,t[r].left),e.right=Math.min(e.right,t[r].right),e.left>=e.right)return null;if(e.top=Math.max(e.top,t[r].top),e.bottom=Math.min(e.bottom,t[r].bottom),e.top>=e.bottom)return null}return e.width=e.right-e.left,e.height=e.bottom-e.top,e}function g(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.w,n=r.h,o=l(t,{w:i,h:n}),d=c([{left:0,top:0,right:e.innerWidth,bottom:e.innerHeight},o]);return null!==d?d.width*d.height/(o.width*o.height)*100:0}(0,d.dX)(h),window.pbjs.installedModules.push("brightcomBidAdapter")}},function(t){t.O(0,[6866],(function(){return e=7218,t(t.s=e);var e}));t.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[4548],{2997:function(e,r,t){var n=t(1002),o=t(4358),i=t(8928),a=t(2797),p={name:"britepoolId",decode:function(e){return e&&"string"==typeof e.primaryBPID?{britepoolid:e.primaryBPID}:null},getId:function(e,r){var t=e&&e.params||{},n=p.createParams(t,r),a=n.params,u=n.headers,l=n.url,s=n.getter,c=n.errors,f=null;return"function"==typeof s&&"function"!=typeof(f=s(a))?{id:p.normalizeValue(f)}:((0,o.xb)(a)&&(0,o.hq)("https://px.britepool.com/new?partner_id=t"),{callback:function(e){if(c.length>0)return c.forEach((function(e){return(0,o.H)(e)})),void e();if(f)try{f((function(r){e(p.normalizeValue(r))}))}catch(r){""!==r&&(0,o.H)(r),e()}else(0,i.h)(l,{success:function(r){var t=p.normalizeValue(r);e(t?{primaryBPID:t.primaryBPID}:null)},error:function(r){""!==r&&(0,o.H)(r),e()}},JSON.stringify(a),{customHeaders:u,contentType:"application/json",method:"POST",withCredentials:!0})}})},createParams:function(e,r){var t=r&&"boolean"==typeof r.gdprApplies&&r.gdprApplies?r.consentString:void 0,n=[],o={},i="undefined"!=typeof britepool_pubparams?britepool_pubparams:{},a=Object.assign({},e,i);if(a.getter){if("function"!=typeof a.getter)return n.push("userIdTargeting - britepoolId submodule requires getter to be a function"),{errors:n}}else a.api_key&&(o["x-api-key"]=a.api_key);var p=a.url||"https://api.britepool.com/v1/britepool/id".concat(t?"?gdprString="+encodeURIComponent(t):""),u=a.getter;return delete a.api_key,delete a.url,delete a.getter,{params:a,headers:o,url:p,getter:u,errors:n}},normalizeValue:function(e){var r=null;if("object"===(0,n.Z)(e))r=e;else if("string"==typeof e)try{r=JSON.parse(e)}catch(e){(0,o.H)(e)}return r}};(0,a.Bx)("userId",p),window.pbjs.installedModules.push("britepoolIdSystem")}},function(e){e.O(0,[6866],(function(){return r=2997,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8837],{2500:function(e,t,r){var n=r(4942),a=r(4358),i=r(265),o=r(5339),s=r(4679),c=r(8928),p=r(3193),u=r(59);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e){if(!(e.requestId&&e.cpm&&e.creativeId&&e.ttl&&e.currency))return!1;switch(e.mediaType){case s.Mk:return Boolean(e.width&&e.height&&e.ad);case s.pX:return Boolean(e.vastUrl);case s.B5:return Boolean(e.native);default:return!1}}function y(e,t,r,n){if(t){var a={id:t};n&&(a.ext=n),e.push({source:r,uids:[a]})}}var v={code:"colossusssp",supportedMediaTypes:[s.Mk,s.pX,s.B5],isBidRequestValid:function(e){var t=e.params&&!isNaN(e.params.placement_id),r=e.params&&!isNaN(e.params.group_id);return Boolean(e.bidId&&(t||r))},buildRequests:function(e,t){var r;e=(0,u.lY)(e);var n,o=0,c=0;try{var p=(0,a.Zy)();o=p.screen.width,c=p.screen.height,n=p.location}catch(e){(0,a.ji)(e),n=window.location}var d,l=null===(r=t.refererInfo)||void 0===r?void 0:r.page;try{d=l&&new URL(l)}catch(e){(0,a.ji)(e)}var m=t.ortb2||{},g=m.user,v=m.site,b=m.app,h=d||n,O=[],j={deviceWidth:o,deviceHeight:c,language:navigator&&navigator.language?navigator.language:"",secure:"https:"===h.protocol?1:0,host:h.host,page:h.pathname,userObj:g,siteObj:v,appObj:b,placements:O};t&&(t.uspConsent&&(j.ccpa=t.uspConsent),t.gdprConsent&&(j.gdpr_consent=t.gdprConsent.consentString||"ALL",j.gdpr_require=t.gdprConsent.gdprApplies?1:0));for(var I=0;I<e.length;I++){var X=e[I],w=X.mediaTypes,S={placementId:X.params.placement_id,groupId:X.params.group_id,bidId:X.bidId,tid:X.transactionId,eids:[],floor:{}};X.schain&&(S.schain=X.schain);var k=(0,i.Z)(X,"ortb2Imp.ext.data.pbadslot");if(k&&(S.gpid=k),X.userId&&(y(S.eids,X.userId.britepoolid,"britepool.com"),y(S.eids,X.userId.idl_env,"identityLink"),y(S.eids,X.userId.id5id,"id5-sync.com"),y(S.eids,X.userId.uid2&&X.userId.uid2.id,"uidapi.com"),y(S.eids,X.userId.tdid,"adserver.org",{rtiPartner:"TDID"})),w&&w[s.Mk]?(S.traffic=s.Mk,S.sizes=w[s.Mk].sizes):w&&w[s.pX]?(S.traffic=s.pX,S.sizes=w[s.pX].playerSize,S.playerSize=w[s.pX].playerSize,S.minduration=w[s.pX].minduration,S.maxduration=w[s.pX].maxduration,S.mimes=w[s.pX].mimes,S.protocols=w[s.pX].protocols,S.startdelay=w[s.pX].startdelay,S.placement=w[s.pX].placement,S.skip=w[s.pX].skip,S.skipafter=w[s.pX].skipafter,S.minbitrate=w[s.pX].minbitrate,S.maxbitrate=w[s.pX].maxbitrate,S.delivery=w[s.pX].delivery,S.playbackmethod=w[s.pX].playbackmethod,S.api=w[s.pX].api,S.linearity=w[s.pX].linearity):w&&w[s.B5]&&(S.traffic=s.B5,S.native=w[s.B5]),"function"==typeof X.getFloor){var B,A={},P=f(S.sizes);try{for(P.s();!(B=P.n()).done;){var _=B.value;(A=X.getFloor({currency:"USD",mediaType:S.traffic,size:_}))&&(S.floor["".concat(_[0],"x").concat(_[1])]=A.floor)}}catch(e){P.e(e)}finally{P.f()}}O.push(S)}return{method:"POST",url:"https://colossusssp.com/?c=o&m=multi",data:j}},interpretResponse:function(e){var t=[];try{e=e.body;for(var r=0;r<e.length;r++){var n=e[r];if(g(n)){var i=n.adomain&&n.adomain.length?n.adomain:[];n.meta=l(l({},n.meta),{},{advertiserDomains:i}),t.push(n)}}}catch(e){(0,a.ji)(e)}return t},getUserSyncs:function(e,t,r,n){var a=e.iframeEnabled?"iframe":"image",i="https://sync.colossusssp.com"+"/".concat(a,"?pbjs=1");r&&r.consentString&&("boolean"==typeof r.gdprApplies?i+="&gdpr=".concat(Number(r.gdprApplies),"&gdpr_consent=").concat(r.consentString):i+="&gdpr=0&gdpr_consent=".concat(r.consentString)),n&&n.consentString&&(i+="&ccpa_consent=".concat(n.consentString));var o=p.vc.getConfig("coppa")?1:0;return[{type:a,url:i+="&coppa=".concat(o)}]},onBidWon:function(e){e.nurl&&(0,c.h)(e.nurl,null)}};(0,o.dX)(v),window.pbjs.installedModules.push("colossussspBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=2500,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[1391],{9950:function(e,t,r){var n=r(6475),i=r(4358),o=r(5339),a=r(4679),c=r(3193),s=r(4192),u={code:"connectad",gvlid:138,aliases:["connectadrealtime"],supportedMediaTypes:[a.Mk],isBidRequestValid:function(e){return!(!e.params.networkId||!e.params.siteId)},buildRequests:function(e,t){var r,i,o,a={method:"POST",url:"",data:"",bidRequest:[]};if(e.length<1)return a;var u,d=Object.assign({placements:[],time:Date.now(),user:{},url:(null===(r=t.refererInfo)||void 0===r?void 0:r.page)||window.location.href,referrer:null===(i=t.refererInfo)||void 0===i?void 0:i.ref,referrer_info:null===(o=t.refererInfo)||void 0===o?void 0:o.legacy,screensize:[window.screen.width,window.screen.height].join("x"),dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,language:navigator.language,ua:navigator.userAgent,pversion:"7.39.0"});(!0===c.vc.getConfig("coppa")&&(0,n.N)(d,"user.coppa",1),e[0].schain&&(0,n.N)(d,"source.ext.schain",e[0].schain),t.gdprConsent)&&("boolean"==typeof t.gdprConsent.gdprApplies&&(u=t.gdprConsent.gdprApplies?1:0),(0,n.N)(d,"user.ext.gdpr",u),(0,n.N)(d,"user.ext.consent",t.gdprConsent.consentString));return t.uspConsent&&(0,n.N)(d,"user.ext.us_privacy",t.uspConsent),e[0].userId&&(0,n.N)(d,"user.ext.eids",(0,s.HQ)(e[0].userId)),e.map((function(e){var t=Object.assign({id:e.transactionId,divName:e.bidId,pisze:e.mediaTypes.banner.sizes[0]||e.sizes[0],sizes:e.mediaTypes.banner.sizes,adTypes:f(e.mediaTypes.banner.sizes||e.sizes),bidfloor:p(e),siteId:e.params.siteId,networkId:e.params.networkId});t.networkId&&t.siteId&&d.placements.push(t)})),a.data=JSON.stringify(d),a.bidRequest=e,a.url="https://i.connectad.io/api/v2",a},interpretResponse:function(e,t,r){var n,i,o,a=[];i=t.bidRequest,e=(e||{}).body;for(var c=0;c<i.length;c++)if(n={},o=i[c].bidId,e){var s=e.decisions&&e.decisions[o],u=s&&s.pricing&&s.pricing.clearPrice;s&&u&&(n.requestId=o,n.cpm=u,n.width=s.width,n.height=s.height,n.dealid=s.dealid||null,n.meta={advertiserDomains:s&&s.adomain?s.adomain:[]},n.ad=l(s),n.currency="USD",n.creativeId=s.adId,n.ttl=360,n.netRevenue=!0,a.push(n))}return a},transformBidParams:function(e,t){return(0,i.uh)({siteId:"number",networkId:"number"},e)},getUserSyncs:function(e,t,r,n){var o="https://cdn.connectad.io/connectmyusers.php?";if(r&&(o=(0,i.t0)(o,"gdpr",r.gdprApplies?1:0)),r&&"string"==typeof r.consentString&&(o=(0,i.t0)(o,"gdpr_consent",r.consentString)),n&&(o=(0,i.t0)(o,"us_privacy",n)),!0===c.vc.getConfig("coppa")&&(o=(0,i.t0)(o,"coppa",1)),e.iframeEnabled)return[{type:"iframe",url:o}];(0,i.yN)("Bidder ConnectAd: Please activate iFrame Sync")}},d=[null,"120x90","200x200","468x60","728x90","300x250","160x600","120x600","300x100","180x150","336x280","240x400","234x60","88x31","120x60","120x240","125x125","220x250","250x250","250x90","0x0","200x90","300x50","320x50","320x480","185x185","620x45","300x125","800x250","980x120","980x150","320x150","300x300","200x600","320x500","320x320"];function p(e){var t={};return"function"==typeof e.getFloor&&(t=e.getFloor({currency:"USD",mediaType:"banner",size:"*"})),t.floor||e.params.bidfloor||e.params.floorprice||0}function f(e){var t=[];return e.forEach((function(e){var r=d.indexOf(e[0]+"x"+e[1]);r>=0&&t.push(r)})),t}function l(e){return e.contents&&e.contents[0]&&e.contents[0].body}d[77]="970x90",d[123]="970x250",d[43]="300x600",d[286]="970x66",d[3230]="970x280",d[429]="486x60",d[374]="700x500",d[934]="300x1050",d[1578]="320x100",d[331]="320x250",d[3301]="320x267",d[2730]="728x250",(0,o.dX)(u),window.pbjs.installedModules.push("connectadBidAdapter")},4192:function(e,t,r){r.d(t,{HQ:function(){return c},Pv:function(){return s},UR:function(){return o}});var n=r(4358),i=r(265),o={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var t=(0,n.ei)(e,["h1","h2","h3"]);if(Object.keys(t).length)return t}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var t="";return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=(0,n.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return void 0===e.snowflake.id?e.snowflake:e.snowflake.id},source:"novatiq.com"},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},czechAdId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function a(e,t){var r=o[t];if(r&&e){var i={};i.source=(0,n.LQ)(r.getSource)?r.getSource(e):r.source;var a=(0,n.LQ)(r.getValue)?r.getValue(e):e;if((0,n.d8)(a)){var c={id:a,atype:r.atype};if((0,n.LQ)(r.getUidExt)){var s=r.getUidExt(e);s&&(c.ext=s)}if(i.uids=[c],(0,n.LQ)(r.getEidExt)){var u=r.getEidExt(e);u&&(i.ext=u)}return i}}return null}function c(e){var t=[],r=function(r){if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[r]))e[r].forEach((function(e,n,i){var o=a(e,r);o&&t.push(o)}));else{var n=a(e[r],r);n&&t.push(n)}};for(var n in e)r(n);return t}function s(e){var t=[];return e.filter((function(e){return(0,n.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){(0,i.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,i.Z)(o,r+".source")&&t.push({source:o[r].source,bidders:e.config.bidders})}))})),t}}},function(e){e.O(0,[6866],(function(){return t=9950,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[3434],{6564:function(e,r,a){var n=a(9062),i=a(4358),t=a(265),s=a(6475),o=a(5339),d=a(4679),u=a(5164),p="conversant",c=(0,u.df)({gvlid:24,bidderCode:p}),m={code:p,gvlid:24,aliases:["cnvr"],supportedMediaTypes:[d.Mk,d.pX],isBidRequestValid:function(e){if(!e||!e.params)return(0,i.yN)("conversant: Missing bid parameters"),!1;if(!(0,i.d8)(e.params.site_id))return(0,i.yN)("conversant: site_id must be specified as a string"),!1;if(v(e)){var r=e.params.mimes||(0,t.Z)(e,"mediaTypes.video.mimes");if(r){if(!(0,i.kJ)(r)||!r.every((function(e){return(0,i.d8)(e)})))return(0,i.yN)("conversant: mimes must be an array of strings"),!1}else(0,i.yN)("conversant: mimes should be specified for videos")}return!0},buildRequests:function(e,r){var a,n=r&&r.refererInfo?r.refererInfo.page:"",o="",d="",u=null,p="_pubcid",m="https://web.hb.ad.cpe.dotomi.com/cvx/client/hb/ortb/25",g=e.map((function(e){var r=function(e){var r=(0,i.An)("bidfloor",e.params);if(!r&&(0,i.LQ)(e.getFloor)){var a=e.getFloor({currency:"USD",mediaType:"*",size:"*"});(0,i.PO)(a)&&!isNaN(a.floor)&&"USD"===a.currency&&(r=a.floor)}return r}(e);o=(0,i.An)("site_id",e.params)||o,p=(0,i.An)("pubcid_name",e.params)||p,d=e.auctionId;var a={id:e.bidId,secure:1,bidfloor:r||0,displaymanager:"Prebid.js",displaymanagerver:"7.39.0"};if(e.ortb2Imp&&(0,i.Ee)(a,e.ortb2Imp),f(e.params.tag_id,a,"tagid"),v(e)){var n=(0,t.Z)(e,"mediaTypes.video")||{},s=l(n.playerSize||e.sizes),c={};s&&s[0]&&(f(s[0].w,c,"w"),f(s[0].h,c,"h")),f(e.params.position||n.pos,c,"pos"),f(e.params.mimes||n.mimes,c,"mimes"),f(e.params.maxduration||n.maxduration,c,"maxduration"),f(e.params.protocols||n.protocols,c,"protocols"),f(e.params.api||n.api,c,"api"),a.video=c}else{var g=(0,t.Z)(e,"mediaTypes.banner")||{},b={format:l(g.sizes||e.sizes)};f(e.params.position||g.pos,b,"pos"),a.banner=b}return e.userId&&e.userId.pubcid?u=e.userId.pubcid:e.crumbs&&e.crumbs.pubcid&&(u=e.crumbs.pubcid),e.params.white_label_url&&(m=e.params.white_label_url),a})),b={id:d,imp:g,site:{id:o,mobile:null!==document.querySelector('meta[name="viewport"][content*="width=device-width"]')?1:0,page:n},device:(a=navigator.language?"language":"userLanguage",{h:screen.height,w:screen.width,dnt:"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNoTrack||"yes"===navigator.doNotTrack?1:0,language:navigator[a].split("-")[0],make:navigator.vendor?navigator.vendor:"",ua:navigator.userAgent}),at:1},h={},y=(0,t.Z)(e,"0.schain");y&&(0,s.N)(b,"source.ext.schain",y),r&&(r.gdprConsent&&(h.consent=r.gdprConsent.consentString,"boolean"==typeof r.gdprConsent.gdprApplies&&(0,s.N)(b,"regs.ext.gdpr",r.gdprConsent.gdprApplies?1:0)),r.uspConsent&&(0,s.N)(b,"regs.ext.us_privacy",r.uspConsent)),u||(u=function(e){var r;try{if(!(r=c.getCookie(e))){var a=c.getDataFromLocalStorage("".concat(e,"_exp"));(""===a||a&&new Date(a).getTime()-Date.now()>0)&&(r=(r=c.getDataFromLocalStorage(e))?decodeURIComponent(r):r)}(0,i.d8)(r)&&"{"===r.charAt(0)&&(r=JSON.parse(r))}catch(e){(0,i.H)(e)}return r}(p)),u&&(h.fpc=u);var w=function(e){var r=e[0],a=[];if((0,i.kJ)(r.userIdAsEids)&&r.userIdAsEids.length>0){var n={"epsilon.com":1,"adserver.org":1,"liveramp.com":1,"criteo.com":1,"id5-sync.com":1,"parrable.com":1,"liveintent.com":1};r.userIdAsEids.forEach((function(e){n.hasOwnProperty(e.source)&&a.push(e)}))}return a}(e);w.length>0&&(h.eids=w),(0,i.xb)(h)||(b.user={ext:h});var I=r.ortb2||{};return(0,i.Ee)(b,I),{method:"POST",url:m,data:b}},interpretResponse:function(e,r){var a=[],n={};return e=e.body,r&&r.data&&r.data.imp&&(0,i.yi)(r.data.imp,(function(e){return n[e.id]=e})),e&&(0,i.kJ)(e.seatbid)&&(0,i.yi)(e.seatbid,(function(r){(0,i.yi)(r.bid,(function(r){var i=parseFloat(r.price);if(i>0&&r.impid){var t=r.adm||"",s=r.nurl||"",o=n[r.impid],d={requestId:r.impid,currency:e.cur||"USD",cpm:i,creativeId:r.crid||"",ttl:300,netRevenue:!0,meta:{}};r.adomain&&r.adomain.length>0&&(d.meta.advertiserDomains=r.adomain),o.video?("<"===t.charAt(0)?d.vastXml=t:d.vastUrl=t,d.mediaType="video",d.width=o.video.w,d.height=o.video.h):(d.ad=t+'<img src="'+s+'" />',d.width=r.w,d.height=r.h),a.push(d)}}))})),a},transformBidParams:function(e,r){return(0,i.uh)({site_id:"string",secure:"number",mobile:"number"},e)},getUserSyncs:function(e,r,a,t){var s={},o=[];if(a&&(s.gdpr=a.gdprApplies?1:0,s.gdpr_consent=encodeURIComponent(a.consentString||"")),t&&(s.us_privacy=encodeURIComponent(t)),r&&r.ext){var d=[{urls:r.ext.fsyncs,type:"iframe"},{urls:r.ext.psyncs,type:"image"}].filter((function(r){return r.urls&&("iframe"===r.type&&e.iframeEnabled||"image"===r.type&&e.pixelEnabled)})).map((function(e){return e.urls.map((function(r){var a=(0,i.en)(r);return(0,i.Ee)(a.search,s),0===Object.keys(a.search).length&&delete a.search,{type:e.type,url:(0,i.Q2)(a)}})).reduce((function(e,r){return e.concat(r)}),[])})).reduce((function(e,r){return e.concat(r)}),[]);o.push.apply(o,(0,n.Z)(d))}return o}};function l(e){var r;return Array.isArray(e)&&(r=2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]?[{w:e[0],h:e[1]}]:(0,i.HA)(e,(function(e){return{w:e[0],h:e[1]}}))),r}function v(e){return"video"===e.mediaType||!!(0,t.Z)(e,"mediaTypes.video")}function f(e,r,a){e&&(r[a]=e)}(0,o.dX)(m),window.pbjs.installedModules.push("conversantBidAdapter")}},function(e){e.O(0,[6866],(function(){return r=6564,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9073],{7713:function(e,n,o){var t=o(4358),r=o(8928),c=o(5102),i=o(2797),a="criteo",d=(0,o(5164).df)({gvlid:91,moduleName:a}),l="cto_bidid",u="cto_bundle",s=new Date(0).toString(),p=new Date((0,t.AB)()+33696e6).toString();function f(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=(0,t.en)(e,{noDecodeWholeURL:!0});return n?"".concat(o.hostname):"".concat(o.protocol,"://").concat(o.hostname).concat(o.port?":"+o.port:"","/")}function b(e){return d.getCookie(e)||d.getDataFromLocalStorage(e)}function g(e,n,o){e&&n&&(d.setDataInLocalStorage(e,n),m(e,n,p,o,!0))}function m(e,n,o,t,r){for(var c=t.split("."),i=0;i<c.length;++i){var a=c.slice(c.length-i-1,c.length).join(".");try{if(d.setCookie(e,n,o,null,"."+a),r){var l=d.getCookie(e);if(l&&l===n)break}}catch(e){}}}function h(e,n,o){var i=d.cookiesAreEnabled(),a=d.localStorageIsEnabled(),p=f((0,c.nH)().page),b=f(document.location.href,!0),h="undefined"!=typeof criteo_pubtag,v=function(e,n,o,t,r,c,i,a){return"https://gum.criteo.com/sid/json?origin=prebid"+"".concat(e?"&topUrl="+encodeURIComponent(e):"")+"".concat(n?"&domain="+encodeURIComponent(n):"")+"".concat(o?"&bundle="+encodeURIComponent(o):"")+"".concat(t?"&info="+encodeURIComponent(t):"")+"".concat(a?"&gdprString="+encodeURIComponent(a):"")+"".concat(r?"&cw=1":"")+"".concat(i?"&pbt=1":"")+"".concat(c?"&lsw=1":"")}(p,b,e.bundle,e.dnaBundle,i,a,h,n),I={success:function(e){var n,c=JSON.parse(e);(c.pixels&&c.pixels.forEach((function(e){return function(e,n){n.writeBundleInStorage&&n.bundlePropertyName&&n.storageKeyName?(0,r.h)(n.pixelUrl,{success:function(o){if(o){var t=JSON.parse(o);t&&t[n.bundlePropertyName]&&g(n.storageKeyName,t[n.bundlePropertyName],e)}}},void 0,{method:"GET",withCredentials:!0}):(0,t.hq)(n.pixelUrl)}(b,e)})),c.acwsUrl)?("string"==typeof c.acwsUrl?[c.acwsUrl]:c.acwsUrl).forEach((function(e){return(0,t.hq)(e)})):c.bundle&&g(u,c.bundle,b);if(c.bidId){g(l,c.bidId,b);var i={criteoId:c.bidId};o(i)}else m(n=l,"",s,b,!0),d.removeDataFromLocalStorage(n),o()},error:function(e){(0,t.H)("criteoIdSystem: unable to sync user id",e),o()}};(0,r.h)(v,I,void 0,{method:"GET",contentType:"application/json",withCredentials:!0})}var v={name:a,gvlid:91,decode:function(e){return e},getId:function(e,n){var o=n&&"boolean"==typeof n.gdprApplies&&n.gdprApplies?n.consentString:void 0,t={bundle:b(u),dnaBundle:b("cto_dna_bundle"),bidId:b(l)};return{id:t.bidId?{criteoId:t.bidId}:void 0,callback:function(e){return h(t,o,e)}}}};(0,i.Bx)("userId",v),window.pbjs.installedModules.push("criteoIdSystem")}},function(e){e.O(0,[6866],(function(){return n=7713,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9226],{2663:function(r,e,n){var o,c=n(1002),t=n(4358),i=n(8640),u=n(5644),s=n(8928),a=n(3193),f=n(2797),d=n(8792),l=n(6372),y=n(9128),v="https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json?date=$$TODAY$$",p=[],h={},g=!1,C=!0,b="USD",m=!1,w={},R={},P=function(){var r;function e(){r=(0,d.P)()}return e(),{done:function(){return r.resolve()},reset:e,promise:function(){return r.promise}}}();function N(r){o?((0,t.yN)(r),(0,t.yN)("Currency failed loading rates, falling back to currency.defaultRates")):(0,t.H)(r)}function S(r){h={},m=!0,(0,t.PN)("Installing addBidResponse decorator for currency module",arguments),(0,i.R)().convertCurrency=function(r,e,n){return parseFloat(r)*F(e,n)},(0,f.v5)("addBidResponse").before(O,100),C?(C=!1,(0,s.h)(r,{success:function(r){try{w=JSON.parse(r),(0,t.PN)("currencyRates set to "+JSON.stringify(w)),h={},g=!0,j(),P.done()}catch(e){N("Failed to parse currencyRates response: "+r)}},error:function(){N.apply(void 0,arguments),P.done()}})):P.done()}function D(){(0,t.PN)("Uninstalling addBidResponse decorator for currency module",arguments),(0,f.v5)("addBidResponse").getHooks({hook:O}).remove(),delete(0,i.R)().convertCurrency,b="USD",h={},m=!1,g=!1,C=!0,w={},R={}}a.vc.getConfig("currency",(function(r){return function(r){var e=v;if("object"===(0,c.Z)(r.rates)&&(w.conversions=r.rates,g=!0,C=!1),"object"===(0,c.Z)(r.defaultRates)&&(o=r.defaultRates,w.conversions=o,g=!0),"string"==typeof r.adServerCurrency){(0,t.PN)("enabling currency support",arguments),b=r.adServerCurrency,r.conversionRateFile&&((0,t.PN)("currency using override conversionRateFile:",r.conversionRateFile),e=r.conversionRateFile);var n=e.indexOf("$$TODAY$$");if(-1!==n){var i=new Date,u="".concat(i.getMonth()+1),s="".concat(i.getDate());u.length<2&&(u="0".concat(u)),s.length<2&&(s="0".concat(s));var a="".concat(i.getFullYear()).concat(u).concat(s);e="".concat(e.substring(0,n)).concat(a).concat(e.substring(n+9,e.length))}S(e)}else(0,t.PN)("disabling currency support"),D();"object"===(0,c.Z)(r.bidderCurrencyDefault)&&(R=r.bidderCurrencyDefault)}(r.currency)}));var O=(0,y.A)("currency",(function(r,e,n,o){if(!n)return r.call(this,e,n,o);var c=n.bidderCode||n.bidder;if(R[c]){var i=R[c];n.currency&&i!==n.currency?(0,t.yN)("Currency default '".concat(c,": ").concat(i,"' ignored. adapter specified '").concat(n.currency,"'")):n.currency=i}if(n.currency||((0,t.yN)('Currency not specified on bid.  Defaulted to "USD"'),n.currency="USD"),n.getCpmInNewCurrency=function(r){return(parseFloat(this.cpm)*F(this.currency,r)).toFixed(3)},n.currency===b)return r.call(this,e,n,o);p.push(function(r,e,n){return function(){var o=n[1];if(void 0!==o&&"currency"in o&&"cpm"in o){var c=o.currency;try{var i=F(c);1!==i&&(o.cpm=(parseFloat(o.cpm)*i).toFixed(4),o.currency=b)}catch(r){(0,t.yN)("Returning NO_BID, getCurrencyConversion threw error: ",r),n[1]=n[2](u.Gw.Xx)}}return r.apply(e,n)}}(r,this,[e,n,o])),!m||g?j():r.untimed.bail(P.promise())}));function j(){for(;p.length>0;)p.shift()()}function F(r){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b,o=null,c="".concat(r,"->").concat(n);if(c in h)o=h[c],(0,t.ji)("Using conversionCache value "+o+" for "+c);else if(!1===m){if("USD"!==r)throw new Error("Prebid currency support has not been enabled and fromCurrency is not USD");o=1}else if(r===n)o=1;else if(r in w.conversions){if(!(n in(e=w.conversions[r])))throw new Error("Specified adServerCurrency in config '"+n+"' not found in the currency rates file");o=e[n],(0,t.PN)("getCurrencyConversion using direct "+r+" to "+n+" conversionRate "+o)}else if(n in w.conversions){if(!(r in(e=w.conversions[n])))throw new Error("Specified fromCurrency '"+r+"' not found in the currency rates file");o=U(1/e[r],4),(0,t.PN)("getCurrencyConversion using reciprocal "+r+" to "+n+" conversionRate "+o)}else{var i=Object.keys(w.conversions)[0];if(!(r in w.conversions[i]))throw new Error("Specified fromCurrency '"+r+"' not found in the currency rates file");var u=1/w.conversions[i][r];if(!(n in w.conversions[i]))throw new Error("Specified adServerCurrency in config '"+n+"' not found in the currency rates file");var s=w.conversions[i][n];o=U(u*s,4),(0,t.PN)("getCurrencyConversion using intermediate "+r+" thru "+i+" to "+n+" conversionRate "+o)}return c in h||((0,t.ji)("Adding conversionCache value "+o+" for "+c),h[c]=o),o}function U(r,e){for(var n=1,o=0;o<e;o++)n+="0";return Math.round(r*n)/n}(0,l.f8)({type:l.Z,name:"currency",fn:function(r,e,n){m&&(r.cur=r.cur||[n.currency||b])}}),window.pbjs.installedModules.push("currency")},6372:function(r,e,n){n.d(e,{DZ:function(){return i},Px:function(){return u},TP:function(){return a},YC:function(){return s},Z:function(){return t},f8:function(){return v},fP:function(){return p},gm:function(){return o},md:function(){return f}});var o=["request","imp","bidResponse","response"],c=["default","pbs"],t=o[0],i=o[1],u=o[2],s=o[3],a=c[0],f=c[1],d=new Set(o);var l,y=(l={},{registerOrtbProcessor:function(r){var e=r.type,n=r.name,c=r.fn,t=r.priority,i=void 0===t?0:t,u=r.dialects,s=void 0===u?[a]:u;if(!d.has(e))throw new Error("ORTB processor type must be one of: ".concat(o.join(", ")));s.forEach((function(r){l.hasOwnProperty(r)||(l[r]={}),l[r].hasOwnProperty(e)||(l[r][e]={}),l[r][e][n]={priority:i,fn:c}}))},getProcessors:function(r){return l[r]||{}}}),v=y.registerOrtbProcessor,p=y.getProcessors}},function(r){r.O(0,[6866],(function(){return e=2663,r(r.s=e);var e}));r.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8806],{9749:function(){window.pbjs.installedModules.push("enrichmentFpdModule")}},function(n){n.O(0,[6866],(function(){return s=9749,n(n.s=s);var s}));n.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2401],{316:function(n,e,t){var r=t(1002),i=t(4358),o=t(8640),a=t(5339),d=t(5164),s=t(4679),c="eplanning",u=(0,d.df)({bidderCode:c}),p=Math.random(),f="i.e-planning.net",l=["ci","sv","t","ml","sn"],m="pbsr_",v="pbvi_",g=window.navigator.userAgent.match(/(mobile)|(ip(hone|ad))|(android)|(blackberry)|(nokia)|(phone)|(opera\smini)/i),h=["1x1","300x50","320x50","300x250"],b=["1x1","970x90","970x250","160x600","300x600","728x90","300x250"],y="640x480",x={code:c,supportedMediaTypes:[s.Mk,s.pX],isBidRequestValid:function(n){return Boolean(n.params.ci)||Boolean(n.params.t)},buildRequests:function(n,e){var t,i,a,d,c,g=function(n){if(function(n){for(var e=0;e<n.length;e++)if(n[e].params.t)return!0;return!1}(n))return function(n){var e;return n.forEach((function(n){return e=e||n.params.isv})),{t:!0,isv:e||f}}(n.filter((function(n){return n.params.t})));var e={};return n.forEach((function(n){l.forEach((function(t){n.params[t]&&!e[t]&&(e[t]=n.params[t])}))})),e}(n),h=function(){try{return window.top.document.charset||window.top.document.characterSet}catch(n){return document.charset||document.characterSet}}(),b=function(n,e){var t=n.reduce((function(n,e){return e.mediaTypes&&e.mediaTypes[s.pX]?"outstream"==e.mediaTypes[s.pX].context?2|n:1|n:n}),0);t&&(n=n.filter((function(n){return n.mediaTypes&&n.mediaTypes[s.pX]&&(1&t?!n.mediaTypes[s.pX].context||"instream"==n.mediaTypes[s.pX].context:"outstream"==n.mediaTypes[s.pX].context)})));var r=(o=n,a={},o.forEach((function(n){var e=I(n,!0);a[e]=a[e]?a[e]:[],a[e].push(n)})),a),i={str:"",vs:"",map:{},impType:t};var o,a;return i.str=Object.keys(r).map((function(n){return r[n].map((function(n,r){var o;if(i.vs+=function(n){var e,t="";u.hasLocalStorage()?(e=function(n){var e=u.getDataFromLocalStorage(m+n.adUnitCode)||0,t=u.getDataFromLocalStorage(v+n.adUnitCode)||0,r=e>0?t/e:0;return{render:e,ratio:window.parseInt(10*r,10)}}(n),t+=e.render>=4?e.ratio.toString(16):"F"):t+="F";return t}(n),t){var a=function(n){if(null==n||!Array.isArray(n))return;var e=Array.isArray(n[0])?n[0]:n;return Array.isArray(e)&&2==e.length?e:void 0}(n.mediaTypes[s.pX].playerSize),d=a?a.join("x"):y;return o="video_"+d+"_"+r,i.map[o]=n.bidId,o+":"+d+";1"}return o=e?function(n){return n.replace(/_|\.|-|\//g,"").replace(/\)\(|\(|\)|:/g,"_").replace(/^_+|_+$/g,"")}(n.adUnitCode):n.params&&n.params.sn||I(n,!0)+"_"+r,i.map[o]=n.bidId,o+":"+I(n)})).join("+")})).join("+"),i}(n,g.ml),x=e.refererInfo.page||e.refererInfo.topmostLocation,w=e.refererInfo.domain||window.location.host;if(g.t)t="https://"+g.isv+"/layers/t_pbjs_2.json",i={};else{t="https://"+(g.sv||"pbjs.e-planning.net")+"/pbjs/1/"+g.ci+"/1/"+w+"/ROS";var C=e.refererInfo.ref||e.refererInfo.topmostLocation;if(u.hasLocalStorage()&&(a=[],n.forEach((function(n){var e=E(n.adUnitCode);e?S(e,n.adUnitCode):a.push(n.adUnitCode)})),a.length&&(d=a,c=new MutationObserver((function(n,e){var t,r;n&&Array.isArray(n)&&n.forEach((function(n){n&&n.addedNodes&&Array.isArray(n.addedNodes)&&n.addedNodes.forEach((function(n){t=d.indexOf(n.id),r=n,t<0&&d.forEach((function(e){var i=E(e);i&&i.contains(n)&&i.getBoundingClientRect().width>0&&(t=d.indexOf(i.id),r=i)})),t>=0&&(S(r,d[t]),d.splice(t,1),d.length||e.disconnect())}))}))})),document.addEventListener("DOMContentLoaded",(function(n){var e={childList:!0,subtree:!0,characterData:!0};c.observe(document.body,e)})))),i={rnd:p,e:b.str,ur:T(x||"file"),pbv:"7.39.0",ncb:"1",vs:b.vs},h&&(i.crs=h),C&&(i.fr=T(C)),e&&e.gdprConsent&&void 0!==e.gdprConsent.gdprApplies&&(i.gdpr=e.gdprConsent.gdprApplies?"1":"0",void 0!==e.gdprConsent.consentString&&(i.gdprcs=e.gdprConsent.consentString)),e&&e.uspConsent&&(i.ccpa=e.uspConsent),(0,o.R)().getUserIds&&"function"==typeof(0,o.R)().getUserIds){var R=(0,o.R)().getUserIds();for(var U in R)i["e_"+U]="object"===(0,r.Z)(R[U])?encodeURIComponent(JSON.stringify(R[U])):encodeURIComponent(R[U])}b.impType&&(i.vctx=1&b.impType?1:2,i.vv=3)}return{method:"GET",url:t,data:i,adUnitToBidId:b.map}},interpretResponse:function(n,e){var t=n.body,r=[];return t&&!(0,i.xb)(t.sp)&&t.sp.forEach((function(n){(0,i.xb)(n.a)||n.a.forEach((function(t){var i={requestId:e.adUnitToBidId[n.k],cpm:t.pr,width:t.w,height:t.h,ttl:120,creativeId:t.crid,netRevenue:true,currency:"USD"};t.adom&&(i.meta={advertiserDomains:t.adom}),e&&e.data&&e.data.vv?(i.vastXml=t.adm,i.mediaType=s.pX):i.ad=t.adm,r.push(i)}))})),r},getUserSyncs:function(n,e){var t=[],o=!(0,i.xb)(e)&&e[0].body;o&&!(0,i.xb)(o.cs)&&o.cs.forEach((function(e){"string"==typeof e&&n.pixelEnabled?t.push({type:"image",url:e}):"object"===(0,r.Z)(e)&&e.ifr&&n.iframeEnabled&&t.push({type:"iframe",url:e.u})}));return t}};function w(){return(0,i.e7)().innerWidth<=1024||window.orientation||g}function C(n,e){var t=w()?h:b,r=t.indexOf(n),i=t.indexOf(e);return r>-1?i>-1&&r<i?1:-1:i>-1?1:0}function I(n,e){var t,r=n.sizes&&n.sizes.length?(t=n.sizes,(0,i.sF)(t).sort(C)):[];return r.length?e?r[0]:r.join(","):"1x1"}function S(n,e){var t;(t={name:e,div:n}).div&&(R(m+t.name),function(){var n,e=5,t=1e3,r=.5,i={};function o(n){n.forEach((function(n){var e=n.target;n.isIntersecting?n.intersectionRatio>=r&&n.boundingClientRect&&n.boundingClientRect.height>0&&n.boundingClientRect.width>0&&(i[e.id]=!0):i[e.id]=!1}))}function a(n){return i[n.id]&&document.visibilityState&&"visible"===document.visibilityState}function d(){if(!n){var e={root:null,rootMargin:"0px",threshold:[r]};n=new IntersectionObserver(o.bind(this),e)}}function s(n,r,i){var o=a(r)?n+1:0;o===e?(c(r),i()):setTimeout(s.bind(this,o,r,i),t/e)}function c(e){delete i[e.id],n.unobserve(e)}function u(e){n.observe(e)}function p(n,e){n&&(d(),u(n),s(0,n,e))}return{onView:p.bind(this)}}().onView(t.div,R.bind(void 0,v+t.name)))}function E(n){return document.getElementById(n)||document.getElementById(function(n){if((0,i.T9)())for(var e=googletag.pubads().getSlots(),t=(0,i.CS)(n),r=0;r<e.length;r++)if(t(e[r]))return e[r].getSlotElementId();return null}(n))}function T(n){return n.length>255&&(n=n.split("?")[0]).length>255&&(n=n.slice(0,255)),n}function R(n){var e;try{e=(e=u.getDataFromLocalStorage(n))?window.parseInt(e,10)+1:1,u.setDataInLocalStorage(n,e)}catch(n){return!1}return!0}(0,a.dX)(x),window.pbjs.installedModules.push("eplanningBidAdapter")}},function(n){n.O(0,[6866],(function(){return e=316,n(n.s=e);var e}));n.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[5296],{6787:function(t,e,o){var r=o(4358),n=o(265),a=o(3193),d=o(2797),u=o(4614),c=void 0,i={},s=!1,f=function(t){var e=i.customGptSlotMatching;if((0,r.T9)()){var o=t.reduce((function(t,e){return t[e.code]=e,t}),{});window.googletag.pubads().getSlots().forEach((function(t){var n=(0,u.sE)(Object.keys(o),e?e(t):(0,r.zV)(t));if(n){var a=o[n];a.ortb2Imp=a.ortb2Imp||{},a.ortb2Imp.ext=a.ortb2Imp.ext||{},a.ortb2Imp.ext.data=a.ortb2Imp.ext.data||{};var d=a.ortb2Imp.ext.data;d.adserver=d.adserver||{},d.adserver.name="gam",d.adserver.adslot=p(t.getAdUnitPath())}}))}},p=function(t){return(a.vc.getConfig("gptPreAuction")||{}).mcmEnabled?t.replace(/(^\/\d*),\d*\//,"$1/"):t},l=function(t,e){var o=t.ortb2Imp.ext.data;if(o.pbadslot)return o.pbadslot;if((0,r.T9)()){var n=window.googletag.pubads().getSlots().filter((function(t){return t.getAdUnitPath()===e}));if(0!==n.length)return 1===n.length?e:"".concat(e,"#").concat(t.code)}},b=function(t){var e=t.ortb2Imp.ext.data,o=i.customPbAdSlot;if(!e.pbadslot)if(o)e.pbadslot=o(t.code,(0,n.Z)(e,"adserver.adslot"));else{try{var r=document.getElementById(t.code);if(r.dataset.adslotid)return void(e.pbadslot=r.dataset.adslotid)}catch(t){}if(!(0,n.Z)(e,"adserver.adslot"))return e.pbadslot=t.code,!0;e.pbadslot=e.adserver.adslot}},m=function(t,e){f(e);var o=i,r=o.useDefaultPreAuction,a=o.customPreAuction;e.forEach((function(t){t.ortb2Imp=t.ortb2Imp||{},t.ortb2Imp.ext=t.ortb2Imp.ext||{},t.ortb2Imp.ext.data=t.ortb2Imp.ext.data||{};var e=t.ortb2Imp.ext;if(a||r){var o,d=(0,n.Z)(e,"data.adserver.adslot");a?o=a(t,d):r&&(o=l(t,d)),o&&(e.gpid=e.data.pbadslot=o)}else{var u=b(t);e.gpid||u||(e.gpid=e.data.pbadslot)}}));for(var d=arguments.length,u=new Array(d>2?d-2:0),s=2;s<d;s++)u[s-2]=arguments[s];return t.call.apply(t,[c,e].concat(u))},v=function(t){(i=(0,r.ei)(t,["enabled",function(t){return!1!==t},"customGptSlotMatching",function(t){return"function"==typeof t&&t},"customPbAdSlot",function(t){return"function"==typeof t&&t},"customPreAuction",function(t){return"function"==typeof t&&t},"useDefaultPreAuction",function(t){return!0===t}])).enabled?s||((0,d.v5)("makeBidRequests").before(m),s=!0):((0,r.PN)("".concat("GPT Pre-Auction",": Turning off module")),i={},(0,d.v5)("makeBidRequests").getHooks({hook:m}).remove(),s=!1)};a.vc.getConfig("gptPreAuction",(function(t){return v(t.gptPreAuction)})),v({}),window.pbjs.installedModules.push("gptPreAuction")}},function(t){t.O(0,[6866],(function(){return e=6787,t(t.s=e);var e}));t.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[625],{5374:function(e,n,t){var i=t(4942),r=t(1002),o=t(3324),a=t(4679),c=t(4358),d=t(265),p=t(3193),s=t(5164),u=t(4614),l=t(5339);function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function m(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var g="gumgum",v=(0,s.df)({bidderCode:g}),b={t:0,rq:8,pbv:"7.39.0"},h=[a.Mk,a.pX],y={},w=null;function I(e){var n,i,r,o,a,d,p,s,u,l,f=function(e){return new RegExp("[?#&](".concat(e,"=(.*?))($|&)"),"i")},m={};try{i=(n=t.g.top).screen,r=e||""}catch(e){return(0,c.H)(e),m}return m={vw:n.innerWidth,vh:n.innerHeight,sw:i.width,sh:i.height,pu:(s=r,["ggad","ggdeal"].reduce((function(e,n){var t=s.match(f(n));return t?(t[1]&&(e=e.replace(t[1],"")),t[3]&&(e=e.replace(t[3],"")),e):e}),s)),ce:v.cookiesAreEnabled(),dpr:n.devicePixelRatio||1,jcsi:JSON.stringify(b),ogu:(p=(document&&document.getElementsByTagName("head")[0]).querySelector("meta[property='og:url']"),p?p.content:null)},u=window.navigator&&(window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection),(d=(l=u&&(u.downlink||u.bandwidth))?Math.round(1024*l):null)&&(m.ns=d),(o=(r.match(f("ggad"))||[0,0,0])[2])&&(m[isNaN(o)?"eAdBuyId":"adBuyId"]=o),(a=(r.match(f("ggdeal"))||[0,0,0])[2])&&(m.ggdeal=a),m}function S(e,n){return e.replace("AD_JSON",window.btoa(JSON.stringify(n)))}function C(e){var n=e.digitrustid&&e.digitrustid.data;return!n||n.privacy&&n.privacy.optout?{}:{dt:n.id}}function O(e){var n=0,t=0,i=0;return e.forEach((function(e){var r=(0,o.Z)(e,2),a=r[0],c=r[1],d=a>c?a:c;(d>i||d===i&&a>=n&&c>=t)&&(i=d,n=a,t=c)})),[n,t]}var j={code:g,aliases:["gg"],isBidRequestValid:function(e){var n=e.params,t=e.adUnitCode,i=n.inScreen||n.inScreenPubID||n.inSlot||n.ICV||n.video||n.inVideo||n.slot||n.native||n.zone||n.pubID;if(y[i])return(0,c.yN)("[GumGum] Please check the implementation for ".concat(i," for the placement ").concat(t)),!1;switch(!0){case!!n.zone:case!!n.pubId:case!!n.inScreen:case!!n.inScreenPubID:case!!n.inSlot:case!!n.ICV:case!!n.video:case!!n.inVideo:case!!n.videoPubID:break;default:return(0,c.yN)("[GumGum] No product selected for the placement ".concat(t,", please check your implementation.")),!1}return!(n.bidfloor&&("number"!=typeof n.bidfloor||!isFinite(n.bidfloor)))||((0,c.yN)("[GumGum] bidfloor must be a Number"),!1)},buildRequests:function(e,n){var t=[],i=n&&n.gdprConsent,a=n&&n.uspConsent,s=n&&n.gppConsent,u=p.vc.getConfig("bidderTimeout"),l=!0===p.vc.getConfig("coppa")?1:0,f=n&&n.refererInfo&&n.refererInfo.page;return(0,c.yi)(e,(function(e){var p,g,v,b,h=e.bidId,y=e.mediaTypes,S=void 0===y?{}:y,j=e.params,x=void 0===j?{}:j,D=e.schain,P=e.transactionId,k=e.userId,z=void 0===k?{}:k,T=e.ortb2Imp,R=e.adUnitCode,N=void 0===R?"":R,U=function(e,n,t){var i=Object.keys(e)[0]||"banner",r={floor:0,currency:"USD"};if("function"==typeof t.getFloor){var o=t.getFloor({mediaType:i,size:"*"}),a=o.currency,c=o.floor;c&&(r.floor=c),a&&(r.currency=a),n&&c&&"USD"===a&&(r.floor=Math.max(n,parseFloat(c)))}else n&&(r.floor=n);return r}(S,x.bidfloor,e),Z=U.currency,G=U.floor,V=function(e){var n=["uid","eid","lipbid"];return Object.keys(e).reduce((function(t,i){var o=e[i];switch((0,r.Z)(o)){case"string":t[i]=o;break;case"object":var a=n.filter((function(e){return o.hasOwnProperty(e)}));a.length&&(t[i]=o[a[0]])}return t}),{})}(z),q=(0,d.Z)(T,"ext.data.pbadslot")||(0,d.Z)(T,"ext.data.adserver.adslot"),A=[1,1],E={},F=new Date,M=F.getTime(),B=F.getTimezoneOffset();for(var X in E.lt=M,E.to=B,N&&(E.aun=N),V)E[X]=V[X];if(q&&(E.gpid=q),S.banner?A=S.banner.sizes:S.video&&(A=S.video.playerSize,E=function(e){var n=e.minduration,t=e.maxduration,i=e.linearity,r=e.startdelay,a=e.placement,d=e.protocols,p=void 0===d?[]:d,s=e.playerSize,u=void 0===s?[]:s,l=(0,c.sF)(u),f=l[0]&&l[0].split("x"),m=(0,o.Z)(f,2),g=m[0],v=m[1],b="";return p.length&&(b=p.join(",")),{mind:n,maxd:t,li:i,sd:r,pt:a,pr:b,viw:g,vih:v}}(S.video)),w&&(E.pv=w),G&&(E.fp=G,E.fpc=Z),x.iriscat&&"string"==typeof x.iriscat&&(E.iriscat=x.iriscat),x.irisid&&"string"==typeof x.irisid&&(E.irisid=x.irisid),x.zone||x.pubId)if(x.zone?E.t=x.zone:E.pubId=x.pubId,E.pi=2,x.slot){var J=O(A),H=(0,o.Z)(J,2),_=H[0],L=H[1];E.maxw=_,E.maxh=L,E.si=x.slot,E.pi=3,E.bf=A.reduce((function(e,n){return"".concat(e).concat(e&&",").concat(n[0],"x").concat(n[1])}),"")}else x.native?(E.ni=x.native,E.pi=5):S.video?E.pi=2===S.video.linearity?6:7:x.product&&"skins"===x.product.toLowerCase()&&(E.pi=8);else E=m(m({},E),function(e,n){var t={};e.inScreenPubID&&(t.pubId=e.inScreenPubID,t.pi=2);e.inScreen&&(t.t=e.inScreen,t.pi=2);if(e.inSlot){var i=O(n),r=(0,o.Z)(i,2),a=r[0],c=r[1];t.maxw=a,t.maxh=c,t.si=e.inSlot,t.pi=3,t.bf=n.reduce((function(e,n){return"".concat(e).concat(e&&",").concat(n[0],"x").concat(n[1])}),"")}e.ICV&&(t.ni=e.ICV,t.pi=5);e.videoPubID&&(t.pubId=e.videoPubID,t.pi=7);e.video&&(t.t=e.video,t.pi=7);e.inVideo&&(t.t=e.inVideo,t.pi=6);return t}(x,A));i&&(E.gdprApplies=i.gdprApplies?1:0),E.gdprApplies&&(E.gdprConsent=i.consentString),a&&(E.uspConsent=a),s?E.gppConsent={gppString:n.gppConsent.gppString,applicableSections:n.gppConsent.applicableSections}:!s&&null!=n&&null!==(p=n.ortb2)&&void 0!==p&&null!==(g=p.regs)&&void 0!==g&&g.gpp&&(E.gppConsent={gppString:n.ortb2.regs.gpp,applicableSections:n.ortb2.regs.gpp_sid}),l&&(E.coppa=l),D&&D.nodes&&(E.schain=(b="".concat((v=D).ver,",").concat(v.complete),v.nodes.map((function(e){b+="!".concat(encodeURIComponent(e.asi||""),","),b+="".concat(encodeURIComponent(e.sid||""),","),b+="".concat(encodeURIComponent(e.hp||""),","),b+="".concat(encodeURIComponent(e.rid||""),","),b+="".concat(encodeURIComponent(e.name||""),","),b+="".concat(encodeURIComponent(e.domain||""))})),b)),t.push({id:h,tmax:u,tId:P,pi:E.pi,selector:x.selector,sizes:A,url:"https://g2.gumgum.com/hbid/imp",method:"GET",data:Object.assign(E,I(f),C(z))})})),t},interpretResponse:function(e,n){var t=[],i=e.body;if(!i||i.err){var r=n.data||{},d=r.si||r.ni||r.t||r.pubId,p=i?i.err.drt:18e5;y[d]={productId:r.pi,timestamp:(new Date).getTime()},setTimeout((function(){y[d]&&delete y[d]}),p),(0,c.yN)("[GumGum] Please check the implementation for ".concat(d))}var s=Object.assign({ad:{price:0,id:0,markup:"",width:0,height:0},pag:{pvid:0},meta:{adomain:[],mediaType:""}},i),l=s.ad,f=l.price,g=l.id,v=l.markup,h=l.cur,I=l.width,C=l.height,O=l.maxw,j=l.maxh,x=s.cw,D=s.pag.pvid,P=s.jcsi,k=s.meta,z=k.adomain,T=k.mediaType,R=n.data||{},N=R.pi,U=6===N||7===N?a.pX:a.Mk,Z=3===N&&9===R.si,G={advertiserDomains:z||[],mediaType:T||U},V=(0,c.sF)(n.sizes);if(O&&j)V=["".concat(O,"x").concat(j)];else if(5===N&&(0,u.q9)(V,"1x1"))V=["1x1"];else if(2===N&&(0,u.q9)(V,"1x1")){var q=n.sizes&&n.sizes.reduce((function(e,n){var t=(0,o.Z)(n,2),i=t[0],r=t[1];return I!==i&&C!==r||e.push(n.join("x")),e}),[])||[];V=q.length?q:(0,c.sF)(n.sizes)}var A=V[0].split("x"),E=(0,o.Z)(A,2),F=E[0],M=E[1];return P&&(i.jcsi=b),w=D,g&&t.push(m(m({ad:x?S(x,Object.assign({},i,{bidRequest:n})):v},U===a.pX&&{ad:v,vastXml:v}),{},{mediaType:U,cpm:Z?.1:f,creativeId:g,currency:h||"USD",height:M,netRevenue:!0,requestId:n.id,ttl:60,width:F,meta:G})),t},getUserSyncs:function(e,n){return n.map((function(e){return e.body&&e.body.pxs&&e.body.pxs.scr||[]})).reduce((function(e,n){return e.concat(n)}),[]).map((function(e){return{type:"f"===e.t?"iframe":"image",url:e.u}}))},supportedMediaTypes:h};(0,l.dX)(j),window.pbjs.installedModules.push("gumgumBidAdapter")}},function(e){e.O(0,[6866],(function(){return n=5374,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[1618],{1808:function(e,t,n){var r=n(4942),o=n(5671),i=n(3144),a=n(265),s=n(4358),c=n(6475),u=n(8928),d=n(2797),p=n(5102),f=n(5164),l=n(1039);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}function m(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}var b="id5id",y="".concat(b,"_privacy"),D="html5",O="User ID - ID5 submodule: ",w=["pbjs-id5id","id5id.1st","id5id"],S=(0,f.df)({gvlid:131,moduleName:"id5Id"}),P={name:"id5Id",gvlid:131,decode:function(e,t){var n=0;if(e&&"string"==typeof e.universal_uid){var r={id5id:{uid:e.universal_uid,ext:{linkType:n=e.link_type||n}}};switch((0,a.Z)(e,"ab_testing.result")){case"control":(0,s.PN)(O+"A/B Testing - user is in the Control Group: ID5 ID is NOT exposed"),(0,c.N)(r,"id5id.ext.abTestingControlGroup",!0);break;case"error":(0,s.H)(O+"A/B Testing ERROR! controlGroupPct must be a number >= 0 and <= 1");break;case"normal":(0,s.PN)(O+"A/B Testing - user is NOT in the Control Group"),(0,c.N)(r,"id5id.ext.abTestingControlGroup",!1)}return(0,s.PN)(O+"Decoded ID",r),r}},getId:function(e,t,n){if(A(e)){if(B(t)){return{callback:function(r){new T(e,t,n,l.nX.getConsentData()).execute().then((function(e){r(e)})).catch((function(e){(0,s.H)(O+"getId fetch encountered an error",e),r()}))}}}(0,s.PN)(O+"Skipping ID5 local storage write because no consent given.")}},extendId:function(e,t,n){return A(e),B(t)?(W(e&&e.params&&e.params.partner||0),(0,s.PN)(O+"using cached ID",n),n):((0,s.PN)(O+"No consent given for ID5 local storage writing, skipping nb increment."),n)}},j=new WeakSet,C=new WeakSet,I=new WeakSet,N=new WeakSet,k=new WeakSet,T=function(){function e(t,n,r,i){(0,o.Z)(this,e),v(this,k),v(this,N),v(this,I),v(this,C),v(this,j),this.submoduleConfig=t,this.gdprConsentData=n,this.cacheIdObj=r,this.usPrivacyData=i}return(0,i.Z)(e,[{key:"execute",value:function(){var e=this;return m(this,C,_).call(this,this.submoduleConfig).then((function(t){return m(e,I,H).call(e,t.extensionsCall).then((function(n){return m(e,N,E).call(e,t.fetchCall,n)}))})).then((function(t){try{L(e.submoduleConfig.params.partner,0),t.privacy&&q(y,JSON.stringify(t.privacy),30)}catch(e){(0,s.H)(O+e)}return t}))}}]),e}();function x(e,t,n){return new Promise((function(r,o){(0,u.h)(e,{success:function(e){r(e)},error:function(e){o(e)}},t,n)}))}function _(e){var t=e.params.configUrl||"https://id5-sync.com/api/config/prebid";return m(this,j,x).call(this,t,JSON.stringify(e),{method:"POST"}).then((function(e){var t=JSON.parse(e);return(0,s.PN)(O+"config response received from the server",t),t}))}function H(e){if(void 0===e)return Promise.resolve(void 0);var t=e.url,n=e.method||"GET",r="GET"===n?void 0:JSON.stringify(e.body||{});return m(this,j,x).call(this,t,r,{method:n}).then((function(e){var t=JSON.parse(e);return(0,s.PN)(O+"extensions response received from the server",t),t}))}function E(e,t){var n=e.url,r=e.overrides||{},o=h(h(h({},m(this,k,G).call(this)),r),{},{extensions:t});return m(this,j,x).call(this,n,JSON.stringify(o),{method:"POST",withCredentials:!0}).then((function(e){var t=JSON.parse(e);return(0,s.PN)(O+"fetch response received from the server",t),t}))}function G(){var e,t=this.submoduleConfig.params,n=this.gdprConsentData&&"boolean"==typeof this.gdprConsentData.gdprApplies&&this.gdprConsentData.gdprApplies?1:0,r=(0,p.nH)(),o=this.cacheIdObj&&this.cacheIdObj.signature?this.cacheIdObj.signature:(w.forEach((function(t){S.getCookie(t)&&(e=(0,s.dj)(S.getCookie(t))||e)})),e&&e.signature||""),i=W(t.partner),a={partner:t.partner,gdpr:n,nbPage:i,o:"pbjs",tml:r.topmostLocation,ref:r.ref,cu:r.canonicalUrl,top:r.reachedTop?1:0,u:r.stack[0]||window.location.href,v:"7.39.0",storage:this.submoduleConfig.storage};!n||void 0===this.gdprConsentData.consentString||(0,s.xb)(this.gdprConsentData.consentString)||(0,s.jH)(this.gdprConsentData.consentString)||(a.gdpr_consent=this.gdprConsentData.consentString),void 0===this.usPrivacyData||(0,s.xb)(this.usPrivacyData)||(0,s.jH)(this.usPrivacyData)||(a.us_privacy=this.usPrivacyData),void 0===o||(0,s.jH)(o)||(a.s=o),void 0===t.pd||(0,s.jH)(t.pd)||(a.pd=t.pd),void 0===t.provider||(0,s.jH)(t.provider)||(a.provider=t.provider);var c=t.abTesting||{enabled:!1};return c.enabled&&(a.ab_testing={enabled:!0,control_group_pct:c.controlGroupPct}),a}function A(e){return e&&e.params&&e.params.partner&&"number"==typeof e.params.partner?e.storage&&e.storage.type&&e.storage.name?(e.storage.type!==D&&(0,s.yN)(O+"storage type recommended to be '".concat(D,"'. In a future release this may become a strict requirement")),e.storage.name!==b&&(0,s.yN)(O+"storage name recommended to be '".concat(b,"'. In a future release this may become a strict requirement")),!0):((0,s.H)(O+"storage required to be set"),!1):((0,s.H)(O+"partner required to be defined as a number"),!1)}function J(e){return"".concat(b,"_").concat(e,"_nb")}function L(e,t){q(J(e),t,30)}function Z(e){var t=function(e){var t=S.getDataFromLocalStorage("".concat(e,"_exp"));if(""===t)return S.getDataFromLocalStorage(e);if(t&&new Date(t).getTime()-Date.now()>0)return S.getDataFromLocalStorage(e);return S.removeDataFromLocalStorage(e),null}(J(e));return t?parseInt(t):0}function W(e){var t=Z(e)+1;return L(e,t),t}function q(e,t,n){S.setDataInLocalStorage("".concat(e,"_exp"),function(e){return new Date(Date.now()+864e5*e).toUTCString()}(n)),S.setDataInLocalStorage("".concat(e),t)}function B(e){var t=e&&"boolean"==typeof e.gdprApplies&&e.gdprApplies,n=(0,a.Z)(e,"vendorData.purpose.consents.1"),r=(0,a.Z)(e,"vendorData.vendor.consents.".concat(131..toString()));return!!(!t||n&&r)}(0,d.Bx)("userId",P),window.pbjs.installedModules.push("id5IdSystem")}},function(e){e.O(0,[6866],(function(){return t=1808,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[845],{6077:function(t,e,n){var a=n(4358),i=n(8928),r=n(2797),o=n(5164),d="intentIqId",c="_iiq_fdata",p="_iiq_fdata",l=(0,o.df)({gvlid:void 0,moduleName:d}),s="INVALID_ID";function u(t){try{if(l.hasLocalStorage())return l.getDataFromLocalStorage(t);if(l.cookiesAreEnabled())return l.getCookie(t)}catch(t){(0,a.H)(t)}}function x(t,e){try{if((0,a.PN)("intentIqId: storing data: key="+t+" value="+e),e){l.hasLocalStorage()&&l.setDataInLocalStorage(t,e);var n=new Date(Date.now()+31536e6).toUTCString();l.cookiesAreEnabled()&&l.setCookie(t,e,n,"LAX")}}catch(t){(0,a.H)(t)}}function f(t){try{return JSON.parse(t)}catch(t){return(0,a.H)(t),null}}var I={name:d,decode:function(t){return t&&""!=t&&s!=t?{intentIqId:t}:void 0},getId:function(t){var e=t&&t.params||{};if(e&&"number"==typeof e.partner){p.includes(e.partner)||(p+="_"+e.partner);var n,r=0,o=f(u(c));if(!o||!o.pcid){var d=(n=(new Date).getTime(),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=(n+16*Math.random())%16|0;return n=Math.floor(n/16),("x"==t?e:3&e|8).toString(16)})));o={pcid:d},x(c,JSON.stringify(o))}var l=f(u(p));l||(l={});var I="https://api.intentiq.com/profiles_engine/ProfilesEngineServlet?at=39&mi=10&dpi=".concat(e.partner,"&pt=17&dpn=1");I+=e.pcid?"&pcid="+encodeURIComponent(e.pcid):"",I+=e.pai?"&pai="+encodeURIComponent(e.pai):"",I+=o.pcid?"&iiqidtype=2&iiqpcid="+encodeURIComponent(o.pcid):"",I+=o.pid?"&pid="+encodeURIComponent(o.pid):"",I+=l.cttl?"&cttl="+encodeURIComponent(l.cttl):"",I+=l.rrtt?"&rrtt="+encodeURIComponent(l.rrtt):"";return{callback:function(t){var e={success:function(e){var n=f(e);if(n&&n.ls){var a=!1;"pid"in n&&(o.pid=n.pid,a=!0),"cttl"in n&&(l.cttl=n.cttl,a=!0),""==n.data?n.data=s:(l.data=n.data,a=!0),r&&r>0&&(l.rrtt=Date.now()-r,a=!0),!0===a&&(l.date=Date.now(),x(c,JSON.stringify(o)),x(p,JSON.stringify(l))),t(n.data)}else t()},error:function(e){(0,a.H)("intentIqId: ID fetch encountered an error",e),t()}};l.date&&l.cttl&&l.data&&Date.now()-l.date<l.cttl?t(l.data):(r=Date.now(),(0,i.h)(I,e,void 0,{method:"GET",withCredentials:!0}))}}}(0,a.H)("User ID - intentIqId submodule requires a valid partner to be defined")}};(0,r.Bx)("userId",I),window.pbjs.installedModules.push("intentIqIdSystem")}},function(t){t.O(0,[6866],(function(){return e=6077,t(t.s=e);var e}));t.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[155],{3390:function(e,t,r){var n=r(9062),a=r(1002),i=r(4942),o=r(265),s=r(4358),d=r(6475),p=r(4679),c=r(3193),u=r(5644),l=r(5164),f=r(2021),m=r(4614),g=r(5339),v=r(154),y=r(5706);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function I(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var O="ix",w="roundel",S=[p.Mk,p.pX,p.B5],Z=[144,144],P={JPY:1},T="p",k="x",C=1,j=2,E=3,A=4,N=5,B=6,_=7,R=8,D=9,F={SITE:["id","name","domain","cat","sectioncat","pagecat","page","ref","search","mobile","privacypolicy","publisher","content","keywords","ext"],USER:["id","buyeruid","yob","gender","keywords","customdata","geo","data","ext"]},z={"liveramp.com":"idl","netid.de":"NETID","neustar.biz":"fabrickId","zeotap.com":"zeotapIdPlus","uidapi.com":"UID2","adserver.org":"TDID","id5-sync.com":"","crwdcntrl.net":"","epsilon.com":"","audigent.com":"","pubcid.org":"","trustpid.com":"","intimatemerger.com":""},X=["britepoolid","lipbid","criteoId","merkleId","parrableId","connectid","tapadId","quantcastId","pubProvidedId"],U=["mimes","minduration","maxduration"],q=["mimes","minduration","maxduration","protocols","protocol","startdelay","placement","linearity","skip","skipmin","skipafter","sequence","battr","maxextended","minbitrate","maxbitrate","boxingallowed","playbackmethod","playbackend","delivery","pos","companionad","api","companiontype","ext","playerSize","w","h"],H="ixdiag",J="".concat(O,"_features"),L=!1,M=(0,l.df)({gvlid:10,bidderCode:O}),V={featureToggles:{},isFeatureEnabled:function(e){return(0,o.Z)(this.featureToggles,"features.".concat(e,".activated"))},getFeatureToggles:function(){if(M.localStorageIsEnabled()){var e=(0,s.dj)(M.getDataFromLocalStorage(J));(0,o.Z)(e,"expiry")&&e.expiry>=(new Date).getTime()?this.featureToggles=e:this.clearFeatureToggles()}},setFeatureToggles:function(e){var t=e.body,r=new Date,n=(0,o.Z)(t,"ext.features");n&&(this.featureToggles={expiry:r.setHours(r.getHours()+1),features:n},M.localStorageIsEnabled()&&M.setDataInLocalStorage(J,JSON.stringify(this.featureToggles)))},clearFeatureToggles:function(){this.featureToggles={},M.localStorageIsEnabled()&&M.removeDataFromLocalStorage(J)}},$=0,G="",Q="",Y=2,K=0,W=0,ee=!1,te=0;function re(e){var t=ne(e,p.pX),r=(0,o.Z)(e,"mediaTypes.video"),n=(0,o.Z)(e,"params.video");if(de(r,n).length)return{};for(var a in t.video=n?(0,s.I8)(e.params.video):{},t.ext.tid=(0,o.Z)(e,"ortb2Imp.ext.tid"),r)-1===q.indexOf(a)||t.video.hasOwnProperty(a)||(t.video[a]=r[a]);if(t.video.minduration>t.video.maxduration)return(0,s.H)("IX Bid Adapter: video minduration [".concat(t.video.minduration,"] cannot be greater than video maxduration [").concat(t.video.maxduration,"]"),{bidder:O,code:D}),{};var i=n&&n.context||r&&r.context;if(i&&!t.video.hasOwnProperty("placement")&&(i===v.LD?t.video.placement=1:i===v.gZ?(0,o.Z)(n,"playerConfig.floatOnScroll")?t.video.placement=5:t.video.placement=4:(0,s.yN)("IX Bid Adapter: Video context '".concat(i,"' is not supported"))),!t.video.w||!t.video.h){var d=pe((0,o.Z)(t,"video.playerSize"))||pe((0,o.Z)(e,"params.size"));if(!d)return(0,s.yN)("IX Bid Adapter: Video size is missing in [mediaTypes.video]"),{};t.video.w=d[0],t.video.h=d[1]}return ae(e,t,p.pX),t}function ne(e,t){var r={};if(r.id=e.bidId,r.ext={},(0,o.Z)(e,"params.".concat(t,".siteId"))&&!isNaN(Number(e.params[t].siteId)))switch(t){case p.Mk:r.ext.siteID=e.params.banner.siteId.toString();break;case p.pX:r.ext.siteID=e.params.video.siteId.toString();break;case p.B5:r.ext.siteID=e.params.native.siteId.toString()}else r.ext.siteID=e.params.siteId.toString();return!e.params.hasOwnProperty("id")||"string"!=typeof e.params.id&&"number"!=typeof e.params.id||(r.ext.sid=String(e.params.id)),r}function ae(e,t,r){var n=null,a=null;if(e.params.bidFloor&&e.params.bidFloorCur&&(n={floor:e.params.bidFloor,currency:e.params.bidFloorCur}),(0,s.LQ)(e.getFloor)){var i="*",o="*";if(r&&(0,s.r3)(S,r)){var d=t[r];i=r,o=[d.w,d.h]}try{a=e.getFloor({mediaType:i,size:o})}catch(e){(0,s.yN)("priceFloors module call getFloor failed, error : ",e)}}a?(t.bidfloor=a.floor,t.bidfloorcur=a.currency,t.ext.fl=T):n&&(t.bidfloor=n.floor,t.bidfloorcur=n.currency,t.ext.fl=k)}function ie(e,t,r){var n={},a=!(!(0,o.Z)(e,"exp")||!(0,s.U)(e.exp)),i=(0,o.Z)(e,"dealid")||(0,o.Z)(e,"ext.dealid");P.hasOwnProperty(t)?n.cpm=e.price/P[t]:n.cpm=e.price/100,n.requestId=e.impid,i&&(n.dealId=i),n.netRevenue=true,n.currency=t,n.creativeId=e.hasOwnProperty("crid")?e.crid:"-",e.mtype!=Y||(!e.ext||e.ext.vasturl)&&e.ext?e.ext&&e.ext.vasturl&&(n.vastUrl=e.ext.vasturl):n.vastXml=e.adm;var d=null;if("string"==typeof e.adm&&"{"===e.adm[0]&&"}"===e.adm[e.adm.length-1])try{d=JSON.parse(e.adm)}catch(e){(0,s.yN)("adm looks like JSON but failed to parse: ",e)}return e.ext&&e.ext.vasturl||e.mtype==Y?(n.width=r.video.w,n.height=r.video.h,n.mediaType=p.pX,n.mediaTypes=r.mediaTypes,n.ttl=a?e.exp:3600):d&&d.native?(n.native={ortb:d.native},n.width=e.w?e.w:1,n.height=e.h?e.h:1,n.mediaType=p.B5,n.ttl=a?e.exp:3600):(n.ad=e.adm,n.width=e.w,n.height=e.h,n.mediaType=p.Mk,n.ttl=a?e.exp:300),n.meta={},n.meta.networkId=(0,o.Z)(e,"ext.dspid"),n.meta.brandId=(0,o.Z)(e,"ext.advbrandid"),n.meta.brandName=(0,o.Z)(e,"ext.advbrand"),e.adomain&&e.adomain.length>0&&(n.meta.advertiserDomains=e.adomain),n}function oe(e){return Array.isArray(e)&&2===e.length&&(0,s.U)(e[0])&&(0,s.U)(e[1])}function se(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(oe(e))return e[0]===t[0]&&e[1]===t[1];for(var r=0;r<e.length;r++)if(e[r][0]===t[0]&&e[r][1]===t[1])return!0;return!1}function de(e,t){var r=[];e||(0,s.yN)("IX Bid Adapter: mediaTypes.video is the preferred location for video params in ad unit");var n,a=I(U);try{for(a.s();!(n=a.n()).done;){var i=n.value,o=e&&e.hasOwnProperty(i),d=t&&t.hasOwnProperty(i);o||d||r.push("IX Bid Adapter: ".concat(i," is not included in either the adunit or params level"))}}catch(e){a.e(e)}finally{a.f()}var p=e&&e.hasOwnProperty("protocol"),c=e&&e.hasOwnProperty("protocols"),u=t&&t.hasOwnProperty("protocol"),l=t&&t.hasOwnProperty("protocols");return p||c||u||l||r.push("IX Bid Adapter: protocol/protcols is not included in either the adunit or params level"),r}function pe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return oe(e)?e:!!oe(e[0])&&e[0]}function ce(e,t,r){if(e)return h(h({},(0,m.sE)(r,(function(t){return t.bidId===e}))),(0,m.sE)(t,(function(t){return t.id===e})))}function ue(e,t,r,n){K=0,W=0,ee=!1,te=0;var i="https://htlb.casalemedia.com/openrtb/pbjs",p=function(e){var t=[],r={};if((0,s.kJ)(e)){var n,a=I(e);try{for(a.s();!(n=a.n()).done;){var i=n.value;z.hasOwnProperty(i.source)&&(0,o.Z)(i,"uids.0")&&(r[i.source]=!0,""!=z[i.source]&&(i.uids[0].ext={rtiPartner:z[i.source]}),delete i.uids[0].atype,t.push(i))}}catch(e){a.e(e)}finally{a.f()}}return{toSend:t,seenSources:r}}((0,o.Z)(e,"0.userIdAsEids")),u=p.toSend,l=8e3;if(window.headertag&&"function"==typeof window.headertag.getIdentityInfo&&function(e,t){var r=window.headertag.getIdentityInfo();if(r&&"object"===(0,a.Z)(r))for(var n in r)if(r.hasOwnProperty(n)){var i=r[n];!i.responsePending&&i.data&&"object"===(0,a.Z)(i.data)&&Object.keys(i.data).length&&!t.seenSources[i.data.source]&&e.push(i.data)}}(u,p),t&&t.bidderCode===w&&!p.seenSources["liveramp.com"])return[];var f=[],m=function(e){var t={};return t.id=e[0].bidderRequestId.toString(),t.site={},t.ext={},t.ext.source="prebid",t.ext.ixdiag={},t.ext.ixdiag.ls=M.localStorageIsEnabled(),t.imp=[],t.at=1,t}(e),g=function(e){for(var t=e.map((function(e){return e.transactionId})).filter((function(e,t,r){return r.indexOf(e)===t})),r={mfu:0,bu:0,iu:0,nu:0,ou:0,allu:0,ren:!1,version:"7.39.0",userIds:ge(e[0]),url:window.location.href.split("?")[0]},n=function(n){i=e.filter((function(e){return e.transactionId===t[n]}))[0],(0,o.Z)(i,"mediaTypes")&&(Object.keys(i.mediaTypes).length>1&&r.mfu++,(0,o.Z)(i,"mediaTypes.native")&&r.nu++,(0,o.Z)(i,"mediaTypes.banner")&&r.bu++,"outstream"===(0,o.Z)(i,"mediaTypes.video.context")&&(r.ou++,Se(i)&&(r.ren=!0)),"instream"===(0,o.Z)(i,"mediaTypes.video.context")&&r.iu++,r.allu++)},a=0;a<t.length;a++){var i;n(a)}return r}(e);for(var v in g)m.ext.ixdiag[v]=g[v];m=function(e,t,r,n,a){var i=(0,o.Z)(t,"timeout");i&&(e.ext.ixdiag.tmax=i);c.vc.getConfig("userSync")&&(e.ext.ixdiag.syncsPerBidder=c.vc.getConfig("userSync").syncsPerBidder);var d=function(){if(!M.localStorageIsEnabled())return;var e,t={};try{e=JSON.parse(M.getDataFromLocalStorage(H)||"{}")}catch(e){return(0,s.H)("ix can not read ixdiag from localStorage."),null}return Object.keys(e).forEach((function(r){Object.keys(e[r]).forEach((function(n){"number"==typeof e[r][n]&&(t[n]=t[n]?t[n]+e[r][n]:e[r][n])}))})),t}();(0,s.xb)(d)||(e.ext.ixdiag.err=d);e.ext.ixdiag.imps=Object.keys(r).length,e.source={tid:n[0].auctionId},n[0].schain&&(e.source.ext={},e.source.ext.schain=n[0].schain);a.length>0&&(e.user={},e.user.eids=a);document.referrer&&""!==document.referrer&&(e.site.ref=document.referrer);return e}(m,t,r,e,u),m=function(e,t){if(t){t.gdprConsent&&((G=t.gdprConsent).hasOwnProperty("gdprApplies")&&(e.regs={ext:{gdpr:G.gdprApplies?1:0}}),G.hasOwnProperty("consentString")&&(e.user=e.user||{},e.user.ext={consent:G.consentString||""},G.hasOwnProperty("addtlConsent")&&G.addtlConsent&&(e.user.ext.consented_providers_settings={consented_providers:G.addtlConsent}))),t.uspConsent&&((0,d.N)(e,"regs.ext.us_privacy",t.uspConsent),Q=t.uspConsent);var r=(0,o.Z)(t,"refererInfo.page");r&&(e.site.page=r),t.gppConsent&&((0,d.N)(e,"regs.gpp",t.gppConsent.gppString),(0,d.N)(e,"regs.gpp_sid",t.gppConsent.applicableSections))}c.vc.getConfig("coppa")&&(0,d.N)(e,"regs.coppa",1);return e}(m,t);var y={};!function(e,t,r,n,i,o,d){$=e[0].params.siteId,o.s=$;var p=t&&t.bidderCode||"ix",u=c.vc.getConfig(p);if((K="".concat(n).concat((0,s.Re)(h(h({},o),{},{r:JSON.stringify(r)}))).length)>d)return(0,s.H)("IX Bid Adapter: Base request size has exceeded maximum request size.",{bidder:O,code:_}),i;W=K;var l=0;if(u&&"object"===(0,a.Z)(u.firstPartyData)){var f=u.firstPartyData,m="?";for(var g in f)f.hasOwnProperty(g)&&(m+="".concat(encodeURIComponent(g),"=").concat(encodeURIComponent(f[g]),"&"));m=m.slice(0,-1),l=encodeURIComponent(m).length,V.isFeatureEnabled("pbjs_use_buildRequestV2")?"page"in r.site?r.site.page+=m:r.site.page=m:l<d?("page"in r.site?r.site.page+=m:r.site.page=m,W+=l):(0,s.H)("IX Bid Adapter: IX config FPD request size has exceeded maximum request size.",{bidder:O,code:B})}}(e,t,m,i,f,y,l);for(var b=0,x=Object.keys(r),S=!1,Z=0;Z<x.length&&(V.isFeatureEnabled("pbjs_use_buildRequestV2")||!(W>=l))&&!(f.length>=4);Z++){m=le(r,x,m,Z,l),W+=te;var P=(0,o.Z)(t,"ortb2")||{},T=h({},P.site||P.context),k=h({},P.user);if(!(0,s.xb)(P)&&!S){m=fe(t,m,P,T,k);var C=(0,s.I8)(m);if(C.site=(0,s.Ee)({},C.site,T),C.user=(0,s.Ee)({},C.user,k),"".concat(i).concat((0,s.Re)(h(h({},y),{},{r:JSON.stringify(C)}))).length<l){m.site=(0,s.Ee)({},m.site,T),m.user=(0,s.Ee)({},m.user,k),S=!0;var j=encodeURIComponent(JSON.stringify(h(h({},T),k))).length;W+=j}else(0,s.H)("IX Bid Adapter: FPD request size has exceeded maximum request size.",{bidder:O,code:R})}m=me(r,m,x,Z,y,i,l);var E=Z===x.length-1;(ee||E)&&(E&&!b||(m.ext.ixdiag.sn=b),b++,f.push({method:"POST",url:i+"?s="+$,data:(0,s.I8)(m),option:{contentType:"text/plain"},validBidRequests:e}),W=K,m.imp=[],S=!1)}return f}function le(e,t,r,a,i){var o=e[t[a]],c=o.missingImps,u=void 0===c?[]:c,l=o.ixImps,f=i-W,m={ixImps:void 0===l?[]:l,missingBannerImpressions:u},g=Object.keys(m).map((function(e){return m[e]})).filter((function(e){return Array.isArray(e)})).reduce((function(e,t){return e.concat.apply(e,(0,n.Z)(t))}),[]);if(te=encodeURIComponent(JSON.stringify({impressionObjects:g})).length,!V.isFeatureEnabled("pbjs_use_buildRequestV2"))for(;g.length&&te>f;)ee=!0,g.pop(),te=encodeURIComponent(JSON.stringify({impressionObjects:g})).length;var v=e[t[a]].gpid,y=e[t[a]].dfp_ad_unit_code,b=e[t[a]].tid,h=e[t[a]].sid;if(g.length&&p.Mk in g[0]){for(var I=g[0],x={id:I.id,banner:{topframe:I.banner.topframe,format:g.map((function(e){var t=e.banner;return{w:t.w,h:t.h,ext:e.ext}}))}},O=0;O<x.banner.format.length;O++)null!=x.banner.format[O].ext&&null!=x.banner.format[O].ext.sid&&delete x.banner.format[O].ext.sid,"bidfloor"in g[O]&&(x.banner.format[O].ext.bidfloor=g[O].bidfloor);var w=e[t[a]].pos;(0,s.U)(w)&&(x.banner.pos=w),(y||v||b||h)&&(x.ext={},x.ext.dfp_ad_unit_code=y,x.ext.gpid=v,x.ext.tid=b,x.ext.sid=h),"bidfloor"in g[0]&&(x.bidfloor=g[0].bidfloor),"bidfloorcur"in g[0]&&(x.bidfloorcur=g[0].bidfloorcur),r.imp.push(x)}else{var S;g.forEach((function(e){return(0,d.N)(e,"ext.gpid",v)})),(S=r.imp).push.apply(S,(0,n.Z)(g))}return r}function fe(e,t,r,n,a){if(t.ext.ixdiag.fpd=!0,Object.keys(n).forEach((function(e){-1===F.SITE.indexOf(e)&&delete n[e]})),Object.keys(a).forEach((function(e){-1===F.USER.indexOf(e)&&delete a[e]})),r.device){var i=h({},r.device.sua);(0,s.xb)(i)||(0,d.N)(t,"device.sua",i)}return r.hasOwnProperty("regs")&&!e.gppConsent&&(r.regs.hasOwnProperty("gpp")&&"string"==typeof r.regs.gpp&&(0,d.N)(t,"regs.gpp",r.regs.gpp),r.regs.hasOwnProperty("gpp_sid")&&Array.isArray(r.regs.gpp_sid)&&(0,d.N)(t,"regs.gpp_sid",r.regs.gpp_sid)),t}function me(e,t,r,n,a,i,o){var d=e[r[n]].pbadslot,p=e[r[n]].tagId,c=e[r[n]].adUnitCode,u=e[r[n]].divId;if(d||p||c||u){var l=(0,s.I8)(t),f="".concat(i).concat((0,s.Re)(h(h({},a),{},{r:JSON.stringify(l)}))).length;(V.isFeatureEnabled("pbjs_use_buildRequestV2")||f<o)&&(t.ext.ixdiag.pbadslot=d,t.ext.ixdiag.tagid=p,t.ext.ixdiag.adunitcode=c,t.ext.ixdiag.divId=u)}return t}function ge(e){var t=e.userId||{};return X.filter((function(e){return t[e]}))}function ve(e,t){if(t)for(var r=0;r<e.length;r++){var n=e[r];if(t[0]===n[0]&&t[1]===n[1]){e.splice(r,1);break}}}function ye(e,t){var r=function(e){var t=ne(e,p.B5),r=e.nativeOrtbRequest;return r.eventtrackers=[{event:1,methods:[1,2]}],r.privacy=1,t.native={request:JSON.stringify(r),ver:"1.2"},t.ext.tid=(0,o.Z)(e,"ortb2Imp.ext.tid"),ae(e,t,p.B5),t}(e);if(0!=Object.keys(r).length){t[e.transactionId]={},t[e.transactionId].ixImps=[],t[e.transactionId].ixImps.push(r),t[e.transactionId].gpid=(0,o.Z)(e,"ortb2Imp.ext.gpid"),t[e.transactionId].dfp_ad_unit_code=(0,o.Z)(e,"ortb2Imp.ext.data.adserver.adslot"),t[e.transactionId].pbadslot=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot"),t[e.transactionId].tagId=(0,o.Z)(e,"params.tagId");var n=e.adUnitCode,a=document.getElementById(n)?n:(0,s.ky)(n).divId;t[e.transactionId].adUnitCode=n,t[e.transactionId].divId=a}}function be(e,t){var r=re(e);if(0!=Object.keys(r).length){t[e.transactionId]={},t[e.transactionId].ixImps=[],t[e.transactionId].ixImps.push(r),t[e.transactionId].gpid=(0,o.Z)(e,"ortb2Imp.ext.gpid"),t[e.transactionId].dfp_ad_unit_code=(0,o.Z)(e,"ortb2Imp.ext.data.adserver.adslot"),t[e.transactionId].pbadslot=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot"),t[e.transactionId].tagId=(0,o.Z)(e,"params.tagId");var n=e.adUnitCode,a=document.getElementById(n)?n:(0,s.ky)(n).divId;t[e.transactionId].adUnitCode=n,t[e.transactionId].divId=a}}function he(e,t,r){var n=function(e){var t=ne(e,p.Mk);t.banner={};var r=(0,o.Z)(e,"params.size");return r&&(t.banner.w=r[0],t.banner.h=r[1]),t.banner.topframe=(0,s.yL)()?0:1,ae(e,t,p.Mk),t}(e),a=se((0,o.Z)(e,"mediaTypes.banner.sizes"),(0,o.Z)(e,"params.size"));r.hasOwnProperty(e.transactionId)||(r[e.transactionId]={}),r[e.transactionId].gpid=(0,o.Z)(e,"ortb2Imp.ext.gpid"),r[e.transactionId].dfp_ad_unit_code=(0,o.Z)(e,"ortb2Imp.ext.data.adserver.adslot"),r[e.transactionId].tid=(0,o.Z)(e,"ortb2Imp.ext.tid"),r[e.transactionId].pbadslot=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot"),r[e.transactionId].tagId=(0,o.Z)(e,"params.tagId"),r[e.transactionId].pos=(0,o.Z)(e,"mediaTypes.banner.pos");var i=(0,o.Z)(e,"params.id");!i||"string"!=typeof i&&"number"!=typeof i||(r[e.transactionId].sid=String(i));var d=e.adUnitCode,c=document.getElementById(d)?d:(0,s.ky)(d).divId;r[e.transactionId].adUnitCode=d,r[e.transactionId].divId=c,a&&(r[e.transactionId].hasOwnProperty("ixImps")||(r[e.transactionId].ixImps=[]),r[e.transactionId].ixImps.push(n)),function(e,t,r){var n=e.transactionId;if(t.hasOwnProperty(n)){var a=[];t[n].hasOwnProperty("missingSizes")&&(a=t[n].missingSizes),ve(a,e.params.size),t[n].missingSizes=a}else if((0,o.Z)(e,"mediaTypes.banner.sizes")){var i=(0,s.I8)(e.mediaTypes.banner.sizes);ve(i,e.params.size);var d={missingSizes:i,impression:r};t[n]=d}}(e,t,n)}function Ie(e,t,r){var n=(0,s.I8)(t);return n.banner.w=r[0],n.banner.h=r[1],ae(e,n,p.Mk),n}function xe(e){"ERROR"===e.type&&e.arguments&&e.arguments[1]&&e.arguments[1].bidder===O&&function(e){if(M.localStorageIsEnabled()){var t;try{t=JSON.parse(M.getDataFromLocalStorage(H)||"{}")}catch(e){(0,s.yN)("ix can not read ixdiag from localStorage.")}var r=new Date;if(Object.keys(t).map((function(e){var n=new Date(e);n.setDate(n.getDate()+7)-r<0&&delete t[e]})),"ERROR"===e.type&&e.arguments&&e.arguments[1]&&e.arguments[1].bidder===O){var n=r.toISOString().slice(0,10),a=e.arguments[1].code;a&&(t[n]=t[n]||{},Number(t[n][a])||(t[n][a]=0),t[n][a]++)}M.setDataInLocalStorage(H,JSON.stringify(t))}}(e)}function Oe(e){e.renderer.push((function(){var t=e.adUnitCode,r=document.getElementById(t)?t:(0,s.ky)(t).divId;r?window.createIXPlayer(r,e):(0,s.yN)("IX Bid Adapter: adUnitCode: ".concat(r," not found on page."))}))}function we(e,t){var r=y.Th.install({id:e,url:t,loaded:!1});try{r.setRender(Oe)}catch(e){return(0,s.yN)("Prebid Error calling setRender on renderer",e),null}return t?r:((0,s.yN)("Outstream renderer URL not found"),null)}function Se(e){if("outstream"!==(0,o.Z)(e,"mediaTypes.video.context"))return!1;var t=(0,o.Z)(e,"mediaTypes.video.renderer");return t||(t=(0,o.Z)(e,"renderer")),!!("object"!==(0,a.Z)(t)||!t.url||!t.render)||t.backupOnly}var Ze={code:O,gvlid:10,aliases:[{code:w,gvlid:10,skipPbsAliasing:!1}],supportedMediaTypes:S,isBidRequestValid:function(e){L||(f.on(u.FP.AUCTION_DEBUG,xe),f.on(u.FP.AD_RENDER_FAILED,xe),L=!0);var t,r,n=(0,o.Z)(e,"params.video"),a=(0,o.Z)(e,"params.size"),i=(0,o.Z)(e,"mediaTypes.banner.sizes"),d=(0,o.Z)(e,"mediaTypes.video"),p=(0,o.Z)(e,"mediaTypes.video.playerSize"),c=e.params.hasOwnProperty("bidFloor"),l=e.params.hasOwnProperty("bidFloorCur");if(e.hasOwnProperty("mediaType")&&!(0,s.r3)(S,e.mediaType))return(0,s.yN)("IX Bid Adapter: media type is not supported."),!1;if((0,o.Z)(e,"mediaTypes.banner")&&!i)return!1;if(a){var m=pe(a);if(!m)return(0,s.H)("IX Bid Adapter: size has invalid format.",{bidder:O,code:C}),!1;if(!se(e.sizes,m)&&!se(p,m)&&!se(i,m))return(0,s.H)("IX Bid Adapter: bid size is not included in ad unit sizes or player size.",{bidder:O,code:j}),!1}if("string"!=typeof e.params.siteId&&"number"!=typeof e.params.siteId)return(0,s.H)("IX Bid Adapter: siteId must be string or number type.",{bidder:O,code:A}),!1;if("string"!=typeof e.params.siteId&&isNaN(Number(e.params.siteId)))return(0,s.H)("IX Bid Adapter: siteId must valid value",{bidder:O,code:A}),!1;if((c||l)&&!(c&&l&&(t=e.params.bidFloor,r=e.params.bidFloorCur,Boolean("number"==typeof t&&"string"==typeof r&&r.match(/^[A-Z]{3}$/)))))return(0,s.H)("IX Bid Adapter: bidFloor / bidFloorCur parameter has invalid format.",{bidder:O,code:N}),!1;if(d&&n){var g=re(e).video,y=de(d,n);if((0,o.Z)(e,"mediaTypes.video.context")===v.gZ&&Se(e)&&g){var b=[(0,o.Z)(g,"w"),(0,o.Z)(g,"h")];if(!(b[0]>=Z[0]&&b[1]>=Z[1]))return(0,s.H)("IX Bid Adapter: ".concat(b," is an invalid size for IX outstream renderer")),!1}if(y.length)return y.forEach((function(e){(0,s.H)(e,{bidder:O,code:E})})),!1}return function(e){return void 0===(0,o.Z)(e,"mediaTypes.native")||e.nativeOrtbRequest&&Array.isArray(e.nativeOrtbRequest.assets)&&e.nativeOrtbRequest.assets.length>0}(e)},buildRequests:function(e,t){var r=[],a={},i={},d={},c={};for(var u in V.getFeatureToggles(),e.forEach((function(e){var t=Object.keys((0,o.Z)(e,"mediaTypes",{}));for(var r in t)switch(t[r]){case p.Mk:he(e,c,a);break;case p.pX:be(e,i);break;case p.B5:ye(e,d);break;default:(0,s.yN)("IX Bid Adapter: ad unit mediaTypes ".concat(r," is not supported"))}})),c)if(c.hasOwnProperty(u)){var l=c[u].missingSizes;a.hasOwnProperty(u)||(a[u]={}),a[u].hasOwnProperty("missingImps")||(a[u].missingImps=[],a[u].missingCount=0);for(var f=c[u].impression,m=0;m<l.length;m++){var g=Ie(e[0],f,l[m]);a[u].missingImps.push(g),a[u].missingCount++}}return Object.keys(a).length>0&&r.push.apply(r,(0,n.Z)(ue(e,t,a))),Object.keys(i).length>0&&r.push.apply(r,(0,n.Z)(ue(e,t,i))),Object.keys(d).length>0&&r.push.apply(r,(0,n.Z)(ue(e,t,d))),r},interpretResponse:function(e,t){var r=[],n=null;if(!e.hasOwnProperty("body")||!e.body.hasOwnProperty("seatbid"))return V.setFeatureToggles(e),r;for(var a=e.body,i=a.seatbid,d=0;d<i.length;d++)if(i[d].hasOwnProperty("bid")){for(var c=i[d].bid,u=t.data,l=0;l<c.length;l++){var f=ce(c[l].impid,u.imp,t.validBidRequests);if((n=ie(c[l],a.cur,f)).mediaType===p.pX&&Se(f)){var m=(0,o.Z)(a,"ext.videoplayerurl");if(n.renderer=we(c[l].bidId,m),!n.renderer)continue}r.push(n)}if((0,o.Z)(u,"ext.ixdiag.err")&&M.localStorageIsEnabled())try{M.removeDataFromLocalStorage(H)}catch(e){(0,s.H)("ix can not clear ixdiag from localStorage.")}}return V.setFeatureToggles(e),r},transformBidParams:function(e,t){return(0,s.uh)({siteID:"number"},e)},getUserSyncs:function(e,t){var r=[],n=null;if(t.length>0&&(n=(0,o.Z)(t[0],"body.ext.publishersyncsperbidderoverride")),void 0!==n&&0==n)return[];if(e.iframeEnabled)r.push({type:"iframe",url:"https://js-sec.indexww.com/um/ixmatch.html"});else{var a=null;c.vc.getConfig("userSync")&&(a=c.vc.getConfig("userSync").syncsPerBidder),0===a&&(a=n),a=n&&(0===a||a)?n>a?a:n:1;for(var i=0;i<a;i++)r.push({type:"image",url:Pe(a,i)})}return r}};function Pe(e,t){var r="",n="0";return G&&G.hasOwnProperty("gdprApplies")&&(n=G.gdprApplies?"1":"0"),G&&G.hasOwnProperty("consentString")&&(r=G.consentString||""),"https://dsum.casalemedia.com/pbusermatch?origin=prebid&site_id="+$.toString()+"&p="+e.toString()+"&i="+t.toString()+"&gdpr="+n+"&gdpr_consent="+r+"&us_privacy="+(Q||"")}(0,g.dX)(Ze),window.pbjs.installedModules.push("ixBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=3390,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2921],{9882:function(e,n,d){var r=d(4358),t=d(4679),i=d(5339),s={code:"lockerdome",supportedMediaTypes:[t.Mk],isBidRequestValid:function(e){return!!e.params.adUnitId},buildRequests:function(e,n){var d,t,i,s={bidRequests:e.map((function(e){return e.schain&&(i=i||e.schain),{requestId:e.bidId,adUnitCode:e.adUnitCode,adUnitId:(0,r.An)("adUnitId",e.params),sizes:e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes}})),url:encodeURIComponent((null==n||null===(d=n.refererInfo)||void 0===d?void 0:d.canonicalUrl)||""),referrer:encodeURIComponent((null==n||null===(t=n.refererInfo)||void 0===t?void 0:t.topmostLocation)||"")};return i&&(s.schain=i),n&&(n.gdprConsent&&(s.gdpr={applies:n.gdprConsent.gdprApplies,consent:n.gdprConsent.consentString}),n.uspConsent&&(s.us_privacy={consent:n.uspConsent})),{method:"POST",url:"https://lockerdome.com/ladbid/prebid",data:JSON.stringify(s)}},interpretResponse:function(e,n){return e&&e.body&&e.body.bids?e.body.bids.map((function(e){return{requestId:e.requestId,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.creativeId,currency:e.currency,netRevenue:e.netRevenue,ad:e.ad,ttl:e.ttl,meta:{advertiserDomains:e.adomain&&Array.isArray(e.adomain)?e.adomain:[]}}})):[]}};(0,i.dX)(s),window.pbjs.installedModules.push("lockerdomeBidAdapter")}},function(e){e.O(0,[6866],(function(){return n=9882,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[3980],{9293:function(e,r,a){var t=a(1002),n=a(9062),i=a(4358),s=a(265),d=a(5706),o=a(3193),p=a(5339),u=a(4679),c=a(5383),m=a(4614),l=a(154),f=a(5164),v=a(5975),b=a(7673),g=a(59),h="mediafuse",y="https://ib.adnxs.com/ut/v3/prebid",_="https://ib.adnxs-simple.com/ut/v3/prebid",k=["id","minduration","maxduration","skippable","playback_method","frameworks","context","skipoffset"],I=["minduration","maxduration","skip","skipafter","playbackmethod","api"],w=["age","externalUid","segments","gender","dnt","language"],C=["geo","device_id"],x=["enabled","dongle","member_id","debug_timeout"],E={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}},O={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=/\/\/cdn\.adnxs\.com\/v|\/\/cdn\.adnxs\-simple\.com\/v/,T=(0,f.df)({gvlid:32,bidderCode:h}),S={code:h,gvlid:32,supportedMediaTypes:[u.Mk,u.pX,u.B5],isBidRequestValid:function(e){return!!(e.params.placementId||e.params.member&&e.params.invCode)},buildRequests:function(e,r){var a=(e=(0,g.lY)(e)).map(P),t=(0,m.sE)(e,M),d={};!0===o.vc.getConfig("coppa")&&(d={coppa:!0}),t&&Object.keys(t.params.user).filter((function(e){return(0,m.q9)(w,e)})).forEach((function(e){var r=(0,i.G2)(e);if("segments"===e&&(0,i.kJ)(t.params.user[e])){var a=[];t.params.user[e].forEach((function(e){(0,i.hj)(e)?a.push({id:e}):(0,i.PO)(e)&&a.push(e)})),d[r]=a}else"segments"!==e&&(d[r]=t.params.user[e])}));var p,u=(0,m.sE)(e,D);u&&u.params&&u.params.app&&(p={},Object.keys(u.params.app).filter((function(e){return(0,m.q9)(C,e)})).forEach((function(e){return p[e]=u.params.app[e]})));var c,l=(0,m.sE)(e,Z);l&&l.params&&u.params.app&&u.params.app.id&&(c={appid:l.params.app.id});var f={},v={},h=T.getCookie("apn_prebid_debug")||null;if(h)try{f=JSON.parse(h)}catch(e){(0,i.H)("MediaFuse Debug Auction Cookie Error:\n\n"+e)}else{var k=(0,m.sE)(e,N);k&&k.debug&&(f=k.debug)}f&&f.enabled&&Object.keys(f).filter((function(e){return(0,m.q9)(x,e)})).forEach((function(e){v[e]=f[e]}));var I=(0,m.sE)(e,z),E=I?parseInt(I.params.member,10):0,O=e[0].schain,j=(0,m.sE)(e,J),S={tags:(0,n.Z)(a),user:d,sdk:{source:"pbjs",version:"7.39.0"},schain:O};j&&(S.iab_support={omidpn:"Mediafuse",omidpv:"7.39.0"}),E>0&&(S.member_id=E),u&&(S.device=p),l&&(S.app=c);var q=o.vc.getConfig("mediafuseAuctionKeywords");if((0,i.PO)(q)){var U=(0,i.Bq)(q);U.length>0&&U.forEach(R),S.keywords=U}if(o.vc.getConfig("adpod.brandCategoryExclusion")&&(S.brand_category_uniqueness=!0),v.enabled&&(S.debug=v,(0,i.PN)("MediaFuse Debug Auction Settings:\n\n"+JSON.stringify(v,null,4))),r&&r.gdprConsent&&(S.gdpr_consent={consent_string:r.gdprConsent.consentString,consent_required:r.gdprConsent.gdprApplies},r.gdprConsent.addtlConsent&&-1!==r.gdprConsent.addtlConsent.indexOf("~"))){var B=r.gdprConsent.addtlConsent,F=B.substring(B.indexOf("~")+1);S.gdpr_consent.addtl_consent=F.split(".").map((function(e){return parseInt(e,10)}))}if(r&&r.uspConsent&&(S.us_privacy=r.uspConsent),r&&r.refererInfo){var H={rd_ref:encodeURIComponent(r.refererInfo.topmostLocation),rd_top:r.refererInfo.reachedTop,rd_ifs:r.refererInfo.numIframes,rd_stk:r.refererInfo.stack.map((function(e){return encodeURIComponent(e)})).join(",")};S.referrer_detection=H}if((0,m.sE)(e,A)&&e.filter(A).forEach((function(e){var r=function(e,r){var a=r.mediaTypes.video,t=a.durationRangeSec,s=a.requireExactDuration,d=function(e){var r=e.adPodDurationSec,a=e.durationRangeSec,t=e.requireExactDuration,n=(0,i.XV)(a),s=Math.floor(r/n);return t?Math.max(s,a.length):s}(r.mediaTypes.video),o=(0,i.d5)(t),p=e.filter((function(e){return e.uuid===r.bidId})),u=i.hl.apply(void 0,(0,n.Z)(p).concat([d]));if(s){var c=Math.ceil(d/t.length),m=(0,i.yo)(u,c);t.forEach((function(e,r){m[r].map((function(r){X(r,"minduration",e),X(r,"maxduration",e)}))}))}else u.map((function(e){return X(e,"maxduration",o)}));return u}(a,e),t=S.tags.filter((function(r){return r.uuid!==e.bidId}));S.tags=[].concat((0,n.Z)(t),(0,n.Z)(r))})),e[0].userId){var V=[];L(V,(0,s.Z)(e[0],"userId.criteoId"),"criteo.com",null),L(V,(0,s.Z)(e[0],"userId.netId"),"netid.de",null),L(V,(0,s.Z)(e[0],"userId.idl_env"),"liveramp.com",null),L(V,(0,s.Z)(e[0],"userId.tdid"),"adserver.org","TDID"),L(V,(0,s.Z)(e[0],"userId.uid2.id"),"uidapi.com","UID2"),V.length&&(S.eids=V)}a[0].publisher_id&&(S.publisher_id=a[0].publisher_id);var G=function(e,r){var a=[],t={withCredentials:!0},n=y;(0,b.h)(null==r?void 0:r.gdprConsent)||(n=_);"TRUE"!==(0,i.rD)("apn_test").toUpperCase()&&!0!==o.vc.getConfig("apn_test")||(t.customHeaders={"X-Is-Test":1});if(e.tags.length>15){var s=(0,i.I8)(e);(0,i.yo)(e.tags,15).forEach((function(e){s.tags=e;var i=JSON.stringify(s);a.push({method:"POST",url:n,data:i,bidderRequest:r,options:t})}))}else{var d=JSON.stringify(e);a={method:"POST",url:n,data:d,bidderRequest:r,options:t}}return a}(S,r);return G},interpretResponse:function(e,r){var a=this,t=r.bidderRequest;e=e.body;var n=[];if(!e||e.error){var o="in response for ".concat(t.bidderCode," adapter");return e&&e.error&&(o+=": ".concat(e.error)),(0,i.H)(o),n}if(e.tags&&e.tags.forEach((function(e){var r,o=(r=e)&&r.ads&&r.ads.length&&(0,m.sE)(r.ads,(function(e){return e.rtb}));if(o&&((!0===v.S.get(t.bidderCode,"allowZeroCpmBids")?o.cpm>=0:o.cpm>0)&&(0,m.q9)(a.supportedMediaTypes,o.ad_type))){var c=function(e,r,a){var t=(0,i.zE)(e.uuid,[a]),n={requestId:e.uuid,cpm:r.cpm,creativeId:r.creative_id,dealId:r.deal_id,currency:"USD",netRevenue:!0,ttl:300,adUnitCode:t.adUnitCode,mediafuse:{buyerMemberId:r.buyer_member_id,dealPriority:r.deal_priority,dealCode:r.deal_code}};r.adomain&&(n.meta=Object.assign({},n.meta,{advertiserDomains:[]}));r.advertiser_id&&(n.meta=Object.assign({},n.meta,{advertiserId:r.advertiser_id}));function o(e){return{ver:"1.0",complete:0,nodes:[{bsid:e.buyer_member_id.toString()}]}}r.buyer_member_id&&(n.meta=Object.assign({},n.meta,{dchain:o(r)}));r.brand_id&&(n.meta=Object.assign({},n.meta,{brandId:r.brand_id}));if(r.rtb.video){switch(Object.assign(n,{width:r.rtb.video.player_width,height:r.rtb.video.player_height,vastImpUrl:r.notify_url,ttl:3600}),(0,s.Z)(t,"mediaTypes.video.context")){case u.Oh:var c=(0,p.Q1)(t.bidder,r.brand_category_id);n.meta=Object.assign({},n.meta,{primaryCatId:c});var f=r.deal_priority;n.video={context:u.Oh,durationSeconds:Math.floor(r.rtb.video.duration_ms/1e3),dealTier:f},n.vastUrl=r.rtb.video.asset_url;break;case l.gZ:if(n.adResponse=e,n.adResponse.ad=n.adResponse.ads[0],n.adResponse.ad.video=n.adResponse.ad.rtb.video,n.vastXml=r.rtb.video.content,r.renderer_url){var v=(0,m.sE)(a.bids,(function(r){return r.bidId===e.uuid})),b=(0,s.Z)(v,"renderer.options");n.renderer=function(e,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=d.Th.install({id:r.renderer_id,url:r.renderer_url,config:a,loaded:!1,adUnitCode:e});try{t.setRender(F)}catch(e){(0,i.yN)("Prebid Error calling setRender on renderer",e)}return t.setEventHandlers({impression:function(){return(0,i.ji)("MediaFuse outstream video impression event")},loaded:function(){return(0,i.ji)("MediaFuse outstream video loaded event")},ended:function(){(0,i.ji)("MediaFuse outstream renderer video event"),document.querySelector("#".concat(e)).style.display="none"}}),t}(n.adUnitCode,r,b)}break;case l.LD:n.vastUrl=r.notify_url+"&redir="+encodeURIComponent(r.rtb.video.asset_url)}}else if(r.rtb[u.B5]){var g=r.rtb[u.B5],h=r.viewability.config.replace("src=","data-src="),y=g.javascript_trackers;null==y?y=h:(0,i.d8)(y)?y=[y,h]:y.push(h),n[u.B5]={title:g.title,body:g.desc,body2:g.desc2,cta:g.ctatext,rating:g.rating,sponsoredBy:g.sponsored,privacyLink:g.privacy_link,address:g.address,downloads:g.downloads,likes:g.likes,phone:g.phone,price:g.price,salePrice:g.saleprice,clickUrl:g.link.url,displayUrl:g.displayurl,clickTrackers:g.link.click_trackers,impressionTrackers:g.impression_trackers,javascriptTrackers:y},g.main_img&&(n.native.image={url:g.main_img.url,height:g.main_img.height,width:g.main_img.width}),g.icon&&(n.native.icon={url:g.icon.url,height:g.icon.height,width:g.icon.width})}else{Object.assign(n,{width:r.rtb.banner.width,height:r.rtb.banner.height,ad:r.rtb.banner.content});try{if(r.rtb.trackers)for(var _=0;_<r.rtb.trackers[0].impression_urls.length;_++){var k=r.rtb.trackers[0].impression_urls[_],I=(0,i.SG)(k);n.ad+=I}}catch(e){(0,i.H)("Error appending tracking pixel",e)}}return n}(e,o,t);c.mediaType=function(e){var r=e.ad_type;return r===u.pX?u.pX:r===u.B5?u.B5:u.Mk}(o),n.push(c)}})),e.debug&&e.debug.debug_info){var c="MediaFuse Debug Auction for Prebid\n\n"+e.debug.debug_info;c=c.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,i.ji)(c)}return n},getMappingFileInfo:function(){return{url:"https://acdn.adnxs-simple.com/prebid/mediafuse-mapping/mappings.json",refreshInDays:2}},getUserSyncs:function(e,r,a){if(e.iframeEnabled&&(0,b.h)({gdprConsent:a}))return[{type:"iframe",url:"https://acdn.adnxs.com/dmp/async_usersync.html"}]},transformBidParams:function(e,r){return e=(0,i.uh)({member:"string",invCode:"string",placementId:"number",keywords:i.Bq,publisherId:"number"},e),r&&(e.use_pmt_rule="boolean"==typeof e.usePaymentRule&&e.usePaymentRule,e.usePaymentRule&&delete e.usePaymentRule,q(e.keywords)&&e.keywords.forEach(R),Object.keys(e).forEach((function(r){var a=(0,i.G2)(r);a!==r&&(e[a]=e[r],delete e[r])}))),e},onBidWon:function(e){e.native&&function(e){var r=function(e){var r;if((0,i.d8)(e)&&U(e))r=e;else if((0,i.kJ)(e))for(var a=0;a<e.length;a++){var t=e[a];U(t)&&(r=t)}return r}(e.native.javascriptTrackers);if(r)for(var a="pbjs_adid="+e.adId+";pbjs_auc="+e.adUnitCode,t=function(e){var r=e.indexOf('src="')+5,a=e.indexOf('"',r);return e.substring(r,a)}(r),n=t.replace("dom_id=%native_dom_id%",a),s=document.getElementsByTagName("iframe"),d=!1,o=0;o<s.length&&!d;o++){var p=s[o];try{var u=p.contentDocument||p.contentWindow.document;if(u)for(var c=u.getElementsByTagName("script"),m=0;m<c.length&&!d;m++){var l=c[m];l.getAttribute("data-src")==t&&(l.setAttribute("src",n),l.setAttribute("data-src",""),l.removeAttribute&&l.removeAttribute("data-src"),d=!0)}}catch(e){if(!(e instanceof DOMException&&"SecurityError"===e.name))throw e}}}(e)}};function q(e){return!!((0,i.kJ)(e)&&e.length>0)}function R(e){q(e.value)&&""===e.value[0]&&delete e.value}function U(e){var r=e.match(j),a=null!=r&&r.length>=1,t=e.match("trk.js"),n=null!=t&&t.length>=1;return e.startsWith("<script")&&n&&a}function P(e){var r={};r.sizes=B(e.sizes),r.primary_size=r.sizes[0],r.ad_types=[],r.uuid=e.bidId,e.params.placementId?r.id=parseInt(e.params.placementId,10):r.code=e.params.invCode,r.allow_smaller_sizes=e.params.allowSmallerSizes||!1,r.use_pmt_rule=e.params.usePaymentRule||!1,r.prebid=!0,r.disable_psa=!0;var a=function(e){if(!(0,i.LQ)(e.getFloor))return e.params.reserve?e.params.reserve:null;var r=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,i.PO)(r)&&!isNaN(r.floor)&&"USD"===r.currency)return r.floor;return null}(e);if(a&&(r.reserve=a),e.params.position&&(r.position={above:1,below:2}[e.params.position]||0),e.params.trafficSourceCode&&(r.traffic_source_code=e.params.trafficSourceCode),e.params.privateSizes&&(r.private_sizes=B(e.params.privateSizes)),e.params.supplyType&&(r.supply_type=e.params.supplyType),e.params.pubClick&&(r.pubclick=e.params.pubClick),e.params.extInvCode&&(r.ext_inv_code=e.params.extInvCode),e.params.publisherId&&(r.publisher_id=parseInt(e.params.publisherId,10)),e.params.externalImpId&&(r.external_imp_id=e.params.externalImpId),!(0,i.xb)(e.params.keywords)){var t=(0,i.Bq)(e.params.keywords);t.length>0&&t.forEach(R),r.keywords=t}var n,d,o=(0,s.Z)(e,"ortb2Imp.ext.data.pbadslot");if(o&&(r.gpid=o),(e.mediaType===u.B5||(0,s.Z)(e,"mediaTypes.".concat(u.B5)))&&(r.ad_types.push(u.B5),0===r.sizes.length&&(r.sizes=B([1,1])),e.nativeParams)){var p=(n=e.nativeParams,d={},Object.keys(n).forEach((function(e){var r=O[e]&&O[e].serverName||O[e]||e,a=O[e]&&O[e].requiredParams;if(d[r]=Object.assign({},a,n[e]),(r===O.image.serverName||r===O.icon.serverName)&&d[r].sizes){var t=d[r].sizes;((0,i.HC)(t)||(0,i.kJ)(t)&&t.length>0&&t.every((function(e){return(0,i.HC)(e)})))&&(d[r].sizes=B(d[r].sizes))}r===O.privacyLink&&(d.privacy_supported=!0)})),d);r[u.B5]={layouts:[p]}}var l=(0,s.Z)(e,"mediaTypes.".concat(u.pX)),f=(0,s.Z)(e,"mediaTypes.video.context");r.hb_source=l&&"adpod"===f?7:1,(e.mediaType===u.pX||l)&&r.ad_types.push(u.pX),(e.mediaType===u.pX||l&&"outstream"!==f)&&(r.require_asset_url=!0),e.params.video&&(r.video={},Object.keys(e.params.video).filter((function(e){return(0,m.q9)(k,e)})).forEach((function(a){switch(a){case"context":case"playback_method":var t=e.params.video[a];t=(0,i.kJ)(t)?t[0]:t,r.video[a]=E[a][t];break;case"frameworks":break;default:r.video[a]=e.params.video[a]}})),e.params.video.frameworks&&(0,i.kJ)(e.params.video.frameworks)&&(r.video_frameworks=e.params.video.frameworks)),l&&(r.video=r.video||{},Object.keys(l).filter((function(e){return(0,m.q9)(I,e)})).forEach((function(e){switch(e){case"minduration":case"maxduration":"number"!=typeof r.video[e]&&(r.video[e]=l[e]);break;case"skip":"boolean"!=typeof r.video.skippable&&(r.video.skippable=1===l[e]);break;case"skipafter":"number"!=typeof r.video.skipoffset&&(r.video.skippoffset=l[e]);break;case"playbackmethod":if("number"!=typeof r.video.playback_method){var a=l[e];(a=(0,i.kJ)(a)?a[0]:a)>=1&&a<=4&&(r.video.playback_method=a)}break;case"api":if(!r.video_frameworks&&(0,i.kJ)(l[e])){var t=l[e].map((function(e){var r=4===e?5:5===e?4:e;if(r>=1&&r<=5)return r})).filter((function(e){return e}));r.video_frameworks=t}}}))),e.renderer&&(r.video=Object.assign({},r.video,{custom_renderer_present:!0})),e.params.frameworks&&(0,i.kJ)(e.params.frameworks)&&(r.banner_frameworks=e.params.frameworks);var v=(0,m.sE)(c.K.getAdUnits(),(function(r){return e.transactionId===r.transactionId}));return v&&v.mediaTypes&&v.mediaTypes.banner&&r.ad_types.push(u.Mk),0===r.ad_types.length&&delete r.ad_types,r}function B(e){var r=[],a={};if((0,i.kJ)(e)&&2===e.length&&!(0,i.kJ)(e[0]))a.width=parseInt(e[0],10),a.height=parseInt(e[1],10),r.push(a);else if("object"===(0,t.Z)(e))for(var n=0;n<e.length;n++){var s=e[n];(a={}).width=parseInt(s[0],10),a.height=parseInt(s[1],10),r.push(a)}return r}function M(e){return!!e.params.user}function z(e){return!!parseInt(e.params.member,10)}function D(e){if(e.params)return!!e.params.app}function Z(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function N(e){return!!e.debug}function A(e){return e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context===u.Oh}function J(e){var r=!1,a=e.params,t=e.params.video;return a.frameworks&&(0,i.kJ)(a.frameworks)&&(r=(0,m.q9)(e.params.frameworks,6)),!r&&t&&t.frameworks&&(0,i.kJ)(t.frameworks)&&(r=(0,m.q9)(e.params.video.frameworks,6)),r}function X(e,r,a){(0,i.xb)(e.video)&&(e.video={}),e.video[r]=a}function F(e){var r,a;r=e.adUnitCode,(a=document.getElementById(r).querySelectorAll("div[id^='google_ads']"))[0]&&a[0].style.setProperty("display","none"),function(e){try{var r=document.getElementById(e).querySelectorAll("script[id^='sas_script']");r[0].nextSibling&&"iframe"===r[0].nextSibling.localName&&r[0].nextSibling.style.setProperty("display","none")}catch(e){}}(e.adUnitCode),e.renderer.push((function(){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()},H.bind(null,e))}))}function H(e,r,a){e.renderer.handleVideoEvent({id:r,eventName:a})}function L(e,r,a,t){return r&&(t?e.push({source:a,id:r,rti_partner:t}):e.push({source:a,id:r})),e}(0,p.dX)(S),window.pbjs.installedModules.push("mediafuseBidAdapter")},7673:function(e,r,a){a.d(r,{h:function(){return n}});var t=a(265);function n(e){return null==e||!e.gdprApplies||!0===(0,t.Z)(e,"vendorData.purpose.consents.1")}}},function(e){e.O(0,[6866],(function(){return r=9293,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[3769],{896:function(e,t,n){var i=n(4358),r=n(265),a=n(5339),o=n(3193),d=n(4679),s=n(5102),c=n(5706),u=n(59),p="medianet",l="https://prebid.media.net/video/bundle.js",m=0,f=1,b=2,g="client_timeout",h="client_bid_won",v=(0,s.nH)(),y={};window.mnet=window.mnet||{},window.mnet.queue=window.mnet.queue||[],y.urlData={domain:v.domain,page:v.page,isTop:v.reachedTop};function w(){try{return window.top.document.referrer}catch(e){return document.referrer}}function x(e,t){var n=t.refererInfo,i={domain:(e=e||{}).domain||n.domain,page:e.page||n.page,ref:e.ref||w(),topMostLocation:n.topmostLocation,isTop:e.isTop||n.reachedTop};return Object.assign(i,function(){if(y.pageMeta)return y.pageMeta;var e=_('link[rel="canonical"]',"href"),t=_('meta[property="og:url"]',"content"),n=_('meta[name="twitter:url"]',"content");return y.pageMeta=Object.assign({},e&&{canonical_url:e},t&&{og_url:t},n&&{twitter_url:n}),y.pageMeta}())}function _(e,t){var n,r,a=function(e,t){try{var n=(0,i.Zy)().document.querySelector(e);if(null!==n&&n[t])return n[t]}catch(e){}}(e,t);return a&&(n=a,(r=(0,i.Zy)().document.createElement("a")).href=n,r.href)}function j(e,t){return e.filter((function(e){return e.type===t}))}function T(e){return{w:parseInt(e[0],10),h:parseInt(e[1],10)}}function I(e,t){var n=(0,r.Z)(e,"params"),a=(0,r.Z)(t,"gdprConsent"),d=(0,r.Z)(t,"uspConsent"),s=(0,r.Z)(e,"userId"),c=(0,r.Z)(e,"schain")||{},u=R.getWindowSize(),p=!(!a||!a.gdprApplies),l=!!d,m=!!o.vc.getConfig("coppa");return Object.assign({},{customer_id:n.cid},{prebid_version:pbjs.version},{gdpr_applies:p},p&&{gdpr_consent_string:a.consentString||""},{usp_applies:l},l&&{usp_consent_string:d||""},{coppa_applies:m},-1!==u.w&&-1!==u.h&&{screen:u},s&&{user_id:s},pbjs.medianetGlobals.analyticsEnabled&&{analytics:!0},!(0,i.xb)(c)&&{schain:c})}function O(e){var t={id:e.bidId,transactionId:e.transactionId,ext:{dfp_id:e.adUnitCode,display_count:e.bidRequestsCount},all:e.params};e.ortb2Imp&&(t.ortb2Imp=e.ortb2Imp);var n,a=(0,r.Z)(e,"mediaTypes.banner.sizes")||[],o=(0,r.Z)(e,"mediaTypes.video")||{},s=(0,r.Z)(e,"params.video")||{},c=Object.assign({},s,o);if((0,i.xb)(c)||(t.video=c),a.length>0&&(t.banner=(n=a,(0,i.kJ)(n)&&2===n.length&&!(0,i.kJ)(n[0])?[T(n)]:n.map((function(e){return T(e)})))),e.nativeParams)try{t.native=JSON.stringify(e.nativeParams)}catch(e){(0,i.H)("".concat(p," : Incorrect JSON : bidRequest.nativeParams"))}e.params.crid&&(t.tagid=e.params.crid.toString());var u=parseFloat(e.params.bidfloor||e.params.bidFloor);u&&(t.bidfloor=u);var l=function(e){var t=document.getElementById(e);if(!t&&-1!==e.indexOf("/")){var n=(0,i.ky)(e).divId;(0,i.d8)(n)&&(t=document.getElementById(n))}if(t&&t.getBoundingClientRect){var r=t.getBoundingClientRect(),a={};return a.top_left={y:r.top,x:r.left},a.bottom_right={y:r.bottom,x:r.right},a}return null}(e.adUnitCode);if(l&&t.banner&&0!==t.banner.length){var g=function(e){return{top_left:{x:e.top_left.x+window.pageXOffset,y:e.top_left.y+window.pageYOffset},bottom_right:{x:e.bottom_right.x+window.pageXOffset,y:e.bottom_right.y+window.pageYOffset}}}(l);t.ext.coordinates=g,t.ext.viewability=C(l.top_left,M(t.banner)),C(g.top_left,M(t.banner))>.5?t.ext.visibility=f:t.ext.visibility=b}else t.ext.visibility=m;var h=function(e){var t=[];"function"==typeof e.getFloor&&[d.Mk,d.pX,d.B5].forEach((function(n){e.mediaTypes.hasOwnProperty(n)&&(n==d.Mk?e.mediaTypes.banner.sizes.forEach((function(i){k(e,n,i,t)})):k(e,n,"*",t))}));return t}(e);return h&&h.length>0&&(t.bidfloors=h),t}function k(e,t,n,i){var r=e.getFloor({currency:"USD",mediaType:t,size:n});n.length>1&&(r.size=n),r.mediaType=t,i.push(r)}function M(e){return e.reduce((function(e,t){return t.h*t.w<e.h*e.w?t:e}))}function C(e,t){var n=t.w*t.h,i=R.getWindowSize(),r={x:e.x+t.w,y:e.y+t.h};return 0===n||-1===i.w||-1===i.h?0:function(e,t,n,i){if(e.x>i.x||t.x<n.x||e.y>i.y||t.y<n.y)return 0;return(Math.min(t.x,i.x)-Math.max(e.x,n.x))*(Math.min(t.y,i.y)-Math.max(e.y,n.y))}(e,r,{x:0,y:0},{x:i.w,y:i.h})/n}function Z(e,t){t=(0,i.kJ)(t)&&t||[];var n={logid:"kfk",evtid:"projectevents",project:"prebid"};return n.acid=(0,r.Z)(t,"0.auctionId")||"",n.cid=pbjs.medianetGlobals.cid||"",n.crid=t.map((function(e){return(0,r.Z)(e,"params.0.crid")||e.adUnitCode})).join("|"),n.adunit_count=t.length||0,n.dn=y.urlData.domain||"",n.requrl=y.urlData.page||"",n.istop=y.urlData.isTop||"",n.event=e.name||"",n.value=e.value||"",n.rd=e.related_data||"",n}function S(e,t){var n={protocol:"https",hostname:"qsearch-a.akamaihd.net/log",search:Z(e,t)};(0,i.hq)((0,i.Q2)(n))}function q(e){var t,n=(0,r.Z)(e,"context")||"",a=(0,r.Z)(e,"vto");"outstream"==n&&a&&(e.renderer=((t=c.Th.install({url:l})).setRender((function(e){window.mnet.queue.push((function(){var t={width:e.width,height:e.height,vastTimeout:e.vto,maxAllowedVastTagRedirects:e.mavtr,allowVpaid:e.avp,autoPlay:e.ap,preload:e.pl,mute:e.mt},n=e.dfp_id,r=(0,i.ky)(n).divId||n;window.mnet.mediaNetoutstreamPlayer(e,r,t)}))})),t))}pbjs.medianetGlobals=pbjs.medianetGlobals||{};var R={code:p,gvlid:142,aliases:[{code:"aax",gvlid:720}],supportedMediaTypes:[d.Mk,d.B5,d.pX],isBidRequestValid:function(e){return e.params?e.params.cid&&(0,i.d8)(e.params.cid)&&!(0,i.jH)(e.params.cid)?(Object.assign(pbjs.medianetGlobals,!pbjs.medianetGlobals.cid&&{cid:e.params.cid}),!0):((0,i.H)("".concat(p," : cid should be a string")),!1):((0,i.H)("".concat(p," : Missing bid parameters")),!1)},buildRequests:function(e,t){var n,i=function(e,t){return{site:x(e[0].params.site,t),ext:I(e[0],t),id:e[0].auctionId,imp:e.map((function(e){return O(e)})),ortb2:t.ortb2,tmax:t.timeout||o.vc.getConfig("bidderTimeout")}}(e=(0,u.lY)(e),t);return{method:"POST",url:(n=i.ext.customer_id,"https://prebid.media.net/rtb/prebid?cid="+encodeURIComponent(n)),data:JSON.stringify(i)}},interpretResponse:function(e,t){var n=[];if(!e||!e.body)return(0,i.PN)("".concat(p," : response is empty")),n;var r=e.body.bidList;return(0,i.kJ)(r)&&0!==r.length?((n=r.filter((function(e){return function(e){return!1===e.no_bid&&parseFloat(e.cpm)>0}(e)}))).forEach(q),n):((0,i.PN)("".concat(p," : no bids")),n)},getUserSyncs:function(e,t){var n,r=(n=t,!(0,i.xb)(n)&&n[0].body&&n[0].body.ext&&(0,i.kJ)(n[0].body.ext.csUrl)?n[0].body.ext.csUrl:[]);return e.iframeEnabled?j(r,"iframe"):e.pixelEnabled?j(r,"image"):void 0},onTimeout:function(e){try{S({name:g,value:e.length,related_data:e[0].timeout||o.vc.getConfig("bidderTimeout")},e)}catch(e){}},onBidWon:function(e){try{S({name:h,value:e.cpm},[e])}catch(e){}},clearMnData:function(){y={}},getWindowSize:function(){return{w:window.screen.width||-1,h:window.screen.height||-1}}};(0,a.dX)(R),window.pbjs.installedModules.push("medianetBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=896,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9574],{1594:function(e,r,i){var d=i(265),t=i(4358),a=i(4614),n=i(5339),o=i(4679),s=i(59),p={production:"https://s-rtb-pb.send.microad.jp/prebid",test:"https://rtbtest.send.microad.jp/prebid"},u=[{type:6,bidKey:"userId.imuid",source:"intimatemerger.com"},{type:8,bidKey:"userId.id5id.uid",source:"id5-sync.com"},{type:9,bidKey:"userId.tdid",source:"adserver.org"},{type:10,bidKey:"userId.novatiq.snowflake",source:"novatiq.com"},{type:11,bidKey:"userId.parrableId.eid",source:"parrable.com"},{type:12,bidKey:"userId.dacId.id",source:"dac.co.jp"},{type:13,bidKey:"userId.idl_env",source:"liveramp.com"},{type:14,bidKey:"userId.criteoId",source:"criteo.com"},{type:15,bidKey:"userId.pubcid",source:"pubcid.org"},{type:17,bidKey:"userId.uid2.id",source:"uidapi.com"}];function c(e,r){return(e?-1:0)&r}function f(e){return c(e.mediaTypes.banner,1)|c(e.mediaTypes.native,2)|c(e.mediaTypes.video,4)}var y={code:"microad",supportedMediaTypes:[o.Mk],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.spot&&e.mediaTypes&&(e.mediaTypes.banner||e.mediaTypes.native||e.mediaTypes.video))},buildRequests:function(e,r){e=(0,s.lY)(e);var i=[];return e.forEach((function(e){var n=e.params,o={spot:n.spot,url:r.refererInfo.page||window.location.href,referrer:r.refererInfo.ref,bid_id:e.bidId,transaction_id:e.transactionId,media_types:f(e),cbt:Math.floor(Math.random()*Math.pow(10,18)).toString(16)+(new Date).getTime().toString(16)};if(n.url&&(o.url_macro=n.url.replace("${COMPASS_EXT_URL}","")),n.referrer&&(o.referrer_macro=n.referrer.replace("${COMPASS_EXT_REF}","")),n.ifa&&(o.ifa=n.ifa.replace("${COMPASS_EXT_IFA}","")),n.appid&&(o.appid=n.appid.replace("${COMPASS_EXT_APPID}","")),n.geo){var s=n.geo.replace("${COMPASS_EXT_GEO}","");/^[0-9.\-]+,[0-9.\-]+$/.test(s)&&(o.geo=s)}var c=[],y=e.userIdAsEids;u.forEach((function(r){var i=(0,d.Z)(e,r.bidKey);if(!(0,t.xb)(i)&&(0,t.d8)(i)){var n={type:r.type,id:i};if((0,t.kJ)(y)){var s=(0,a.sE)(y,(function(e){return e.source===r.source}))||{};(0,t.xb)((0,d.Z)(s,"uids.0.ext"))||(n.ext=s.uids[0].ext)}c.push(n),13===r.type&&(o.idl_env=i)}})),c.length>0&&(o.aids=JSON.stringify(c)),i.push({method:"GET",url:p.production,data:o,options:{Accept:"application/json"}})})),i},interpretResponse:function(e){var r=e.body,i=[];if(r.cpm&&r.cpm>0){var d={requestId:r.requestId,cpm:r.cpm,width:r.width,height:r.height,ad:r.ad,ttl:r.ttl,creativeId:r.creativeId,netRevenue:r.netRevenue,currency:r.currency,meta:r.meta||{advertiserDomains:[]}};r.dealId&&(d.dealId=r.dealId),i.push(d)}return i},getUserSyncs:function(e,r){var i=[];return e.iframeEnabled||e.pixelEnabled?(r.forEach((function(r){var d=r.body.syncUrls.iframe,t=r.body.syncUrls.image;e.iframeEnabled&&d&&d.forEach((function(e){i.push({type:"iframe",url:e})})),e.pixelEnabled&&t&&t.forEach((function(e){i.push({type:"image",url:e})}))})),i):i}};(0,n.dX)(y),window.pbjs.installedModules.push("microadBidAdapter")}},function(e){e.O(0,[6866],(function(){return r=1594,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2037],{2506:function(e,r,n){var t=n(9062),a=n(4358),i=n(265),o=n(5339),s=n(4679),d=n(3193);function u(e,r){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,r){if(!e)return;if("string"==typeof e)return p(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,r)}(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var t=0,a=function(){};return{s:a,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function p(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}var c=[s.Mk,s.pX],m="6.0.0",l="USD",f="https://hb.minutemedia-prebid.com/",y="hb-mm-multi",v="hb-multi-mm-test",b="iframe",h="pixel",g={code:"minutemedia",gvlid:918,version:m,supportedMediaTypes:c,isBidRequestValid:function(e){return e.params?!!e.params.org||((0,a.yN)("org is a mandatory param for MinuteMedia adapter"),!1):((0,a.yN)("no params have been set to MinuteMedia adapter"),!1)},buildRequests:function(e,r){var n={},t=e[0],o=t.params.testMode;return n.params=function(e,r){var n=window.location.hostname,t=d.vc.getConfig("userSync")||{},o=t.syncEnabled,s=t.filterSettings,u=r.bidderCode,p=e.params,c=d.vc.getConfig("bidderTimeout"),l={wrapper_type:"prebidjs",wrapper_vendor:"pbjs",wrapper_version:"7.39.0",adapter_version:m,auction_start:(0,a.AB)(),publisher_id:p.org,publisher_name:n,site_domain:n,dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,device_type:C(navigator.userAgent),ua:navigator.userAgent,session_id:(0,a.An)("auctionId",e),tmax:c},f=(0,a.An)("userId",e);f&&(l.userIds=JSON.stringify(f));var y=r.ortb2||{};y.site&&(l.site_metadata=JSON.stringify(y.site));y.user&&(l.user_metadata=JSON.stringify(y.user));if(o){var v=function(e,r){var n=["all","iframe"],t="image";if(e&&n.some((function(n){return w(e[n],r)})))return b;if(!e||!e[t]||w(e[t],r))return h}(s,u);v&&(l.cs_method=v)}r.uspConsent&&(l.us_privacy=r.uspConsent);r&&r.gdprConsent&&r.gdprConsent.gdprApplies&&(l.gdpr=r.gdprConsent.gdprApplies,l.gdpr_consent=r.gdprConsent.consentString);p.ifa&&(l.ifa=p.ifa);e.schain&&(l.schain=function(e){if((0,a.xb)(e))return"";var r="".concat(e.ver,",").concat(e.complete);return e.nodes.forEach((function(e){r+="!",r+="".concat(I(e.asi),","),r+="".concat(I(e.sid),","),r+="".concat(e.hp?encodeURIComponent(e.hp):"",","),r+="".concat(I(e.rid),","),r+="".concat(I(e.name),","),r+="".concat(I(e.domain))})),r}(e.schain));r&&r.refererInfo&&(l.referrer=(0,i.Z)(r,"refererInfo.ref"),l.page_url=(0,i.Z)(r,"refererInfo.page")||window.location.href);return l}(t,r),n.bids=function(e,r){var n=[];e.length&&e.forEach((function(e){n.push(function(e,r){var n=e.params,t=function(e){return e.mediaTypes&&e.mediaTypes.banner}(e)?s.Mk:s.pX,o=function(e,r){var n=[];(0,i.Z)(e,"mediaTypes.".concat(r,".sizes"))?n=e.mediaTypes[r].sizes:Array.isArray(e.sizes)&&e.sizes.length>0&&(n=e.sizes);return n}(e,t);isNaN(n.floorPrice)&&(n.floorPrice=0);var d={mediaType:t,adUnitCode:(0,a.An)("adUnitCode",e),sizes:o,floorPrice:Math.max(T(e,t),n.floorPrice),bidId:(0,a.An)("bidId",e),loop:(0,a.An)("bidderRequestsCount",e),bidderRequestId:(0,a.An)("bidderRequestId",e),transactionId:(0,a.An)("transactionId",e)},u=(0,i.Z)(e,"mediaTypes.".concat(t,".pos"));u&&(d.pos=u);var p=(0,i.Z)(e,"ortb2Imp.ext.gpid");p&&(d.gpid=p);var c=n.placementId||(0,i.Z)(e,"mediaTypes.".concat(t,".name"));c&&(d.placementId=c);if(t===s.pX){var m,l=(0,i.Z)(e,"mediaTypes.video.playbackmethod");Array.isArray(l)&&(0,a.U)(l[0])?m=l[0]:(0,a.U)(l)&&(m=l),m&&(d.playbackMethod=m);var f=(0,i.Z)(e,"mediaTypes.video.placement");f&&(d.placement=f);var y=(0,i.Z)(e,"mediaTypes.video.minduration");y&&(d.minDuration=y);var v=(0,i.Z)(e,"mediaTypes.video.maxduration");v&&(d.maxDuration=v);var b=(0,i.Z)(e,"mediaTypes.video.skip");b&&(d.skip=b);var h=(0,i.Z)(e,"mediaTypes.video.linearity");h&&(d.linearity=h)}return d}(e))}));return n}(e),{method:"POST",url:A(o),data:n}},interpretResponse:function(e){var r=e.body,n=[];return r.bids&&r.bids.forEach((function(e){var r={requestId:e.requestId,cpm:e.cpm,currency:e.currency||l,width:e.width,height:e.height,ttl:e.ttl||360,creativeId:e.requestId,netRevenue:e.netRevenue||!0,nurl:e.nurl,mediaType:e.mediaType,meta:{mediaType:e.mediaType}};e.mediaType===s.pX?r.vastXml=e.vastXml:e.mediaType===s.Mk&&(r.ad=e.ad),e.adomain&&e.adomain.length&&(r.meta.advertiserDomains=e.adomain),n.push(r)})),n},getUserSyncs:function(e,r){var n,i=[],o=u(r);try{for(o.s();!(n=o.n()).done;){var s=n.value;if(e.iframeEnabled&&s.body.params.userSyncURL&&i.push({type:"iframe",url:s.body.params.userSyncURL}),e.pixelEnabled&&(0,a.kJ)(s.body.params.userSyncPixels)){var d=s.body.params.userSyncPixels.map((function(e){return{type:"image",url:e}}));i.push.apply(i,(0,t.Z)(d))}}}catch(e){o.e(e)}finally{o.f()}return i},onBidWon:function(e){null!=e&&((0,a.PN)("onBidWon:",e),e.hasOwnProperty("nurl")&&e.nurl.length>0&&(0,a.hq)(e.nurl))}};function T(e,r){if(!(0,a.LQ)(e.getFloor))return 0;var n=e.getFloor({currency:l,mediaType:r,size:"*"});return n.currency===l&&n.floor?n.floor:0}function I(e){return(0,a.xb)(e)?"":encodeURIComponent(e)}function w(e,r){if(!e)return!1;var n="include"===e.filter,t=(0,a.kJ)(e.bidders)?e.bidders:[r];return n&&(0,a.r3)(t,r)}function A(e){return e?f+v:f+y}function C(e){return/ipad|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i.test(e.toLowerCase())?"5":/iphone|ipod|android|blackberry|opera|mini|windows\sce|palm|smartphone|iemobile/i.test(e.toLowerCase())?"4":/smart[-_\s]?tv|hbbtv|appletv|googletv|hdmi|netcast|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b/i.test(e.toLowerCase())?"3":"1"}(0,o.dX)(g),window.pbjs.installedModules.push("minutemediaBidAdapter")}},function(e){e.O(0,[6866],(function(){return r=2506,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[6622],{3574:function(e,n,t){var r=t(5671),i=t(3144),a=t(4942),o=t(4358),d=t(265),s=t(5644),u=t(4679),c=t(3193),l=t(2021),p=t(5339),m=t(5102);function f(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return v(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return v(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,d=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){d=!0,a=e},f:function(){try{o||null==t.return||t.return()}finally{if(d)throw a}}}}function v(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var h="nextMillennium",g=["api","linearity","maxduration","mimes","minduration","placement","playbackmethod","protocols","startdelay"],y=new(function(){function e(){(0,r.Z)(this,e),(0,a.Z)(this,"eventNames",[s.FP.BID_TIMEOUT,s.FP.BID_RESPONSE,s.FP.BID_REQUESTED,s.FP.NO_BID]),(0,a.Z)(this,"disabledSending",!1),(0,a.Z)(this,"enabledSending",!1),(0,a.Z)(this,"eventHendlers",{})}return(0,i.Z)(e,[{key:"initEvents",value:function(){var e,n;this.disabledSending=!(null===(e=c.vc.getBidderConfig())||void 0===e||null===(n=e.nextMillennium)||void 0===n||!n.disabledSendingStatisticData),this.disabledSending?this.removeEvents():this.createEvents()}},{key:"createEvents",value:function(){if(!this.enabledSending){this.enabledSending=!0;var e,n=f(this.eventNames);try{for(n.s();!(e=n.n()).done;){var t=e.value;this.eventHendlers[t]||(this.eventHendlers[t]=this.eventHandler(t)),l.on(t,this.eventHendlers[t])}}catch(e){n.e(e)}finally{n.f()}}}},{key:"removeEvents",value:function(){if(this.enabledSending){this.enabledSending=!1;var e,n=f(this.eventNames);try{for(n.s();!(e=n.n()).done;){var t=e.value;this.eventHendlers[t]&&l.S1(t,this.eventHendlers[t])}}catch(e){n.e(e)}finally{n.f()}}}},{key:"eventHandler",value:function(e){var n=this,t=this.getEventHandler(e);return e==s.FP.BID_TIMEOUT?function(e){if(!n.disabledSending&&Array.isArray(e)){var r,i=f(e);try{for(i.s();!(r=i.n()).done;){var a=r.value;t(a)}}catch(e){i.e(e)}finally{i.f()}}}:t}},{key:"getEventHandler",value:function(e){var n=this;return function(t){if(!n.disabledSending){var r=I.getUrlPixelMetric(e,t);r&&(0,o.hq)(r)}}}}]),e}());l.on(s.FP.AUCTION_INIT,(function(){y.initEvents()}));var b=12e5,w={};!function e(){var n=Date.now();Object.keys(w).forEach((function(e){n>=w[e].expirence&&delete w[e]})),setTimeout(e,6e4)}(),l.on(s.FP.BID_WON,(function(e){var n=e.auctionId,t=e.requestId,r=function(e){var n=e.auctionId,t=e.requestId,r=A({auctionId:n,requestId:t});return w[r]&&w[r].wurl}({auctionId:n,requestId:t});r&&((0,o.ji)('(nextmillennium) Invoking image pixel for wurl on BID_WIN: "'.concat(r,'"')),(0,o.hq)(r),function(e){var n=e.auctionId,t=e.requestId,r=A({auctionId:n,requestId:t});delete w[r]}({auctionId:n,requestId:t}))}));var I={code:h,supportedMediaTypes:[u.Mk,u.pX],isBidRequestValid:function(e){return!!(e.params.placement_id&&(0,o.d8)(e.params.placement_id)||e.params.group_id&&(0,o.d8)(e.params.group_id))},buildRequests:function(e,n){var t=[];return window.nmmRefreshCounts=window.nmmRefreshCounts||{},(0,o.yi)(e,(function(e){window.nmmRefreshCounts[e.adUnitCode]=window.nmmRefreshCounts[e.adUnitCode]||0;var r=function(e){var n=(0,o.An)("group_id",e.params),t=(0,o.An)("placement_id",e.params);if(!n)return t;var r=E(window),i=[];e.mediaTypes&&(e.mediaTypes.banner&&(i=e.mediaTypes.banner.sizes),e.mediaTypes.video&&(i=[e.mediaTypes.video.playerSize]));var a=r&&r.location&&r.location.host||"";return"g".concat(n,";").concat(i.map((function(e){return e.join("x")})).join("|"),";").concat(a)}(e),i=e.auctionId,a=e.bidId,s=e.sizes;s&&!Array.isArray(s[0])&&(s=[s]);var u,c={page:(u=m.nH&&(0,m.nH)()||{}).page,ref:u.ref,domain:u.domain},l={w:window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth||0,h:window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight||0},p={id:e.auctionId,ext:{prebid:{storedrequest:{id:r}},nextMillennium:{refresh_count:window.nmmRefreshCounts[e.adUnitCode]++,elOffsets:x(e),scrollTop:window.pageYOffset||document.documentElement.scrollTop}},device:l,site:c,imp:[]},f={ext:{prebid:{storedrequest:{id:r}}}};(0,d.Z)(e,"mediaTypes.banner")&&(f.banner={format:(s||[]).map((function(e){return{w:e[0],h:e[1]}}))});var v=(0,d.Z)(e,"mediaTypes.video");v&&(f.video=(0,o.iG)(v,g),v.playerSize?f.video=Object.assign(f.video,(0,o.NI)(v.playerSize[0])||{}):v.w&&v.h&&(f.video.w=v.w,f.video.h=v.h)),p.imp.push(f);var h=n&&n.gdprConsent,y=n&&n.uspConsent;(h||y)&&(p.regs={ext:{}},y&&(p.regs.ext.us_privacy=y),h&&(void 0!==h.gdprApplies&&(p.regs.ext.gdpr=h.gdprApplies?1:0),void 0!==h.consentString&&(p.user={ext:{consent:h.consentString}})));var b=(0,o.en)((0,o.Zy)().location.href).search,w=b.pbs&&"test"===b.pbs,I=e.params;t.push({method:"POST",url:w?"https://test.pbs.nextmillmedia.com/openrtb2/auction":"https://pbs.nextmillmedia.com/openrtb2/auction",data:JSON.stringify(p),options:{contentType:"text/plain",withCredentials:!0},bidId:a,params:I,auctionId:i})})),t},interpretResponse:function(e,n){var t=e.body,r=[];return(0,o.yi)(t.seatbid,(function(e){(0,o.yi)(e.bid,(function(e){var i=n.bidId,a=n.params;!function(e){var n=e.wurl,t=e.requestId,r=e.auctionId;if(!n)return;var i=Date.now()+b,a=A({auctionId:r,requestId:t});w[a]={wurl:n,expirence:i}}({auctionId:n.auctionId,requestId:i,wurl:(0,d.Z)(e,"ext.prebid.events.win")});var s=function(e){var n,t,r,i;if((0,d.Z)(e,"ext.prebid.type")===u.pX)"http"===e.adm.substr(0,4)?i=e.adm:r=e.adm;else e.adm&&e.nurl?(n=e.adm,n+=(0,o.SG)(decodeURIComponent(e.nurl))):e.adm?n=e.adm:e.nurl&&(t=e.nurl);return{ad:n,adUrl:t,vastXml:r,vastUrl:i}}(e),c=s.ad,l=s.adUrl,p=s.vastUrl,m=s.vastXml,f={requestId:i,params:a,cpm:e.price,width:e.w,height:e.h,creativeId:e.adid,currency:t.cur,netRevenue:!0,ttl:360,meta:{advertiserDomains:e.adomain||[]}};p||m?(f.mediaType=u.pX,p&&(f.vastUrl=p),m&&(f.vastXml=m)):(f.ad=c,f.adUrl=l),r.push(f)}))})),r},getUserSyncs:function(e,n,t,r){var i=[];if((0,o.kJ)(n)&&n.forEach((function(n){e.pixelEnabled&&(0,d.Z)(n,"body.ext.sync.image",[]).forEach((function(e){i.push({type:"image",url:S(e,t,r)})})),e.iframeEnabled&&(0,d.Z)(n,"body.ext.sync.iframe",[]).forEach((function(e){i.push({type:"iframe",url:S(e,t,r)})}))})),!i.length){var a="https://cookies.nextmillmedia.com/sync?";t&&t.gdprApplies&&(a+="gdpr=1&gdpr_consent="+t.consentString+"&"),r&&(a+="us_privacy="+r+"&"),e.iframeEnabled&&i.push({type:"iframe",url:a+"type=iframe"}),e.pixelEnabled&&i.push({type:"image",url:a+"type=image"})}return i},getUrlPixelMetric:function(e,n){var t,r=n.bidder||n.bidderCode;if(r==h&&(n.params?t=Array.isArray(n.params)?n.params:[n.params]:Array.isArray(n.bids)&&(t=n.bids.map((function(e){return e.params}))),t.length)){var i=[],a=[];t.forEach((function(e){e.group_id?a.push(e.group_id):e.placement_id&&i.push(e.placement_id)}));var o=i.length&&"&placements=".concat(i.join(";"))||"",d=a.length&&"&groups=".concat(a.join(";"))||"";if(d||o)return"".concat("https://report2.hb.brainlyads.com/statistics/metric","?event=").concat(e,"&bidder=").concat(r,"&source=pbjs").concat(d).concat(o)}}};function S(e,n,t){var r=n||{},i=r.consentString,a=r.gdprApplies;if(a){var o=Number(a);e=e.replace("{{.GDPR}}",o),1==o&&i&&i.length>0&&(e=e.replace("{{.GDPRConsent}}",i))}else e=(e=e.replace("{{.GDPR}}",0)).replace("{{.GDPRConsent}}","");return t&&(e=e.replace("{{.USPrivacy}}",t)),e}function x(e){var n=function(e){var n=window.googletag&&window.googletag.pubads&&window.googletag.pubads().getSlots().find((function(n){return n.getAdUnitPath()===e.adUnitCode})),t=n&&n.getSlotElementId();return t?document.querySelector("#"+t):null}(e);return n?n.getBoundingClientRect():{}}function E(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(n>10)return e;try{if(e.parent.document)return E(e.parent.window,++n)}catch(n){return e}}function A(e){var n=e.auctionId,t=e.requestId;return"".concat(n,"-").concat(t)}(0,p.dX)(I),window.pbjs.installedModules.push("nextMillenniumBidAdapter")}},function(e){e.O(0,[6866],(function(){return n=3574,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8620],{368:function(e,n,t){var i=t(4358),o=t(265),r=t(3193),d=t(5339),a=t(4679),s=t(5164),u=t(7673),c="nobid",p=(0,s.df)({gvlid:816,bidderCode:c});function l(e,n){(0,i.PN)("-NoBid- "+e,n)}function b(e,n){function t(e,n){var t=function(e,n){for(var t=0;t<n.length;t++)if(n[t].d===e)return n[t];return!1}(e.div,n)||{};return e.account&&(t.s=e.account),e.sizes&&(t.z=e.sizes),e.div&&(t.d=e.div),e.targeting?t.g=e.targeting:t.g={},e.div&&function(e,n,t){for(var i=e.length-1;i>=0;i--){var o=e[i];o[n]&&o[n]===t&&e.splice(i,1)}}(n,"d",e.div),e.sizeMapping&&(t.sm=e.sizeMapping),e.siteId&&(t.sid=e.siteId),e.placementId&&(t.pid=e.placementId),e.ad_type&&(t.at=e.ad_type),e.params&&(t.params=e.params),n.push(t),n}if(void 0!==window.nobid.refreshLimit&&window.nobid.refreshLimit<window.nobid.refreshCount)return!1;var d,s=(d="_ublock",p.getCookie(d));if(s)return l("Request blocked for user. hours: ",s),!1;for(var u=[],c=0,b=[],f=0;f<e.length;f++){var g=e[f],v=g.adUnitCode;u.push(v);var m=g.sizes;c=void 0!==g.params.siteId&&g.params.siteId?g.params.siteId:c;var h=g.params.placementId,w="banner",y=(0,o.Z)(g,"mediaTypes.video"),R=(0,o.Z)(g,"mediaTypes.video.context");(g.mediaType===a.pX||y&&("instream"===R||"outstream"===R))&&(w="video"),c&&t({div:v,sizes:m,siteId:c,placementId:h,ad_type:w,params:g.params},b)}return!!c&&function(t,d,a){var s,u,c,p,l,b,f,g,v={};v.sid=d,v.l=function(e){var n,t="";return t=null!=e&&null!==(n=e.refererInfo)&&void 0!==n&&n.page?e.refererInfo.page:window.context&&window.context.location&&window.context.location.href?window.context.location.href:document.location.href,encodeURIComponent(t.replace(/\%/g,""))}(n),v.tt=encodeURIComponent(document.title),v.tt=v.tt.replace(/'|;|quot;|39;|&amp;|&|#|\r\n|\r|\n|\t|\f|\%0A|\"|\%22|\%5C|\%23|\%26|\%26|\%09/gm,""),v.a=function(e,n){var t=[];if(e.length){if(n){var i=[];e instanceof Array?i=e:i.push(e);for(var o=0,r=n.length;o<r;o++){var d=n[o];d&&d.d&&i.indexOf(d.d)>-1&&t.push(d)}}}else t=n;return t}(t,a||[]),v.t=(s=new Date,u=function(e){return e<=9?"0"+e:""+e},c=s.getDate(),p=s.getFullYear(),l=s.getMonth()+1,b=s.getHours(),f=s.getMinutes(),g=s.getSeconds(),p+"-"+u(l)+"-"+u(c)+" "+u(b)+":"+u(f)+":"+u(g)),v.tz=Math.round((new Date).getTimezoneOffset()),v.r=function(){try{var e=Math.max(document.documentElement.clientWidth,window.innerWidth||0),n=Math.max(document.documentElement.clientHeight,window.innerHeight||0);return"".concat(e,"x").concat(n)}catch(e){(0,i.yN)("Could not parse screen dimensions, error details:",e)}}(),v.lang=navigator.languages&&navigator.languages[0]||navigator.language||navigator.userLanguage,v.ref=document.referrer,v.gdpr=function(e){var n={};return e&&e.gdprConsent&&(n={consentString:e.gdprConsent.consentString,consentRequired:"boolean"==typeof e.gdprConsent.gdprApplies&&e.gdprConsent.gdprApplies}),n}(n),v.usp=function(e){var n="";return e&&e.uspConsent&&(n=e.uspConsent),n}(n),v.pjbdr=n&&n.bidderCode?n.bidderCode:"nobid";var m=function(e){return e&&e.length>0?e[0].schain:null}(e);m&&(v.schain=m);var h=!0===r.vc.getConfig("coppa")?{coppa:!0}:e&&e.length>0?e[0].coppa:null;h&&(v.coppa=h);var w=function(e){if((0,i.kJ)(e)&&e.length>0){var n=[];return e.forEach((function(e){var t=[];e.uids&&e.uids.forEach((function(e){t.push({id:e.id+""})})),e.source&&t.length>0&&n.push({source:e.source,uids:t})})),n}}((0,o.Z)(e,"0.userIdAsEids"));return w&&w.length>0&&(v.eids=w),n&&n.ortb2&&(v.ortb2=n.ortb2),v}(u,c,b)}function f(e,n){var t=function(e,n){for(var t=0;t<n.length;t++)if(n[t].adUnitCode==e)return n[t];return!1};!function(e){e&&void 0!==e.rlimit&&(window.nobid.refreshLimit=e.rlimit)}(e),function(e){e&&void 0!==e.ublock&&function(e,n,t){var i=new Date;i.setTime(i.getTime()+60*t*60*1e3);var o="expires="+i.toUTCString();p.setCookie(e,n,o)}("_ublock","1",e.ublock)}(e);for(var i=[],o=0;e.bids&&o<e.bids.length;o++){var r=e.bids[o];if(!(r.bdrid<100)&&n&&n.bidderRequest&&n.bidderRequest.bids){window.nobid.bidResponses[""+r.id]=r;var d=t(r.divid,n.bidderRequest.bids);if(d){var s={requestId:d.bidId,cpm:1*(r.price?r.price:r.bucket?r.bucket:0),width:r.size.w,height:r.size.h,creativeId:r.creativeid||"",dealId:r.dealid||"",currency:"USD",netRevenue:!0,ttl:300,ad:r.adm,mediaType:r.atype||a.Mk};r.vastUrl&&(s.vastUrl=r.vastUrl),r.vastXml&&(s.vastXml=r.vastXml),r.videoCacheKey&&(s.videoCacheKey=r.videoCacheKey),r.meta&&(s.meta=r.meta),i.push(s)}}}return i}window.nobidVersion="1.3.2",window.nobid=window.nobid||{},window.nobid.bidResponses=window.nobid.bidResponses||{},window.nobid.timeoutTotal=0,window.nobid.bidWonTotal=0,window.nobid.refreshCount=0,window.nobid.renderTag=function(e,n,t){l("nobid.renderTag()",n);var i=window.nobid.bidResponses[""+n];if(i&&i.adm2){l("nobid.renderTag() found tag",n);var o=i.adm2;return e.write(o),void e.close()}l("nobid.renderTag() tag NOT FOUND *ERROR*",n)},window.addEventListener("message",(function(e){var n=""+e[e.message?"message":"data"];if("nbTagRenderer.requestAdMarkup|"===n.substring(0,"nbTagRenderer.requestAdMarkup|".length)){l("Prebid received nbTagRenderer.requestAdMarkup event");var t=n.substring(n.indexOf("|")+1);if(window.nobid&&window.nobid.bidResponses){var i=window.nobid.bidResponses[""+t];if(i&&i.adm2){var o=i.adm2;o&&e.source.postMessage("nbTagRenderer.renderAdInSafeFrame|"+o,"*")}}}}),!1);var g={code:c,gvlid:816,aliases:[{code:"duration",gvlid:674}],supportedMediaTypes:[a.Mk,a.pX],isBidRequestValid:function(e){return l("isBidRequestValid",e),!!e.params.siteId},buildRequests:function(e,n){if(l("validBidRequests",e),!e||e.length<=0)l("Empty validBidRequests");else{var t=b(e,n);if(t){window.nobid.refreshCount++;var o,r,d=JSON.stringify(t).replace(/'|&|#/g,""),a=(o="https://ads.servenobid.com/",(r="function"==typeof i.rD&&(0,i.rD)("nobid-env"))?"beta"==r?o="https://beta.servenobid.com/":"dev"==r?o="//localhost:8282/":"qa"==r&&(o="https://qa-ads.nobid.com/"):o="https://ads.servenobid.com/",o+"adreq?cb="+Math.floor(11e3*Math.random())),s={};return(0,u.h)(null==n?void 0:n.gdprConsent)||(s={withCredentials:!1}),{method:"POST",url:a,data:d,bidderRequest:n,options:s}}}},interpretResponse:function(e,n){return l("interpretResponse -> serverResponse",e),l("interpretResponse -> bidRequest",n),f(e.body,n)},getUserSyncs:function(e,n,t,o){if(e.iframeEnabled){var r="";return t&&"string"==typeof t.consentString&&("boolean"==typeof t.gdprApplies?r+="?gdpr=".concat(Number(t.gdprApplies),"&gdpr_consent=").concat(t.consentString):r+="?gdpr_consent=".concat(t.consentString)),o&&(r.length>0?r+="&":r+="?",r+="usp_consent="+o),[{type:"iframe",url:"https://public.servenobid.com/sync.html"+r}]}if(e.pixelEnabled&&n.length>0){var d=[];return n[0].body.syncs&&n[0].body.syncs.length>0&&n[0].body.syncs.forEach((function(e){d.push({type:"image",url:e})})),d}return(0,i.yN)("-NoBid- Please enable iframe based user sync.",e),[]},onTimeout:function(e){return window.nobid.timeoutTotal++,l("Timeout total: "+window.nobid.timeoutTotal,e),window.nobid.timeoutTotal},onBidWon:function(e){return window.nobid.bidWonTotal++,l("BidWon total: "+window.nobid.bidWonTotal,e),window.nobid.bidWonTotal}};(0,d.dX)(g),window.pbjs.installedModules.push("nobidBidAdapter")},7673:function(e,n,t){t.d(n,{h:function(){return o}});var i=t(265);function o(e){return null==e||!e.gdprApplies||!0===(0,i.Z)(e,"vendorData.purpose.consents.1")}}},function(e){e.O(0,[6866],(function(){return n=368,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[1532],{4851:function(e,t,n){var r=n(4942),i=n(4679),o=n(154),d=n(5706),a=n(4614),s=n(5164),p=n(5339),c=n(265),u=n(4358);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g="https://onetag-sys.com/usync/",h="onetag",y=(0,s.df)({gvlid:241,bidderCode:h});function m(e){return void 0!==e.mediaTypes&&void 0!==e.mediaTypes.video}function v(e,t){if(e===i.Mk)return C(t).length>0;if(e===i.pX&&m(t)){var n=t.mediaTypes.video.context;if("outstream"===n||"instream"===n)return T(t).length>0}return!1}function b(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 I(e){var t=e.params;this.adUnitCode=e.adUnitCode,this.bidId=e.bidId,this.bidderRequestId=e.bidderRequestId,this.auctionId=e.auctionId,this.transactionId=e.transactionId,this.gpid=(0,c.Z)(e,"ortb2Imp.ext.gpid")||(0,c.Z)(e,"ortb2Imp.ext.data.pbadslot"),this.pubId=t.pubId,this.ext=t.ext,t.pubClick&&(this.click=t.pubClick),t.dealId&&(this.dealId=t.dealId);var n=function(e){var t=document.getElementById(e);try{for(var n=t.getBoundingClientRect(),r=n.top,i=n.left,o=n.width,d=n.height,a=t.ownerDocument.defaultView,s={top:r+a.pageYOffset,left:i+a.pageXOffset,width:o,height:d},p=a.frameElement;null!=p;){var c=p.getBoundingClientRect(),u=c.top,l=c.left;s.top+=u+a.pageYOffset,s.left+=l+a.pageXOffset,p=(a=a.parent).frameElement}return s}catch(e){return null}}(e.adUnitCode);n&&(this.coords=n)}function w(){try{if(null!=window.performance&&null!=window.performance.timing){var 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){var t=e.mediaTypes.video.playerSize;return void 0!==t&&Array.isArray(t)&&t.length>0?O(t):[]}function C(e){return 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?O(e.mediaTypes.banner.sizes):!m(e)&&e.sizes&&Array.isArray(e.sizes)?O(e.sizes):[]}function O(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push({width:r[0],height:r[1]})}return t}function S(e,t,n){var r=[];return"function"==typeof e.getFloor&&n.forEach((function(n){var i=e.getFloor({currency:"EUR",mediaType:t||"*",size:[n.width,n.height]});i.size=(0,u.I8)(n),i.floor||(i.floor=null),r.push(i)})),r}var k={code:h,gvlid:241,supportedMediaTypes:[i.Mk,i.pX],isBidRequestValid:function(e){return void 0!==e&&void 0!==e.params&&"string"==typeof e.params.pubId&&(v(i.Mk,e)||v(i.pX,e))},buildRequests:function(e,t){var n,r,o,d=f({bids:(n=e,r=n.filter((function(e){return m(e)})).map((function(e){var t={};return I.call(t,e),t.context=e.mediaTypes.video.context,t.playerSize=T(e),t.mediaTypeInfo=(0,u.I8)(e.mediaTypes.video),t.type=i.pX,t.priceFloors=S(e,i.pX,t.playerSize),t})),o=n.filter((function(e){return v(i.Mk,e)})).map((function(e){var t={};return I.call(t,e),t.sizes=C(e),t.type=i.Mk,t.mediaTypeInfo=(0,u.I8)(e.mediaTypes.banner),t.priceFloors=S(e,i.Mk,t.sizes),t})),r.concat(o))},function(e){var t=function(){var e=window;window.parent;try{for(;e!==e.parent;)e.parent.location.href,e=e.parent}catch(e){}return e}();return{location:(0,c.Z)(e,"refererInfo.page",null),referrer:(0,c.Z)(e,"refererInfo.ref",null),stack:(0,c.Z)(e,"refererInfo.stack",[]),numIframes:(0,c.Z)(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:b(t),docHeight:t.document.body?t.document.body.scrollHeight:null,hLength:history.length,timing:w(),version:{prebid:"7.39.0",adapter:"1.1.1"}}}(t));t&&t.gdprConsent&&(d.gdprConsent={consentString:t.gdprConsent.consentString,consentRequired:t.gdprConsent.gdprApplies}),t&&t.gppConsent&&(d.gppConsent={consentString:t.gppConsent.gppString,applicableSections:t.gppConsent.applicableSections}),t&&t.uspConsent&&(d.usPrivacy=t.uspConsent),e&&0!==e.length&&e[0].userIdAsEids&&(d.userId=e[0].userIdAsEids),e&&0!==e.length&&e[0].schain&&function(e){var t=!1,n=["asi","sid","hp"];if(!e||!e.nodes)return t;(t=e.nodes.reduce((function(e,t){return e?n.every((function(e){return t.hasOwnProperty(e)})):e}),!0))||(0,u.H)("OneTag: required schain params missing");return t}(e[0].schain)&&(d.schain=e[0].schain);try{y.hasLocalStorage()&&(d.onetagSid=y.getDataFromLocalStorage("onetag_sid"))}catch(e){}var a=navigator.connection||navigator.webkitConnection;return d.networkConnectionType=a&&a.type?a.type:null,d.networkEffectiveConnectionType=a&&a.effectiveType?a.effectiveType:null,{method:"POST",url:"https://onetag-sys.com/prebid-request",data:JSON.stringify(d)}},interpretResponse:function(e,t){var n=e.body,r=[],s=JSON.parse(t.data);return!n||n.nobid&&!0===n.nobid?r:n.bids&&Array.isArray(n.bids)&&0!==n.bids.length?(n.bids.forEach((function(e){var 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.mediaType===i.Mk)t.ad=e.ad;else if(e.mediaType===i.pX){var n=(0,a.sE)(s.bids,(function(t){return t.bidId===e.requestId&&t.type===i.pX})),p=n.context,c=n.adUnitCode;p===o.LD?(t.vastUrl=e.vastUrl,t.videoCacheKey=e.videoCacheKey):p===o.gZ&&(t.vastXml=e.ad,t.vastUrl=e.vastUrl,e.rendererUrl&&(t.renderer=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d.Th.install({id:e.requestId,url:e.rendererUrl,config:t,adUnitCode:e.adUnitCode,loaded:!1});try{n.setRender((function(t){var n=t.renderer,r=t.width,i=t.height,o=t.vastXml,d=t.adUnitCode;n.push((function(){window.onetag.Player.init(f(f({},e),{},{width:r,height:i,vastXml:o,nodeId:d,config:n.getConfig()}))}))}))}catch(e){}return n}(f(f({},e),{},{adUnitCode:c}))))}r.push(t)})),r):r},getUserSyncs:function(e,t,n,r,i){var o=[],d="";return n&&("boolean"==typeof n.gdprApplies&&(d+="&gdpr="+(n.gdprApplies?1:0)),"string"==typeof n.consentString&&(d+="&gdpr_consent="+n.consentString)),i&&"string"==typeof i.gppString&&(d+="&gpp_consent="+i.gppString),r&&"string"==typeof r&&(d+="&us_privacy="+r),e.iframeEnabled&&o.push({type:"iframe",url:g+"?cb="+(new Date).getTime()+d}),e.pixelEnabled&&o.push({type:"image",url:g+"?tag=img"+d}),o}};(0,p.dX)(k),window.pbjs.installedModules.push("onetagBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=4851,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8534],{7851:function(e,t,n){var a=n(1002),i=n(3324),r=n(265),d=n(4358),o=n(6475),s=n(3193),c=n(5339),p=n(4679),u=n(4614),m=[p.Mk,p.pX],l=["startdelay","mimes","minduration","maxduration","startdelay","skippable","playbackmethod","api","protocols","boxingallowed","linearity","delivery","protocol","placement","minbitrate","maxbitrate"],h={britepoolid:"britepoolid",criteoId:"criteoid",fabrickId:"nuestarid",hadronId:"audigentid",id5id:"id5id",idl_env:"lre",IDP:"zeotapid",idxId:"idxid",intentIqId:"intentiqid",lipb:"lipbid",lotamePanoramaId:"lotameid",merkleId:"merkleid",netId:"netid",parrableId:"parrableid",pubcid:"pubcid",quantcastId:"quantcastid",tapadId:"tapadid",tdid:"ttduuid",uid2:"uid2",admixerId:"admixerid",deepintentId:"deepintentid",dmdId:"dmdid",nextrollId:"nextrollid",novatiq:"novatiqid",mwOpenLinkId:"mwopenlinkid",dapId:"dapid",amxId:"amxid",kpuid:"kpuid",publinkId:"publinkid",naveggId:"naveggid",imuid:"imuid",adtelligentId:"adtelligentid"},v={code:"openx",gvlid:69,supportedMediaTypes:m,isBidRequestValid:function(e){var t=e.params.delDomain||e.params.platform;return(0,r.Z)(e,"mediaTypes.banner")&&t?!!e.params.unit||(0,r.Z)(e,"mediaTypes.banner.sizes.length")>0:!(!e.params.unit||!t)},buildRequests:function(e,t){if(0===e.length)return[];var n=[],a=function(e){return e.reduce((function(e,t){var n;return n=t,(0,r.Z)(n,"mediaTypes.video")&&!(0,r.Z)(n,"mediaTypes.banner")||n.mediaType===p.pX?e[0].push(t):e[1].push(t),e}),[[],[]])}(e),o=(0,i.Z)(a,2),c=o[0],m=o[1];return m.length>0&&n.push(function(e,t){var n=[],a=!1,i=b(e,t),o=(0,d.HA)(e,(function(e){return e.params.unit}));i.aus=(0,d.HA)(e,(function(e){return(0,d.sF)(e.mediaTypes.banner.sizes).join(",")})).join("|"),i.divids=(0,d.HA)(e,(function(e){return encodeURIComponent(e.adUnitCode)})).join(","),i.aucs=(0,d.HA)(e,(function(e){var t=(0,r.Z)(e,"ortb2Imp.ext.data.pbadslot");return encodeURIComponent(t||"")})).join(","),o.some((function(e){return e}))&&(i.auid=o.join(","));e.some((function(e){return e.params.doNotTrack}))&&(i.ns=1);(!0===s.vc.getConfig("coppa")||e.some((function(e){return e.params.coppa})))&&(i.tfcd=1);e.forEach((function(e){if(e.params.customParams){var t=(0,d.HA)(Object.keys(e.params.customParams),(function(t){return function(e,t){var n=t[e];(0,d.kJ)(n)&&(n=n.join(","));return(e.toLowerCase()+"="+n.toLowerCase()).replace("+",".").replace("/","_")}(t,e.params.customParams)})),i=window.btoa(t.join("&"));a=!0,n.push(i)}else n.push("")})),a&&(i.tps=n.join(","));return I(i,p.Mk,e),{method:"GET",url:i.ph?"https://u.openx.net/w/1.0/arj":"https://".concat(e[0].params.delDomain,"/w/1.0/arj"),data:i,payload:{bids:e,startTime:new Date}}}(m,t)),c.length>0&&c.forEach((function(e){n.push(function(e,t){var n=function(e,t){var n,a,i=(0,r.Z)(e,"mediaTypes.video"),o=b([e],t),s=(0,r.Z)(e,"params.video")||{},c=(0,r.Z)(e,"mediaTypes.video.context"),m=(0,r.Z)(e,"mediaTypes.video.playerSize");(0,d.kJ)(e.sizes)&&2===e.sizes.length&&!(0,d.kJ)(e.sizes[0])?(n=parseInt(e.sizes[0],10),a=parseInt(e.sizes[1],10)):(0,d.kJ)(e.sizes)&&(0,d.kJ)(e.sizes[0])&&2===e.sizes[0].length?(n=parseInt(e.sizes[0][0],10),a=parseInt(e.sizes[0][1],10)):(0,d.kJ)(m)&&2===m.length&&(n=parseInt(m[0],10),a=parseInt(m[1],10));var h={w:n,h:a},v=e.params.video||e.params.openrtb||{};v.openrtb&&(v=v.openrtb);(0,d.kJ)(v.imp)&&(v=v.imp[0].video);Object.keys(v).filter((function(e){return(0,u.q9)(l,e)})).forEach((function(e){return h[e]=v[e]})),Object.keys(i).filter((function(e){return(0,u.q9)(l,e)})).forEach((function(e){return h[e]=i[e]}));var f={imp:[{video:h}]};o.openrtb=JSON.stringify(f),o.auid=e.params.unit,o.vwd=n||s.vwd,o.vht=a||s.vht,"outstream"===c&&(o.vos="101");s.mimes&&(o.vmimes=s.mimes);e.params.test&&(o.vtest=1);var g=(0,r.Z)(e,"ortb2Imp.ext.data.pbadslot");g&&(o.aucs=encodeURIComponent(g));return I(o,p.pX,[e]),o}(e,t);return{method:"GET",url:n.ph?"https://u.openx.net/v/1.0/avjp":"https://".concat(e.params.delDomain,"/v/1.0/avjp"),data:n,payload:{bid:e,startTime:new Date}}}(e,t))})),n},interpretResponse:function(e,t){var n=e.body,a=function(e){return/avjp$/.test(e.url)?p.pX:p.Mk}(t);return a===p.pX?function(e,t){var n=t.bid,a=(t.startTime,[]);if(void 0!==e&&""!==e.vastUrl&&e.pub_rev>0){var i=(0,d.en)(e.vastUrl).search||{},r={};r.requestId=n.bidId,e.deal_id&&(r.dealId=e.deal_id),r.ttl=300,r.netRevenue=!0,r.currency=e.currency,r.cpm=parseInt(e.pub_rev,10)/1e3,r.width=parseInt(e.width,10),r.height=parseInt(e.height,10),r.creativeId=e.adid,r.vastUrl=e.vastUrl,r.mediaType=p.pX,e.ph=i.ph,e.colo=i.colo,e.ts=i.ts,a.push(r)}return a}(n,t.payload):function(e,t){for(var n=t.bids,a=(t.startTime,e.ads.ad),i=[],r=0;r<a.length;r++){var d=a[r],o=parseInt(d.idx,10),s={};if(s.requestId=n[o].bidId,d.pub_rev){s.cpm=Number(d.pub_rev)/1e3;var c=d.creative[0];c&&(s.width=c.width,s.height=c.height),s.creativeId=c.id,s.ad=d.html,d.deal_id&&(s.dealId=d.deal_id),s.ttl=300,s.netRevenue=!0,s.currency=d.currency,d.tbd&&(s.tbd=d.tbd),s.ts=d.ts,s.meta={},d.brand_id&&(s.meta.brandId=d.brand_id),d.adomain&&length(d.adomain)>0?s.meta.advertiserDomains=d.adomain:s.meta.advertiserDomains=[],d.adv_id&&(s.meta.dspid=d.adv_id),i.push(s)}}return i}(n,t.payload)},getUserSyncs:function(e,t,n,a){if(e.iframeEnabled||e.pixelEnabled){var i=e.iframeEnabled?"iframe":"image",d=(0,r.Z)(t,"0.body.ads.pixels")||(0,r.Z)(t,"0.body.pixels")||function(e,t){var n="https://u.openx.net/w/1.0/pd",a=[];e&&(a.push("gdpr="+(e.gdprApplies?1:0)),a.push("gdpr_consent="+encodeURIComponent(e.consentString||"")));t&&a.push("us_privacy="+encodeURIComponent(t));return"".concat(n).concat(a.length>0?"?"+a.join("&"):"")}(n,a);return[{type:i,url:d}]}},transformBidParams:function(e,t){return(0,d.uh)({unit:"string",customFloor:"number"},e)}};function f(e){var t,n,a,i=window,r=document,d=r.documentElement;if(e){try{i=window.top,r=window.top.document}catch(e){return}a=r.body,t=i.innerWidth||d.clientWidth||a.clientWidth,n=i.innerHeight||d.clientHeight||a.clientHeight}else t=i.innerWidth||d.clientWidth,n=i.innerHeight||d.clientHeight;return"".concat(t,"x").concat(n)}function b(e,t){var n,a=(0,d.yL)();n={ju:t.refererInfo.page,ch:document.charSet||document.characterSet,res:"".concat(screen.width,"x").concat(screen.height,"x").concat(screen.colorDepth),ifr:a,tz:(new Date).getTimezoneOffset(),tws:f(a),be:1,bc:e[0].params.bc||"".concat("hb_pb","_").concat("3.0.3"),dddid:(0,d.HA)(e,(function(e){return e.transactionId})).join(","),nocache:(new Date).getTime()};var i=(0,r.Z)(t,"ortb2.device.sua");i&&(n.sua=JSON.stringify(i));var c=g("user.data",t.ortb2);c.length>0&&(n.sm=c);var p,u,m,l,v,b=g("site.content.data",t.ortb2);if(b.length>0&&(n.scsm=b),e[0].params.platform&&(n.ph=e[0].params.platform),t.gdprConsent){var I=t.gdprConsent;void 0!==I.consentString&&(n.gdpr_consent=I.consentString),void 0!==I.gdprApplies&&(n.gdpr=I.gdprApplies?1:0),"iab"===s.vc.getConfig("consentManagement.cmpApi")&&(n.x_gdpr_f=1)}return t&&t.uspConsent&&(n.us_privacy=t.uspConsent),(0,r.Z)(e[0],"crumbs.pubcid")&&(0,o.N)(e[0],"userId.pubcid",(0,r.Z)(e[0],"crumbs.pubcid")),p=n,u=e[0].userId,(0,d.yi)(u,(function(e,t){var n=h[t];if(h.hasOwnProperty(t))switch(t){case"merkleId":case"uid2":p[n]=e.id;break;case"lipb":if(p[n]=e.lipbid,Array.isArray(e.segments)&&e.segments.length>0){var a="liveintent:"+e.segments.join("|");p.sm="".concat(p.sm?p.sm+",":"").concat(a)}break;case"parrableId":p[n]=e.eid;break;case"id5id":p[n]=e.uid;break;case"novatiq":p[n]=e.snowflake;break;default:p[n]=e}})),n=p,e[0].schain&&(n.schain=(m=e[0].schain,"".concat(m.ver,",").concat(m.complete,"!").concat((l=m.nodes,v=["asi","sid","hp","rid","name","domain"],l.map((function(e){return v.map((function(t){return e[t]||""})).join(",")})).join("!"))))),n}function g(e,t){var n=(0,r.Z)(t,e);if(!Array.isArray(n)||!n.length)return"";var i=n.filter((function(e){return Array.isArray(e.segment)&&e.segment.length>0&&void 0!==e.name&&e.name.length>0})).reduce((function(e,t){var n="object"===(0,a.Z)(t.ext)&&t.ext.segtax?"".concat(t.name,"/").concat(t.ext.segtax):t.name;return e[n]=(e[n]||[]).concat(t.segment.map((function(e){return e.id}))),e}),{});return Object.keys(i).map((function(e,t){return e+":"+i[e].join("|")})).join(",")}function I(e,t,n){var a=[],i=!1;n.forEach((function(e){var n=function(e,t){var n={},a=s.vc.getConfig("currency.adServerCurrency")||"USD";"function"==typeof e.getFloor&&(n=e.getFloor({currency:a,mediaType:t,size:"*"}));var i=n.floor||e.params.customFloor||0;return Math.round(1e3*i)}(e,t);n?(a.push(n),i=!0):a.push(0)})),i&&(e.aumfs=a.join(","))}(0,c.dX)(v),window.pbjs.installedModules.push("openxBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=7851,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9060],{5550:function(e,o,r){var t=r(1002),n=r(4925),i=r(4942),a=r(4358),c=r(265),u=r(6475),l=r(8640),s=r(3193),f=r(8928),d=r(2021),p=r(5644),m=r(2797),h=r(4614),v=r(5102),y=r(5975),g=r(5383),b=r(6372),O=r(9128);function j(e,o,r){if(o===r)return e;var t=e;if("function"==typeof(0,l.R)().convertCurrency)try{t=(0,l.R)().convertCurrency(e,o,r)}catch(e){}return t}var C=r(6066),F=["modelGroups"];function k(e,o){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);o&&(t=t.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),r.push.apply(r,t)}return r}function x(e){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?k(Object(r),!0).forEach((function(o){(0,i.Z)(e,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))}))}return e}var R,S="Price Floors",P=(0,f.O)(1e4),M=["gptSlot","adUnitCode","size","domain","mediaType"],T=!1,Z=!1,w={},D=[],U={};function I(e,o){return Math.ceil((parseFloat(e)*Math.pow(10,o)).toFixed(1))/Math.pow(10,o)}function N(e,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=r.index,n=void 0===t?g.K.index:t;return(null==e?void 0:e.adUnitCode)||n.getAdUnit(o).code}var E={size:function(e,o){return(0,a.s)(o.size)||"*"},mediaType:function(e,o){return o.mediaType||"banner"},gptSlot:function(e,o){return function(e){var o=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,r=(void 0===o?g.K.index:o).getAdUnit({transactionId:e});return"gam"===(0,c.Z)(r,"ortb2Imp.ext.data.adserver.name")&&r.ortb2Imp.ext.data.adserver.adslot}((e||o).transactionId)||(0,a.ky)(N(e,o)).gptSlot},domain:function(){return null==R&&(R=(0,a.en)((0,v.nH)().topmostLocation,{noDecodeWholeURL:!0}).hostname),R},adUnitCode:function(e,o){return N(e,o)}};function A(e,o,r){return e.reduce((function(e,t){var n=E[t](o,r)||"*";return e.push("*"===n?["*"]:[n.toLowerCase(),"*"]),e}),[])}function B(e,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=A((0,c.Z)(e,"schema.fields")||[],o,r);if(!t.length)return{matchingFloor:e.default};var n=t.map((function(e){return e[0]})).join("-"),i=(0,c.Z)(e,"matchingInputs.".concat(n));if(i)return x({},i);var a=q(t,(0,c.Z)(e,"schema.delimiter")||"|"),l=(0,h.sE)(a,(function(o){return e.values.hasOwnProperty(o)})),s={floorMin:e.floorMin||0,floorRuleValue:isNaN(e.values[l])?e.default:e.values[l],matchingData:a[0],matchingRule:l};return"number"==typeof(0,c.Z)(o,"ortb2Imp.ext.prebid.floorMin")&&(s.floorMin=o.ortb2Imp.ext.prebid.floorMin),s.matchingFloor=Math.max(s.floorMin,s.floorRuleValue),(0,u.N)(e,"matchingInputs.".concat(n),x({},s)),s}function q(e,o){return e.reduce((function(e,r){var t=[];return e.map((function(e){r.map((function(r){t.push(e+o+r)}))})),t})).sort((function(e,o){return e.split("*").length-o.split("*").length}))}function z(e,o,r){return parseFloat((0,C.O)(e,x(x({},o),{},{cpm:e}),r))}function V(e,o){var r=Math.pow(10,10);return e*r/(o*r)*(e*r)/r}var G={banner:function(e){return(0,c.Z)(e,"mediaTypes.banner.sizes")||[]},video:function(e){return(0,c.Z)(e,"mediaTypes.video.playerSize")||[]},native:function(e){return(0,c.Z)(e,"mediaTypes.native.image.sizes")?[(0,c.Z)(e,"mediaTypes.native.image.sizes")]:[]}};function H(e,o){var r=Object.keys(e.mediaTypes||{});return"*"===o.mediaType&&1===r.length&&(o.mediaType=r[0]),"*"===o.size&&-1!==r.indexOf(o.mediaType)&&G[o.mediaType]&&1===G[o.mediaType](e).length&&(o.size=G[o.mediaType](e)[0]),o}function W(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{currency:"USD",mediaType:"*",size:"*"},o=this,r=U[o.auctionId];if(!r||r.skipped)return{};e=H(o,e);var t=B(r.data,x({},o),{mediaType:e.mediaType,size:e.size}),n=e.currency||r.data.currency;if(t.matchingFloor&&n!==r.data.currency)try{t.matchingFloor=(0,l.R)().convertCurrency(t.matchingFloor,r.data.currency,n)}catch(e){(0,a.yN)("".concat(S,": Unable to get currency conversion for getFloor for bidder ").concat(o.bidder,". You must have currency module enabled with defaultRates in your currency config")),n=r.data.currency}if(r.enforcement.bidAdjustment&&t.matchingFloor){var i=y.S.get(o.bidder,"inverseBidAdjustment");if(i)t.matchingFloor=i(t.matchingFloor,o);else{var c=z(t.matchingFloor,null,o);t.matchingFloor=c?V(t.matchingFloor,c):t.matchingFloor}}return t.matchingFloor?{floor:I(t.matchingFloor,4),currency:n}:{}}function L(e,o){var r=(0,a.I8)(e);return r.schema.delimiter=e.schema.delimiter||"|",r.values=function(e,o){var r=e.schema.fields,t=e.schema.delimiter,n=o&&-1===r.indexOf("adUnitCode")&&r.unshift("adUnitCode");return Object.keys(e.values).reduce((function(r,i){return r[(n?"".concat(o).concat(t).concat(i):i).toLowerCase()]=e.values[i],r}),{})}(r,o),r.currency=r.currency||"USD",r}function J(e,o){var r=(0,a.I8)(w);if(2===(0,c.Z)(r,"data.floorsSchemaVersion")){var t=r.data,i=t.modelGroups,u=(0,n.Z)(t,F);r.data=Object.assign(u,function(e,o){for(var r=Math.floor(Math.random()*o+1),t=0;t<e.length;t++)if((r-=e[t].modelWeight)<=0)return e[t]}(i,u.modelWeightSum))}var l=0===Object.keys((0,c.Z)(r,"data.values")||{}).length;if(r.data=l?function(e){return e.reduce((function(e,o){if(Q(o.floors))if(e.values){var r=L(o.floors,o.code).values;Object.assign(e.values,r)}else(e=L(o.floors,o.code)).location="adUnit";else null!=o.floors&&(0,a.yN)("adUnit '".concat(o.code,"' provides an invalid `floor` definition, it will be ignored for floor calculations"),o);return e}),{})}(e):L(r.data),0===Object.keys((0,c.Z)(r,"data.values")||{}).length)r.skipped=!0;else{var s=(0,a.rD)("pbjs_skipRate")||r.skipRate,f=100*Math.random()<parseFloat(s);r.skipped=f}return r.hasOwnProperty("floorMin")&&(r.data.floorMin=r.floorMin),function(e,o,r){e.forEach((function(e){e.bids.forEach((function(e){o.skipped?delete e.getFloor:e.getFloor=W,e.auctionId=r,e.floorData={skipped:o.skipped,skipRate:o.skipRate,floorMin:o.floorMin,modelVersion:(0,c.Z)(o,"data.modelVersion"),modelWeight:(0,c.Z)(o,"data.modelWeight"),modelTimestamp:(0,c.Z)(o,"data.modelTimestamp"),location:(0,c.Z)(o,"data.location","noData"),floorProvider:o.floorProvider,fetchStatus:w.fetchStatus}}))}))}(e,r,o),r}function K(e){e.hasExited||(D=D.filter((function(o){return o.timer!==e.timer})),e.reqBidsConfigObj.auctionId=e.reqBidsConfigObj.auctionId||(0,a.DO)(),U[e.reqBidsConfigObj.auctionId]=J(e.reqBidsConfigObj.adUnits||(0,l.R)().adUnits,e.reqBidsConfigObj.auctionId),e.nextFn.apply(e.context,[e.reqBidsConfigObj]),e.hasExited=!0)}function Y(e){return o=(0,c.Z)(e,"schema.fields"),!!(Array.isArray(o)&&o.length>0&&o.every((function(e){return-1!==M.indexOf(e)}))||((0,a.H)("".concat(S,": Fields recieved do not match allowed fields")),0))&&(r=e,n=e.schema.fields.length,i=e.schema.delimiter||"|","object"===(0,t.Z)(r.values)&&(r.values=Object.keys(r.values).reduce((function(e,o){return function(e,o,r,t){return"string"==typeof e&&e.split(t).length===r&&"number"==typeof o}(o,r.values[o],n,i)&&(e[o]=r.values[o]),e}),{}),Object.keys(r.values).length>0));var o,r,n,i}var _={1:function(e){return Y(e)},2:function(e){return!(!Array.isArray(e.modelGroups)||0===e.modelGroups.length)&&(e.modelWeightSum=0,e.modelGroups.every((function(o){return!("number"!=typeof o.modelWeight||!Y(o))&&(e.modelWeightSum+=o.modelWeight,!0)})))}};function Q(e){return"object"===(0,t.Z)(e)&&(e.floorsSchemaVersion=e.floorsSchemaVersion||1,"function"!=typeof _[e.floorsSchemaVersion]?((0,a.H)("".concat(S,": Unknown floorsSchemaVersion: "),e.floorsSchemaVersion),!1):_[e.floorsSchemaVersion](e))}function X(e,o){if(e&&"object"===(0,t.Z)(e)&&Q(e))return(0,a.PN)("".concat(S,": A ").concat(o," set the auction floor data set to "),e),x(x({},e),{},{location:o});(0,a.H)("".concat(S,": The floors data did not contain correct values"),e)}var $=(0,O.g3)("priceFloors",(function(e,o){var r={reqBidsConfigObj:o,context:this,nextFn:e,haveExited:!1,timer:null};w.auctionDelay>0&&T?(r.timer=setTimeout((function(){(0,a.yN)("".concat(S,": Fetch attempt did not return in time for auction")),w.fetchStatus="timeout",K(r)}),w.auctionDelay),D.push(r)):K(r)}));function ee(){D.forEach((function(e){clearTimeout(e.timer),K(e)})),D=[]}function oe(e){var o;T=!1,w.fetchStatus="success";try{o=JSON.parse(e)}catch(r){o=e}var r=X(o,"fetch");r&&(w.data=r,w.skipRate=(0,a.hj)(r.skipRate)?r.skipRate:w.skipRate,w.floorProvider=r.floorProvider||w.floorProvider),ee()}function re(e){T=!1,w.fetchStatus="error",(0,a.H)("".concat(S,": Fetch errored with: "),e),ee()}function te(e){var o;(w=(0,a.ei)(e,["floorMin","enabled",function(e){return!1!==e},"auctionDelay",function(e){return e||0},"floorProvider",function(o){return(0,c.Z)(e,"data.floorProvider",o)},"endpoint",function(e){return e||{}},"skipRate",function(){return isNaN((0,c.Z)(e,"data.skipRate"))?e.skipRate||0:e.data.skipRate},"enforcement",function(e){return(0,a.ei)(e||{},["enforceJS",function(e){return!1!==e},"enforcePBS",function(e){return!0===e},"floorDeals",function(e){return!0===e},"bidAdjustment",function(e){return!1!==e}])},"additionalSchemaFields",function(e){return"object"===(0,t.Z)(e)&&Object.keys(e).length>0?(o=e,void Object.keys(o).forEach((function(e){-1===M.indexOf(e)&&"function"==typeof o[e]&&(M.push(e),E[e]=o[e])}))):void 0;var o},"data",function(e){return e&&X(e,"setConfig")||w.data}])).enabled?((o=w.endpoint).url&&!T?"GET"!==(o.method||"GET")?(0,a.H)("".concat(S,": 'GET' is the only request method supported at this time!")):(P(o.url,{success:oe,error:re},null,{method:"GET"}),T=!0):T&&(0,a.yN)("".concat(S,": A fetch is already occuring. Skipping.")),Z||(d.on(p.FP.AUCTION_END,(function(e){setTimeout((function(){return delete U[e.auctionId]}),3e3)})),(0,l.R)().requestBids.before($,50),(0,m.v5)("addBidResponse").before(ne,(0,a.eB)()?4:50),Z=!0)):((0,a.PN)("".concat(S,": Turning off module")),w={},U={},(0,m.v5)("addBidResponse").getHooks({hook:ne}).remove(),(0,l.R)().requestBids.getHooks({hook:$}).remove(),Z=!1)}var ne=(0,O.A)("priceFloors",(function(e,o,r,t){var n=U[r.auctionId];if(!n||!r||n.skipped)return e.call(this,o,r,t);var i,u=g.K.index.getBidRequest(r),s=B(n.data,u,x(x({},r),{},{size:[r.width,r.height]}));if(!s.matchingFloor)return(0,a.yN)("".concat(S,": unable to determine a matching price floor for bidResponse"),r),e.call(this,o,r,t);var f=n.data.currency.toUpperCase(),d=r.currency||"USD";if(f===d.toUpperCase())i=r.cpm;else if(r.originalCurrency&&f===r.originalCurrency.toUpperCase())i=r.originalCpm;else try{i=(0,l.R)().convertCurrency(r.cpm,d.toUpperCase(),f)}catch(n){return(0,a.H)("".concat(S,": Unable do get currency conversion for bidResponse to Floor Currency. Do you have Currency module enabled? ").concat(r)),e.call(this,o,r,t)}if(function(e,o,r,t){r.floorData={floorValue:o.matchingFloor,floorRule:o.matchingRule,floorRuleValue:o.floorRuleValue,floorCurrency:e.data.currency,cpmAfterAdjustments:t,enforcements:x({},e.enforcement),matchedFields:{}},e.data.schema.fields.forEach((function(t,n){var i=o.matchingData.split(e.data.schema.delimiter)[n];r.floorData.matchedFields[t]=i}))}(n,s,r,i=z(i,r,u)),function(e,o,r){var t=!1!==(0,c.Z)(e,"enforcement.enforceJS"),n=!0===(0,c.Z)(e,"enforcement.floorDeals")||!r.dealId,i=r.floorData.cpmAfterAdjustments<o.matchingFloor;return t&&i&&n}(n,s,r)){var m,h=t(p.Gw.pe);return(0,a.yN)("".concat(S,": ").concat(h.bidderCode,"'s Bid Response for ").concat(o," was rejected due to floor not met (adjusted cpm: ").concat(null==r||null===(m=r.floorData)||void 0===m?void 0:m.cpmAfterAdjustments,", floor: ").concat(null==s?void 0:s.matchingFloor,")"),r),e.call(this,o,h,t)}return e.call(this,o,r,t)}));s.vc.getConfig("floors",(function(e){return te(e.floors)})),(0,b.f8)({type:b.DZ,name:"bidfloor",fn:function(e,o,r){if("function"==typeof o.getFloor){var t,n;try{var i=o.getFloor({currency:r.currency||s.vc.getConfig("currency.adServerCurrency")||"USD",mediaType:r.mediaType||"*",size:"*"});t=i.currency,n=i.floor}catch(e){return void(0,a.yN)("Cannot compute floor for bid",o)}n=parseFloat(n),null==t||null==n||isNaN(n)||Object.assign(e,{bidfloor:n,bidfloorcur:t})}}}),(0,b.f8)({type:b.DZ,name:"extPrebidFloors",fn:function(e,o,r){if(null!=e.bidfloor){var t,n,i,a,c,l,s,f,d,p,m=r.reqContext.floorMin||{},h=m.floorMinCur,v=m.floorMin;null==h&&(h=e.bidfloorcur);var y=(null===(t=e.ext)||void 0===t||null===(n=t.prebid)||void 0===n||null===(i=n.floors)||void 0===i?void 0:i.floorMinCur)||(null===(a=e.ext)||void 0===a||null===(c=a.prebid)||void 0===c?void 0:c.floorMinCur)||h,g=(null===(l=e.ext)||void 0===l||null===(s=l.prebid)||void 0===s||null===(f=s.floors)||void 0===f?void 0:f.floorMin)||(null===(d=e.ext)||void 0===d||null===(p=d.prebid)||void 0===p?void 0:p.floorMin),b=j(e.bidfloor,e.bidfloorcur,h),O=!(!g||!y)&&j(g,y,h),C=O&&O<b?O:b;(0,u.N)(e,"ext.prebid.floors.floorMin",C),(null==v||v>C)&&(v=C),r.reqContext.floorMin={floorMin:v,floorMinCur:h}}},dialects:[b.md],priority:-1}),(0,b.f8)({type:b.Z,name:"extPrebidFloors",fn:function(e,o,r){var t,n,i;Z&&(0,u.N)(e,"ext.prebid.floors.enabled",(null===(t=e.ext)||void 0===t||null===(n=t.prebid)||void 0===n||null===(i=n.floors)||void 0===i?void 0:i.enabled)||!1),null!=r&&r.floorMin&&(0,a.Ee)(e,{ext:{prebid:{floors:r.floorMin}}})},dialects:[b.md]}),window.pbjs.installedModules.push("priceFloors")},6372:function(e,o,r){r.d(o,{DZ:function(){return a},Px:function(){return c},TP:function(){return l},YC:function(){return u},Z:function(){return i},f8:function(){return m},fP:function(){return h},gm:function(){return t},md:function(){return s}});var t=["request","imp","bidResponse","response"],n=["default","pbs"],i=t[0],a=t[1],c=t[2],u=t[3],l=n[0],s=n[1],f=new Set(t);var d,p=(d={},{registerOrtbProcessor:function(e){var o=e.type,r=e.name,n=e.fn,i=e.priority,a=void 0===i?0:i,c=e.dialects,u=void 0===c?[l]:c;if(!f.has(o))throw new Error("ORTB processor type must be one of: ".concat(t.join(", ")));u.forEach((function(e){d.hasOwnProperty(e)||(d[e]={}),d[e].hasOwnProperty(o)||(d[e][o]={}),d[e][o][r]={priority:a,fn:n}}))},getProcessors:function(e){return d[e]||{}}}),m=p.registerOrtbProcessor,h=p.getProcessors},4925:function(e,o,r){function t(e,o){if(null==e)return{};var r,t,n=function(e,o){if(null==e)return{};var r,t,n={},i=Object.keys(e);for(t=0;t<i.length;t++)r=i[t],o.indexOf(r)>=0||(n[r]=e[r]);return n}(e,o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)r=i[t],o.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}r.d(o,{Z:function(){return t}})}},function(e){e.O(0,[6866],(function(){return o=5550,e(e.s=o);var o}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2563],{9312:function(d,n,e){var i=e(2797),u=e(4358),o={name:"pubProvidedId",gvlid:e(4516).$P,decode:function(d){var n=d?{pubProvidedId:d}:void 0;return(0,u.PN)("PubProvidedId: Decoded value "+JSON.stringify(n)),n},getId:function(d){var n=d&&d.params||{},e=[];return(0,u.kJ)(n.eids)&&(e=e.concat(n.eids)),"function"==typeof n.eidsFunction&&(e=e.concat(n.eidsFunction())),{id:e}}};(0,i.Bx)("userId",o),window.pbjs.installedModules.push("pubProvidedIdSystem")}},function(d){d.O(0,[6866],(function(){return n=9312,d(d.s=n);var n}));d.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[5126],{5817:function(e,a,r){var t=r(9062),i=r(4942),n=r(1002),s=r(4358),o=r(265),d=r(6475),p=r(5339),c=r(4679),u=r(3193),l=r(5706),m=r(5975),f=r(59);function h(e,a){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),r.push.apply(r,t)}return r}var g="pubmatic",b="PubMatic: ",v="USD",y=void 0,E="https://pubmatic.bbvms.com/r/".concat("$RENDERER",".js"),I={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},w="number",P="string",T="boolean",O="array",x={mimes:O,minduration:w,maxduration:w,startdelay:w,playbackmethod:O,api:O,protocols:O,w:w,h:w,battr:O,linearity:w,placement:w,minbitrate:w,maxbitrate:w,skip:w},D={TITLE:{ID:1,KEY:"title",TYPE:0},IMAGE:{ID:2,KEY:"image",TYPE:0},ICON:{ID:3,KEY:"icon",TYPE:0},SPONSOREDBY:{ID:4,KEY:"sponsoredBy",TYPE:1},BODY:{ID:5,KEY:"body",TYPE:2},CLICKURL:{ID:6,KEY:"clickUrl",TYPE:0},VIDEO:{ID:7,KEY:"video",TYPE:0},EXT:{ID:8,KEY:"ext",TYPE:0},DATA:{ID:9,KEY:"data",TYPE:0},LOGO:{ID:10,KEY:"logo",TYPE:0},SPONSORED:{ID:11,KEY:"sponsored",TYPE:1},DESC:{ID:12,KEY:"data",TYPE:2},RATING:{ID:13,KEY:"rating",TYPE:3},LIKES:{ID:14,KEY:"likes",TYPE:4},DOWNLOADS:{ID:15,KEY:"downloads",TYPE:5},PRICE:{ID:16,KEY:"price",TYPE:6},SALEPRICE:{ID:17,KEY:"saleprice",TYPE:7},PHONE:{ID:18,KEY:"phone",TYPE:8},ADDRESS:{ID:19,KEY:"address",TYPE:9},DESC2:{ID:20,KEY:"desc2",TYPE:10},DISPLAYURL:{ID:21,KEY:"displayurl",TYPE:11},CTA:{ID:22,KEY:"cta",TYPE:12}},k=1,N=2,Y=3,S=[{id:D.SPONSOREDBY.ID,required:!0,data:{type:1}},{id:D.TITLE.ID,required:!0},{id:D.IMAGE.ID,required:!0}],C={1:"PMP",5:"PREF",6:"PMPG"},R={bootstrapPlayer:function(e){var a={code:e.adUnitCode};if(e.vastXml?a.vastXml=e.vastXml:e.vastUrl&&(a.vastUrl=e.vastUrl),e.vastXml||e.vastUrl){for(var r,t=R.getRendererId("pubmatic",e.rendererCode),i=document.getElementById(e.adUnitCode),n=0;n<window.bluebillywig.renderers.length;n++)if(window.bluebillywig.renderers[n]._id===t){r=window.bluebillywig.renderers[n];break}r?r.bootstrap(a,i):(0,s.yN)("".concat(b,": Couldn't find a renderer with ").concat(t))}else(0,s.yN)("".concat(b,": No vastXml or vastUrl on bid, bailing..."))},newRenderer:function(e,a){var r=E.replace("$RENDERER",e),t=l.Th.install({url:r,loaded:!1,adUnitCode:a});try{t.setRender(R.outstreamRender)}catch(e){(0,s.yN)("".concat(b,": Error tying to setRender on renderer"),e)}return t},outstreamRender:function(e){e.renderer.push((function(){R.bootstrapPlayer(e)}))},getRendererId:function(e,a){return"".concat(e,"-").concat(a)}},K=[c.Mk,c.pX,c.B5],M=0,z=!1,A={},j={},U=["pubmatic"],q=["all"];function L(e,a){if(!(0,s.d8)(a))return a&&(0,s.yN)("PubMatic: Ignoring param key: "+e+", expects string-value, found "+(0,n.Z)(a)),y;switch(e){case"pmzoneid":return a.split(",").slice(0,50).map((function(e){return e.trim()})).join();case"kadfloor":case"lat":case"lon":return parseFloat(a)||y;case"yob":return parseInt(a)||y;default:return a}}function B(e){var a;e.params.adUnit="",e.params.adUnitIndex="0",e.params.width=0,e.params.height=0,e.params.adSlot=(a=e.params.adSlot,(0,s.d8)(a)?a.replace(/^\s+/g,"").replace(/\s+$/g,""):(a&&(0,s.yN)("pubmatic: adSlot must be a string. Ignoring adSlot"),""));var r=e.params.adSlot,t=r.split(":");if(r=t[0],2==t.length&&(e.params.adUnitIndex=t[1]),t=r.split("@"),e.params.adUnit=t[0],t.length>1){if(2!=(t=t[1].split("x")).length)return void(0,s.yN)("PubMatic: AdSlot Error: adSlot not in required format");e.params.width=parseInt(t[0],10),e.params.height=parseInt(t[1],10)}else if(e.hasOwnProperty("mediaTypes")&&e.mediaTypes.hasOwnProperty(c.Mk)&&e.mediaTypes.banner.hasOwnProperty("sizes")){for(var i=0,n=[];i<e.mediaTypes.banner.sizes.length;i++)2===e.mediaTypes.banner.sizes[i].length&&n.push(e.mediaTypes.banner.sizes[i]);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 X(e,a,r){var t,i="Ignoring param key: "+e+", expects "+r+", found "+(0,n.Z)(a);switch(r){case T:t=s.jn;break;case w:t=s.hj;break;case P:t=s.d8;break;case O:t=s.kJ}return t(a)?a:((0,s.yN)(b+i),y)}function J(e,a){var r=e.KEY;return{id:e.ID,required:a[r].required?1:0,data:{type:e.TYPE,len:a[r].len,ext:a[r].ext}}}function Z(e){var a={assets:[]};for(var r in e){if(e.hasOwnProperty(r)){var t={};if(!(a.assets&&a.assets.length>0&&a.assets.hasOwnProperty(r)))switch(r){case D.TITLE.KEY:t={id:D.TITLE.ID,required:e[r].required?1:0,title:{len:e[r].len||e[r].length,ext:e[r].ext}};break;case D.IMAGE.KEY:t={id:D.IMAGE.ID,required:e[r].required?1:0,img:{type:Y,w:e[r].w||e[r].width||(e[r].sizes?e[r].sizes[0]:y),h:e[r].h||e[r].height||(e[r].sizes?e[r].sizes[1]:y),wmin:e[r].wmin||e[r].minimumWidth||(e[r].minsizes?e[r].minsizes[0]:y),hmin:e[r].hmin||e[r].minimumHeight||(e[r].minsizes?e[r].minsizes[1]:y),mimes:e[r].mimes,ext:e[r].ext}};break;case D.ICON.KEY:t={id:D.ICON.ID,required:e[r].required?1:0,img:{type:k,w:e[r].w||e[r].width||(e[r].sizes?e[r].sizes[0]:y),h:e[r].h||e[r].height||(e[r].sizes?e[r].sizes[1]:y)}};break;case D.VIDEO.KEY:t={id:D.VIDEO.ID,required:e[r].required?1:0,video:{minduration:e[r].minduration,maxduration:e[r].maxduration,protocols:e[r].protocols,mimes:e[r].mimes,ext:e[r].ext}};break;case D.EXT.KEY:t={id:D.EXT.ID,required:e[r].required?1:0};break;case D.LOGO.KEY:t={id:D.LOGO.ID,required:e[r].required?1:0,img:{type:N,w:e[r].w||e[r].width||(e[r].sizes?e[r].sizes[0]:y),h:e[r].h||e[r].height||(e[r].sizes?e[r].sizes[1]:y)}};break;case D.SPONSOREDBY.KEY:case D.BODY.KEY:case D.RATING.KEY:case D.LIKES.KEY:case D.DOWNLOADS.KEY:case D.PRICE.KEY:case D.SALEPRICE.KEY:case D.PHONE.KEY:case D.ADDRESS.KEY:case D.DESC2.KEY:case D.DISPLAYURL.KEY:case D.CTA.KEY:t=J(j[r],e)}}t&&t.id&&(a.assets[a.assets.length]=t)}var i=S.length,n=0;return S.forEach((function(e){for(var r=a.assets.length,t=0;t<r;t++)if(e.id==a.assets[t].id){n++;break}})),z=i!=n,a}function _(e){var a,r=e.mediaTypes.banner.sizes,t=[];if(r!==y&&(0,s.kJ)(r)){if(a={},e.params.width||e.params.height)a.w=e.params.width,a.h=e.params.height;else{if(0===r.length)return a=y,(0,s.yN)("PubMatic: Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),a;a.w=parseInt(r[0][0],10),a.h=parseInt(r[0][1],10),r=r.splice(1,r.length-1)}r.length>0&&(t=[],r.forEach((function(e){e.length>1&&t.push({w:e[0],h:e[1]})})),t.length>0&&(a.format=t)),a.pos=0,a.topframe=(0,s.yL)()?0:1}else(0,s.yN)("PubMatic: Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),a=y;return a}function G(e){var a,r=(0,s.Ee)((0,o.Z)(e.mediaTypes,"video"),e.params.video);if(r!==y){for(var t in a={},function(e,a){(0,o.Z)(e,"placement")||(0,s.yN)("Video.Placement param missing for "+a)}(r,e.adUnitCode),x)r.hasOwnProperty(t)&&(a[t]=X(t,r[t],x[t]));(0,s.kJ)(e.mediaTypes.video.playerSize[0])?(a.w=parseInt(e.mediaTypes.video.playerSize[0][0],10),a.h=parseInt(e.mediaTypes.video.playerSize[0][1],10)):(0,s.hj)(e.mediaTypes.video.playerSize[0])&&(a.w=parseInt(e.mediaTypes.video.playerSize[0],10),a.h=parseInt(e.mediaTypes.video.playerSize[1],10))}else a=y,(0,s.yN)("PubMatic: Error: Video config params missing for adunit: "+e.params.adUnit+" with mediaType set as video. Ignoring video impression in the adunit.");return a}function F(e,a){var r,t,p={},l={},m=e.hasOwnProperty("sizes")?e.sizes:[],f="",g=[];if(function(e,a){a.params.deals&&((0,s.kJ)(a.params.deals)?a.params.deals.forEach((function(a){(0,s.d8)(a)&&a.length>3?(e.pmp||(e.pmp={private_auction:0,deals:[]}),e.pmp.deals.push({id:a})):(0,s.yN)("PubMatic: Error: deal-id present in array bid.params.deals should be a strings with more than 3 charaters length, deal-id ignored: "+a)})):(0,s.yN)("PubMatic: Error: bid.params.deals should be an array of strings."))}(p={id:e.bidId,tagid:e.params.adUnit||void 0,bidfloor:L("kadfloor",e.params.kadfloor),secure:1,ext:{pmZoneId:L("pmzoneid",e.params.pmzoneid)},bidfloorcur:e.params.currency?L("currency",e.params.currency):v},e),function(e,a){var r,t="";if(a.params.dctr)if(t=a.params.dctr,(0,s.d8)(t)&&t.length>0){var i=t.split("|");t="",i.forEach((function(e){t+=e.length>0?e.trim()+"|":""})),r=t.length,"|"===t.substring(r,r-1)&&(t=t.substring(0,r-1)),e.ext.key_val=t.trim()}else(0,s.yN)("PubMatic: Ignoring param : dctr with value : "+t+", expects string-value, found empty or non-string value")}(p,e),function(e,a){var r=a.rtd&&a.rtd.jwplayer&&a.rtd.jwplayer.targeting||void 0,t="";if(void 0!==r&&""!==r&&r.hasOwnProperty("segments")){var i,n=r.segments.length;t+="jw-id="+r.content.id;for(var s=0;s<n;s++)t+="|jw-"+r.segments[s]+"=1";(i=e.ext)&&void 0===i.key_val?i.key_val=t:i.key_val+="|"+t}}(p,e),e.hasOwnProperty("mediaTypes"))for(f in e.mediaTypes)switch(f){case c.Mk:(r=_(e))!==y&&(p.banner=r);break;case c.B5:l.request=JSON.stringify(Z(e.nativeParams)),z?(0,s.yN)("PubMatic: 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."):p.native=l;break;case c.pX:(t=G(e))!==y&&(p.video=t)}else r={pos:0,w:e.params.width,h:e.params.height,topframe:(0,s.yL)()?0:1},(0,s.kJ)(m)&&m.length>1&&((m=m.splice(1,m.length-1)).forEach((function(e){g.push({w:e[0],h:e[1]})})),r.format=g),p.banner=r;return function(e,a){var r=function(e){for(var a=1;a<arguments.length;a++){var r=null!=arguments[a]?arguments[a]:{};a%2?h(Object(r),!0).forEach((function(a){(0,i.Z)(e,a,r[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))}))}return e}({},(0,o.Z)(a,"ortb2Imp.ext.data"));Object.keys(r).forEach((function(a){"pbadslot"===a?"string"==typeof r[a]&&r[a]&&(0,d.N)(e,"ext.data.pbadslot",r[a]):"adserver"===a?["name","adslot"].forEach((function(a){var t=(0,o.Z)(r,"adserver.".concat(a));"string"==typeof t&&t&&((0,d.N)(e,"ext.data.adserver.".concat(a.toLowerCase()),t),"adslot"===a&&(0,d.N)(e,"ext.dfp_ad_unit_code",t))})):(0,d.N)(e,"ext.data.".concat(a),r[a])}))}(p,e),function(e,a){var r=-1;"function"!=typeof a.getFloor||u.vc.getConfig("pubmatic.disableFloors")||[c.Mk,c.pX,c.B5].forEach((function(t){if(e.hasOwnProperty(t)){var i=[];"banner"===t&&(e[t].w&&e[t].h&&i.push([e[t].w,e[t].h]),(0,s.kJ)(e[t].format)&&e[t].format.forEach((function(e){return i.push([e.w,e.h])}))),0===i.length&&i.push("*"),i.forEach((function(i){var o=a.getFloor({currency:e.bidfloorcur,mediaType:t,size:i});if((0,s.PN)(b,"floor from floor module returned for mediatype:",t," and size:",i," is: currency",o.currency,"floor",o.floor),"object"===(0,n.Z)(o)&&o.currency===e.bidfloorcur&&!isNaN(parseInt(o.floor))){var d=parseFloat(o.floor);(0,s.PN)(b,"floor from floor module:",d,"previous floor value",r,"Min:",Math.min(d,r)),r=-1===r?d:Math.min(d,r),(0,s.PN)(b,"new floor value:",r)}}))}}));e.bidfloor&&((0,s.PN)(b,"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:y,(0,s.PN)(b,"new impObj.bidfloor value:",e.bidfloor)}(p,e),p.hasOwnProperty(c.Mk)||p.hasOwnProperty(c.B5)||p.hasOwnProperty(c.pX)?p:y}function V(e,a){(a=a.filter((function(e){return"string"==typeof e||((0,s.yN)("PubMatic: acat: Each category should be a string, ignoring category: "+e),!1)})).map((function(e){return e.trim()})).filter((function(e,a,r){return r.indexOf(e)===a}))).length>0&&((0,s.yN)("PubMatic: acat: Selected: ",a),e.ext.acat=a)}function H(e){return!0===(0,s.kJ)(e)&&e.length>0}(0,s.yi)(D,(function(e){A[e.ID]=e.KEY})),(0,s.yi)(D,(function(e){j[e.KEY]=e}));var W={code:g,gvlid:76,supportedMediaTypes:[c.Mk,c.pX,c.B5],isBidRequestValid:function(e){if(e&&e.params){if(!(0,s.d8)(e.params.publisherId))return(0,s.yN)("PubMatic: 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(c.pX)){var a=(0,o.Z)(e.mediaTypes,"video.mimes"),r=(0,o.Z)(e,"params.video.mimes");if(!1===H(a)&&!1===H(r))return(0,s.yN)("PubMatic: 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[c.pX].hasOwnProperty("context"))return(0,s.H)("".concat(b,": no context specified in bid. Rejecting bid: "),e),!1;if("outstream"===e.mediaTypes[c.pX].context&&!(0,s.d8)(e.params.outstreamAU)&&!e.hasOwnProperty("renderer")&&!e.mediaTypes[c.pX].hasOwnProperty("renderer"))return e.mediaTypes.hasOwnProperty(c.Mk)||e.mediaTypes.hasOwnProperty(c.B5)?(delete e.mediaTypes[c.pX],(0,s.yN)("".concat(b,': for "outstream" bids either outstreamAU parameter must be provided or ad unit supplied renderer is required. Rejecting mediatype Video of bid: '),e),!0):((0,s.H)("".concat(b,': 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:function(e,a){var r,i,p,l,h,g;e=(0,f.lY)(e),a&&a.refererInfo&&(g=a.refererInfo);var b,E=function(e){return{pageURL:(null==e?void 0:e.page)||window.location.href,refURL:(null==e?void 0:e.ref)||window.document.referrer}}(g),w=function(e){return{id:""+(new Date).getTime(),at:1,cur:[v],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},user:{},ext:{}}}(E),P="",T=[],O=[],x=[];if(e.forEach((function(e){if((b=(0,s.I8)(e)).params.adSlot=b.params.adSlot||"",B(b),b.mediaTypes&&b.mediaTypes.hasOwnProperty("video")||b.params.hasOwnProperty("video"));else if(!(b.hasOwnProperty("mediaTypes")&&b.mediaTypes.hasOwnProperty(c.B5)||0!==b.params.width||0!==b.params.height))return void(0,s.yN)("PubMatic: Skipping the non-standard adslot: ",b.params.adSlot,JSON.stringify(b));E.pubId=E.pubId||b.params.publisherId,(E=function(e,a){var r,t,i;for(r in a.kadpageurl||(a.kadpageurl=a.pageURL),I)I.hasOwnProperty(r)&&(t=e[r])&&(i=I[r],"object"===(0,n.Z)(i)&&(t=i.f(t,a)),(0,s.d8)(t)?a[r]=t:(0,s.yN)("PubMatic: Ignoring param : "+r+" with value : "+I[r]+", expects string-value, found "+(0,n.Z)(t)));return a}(b.params,E)).transactionId=b.transactionId,""===P?P=b.params.currency||y:b.params.hasOwnProperty("currency")&&P!==b.params.currency&&(0,s.yN)("PubMatic: Currency specifier ignored. Only one currency permitted."),b.params.currency=P,b.params.hasOwnProperty("dctr")&&(0,s.d8)(b.params.dctr)&&T.push(b.params.dctr),b.params.hasOwnProperty("bcat")&&(0,s.kJ)(b.params.bcat)&&(O=O.concat(b.params.bcat)),b.params.hasOwnProperty("acat")&&(0,s.kJ)(b.params.acat)&&(x=x.concat(b.params.acat));var a=F(b);a&&w.imp.push(a)})),0!=w.imp.length){w.site.publisher.id=E.pubId.trim(),M=E.pubId.trim(),w.ext.wrapper={},w.ext.wrapper.profile=parseInt(E.profId)||y,w.ext.wrapper.version=parseInt(E.verId)||y,w.ext.wrapper.wiid=E.wiid||a.auctionId,w.ext.wrapper.wv="prebid_prebid_7.39.0",w.ext.wrapper.transactionId=E.transactionId,w.ext.wrapper.wp="pbjs";var D,k,N=a?m.S.get(a.bidderCode,"allowAlternateBidderCodes"):void 0;if(void 0!==N){if(w.ext.marketplace={},a&&1==N){var Y=m.S.get(a.bidderCode,"allowedAlternateBidderCodes");(0,s.kJ)(Y)?(Y=Y.map((function(e){return e.trim().toLowerCase()})).filter((function(e){return!!e})).filter(s.tT),U=Y.includes("*")?q:[].concat((0,t.Z)(U),(0,t.Z)(Y))):U=q}w.ext.marketplace.allowedbidders=U.filter(s.tT)}w.user.gender=E.gender?E.gender.trim():y,w.user.geo={},w.user.geo.lat=L("lat",E.lat),w.user.geo.lon=L("lon",E.lon),w.user.yob=L("yob",E.yob),w.device.geo=w.user.geo,w.site.page=E.kadpageurl.trim()||w.site.page.trim(),w.site.domain=(D=w.site.page,(k=document.createElement("a")).href=D,k.hostname),"object"===(0,n.Z)(u.vc.getConfig("content"))&&(w.site.content=u.vc.getConfig("content")),"object"===(0,n.Z)(u.vc.getConfig("device"))&&(w.device=Object.assign(w.device,u.vc.getConfig("device"))),w.device.language=w.device.language&&w.device.language.split("-")[0],(0,d.N)(w,"source.tid",E.transactionId),-1!==window.location.href.indexOf("pubmaticTest=true")&&(w.test=1),e[0].schain&&(0,d.N)(w,"source.ext.schain",e[0].schain),a&&a.gdprConsent&&((0,d.N)(w,"user.ext.consent",a.gdprConsent.consentString),(0,d.N)(w,"regs.ext.gdpr",a.gdprConsent.gdprApplies?1:0)),a&&a.uspConsent&&(0,d.N)(w,"regs.ext.us_privacy",a.uspConsent),!0===u.vc.getConfig("coppa")&&(0,d.N)(w,"regs.coppa",1),function(e,a){var r=(0,o.Z)(a,"0.userIdAsEids");(0,s.kJ)(r)&&r.length>0&&(0,d.N)(e,"user.eids",r)}(w,e);var S,C,R,K,z=a&&a.ortb2||{};if(z.site){var A=w.site,j=A.page,X=A.domain,J=A.ref;(0,s.Ee)(w,{site:z.site}),w.site.page=j,w.site.domain=X,w.site.ref=J}if(z.user&&(0,s.Ee)(w,{user:z.user}),z.bcat&&(O=O.concat(z.bcat)),null!==(r=z.device)&&void 0!==r&&r.sua)w.device.sua=null===(S=z.device)||void 0===S?void 0:S.sua;if(null!==(i=z.ext)&&void 0!==i&&null!==(p=i.prebid)&&void 0!==p&&null!==(l=p.bidderparams)&&void 0!==l&&null!==(h=l[a.bidderCode])&&void 0!==h&&h.acat){var Z=z.ext.prebid.bidderparams[a.bidderCode].acat;V(w,Z)}else x.length&&V(w,x);if(function(e,a){(a=a.filter((function(e){return"string"==typeof e||((0,s.yN)("PubMatic: bcat: Each category should be a string, ignoring category: "+e),!1)})).map((function(e){return e.trim()})).filter((function(e,a,r){if(e.length>3)return r.indexOf(e)===a;(0,s.yN)("PubMatic: bcat: Each category should have a value of a length of more than 3 characters, ignoring category: "+e)}))).length>0&&((0,s.yN)("PubMatic: bcat: Selected: ",a),e.bcat=a)}(w,O),null!=a&&a.timeout)w.tmax=a.timeout||u.vc.getConfig("bidderTimeout");else w.tmax=null===(C=window)||void 0===C||null===(R=C.PWT)||void 0===R||null===(K=R.versionDetails)||void 0===K?void 0:K.timeout;return w.ext.epoch=(new Date).getTime(),"object"===(0,n.Z)(u.vc.getConfig("app"))&&(w.app=u.vc.getConfig("app"),w.app.publisher=w.site.publisher,w.app.ext=w.site.ext||y,"object"!==(0,n.Z)(w.app.content)&&(w.app.content=w.site.content||y),delete w.site),{method:"POST",url:"https://hbopenbid.pubmatic.com/translator?source=prebid-client",data:JSON.stringify(w),bidderRequest:a}}},interpretResponse:function(e,a){var r=[],t=v,i=JSON.parse(a.data),n=i.site&&i.site.ref?i.site.ref:"";try{e.body&&e.body.seatbid&&(0,s.kJ)(e.body.seatbid)&&(t=e.body.cur||t,e.body.seatbid.forEach((function(e){e.bid&&(0,s.kJ)(e.bid)&&e.bid.forEach((function(d){var p={requestId:d.impid,cpm:parseFloat((d.price||0).toFixed(2)),width:d.w,height:d.h,creativeId:d.crid||d.id,dealId:d.dealid,currency:t,netRevenue:true,ttl:300,referrer:n,ad:d.adm,pm_seat:e.seat||null,pm_dspid:d.ext&&d.ext.dspid?d.ext.dspid:null,partnerImpId:d.id||""};i.imp&&i.imp.length>0&&i.imp.forEach((function(e){if(d.impid===e.id)switch(function(e,a){if(e.ext&&null!=e.ext.bidtype)a.mediaType=K[e.ext.bidtype];else{(0,s.PN)("PubMatic: bid.ext.bidtype does not exist, checking alternatively for mediaType");var r=e.adm,t="",i=new RegExp(/VAST\s+version/);if(r.indexOf('span class="PubAPIAd"')>=0)a.mediaType=c.Mk;else if(i.test(r))a.mediaType=c.pX;else try{(t=JSON.parse(r.replace(/\\/g,"")))&&t.native&&(a.mediaType=c.B5)}catch(e){(0,s.yN)("PubMatic: Error: Cannot parse native reponse for ad response: "+r)}}}(d,p),p.mediaType){case c.Mk:break;case c.pX:p.width=d.hasOwnProperty("w")?d.w:e.video.w,p.height=d.hasOwnProperty("h")?d.h:e.video.h,p.vastXml=d.adm,function(e,a){var r,t,i;if(a.bidderRequest&&a.bidderRequest.bids){for(var n=0;n<a.bidderRequest.bids.length;n++)a.bidderRequest.bids[n].bidId===e.requestId&&(r=a.bidderRequest.bids[n].params,t=a.bidderRequest.bids[n].mediaTypes[c.pX].context,i=a.bidderRequest.bids[n].adUnitCode);t&&"outstream"===t&&r&&r.outstreamAU&&i&&(e.rendererCode=r.outstreamAU,e.renderer=R.newRenderer(e.rendererCode,i))}}(p,a),function(e,a,r){var t,i,n;if(null!=a&&null!==(t=a.ext)&&void 0!==t&&t.prebiddealpriority){var d=(0,s.zE)(e.requestId,[r.bidderRequest]),p=(0,o.Z)(d,"mediaTypes.video");if((null==p?void 0:p.context)==c.Oh){var u=(null==a||null===(i=a.ext)||void 0===i||null===(n=i.video)||void 0===n?void 0:n.duration)||(null==p?void 0:p.maxduration);e.video={context:c.Oh,durationSeconds:u,dealTier:a.ext.prebiddealpriority}}}}(p,d,a);break;case c.B5:!function(e,a){if(a.native={},e.hasOwnProperty("adm")){var r="";try{r=JSON.parse(e.adm.replace(/\\/g,""))}catch(e){return void(0,s.yN)("PubMatic: Error: Cannot parse native reponse for ad response: "+a.adm)}if(r&&r.native&&r.native.assets&&r.native.assets.length>0){a.mediaType=c.B5;for(var t=0,i=r.native.assets.length;t<i;t++)switch(r.native.assets[t].id){case D.TITLE.ID:a.native.title=r.native.assets[t].title&&r.native.assets[t].title.text;break;case D.IMAGE.ID:a.native.image={url:r.native.assets[t].img&&r.native.assets[t].img.url,height:r.native.assets[t].img&&r.native.assets[t].img.h,width:r.native.assets[t].img&&r.native.assets[t].img.w};break;case D.ICON.ID:a.native.icon={url:r.native.assets[t].img&&r.native.assets[t].img.url,height:r.native.assets[t].img&&r.native.assets[t].img.h,width:r.native.assets[t].img&&r.native.assets[t].img.w};break;case D.SPONSOREDBY.ID:case D.BODY.ID:case D.LIKES.ID:case D.DOWNLOADS.ID:case D.PRICE:case D.SALEPRICE.ID:case D.PHONE.ID:case D.ADDRESS.ID:case D.DESC2.ID:case D.CTA.ID:case D.RATING.ID:case D.DISPLAYURL.ID:a.native[A[r.native.assets[t].id]]=r.native.assets[t].data&&r.native.assets[t].data.value}a.native.clickUrl=r.native.link&&r.native.link.url,a.native.clickTrackers=r.native.link&&r.native.link.clicktrackers||[],a.native.impressionTrackers=r.native.imptrackers||[],a.native.jstracker=r.native.jstracker||[],a.width||(a.width=0),a.height||(a.height=0)}}}(d,p)}})),d.ext&&d.ext.deal_channel&&(p.dealChannel=C[d.ext.deal_channel]||null),function(e,a,r){e.meta={},a.ext&&a.ext.dspid&&(e.meta.networkId=a.ext.dspid,e.meta.demandSource=a.ext.dspid),a.ext&&a.ext.dchain&&(e.meta.dchain=a.ext.dchain);var t=r||a.ext&&a.ext.advid;t&&(e.meta.advertiserId=t,e.meta.agencyId=t,e.meta.buyerId=t),a.adomain&&H(a.adomain)&&(e.meta.advertiserDomains=a.adomain,e.meta.clickUrl=a.adomain[0],e.meta.brandId=a.adomain[0]),a.cat&&H(a.cat)&&(e.meta.secondaryCatIds=a.cat,e.meta.primaryCatId=a.cat[0])}(p,d,e.seat),e.ext&&e.ext.buyid&&(p.adserverTargeting={hb_buyid_pubmatic:e.ext.buyid}),d.ext&&d.ext.marketplace&&(p.bidderCode=d.ext.marketplace),r.push(p)}))})))}catch(e){(0,s.H)(e)}return r},getUserSyncs:function(e,a,r,t){var i=""+M;return r&&(i+="&gdpr="+(r.gdprApplies?1:0),i+="&gdpr_consent="+encodeURIComponent(r.consentString||"")),t&&(i+="&us_privacy="+encodeURIComponent(t)),!0===u.vc.getConfig("coppa")&&(i+="&coppa=1"),e.iframeEnabled?[{type:"iframe",url:"https://ads.pubmatic.com/AdServer/js/user_sync.html?kdntuid=1&p="+i}]:[{type:"image",url:"https://image8.pubmatic.com/AdServer/ImgSync?p="+i}]},transformBidParams:function(e,a,r,t){return(0,s.uh)({publisherId:"string",adSlot:"string"},e)}};(0,p.dX)(W),window.pbjs.installedModules.push("pubmaticBidAdapter")}},function(e){e.O(0,[6866],(function(){return a=5817,e(e.s=a);var a}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7006],{2061:function(e,r,n){var a=n(1002),t=n(4358),s=n(265),o=n(5590),i=n(3193),d=n(5339),p=n(4679),l="USD",c={code:"resetdigital",supportedMediaTypes:["banner","video"],isBidRequestValid:function(e){return!(!e.params.pubId&&!e.params.zoneId)},buildRequests:function(e,r){var n=r.refererInfo&&r.refererInfo.stack?r.refererInfo.stack:[],d=i.vc.getConfig("userSync")&&i.vc.getConfig("userSync").syncsPerBidder?i.vc.getConfig("userSync").syncsPerBidder:5,c={start_time:(0,t.AB)(),language:window.navigator.userLanguage||window.navigator.language,site:{domain:(0,o.P)(),iframe:!r.refererInfo.reachedTop,url:n&&n.length>0?[n.length-1]:null,https:"https:"===window.location.protocol,referrer:r.refererInfo.page},imps:[],user_ids:e[0].userId,sync_limit:d};r&&r.gdprConsent&&(c.gdpr={applies:r.gdprConsent.gdprApplies,consent:r.gdprConsent.consentString}),r&&r.uspConsent&&(c.ccpa=r.uspConsent);var u,m,g=(0,t.I8)(r&&r.ortb2),f=(u=g,m=[],["site.keywords","site.content.keywords","user.keywords","app.keywords","app.content.keywords"].forEach((function(e){var r=(0,s.Z)(u,e);(0,t.d8)(r)&&m.push(r)})),m),v=document.getElementsByTagName("meta").keywords;v&&v.content&&(v=v.content.split(","));for(var y=0;y<e.length;y++){var b=e[y],h=b.params.bidFloor?b.params.bidFloor:null,_=b.params.bidFloor?b.params.bidFloorCur:null;if("function"==typeof b.getFloor){var w=b.getFloor({currency:l,mediaType:p.Mk,size:"*"});"object"!==(0,a.Z)(w)||w.currency!==l||isNaN(parseFloat(w.floor))||(h=parseFloat(w.floor),_=l)}var I=b.params.keywords?b.params.keywords.split(","):[],k=f.concat(I).concat(v);c.imps.push({pub_id:b.params.pubId,site_id:b.params.siteID?b.params.siteID:null,placement_id:b.params.placement?b.params.placement:null,position:b.params.position?b.params.position:null,bid_floor:h,bid_floor_cur:_,lat_long:b.params.latLong?b.params.latLong:null,inventory:b.params.inventory?b.params.inventory:null,visitor:b.params.visitor?b.params.visitor:null,keywords:k.join(","),zone_id:b.params.zoneId,bid_id:b.bidId,imp_id:b.transactionId,sizes:b.sizes,force_bid:b.params.forceBid,coppa:!0===i.vc.getConfig("coppa")?1:0,media_types:(0,s.Z)(b,"mediaTypes")})}var C=e[0].params;return{method:"POST",url:C.endpoint?C.endpoint:"//ads.resetsrv.com",data:JSON.stringify(c),bids:e}},interpretResponse:function(e,r){var n=[];if(!e||!e.body)return n;var a=e.body;if(!a.bids||!a.bids.length)return[];for(var t=0;t<e.body.bids.length;t++){var s=e.body.bids[t];n.push({requestId:s.bid_id,cpm:s.cpm,width:s.w,height:s.h,ad:s.html,vastUrl:s.vast_url,vastXml:s.vast_xml,mediaType:s.html?"banner":"video",ttl:120,creativeId:s.crid,dealId:s.deal_id,netRevenue:!0,currency:"USD",meta:{advertiserDomains:s.adomain}})}return n},getUserSyncs:function(e,r,n){var a=[];if(!r.length||!r[0].body)return a;var t=r[0].body.pixels;if(!t||!t.length)return a;var s=null;n&&(s="boolean"==typeof n.gdprApplies?"gdpr=".concat(Number(n.gdprApplies),"&gdpr_consent=").concat(n.consentString):"gdpr_consent=".concat(n.consentString));for(var o=0;o<t.length;o++){var i=t[o];("iframe"===i.type&&e.iframeEnabled||"image"===i.type&&e.pixelEnabled)&&(s&&s.length&&(i=(-1===i.indexOf("?")?"?":"&")+s),a.push(i))}return a}};(0,d.dX)(c),window.pbjs.installedModules.push("resetdigitalBidAdapter")}},function(e){e.O(0,[2355,6866],(function(){return r=2061,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8773],{67:function(e,r,i){var t=i(3324),n=i(4942),a=i(4358),s=i(265),d=i(5590),o=i(4679),u=i(5339),c=i(4614),p=i(59),l=i(3193);function f(e,r){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),i.push.apply(i,t)}return i}function g(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?f(Object(i),!0).forEach((function(r){(0,n.Z)(e,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(i,r))}))}return e}var m=["prebid-eu","prebid-us","prebid-asia"],b=["USD"],v=[o.Mk,o.B5],h={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}},T={code:"rtbhouse",supportedMediaTypes:v,gvlid:16,isBidRequestValid:function(e){return!(!(0,c.q9)(m,e.params.region)||!e.params.publisherId)},buildRequests:function(e,r){var i,t,n={id:(e=(0,p.lY)(e))[0].auctionId,imp:e.map((function(e){return function(e,r){var i={id:e.bidId,banner:S(e),native:y(e),tagid:e.adUnitCode.toString()},t=function(e){var r=[];"function"==typeof e.getFloor&&Object.keys(e.mediaTypes).forEach((function(i){(0,c.q9)(v,i)&&r.push(e.getFloor({currency:b[0],mediaType:i,size:e.sizes||"*"}).floor)}));return r.length>0?Math.max.apply(Math,r):parseFloat(e.params.bidfloor)}(e);t&&(i.bidfloor=t);if(r.fledgeEnabled){var n,a;i.ext=i.ext||{},i.ext.ae=null==e||null===(n=e.ortb2Imp)||void 0===n||null===(a=n.ext)||void 0===a?void 0:a.ae}else{var s;null!==(s=i.ext)&&void 0!==s&&s.ae&&delete i.ext.ae}return i}(e,r)})),site:E(e,r),cur:b,test:e[0].params.test||0,source:(i=e[0],t={tid:i.transactionId},t)};if(r&&r.gdprConsent&&r.gdprConsent.gdprApplies){var s=r.gdprConsent.consentString?r.gdprConsent.consentString.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):"",d=r.gdprConsent.gdprApplies?1:0;n.regs={ext:{gdpr:d}},n.user={ext:{consent:s}}}if(e[0].schain){var o=function(e){if(!e)return null;if(!function(e){if(!e.nodes)return!1;var r=["asi","sid","hp"];return e.nodes.every((function(e){return r.every((function(r){return e[r]}))}))}(e))return(0,a.H)("RTB House: required schain params missing"),null;return e}(e[0].schain);o&&(n.ext={schain:o})}if(e[0].userIdAsEids){var u={eids:e[0].userIdAsEids};n.user&&n.user.ext?n.user.ext=g(g({},n.user.ext),u):n.user={ext:u}}var f=(null==r?void 0:r.ortb2)||{};f.site&&(0,a.Ee)(n,{site:f.site}),f.user&&(0,a.Ee)(n,{user:f.user}),f.device&&(0,a.Ee)(n,{device:f.device});var m="creativecdn.com/bidder/prebid/bids",h=l.vc.getConfig("fledgeConfig");return r.fledgeEnabled&&h&&((0,a.Ee)(n,{ext:{fledge_config:h}}),m="creativecdn.com/bidder/prebidfledge/bids"),{method:"POST",url:"https://"+e[0].params.region+"."+m,data:JSON.stringify(n)}},interpretOrtbResponse:function(e,r){var i=e.body;if(!(0,a.kJ)(i))return[];var t=[];return i.forEach((function(e){var r;e.price&&(r=0===e.adm.indexOf("{")?function(e){return{requestId:e.impid,mediaType:o.B5,cpm:e.price,creativeId:e.adid,width:1,height:1,ttl:55,meta:{advertiserDomains:e.adomain},netRevenue:!0,currency:"USD",native:I(e.adm)}}(e):function(e){return{requestId:e.impid,mediaType:o.Mk,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&&(r.ext=e.ext),t.push(r))})),t},interpretResponse:function(e,r){var i,n,s=e.body,d=null;if(s.bidid&&(0,a.kJ)(null==s||null===(i=s.ext)||void 0===i?void 0:i.igbid)){var o;n=this.interpretOrtbResponse({body:null===(o=s.seatbid[0])||void 0===o?void 0:o.bid},r);var u=s.ext.seller,c=s.ext.decisionLogicUrl,p="sellerTimeout"in s.ext?{sellerTimeout:s.ext.sellerTimeout}:{};s.ext.igbid.forEach((function(e){var r={};e.igbuyer.forEach((function(e){r[e.igdomain]=e.buyersignal})),(d=d||{})[e.impid]=(0,a.Ee)({seller:u,decisionLogicUrl:c,interestGroupBuyers:Object.keys(r),perBuyerSignals:r},p)}))}else n=this.interpretOrtbResponse(e,r);return d?(d=Object.entries(d).map((function(e){var r=(0,t.Z)(e,2),i=r[0],n=r[1];return Object.assign({bidId:i,auctionSignals:{}},n)})),(0,a.PN)("Response with FLEDGE:",{bids:n,fledgeAuctionConfigs:d}),{bids:n,fledgeAuctionConfigs:d}):n}};function S(e){if("banner"===e.mediaType||(0,s.Z)(e,"mediaTypes.banner")||!e.mediaType&&!e.mediaTypes){var r=e.sizes||e.mediaTypes.banner.sizes;return{w:r[0][0],h:r[0][1],format:r.map((function(e){return{w:e[0],h:e[1]}}))}}}function E(e,r){var i="unknown",t=null;e&&e.length>0&&(i=e[0].params.publisherId,t=e[0].params.channel&&e[0].params.channel.toString().slice(0,50));var n={publisher:{id:i.toString()},page:r.refererInfo.page,name:(0,d.P)()};return t&&(n.channel=t),n}function y(e){if("native"===e.mediaType||(0,s.Z)(e,"mediaTypes.native"))return{request:{assets:O(e)},ver:"1.1"}}function O(e){var r=e.nativeParams||(0,s.Z)(e,"mediaTypes.native"),i=[];return r.title&&i.push({id:h.ASSET_ID.TITLE,required:r.title.required?1:0,title:{len:r.title.len||25}}),r.image&&i.push({id:h.ASSET_ID.IMAGE,required:r.image.required?1:0,img:A(r.image,h.IMAGE_TYPE.MAIN)}),r.icon&&i.push({id:h.ASSET_ID.ICON,required:r.icon.required?1:0,img:A(r.icon,h.IMAGE_TYPE.ICON)}),r.sponsoredBy&&i.push({id:h.ASSET_ID.SPONSORED,required:r.sponsoredBy.required?1:0,data:{type:h.DATA_ASSET_TYPE.SPONSORED,len:r.sponsoredBy.len}}),r.body&&i.push({id:h.ASSET_ID.BODY,required:r.body.request?1:0,data:{type:h.DATA_ASSET_TYPE.DESC,len:r.body.len}}),r.cta&&i.push({id:h.ASSET_ID.CTA,required:r.cta.required?1:0,data:{type:h.DATA_ASSET_TYPE.CTA_TEXT,len:r.cta.len}}),i}function A(e,r){var i={type:r};if(e.aspect_ratios){var t=e.aspect_ratios[0],n=t.min_width||100;i.wmin=n,i.hmin=n/t.ratio_width*t.ratio_height}if(e.sizes){var a=Array.isArray(e.sizes[0])?e.sizes[0]:e.sizes;i.w=a[0],i.h=a[1]}return i}function I(e){var r=JSON.parse(e).native,i={clickUrl:encodeURIComponent(r.link.url),impressionTrackers:r.imptrackers};return r.assets.forEach((function(e){switch(e.id){case h.ASSET_ID.TITLE:i.title=e.title.text;break;case h.ASSET_ID.IMAGE:i.image={url:encodeURIComponent(e.img.url),width:e.img.w,height:e.img.h};break;case h.ASSET_ID.ICON:i.icon={url:encodeURIComponent(e.img.url),width:e.img.w,height:e.img.h};break;case h.ASSET_ID.BODY:i.body=e.data.value;break;case h.ASSET_ID.SPONSORED:i.sponsoredBy=e.data.value;break;case h.ASSET_ID.CTA:i.cta=e.data.value}})),i}(0,u.dX)(T),window.pbjs.installedModules.push("rtbhouseBidAdapter")}},function(e){e.O(0,[2355,6866],(function(){return r=67,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[6187],{60:function(e,r,t){var n=t(4942),i=t(3324),o=t(1002),a=t(4980),s=t(8214),d=t(5339),c=t(3193),u=t(4679),p=t(4614),l=t(8640),f=t(5706),m=t(4358),v=t(6475),x=t(265);function y(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function g(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?y(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var b="https://video-outstream.rubiconproject.com/apex-2.2.1.js",h={};c.vc.getConfig("rubicon",(function(e){(0,m.Ee)(h,e.rubicon)}));var _={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",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"};(0,m.yi)(_,(function(e,r){return _[e]=r}));var j=(0,a.x)({request:function(e,r,t,n){var i,a,s,d=n.bidRequests,u=e(r,t,n);u.cur=["USD"],u.test=c.vc.getConfig("debug")?1:0,(0,v.N)(u,"ext.prebid.cache",{vastxml:{returnCreative:!0===h.returnVast}}),(0,v.N)(u,"ext.prebid.bidders",{rubicon:{integration:h.int_type||"pbjs"}}),(0,v.N)(u,"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:(s=c.vc).getConfig("customPriceBucket")&&s.getConfig("customPriceBucket").buckets}[s.getConfig("priceGranularity")]});var p=(0,l.R)().installedModules;return!p||p.length&&-1===p.indexOf("rubiconAnalyticsAdapter")||(0,v.N)(u,"ext.prebid.analytics",{rubicon:{"client-analytics":!0}}),function(e,r){var t,n,i={},o=new Set;r.forEach((function(r){var t,n,a,s,d,u={user:{ext:{data:g({},r.params.visitor)}},site:{ext:{data:g({},r.params.inventory)}}},p=e.imp.find((function(e){var r,t,n,i,o;return null===(r=e.ext)||void 0===r||null===(t=r.prebid)||void 0===t||null===(n=t.bidder)||void 0===n||null===(i=n.rubicon)||void 0===i||null===(o=i.video)||void 0===o?void 0:o.language}));p&&(u.site.content={language:null===(t=p.ext)||void 0===t||null===(n=t.prebid)||void 0===n||null===(a=n.bidder)||void 0===a||null===(s=a.rubicon)||void 0===s||null===(d=s.video)||void 0===d?void 0:d.language});r.params.keywords&&(Array.isArray(r.params.keywords)?r.params.keywords:r.params.keywords.split(",")).forEach((function(e){return o.add(e)}));i=(0,m.Ee)(i,r.ortb2||{},u);var l=c.vc.getConfig("user.id");i.user.id=i.user.id||l})),(0,m.Ee)(e,i),o&&o.size&&(0,v.N)(e,"site.keywords",Array.from(o.values()).join(","));null==e||(null===(t=e.ext)||void 0===t||(null===(n=t.prebid)||void 0===n||delete n.storedrequest))}(u,d),null==u||(null===(i=u.ext)||void 0===i||(null===(a=i.prebid)||void 0===a||delete a.storedrequest)),!0===h.disableFloors&&delete u.ext.prebid.floors,d.filter((function(e){return"object"===(0,o.Z)(e.floorData)})).length>0&&(u.ext.prebid.floors={enabled:!1}),u},imp:function(e,r,t){var n,i,o=C(r);if(!o.includes(u.Mk)||1!=o.length){var a=e(r,t);return a.id=r.adUnitCode,delete a.banner,c.vc.getConfig("s2sConfig.defaultTtl")&&(a.exp=c.vc.getConfig("s2sConfig.defaultTtl")),"atf"===r.params.position&&(a.video.pos=1),"btf"===r.params.position&&(a.video.pos=3),null===(n=a.ext)||void 0===n||(null===(i=n.prebid)||void 0===i||delete i.storedrequest),function(e,r){"USD"!=r.bidfloorcur&&(delete r.bidfloor,delete r.bidfloorcur);if(!r.bidfloor){var t=parseFloat((0,x.Z)(e,"params.floor"));isNaN(t)||(r.bidfloor=t,r.bidfloorcur="USD")}}(r,a),a}},bidResponse:function(e,r,t){var n=e(r,t);n.meta.mediaType=(0,x.Z)(r,"ext.prebid.type");var i=t.bidRequest;return n.mediaType===u.pX&&"outstream"===i.mediaTypes.video.context&&(n.renderer=function(e){var r=f.Th.install({id:e.adId,url:h.rendererUrl||b,config:h.rendererConfig||{},loaded:!1,adUnitCode:e.adUnitCode});try{r.setRender(O)}catch(e){(0,m.yN)("Prebid Error calling setRender on renderer",e)}return r}(n)),n.width=r.w||(0,x.Z)(i,"mediaTypes.video.w")||(0,x.Z)(i,"params.video.playerWidth"),n.height=r.h||(0,x.Z)(i,"mediaTypes.video.h")||(0,x.Z)(i,"params.video.playerHeight"),(0,x.Z)(r,"ext.bidder.rp.advid")&&(0,v.N)(n,"meta.advertiserId",r.ext.bidder.rp.advid),n},context:{netRevenue:!1!==h.netRevenue,ttl:300},processors:s.X}),k={code:"rubicon",gvlid:52,supportedMediaTypes:[u.Mk,u.pX,u.B5],isBidRequestValid:function(e){var r=!0;if("object"!==(0,o.Z)(e.params))return!1;for(var t=0,n=["accountId","siteId","zoneId"];t<n.length;t++)if(e.params[n[t]]=parseInt(e.params[n[t]]),isNaN(e.params[n[t]]))return(0,m.H)("Rubicon: wrong format of accountId or siteId or zoneId."),!1;var i=C(e,!0);if(!i.length)return!1;i.includes(u.pX)&&(r=function(e){var r=!0,t=Object.prototype.toString.call([]),n=Object.prototype.toString.call(0),i={mimes:t,protocols:t,linearity:n,api:t};return Object.keys(i).forEach((function(t){Object.prototype.toString.call((0,x.Z)(e,"mediaTypes.video."+t))!==i[t]&&(r=!1,(0,m.H)("Rubicon: mediaTypes.video."+t+" is required and must be of type: "+i[t]))})),r}(e));var a=[u.Mk,u.B5].filter((function(e){return i.includes(e)})).length>0;return a?r&&a:r},buildRequests:function(e,r){var t,n=[],i=[];if((t=e.filter((function(e){var r=C(e)||[],t=r.length,n=e.params||{},i=n.bidonmultiformat,o=n.video;return 1===t&&(r.includes(u.pX)||r.includes(u.B5))||2===t&&!r.includes(u.Mk)||o&&r.includes(u.pX)||i&&(r.includes(u.pX)||r.includes(u.B5))})))&&t.length){var o=j.toORTB({bidRequests:t,bidderRequest:r});i.push({method:"POST",url:"https://".concat(h.videoHost||"prebid-server",".rubiconproject.com/openrtb2/auction"),data:o,bidRequest:t})}var a=e.filter((function(e){var r=C(e)||[],t=e.params||{},n=t.bidonmultiformat,i=t.video;return r.includes(u.Mk)&&(1===r.length||n||!n&&!i||!n&&i&&!r.includes(u.pX))}));if(!0!==c.vc.getConfig("rubicon.singleRequest"))n=i.concat(a.map((function(e){var t=k.createSlotParams(e,r);return{method:"GET",url:"https://".concat(h.bannerHost||"fastlane",".rubiconproject.com/a/api/fastlane.json"),data:k.getOrderedParams(t).reduce((function(e,r){var n=t[r];return(0,m.d8)(n)&&""!==n||(0,m.hj)(n)?"".concat(e).concat(T(r,n),"&"):e}),"")+"slots=1&rand=".concat(Math.random()),bidRequest:e}})));else{var s=a.reduce((function(e,r){return(e[r.params.siteId]=e[r.params.siteId]||[]).push(r),e}),{});n=i.concat(Object.keys(s).reduce((function(e,t){var n,i;return(n=s[t],i=10,n.map((function(e,r){return r%i==0?n.slice(r,r+i):null})).filter((function(e){return e}))).forEach((function(t){var n=k.combineSlotUrlParams(t.map((function(e){return k.createSlotParams(e,r)})));e.push({method:"GET",url:"https://".concat(h.bannerHost||"fastlane",".rubiconproject.com/a/api/fastlane.json"),data:k.getOrderedParams(n).reduce((function(e,r){var t=n[r];return(0,m.d8)(t)&&""!==t||(0,m.hj)(t)?"".concat(e).concat(T(r,t),"&"):e}),"")+"slots=".concat(t.length,"&rand=").concat(Math.random()),bidRequest:t})})),e}),[]))}return n},getOrderedParams:function(e){var r=/^tg_v/,t=/^tg_i/,n=/^eid_|^tpid_/,i=["account_id","site_id","zone_id","size_id","alt_size_ids","p_pos","gdpr","gdpr_consent","us_privacy","rp_schain"].concat(Object.keys(e).filter((function(e){return n.test(e)}))).concat(["x_liverampidl","ppuid","rf","p_geo.latitude","p_geo.longitude","kw"]).concat(Object.keys(e).filter((function(e){return r.test(e)}))).concat(Object.keys(e).filter((function(e){return t.test(e)}))).concat(["tk_flint","x_source.tid","l_pb_bid_id","x_source.pchain","p_screen_res","rp_floor","rp_secure","tk_user_key"]);return i.concat(Object.keys(e).filter((function(e){return-1===i.indexOf(e)})))},combineSlotUrlParams:function(e){if(1===e.length)return e[0];var r=e.reduce((function(r,t,n){return Object.keys(t).forEach((function(i){r.hasOwnProperty(i)||(r[i]=new Array(e.length)),r[i].splice(n,1,t[i])})),r}),{}),t=new RegExp("^([^;]*)(;\\1)+$");return Object.keys(r).forEach((function(e){var n=r[e].join(";"),i=n.match(t);r[e]=i?i[1]:n})),r},createSlotParams:function(e,r){e.startTime=(new Date).getTime();var t=e.params,n=A(e,"banner"),a=t.latLong||[],s=(0,i.Z)(a,2),d=s[0],l=s[1],f={account_id:t.accountId,site_id:t.siteId,zone_id:t.zoneId,size_id:n[0],alt_size_ids:n.slice(1).join(",")||void 0,rp_floor:(t.floor=parseFloat(t.floor))>=.01?t.floor:void 0,rp_secure:"1",tk_flint:"".concat(h.int_type||"pbjs_lite","_v7.39.0"),"x_source.tid":e.transactionId,l_pb_bid_id:e.bidId,"x_source.pchain":t.pchain,p_screen_res:[window.screen.width,window.screen.height].join("x"),tk_user_key:t.userId,"p_geo.latitude":isNaN(parseFloat(d))?void 0:parseFloat(d).toFixed(4),"p_geo.longitude":isNaN(parseFloat(l))?void 0:parseFloat(l).toFixed(4),"tg_fl.eid":e.code,rf:w(e,r)};if("function"==typeof e.getFloor&&!h.disableFloors){var v;try{v=e.getFloor({currency:"USD",mediaType:"banner",size:"*"})}catch(e){(0,m.H)("Rubicon: getFloor threw an error: ",e)}f.rp_hard_floor="object"!==(0,o.Z)(v)||"USD"!==v.currency||isNaN(parseInt(v.floor))?void 0:v.floor}var y={1:"atf",3:"btf"}[(0,x.Z)(e,"mediaTypes.banner.pos")]||"";f.p_pos="atf"===t.position||"btf"===t.position?t.position:y;var b=c.vc.getConfig("user.id");return b&&(f.ppuid=b),e.userIdAsEids&&e.userIdAsEids.forEach((function(e){try{if("adserver.org"===e.source?(f.tpid_tdid=e.uids[0].id,f["eid_adserver.org"]=e.uids[0].id):"liveintent.com"===e.source?(f["tpid_liveintent.com"]=e.uids[0].id,f["eid_liveintent.com"]=e.uids[0].id,e.ext&&Array.isArray(e.ext.segments)&&e.ext.segments.length&&(f["tg_v.LIseg"]=e.ext.segments.join(","))):"liveramp.com"===e.source?f.x_liverampidl=e.uids[0].id:"id5-sync.com"===e.source?f["eid_id5-sync.com"]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype,"^").concat(e.uids[0].ext&&e.uids[0].ext.linkType||""):f["eid_".concat(e.source)]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype||""),!f.ppuid){var r=(0,p.sE)(e.uids,(function(e){return e.ext&&"ppuid"===e.ext.stype}));r&&r.id&&(f.ppuid=r.id)}}catch(r){(0,m.yN)("Rubicon: error reading eid:",e,r)}})),r.gdprConsent&&("boolean"==typeof r.gdprConsent.gdprApplies&&(f.gdpr=Number(r.gdprConsent.gdprApplies)),f.gdpr_consent=r.gdprConsent.consentString),r.uspConsent&&(f.us_privacy=encodeURIComponent(r.uspConsent)),f.rp_maxbids=r.bidLimit||1,function(e,r,t){var n={user:{ext:{data:g({},e.params.visitor)}},site:{ext:{data:g({},e.params.inventory)}}};e.params.keywords&&(n.site.keywords=(0,m.kJ)(e.params.keywords)?e.params.keywords.join(","):e.params.keywords);var i=(0,m.Ee)({},e.ortb2||{},n),a=(0,x.Z)(e.ortb2Imp,"ext")||{},s=(0,x.Z)(e.ortb2Imp,"ext.data")||{},d=(0,x.Z)(e,"ortb2Imp.ext.gpid"),c={user:[4],site:[1,2,5,6]},p={user:"tg_v.",site:"tg_i.",adserver:"tg_i.dfp_ad_unit_code",pbadslot:"tg_i.pbadslot",keywords:"kw"},l=function(e,r,t){return"data"===r&&Array.isArray(e)?e.filter((function(e){return e.segment&&(0,x.Z)(e,"ext.segtax")&&c[t]&&-1!==c[t].indexOf((0,x.Z)(e,"ext.segtax"))})).map((function(e){var r=e.segment.filter((function(e){return e.id})).reduce((function(e,r){return e.push(r.id),e}),[]);if(r.length>0)return r.toString()})).toString():("object"!==(0,o.Z)(e)||Array.isArray(e))&&void 0!==e?Array.isArray(e)?e.filter((function(e){if("object"!==(0,o.Z)(e)&&void 0!==e)return e.toString();(0,m.yN)("Rubicon: Filtered value: ",e,"for key",r,": Expected value to be string, integer, or an array of strings/ints")})).toString():e.toString():void 0},f=function(e,r,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=l(e,n,r),a=p[n]&&i?"".concat(p[n]):"data"===n?"".concat(p[r],"iab"):"".concat(p[r]).concat(n);t[a]=t[a]?t[a].concat(",",o):o};r===u.Mk?(["site","user"].forEach((function(e){Object.keys(i[e]).forEach((function(r){"site"===e&&"content"===r&&i[e][r].data?f(i[e][r].data,e,"data"):"ext"!==r?f(i[e][r],e,r):i[e][r].data&&Object.keys(i[e].ext.data).forEach((function(r){f(i[e].ext.data[r],e,r,!1)}))}))})),Object.keys(s).forEach((function(e){"adserver"!==e?f(s[e],"site",e):"gam"===s[e].name&&f(s[e].adslot,name,e)})),d&&(t.p_gpid=d),t["tg_i.pbadslot"]&&delete t["tg_i.dfp_ad_unit_code"]):(Object.keys(a).length&&(0,m.Ee)(t.imp[0].ext,a),d&&(t.imp[0].ext.gpid=d),(0,m.Ee)(t,i))}(e,u.Mk,f),!0===c.vc.getConfig("coppa")&&(f.coppa=1),e.schain&&S(e.schain)&&(f.rp_schain=k.serializeSupplyChain(e.schain)),f},serializeSupplyChain:function(e){if(!S(e))return"";var r=e.ver,t=e.complete,n=e.nodes;return"".concat(r,",").concat(t,"!").concat(k.serializeSupplyChainNodes(n))},serializeSupplyChainNodes:function(e){var r=["asi","sid","hp","rid","name","domain"];return e.map((function(e){return r.map((function(r){return encodeURIComponent(e[r]||"")})).join(",")})).join("!")},interpretResponse:function(e,r){e=e.body;var t=r.data;if(!e||"object"!==(0,o.Z)(e))return[];if(e.seatbid){var n=(0,x.Z)(e,"ext.errors.rubicon");return Array.isArray(n)&&n.length>0&&(0,m.yN)("Rubicon: Error in video response"),j.fromORTB({request:t,response:e}).bids}var a,s=e.ads,d=0,c=r.bidRequest;return"object"===(0,o.Z)(c)&&!Array.isArray(c)&&C(c).includes(u.pX)&&"object"===(0,o.Z)(s)&&(s=s[c.adUnitCode]),!Array.isArray(s)||s.length<1?[]:s.reduce((function(r,t,n){if(t.impression_id&&a===t.impression_id?d++:a=t.impression_id,"ok"!==t.status)return r;var s,p,l=Array.isArray(c)?c[n-d]:c;if(l&&"object"===(0,o.Z)(l)){var f={requestId:l.bidId,currency:"USD",creativeId:t.creative_id||"".concat(t.network||"","-").concat(t.advertiser||""),cpm:t.cpm||0,dealId:t.deal,ttl:300,netRevenue:!1!==h.netRevenue,rubicon:{advertiserId:t.advertiser,networkId:t.network},meta:{advertiserId:t.advertiser,networkId:t.network,mediaType:u.Mk}};if(t.creative_type&&(f.mediaType=t.creative_type),t.adomain&&(f.meta.advertiserDomains=Array.isArray(t.adomain)?t.adomain:[t.adomain]),t.creative_type===u.pX)f.width=l.params.video.playerWidth,f.height=l.params.video.playerHeight,f.vastUrl=t.creative_depot_url,f.impression_id=t.impression_id,f.videoCacheKey=t.impression_id;else{f.ad=(s=t.script,p=t.impression_id,"<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='".concat(p,"'>\n<script type='text/javascript'>").concat(s,"<\/script>\n</div>\n</body>\n</html>"));var v=_[t.size_id].split("x").map((function(e){return Number(e)})),x=(0,i.Z)(v,2);f.width=x[0],f.height=x[1]}f.rubiconTargeting=(Array.isArray(t.targeting)?t.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:l.adUnitCode}),r.push(f)}else(0,m.H)("Rubicon: bidRequest undefined at index position:".concat(n),c,e);return r}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t,n){if(!Z&&e.iframeEnabled){var i={};return t&&("boolean"==typeof t.gdprApplies&&(i.gdpr=Number(t.gdprApplies)),"string"==typeof t.consentString&&(i.gdpr_consent=t.consentString)),n&&(i.us_privacy=encodeURIComponent(n)),i=Object.keys(i).length?"?".concat((0,m.Yp)(i)):"",Z=!0,{type:"iframe",url:"https://".concat(h.syncHost||"eus",".rubiconproject.com/usync.html")+i}}},transformBidParams:function(e,r){return(0,m.uh)({accountId:"number",siteId:"number",zoneId:"number"},e)}};function w(e,r){var t;return t=e.params.referrer?e.params.referrer:r.refererInfo.page,e.params.secure?t.replace(/^http:/i,"https:"):t}function O(e){var r,t=document.getElementById(e.adUnitCode);(r=t.querySelector("div[id^='google_ads']"))&&r.style.setProperty("display","none"),function(e){var r=e.querySelector("script[id^='sas_script']"),t=r&&r.nextSibling;t&&"iframe"===t.localName&&t.style.setProperty("display","none")}(t);var n=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:n.align||"center",position:n.position||"append"},closeButton:n.closeButton||!1,label:n.label||void 0,collapse:n.collapse||!0})}))}function A(e,r){var t=e.params;if(r===u.pX){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray((0,x.Z)(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(n=e.sizes[0]),n}var i=[];return Array.isArray(t.sizes)?i=t.sizes:void 0!==(0,x.Z)(e,"mediaTypes.banner.sizes")?i=R(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=R(e.sizes):(0,m.yN)("Rubicon: no sizes are setup or found"),function(e){var r=[15,2,9];return e.sort((function(e,t){var n=r.indexOf(e),i=r.indexOf(t);return n>-1||i>-1?-1===n?1:-1===i?-1:n-i:e-t}))}(i)}function R(e){return(0,m.sF)(e).reduce((function(e,r){var t=parseInt(_[r],10);return t&&e.push(t),e}),[])}function I(e){var r=void 0!==(0,x.Z)(e,"mediaTypes.".concat(u.pX)),t=void 0!==(0,x.Z)(e,"mediaTypes.".concat(u.Mk)),n=void 0!==(0,x.Z)(e,"params.bidonmultiformat"),i="object"!==(0,o.Z)((0,x.Z)(e,"params.video"));return!(!r||!n)||(t&&i&&(r=!1),r&&i&&(0,v.N)(e,"params.video",{}),r)}function C(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=[];if(I(e)){if(-1===["outstream","instream"].indexOf((0,x.Z)(e,"mediaTypes.".concat(u.pX,".context"))))return r&&(0,m.H)("Rubicon: mediaTypes.video.context must be outstream or instream"),t;if(A(e,u.pX).length<2)return r&&(0,m.H)("Rubicon: could not determine the playerSize of the video"),t;r&&(0,m.ji)("Rubicon: making video request for adUnit",e.adUnitCode),t.push(u.pX)}if(void 0!==(0,x.Z)(e,"mediaTypes.".concat(u.B5))&&t.push(u.B5),void 0!==(0,x.Z)(e,"mediaTypes.".concat(u.Mk))){if(0===A(e,u.Mk).length)return r&&(0,m.H)("Rubicon: could not determine the sizes for banner request"),t;r&&(0,m.ji)("Rubicon: making banner request for adUnit",e.adUnitCode),t.push(u.Mk)}return t}function S(e){var r=!1,t=["asi","sid","hp"];return e.nodes?((r=e.nodes.reduce((function(e,r){return e?t.every((function(e){return r.hasOwnProperty(e)})):e}),!0))||(0,m.H)("Rubicon: required schain params missing"),r):r}function T(e,r){return"rp_schain"===e?"rp_schain=".concat(r):"".concat(e,"=").concat(encodeURIComponent(r))}var Z=!1;(0,d.dX)(k),window.pbjs.installedModules.push("rubiconBidAdapter")},6372:function(e,r,t){t.d(r,{DZ:function(){return a},Px:function(){return s},TP:function(){return c},YC:function(){return d},Z:function(){return o},f8:function(){return m},fP:function(){return v},gm:function(){return n},md:function(){return u}});var n=["request","imp","bidResponse","response"],i=["default","pbs"],o=n[0],a=n[1],s=n[2],d=n[3],c=i[0],u=i[1],p=new Set(n);var l,f=(l={},{registerOrtbProcessor:function(e){var r=e.type,t=e.name,i=e.fn,o=e.priority,a=void 0===o?0:o,s=e.dialects,d=void 0===s?[c]:s;if(!p.has(r))throw new Error("ORTB processor type must be one of: ".concat(n.join(", ")));d.forEach((function(e){l.hasOwnProperty(e)||(l[e]={}),l[e].hasOwnProperty(r)||(l[e][r]={}),l[e][r][t]={priority:a,fn:i}}))},getProcessors:function(e){return l[e]||{}}}),m=f.registerOrtbProcessor,v=f.getProcessors}},function(e){e.O(0,[5279,951,6866],(function(){return r=60,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9225],{8689:function(n,i,o){var e=o(3193),t=o(1039),c=o(4358),r=o(265),s=o(6475),a=o(6372),f="Invalid schain object found: ",u=" should be a string",d=" should be an Integer",h=" should be an object",g={STRICT:"strict",RELAXED:"relaxed",OFF:"off"},l=[];function p(n,i){var o=g.STRICT;if(function(n){return!(void 0===n||!(0,c.PO)(n)&&((0,c.H)(f+"the following schain config will not be used as schain is not an object.",n),1))}(n)){if((0,c.d8)(n.validation)&&-1!=l.indexOf(n.validation)&&(o=n.validation),o===g.OFF)return n.config;if(function(n,i){var o="Detected something wrong within an schain config:",e="";function t(n){e+="\n"+n}function r(){!0===i?(0,c.H)(o,n,e):(0,c.yN)(o,n,e)}if(!(0,c.PO)(n)&&(t("schain.config"+h),r(),i))return!1;if((0,c.hj)(n.complete)&&(0,c.U)(n.complete)||t("schain.config.complete"+d),(0,c.d8)(n.ver)||t("schain.config.ver"+u),(0,c.RI)(n,"ext")&&((0,c.PO)(n.ext)||t("schain.config.ext"+h)),(0,c.kJ)(n.nodes))n.nodes.forEach((function(n,i){(0,c.d8)(n.asi)||t("schain.config.nodes[".concat(i,"].asi")+u),(0,c.d8)(n.sid)||t("schain.config.nodes[".concat(i,"].sid")+u),(0,c.hj)(n.hp)&&(0,c.U)(n.hp)||t("schain.config.nodes[".concat(i,"].hp")+d),(0,c.RI)(n,"rid")&&((0,c.d8)(n.rid)||t("schain.config.nodes[".concat(i,"].rid")+u)),(0,c.RI)(n,"name")&&((0,c.d8)(n.name)||t("schain.config.nodes[".concat(i,"].name")+u)),(0,c.RI)(n,"domain")&&((0,c.d8)(n.domain)||t("schain.config.nodes[".concat(i,"].domain")+u)),(0,c.RI)(n,"ext")&&((0,c.PO)(n.ext)||t("schain.config.nodes[".concat(i,"].ext")+h))}));else if(t("schain.config.nodes should be an Array"),r(),i)return!1;return!(e.length>0&&(r(),i))}(n.config,!(o!==g.STRICT)))return n.config;(0,c.H)(f+"due to the 'strict' validation setting, this schain config will not be passed to bidder '".concat(i,"'.  See above error for details."))}return null}function v(n,i){var o=e.vc.getConfig("schain"),t=e.vc.getBidderConfig();i.forEach((function(n){var i=n.bidderCode,e=function(n){return t[n]&&t[n].schain||o}(i);n.bids.forEach((function(n){var o=p(e,i);o&&(n.schain=o)}))})),n(i)}(0,c.yi)(g,(function(n){return l.push(n)})),t.ZP.makeBidRequests.after(v),(0,a.f8)({type:a.Z,name:"sourceExtSchain",fn:function(n,i,o){if(!(0,r.Z)(n,"source.ext.schain")){var e=(0,r.Z)(o,"bidRequests.0.schain");e&&(0,s.N)(n,"source.ext.schain",e)}}}),window.pbjs.installedModules.push("schain")},6372:function(n,i,o){o.d(i,{DZ:function(){return r},Px:function(){return s},TP:function(){return f},YC:function(){return a},Z:function(){return c},f8:function(){return l},fP:function(){return p},gm:function(){return e},md:function(){return u}});var e=["request","imp","bidResponse","response"],t=["default","pbs"],c=e[0],r=e[1],s=e[2],a=e[3],f=t[0],u=t[1],d=new Set(e);var h,g=(h={},{registerOrtbProcessor:function(n){var i=n.type,o=n.name,t=n.fn,c=n.priority,r=void 0===c?0:c,s=n.dialects,a=void 0===s?[f]:s;if(!d.has(i))throw new Error("ORTB processor type must be one of: ".concat(e.join(", ")));a.forEach((function(n){h.hasOwnProperty(n)||(h[n]={}),h[n].hasOwnProperty(i)||(h[n][i]={}),h[n][i][o]={priority:r,fn:t}}))},getProcessors:function(n){return h[n]||{}}}),l=g.registerOrtbProcessor,p=g.getProcessors}},function(n){n.O(0,[6866],(function(){return i=8689,n(n.s=i);var i}));n.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2972],{4834:function(o,e,n){var t=n(1002),i=n(4358),r=n(2797),a=n(1039),d=n(5164),u=n(4516),c=(0,d.df)({moduleName:"pubCommonId",gvlid:u.$P}),m="cookie",s="html5",v="_pubcid_optout",l="PublisherCommonId";function f(o,e){if(e===m)return c.getCookie(o);if(e===s&&c.hasLocalStorage()){var n=c.getDataFromLocalStorage("".concat(o,"_exp"));if(!n)return c.getDataFromLocalStorage(o);if(new Date(n).getTime()-Date.now()>0)return c.getDataFromLocalStorage(o)}}function p(o,e){return function(n){"function"==typeof e&&e(),n(o)}}function g(o){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(o){var n=(0,i.en)(o);n.search.id=encodeURIComponent("pubcid:"+e);var t=(0,i.Q2)(n);return function(){(0,i.hq)(t)}}}function b(){return!!(c.cookiesAreEnabled()&&f(v,m)||c.hasLocalStorage()&&f(v,s))}var h={name:"sharedId",aliasName:"pubCommonId",gvlid:u.$P,decode:function(o,e){if(!b())return(0,i.PN)(" Decoded value PubCommonId "+o),{pubcid:o};(0,i.PN)("PubCommonId decode: Has opted-out")},getId:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>2?arguments[2]:void 0;if(b())(0,i.PN)("PubCommonId: Has opted-out");else{var n=a.VP.getCoppa();if(!n){var r=o.params,d=(r=void 0===r?{}:r).create,u=void 0===d||d,c=r.pixelUrl,m=e;if(!m){try{"object"===(0,t.Z)(window[l])&&(m=window[l].getId())}catch(o){}m||(m=u&&(0,i.wn)()?(0,i.DO)():void 0)}var s=g(c,m);return{id:m,callback:p(m,s)}}(0,i.PN)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId")}},extendId:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>2?arguments[2]:void 0;if(b())return(0,i.PN)("PubCommonId: Has opted-out"),{id:void 0};var n=a.VP.getCoppa();if(n)(0,i.PN)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId");else{var t=o.params,r=(t=void 0===t?{}:t).extend,d=void 0!==r&&r,u=t.pixelUrl;if(d){if(u){var c=g(u,e);return{callback:c}}return{id:e}}}},domainOverride:function(){for(var o,e,n=document.domain.split("."),t="_gd".concat(Date.now()),i=0;i<n.length;i++){var r=n.slice(i).join(".");if(c.setCookie(t,"1",void 0,void 0,r),e=c.getCookie(t),c.setCookie(t,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,r),"1"!==e)return o;o=r}}};(0,r.Bx)("userId",h),window.pbjs.installedModules.push("sharedIdSystem")}},function(o){o.O(0,[6866],(function(){return e=4834,o(o.s=e);var e}));o.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[6312],{6349:function(e,t,r){var n=r(1002),i=r(3324),o=r(4942),a=r(4358),c=r(265),u=r(5339),d=r(3193),s=r(4679),p=r(4192);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y="sharethrough",m="https://btlr.sharethrough.com/universal/v1?supply_id=".concat("WYu2BXv1"),g={getProtocol:function(){return window.location.protocol}},v={code:y,supportedMediaTypes:[s.pX,s.Mk],gvlid:80,isBidRequestValid:function(e){return!!e.params.pkey&&e.bidder===y},buildRequests:function(e,t){var r=d.vc.getConfig("bidderTimeout"),n=t.ortb2||{},o=g.getProtocol().indexOf("http")<0||g.getProtocol().indexOf("https")>-1,u={id:(0,a.DO)(),at:1,cur:["USD"],tmax:r,site:f({domain:(0,c.Z)(t,"refererInfo.domain",window.location.hostname),page:(0,c.Z)(t,"refererInfo.page",window.location.href),ref:(0,c.Z)(t,"refererInfo.ref")},n.site),device:{ua:navigator.userAgent,language:navigator.language,js:1,dnt:"1"===navigator.doNotTrack?1:0,h:window.screen.height,w:window.screen.width},regs:{coppa:!0===d.vc.getConfig("coppa")?1:0,ext:{}},source:{tid:t.auctionId,ext:{version:"7.39.0",str:"4.3.0",schain:e[0].schain}},bcat:(0,c.Z)(t.ortb2,"bcat")||e[0].params.bcat||[],badv:(0,c.Z)(t.ortb2,"badv")||e[0].params.badv||[],test:0};if(u.user=I(n.user,{}),u.user.ext||(u.user.ext={}),u.user.ext.eids=(0,p.HQ)((0,c.Z)(e[0],"userId"))||[],t.gdprConsent){var s=!0===t.gdprConsent.gdprApplies;u.regs.ext.gdpr=s?1:0,s&&(u.user.ext.consent=t.gdprConsent.consentString)}return t.uspConsent&&(u.regs.ext.us_privacy=t.uspConsent),e.map((function(e){var t={ext:{}},r=(0,c.Z)(e,"ortb2Imp.ext.tid");r&&(t.ext.tid=r);var n=(0,c.Z)(e,"ortb2Imp.ext.gpid",(0,c.Z)(e,"ortb2Imp.ext.data.pbadslot"));n&&(t.ext.gpid=n);var u=(0,c.Z)(e,"mediaTypes.video");if(u){var d=640,s=360;if(u.playerSize&&u.playerSize[0]&&u.playerSize[1]){var p=(0,i.Z)(u.playerSize,2);d=p[0],s=p[1]}t.video={pos:I(u.pos,0),topframe:(0,a.yL)()?0:1,skip:I(u.skip,0),linearity:I(u.linearity,1),minduration:I(u.minduration,5),maxduration:I(u.maxduration,60),playbackmethod:u.playbackmethod||[2],api:b(u),mimes:u.mimes||["video/mp4"],protocols:h(u),w:d,h:s,startdelay:I(u.startdelay,0),skipmin:I(u.skipmin,0),skipafter:I(u.skipafter,0),placement:"instream"===u.context?1:+(0,c.Z)(u,"placement",4)},u.delivery&&(t.video.delivery=u.delivery),u.companiontype&&(t.video.companiontype=u.companiontype),u.companionad&&(t.video.companionad=u.companionad)}else t.banner={pos:(0,c.Z)(e,"mediaTypes.banner.pos",0),topframe:(0,a.yL)()?0:1,format:e.sizes.map((function(e){return{w:+e[0],h:+e[1]}}))};return f({id:e.bidId,tagid:String(e.params.pkey),secure:o?1:0,bidfloor:x(e)},t)})).filter((function(e){return!!e})).map((function(e){return{method:"POST",url:m,data:f(f({},u),{},{imp:[e]})}}))},interpretResponse:function(e,t){var r=e.body;return r&&r.seatbid&&0!==r.seatbid.length&&r.seatbid[0].bid&&0!==r.seatbid[0].bid.length?r.seatbid[0].bid.map((function(e){var n={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?s.pX:s.Mk,currency:r.cur||"USD",netRevenue:!0,ttl:360,ad:e.adm,nurl:e.nurl,meta:{advertiserDomains:e.adomain||[]}};return n.mediaType===s.pX&&(n.ttl=3600,n.vastXml=e.adm),n})):[]},getUserSyncs:function(e,t){return e.pixelEnabled&&void 0!==(0,c.Z)(t,"0.body.cookieSyncUrls")?t[0].body.cookieSyncUrls.map((function(e){return{type:"image",url:e}})):[]},onTimeout:function(e){},onBidWon:function(e){},onSetTargeting:function(e){}};function b(e){var t=e.api;return t&&Array.isArray(t)&&t.length>0?t:[2]}function h(e){var t=e.protocols;return t&&Array.isArray(t)&&t.length>0?t:[2,3,5,6,7,8]}function x(e){var t=null;if("function"==typeof e.getFloor){var r=e.getFloor({currency:"USD",mediaType:e.mediaTypes&&e.mediaTypes.video?"video":"banner",size:e.sizes.map((function(e){return{w:e[0],h:e[1]}}))});"object"!==(0,n.Z)(r)||"USD"!==r.currency||isNaN(parseFloat(r.floor))||(t=parseFloat(r.floor))}return null!==t?t:e.params.floor}function I(e,t){return null==e?t:e}(0,u.dX)(v),window.pbjs.installedModules.push("sharethroughBidAdapter")},4192:function(e,t,r){r.d(t,{HQ:function(){return c},Pv:function(){return u},UR:function(){return o}});var n=r(4358),i=r(265),o={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var t=(0,n.ei)(e,["h1","h2","h3"]);if(Object.keys(t).length)return t}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var t="";return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=(0,n.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return void 0===e.snowflake.id?e.snowflake:e.snowflake.id},source:"novatiq.com"},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},czechAdId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function a(e,t){var r=o[t];if(r&&e){var i={};i.source=(0,n.LQ)(r.getSource)?r.getSource(e):r.source;var a=(0,n.LQ)(r.getValue)?r.getValue(e):e;if((0,n.d8)(a)){var c={id:a,atype:r.atype};if((0,n.LQ)(r.getUidExt)){var u=r.getUidExt(e);u&&(c.ext=u)}if(i.uids=[c],(0,n.LQ)(r.getEidExt)){var d=r.getEidExt(e);d&&(i.ext=d)}return i}}return null}function c(e){var t=[],r=function(r){if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[r]))e[r].forEach((function(e,n,i){var o=a(e,r);o&&t.push(o)}));else{var n=a(e[r],r);n&&t.push(n)}};for(var n in e)r(n);return t}function u(e){var t=[];return e.filter((function(e){return(0,n.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){(0,i.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,i.Z)(o,r+".source")&&t.push({source:o[r].source,bidders:e.config.bidders})}))})),t}}},function(e){e.O(0,[6866],(function(){return t=6349,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2302],{1415:function(e,i,r){var t=r(9062),n=r(3324),s=r(4942),a=r(5339),o=r(4358),d=r(265),c=r(4679),u=r(3193),p=r(5706),l=r(1974),v="sonobi",m=(0,o.DO)(),f="https://mtrx.go.sonobi.com/sbi_outstream_renderer.js",b={code:v,gvlid:104,supportedMediaTypes:[c.Mk,c.pX],isBidRequestValid:function(e){if(!e.params)return!1;if(!e.params.ad_unit&&!e.params.placement_id)return!1;if(!(0,d.Z)(e,"mediaTypes.banner")&&!(0,d.Z)(e,"mediaTypes.video"))return!1;if((0,d.Z)(e,"mediaTypes.banner")){if(!(0,d.Z)(e,"mediaTypes.banner.sizes")&&!e.params.sizes)return!1}else if((0,d.Z)(e,"mediaTypes.video")){if("outstream"===(0,d.Z)(e,"mediaTypes.video.context")&&!e.params.sizes)return!1;if("instream"===(0,d.Z)(e,"mediaTypes.video.context")&&!(0,d.Z)(e,"mediaTypes.video.playerSize"))return!1}return!0},buildRequests:function(e,i){var r=e.map((function(e){var i;(0,d.Z)(e,"mediaTypes.video")?i="video":(0,d.Z)(e,"mediaTypes.banner")&&(i="display");var r=function(e){if(e.params.ad_unit)return e.params.ad_unit;return e.params.placement_id}(e);return/^[\/]?[\d]+[[\/].+[\/]?]?$/.test(r)?(r="/"===r.charAt(0)?r:"/"+r,(0,s.Z)({},"".concat(r,"|").concat(e.bidId),"".concat(y(e),"|").concat(h(e)).concat(g(e)).concat(_(i)))):/^[0-9a-fA-F]{20}$/.test(r)&&20===r.length?(0,s.Z)({},e.bidId,"".concat(r,"|").concat(y(e),"|").concat(h(e)).concat(g(e)).concat(_(i))):void(0,o.H)("The ad unit code or Sonobi Placement id for slot ".concat(e.bidId," is invalid"))})),t={};r.forEach((function(e){Object.assign(t,e)}));var n={key_maker:JSON.stringify(t),ref:i.refererInfo.page,s:(0,o.DO)(),pv:m,vp:T(),lib_name:"prebid",lib_v:"7.39.0",us:0},a=i.ortb2;a&&(n.fpd=JSON.stringify(a)),u.vc.getConfig("userSync")&&u.vc.getConfig("userSync").syncsPerBidder&&(n.us=u.vc.getConfig("userSync").syncsPerBidder),l.k_.canBidderRegisterSync("iframe",v)?n.ius=1:n.ius=0,(0,d.Z)(e[0],"params.hfa")&&(n.hfa=(0,d.Z)(e[0],"params.hfa")),e[0].params.referrer&&(n.ref=e[0].params.referrer),i&&i.gdprConsent&&(n.gdpr=i.gdprConsent.gdprApplies?"true":"false",i.gdprConsent.consentString&&(n.consent_string=i.gdprConsent.consentString)),e[0].schain&&(n.schain=JSON.stringify(e[0].schain));var c=(0,d.Z)(e[0],"userIdAsEids");Array.isArray(c)&&c.length>0&&(n.eids=JSON.stringify(c));var p=e[0].params.keywords;if(p&&(n.kw=p),i&&i.uspConsent&&(n.us_privacy=i.uspConsent),!0===u.vc.getConfig("coppa")?n.coppa=1:n.coppa=0,(0,o.xb)(t))return null;var f="https://apex.go.sonobi.com/trinity.json";return(0,d.Z)(e[0],"params.bid_request_url")&&(f=(0,d.Z)(e[0],"params.bid_request_url")),{method:"GET",url:f,withCredentials:!0,data:n,bidderRequests:e}},interpretResponse:function(e,i){var r=e.body,t=[],s=i.data.ref;return 0===Object.keys(r.slots).length||Object.keys(r.slots).forEach((function(e){var a=r.slots[e],c=e.split("|").slice(-1)[0],u=function(e,i){for(var r=0;r<e.length;r++)if(e[r].bidId===i)return e[r]}(i.bidderRequests,c),l=null;"video"===a.sbi_ct&&(l="video","outstream"===(0,d.Z)(u,"mediaTypes.video.context")&&(l="outstream"));var v=Z(l,s);if(a.sbi_aid&&a.sbi_mouse&&a.sbi_size){var m=a.sbi_size.split("x"),b=(0,n.Z)(m,2),y=b[0],h=void 0===y?1:y,g=b[1],_=void 0===g?1:g,S=[];a.sbi_adomain&&(S=[a.sbi_adomain]);var T={requestId:c,cpm:Number(a.sbi_mouse),width:Number(h),height:Number(_),ad:v(r.sbi_dc,a.sbi_aid),ttl:500,creativeId:a.sbi_crid||a.sbi_aid,aid:a.sbi_aid,netRevenue:!0,currency:"USD",meta:{advertiserDomains:S}};if(a.sbi_dozer&&(T.dealId=a.sbi_dozer),"video"===l)T.mediaType="video",T.vastUrl=v(r.sbi_dc,a.sbi_aid),delete T.ad,delete T.width,delete T.height;else if("outstream"===l&&u){delete T.ad,T.mediaType="video",T.vastUrl=v(r.sbi_dc,a.sbi_aid),T.renderer=function(e,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=p.Th.install({id:i.aid,url:f,config:r,loaded:!1,adUnitCode:e});try{t.setRender(z)}catch(e){(0,o.yN)("Prebid Error calling setRender on renderer",e)}return t.setEventHandlers({impression:function(){return(0,o.ji)("Sonobi outstream video impression event")},loaded:function(){return(0,o.ji)("Sonobi outstream video loaded event")},ended:function(){(0,o.ji)("Sonobi outstream renderer video event")}}),t}(u.adUnitCode,T,(0,d.Z)(u,"renderer.options"));var C=(0,d.Z)(u,"params.sizes");Array.isArray(C)&&Array.isArray(C[0])&&(C=C[0]),C&&(T.width=C[0],T.height=C[1])}t.push(T)}})),t},getUserSyncs:function(e,i,r,t){var n=[];try{e.pixelEnabled&&i[0].body.sbi_px.forEach((function(e){n.push({type:e.type,url:e.url})}))}catch(e){}return n}};function y(e){var i=[];return(0,d.Z)(e,"mediaTypes.video.playerSize")&&i.push((0,d.Z)(e,"mediaTypes.video.playerSize")),(0,d.Z)(e,"mediaTypes.video.sizes")&&i.push((0,d.Z)(e,"mediaTypes.video.sizes")),(0,d.Z)(e,"params.sizes")&&i.push((0,d.Z)(e,"params.sizes")),(0,d.Z)(e,"mediaTypes.banner.sizes")&&i.push((0,d.Z)(e,"mediaTypes.banner.sizes")),(0,d.Z)(e,"sizes")&&i.push((0,d.Z)(e,"sizes")),(0,t.Z)(new Set(o.sF.apply(void 0,i))).join(",")}function h(e){var i=function(e){if(!(0,o.LQ)(e.getFloor))return e.params.floor?e.params.floor:null;var i=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,o.PO)(i)&&!isNaN(i.floor)&&"USD"===i.currency)return i.floor;return""}(e);return i?"f=".concat(i,","):""}function g(e){var i=(0,d.Z)(e,"ortb2Imp.ext.data.pbadslot")||(0,d.Z)((0,o.ky)(e.adUnitCode),"gptSlot")||e.params.ad_unit;return i?"gpid=".concat(i,","):""}function _(e){var i="";return"video"===e?i="c=v,":"display"===e&&(i="c=d,"),i}var Z=function(e,i){return function(r,t){return"video"===e||"outstream"===e?function(e,i,r){return"https://".concat(e,"apex.go.sonobi.com/vast.xml?vid=").concat(i,"&ref=").concat(encodeURIComponent(r))}(r,t,i):'<script type="text/javascript" src="'+"https://".concat(r,"apex.go.sonobi.com/sbi.js?aid=").concat(t,"&as=null&ref=").concat(encodeURIComponent(i))+'"><\/script>'}};var S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_SAFE_INTEGER;return e.innerWidth>=i&&e.innerWidth<r}};function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,i=S(e),r={lt:768},t={lt:992,ge:768};return i(0,r.lt)?"mobile":i(t.ge,t.lt)?"tablet":"desktop"}function z(e){e.renderer.push((function(){var i=e.getSize().split("x"),r=(0,n.Z)(i,2),t=r[0],s=r[1],a=new window.SbiOutstreamRenderer;a.init({vastUrl:e.vastUrl,height:s,width:t}),a.setRootElement(e.adUnitCode)}))}(0,a.dX)(b),window.pbjs.installedModules.push("sonobiBidAdapter")}},function(e){e.O(0,[6866],(function(){return i=1415,e(e.s=i);var i}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7771],{272:function(e,r,t){var n=t(4942),i=t(4358),o=t(265),a=t(6475),u=t(5339),c=t(4679),s=t(4192);function d(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?d(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var f={mimes:function(e){return Array.isArray(e)&&e.length>0&&e.every((function(e){return"string"==typeof e}))},minduration:function(e){return(0,i.U)(e)},maxduration:function(e){return(0,i.U)(e)},protocols:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=10}))},w:function(e){return(0,i.U)(e)},h:function(e){return(0,i.U)(e)},startdelay:function(e){return(0,i.U)(e)},placement:function(e){return(0,i.U)(e)&&e>=1&&e<=5},linearity:function(e){return-1!==[1,2].indexOf(e)},skip:function(e){return-1!==[0,1].indexOf(e)},skipmin:function(e){return(0,i.U)(e)},skipafter:function(e){return(0,i.U)(e)},sequence:function(e){return(0,i.U)(e)},battr:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=17}))},maxextended:function(e){return(0,i.U)(e)},minbitrate:function(e){return(0,i.U)(e)},maxbitrate:function(e){return(0,i.U)(e)},boxingallowed:function(e){return-1!==[0,1].indexOf(e)},playbackmethod:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=6}))},playbackend:function(e){return-1!==[1,2,3].indexOf(e)},delivery:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=3}))},pos:function(e){return(0,i.U)(e)&&e>=1&&e<=7},api:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=6}))}},y={context:function(e){return e!==c.Oh},mimes:f.mimes,minduration:f.minduration,maxduration:f.maxduration,protocols:f.protocols},l={code:"sovrn",supportedMediaTypes:[c.Mk,c.pX],gvlid:13,isBidRequestValid:function(e){var r,t=null==e||null===(r=e.mediaTypes)||void 0===r?void 0:r.video;return!(!e.params.tagid||isNaN(parseFloat(e.params.tagid))||!isFinite(e.params.tagid)||t&&!Object.keys(y).every((function(e){return y[e](t[e])})))},buildRequests:function(e,r){try{var t,n,u,c,d=[];(0,i.yi)(e,(function(e){!u&&e.userId&&(u=(0,s.HQ)(e.userId)).forEach((function(e){e.uids&&e.uids[0]&&"criteo.com"===e.source&&(c=e.uids[0].id)})),e.schain&&(n=n||e.schain),t=t||(0,i.An)("iv",e.params);var r=e.getFloor&&"function"==typeof e.getFloor?e.getFloor({currency:"USD",mediaType:e.mediaTypes&&e.mediaTypes.banner?"banner":"video",size:"*"}):{};r.floor=r.floor||(0,i.An)("bidfloor",e.params);var a={adunitcode:e.adUnitCode,id:e.bidId,tagid:String((0,i.An)("tagid",e.params)),bidfloor:r.floor};if((0,o.Z)(e,"mediaTypes.banner")){var y=(0,o.Z)(e,"mediaTypes.banner.sizes")||e.sizes,l=(y=(y=(0,i.kJ)(y)&&(0,i.kJ)(y[0])?y:[y]).filter((function(e){return(0,i.kJ)(e)}))).map((function(e){return{w:parseInt(e[0],10),h:parseInt(e[1],10)}}));a.banner={format:l,w:1,h:1}}(0,o.Z)(e,"mediaTypes.video")&&(a.video=function(e){var r={},t=(0,o.Z)(e,"sizes"),n=(0,o.Z)(e,"mediaTypes.video",{}),a=(0,o.Z)(e,"params.video",{}),u={};if(t){var c=Array.isArray(t[0])?t[0]:t;u.w=c[0],u.h=c[1]}else if(Array.isArray(n.playerSize)){var s=Array.isArray(n.playerSize[0])?n.playerSize[0]:n.playerSize;u.w=s[0],u.h=s[1]}var d=p(p(p({},u),n),a);return Object.keys(f).forEach((function(e){d.hasOwnProperty(e)&&(f[e](d[e])?r[e]=d[e]:(0,i.yN)("The OpenRTB video param ".concat(e," has been skipped due to misformating. Please refer to OpenRTB 2.5 spec.")))})),r}(e)),a.ext=(0,i.An)("ext",e.ortb2Imp)||void 0;var m=(0,i.An)("segments",e.params);m&&(a.ext=a.ext||{},a.ext.deals=m.split(",").map((function(e){return e.trim()}))),d.push(a)}));var y=r.ortb2||{},l=y.site||{};l.page=r.refererInfo.page,l.domain=r.refererInfo.domain;var m={id:(0,i._d)(),imp:d,site:l,user:y.user||{}};n&&(m.source={ext:{schain:n}}),r.gdprConsent&&((0,a.N)(m,"regs.ext.gdpr",+r.gdprConsent.gdprApplies),(0,a.N)(m,"user.ext.consent",r.gdprConsent.consentString)),r.uspConsent&&(0,a.N)(m,"regs.ext.us_privacy",r.uspConsent),u&&((0,a.N)(m,"user.ext.eids",u),c&&(0,a.N)(m,"user.ext.prebid_criteoid",c));var g="https://ap.lijit.com/rtb/bid?src=prebid_prebid_7.39.0";return t&&(g+="&iv=".concat(t)),{method:"POST",url:g,data:JSON.stringify(m),options:{contentType:"text/plain"}}}catch(e){(0,i.H)("Could not build bidrequest, error deatils:",e)}},interpretResponse:function(e){var r=e.body,t=r.id,n=r.seatbid;if(!t||!n||!Array.isArray(n))return[];try{return n.filter((function(e){return e})).map((function(e){return e.bid.map((function(e){var r,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?c.Mk:c.pX,ttl:(null===(r=e.ext)||void 0===r?void 0:r.ttl)||90,meta:{advertiserDomains:e&&e.adomain?e.adomain:[]}};return e.nurl?t.ad=decodeURIComponent("".concat(e.adm,'<img src="').concat(e.nurl,'">')):t.vastXml=decodeURIComponent(e.adm),t}))})).flat()}catch(e){return(0,i.H)("Could not interpret bidresponse, error details:",e),e}},getUserSyncs:function(e,r,t,n){try{var i=[];if(r&&0!==r.length){if(e.iframeEnabled){var a=r.filter((function(e){return(0,o.Z)(e,"body.ext.iid")})).map((function(e){return e.body.ext.iid})),u=[];t&&t.gdprApplies&&"string"==typeof t.consentString&&u.push(["gdpr_consent",t.consentString]),n&&u.push(["us_privacy",n]),a[0]&&(u.push(["informer",a[0]]),i.push({type:"iframe",url:"https://ap.lijit.com/beacon?"+u.map((function(e){return e.join("=")})).join("&")}))}e.pixelEnabled&&r.filter((function(e){return(0,o.Z)(e,"body.ext.sync.pixels")})).reduce((function(e,r){return e.concat(r.body.ext.sync.pixels)}),[]).map((function(e){return e.url})).forEach((function(e){return i.push({type:"image",url:e})}))}return i}catch(e){return[]}}};(0,u.dX)(l),window.pbjs.installedModules.push("sovrnBidAdapter")},4192:function(e,r,t){t.d(r,{HQ:function(){return u},Pv:function(){return c},UR:function(){return o}});var n=t(4358),i=t(265),o={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var r=(0,n.ei)(e,["h1","h2","h3"]);if(Object.keys(r).length)return r}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var r="";return e&&e.ext&&e.ext.DeviceID&&(r=e.ext.DeviceID),r},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var r=(0,n.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(r).length)return r}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var r;return null!=e&&null!==(r=e.ext)&&void 0!==r&&r.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return void 0===e.snowflake.id?e.snowflake:e.snowflake.id},source:"novatiq.com"},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},czechAdId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var r=e.identifiers[0];return{version:r.version,type:r.type,source:r.source}}}}};function a(e,r){var t=o[r];if(t&&e){var i={};i.source=(0,n.LQ)(t.getSource)?t.getSource(e):t.source;var a=(0,n.LQ)(t.getValue)?t.getValue(e):e;if((0,n.d8)(a)){var u={id:a,atype:t.atype};if((0,n.LQ)(t.getUidExt)){var c=t.getUidExt(e);c&&(u.ext=c)}if(i.uids=[u],(0,n.LQ)(t.getEidExt)){var s=t.getEidExt(e);s&&(i.ext=s)}return i}}return null}function u(e){var r=[],t=function(t){if(e.hasOwnProperty(t))if("pubProvidedId"===t)r=r.concat(e.pubProvidedId);else if(Array.isArray(e[t]))e[t].forEach((function(e,n,i){var o=a(e,t);o&&r.push(o)}));else{var n=a(e[t],t);n&&r.push(n)}};for(var n in e)t(n);return r}function c(e){var r=[];return e.filter((function(e){return(0,n.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(t){(0,i.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,i.Z)(o,t+".source")&&r.push({source:o[t].source,bidders:e.config.bidders})}))})),r}}},function(e){e.O(0,[6866],(function(){return r=272,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7037],{2754:function(e,a,r){var i=r(3324),n=r(1002),t=r(4358),o=r(265),s=r(6475),d=r(5339),c=r(4679),p=r(4614),u=r(3193),m=["minduration","maxduration","startdelay","placement","linearity","mimes","protocols","api"],l=["1x1","1x2"],f={code:"synacormedia",supportedMediaTypes:[c.Mk,c.pX],sizeMap:{},isVideoBid:function(e){return void 0!==e.mediaTypes&&e.mediaTypes.hasOwnProperty("video")},isBidRequestValid:function(e){var a=e&&e.params&&(e.params.hasOwnProperty("placementId")||e.params.hasOwnProperty("tagId"))&&e.params.hasOwnProperty("seatId"),r=e&&(0,t.pw)(e).filter((function(e){return-1===l.indexOf(e.join("x"))})).length>0;return!(!a||!r)},buildRequests:function(e,a){var r=this;if(e&&e.length&&a){var i=a.refererInfo,n={id:a.auctionId,site:{domain:i.domain||location.hostname,page:i.page,ref:i.ref},device:{ua:navigator.userAgent},imp:[]},d=a.timeout,c=u.vc.getConfig("bidderTimeout"),p=c?Math.min(c,d):d;p&&(n.tmax=p);var m=e[0].schain;m&&(n.source={ext:{schain:m}});var f=null;if(e.forEach((function(e,a){if(f&&f!==e.params.seatId)(0,t.yN)("Synacormedia: there is an inconsistent seatId: ".concat(e.params.seatId," but only sending bid requests for ").concat(f,", you should double check your configuration"));else{f=e.params.seatId;var i=e.params.tagId||e.params.placementId,d=parseInt(e.params.pos||(0,o.Z)(e.mediaTypes,"video.pos"),10);isNaN(d)&&((0,t.yN)("Synacormedia: there is an invalid POS: ".concat(e.params.pos)),d=0);var c=r.isVideoBid(e)?"video":"banner",p=(0,t.pw)(e).filter((function(e){return-1===l.indexOf(e.join("x"))})),u=[];"banner"===c?u=r.buildBannerImpressions(p,e,i,d,c):"video"===c&&(u=r.buildVideoImpressions(p,e,i,d,c)),u.length>0&&u.forEach((function(a){var r=(0,o.Z)(e,"ortb2Imp.ext");r&&(0,s.N)(a,"ext",r),n.imp.push(a)}))}})),a.uspConsent&&(0,s.N)(n,"regs.ext.us_privacy",a.uspConsent),e[0]&&e[0].userIdAsEids&&Array.isArray(e[0].userIdAsEids)){var h=e[0].userIdAsEids;h.length&&(0,s.N)(n,"user.ext.eids",h)}return n.imp.length&&f?{method:"POST",url:"".concat("https://").concat(f,".").concat("technoratimedia.com","/openrtb/bids/").concat(f,"?src=prebid_prebid_7.39.0"),data:n,options:{contentType:"application/json",withCredentials:!0}}:void 0}},buildBannerImpressions:function(e,a,r,i,n){var o=[],s=[];if(e.forEach((function(e,a){e&&2===e.length&&o.push({w:e[0],h:e[1]})})),o.length>0){var d={id:"".concat(n.substring(0,1)).concat(a.bidId),banner:{format:o,pos:i},tagid:r},c=h(a,"banner","*");isNaN(c)&&(0,t.yN)("Synacormedia: there is an invalid bid floor: ".concat(a.params.bidfloor)),null===c||isNaN(c)||(d.bidfloor=c),s.push(d)}return s},buildVideoImpressions:function(e,a,r,i,n){var o=this,s=[];return e.forEach((function(e,d){if(e&&2==e.length){var c=e[0],p=e[1],u={id:"".concat(n.substring(0,1)).concat(a.bidId,"-").concat(c,"x").concat(p),tagid:r},m=h(a,"video",e);isNaN(m)&&(0,t.yN)("Synacormedia: there is an invalid bid floor: ".concat(a.params.bidfloor)),null===m||isNaN(m)||(u.bidfloor=m);var l={w:c,h:p,pos:i};a.mediaTypes.video&&(a.params.video||(a.params.video={}),o.setValidVideoParams(a.mediaTypes.video,a.params.video)),a.params.video&&o.setValidVideoParams(a.params.video,l),u[n]=l,s.push(u)}})),s},setValidVideoParams:function(e,a){Object.keys(e).filter((function(a){return(0,p.q9)(m,a)&&null!==e[a]&&(!isNaN(parseInt(e[a],10))||!(e[a].length<1))})).forEach((function(r){return a[r]=Array.isArray(e[r])?e[r]:parseInt(e[r],10)}))},interpretResponse:function(e,a){var r=function(e,a){return a?a.replace(/\${AUCTION_PRICE}/g,e.price):a};if(e.body&&"object"==(0,n.Z)(e.body)){var o=e.body,s=o.id,d=o.seatbid,p=[];return s&&d&&d.forEach((function(e){e.bid.forEach((function(n){var t=r(n,n.adm),o=r(n,n.nurl),s=n.impid.match(/^([vb])([\w\d]+)/),d=(0,i.Z)(s,3),m=d[1],l=d[2],f=n.h,h=n.w,v="v"===m,b="b"===m;(!f||!h)&&a.data&&a.data.imp&&a.data.imp.length>0&&a.data.imp.forEach((function(e){if(n.impid===e.id)if(v)f=e.video.h,h=e.video.w;else if(b){var a=1,r=1;e.banner.format&&e.banner.format.length>0&&(a=e.banner.format[0].h,r=e.banner.format[0].w),f=a,h=r}else f=1,h=1}));var y=420;if(n.ext&&n.ext["imds.tv"]&&n.ext["imds.tv"].ttl){var g=parseInt(n.ext["imds.tv"].ttl,10);y=!isNaN(g)&&g>0?g:420}var I=y;if(n.exp){var N=parseInt(n.exp,10);I=!isNaN(N)&&N>0?Math.min(N,y):y}var x={requestId:l,cpm:parseFloat(n.price),width:parseInt(h,10),height:parseInt(f,10),creativeId:"".concat(e.seat,"_").concat(n.crid),currency:"USD",netRevenue:!0,mediaType:v?c.pX:c.Mk,ad:t,ttl:I};if(null==n.adomain&&null==n.adomain||(x.meta={advertiserDomains:n.adomain}),v){var w=o.match(/ID=([^&]*)&?/),O=(0,i.Z)(w,2)[1];u.vc.getConfig("cache.url")||(x.videoCacheKey=encodeURIComponent(O)),x.vastUrl=o}p.push(x)}))})),p}(0,t.yN)("Synacormedia: server returned empty/non-json response: "+JSON.stringify(e.body))},getUserSyncs:function(e,a){var r=[];return e.iframeEnabled?r.push({type:"iframe",url:"".concat("https://ad-cdn.technoratimedia.com","/html/usersync.html?src=prebid_prebid_7.39.0")}):(0,t.yN)("Synacormedia: Please enable iframe based user sync."),r}};function h(e,a,r){if(!(0,t.LQ)(e.getFloor))return e.params.bidfloor?parseFloat(e.params.bidfloor):null;var i=e.getFloor({currency:"USD",mediaType:a,size:r});return(0,t.PO)(i)&&!isNaN(i.floor)&&"USD"===i.currency?i.floor:null}(0,d.dX)(f),window.pbjs.installedModules.push("synacormediaBidAdapter")}},function(e){e.O(0,[6866],(function(){return a=2754,e(e.s=a);var a}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8029],{6401:function(e,t,r){var n=r(4942),i=r(4358),a=r(265),o=r(5339),d=r(5164);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c="teads",u=12,f=11,g=0,v=22,I="_tfpvi",l=(0,d.df)({gvlid:132,bidderCode:c}),m={code:c,gvlid:132,supportedMediaTypes:["video","banner"],isBidRequestValid:function(e){var t=!1;if(void 0!==e.params){var r=S((0,i.NA)(e.params,"placementId")),n=S((0,i.NA)(e.params,"pageId"));t=r&&n}return t||(0,i.H)("Teads placementId and pageId parameters are required. Bid aborted."),t},buildRequests:function(e,t){var r,n=e.map(h),i=p(p({referrer:y(t),pageReferrer:document.referrer,networkBandwidth:(r=window.navigator,r&&r.connection&&r.connection.downlink>=0?r.connection.downlink.toString():""),timeToFirstByte:b(window),data:n,deviceWidth:screen.width,hb_version:"7.39.0"},function(e){var t={unifiedId2:"uid2.id",liveRampId:"idl_env",lotamePanoramaId:"lotamePanoramaId",id5Id:"id5id.uid",criteoId:"criteoId",yahooConnectId:"connectId",quantcastId:"quantcastId",epsilonPublisherLinkId:"publinkId",publisherFirstPartyViewerId:"pubcid",merkleId:"merkleId.id",kinessoId:"kpuid"},r={};for(var n in t){var i=t[n],o=(0,a.Z)(e,"0.userId.".concat(i));o&&(r[n]=o)}return r}(e)),function(e){var t=(0,a.Z)(e,"0.userId.teadsId");if(t)return{firstPartyCookieTeadsId:t};if(l.cookiesAreEnabled(null)){var r=l.getCookie(I,null);if(r)return{firstPartyCookieTeadsId:r}}return{}}(e)),o=e[0];o.schain&&(i.schain=o.schain);var d=t.gdprConsent;if(t&&d){var s="boolean"==typeof d.gdprApplies,c="string"==typeof d.consentString,m=s?function(e,t){var r=u;e?t&&!t.isServiceSpecific&&(r=f):r=g;return r}(d.gdprApplies,d.vendorData):v;i.gdpr_iab={consent:c?d.consentString:"",status:m,apiVersion:d.apiVersion}}t&&t.uspConsent&&(i.us_privacy=t.uspConsent);var S=(0,a.Z)(o,"ortb2.device.sua");return S&&(i.userAgentClientHints=S),{method:"POST",url:"https://a.teads.tv/hb/bid-request",data:JSON.stringify(i)}},interpretResponse:function(e,t){var r=[];return(e=e.body).responses&&e.responses.forEach((function(e){var t={cpm:e.cpm,width:e.width,height:e.height,currency:e.currency,netRevenue:!0,ttl:e.ttl,meta:{advertiserDomains:e&&e.adomain?e.adomain:[]},ad:e.ad,requestId:e.bidId,creativeId:e.creativeId,placementId:e.placementId};e.dealId&&(t.dealId=e.dealId),r.push(t)})),r}};function y(e){var t="";return e&&e.refererInfo&&e.refererInfo.page&&(t=e.refererInfo.page),t}function b(e){var t=e.performance||e.webkitPerformance||e.msPerformance||e.mozPerformance,r=t&&"function"==typeof t.getEntriesByType&&"[object Function]"===Object.prototype.toString.call(t.getEntriesByType)&&t.getEntriesByType("navigation")[0]&&t.getEntriesByType("navigation")[0].responseStart&&t.getEntriesByType("navigation")[0].requestStart&&t.getEntriesByType("navigation")[0].responseStart>0&&t.getEntriesByType("navigation")[0].requestStart>0&&Math.round(t.getEntriesByType("navigation")[0].responseStart-t.getEntriesByType("navigation")[0].requestStart);if(r)return r.toString();var n=t&&t.timing.responseStart&&t.timing.requestStart&&t.timing.responseStart>0&&t.timing.requestStart>0&&t.timing.responseStart-t.timing.requestStart;return n?n.toString():""}function h(e){var t={},r=(0,i.NA)(e.params,"placementId"),n=(0,i.NA)(e.params,"pageId"),o=(0,a.Z)(e,"ortb2Imp.ext.gpid");return t.sizes=function(e){return(0,i.sF)(function(e){var t=(0,a.Z)(e,"mediaTypes.video.playerSize"),r=(0,a.Z)(e,"mediaTypes.video.sizes"),n=(0,a.Z)(e,"mediaTypes.banner.sizes");return(0,i.kJ)(n)||(0,i.kJ)(t)||(0,i.kJ)(r)?[n,r,t].reduce((function(e,t){return(0,i.kJ)(t)&&((0,i.kJ)(t[0])?t.forEach((function(t){e.push(t)})):e.push(t)),e}),[]):e.sizes}(e))}(e),t.bidId=(0,i.An)("bidId",e),t.bidderRequestId=(0,i.An)("bidderRequestId",e),t.placementId=parseInt(r,10),t.pageId=parseInt(n,10),t.adUnitCode=(0,i.An)("adUnitCode",e),t.auctionId=(0,i.An)("auctionId",e),t.transactionId=(0,i.An)("transactionId",e),o&&(t.gpid=o),t}function S(e){return parseInt(e)>0}(0,o.dX)(m),window.pbjs.installedModules.push("teadsBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=6401,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7152],{8516:function(n,t,e){var i=e(4358),r=e(5339),o=e(5164),a="trion",d=(0,o.df)({bidderCode:a}),s={code:a,isBidRequestValid:function(n){return!!(n&&n.params&&n.params.pubId&&n.params.sectionId)},buildRequests:function(n,t){for(var e=[],i=0;i<n.length;i++){var r=n[i],o=u(r,t);e.push({method:"GET",url:"https://in-appadvertising.com/api/bidRequest",bidRequest:r,data:o})}return e},interpretResponse:function(n,t){var e={},i=[],r=t.bidRequest,o=n?n.body:{};if(o&&o.bidId&&r){var a=o.result;if(a&&a.cpm&&a.placeBid&&a.ad){var d=parseInt(a.cpm,10)/100;e.requestId=r.bidId,e.cpm=d,e.ad=a.ad,e.width=a.width,e.height=a.height,e.ttl=a.ttl,e.creativeId=a.creativeId,e.currency=a.currency,e.netRevenue=a.netRevenue,a.adomain&&(e.meta={advertiserDomains:a.adomain}),i.push(e)}}return i},getUserSyncs:function(n,t,e,i){if(n.iframeEnabled)return function(){try{window.addEventListener&&window.addEventListener("message",m)}catch(n){}}(),[{type:"iframe",url:c(e,i)}]}};function c(n,t){var e=(l("_trion_lps")||":").split(":")||[],i=e[0]||-1,r=e[1]||-1,o=p(),a="";return n&&(n.consentString&&(a+="&gc="+encodeURIComponent(n.consentString)),a+="&g="+(n.gdprApplies?1:0)),t&&(a="&up="+encodeURIComponent(t)),"https://in-appadvertising.com/api/userSync.html"+"?p=".concat(i,"&s=").concat(r).concat(a,"&u=").concat(o)}function p(){var n="";try{if(window.top==window)n=window.location.href;else try{n=window.top.location.href}catch(t){n=document.referrer}}catch(n){}return n}function u(n,t){var e=(0,i.An)("pubId",n.params),r=(0,i.An)("sectionId",n.params),o=p(),a=function(n){return n.mediaTypes&&n.mediaTypes.banner&&n.mediaTypes.banner.sizes?n.mediaTypes.banner.sizes:n.sizes}(n),d=(0,i.sF)(a).join(","),s=navigator&&navigator.webdriver?"1":"0",c=document.hidden?"1":"0",u=encodeURIComponent(document.visibilityState),m=window.TR_INT_T&&-1!=window.TR_INT_T?window.TR_INT_T:null;m||(m=l("_trion_int_t")),m&&f("_trion_int_t",m),f("_trion_lps",e+":"+r);var h="";if(h=(0,i.t0)(h,"bidId",n.bidId),h=(0,i.t0)(h,"pubId",e),h=(0,i.t0)(h,"sectionId",r),h=(0,i.t0)(h,"vers","7.39.0"),o&&(h+="url="+o+"&"),d&&(h+="sizes="+d+"&"),m&&(h=(0,i.t0)(h,"int_t",encodeURIComponent(m))),h=(0,i.t0)(h,"tr_wd",s),h=(0,i.t0)(h,"tr_hd",c),h=(0,i.t0)(h,"tr_vs",u),t&&t.gdprConsent){var v=t.gdprConsent;v&&(v.consentString&&(h=(0,i.t0)(h,"gdprc",encodeURIComponent(v.consentString))),h=(0,i.t0)(h,"gdpr",v.gdprApplies?1:0))}return t&&t.uspConsent&&(h=(0,i.t0)(h,"usp",encodeURIComponent(t.uspConsent))),h.lastIndexOf("&")===h.length-1&&(h=h.substring(0,h.length-1)),h}function l(n){var t=null;try{d.hasLocalStorage()&&(t=d.getDataFromLocalStorage(n))}catch(n){}return t}function f(n,t){try{d.hasLocalStorage()&&d.setDataInLocalStorage(n,t)}catch(n){}}function m(n){var t=n.data||"";if(t.indexOf&&t.split&&0===t.indexOf("_trion_userId")){var e=t.split("_trion_userId=")[1];e&&f("_trion_int_t",e)}}(0,r.dX)(s),window.pbjs.installedModules.push("trionBidAdapter")}},function(n){n.O(0,[6866],(function(){return t=8516,n(n.s=t);var t}));n.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2599],{789:function(e,t,r){var n=r(1002),i=r(4942),o=r(9062),a=r(4358),u=r(4679),c=r(5339),d=r(3193),s=r(5164);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f="triplelift",m=!0,v=null,b=(0,s.df)({gvlid:28,bidderCode:f}),g={gvlid:28,code:f,supportedMediaTypes:[u.Mk,u.pX],isBidRequestValid:function(e){return void 0!==e.params.inventoryCode},buildRequests:function(e,t){var r="https://tlx.3lift.com/header/auction?",n=function(e,t){var r,n,i={},u=e[0].schain,c=function(e){var t={},r={},n={},i=e.ortb2||{},o=function(){var e=b.getDataFromLocalStorage("opecloud_ctx");if(!e)return null;try{return JSON.parse(e)}catch(e){return(0,a.H)("Triplelift: error parsing JSON: ",e),null}}(),u=Object.assign({},i.site),c=Object.assign({},i.user);if(o){c.data=c.data||[];try{c.data.push({name:"www.1plusx.com",ext:o})}catch(e){(0,a.H)("Triplelift: error adding 1plusX segments: ",e)}}j(r,u),j(n,c),(0,a.xb)(r)||(t.context=r);(0,a.xb)(n)||(t.user=n);return t}(t);i.imp=e.map((function(e,t){var r={id:t,tagid:e.params.inventoryCode,floor:O(e)};return y(e)&&(r.video=function(e){var t=l(l({},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,a.yN)("Video size not defined",e)}"instream"===t.context&&(t.placement=1);"outstream"===t.context&&(t.placement?-1===[3,4,5].indexOf(t.placement)&&((0,a.ji)("video.placement value of ".concat(t.placement," is invalid for outstream context. Setting placement to 3")),t.placement=3):t.placement=3);t.playbackmethod&&Number.isInteger(t.playbackmethod)&&(t.playbackmethod=Array.from(String(t.playbackmethod),Number));return delete t.playerSize,t}(e)),e.mediaTypes.banner&&!h(e)&&(r.banner={format:T(e.sizes)}),(0,a.xb)(e.ortb2Imp)||(r.fpd=function(e){var t={},r={};j(r,e.ext),(0,a.xb)(r)||(t.context=r);return t}(e.ortb2Imp)),r}));var d=[].concat((0,o.Z)((s=[e[0]],w(s,"tdid","adserver.org","TDID"))),(0,o.Z)(function(e){return w(e,"idl_env","liveramp.com","idl")}([e[0]])),(0,o.Z)(function(e){return w(e,"criteoId","criteo.com","criteoId")}([e[0]])),(0,o.Z)(function(e){return w(e,"pubcid","pubcid.org","pubcid")}([e[0]])),(0,o.Z)(function(e){var t=["adserver.org","liveramp.com","criteo.com","pubcid.org"],r=[];e.userIdAsEids&&e.userIdAsEids.forEach((function(e){try{if(-1===t.indexOf(e.source)){var n=e.uids.map((function(t){return{id:t.id,ext:{rtiPartner:e.source}}}));r.push({source:e.source,uids:n})}}catch(t){(0,a.yN)("Triplelift: Error attempting to add ".concat(e," to bid request"),t)}}));return r}(e[0])));var s;d.length>0&&(i.user={ext:{eids:d}});var p=function(e,t){var r={};(0,a.xb)(e)||(r.schain=l({},e));(0,a.xb)(t)||(r.fpd=l({},t));return r}(u,c);(0,a.xb)(p)||(i.ext=p);null!=t&&null!==(r=t.ortb2)&&void 0!==r&&null!==(n=r.regs)&&void 0!==n&&n.gpp&&(i.regs=Object.assign({},t.ortb2.regs));return i}(e,t);if(r=(0,a.t0)(r,"lib","prebid"),r=(0,a.t0)(r,"v","7.39.0"),t&&t.refererInfo){var i=t.refererInfo.page;r=(0,a.t0)(r,"referrer",i)}return t&&t.timeout&&(r=(0,a.t0)(r,"tmax",t.timeout)),t&&t.gdprConsent&&(void 0!==t.gdprConsent.gdprApplies&&(m=t.gdprConsent.gdprApplies,r=(0,a.t0)(r,"gdpr",m.toString())),void 0!==t.gdprConsent.consentString&&(v=t.gdprConsent.consentString,r=(0,a.t0)(r,"cmp_cs",v))),t&&t.uspConsent&&(r=(0,a.t0)(r,"us_privacy",t.uspConsent)),!0===d.vc.getConfig("coppa")&&(r=(0,a.t0)(r,"coppa",!0)),r.lastIndexOf("&")===r.length-1&&(r=r.substring(0,r.length-1)),(0,a.ji)("tlCall request built: "+r),{method:"POST",url:r,data:n,bidderRequest:t}},interpretResponse:function(e,t){var r=t.bidderRequest;return(e.body.bids||[]).map((function(e){return function(e,t){var r={},n=t.width||1,i=t.height||1,o=t.deal_id||"",a=t.crid||"",u=e.bids[t.imp_id];0!=t.cpm&&t.ad&&(r={requestId:u.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:{}},y(u)&&"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&&(y(u)&&"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)}))},getUserSyncs:function(e,t,r,n){var i=function(e){if(!e)return;if(e.iframeEnabled)return"iframe";if(e.pixelEnabled)return"image"}(e);if(i){var o="https://eb2.3lift.com/sync?";return"image"===i&&(o=(0,a.t0)(o,"px",1),o=(0,a.t0)(o,"src","prebid")),null!==v&&(o=(0,a.t0)(o,"gdpr",m),o=(0,a.t0)(o,"cmp_cs",v)),n&&(o=(0,a.t0)(o,"us_privacy",n)),[{type:i,url:o}]}}};function y(e){return x(e)&&(h(e)||function(e){return x(e)&&"outstream"===e.mediaTypes.video.context.toLowerCase()}(e))}function h(e){return x(e)&&"instream"===e.mediaTypes.video.context.toLowerCase()}function x(e){return e.mediaTypes.video&&e.mediaTypes.video.context}function O(e){var t=null;if("function"==typeof e.getFloor)try{var r=e.getFloor({currency:"USD",mediaType:y(e)?"video":"banner",size:"*"});"object"!==(0,n.Z)(r)||"USD"!==r.currency||isNaN(parseFloat(r.floor))||(t=parseFloat(r.floor))}catch(e){(0,a.H)("Triplelift: getFloor threw an error: ",e)}return null!==t?t:e.params.floor}function j(e,t){(0,a.xb)(t)||Object.keys(t).forEach((function(r){null!=t[r]&&(e[r]=t[r])}))}function w(e,t,r,n){return e.map(function(e){return function(t){return t&&t.userId&&t.userId[e]}}(t)).filter(I(t)).map(function(e,t){return function(r){return{source:e,uids:[{id:r.id?r.id:r,ext:{rtiPartner:t}}]}}}(r,n))}var I=function(e){return function(t,r,n){var i=!!t&&((0,a.d8)(t)?!!t:(0,a.PO)(t)&&!(0,a.kJ)(t)&&!(0,a.xb)(t)&&t.id&&(0,a.d8)(t.id)&&!!t.id);return i||void 0===n[0]||(0,a.yN)("Triplelift: invalid ".concat(e," userId format")),i}};function T(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,c.dX)(g),window.pbjs.installedModules.push("tripleliftBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=789,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[6433],{8816:function(e,t,n){var r=n(9062),o=n(5671),i=n(3144),s=n(1002),a=n(4358),u=n(2797),l=n(5164),d="uid2",c="PrebidJS-".concat("7.39.0","-UID2Module-").concat("1.0"),f="__uid2_advertising_token",p="https://prod.uidapi.com";var v,k=(0,l.df)({gvlid:887,moduleName:d}),h=(v="UID2: ",function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];a.PN.apply(void 0,[v+" "].concat(t))});function y(e){var t=k.cookiesAreEnabled()?k.getCookie(e):null;return t?(h("Read UID2 from cookie '".concat(e,"'")),t):(h("Attempted to read UID2 from cookie '".concat(e,"' but it was empty")),null)}function g(e){k.cookiesAreEnabled()?k.setCookie(f,JSON.stringify(e),Date.now()+864e5):k.localStorageIsEnabled()&&k.setLocalStorage(f,e)}var m=function(){function e(t){(0,o.Z)(this,e),this._baseUrl=t.baseUrl?t.baseUrl:p,this._clientVersion=c}return(0,i.Z)(e,[{key:"createArrayBuffer",value:function(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}},{key:"hasStatusResponse",value:function(e){return"object"===(0,s.Z)(e)&&e&&e.status}},{key:"isValidRefreshResponse",value:function(e){return this.hasStatusResponse(e)&&("optout"===e.status||"expired_token"===e.status||"success"===e.status&&e.body&&(t=e.body,!!("object"===(0,s.Z)(t)&&null!==t&&t.advertising_token&&t.identity_expires&&t.refresh_from&&t.refresh_token&&t.refresh_expires)));var t}},{key:"ResponseToRefreshResult",value:function(e){return this.isValidRefreshResponse(e)?"success"===e.status?{status:e.status,identity:e.body}:e:"Response didn't contain a valid status"}},{key:"callRefreshApi",value:function(e){var t,n,o=this,i=this._baseUrl+"/v2/token/refresh",s=new XMLHttpRequest;s.overrideMimeType("text/plain"),s.open("POST",i,!0),s.setRequestHeader("X-UID2-Client-Version",this._clientVersion);var a=new Promise((function(e,r){t=e,n=r}));return s.onreadystatechange=function(){if(s.readyState===s.DONE)try{if(e.refresh_response_key&&200===s.status){h("Decrypting refresh API response");var i=o.createArrayBuffer(atob(s.responseText));window.crypto.subtle.importKey("raw",o.createArrayBuffer(atob(e.refresh_response_key)),{name:"AES-GCM"},!1,["decrypt"]).then((function(e){h("Imported decryption key"),window.crypto.subtle.decrypt({name:"AES-GCM",iv:i.slice(0,12),tagLength:128},e,i.slice(12)).then((function(e){var i=String.fromCharCode.apply(String,(0,r.Z)(new Uint8Array(e)));h("Decrypted to:",i);var s=JSON.parse(i),a=o.ResponseToRefreshResult(s);"string"==typeof a?n(a):t(a)}),(function(e){return console.warn("Call to UID2 API failed",e)}))}),(function(e){return console.warn("Call to UID2 API failed",e)}))}else{h("Error status OR no response decryption key available, assuming unencrypted JSON");var a=JSON.parse(s.responseText),u=o.ResponseToRefreshResult(a);"string"==typeof u?n(u):t(u)}}catch(e){n(e)}},h("Sending refresh request",s),s.send(e.refresh_token),a}}]),e}(),b={name:d,gvlid:887,decode:function(e){var t=function(e){if("string"==typeof e){return h("Found an old-style ID from an earlier version of the module. Refresh is unavailable for this token."),{uid2:{id:e}}}if(Date.now()<e.latestToken.identity_expires)return{uid2:{id:e.latestToken.advertising_token}};return null}(e);return h("UID2 decode returned",t),t},getId:function(e,t){var n=function(e,t){var n,r,o,i,s,a=null,u=null!==(n=null==e||null===(r=e.params)||void 0===r?void 0:r.uid2ApiBase)&&void 0!==n?n:p;e&&e.params&&(e.params.uid2Token?(a=e.params.uid2Token,h("Read token from params",a)):e.params.uid2ServerCookie&&(l=e.params.uid2ServerCookie,a=JSON.parse(y(l)),h("Read token from server-supplied cookie",a)));var l;var d,c=(v=y(f),(v&&v.includes("{")?JSON.parse(v):v)||(k.localStorageIsEnabled()?k.getDataFromLocalStorage(f):null));var v;if(h("Loaded module-stored tokens:",c),c&&"string"==typeof c){if(!a)return h("Returning legacy cookie value."),{id:c};h("Discarding superseded legacy cookie."),c=null}if(a&&c&&(null===(d=c.originalToken)||void 0===d?void 0:d.advertising_token)!==a.advertising_token){var m;h("Server supplied new token - ignoring stored value.",null===(m=c.originalToken)||void 0===m?void 0:m.advertising_token,a.advertising_token),c=null}var b=!(null!==(o=c)&&void 0!==o&&o.latestToken)||a&&a.identity_expires>c.latestToken.identity_expires,R=b?a:c.latestToken;if(h("UID2 module selected latest token",b,R),!R||Date.now()>R.refresh_expires)return h("Newest available token is expired and not refreshable."),{id:null};if(Date.now()>R.identity_expires){var w=_(u,R);return h("Token is expired but can be refreshed, attempting refresh."),{callback:function(e){w.then((function(t){h("Refresh reponded, passing the updated token on.",t),e(t)}))}}}Date.now()>R.refresh_from&&(h("Refreshing token in background with low priority."),_(u,R));var S={originalToken:null!==(i=a)&&void 0!==i?i:null===(s=c)||void 0===s?void 0:s.originalToken,latestToken:R};return g(S),{id:S}}(e);return h("UID2 getId returned",n),n}};function _(e,t){return h("UID2 base url provided: ",e),new m({baseUrl:e}).callRefreshApi(t).then((function(e){h("Refresh endpoint responded with:",e);var n={originalToken:t,latestToken:e.identity};return g(n),n}))}(0,u.Bx)("userId",b),window.pbjs.installedModules.push("uid2IdSystem")}},function(e){e.O(0,[6866],(function(){return t=8816,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8694],{8903:function(e,n,t){var r=t(4358),a=t(265),i=t(5339),o=t(4679);function s(e){if(!e)return null;var n=e.gdprApplies?"1":"0",t=e.consentString?e.consentString:"";return"gdpr=".concat(n,"&gdprstr=").concat(t)}function d(e){var n=document.getElementById(e),t=-1,r=-1;if(n){t=n.offsetLeft,r=n.offsetTop;var a=n.offsetParent;return a&&(t+=a.offsetLeft,r+=a.offsetTop),[t,r]}return null}var u={code:"undertone",supportedMediaTypes:[o.Mk,o.pX],isBidRequestValid:function(e){if(e&&e.params&&e.params.publisherId)return e.params.publisherId=parseInt(e.params.publisherId),!0},buildRequests:function(e,n){var t=Math.max(document.documentElement.clientWidth,window.innerWidth||0),i=Math.max(document.documentElement.clientHeight,window.innerHeight||0),u=0==t||0==i?null:[t,i],c={adapterVersion:"7.39.0",uids:e[0].userId,pageSize:u};e[0].schain&&(c.schain=e[0].schain);var p={"x-ut-hb-params":[],commons:c},l=n.refererInfo.topmostLocation,m=n.refererInfo.canonicalUrl;l&&(c.referrer=l),m&&(c.canonicalUrl=m);var h=function(e){var n=null;try{var t=/[-\w]+\.([-\w]+|[-\w]{3,}|[-\w]{1,3}\.[-\w]{2})$/i.exec(e);if(null!=t&&t.length>0){n=t[0];for(var r=1;r<t.length;r++)t[r].length>n.length&&(n=t[r])}}catch(e){n=null}return n}((0,r.en)(l).hostname),f=m||l,y=e[0].params.publisherId,v="".concat("https://hb.undertone.com/hb","?pid=").concat(y,"&domain=").concat(h),b=s(n.gdprConsent);return b&&(v+="&".concat(b)),n.uspConsent&&(v+="&ccpa=".concat(n.uspConsent)),e.map((function(e){var n={bidRequestId:e.bidId,coordinates:d(e.adUnitCode),hbadaptor:"prebid",url:f,domain:h,placementId:null!=e.params.placementId?e.params.placementId:null,publisherId:e.params.publisherId,sizes:e.sizes,params:e.params},t=(0,a.Z)(e,"mediaTypes.video"),r=t?o.pX:o.Mk;n.mediaType=r,n.bidfloor=function(e,n){if("function"!=typeof e.getFloor)return 0;var t=e.getFloor({currency:"USD",mediaType:n,size:"*"});return t&&"USD"===t.currency&&t.floor||0}(e,r),t&&(n.video={playerSize:(0,a.Z)(e,"mediaTypes.video.playerSize")||null,streamType:(0,a.Z)(e,"mediaTypes.video.context")||null,playbackMethod:(0,a.Z)(e,"params.video.playbackMethod")||null,maxDuration:(0,a.Z)(e,"params.video.maxDuration")||null,skippable:(0,a.Z)(e,"params.video.skippable")||null}),p["x-ut-hb-params"].push(n)})),{method:"POST",url:v,withCredentials:!0,data:JSON.stringify(p)}},interpretResponse:function(e,n){var t=[],r=e.body;return r&&Array.isArray(r)&&r.length>0&&r.forEach((function(e){if(e.ad&&e.cpm>0){var n={requestId:e.bidRequestId,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.adId,currency:e.currency,netRevenue:e.netRevenue,ttl:e.ttl||360,meta:{advertiserDomains:e.adomain?e.adomain:[]}};e.mediaType&&"video"===e.mediaType?(n.vastXml=e.ad,n.mediaType=e.mediaType):n.ad=e.ad,t.push(n)}})),t},getUserSyncs:function(e,n,t,r){var a=[],i=s(t),o="",d="";return i&&(o+="?".concat(i),d+="&".concat(i)),r&&(o+=""!=o?"&":"?",o+="ccpa=".concat(r),d+="&ccpa=".concat(r)),e.iframeEnabled?a.push({type:"iframe",url:"https://cdn.undertone.com/js/usersync.html"+o}):e.pixelEnabled&&a.push({type:"image",url:"https://usr.undertone.com/userPixel/syncOne?id=1&of=2"+d},{type:"image",url:"https://usr.undertone.com/userPixel/syncOne?id=2&of=2"+d}),a}};(0,i.dX)(u),window.pbjs.installedModules.push("undertoneBidAdapter")}},function(e){e.O(0,[6866],(function(){return n=8903,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[4579],{8709:function(r,e,t){var n=t(4358),i=t(8928),d=t(2797),u="unifiedId",o={name:u,gvlid:21,decode:function(r){return r&&"string"==typeof r.TDID?{tdid:r.TDID}:void 0},getId:function(r){var e=r&&r.params||{};if(e&&("string"==typeof e.partner||"string"==typeof e.url)){var t=e.url||"https://match.adsrvr.org/track/rid?ttd_pid=".concat(e.partner,"&fmt=json");return{callback:function(r){var e={success:function(e){var t;if(e)try{t=JSON.parse(e)}catch(r){(0,n.H)(r)}r(t)},error:function(e){(0,n.H)("".concat(u,": ID fetch encountered an error"),e),r()}};(0,i.h)(t,e,void 0,{method:"GET",withCredentials:!0})}}}(0,n.H)("User ID - unifiedId submodule requires either partner or url to be defined")}};(0,d.Bx)("userId",o),window.pbjs.installedModules.push("unifiedIdSystem")}},function(r){r.O(0,[6866],(function(){return e=8709,r(r.s=e);var e}));r.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9039],{3806:function(e,r,n){var t=n(4942),i=n(4925),o=n(265),u=n(4358),a=n(5706),d=n(5339),s=n(4679),p=["bids","bidderRequestId","auctionId","bidderCode"];function c(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function f(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?c(Object(n),!0).forEach((function(r){(0,t.Z)(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var l=function(e,r,n){n.bids,n.bidderRequestId,n.auctionId,n.bidderCode;var t=(0,i.Z)(n,p),u=n.bids.length-r.length,a={};r.forEach((function(e){var r=e.params.siteId;!function(e){Object.keys(e.mediaTypes).forEach((function(r){var n;n="function"==typeof e.getFloor?e.getFloor({currency:"USD",mediaType:r,size:"*"}).floor||0:e.params.floor||0,e.mediaTypes[r].floor=n}))}(e),function(e){var r=(0,o.Z)(e,"mediaTypes.banner");if(r){var n={},t=[];r.sizes.forEach((function(e){n[e.toString()]||(n[e.toString()]=!0,t.push(e))})),r.sizes=t}}(e),a[r]=a[r]||[],a[r].push(e)}));var d=[];return Object.keys(a).forEach((function(r){var n={bidderRequest:Object.assign({},f({bids:a[r],invalidBidsCount:u},t))};d.push(Object.assign({},f({data:n},e)))})),d},y=function(e){var r=[];return e.forEach((function(e){var n,t=(0,o.Z)(e,"meta.mediaType");if(t&&"banner"===t.toLowerCase())e.mediaType=s.Mk,n=b(e);else if(t&&"video"===t.toLowerCase()){var i=(0,o.Z)(e,"meta.videoContext");e.mediaType=s.pX,"instream"===i?n=v(e):"outstream"===i&&(n=w(e))}n&&r.push(n)})),r},b=function(e){if(e.ad)return e;(0,u.H)(new Error("UnrulyBidAdapter: Missing ad config."))},v=function(e){if(e.vastUrl||e.vastXml)return e;(0,u.H)(new Error("UnrulyBidAdapter: Missing vastUrl or vastXml config."))},w=function(e){var r=!!(0,o.Z)(e,"ext.renderer.config"),n=!!(0,o.Z)(e,"ext.renderer.config.siteId");if(r){if(n){var t=(0,o.Z)(e,"ext.renderer");!function(e,r){if(!e.config)throw new Error("UnrulyBidAdapter: Missing renderer config.");if(!e.config.siteId)throw new Error("UnrulyBidAdapter: Missing renderer siteId.");parent.window.unruly=parent.window.unruly||{},parent.window.unruly.native=parent.window.unruly.native||{},parent.window.unruly.native.siteId=parent.window.unruly.native.siteId||e.config.siteId,parent.window.unruly.native.adSlotId=r,parent.window.unruly.native.supplyMode="prebid"}(t,e.requestId),parent.window.unruly.native.prebid=parent.window.unruly.native.prebid||{},parent.window.unruly.native.prebid.uq=parent.window.unruly.native.prebid.uq||[];var i=a.Th.install(Object.assign({},t)),d=Object.assign({},e,{renderer:i,adUnitCode:(0,o.Z)(e,"ext.adUnitCode")});return i.setRender((function(){var e;e=d,parent.window.unruly.native.prebid.uq.push(["render",e])})),e.renderer=e.renderer||i,e}(0,u.H)(new Error("UnrulyBidAdapter: Missing renderer siteId."))}else(0,u.H)(new Error("UnrulyBidAdapter: Missing renderer config."))},g=function(e){if(!e.context)return!1;return-1!==["outstream","instream"].indexOf(e.context)},O=function(e){return e.sizes},m={code:"unruly",supportedMediaTypes:[s.pX,s.Mk],gvlid:36,isBidRequestValid:function(e){var r=(0,o.Z)(e,"params.siteId")&&function(e){var r=(0,o.Z)(e,"mediaTypes.video"),n=(0,o.Z)(e,"mediaTypes.banner"),t=!(!r&&!n);return t&&r&&(t=g(r)),t&&n&&(t=O(n)),t}(e);return!!r},buildRequests:function(e,r){var n="https://targeting.unrulymedia.com/unruly_prebid";e[0]&&(n=(0,o.Z)(e[0],"params.endpoint")||n);return l({url:n,method:"POST",options:{contentType:"application/json"}},e,r)},interpretResponse:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.body,n=[],t=!r||!r.bids;return t?n:y(r.bids)}};(0,d.dX)(m),window.pbjs.installedModules.push("unrulyBidAdapter")},4925:function(e,r,n){function t(e,r){if(null==e)return{};var n,t,i=function(e,r){if(null==e)return{};var n,t,i={},o=Object.keys(e);for(t=0;t<o.length;t++)n=o[t],r.indexOf(n)>=0||(i[n]=e[n]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t<o.length;t++)n=o[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(r,{Z:function(){return t}})}},function(e){e.O(0,[6866],(function(){return r=3806,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9215],{4192:function(e,n,t){t.d(n,{HQ:function(){return c},Pv:function(){return u},UR:function(){return i}});var r=t(4358),o=t(265),i={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var n=(0,r.ei)(e,["h1","h2","h3"]);if(Object.keys(n).length)return n}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var n="";return e&&e.ext&&e.ext.DeviceID&&(n=e.ext.DeviceID),n},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var n=(0,r.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(n).length)return n}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var n;return null!=e&&null!==(n=e.ext)&&void 0!==n&&n.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return void 0===e.snowflake.id?e.snowflake:e.snowflake.id},source:"novatiq.com"},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},czechAdId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var n=e.identifiers[0];return{version:n.version,type:n.type,source:n.source}}}}};function a(e,n){var t=i[n];if(t&&e){var o={};o.source=(0,r.LQ)(t.getSource)?t.getSource(e):t.source;var a=(0,r.LQ)(t.getValue)?t.getValue(e):e;if((0,r.d8)(a)){var c={id:a,atype:t.atype};if((0,r.LQ)(t.getUidExt)){var u=t.getUidExt(e);u&&(c.ext=u)}if(o.uids=[c],(0,r.LQ)(t.getEidExt)){var s=t.getEidExt(e);s&&(o.ext=s)}return o}}return null}function c(e){var n=[],t=function(t){if(e.hasOwnProperty(t))if("pubProvidedId"===t)n=n.concat(e.pubProvidedId);else if(Array.isArray(e[t]))e[t].forEach((function(e,r,o){var i=a(e,t);i&&n.push(i)}));else{var r=a(e[t],t);r&&n.push(r)}};for(var r in e)t(r);return n}function u(e){var n=[];return e.filter((function(e){return(0,r.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(t){(0,o.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,o.Z)(i,t+".source")&&n.push({source:i[t].source,bidders:e.config.bidders})}))})),n}},2695:function(e,n,t){var r,o,i,a,c,u,s=t(1002),d=t(4614),f=t(3193),l=t(2021),g=t(8640),p=t(1039),m=t(5644),y=t(2797),v=t(4192),h=t(5164),b=t(4358),I=t(265),w=t(6475),O=(0,y.z3)("sync",(function(){})),k=t(8792),D=t(7673),E=t(6372),j=t(9128),P=t(8196),S="User ID",x="cookie",A="html5",U="_pbjs_userid_consent_data",N=30,C="_pbjs_id_optout",L=(0,h.eA)("userid"),T=!1,R=[],_=[],V=[],Z=function(){return null==u&&(u=(0,j.V6)()),u};function q(e){return Z().fork().renameWith((function(n){return["userId.mod.".concat(n),"userId.mods.".concat(e,".").concat(n)]}))}function H(e){var n="function"==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,t=e.config.storage.name;return function(e,r,o){L.setCookie(t+(e||""),r,o,"Lax",n)}}function Q(e,n){var t=e.config.storage;try{var r=new Date(Date.now()+864e5*t.expires).toUTCString(),o=(0,b.PO)(n)?JSON.stringify(n):n;if(t.type===x){var i=H(e);i(null,o,r),"number"==typeof t.refreshInSeconds&&i("_last",(new Date).toUTCString(),r)}else t.type===A&&(L.setDataInLocalStorage("".concat(t.name,"_exp"),r),L.setDataInLocalStorage(t.name,encodeURIComponent(o)),"number"==typeof t.refreshInSeconds&&L.setDataInLocalStorage("".concat(t.name,"_last"),(new Date).toUTCString()))}catch(e){(0,b.H)(e)}}function F(e){var n,t,r,o;switch(null===(n=e.config)||void 0===n||null===(t=n.storage)||void 0===t?void 0:t.type){case x:var i=H(e),a=new Date(Date.now()-864e5).toUTCString();r=function(e){return i(e,"",a)},o=["","_last"];break;case A:r=function(n){return L.removeDataFromLocalStorage(e.config.storage.name+n)},o=["","_last","_exp"]}r&&o.forEach((function(e){try{r(e)}catch(e){(0,b.H)(e)}}))}function z(e){var n=(0,b.EE)().setEidPermissions;"function"==typeof n&&(0,b.kJ)(e)&&n((0,v.Pv)(e))}function J(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=t?"".concat(e.name,"_").concat(t):e.name;try{if(e.type===x)n=L.getCookie(r);else if(e.type===A){var o=L.getDataFromLocalStorage("".concat(e.name,"_exp"));""===o?n=L.getDataFromLocalStorage(r):o&&new Date(o).getTime()-Date.now()>0&&(n=decodeURIComponent(L.getDataFromLocalStorage(r)))}"string"==typeof n&&"{"===n.trim().charAt(0)&&(n=JSON.parse(n))}catch(e){(0,b.H)(e)}return n}function B(e){var n={consentString:"",gdprApplies:!1,apiVersion:0};return e&&(n.consentString=e.consentString,n.gdprApplies=e.gdprApplies,n.apiVersion=e.apiVersion),(0,b._R)(JSON.stringify(n))}function G(e){try{var n=new Date(Date.now()+864e5*N).toUTCString();L.setCookie(U,B(e),n,"Lax")}catch(e){(0,b.H)(e)}}function M(){try{return L.getCookie(U)}catch(e){(0,b.H)(e)}}function W(e,n){n=Z().fork().startTiming("userId.callbacks.total").stopBefore(n);var t=(0,b.yx)((function(){clearTimeout(undefined),n()}),e.length);e.forEach((function(e){var n=q(e.submodule.name).startTiming("callback").stopBefore(t);try{e.callback((function(t){t?(e.config.storage&&Q(e,t),e.idObj=e.submodule.decode(t,e.config),le(e.idObj)):(0,b.PN)("".concat(S,": ").concat(e.submodule.name," - request id responded with an empty value")),n()}))}catch(t){(0,b.H)("Error in userID module '".concat(e.submodule.name,"':"),t),n()}e.callback=void 0}))}function K(e,n){[e].some((function(e){return!Array.isArray(e)||!e.length}))||e.forEach((function(e){e.bids&&(0,b.kJ)(e.bids)&&e.bids.forEach((function(e){var t=function(e,n){return Array.isArray(e)&&e.length&&n?e.filter((function(e){return!e.config.bidders||!(0,b.kJ)(e.config.bidders)||(0,d.q9)(e.config.bidders,n)})).filter((function(e){return(0,b.PO)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,n){return Object.keys(n.idObj).forEach((function(t){e[t]=n.idObj[t]})),e}),{}):{}}(n,e.bidder);Object.keys(t).length&&(e.userId=t,e.userIdAsEids=(0,v.HQ)(t))}))}))}var Y,X={};function $(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.delay,c=void 0===a?k.Z.timeout:a,u=(0,k.P)(),s=(0,k.P)(),d=!1;function f(t){return n=Z().fork(),null!=e&&e.reject(X),e=(0,k.P)(),k.Z.race([t,e.promise]).finally(n.startTiming("userId.total"))}var g=r,v=R;function h(e){return function(){if(g===r&&v===R)return e.apply(void 0,arguments)}}function I(){return p.rp.promise.finally(n.startTiming("userId.init.gdpr"))}var w=f(k.Z.all([y.Cd,u.promise]).then(I).then(h((function(e){ge(g,v,e)}))).then((function(){return s.promise.finally(n.startTiming("userId.callbacks.pending"))})).then(h((function(){var e=g.filter((function(e){return(0,b.LQ)(e.callback)}));if(e.length)return new k.Z((function(n){return W(e,n)}))}))));return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refresh,t=void 0!==n&&n,r=e.submoduleNames,a=void 0===r?null:r,p=e.ready,y=void 0!==p&&p;return y&&!d&&(d=!0,u.resolve(),i>0?s.resolve():l.on(m.FP.AUCTION_END,(function e(){l.S1(m.FP.AUCTION_END,e),c(o).then(s.resolve)}))),t&&d&&(w=f(w.catch((function(){return null})).then(I).then(h((function(e){var n=ge(g,v.filter((function(e){return null==a||a.includes(e.submodule.name)})),e,!0).filter((function(e){return null!=e.callback}));if(n.length)return new k.Z((function(e){return W(n,e)}))}))))),w}}function ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re()||[],n=a&&e.find((function(e){return e.source===a}));if(n&&"string"==typeof(0,I.Z)(n,"uids.0.id")){var t=n.uids[0].id.replace(/[\W_]/g,"");if(t.length>=32&&t.length<=150)return t;(0,b.yN)("User ID - Googletag Publisher Provided ID for ".concat(a," is not between 32 and 150 characters - ").concat(t))}}var ne=(0,j.g3)("userId",(function(e,n){var t=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.delay,c=void 0===a?k.Z.timeout:a,u=o.getIds,s=void 0===u?se:u;k.Z.race([s().catch((function(){return null})),c(i)]).then((function(){K(n.adUnits||(0,g.R)().adUnits,r),Z().join((0,j.Bf)(n.metrics),{propagate:!1,includeGroups:!0}),e.call(t,n)}))}));function te(){return function(e){return Array.isArray(e)&&e.length?e.filter((function(e){return(0,b.PO)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,n){return Object.keys(n.idObj).forEach((function(t){e[t]=n.idObj[t]})),e}),{}):{}}(r)}function re(){return(0,v.HQ)(te())}function oe(e){return(0,v.HQ)(function(e,n){if(!Array.isArray(e)||!e.length)return{};var t=e.filter((function(e){var t;return(0,b.PO)(e.idObj)&&Object.keys(e.idObj).length&&(null===(t=v.UR[Object.keys(e.idObj)[0]])||void 0===t?void 0:t.source)===n}));return(0,b.xb)(t)?[]:t[0].idObj}(r,e))[0]}function ie(e,n,t){return Y().then((function(){var r={};if((0,b.LQ)(t)){(0,b.PN)("".concat(S," - Getting encrypted signal from custom function : ").concat(t.name," & source : ").concat(e," "));var o=t(e);r[e]=o?ae(o):null}else{var i=oe(e);(0,b.PN)("".concat(S," - Getting encrypted signal for eids :").concat(JSON.stringify(i))),(0,b.xb)(i)||(r[i.source]=!0===n?ae(i):i.uids[0].id)}return(0,b.PN)("".concat(S," - Fetching encrypted eids: ").concat(r[e])),r[e]}))}function ae(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t="";if(1===n)t="object"===(0,s.Z)(e)?window.btoa(JSON.stringify(e)):window.btoa(e);return"".concat(n,"||").concat(t)}function ce(){if((0,b.T9)()){window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[];var e=f.vc.getConfig("userSync.encryptedSignalSources");if(e){var n=e.registerDelay||0;setTimeout((function(){e.sources&&e.sources.forEach((function(e){var n=e.source,t=e.encrypt,r=e.customFunc;n.forEach((function(e){window.googletag.encryptedSignalProviders.push({id:e,collectorFunction:function(){return ie(e,t,r)}})}))}))}),n)}else(0,b.yN)("".concat(S," - ESP : encryptedSignalSources config not defined under userSync Object"))}}function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.submoduleNames,t=arguments.length>1?arguments[1]:void 0;return Y({refresh:!0,submoduleNames:n}).then((function(){return t&&(0,b.LQ)(t)&&t(),te()}))}function se(){return Y().then((function(){return te()}),(function(e){return e===X?Promise.resolve().then(se):((0,b.H)("Error initializing userId",e),k.Z.reject(e))}))}var de=(0,y.z3)("sync",(function(e,n){return{userIdModules:e,hasValidated:n&&n.hasValidated}}),"validateGdprEnforcement");function fe(e,n,t,r){if(e.config.storage){var o,i=J(e.config.storage),a=!1;if("number"==typeof e.config.storage.refreshInSeconds){var c=new Date(J(e.config.storage,"last"));a=c&&Date.now()-c.getTime()>1e3*e.config.storage.refreshInSeconds}!i||a||r||!function(e,n){return null!=e&&e===B(n)}(t,n)?o=e.submodule.getId(e.config,n,i):"function"==typeof e.submodule.extendId&&(o=e.submodule.extendId(e.config,n,i)),(0,b.PO)(o)&&(o.id&&(Q(e,o.id),i=o.id),"function"==typeof o.callback&&(e.callback=o.callback)),i&&(e.idObj=e.submodule.decode(i,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var u=e.submodule.getId(e.config,n,void 0);(0,b.PO)(u)&&("function"==typeof u.callback&&(e.callback=u.callback),u.id&&(e.idObj=e.submodule.decode(u.id,e.config)))}le(e.idObj)}function le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();if(e&&a){var n=ee((0,v.HQ)(e));n&&((0,b.T9)()?window.googletag.pubads().setPublisherProvidedId(n):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().setPublisherProvidedId(n)}))))}}function ge(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Z().fork().measureTime("userId.init.modules",(function(){if(!n.length)return[];var o=ye();if(!(n=n.filter((function(e){return!e.config.storage||o.has(e.config.storage.type)}))).length)return(0,b.yN)("".concat(S," - no ID module is configured for one of the available storage types:"),Array.from(o)),[];var i=de(n,t),a=i.userIdModules;if(!i.hasValidated&&!(0,D.h)(t))return(0,b.yN)("".concat(S," - gdpr permission not valid for local storage or cookies, exit module")),[];var c=M();G(t);var u=a.reduce((function(e,n){return q(n.submodule.name).measureTime("init",(function(){try{fe(n,t,c,r),e.push(n)}catch(e){(0,b.H)("Error in userID module '".concat(n.submodule.name,"':"),e)}return e}))}),[]);return u.length&&z(u),u.forEach(pe.bind(null,e)),u}))}function pe(e,n){for(var t=!1,r=0;r<e.length;r++)if(n.config.name.toLowerCase()===e[r].config.name.toLowerCase()){t=!0,e[r]=n;break}t||e.push(n)}var me=new Set([A,x]);function ye(){var e=[],n=!1;return L.localStorageIsEnabled()&&(e.push(A),L.getDataFromLocalStorage(C)&&((0,b.PN)("".concat(S," - opt-out localStorage found, storage disabled")),n=!0)),L.cookiesAreEnabled()&&(e.push(x),L.getCookie(C)&&((0,b.PN)("".concat(S," - opt-out cookie found, storage disabled")),n=!0)),new Set(n?[]:e)}function ve(){var e=function(e,n){return Array.isArray(e)?e.reduce((function(e,n){return!n||(0,b.jH)(n.name)||(n.storage&&!(0,b.jH)(n.storage.type)&&!(0,b.jH)(n.storage.name)&&me.has(n.storage.type)||(0,b.PO)(n.value)?e.push(n):n.storage||n.value||e.push(n)),e}),[]):[]}(_);if(e.length){var n=V.filter((function(e){return!(0,d.sE)(R,(function(n){return n.name===e.name}))}));R.splice(0,R.length),n.map((function(n){var t=(0,d.sE)(e,(function(e){return e.name&&(e.name.toLowerCase()===n.name.toLowerCase()||n.aliasName&&e.name.toLowerCase()===n.aliasName.toLowerCase())}));return t&&n.name!==t.name&&(t.name=n.name),n.findRootDomain=P.W,t?{submodule:n,config:t,callback:void 0,idObj:void 0}:null})).filter((function(e){return null!==e})).forEach((function(e){return R.push(e)})),!T&&R.length&&((0,g.R)().requestBids.before(ne,40),p.ZP.callDataDeletionRequest.before(he),O.after((function(e){return e(ee())})),(0,b.PN)("".concat(S," - usersync config updated for ").concat(R.length," submodules: "),R.map((function(e){return e.submodule.name}))),T=!0)}}function he(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];(0,b.PN)("UserID: received data deletion request; deleting all stored IDs..."),R.forEach((function(e){if("function"==typeof e.submodule.onDataDeletionRequest)try{var n;(n=e.submodule).onDataDeletionRequest.apply(n,[e.config,e.idObj].concat(t))}catch(n){(0,b.H)("Error calling onDataDeletionRequest for ID submodule ".concat(e.submodule.name),n)}F(e)})),e.apply(this,t)}function be(e){return function(){return Promise.resolve(e.apply(this,arguments))}}!function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.delay,u=void 0===t?k.Z.timeout:t;a=void 0,R=[],_=[],T=!1,r=[],Y=$({delay:u}),null!=c&&c(),V=[],c=e.getConfig("userSync",(function(e){var n=e.userSync;a=n.ppid,n&&n.userIds&&(_=n.userIds,o=(0,b.hj)(n.syncDelay)?n.syncDelay:500,i=(0,b.hj)(n.auctionDelay)?n.auctionDelay:0,ve(),Y({ready:!0}))})),(0,g.R)().getUserIds=te,(0,g.R)().getUserIdsAsEids=re,(0,g.R)().getEncryptedEidsForSource=be(ie),(0,g.R)().registerSignalSources=ce,(0,g.R)().refreshUserIds=be(ue),(0,g.R)().getUserIdsAsync=be(se),(0,g.R)().getUserIdsAsEidBySource=oe}(f.vc),(0,y.bA)("userId",(function(e){(0,d.sE)(V,(function(n){return n.name===e.name}))||(V.push(e),ve(),Y({refresh:!0,submoduleNames:[e.name]}))})),(0,E.f8)({type:E.Z,name:"userExtEids",fn:function(e,n,t){var r=(0,I.Z)(t,"bidRequests.0.userIdAsEids");r&&(0,w.N)(e,"user.ext.eids",r)}}),window.pbjs.installedModules.push("userId")},6372:function(e,n,t){t.d(n,{DZ:function(){return a},Px:function(){return c},TP:function(){return s},YC:function(){return u},Z:function(){return i},f8:function(){return p},fP:function(){return m},gm:function(){return r},md:function(){return d}});var r=["request","imp","bidResponse","response"],o=["default","pbs"],i=r[0],a=r[1],c=r[2],u=r[3],s=o[0],d=o[1],f=new Set(r);var l,g=(l={},{registerOrtbProcessor:function(e){var n=e.type,t=e.name,o=e.fn,i=e.priority,a=void 0===i?0:i,c=e.dialects,u=void 0===c?[s]:c;if(!f.has(n))throw new Error("ORTB processor type must be one of: ".concat(r.join(", ")));u.forEach((function(e){l.hasOwnProperty(e)||(l[e]={}),l[e].hasOwnProperty(n)||(l[e][n]={}),l[e][n][t]={priority:a,fn:o}}))},getProcessors:function(e){return l[e]||{}}}),p=g.registerOrtbProcessor,m=g.getProcessors},7673:function(e,n,t){t.d(n,{h:function(){return o}});var r=t(265);function o(e){return null==e||!e.gdprApplies||!0===(0,r.Z)(e,"vendorData.purpose.consents.1")}}},function(e){e.O(0,[6866],(function(){return n=2695,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[6547],{1612:function(e,n,t){var i=t(1002),r=t(8928),d=t(2797),o=t(4358),c=t(4614),p="verizonMediaId",a="__PIXEL_ID__",s="https://ups.analytics.yahoo.com/ups/".concat(a,"/fed");function u(e){return!!(e&&e.gdpr&&e.gdpr.gdprApplies)}var l={name:p,gvlid:25,decode:function(e){return"object"===(0,i.Z)(e)&&(e.connectid||e.vmuid)?{connectid:e.connectid||e.vmuid}:void 0},getId:function(e,n){var t=e.params||{};if(t&&"string"==typeof t.he&&(void 0!==t.pixelId||void 0!==t.endpoint)){var i={"1p":(0,c.q9)([1,"1",!0],t["1p"])?"1":"0",he:t.he,gdpr:u(n)?"1":"0",gdpr_consent:u(n)?n.gdpr.consentString:"",us_privacy:n&&n.uspConsent?n.uspConsent:""};t.pixelId&&(i.pixelId=t.pixelId);return{callback:function(e){var n={success:function(n){var t;if(n)try{t=JSON.parse(n)}catch(e){(0,o.H)(e)}e(t)},error:function(n){(0,o.H)("".concat(p,": ID fetch encountered an error"),n),e()}},r=s.replace(a,t.pixelId),d="".concat(t.endpoint||r,"?").concat((0,o.Yp)(i));l.getAjaxFn()(d,n,null,{method:"GET",withCredentials:!0})}}}(0,o.H)("The verizonMediaId submodule requires the 'he' and 'pixelId' parameters to be defined.")},getAjaxFn:function(){return r.h}};(0,d.Bx)("userId",l),window.pbjs.installedModules.push("verizonMediaIdSystem")}},function(e){e.O(0,[6866],(function(){return n=1612,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[5337],{4192:function(e,t,r){r.d(t,{HQ:function(){return c},Pv:function(){return u},UR:function(){return o}});var n=r(4358),i=r(265),o={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var t=(0,n.ei)(e,["h1","h2","h3"]);if(Object.keys(t).length)return t}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var t="";return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=(0,n.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return void 0===e.snowflake.id?e.snowflake:e.snowflake.id},source:"novatiq.com"},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},czechAdId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function a(e,t){var r=o[t];if(r&&e){var i={};i.source=(0,n.LQ)(r.getSource)?r.getSource(e):r.source;var a=(0,n.LQ)(r.getValue)?r.getValue(e):e;if((0,n.d8)(a)){var c={id:a,atype:r.atype};if((0,n.LQ)(r.getUidExt)){var u=r.getUidExt(e);u&&(c.ext=u)}if(i.uids=[c],(0,n.LQ)(r.getEidExt)){var d=r.getEidExt(e);d&&(i.ext=d)}return i}}return null}function c(e){var t=[],r=function(r){if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[r]))e[r].forEach((function(e,n,i){var o=a(e,r);o&&t.push(o)}));else{var n=a(e[r],r);n&&t.push(n)}};for(var n in e)r(n);return t}function u(e){var t=[];return e.filter((function(e){return(0,n.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){(0,i.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,i.Z)(o,r+".source")&&t.push({source:o[r].source,bidders:e.config.bidders})}))})),t}},5511:function(e,t,r){var n=r(1002),i=r(4358),o=r(265),a=r(6475),c=r(4679),u=r(5339),d=r(5706),s=r(4614),p=r(4192),f="USD",l=300,m=!0,v="https://ads.yieldmo.com/pbcas",y="https://prebid-outstream.yieldmo.com/bundle.js",g=["mimes","startdelay","placement","startdelay","skipafter","protocols","api","playbackmethod","maxduration","minduration","pos","skip","skippable"],h=["name","domain","cat","keywords"],b=(0,i.Zy)(),I=["description","title","pr","page_url"],x={code:"yieldmo",supportedMediaTypes:[c.Mk,c.pX],gvlid:173,isBidRequestValid:function(e){return!!(e&&e.adUnitCode&&e.bidId&&(k(e)||w(e))&&function(e){if(!w(e))return!0;var t=function(e,t,r){var n='"'.concat(e,'" is required');throw r&&(n+=" when "+r),new Error(n)},r=function(e,t,r){throw r=r?", expected: "+r:"",t=JSON.stringify(t),new Error('"'.concat(e,'"=').concat(t," is invalid").concat(r))},n=function(e){return void 0!==e},a=function(t,r,n,i){if(0===t.indexOf("video")){var a="params."+t,c="mediaTypes."+t,u=(0,o.Z)(e,a),d=(0,o.Z)(e,c),s=r(u),p=r(d);return s?u:p||(s?p||n(c,d,i):n(a,u,i),u||d)}var f=(0,o.Z)(e,t);return r(f)||n(t,f,i),f};try{a("video.context",(function(e){return!(0,i.xb)(e)}),t),a("params.placementId",(function(e){return!(0,i.xb)(e)}),t),a("video.playerSize",(function(e){return(0,i.HC)(e,2)||(0,i.kJ)(e)&&e.every((function(e){return(0,i.HC)(e,2)}))}),r,"array of 2 integers, ex: [640,480] or [[640,480]]"),a("video.mimes",(function(e){return n(e)}),t),a("video.mimes",(function(e){return(0,i.kJ)(e)&&e.every((function(e){return(0,i.d8)(e)}))}),r,'array of strings, ex: ["video/mp4"]');var c=a("video.placement",(function(e){return n(e)}),t);return a("video.placement",(function(e){return e>=1&&e<=5}),r),1===c&&(a("video.startdelay",(function(e){return n(e)}),(function(e,r){return t(e,r,"placement == 1")})),a("video.startdelay",(function(e){return(0,i.hj)(e)}),r,"number, ex: 5")),a("video.protocols",(function(e){return n(e)}),t),a("video.protocols",(function(e){return(0,i.HC)(e)&&e.every((function(e){return e>=1&&e<=6}))}),r,"array of numbers, ex: [2,3]"),a("video.api",(function(e){return n(e)}),t),a("video.api",(function(e){return(0,i.HC)(e)&&e.every((function(e){return e>=1&&e<=6}))}),r,"array of numbers, ex: [2,3]"),a("video.playbackmethod",(function(e){return!n(e)||(0,i.HC)(e)}),r,"array of integers, ex: [2,6]"),a("video.maxduration",(function(e){return n(e)}),t),a("video.maxduration",(function(e){return(0,i.U)(e)}),r),a("video.minduration",(function(e){return!n(e)||(0,i.hj)(e)}),r),a("video.skippable",(function(e){return!n(e)||(0,i.jn)(e)}),r),a("video.skipafter",(function(e){return!n(e)||(0,i.hj)(e)}),r),a("video.pos",(function(e){return!n(e)||(0,i.hj)(e)}),r),a("params.badv",(function(e){return!n(e)||(0,i.kJ)(e)}),r,'array of strings, ex: ["ford.com","pepsi.com"]'),a("params.bcat",(function(e){return!n(e)||(0,i.kJ)(e)}),r,'array of strings, ex: ["IAB1-5","IAB1-6"]'),!0}catch(e){return(0,i.H)(e.message),!1}}(e))},buildRequests:function(e,t){var r=function(e){var t,r;return!(null===(t=e.refererInfo)||void 0===t||null===(r=t.referer)||void 0===r||!r.includes("pb_force_a"))}(t),n=T("/exchange/prebid",r),u=T("/exchange/prebidvideo",r),d=e.filter((function(e){return k(e)})),f=e.filter((function(e){return w(e)})),l=[],m=function(e){if((0,o.Z)(e,"userId"))return(0,p.HQ)(e.userId)||[]}(e[0])||[];if(d.length>0){var v={pbav:"7.39.0",p:[],page_url:t.refererInfo.page,bust:(new Date).getTime().toString(),dnt:"1"===window.doNotTrack||"1"===window.navigator.doNotTrack||!1,description:E(),userConsent:JSON.stringify({gdprApplies:(0,o.Z)(t,"gdprConsent.gdprApplies")||"",cmp:(0,o.Z)(t,"gdprConsent.consentString")||""}),us_privacy:(0,o.Z)(t,"uspConsent")||""};(function(){try{if((0,i.Zy)().location.href)return!0}catch(e){return!1}})()&&(v.pr=b.document&&b.document.referrer||"",v.scrd=b.devicePixelRatio||0,v.title=b.document.title||"",v.w=b.innerWidth,v.h=b.innerHeight);var y=window.navigator.maxTouchPoints;y&&(v.mtp=y),d.forEach((function(e){v.p.push(function(e){var t=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot"),r={placement_id:e.adUnitCode,callback_id:e.bidId,sizes:e.mediaTypes.banner.sizes};if(e.params){e.params.placementId&&(r.ym_placement_id=e.params.placementId);var n=O(e,c.Mk);n&&(r.bidFloor=n)}t&&(r.gpid=t);var i=(0,o.Z)(e,"ortb2Imp.ext.tid");i&&(r.tid=i);e.auctionId&&(r.auctionId=e.auctionId);return JSON.stringify(r)}(e));var t=Z(e,"pubcid");t?v.pubcid=t:e.crumbs&&e.crumbs.pubcid&&(v.pubcid=e.crumbs.pubcid);var r=Z(e,"tdid");r&&(v.tdid=r);var n=Z(e,"criteoId");n&&(v.cri_prebid=n),e.schain&&(v.schain=JSON.stringify(e.schain)),(0,o.Z)(e,"params.lr_env")&&(v.ats_envelope=e.params.lr_env)})),v.p="["+v.p.toString()+"]",m.length&&(v.eids=JSON.stringify(m));var h="".concat(n,"?").concat((0,i.Re)(v)).length-8e3;if(h>0)for(var x=0;x<I.length&&!((h=_(h,v,I[x]))<=0);x++);l.push({method:"GET",url:n,data:v})}if(f.length>0){var A=function(e,t){var r=e[0].schain,n={id:e[0].bidderRequestId,tmax:t.timeout||400,at:1,imp:e.map((function(e){return function(e){var t=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot"),r=function(e){var t=(0,o.Z)(e,"mediaTypes.video.playerSize");if((0,i.HC)(t,2))return t;if((0,i.kJ)(t)&&(0,i.HC)(t[0],2))return t[0];return null}(e),n={id:e.bidId,tagid:e.adUnitCode,bidfloor:O(e,c.pX),ext:{placement_id:e.params.placementId,tid:(0,o.Z)(e,"ortb2Imp.ext.tid")},video:{w:r[0],h:r[1],linearity:1}},a=(0,o.Z)(e,"mediaTypes.video");Object.keys(a).filter((function(e){return(0,s.q9)(g,e)})).forEach((function(e){return n.video[e]=a[e]}));var u=(0,o.Z)(e,"params.video");Object.keys(u).filter((function(e){return(0,s.q9)(g,e)})).forEach((function(e){return n.video[e]=u[e]})),n.video.skippable&&(n.video.skip=1,delete n.video.skippable);1!==n.video.placement&&(n.video.startdelay=0,n.video.playbackmethod=[2]);t&&(n.ext.gpid=t);return n}(e)})),site:j(e[0],t),device:(0,o.Z)(t,"ortb2.device"),badv:e[0].params.badv||[],bcat:(0,o.Z)(t,"bcat")||e[0].params.bcat||[],ext:{prebid:"7.39.0"},ats_envelope:e[0].params.lr_env};r&&(n.schain=r);e[0].auctionId&&(n.auctionId=e[0].auctionId);return function(e,t){var r=t.gdprConsent;r&&"gdprApplies"in r&&((0,a.N)(e,"regs.ext.gdpr",r.gdprApplies?1:0),(0,a.N)(e,"user.ext.consent",r.consentString));var n=(0,o.Z)(t,"uspConsent");n&&(0,a.N)(e,"regs.ext.us_privacy",n)}(n,t),n}(f,t);m.length&&(A.user={eids:m}),l.push({method:"POST",url:u,data:A})}return l},interpretResponse:function(e,t){var r=[],n=e.body;(n.length>0&&n.forEach((function(e){e.cpm>0&&r.push(function(e){return{dealId:e.publisherDealId,requestId:e.callback_id,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.creative_id,currency:f,netRevenue:m,ttl:300,ad:e.ad,meta:{advertiserDomains:e.adomain||[],mediaType:c.Mk}}}(e))})),n.seatbid)&&n.seatbid.reduce((function(e,t){return e.concat(t.bid)}),[]).forEach((function(e){return r.push(function(e,t){var r=(0,s.sE)((0,o.Z)(t,"data.imp")||[],(function(t){return t.id===e.impid})),n={dealId:e.dealid,requestId:r.id,cpm:e.price,width:r.video.w,height:r.video.h,creativeId:e.crid||e.adid,currency:f,netRevenue:m,mediaType:c.pX,ttl:l,vastXml:e.adm,meta:{advertiserDomains:e.adomain||[],mediaType:c.pX}};if(r.video.placement&&1!==r.video.placement){var i=d.Th.install({url:y,config:{width:n.width,height:n.height,vastTimeout:15e3,maxAllowedVastTagRedirects:5,allowVpaid:!0,autoPlay:!0,preload:!0,mute:!0},id:r.tagid,loaded:!1});i.setRender((function(e){e.renderer.push((function(){var t=e.renderer,r=t.id,n=t.config;window.YMoutstreamPlayer(e,r,n)}))})),n.renderer=i}return n}(e,t))}));return r},getUserSyncs:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=[],o="&gdpr=".concat(r.gdprApplies?1:0),a="&gdpr_consent=".concat(encodeURIComponent(r.consentString||"")),c="us_privacy=".concat(encodeURIComponent(n)),u="".concat(v,"?").concat(c).concat(o).concat(a);return e.iframeEnabled?i.push({type:"iframe",url:u+"&type=iframe"}):e.pixelEnabled&&i.push({type:"image",url:u+"&type=image"}),i}};function k(e){return!!(0,o.Z)(e,"mediaTypes.banner")}function w(e){return!!(0,o.Z)(e,"mediaTypes.video")}function E(){return document.querySelector('meta[name="description"]')&&document.querySelector('meta[name="description"]').getAttribute("content")||""}function Z(e,t){return"object"===(0,n.Z)((0,o.Z)(e,"userId"))?e.userId[t]:void 0}function O(e,t){var r={};return"function"==typeof e.getFloor&&(r=e.getFloor({currency:f,mediaType:t,size:"*"})),r.floor||e.params.bidfloor||e.params.bidFloor||0}function j(e,t){var r,n={},a=(0,i.en)((0,o.Z)(t,"refererInfo.page"));(0,i.xb)(a)||(n.page="".concat(a.protocol,"://").concat(a.hostname).concat(a.pathname)),null!==(r=t.refererInfo)&&void 0!==r&&r.ref&&(n.ref=t.refererInfo.ref);var c=document.getElementsByTagName("meta").keywords;c&&c.content&&(n.keywords=c.content);var u=(0,o.Z)(e,"params.site");return u&&Object.keys(u).filter((function(e){return(0,s.q9)(h,e)})).forEach((function(e){return n[e]=u[e]})),n}function _(e,t,r){if(t[r].length>e)return t[r]=t[r].substring(0,t[r].length-e),0;var n=e-t[r].length;return t[r]="",n}function T(e,t){return"".concat(t?"https://ads-stg.yieldmo.com":"https://ads.yieldmo.com").concat(e)}(0,u.dX)(x),window.pbjs.installedModules.push("yieldmoBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=5511,e(e.s=t);var t}));e.O()}]);
})(),pbjs.processQueue();