text: /* prebid.js v0.28.0
  Updated : 2018-02-21 */
  !(function(e){var t=window.pbjsChunk;window.pbjsChunk=function(n,o,a){for(var s,d,u,c=0,f=[];c<n.length;c++)d=n[c],r[d]&&f.push(r[d][0]),r[d]=0;for(s in o)Object.prototype.hasOwnProperty.call(o,s)&&(e[s]=o[s]);for(t&&t(n,o,a);f.length;)f.shift()();if(a)for(c=0;c<a.length;c++)u=i(i.s=a[c]);return u};var n={},r={99:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e},i(i.s=243)})([(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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};t.parseSizesInput=function(e){var t=[];if("string"==typeof e){var n=e.split(","),i=/^(\d)+x(\d)+$/i;if(n)for(var o in n)m(n,o)&&n[o].match(i)&&t.push(n[o])}else if("object"===(void 0===e?"undefined":r(e))){var a=e.length;if(a>0)if(2===a&&"number"==typeof e[0]&&"number"==typeof e[1])t.push(l(e));else for(var s=0;s<a;s++)t.push(l(e[s]))}return t},t.parseGPTSingleSizeArray=l,t.uniques=h,t.flatten=y,t.getBidRequest=function(e){return pbjs._bidsRequested.map((function(t){return t.bids.find((function(t){return t.bidId===e}))})).find((function(e){return e}))},t.getKeys=E,t.getValue=S,t.getBidderCodes=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits).map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(y,[])})).reduce(y).filter(h)},t.isGptPubadsDefined=function(){if(window.googletag&&t.isFn(window.googletag.pubads)&&t.isFn(window.googletag.pubads().getSlots))return!0},t.getHighestCpm=function(e,t){if(e.cpm===t.cpm)return e.timeToRespond>t.timeToRespond?t:e;return e.cpm<t.cpm?t:e},t.shuffle=function(e){var t=e.length;for(;t>0;){var n=Math.floor(Math.random()*t),r=e[--t];e[t]=e[n],e[n]=r}return e},t.adUnitsFilter=function(e,t){return e.includes(t&&t.placementCode||t&&t.adUnitCode)},t.isSrcdocSupported=function(e){return e.defaultView&&e.defaultView.frameElement&&"srcdoc"in e.defaultView.frameElement&&!/firefox/i.test(navigator.userAgent)},t.cloneJson=function(e){return JSON.parse(JSON.stringify(e))},t.inIframe=function(){try{return window.self!==window.top}catch(e){return!0}},t.isSafariBrowser=function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)},t.replaceAuctionPrice=function(e,t){if(!e)return;return e.replace(/\$\{AUCTION_PRICE\}/g,t)},t.getBidderRequestAllAdUnits=function(e){return pbjs._bidsRequested.find((function(t){return t.bidderCode===e}))},t.getBidderRequest=function(e,t){return pbjs._bidsRequested.find((function(n){return n.bids.filter((function(n){return n.bidder===e&&n.placementCode===t})).length>0}))||{start:null,requestId:null}},t.groupBy=function(e,t){return e.reduce((function(e,n){return(e[n[t]]=e[n[t]]||[]).push(n),e}),{})},t.deepAccess=function(e,t){t=String(t).split(".");for(var n=0;n<t.length;n++)if(void 0===(e=e[t[n]]))return;return e};var i=n(8),o=n(4),a=!1,s=Object.prototype.toString,d=null;try{d=console.info.bind(window.console)}catch(e){}t.replaceTokenInString=function(e,t,n){return this._each(t,(function(t,r){t=void 0===t?"":t;var i=n+r.toUpperCase()+n,o=new RegExp(i,"g");e=e.replace(o,t)})),e};var u,c=(u=0,function(){return++u});function f(){return c()+Math.random().toString(16).substr(2)}function l(e){if(t.isArray(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1]))return e[0]+"x"+e[1]}function p(){return window.console&&window.console.log}t.getUniqueIdentifierStr=f,t.generateUUID=function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){return t&&t[e]?t[e]:""},t.tryAppendQueryString=function(e,t,n){return n?e+(t+"=")+encodeURIComponent(n)+"&":e},t.parseQueryStringParameters=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t},t.transformAdServerTargetingObj=function(e){return e&&Object.getOwnPropertyNames(e).length>0?E(e).map((function(t){return t+"="+encodeURIComponent(S(e,t))})).join("&"):""},t.getTopWindowLocation=function(){var e=void 0;try{window.top.location.toString(),e=window.top.location}catch(t){e=window.location}return e},t.getTopWindowUrl=function(){var e=void 0;try{e=this.getTopWindowLocation().href}catch(t){e=""}return e},t.logWarn=function(e){b()&&console.warn&&console.warn("WARNING: "+e)},t.logInfo=function(e,t){b()&&p()&&d&&(t&&0!==t.length||(t=""),d("INFO: "+e+(""===t?"":" : params : "),t))},t.logMessage=function(e){b()&&p()&&console.log("MESSAGE: "+e)},t.hasConsoleLogger=p;var g=p()?window.console.error?"error":"log":"",b=function(){if(!1===i.config.getConfig("debug")&&!1===a){var e="TRUE"===v(o.DEBUG_MODE).toUpperCase();i.config.setConfig({debug:e}),a=!0}return!!i.config.getConfig("debug")};t.debugTurnedOn=b,t.logError=function(e,t,n){var r=t||"ERROR";b()&&p()&&console[g](console,r+": "+e,n||"")},t.createInvisibleIframe=function(){var e=document.createElement("iframe");return e.id=f(),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};var v=function(e){var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))};t.getParameterByName=v,t.hasValidBidRequest=function(e,t,n){var r=!1;function i(e,n){n===t[o]&&(r=!0)}for(var o=0;o<t.length;o++)if(r=!1,this._each(e,i),!r)return this.logError("Params are missing for bid request. One of these required paramaters are missing: "+t,n),!1;return!0},t.addEventHandler=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!0):e.attachEvent&&e.attachEvent("on"+t,n)},t.isA=function(e,t){return s.call(e)==="[object "+t+"]"},t.isFn=function(e){return this.isA(e,"Function")},t.isStr=function(e){return this.isA(e,"String")},t.isArray=function(e){return this.isA(e,"Array")},t.isNumber=function(e){return this.isA(e,"Number")},t.isEmpty=function(e){if(!e)return!0;if(this.isArray(e)||this.isStr(e))return!(e.length>0);for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0},t.isEmptyStr=function(e){return this.isStr(e)&&(!e||0===e.length)},t._each=function(e,t){if(!this.isEmpty(e)){if(this.isFn(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(r>0)for(;n<r;n++)t(e[n],n,e);else for(n in e)hasOwnProperty.call(e,n)&&t.call(this,e[n],n)}},t.contains=function(e,t){if(this.isEmpty(e))return!1;if(this.isFn(e.indexOf))return-1!==e.indexOf(t);for(var n=e.length;n--;)if(e[n]===t)return!0;return!1},t.indexOf=(function(){if(Array.prototype.indexOf)return Array.prototype.indexOf})(),t._map=function(e,t){if(this.isEmpty(e))return[];if(this.isFn(e.map))return e.map(t);var n=[];return this._each(e,(function(r,i){n.push(t(r,i,e))})),n};var m=function(e,t){return e.hasOwnProperty?e.hasOwnProperty(t):void 0!==e[t]&&e.constructor.prototype[t]!==e[t]};function h(e,t,n){return n.indexOf(e)===t}function y(e,t){return e.concat(t)}function E(e){return Object.keys(e)}function S(e,t){return e[t]}t.insertElement=function(e,t,n){t=t||document;var r=void 0;r=n?t.getElementsByTagName(n):t.getElementsByTagName("head");try{(r=r.length?r:t.getElementsByTagName("body")).length&&(r=r[0]).insertBefore(e,r.firstChild)}catch(e){}},t.insertPixel=function(e){var n=new Image;n.id=f(),n.src=e,n.height=0,n.width=0,n.style.display="none",n.onload=function(){try{this.parentNode.removeChild(this)}catch(e){}},t.insertElement(n)},t.insertCookieSyncIframe=function(e,n){var r=this.createTrackPixelIframeHtml(e,n),i=document.createElement("div");i.innerHTML=r;var o=i.firstChild;t.insertElement(o)},t.createTrackPixelHtml=function(e){if(!e)return"";var t='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return t+='<img src="'+encodeURI(e)+'"></div>'},t.createTrackPixelIframeHtml=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e?(t&&(e=encodeURI(e)),'<iframe frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" width="0" hspace="0" vspace="0" height="0" style="height:0p;width:0p;display:none;" scrolling="no" src="'+e+'"></iframe>'):""},t.getIframeDocument=function(e){if(e){var t=void 0;try{t=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){this.logError("Cannot get iframe document",e)}return t}},t.getValueString=function(e,t,n){return null==t?n:this.isStr(t)?t:this.isNumber(t)?t.toString():void this.logWarn("Unsuported type for param: "+e+" required type: String")}}),(function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(0),o=n(45),a=n(13),s=n(18),d=n(0),u=n(4),c=n(9),f={};t.bidderRegistry=f;var l={endpoint:u.S2S.DEFAULT_ENDPOINT,adapter:u.S2S.ADAPTER,syncEndpoint:u.S2S.SYNC_ENDPOINT},p="random",g={random:!0,fixed:!0},b={},v=p;function m(e){var t=e.bidderCode,n=e.requestId,s=e.bidderRequestId;return e.adUnits.map((function(e){return e.bids.filter((function(e){return e.bidder===t})).map((function(t){var i=e.sizes;if(e.sizeMapping){var u=(0,o.mapSizes)(e);if(""===u)return"";i=u}return e.nativeParams&&(t=r({},t,{nativeParams:(0,a.processNativeAdUnitParams)(e.nativeParams)})),r({},t,{placementCode:e.code,mediaType:e.mediaType,renderer:e.renderer,transactionId:e.transactionId,sizes:i,bidId:t.bid_id||d.getUniqueIdentifierStr(),bidderRequestId:s,requestId:n})}))})).reduce(i.flatten,[]).filter((function(e){return""!==e}))}t.callBids=function(e){var t=e.adUnits,n=e.cbTimeout,r=d.generateUUID(),a=Date.now(),g={timestamp:a,requestId:r,timeout:n};c.emit(u.EVENTS.AUCTION_INIT,g);var b=(0,i.getBidderCodes)(t),h=s.StorageManager.get(s.pbjsSyncsKey);v===p&&(b=(0,i.shuffle)(b));var y=f[l.adapter];if(y&&(y.setConfig(l),y.queueSync({bidderCodes:b})),l.enabled){var E=l.bidders.filter((function(e){return h.includes(e)}));b=b.filter((function(e){return!E.includes(e)}));var S=d.cloneJson(t);S.forEach((function(e){var t,n;e.sizeMapping&&(e.sizes=(0,o.mapSizes)(e),delete e.sizeMapping),e.sizes=(t=e,n=[],d.parseSizesInput(t.sizes).forEach((function(e){var t=e.split("x"),r={w:parseInt(t[0]),h:parseInt(t[1])};n.push(r)})),n),e.bids=e.bids.filter((function(e){return E.includes(e.bidder)})).map((function(e){return e.bid_id=d.getUniqueIdentifierStr(),e}))})),S=S.filter((function(e){return 0!==e.bids.length}));var T=d.generateUUID();E.forEach((function(e){var t=d.getUniqueIdentifierStr(),n={bidderCode:e,requestId:r,bidderRequestId:t,tid:T,bids:m({bidderCode:e,requestId:r,bidderRequestId:t,adUnits:S}),start:(new Date).getTime(),auctionStart:a,timeout:l.timeout,src:u.S2S.SRC};0!==n.bids.length&&pbjs._bidsRequested.push(n)}));var A={tid:T,ad_units:S};d.logMessage("CALLING S2S HEADER BIDDERS ==== "+E.join(",")),A.ad_units.length&&y.callBids(A)}b.forEach((function(e){var i=f[e];if(i){var o=d.getUniqueIdentifierStr(),s={bidderCode:e,requestId:r,bidderRequestId:o,bids:m({bidderCode:e,requestId:r,bidderRequestId:o,adUnits:t}),start:(new Date).getTime(),auctionStart:a,timeout:n};s.bids&&0!==s.bids.length&&(d.logMessage("CALLING BIDDER ======= "+e),pbjs._bidsRequested.push(s),c.emit(u.EVENTS.BID_REQUESTED,s),i.callBids(s))}else d.logError("Adapter trying to be called which does not exist: "+e+" adaptermanager.callBids")}))},t.videoAdapters=[],t.registerBidAdapter=function(e,n){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,i=void 0===r?[]:r;e&&n?"function"==typeof e.callBids?(f[n]=e,i.includes("video")&&t.videoAdapters.push(n),i.includes("native")&&a.nativeAdapters.push(n)):d.logError("Bidder adaptor error for bidder code: "+n+"bidder must implement a callBids() function"):d.logError("bidAdaptor or bidderCode not specified")},t.aliasBidAdapter=function(e,t){if(void 0===f[t]){var n=f[e];if(void 0===n)d.logError('bidderCode "'+e+'" is not an existing bidder.',"adaptermanager.aliasBidAdapter");else try{var r=new n.constructor;r.setBidderCode(t),this.registerBidAdapter(r,t)}catch(t){d.logError(e+" bidder does not currently support aliasing.","adaptermanager.aliasBidAdapter")}}else d.logMessage('alias name "'+t+'" has been already specified.')},t.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,b[n]=t):d.logError('Prebid Error: Analytics adaptor error for analytics "'+n+'"\n        analytics adapter must implement an enableAnalytics() function'):d.logError("Prebid Error: analyticsAdapter or analyticsCode not specified")},t.enableAnalytics=function(e){d.isArray(e)||(e=[e]),d._each(e,(function(e){var t=b[e.provider];t?t.enableAnalytics(e):d.logError("Prebid Error: no analytics adapter found in registry for\n        "+e.provider+".")}))},t.setBidderSequence=function(e){g[e]?v=e:d.logWarn("Invalid order: "+e+". Bidder Sequence was not set.")},t.setS2SConfig=function(e){l=e}}),(function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=(function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),o=n(0),a=n(26),s=n(13),d=n(44),u=n(17),c=n(8),f=n(4),l=f.EVENTS.AUCTION_END,p=n(0),g=n(9),b={byAdUnit:[],all:[],oneTime:null,timer:!1},v={};function m(e){return e.bidderCode}function h(e){return e.bidder}function y(e,t){return e+t}function E(){return pbjs._bidsRequested.map((function(e){return e.bids})).reduce(o.flatten,[]).filter(o.adUnitsFilter.bind(this,pbjs._adUnitCodes)).map((function(e){return"indexExchange"===e.bidder?e.sizes.length:1})).reduce((function(e,t){return e+t}),0)===pbjs._bidsReceived.filter(o.adUnitsFilter.bind(this,pbjs._adUnitCodes)).length}function S(e,t){var n={},r=pbjs.bidderSettings;if(t&&r){var i=w();T(n,i,t)}return e&&t&&r&&r[e]&&r[e][f.JSON_MAPPING.ADSERVER_TARGETING]?(T(n,r[e],t),t.alwaysUseBid=r[e].alwaysUseBid,t.sendStandardTargeting=r[e].sendStandardTargeting):v[e]&&(T(n,v[e],t),t.alwaysUseBid=v[e].alwaysUseBid,t.sendStandardTargeting=v[e].sendStandardTargeting),t.native&&Object.keys(t.native).forEach((function(e){var r=s.NATIVE_KEYS[e],i=t.native[e];r&&(n[r]=i)})),n}function T(e,t,n){var r=t[f.JSON_MAPPING.ADSERVER_TARGETING];return n.size=n.getSize(),p._each(r,(function(r){var i=r.key,o=r.val;if(e[i]&&p.logWarn("The key: "+i+" is getting ovewritten"),p.isFn(o))try{o=o(n)}catch(e){p.logError("bidmanager","ERROR",e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&"hb_deal"!==i||!p.isEmptyStr(o)&&null!=o?e[i]=o:p.logInfo("suppressing empty key '"+i+"' from adserver targeting")})),e}function A(e,t){var n=this;p.isArray(e)&&e.forEach((function(e){var r=t||pbjs._adUnitCodes,i=[pbjs._bidsReceived.filter(o.adUnitsFilter.bind(n,r)).reduce(I,{})];e.apply(pbjs,i)}))}function I(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}function _(e){var t=e.bidderCode,n=e.cpm;if(t&&pbjs.bidderSettings&&pbjs.bidderSettings[t]&&"function"==typeof pbjs.bidderSettings[t].bidCpmAdjustment)try{n=pbjs.bidderSettings[t].bidCpmAdjustment.call(null,e.cpm,r({},e))}catch(e){p.logError("Error during bid adjustment","bidmanager.js",e)}n>=0&&(e.cpm=n)}function w(){var e=c.config.getConfig("priceGranularity"),t=pbjs.bidderSettings;return t[f.JSON_MAPPING.BD_SETTING_STANDARD]||(t[f.JSON_MAPPING.BD_SETTING_STANDARD]={adserverTargeting:[{key:"hb_bidder",val:function(e){return e.bidderCode}},{key:"hb_adid",val:function(e){return e.adId}},{key:"hb_pb",val:function(t){return e===f.GRANULARITY_OPTIONS.AUTO?t.pbAg:e===f.GRANULARITY_OPTIONS.DENSE?t.pbDg:e===f.GRANULARITY_OPTIONS.LOW?t.pbLg:e===f.GRANULARITY_OPTIONS.MEDIUM?t.pbMg:e===f.GRANULARITY_OPTIONS.HIGH?t.pbHg:e===f.GRANULARITY_OPTIONS.CUSTOM?t.pbCg:void 0}},{key:"hb_size",val:function(e){return e.size}},{key:"hb_deal",val:function(e){return e.dealId}}]}),t[f.JSON_MAPPING.BD_SETTING_STANDARD]}t.getTimedOutBidders=function(){return pbjs._bidsRequested.map(m).filter(o.uniques).filter((function(e){return pbjs._bidsReceived.map(h).filter(o.uniques).indexOf(e)<0}))},t.bidsBackAll=function(){return E()},t.addBidResponse=function(e,n){var l;function v(){if(n.timeToRespond>pbjs.cbTimeout+pbjs.timeoutBuffer){t.executeCallback(!0)}}function m(){var e,r;g.emit(f.EVENTS.BID_RESPONSE,n),pbjs._bidsReceived.push(n),n.adUnitCode&&(function(e){var t=this;return pbjs._bidsRequested.map((function(n){return n.bids.filter(o.adUnitsFilter.bind(t,pbjs._adUnitCodes)).filter((function(t){return t.placementCode===e}))})).reduce(o.flatten,[]).map((function(e){return"indexExchange"===e.bidder?e.sizes.length:1})).reduce(y,0)===pbjs._bidsReceived.filter((function(t){return t.adUnitCode===e})).length})(n.adUnitCode)&&(e=n.adUnitCode,r=[e],A(b.byAdUnit,r)),E()&&t.executeCallback()}(function(){function t(e){return"Invalid bid from "+n.bidderCode+". Ignoring bid: "+e}if(!n)return p.logError("Some adapter tried to add an undefined bid for "+e+"."),!1;if(!e)return p.logError(t("No adUnitCode was supplied to addBidResponse.")),!1;if("native"===n.mediaType&&!(0,s.nativeBidIsValid)(n))return p.logError(t("Native bid missing some required properties.")),!1;if("video"===n.mediaType&&!n.vastUrl&&!n.vastXml)return p.logError(t("Video bid has no vastUrl or vastXml property.")),!1;if("banner"===n.mediaType&&!(function(t){if((t.width||0===t.width)&&(t.height||0===t.height))return!0;var n=(0,o.getBidderRequest)(t.bidderCode,e),r=n&&n.bids&&n.bids[0]&&n.bids[0].sizes,a=p.parseSizesInput(r);if(1===a.length){var s=a[0].split("x"),d=i(s,2),u=d[0],c=d[1];return t.width=u,t.height=c,!0}return!1})(n))return p.logError(t("Banner bids require a width and height")),!1;return!0})()&&(!(function(){var t=(0,o.getBidderRequest)(n.bidderCode,e);r(n,{requestId:t.requestId,responseTimestamp:(new Date).getTime(),requestTimestamp:t.start,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:e}),n.timeToRespond=n.responseTimestamp-n.requestTimestamp,g.emit(f.EVENTS.BID_ADJUSTMENT,n);var i=t.bids&&t.bids[0]&&t.bids[0].renderer;i&&(n.renderer=u.Renderer.install({url:i.url}),n.renderer.setRender(i.render));var s=(0,a.getPriceBucketString)(n.cpm,c.config.getConfig("customPriceBucket"),c.config.getConfig("currency.granularityMultiplier"));n.pbLg=s.low,n.pbMg=s.med,n.pbHg=s.high,n.pbAg=s.auto,n.pbDg=s.dense,n.pbCg=s.custom;var d={};n.bidderCode&&(n.cpm>0||n.dealId)&&(d=S(n.bidderCode,n));n.adserverTargeting=d})(),"video"===n.mediaType?(l=n,c.config.getConfig("usePrebidCache")?(0,d.store)([l],(function(e,t){e?p.logWarn("Failed to save to the video cache: "+e+". Video bid must be discarded."):(l.videoCacheKey=t[0].uuid,l.vastUrl||(l.vastUrl=(0,d.getCacheUrl)(l.videoCacheKey)),m()),v()})):(m(),v())):(v(),m()))},t.getKeyValueTargetingPairs=function(){return S.apply(void 0,arguments)},t.registerDefaultBidderSetting=function(e,t){v[e]=t},t.executeCallback=function(e){if(!e&&b.timer&&clearTimeout(b.timer),!0!==b.all.called&&(A(b.all),b.all.called=!0,e)){var n=t.getTimedOutBidders();n.length&&g.emit(f.EVENTS.BID_TIMEOUT,n)}if(b.oneTime){g.emit(l);try{A([b.oneTime])}catch(e){p.logError("Error executing bidsBackHandler",null,e)}finally{b.oneTime=null,b.timer=!1,pbjs.clearAuction()}}},t.externalCallbackReset=function(){b.all.called=!1},t.addOneTimeCallback=function(e,t){b.oneTime=e,b.timer=t},t.addCallback=function(e,t,n){t.id=e,f.CB.TYPE.ALL_BIDS_BACK===n?b.all.push(t):f.CB.TYPE.AD_UNIT_BIDS_BACK===n&&b.byAdUnit.push(t)},g.on(f.EVENTS.BID_ADJUSTMENT,(function(e){_(e)})),t.adjustBids=function(){return _.apply(void 0,arguments)},t.getStandardBidderAdServerTargeting=function(){return w()[f.JSON_MAPPING.ADSERVER_TARGETING]}}),(function(e,t,n){"use strict";var r=n(0);t.createBid=function(e,t){return new function(e,t){var n=t&&t.bidId||r.getUniqueIdentifierStr(),i=e||0;this.bidderCode=t&&t.bidder||"",this.width=0,this.height=0,this.statusMessage=(function(){switch(i){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.adId=n,this.mediaType="banner",this.getStatusCode=function(){return i},this.getSize=function(){return this.width+"x"+this.height}}(e,t)}}),(function(e,t){e.exports={JSON_MAPPING:{PL_CODE:"code",PL_SIZE:"sizes",PL_BIDS:"bids",BD_BIDDER:"bidder",BD_ID:"paramsd",BD_PL_ID:"placementId",ADSERVER_TARGETING:"adserverTargeting",BD_SETTING_STANDARD:"standard"},REPO_AND_VERSION:"prebid_prebid_0.28.0",DEBUG_MODE:"pbjs_debug",STATUS:{GOOD:1,NO_BID:2},CB:{TYPE:{ALL_BIDS_BACK:"allRequestedBidsBack",AD_UNIT_BIDS_BACK:"adUnitBidsBack",BID_WON:"bidWon",REQUEST_BIDS:"requestBids"}},EVENTS:{AUCTION_INIT:"auctionInit",AUCTION_END:"auctionEnd",BID_ADJUSTMENT:"bidAdjustment",BID_TIMEOUT:"bidTimeout",BID_REQUESTED:"bidRequested",BID_RESPONSE:"bidResponse",BID_WON:"bidWon",SET_TARGETING:"setTargeting",REQUEST_BIDS:"requestBids"},EVENT_ID_PATHS:{bidWon:"adUnitCode"},GRANULARITY_OPTIONS:{LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},TARGETING_KEYS:["hb_bidder","hb_adid","hb_pb","hb_size","hb_deal"],S2S:{DEFAULT_ENDPOINT:"https://prebid.adnxs.com/pbs/v1/auction",SRC:"s2s",ADAPTER:"prebidServer",SYNC_ENDPOINT:"https://prebid.adnxs.com/pbs/v1/cookie_sync",SYNCED_BIDDERS_KEY:"pbjsSyncs"}}}),(function(e,t,n){"use strict";var r=n(0),i={};function o(e,t){var n=document.createElement("script");n.type="text/javascript",n.async=!0,t&&"function"==typeof t&&(n.readyState?n.onreadystatechange=function(){"loaded"!==n.readyState&&"complete"!==n.readyState||(n.onreadystatechange=null,t())}:n.onload=function(){t()}),n.src=e;var r=document.getElementsByTagName("head");(r=r.length?r:document.getElementsByTagName("body")).length&&(r=r[0]).insertBefore(n,r.firstChild)}t.loadScript=function(e,t,n){e?n?i[e]?t&&"function"==typeof t&&(i[e].loaded?t():i[e].callbacks.push(t)):(i[e]={loaded:!1,callbacks:[]},t&&"function"==typeof t&&i[e].callbacks.push(t),o(e,(function(){i[e].loaded=!0;try{for(var t=0;t<i[e].callbacks.length;t++)i[e].callbacks[t]()}catch(e){r.logError("Error executing callback","adloader.js:loadScript",e)}}))):o(e,t):r.logError("Error attempting to request empty URL","adloader.js:loadScript")}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="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};t.setAjaxTimeout=function(e){d=e},t.ajax=function(e,t,n){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var c=void 0,f=!1,l=u.method||(n?"POST":"GET"),p="object"===(void 0===t?"undefined":i(t))?t:{success:function(){a.logMessage("xhr success")},error:function(e){a.logError("xhr error",null,e)}};if("function"==typeof t&&(p.success=t),window.XMLHttpRequest?void 0===(c=new window.XMLHttpRequest).responseType&&(f=!0):f=!0,f?((c=new window.XDomainRequest).onload=function(){p.success(c.responseText,c)},c.onerror=function(){p.error("error",c)},c.ontimeout=function(){p.error("timeout",c)},c.onprogress=function(){a.logMessage("xhr onprogress")}):c.onreadystatechange=function(){if(c.readyState===s){var e=c.status;e>=200&&e<300||304===e?p.success(c.responseText,c):p.error(c.statusText,c)}},"GET"===l&&n){var g=(0,o.parse)(e);r(g.search,n),e=(0,o.format)(g)}c.open(l,e),c.timeout=d,f||(u.withCredentials&&(c.withCredentials=!0),a._each(u.customHeaders,(function(e,t){c.setRequestHeader(t,e)})),u.preflight&&c.setRequestHeader("X-Requested-With","XMLHttpRequest"),c.setRequestHeader("Content-Type",u.contentType||"text/plain")),c.send("POST"===l&&n)}catch(e){a.logError("xhr construction",e)}};var o=n(11),a=n(0),s=4,d=3e3}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e;return{callBids:function(){},setBidderCode:function(e){t=e},getBidderCode:function(){return t}}}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="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};t.newConfig=g;var o=n(26);var a=n(0),s=!1,d=3e3,u=window.location.origin,c=100,f=!1,l={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},p="*";function g(){var e=[],t={_debug:s,get debug(){return pbjs.logging||!1===pbjs.logging?pbjs.logging:this._debug},set debug(e){this._debug=e},_bidderTimeout:d,get bidderTimeout(){return pbjs.bidderTimeout||this._bidderTimeout},set bidderTimeout(e){this._bidderTimeout=e},_publisherDomain:u,get publisherDomain(){return pbjs.publisherDomain||this._publisherDomain},set publisherDomain(e){this._publisherDomain=e},_cookieSyncDelay:c,get cookieSyncDelay(){return pbjs.cookieSyncDelay||this._cookieSyncDelay},set cookieSyncDelay(e){this._cookieSyncDelay=e},_priceGranularity:l.MEDIUM,set priceGranularity(e){(function(e){if(!e)return a.logError("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof e)n(e)||a.logWarn("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if("object"===(void 0===e?"undefined":i(e))&&!(0,o.isValidPriceConfig)(e))return a.logError("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0})(e)&&("string"==typeof e?this._priceGranularity=n(e)?e:l.MEDIUM:"object"===(void 0===e?"undefined":i(e))&&(this._customPriceBucket=e,this._priceGranularity=l.CUSTOM,a.logMessage("Using custom price granularity")))},get priceGranularity(){return this._priceGranularity},_customPriceBucket:{},get customPriceBucket(){return this._customPriceBucket},_sendAllBids:f,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},set bidderSequence(e){pbjs.setBidderSequence(e)},set s2sConfig(e){pbjs.setS2SConfig(e)}};function n(e){return Object.keys(l).find((function(t){return e===l[t]}))}return{getConfig: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?a.deepAccess(t,n):t}return function(t,n){var r=n;if("string"!=typeof t&&(r=t,t=p),"function"==typeof r)return e.push({topic:t,callback:r}),function(){e.splice(e.indexOf(n),1)};a.logError("listener must be a function")}.apply(void 0,arguments)},setConfig:function(n){var o,s;"object"!==(void 0===n?"undefined":i(n))&&a.logError("setConfig options must be an object"),r(t,n),o=n,s=Object.keys(o),e.filter((function(e){return s.includes(e.topic)})).forEach((function(e){var t,n,r;e.callback((t={},n=e.topic,r=o[e.topic],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t))})),e.filter((function(e){return e.topic===p})).forEach((function(e){return e.callback(o)}))}}}t.config=g()}),(function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(0),o=n(4),a=Array.prototype.slice,s=Array.prototype.push,d=i._map(o.EVENTS,(function(e){return e})),u=o.EVENT_ID_PATHS,c=[];e.exports=(function(){var e={},t={};return t.on=function(t,n,r){if(a=t,i.contains(d,a)){var o=e[t]||{que:[]};r?(o[r]=o[r]||{que:[]},o[r].que.push(n)):o.que.push(n),e[t]=o}else i.logError("Wrong event name : "+t+" Valid event names :"+d);var a},t.emit=function(t){!(function(t,n){i.logMessage("Emitting event for: "+t);var r=n[0]||{},o=r[u[t]],a=e[t]||{que:[]},d=i._map(a,(function(e,t){return t})),f=[];c.push({eventType:t,args:r,id:o}),o&&i.contains(d,o)&&s.apply(f,a[o].que),s.apply(f,a.que),i._each(f,(function(e){if(e)try{e.apply(null,n)}catch(e){i.logError("Error executing handler:","events.js",e)}}))})(t,a.call(arguments,1))},t.off=function(t,n,r){var o=e[t];i.isEmpty(o)||i.isEmpty(o.que)&&i.isEmpty(o[r])||r&&(i.isEmpty(o[r])||i.isEmpty(o[r].que))||(r?i._each(o[r].que,(function(e){var t=o[r].que;e===n&&t.splice(i.indexOf.call(t,e),1)})):i._each(o.que,(function(e){var t=o.que;e===n&&t.splice(i.indexOf.call(t,e),1)})),e[t]=o)},t.get=function(){return e},t.getEvents=function(){var e=[];return i._each(c,(function(t){var n=r({},t);e.push(n)})),e},t})()}),,(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();function i(e){return e?e.replace(/^\?/,"").split("&").reduce((function(e,t){var n=t.split("="),i=r(n,2),o=i[0],a=i[1];return/\[\]$/.test(o)?(e[o=o.replace("[]","")]=e[o]||[],e[o].push(a)):e[o]=a||"",e}),{}):{}}function o(e){return Object.keys(e).map((function(t){return Array.isArray(e[t])?e[t].map((function(e){return t+"[]="+e})).join("&"):t+"="+e[t]})).join("&")}t.parseQS=i,t.formatQS=o,t.parse=function(e){var t=document.createElement("a");return t.href=decodeURIComponent(e),{protocol:(t.protocol||"").replace(/:$/,""),hostname:t.hostname,port:+t.port,pathname:t.pathname.replace(/^(?!\/)/,"/"),search:i(t.search||""),hash:(t.hash||"").replace(/^#/,""),host:t.host}},t.format=function(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":"+e.port:""))+(e.pathname||"")+(e.search?"?"+o(e.search||""):"")+(e.hash?"#"+e.hash:"")}}),(function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasNonNativeBidder=t.nativeBidder=t.nativeAdUnit=t.NATIVE_TARGETING_KEYS=t.NATIVE_KEYS=t.nativeAdapters=void 0,t.processNativeAdUnitParams=function(e){if(e&&e.type&&(function(e){if(!e||!Object.keys(a).includes(e))return(0,r.logError)(e+" nativeParam is not supported"),!1;return!0})(e.type))return a[e.type];return e},t.nativeBidIsValid=function(e){var t=(0,r.getBidRequest)(e.adId);if(!t)return!1;var n=t.nativeParams;if(!n)return!0;var i=Object.keys(n).filter((function(e){return n[e].required})),o=Object.keys(e.native).filter((function(t){return e.native[t]}));return i.every((function(e){return o.includes(e)}))},t.fireNativeImpressions=function(e){(e.native&&e.native.impressionTrackers||[]).forEach((function(e){(0,r.insertPixel)(e)}))};var r=n(0),i=t.nativeAdapters=[],o=t.NATIVE_KEYS={title:"hb_native_title",body:"hb_native_body",sponsoredBy:"hb_native_brand",image:"hb_native_image",icon:"hb_native_icon",clickUrl:"hb_native_linkurl",cta:"hb_native_cta"},a=(t.NATIVE_TARGETING_KEYS=Object.keys(o).map((function(e){return o[e]})),{image:{image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}});t.nativeAdUnit=function(e){return"native"===e.mediaType};var s=t.nativeBidder=function(e){return i.includes(e.bidder)};t.hasNonNativeBidder=function(e){return e.bids.filter((function(e){return!s(e)})).length}}),(function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)}),(function(e,t,n){var r=n(14),i=n(12),o=n(20),a=n(255),s=n(31),d="prototype",u=function(e,t,n){var c,f,l,p,g=e&u.F,b=e&u.G,v=e&u.S,m=e&u.P,h=e&u.B,y=b?r:v?r[t]||(r[t]={}):(r[t]||{})[d],E=b?i:i[t]||(i[t]={}),S=E[d]||(E[d]={});for(c in b&&(n=t),n)l=((f=!g&&y&&void 0!==y[c])?y:n)[c],p=h&&f?s(l,r):m&&"function"==typeof l?s(Function.call,l):l,y&&a(y,c,l,e&u.U),E[c]!=l&&o(E,c,p),m&&S[c]!=l&&(S[c]=l)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u}),(function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=o;var r=n(5),i=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0));function o(e){var t=this,n=e.url,o=e.config,a=e.id,s=e.callback,d=e.loaded;this.url=n,this.config=o,this.handlers={},this.id=a,this.loaded=d,this.cmd=[],this.push=function(e){"function"==typeof e?t.loaded?e.call():t.cmd.push(e):i.logError("Commands given to Renderer.push must be wrapped in a function")},this.callback=s||function(){t.loaded=!0,t.process()},(0,r.loadScript)(n,this.callback,!0)}o.install=function(e){return new o({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded})},o.prototype.getConfig=function(){return this.config},o.prototype.setRender=function(e){this.render=e},o.prototype.setEventHandlers=function(e){this.handlers=e},o.prototype.handleVideoEvent=function(e){var t=e.id,n=e.eventName;"function"==typeof this.handlers[n]&&this.handlers[n](),i.logMessage("Prebid Renderer event for id "+t+" type "+n)},o.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){i.logError("Error processing Renderer command: ",e)}}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StorageManager=t.pbjsSyncsKey=void 0,t.newStorageManager=i;var r=n(0);t.pbjsSyncsKey="pbjsSyncs";function i(){function e(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch(e){(0,r.logWarn)("could not set storage item: ",e)}}function t(e){try{var t=JSON.parse(localStorage.getItem(e));return t&&t.length?t:[]}catch(e){return(0,r.logWarn)("could not get storage item: ",e),[]}}return{get:t,set:e,add:function(n,r){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e(n,t(n).concat([r]).filter((function(e,t,n){return!i||n.indexOf(e)===t})))},remove:function(n,r){e(n,t(n).filter((function(e){return e!==r})))}}}t.StorageManager=i()}),(function(e,t,n){"use strict";var r=n(0),i=n(8),o=n(13);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(2),d=n(0),u=n(4),c=t,f=[];function l(e){return"string"==typeof e?[e]:d.isArray(e)?e:pbjs._adUnitCodes||[]}function p(){return s.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(u.TARGETING_KEYS).filter(r.uniques)}function g(e){return{adUnitCode:e,cpm:0,adserverTargeting:{},timeToRespond:0}}c.resetPresetTargeting=function(e){if((0,r.isGptPubadsDefined)()){var t=l(e),n=pbjs.adUnits.filter((function(e){return t.includes(e.code)}));window.googletag.pubads().getSlots().forEach((function(e){f.forEach((function(t){n.forEach((function(n){n.code!==e.getAdUnitPath()&&n.code!==e.getSlotElementId()||e.setTargeting(t,null)}))}))}))}},c.getAllTargeting=function(e){var t,n,s,d,b,v,m=l(e),h=(d=m,b=c.getWinningBids(d),v=p(),b=b.map((function(e){return a({},e.adUnitCode,Object.keys(e.adserverTargeting).filter((function(t){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===v.indexOf(t)})).map((function(t){return a({},t.substring(0,20),[e.adserverTargeting[t]])})))}))).concat(function(e){var t=p();return pbjs._bidsReceived.filter(r.adUnitsFilter.bind(this,e)).map((function(e){if(e.alwaysUseBid)return a({},e.adUnitCode,Object.keys(e.adserverTargeting).map((function(n){if(!(t.indexOf(n)>-1))return a({},n.substring(0,20),[e.adserverTargeting[n]])})).filter((function(e){return e})))})).filter((function(e){return e}))}(m)).concat(i.config.getConfig("enableSendAllBids")?(t=u.TARGETING_KEYS.concat(o.NATIVE_TARGETING_KEYS),n=[],s=(0,r.groupBy)(pbjs._bidsReceived,"adUnitCode"),Object.keys(s).forEach((function(e){var t=(0,r.groupBy)(s[e],"bidderCode");Object.keys(t).forEach((function(e){return n.push(t[e].reduce(r.getHighestCpm,g()))}))})),n.map((function(e){if(e.adserverTargeting)return a({},e.adUnitCode,(n=e,t.filter((function(t){return void 0!==e.adserverTargeting[t]})).map((function(e){return a({},(e+"_"+n.bidderCode).substring(0,20),[n.adserverTargeting[e]])}))));var n})).filter((function(e){return e}))):[]);return h.map((function(e){Object.keys(e).map((function(t){e[t].map((function(e){-1===f.indexOf(Object.keys(e)[0])&&(f=Object.keys(e).concat(f))}))}))})),h},c.setTargeting=function(e){window.googletag.pubads().getSlots().forEach((function(t){e.filter((function(e){return Object.keys(e)[0]===t.getAdUnitPath()||Object.keys(e)[0]===t.getSlotElementId()})).forEach((function(e){return e[Object.keys(e)[0]].forEach((function(e){e[Object.keys(e)[0]].map((function(n){return d.logMessage("Attempting to set key value for slot: "+t.getSlotElementId()+" key: "+Object.keys(e)[0]+" value: "+n),n})).forEach((function(n){t.setTargeting(Object.keys(e)[0],n)}))}))}))}))},c.getWinningBids=function(e){var t=l(e);return pbjs._bidsReceived.filter((function(e){return t.includes(e.adUnitCode)})).filter((function(e){return e.cpm>0})).map((function(e){return e.adUnitCode})).filter(r.uniques).map((function(e){return pbjs._bidsReceived.filter((function(t){return t.adUnitCode===e?t:null})).reduce(r.getHighestCpm,g(e))}))},c.setTargetingForAst=function(){var e=pbjs.getAdserverTargeting();Object.keys(e).forEach((function(t){return Object.keys(e[t]).forEach((function(n){if(d.logMessage("Attempting to set targeting for targetId: "+t+" key: "+n+" value: "+e[t][n]),d.isStr(e[t][n])||d.isArray(e[t][n])){var r={},i="hb_adid";r[n.substring(0,i.length)===i?n.toUpperCase():n]=e[t][n],window.apntag.setKeywords(t,r)}}))}))},c.isApntagDefined=function(){if(window.apntag&&d.isFn(window.apntag.setKeywords))return!0}}),(function(e,t,n){var r=n(249),i=n(254);e.exports=n(21)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}}),(function(e,t,n){e.exports=!n(22)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))}),(function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}}),(function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}}),(function(e,t,n){var r=n(33);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}}),(function(e,t,n){var r=n(38)("unscopables"),i=Array.prototype;null==i[r]&&n(20)(i,r,{}),e.exports=function(e){i[r][e]=!0}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=2,o={buckets:[{min:0,max:5,increment:.5}]},a={buckets:[{min:0,max:20,increment:.1}]},s={buckets:[{min:0,max:20,increment:.01}]},d={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},u={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};function c(e,t,n){var r="";if(!f(t))return r;var o=t.buckets.reduce((function(e,t){return e.max>t.max?e:t}),{max:0}),a=t.buckets.find((function(t){if(e>o.max*n){var a=t.precision||i;r=(t.max*n).toFixed(a)}else if(e<=t.max*n&&e>=t.min*n)return t}));return a&&(r=(function(e,t,n,r){n||(n=i);var o=1/(t*r);return(Math.floor(e*o)/o).toFixed(n)})(e,a.increment,a.precision,n)),r}function f(e){if(r.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach((function(e){void 0!==e.min&&e.max&&e.increment||(t=!1)})),t}t.getPriceBucketString=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":c(e,o,n),med:""===r?"":c(e,a,n),high:""===r?"":c(e,s,n),auto:""===r?"":c(e,u,n),dense:""===r?"":c(e,d,n),custom:""===r?"":c(e,t,n)}},t.isValidPriceConfig=f}),(function(e,t){var n;n=(function(){return this})();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGlobal=function(){return window.pbjs},window.pbjs=window.pbjs||{},window.pbjs.cmd=window.pbjs.cmd||[],window.pbjs.que=window.pbjs.que||[]}),(function(e,t,n){"use strict";var r,i=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0)),o=n(5),a=(r=o)&&r.__esModule?r:{default:r},s=n(18);var d=t,u=[];function c(){u.forEach((function(e){var t;i.logMessage("Invoking cookie sync for bidder: "+e.bidder),"iframe"===e.type?i.insertCookieSyncIframe(e.url,!1):i.insertPixel(e.url),t=e.bidder,s.StorageManager.add(s.pbjsSyncsKey,t,!0)})),u.length=0}d.queueSync=function(e){var t=e.bidder,n=e.url,r=e.type;u.push({bidder:t,url:n,type:r})},d.syncCookies=function(e){e?setTimeout(c,e):c()},d.cookieSet=function(e){i.isSafariBrowser()&&a.default.loadScript(e,null,!0)}}),(function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}}),(function(e,t,n){var r=n(256);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}}),(function(e,t,n){var r=n(31),i=n(24),o=n(34),a=n(36),s=n(257);e.exports=function(e,t){var n=1==e,d=2==e,u=3==e,c=4==e,f=6==e,l=5==e||f,p=t||s;return function(t,s,g){for(var b,v,m=o(t),h=i(m),y=r(s,g,3),E=a(h.length),S=0,T=n?p(t,E):d?p(t,0):void 0;E>S;S++)if((l||S in h)&&(v=y(b=h[S],S,m),e))if(n)T[S]=v;else if(v)switch(e){case 3:return!0;case 5:return b;case 6:return S;case 2:T.push(b)}else if(c)return!1;return f?-1:u||c?c:T}}}),(function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}}),(function(e,t,n){var r=n(35);e.exports=function(e){return Object(r(e))}}),(function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}}),(function(e,t,n){var r=n(37),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}}),(function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}}),(function(e,t,n){var r=n(39)("wks"),i=n(23),o=n(14).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r}),(function(e,t,n){var r=n(14),i="__core-js_shared__",o=r[i]||(r[i]={});e.exports=function(e){return o[e]||(o[e]={})}}),(function(e,t,n){var r=n(41),i=n(36),o=n(264);e.exports=function(e){return function(t,n,a){var s,d=r(t),u=i(d.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=d[c++])!=s)return!0}else for(;u>c;c++)if((e||c in d)&&d[c]===n)return e||c||0;return!e&&-1}}}),(function(e,t,n){var r=n(24),i=n(35);e.exports=function(e){return r(i(e))}}),,,(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.store=function(e,t){var n={puts:e.map(o)};(0,r.ajax)(i,(a=t,{success:function(e){var t=void 0;try{t=JSON.parse(e).responses}catch(e){return void a(e,[])}t?a(null,t):a(new Error("The cache server didn't respond with a responses property."),[])},error:function(e,t){a(new Error("Error storing video ad in the cache: "+e+": "+JSON.stringify(t)),[])}}),JSON.stringify(n),{contentType:"text/plain",withCredentials:!0});var a},t.getCacheUrl=function(e){return i+"?uuid="+e};var r=n(6),i="https://prebid.adnxs.com/pbc/v1/cache";function o(e){return{type:"xml",value:e.vastXml?e.vastXml:'<VAST version="3.0">\n    <Ad>\n      <Wrapper>\n        <AdSystem>prebid.org wrapper</AdSystem>\n        <VASTAdTagURI><![CDATA['+e.vastUrl+"]]></VASTAdTagURI>\n        <Impression></Impression>\n        <Creatives></Creatives>\n      </Wrapper>\n    </Ad>\n  </VAST>"}}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setWindow=t.getScreenWidth=t.mapSizes=void 0;var r=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0));var i=void 0;function o(e){var t=e||i||window,n=t.document;return t.innerWidth?t.innerWidth:n.body.clientWidth?n.body.clientWidth:n.documentElement.clientWidth?n.documentElement.clientWidth:0}t.mapSizes=function(e){if(t=e.sizeMapping,!(r.isArray(t)&&t.length>0||(r.logInfo("No size mapping defined"),0)))return e.sizes;var t;var n=o();if(!n){var i=e.sizeMapping.reduce((function(e,t){return e.minWidth<t.minWidth?t:e}));return i.sizes&&i.sizes.length?i.sizes:e.sizes}var a="",s=e.sizeMapping.find((function(e){return n>=e.minWidth}));return s&&s.sizes&&s.sizes.length?(a=s.sizes,r.logMessage("AdUnit : "+e.code+" resized based on device width to : "+a)):r.logMessage("AdUnit : "+e.code+" not mapped to any sizes for device width. This request will be suppressed."),a},t.getScreenWidth=o,t.setWindow=function(e){i=e}}),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(function(e,t,n){e.exports=n(244)}),(function(e,t,n){"use strict";var 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},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(28),a=n(0),s=n(245),d=n(13);n(246);var u=n(11),c=n(274),f=n(29),l=n(5),p=n(6),g=n(8);function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=(0,o.getGlobal)(),m=n(4),h=n(0),y=n(2),E=n(1),S=n(3),T=n(9),A=n(275),I=n(19),_=m.EVENTS.BID_WON,w=m.EVENTS.SET_TARGETING,j=!1,C=[],O={bidWon:function(e){var t=v._bidsRequested.map((function(e){return e.bids.map((function(e){return e.placementCode}))})).reduce(a.flatten).filter(a.uniques);if(!h.contains(t,e))return void h.logError('The "'+e+'" placement is not defined.');return!0}};function U(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function B(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){h.logError("Error processing command :","prebid.js",e)}}))}v._bidsRequested=[],v._bidsReceived=[],v._adUnitCodes=[],v._winningBids=[],v._adsReceived=[],v.bidderSettings=v.bidderSettings||{},v.bidderTimeout=v.bidderTimeout,v.cbTimeout=v.cbTimeout||200,v.timeoutBuffer=200,v.logging=v.logging,v.publisherDomain=v.publisherDomain,v.libLoaded=!0,v.version="v0.28.0",h.logInfo("Prebid.js v0.28.0 loaded"),v.adUnits=v.adUnits||[],v.cookieSyncDelay=v.cookieSyncDelay,v.getAdserverTargetingForAdUnitCodeStr=function(e){if(h.logInfo("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=v.getAdserverTargetingForAdUnitCode(e);return h.transformAdServerTargetingObj(t)}h.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},v.getAdserverTargetingForAdUnitCode=function(e){return v.getAdserverTargeting(e)[e]},v.getAdserverTargeting=function(e){return h.logInfo("Invoking pbjs.getAdserverTargeting",arguments),I.getAllTargeting(e).map((function(e){return b({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return b({},Object.keys(e)[0],e[Object.keys(e)[0]].join(", "))})).reduce((function(e,t){return i(t,e)}),{}))})).reduce((function(e,t){var n=Object.keys(t)[0];return e[n]=i({},e[n],t[n]),e}),{})},v.getBidResponses=function(){h.logInfo("Invoking pbjs.getBidResponses",arguments);var e=v._bidsReceived.filter(a.adUnitsFilter.bind(this,v._adUnitCodes)),t=e&&e.length&&e[e.length-1].requestId;return e.map((function(e){return e.adUnitCode})).filter(a.uniques).map((function(n){return e.filter((function(e){return e.requestId===t&&e.adUnitCode===n}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return b({},e[0].adUnitCode,{bids:e})})).reduce((function(e,t){return i(e,t)}),{})},v.getBidResponsesForAdUnitCode=function(e){return{bids:v._bidsReceived.filter((function(t){return t.adUnitCode===e}))}},v.setTargetingForGPTAsync=function(e){if(h.logInfo("Invoking pbjs.setTargetingForGPTAsync",arguments),(0,a.isGptPubadsDefined)()){var t=I.getAllTargeting(e);I.resetPresetTargeting(e),I.setTargeting(t),T.emit(w)}else h.logError("window.googletag is not defined on the page")},v.setTargetingForAst=function(){h.logInfo("Invoking pbjs.setTargetingForAn",arguments),I.isApntagDefined()?(I.setTargetingForAst(),T.emit(w)):h.logError("window.apntag is not defined on the page")},v.allBidsAvailable=function(){return h.logWarn("pbjs.allBidsAvailable will be removed in Prebid 1.0. Alternative solution is in progress. See https://github.com/prebid/Prebid.js/issues/1087 for more details."),h.logInfo("Invoking pbjs.allBidsAvailable",arguments),y.bidsBackAll()},v.renderAd=function(e,t){if(h.logInfo("Invoking pbjs.renderAd",arguments),h.logMessage("Calling renderAd with adId :"+t),e&&t)try{var n=v._bidsReceived.find((function(e){return e.adId===t}));if(n){n.ad=h.replaceAuctionPrice(n.ad,n.cpm),n.url=h.replaceAuctionPrice(n.url,n.cpm),v._winningBids.push(n),T.emit(_,n);var r=n.height,i=n.width,o=n.ad,a=n.mediaType,s=n.adUrl,d=n.renderer;if(d&&d.url)d.render(n);else if(e===document&&!h.inIframe()||"video"===a)h.logError("Error trying to write ad. Ad render call ad id "+t+" was prevented from writing to the main document.");else if(o)e.write(o),e.close(),U(e,i,r);else if(s){var u=h.createInvisibleIframe();u.height=r,u.width=i,u.style.display="inline",u.style.overflow="hidden",u.src=s,h.insertElement(u,e,"body"),U(e,i,r)}else h.logError("Error trying to write ad. No ad for bid response id: "+t)}else h.logError("Error trying to write ad. Cannot find ad by given id : "+t)}catch(e){h.logError("Error trying to write ad Id :"+t+" to the page:"+e.message)}else h.logError("Error trying to write ad Id :"+t+" to the page. Missing document or adId")},v.removeAdUnit=function(e){if(h.logInfo("Invoking pbjs.removeAdUnit",arguments),e)for(var t=0;t<v.adUnits.length;t++)v.adUnits[t].code===e&&v.adUnits.splice(t,1)},v.clearAuction=function(){j=!1,(0,f.syncCookies)(g.config.getConfig("cookieSyncDelay")),h.logMessage("Prebid auction cleared"),C.length&&C.shift()()},v.requestBids=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes;T.emit("requestBids");var o=v.cbTimeout=n||g.config.getConfig("bidderTimeout");if(r=r||v.adUnits,h.logInfo("Invoking pbjs.requestBids",arguments),i&&i.length?r=r.filter((function(e){return i.includes(e.code)})):i=r&&r.map((function(e){return e.code})),r.filter(s.videoAdUnit).filter(s.hasNonVideoBidder).forEach((function(e){h.logError("adUnit "+e.code+" has 'mediaType' set to 'video' but contains a bidder that doesn't support video. No Prebid demand requests will be triggered for this adUnit.");for(var t=0;t<r.length;t++)r[t].code===e.code&&r.splice(t,1)})),r.filter(d.nativeAdUnit).filter(d.hasNonNativeBidder).forEach((function(e){var t=e.bids.filter((function(e){return!(0,d.nativeBidder)(e)})).map((function(e){return e.bidder})).join(", ");h.logError("adUnit "+e.code+" has 'mediaType' set to 'native' but contains non-native bidder(s) "+t+". No Prebid demand requests will be triggered for those bidders."),e.bids=e.bids.filter(d.nativeBidder)})),j)C.push((function(){v.requestBids({bidsBackHandler:t,timeout:o,adUnits:r,adUnitCodes:i})}));else{if(j=!0,v._adUnitCodes=i,y.externalCallbackReset(),v._bidsRequested=[],v._bidsReceived=v._bidsReceived.filter((function(e){return!v._adUnitCodes.includes(e.adUnitCode)})),!r||0===r.length)return h.logMessage("No adUnits configured. No bids requested."),"function"==typeof t&&y.addOneTimeCallback(t,!1),void y.executeCallback();var a=y.executeCallback.bind(y,!0),u=setTimeout(a,o);(0,p.setAjaxTimeout)(o),"function"==typeof t&&y.addOneTimeCallback(t,u),E.callBids({adUnits:r,adUnitCodes:i,cbTimeout:o}),0===v._bidsRequested.length&&y.executeCallback()}},v.addAdUnits=function(e){h.logInfo("Invoking pbjs.addAdUnits",arguments),h.isArray(e)?(e.forEach((function(e){return e.transactionId=h.generateUUID()})),v.adUnits.push.apply(v.adUnits,e)):"object"===(void 0===e?"undefined":r(e))&&(e.transactionId=h.generateUUID(),v.adUnits.push(e))},v.onEvent=function(e,t,n){h.logInfo("Invoking pbjs.onEvent",arguments),h.isFn(t)?!n||O[e].call(null,n)?T.on(e,t,n):h.logError('The id provided is not valid for event "'+e+'" and no handler was set.'):h.logError('The event handler provided is not a function and was not set on event "'+e+'".')},v.offEvent=function(e,t,n){h.logInfo("Invoking pbjs.offEvent",arguments),n&&!O[e].call(null,n)||T.off(e,t,n)},v.addCallback=function(e,t){h.logWarn("pbjs.addCallback will be removed in Prebid 1.0. Please use onEvent instead"),h.logInfo("Invoking pbjs.addCallback",arguments);var n=null;return e&&t&&"function"==typeof t?(n=h.getUniqueIdentifierStr,y.addCallback(n,t,e),n):(h.logError("error registering callback. Check method signature"),n)},v.removeCallback=function(){return h.logWarn("pbjs.removeCallback will be removed in Prebid 1.0. Please use offEvent instead."),null},v.registerBidAdapter=function(e,t){h.logInfo("Invoking pbjs.registerBidAdapter",arguments);try{E.registerBidAdapter(e(),t)}catch(e){h.logError("Error registering bidder adapter : "+e.message)}},v.registerAnalyticsAdapter=function(e){h.logInfo("Invoking pbjs.registerAnalyticsAdapter",arguments);try{E.registerAnalyticsAdapter(e)}catch(e){h.logError("Error registering analytics adapter : "+e.message)}},v.bidsAvailableForAdapter=function(e){h.logInfo("Invoking pbjs.bidsAvailableForAdapter",arguments),v._bidsRequested.find((function(t){return t.bidderCode===e})).bids.map((function(t){return i(t,S.createBid(1),{bidderCode:e,adUnitCode:t.placementCode})})).map((function(e){return v._bidsReceived.push(e)}))},v.createBid=function(e){return h.logInfo("Invoking pbjs.createBid",arguments),S.createBid(e)},v.addBidResponse=function(e,t){h.logWarn("pbjs.addBidResponse will be removed in Prebid 1.0. Each bidder will be passed a reference to addBidResponse function in callBids as an argument. See https://github.com/prebid/Prebid.js/issues/1087 for more details."),h.logInfo("Invoking pbjs.addBidResponse",arguments),y.addBidResponse(e,t)},v.loadScript=function(e,t,n){h.logInfo("Invoking pbjs.loadScript",arguments),(0,l.loadScript)(e,t,n)},v.enableAnalytics=function(e){e&&!h.isEmpty(e)?(h.logInfo("Invoking pbjs.enableAnalytics for: ",e),E.enableAnalytics(e)):h.logError("pbjs.enableAnalytics should be called with option {}")},v.aliasBidder=function(e,t){h.logInfo("Invoking pbjs.aliasBidder",arguments),e&&t?E.aliasBidAdapter(e,t):h.logError("bidderCode and alias must be passed as arguments","pbjs.aliasBidder")},v.setPriceGranularity=function(e){h.logWarn("pbjs.setPriceGranularity will be removed in Prebid 1.0. Use pbjs.setConfig({ priceGranularity: <granularity> }) instead."),h.logInfo("Invoking pbjs.setPriceGranularity",arguments),g.config.setConfig({priceGranularity:e})},v.enableSendAllBids=function(){g.config.setConfig({enableSendAllBids:!0})},v.getAllWinningBids=function(){return v._winningBids},v.buildMasterVideoTagFromAdserverTag=function(e,t){h.logWarn("pbjs.buildMasterVideoTagFromAdserverTag will be removed in Prebid 1.0. Include the dfpVideoSupport module in your build, and use the pbjs.adservers.dfp.buildVideoAdUrl function instead"),h.logInfo("Invoking pbjs.buildMasterVideoTagFromAdserverTag",arguments);var n=(0,u.parse)(e);if(0===v._bidsReceived.length)return e;if("dfp"===t.adserver.toLowerCase()){var r=A.dfpAdserver(t,n);return r.verifyAdserverTag()||h.logError("Invalid adserverTag, required google params are missing in query string"),r.appendQueryParams(),(0,u.format)(r.urlComponents)}h.logError("Only DFP adserver is supported")},v.setBidderSequence=E.setBidderSequence,v.getHighestCpmBids=function(e){return I.getWinningBids(e)},v.setS2SConfig=function(e){if(h.contains(Object.keys(e),"accountId"))if(h.contains(Object.keys(e),"bidders")){var t=i({enabled:!1,endpoint:m.S2S.DEFAULT_ENDPOINT,timeout:1e3,maxBids:1,adapter:m.S2S.ADAPTER,syncEndpoint:m.S2S.SYNC_ENDPOINT,cookieSet:!0,bidders:[]},e);E.setS2SConfig(t)}else h.logError("bidders missing in Server to Server config");else h.logError("accountId missing in Server to Server config")},v.getConfig=g.config.getConfig,v.setConfig=g.config.setConfig,v.que.push((function(){return(0,c.listenMessagesFromCreative)()})),v.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){h.logError("Error processing command :"+e.message)}else h.logError("Commands written into pbjs.cmd.push must be wrapped in a function")},v.que.push=v.cmd.push,v.processQueue=function(){B(v.que),B(v.cmd)}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasNonVideoBidder=t.videoAdUnit=void 0;var r=n(1),i=(t.videoAdUnit=function(e){return"video"===e.mediaType},function(e){return!r.videoAdapters.includes(e.bidder)});t.hasNonVideoBidder=function(e){return e.bids.filter(i).length}}),(function(e,t,n){"use strict";n(247),n(260),n(262),n(265),Number.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}}),(function(e,t,n){n(248),e.exports=n(12).Array.find}),(function(e,t,n){"use strict";var r=n(15),i=n(32)(5),o="find",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(25)(o)}),(function(e,t,n){var r=n(250),i=n(251),o=n(253),a=Object.defineProperty;t.f=n(21)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}}),(function(e,t,n){var r=n(16);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}}),(function(e,t,n){e.exports=!n(21)&&!n(22)((function(){return 7!=Object.defineProperty(n(252)("div"),"a",{get:function(){return 7}}).a}))}),(function(e,t,n){var r=n(16),i=n(14).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}}),(function(e,t,n){var r=n(16);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}}),(function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),(function(e,t,n){var r=n(14),i=n(20),o=n(30),a=n(23)("src"),s="toString",d=Function[s],u=(""+d).split(s);n(12).inspectSource=function(e){return d.call(e)},(e.exports=function(e,t,n,s){var d="function"==typeof n;d&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(d&&(o(n,a)||i(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,s,(function(){return"function"==typeof this&&this[a]||d.call(this)}))}),(function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}}),(function(e,t,n){var r=n(258);e.exports=function(e,t){return new(r(e))(t)}}),(function(e,t,n){var r=n(16),i=n(259),o=n(38)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}}),(function(e,t,n){var r=n(33);e.exports=Array.isArray||function(e){return"Array"==r(e)}}),(function(e,t,n){n(261),e.exports=n(12).Array.findIndex}),(function(e,t,n){"use strict";var r=n(15),i=n(32)(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(25)(o)}),(function(e,t,n){n(263),e.exports=n(12).Array.includes}),(function(e,t,n){"use strict";var r=n(15),i=n(40)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(25)("includes")}),(function(e,t,n){var r=n(37),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}}),(function(e,t,n){n(266),e.exports=n(12).Object.assign}),(function(e,t,n){var r=n(15);r(r.S+r.F,"Object",{assign:n(267)})}),(function(e,t,n){"use strict";var r=n(268),i=n(272),o=n(273),a=n(34),s=n(24),d=Object.assign;e.exports=!d||n(22)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||Object.keys(d({},t)).join("")!=r}))?function(e,t){for(var n=a(e),d=arguments.length,u=1,c=i.f,f=o.f;d>u;)for(var l,p=s(arguments[u++]),g=c?r(p).concat(c(p)):r(p),b=g.length,v=0;b>v;)f.call(p,l=g[v++])&&(n[l]=p[l]);return n}:d}),(function(e,t,n){var r=n(269),i=n(271);e.exports=Object.keys||function(e){return r(e,i)}}),(function(e,t,n){var r=n(30),i=n(41),o=n(40)(!1),a=n(270)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),d=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>d;)r(s,n=t[d++])&&(~o(u,n)||u.push(n));return u}}),(function(e,t,n){var r=n(39)("keys"),i=n(23);e.exports=function(e){return r[e]||(r[e]=i(e))}}),(function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")}),(function(e,t){t.f=Object.getOwnPropertySymbols}),(function(e,t){t.f={}.propertyIsEnumerable}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listenMessagesFromCreative=function(){addEventListener("message",d,!1)};var r,i=n(9),o=(r=i)&&r.__esModule?r:{default:r},a=n(13);var s=n(4).EVENTS.BID_WON;function d(e){var t,n,r,i,d,u,c,f,l,p,g,b,v,m=e.message?"message":"data",h={};try{h=JSON.parse(e[m])}catch(e){return}if(h.adId){var y=pbjs._bidsReceived.find((function(e){return e.adId===h.adId}));"Prebid Request"===h.message&&(t=y,n=h.adServerDomain,r=e.source,i=t.adId,d=t.ad,u=t.adUrl,c=t.width,f=t.height,i&&(p=(l=t).adUnitCode,g=l.width,b=l.height,(v=document.getElementById(window.googletag.pubads().getSlots().find((function(e){return e.getAdUnitPath()===p||e.getSlotElementId()===p})).getSlotElementId()).querySelector("iframe")).width=""+g,v.height=""+b,r.postMessage(JSON.stringify({message:"Prebid Response",ad:d,adUrl:u,adId:i,width:c,height:f}),n)),pbjs._winningBids.push(y),o.default.emit(s,y)),"Prebid Native"===h.message&&((0,a.fireNativeImpressions)(y),pbjs._winningBids.push(y),o.default.emit(s,y))}}}),(function(e,t,n){"use strict";var r=n(11),i=n(19);t.dfpAdserver=function(e,t){var n=new function(e){this.name=e.adserver,this.code=e.code,this.getWinningBidByCode=function(){return(0,i.getWinningBids)(this.code)[0]}}(e);n.urlComponents=t;var o={env:"vp",gdfp_req:"1",impl:"s",unviewed_position_start:"1"},a=["output","iu","sz","url","correlator","description_url","hl"];return n.appendQueryParams=function(){var e,t=n.getWinningBidByCode();t&&(this.urlComponents.search.description_url=encodeURIComponent(t.descriptionUrl),this.urlComponents.search.cust_params=(e=t.adserverTargeting,encodeURIComponent((0,r.formatQS)(e))),this.urlComponents.search.correlator=Date.now())},n.verifyAdserverTag=function(){for(var e in o)if(!this.urlComponents.search.hasOwnProperty(e)||this.urlComponents.search[e]!==o[e])return!1;for(var t in a)if(!this.urlComponents.search.hasOwnProperty(a[t]))return!1;return!0},n}})]);
  pbjsChunk([98],{42:function(r,e,a){r.exports=a(43)},43:function(r,e,a){"use strict";var d=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(r[d]=a[d])}return r},i=a(0),t=a(3),n=a(2),o=a(5),s=a(7).default,c=a(4),p=a(1),l="aardvarkResponse",u="aardvarkRequests",f="aardvark",v="thor.rtk.io",b="thor.rtk.io";function g(r,e){pbjs[e]=function(e){for(var a in e.forEach((function(e){!(function(r,e){if(e.error)return i.logWarn("Aardvark bid received with an error, ignoring... ["+e.error+"]");if(!e.cid)return i.logWarn("Aardvark bid received without a callback id, ignoring...");var a=pbjs[u][r][e.cid];if(!a)return i.logWarn("Aardvark request not found: "+e.cid);if(a.params.sc!==e.id)return i.logWarn("Aardvark bid received with a non matching shortcode "+e.id+" instead of "+a.params.sc);var d=t.createBid(c.STATUS.GOOD,a);d.bidderCode=a.bidder,d.cpm=e.cpm,d.ad=e.adm+i.createTrackPixelHtml(decodeURIComponent(e.nurl)),d.width=a.sizes[0][0],d.height=a.sizes[0][1],n.addBidResponse(a.placementCode,d),pbjs[u][r][e.cid].responded=!0})(r,e)})),pbjs[u][r])if(pbjs[u][r].hasOwnProperty(a)){var d=pbjs[u][r][a];if(!d.responded){var o=t.createBid(c.STATUS.NO_BID,d);o.bidderCode=d.bidder,n.addBidResponse(d.placementCode,o)}}}}var h=function(){var r=new s(f);return pbjs[u]=pbjs[u]||{},r.callBids=function(e){var a=r.getBidderCode(),d=l;return a!==f&&(d=[l,a].join("_")),pbjs[u][a]={},g(a,d),(function(r,e,a){var d=i.getTopWindowLocation(),t="",n=[],s=[];d=d?d.host:v;for(var c,p,l,g,h=0,j=a.length;h<j;h+=1)c=a[h],p=i.getBidIdParameter("ai",c.params),l=i.getBidIdParameter("sc",c.params),p&&p.length&&l&&l.length&&((g=i.getBidIdParameter("host",c.params))&&(b=g),t.length||(t=p),l&&n.push(l),s.push(l+"="+c.bidId),pbjs[u][r][c.bidId]=c);if(!t.length||!n.length)return i.logWarn("Bad bid request params given for adapter $"+r+" ("+f+")");o.loadScript(["//"+b+"/",t,"/",n.join("_"),"/aardvark/?jsonp=pbjs.",e,"&rtkreferer=",d,"&",s.join("&")].join(""))})(a,d,e.bids||[])},d(this,{callBids:r.callBids,setBidderCode:r.setBidderCode})};p.registerBidAdapter(new h,"aardvark"),r.exports=h}},[42]);
  pbjsChunk([97],{46:function(e,i,d){e.exports=d(47)},47:function(e,i,d){"use strict";var a=d(0),r=d(3),n=d(2),t=d(5),s=function(){var e="adblade",i="//rtb.adblade.com/prebidjs/bid?",d=1e-10;return pbjs.adbladeResponse=function(i){var d=/\$(%7B|\{)AUCTION_ID(%7D|\})/gi,t=/\$(%7B|\{)AUCTION_PRICE(%7D|\})/gi,s=/\$(%7B|\{)CLICK_URL(%7D|\})/gi;if(void 0!==i&&i.hasOwnProperty("seatbid")&&!a.isEmpty(i.seatbid))a._each(i.seatbid,(function(i){a._each(i.bid,(function(i){var o=a.getBidRequest(i.impid),p=i.adm+a.createTrackPixelHtml(i.nurl);p=(p=(p=p.replace(d,i.impid)).replace(s,"")).replace(t,i.price);var c=r.createBid(1);c.bidderCode=e,c.cpm=i.price,c.ad=p,c.width=i.w,c.height=i.h,n.addBidResponse(o.placementCode,c)}))}));else{var o=pbjs._bidsRequested.find((function(i){return i.bidderCode===e})).bids;if(o.length>0){var p=r.createBid(2);p.bidderCode=e,n.addBidResponse(o[0].placementCode,p)}}},{callBids:function(e){var r=e.bids||[],n=a.getTopWindowUrl(),s=a.getTopWindowLocation(),o=s.hostname,p=0,c={};r.length>0&&(p=""+r[0].params.partnerId),a._each(r,(function(i){i.sizes[0]instanceof Array||(i.sizes=[i.sizes]),a._each(i.sizes,(function(a){var r=a[0]+"x"+a[1];c[r]=c[r]||{site:{id:p,page:n,domain:o,publisher:{id:p,name:n,domain:o}},id:e.requestId,imp:[],device:{ua:window.navigator.userAgent},cur:["USD"],user:{}},c[r].imp.push({id:i.bidId,bidfloor:i.params.bidFloor||d,tag:i.placementCode,banner:{w:a[0],h:a[1]},secure:0+("https"===s.protocol)})}))})),a._each(c,(function(e){t.loadScript(a.tryAppendQueryString(a.tryAppendQueryString(i,"callback","pbjs.adbladeResponse"),"json",JSON.stringify(e)))}))}}};d(1).registerBidAdapter(new s,"adblade"),e.exports=s}},[46]);
  pbjsChunk([96],{48:function(e,n,t){e.exports=t(49)},49:function(e,n,t){"use strict";var r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},a=t(4),o=t(0),d=t(3),i=t(2),s=t(5);function u(){var e=["http://us-east-engine.adbund.xyz/prebid/ad/get","http://us-west-engine.adbund.xyz/prebid/ad/get"][(new Date).getTimezoneOffset()<0?0:1];function n(n){var t,u={referrer:o.getTopWindowUrl(),domain:o.getTopWindowLocation().hostname,ua:window.navigator.userAgent},p=r({},n.params,u);p.sizes=JSON.stringify(p.sizes||n.sizes),p.callback="pbjs.adbundResponse",pbjs.adbundResponse=(t=n,function(e){var n;e&&e.cpm?((n=d.createBid(a.STATUS.GOOD)).bidderCode="adbund",r(n,e)):(n=d.createBid(a.STATUS.NO_BID)).bidderCode="adbund",i.addBidResponse(t.placementCode,n)}),s.loadScript(e+"?"+(function(e){var n,t=[];for(n in e)e.hasOwnProperty(n)&&t.push(n+"="+encodeURIComponent(e[n]));return t.join("&")})(p))}return{callBids:function(e){(e.bids||[]).forEach((function(e){n(e)}))}}}t(1).registerBidAdapter(new u,"adbund"),e.exports=u}},[48]);
  pbjsChunk([95],{50:function(e,a,t){e.exports=t(51)},51:function(e,a,t){"use strict";var d=t(0),r=t(5),n=t(2),o=t(3),i=function(){function e(e,a,t){var r=d.getBidIdParameter("accountID",e.params),n=d.getBidIdParameter("zoneID",e.params),o=d.getBidIdParameter("keyword",e.params),i=d.getBidIdParameter("domain",e.params);void 0!==i&&0!==i.length||(i="servedbyadbutler.com");var c=location.protocol+"//"+i+"/adserve/;type=hbr;";return c+="ID="+encodeURIComponent(r)+";",c+="setID="+encodeURIComponent(n)+";",c+="pid="+encodeURIComponent(t)+";",c+="place="+encodeURIComponent(a)+";",""!==o&&(c+="kw="+encodeURIComponent(o)+";"),c+="jsonpfunc=pbjs.adbutlerCB;",c+="click=CLICK_MACRO_PLACEHOLDER"}return{callBids:function(a){for(var t=a.bids||[],i={},c={},s=Math.floor(1e7*Math.random()),p=0;p<t.length;p++){var m,l=t[p],u=d.getBidIdParameter("zoneID",l.params);u in c||(c[u]=0),m=u+"_"+c[u],i[m]={},i[m].bidId=l.bidId;var I=e(l,c[u],s);c[u]++,r.loadScript(I)}pbjs.adbutlerCB=function(e){var a,t,r,c,s,p={},m=e.zone_id+"_"+e.place,l=parseInt(e.width),u=parseInt(e.height),I=!1,b=!0,C=i[m]?d.getBidRequest(i[m].bidId):null;C&&("SUCCESS"===e.status?(a=e.cpm,t=d.getBidIdParameter("minCPM",C.params),r=d.getBidIdParameter("maxCPM",C.params),""!==t&&a<parseFloat(t)&&(b=!1),""!==r&&a>parseFloat(r)&&(b=!1),d._each(C.sizes,(function(e){l===e[0]&&u===e[1]&&(I=!0)})),b&&I?((p=o.createBid(1,C)).bidderCode="adbutler",p.cpm=a,p.width=l,p.height=u,p.ad=e.ad_code,p.ad+=(c=e.tracking_pixels,s="",d._each(c,(function(e){var a='<img height="0" width="0" border="0" style="display:none;" src="';a+=e,s+=a+='">'})),s)):(p=o.createBid(2,C)).bidderCode="adbutler"):(p=o.createBid(2,C)).bidderCode="adbutler",n.addBidResponse(C.placementCode,p))}}}};t(1).registerBidAdapter(new i,"adbutler"),e.exports=i}},[50]);
  pbjsChunk([94],{52:function(e,i,t){e.exports=t(53)},53:function(e,i,t){"use strict";var a=t(3),d=t(2),n=t(5),r=t(0),s=t(4);function o(){var e="https://rex.adequant.com/rex/c2s_prebid?";return{callBids:function(i){for(var t=[],o=null,p=[],u=null,c=[],l={},f=i.bids||[],h=0;h<f.length;h++){var b=f[h],v=b.params||{};l[b.placementCode]=!0,o=v.publisher_id.toString()||o;var g=v.bidfloor||.01;"string"==typeof(u=v.cats||u)&&(u=u.split(" "));for(var m=r.parseSizesInput(b.sizes),B=0;B<m.length;B++)p.push(m[B]+"_"+g),c.push(b.placementCode)}o&&t.push("a="+o),u&&t.push("c="+u.join("+")),p&&t.push("s="+p.join("+")),n.loadScript(e+t.join("&"),(function(){!(function(e,i){var t,n,o=window.adequant_creatives;if(o&&o.seatbid)for(var p=0;p<o.seatbid.length;p++){var u=o.seatbid[p].bid[0];(t=e[parseInt(u.impid,10)-1])&&i[t]&&((n=a.createBid(s.STATUS.GOOD)).bidderCode="adequant",n.cpm=u.price,n.ad=u.adm,n.width=u.w,n.height=u.h,d.addBidResponse(t,n),i[t]=!1)}for(t in i)i[t]&&((n=a.createBid(s.STATUS.NO_BID)).bidderCode="adequant",d.addBidResponse(t,n),r.logMessage("No bid response from Adequant for placement code "+t))})(c,l)}))}}}t(1).registerBidAdapter(new o,"adequant"),e.exports=o}},[52]);
  pbjsChunk([93],{54:function(r,n,e){r.exports=e(55)},55:function(r,n,e){"use strict";var t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}return r},a=e(0),o=e(5),i=e(2),d=e(3),h=e(4).STATUS,c=e(1),s=e(7).default,u="adform";function f(){var r=new s(u);function n(r){var n,e=[];for(n in r)r.hasOwnProperty(n)&&r[n]&&e.push(n,"=",r[n],"&");return (function(r){var n,e,t,a,o,i,d,h=[],c=0,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=";r=(function(r){r=r.replace(/\r\n/g,"\n");for(var n="",e=0;e<r.length;e++){var t=r.charCodeAt(e);t<128?n+=String.fromCharCode(t):t>127&&t<2048?(n+=String.fromCharCode(t>>6|192),n+=String.fromCharCode(63&t|128)):(n+=String.fromCharCode(t>>12|224),n+=String.fromCharCode(t>>6&63|128),n+=String.fromCharCode(63&t|128))}return n})(r);for(;c<r.length;)n=r.charCodeAt(c++),e=r.charCodeAt(c++),t=r.charCodeAt(c++),a=n>>2,o=(3&n)<<4|e>>4,i=(15&e)<<2|t>>6,d=63&t,isNaN(e)?i=d=64:isNaN(t)&&(d=64),h.push(s.charAt(a),s.charAt(o)),64!==i&&h.push(s.charAt(i)),64!==d&&h.push(s.charAt(d));return h.join("")})(e.join("").slice(0,-1))}return t(this,r,{callBids:function(e){var t,c,s,u,f,l,p,C,g=e.bids,m=[],b="_adf_"+a.getUniqueIdentifierStr(),v=[["adxDomain","adx.adform.net"],["fd",1],["url",null],["tid",null],["callback","pbjs."+b]];for(u=0,p=g.length;u<p;u++){for(t=g[u],f=0,l=v.length;f<l;f++)(c=t[s=v[f][0]]||t.params[s])&&(t[s]=t.params[s]=null,v[f][1]=c);(C=t.params).transactionId=t.transactionId,m.push(n(C))}for(m.unshift("//"+v[0][1]+"/adx/?rp=4"),u=1,p=v.length;u<p;u++)s=v[u][0],(c=v[u][1])&&m.push(v[u][0]+"="+encodeURIComponent(c));pbjs[b]=(function(n){return function(t){for(var a,o,c,s=r.getBidderCode(),u=0,f=t.length;u<f;u++)o=t[u],c=n[u],o&&"banner"===o.response&&e(o,c.sizes)?((a=d.createBid(h.GOOD,c)).bidderCode=s,a.cpm=o.win_bid,a.cur=o.win_cur,a.ad=o.banner,a.width=o.width,a.height=o.height,a.dealId=o.deal_id,a.transactionId=c.transactionId,i.addBidResponse(c.placementCode,a)):((a=d.createBid(h.NO_BID,c)).bidderCode=s,i.addBidResponse(c.placementCode,a))};function e(r,n){for(var e=0,t=n.length;e<t;e++)if(r.width===n[e][0]&&r.height===n[e][1])return!0;return!1}})(g),o.loadScript(m.join("&"))}})}c.registerBidAdapter(new f,u),r.exports=f}},[54]);
  pbjsChunk([92],{56:function(e,n,i){e.exports=i(57)},57:function(e,n,i){"use strict";var r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},t=u(i(2)),d=u(i(3)),o=(function(e){{if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n.default=e,n}})(i(0)),a=i(6),s=u(i(7)),c=u(i(1));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(){var e={contentType:"text/plain",withCredentials:!0,method:"GET"},n={seatbid:[{bid:[]}]},i=["mimes","minduration","maxduration","protocols","startdelay","linearity","sequence","boxingallowed","playbackmethod","delivery","pos","api","ext"],c=new s.default("adkernel");function u(){var r,t={},d={},s={},c={domain:(r=o.getTopWindowLocation()).hostname,page:r.href.split("?")[0]};this.addImp=function(e){var n=e.params.host,r=e.params.zoneId;n in t||(t[n]={}),r in t[n]||(t[n][r]=[]);var a=(function(e){var n=(function(e){if("video"===e.mediaType)return e.sizes;return e.sizes[0]})(e),r={id:e.bidId,tagid:e.placementCode};"video"===e.mediaType?(r.video={w:n[0],h:n[1]},e.params.video&&Object.keys(e.params.video).filter((function(e){return i.includes(e)})).forEach((function(n){return r.video[n]=e.params.video[n]}))):r.banner={w:n[0],h:n[1]};"https:"===o.getTopWindowLocation().protocol&&(r.secure=1);return r})(e);t[n][r].push(a),d[e.bidId]=e,n in s||(s[n]=[]),-1===s[n].indexOf(r)&&s[n].push(r)},this.dispatch=function(i){o._each(t,(function(r,t){o.logMessage("processing network "+t),o._each(r,(function(r,s){var u,l,p,f,h,v,m,g,b,y;o.logMessage("processing zone "+s),u=s,l=r,p=i,y=t,f=window.location.protocol+"//"+y+"/rtbg",b=l,h={id:o.getUniqueIdentifierStr(),imp:b,site:c,at:1,device:{ip:"caller",ua:"caller"}},m=u,g=h,v={zone:encodeURIComponent(m),ad_type:"rtb",r:encodeURIComponent(JSON.stringify(g))},(0,a.ajax)(f,(function(e){e=""===e?n:JSON.parse(e),o._each(h.imp,(function(n){var i=!1;o._each(e.seatbid[0].bid,(function(e){i||e.impid!==n.id||(i=!0,p(d[n.id],n,e))})),i||p(d[n.id],n)}))}),v,e)}))}))},this.buildUserSyncQueue=function(){return Object.keys(s).reduce((function(e,n){return s[n].forEach((function(i){return e.push([n,i])})),e}),[])}}function l(e){return r(d.default.createBid(2,e),{bidderCode:e.bidder})}return c.callBids=function(e){var n,i,a=e.bids||[];n=a,i=new u,o._each(n,(function(e){var n;void 0===(n=e.params).host||void 0===n.zoneId?(o.logError("Incorrect configuration for adkernel bidder: "+e.params),t.default.addBidResponse(e.placementCode,l(e))):i.addImp(e)})),(function e(n){if(0!==n.length){var i=n.pop();!(function(e,n,i){var r=o.createInvisibleIframe();r.src="//sync.adkernel.com/user-sync?zone="+n+"&r=%2F%2F"+e+"%2Fuser-synced%3Fuid%3D%7BUID%7D",o.addEventHandler(r,"load",i);try{document.body.appendChild(r)}catch(e){o.logError(e)}})(i[0],i[1],(function(){return e(n)}))}})(i.buildUserSyncQueue()),i.dispatch((function(e,n,i){var a,s,c,u,p,f,h,v,m,g,b=e.placementCode;if(i){o.logMessage("got response for "+b);var y=(a=n,{w:(c=(s=i).h&&s.w?s:a.banner||a.video).w,h:c.h});t.default.addBidResponse(b,(u=i,p=e,f=y.w,h=y.h,g=r(d.default.createBid(1,p),{bidderCode:p.bidder,width:f,height:h,cpm:parseFloat(u.price)}),"video"===p.mediaType?(g.vastUrl=u.nurl,g.mediaType="video"):g.ad=(m=(v=u).adm,"nurl"in v&&(m+=o.createTrackPixelHtml(v.nurl+"&px=1")),m),g))}else o.logMessage("got empty response for "+b),t.default.addBidResponse(b,l(e))}))},r(this,{callBids:c.callBids,setBidderCode:c.setBidderCode,getBidderCode:c.getBidderCode})};c.default.registerBidAdapter(new l,"adkernel",{supportedMediaTypes:["video"]}),c.default.aliasBidAdapter("adkernel","headbidding"),e.exports=l}},[56]);
  pbjsChunk([91],{58:function(e,a,r){e.exports=r(59)},59:function(e,a,r){"use strict";var i=r(0),d=r(3),o=r(2),t=r(5),s=r(0),n=r(4),p=function(){return pbjs.admediaHandler=function(e){var a={},r=e.callback_id,t="",p=(0,i.getBidRequest)(r);p&&(t=p.placementCode),p&&e.cpm>0&&e.ad?((a=d.createBid(n.STATUS.GOOD)).bidderCode=p.bidder,a.cpm=parseFloat(e.cpm),a.ad=e.ad,a.width=e.width,a.height=e.height):((a=d.createBid(n.STATUS.NO_BID)).bidderCode=p.bidder,s.logMessage("No prebid response from Admedia for placement code "+t)),o.addBidResponse(t,a)},{callBids:function(e){var a,r=window.location.protocol+"//b.admedia.com/banner/prebid/bidder/?";a=e.bids||[];for(var i=0;i<a.length;i++){var d={},o=a[i];if(o.params.aid){d.aid=o.params.aid,o.params.page_url&&(d.page_url=o.params.page_url),1===o.params.test_ad&&(d.test_ad=1);var n=s.parseSizesInput(o.sizes),p=n.length;if(p>0&&(d.size=n[0],p>1)){for(var c=[],l=1;l<p;l++)c.push(n[l]);d.promo_sizes=c.join(",")}d.siteDomain=window.location.host,d.sitePage=window.location.href,d.siteRef=document.referrer,d.topUrl=s.getTopWindowUrl(),d.callback="pbjs",d.callbackId=o.bidId;var m=r+s.parseQueryStringParameters(d);t.loadScript(m)}else s.logError("required param aid is missing","admedia")}}}};r(1).registerBidAdapter(new p,"admedia"),e.exports=p}},[58]);
  pbjsChunk([90],{60:function(e,r,t){e.exports=t(61)},61:function(e,r,t){"use strict";var i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o="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},a=t(3),d=t(2),n=t(6),s=t(0),c=function(){var e="//inv-nets.admixer.net/prebid.aspx",r="//inv-nets.admixer.net/videoprebid.aspx";function t(e,r){n.ajax(e,c,r,{method:"GET",withCredentials:!0})}function c(e){try{e=JSON.parse(e)}catch(r){e={result:{cpm:0}},s.logError(r)}var r,t=e.callback_uid,i=e.result;i.cpm>0?((r=a.createBid(1)).bidderCode="admixer",r.cpm=i.cpm,i.vastUrl?(r.mediaType="video",r.vastUrl=i.vastUrl,r.descriptionUrl=i.vastUrl):r.ad=i.ad,r.width=i.width,r.height=i.height):(r=a.createBid(2)).bidderCode="admixer",d.addBidResponse(t,r)}return{callBids:function(n){for(var c=n.bids||[],p=0,l=c.length;p<l;p++){var u=c[p],m={sizes:s.parseSizesInput(u.sizes).join("-"),zone:u.params&&u.params.zone,callback_uid:u.placementCode};if(m.zone)if("video"===u.mediaType){var v={};"object"===o(u.video)&&i(v,u.video),i(v,m),t(r,m)}else t(e,m);else{var b=a.createBid(2);b.bidderCode="admixer",d.addBidResponse(m.callback_uid,b)}}},responseCallback:c}};t(1).registerBidAdapter(new c,"admixer",{supportedMediaTypes:["video"]}),e.exports=c}},[60]);
  pbjsChunk([89],{62:function(e,n,d){e.exports=d(63)},63:function(e,n,d){"use strict";var i=d(3),r=d(2),a=d(5),o=d(0),t=d(1),p="adsupply",s=function(){function e(e){return function(){pbjs.adSupplyResponseHandler(e)}}return pbjs.adSupplyResponseHandler=function(e){if(e){var n=o.getBidRequest(e);if(n&&n.params){var d=n.params.clientId,a="b"+n.params.zoneId;if(window[d]&&window[d][a]){var t=window[d][a].Media;if(t)if(!t.Url||!t.Ecpm||"number"!=typeof t.Ecpm||t.Ecpm<=0){var s=i.createBid(2,n);s.bidderCode=p,r.addBidResponse(n.placementCode,s)}else{var c=i.createBid(1,n);c.bidderCode=p,c.cpm=t.Ecpm,c.ad='<iframe style="z-index: 5000001; margin: 0px; padding: 0px; border: none; width: '+t.Width+"px; height: "+t.Height+'px; " src="//'+n.params.endpointUrl+t.Url+'"></iframe>',c.width=t.Width,c.height=t.Height,r.addBidResponse(n.placementCode,c)}}}}},{callBids:function(n){for(var d,i,r,o,t,p=n.bids||[],s=0;s<p.length;s++){var c=p[s];if((t=c.params)&&t.siteId&&t.zoneId&&t.endpointUrl&&t.clientId&&!("number"!=typeof t.zoneId||t.zoneId<=0)){var m=c.params.clientId,w="b"+c.params.zoneId;window[m]=window[m]||{},window.window[m][w]=window.window[m][w]||{},window.window[m][w].Media={};var l=(d=c,i=encodeURIComponent(window.document.referrer),r=encodeURIComponent(Math.floor(1e5*Math.random()+1)),o=encodeURIComponent((new Date).getTimezoneOffset()),"//"+d.params.endpointUrl+"/banner.engine?id="+d.params.siteId+"&z="+d.params.zoneId+"&rand="+r+"&ver=async&time="+o+"&referrerurl="+i+"&abr=false&hbt=1&cid="+encodeURIComponent(d.params.clientId));a.loadScript(l,e(c.bidId))}}}}};t.registerBidAdapter(new s,"adsupply"),e.exports=s}},[62]);
  pbjsChunk([88],{64:function(e,a,t){e.exports=t(65)},65:function(e,a,t){"use strict";var i=u(t(3)),r=u(t(2)),d=c(t(0)),n=t(4),s=u(t(1)),o=t(6),l=c(t(11));function c(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(a[t]=e[t]);return a.default=e,a}function u(e){return e&&e.__esModule?e:{default:e}}function p(){var e={};function a(a){var t=void 0;try{t=JSON.parse(a),d.logMessage("adxcgBidReponseList: "+JSON.stringify(t))}catch(e){t=[],d.logError(e)}t.forEach((function(a){var t=e[a.bidId];delete e[a.bidId];var s=i.default.createBid(n.STATUS.GOOD,t);if(s.creative_id=a.creativeId,s.code="adxcg",s.bidderCode="adxcg",s.cpm=a.cpm,a.ad)s.ad=a.ad;else if(a.vastUrl)s.vastUrl=a.vastUrl,s.descriptionUrl=a.vastUrl,s.mediaType="video";else if(a.nativeResponse){s.mediaType="native";var o=a.nativeResponse;s.native={clickUrl:escape(o.link.url),impressionTrackers:o.imptrackers},o.assets.forEach((function(e){e.title&&e.title.text&&(s.native.title=e.title.text),e.img&&e.img.url&&(s.native.image=e.img.url),e.data&&"DESC"==e.data.label&&e.data.value&&(s.native.body=e.data.value),e.data&&"SPONSORED"==e.data.label&&e.data.value&&(s.native.sponsoredBy=e.data.value)}))}s.width=a.width,s.height=a.height,d.logMessage("submitting bid["+t.placementCode+"]: "+JSON.stringify(s)),r.default.addBidResponse(t.placementCode,s)})),Object.keys(e).map((function(a){return e[a].placementCode})).forEach((function(e){d.logMessage("creating no_bid bid for: "+e),r.default.addBidResponse(e,i.default.createBid(n.STATUS.NO_BID))}))}return{callBids:function(t){if(t.bids&&t.bids.length>0){var i=[],r=[],n=[];t.bids.forEach((function(a){e[a.bidId]=a,i.push(d.getBidIdParameter("adzoneid",a.params)),r.push(a.bidId),n.push(d.parseSizesInput(a.sizes).join("|"))}));var s=d.getTopWindowLocation(),c="https:"==s.protocol,u=l.parse(s.href);u.search=null,u.hash=null;var p=l.format({protocol:c?"https":"http",hostname:c?"ad-emea-secure.adxcg.net":"ad-emea.adxcg.net",pathname:"/get/adi",search:{renderformat:"javascript",ver:"r20141124",adzoneid:i.join(","),format:n.join(","),prebidBidIds:r.join(","),url:escape(l.format(u)),secure:c?"1":"0"}});d.logMessage("submitting request: "+p),(0,o.ajax)(p,a,null,{withCredentials:!0})}}}}s.default.registerBidAdapter(new p,"adxcg",{supportedMediaTypes:["video","native"]}),e.exports=p}},[64]);
  pbjsChunk([87],{66:function(e,r,t){e.exports=t(67)},67:function(e,r,t){"use strict";var n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},a=s(t(7)),o=s(t(3)),i=s(t(2)),c=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),d=t(11),f=t(6),u=t(4);function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){var e="0.1",r=new a.default("adyoulike");function t(e){var r=s(e.sizes);return!!(e.params.placement&&r.width&&r.height)}function s(e){var r={},t=c.parseSizesInput(e)[0];if("string"!=typeof t)return r;var n=t.toUpperCase().split("X"),a=parseInt(n[0],10);a&&(r.width=a);var o=parseInt(n[1],10);return o&&(r.height=o),r}return r.callBids=function(n){var a={},l=(n.bids||[]).filter(t);l.forEach((function(e){a[e.params.placement]=e}));var p=l.map((function(e){return e.params.placement}));if(!c.isEmpty(p)){var h=(function(r){var t={Version:e,Placements:r};try{performance&&performance.navigation&&(t.PageRefreshed=performance.navigation.type===performance.navigation.TYPE_RELOAD)}catch(e){t.PageRefreshed=!1}return JSON.stringify(t)})(p),v=(0,d.format)({protocol:"https:"===document.location.protocol?"https":"http",host:"hb-api.omnitagjs.com",pathname:"/hb-api/prebid",search:(function(){var e={},r=(function(){var e="";if(window.self!==window.top)try{e=window.top.document.referrer}catch(e){}else e=document.referrer;return e})();r&&(e.RefererUrl=encodeURIComponent(r));var t=(function(){var e=void 0;if(window.self!==window.top)try{e=window.top.document.head.querySelector('link[rel="canonical"][href]')}catch(e){}else e=document.head.querySelector('link[rel="canonical"][href]');return e?e.href:""})();return t&&(e.CanonicalUrl=encodeURIComponent(t)),e})()});(0,f.ajax)(v,(function(e){!(function(e,t){var n=[];try{n=JSON.parse(t)}catch(e){c.logError(e)}var a={};n.forEach((function(e){a[e.Placement]=e})),Object.keys(e).forEach((function(t){var n,c,d,f;n=e[t],c=a[t],d=(function(e,t,n){var a=void 0;if(n&&n.Banner){a=o.default.createBid(u.STATUS.GOOD,t);var i=s(t.sizes);a.width=i.width,a.height=i.height,a.cpm=n.Price,a.ad=n.Banner}else a=o.default.createBid(u.STATUS.NO_BID,t);return a.bidderCode=r.getBidderCode(),a})(0,n,c),f=n.placementCode,i.default.addBidResponse(f,d)}))})(a,e)}),h,{contentType:"text/json",withCredentials:!0})}},n(this,{callBids:r.callBids,setBidderCode:r.setBidderCode})};s(t(1)).default.registerBidAdapter(new l,"adyoulike"),e.exports=l}},[66]);
  pbjsChunk([86],{68:function(e,r,a){e.exports=a(69)},69:function(e,r,a){"use strict";var t=u(a(3)),d=u(a(2)),n=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),i=a(6),o=a(4),s=u(a(1));function u(e){return e&&e.__esModule?e:{default:e}}var c="aerserv",p=function(){var e={local:"127.0.0.1:8080",dev:"dev-ads.aerserv.com",stage:"staging-ads.aerserv.com",prod:"ads.aerserv.com"},r="/as/json/pbjs/v1?",a="/as/json/pbjsvast/v1?",s=["plc"];function u(e,r){if(Object.keys(e.params).filter((function(e){return"video"!==e})).forEach((function(a){return r[a]=e.params[a]})),"video"===e.mediaType){var a=(t=e.sizes,d={},n.isArray(t)&&t.length>0&&n.isArray(t[0])&&2===t[0].length&&(d.vpw=t[0][0],d.vph=t[0][1]),d);Object.keys(a).forEach((function(e){return r[e]=a[e]})),Object.keys(e.params.video||{}).forEach((function(a){return r[a]=e.params.video[a]}))}var t,d;return n.parseQueryStringParameters(r)}function p(e){return function(r){if(!r&&r.length<=0)return d.default.addBidResponse(e.placementCode,t.default.createBid(o.STATUS.NO_BID,e)),void n.logError("Empty response");try{r=JSON.parse(r)}catch(r){return d.default.addBidResponse(e.placementCode,t.default.createBid(o.STATUS.NO_BID,e)),void n.logError("Invalid JSON in response")}!(function(e,r){if(i=r,("video"===(n=e).mediaType&&i.vastUrl||"video"!==n.mediaType&&i.adm)&&i.cpm&&i.cpm>0){var a=t.default.createBid(1,e);a.bidderCode=c,a.cpm=r.cpm,a.width=r.w,a.height=r.h,"video"===e.mediaType?(a.vastUrl=r.vastUrl,a.descriptionUrl=r.vastUrl,a.mediaType="video"):a.ad=r.adm,d.default.addBidResponse(e.placementCode,a)}else d.default.addBidResponse(e.placementCode,t.default.createBid(o.STATUS.NO_BID,e));var n,i})(e,r)}}return{callBids:function(l){var f=window.parent!==window?document.referrer:window.location.href;f=f&&encodeURIComponent(f),(l.bids||[]).forEach((function(l){if(n.hasValidBidRequest(l.params,s,c)){var v="//"+(e[l.params.env]||e.prod)+("video"===l.mediaType?a:r)+u(l,{url:f});n.logMessage("sending request to: "+v),(0,i.ajax)(v,p(l),null,{withCredentials:!0})}else d.default.addBidResponse(l.placementCode,t.default.createBid(o.STATUS.NO_BID,l))}))}}};s.default.registerBidAdapter(new p,c,{supportedMediaTypes:["video"]}),e.exports=p}},[68]);
  pbjsChunk([85],{70:function(e,r,t){e.exports=t(71)},71:function(e,r,t){"use strict";var a=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},o=d(["","://","/pubapi/3.0/","/","/","/","/ADTECH;v=2;cmd=bid;cors=yes;alias=","",";misc=",""],["","://","/pubapi/3.0/","/","/","/","/ADTECH;v=2;cmd=bid;cors=yes;alias=","",";misc=",""]),i=d(["","://","/bidRequest?"],["","://","/bidRequest?"]),n=d(["dcn=","&pos=","&cmd=bid",""],["dcn=","&pos=","&cmd=bid",""]);function d(e,r){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var s=t(0),c=t(6).ajax,p=t(3),l=t(2),u=t(4),m=t(1),b=t(7).default,v={aol:"aol",onemobile:"onemobile",onedisplay:"onedisplay"};pbjs.aolGlobals={pixelsDropped:!1};var f=function(){var e,r=!0,t=w(o,"protocol","host","network","placement","pageid","sizeid","alias","bidfloor","misc"),d=w(i,"protocol","host"),m=w(n,"dcn","pos","ext"),f={us:"adserver-us.adtech.advertising.com",eu:"adserver-eu.adtech.advertising.com",as:"adserver-as.adtech.advertising.com"},h="hb.nexage.com",g={iframe:"IFRAME",img:"IMG"},y=(e=!1,function(r){var t=function(){if(!e)return e=!0,r()};if("complete"===document.readyState)return t();document.addEventListener("DOMContentLoaded",t,!1),window.addEventListener("load",t,!1)});function x(e){if(!pbjs.aolGlobals.pixelsDropped){var r=(function(e){var r=/\w*(?=\s)/,t=/src=("|')(.*?)\1/,a=[];if(e){var o=e.match(/(img|iframe)[\s\S]*?src\s*=\s*("|')(.*?)\2/gi);o&&o.forEach((function(e){var o=e.match(r),i=e.match(t);o&&i&&a.push({tagName:o[0].toUpperCase(),src:i[2]})}))}return a})(e);r.forEach((function(e){switch(e.tagName){case g.img:return a=e,void((new Image).src=a.src);case g.iframe:return r=e,(t=document.createElement("iframe")).width=1,t.height=1,t.style.display="none",t.src=r.src,void("interactive"===document.readyState||"complete"===document.readyState?document.body.appendChild(t):y((function(){document.body.appendChild(t)})))}var r,t,a})),pbjs.aolGlobals.pixelsDropped=!0}}function w(e){for(var r=arguments.length,t=Array(r>1?r-1:0),a=1;a<r;a++)t[a-1]=arguments[a];return function(){for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];var i=a[a.length-1]||{},n=[e[0]];return t.forEach((function(r,t){var o=Number.isInteger(r)?a[r]:i[r];n.push(o,e[t+1])})),n.join("")}}function j(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=p.createBid(2,e);t.bidderCode=e.bidder,t.reason=r.nbr,t.raw=r,l.addBidResponse(e.placementCode,t)}function E(e){return e===v.aol||e===v.onemobile}function C(e){return((r=e.bidder)===v.aol||r===v.onedisplay)&&e.params.placement&&e.params.network;var r}return a(this,new b(v.aol),{callBids:function(e){s._each(e.bids,(function(e){var a,o,i,n,b,g=void 0,y=null,w={withCredentials:!0},O=(function(e){if(E(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var r=e.params.imp[0];return r.id&&r.tagid&&(r.banner&&r.banner.w&&r.banner.h||r.video&&r.video.mimes&&r.video.minduration&&r.video.maxduration)}})(e),S=E((a=e).bidder)&&a.params.dcn&&a.params.pos,I=C(e);S||O?(g=(function(e){var r=e.params,t=r.dcn,a=r.pos,o=d({protocol:"https:"===document.location.protocol?"https":"http",host:e.params.host||h});if(t&&a){var i="";s._each(e.params.ext,(function(e,r){i+="&"+r+"="+encodeURIComponent(e)})),o+=m({dcn:t,pos:a,ext:i})}return o})(e),O&&(y=e.params,w.customHeaders={"x-openrtb-version":"2.2"},w.method="POST",w.contentType="application/json")):I&&(o=e.params,i=o.server,n=o.region||"us",b=void 0,f.hasOwnProperty(n)||(s.logWarn("Unknown region '"+n+"' for AOL bidder."),n="us"),b=i||f[n],o.region=n,g=t({protocol:"https:"===document.location.protocol?"https":"http",host:b,network:o.network,placement:parseInt(o.placement),pageid:o.pageId||0,sizeid:o.sizeId||0,alias:o.alias||s.getUniqueIdentifierStr(),bidfloor:void 0!==o.bidFloor?";bidfloor="+o.bidFloor.toString():"",misc:(new Date).getTime()})),g&&c(g,(function(t){if(r&&pbjs.bidderSettings&&pbjs.bidderSettings.aol&&"function"==typeof pbjs.bidderSettings.aol.bidCpmAdjustment&&s.logWarn("bidCpmAdjustment is active for the AOL adapter. As of Prebid 0.14, AOL can bid in net – please contact your accounts team to enable."),r=!1,!t&&t.length<=0)return s.logError("Empty bid response",v.aol,e),void j(e,t);try{t=JSON.parse(t)}catch(r){return s.logError("Invalid JSON in bid response",v.aol,e),void j(e,t)}!(function(e,r){var t=void 0;try{t=r.seatbid[0].bid[0]}catch(t){return void j(e,r)}var a=void 0;if(t.ext&&t.ext.encp)a=t.ext.encp;else if(null===(a=t.price)||isNaN(a))return s.logError("Invalid price in bid response",v.aol,e),void j(e,r);var o=t.adm;r.ext&&r.ext.pixels&&(e.params.userSyncOn===u.EVENTS.BID_RESPONSE?x(r.ext.pixels):o+="<script>if(!parent.pbjs.aolGlobals.pixelsDropped){parent.pbjs.aolGlobals.pixelsDropped=true;"+r.ext.pixels.replace(/<\/?script( type=('|")text\/javascript('|")|)?>/g,"")+"}<\/script>");var i=p.createBid(1,e);i.bidderCode=e.bidder,i.ad=o,i.cpm=a,i.width=t.w,i.height=t.h,i.creativeId=t.crid,i.pubapiId=r.id,i.currencyCode=r.cur,t.dealid&&(i.dealId=t.dealid),l.addBidResponse(e.placementCode,i)})(e,t)}),y,w)}))}})};m.registerBidAdapter(new f,v.aol),m.aliasBidAdapter(v.aol,v.onedisplay),m.aliasBidAdapter(v.aol,v.onemobile),e.exports=f}},[70]);
  pbjsChunk([6],{10:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a="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};n.default=function(e){var n,t=e.url,r=e.analyticsType,u=e.global,o=e.handler,A=[],N=0,m=!0;r===E&&(0,i.loadScript)(t,M);(r===S||h)&&M();return{track:function(e){var n=e.eventType,a=e.args;(this.getAdapterType()===E||h)&&window[u](o,n,a);this.getAdapterType()===S&&function(e){var n=e.eventType,a=e.args,r=e.callback;(0,l.ajax)(t,r,JSON.stringify({eventType:n,args:a}))}.apply(void 0,arguments)},enqueue:I,enableAnalytics:function(e){var t=this,r=this;_="object"!==(void 0===e?"undefined":a(e))||"object"!==a(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(_){var o;c.getEvents().forEach((function(e){if(e){var n=e.eventType,t=e.args;n!==g&&I.call(r,{eventType:n,args:t})}})),s(o={},d,(function(e){return t.enqueue({eventType:d,args:e})})),s(o,v,(function(e){return t.enqueue({eventType:v,args:e})})),s(o,g,(function(e){return t.enqueue({eventType:g,args:e})})),s(o,T,(function(e){return t.enqueue({eventType:T,args:e})})),s(o,b,(function(e){return t.enqueue({eventType:b,args:e})})),s(o,y,(function(e){return t.enqueue({eventType:y,args:e})})),s(o,p,(function(n){n.config=e.options,t.enqueue({eventType:p,args:n})})),n=o,f._each(n,(function(e,n){c.on(n,e)}))}else f.logMessage('Analytics adapter for "'+u+'" disabled by sampling');this.enableAnalytics=function(){return f.logMessage('Analytics adapter for "'+u+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){f._each(n,(function(e,n){c.off(n,e)}))},getAdapterType:function(){return r},getGlobal:function(){return u},getHandler:function(){return o},getUrl:function(){return t}};function I(e){var n=e.eventType,t=e.args,a=this;u&&window[u]&&n&&t?this.track({eventType:n,args:t}):A.push((function(){N++,a.track({eventType:n,args:t})}))}function M(){if(m){for(var e=0;e<A.length;e++)A[e]();A.push=function(e){e()},m=!1}f.logMessage("event count sent to "+u+": "+N)}};var r,u=t(4),o=(r=u)&&r.__esModule?r:{default:r},i=t(5),l=t(6);function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var c=t(9),f=t(0),p=o.default.EVENTS.AUCTION_INIT,y=o.default.EVENTS.AUCTION_END,d=o.default.EVENTS.BID_REQUESTED,g=o.default.EVENTS.BID_TIMEOUT,v=o.default.EVENTS.BID_RESPONSE,T=o.default.EVENTS.BID_WON,b=o.default.EVENTS.BID_ADJUSTMENT,E="library",S="endpoint",h="bundle",_=!0},72:function(e,n,t){e.exports=t(73)},73:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=u(t(10)),r=u(t(1));function u(e){return e&&e.__esModule?e:{default:e}}var o=(0,a.default)({global:"AppNexusPrebidAnalytics",handler:"on",analyticsType:"bundle"});r.default.registerAnalyticsAdapter({adapter:o,code:"appnexus"}),n.default=o}},[72]);
  pbjsChunk([84],{74:function(e,r,a){e.exports=a(75)},75:function(e,r,a){"use strict";var t="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},i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e},n=m(a(7)),s=a(17),d=m(a(3)),o=m(a(2)),p=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),u=a(6),c=a(4),l=m(a(1));function m(e){return e&&e.__esModule?e:{default:e}}var v="//ib.adnxs.com/ut/v3/prebid",f=["banner","video","video-outstream","native"],y=["id","mimes","minduration","maxduration","startdelay","skippable","playback_method","frameworks"],b=["age","external_uid","segments","gender","dnt","language"],g={body:"description",cta:"ctatext",image:{serverName:"main_image",serverParams:{required:!0,sizes:[{}]}},icon:{serverName:"icon",serverParams:{required:!0,sizes:[{}]}},sponsoredBy:"sponsored_by"},h="pbjs";function _(){var e=new n.default("appnexusAst"),r={},a=!1;function l(t){var i=void 0;try{i=JSON.parse(t)}catch(e){p.logError(e)}if(!i||i.error){var n="in response for "+e.getBidderCode()+" adapter";return i&&i.error&&(n+=": "+i.error),p.logError(n),void Object.keys(r).map((function(e){return r[e].placementCode})).forEach((function(e){o.default.addBidResponse(e,x(c.STATUS.NO_BID))}))}if(i.tags.forEach((function(e){var a=_(e),t=a&&a.cpm,i=a&&a.ad_type,n=void 0;n=0!==t&&f.includes(i)?c.STATUS.GOOD:c.STATUS.NO_BID,i&&!f.includes(i)&&p.logError(i+" ad type not supported"),e.bidId=e.uuid;var s=x(n,e);if("native"===i&&(s.mediaType="native"),"video"===i&&(s.mediaType="video"),a&&a.renderer_url&&(s.mediaType="video-outstream"),s.adId in r){var d=r[s.adId].placementCode;o.default.addBidResponse(d,s)}})),!a){var s=p.createInvisibleIframe();s.src="//acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html";try{document.body.appendChild(s)}catch(e){p.logError(e)}a=!0}}function m(e){var r=[],a={};if(p.isArray(e)&&2===e.length&&!p.isArray(e[0]))a.width=parseInt(e[0],10),a.height=parseInt(e[1],10),r.push(a);else if("object"===(void 0===e?"undefined":t(e)))for(var i=0;i<e.length;i++){var n=e[i];(a={}).width=parseInt(n[0],10),a.height=parseInt(n[1],10),r.push(a)}return r}function _(e){return e&&e.ads&&e.ads.length&&e.ads.find((function(e){return e.rtb}))}function I(e){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()},function(e,r){this.renderer.handleVideoEvent({id:e,eventName:r})}.bind(e))}))}function x(r,a){var t=_(a),i=d.default.createBid(r,a);if(i.code=e.getBidderCode(),i.bidderCode=e.getBidderCode(),t&&r===c.STATUS.GOOD)if(i.cpm=t.cpm,i.creative_id=t.creative_id,i.dealId=t.deal_id,t.rtb.video){if(i.width=t.rtb.video.player_width,i.height=t.rtb.video.player_height,i.vastUrl=t.rtb.video.asset_url,i.descriptionUrl=t.rtb.video.asset_url,t.renderer_url){i.adResponse=a,i.renderer=s.Renderer.install({id:t.renderer_id,url:t.renderer_url,config:{adText:"AppNexus Outstream Video Ad via Prebid.js"},loaded:!1});try{i.renderer.setRender(I)}catch(e){p.logWarning("Prebid Error calling setRender on renderer",e)}i.renderer.setEventHandlers({impression:function(){return p.logMessage("AppNexus outstream video impression event")},loaded:function(){return p.logMessage("AppNexus outstream video loaded event")},ended:function(){p.logMessage("AppNexus outstream renderer video event"),document.querySelector("#"+i.adUnitCode).style.display="none"}}),i.adResponse.ad=i.adResponse.ads[0],i.adResponse.ad.video=i.adResponse.ad.rtb.video}}else if(t.rtb.native){var n=t.rtb.native;i.native={title:n.title,body:n.desc,cta:n.ctatext,sponsoredBy:n.sponsored,image:n.main_img&&n.main_img.url,icon:n.icon&&n.icon.url,clickUrl:n.link.url,impressionTrackers:n.impression_trackers}}else{i.width=t.rtb.banner.width,i.height=t.rtb.banner.height,i.ad=t.rtb.banner.content;try{var o=t.rtb.trackers[0].impression_urls[0],u=p.createTrackPixelHtml(o);i.ad+=u}catch(e){p.logError("Error appending tracking pixel",e)}}return i}return e.callBids=function(e){r={};var a=e.bids||[],t=0,n=void 0,s=a.filter((function(e){return (function(e){{if(e.params.placementId||e.params.member&&e.params.invCode)return e;p.logError("bid requires placementId or (member and invCode) params")}})(e)})).map((function(e){r[e.bidId]=e;var a,s,d={};if(d.sizes=m(e.sizes),d.primary_size=d.sizes[0],d.uuid=e.bidId,e.params.placementId?d.id=parseInt(e.params.placementId,10):d.code=e.params.invCode,d.allow_smaller_sizes=e.params.allowSmallerSizes||!1,d.prebid=!0,d.disable_psa=!0,t=parseInt(e.params.member,10),e.params.reserve&&(d.reserve=e.params.reserve),e.params.position&&(d.position={above:1,below:2}[e.params.position]||0),e.params.trafficSourceCode&&(d.traffic_source_code=e.params.trafficSourceCode),e.params.privateSizes&&(d.private_sizes=m(e.params.privateSizes)),e.params.supplyType&&(d.supply_type=e.params.supplyType),e.params.pubClick&&(d.pubclick=e.params.pubClick),e.params.extInvCode&&(d.ext_inv_code=e.params.extInvCode),e.params.externalImpId&&(d.external_imp_id=e.params.externalImpId),p.isEmpty(e.params.keywords)||(d.keywords=(a=e.params.keywords,s=[],p._each(a,(function(e,r){if(p.isArray(e)){var a=[];p._each(e,(function(e){(e=p.getValueString("keywords."+r,e))&&a.push(e)})),e=a}else{if(e=p.getValueString("keywords."+r,e),!p.isStr(e))return;e=[e]}s.push({key:r,value:e})})),s)),"native"===e.mediaType&&(d.ad_types=["native"],e.nativeParams)){var o={};Object.keys(e.nativeParams).forEach((function(r){var a=g[r]&&g[r].serverName||g[r]||r,t=i({},g[r]&&g[r].serverParams,e.nativeParams[r]);o[a]=t})),d.native={layouts:[o]}}return"video"===e.mediaType&&(d.require_asset_url=!0),e.params.video&&(d.video={},Object.keys(e.params.video).filter((function(e){return y.includes(e)})).forEach((function(r){return d.video[r]=e.params.video[r]}))),e.params.user&&(n={},Object.keys(e.params.user).filter((function(e){return b.includes(e)})).forEach((function(r){return n[r]=e.params.user[r]}))),d}));if(!p.isEmpty(s)){var d={tags:[].concat(function(e){if(Array.isArray(e)){for(var r=0,a=Array(e.length);r<e.length;r++)a[r]=e[r];return a}return Array.from(e)}(s)),user:n,sdk:{source:h,version:"0.28.0"}};t>0&&(d.member_id=t);var o=JSON.stringify(d);(0,u.ajax)(v,l,o,{contentType:"text/plain",withCredentials:!0})}},i(this,{callBids:e.callBids,setBidderCode:e.setBidderCode})}l.default.registerBidAdapter(new _,"appnexusAst",{supportedMediaTypes:["video","native"]}),e.exports=_}},[74]);
  pbjsChunk([83],{76:function(e,r,a){e.exports=a(77)},77:function(e,r,a){"use strict";var t,d=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e},s=a(0),i=a(1),l=(t=i)&&t.__esModule?t:{default:t};var n,p=a(4),u=a(0),c=a(5),o=a(2),m=a(3),g=a(7).default;n=function(){var e=new g("appnexus"),r=!1;function a(e,r){var a=u.getBidIdParameter("placementId",e.params),t=u.getBidIdParameter("memberId",e.params),s=u.getBidIdParameter("member",e.params),i=u.getBidIdParameter("invCode",e.params),l=u.getBidIdParameter("query",e.params),n=u.getBidIdParameter("referrer",e.params),p=u.getBidIdParameter("alt_referrer",e.params),c="//ib.adnxs.com/jpt?";c=u.tryAppendQueryString(c,"callback","pbjs.handleAnCB"),c=u.tryAppendQueryString(c,"callback_uid",r),c=u.tryAppendQueryString(c,"psa","0"),c=u.tryAppendQueryString(c,"id",a),s?c=u.tryAppendQueryString(c,"member",s):t&&(c=u.tryAppendQueryString(c,"member",t),u.logMessage('appnexus.callBids: "memberId" will be deprecated soon. Please use "member" instead')),c=u.tryAppendQueryString(c,"code",i),c=u.tryAppendQueryString(c,"traffic_source_code",u.getBidIdParameter("trafficSourceCode",e.params));var o="",m=u.parseSizesInput(e.sizes),g=m.length;if(g>0&&(o="size="+m[0],g>1)){o+="&promo_sizes=";for(var f=1;f<g;f++)o+=m[f]+=",";o&&","===o.charAt(o.length-1)&&(o=o.slice(0,o.length-1))}o&&(c+=o+"&");var b=u.parseQueryStringParameters(l);b&&(c+=b);var y=d({},e.params);delete y.placementId,delete y.memberId,delete y.invCode,delete y.query,delete y.referrer,delete y.alt_referrer,delete y.member;var B=u.parseQueryStringParameters(y);return B&&(c+=B),""===n&&(n=u.getTopWindowUrl()),c=u.tryAppendQueryString(c,"referrer",n),(c=u.tryAppendQueryString(c,"alt_referrer",p)).lastIndexOf("&")===c.length-1&&(c=c.substring(0,c.length-1)),u.logMessage("jpt request built: "+c),e.startTime=(new Date).getTime(),c}return e.callBids=function(e){for(var r=e.bids,t=0;t<r.length;t++){var d=r[t],s=d.bidId;c.loadScript(a(d,s))}},pbjs.handleAnCB=function(e){var a;if(e&&e.callback_uid){var t,d=e.callback_uid,i="",l=(0,s.getBidRequest)(d);l&&(a=l.bidder,i=l.placementCode,l.status=p.STATUS.GOOD),u.logMessage("JSONP callback function called for ad ID: "+d);var n=[];if(e.result&&e.result.cpm&&0!==e.result.cpm){t=parseInt(e.result.cpm,10),t/=1e4;var c=e.result.creative_id;(n=m.createBid(1,l)).creative_id=c,n.bidderCode=a,n.cpm=t,n.adUrl=e.result.ad,n.width=e.result.width,n.height=e.result.height,n.dealId=e.result.deal_id,o.addBidResponse(i,n)}else u.logMessage("No prebid response from AppNexus for placement code "+i),(n=m.createBid(2,l)).bidderCode=a,o.addBidResponse(i,n);if(!r){var g=u.createInvisibleIframe();g.src="//acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html";try{document.body.appendChild(g)}catch(e){u.logError(e)}r=!0}}else u.logMessage("No prebid response for placement %%PLACEMENT%%")},d(this,{callBids:e.callBids,setBidderCode:e.setBidderCode,buildJPTCall:a})},l.default.registerBidAdapter(new n,"appnexus"),l.default.aliasBidAdapter("appnexus","brealtime"),l.default.aliasBidAdapter("appnexus","pagescience"),l.default.aliasBidAdapter("appnexus","defymedia"),l.default.aliasBidAdapter("appnexus","gourmetads"),l.default.aliasBidAdapter("appnexus","matomy"),l.default.aliasBidAdapter("appnexus","featureforward"),l.default.aliasBidAdapter("appnexus","oftmedia"),e.exports=n}},[76]);
  pbjsChunk([82],{78:function(e,d,a){e.exports=a(79)},79:function(e,d,a){"use strict";var i=a(4),t=a(3),o=a(2),r=a(5),n=a(6),s=a(0),p=function(){function e(e){for(var a=window.atomx_prebid(),r=e.bids||[],p=0,c=r.length;p<c;p++){var m=r[p];if(m.params&&m.params.id)for(var l=s.parseSizesInput(m.sizes),u=0;u<l.length;u++)n.ajax(a,d.bind(this,m),{id:m.params.id,size:l[u],prebid:m.placementCode},{method:"GET"});else{var h=t.createBid(i.STATUS.NO_BID,m);h.bidderCode="atomx",o.addBidResponse(m.placementCode,h)}}}function d(e,d){var a;try{if((d=JSON.parse(d)).cpm&&d.cpm>0)return(a=t.createBid(i.STATUS.GOOD,e)).bidderCode="atomx",a.cpm=1e3*d.cpm,d.adm?a.ad=d.adm:a.adUrl=d.url,a.width=d.width,a.height=d.height,void o.addBidResponse(e.placementCode,a)}catch(e){s.logError(e)}(a=t.createBid(i.STATUS.NO_BID,e)).bidderCode="atomx",o.addBidResponse(e.placementCode,a)}return{callBids:function(d){window.atomx_prebid?e(d):r.loadScript(window.location.protocol+"//s.ato.mx/b.js",(function(){e(d)}),!0)},responseCallback:d}};a(1).registerBidAdapter(new p,"atomx"),e.exports=p}},[78]);
  pbjsChunk([81],{80:function(a,e,t){a.exports=t(81)},81:function(a,e,t){"use strict";var r=Object.assign||function(a){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(a[r]=t[r])}return a},n=(function(){return function(a,e){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return (function(a,e){var t=[],r=!0,n=!1,i=void 0;try{for(var o,d=a[Symbol.iterator]();!(r=(o=d.next()).done)&&(t.push(o.value),!e||t.length!==e);r=!0);}catch(a){n=!0,i=a}finally{try{!r&&d.return&&d.return()}finally{if(n)throw i}}return t})(a,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},o=t(6),d=t(3),c=t(2),s=t(4),f=t(11),u=t(0),l=m(t(7)),p=m(t(1));function m(a){return a&&a.__esModule?a:{default:a}}var b=new l.default("audienceNetwork"),h=b.setBidderCode,v=b.getBidderCode,y=function(a){return"object"===i(a.params)&&"string"==typeof a.params.placementId&&a.params.placementId.length>0&&Array.isArray(a.sizes)&&a.sizes.length>0&&(_(a.params.format)||a.sizes.map(g).some(A))},g=function(a){return Array.isArray(a)&&2===a.length?a[0]+"x"+a[1]:a},w=function(a){return a.split("x").map(Number)},A=function(a){return["300x250","320x50"].includes(a)},_=function(a){return"video"===a},x=function(a){var e=[],t=[],r=[],i=[],l=[];if(a.bids.filter(y).forEach((function(a){return a.sizes.map(g).filter((function(e){return A(e)||_(a.params.format)})).slice(0,1).forEach((function(n){var o;e.push(a.placementCode),t.push(a.params.placementId),r.push(a.params.format||n),i.push(n),l.push((o=a.params.format,_(o)?"":"5.5.web"))}))})),t.length){var p=Boolean(window&&window.location&&"string"==typeof window.location.search&&-1!==window.location.search.indexOf("anhb_testmode")).toString(),m=encodeURIComponent(location.href),b={placementids:t,adformats:r,testmode:p,pageurl:m,sdk:l},h=r.findIndex(_);if(-1!==h){var x=w(i[h]),E=n(x,2);b.playerwidth=E[0],b.playerheight=E[1]}var C=(0,f.format)({protocol:"https",host:"an.facebook.com",pathname:"/v2/placementbid.json",search:b});(0,o.ajax)(C,(function(a){var t,o=(function(a){var e={};try{e=JSON.parse(a)}catch(a){}return e})(a);if(o.errors&&o.errors.length){var f=((t=(0,d.createBid)(s.STATUS.NO_BID)).bidderCode=v(),t);e.forEach((function(a){return(0,c.addBidResponse)(a,f)})),o.errors.forEach(u.logError)}else Object.keys(o.bids).map((function(a){return o.bids[a]})).reduce((function(a,e){return a.concat(e)}),[]).forEach((function(a,t){return(0,c.addBidResponse)(e[t],(function(a,e,t,r,i,o){var c,f,u=(0,d.createBid)(s.STATUS.GOOD,{bidId:r});u.bidderCode=v(),u.cpm=i/100,u.ad="<html><head>"+("native"===(f=t)?'<script>window.onload=function(){if(parent){var o=document.getElementsByTagName("head")[0];var s=parent.document.getElementsByTagName("style");for(var i=0;i<s.length;i++)o.appendChild(s[i].cloneNode(true));}}<\/script>':"")+"</head><body><div style=\"display:none;position:relative;\">\n<script type='text/javascript'>var data = {placementid:'"+(c=a)+"',format:'"+f+"',bidid:'"+r+"',onAdLoaded:function(e){console.log('Audience Network ["+c+"] ad loaded');e.style.display = 'block';},onAdError:function(c,m){console.log('Audience Network ["+c+"] error (' + c + ') ' + m);}};\n(function(a,b,c){var d='https://www.facebook.com',e='https://connect.facebook.net/en_US/fbadnw55.js',f={iframeLoaded:true,xhrLoaded:true},g=a.data,h=function(){if(Date.now){return Date.now();}else return +new Date();},i=function(aa){var ba=d+'/audience_network/client_event',ca={cb:h(),event_name:'ADNW_ADERROR',ad_pivot_type:'audience_network_mobile_web',sdk_version:'5.5.web',app_id:g.placementid.split('_')[0],publisher_id:g.placementid.split('_')[1],error_message:aa},da=[];for(var ea in ca)da.push(encodeURIComponent(ea)+'='+encodeURIComponent(ca[ea]));var fa=ba+'?'+da.join('&'),ga=new XMLHttpRequest();ga.open('GET',fa,true);ga.send();if(g.onAdError)g.onAdError('1000','Internal error.');},j=function(){if(b.currentScript){return b.currentScript;}else{var aa=b.getElementsByTagName('script');return aa[aa.length-1];}},k=function(aa){try{return aa.document.referrer;}catch(ba){}return '';},l=function(){var aa=a,ba=[aa];try{while(aa!==aa.parent&&aa.parent.document)ba.push(aa=aa.parent);}catch(ca){}return ba.reverse();},m=function(){var aa=l();for(var ba=0;ba<aa.length;ba++){var ca=aa[ba],da=ca.ADNW||{};ca.ADNW=da;if(!ca.ADNW)continue;return da.v55=da.v55||{ads:[],window:ca};}throw new Error('no_writable_global');},n=function(aa){var ba=aa.indexOf('/',aa.indexOf('://')+3);if(ba===-1)return aa;return aa.substring(0,ba);},o=function(aa){return aa.location.href||k(aa);},p=function(aa){if(aa.sdkLoaded)return;var ba=aa.window.document,ca=ba.createElement('iframe');ca.name='fbadnw';ca.style.display='none';ba.body.appendChild(ca);var da=ca.contentDocument.createElement('script');da.src=e;da.async=true;ca.contentDocument.body.appendChild(da);aa.sdkLoaded=true;},q=function(aa){var ba=/^https?:\\/\\/www\\.google(\\.com?)?\\.\\w{2,3}$/;return !!aa.match(ba);},r=function(aa){return !!aa.match(/cdn\\.ampproject\\.org$/);},s=function(){var aa=c.ancestorOrigins||[],ba=aa[aa.length-1]||c.origin,ca=aa[aa.length-2]||c.origin;if(q(ba)&&r(ca)){return n(ca);}else return n(ba);},t=function(aa){try{return JSON.parse(aa);}catch(ba){i(ba.message);throw ba;}},u=function(aa,ba,ca){if(!aa.iframe){var da=ca.createElement('iframe');da.src=d+'/audiencenetwork/iframe/';da.style.display='none';ca.body.appendChild(da);aa.iframe=da;aa.iframeAppendedTime=h();aa.iframeData={};}ba.iframe=aa.iframe;ba.iframeData=aa.iframeData;ba.tagJsIframeAppendedTime=aa.iframeAppendedTime||0;},v=function(aa){var ba=d+'/audiencenetwork/xhr/?sdk=5.5.web';for(var ca in aa)if(typeof aa[ca]!=='function')ba+='&'+ca+'='+encodeURIComponent(aa[ca]);var da=new XMLHttpRequest();da.open('GET',ba,true);da.withCredentials=true;da.onreadystatechange=function(){if(da.readyState===4){var ea=t(da.response);aa.events.push({name:'xhrLoaded',source:aa.iframe.contentWindow,data:ea,postMessageTimestamp:h(),receivedTimestamp:h()});}};da.send();},w=function(aa,ba){var ca=d+'/audiencenetwork/xhriframe/?sdk=5.5.web';for(var da in ba)if(typeof ba[da]!=='function')ca+='&'+da+'='+encodeURIComponent(ba[da]);var ea=b.createElement('iframe');ea.src=ca;ea.style.display='none';b.body.appendChild(ea);ba.iframe=ea;ba.iframeData={};ba.tagJsIframeAppendedTime=h();},x=function(aa){var ba=function(event){try{var da=event.data;if(da.name in f)aa.events.push({name:da.name,source:event.source,data:da.data});}catch(ea){}},ca=aa.iframe.contentWindow.parent;ca.addEventListener('message',ba,false);},y=function(aa){if(aa.context&&aa.context.sourceUrl)return true;try{return !!JSON.parse(decodeURI(aa.name)).ampcontextVersion;}catch(ba){return false;}},z=function(aa){var ba=h(),ca=l()[0],da=j().parentElement,ea=ca!=a.top,fa=ca.$sf&&ca.$sf.ext,ga=o(ca),ha=m();p(ha);var ia={amp:y(ca),events:[],tagJsInitTime:ba,rootElement:da,iframe:null,tagJsIframeAppendedTime:ha.iframeAppendedTime||0,url:ga,domain:s(),channel:n(o(ca)),width:screen.width,height:screen.height,pixelratio:a.devicePixelRatio,placementindex:ha.ads.length,crossdomain:ea,safeframe:!!fa,placementid:g.placementid,format:g.format||'300x250',testmode:!!g.testmode,onAdLoaded:g.onAdLoaded,onAdError:g.onAdError};if(g.bidid)ia.bidid=g.bidid;if(ea){w(ha,ia);}else{u(ha,ia,ca.document);v(ia);}; x(ia);ia.rootElement.dataset.placementid=ia.placementid;ha.ads.push(ia);};try{z();}catch(aa){i(aa.message||aa);throw aa;}})(window,document,location);\n<\/script>\n"+("native"===f?'<div class="thirdPartyRoot"><a class="fbAdLink"><div class="fbAdMedia thirdPartyMediaClass"></div><div class="fbAdSubtitle thirdPartySubtitleClass"></div><div class="fbDefaultNativeAdWrapper"><div class="fbAdCallToAction thirdPartyCallToActionClass"></div><div class="fbAdTitle thirdPartyTitleClass"></div></div></a></div>':"")+"</div></body></html>";var l=w(e),p=n(l,2);if(u.width=p[0],u.height=p[1],u.hb_bidder="fan",u.fb_bidid=r,u.fb_format=t,u.fb_placementid=a,_(t)){var m="https://an.facebook.com/v1/instream/vast.xml?placementid="+a+"&pageurl="+o+"&playerwidth="+u.width+"&playerheight="+u.height+"&bidid="+r;u.mediaType="video",u.vastUrl=m,u.descriptionUrl=m}return u})(a.placement_id,i[t],r[t],a.bid_id,a.bid_price_cents,m))}))}),null,{withCredentials:!0})}else(0,u.logError)("No valid bids requested")};function E(){return r(this,{callBids:x,setBidderCode:h,getBidderCode:v})}p.default.registerBidAdapter(new E,"audienceNetwork",{supportedMediaTypes:["video"]}),a.exports=E}},[80]);
  pbjsChunk([80],{82:function(e,r,t){e.exports=t(83)},83:function(e,r,t){"use strict";(function(r){var i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},a=u(t(7)),d=u(t(3)),o=u(t(2)),n=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),s=t(6),p=t(4),c=u(t(1));function u(e){return e&&e.__esModule?e:{default:e}}var l="//reachms.bfmio.com/bid.json?exchange_id=";function f(){var e=new a.default("beachfront");function t(r,t,i){var a=d.default.createBid(t,i);return a.code=e.getBidderCode(),a.bidderCode=r.bidder,i&&t===p.STATUS.GOOD?(a.cpm=i.price,a.creative_id=i.cmpId,a.width=r.width,a.height=r.height,a.descriptionUrl=i.url,a.vastUrl=i.url,a.mediaType="video",a):a}return e.callBids=function(e){(e.bids||[]).forEach((function(e){var i=(function(e){if(!e||!e.params||!e.params.appId)return;var r=e;return r.width=parseInt(e.sizes[0],10)||void 0,r.height=parseInt(e.sizes[1],10)||void 0,r})(e),a=(function(e){if(!(e&&e.params&&e.params.appId&&e.params.bidfloor))return;return{isPrebid:!0,appId:e.params.appId,domain:document.location.hostname,imp:[{video:{w:e.width,h:e.height},bidfloor:e.params.bidfloor}],site:{page:n.getTopWindowLocation().host},device:{ua:navigator.userAgent,devicetype:/(ios|ipod|ipad|iphone|android)/i.test(r.navigator.userAgent)?1:/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i.test(r.navigator.userAgent)?1:2},cur:["USD"]}})(e);if(!a){return n.logError("No bid params"),void(e&&e.placementCode&&o.default.addBidResponse(e.placementCode,t(e,p.STATUS.NO_BID)))}var d,c=l+a.appId;(0,s.ajax)(c,(d=i,function(e){var r;if(e)try{r=JSON.parse(e)}catch(e){n.logError(e)}else n.logWarn("No bid response");if(!r||r.error||!r.url||!r.bidPrice)return n.logWarn("No Valid Bid"),void o.default.addBidResponse(d.placementCode,t(d,p.STATUS.NO_BID));var i={};i.price=r.bidPrice,i.url=r.url,i.bidId=d.bidId,o.default.addBidResponse(d.placementCode,t(d,p.STATUS.GOOD,i))}),JSON.stringify(a),{contentType:"text/plain",withCredentials:!0})}))},i(this,{callBids:e.callBids,setBidderCode:e.setBidderCode})}c.default.registerBidAdapter(new f,"beachfront",{supportedMediaTypes:["video"]}),e.exports=f}).call(r,t(27))}},[82]);
  pbjsChunk([79],{84:function(e,d,i){e.exports=i(85)},85:function(e,d,i){"use strict";var t=i(2),r=i(3),n=i(0),a=i(5),c=function(){var e="//cdn.bidfluence.com/forge.js";function d(d){var i=n.getBidIdParameter("adunitId",d.params),t=n.getBidIdParameter("pubId",d.params),r=n.getBidIdParameter("reservePrice",d.params),c={placementCode:d.placementCode,cbID:d.bidId};a.loadScript(e,(function(){FORGE.init([i,t,c,r])}))}return pbjs.bfPbjsCB=function(e){var d=n.getBidRequest(e.cbID),i=null;e.cpm>0?((i=r.createBid(1,d)).bidderCode="bidfluence",i.cpm=e.cpm,i.ad=e.ad,i.width=e.width,i.height=e.height):(i=r.createBid(2,d)).bidderCode="bidfluence",t.addBidResponse(e.placementCode,i)},{callBids:function(e){for(var i=e.bids||[],t=0;t<i.length;t++)d(i[t])}}};i(1).registerBidAdapter(new c,"bidfluence"),e.exports=c}},[84]);
  pbjsChunk([78],{86:function(e,i,t){e.exports=t(87)},87:function(e,i,t){"use strict";var s=t(4),d=t(0),r=t(3),n=t(2),a=t(5),o=function(){var e="hb.iselephant.com/auc/ortb",i="brightcom",t="window.pbjs=window.pbjs||window.parent.pbjs||window.top.pbjs;window.pbjs.brightcomResponse",o=[],p=[];return pbjs.brightcomResponse=function(e){var t={};e&&e.id&&e.seatbid&&0!==e.seatbid.length&&e.seatbid[0].bid&&0!==e.seatbid[0].bid.length&&e.seatbid[0].bid.forEach((function(e){var d=pbjs._bidsRequested.find((function(e){return"brightcom"===e.bidderCode})).bids[0];if(d){var a=d.placementCode;d.status=s.STATUS.GOOD,e.placementCode=a,e.size=d.sizes;var o,b,c=e.adm,h='<img src="'+e.nurl+'" width="1" height="1" style="display:none" />',m=decodeURIComponent(c+h);(t=r.createBid(1)).creative_id=e.Id,t.bidderCode=i,t.cpm=parseFloat(e.price),t.ad=m,2===d.sizes.length&&"number"==typeof d.sizes[0]&&"number"==typeof d.sizes[1]?(o=d.sizes[0],b=d.sizes[1]):(o=d.sizes[0][0],b=d.sizes[0][1]),t.width=o,t.height=b,n.addBidResponse(a,t),p.push(a)}}));for(var d=0;d<o.length;d++){var a=o[d];-1===p.indexOf(a)&&((t=r.createBid(2)).bidderCode=i,n.addBidResponse(a,t))}},{callBids:function(i){var s=i.bids||[],r=window.location.host,n=window.location.href,p=[],b="";d._each(s,(function(e){var i=d.getBidIdParameter("tagId",e.params),t=d.getBidIdParameter("ref",e.params),s=0,r=0;""===b&&(b=d.getBidIdParameter("pubId",e.params)),2===e.sizes.length&&"number"==typeof e.sizes[0]&&"number"==typeof e.sizes[1]?(s=e.sizes[0],r=e.sizes[1]):(s=e.sizes[0][0],r=e.sizes[0][1]);var n={id:d.getUniqueIdentifierStr(),banner:{w:s,h:r},tagid:i};""!==t&&(n.ext={refoverride:t}),p.push(n),o.push(e.placementCode)}));var c={id:d.getUniqueIdentifierStr(),imp:p,site:{publisher:{id:b},domain:r,page:n}},h=h||0,m=h;m>0&&(c.tmax=m);var u="https://"+e+"?callback="+encodeURIComponent(t)+"&request="+encodeURIComponent(JSON.stringify(c));a.loadScript(u)}}};t(1).registerBidAdapter(new o,"brightcom"),e.exports=o}},[86]);
  pbjsChunk([77],{88:function(i,e,n){i.exports=n(89)},89:function(i,e,n){"use strict";var d=n(4),t=n(0),r=n(3),o=n(2),a=n(5);function s(){var i="http://ht-integration.c1exchange.com:9000/ht",e="//px.c1exchange.com/pubpixel/",n=3e3,s={invalidBid:"C1X: ERROR bidder returns an invalid bid",noSite:"C1X: ERROR no site id supplied",noBid:"C1X: INFO creating a NO bid for Adunit: ",bidWin:"C1X: INFO creating a bid for Adunit: "},c="c1x",p=window.pbjs;function u(){var i=r.createBid(d.STATUS.NO_BID);return i.bidderCode=c,i}return p._c1xResponse=function(i){var e=i;if("string"==typeof e)try{e=JSON.parse(i)}catch(i){t.logError(i)}if(e&&!e.error)for(var n=0;n<e.length;n++){var a=e[n],l=null;a.bid?((l=r.createBid(d.STATUS.GOOD)).bidderCode=c,l.cpm=a.cpm,l.ad=a.ad,l.width=a.width,l.height=a.height,t.logInfo(s.bidWin+a.adId+" size: "+a.width+"x"+a.height),o.addBidResponse(a.adId,l)):(t.logInfo(s.noBid+a.adId),o.addBidResponse(a.adId,u()))}else{var h=p.adUnits;for(t.logWarn(s.invalidBid),n=0;n<h.length;n++)o.addBidResponse(h[n].code,u())}},{callBids:function(d){var r,o=d.bids,c=o[0].params;if(c.pixelId){var u=c.pixelId;r=u,window.setTimeout((function(){var i=document.createElement("img");i.width=1,i.height=1,i.style="display:none;";var n=document.location.protocol;i.src=(n?"https:":"http:")+e+r,document.body.insertBefore(i,null)}),n)}var l=c.siteId;if(l){var h=["adunits="+o.length];h.push("site="+l);for(var f=0;f<o.length;f++){h.push("a"+(f+1)+"="+o[f].placementCode);var g=o[f].sizes,v=g.reduce((function(i,e){return i+(""===i?"":",")+e.join("x")}),""),x=c.floorPriceMap;if(x){var b=g[0].join("x");b in x&&h.push("a"+(f+1)+"p="+x[b])}h.push("a"+(f+1)+"s=["+v+"]")}h.push("rid="+(new Date).getTime());var m=i;c.endpoint&&(m=c.endpoint);var B=c.dspid;B&&h.push("dspid="+B);var w=m+"?"+h.join("&");window._c1xResponse=function(i){p._c1xResponse(i)},a.loadScript(w)}else t.logWarn(s.noSite)}}}n(1).registerBidAdapter(new s,"c1x"),i.exports=s}},[88]);
  pbjsChunk([76],{90:function(e,n,o){e.exports=o(91)},91:function(e,n,o){"use strict";var i=o(3),r=o(2),t=o(0),d=o(6).ajax;function a(){var e="carambola",n="hb/inimage/getHbBIdProcessedResponse";function o(n){arguments.length>1&&void 0!==arguments[1]&&arguments[1];var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",t=i.createBid(2,n);t.bidderCode=e,t.reason=o,r.addBidResponse(a(n),t)}function a(e){return e.placementCode}function s(){return window.Cbola=window.Cbola||{},window.Cbola.HB=window.Cbola.HB||{},window.Cbola.HB.pvid=window.Cbola.HB.pvid||(function(){function e(e){return e>9?e:"0"+e}var n=new Date;return e(n.getDate())+e(n.getMonth()+1)+e(n.getFullYear()%100)+e(n.getHours())+e(n.getMinutes())+e(n.getSeconds())+e(n.getMilliseconds()%100)+Math.floor(9e4*Math.random()+1e4)})(),window.Cbola.HB.pvid}function c(c,p){t.isArray(c)&&t._each(c,(function(l){var u=p||{};for(var m in u.cbolaMode=l.params.cbolaMode||0,u.wid=l.params.wid||0,u.pixel=l.params.pixel||"",u.bidFloor=l.params.bidFloor||0,u.pageViewId=s(),u.hb_token=t.generateUUID(),u.sizes=t.parseSizesInput(l.sizes)+"",u.bidsCount=c.length,l.params.customParams)l.params.customParams.hasOwnProperty(m)&&(u["c_"+m]=l.params.customParams[m]);var w,h=l.params.server||"hb.carambo.la";d("//"+h+"/"+n+(w=u,"?"+Object.keys(w).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(w[e])})).join("&")),(function(n){if(!n||n.cpm<=0)return t.logError("Empty bid response",e,l),void o(l,n,"Empty bid response");try{if((n=JSON.parse(n))&&n.cpm<=0)return t.logError("Bid response returned 0",e,l),void o(l,n,"Bid response returned 0")}catch(i){return t.logError("Invalid JSON in bid response",e,l),void o(l,n,"Invalid JSON in bid response")}var d,s,c;d=l,s=n,(c=i.createBid(1,d)).bidderCode=e,c.ad=s.ad,c.cpm=s.cpm,c.width=s.width,c.height=s.height,c.currencyCode=s.cur,c.token=s.token,c.pvid=s.pageViewId,r.addBidResponse(a(d),c)}),null,{method:"GET"})}))}return{callBids:function(e){var n,o=void 0,i=e.bids||[],r=window.parent!==window?document.referrer:window.location.href;r=r&&encodeURIComponent(r);try{o=window.self!==window.top}catch(e){o=!1}0!==i.length&&c(i,{pageUrl:r,did:i[0].params.did||0,pid:i[0].params.pid||"",res:(n=screen,n?n.width+"x"+n.height+"x"+n.colorDepth:"0"),ifr:o,viewPortDim:(function(e){var n=void 0,o=void 0,i=window,r=document,t=r.documentElement,d=void 0;if(e){try{i=window.top,r=window.top.document}catch(e){return}t=r.documentElement,d=r.body,n=i.innerWidth||t.clientWidth||d.clientWidth,o=i.innerHeight||t.clientHeight||d.clientHeight}else t=r.documentElement,n=i.innerWidth||t.clientWidth,o=i.innerHeight||t.clientHeight;return n+"x"+o})(o)})}}}o(1).registerBidAdapter(new a,"carambola"),e.exports=a}},[90]);
  pbjsChunk([75],{92:function(n,e,t){n.exports=t(93)},93:function(n,e,t){"use strict";var o=t(0),i=t(3),r=t(2),d=t(5),a=function(){var n="//t.brand-server.com/hb",e="//staging.brand-server.com/hb",t="centro",a="adCentroHandler_",s={noUnit:"Bid has no unit",noAdTag:"Bid has missmatch format.",noBid:"Response has no bid.",anotherCode:"Bid has another bidderCode - ",undefBid:"Bid is undefined",unitNum:"Requested unit is "};function u(n,e,d){return function(a){try{delete window[n]}catch(e){window[n]=void 0}!(function(n,e,d){var a,u=n&&n.bid||n;u&&(u.adTag||"No bid"===u.statusMessage)&&u.sectionID&&u.sectionID.toString()===e.toString()?u.adTag?((a=i.createBid(1,d)).cpm=u.value,a.ad=u.adTag,a.width=u.width,a.height=u.height):a=i.createBid(2,d):(o.logError(s.unitNum+e+". "+(u?u.statusMessage||s.noAdTag:s.noBid),t),a=i.createBid(2,d));r.addBidResponse(d.placementCode,a)})(a,e,d)}}function c(i){var r,c=i.sizes&&i.sizes[0];if((r=i.params).unit){var h=["s="+r.unit,"adapter=prebid"],p="28136"===r.unit.toString();h.push("url="+encodeURIComponent(r.page_url||location.href)),c instanceof Array&&2===c.length&&"number"==typeof c[0]&&"number"==typeof c[1]&&h.push("sz="+c.join("x"));var g=a+r.unit+c.join("x")+encodeURIComponent(i.placementCode);h.push("callback="+encodeURIComponent('window["'+g+'"]')),window[g]=u(g,r.unit,i),d.loadScript(("https:"===document.location.protocol?"https:":"http:")+(p?e:n)+"?"+h.join("&"))}else o.logError(s.noUnit,t)}return{callBids:function(n){for(var e,o=n.bids||[],i=0;i<o.length;i++)(e=o[i])&&e.bidder===t&&c(e)}}};t(1).registerBidAdapter(new a,"centro"),n.exports=a}},[92]);
  pbjsChunk([74],{94:function(e,a,t){e.exports=t(95)},95:function(e,a,t){"use strict";var i=t(4),r=t(0),s=t(3),n=t(2),d=t(5),o=t(6).ajax,c=function(){var e=window,a=navigator,t="//media.msg.dotomi.com/s2s/header/24?callback=pbjs.conversantResponse",c=function(e){var a=document.createElement("script");a.type="text/javascript",a.className="cnvr-response";try{a.appendChild(document.createTextNode(e)),document.getElementsByTagName("head")[0].appendChild(a)}catch(t){a.text=e,document.getElementsByTagName("head")[0].appendChild(a)}},p=function(){var t=a.language?"language":"userLanguage";return{h:screen.height,w:screen.width,dnt:"1"===a.doNotTrack||"1"===e.doNotTrack||"1"===a.msDoNotTrack||"yes"===a.doNotTrack?1:0,language:a[t].split("-")[0],make:a.vendor?a.vendor:"",ua:a.userAgent}},m=function(e){var a,i=location.pathname+location.search+location.hash,s="",n=[],d=0;r._each(e,(function(e){var a,t,i,o,c=r.getBidIdParameter("bidfloor",e.params),p=0,m=0;d=r.getBidIdParameter("secure",e.params)?1:d,s=r.getBidIdParameter("site_id",e.params)+"",t=r.getBidIdParameter("tag_id",e.params),i=r.getBidIdParameter("position",e.params);var u=Array.isArray(e.params.sizes)?e.params.sizes:e.sizes;if(2===u.length&&"number"==typeof u[0]&&"number"==typeof u[1]?(p=u[0],m=u[1]):(a=[],r._each(u,(function(e){a.push({w:e[0],h:e[1]})}))),o={id:e.bidId,secure:d,bidfloor:c||0,displaymanager:"Prebid.js",displaymanagerver:"2.1.0"},""!==t&&(o.tagid=t),"video"===e.mediaType){var l,b,g,h,v=Array.isArray(a)?{format:a}:{w:p,h:m};""!==(l=r.getBidIdParameter("mimes",e.params))&&(v.mimes=l),""!==(b=r.getBidIdParameter("maxduration",e.params))&&(v.maxduration=b),""!==(g=r.getBidIdParameter("protocols",e.params))&&(v.protocols=g),""!==(h=r.getBidIdParameter("api",e.params))&&(v.api=h),""!==i&&(v.pos=i),o.video=v}else{var f=Array.isArray(a)?{format:a}:{w:p,h:m};""!==i&&(f.pos=i),o.banner=f}n.push(o)})),a={id:r.getUniqueIdentifierStr(),imp:n,site:{id:s,mobile:null!==document.querySelector('meta[name="viewport"][content*="width=device-width"]')?1:0,page:i},device:p(),at:1};var m=d?"https:"+t:location.protocol+t;o(m,c,JSON.stringify(a),{withCredentials:!0})},u=function(e){var a=pbjs._bidsRequested.find((function(e){return"conversant"===e.bidderCode}));a&&a.bids&&r._each(a.bids,(function(a){if(!r.contains(e,a.placementCode)){var t=s.createBid(2,a);t.bidderCode="conversant",n.addBidResponse(a.placementCode,t)}}))},l=function(e){var a=[];r._each(e.bid,(function(e){var t,r,d,o="",c=e.impid,p={},m=pbjs._bidsRequested.find((function(e){return"conversant"===e.bidderCode})).bids.find((function(e){return e.bidId===c}));m&&(o=m.placementCode,m.status=i.STATUS.GOOD,0!==(t=parseFloat(e.price))&&(e.placementCode=o,a.push(o),e.size=m.sizes,r=e.adm||"",d=e.nurl||"",(p=s.createBid(1,m)).creative_id=e.id||"",p.bidderCode="conversant",p.cpm=t,"video"===m.mediaType?p.vastUrl=r:p.ad=r+'<img src="'+d+'" />',2===m.sizes.length&&"number"==typeof m.sizes[0]&&"number"==typeof m.sizes[1]?(p.width=m.sizes[0],p.height=m.sizes[1]):(p.width=m.sizes[0][0],p.height=m.sizes[0][1]),n.addBidResponse(o,p)))})),u(a)};return pbjs.conversantResponse=function(e,a){e&&e.id&&e.seatbid&&e.seatbid.length>0&&e.seatbid[0].bid&&e.seatbid[0].bid.length>0?r._each(e.seatbid,l):u([]),a&&d.loadScript(a,(function(){var e=pbjs._bidsRequested.find((function(e){return"conversant"===e.bidderCode}));pbjs.conversantDebugResponse&&pbjs.conversantDebugResponse(e)}))},{callBids:function(e){var a=e.bids||[];m(a)}}};t(1).registerBidAdapter(new c,"conversant",{supportedMediaTypes:["video"]}),e.exports=c}},[94]);
  pbjsChunk([73],{96:function(e,r,t){e.exports=t(97)},97:function(e,r,t){"use strict";var n=t(3),o=t(2),i=t(5);function a(){var e=["id","size","thirdPartyClickUrl"],r=["siteId","wrapper","referrerUrl"],t={},a=window,s="cox";return{callBids:function(c){var l,u,p="";a.cdsTag={},a.CMT||(a.CMT=((l={}).Util={getRand:function(){return Math.round(1e8*Math.random())},encodeUriObject:function(e){return encodeURIComponent(JSON.stringify(e))},extractUrlInfo:function(){var e=(function(e){var r,t=[];do{try{e(r=r?r.parent:a,t)}catch(e){return t.push({referrer:null,location:null,isTop:!1}),t}}while(r!==a.top);return t})((function(e,r){try{r.push({referrer:e.document.referrer||null,location:e.location.href||null,isTop:e===a.top})}catch(t){r.push({referrer:null,location:null,isTop:e===a.top})}}));!(function(e){try{if(!a.location.ancestorOrigins)return;for(var r=0,t=a.location.ancestorOrigins.length;t>r;r++)e(a.location.ancestorOrigins[r],r)}catch(e){}})((function(r,t){e[t].ancestor=r}));for(var r="",t=!1,n=e.length-1,o=e.length-1;o>=0;o--)if(!(r=e[o].location)&&o>0&&((r=e[o-1].referrer)||(r=e[o-1].ancestor),r)){t=!!a.location.ancestorOrigins||o===e.length-1&&e[e.length-1].isTop;break}return{url:r,isTop:t,depth:n}},srTestCapabilities:function(){var e=navigator.plugins,r=-1,t="Shockwave Flash";return e&&e.length>0&&(e[t+" 2.0"]||e[t])&&(r=e[t+(e[t+" 2.0"]?" 2.0":"")].description.split(" ")[2].split(".")[0]),r>4?15:7}},l.Service=(u=l.Util,{buildSrc:function(e,r){var t=("https:"===document.location.protocol?"https://":"http://")+(r&&"PRD"!==r?"PPE"===r?"ppe-":"STG"===r?"staging-":"":"")+"ad.afy11.net/ad?mode=11&ct="+u.srTestCapabilities()+"&nif=0&sf=0&sfd=0&ynw=0&rand="+u.getRand()+"&hb=1&rk1="+u.getRand()+"&rk2="+(new Date).valueOf()/1e3;delete e.response;var n=u.extractUrlInfo();return e.pageUrl=n.url,e.puTop=n.isTop,t+="&ab="+u.encodeUriObject(e)},getAd:function(e){if(e)return this._getData(e,"ad")+(this._getResponse().tpCookieSync||"")},getBidTrue:function(e){return Math.round(100*this._getData(e,"price"))/100},_getData:function(e,r){var t=this._getResponse();return((t.zones?t.zones[e]:{})||{})[r]||null},_getResponse:function(){var e=a.cdsTag;return e&&e.response?e.response:{}}}),l));var d,f,h=c.bids||[],g=a.cdsTag;for(d=0;d<h.length;d++){var v=h[d],T=v.params||{};if(T.id){g.zones=g.zones||{};var b={};for(f=0;f<e.length;f++)T[e[f]]&&(b[e[f]]=T[e[f]]);for(f=0;f<r.length;f++)T[r[f]]&&(g[r[f]]=T[r[f]]);var C="as"+T.id;g.zones[C]=b,T.env&&(p=T.env);var w=(T.size||"0x0").split("x");t[C]={p:v.placementCode,w:w[0],h:w[1]}}}g.zones&&Object.keys(g.zones).length>0&&(g.__callback__=function(e){g.response=e,(function(){for(var e in t){var r,i=a.CMT.Service.getBidTrue(e),c=t[e];i>0?((r=n.createBid(1)).cpm=i,r.ad=a.CMT.Service.getAd(e),r.width=c.w,r.height=c.h):r=n.createBid(2),r.bidderCode=s,o.addBidResponse(c.p,r)}})()},i.loadScript(a.CMT.Service.buildSrc(g,p)))}}}t(1).registerBidAdapter(new a,"cox"),e.exports=a}},[96]);
  pbjsChunk([72],{98:function(t,i,n){t.exports=n(99)},99:function(t,i,n){"use strict";var e=n(3),r=n(2),a=n(5),o=n(1),s=n(0),d=function(){var t=("http:"===window.location.protocol?"http:":"https:")+"//static.criteo.net/js/ld/publishertag.js",i="criteo",n=125;function o(t){window.Criteo=window.Criteo||{},window.Criteo.events=window.Criteo.events||[];window.Criteo.events.push((function(){for(var i,e,a=t.bids||[],o=[],c=!1,l=0;l<a.length;l++){var u=a[l],w=s.parseSizesInput(u.sizes);o.push(new Criteo.PubTag.DirectBidding.DirectBiddingSlot(u.placementCode,u.params.zoneId,u.params.nativeCallback?u.params.nativeCallback:void 0,u.transactionId,w.map((function(t){var i=t.indexOf("x"),n=parseInt(t.substring(0,i)),e=parseInt(t.substring(i+1,t.length));return new Criteo.PubTag.DirectBidding.Size(n,e)})))),i=u.params.networkId||i,void 0!==u.params.integrationMode&&(e="amp"==u.params.integrationMode.toLowerCase()?1:0),c|=void 0!==u.params.audit}var v,g=new Criteo.PubTag.DirectBidding.DirectBiddingEvent(n,new Criteo.PubTag.DirectBidding.DirectBiddingUrlBuilder(c),o,(v=o,function(t){var i=(function(t){try{return JSON.parse(t)}catch(t){return{}}})(t);if(void 0===i.slots)return d(v)();for(var n=0;n<v.length;n++){for(var e=null,a=0;a<i.slots.length;a++)if(i.slots[a]&&i.slots[a].impid===v[n].impId){e=i.slots.splice(a,1)[0];break}var o=p(e,v[n]);r.addBidResponse(v[n].impId,o)}}),d(o),d(o),void 0,i,e);window.criteo_pubtag.push(g)}))}function d(t){return function(){for(var i=0;i<t.length;i++)r.addBidResponse(t[i].impId,c())}}function c(){var t=e.createBid(2);return t.bidderCode=i,t}function p(t,n){var r=void 0;return t?((r=e.createBid(1)).bidderCode=i,r.cpm=t.cpm,n.nativeCallback&&t.native?"function"!=typeof n.nativeCallback?s.logError("Criteo bid: nativeCallback parameter is not a function"):(window.criteo_pubtag.native_slots=window.criteo_pubtag.native_slots||{},window.criteo_pubtag.native_slots[""+r.adId]={callback:n.nativeCallback,nativeResponse:t.native},r.ad='<script type="text/javascript">\n  let win = window;\n  for (const i=0; i<10; ++i) {\n    win = win.parent;\n    if (win.criteo_pubtag && win.criteo_pubtag.native_slots) {\n      let responseSlot = win.criteo_pubtag.native_slots["'+r.adId+'"];\n      responseSlot.callback(responseSlot.nativeResponse);\n      break;\n    }\n  }\n<\/script>'):(r.width=t.width,r.height=t.height,r.ad=t.creative)):r=c(),r}return{callBids:function(i){!window.criteo_pubtag||window.criteo_pubtag instanceof Array?(o(i),a.loadScript(t,(function(){}),!0)):o(i)}}};o.registerBidAdapter(new d,"criteo"),t.exports=d}},[98]);
  pbjsChunk([71],{100:function(r,e,n){r.exports=n(101)},101:function(r,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.currencyRates=e.currencySupportEnabled=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r};e.setConfig=R,e.addBidResponseDecorator=m;var c=d(n(3)),i=n(4),t=n(6),u=(function(r){{if(r&&r.__esModule)return r;var e={};if(null!=r)for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e.default=r,e}})(n(0)),s=d(n(2)),a=n(8);function d(r){return r&&r.__esModule?r:{default:r}}var f,l="http://currency.prebid.org/latest.json",y=4,p=[],v={},g=!1,b="USD",C=e.currencySupportEnabled=!1,S=e.currencyRates={},h={};function R(r){var n=l;"object"===o(r.rates)&&(S.conversions=r.rates,g=!0),"string"==typeof r.adServerCurrency?(u.logInfo("enabling currency support",arguments),b=r.adServerCurrency,r.conversionRateFile&&(u.logInfo("currency using override conversionRateFile:",r.conversionRateFile),n=r.conversionRateFile),(function(r){v={},e.currencySupportEnabled=C=!0,f||(u.logInfo("Installing addBidResponse decorator for currency module",arguments),f=s.default.addBidResponse,s.default.addBidResponse=m(s.default.addBidResponse));S.conversions||(0,t.ajax)(r,(function(r){try{e.currencyRates=S=JSON.parse(r),u.logInfo("currencyRates set to "+JSON.stringify(S)),g=!0,I()}catch(e){u.logError("failed to parse currencyRates response: "+r)}}))})(n)):(u.logInfo("disabling currency support"),(function(){f&&(u.logInfo("Uninstalling addBidResponse decorator for currency module",arguments),s.default.addBidResponse=f,f=void 0);b="USD",v={},e.currencySupportEnabled=C=!1,g=!1,e.currencyRates=S={},h={}})()),"object"===o(r.bidderCurrencyDefault)&&(h=r.bidderCurrencyDefault)}function m(r){return function(e,n){if(!n)return r.apply(this,arguments);var o,t,s,a=n.bidderCode||n.bidder;if(h[a]){var d=h[a];n.currency&&d!==n.currency?u.logWarn("Currency default '"+a+": "+d+"' ignored. adapter specified '"+n.currency+"'"):n.currency=d}if(n.currency||(u.logWarn('Currency not specified on bid.  Defaulted to "USD"'),n.currency="USD"),n.currency===b)return r.apply(this,arguments);p.push((o=r,t=this,s=arguments,function(){var r=s[1];if(void 0!==r&&"currency"in r&&"cpm"in r){var e=r.currency;try{var n=(function(r){var e,n=null;if(r in v)n=v[r],u.logMessage("Using conversionCache value "+n+" for fromCurrency "+r);else if(!1===C){if("USD"!==r)throw new Error("Prebid currency support has not been enabled and fromCurrency is not USD");n=1}else if(r===b)n=1;else{var o=b;if(r in S.conversions){if(e=S.conversions[r],!(o in e))throw new Error("Specified adServerCurrency in config '"+o+"' not found in the currency rates file");n=e[o],u.logInfo("getCurrencyConversion using direct "+r+" to "+o+" conversionRate "+n)}else if(o in S.conversions){if(e=S.conversions[o],!(r in e))throw new Error("Specified fromCurrency '"+r+"' not found in the currency rates file");n=w(1/e[r],y),u.logInfo("getCurrencyConversion using reciprocal "+r+" to "+o+" conversionRate "+n)}else{var c=Object.keys(S.conversions)[0];if(!(r in S.conversions[c]))throw new Error("Specified fromCurrency '"+r+"' not found in the currency rates file");var i=1/S.conversions[c][r];if(!(o in S.conversions[c]))throw new Error("Specified adServerCurrency in config '"+o+"' not found in the currency rates file");var t=S.conversions[c][o];n=w(i*t,y),u.logInfo("getCurrencyConversion using intermediate "+r+" thru "+c+" to "+o+" conversionRate "+n)}}return r in v||(u.logMessage("Adding conversionCache value "+n+" for fromCurrency "+r),v[r]=n),n})(e);r.originalCpm=r.cpm,r.originalCurrency=r.currency,1!==n&&(r.cpm=(parseFloat(r.cpm)*n).toFixed(4),r.currency=b)}catch(e){u.logWarn("Returning NO_BID, getCurrencyConversion threw error: ",e),s[1]=c.default.createBid(i.STATUS.NO_BID,{bidder:r.bidderCode||r.bidder,bidId:r.adId})}}return o.apply(t,s)})),C&&!g||I()}}function I(){for(;p.length>0;)p.shift()()}function w(r,e){for(var n=1,o=0;o<e;o++)n+="0";return Math.round(r*n)/n}a.config.getConfig("currency",(function(r){return R(r.currency)}))}},[100]);
  pbjsChunk([5],{102:function(e,r,t){e.exports=t(103)},103:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e};r.default=u;var a=t(104),i=t(19),s=t(11),n=t(0),d={env:"vp",gdfp_req:1,output:"xml_vast3",unviewed_position_start:1};function u(e){var r=e.adUnit,t=e.bid||(0,i.getWinningBids)(r.code)[0],a={correlator:Date.now(),sz:(0,n.parseSizesInput)(r.sizes).join("|"),url:location.href},u=o({},t.adserverTargeting,{hb_uuid:t.videoCacheKey},e.params.cust_params),p=o({},d,a,e.params,{cust_params:encodeURIComponent((0,s.formatQS)(u))});return(0,s.format)({protocol:"https",host:"pubads.g.doubleclick.net",pathname:"/gampad/ads",search:p})}(0,a.registerVideoSupport)("dfp",{buildVideoUrl:u})},104:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.registerVideoSupport=function(e,r){if(i.adServers=i.adServers||{},i.adServers[e]=i.adServers[e]||{},i.adServers[e].buildVideoUrl)return void(0,a.logWarn)("Multiple calls to registerVideoSupport for AdServer "+e+". Expect surprising behavior.");i.adServers[e].buildVideoUrl=r.buildVideoUrl};var o=t(28),a=t(0),i=(0,o.getGlobal)()}},[102]);
  pbjsChunk([70],{105:function(e,i,d){e.exports=d(106)},106:function(e,i,d){"use strict";var s=d(3),t=d(2),r=d(5),n=function(){var e=this,i=window.location.protocol+"//prebid.districtm.ca/lib.js";return this.callBids=function(d){return window.hb_dmx_res?e.sendBids(d):r.loadScript(i,(function(){e.sendBids(d)})),d},this.handlerRes=function(e,i){var d=void 0;return parseFloat(e.result.cpm)>0?((d=s.createBid(1)).bidderCode=i.bidder,d.cpm=e.result.cpm,d.width=e.result.width,d.height=e.result.height,d.ad=e.result.banner,t.addBidResponse(i.placementCode,d)):((d=s.createBid(2)).bidderCode=i.bidder,t.addBidResponse(i.placementCode,d)),d},this.sendBids=function(e){for(var i=e.bids,d=0;d<i.length;d++)i[d].params.sizes=window.hb_dmx_res.auction.fixSize(i[d].sizes);return window.hb_dmx_res.auction.run(window.hb_dmx_res.ssp,i,this.handlerRes),i},{callBids:this.callBids,sendBids:this.sendBids,handlerRes:this.handlerRes}};d(1).registerBidAdapter(new n,"districtmDMX"),e.exports=n}},[105]);
  pbjsChunk([69],{107:function(e,n,t){e.exports=t(108)},108:function(e,n,t){"use strict";var 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},o=t(3),s=t(2);function i(){function e(e){var n,t=o.createBid(1);for(n in t.bidderCode="eplanning",e.ad)e.ad.hasOwnProperty(n)&&(t[n]=e.ad[n]);return t}return (function(){var e,n=window,t=n.document,o=n.pbjs,s={},i={sv:"ads.us.e-planning.net",t:0},a="file",p="hbpb.rH",d="1x1",c=[],u="https:"===location.protocol?"https:":"http:",f="aklc.img.e-planning.net";n.hbpb=n.hbpb||new function(){var l=(function(){var e=[];function n(n){var t=e[n];function o(){var e,n=[],o=t.sizes;if(!o||!o.length)return d;if("object"===r(o[0]))for(e=0;e<o.length;e++)n.push(o[e][0]+"x"+o[e][1]);else n.push(o[0]+"x"+o[1]);return n.join(",")}return{getPlacementCode:function(){return t.placementCode},getString:function(){return this.getPlacementCode()+":"+o()},addAd:function(t){e[n].ads.push(t)},getFormatedResponse:function(){var r;return e[n].ads.length?(r=t.ads[0],{placementCode:this.getPlacementCode(),ad:{ad:r.adm,cpm:r.pr,width:r.size.w,height:r.size.h}}):{placementCode:this.getPlacementCode()}}}}function t(){var t=0,r=[];for(t=0;t<e.length;t++)r.push(new n(t));return r}return{add:function(n){n.ads=[],e.push(n)},get:function(e){return new n(e)},getString:function(){var n,t,r=[];for(n=0;n<e.length;n++)t=this.get(n),r.push(t.getString());return r.join("+")},findByPlacementCode:function(e){var n,r=t();for(n=0;n<r.length;n++)if(r[n].getPlacementCode()===e)return r[n]},getFormatedResponse:function(){var e,n=t(),r=[];for(e=0;e<n.length;e++)r.push(n[e].getFormatedResponse());return{bids:r}}}})();function h(t){var r,o,s,i,d,c=t.bids;for(r=0;r<c.length;r++)l.add({_raw:c[r],placementCode:c[r].placementCode,sizes:c[r].sizes}),g("sv",c[r]),g("ci",c[r]),g("t",c[r]);s=m("ci"),i=[],d=m("t"),s&&!d?(o=u+"//"+m("sv")+"/hb/1/"+s+"/1/"+(n.location.hostname||a)+"/ROS?",i.push("rnd="+(e||(e=Math.random()),e)),i.push("e="+l.getString()),b()&&i.push("ur="+b()),w()&&i.push("fr="+w()),i.push("cb="+p),i.push("r=pbjs"),y(o+=i.join("&"))):d&&y(o=u+"//"+f+"/layers/t_pbjs_"+d+".js")}function g(e,n){s[e]||n&&n.params&&n.params[e]&&(s[e]=n.params[e])}function m(e){return s[e]||i[e]}function b(){return escape(n.location.href||a)}function w(){return t.referrer}function y(e){var n=t.createElement("script");n.src=e,t.body.appendChild(n)}function v(e){var n,s,i,a;if(e&&e.sp&&e.sp.length){for(s=0;s<e.sp.length;s++)if(e.sp[s].a&&(n=l.findByPlacementCode(e.sp[s].k)))for(i=0;i<e.sp[s].a.length;i++)n.addAd({adm:e.sp[s].a[i].adm,pr:e.sp[s].a[i].pr,size:{w:e.sp[s].a[i].w,h:e.sp[s].a[i].h}});a=l.getFormatedResponse(),o&&o.processEPlanningResponse&&"function"==typeof o.processEPlanningResponse&&o.processEPlanningResponse(a)}e&&e.cs&&e.cs.length&&(function(e){var n,o,s;for(n=0;n<e.length;n++)if("string"==typeof e[n]&&-1===c.indexOf(e[n]))(new Image).src=e[n],c.push(e[n]);else if("object"===r(e[n])&&-1===c.indexOf(e[n].u)){if(e[n].j?(o=t.createElement("script")).src=e[n].u:e[n].ifr&&((o=t.createElement("iframe")).src=e[n].u,o.style.width=o.style.height="1px",o.display="none"),e[n].data)for(s in e[n].data)e[n].data.hasOwnProperty(s)&&o.setAttribute("data-"+s,e[n].data[s]);t.body.appendChild(o),c.push(e[n].u)}})(e.cs)}return{call:function(e){return h(e)},rH:function(e){return v(e)}}}})(),window.pbjs=window.pbjs||{},window.pbjs.processEPlanningResponse=function(n){var t,r,i;if(n)for(t=n.bids,i=0;i<t.length;i++)t[i].ad?(r=e(t[i]),s.addBidResponse(t[i].placementCode,r)):((r=o.createBid(2)).bidderCode="eplanning",s.addBidResponse(t[i].placementCode,r))},{callBids:function(e){window.hbpb&&window.hbpb.call(e)}}}t(1).registerBidAdapter(new i,"eplanning"),e.exports=i}},[107]);
  pbjsChunk([68],{109:function(e,r,i){e.exports=i(110)},110:function(e,r,i){"use strict";var d=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(e[d]=i[d])}return e},s=i(4),n=i(0),t=i(3),a=i(2),o=i(5),c=i(7).default;function l(){var e=new c("essens"),r={};function i(){r&&r.bids&&r.bids.forEach(l)}function l(e){var r=t.createBid(s.STATUS.NO_BID,e);r.bidderCode="essens",a.addBidResponse(e.placementCode,r)}return e.callBids=function(e){if(e){r=e;var d=(e.bids||[]).filter((function(e){return (function(e){{if(e.bidId&&e.params&&e.params.placementId)return!0;n.logError("bid requires missing essential params for essens")}})(e)})).map((function(e){var r={};return r.impressionId=e.bidId,r.sizes=n.parseSizesInput(e.sizes),r.placementId=e.params.placementId,e.params.dealId&&(r.deal=e.params.dealId),e.params.floorPrice&&(r.floorPrice=e.params.floorPrice),r})),s=e.bidderRequestId,t=n.getTopWindowUrl(),a=window.navigator.userAgent;if(n.isEmpty(d))i();else{var c={bidderRequestId:s,cur:["USD"],url:t,ua:a,imp:d},l="//bid.essrtb.com/bid/prebid_call?callback=pbjs.essensResponseHandler&bid="+encodeURIComponent(JSON.stringify(c));o.loadScript(l)}}else n.logError("empty bid request received")},pbjs.essensResponseHandler=function(e){var d;(n.logInfo("received bid request from Essens"),(d=e)&&d.id&&d.seatbid)?(function(e){var i=[];e.seatbid.length>0&&e.seatbid.filter((function(e){return e.bid&&0!==e.bid.length})).forEach((function(e){return e.bid.forEach(d)}));function d(e){var d,n=(d=e.impid,r.bids.find((function(e){return e.bidId===d}))),o=(function(e,r){if(i=r,!(i.price&&i.crid&&i.ext&&i.ext.adUrl&&i.w&&i.h&&i.impid))return;var i;var d=t.createBid(s.STATUS.GOOD,e);d.creative_id=r.crid,d.adUrl=r.ext.adUrl,d.bidderCode="essens",d.cpm=parseFloat(r.price),d.width=parseInt(r.w),d.height=parseInt(r.h),r.dealid&&(d.dealId=r.dealid);return d})(n,e);o&&(i.push(n),a.addBidResponse(n.placementCode,o))}r.bids.filter((function(e){return r=e,!n.contains(i,r);var r})).forEach(l)})(e):i()},d(this,{callBids:e.callBids,setBidderCode:e.setBidderCode,getBidderCode:e.getBidderCode})}i(1).registerBidAdapter(new l,"essens"),e.exports=l}},[109]);
  pbjsChunk([67],{111:function(e,n,t){e.exports=t(112)},112:function(e,n,t){"use strict";var o=(function(e){{if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}})(t(0));var r="express";pbjs.express=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits;o.logMessage("loading "+r),0===e.length&&o.logWarn("no valid adUnits found, not loading "+r);var n=e.reduce((function(e,n){return n.code&&n.bids?e[n.code]=n:o.logError("misconfigured adUnit",null,n),e}),{});window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){var e=window.googletag,t=e.pubads;if(e.display&&e.enableServices&&"function"==typeof t&&t().refresh&&t().disableInitialLoad&&t().getSlots&&t().enableSingleRequest){o.logMessage("running");var i=e.display,a=e.enableServices,l=t().refresh,s=t().disableInitialLoad,g=t().enableSingleRequest;e.enableServices=function(){return u||s.apply(t()),a.apply(e,arguments)},e.display=function(n){var r;o.logInfo("display:",n),i.apply(e,arguments),d||(r=googletag.pubads().getSlots().filter((function(e){return e.getSlotElementId()===n}))),(r=c(r).filter((function(e){return!e._displayed}))).forEach((function(e){e._displayed=!0}));var a=f(r);u||(r.length&&l.apply(t(),[r]),a.length&&pbjs.requestBids({adUnits:a,bidsBackHandler:function(){pbjs.setTargetingForGPTAsync(),l.apply(t(),[a.map((function(e){return e._gptSlot}))])}}))},t().refresh=function(e,n){o.logInfo("refresh:",e);var r=f(e=c(e)).filter((function(e){return e._gptSlot._displayed}));e.length&&l.apply(t(),[e,n]),r.length&&pbjs.requestBids({adUnits:r,bidsBackHandler:function(){pbjs.setTargetingForGPTAsync(),l.apply(t(),[r.map((function(e){return e._gptSlot})),n])}})};var u=!1;t().disableInitialLoad=function(){return u=!0,s.apply(window.googletag.pubads(),arguments)};var d=!1;t().enableSingleRequest=function(){return d=!0,g.apply(window.googletag.pubads(),arguments)}}else o.logError("could not bind to gpt googletag api");function p(e){for(var n=[],t=0;t<e.length;t++)try{n.push([e[t].getWidth(),e[t].getHeight()])}catch(n){o.logWarn("slot size "+e[t].toString()+" not supported by"+r)}return n}function c(e){return Array.isArray(e)?e.slice():googletag.pubads().getSlots().slice()}function f(e){for(var t=[],o=e.length-1;o>-1;o--){var r=e[o],i=r.getSlotElementId(),a=n[i];a&&(a._gptSlot=r,a.sizes=a.sizes||p(r.getSizes()),t.push(a),e.splice(o,1))}return t}}))}}},[111]);
  pbjsChunk([66],{113:function(e,r,t){e.exports=t(114)},114:function(e,r,t){"use strict";var n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},a=t(3),o=t(2),i=t(1),d=t(0),c=t(6),u=t(4);function f(){var e=window.location.protocol+"//prmbdr.featureforward.com/newbidder/bidder1_prm.php?",r={method:"POST",withCredentials:!0,contentType:"text/plain"};function t(e,r){if(r){var t=(function(e){try{return JSON.parse(e)}catch(e){return(0,d.logError)("featureforward.safeParse","ERROR",e),null}})(r);if(t){var n=(0,a.createBid)(u.STATUS.GOOD,e);return n.bidderCode=e.bidder,n.cpm=t.bidCpm,n.ad=t.html,n.width=t.width,n.height=t.height,void(0,o.addBidResponse)(e.placementCode,n)}}var i=(0,a.createBid)(u.STATUS.NO_BID,e);i.bidderCode=e.bidder,(0,o.addBidResponse)(e.placementCode,i)}return{callBids:function(a){var o=0;a.bids.forEach((function(a){try{for(;void 0!==a.sizes[o];){var i=n({},{ca:"BID",if:0,url:(0,d.getTopWindowLocation)().href,refurl:(function(){try{return window.top.document.referrer}catch(e){return document.referrer}})(),ew:document.documentElement.clientWidth,eh:document.documentElement.clientHeight,ln:navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage},a.params,{size:a.sizes[o]}),u=JSON.stringify(i),f=e;o++,(0,c.ajax)(f,(function(e){t(a,e)}),u,r)}}catch(e){(0,d.logError)("featureforward.requestBid","ERROR",e),t(a)}}))}}}(0,i.registerBidAdapter)(new f,"featureforward"),e.exports=f}},[113]);
  pbjsChunk([65],{115:function(e,i,t){e.exports=t(116)},116:function(e,i,t){"use strict";var r=t(0),d=t(3),n=t(2),a=t(5),o=t(4).STATUS,c=function(){var e="fidelity",i="x.fidelity-media.com";return pbjs.fidelityResponse=function(i){if(!i||!i.seatbid||0===i.seatbid.length||!i.seatbid[0].bid||0===i.seatbid[0].bid.length)return t=[],void((a=pbjs._bidsRequested.find((function(i){return i.bidderCode===e})))&&a.bids&&r._each(a.bids,(function(i){if(!r.contains(t,i.placementCode)){var a=d.createBid(o.NO_BID,i);a.bidderCode=e,n.addBidResponse(i.placementCode,a)}})));var t,a,c=i.seatbid[0].bid[0],s=c.adm?o.GOOD:o.NO_BID,p=r.getBidRequest(c.impid),l=d.createBid(s);l.bidderCode=e,s===o.GOOD&&(l.cpm=parseFloat(c.price),l.ad=c.adm,l.width=parseInt(c.width),l.height=parseInt(c.height));var u=p&&p.placementCode;n.addBidResponse(u,l)},{callBids:function(e){(e.bids||[]).forEach((function(e){var t,d=e.params.server||i,n=window.location.protocol+"//"+d+"/delivery/hb.php?";n+="callback=window.pbjs.fidelityResponse",n+="&requestid="+r.getUniqueIdentifierStr(),n+="&impid="+e.bidId,n+="&zoneid="+e.params.zoneid,n+="&cb="+Math.floor(99999999999*Math.random()),n+=document.charset?"&charset="+document.charset:document.characterSet?"&charset="+document.characterSet:"";try{t=window.top!==window?document.referrer:window.location.href}catch(e){t=document.referrer}t=e.params.loc||t,n+="&loc="+encodeURIComponent(t),n+="&subid="+(e.params.subid||"hb"),document.referrer&&(n+="&referer="+encodeURIComponent(document.referrer)),e.params.click&&(n+="&ct0="+encodeURIComponent(e.params.click)),n+="&flashver="+encodeURIComponent(function(){var e,i,t;if(navigator.plugins&&navigator.plugins.length>0){e=navigator.plugins;for(var r=0;r<e.length&&!t;r++)(i=e[r]).name.indexOf("Shockwave Flash")>-1&&(t=i.description.split("Shockwave Flash ")[1])}return t||""}()),a.loadScript(n)}))}}};t(1).registerBidAdapter(new c,"fidelity"),e.exports=c}},[115]);
  pbjsChunk([64],{117:function(e,i,d){e.exports=d(118)},118:function(e,i,d){"use strict";var o,a=d(4),n=d(1),r=(o=n)&&o.__esModule?o:{default:o};var t=d(3),s=d(2),p=d(5),c=function(){var e=window.location.protocol+"//cdn.adhigh.net/adserver/hb.js";function i(e,i,d){for(var o=0;o<d.length;o++)e.hasOwnProperty(d[o])&&(i[d[o]]=e[d[o]])}function d(e){for(var d=e.bids||[],o=0;o<d.length;o++){var n=d[o],r={pid:n.params.pid,tid:n.params.tid,known:n.params.known||1,is_video:"video"===n.mediaType,video:n.params.video||{},size:n.sizes[0].join("x")};i(n.params,r,["cur","floor"]),(function(e,i){window.gi_hb.makeBid(e,(function(e){if(1===e.no_bid){var d=t.createBid(a.STATUS.NO_BID);d.bidderCode=i.bidder,s.addBidResponse(i.placementCode,d)}else{var o=t.createBid(a.STATUS.GOOD),n=e.size.split("x");o.bidderCode=i.bidder,o.cpm=e.cpm,o.width=n[0],o.height=n[1],"video"===i.mediaType?(o.vastUrl=e.vast_url,o.descriptionUrl=e.vast_url,o.mediaType="video"):o.ad=e.ad,s.addBidResponse(i.placementCode,o)}}))})(r,n)}}return{callBids:function(i){void 0===window.gi_hb?p.loadScript(e,(function(){d(i)}),!0):d(i)}}};r.default.registerBidAdapter(new c,"getintent",{supportedMediaTypes:["video"]}),e.exports=c}},[117]);
  pbjsChunk([63],{119:function(e,n,o){e.exports=o(120)},120:function(e,n,o){"use strict";var t="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},i=o(9),s=o(0),a=o(4),r=o(1),d=a.EVENTS.BID_REQUESTED,c=a.EVENTS.BID_TIMEOUT,u=a.EVENTS.BID_RESPONSE,l=a.EVENTS.BID_WON,f={nonInteraction:!0},p=[],b=null,m=!0,v="Prebid.js Bids",y=0,g=!1,T=null,w=!0;function E(){if(m&&"function"==typeof window[b]){for(var e=0;e<p.length;e++)p[e].call();p.push=function(e){e.call()},m=!1}s.logMessage("event count sent to GA: "+y)}function S(e){return e?Math.floor(100*e):0}function h(e){e&&e.bidderCode&&p.push((function(){y++,window[b](T,"event",v,"Requests",e.bidderCode,1,f)})),E()}function $(e){e&&e.bidderCode&&p.push((function(){var n,o,t,i,s=S(e.cpm),a=e.bidderCode;if(void 0!==e.timeToRespond&&g){y++;var r=((n=e.timeToRespond)>=0&&n<200?o="0-200ms":n>=200&&n<300?o="0200-300ms":n>=300&&n<400?o="0300-400ms":n>=400&&n<500?o="0400-500ms":n>=500&&n<600?o="0500-600ms":n>=600&&n<800?o="0600-800ms":n>=800&&n<1e3?o="0800-1000ms":n>=1e3&&n<1200?o="1000-1200ms":n>=1200&&n<1500?o="1200-1500ms":n>=1500&&n<2e3?o="1500-2000ms":n>=2e3&&(o="2000ms above"),o);window[b](T,"event","Prebid.js Load Time Distribution",r,a,1,f)}if(e.cpm>0){y+=2;var d=((t=e.cpm)>=0&&t<.5?i="$0-0.5":t>=.5&&t<1?i="$0.5-1":t>=1&&t<1.5?i="$1-1.5":t>=1.5&&t<2?i="$1.5-2":t>=2&&t<2.5?i="$2-2.5":t>=2.5&&t<3?i="$2.5-3":t>=3&&t<4?i="$3-4":t>=4&&t<6?i="$4-6":t>=6&&t<8?i="$6-8":t>=8&&(i="$8 above"),i);g&&(y++,window[b](T,"event","Prebid.js CPM Distribution",d,a,1,f)),window[b](T,"event",v,"Bids",a,s,f),window[b](T,"event",v,"Bid Load Time",a,e.timeToRespond,f)}})),E()}function D(e){p.push((function(){s._each(e,(function(e){y++,window[b](T,"event",v,"Timeouts",e,f)}))})),E()}function N(e){var n=S(e.cpm);p.push((function(){y++,window[b](T,"event",v,"Wins",e.bidderCode,n,f)})),E()}n.enableAnalytics=function(e){var n=e.provider,o=e.options;b=n||"ga",T=o&&o.trackerName?o.trackerName+".send":"send",w=void 0===o||void 0===o.sampling||Math.random()<parseFloat(o.sampling),o&&void 0!==o.global&&(b=o.global),o&&void 0!==o.enableDistribution&&(g=o.enableDistribution);if(w){var a=i.getEvents();s._each(a,(function(e){if("object"===(void 0===e?"undefined":t(e))){var n=e.args;if(e.eventType===d)h(n);else if(e.eventType===u)$(n);else if(e.eventType===c){D(n)}else e.eventType===l&&N(n)}})),i.on(d,(function(e){h(e)})),i.on(u,(function(e){$(e)})),i.on(c,(function(e){D(e)})),i.on(l,(function(e){N(e)}))}else s.logMessage("Prebid.js google analytics disabled by sampling");this.enableAnalytics=function(){return s.logMessage("Analytics adapter already enabled, unnecessary call to `enableAnalytics`.")}},n.getTrackerSend=function(){return T},r.registerAnalyticsAdapter({adapter:n,code:"ga"})}},[119]);
  pbjsChunk([62],{121:function(e,i,t){e.exports=t(122)},122:function(e,i,t){"use strict";(function(i){var n=Object.assign||function(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},r=t(3),o=t(2),a=t(0),d=t(5),s=t(1),c="gumgum",p={},u=function(){var e="https://g2.gumgum.com/hbid/imp",t=void 0,s=void 0,u=void 0,m={},l={},h={member:"YcXr87z2lpbB"};try{t=i.top,s=t.screen}catch(e){return a.logError(e)}var v=function(e){return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pi,a=i.ad,d=void 0===a?{}:a,s=i.pag,m=void 0===s?{}:s,h=i.thms;if(m&&m.pvid&&(u=m.pvid),d&&d.id){l[t]=h||3e4;var v=r.createBid(1),g=m.t;i.request=e;var w='<script>\n        (function (context, topWindow, d, s, G) {\n          G = topWindow.GUMGUM;\n          d = topWindow.document;\n          function loadAd() {\n            topWindow.GUMGUM.pbjs("'+g+'", '+t+', "'+encodeURIComponent(JSON.stringify(i))+'" , context);\n          }\n          if (G) {\n            loadAd();\n          } else {\n            topWindow.pbjs.loadScript("https://js.gumgum.com/services.js", loadAd);\n          }\n        }(window, top));\n      <\/script>';n(v,{cpm:d.price,ad:w,width:d.width,height:d.height,bidderCode:c}),o.addBidResponse(e.placementCode,v)}else{var f=r.createBid(2);f.bidderCode=c,o.addBidResponse(e.placementCode,f)}delete p[e.id]}};return window.pbjs.handleGumGumCB=p,{callBids:function(i){var r=i.bids,o={vw:t.innerWidth,vh:t.innerHeight,sw:s.width,sh:s.height,pu:t.location.href,ce:navigator.cookieEnabled,dpr:t.devicePixelRatio||1};a._each(r,(function(i){var t=i.bidId,r=i.params,s=void 0===r?{}:r,c=i.placementCode,g=(new Date).getTime(),w=s.inScreen,f=s.native,b=s.inSlot,G={tmax:pbjs.cbTimeout};switch(!0){case!!s.inImage:G.pi=1;break;case!!s.inScreen:G.pi=2;break;case!!s.inSlot:G.pi=3;break;case!!s.native:G.pi=5;break;default:return a.logWarn("[GumGum] No product selected for the placement "+c+", please check your implementation.")}var j=G.pi,y=j+"|"+c,C=l[j],B=m[y];if(B&&C&&g-B<C)return a.logWarn('[GumGum] The refreshes for "'+c+'" with the params '+JSON.stringify(s)+" should be at least "+C/1e3+"s apart.");m[y]=g,w&&(G.t=w),f&&(G.ni=f),b&&(G.si=b),u&&(G.pv=u);var S=n({placementCode:c,id:t},G),W={jsonp:"pbjs.handleGumGumCB['"+t+"']"};p[t]=v(S);var k,U,x=n(W,o,G,!(U=(k=window.DigiTrust&&window.DigiTrust.getUser?window.DigiTrust.getUser(h):{})&&k.success&&k.identity||"")||U.privacy&&U.privacy.optout?{}:{dt:U.id}),T=e+"?"+a.parseQueryStringParameters(x);d.loadScript(T)}))}}};s.registerBidAdapter(new u,"gumgum"),e.exports=u}).call(i,t(27))}},[121]);
  pbjsChunk([61],{123:function(e,i,r){e.exports=r(124)},124:function(e,i,r){"use strict";var a=Object.assign||function(e){for(var i=1;i<arguments.length;i++){var r=arguments[i];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},n=r(6),t=r(3),s=r(2),o=r(0),d=r(4).STATUS,c=function(){var e="hiromedia",i=3,r=["accountId"],c={bidUrl:"https://hb-rtb.ktdpublishers.com/bid/get"};function l(e){return void 0===e}function h(i,r){var a=i.placementCode,n=r?d.GOOD:d.NO_BID,c=t.createBid(n,i);c.bidderCode=e,r&&(c.cpm=r.cpm,c.ad=r.ad,c.width=r.width,c.height=r.height),o.logMessage("hiromedia.callBids, addBidResponse for "+a+" status: "+n),s.addBidResponse(a,c)}function u(e,i){var r;l(e.chance)||(r=e.chance,Math.random()<r)?h(i,e):h(i,!1)}function m(i){var n,t=o.parseSizesInput(i.sizes),s=(n=i.params,a({},c,n));return{bidParams:s,shouldBid:o.hasValidBidRequest(s,r,e),selectedSize:t[0],additionalSizes:t.slice(1).join(",")}}return{callBids:function(e){var r,t,s,d,c=(r=navigator.userAgent,t="",s="",[{name:"Mobile",stringSearch:"Mobi"},{name:"Edge"},{name:"Chrome"},{name:"Firefox"},{name:"IE",versionSearch:/MSIE\s(\d+)/},{name:"IE",stringSearch:"Trident",versionSearch:/rv:(\d+)/}].some((function(e){var i,a=e.stringSearch||e.name,n=a+"\\/(\\d+)",o=e.versionSearch||n;if(-1!==r.indexOf(a))return t=e.name,(i=r.match(o))&&(s=i&&i[1]),!0})),{name:t,version:s}),f=((d=document.createElement("a")).href=o.getTopWindowUrl(),d.hostname),g=e&&e.bids,b={method:"GET",withCredentials:!0},p={adapterVersion:i,browser:c.name,browserVersion:c.version,domain:f};o.logMessage("hiromedia.callBids"),g&&g.length&&g.forEach((function(e){var i=m(e),r=i.bidParams;if(o.logMessage("hiromedia.callBids, bidInfo "+e.placementCode+" "+i.shouldBid),i.shouldBid){var t=r.bidUrl,s=a({},p,i.bidParams,{placementCode:e.placementCode,selectedSize:i.selectedSize,additionalSizes:i.additionalSizes});Object.keys(s).forEach((function(e){(""===s[e]||l(s[e]))&&delete s[e]})),o.logMessage("hiromedia.callBids, bid request "+t+" "+JSON.stringify(i.bidRequest)),n.ajax(t,{success:function(i){u(function(e){var i=!1;try{i=JSON.parse(e)}catch(e){}return i}(i),e)},error:function(i,r){o.logError("hiromedia.callBids, bid request error",r.status,i),h(e,!1)}},s,b)}else h(e,!1)}))}}};r(1).registerBidAdapter(new c,"hiromedia"),e.exports=c}},[123]);
  pbjsChunk([60],{125:function(e,r,t){e.exports=t(126)},126:function(e,r,t){"use strict";var n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},a=u(t(7)),d=u(t(3)),i=u(t(2)),o=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),s=t(6),c=t(4),l=u(t(1));function u(e){return e&&e.__esModule?e:{default:e}}var p="huddledmasses",f={1:"468x60",2:"728x90",10:"300x600",15:"300x250",19:"300x100",43:"320x50",44:"300x50",48:"300x300",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",65:"640x480",67:"320x480",72:"320x320",73:"320x160",83:"480x300",94:"970x310",96:"970x210",101:"480x320",102:"768x1024",113:"1000x300",117:"320x100",118:"800x250",119:"200x600"};function h(){return n(new a.default(p),{callBids:function(e){(e.bids||[]).forEach((function(e){try{(0,s.ajax)(function(e){e.startTime=(new Date).getTime();var r=h.masSizeOrdering(Array.isArray(e.params.sizes)?e.params.sizes.map((function(e){return(f[e]||"").split("x")})):e.sizes);if(r.length<1)throw"no valid sizes";var t,n=0;try{t=window.top}catch(e){t=window}"http:"!==t.location.protocol&&(n=1);var a=t.location.host,d=t.location.pathname,i=navigator.language,o=t.screen.width,s=t.screen.height,c=["banner_id",e.params.placement_id,"size_ad",r[0],"alt_size_ad",r.slice(1).join(",")||[],"host",a,"page",d,"language",i,"deviceWidth",o,"deviceHeight",s,"secure",n,"bidId",e.bidId,"checkOn","rf"];return c.reduce((function(e,r,t){return t%2==0&&void 0!==c[t+1]?e+r+"="+encodeURIComponent(c[t+1])+"&":e}),"//huddledmassessupply.com/?").slice(0,-1)}(e),(function(r){try{o.logMessage("XHR callback function called for ad ID: "+e.bidId),n=r,a=e,s=JSON.parse(n),(l=d.default.createBid(c.STATUS.GOOD,a)).creative_id=s.ad_id,l.bidderCode=a.bidder,l.cpm=s.cpm||0,l.ad=s.adm,l.width=s.width,l.height=s.height,l.dealId=s.deal,i.default.addBidResponse(a.placementCode,l)}catch(r){"string"==typeof r?o.logWarn(r+" when processing huddledmasses response for placement code "+e.placementCode):o.logError("Error processing huddledmasses response for placement code "+e.placementCode,null,r);var t=d.default.createBid(c.STATUS.NO_BID,e);t.bidderCode=e.bidder,t.error=r,i.default.addBidResponse(e.placementCode,t)}var n,a,s,l}),void 0,{withCredentials:!0})}catch(r){o.logError("Error sending huddledmasses request for placement code "+e.placementCode,null,r)}}))}})}o._each(f,(function(e,r){return f[e]=r})),h.masSizeOrdering=function(e){var r=[15,2,9];return o.parseSizesInput(e).reduce((function(e,r){var t=parseInt(f[r],10);return t&&e.push(t),e}),[]).sort((function(e,t){var n=r.indexOf(e),a=r.indexOf(t);return n>-1||a>-1?-1===n?1:-1===a?-1:n-a:e-t}))},l.default.registerBidAdapter(new h,"huddledmasses"),e.exports=h}},[125]);
  pbjsChunk([59],{127:function(e,t,n){e.exports=n(128)},128:function(e,t,n){"use strict";var r=n(0),i=n(5),a=n(2),o=n(3),c=n(1),d=n(4).STATUS;function s(){return{callBids:function(n){var c,s,h,u=[],m="",p="",l="",y="",g="",b="",f="",v="",w="",I=n.bids,_="_hb_"+r.getUniqueIdentifierStr();try{m=document.referrer}catch(e){}try{v=window.location.host}catch(e){}try{g=window.devicePixelRatio}catch(e){}try{p=screen.width||document.body.clientWidth||0}catch(e){}try{l=screen.height||document.body.clientHeight||0}catch(e){}try{w=window.location.pathname+location.search+location.hash}catch(e){}try{var C=document.getElementsByTagName("meta")||{};b="keywords"in C?C.keywords.content:""}catch(e){}try{var B=navigator.connection||navigator.mozConnection||navigator.webkitConnection;f=null!=B?B.type:""}catch(e){}try{var R=document.documentElement.lang||navigator.language||navigator.userLanguage||"";y=R.split("-")[0]}catch(e){}try{var k={pxr:g,page:w,domain:v,siteRef:m,screen_w:p,screen_h:l,language:y,keywords:b,connectiontype:f,requestId:n.requestId,bidderRequestId:n.bidderRequestId,callback:"pbjs."+_,publisher_id:n.bids[0].params.publisher_id,bids:encodeURIComponent(JSON.stringify(n.bids))},j="https:"===document.location.protocol?"https":"http";for(var U in u.unshift(j+"://b.imonomy.com/openrtb/hb/"+n.bids[0].params.publisher_id+"?id="+r.getUniqueIdentifierStr()),k)k.hasOwnProperty(U)&&u.push(U+"="+encodeURIComponent(k[U]));for(s=0,h=I.length;s<h;s++)c=I[s],u.push(e(c.params));pbjs[_]=(q=I,function(e){try{var n,i,c,s="imonomy";try{e.um_list&&(m=e.um_list,l=document.getElementsByTagName("head")[0],r._each(m,(function(e){switch(p=void 0,e.type){case"redirect":p=document.createElement("img");break;case"iframe":p=r.createInvisibleIframe();break;case"js":(p=document.createElement("script")).type="text/javascript",p.async=!0}p&&(p.src=decodeURIComponent(e.Url),l.insertBefore(p,l.firstChild))})))}catch(e){}e=e.ads;for(var h=0,u=q.length;h<u;h++)c=q[h],(i=t(e,q[h].bidId))?((n=o.createBid(d.GOOD,c)).bidderCode=s,n.ad=i.ad,n.cpm=i.cpm,n.cur=i.cur,n.width=i.width,n.height=i.height,a.addBidResponse(c.placementCode,n)):((n=o.createBid(d.NO_BID,c)).bidderCode=s,a.addBidResponse(c.placementCode,n))}catch(e){}var m,p,l}),i.loadScript(u.join("&"))}catch(e){}var q}};function e(e){var t,n=[];for(t in e)e.hasOwnProperty(t)&&e[t]&&n.push(t,"=",e[t],"&");return btoa(n.join("").slice(0,-1))}function t(e,t){for(var n=0,r=(e=e||[]).length;n<r;n++)if(e[n].impression_id==t)return e[n];return null}}c.registerBidAdapter(new s,"imonomy"),e.exports=s}},[127]);
  pbjsChunk([58],{129:function(e,i,r){e.exports=r(130)},130:function(e,i,r){"use strict";var t=Object.assign||function(e){for(var i=1;i<arguments.length;i++){var r=arguments[i];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},s=r(4),n=r(0),d=r(3),a=r(2),u=r(5),o=r(7).default,l=r(1),p="improvedigital",c=function(){var e=new o(p);e.idClient=new h("hb");e.getNormalizedBidRequest=function(e){var i=n.getBidIdParameter("placementCode",e)||null,r=n.getBidIdParameter("placementId",e.params)||null,t=null,s=null;null===r&&(t=n.getBidIdParameter("publisherId",e.params)||null,s=n.getBidIdParameter("placementKey",e.params)||null);var d=n.getBidIdParameter("keyValues",e.params)||null,a=n.getBidIdParameter("size",e.params)||null,u=n.getBidIdParameter("bidId",e),o={};return r?o.placementId=r:(t&&(o.publisherId=t),s&&(o.placementKey=s)),d&&(o.keyValues=d),a&&a.w&&a.h&&(o.size={},o.size.h=a.h,o.size.w=a.w),u&&(o.id=u),i&&(o.adUnitId=i),o};var i=function(e){var i=d.createBid(s.STATUS.NO_BID,e);i.bidderCode=p,a.addBidResponse(e.placementCode,i)};return pbjs.improveDigitalResponse=function(e){var r=n.getBidderRequestAllAdUnits(p);r&&r.bids&&r.bids.length>0&&n._each(r.bids,(function(r){var t=e.bid||[];n._each(t,(function(e){if(e.id===r.bidId){if(!e.price||null===e.price)return void i(r);if(e.errorCode&&0!==e.errorCode)return void i(r);if(!e.adm||null===e.adm||"string"!=typeof e.adm)return void i(r);var t=d.createBid(s.STATUS.GOOD,r),u="",o=e.sync&&e.sync.length>0?e.sync:[];n._each(o,(function(e){var i=e.replace(/\//g,"\\/");u=u+(""===u?'document.writeln("':"")+'<img src=\\"'+i+'\\" style=\\"display:none\\"/>'})),u+=""===u?"":'")';var l="";e.nurl&&e.nurl.length>0&&(l='<img src="'+e.nurl+'" width="0" height="0" style="display:none">'),t.ad=l+"<script>"+e.adm+u+"<\/script>",t.bidderCode=p,t.cpm=parseFloat(e.price),t.width=e.w,t.height=e.h,a.addBidResponse(r.placementCode,t)}}))}))},e.callBids=function(e){var i=this,r=e.bids||[],t=n.getTopWindowLocation(),s={singleRequestMode:!1,httpRequestType:this.idClient.CONSTANTS.HTTP_REQUEST_TYPE.GET,callback:"pbjs.improveDigitalResponse",secure:"https:"===t.protocol?1:0,libVersion:this.LIB_VERSION},d=r.map((function(e){var r=i.getNormalizedBidRequest(e);return e.params&&e.params.singleRequest&&(s.singleRequestMode=!0),r})),a=this.idClient.createRequest(d,s);a.errors&&a.errors.length>0&&n.logError("ID WARNING 0x01"),a&&a.requests&&a.requests[0]&&n._each(a.requests,(function(e){e.url&&u.loadScript(e.url,null)}))},t(this,{LIB_VERSION:"3.0.5",idClient:e.idClient,getNormalizedBidRequest:e.getNormalizedBidRequest,callBids:e.callBids})};function h(e){this.CONSTANTS={HTTP_REQUEST_TYPE:{GET:0,POST:1},HTTP_SECURITY:{STANDARD:0,SECURE:1},AD_SERVER_BASE_URL:"ad.360yield.com",END_POINT:e||"hb",AD_SERVER_URL_PARAM:"?jsonp=",CLIENT_VERSION:"JS-4.0.2",MAX_URL_LENGTH:2083,ERROR_CODES:{BAD_HTTP_REQUEST_TYPE_PARAM:1,MISSING_PLACEMENT_PARAMS:2,LIB_VERSION_MISSING:3}},this.getErrorReturn=function(e){return{idMappings:{},requests:{},errorCode:e}},this.createRequest=function(e,i,r){if(i.httpRequestType!==this.CONSTANTS.HTTP_REQUEST_TYPE.GET)return this.getErrorReturn(this.CONSTANTS.ERROR_CODES.BAD_HTTP_REQUEST_TYPE_PARAM);if(!i.libVersion)return this.getErrorReturn(this.CONSTANTS.ERROR_CODES.LIB_VERSION_MISSING);var t=[],s=void 0,d=void 0;if(n.isArray(e))for(d=0;d<e.length;d++)s=this.createImpressionObject(e[d]),t.push(s);else s=this.createImpressionObject(e),t.push(s);var a={idMappings:[],requests:[]},u=null,o=(1===i.secure?"https":"http")+"://"+this.CONSTANTS.AD_SERVER_BASE_URL+"/"+this.CONSTANTS.END_POINT+this.CONSTANTS.AD_SERVER_URL_PARAM,l={bid_request:this.createBasicBidRequestObject(i,r)};for(d=0;d<t.length;d++)if((s=t[d]).errorCode)(u=u||[]).push({errorCode:s.errorCode,adUnitId:s.adUnitId});else{a.idMappings.push({adUnitId:s.adUnitId,id:s.impressionObject.id}),l.bid_request.imp=l.bid_request.imp||[],l.bid_request.imp.push(s.impressionObject);var p=encodeURIComponent(o+JSON.stringify(l));i.singleRequestMode||(a.requests.push({url:o+encodeURIComponent(JSON.stringify(l))}),l={bid_request:this.createBasicBidRequestObject(i,r)}),p.length>this.CONSTANTS.MAX_URL_LENGTH&&l.bid_request.imp.length>1&&(l.bid_request.imp.pop(),a.requests.push({url:o+encodeURIComponent(JSON.stringify(l))}),(l={bid_request:this.createBasicBidRequestObject(i,r)}).bid_request.imp=[],l.bid_request.imp.push(s.impressionObject))}return l.bid_request&&l.bid_request.imp&&l.bid_request.imp.length>0&&(a.requests=a.requests||[],a.requests.push({url:o+encodeURIComponent(JSON.stringify(l))})),u&&(a.errors=u),a},this.createBasicBidRequestObject=function(e,i){var r={};if(e.requestId?r.id=e.requestId:r.id=n.getUniqueIdentifierStr(),e.domain&&(r.domain=e.domain),e.page&&(r.page=e.page),e.ref&&(r.ref=e.ref),e.callback&&(r.callback=e.callback),"secure"in e&&(r.secure=e.secure),e.libVersion&&(r.version=e.libVersion+"-"+this.CONSTANTS.CLIENT_VERSION),i)for(var t in i)r[t]=i[t];return r},this.createImpressionObject=function(e){var i={},r={};if(i.impressionObject=r,e.id?r.id=e.id:r.id=n.getUniqueIdentifierStr(),e.adUnitId&&(i.adUnitId=e.adUnitId),e.placementId&&(r.pid=e.placementId),e.publisherId&&(r.pubid=e.publisherId),e.placementKey&&(r.pkey=e.placementKey),e.transactionId&&(r.tid=e.transactionId),e.keyValues)for(var t in e.keyValues)for(var s=0;s<e.keyValues[t].length;s++)r.kvw=r.kvw||{},r.kvw[t]=r.kvw[t]||[],r.kvw[t].push(e.keyValues[t][s]);return e.size&&e.size.w&&e.size.h?(r.banner={},r.banner.w=e.size.w,r.banner.h=e.size.h):r.banner={},r.pid||r.pubid||r.pkey||r.banner&&r.banner.w&&r.banner.h||(i.impressionObject=null,i.errorCode=this.CONSTANTS.ERROR_CODES.MISSING_PLACEMENT_PARAMS),i}}c.createNew=function(){return new c},l.registerBidAdapter(new c,p),e.exports=c,i.ImproveDigitalAdServerJSClient=h}},[129]);
  pbjsChunk([57],{131:function(e,t,i){e.exports=i(132)},132:function(e,t,i){"use strict";var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},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},s=g(i(7)),o=g(i(3)),n=g(i(2)),d=c(i(0)),u=i(4),l=c(i(11)),p=g(i(5)),f=g(i(1));function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}var m="INDEXEXCHANGE",v="indexExchange",y={INDEX_DEBUG_MODE:{queryParam:"pbjs_ix_debug",mode:{sandbox:{topFrameLimit:10,queryValue:"sandbox",siteID:"999990"}}}},I={siteID:!0,playerType:!0,protocols:!0,maxduration:!0},h={minduration:0,startdelay:"preroll",linearity:"linear",mimes:[],allowVPAID:!0,apiList:[]},_={HTML5:!0,FLASH:!0},D={VAST2:[2,5],VAST3:[3,6]},x={FLASH:[1,2],HTML5:[2]},b={linear:1,nonlinear:2},q={preroll:0,midroll:-1,postroll:-2},R={preroll:"pr",midroll:"m",postroll:"po"},w={FLASH:["video/mp4","video/x-flv"],HTML5:["video/mp4","video/webm"]},T={FLASH:["application/x-shockwave-flash"],HTML5:["application/javascript"]},E="http://as.casalemedia.com/cygnus?v=8&fn=pbjs.handleCygnusResponse",S="https://as-sec.casalemedia.com/cygnus?v=8&fn=pbjs.handleCygnusResponse";window.cygnus_index_parse_res=function(e){try{if(e){if("object"!==("undefined"==typeof _IndexRequestData?"undefined":r(_IndexRequestData))||"object"!==r(_IndexRequestData.impIDToSlotID)||void 0===_IndexRequestData.impIDToSlotID[e.id])return;var t,i=1;"object"===r(_IndexRequestData.reqOptions)&&"object"===r(_IndexRequestData.reqOptions[e.id])&&("function"==typeof _IndexRequestData.reqOptions[e.id].callback&&(t=_IndexRequestData.reqOptions[e.id].callback),"number"==typeof _IndexRequestData.reqOptions[e.id].targetMode&&(i=_IndexRequestData.reqOptions[e.id].targetMode)),_IndexRequestData.lastRequestID=e.id,_IndexRequestData.targetIDToBid={},_IndexRequestData.targetIDToResp={},_IndexRequestData.targetIDToCreative={};for(var a=[],s=void 0===e.seatbid?0:e.seatbid.length,o=0;o<s;o++)for(var n=0;n<e.seatbid[o].bid.length;n++){var d=e.seatbid[o].bid[n];if("object"===r(d.ext)&&"string"==typeof d.ext.pricelevel&&void 0!==_IndexRequestData.impIDToSlotID[e.id][d.impid]){var u,l,p,f=_IndexRequestData.impIDToSlotID[e.id][d.impid];"string"==typeof d.ext.dealid?(u=1===i?f+d.ext.pricelevel:f+"_"+d.ext.dealid,l=f+"_"+d.ext.dealid,p="IPM_"):(u=f+d.ext.pricelevel,l=f+d.ext.pricelevel,p="IOM_"),void 0===_IndexRequestData.targetIDToBid[u]?_IndexRequestData.targetIDToBid[u]=[d.adm]:_IndexRequestData.targetIDToBid[u].push(d.adm),void 0===_IndexRequestData.targetIDToCreative[l]?_IndexRequestData.targetIDToCreative[l]=[d.adm]:_IndexRequestData.targetIDToCreative[l].push(d.adm);var c={};c.impressionID=d.impid,void 0!==d.ext.dealid&&(c.dealID=d.ext.dealid),c.bid=d.price,c.slotID=f,c.priceLevel=d.ext.pricelevel,c.target=p+u,_IndexRequestData.targetIDToResp[u]=c,a.push(c)}}"function"==typeof t&&(0===a.length?t(e.id):t(e.id,a))}}catch(e){}"function"==typeof window.cygnus_index_ready_state&&window.cygnus_index_ready_state()},window.index_render=function(e,t){try{var i=_IndexRequestData.targetIDToCreative[t].pop();if(null!=i)e.write(i);else{var a="http:"===d.getTopWindowLocation().protocol?"http://as.casalemedia.com":"https://as-sec.casalemedia.com";a+="/headerstats?type=RT&s="+cygnus_index_args.siteID+"&u="+encodeURIComponent(location.href)+"&r="+_IndexRequestData.lastRequestID,(new Image).src=a+"&blank="+t}}catch(e){}},window.headertag_render=function(e,t,i){for(var a=i,r=t.split(","),s=0;s<r.length;s++){if(r[s].split("_")[0]==a)return void index_render(e,r[s])}},window.cygnus_index_args={};var C=[[728,90],[120,600],[300,250],[160,600],[336,280],[234,60],[300,600],[300,50],[320,50],[970,250],[300,1050],[970,90],[180,150]],A=function(e){for(var t=window,i="",a=0;a<y.INDEX_DEBUG_MODE.mode.sandbox.topFrameLimit&&t.parent!=t;a++){try{i=t.document.referrer}catch(e){}t=t.parent}var r=top===self?location.href:i,s=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(r);return null===s?"":decodeURIComponent(s[1].replace(/\+/g," "))},O=function(){window.cygnus_index_args.parseFn=cygnus_index_parse_res;var e=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function i(e){var i=t[e];return"string"==typeof i?i:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}function a(t){return e.lastIndex=0,e.test(t)?t.replace(e,i):t}function r(e,t,i){if(this.initialized=!1,"number"!=typeof e||e%1!=0||e<0)throw"Invalid Site ID";"number"==typeof(i=Number(i))&&i%1==0&&i>=0&&(this.timeoutDelay=i),this.siteID=e,this.impressions=[],this._parseFnName=void 0,this.sitePage=void 0;try{this.sitePage=d.getTopWindowUrl()}catch(e){}if(void 0!==this.sitePage&&""!==this.sitePage||(top===self?this.sitePage=location.href:this.sitePage=document.referrer),top===self?this.topframe=1:this.topframe=0,void 0!==t){if("function"!=typeof t)throw"Invalid jsonp target function";this._parseFnName="cygnus_index_args.parseFn"}void 0===_IndexRequestData.requestCounter?_IndexRequestData.requestCounter=Math.floor(256*Math.random()):_IndexRequestData.requestCounter=(_IndexRequestData.requestCounter+1)%256,this.requestID=String((new Date).getTime()%2592e3*256+_IndexRequestData.requestCounter+256),this.initialized=!0}r.prototype.serialize=function(){var e='{"id":"'+this.requestID+'","site":{"page":"'+a(this.sitePage)+'"';"string"==typeof document.referrer&&""!==document.referrer&&(e+=',"ref":"'+a(document.referrer)+'"'),e+='},"imp":[';for(var t=0;t<this.impressions.length;t++){var i=this.impressions[t],r=[];e+='{"id":"'+i.id+'", "banner":{"w":'+i.w+',"h":'+i.h+',"topframe":'+String(this.topframe)+"}","number"==typeof i.bidfloor&&(e+=',"bidfloor":'+i.bidfloor,"string"==typeof i.bidfloorcur&&(e+=',"bidfloorcur":"'+a(i.bidfloorcur)+'"')),"string"!=typeof i.slotID||i.slotID.match(/^\s*$/)||r.push('"sid":"'+a(i.slotID)+'"'),"number"==typeof i.siteID&&r.push('"siteID":'+i.siteID),r.length>0&&(e+=',"ext": {'+r.join()+"}"),t+1===this.impressions.length?e+="}":e+="},"}return e+="]}"},r.prototype.setPageOverride=function(e){return"string"==typeof e&&!e.match(/^\s*$/)&&(this.sitePage=e,!0)},r.prototype.addImpression=function(e,t,i,a,r,s){var o={id:String(this.impressions.length+1)};if("number"!=typeof e||e<=1)return null;if("number"!=typeof t||t<=1)return null;if(("string"==typeof r||"number"==typeof r)&&String(r).length<=50&&(o.slotID=String(r)),o.w=e,o.h=t,void 0!==i&&"number"!=typeof i)return null;if("number"==typeof i){if(i<0)return null;if(o.bidfloor=i,void 0!==a&&"string"!=typeof a)return null;o.bidfloorcur=a}if(void 0!==s){if(!("number"==typeof s&&s%1==0&&s>=0))return null;o.siteID=s}return this.impressions.push(o),o.id},r.prototype.buildRequest=function(){if(0!==this.impressions.length&&!0===this.initialized){var e,t=encodeURIComponent(this.serialize());A(y.INDEX_DEBUG_MODE.queryParam).toUpperCase()==y.INDEX_DEBUG_MODE.mode.sandbox.queryValue.toUpperCase()?(this.siteID=y.INDEX_DEBUG_MODE.mode.sandbox.siteID,e="http:"===d.getTopWindowLocation().protocol?"http://sandbox.ht.indexexchange.com":"https://sandbox.ht.indexexchange.com",d.logMessage("IX DEBUG: Sandbox mode activated")):e="http:"===d.getTopWindowLocation().protocol?"http://as.casalemedia.com":"https://as-sec.casalemedia.com";var i=encodeURIComponent("0.28.0");return e+="/cygnus?v=7&fn=cygnus_index_parse_res&s="+this.siteID+"&r="+t+"&pid=pb"+i,"number"==typeof this.timeoutDelay&&this.timeoutDelay%1==0&&this.timeoutDelay>=0&&(e+="&t="+this.timeoutDelay),e}};try{if("undefined"==typeof cygnus_index_args||void 0===cygnus_index_args.siteID||void 0===cygnus_index_args.slots)return;var s,o,n=new r(cygnus_index_args.siteID,cygnus_index_args.parseFn,cygnus_index_args.timeout);cygnus_index_args.url&&"string"==typeof cygnus_index_args.url&&n.setPageOverride(cygnus_index_args.url),_IndexRequestData.impIDToSlotID[n.requestID]={},_IndexRequestData.reqOptions[n.requestID]={};for(var u=0;u<cygnus_index_args.slots.length;u++)s=cygnus_index_args.slots[u],(o=n.addImpression(s.width,s.height,s.bidfloor,s.bidfloorcur,s.id,s.siteID))&&(_IndexRequestData.impIDToSlotID[n.requestID][o]=String(s.id));return"number"==typeof cygnus_index_args.targetMode&&(_IndexRequestData.reqOptions[n.requestID].targetMode=cygnus_index_args.targetMode),"function"==typeof cygnus_index_args.callback&&(_IndexRequestData.reqOptions[n.requestID].callback=cygnus_index_args.callback),n.buildRequest()}catch(e){d.logError("Error calling index adapter",m,e)}},N=function(){var e=new s.default("indexExchange"),t={},i=["id","siteID"],f="",c={};function g(e){var t=o.default.createBid(2);return t.bidderCode=v,n.default.addBidResponse(e,t),t}function y(e,t){for(var i=0;i<t.length;i++)if(e.id===t[i].id)return t;return t.push(e),t}function A(e,t){var i=e.slots,a={};return d._each(i,(function(e){e.id===t&&(a=e)})),a}function N(t,i){var a=o.default.createBid(t,i);return a.code=e.getBidderCode(),a.bidderCode=e.getBidderCode(),a}function B(e){var t=+e;return!(isNaN(t)||!d.isNumber(t)||d.isArray(e))||(d.logError("Duration is invalid, must be a number. Got: "+e),!1)}return pbjs.handleCygnusResponse=function(e){if(!e||!e.seatbid||d.isEmpty(e.seatbid))return d.logInfo("Cygnus returned no bids"),void Object.keys(c).forEach((function(e){var t=c[e].prebid,i=N(u.STATUS.NO_BID,t);d.logInfo(JSON.stringify(i)),n.default.addBidResponse(t.placementCode,i)}));e.seatbid.forEach((function(e){e.bid.forEach((function(e){var t=!0;if(void 0===c[e.impid])return d.logInfo("Cygnus returned mismatched id"),void Object.keys(c).forEach((function(e){var t=c[e].prebid,i=N(u.STATUS.NO_BID,t);n.default.addBidResponse(t.placementCode,i)}));e.ext.vasturl||(d.logInfo("Cygnus returned no vast url"),t=!1),l.parse(e.ext.vasturl).host===window.location.host&&(d.logInfo("Cygnus returned no vast url"),t=!1);var i=void 0;if("string"==typeof e.ext.pricelevel){var a=e.ext.pricelevel;"_"===a.charAt(0)&&(a=a.slice(1)),i=a/100,d.isNumber(i)&&!isNaN(i)||(d.logInfo("Cygnus returned invalid price"),t=!1)}else t=!1;var r=c[e.impid].prebid,s=c[e.impid].cygnus;if(t){var o=N(u.STATUS.GOOD,r);o.cpm=i,o.width=s.video.w,o.height=s.video.h,o.vastUrl=e.ext.vasturl,o.descriptionUrl=e.ext.vasturl,o.mediaType="video",n.default.addBidResponse(r.placementCode,o)}else{var p=N(u.STATUS.NO_BID,r);n.default.addBidResponse(r.placementCode,p)}}))})),c={}},a(this,{callBids:function(e){if(void 0!==e&&!d.isEmpty(e)){var a=e.bids;void 0===window._IndexRequestData&&(window._IndexRequestData={},window._IndexRequestData.impIDToSlotID={},window._IndexRequestData.reqOptions={}),_IndexRequestData.targetAggregate={open:{},private:{}},cygnus_index_args.slots=[];var s=[];a.forEach((function(e){if("video"===e.mediaType){var a=(function(e){if(function(e){if("video"===e.mediaType&&d.hasValidBidRequest(e.params.video,Object.keys(I),m)&&(i=e.params.video.siteID,a=+i,!(isNaN(a)||!d.isNumber(a)||a<0||d.isArray(i))||(d.logError("Site ID is invalid, must be a number > 0. Got: "+i),0))&&(void 0!==(t=e.params.video.playerType)&&d.isStr(t)?(t=t.toUpperCase(),_[t]||(d.logError("Player type is invalid, must be one of: "+Object.keys(_)),0)):(d.logError("Player type is invalid, must be one of: "+Object.keys(_)),0))&&(function(e){if(!d.isArray(e)||d.isEmpty(e))return d.logError("Protocol array is not an array. Got: "+e),!1;for(var t=0;t<e.length;t++){var i=e[t];if(!D[i])return d.logError("Protocol array contains an invalid protocol, must be one of: "+D+". Got: "+i),!1}return!0})(e.params.video.protocols)&&B(e.params.video.maxduration)&&e.params.video.maxduration>0)return e;var t,i,a}(e)){e=(function(e){e.params.video.siteID=+e.params.video.siteID,e.params.video.maxduration=+e.params.video.maxduration,e.params.video.protocols=e.params.video.protocols.reduce((function(e,t){return e.concat(D[t])}),[]);var t=e.params.video.minduration;void 0!==t&&B(t)||(d.logInfo("Using default value for 'minduration', default: "+h.minduration),e.params.video.minduration=h.minduration);var i=e.params.video.startdelay;void 0!==i&&(function(e){if(void 0===q[e]){var t=+e;if(isNaN(t)||!d.isNumber(t)||t<-2||d.isArray(e))return d.logInfo("Start delay is invalid, must be a number >= -2. Got: "+e),!1}return!0})(i)||(d.logInfo("Using default value for 'startdelay', default: "+h.startdelay),e.params.video.startdelay=h.startdelay);var a,r=e.params.video.linearity;void 0!==r&&(b[a=r]||(d.logInfo("Linearity is invalid, must be one of: "+Object.keys(b)+". Got: "+a),0))||(d.logInfo("Using default value for 'linearity', default: "+h.linearity),e.params.video.linearity=h.linearity);var s=e.params.video.mimes,o=e.params.video.playerType.toUpperCase();void 0!==s&&(function(e){if(!d.isArray(e)||d.isEmpty(e))return d.logError("MIMEs array is not an array. Got: "+e),!1;for(var t=0;t<e.length;t++){var i=e[t];if(!d.isStr(i)||d.isEmptyStr(i)||!/^\w+\/[\w-]+$/.test(i))return d.logError("MIMEs array contains an invalid MIME type. Got: "+i),!1}return!0})(s)||(d.logInfo("Using default value for 'mimes', player type: '"+o+"', default: "+w[o]),e.params.video.mimes=w[o]);var n=e.params.video.apiList;return void 0===n||(function(e,t){if(!d.isArray(e)||d.isEmpty(e))return d.logInfo("API array is not an array. Got: "+e),!1;for(var i=0;i<e.length;i++){var a=+e[i];if(isNaN(a)||!x[t].includes(a))return d.logInfo("API array contains an invalid API version. Got: "+a),!1}return!0})(n,o)||(d.logInfo("Removing invalid api versions from api list."),d.isArray(n)?e.params.video.apiList=n.filter((function(e){return x[o].includes(e)})):e.params.video.apiList=[]),void 0===n&&e.params.video.allowVPAID&&d.isA(e.params.video.allowVPAID,"Boolean")&&(e.params.video.mimes=e.params.video.mimes.concat(T[o]),e.params.video.apiList=x[o]),d.isEmpty(e.params.video.apiList)&&(d.logInfo("API list is empty, VPAID ads will not be requested."),delete e.params.video.apiList),delete e.params.video.playerType,delete e.params.video.allowVPAID,e})(e),c[e.bidId]={},c[e.bidId].prebid=e;var t={};t.id=e.bidId,t.ext={},t.ext.siteID=e.params.video.siteID,delete e.params.video.siteID;var i=e.params.video.startdelay;if(0===e.params.video.startdelay?i="preroll":void 0===q[e.params.video.startdelay]&&(i="midroll"),t.ext.sid=[R[i],1,1,"s"].join("_"),t.video={},e.params.video){Object.keys(e.params.video).filter((function(e){return void 0!==I[e]||void 0!==h[e]})).forEach((function(i){"startdelay"===i&&void 0!==q[e.params.video[i]]&&(e.params.video[i]=q[e.params.video[i]]),"linearity"===i&&void 0!==b[e.params.video[i]]&&(e.params.video[i]=b[e.params.video[i]]),t.video[i]=e.params.video[i]}));var a=(function(e){var t=[],i={};if(d.isArray(e)&&2===e.length&&!d.isArray(e[0])){if(!d.isNumber(e[0])||!d.isNumber(e[1]))return t;i.width=e[0],i.height=e[1],t.push(i)}else if("object"===(void 0===e?"undefined":r(e)))for(var a=0;a<e.length;a++){var s=e[a];(i={}).width=parseInt(s[0],10),i.height=parseInt(s[1],10),t.push(i)}return t})(e.sizes).shift();if(a&&a.width&&a.height)return t.video.w=a.width,t.video.h=a.height,c[e.bidId].cygnus=t,t}}})(e);void 0!==a&&s.push(a)}else!(function(e){if(d.hasValidBidRequest(e.params,i,m)){var a=0;d.isArray(e.sizes[0])||(e.sizes=[e.sizes]);for(var r=0;r<e.sizes.length;r++){for(var s=!1,o=0;o<C.length;o++)if(e.sizes[r][0]==C[o][0]&&e.sizes[r][1]==C[o][1]){e.sizes[r][0]=Number(e.sizes[r][0]),e.sizes[r][1]=Number(e.sizes[r][1]),s=!0;break}if(s){var n=!1;if(e.params.size&&d.isArray(e.params.size)){if(e.sizes[r][0]!=e.params.size[0]||e.sizes[r][1]!=e.params.size[1]){g(e.placementCode);continue}n=!0}e.params.timeout&&void 0===cygnus_index_args.timeout&&(cygnus_index_args.timeout=e.params.timeout);var u=Number(e.params.siteID);if("number"!=typeof u||u%1!=0||u<=0)d.logMessage(m+" slot excluded from request due to invalid siteID"),g(e.placementCode);else if(u&&void 0===cygnus_index_args.siteID&&(cygnus_index_args.siteID=u),d.hasValidBidRequest(e.params,i,m)){f=e.placementCode;var l=e.params[i[0]];if("string"!=typeof l&&"number"!=typeof l){d.logError(m+" bid contains invalid slot ID from "+e.placementCode+". Discarding slot"),g(e.placementCode);continue}a++;var p={width:e.sizes[r][0],height:e.sizes[r][1]},c=n?String(l):l+"_"+a;if(t[c]=e,cygnus_index_args.slots=y({id:c,width:p.width,height:p.height,siteID:u||cygnus_index_args.siteID},cygnus_index_args.slots),e.params.tier2SiteID){var v=Number(e.params.tier2SiteID);if(void 0!==v&&!v)continue;cygnus_index_args.slots=y({id:"T1_"+c,width:p.width,height:p.height,siteID:v},cygnus_index_args.slots)}if(e.params.tier3SiteID){var I=Number(e.params.tier3SiteID);if(void 0!==I&&!I)continue;cygnus_index_args.slots=y({id:"T2_"+c,width:p.width,height:p.height,siteID:I},cygnus_index_args.slots)}}}else d.logMessage(m+" slot excluded from request due to no valid sizes"),g(e.placementCode)}}else g(e.placementCode)})(e)})),s.length>0&&(function(e,t){var i,a,r,s={id:e,imp:t,site:{page:d.getTopWindowUrl()}};if(!d.isEmpty(s.imp)){var o=(i=s.imp[0].ext.siteID,a=s,(r="https:"===window.location.protocol?l.parse(S):l.parse(E)).search.s=i,r.search.r=encodeURIComponent(JSON.stringify(a)),l.format(r));p.default.loadScript(o)}})(e.bidderRequestId,s),cygnus_index_args.slots.length>20&&d.logError("Too many unique sizes on slots, will use the first 20.",m),cygnus_index_args.slots.length>0&&p.default.loadScript(O());var u=!1;window.cygnus_index_ready_state=function(){if(!u){u=!0;try{var e=_IndexRequestData.targetIDToBid;for(var i in t){var a=t[i].placementCode,s=[];for(var l in e){var p=/^(T\d_)?(.+)_(\d+)$/.exec(l);if(p){var c=p[1]||"",y=p[2],I=p[3],h=A(cygnus_index_args,c+y);if(y===i){var _=o.default.createBid(1);_.cpm=I/100,_.ad=e[l][0],_.bidderCode=v,_.width=h.width,_.height=h.height,_.siteID=h.siteID,"object"===r(_IndexRequestData.targetIDToResp)&&"object"===r(_IndexRequestData.targetIDToResp[l])&&void 0!==_IndexRequestData.targetIDToResp[l].dealID?(void 0===_IndexRequestData.targetAggregate.private[a]&&(_IndexRequestData.targetAggregate.private[a]=[]),_.dealId=_IndexRequestData.targetIDToResp[l].dealID,_IndexRequestData.targetAggregate.private[a].push(y+"_"+_IndexRequestData.targetIDToResp[l].dealID)):(void 0===_IndexRequestData.targetAggregate.open[a]&&(_IndexRequestData.targetAggregate.open[a]=[]),_IndexRequestData.targetAggregate.open[a].push(y+"_"+I)),s.push(_)}}else d.logError("Unable to parse "+l+", skipping slot",m)}if(s.length>0)for(var D=0;D<s.length;D++)n.default.addBidResponse(a,s[D]);else g(a)}}catch(e){d.logError("Error calling index adapter",m,e),(x=o.default.createBid(2)).bidderCode=v,n.default.addBidResponse(f,x)}finally{_IndexRequestData.targetIDToBid={}}var x;t={}}}}}})};f.default.registerBidAdapter(new N,"indexExchange",{supportedMediaTypes:["video"]}),e.exports=N}},[131]);
  pbjsChunk([56],{133:function(e,r,t){e.exports=t(134)},134:function(e,r,t){"use strict";var a=(function(){return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,r){var t=[],a=!0,n=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(t.push(o.value),!r||t.length!==r);a=!0);}catch(e){n=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(n)throw i}}return t})(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),n=(function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(r,t,a){return t&&e(r.prototype,t),a&&e(r,a),r}})(),i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},o=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),s=m(t(7)),d=t(6),c=m(t(2)),u=m(t(3)),l=t(4),p=t(11),f=m(t(1)),E=t(8);function m(e){return e&&e.__esModule?e:{default:e}}var h={ADAPTER_NAME:"inneractive",V:"IA-JS-HB-PBJS-1.0",RECTANGLE_SIZE:{W:300,H:250},SPOT_TYPES:{INTERSTITIAL:"interstitial",RECTANGLE:"rectangle",FLOATING:"floating",BANNER:"banner"},DISPLAY_AD:20,ENDPOINT_URL:"//ad-tag.inner-active.mobi/simpleM2M/requestJsonAd",EVENTS_ENDPOINT_URL:"//vast-events.inner-active.mobi/Event",RESPONSE_HEADERS_NAME:{PRICING_VALUE:"X-IA-Pricing-Value",AD_H:"X-IA-Ad-Height",AD_W:"X-IA-Ad-Width"}},v=void 0;try{v=window.top.document.referrer}catch(e){v=window.document.referrer}var A={defaultsQsParams:{v:h.V,page:encodeURIComponent(o.getTopWindowUrl()),mw:!0,hb:"prebidjs"},stringToCamel:function(e){if(-1===e.indexOf("_")){var r=e.charAt(0);return r!==r.toLowerCase()&&(e=e.toLowerCase()),e}return(e=e.toLowerCase()).replace(/(\_[a-z])/g,(function(e){return e.toUpperCase().replace("_","")}))},objectToCamel:function(e){var r=this;return Object.keys(e).forEach((function(t){var a=r.stringToCamel(t);a!==t&&(e[a]=e[t],delete e[t])})),e}},P=function(e){e.forEach((function(e){return e&&(new Image(1,1).src=encodeURI(e))}))},_={errorEventName:"HBPreBidError",pageProtocol:"",getPageProtocol:function(){return this.pageProtocol||(this.pageProtocol="http:"===o.getTopWindowLocation().protocol?"http:":"https:"),this.pageProtocol},getEventUrl:function(e,r){return h.EVENTS_ENDPOINT_URL+"?table="+(e===this.errorEventName?"mbwError":"mbwEvent")+"&"+(this.eventQueryStringParams(r)+"&aid="+(r&&r.appId)+"_"+e+"_other&evtName="+e)},reportEvent:function(e,r){var t=this.getEventUrl(e,r);this.createTrackingPixel(t)},defaults:A.defaultsQsParams,eventQueryStringParams:function(e){var r=i({},this.defaults,{realAppId:e&&e.appId,timestamp:Date.now()});return(0,p.formatQS)(r)},createTrackingPixel:function(e){P([this.getPageProtocol()+e])}},g={defaultsParams:i({},A.defaultsQsParams,{f:h.DISPLAY_AD,fs:!1,ref:v}),serverParamNameBySettingParamName:{referrer:"ref",keywords:"k",appId:"aid",portal:"po",age:"a",gender:"g"},unwantedValues:["",null,void 0],toServerParams:function(e){var r={};for(var t in e)e.hasOwnProperty(t)&&this.serverParamNameBySettingParamName.hasOwnProperty(t)?r[this.serverParamNameBySettingParamName[t]]=e[t]:r[t]=e[t];return r.isSecured="https:"===_.getPageProtocol()||null,r},getUrlParams:function(e){var r=this.toServerParams(e),t=i({},this.defaultsParams,r);for(var a in t)t.hasOwnProperty(a)&&-1!==this.unwantedValues.indexOf(t[a])&&delete t[a];return t.fs=e.spotType===h.SPOT_TYPES.INTERSTITIAL,e.spotType===h.SPOT_TYPES.RECTANGLE&&(t.rw=h.RECTANGLE_SIZE.W,t.rh=h.RECTANGLE_SIZE.H),"undefined"!=typeof pbjs&&(t.bco=pbjs.cbTimeout||E.config.getConfig("bidderTimeout")),t.timestamp=Date.now(),delete t.qa,t}},y={headers:[h.RESPONSE_HEADERS_NAME.PRICING_VALUE,h.RESPONSE_HEADERS_NAME.AD_H,h.RESPONSE_HEADERS_NAME.AD_W],getBidHeaders:function(e){var r={};return this.headers.forEach((function(t){return r[t]=e.getResponseHeader(t)})),r}},S=(function(){function e(){!(function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")})(this,e),this.iaAdapter=new s.default(h.ADAPTER_NAME),this.setBidderCode=this.iaAdapter.setBidderCode.bind(this),this.bidByBidId={}}return n(e,[{key:"_isValidRequest",value:function(e){return!!(e&&e.appId&&e.spotType)||(o.logError("bid requires appId"),!1)}},{key:"_storeBidRequestDetails",value:function(e){return this.bidByBidId[e.bidId]=e,e}},{key:"_getBidDetails",value:function(e,r,t){var a=u.default.createBid(e,r);return a.code=h.ADAPTER_NAME,a.bidderCode=a.code,e===l.STATUS.GOOD&&(a=i(a,r),this._setBidCpm(a,t)),a}},{key:"_setBidCpm",value:function(e,r){var t=this.bidByBidId[r];t&&(e.cpm=t.params&&t.params.qa&&t.params.qa.cpm||e.cpm,e.cpm=null===e.cpm||isNaN(e.cpm)?0:parseFloat(e.cpm))}},{key:"_isValidBidResponse",value:function(e,r){return e&&e.ad&&e.ad.html&&r&&r[h.RESPONSE_HEADERS_NAME.PRICING_VALUE]>0}},{key:"_onResponse",value:function(e,r,t){var n=this.bidByBidId[t],i=a(n.sizes[0],2),s={w:i[0],h:i[1]},d=void 0,u=y.getBidHeaders(r);try{d=JSON.parse(e)}catch(e){o.logError(e)}if(!this._isValidBidResponse(d,u)){var p="response failed for "+h.ADAPTER_NAME+" adapter";o.logError(p);var f=d&&d.config&&d.config.passback;return f&&P([f]),_.reportEvent("HBPreBidNoAd",n.params),c.default.addBidResponse(n.placementCode,this._getBidDetails(l.STATUS.NO_BID))}var E={cpm:1e3*u[h.RESPONSE_HEADERS_NAME.PRICING_VALUE],width:parseFloat(u[h.RESPONSE_HEADERS_NAME.AD_W])||s.w,ad:this._getAd(d.ad.html,d.config.tracking,n.params),height:parseFloat(u[h.RESPONSE_HEADERS_NAME.AD_H])||s.h},m=this._getBidDetails(l.STATUS.GOOD,E,t);n.adId=m.adId,this.bidByBidId[t]=n,c.default.addBidResponse(n.placementCode,m)}},{key:"_getAd",value:function(e,r,t){var a="";if(r&&Array.isArray(r.impressions)){var n=r.impressions;n.push(_.getEventUrl("HBPreBidImpression",t,!1)),n.forEach((function(e){return e&&(a+=o.createTrackPixelHtml(e))}))}e=a+e.replace(/<a /g,'<a target="_blank" ');var i=r&&Array.isArray(r.clicks)&&r.clicks;return i&&Array.isArray(i)&&i.push(_.getEventUrl("HBPreBidClick",t,!1)),"\n      <html>\n        <head>\n            <script type='text/javascript'>inDapIF=true;<\/script>\n        </head>\n        <body style='margin : 0; padding: 0;'>\n            <div id=\"iaAdContainer\">"+e+"</div>\n            <script type='text/javascript'>\n                var iaAdContainer = document.getElementById('iaAdContainer');\n                if(iaAdContainer){\n                    var clicks = '"+i+"';\n                    if(clicks){\n                      clicks = clicks.split(',');\n                      iaAdContainer.addEventListener('click', function onIaContainerClick(){\n                          clicks.forEach(function forEachClick(click){\n                              if(click){\n                                  (new Image(1,1)).src = encodeURI(click);\n                              }\n                          });\n                      });\n                    }\n                }\n            <\/script>\n        </body>\n      </html>"}},{key:"_toIaBidParams",value:function(e){var r=i({},e.params,e.params.customParams);delete r.customParams,e.params=A.objectToCamel(r)}},{key:"callBids",value:function(e){var r=this,t=e.bids||[];t.forEach((function(e){return r._toIaBidParams(e)})),t.filter((function(e){return r._isValidRequest(e.params)})).map((function(e){return r._storeBidRequestDetails(e)})).forEach((function(e){return(0,d.ajax)(r._getEndpointUrl(e.params),(function(t,a){return r._onResponse(t,a,e.bidId)}),g.getUrlParams(e.params),{method:"GET"})}))}},{key:"_getEndpointUrl",value:function(e){return e&&e.qa&&e.qa.url||_.getPageProtocol()+h.ENDPOINT_URL}},{key:"_getStoredBids",value:function(){var e=[];for(var r in this.bidByBidId)this.bidByBidId.hasOwnProperty(r)&&e.push(this.bidByBidId[r]);return e}}],[{key:"_getUtils",value:function(){return{Reporter:_}}}]),e})();f.default.registerBidAdapter(new S,"inneractive"),e.exports=S}},[133]);
  pbjsChunk([55],{135:function(e,i,t){e.exports=t(136)},136:function(e,i,t){"use strict";var n=t(3),a=t(2),r=t(5),o=t(0),s=t(4),d=function(){return pbjs._doInnityCallback=function(e){var i,t,r,d=window.location.protocol+"//cdn.innity.net/frame_util.js";r=e.callback_uid,t=o.getBidRequest(r),e.cpm>0?((i=n.createBid(s.STATUS.GOOD,t)).bidderCode="innity",i.cpm=parseFloat(e.cpm)/100,i.ad='<script src="'+d+'"><\/script>'+e.tag,i.width=e.width,i.height=e.height):((i=n.createBid(s.STATUS.NO_BID,t)).bidderCode="innity",o.logMessage("No Bid response from Innity request: "+r)),a.addBidResponse(t.placementCode,i)},{callBids:function(e){for(var i,t=e.bids||[],n=window.location.protocol+"//as.innity.com/synd/?cb="+(new Date).getTime()+"&ver=2&hb=1&output=js&",a=0;a<t.length;a++){var s={},d=t[a];s.pub=d.params.pub,s.zone=d.params.zone,s.url=o.getTopWindowUrl();var c=o.parseSizesInput(d.sizes)[0].split("x");s.width=c[0],s.height=c[1],s.callback="pbjs._doInnityCallback",s.callback_uid=d.bidId,i=n+o.parseQueryStringParameters(s),o.logMessage("Innity.prebid, Bid ID: "+d.bidId+", Pub ID: "+d.params.pub+", Zone ID: "+d.params.zone+", URL: "+i),r.loadScript(i)}}}};t(1).registerBidAdapter(new d,"innity"),e.exports=d}},[135]);
  pbjsChunk([54],{137:function(e,d,i){e.exports=i(138)},138:function(e,d,i){"use strict";var s=i(3),t=i(2),o=i(5),n=i(0),a=function(){return window.pbjs=window.pbjs||{},window.pbjs.processJCMResponse=function(e){if(e){var d=JSON.parse(e);if(d)for(var i=d.bids,o=0;o<i.length;o++){var a,r=i[o];r.cpm>0?((a=s.createBid(1)).bidderCode="jcm",a.cpm=r.cpm,a.ad=decodeURIComponent(r.ad.replace(/\+/g,"%20")),a.width=r.width,a.height=r.height,t.addBidResponse(n.getBidRequest(r.callbackId).placementCode,a)):((a=s.createBid(2)).bidderCode="jcm",t.addBidResponse(n.getBidRequest(r.callbackId).placementCode,a))}}},{callBids:function(e){for(var d={bids:[]},i=0;i<e.bids.length;i++){for(var s="",t=e.bids[i],a=0;a<t.sizes.length;a++)s+=n.parseGPTSingleSizeArray(t.sizes[a]),a!==t.sizes.length-1&&(s+=",");d.bids.push({callbackId:t.bidId,siteId:t.params.siteId,adSizes:s})}var r=JSON.stringify(d),c=document.location.protocol+"//media.adfrontiers.com/pq?t=hb&bids="+encodeURIComponent(r);o.loadScript(c)}}};i(1).registerBidAdapter(new a,"jcm"),e.exports=a}},[137]);
  pbjsChunk([53],{139:function(n,e,t){n.exports=t(140)},140:function(n,e,t){"use strict";var o=u(t(3)),r=u(t(2)),i=u(t(5)),a=(function(n){{if(n&&n.__esModule)return n;var e={};if(null!=n)for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e.default=n,e}})(t(0)),c=u(t(1));function u(n){return n&&n.__esModule?n:{default:n}}var d=t(4),l=function(){var n=window.top,e=void 0,t=void 0,c=!1,u=!1,l=void 0,f=void 0,s=void 0,p=void 0;function h(){e=n.document,l=n.jPAM=n.jPAM||window.jPAM||{},f=l._dev||{toLoad:null,server:null};var t=(function(n){for(var e=n+"=",t=document.cookie.split(";"),o=0;o<t.length;o++){for(var r=t[o];" "==r.charAt(0);)r=r.substring(1,r.length);if(0==r.indexOf(e))return r.substring(e.length,r.length)}return null})("jpxhbjs")||null;s=f.toLoad||[e.location.protocol+"//cdn-cf.justpremium.com/js/"+(t?t+"/":"")+"jpx.js"],p=f.server||e.location.protocol+"//pre.ads.justpremium.com/v/1.4"}function m(){s.length>0?i.default.loadScript(s.shift(),(function(){m()})):l=n.jPAM=Jpx.JAM.instance({plugins:["bidder"]})}function v(){if(!u){if(n.jPAM&&n.jPAM.initialized)return l.hasPlugin("bidder")?void 0:l.addPlugin("bidder");u=!0,m()}}function j(n,e){for(var t=e.length;t--;)if(parseInt(e[t].params.zone)===parseInt(n)){var o=e.splice(t,1);return!!o.length&&o.pop()}return!1}function g(n,e,t){for(var i=j(e,t);i;){var c=o.default.createBid(d.STATUS.NO_BID,i);c.bidderCode="justpremium",r.default.addBidResponse(i.placementCode,c),i=j(e,t)}a.logError(n)}function w(t){var a,c,u=(a={},c={},t.forEach((function(n){var e=n.params||{},t=e.zone;if(!t)throw new Error("JustPremium: Bid should contains zone id.");if(1!==a[t]){var o=e.allow||e.formats||[],r=e.exclude||[];if(0===o.length&&0===r.length)return a[e.zone]=1;a[t]=a[t]||[[],{}],a[t][0]=(function(n){for(var e=n.concat(),t=0;t<e.length;++t)for(var o=t+1;o<e.length;++o)e[t]===e[o]&&e.splice(o--,1);return e})(a[t][0].concat(o)),r.forEach((function(n){a[t][1][n]?a[t][1][n]++:a[t][1][n]=1})),c[t]=c[t]||0,r.length&&c[t]++}})),Object.keys(c).forEach((function(n){if(1!==a[n]){var e=[];Object.keys(a[n][1]).forEach((function(t){a[n][1][t]===c[n]&&e.push(t)})),a[n][1]=e}})),Object.keys(a).forEach((function(n){1!==a[n]&&a[n][1].length&&(a[n][0].forEach((function(e){var t=a[n][1].indexOf(e);t>-1&&a[n][1].splice(t,1)})),a[n][0].length=0),1===a[n]||a[n][0].length||a[n][1].length||(a[n]=1)})),a),l=t.concat();Object.keys(u).forEach((function(t){var a,c,f,s;a={zone:t,hostname:e.location.hostname,protocol:e.location.protocol.replace(":",""),sw:n.screen.width,sh:n.screen.height,ww:n.innerWidth,wh:n.innerHeight,c:encodeURIComponent(JSON.stringify(u[t])),id:t,i:+new Date},c=function(n){var e,i,a,c;n&&g(n,t,l),e=t,i=l,a=window.top.jPAM=window.top.jPAM||window.jPAM||{},c=a.cb=a.cb||{},i.filter((function(n){return parseInt(n.params.zone)===parseInt(e)})).forEach((function(n){var t=c["bidder"+e];r.default.addBidResponse(n.placementCode,t.createBid((function(e){var t=void 0;return e?((t=o.default.createBid(d.STATUS.GOOD,n)).bidderCode="justpremium",t.adSlot=n.adSlot,t):((t=o.default.createBid(d.STATUS.NO_BID,n)).bidderCode="justpremium",t)}),n))}))},f=Object.keys(a||{}),s=p+(f.length?"/?":"")+f.map((function(n){return n+"="+a[n]})).join("&"),i.default.loadScript(s,c)}))}return{callBids:function(o){t=o.bids||[],(function(){try{return!n.document}catch(n){return!0}})()?t.forEach((function(n){g(new Error("Justpremium: Adapter does not support cross origin iframe."),n.params.zone,t)})):(h(),c||(c=!0,i.default.loadScript(e.location.protocol+"//ox-d.justpremium.com/w/1.0/cj")),v(),w(t))}}};c.default.registerBidAdapter(new l,"justpremium"),n.exports=l}},[139]);
  pbjsChunk([52],{141:function(r,e,t){r.exports=t(142)},142:function(r,e,t){"use strict";var n=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},o=t(3),a=t(2),c=t(5),i=t(0),s=t(1),u=t(4),d=pbjs.kargo_kraken_host||"https://krk.kargo.com",p=function(){function r(r){return function(e){i._map(r,(function(r){var t,n,c=e[r.params.placementId];if(c&&(a.addBidResponse(r.placementCode,(t=c,(n=o.createBid(u.STATUS.GOOD)).bidderCode="kargo",n.cpm=Number(t.cpm),n.ad=t.adm,n.width=t.width,n.height=t.height,n)),c.receivedTracker)){var i=document.createElement("img");i.src=c.receivedTracker,document.body.appendChild(i)}}))}}function e(r){var e=r+"=",t=document.cookie.split(";");for(var n in t){for(var o=t[n];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(e))return o.substring(e.length,o.length)}return null}function t(r){try{return localStorage.getItem(r)}catch(r){return null}}return{callBids:function(o){var a,s,u,p,l=n({},{timeout:o.timeout,currency:"USD",cpmGranularity:1,cpmRange:{floor:0,ceil:20},adSlotIds:i._map(o.bids,(function(r){return r.params.placementId}))},{userIDs:(u=(function(){try{var r=JSON.parse(decodeURIComponent(e("krg_uid"))),t={};return r&&r.v&&(t=r.v),t}catch(r){return{}}})(),p=(function(){try{var r=JSON.parse(decodeURIComponent(e("krg_crb"))),t={};if(r&&r.v){var n=JSON.parse(atob(r.v));n&&n.syncIds&&(t=n.syncIds)}return t}catch(r){return{}}})(),{kargoID:u.userId,clientID:u.clientId,crbIDs:p,optOut:u.optOut}),krux:(a=t("kxkar_segs"),s=[],a&&(s=a.split(",")),{userID:t("kxkar_user"),segments:s}),pageURL:window.location.href}),g=encodeURIComponent(JSON.stringify(l)),m="kargo_prebid_"+o.requestId.replace(/-/g,"_");window.pbjs[m]=r(o.bids),c.loadScript(d+"/api/v1/bid?json="+g+"&cb=window.pbjs."+m)}}};s.registerBidAdapter(new p,"kargo"),r.exports=p}},[141]);
  pbjsChunk([51],{143:function(r,e,t){r.exports=t(144)},144:function(r,e,t){"use strict";var i=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},a=f(t(7)),n=f(t(3)),d=f(t(2)),o=(function(r){{if(r&&r.__esModule)return r;var e={};if(null!=r)for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e.default=r,e}})(t(0)),c=t(6),u=t(4),s=f(t(1));function f(r){return r&&r.__esModule?r:{default:r}}var l="//bidder.komoona.com/v1/GetSBids";function p(){var r=new a.default("komoona"),e={};function t(t){var i=void 0;try{i=JSON.parse(t)}catch(r){o.logError(r)}if(!i||i.error){var a="in response for "+r.getBidderCode()+" adapter";return i&&i.error&&(a+=": "+i.error),o.logError(a),void Object.keys(e).map((function(r){return e[r].placementCode})).forEach((function(r){d.default.addBidResponse(r,s(u.STATUS.NO_BID))}))}i.bids.forEach((function(r){var t=void 0;t=r.cpm>0&&r.creative?u.STATUS.GOOD:u.STATUS.NO_BID,r.bidId=r.uuid;var i=s(t,r),a=e[i.adId].placementCode;d.default.addBidResponse(a,i)}))}function s(e,t){var i=n.default.createBid(e,t);return i.code=r.getBidderCode(),i.bidderCode=r.getBidderCode(),e===u.STATUS.GOOD&&(i.cpm=t.cpm,i.width=t.width,i.height=t.height,i.ad=t.creative),i}return r.callBids=function(r){var i=(r.bids||[]).filter((function(r){return (function(r){{if(r.params.placementId&&r.params.hbid)return r;o.logError("bid requires placementId and hbid params")}})(r)})).map((function(r){e[r.bidId]=r;var t={};return t.sizes=r.sizes,t.uuid=r.bidId,t.placementid=r.params.placementId,t.hbid=r.params.hbid,t}));if(!o.isEmpty(i)){var a=JSON.stringify({bids:[].concat(function(r){if(Array.isArray(r)){for(var e=0,t=Array(r.length);e<r.length;e++)t[e]=r[e];return t}return Array.from(r)}(i))});(0,c.ajax)(l,t,a,{contentType:"text/plain",withCredentials:!0})}},i(this,{callBids:r.callBids,setBidderCode:r.setBidderCode})}s.default.registerBidAdapter(new p,"komoona"),r.exports=p}},[143]);
  pbjsChunk([50],{145:function(i,e,d){i.exports=d(146)},146:function(i,e,d){"use strict";var n=d(3),r=d(2),t=d(5);function o(i,e){return encodeURIComponent(i)+"="+encodeURIComponent(e)}function a(i,e){var d=n.createBid(void 0!==e?1:2);d.bidderCode="kruxlink",void 0!==e&&(d.cpm=e.price,d.ad=e.adm,d.width=e.w,d.height=e.h),r.addBidResponse(i,d)}function p(i){for(var e=[],d={},n=i.bids||[],r=0;r<n.length;r++){var p=n[r],s=(p.params||{}).impid;d[s]=p.placementCode,e.push(s)}var c,l,u,b=(c=i.bidderRequestId,l=d,u="_kruxlink_"+c,pbjs[u]=function(i){if(delete pbjs[u],void 0!==i.seatbid)for(var e=0;e<i.seatbid.length;e++){var d=i.seatbid[e];if(void 0!==d.bid)for(var n=0;n<d.bid.length;n++){var r=d.bid[n];void 0!==r.impid&&(a(l[r.impid],r),delete l[r.impid])}}for(var t in l)l.hasOwnProperty(t)&&a(l[t])},"pbjs."+u),v="https://link.krxd.net/hb?"+[o("id",i.bidderRequestId),o("u",window.location.href),o("impid",e.join(",")),o("calltype","pbd"),o("callback",b)].join("&");t.loadScript(v)}function s(){return{callBids:p}}d(1).registerBidAdapter(new s,"kruxlink"),i.exports=s}},[145]);
  pbjsChunk([49],{147:function(e,t,s){e.exports=s(148)},148:function(e,t,s){"use strict";var n=s(3),a=s(2),o=s(0),r=s(5),i=function(){var e="lifestreet",t="prebidJS-1.0",s={},i="LSMPrebid Request",l="LSMPrebid Response";function c(t,s,o,r,i){var l=s&&o&&o.length>0,c=n.createBid(l?1:2,t);c.bidderCode=e,l&&(c.cpm=s,c.ad=o,c.width=r,c.height=i),a.addBidResponse(t.placementCode,c)}return{callBids:function(e){o._each(e.bids,(function(e){var n=e.params.jstag_url,a=e.params.slot,o=e.params.adkey,d=e.params.ad_size,p=700;e.params.timeout&&(p=e.params.timeout);var m,g,u,f=!1;if(n&&n.length>0&&a&&a.length>0&&o&&o.length>0&&d&&d.length>0){for(var v=d.split("x"),b=0;b<v.length;++b)v[b]=+v[b];if(e.sizes&&e.sizes instanceof Array&&e.sizes.length>0&&v.length>1){e.sizes=e.sizes[0]instanceof Array?e.sizes:[e.sizes];for(var w=0;w<e.sizes.length;++w){var h=e.sizes[w];if(h.length>1&&h[0]===v[0]&&h[1]===v[1]){f=!0;break}}}else f=!0}f?(m=e,g=n,u=p,r.loadScript(g,(function(){if(LSM_Slot&&"function"==typeof LSM_Slot){var e={_preload:"wait",_hb_request:t,_timeout:u,_onload:function(e,t,n,a,o){if("error"!==e.state()){var r=e.getSlotObjectName();if(pbjs[r]=e,r&&!s[r]){s[r]=!0;var d=(u=r,(p=g)&&u?'<div id="LSM_AD"></div>\n             <script type="text/javascript" src=\''+p+"'><\/script>\n             <script>\n              function receivedLSMMessage(ev) {\n                var key = ev.message ? 'message' : 'data';\n                var object = {};\n                try {\n                  object = JSON.parse(ev[key]);\n                } catch (e) {\n                  return;\n                }\n                if (object.message === '"+l+"' && object.slotObject) {\n                  var slot  = object.slotObject;\n                  slot.__proto__ = slotapi.Slot.prototype;\n                  slot.getProperties()['_onload'] = function(slot) {\n                    if (slot.state() !== 'error') {\n                      slot.show();\n                    }\n                  };\n                  window[slot.getSlotObjectName()] = slot;\n                  slot.showInContainer(document.getElementById(\"LSM_AD\"));\n                }\n              }\n              window.addEventListener('message', receivedLSMMessage, false);\n              window.parent.postMessage(JSON.stringify({\n                message: '"+i+"',\n                slotName: '"+u+"'\n              }), '*');\n            <\/script>":null);c(m,n,d,a,o)}else e.show()}else c(m,0,null,0,0);var p,u}};for(var n in m.params)"jstag_url"!==n&&"timeout"!==n&&m.params.hasOwnProperty(n)&&(e[n]=m.params[n]);LSM_Slot(e),window.addEventListener("message",(function(e){var t=e.message?"message":"data",s={};try{s=JSON.parse(e[t])}catch(e){return}s.message&&s.message===i&&s.slotName&&window.pbjs[s.slotName]&&(e.source.postMessage(JSON.stringify({message:l,slotObject:window.pbjs[s.slotName]}),"*"),window.pbjs[s.slotName].destroy(),window.pbjs[s.slotName]=null)}),!1)}else c(m,0,null,0,0)}))):c(e,0,null,0,0)}))}}};s(1).registerBidAdapter(new i,"lifestreet"),e.exports=i}},[147]);
  pbjsChunk([48],{149:function(t,n,e){t.exports=e(150)},150:function(t,n,e){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=e(3),i=e(2),a=e(5),c=e(4);function d(){function t(){try{return window.self!==window.top&&!window.mantis_link}catch(t){return!0}}function n(t){return null!=t&&("string"==typeof t?!(!t||/^\s*$/.test(t)):"number"!=typeof t||!isNaN(t))}function e(t){return"[object Object]"===Object.prototype.toString.call(t)}function d(){return"object"===o(window.context)&&("AMP-AD"===window.context.tagName||"AMP-EMBED"===window.context.tagName)}function u(o,r,i){var a={referrer:document.referrer,tz:(new Date).getTimezoneOffset(),buster:(new Date).getTime(),secure:"https:"===document.location.protocol};if(t()&&!d()||(a.mobile=!d()&&(function(n){var e=function(t){var e=t.innerWidth||t.document.documentElement.clientWidth||t.document.body.clientWidth;return!(!n&&("ontouchstart"in window||navigator.msMaxTouchPoints))&&(!e||e>=(window.mantis_breakpoint||768))};if(t())try{return e(window.top)}catch(t){}return e(window)})(!0)?"false":"true"),window.mantis_uuid)a.uuid=window.mantis_uuid;else if(window.localStorage){var c=window.localStorage.getItem("mantis:uuid");c&&(a.uuid=c)}if(t())a.iframe=!0;else try{a.title=window.top.document.title,a.referrer=window.top.document.referrer,a.url=window.top.document.location.href}catch(t){}d()&&(!a.url&&window.context.canonicalUrl&&(a.url=window.context.canonicalUrl),!a.url&&window.context.location&&(a.url=window.context.location.href),!a.referrer&&window.context.referrer&&(a.referrer=window.context.referrer)),Object.keys(r||{}).forEach((function(t){a[t]=r[t]}));var u=(function t(o,r,i){if(!o)return null;var a,c=i||[];for(var d in o){var u=d;r&&(u=r+"["+d+"]");var s=o[d];if(a=s,"[object Array]"===Object.prototype.toString.call(a))for(var w=0;w<s.length;w++){var f=u+"["+w+"]",m=s[w];e(m)?t(m,f,c):n(m)&&c.push(f+"="+encodeURIComponent(m))}else e(s)?t(s,u,c):n(s)&&c.push(u+"="+encodeURIComponent(s))}return c.join("&")})(a);return(void 0===window.mantis_domain?i||"https://mantodea.mantisadnetwork.com":window.mantis_domain)+o+"?"+u}return new function(t,n,e,o){return{callBids:function(r){var i=null;r.bids.some((function(t){if(t.params.property)return i=t.params.property,!0}));var a,c={jsonp:(a=function(e){r.bids.forEach((function(r){var i,a=e.ads[r.bidId];a?((i=t.createBid(o.STATUS.GOOD)).bidderCode="mantis",i.cpm=a.cpm,i.ad=a.html,i.width=a.width,i.height=a.height):(i=t.createBid(o.STATUS.NO_BID)).bidderCode="mantis",n.addBidResponse(r.placementCode,i)}))},window.mantis_jsonp||(window.mantis_jsonp=[]),window.mantis_jsonp.push(a),"mantis_jsonp["+(window.mantis_jsonp.length-1)+"]"),property:i,bids:r.bids.map((function(t){return{bidId:t.bidId,config:t.params,sizes:t.sizes.map((function(t){return{width:t[0],height:t[1]}}))}})),version:1};e.loadScript(u("/website/prebid",c))}}}(r,i,a,c)}e(1).registerBidAdapter(new d,"mantis"),t.exports=d}},[149]);
  pbjsChunk([4],{10:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="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};t.default=function(e){var t,n=e.url,r=e.analyticsType,o=e.global,i=e.handler,h=[],A=0,N=!0;r===E&&(0,u.loadScript)(n,j);(r===S||m)&&j();return{track:function(e){var t=e.eventType,a=e.args;(this.getAdapterType()===E||m)&&window[o](i,t,a);this.getAdapterType()===S&&function(e){var t=e.eventType,a=e.args,r=e.callback;(0,s.ajax)(n,r,JSON.stringify({eventType:t,args:a}))}.apply(void 0,arguments)},enqueue:O,enableAnalytics:function(e){var n=this,r=this;_="object"!==(void 0===e?"undefined":a(e))||"object"!==a(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(_){var i;l.getEvents().forEach((function(e){if(e){var t=e.eventType,n=e.args;t!==v&&O.call(r,{eventType:t,args:n})}})),c(i={},y,(function(e){return n.enqueue({eventType:y,args:e})})),c(i,g,(function(e){return n.enqueue({eventType:g,args:e})})),c(i,v,(function(e){return n.enqueue({eventType:v,args:e})})),c(i,T,(function(e){return n.enqueue({eventType:T,args:e})})),c(i,b,(function(e){return n.enqueue({eventType:b,args:e})})),c(i,d,(function(e){return n.enqueue({eventType:d,args:e})})),c(i,p,(function(t){t.config=e.options,n.enqueue({eventType:p,args:t})})),t=i,f._each(t,(function(e,t){l.on(t,e)}))}else f.logMessage('Analytics adapter for "'+o+'" disabled by sampling');this.enableAnalytics=function(){return f.logMessage('Analytics adapter for "'+o+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){f._each(t,(function(e,t){l.off(t,e)}))},getAdapterType:function(){return r},getGlobal:function(){return o},getHandler:function(){return i},getUrl:function(){return n}};function O(e){var t=e.eventType,n=e.args,a=this;o&&window[o]&&t&&n?this.track({eventType:t,args:n}):h.push((function(){A++,a.track({eventType:t,args:n})}))}function j(){if(N){for(var e=0;e<h.length;e++)h[e]();h.push=function(e){e()},N=!1}f.logMessage("event count sent to "+o+": "+A)}};var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},u=n(5),s=n(6);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(9),f=n(0),p=i.default.EVENTS.AUCTION_INIT,d=i.default.EVENTS.AUCTION_END,y=i.default.EVENTS.BID_REQUESTED,v=i.default.EVENTS.BID_TIMEOUT,g=i.default.EVENTS.BID_RESPONSE,T=i.default.EVENTS.BID_WON,b=i.default.EVENTS.BID_ADJUSTMENT,E="library",S="endpoint",m="bundle",_=!0},151:function(e,t,n){e.exports=n(152)},152:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(6),o=u(n(10)),i=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var s="//prebid_stats.mars.media/prebidjs/api/analytics.php",c={},l=a((0,o.default)({MARS_ANALYTICS_URL:s,analyticsType:"endpoint"}),{track:function(e){var t=e.eventType,n=e.args;void 0!==n&&"marsmedia"===n.bidderCode&&(c[t]=n),"auctionEnd"===t&&setTimeout((function(){(0,r.ajax)(s,{success:function(){},error:function(){}},JSON.stringify({act:"prebid_analytics",params:c,pbjs:pbjs.getBidResponses(),ver:"1.0.1"}),{method:"POST"})}),3e3)}});i.default.registerAnalyticsAdapter({adapter:l,code:"marsmedia"}),t.default=l}},[151]);
  pbjsChunk([47],{153:function(r,e,i){r.exports=i(154)},154:function(r,e,i){"use strict";var o=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])}return r},a=c(i(7)),t=c(i(3)),d=c(i(2)),s=i(6),n=i(4),u=(function(r){{if(r&&r.__esModule)return r;var e={};if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e.default=r,e}})(i(0)),l=c(i(1));function c(r){return r&&r.__esModule?r:{default:r}}var p="marsmedia",f="//bid306.rtbsrv.com:9306/bidder/?bid=3mhdom",m=function r(){function e(r){if(void 0===r.params)throw"No params";if(void 0===r.sizes||0===r.sizes.length)throw"No sizes";if(void 0===r.params.floor)throw"No floor";if(isNaN(Number(r.params.floor)))throw"Floor must be numeric value";var e=r.sizes[0],i=void 0!==r.params.floor&&""===r.params.floor?0:r.params.floor,o="https"===window.location.protocol?1:0,a=void 0!==r.params.publisherID?r.params.publisherID:"",t={};return t.id=u.generateUUID(),t.cur=["USD"],t.imp=[{id:t.id,banner:{w:e[0],h:e[1],secure:o},bidfloor:i}],t.device={ua:navigator.userAgent},t.user={id:a},t.app={id:t.id,domain:document.domain,publisher:{id:a}},t.site={id:a,domain:window.location.hostname,page:document.URL,ref:document.referrer,publisher:{id:a,domain:window.location.hostname}},t.publisher={id:a,domain:window.location.hostname},JSON.stringify(t)}return o(new a.default(p),{callBids:function(r){(r.bids||[]).forEach((function(r){try{(0,s.ajax)(f,{success:function(e){try{u.logMessage("Register bid for publisher ID: "+r.params.publisherID),(function(r,e){var i;try{i=JSON.parse(r)}catch(r){throw"Faild to parse bid response"}if(0===Object.keys(i).length||0===Object.keys(e).length)throw"Empty Bid";var o=i.seatbid[0].bid[0],a=t.default.createBid(n.STATUS.GOOD,e),s=e.sizes[0];a.un_id=i.id,a.bidderCode=e.bidder,a.cpm=Number(o.price),a.price=Number(o.price),a.width=s[0],a.height=s[1],a.ad=o.adm,a.cid=o.cid,a.seat=i.seatbid[0].seat,d.default.addBidResponse(e.placementCode,a)})(e,r)}catch(e){u.logError("Error processing response for publisher ID: "+r.params.publisherID,null,e),i()}},error:i},e(r),{})}catch(e){u.logError("Error sending marsmedia request for publisher id: "+r.params.publisherID,null,e),i()}function i(){var e=t.default.createBid(n.STATUS.NO_BID,r);e.bidderCode=r.bidder,d.default.addBidResponse(r.bidid,e)}}))},createNew:r.createNew,buildCallParams:e})};m.createNew=function(){return new m},l.default.registerBidAdapter(new m,p),r.exports=m}},[153]);
  pbjsChunk([46],{155:function(e,i,d){e.exports=d(156)},156:function(e,i,d){"use strict";var t=d(4),a=d(0),r=d(3),n=d(2),o=d(5),s=d(1),p="memeglobal",c=function(){var e="stinger.memeglobal.com/api/v1/services/prebid";function i(i){var d=window.location.host,r=window.location.host+window.location.pathname+location.search+location.hash,n=a.getBidIdParameter("tagid",i.params),s=Number(a.getBidIdParameter("bidfloor",i.params)),p=0,c=0,b=Array.isArray(i.params.sizes)?i.params.sizes:i.sizes;2===b.length&&"number"==typeof b[0]&&"number"==typeof b[1]?(p=b[0],c=b[1]):(p=b[0][0],c=b[0][1]);var l={id:a.getUniqueIdentifierStr(),imp:[{id:i.bidId,banner:{w:p,h:c},tagid:i.placementCode,bidfloor:s}],site:{domain:d,page:r,publisher:{id:n}}},m="//"+e+"?callback=window.pbjs.mgres&src="+t.REPO_AND_VERSION+"&br="+encodeURIComponent(JSON.stringify(l));o.loadScript(m)}return pbjs.mgres=function(e){e&&e.id&&e.seatbid&&0!==e.seatbid.length&&e.seatbid[0].bid&&0!==e.seatbid[0].bid.length&&e.seatbid[0].bid.forEach((function(e){var i,d="",a=pbjs._bidsRequested.find((function(e){return e.bidderCode===p})).bids.find((function(i){return i.bidId===e.impid}));if(a){var o=r.createBid(1);if(d=a.placementCode,a.status=t.STATUS.GOOD,0===(i=parseFloat(e.price))){var s=r.createBid(2);return s.bidderCode=p,void n.addBidResponse(d,s)}o.placementCode=d,o.size=a.sizes;var c=e.adm,b='<img src="'+e.nurl+'" height="0px" width="0px" style="display: none;">';o.creative_id=e.id,o.bidderCode=p,o.cpm=i,o.ad=decodeURIComponent(c+b),o.width=parseInt(e.w),o.height=parseInt(e.h),n.addBidResponse(d,o)}}))},{callBids:function(e){var d=e.bids;if(d)for(var t=0;t<d.length;t++)i(d[t])}}};s.registerBidAdapter(new c,"memeglobal"),e.exports=c}},[155]);
  pbjsChunk([45],{157:function(e,r,i){e.exports=i(158)},158:function(e,r,i){"use strict";var n=i(3),t=i(2),o=i(6),a=i(4),d=i(0);function _(){var e="mobfox",r="https://my.mobfox.com/request.php";function i(i){var s,c,v=(function(e){for(var r in e)e.hasOwnProperty(r)&&(void 0===e[r]?delete e[r]:e[r]=encodeURIComponent(e[r]));return d._map(Object.keys(e),(function(r){return r+"="+e[r]})).join("&")})({rt:(c=(s=i).params).rt||"api-fetchip",r_type:c.r_type||"banner",r_resp:c.r_resp||"json",s:c.s,u:c.u||window.navigator.userAgent,adspace_width:c.adspace_width||s.sizes[0][0],adspace_height:c.adspace_height||s.sizes[0][1],r_floor:c.r_floor||void 0,o_andadvid:c.o_andadvid||void 0,longitude:c.longitude||void 0,latitude:c.latitude||void 0,demo_age:c.demo_age||void 0,adspace_strict:c.adspace_strict||void 0,imp_instl:c.imp_instl||void 0,c_mraid:c.c_mraid||void 0,v_dur_min:c.v_dur_min||void 0,v_dur_max:c.v_dur_max||void 0,v_autoplay:c.v_autoplay||void 0,v_startmute:c.v_startmute||void 0,v_rewarded:c.v_rewarded||void 0,v_api:c.v_api||void 0,n_ver:c.n_ver||void 0,n_adunit:c.n_adunit||void 0,n_layout:c.n_layout||void 0,n_context:c.n_context||void 0,n_plcmttype:c.n_plcmttype||void 0,n_img_icon_req:c.n_img_icon_req||void 0,n_img_icon_size:c.n_img_icon_size||void 0,n_img_large_req:c.n_img_large_req||void 0,n_img_large_w:c.n_img_large_w||void 0,n_img_large_h:c.n_img_large_h||void 0,n_title_req:c.n_title_req||void 0,n_title_len:c.n_title_len||void 0,n_desc_req:c.n_desc_req||void 0,n_desc_len:c.n_desc_len||void 0,n_rating_req:c.n_rating_req||void 0});o.ajax(r+"?"+v,{success:function(r,o){if("application/json"==o.getResponseHeader("Content-Type"))try{r=JSON.parse(r)}catch(e){r={error:r}}!(function(r,i){try{var o=(function(r,i){var t=r.data,o=t.error;if(o)throw o;var d=t.request&&t.request.htmlString;if(!d)throw["htmlString is missing",t];var _=void 0,s=r.xhr.getResponseHeader("X-Pricing-CPM");try{_=Number(s)}catch(e){throw["Invalid CPM value:",s]}var c=n.createBid(a.STATUS.GOOD,i);return c.bidderCode=e,c.ad=d,c.cpm=_,c.width=i.sizes[0][0],c.height=i.sizes[0][1],c})(r,i);t.addBidResponse(i.placementCode,o)}catch(e){_(i,[e])}})({data:r,xhr:o},i)},error:function(e){if("application/json"==xhr.getResponseHeader("Content-Type"))try{e=JSON.parse(e)}catch(e){}_(i,[e])}})}function _(r,i){d.logError.apply(d,["Bid Response Error",r].concat(function(e){if(Array.isArray(e)){for(var r=0,i=Array(e.length);r<e.length;r++)i[r]=e[r];return i}return Array.from(e)}(i)));var o=n.createBid(a.STATUS.NO_BID,r);o.bidderCode=e,t.addBidResponse(r.placementCode,o)}return{callBids:function(e){(e.bids||[]).forEach(i)}}}i(1).registerBidAdapter(new _,"mobfox"),e.exports=_}},[157]);
  pbjsChunk([44],{159:function(e,i,n){e.exports=n(160)},160:function(e,i,n){"use strict";var d=n(4),a=n(0),r=n(3),t=n(2),o=n(5),s=n(1),c=null,p=function(){var e="placeholder.for.nginad.server.com";function i(e){var i=null,n=null;return 2===e.sizes.length&&"number"==typeof e.sizes[0]&&"number"==typeof e.sizes[1]?(i=e.sizes[0],n=e.sizes[1]):(i=e.sizes[0][0],n=e.sizes[0][1]),[i,n]}function n(e,i){if(null!==i){var n=r.createBid(2);n.bidderCode="nginad",t.addBidResponse(i,n)}}return pbjs.nginadResponse=function(e){var a,o={};if(!e||!e.id)return n(0,c);if(!e.seatbid||0===e.seatbid.length||!e.seatbid[0].bid||0===e.seatbid[0].bid.length)return n(0,c);for(a in e.seatbid[0].bid){var s,p,u=e.seatbid[0].bid[a],b=u.impid,l=pbjs._bidsRequested.find((function(e){return"nginad"===e.bidderCode})).bids.find((function(e){return e.bidId===b}));if(!l)return n(0,c);p=l.placementCode,l.status=d.STATUS.GOOD,0===(s=parseFloat(u.price))&&n(0,b),u.placementCode=p,u.size=l.sizes;var f=u.adm;(o=r.createBid(1)).creative_id=u.Id,o.bidderCode="nginad",o.cpm=s,o.ad=decodeURIComponent(f);var m=i(l);o.width=m[0],o.height=m[1],t.addBidResponse(p,o)}},{callBids:function(n){!(function(n){var d=window.location.host,r=window.location.pathname+location.search+location.hash,t=[];c=n[0].placementCode,a._each(n,(function(n){var d=a.getBidIdParameter("pzoneid",n.params),r=a.getBidIdParameter("bidfloor",n.params),o=i(n),s={id:n.bidId,banner:{w:o[0],h:o[1]},tagid:d,bidfloor:r};t.push(s),e=n.params.nginadDomain}));var s={id:a.getUniqueIdentifierStr(),imp:t,site:{domain:d,page:r}},p=window.location.protocol+"//"+e+"/bid/rtb?callback=window.pbjs.nginadResponse&br="+encodeURIComponent(JSON.stringify(s));o.loadScript(p)})(function(e){var i,n={},d=[];for(i in e)n[a.getBidIdParameter("pzoneid",e[i].params)]=e[i];for(i in n)n.hasOwnProperty(i)&&d.push(n[i]);return d}(n.bids||[]))}}};s.registerBidAdapter(new p,"nginad"),e.exports=p}},[159]);
  pbjsChunk([43],{161:function(e,t,n){e.exports=n(162)},162:function(e,t,n){"use strict";var i=n(8),r=n(3),a=n(2),d=n(6),o=n(4),c=n(0),s=function(){var e="openx",t="hb_pb",n="1.0.1",s=void 0,u=i.config.getConfig("bidderTimeout"),p=null;function h(e){try{e=JSON.parse(e)}catch(t){e={ads:{}}}var t=e.ads.ad;e.ads&&e.ads.pixels&&(function(e){var t=c.createInvisibleIframe(),n="openx-pd";t.setAttribute("id",n),t.setAttribute("name",n);var i=document.body;if(!i)return;t.src=e,p?(p.parentNode.replaceChild(t,p),p=t):p=i.appendChild(t)})(e.ads.pixels),t||(t=[]);for(var n=pbjs._bidsRequested.find((function(e){return"openx"===e.bidderCode})).bids,r=0;r<n.length;r++){for(var a=n[r],d=null,o=null,h=0;h<t.length;h++)if(o=t[h],String(a.params.unit)===String(o.adunitid)&&b(o,a)&&!o.used){d=o.adunitid;break}var f={bd:+new Date-s,br:"0",bt:Math.min(u,window.PREBID_TIMEOUT||i.config.getConfig("bidderTimeout")),bs:window.location.hostname};d&&o.pub_rev?(o.used=!0,f.br=f.bt<f.bd?"t":"p",f.bp=o.pub_rev,f.ts=o.ts,m(o,a),l(o.creative[0],f)):m(null,a)}}function m(t,n){var i=r.createBid(t?o.STATUS.GOOD:o.STATUS.NO_BID,n);if(i.bidderCode=e,t){var d=t.creative[0];i.ad=t.html,i.cpm=Number(t.pub_rev)/1e3,i.ad_id=t.adid,t.deal_id&&(i.dealId=t.deal_id),d&&(i.width=d.width,i.height=d.height),t.tbd&&(i.tbd=t.tbd)}a.addBidResponse(n.placementCode,i)}function f(e){for(var t in e)e.hasOwnProperty(t)&&(e[t]||delete e[t]);return c._map(Object.keys(e),(function(t){return t+"="+e[t]})).join("&")}function l(e,t){var n=new Image,i=e.tracking.impression.match(/([^?]+\/)ri\?/);i&&(n.src=i[1]+"bo?"+f(t))}function b(e,t){var n=c.parseSizesInput(t.sizes),i=n&&n.length||0,r=!1,a=e.creative&&e.creative[0],d=String(a.width)+"x"+String(a.height);if(c.isArray(n))for(var o=0;o<i;o++){var s=n[o];if(String(s)===String(d)){r=!0;break}}return r}return{callBids:function(e){var i=void 0,r=e.bids||[],a=window.parent!==window?document.referrer:window.location.href;a=a&&encodeURIComponent(a);try{i=window.self!==window.top}catch(e){i=!1}if(0!==r.length){var o=r[0].params.delDomain;s=new Date(e.start),e.timeout&&(u=e.timeout),(function(e,t,n){if(c.isArray(e)){t.auid=c._map(e,(function(e){return e.params.unit})).join("%2C"),t.dddid=c._map(e,(function(e){return e.transactionId})).join("%2C"),t.aus=c._map(e,(function(e){return c.parseSizesInput(e.sizes).join(",")})).join("|"),e.forEach((function(e){for(var n in e.params.customParams)e.params.customParams.hasOwnProperty(n)&&(t["c."+n]=e.params.customParams[n])}));try{var i="//"+n+"/w/1.0/arj?"+f(t);d.ajax(i,h,void 0,{withCredentials:!0})}catch(e){c.logMessage("Ajax call failed due to "+e)}}})(r,{ju:a,jr:a,ch:document.charSet||document.characterSet,res:screen.width+"x"+screen.height+"x"+screen.colorDepth,ifr:i,tz:s.getTimezoneOffset(),tws:(function(e){var t=void 0,n=void 0,i=window,r=document,a=r.documentElement,d=void 0;if(e){try{i=window.top,r=window.top.document}catch(e){return}a=r.documentElement,d=r.body,t=i.innerWidth||a.clientWidth||d.clientWidth,n=i.innerHeight||a.clientHeight||d.clientHeight}else a=r.documentElement,t=i.innerWidth||a.clientWidth,n=i.innerHeight||a.clientHeight;return t+"x"+n})(i),ef:"bt%2Cdb",be:1,bc:t+"_"+n,nocache:(new Date).getTime()},o)}}}};n(1).registerBidAdapter(new s,"openx"),e.exports=s}},[161]);
  pbjsChunk([42],{163:function(e,i,d){e.exports=d(164)},164:function(e,i,d){"use strict";var a=Object.assign||function(e){for(var i=1;i<arguments.length;i++){var d=arguments[i];for(var a in d)Object.prototype.hasOwnProperty.call(d,a)&&(e[a]=d[a])}return e},t=d(4),r=d(0),n=d(2),o=d(3),s=d(5),c=d(7).default,p=function(){var e=new c("piximedia"),i={},d=function(e,i,d){return e+"/"+encodeURIComponent(i)+"="+d};return e.callBids=function(a){r._each(a.bids,(function(t){if(t.placementCode&&t.sizes&&t.params&&t.params.siteId&&t.params.placementId){var n=t.params.hasOwnProperty("sizes")?t.params.sizes:t.sizes;n=r.parseSizesInput(n);var o=r.getUniqueIdentifierStr(),c=t.params.prebidUrl||"//static.adserver.pm/prebid";for(var p in t.params)if(t.params.hasOwnProperty(p)){var m=t.params[p];switch(p){case"siteId":c=d(c,"site_id",encodeURIComponent(m));break;case"placementId":c=d(c,"placement_id",encodeURIComponent(m));break;case"dealId":c=d(c,"l_id",encodeURIComponent(m));break;case"sizes":case"prebidUrl":break;default:c=d(c,p,"function"==typeof m?encodeURIComponent((m(e,a,t)||"").toString()):encodeURIComponent((m||"").toString()))}}c=d(c,"jsonp","pbjs.handlePiximediaCallback"),c=d(c,"sizes",encodeURIComponent(n.join(","))),c=d(c,"cbid",encodeURIComponent(o)),c=d(c,"rand",String(Math.floor(1e9*Math.random()))),i[o]={bidObj:t,url:c,start:(new Date).getTime()},r.logMessage("[Piximedia] Dispatching header Piximedia to URL "+c),s.loadScript(c)}}))},pbjs.handlePiximediaCallback=function(e){if(e&&e.hasOwnProperty("foundbypm")){var d,a=i[e.cbid];if(a){var s=a.bidObj,c=(new Date).getTime();c-=a.start,e.foundbypm&&e.width&&e.height&&e.html&&e.cpm&&e.currency?((d=o.createBid(t.STATUS.GOOD)).bidderCode=s.bidder,d.width=e.width,d.height=e.height,d.ad=e.html,d.cpm=e.cpm,d.currency=e.currency,e.dealId?d.dealId=e.dealId:d.dealId=null,n.addBidResponse(s.placementCode,d),r.logMessage("[Piximedia] Registered bidresponse from URL "+a.url+" (time: "+String(c)+")"),r.logMessage("[Piximedia] ======> BID placementCode: "+s.placementCode+" CPM: "+String(d.cpm)+" "+d.currency+" Format: "+String(d.width)+"x"+String(d.height))):((d=o.createBid(t.STATUS.NO_BID)).bidderCode=s.bidder,n.addBidResponse(s.placementCode,d),r.logMessage("[Piximedia] Registered BLANK bidresponse from URL "+a.url+" (time: "+String(c)+")"),r.logMessage("[Piximedia] ======> NOBID placementCode: "+s.placementCode)),i[e.cbid]=null}else r.logMessage("[Piximedia] Couldn't find stash for cbid="+e.cbid)}},a(this,{callBids:e.callBids,setBidderCode:e.setBidderCode,getBidderCode:e.getBidderCode})};d(1).registerBidAdapter(new p,"piximedia"),e.exports=p}},[163]);
  pbjsChunk([41],{165:function(e,a,t){e.exports=t(166)},166:function(e,a,t){"use strict";var i=t(3),d=t(2),r=t(5),o=t(0),s=t(4),p=function(){return pbjs._doPlatformIOCallback=function(e){var a,t,r;r=e.callback_uid,t=o.getBidRequest(r),e.cpm>0?((a=i.createBid(s.STATUS.GOOD,t)).bidderCode="platformio",a.cpm=e.cpm,a.ad=e.tag,a.width=e.width,a.height=e.height):((a=i.createBid(s.STATUS.NO_BID,t)).bidderCode="platformio",o.logMessage("No Bid response from Platformio request: "+r)),d.addBidResponse(t.placementCode,a)},{callBids:function(e){for(var a,t=e.bids||[],i=window.location.protocol+"//js.adx1.com/pb_ortb.js?cb="+(new Date).getTime()+"&ver=1&",d=0;d<t.length;d++){var s={},p=t[d];s.pub_id=p.params.pubId,s.site_id=p.params.siteId,s.placement_id=p.placementCode;var l=o.parseSizesInput(p.sizes)[0].split("x");s.width=l[0],s.height=l[1],s.callback="pbjs._doPlatformIOCallback",s.callback_uid=p.bidId,a=i+o.parseQueryStringParameters(s),o.logMessage("PlatformIO.prebid, Bid ID: "+p.bidId+", Pub ID: "+p.params.pubId),r.loadScript(a)}}}};t(1).registerBidAdapter(new p,"platformio"),e.exports=p}},[165]);
  pbjsChunk([40],{167:function(e,r,a){e.exports=a(168)},168:function(e,r,a){"use strict";var d=s(a(3)),o=s(a(2)),t=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),l=s(a(5)),i=s(a(1)),n=a(4);function s(e){return e&&e.__esModule?e:{default:e}}function u(){function e(e){var r={},a=e.callback_id,l="",i=t.getBidRequest(a);i&&(l=i.placementCode),i&&e.cpm>0&&e.ad?((r=d.default.createBid(n.STATUS.GOOD,i)).bidderCode=i.bidder,r.mediaType=e.mediaType,r.cpm=parseFloat(e.cpm),"url"===e.ad_type?r.adUrl=e.ad:r.ad=e.ad,r.width=e.width,r.height=e.height):((r=d.default.createBid(n.STATUS.NO_BID,i)).bidderCode="pollux",t.logMessage("No prebid response from polluxHandler for placement code "+l)),o.default.addBidResponse(l,r)}return pbjs.polluxHandler=e,{callBids:function(e){for(var r=window.location.protocol+"//adn.plxnt.com/prebid",a=e.bids||[],d=0;d<a.length;d++){var o={},i=a[d];if(i.params.zone){var n=t.getParameterByName("domain"),s=t.getParameterByName("tracker2");o.domain=n||window.location.host,s&&(o.tracker2=s),o.zone=i.params.zone;var u=t.parseSizesInput(i.sizes),p=u.length;if(p>0&&(o.size=u[0],p>1)){for(var c=[],f=1;f<p;f++)c.push(u[f]);o.promo_sizes=c.join(",")}o.callback_id=i.bidId,i.bidderUrl&&(r=i.bidderUrl);var m=r+"?"+t.parseQueryStringParameters(o);t.logMessage("Pollux request built: "+m),l.default.loadScript(m,null,!0)}else t.logError('required param "zone" is missing',"polluxHandler")}},polluxHandler:e}}i.default.registerBidAdapter(new u,"pollux"),e.exports=u}},[167]);
  pbjsChunk([39],{169:function(e,t,r){e.exports=r(170)},170:function(e,t,r){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},n=b(r(7)),d=b(r(3)),a=b(r(2)),s=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),o=r(6),u=r(4),c=r(29),f=b(r(1)),l=r(8),p=r(18);function b(e){return e&&e.__esModule?e:{default:e}}var g=l.config.getConfig,y=u.S2S.SRC,v="https://acdn.adnxs.com/cookieset/cs.js";function h(e,t){return"string"===e?t&&t.toString():"number"===e?Number(t):t}var m=h.bind(null,"string"),S=h.bind(null,"number"),_={appnexus:{member:m,invCode:m,placementId:S},rubicon:{accountId:S,siteId:S,zoneId:S},indexExchange:{siteID:S},audienceNetwork:{placementId:m},pubmatic:{publisherId:m,adSlot:m},districtm:{member:m,invCode:m,placementId:S},pulsepoint:{cf:m,cp:S,ct:S}},C=!1;function B(){var e=new n.default("prebidServer"),t=void 0;function r(e){return e.sizes&&e.sizes.length}return e.setConfig=function(e){t=e},e.callBids=function(e){var i=!!g("debug");e.ad_units.forEach((function(e){e.bids.forEach((function(e){var t=_[e.bidder]||[];Object.keys(t).forEach((function(r){if(e.params[r]){var i=t[r](e.params[r]);i!==e.params[r]&&s.logMessage("Mismatched type for Prebid Server : "+e.bidder+" : "+r+". Required Type:"+t[r]),e.params[r]=i,isNaN(e.params[r])&&delete e.params.key}}))}))}));var n={account_id:t.accountId,tid:e.tid,max_bids:t.maxBids,timeout_millis:t.timeout,url:s.getTopWindowUrl(),prebid_version:"0.28.0",ad_units:e.ad_units.filter(r),is_debug:i},f=n.ad_units.map((function(e){return e.bids.map((function(e){return e.bidder})).filter(s.uniques)})).reduce(s.flatten).filter(s.uniques);var l=JSON.stringify(n);(0,o.ajax)(t.endpoint,(function(e){!(function(e,r){var i=void 0;try{if("OK"===(i=JSON.parse(e)).status||"no_cookie"===i.status){i.bidder_status&&i.bidder_status.forEach((function(e){e.no_cookie&&!C&&(0,c.queueSync)({bidder:e.bidder,url:e.usersync.url,type:e.usersync.type})})),i.bids&&i.bids.forEach((function(e){var t=s.getBidRequest(e.bid_id),r=e.price,i=void 0;i=0!==r?u.STATUS.GOOD:u.STATUS.NO_BID;var n=d.default.createBid(i,t);n.source=y,n.creative_id=e.creative_id,n.bidderCode=e.bidder,n.cpm=r,n.ad=e.adm,n.width=e.width,n.height=e.height,e.deal_id&&(n.dealId=e.deal_id),a.default.addBidResponse(e.code,n)}));var n=i.bids?i.bids.map((function(e){return e.bid_id})):[];r.forEach((function(e){s.getBidderRequestAllAdUnits(e).bids.filter((function(e){return!n.includes(e.bidId)})).forEach((function(e){var t=d.default.createBid(u.STATUS.NO_BID,e);t.source=y,t.adUnitCode=e.placementCode,t.bidderCode=e.bidder,a.default.addBidResponse(t.adUnitCode,t)}))}))}"no_cookie"===i.status&&t.cookieSet&&(0,c.cookieSet)(v)}catch(e){s.logError(e)}(!i||i.status&&i.status.includes("Error"))&&s.logError("error parsing response: ",i.status)})(e,f)}),l,{contentType:"text/plain",withCredentials:!0})},e.queueSync=function(e){var r=e.bidderCodes,i=p.StorageManager.get(p.pbjsSyncsKey)||[];if(!C&&i.length!==r.length){C=!0;var n=JSON.stringify({uuid:s.generateUUID(),bidders:r});(0,o.ajax)(t.syncEndpoint,(function(e){try{"ok"===(e=JSON.parse(e)).status&&r.forEach((function(e){return p.StorageManager.add(p.pbjsSyncsKey,e,!0)})),e.bidder_status.forEach((function(e){return(0,c.queueSync)({bidder:e.bidder,url:e.usersync.url,type:e.usersync.type})}))}catch(e){s.logError(e)}}),n,{contentType:"text/plain",withCredentials:!0})}},i(this,{queueSync:e.queueSync,setConfig:e.setConfig,callBids:e.callBids,setBidderCode:e.setBidderCode,type:y})}f.default.registerBidAdapter(new B,"prebidServer"),e.exports=B}},[169]);
  pbjsChunk([38],{171:function(e,t,r){e.exports=r(172)},172:function(e,t,r){"use strict";var n=r(3),i=r(2),a=r(4),s=r(0),o=r(1),d=document,u="script",c="params",p="sizes",l="size",A="cpm",B="ad",f="width",g="height",b="pub_zone",m="gross_price",C="resource",v="detail",E="bidderCode",h="pubgears",D="pg-header-tag",N="data-bsm-",_="slot-list",I="pub",y="flag",z="placementCode",F="bidId",j="publisherName",k="pubZone",M="onBidResponse",P="onResourceComplete",R=decodeURIComponent("%3Cscript%3E%0A(function(define)%7B%0Adefine(function(a)%7B%0A%09var%20id%3D%20%22pg-ad-%22%20%2B%20Math.floor(Math.random()%20*%201e10)%2C%20d%3D%20document%0A%09d.write('%3Cdiv%20id%3D%22'%2Bid%2B'%22%3E%3C%2Fdiv%3E')%0A%09a.push(%7B%0A%09%09pub%3A%20'%25%25PUBLISHER_NAME%25%25'%2C%0A%09%09pub_zone%3A%20'%25%25PUB_ZONE%25%25'%2C%0A%09%09sizes%3A%20%5B'%25%25SIZE%25%25'%5D%2C%0A%09%09flag%3A%20true%2C%0A%09%09container%3A%20d.getElementById(id)%2C%0A%09%7D)%3B%0A%7D)%7D)(function(f)%7Bvar%20key%3D'uber_imps'%2Ca%3Dthis%5Bkey%5D%3Dthis%5Bkey%5D%7C%7C%5B%5D%3Bf(a)%3B%7D)%3B%0A%3C%2Fscript%3E%0A%3Cscript%20src%3D%22%2F%2Fc.pubgears.com%2Ftags%2Fb%22%3E%3C%2Fscript%3E%0A"),S="//c.pubgears.com/tags/h",x="";function L(){var e=null,t={},r=!1;function o(e){var t,r=(t=e[p],(Array.isArray(t[0])?t[0]:t).join("x"));return[e[c][k],r].join("@")}function L(e){var t=e[l];return[e[b],t].join("@")}function w(e){var r=e[v],a=L(r[C]),o=t[a],d=o[z],u=null;o?(u=(function(e,t){var r=e[C],i=r[l].split("x"),a=Number(e[m]),o=isNaN(a)||a<=0?2:1,d=n.createBid(o,t);if(d[E]=h,1!==o)return d;return d[B]=(u=r,c=R,p={publisher_name:x,pub_zone:u[b],size:u[l]},s.replaceTokenInString(c,p,"%%")),d[A]=a/1e3,d[f]=i[0],d[g]=i[1],d;var u,c,p})(r,o),i.addBidResponse(d,u),s.logMessage('adding bid respoonse to "'+d+'" for bid request "'+o[F]+'"')):s.logError('Cannot get placement id for slot "'+a+'"')}function U(e){var r=L(e[v][C]);delete t[r]}this.callBids=function(n){var i=n[a.JSON_MAPPING.PL_BIDS],s=i.map(o);if(s.length<=0)return;x=i[0][c][j],i.forEach((function(e){var r=o(e);t[r]=e})),e=e||(v=D,d.getElementById(v))||(l=s,A=x,B=D,f=S,C=d.createElement(u),C.src=f,C.id=B,C.setAttribute(N+_,l.join(" ")),C.setAttribute(N+y,"true"),C.setAttribute(N+I,A),g=C,(m=(b=d.getElementsByTagName(u))[b.length-1]).parentNode.insertBefore(g,m)),r||((p=e).addEventListener(M,w,!0),p.addEventListener(P,U,!0));var p;var l,A,B,f,g,b,m,C;var v;r=!0}}o.registerBidAdapter(new L,h),e.exports=L}},[171]);
  pbjsChunk([37],{173:function(a,e,t){a.exports=t(174)},174:function(a,e,t){"use strict";var r=t(0),i=t(3),d=t(2);function n(){var a,e,t,n,o,s=[],c=void 0;return pbjs.handlePubmaticCallback=function(){var e,t,n,o,s={},p={};try{s=c.contentWindow.bidDetailsMap,p=c.contentWindow.progKeyValueMap}catch(a){r.logError(a,"Error parsing Pubmatic response")}var l,m=s||{},u=p||{};for(e=0;e<a.length;e++){var b;t=m[(o=a[e].params).adSlot]||{},u[o.adSlot]&&-1===u[o.adSlot].indexOf("=")&&(u[o.adSlot]=u[o.adSlot].replace(/([a-z]+);(.[^;]*)/gi,"$1=$2")),"1"===(n=(u[o.adSlot]||"").split(";").reduce((function(a,e){var t=e.split("=");return a[t[0]]=t[1],a}),{})).bidstatus?(l=n.bidid.split("@")[1].split("x"),(b=i.createBid(1)).bidderCode="pubmatic",b.adSlot=o.adSlot,b.cpm=Number(n.bid),b.ad=unescape(t.creative_tag),b.ad+=r.createTrackPixelIframeHtml(decodeURIComponent(t.tracking_url)),b.width=l[0],b.height=l[1],b.dealId=n.wdeal,d.addBidResponse(a[e].placementCode,b)):((b=i.createBid(2)).bidderCode="pubmatic",d.addBidResponse(a[e].placementCode,b))}},{callBids:function(i){a=i.bids,s=[];for(var d=0;d<a.length;d++){var p=a[d];e=e||p.params.publisherId,t=t||p.params.age||"",n=n||p.params.gender||"",o=o||p.params.kvs||"",s.push(p.params.adSlot)}!(function(){c=r.createInvisibleIframe();var a=document.getElementsByTagName("head")[0];a.insertBefore(c,a.firstChild);var i=r.getIframeDocument(c);i.write(function(){var a='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><base target="_top" /><script>inDapIF=true;<\/script></head>';a+="<body>",a+="<script>",a+='window.pm_pub_id  = "%%PM_PUB_ID%%";window.pm_optimize_adslots     = [%%PM_OPTIMIZE_ADSLOTS%%];window.kaddctr = "%%PM_ADDCTR%%";window.kadgender = "%%PM_GENDER%%";window.kadage = "%%PM_AGE%%";window.pm_async_callback_fn = "window.parent.pbjs.handlePubmaticCallback";',a+="<\/script>";var i={};return i.PM_PUB_ID=e,i.PM_ADDCTR=o,i.PM_GENDER=n,i.PM_AGE=t,i.PM_OPTIMIZE_ADSLOTS=s.map((function(a){return"'"+a+"'"})).join(","),a+='<script src="https://ads.pubmatic.com/AdServer/js/gshowad.js"><\/script>',a+="<script>",a+="<\/script>",a+="</body></html>",a=r.replaceTokenInString(a,i,"%%")}()),i.close()})()}}}t(1).registerBidAdapter(new n,"pubmatic"),a.exports=n}},[173]);
  pbjsChunk([3],{10:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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};t.default=function(e){var t,n=e.url,a=e.analyticsType,o=e.global,u=e.handler,S=[],A=0,N=!0;a===E&&(0,i.loadScript)(n,O);(a===_||m)&&O();return{track:function(e){var t=e.eventType,r=e.args;(this.getAdapterType()===E||m)&&window[o](u,t,r);this.getAdapterType()===_&&function(e){var t=e.eventType,r=e.args,a=e.callback;(0,l.ajax)(n,a,JSON.stringify({eventType:t,args:r}))}.apply(void 0,arguments)},enqueue:I,enableAnalytics:function(e){var n=this,a=this;h="object"!==(void 0===e?"undefined":r(e))||"object"!==r(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(h){var u;c.getEvents().forEach((function(e){if(e){var t=e.eventType,n=e.args;t!==g&&I.call(a,{eventType:t,args:n})}})),s(u={},y,(function(e){return n.enqueue({eventType:y,args:e})})),s(u,v,(function(e){return n.enqueue({eventType:v,args:e})})),s(u,g,(function(e){return n.enqueue({eventType:g,args:e})})),s(u,b,(function(e){return n.enqueue({eventType:b,args:e})})),s(u,T,(function(e){return n.enqueue({eventType:T,args:e})})),s(u,d,(function(e){return n.enqueue({eventType:d,args:e})})),s(u,p,(function(t){t.config=e.options,n.enqueue({eventType:p,args:t})})),t=u,f._each(t,(function(e,t){c.on(t,e)}))}else f.logMessage('Analytics adapter for "'+o+'" disabled by sampling');this.enableAnalytics=function(){return f.logMessage('Analytics adapter for "'+o+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){f._each(t,(function(e,t){c.off(t,e)}))},getAdapterType:function(){return a},getGlobal:function(){return o},getHandler:function(){return u},getUrl:function(){return n}};function I(e){var t=e.eventType,n=e.args,r=this;o&&window[o]&&t&&n?this.track({eventType:t,args:n}):S.push((function(){A++,r.track({eventType:t,args:n})}))}function O(){if(N){for(var e=0;e<S.length;e++)S[e]();S.push=function(e){e()},N=!1}f.logMessage("event count sent to "+o+": "+A)}};var a,o=n(4),u=(a=o)&&a.__esModule?a:{default:a},i=n(5),l=n(6);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=n(9),f=n(0),p=u.default.EVENTS.AUCTION_INIT,d=u.default.EVENTS.AUCTION_END,y=u.default.EVENTS.BID_REQUESTED,g=u.default.EVENTS.BID_TIMEOUT,v=u.default.EVENTS.BID_RESPONSE,b=u.default.EVENTS.BID_WON,T=u.default.EVENTS.BID_ADJUSTMENT,E="library",_="endpoint",m="bundle",h=!0},175:function(e,t,n){e.exports=n(176)},176:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(6),o=l(n(10)),u=l(n(1)),i=l(n(4));function l(e){return e&&e.__esModule?e:{default:e}}var s=n(0),c="PubWise Analytics: ",f="2.2",p={site:"",endpoint:"https://api.pubwise.io/api/v4/event/default/",debug:""},d=!1,y={utm_source:"",utm_medium:"",utm_campaign:"",utm_term:"",utm_content:""};function g(e,t){s.logInfo(c+"Event "+e+" "+d,t);var n={eventType:e,args:t,target_site:p.site,debug:p.debug?1:0};e==i.default.EVENTS.AUCTION_INIT&&(n=(function(e){var t=!1;try{for(var n in y){var r=s.getParameterByName(n);y[n]=r,""!=y[n]&&(t=!0,e[n]=y[n])}if(!1===t)for(var a in y){var o=localStorage.getItem("pw-"+a);0!==o.length&&(e[a]=o)}else for(var u in y)localStorage.setItem("pw-"+u,y[u])}catch(t){s.logInfo(c+"Error",t),e.error_utm=1}return e})(n=(function(e){try{e.pw_version=f,e.pbjs_version=pbjs.version,e.debug=p.debug}catch(t){e.error_metric=1}return e})(n))),(0,a.ajax)(p.endpoint,(function(e){return s.logInfo(c+"Result",e)}),JSON.stringify(n))}var v=r((0,o.default)({defaultUrl:"https://api.pubwise.io/api/v4/event/default/",analyticsType:"endpoint"}),{track:function(e){g(e.eventType,e.args)}});v.adapterEnableAnalytics=v.enableAnalytics,v.enableAnalytics=function(e){void 0===e.options.debug&&(e.options.debug=s.debugTurnedOn()),p=e.options,s.logInfo(c+"Enabled",p),d=!0,v.adapterEnableAnalytics(e)},u.default.registerAnalyticsAdapter({adapter:v,code:"pubwise"}),t.default=v}},[175]);
  pbjsChunk([2],{10:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a="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};n.default=function(e){var n,t=e.url,r=e.analyticsType,u=e.global,o=e.handler,A=[],N=0,m=!0;r===E&&(0,i.loadScript)(t,M);(r===S||h)&&M();return{track:function(e){var n=e.eventType,a=e.args;(this.getAdapterType()===E||h)&&window[u](o,n,a);this.getAdapterType()===S&&function(e){var n=e.eventType,a=e.args,r=e.callback;(0,l.ajax)(t,r,JSON.stringify({eventType:n,args:a}))}.apply(void 0,arguments)},enqueue:I,enableAnalytics:function(e){var t=this,r=this;_="object"!==(void 0===e?"undefined":a(e))||"object"!==a(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(_){var o;c.getEvents().forEach((function(e){if(e){var n=e.eventType,t=e.args;n!==g&&I.call(r,{eventType:n,args:t})}})),s(o={},d,(function(e){return t.enqueue({eventType:d,args:e})})),s(o,v,(function(e){return t.enqueue({eventType:v,args:e})})),s(o,g,(function(e){return t.enqueue({eventType:g,args:e})})),s(o,T,(function(e){return t.enqueue({eventType:T,args:e})})),s(o,b,(function(e){return t.enqueue({eventType:b,args:e})})),s(o,y,(function(e){return t.enqueue({eventType:y,args:e})})),s(o,p,(function(n){n.config=e.options,t.enqueue({eventType:p,args:n})})),n=o,f._each(n,(function(e,n){c.on(n,e)}))}else f.logMessage('Analytics adapter for "'+u+'" disabled by sampling');this.enableAnalytics=function(){return f.logMessage('Analytics adapter for "'+u+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){f._each(n,(function(e,n){c.off(n,e)}))},getAdapterType:function(){return r},getGlobal:function(){return u},getHandler:function(){return o},getUrl:function(){return t}};function I(e){var n=e.eventType,t=e.args,a=this;u&&window[u]&&n&&t?this.track({eventType:n,args:t}):A.push((function(){N++,a.track({eventType:n,args:t})}))}function M(){if(m){for(var e=0;e<A.length;e++)A[e]();A.push=function(e){e()},m=!1}f.logMessage("event count sent to "+u+": "+N)}};var r,u=t(4),o=(r=u)&&r.__esModule?r:{default:r},i=t(5),l=t(6);function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var c=t(9),f=t(0),p=o.default.EVENTS.AUCTION_INIT,y=o.default.EVENTS.AUCTION_END,d=o.default.EVENTS.BID_REQUESTED,g=o.default.EVENTS.BID_TIMEOUT,v=o.default.EVENTS.BID_RESPONSE,T=o.default.EVENTS.BID_WON,b=o.default.EVENTS.BID_ADJUSTMENT,E="library",S="endpoint",h="bundle",_=!0},177:function(e,n,t){e.exports=t(178)},178:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=u(t(10)),r=u(t(1));function u(e){return e&&e.__esModule?e:{default:e}}var o=(0,a.default)({global:"PulsePointPrebidAnalytics",handler:"on",analyticsType:"bundle"});r.default.registerAnalyticsAdapter({adapter:o,code:"pulsepoint"}),n.default=o}},[177]);
  pbjsChunk([36],{179:function(e,t,o){e.exports=o(180)},180:function(e,t,o){"use strict";var n=o(3),i=o(2),r=o(5),d=o(0),a=function(){var e=window.location.protocol+"//tag-st.contextweb.com/getjs.static.js",t=window.location.protocol+"//bid.contextweb.com/header/tag";function o(e){for(var t=e.bids,o=0;o<t.length;o++){a(t[o])}}function a(e){try{new window.pp.Ad(function(e){var o=(i=e,function(e){c(i,e)}),n={cn:1,ca:window.pp.requestActions.BID,cu:t,adUnitId:e.placementCode,callback:o};var i;for(var r in e.params)e.params.hasOwnProperty(r)&&(n[r]=e.params[r]);return n}(e)).display()}catch(t){d.logError("pulsepoint.requestBid","ERROR",t),c(e)}}function c(e,t){if(t){var o=e.params.cf.toUpperCase().split("X"),r=n.createBid(1,e);r.bidderCode=e.bidder,r.cpm=t.bidCpm,r.ad=t.html,r.width=o[0],r.height=o[1],i.addBidResponse(e.placementCode,r)}else{var d=n.createBid(2,e);d.bidderCode=e.bidder,i.addBidResponse(e.placementCode,d)}}return{callBids:function(t){void 0===window.pp?r.loadScript(e,(function(){o(t)}),!0):o(t)}}};o(1).registerBidAdapter(new a,"pulsepoint"),e.exports=a}},[179]);
  pbjsChunk([35],{181:function(e,t,a){e.exports=a(182)},182:function(e,t,a){"use strict";var r,n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},i=a(3),o=a(2),d=a(0),s=a(6),u=a(4),c=a(1),l=(r=c)&&r.__esModule?r:{default:r};function p(){var e=window.location.protocol+"//bid.contextweb.com/header/ortb",t={method:"POST",withCredentials:!0,contentType:"text/plain"},a={TITLE_LEN:100,DESCR_LEN:200,SPONSORED_BY_LEN:50,IMG_MIN:150,ICON_MIN:50};function r(e,t){var a={},r={};e.bids.forEach((function(e){a[e.bidId]=e}));var n=f(t);n&&n.seatbid.forEach((function(e){return e.bid.forEach((function(e){r[e.impid]=e}))})),Object.keys(a).forEach((function(t){if(r[t]){var n=m(a[t]),d=(0,i.createBid)(u.STATUS.GOOD,e);d.bidderCode=e.bidderCode,d.cpm=r[t].price,d.adId=t,a[t].nativeParams?(d.native=(function(e,t){if(e.nativeParams){var a=f(t.adm),r={};if(a&&a.native&&a.native.assets)return a.native.assets.forEach((function(e){r.title=e.title?e.title.text:r.title,r.body=e.data&&2===e.data.type?e.data.value:r.body,r.sponsoredBy=e.data&&1===e.data.type?e.data.value:r.sponsoredBy,r.image=e.img&&3===e.img.type?e.img.url:r.image,r.icon=e.img&&1===e.img.type?e.img.url:r.icon})),a.native.link&&(r.clickUrl=encodeURIComponent(a.native.link.url)),r.impressionTrackers=a.native.imptrackers,r}return null})(a[t],r[t]),d.mediaType="native"):(d.ad=r[t].adm,d.width=n[0],d.height=n[1]),(0,o.addBidResponse)(a[t].placementCode,d)}else{var s=(0,i.createBid)(u.STATUS.NO_BID,e);s.bidderCode=e.bidderCode,s.adId=t,(0,o.addBidResponse)(a[t].placementCode,s)}}))}function c(e,t){t&&e.push(t)}function l(e,t,a,r,n){return t?{id:e,required:t.required?1:0,img:{type:a,wmin:t.wmin||r,hmin:t.hmin||n}}:null}function p(e,t,a,r){return t?{id:e,required:t.required?1:0,data:{type:a,len:t.len||r}}:null}function f(e){try{if(e)return JSON.parse(e)}catch(e){(0,d.logError)("pulsepointLite.safeParse","ERROR",e)}return null}function m(e){if(e.params.cf){var t=e.params.cf.toUpperCase().split("X");return[parseInt(e.params.cw||t[0],10),parseInt(e.params.ch||t[1],10)]}return[1,1]}return n(this,{callBids:function(n){try{var i={imp:n.bids.map((function(e){return{id:(t=e).bidId,banner:(r=t,n=m(r),r.nativeParams?null:{w:n[0],h:n[1]}),native:(function(e){if(e.nativeParams){var t=[];return c(t,(r=t.length+1,n=e.nativeParams.title,i=a.TITLE_LEN,n?{id:r,required:n.required?1:0,title:{len:n.len||i}}:null)),c(t,p(t.length+1,e.nativeParams.body,2,a.DESCR_LEN)),c(t,p(t.length+1,e.nativeParams.sponsoredBy,1,a.SPONSORED_BY_LEN)),c(t,l(t.length+1,e.nativeParams.icon,1,a.ICON_MIN,a.ICON_MIN)),c(t,l(t.length+1,e.nativeParams.image,3,a.IMG_MIN,a.IMG_MIN)),{request:JSON.stringify({assets:t}),ver:"1.1"}}var r,n,i;return null})(t),tagid:t.params.ct.toString()};var t,r,n})),site:(o=n,{publisher:{id:(o.bids.length>0?o.bids[0].params.cp:"0").toString()},ref:(function(){try{return window.top.document.referrer}catch(e){return document.referrer}})(),page:(0,d.getTopWindowLocation)().href}),device:{ua:navigator.userAgent,language:navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage}};(0,s.ajax)(e,(function(e){r(n,e)}),JSON.stringify(i),t)}catch(e){(0,d.logError)("pulsepoint.requestBid","ERROR",e),r(n)}var o}})}l.default.registerBidAdapter(new p,"pulseLite",{supportedMediaTypes:["native"]}),l.default.aliasBidAdapter("pulseLite","pulsepointLite"),e.exports=p}},[181]);
  pbjsChunk([34],{183:function(e,t,r){e.exports=r(184)},184:function(e,t,r){"use strict";var d=r(0),i=r(3),a=r(2),n=r(6),o=r(4),s=r(1),c="http://global.qc.rtb.quantserve.com:8080/qchb",p=function(){var e="quantcast",t=1e-10,r={},s=function(t){var r=d.getBidRequest(t);if(!d.isEmpty(r)){var n=i.createBid(o.STATUS.NO_BID,r);n.bidderCode=e,a.addBidResponse(r.placementCode,n)}};return pbjs.handleQuantcastCB=function(t){if(!d.isEmpty(t)){var n=null;try{n=JSON.parse(t)}catch(e){return void d.logError("Malformed JSON received from server - can't do anything here")}if(null!==n&&n.hasOwnProperty("bids")&&!d.isEmpty(n.bids))for(var c=0;c<n.bids.length;c++){var p=n.bids[c],h=p.placementCode,l=r[h];if(null==l)return s(p.placementCode);l.bidId=l.imp[0].placementCode;var u=i.createBid(o.STATUS.GOOD,l);u.cpm=p.cpm,u.ad=p.ad,u.height=p.height,u.width=p.width,u.bidderCode=n.bidderCode,u.requestId=l.requestId,u.bidderCode=e,a.addBidResponse(l.bidId,u)}else d.logError("Sub-optimal JSON received from server - can't do anything here")}},{callBids:function(e){var i=e.bids||[];if(0!==i.length){var a,o=d.getTopWindowUrl(),s=d.getTopWindowLocation(),p=s.hostname;a=""+i[0].params.publisherId,d._each(i,(function(e){var i=e.placementCode,n=[];d._each(e.sizes,(function(e){n.push({width:e[0],height:e[1]})})),r[i]=r[i]||{publisherId:a,requestId:e.bidId,bidId:e.bidId,site:{page:s.href,referrer:o,domain:p},imp:[{banner:{battr:e.params.battr,sizes:n},placementCode:e.placementCode,bidFloor:e.params.bidFloor||t}]}})),d._each(r,(function(e){n.ajax(c,pbjs.handleQuantcastCB,JSON.stringify(e),{method:"POST",withCredentials:!0})}))}},QUANTCAST_CALLBACK_URL:c}};s.registerBidAdapter(new p,"quantcast"),e.exports=p}},[183]);
  pbjsChunk([33],{185:function(e,t,n){e.exports=n(186)},186:function(e,t,n){"use strict";var o,i="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=n(6),s=n(1),a=(o=s)&&o.__esModule?o:{default:o},d=n(8);var c=n(2),p=n(3),u=n(4);function l(e,t,n){var o="0.9.0.0",s="1r",a="mvo",l=!1,h={},v=void 0,f=[],m=/(^v|(\.0)+$)/gi;void 0===t&&(t=window),void 0===e&&(e=c),void 0===n&&(n=r.ajax);var b="rhythmone";function g(e,t){try{return e()}catch(e){}return t}function y(e){l&&console.log(e)}function w(e){for(var t=0;t<e.bids.length;t++)if(1!==e.bids[t].success){y("registering nobid for slot "+e.bids[t].placementCode);var n=p.createBid(u.STATUS.NO_BID);n.bidderCode=b,c.addBidResponse(e.bids[t].placementCode,n)}}function S(e,n){var i,r,d="//tag.1rx.io/rmp/{placementId}/0/{path}?z={zone}",c=[];function p(e,t){t instanceof Array&&(t=t.join(",")),void 0!==t&&c.push(encodeURIComponent(e)+"="+encodeURIComponent(t))}"string"==typeof e.endpoint&&(d=e.endpoint),"string"==typeof e.zone&&(s=e.zone),"string"==typeof e.path&&(a=e.path),!0===e.debug&&(l=!0),!0===e.trace&&c.push("trace=true"),i=d,r={placementid:e.placementId,zone:s,path:a},d=i.replace(/\{([^\}]+)\}/g,(function(e){var t=r[e.replace(/[\{\}]/g,"").toLowerCase()];return void 0!==t?t:e})),p("domain",g((function(){var e=t.document.location.ancestorOrigins;return e&&e.length>0?e[e.length-1]:t.top.document.location.hostname}),"")),p("title",g((function(){return t.top.document.title}),"")),p("url",g((function(){var e;try{e=t.top.document.location.href.toString()}catch(n){e=t.document.location.href.toString()}return e}),"")),p("dsh",t.screen?t.screen.height:""),p("dsw",t.screen?t.screen.width:""),p("tz",(new Date).getTimezoneOffset()),p("dtype",/(ios|ipod|ipad|iphone|android)/i.test(t.navigator.userAgent)?1:/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i.test(t.navigator.userAgent)?3:2),p("flash",(function(){var e=t.navigator,n=e.plugins,o=e.mimeTypes,i="application/x-shockwave-flash",r=t.ActiveXObject;if(n&&n["Shockwave Flash"]&&o&&o[i]&&o[i].enabledPlugin)return!0;if(r)try{if(new t.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return!0}catch(e){}return!1})()?1:0);var u=[],h=[],v=[],b=[],y=0;for(f=[],p("hbv",t.pbjs.version.replace(m,"")+","+o.replace(m,""));y<n.length;y++){var w=[],S=[];n[y].sizes.length>0&&"number"==typeof n[y].sizes[0]&&(n[y].sizes=[n[y].sizes]);for(var T=0;T<n[y].sizes.length;T++)S.push(n[y].sizes[T][0]),w.push(n[y].sizes[T][1]);f.push(n[y].placementCode),u.push(w.join("|")),h.push(S.join("|")),b.push(/video/i.test(n[y].mediaType)?"v":"d"),v.push(0)}return p("imp",f),p("w",h),p("h",u),p("floor",v),p("t",b),d+="&"+c.join("&")}this.callBids=function(r){var s={},a=(function(e){for(var t=0;t<e.length;t++)if("object"===i(e[t].params)&&e[t].params.placementId)return e[t].params;return null})(r.bids);if(l=null!==a&&!0===a.debug,null!==a){for(var c=0;c<r.bids.length;c++)s[r.bids[c].placementCode]=r.bids[c];var g,T;v=(new Date).getTime(),g=S(a,r.bids),T=function(n,l,g){if(function(e){var n={doc_version:1,doc_type:"Prebid Audit",placement_id:e},r=document.location.ancestorOrigins,s=[],a=new Image;r&&r.length>0&&(n.ancestor_origins=r[r.length-1]),n.popped=null!==window.opener?1:0,n.framed=window.top===window?0:1;try{n.url=window.top.document.location.href.toString()}catch(e){n.url=window.document.location.href.toString()}var c=t.pbjs;for(var p in n.prebid_version=c.version.replace(m,""),n.response_ms=(new Date).getTime()-v,n.placement_codes=f.join(","),n.bidder_version=o,n.prebid_timeout=c.cbTimeout||d.config.getConfig("bidderTimeout"),n)s.push(encodeURIComponent(p)+"="+encodeURIComponent("object"===i(n[p])?JSON.stringify(n[p]):n[p]));s.sort(),a.src="//hbevents.1rx.io/audit?"+s.join("&")}(a.placementId),y("response text: "+g),-1!==n)try{var S=JSON.parse(g),T=function(t){s[t.impid].success=1;var n=p.createBid(u.STATUS.GOOD),o=s[t.impid].placementCode;h[o]=!1,n.bidderCode=b,n.cpm=parseFloat(t.price),n.width=t.w,n.height=t.h,/video/i.test(s[t.impid].mediaType)?(n.mediaType="video",n.vastUrl=t.nurl,n.descriptionUrl=t.nurl):n.ad=t.adm,y("registering bid "+o+" "+JSON.stringify(n)),e.addBidResponse(o,n)};for(c=0;S.seatbid&&c<S.seatbid.length;c++)for(var C=0;S.seatbid[c].bid&&C<S.seatbid[c].bid.length;C++)T(S.seatbid[c].bid[C])}catch(e){}w(r)},n(g,(function(e,t){200===t.status?T(200,"success",t.responseText):T(-1,"http error "+t.status,t.responseText)}),!1,{method:"GET",withCredentials:!0}),y("version: "+o)}else w(r)}}a.default.registerBidAdapter(new l,"rhythmone",{supportedMediaTypes:["video"]}),e.exports=l}},[185]);
  pbjsChunk([1],{10:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="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};t.default=function(e){var t,n=e.url,o=e.analyticsType,r=e.global,i=e.handler,I=[],_=0,N=!0;o===b&&(0,u.loadScript)(n,A);(o===h||m)&&A();return{track:function(e){var t=e.eventType,a=e.args;(this.getAdapterType()===b||m)&&window[r](i,t,a);this.getAdapterType()===h&&function(e){var t=e.eventType,a=e.args,o=e.callback;(0,s.ajax)(n,o,JSON.stringify({eventType:t,args:a}))}.apply(void 0,arguments)},enqueue:D,enableAnalytics:function(e){var n=this,o=this;S="object"!==(void 0===e?"undefined":a(e))||"object"!==a(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(S){var i;c.getEvents().forEach((function(e){if(e){var t=e.eventType,n=e.args;t!==v&&D.call(o,{eventType:t,args:n})}})),l(i={},g,(function(e){return n.enqueue({eventType:g,args:e})})),l(i,y,(function(e){return n.enqueue({eventType:y,args:e})})),l(i,v,(function(e){return n.enqueue({eventType:v,args:e})})),l(i,T,(function(e){return n.enqueue({eventType:T,args:e})})),l(i,E,(function(e){return n.enqueue({eventType:E,args:e})})),l(i,p,(function(e){return n.enqueue({eventType:p,args:e})})),l(i,d,(function(t){t.config=e.options,n.enqueue({eventType:d,args:t})})),t=i,f._each(t,(function(e,t){c.on(t,e)}))}else f.logMessage('Analytics adapter for "'+r+'" disabled by sampling');this.enableAnalytics=function(){return f.logMessage('Analytics adapter for "'+r+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){f._each(t,(function(e,t){c.off(t,e)}))},getAdapterType:function(){return o},getGlobal:function(){return r},getHandler:function(){return i},getUrl:function(){return n}};function D(e){var t=e.eventType,n=e.args,a=this;r&&window[r]&&t&&n?this.track({eventType:t,args:n}):I.push((function(){_++,a.track({eventType:t,args:n})}))}function A(){if(N){for(var e=0;e<I.length;e++)I[e]();I.push=function(e){e()},N=!1}f.logMessage("event count sent to "+r+": "+_)}};var o,r=n(4),i=(o=r)&&o.__esModule?o:{default:o},u=n(5),s=n(6);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=n(9),f=n(0),d=i.default.EVENTS.AUCTION_INIT,p=i.default.EVENTS.AUCTION_END,g=i.default.EVENTS.BID_REQUESTED,v=i.default.EVENTS.BID_TIMEOUT,y=i.default.EVENTS.BID_RESPONSE,T=i.default.EVENTS.BID_WON,E=i.default.EVENTS.BID_ADJUSTMENT,b="library",h="endpoint",m="bundle",S=!0},187:function(e,t,n){e.exports=n(188)},188:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o=u(n(10)),r=u(n(4)),i=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var s=n(0),l="//pa.rxthdr.com/analytic",c=r.default.EVENTS.AUCTION_INIT,f=r.default.EVENTS.AUCTION_END,d=r.default.EVENTS.BID_WON,p=r.default.EVENTS.BID_REQUESTED,g=r.default.EVENTS.BID_ADJUSTMENT,v=r.default.EVENTS.BID_RESPONSE,y={publisherIds:[],utmTagData:[],adUnits:[]},T={options:{},events:[]},E={options:{},events:[]},b="not_started",h="roxot_analytics_",m=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],S="utm_timeout",I=36e5,_=36e5,N="session_id",D="session_timeout";function A(){return h.concat(N)}function U(){return h.concat(D)}function w(){if(t=localStorage.getItem(U()),Date.now()-t>_){var e=s.generateUUID();localStorage.setItem(A(),e)}var t;y.sessionId=localStorage.getItem(A())?localStorage.getItem(A()):"",localStorage.setItem(U(),Date.now())}function O(){localStorage.setItem(V(),Date.now())}function V(){return h.concat(S)}function M(e){return h.concat(e)}function j(){return void 0!==y.adUnits&&y.adUnits.length>0}function q(){E.events=[]}var C=a((0,o.default)({url:l,analyticsType:"endpoint"}),{track:function(e){var t=e.eventType,n=e.args;if(void 0!==y.publisherIds&&y.publisherIds.length>0){var o,r,i,u,s,l,h=a({},n);if(h&&h.ad&&(h.ad=""),t===c&&(b="started",q()),t===d&&"not_started"===b)return w(),o=t,r=h,T.options=y,j()?y.adUnits.includes(r.adUnitCode)&&(T.events=[{args:r,eventType:o}]):T.events=[{args:r,eventType:o}],T.events.length>0&&B(t,T,"bidWon"),void(T.events=[]);t===f?(w(),E.options=y,E.events.length>0&&E.events.some((function(e){return p===e.eventType||d===e.eventType}))&&B(t,E,"eventStack"),q(),b="not_started"):(u=h,(i=t)===p?(j()&&(u.bids=(s=u.bids,l=[],s.forEach((function(e){y.adUnits.includes(e.placementCode)&&l.push(e)})),l)),u.bids.length>0&&E.events.push({eventType:i,args:u})):(function(e,t){if(j()){var n=[g,v,d];if(!y.adUnits.includes(t)&&n.includes(e))return!1}return!0})(i,u.adUnitCode)&&E.events.push({eventType:i,args:u}))}}});function B(e,t,n){var a=l+"?publisherIds[]="+y.publisherIds.join("&publisherIds[]=")+"&host="+window.location.hostname,o=new XMLHttpRequest;o.open("POST",a,!0),o.setRequestHeader("Content-Type","text/plain"),o.withCredentials=!0,o.onreadystatechange=function(t){4==this.readyState&&s.logInfo("Event "+e+" sent "+n+" to roxot prebid analytic with result"+t)},o.send(JSON.stringify(t))}C.originEnableAnalytics=C.enableAnalytics,C.enableAnalytics=function(e){(y=e.options).utmTagData=this.buildUtmTagData(),s.logInfo("Roxot Analytics enabled with config",y),C.originEnableAnalytics(e)},C.buildUtmTagData=function(){var e={},t=!1;return m.forEach((function(n){var a,o,r=(a=n,o={},window.location.href.replace(location.hash,"").replace(/[?&]+([^=&]+)=?([^&]*)?/gi,(function(e,t,n){o[t]=void 0!==n?n:""})),o[a]?o[a]:"");""!==r&&(t=!0),e[n]=r})),m.forEach((function(n){var a;t?(localStorage.setItem(M(n),e[n]),O()):(a=localStorage.getItem(V()),Date.now()-a>I||(e[n]=localStorage.getItem(M(n))?localStorage.getItem(M(n)):"",O()))})),e},i.default.registerAnalyticsAdapter({adapter:C,code:"roxot"}),t.default=C}},[187]);
  pbjsChunk([32],{189:function(n,e,o){n.exports=o(190)},190:function(n,e,o){"use strict";var r=o(4),i=o(0),t=o(3),d=o(2),s=o(5),a=function(){var n="r.rxthdr.com";return pbjs.roxotResponseHandler=function(n){i.logInfo("roxotResponseHandler invoking");var e=[];if(!n||!n.bids||!Array.isArray(n.bids)||n.bids.length<=0)return s();n.bids.forEach((function(n){var o="",i=pbjs._bidsRequested.find((function(n){return"roxot"===n.bidderCode})).bids.find((function(e){return e.bidId===n.bidId}));if(!i)return a(o);i.status=r.STATUS.GOOD,o=i.placementCode,e.push(o);var s=n.cpm,c='<img src="'+n.nurl+'">';if(!s)return a(o);var u=t.createBid(1,i);u.creative_id=n.id,u.bidderCode="roxot",u.cpm=s,u.ad=decodeURIComponent(n.adm+c),u.width=parseInt(n.w),u.height=parseInt(n.h),d.addBidResponse(o,u)}));var o=s(e);return i.logInfo("roxotResponse handler finish"),o;function s(n){pbjs._bidsRequested.find((function(n){return"roxot"===n.bidderCode})).bids.forEach((function(e){if(i.contains(n,e.placementCode))return null;a(e)}))}function a(n){var e=t.createBid(2,n);e.bidderCode="roxot",d.addBidResponse(n.placementCode,e)}},{callBids:function(e){i.logInfo("callBids roxot adapter invoking");var o=window.location.host,t=window.location.pathname+location.search+location.hash,d={id:i.getUniqueIdentifierStr(),bids:e,site:{domain:o,page:t}},a="//"+n+"?callback=pbjs.roxotResponseHandler&src="+r.REPO_AND_VERSION+"&br="+encodeURIComponent(JSON.stringify(d));s.loadScript(a)}}};o(1).registerBidAdapter(new a,"roxot"),n.exports=a}},[189]);
  pbjsChunk([31],{191:function(e,r,t){e.exports=t(192)},192:function(e,r,t){"use strict";var i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},n=(function(){return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,r){var t=[],i=!0,n=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(i=(a=d.next()).done)&&(t.push(a.value),!r||t.length!==r);i=!0);}catch(e){n=!0,o=e}finally{try{!i&&d.return&&d.return()}finally{if(n)throw o}}return t})(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),o="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},a=f(t(7)),d=f(t(3)),s=f(t(2)),c=f(t(1)),u=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),l=t(6),p=t(4);function f(e){return e&&e.__esModule?e:{default:e}}var v="rubicon";function y(){return"pbjs_lite_"+pbjs.version}var m="//fastlane.rubiconproject.com/a/api/fastlane.json",h="//fastlane-adv.rubiconproject.com/v1/auction/video",g=500,x={1:"468x60",2:"728x90",8:"120x600",9:"160x600",10:"300x600",13:"200x200",14:"250x250",15:"300x250",16:"336x280",19:"300x100",31:"980x120",32:"250x360",33:"180x500",35:"980x150",37:"468x400",38:"930x180",43:"320x50",44:"300x50",48:"300x300",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",60:"320x150",61:"1000x1000",65:"640x480",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",78:"980x240",79:"980x300",80:"980x400",83:"480x300",94:"970x310",96:"970x210",101:"480x320",102:"768x1024",103:"480x280",113:"1000x300",117:"320x100",125:"800x250",126:"200x600",195:"600x300"};function b(){var e=new a.default(v),r=!1;function t(){return[window.screen.width,window.screen.height].join("x")}var c=function(e,r){return"<html>\n<head><script type='text/javascript'>inDapIF=true;<\/script></head>\n<body style='margin : 0; padding: 0;'>\n\x3c!-- Rubicon Project Ad Tag --\x3e\n<div data-rp-impression-id='"+r+"'>\n<script type='text/javascript'>"+e+"<\/script>\n</div>\n</body>\n</html>"};function f(e,r){return(r.cpm||0)-(e.cpm||0)}return i(this,e,{callBids:function(a){(a.bids||[]).forEach((function(v){try{"video"===v.mediaType?(0,l.ajax)(h,{success:_,error:w},(function(e,r){e.startTime=(new Date).getTime();var i=e.params;if(!i||"object"!==o(i.video))throw"Invalid Video Bid";var n=void 0;if(i.video.playerWidth&&i.video.playerHeight)n=[i.video.playerWidth,i.video.playerHeight];else{if(!(Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1))throw"Invalid Video Bid - No size provided";n=e.sizes[0]}var a={page_url:i.referrer?i.referrer:u.getTopWindowUrl(),resolution:t(),account_id:i.accountId,integration:y(),timeout:r.timeout-(Date.now()-r.auctionStart+g),stash_creatives:!0,ae_pass_through_parameters:i.video.aeParams,slots:[]},d={site_id:i.siteId,zone_id:i.zoneId,position:i.position||"btf",floor:parseFloat(i.floor)>.01?i.floor:.01,element_id:e.placementCode,name:e.placementCode,language:i.video.language,width:n[0],height:n[1]};if(!i.video.size_id)throw"Invalid Video Bid - Invalid Ad Type!";return d.size_id=i.video.size_id,i.inventory&&"object"===o(i.inventory)&&(d.inventory=i.inventory),i.keywords&&Array.isArray(i.keywords)&&(d.keywords=i.keywords),i.visitor&&"object"===o(i.visitor)&&(d.visitor=i.visitor),a.slots.push(d),JSON.stringify(a)})(v,a),{withCredentials:!0}):(0,l.ajax)(function(e){e.startTime=(new Date).getTime();var r=e.params,i=r.accountId,n=r.siteId,a=r.zoneId,d=r.position,s=r.floor,c=r.keywords,l=r.visitor,p=r.inventory,f=r.userId,v=r.referrer;s=(s=parseFloat(s))>.01?s:.01,d=d||"btf";var h=b.masSizeOrdering(Array.isArray(e.params.sizes)?e.params.sizes.map((function(e){return(x[e]||"").split("x")})):e.sizes);if(h.length<1)throw"no valid sizes";if(!/^\d+$/.test(i))throw"invalid accountId provided";var g,_,w=["account_id",i,"site_id",n,"zone_id",a,"size_id",h[0],"alt_size_ids",h.slice(1).join(",")||void 0,"p_pos",d,"rp_floor",s,"rp_secure","https:"===location.protocol?"1":"0","tk_flint",y(),"p_screen_res",t(),"kw",c,"tk_user_key",f];return null!==l&&"object"===(void 0===l?"undefined":o(l))&&u._each(l,(function(e,r){return w.push("tg_v."+r,e)})),null!==p&&"object"===(void 0===p?"undefined":o(p))&&u._each(p,(function(e,r){return w.push("tg_i."+r,e)})),w.push("rand",Math.random(),"rf",v||u.getTopWindowUrl()),(w=w.concat((_=(g=window.DigiTrust&&(pbjs.getConfig("digiTrustId")||window.DigiTrust.getUser({member:"T9QSFKPDN9"})))&&g.success&&g.identity||null,!_||_.privacy&&_.privacy.optout?[]:["dt.id",_.id,"dt.keyv",_.keyv,"dt.pref",0]))).reduce((function(e,r,t){return t%2==0&&void 0!==w[t+1]?e+r+"="+encodeURIComponent(w[t+1])+"&":e}),m+"?").slice(0,-1)}(v),{success:_,error:w},void 0,{withCredentials:!0})}catch(e){u.logError("Error sending rubicon request for placement code "+v.placementCode,null,e),j()}function _(t){try{u.logMessage("XHR callback function called for ad ID: "+v.bidId),(function(t,a){var l=JSON.parse(t),v=l.ads,y=a.placementCode;if("object"!==(void 0===l?"undefined":o(l))||"ok"!==l.status)throw"bad response";if("video"===a.mediaType&&"object"===(void 0===v?"undefined":o(v))&&(v=v[y]),!Array.isArray(v)||v.length<1)throw"invalid ad response";(v=v.sort(f)).forEach((function(r){if("ok"!==r.status)throw"bad ad status";var t=d.default.createBid(p.STATUS.GOOD,a);if(t.currency="USD",t.creative_id=r.creative_id,t.bidderCode=e.getBidderCode(),t.cpm=r.cpm||0,t.dealId=r.deal,"video"===a.mediaType)t.width=a.params.video.playerWidth,t.height=a.params.video.playerHeight,t.vastUrl=r.creative_depot_url,t.descriptionUrl=r.impression_id,t.impression_id=r.impression_id;else{t.ad=c(r.script,r.impression_id);var i=x[r.size_id].split("x").map((function(e){return Number(e)})),o=n(i,2);t.width=o[0],t.height=o[1]}t.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:a.placementCode});try{s.default.addBidResponse(a.placementCode,t)}catch(e){u.logError("Error from addBidResponse",null,e)}})),r=(function(e){if(e)return!0;var r=pbjs.getConfig("rubicon"),t=r&&r.userSync,n=i({enabled:!1,delay:5e3},t);return!!n.enabled&&(setTimeout((function(){return u.insertCookieSyncIframe("https://tap-secure.rubiconproject.com/partner/scripts/rubicon/emily.html?rtb_ext=1")}),Number(n.delay)),!0)})(r)})(t,v)}catch(e){"string"==typeof e?u.logWarn(e+" when processing rubicon response for placement code "+v.placementCode):u.logError("Error processing rubicon response for placement code "+v.placementCode,null,e),j()}}function w(e,r){u.logError("Request for rubicon responded with:",r.status,e),j()}function j(){var r=d.default.createBid(p.STATUS.NO_BID,v);r.bidderCode=e.getBidderCode(),s.default.addBidResponse(v.placementCode,r)}}))}})}u._each(x,(function(e,r){return x[e]=r})),b.masSizeOrdering=function(e){var r=[15,2,9];return u.parseSizesInput(e).reduce((function(e,r){var t=parseInt(x[r],10);return t&&e.push(t),e}),[]).sort((function(e,t){var i=r.indexOf(e),n=r.indexOf(t);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-t}))},c.default.registerBidAdapter(new b,v,{supportedMediaTypes:["video"]}),c.default.aliasBidAdapter(v,"rubiconLite"),e.exports=b}},[191]);
  pbjsChunk([30],{193:function(e,r,d){e.exports=d(194)},194:function(e,r,d){"use strict";var i=d(0),t=d(8),o=d(4),n=d(0),p=d(3),a=d(2),c=d(5);function s(){return pbjs.sekindoCB=function(e,r){var d=(0,i.getBidRequest)(e);if(void 0!==r&&void 0!==r.cpm){var t=[];if(d){var c=d.bidder,s=d.placementCode;void 0!==r.cpm&&r.cpm>0?((t=p.createBid(o.STATUS.GOOD)).callback_uid=e,t.bidderCode=c,t.creative_id=r.adId,t.cpm=parseFloat(r.cpm),t.ad=r.ad,t.width=r.width,t.height=r.height,a.addBidResponse(s,t)):((t=p.createBid(o.STATUS.NO_BID)).callback_uid=e,t.bidderCode=c,a.addBidResponse(s,t))}}else d?n.logMessage("No prebid response for placement "+d.placementCode):n.logMessage("sekindoUM callback general error")},{callBids:function(e){var r=e.bids,d=r.length,i=null;i=parent!==window?document.referrer:window.location.href;for(var o=0;o<d;o++){var p=r[o];a=p,s=p.bidId,l=i,void 0,void 0,void 0,void 0,m=void 0,u=n.getBidIdParameter("spaceId",a.params),g=n.getBidIdParameter("subId",a.params),b=n.getBidIdParameter("bidfloor",a.params),v="https:"===document.location.protocol?"s":"",m="http"+v+"://hb.sekindo.com/live/liveView.php?",m=n.tryAppendQueryString(m,"s",u),m=n.tryAppendQueryString(m,"subId",g),m=n.tryAppendQueryString(m,"pubUrl",l),m=n.tryAppendQueryString(m,"hbcb",s),m=n.tryAppendQueryString(m,"hbver","3"),m=n.tryAppendQueryString(m,"hbobj","pbjs"),m=n.tryAppendQueryString(m,"dcpmflr",b),m=n.tryAppendQueryString(m,"hbto",t.config.getConfig("bidderTimeout")),m=n.tryAppendQueryString(m,"protocol",v),c.loadScript(m)}var a,s,l,u,g,b,v,m}}}d(1).registerBidAdapter(new s,"sekindoUM"),e.exports=s}},[193]);
  pbjsChunk([29],{195:function(e,t,i){e.exports=i(196)},196:function(e,t,i){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},n=c(i(7)),d=c(i(3)),a=c(i(2)),o=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}})(i(0)),s=i(6);function c(e){return e&&e.__esModule?e:{default:e}}var l=function(){var e=new n.default("serverbid"),t="https://e.serverbid.com/api/v2",i="serverbidCallBids",c=[null,"120x90","120x90","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"],l=[];function u(e){for(var i={placements:[],time:Date.now(),user:{},url:o.getTopWindowUrl(),referrer:document.referrer,enableBotFiltering:!0,includePricingData:!0},n=e.bids||[],d=0;d<n.length;d++){var a=n[d];l.push(a.bidId);var c=r({divName:a.bidId,adTypes:a.adTypes||f(a.sizes)},a.params);c.networkId&&c.siteId&&i.placements.push(c)}i.placements.length&&(0,s.ajax)(t,p,JSON.stringify(i),{method:"POST",withCredentials:!0,contentType:"application/json"})}function p(e){var t,i=void 0,r=void 0,n=void 0,s=void 0,c=void 0;try{e=JSON.parse(e)}catch(e){o.logError(e)}for(var u=0;u<l.length;u++){if(r=l[u],s=(n=o.getBidRequest(r)).bidder,c=n.placementCode,e){var p=e.decisions&&e.decisions[r],f=p&&p.pricing&&p.pricing.clearPrice;p&&f?((i=d.default.createBid(1,n)).bidderCode=s,i.cpm=f,i.width=p.width,i.height=p.height,i.ad=(t=p).contents&&t.contents[0]&&t.contents[0].body+o.createTrackPixelHtml(t.impressionUrl)):(i=d.default.createBid(2,n)).bidderCode=s}else(i=d.default.createBid(2,n)).bidderCode=s;a.default.addBidResponse(c,i)}}function f(e){var t=[];return e.forEach((function(e){var i=c.indexOf(e[0]+"x"+e[1]);i>=0&&t.push(i)})),t}return e.callBids=function(e){if(e&&e.bids&&o.isArray(e.bids)&&e.bids.length)if(window.SMARTSYNC){window[i]=function(){window[i]=function(){},u(e)};var t=e.bids[0].params.siteId;n="https://s.zkcdn.net/ss/"+t+".js",(d=document.createElement("script")).type="text/javascript",d.src=n,document.getElementsByTagName("head")[0].appendChild(d);var r=window.SMARTSYNC_TIMEOUT||(e.timeout||500)/2;setTimeout((function(){var e=window[i];window[i]=function(){},e()}),r)}else u(e);var n,d},{callBids:e.callBids}};c(i(1)).default.registerBidAdapter(new l,"serverbid"),e.exports=l}},[195]);
  pbjsChunk([0],{10:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var 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};n.default=function(e){var n,t=e.url,a=e.analyticsType,o=e.global,i=e.handler,A=[],_=0,N=!0;a===T&&(0,u.loadScript)(t,C);(a===S||E)&&C();return{track:function(e){var n=e.eventType,r=e.args;(this.getAdapterType()===T||E)&&window[o](i,n,r);this.getAdapterType()===S&&function(e){var n=e.eventType,r=e.args,a=e.callback;(0,s.ajax)(t,a,JSON.stringify({eventType:n,args:r}))}.apply(void 0,arguments)},enqueue:O,enableAnalytics:function(e){var t=this,a=this;m="object"!==(void 0===e?"undefined":r(e))||"object"!==r(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(m){var i;d.getEvents().forEach((function(e){if(e){var n=e.eventType,t=e.args;n!==g&&O.call(a,{eventType:n,args:t})}})),c(i={},y,(function(e){return t.enqueue({eventType:y,args:e})})),c(i,v,(function(e){return t.enqueue({eventType:v,args:e})})),c(i,g,(function(e){return t.enqueue({eventType:g,args:e})})),c(i,b,(function(e){return t.enqueue({eventType:b,args:e})})),c(i,h,(function(e){return t.enqueue({eventType:h,args:e})})),c(i,f,(function(e){return t.enqueue({eventType:f,args:e})})),c(i,p,(function(n){n.config=e.options,t.enqueue({eventType:p,args:n})})),n=i,l._each(n,(function(e,n){d.on(n,e)}))}else l.logMessage('Analytics adapter for "'+o+'" disabled by sampling');this.enableAnalytics=function(){return l.logMessage('Analytics adapter for "'+o+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){l._each(n,(function(e,n){d.off(n,e)}))},getAdapterType:function(){return a},getGlobal:function(){return o},getHandler:function(){return i},getUrl:function(){return t}};function O(e){var n=e.eventType,t=e.args,r=this;o&&window[o]&&n&&t?this.track({eventType:n,args:t}):A.push((function(){_++,r.track({eventType:n,args:t})}))}function C(){if(N){for(var e=0;e<A.length;e++)A[e]();A.push=function(e){e()},N=!1}l.logMessage("event count sent to "+o+": "+_)}};var a,o=t(4),i=(a=o)&&a.__esModule?a:{default:a},u=t(5),s=t(6);function c(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var d=t(9),l=t(0),p=i.default.EVENTS.AUCTION_INIT,f=i.default.EVENTS.AUCTION_END,y=i.default.EVENTS.BID_REQUESTED,g=i.default.EVENTS.BID_TIMEOUT,v=i.default.EVENTS.BID_RESPONSE,b=i.default.EVENTS.BID_WON,h=i.default.EVENTS.BID_ADJUSTMENT,T="library",S="endpoint",E="bundle",m=!0},197:function(e,n,t){e.exports=t(198)},198:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},a=i(t(10)),o=i(t(1));function i(e){return e&&e.__esModule?e:{default:e}}var u=t(0),s=r((0,a.default)({emptyUrl:"",analyticsType:"endpoint"}),{STR_BEACON_HOST:document.location.protocol+"//b.sharethrough.com/butler?",placementCodeSet:{},track:function(e){var n=e.eventType,t=e.args;if("bidRequested"===n&&"sharethrough"===t.bidderCode)for(var r=t.bids,a=Object.keys(r),o=0;o<a.length;o++)this.placementCodeSet[r[a[o]].placementCode]=t.bids[a[o]];"bidWon"===n&&this.bidWon(t)},bidWon:function(e){var n=e.bidderCode;if("sharethrough"!==n&&e.adUnitCode in this.placementCodeSet){var t=this.placementCodeSet[e.adUnitCode];this.fireLoseBeacon(n,e.cpm,t.adserverRequestId,"headerBidLose")}},fireLoseBeacon:function(e,n,t,r){var a=this.STR_BEACON_HOST;a=u.tryAppendQueryString(a,"winnerBidderCode",e),a=u.tryAppendQueryString(a,"winnerCpm",n),a=u.tryAppendQueryString(a,"arid",t),a=u.tryAppendQueryString(a,"type",r),a=this.appendEnvFields(a),this.fireBeacon(a)},appendEnvFields:function(e){return e=u.tryAppendQueryString(e,"hbVersion","0.28.0"),e=u.tryAppendQueryString(e,"strVersion","0.1.0"),e=u.tryAppendQueryString(e,"hbSource","prebid")},fireBeacon:function(e){(new Image).src=e}});o.default.registerAnalyticsAdapter({adapter:s,code:"sharethrough"}),n.default=s}},[197]);
  pbjsChunk([28],{199:function(e,t,r){e.exports=r(200)},200:function(e,t,r){"use strict";var n=r(0),a=r(2),s=r(3),d=r(6).ajax,i=r(1),o="sharethrough",c="1.2.0",p=function(){var e={};function t(t){return function(r){!(function(t,r){try{r=JSON.parse(r)}catch(e){return void i(t)}r.creatives&&r.creatives.length>0?(function(t,r){try{var d=r.bidId,c=s.createBid(1,t);c.bidderCode=o,c.cpm=r.creatives[0].cpm;var p=t.sizes[0];c.width=p[0],c.height=p[1],c.adserverRequestId=r.adserverRequestId,e.placementCodeSet[t.placementCode].adserverRequestId=r.adserverRequestId,c.pkey=n.getBidIdParameter("pkey",t.params);var u="str_response_"+d,h=JSON.stringify(r);if(c.ad='<div data-str-native-key="'+c.pkey+"\" data-stx-response-name='"+u+"'>\n                </div>\n                <script>var "+u+" = "+h+'<\/script>\n                <script src="//native.sharethrough.com/assets/sfp-set-targeting.js"><\/script>',!(window.STR&&window.STR.Tag||window.top.STR&&window.top.STR.Tag)){c.ad+="\n          <script>\n          (function() {\n            const sfp_js = document.createElement('script');\n            sfp_js.src = \"//native.sharethrough.com/assets/sfp.js\";\n            sfp_js.type = 'text/javascript';\n            sfp_js.charset = 'utf-8';\n            try {\n                window.top.document.getElementsByTagName('body')[0].appendChild(sfp_js);\n            } catch (e) {\n              console.log(e);\n            }\n          })()\n          <\/script>"}a.addBidResponse(t.placementCode,c)}catch(e){i(t)}})(t,r):i(t)})(t,r)}}function r(t){var r,a=n.getBidIdParameter("pkey",t.params),s=e.STR_BTLR_HOST+"/header-bid/v1?";return s=n.tryAppendQueryString(s,"bidId",t.bidId),s=n.tryAppendQueryString(s,"placement_key",a),r=s,r=n.tryAppendQueryString(r,"hbVersion","0.28.0"),r=n.tryAppendQueryString(r,"strVersion",c),s=r=n.tryAppendQueryString(r,"hbSource","prebid")}function i(e){var t=s.createBid(2,e);t.bidderCode=o,a.addBidResponse(e.placementCode,t)}return e.STR_BTLR_HOST=document.location.protocol+"//btlr.sharethrough.com",e.STR_BEACON_HOST=document.location.protocol+"//b.sharethrough.com/butler?",e.placementCodeSet={},e.ajax=d,{callBids:function(n){for(var a=n.bids,s=0;s<a.length;s+=1){var d=a[s];e.placementCodeSet[d.placementCode]=d;var i=r(d);e.ajax(i,t(d),void 0,{withCredentials:!0})}},str:e}};i.registerBidAdapter(new p,"sharethrough"),e.exports=p}},[199]);
  pbjsChunk([27],{201:function(e,r,a){e.exports=a(202)},202:function(e,r,a){"use strict";var d=a(0),t=a(3),s=a(2),n=a(5),i=a(11),o=function(){var e=function(e){var r="sas_"+d.getUniqueIdentifierStr();return pbjs[r]=function(r){var a;r?(d.logMessage("[SmartAdServer] bid response for placementCode "+e.placementCode),(a=t.createBid(1)).bidderCode="smartadserver",a.cpm=r.cpm,a.currency=r.currency,a.ad=r.ad,a.width=r.width,a.height=r.height,a.dealId=r.dealId,s.addBidResponse(e.placementCode,a)):(d.logMessage("[SmartAdServer] no bid response for placementCode "+e.placementCode),(a=t.createBid(2)).bidderCode="smartadserver",s.addBidResponse(e.placementCode,a))},r};return{callBids:function(r){for(var a=0;a<r.bids.length;a++){var d=r.bids[a],t=i.parse(d.params.domain);t.pathname="/prebid",t.search={pbjscbk:"pbjs."+e(d),siteid:d.params.siteId,pgid:d.params.pageId,fmtid:d.params.formatId,ccy:d.params.currency||"USD",bidfloor:d.params.bidfloor||0,tgt:encodeURIComponent(d.params.target||""),tag:d.placementCode,sizes:d.sizes.map((function(e){return e[0]+"x"+e[1]})).join(","),async:1},n.loadScript(i.format(t))}}}};a(1).registerBidAdapter(new o,"smartadserver"),e.exports=o}},[201]);
  pbjsChunk([26],{203:function(e,r,n){e.exports=n(204)},204:function(e,r,n){"use strict";var t=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},a=u(n(7)),i=u(n(3)),d=u(n(2)),o=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r.default=e,r}})(n(0)),s=n(6),c=n(4),l=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var p="smartyads",f={1:"468x60",2:"728x90",8:"120x600",9:"160x600",10:"300x600",15:"300x250",16:"336x280",19:"300x100",43:"320x50",44:"300x50",48:"300x300",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",61:"1000x1000",65:"640x480",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",83:"480x300",94:"970x310",96:"970x210",101:"480x320",102:"768x1024",113:"1000x300",117:"320x100",125:"800x250",126:"200x600"};function x(){return t(new a.default(p),{callBids:function(e){(e.bids||[]).forEach((function(e){try{(0,s.ajax)(function(e){e.startTime=(new Date).getTime();var r,n=x.masSizeOrdering(Array.isArray(e.params.sizes)?e.params.sizes.map((function(e){return(f[e]||"").split("x")})):e.sizes);if(n.length<1)throw"no valid sizes";r="http:"!==window.location.protocol?1:0;var t=window.location.host,a=window.location.pathname,i=navigator.language,d=window.screen.width,o=window.screen.height,s=["banner_id",e.params.banner_id,"size_ad",n[0],"alt_size_ad",n.slice(1).join(",")||void 0,"host",t,"page",a,"language",i,"deviceWidth",d,"deviceHeight",o,"secure",r,"bidId",e.bidId,"checkOn","rf"];return s.reduce((function(e,r,n){return n%2==0&&void 0!==s[n+1]?e+r+"="+encodeURIComponent(s[n+1])+"&":e}),"//ssp-nj.webtradehub.com/?").slice(0,-1)}(e),(function(r){try{o.logMessage("XHR callback function called for ad ID: "+e.bidId),t=r,a=e,s=JSON.parse(t),(l=i.default.createBid(c.STATUS.GOOD,a)).creative_id=s.ad_id,l.bidderCode=a.bidder,l.cpm=s.cpm||0,l.ad=s.adm,l.width=s.width,l.height=s.height,l.dealId=s.deal,d.default.addBidResponse(a.placementCode,l)}catch(r){"string"==typeof r?o.logWarn(r+" when processing smartyads response for placement code "+e.placementCode):o.logError("Error processing smartyads response for placement code "+e.placementCode,null,r);var n=i.default.createBid(c.STATUS.NO_BID,e);n.bidderCode=e.bidder,n.error=r,d.default.addBidResponse(e.placementCode,n)}var t,a,s,l}),void 0,{withCredentials:!0})}catch(r){o.logError("Error sending smartyads request for placement code "+e.placementCode,null,r)}}))}})}o._each(f,(function(e,r){return f[e]=r})),x.masSizeOrdering=function(e){var r=[15,2,9];return o.parseSizesInput(e).reduce((function(e,r){var n=parseInt(f[r],10);return n&&e.push(n),e}),[]).sort((function(e,n){var t=r.indexOf(e),a=r.indexOf(n);return t>-1||a>-1?-1===t?1:-1===a?-1:t-a:e-n}))},l.default.registerBidAdapter(new x,"smartyads"),e.exports=x}},[203]);
  pbjsChunk([25],{205:function(e,i,s){e.exports=s(206)},206:function(e,i,s){"use strict";var t=s(3),a=s(2),o=s(5),r=s(0),n=function(){var e={},i={};function s(s){var t={};return r._each(s,(function(s){if(s.params){var a=s.params.floor?s.params.floor:null,o=s.params.ad_unit?s.params.ad_unit:s.params.placement_id?s.params.placement_id:null,n=s.params.sizes?s.params.sizes:s.sizes||null;n=r.parseSizesInput(n).toString(),r.isEmpty(n)&&r.logError("Sonobi adapter expects sizes for "+s.placementCode);var d=s.bidId,c=n?a?n+"|f="+a:n:a?"f="+a:"";/^[\/]?[\d]+[[\/].+[\/]?]?$/.test(o)?(o="/"===o.charAt(0)?o:"/"+o,t[o+"|"+d]=c,e[o+"|"+d]=s.placementCode,i[s.placementCode]=s):/^[0-9a-fA-F]{20}$/.test(o)&&20===o.length?(t[d]=o+"|"+c,e[d]=s.placementCode,i[s.placementCode]=s):(e[d]=s.placementCode,i[s.placementCode]=s,p(s.placementCode),r.logError("The ad unit code or Sonobi Placement id for slot "+s.placementCode+" is invalid"))}})),t}function n(i){var s=i.slots||{},t=i.sbi_dc||"";r._each(s,(function(i,s){var a=e[s];i.sbi_aid&&i.sbi_mouse&&i.sbi_size?c(a,t,i):p(a),delete e[s]}))}function d(e){var s=i[e];return delete i[e],s}function c(e,i,s){var o,r,n=t.createBid(1,d(e));s.sbi_dozer&&(n.dealId=s.sbi_dozer),n.bidderCode="sonobi",n.ad=(o=i,r=s.sbi_aid,'<script type="text/javascript" src="https://'+o+"apex.go.sonobi.com/sbi.js?aid="+r+'&as=null"><\/script>'),n.cpm=Number(s.sbi_mouse),n.width=Number(s.sbi_size.split("x")[0])||1,n.height=Number(s.sbi_size.split("x")[1])||1,a.addBidResponse(e,n)}function p(e){var i=t.createBid(2,d(e));i.bidderCode="sonobi",a.addBidResponse(e,i)}return{callBids:function(e){var i,t=e.bids||[],a=e.bidderRequestId,r=window.frameElement?"&ref="+encodeURI(top.location.host||document.referrer):"";o.loadScript("https://apex.go.sonobi.com/trinity.js?key_maker="+JSON.stringify(s(t))+"&cv="+(i="sbi_"+a,window[i]=n,i)+r)},formRequest:s,parseResponse:n,success:c,failure:p}};s(1).registerBidAdapter(new n,"sonobi"),e.exports=n}},[205]);
  pbjsChunk([24],{207:function(e,i,d){e.exports=d(208)},208:function(e,i,d){"use strict";var a=d(4),t=d(0),n=d(3),r=d(2),s=d(5),o=function(){var e="ap.lijit.com/rtb/bid";return pbjs.sovrnResponse=function(e){var i,d,s=[];e&&e.id&&e.seatbid&&0!==e.seatbid.length&&e.seatbid[0].bid&&0!==e.seatbid[0].bid.length&&e.seatbid[0].bid.forEach((function(e){var i,d="",o=e.impid,c={},p=t.getBidRequest(o);if(p&&(d=p.placementCode,p.status=a.STATUS.GOOD,0!==(i=parseFloat(e.price)))){e.placementCode=d,e.size=p.sizes;var b=e.adm,l='<img src="'+e.nurl+'">';(c=n.createBid(1,p)).creative_id=e.id,c.bidderCode="sovrn",c.cpm=i,c.ad=decodeURIComponent(b+l),c.width=parseInt(e.w),c.height=parseInt(e.h),e.dealid&&(c.dealId=e.dealid),r.addBidResponse(d,c),s.push(o)}})),i=s,(d=(d=t.getBidderRequestAllAdUnits("sovrn"))?d.bids.filter((function(e){return i.indexOf(e.bidId)<0})):[]).forEach((function(e){var i={};(i=n.createBid(2,e)).bidderCode="sovrn",r.addBidResponse(e.placementCode,i)}))},{callBids:function(i){!(function(i){var d=window.location.host,n=window.location.pathname+location.search+location.hash,r=[];t._each(i,(function(e){var i=t.getBidIdParameter("tagid",e.params),d=t.getBidIdParameter("bidfloor",e.params),a=0,n=0,s=Array.isArray(e.params.sizes)?e.params.sizes:e.sizes,o=s.length;2===o&&"number"==typeof s[0]&&"number"==typeof s[1]?(a=s[0],n=s[1]):(a=s[0][0],n=s[0][1]);var c={id:e.bidId,banner:{w:a,h:n},tagid:i,bidfloor:d};r.push(c)}));var o={id:t.getUniqueIdentifierStr(),imp:r,site:{domain:d,page:n}},c="//"+e+"?callback=window.pbjs.sovrnResponse&src="+a.REPO_AND_VERSION+"&br="+encodeURIComponent(JSON.stringify(o));s.loadScript(c)})(i.bids||[])}}};d(1).registerBidAdapter(new o,"sovrn"),e.exports=o}},[207]);
  pbjsChunk([23],{209:function(e,t,o){e.exports=o(210)},210:function(e,t,o){"use strict";var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(e[d]=o[d])}return e},i="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=c(o(7)),s=c(o(3)),n=c(o(2)),a=c(o(5)),l=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}})(o(0)),p=o(4);function c(e){return e&&e.__esModule?e:{default:e}}function u(){var e=new r.default("Spotx"),t=void 0,o=void 0;function c(){var e=t.params.video;"string"==typeof e.slot&&(e.slot=document.getElementById(t.params.video.slot)),"string"==typeof e.video_slot&&(e.video_slot=document.getElementById(t.params.video.video_slot)),new SpotX.DirectAdOS(e).getAdServerKVPs().then((function(e){var d={bids:[]},i={};i.cmpID=t.params.video.channel_id,i.cpm=e.spotx_bid,i.url=e.spotx_ad_key,i.cur="USD",i.bidderCode="spotx";var r=l.isArray(t.sizes[0])?t.sizes[0]:t.sizes;i.height=r[1],i.width=r[0],d.bids.push(i),o=e,f(d)}),(function(){f()}))}function u(e){var d=s.default.createBid(e,l.getBidRequest(t.bidId));if(d.bidderCode=t.bidder,d.placementCode=t.placementCode,d.requestId=t.requestId,d.code=t.bidder,e===p.STATUS.GOOD&&o){var i="//search.spotxchange.com/ad/vast.html?key="+o.spotx_ad_key;d.mediaType="video",d.cpm=o.spotx_bid,d.vastUrl=i,d.ad=i;var r=l.isArray(t.sizes[0])?t.sizes[0]:t.sizes;d.height=r[1],d.width=r[0]}return d}function f(e){e&&e.bids&&e.bids.length?n.default.addBidResponse(t.placementCode,u(p.STATUS.GOOD,e.bids[0])):n.default.addBidResponse(t.placementCode,u(p.STATUS.NO_BID))}return e.callBids=function(e){var o;e&&e.bids&&0!==e.bids.length&&(!(function(e){if("object"!==i(e.params)&&"object"!==i(e.params.video))return!1;if(void 0===t.params.video.channel_id||void 0===t.params.video.slot||void 0===t.params.video.video_slot)return!1;return!0})(t=e.bids[0]||[])?console.log("Bid Request does not contain valid parameters."):(o=t.params.video.channel_id,a.default.loadScript("//js.spotx.tv/directsdk/v1/"+o+".js",c,!0)))},d(this,{callBids:e.callBids,setBidderCode:e.setBidderCode})}c(o(1)).default.registerBidAdapter(new u,"spotx",{supportedMediaTypes:["video"]}),e.exports=u}},[209]);
  pbjsChunk([22],{211:function(e,r,i){e.exports=i(212)},212:function(e,r,i){"use strict";var d,n=i(3),t=i(2),s=i(5);d=function(){function e(e){var r=window.location.protocol+"//bidder.springserve.com/display/hbid?",i=e.sizes[0];r+="&w=",r+=i[0],r+="&h=",r+=i[1];var d=e.params,n={sp:"supplyPartnerId",imp_id:"impId"};for(var t in n)n.hasOwnProperty&&d.hasOwnProperty(n[t])&&(r+="&",r+=t,r+="=",r+=d[n[t]]);var s=window.location.hostname;return d.hasOwnProperty("test")&&!0===d.test&&(r+="&debug=true",s="test.com"),r+="&domain=",r+=s,r+="&callback=pbjs.handleSpringServeCB"}return pbjs.handleSpringServeCB=function(e){if(e&&e.seatbid&&e.seatbid.length>0&&void 0!==e.seatbid[0].bid[0]){var r=e.seatbid[0].bid[0],i=pbjs._bidsRequested.find((function(e){return"springserve"===e.bidderCode}));i=i&&i.bids.length>0?i.bids.filter((function(e){return e.params&&e.params.impId===r.impid})):[];for(var d,s=n.createBid(1),a=0;a<i.length;a++){var o=i[a];if("springserve"===o.bidder){d=o.placementCode;var p=o.sizes[0];s.width=p[0],s.height=p[1]}}i[0]&&(s.bidderCode=i[0].bidder),r.hasOwnProperty("price")&&r.hasOwnProperty("adm")?(s.cpm=r.price,s.ad=r.adm):(s=n.createBid(2)).bidderCode="springserve",t.addBidResponse(d,s)}},{callBids:function(r){for(var i=r.bids||[],d=0;d<i.length;d++){var n=i[d];s.loadScript(e(n))}},buildSpringServeCall:e}},i(1).registerBidAdapter(new d,"springserve"),e.exports=d}},[211]);
  pbjsChunk([21],{213:function(t,r,e){t.exports=e(214)},214:function(t,r,e){"use strict";var a=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a])}return t},n=e(7).default,o=e(3),i=e(2),s=e(5),c=e(0),d=e(1),p=function(){var t="//cdn.stickyadstv.com/mustang/mustang.min.js",r="//cdn.stickyadstv.com/prime-time/[COMP-ID].min.js",e=h();function d(e){var a=e.placementCode,n=e.params.format?e.params.format:"inbanner",o=t;"inbanner"!==n&&(o=r.replace("[COMP-ID]",n));var c=!1;s.loadScript(o,(function(){p(e,(function(t){c||(c=!0,i.addBidResponse(a,t))}))}),!0)}function p(t,r){var a=t.params.zoneId||t.params.zone,n=f(t.sizes),o=window.com.stickyadstv.tools;o&&o.ASLoader&&(e.stickyadstv_asLoader=new o.ASLoader(a,v(t.params.format)));var i=new window.com.stickyadstv.vast.VastLoader;t.vast=e.stickyadstv_cache[t.placementCode]=i.getVast();var s={onSuccess:g((function(){var t=y(this,n),e=(function(t){var r=t.getPricing();r||console.warn("freewheel-ssp: Bid pricing Can't be retreived. You may need to enable pricing on you're zone. Please get in touch with your Freewheel contact.");return r})(this.vast);r(w(this,!0,e,t,n[0],n[1]))}),t),onError:g((function(){r(w(this,!1))}),t)},c={zoneId:a,playerSize:n[0]+"x"+n[1],vastUrlParams:t.params.vastUrlParams,componentId:v(t.params.format)},d=window.com.stickyadstv[u(t.params.format)];d&&"function"==typeof d.getPlayerSize&&(c.playerSize=d.getPlayerSize()),i.load(c,s)}function v(t){var r="mustang";return t&&"inbanner"!==t&&(r=t),r}function u(t){return(t=t||"").replace("-","")}function f(t){for(var r=[1,1],e=0;e<t.length;e++)t[e][0]*t[e][1]>r[0]*r[1]&&(r=t[e]);return r}e.stickyadstv_cache={};var m=function(t,r){return'<div id="stickyadstv_prebid_target"></div>'+("<script type='text/javascript'>var topWindow = (function(){var res=window; try{while(top != res){if(res.parent.location.href.length)res=res.parent;}}catch(e){}return res;})();var vast =  topWindow.stickyadstv_cache[\""+t.placementCode+'"];var config = {  preloadedVast:vast,  autoPlay:true};var ad = new topWindow.com.stickyadstv.vpaid.Ad(document.getElementById("stickyadstv_prebid_target"),config);if(topWindow.stickyadstv_asLoader) topWindow.stickyadstv_asLoader.registerEvents(ad);ad.initAd('+r[0]+","+r[1]+',"",0,"","");<\/script>')},l=function(t){var r=t.placementCode,e=t.params;e.hasOwnProperty("domId")||e.hasOwnProperty("auto")||e.hasOwnProperty("p")||e.hasOwnProperty("article")||(e.domId=r);var a="<script type='text/javascript'>var topWindow = (function(){var res=window; try{while(top != res){if(res.parent.location.href.length)res=res.parent;}}catch(e){}return res;})();var vast =  topWindow.stickyadstv_cache[\""+r+'"];var config = {  preloadedVast:vast,  ASLoader:topWindow.stickyadstv_asLoader';for(var n in e)e.hasOwnProperty(n)&&"format"!==n&&"zone"!==n&&"zoneId"!==n&&"vastUrlParams"!==n&&(a+=","+n+':"'+e[n]+'"');return a+="};topWindow.com.stickyadstv."+u(t.params.format)+".start(config);<\/script>"};function y(t,r){var e=t.params.format;return e&&"inbanner"!==e?l(t):m(t,r)}function w(t,r,e,a,n,i){var s;return r&&e?((s=o.createBid(1,t)).bidderCode=t.bidder,s.cpm=e.price,s.currencyCode=e.currency,s.ad=a,s.width=n,s.height=i):(s=o.createBid(2,t)).bidderCode=t.bidder,s}function h(){var t=window;try{for(;top!==t;)t.parent.location.href.length&&(t=t.parent)}catch(t){}return t}var g=function(t,r){return function(){return t.apply(r,arguments)}};return a(this,new n("stickyadstv"),{callBids:function(t){for(var r=t.bids||[],e=0;e<r.length;e++){var a=r[e];a.placementCode&&a.params.zoneId?d(a):c.logWarn("StickyAdsTV: Missing mandatory field(s).")}},formatBidObject:w,formatAdHTML:y,getBiggerSize:f,getBid:p,getTopMostWindow:h,getComponentId:v,getAPIName:u})};d.registerBidAdapter(new p,"stickyadstv"),d.aliasBidAdapter("stickyadstv","freewheel-ssp"),t.exports=p}},[213]);
  pbjsChunk([20],{215:function(e,i,t){e.exports=t(216)},216:function(e,i,t){"use strict";var s=t(3),a=t(2),r=t(5),d=t(0),n=function(){var e="0.0.1",i=["320x50"],t=["ufid","refer","ad_unit_id","device_id","lat","long","user","price_floor","test"],n="https://ads04.tapsense.com/ads/headerad",o=void 0;function p(e){return function(i,t){var r=void 0;if(i&&t){var n=d.getBidRequest(e);"ok"===i.status.value&&i.count_ad_units>0?((r=s.createBid(1,r)).cpm=t,r.width=i.width,r.height=i.height,r.ad=i.ad_units[0].html):r=s.createBid(2,r),r.bidderCode=n.bidder,a.addBidResponse(n.placementCode,r)}else d.logMessage("No prebid response")}}return pbjs.tapsense={},{callBids:function(s){o=s.bids||[];for(var a=0;a<o.length;a++){var c=o[a],u=!1;if(!c.sizes||!c.params.user||!c.params.ad_unit_id)return;for(var l=d.parseSizesInput(c.sizes),f=0;f<l.length;f++)if(i.indexOf(l[f])>-1){u=!0;break}if(u){var b="?price=true&jsonp=1&callback=pbjs.tapsense.callback_with_price_"+c.bidId+"&version="+e+"&";pbjs.tapsense["callback_with_price_"+c.bidId]=p(c.bidId);for(var h=Object.keys(c.params),v=0;v<h.length;v++)t.indexOf(h[v])<0||(b+=encodeURIComponent(h[v])+"="+encodeURIComponent(c.params[h[v]])+"&");_=n+b,r.loadScript(_)}}var _}}};t(1).registerBidAdapter(new n,"tapsense"),e.exports=n}},[215]);
  pbjsChunk([19],{217:function(e,t,r){e.exports=r(218)},218:function(e,t,r){"use strict";var n=r(3),o=r(2),a=r(0),i=r(6),d=r(1),c="tldr-cookie-sync-div",s="tldr_uid",l="tldr"in window&&tldr.config.root_url?tldr.config.root_url:"//a.thoughtleadr.com/v4/",u="tldr"in window&&tldr.config.cdn_url?tldr.config.cdn_url:"//cdn.thoughtleadr.com/v4/";function h(e){try{var t=window[e],r="__storage_test__";return t.setItem(r,r),t.removeItem(r),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==storage.length}}function g(){var e,t,r,n=(e=s,h("localStorage")?localStorage[e]:h("sessionStorage")?sessionStorage[e]:null);return n||(n=a.generateUUID(null),t=s,r=n,h("localStorage")&&(localStorage[t]=r),h("sessionStorage")&&(sessionStorage[t]=r)),n}function m(e,t){var r=document.createElement("iframe");r.style.width="0",r.style.height="0",r.style.border="0",r.src="javascript:false",t.appendChild(r);var n=r.contentWindow.document;n.body.innerHTML=e;for(var o=n.body.getElementsByTagName("script"),a=0;a<o.length;a++){var i=o.item(a);"SCRIPT"===i.nodeName&&p(i)}return r}function p(e){var t=document.createElement("script");t.innerText=e.text||e.textContent||e.innerHTML||"";for(var r=e.attributes,n=r.length;n--;)t.setAttribute(r[n].name,r[n].value);e.parentNode&&e.parentNode.replaceChild(t,e)}var f=(function(){function e(){}return e.prototype.callBids=function(t){for(var r=0,n=(t.bids||[]).filter((function(t){return e.valid(t)}));r<n.length;r++){var o=n[r];this.requestPlacement(o)}},e.prototype.requestPlacement=function(t){var r=this,a=g(),d=e.getSizes(t.sizes);i.ajax(""+l+t.params.placementId+"/header-bid.json?uid="+a,(function(e){var a=JSON.parse(e);a.cookie_syncs&&r.syncCookies(a.cookie_syncs);var i=document.createElement("script");i.src=u+"bid.js",i.setAttribute("header-bid-token",a.header_bid_token);var c=void 0;a&&a.amount?((c=n.createBid(1)).bidderCode="thoughtleadr",c.cpm=a.amount,c.ad=i.outerHTML,c.width=d.width,c.height=d.height):(c=n.createBid(2)).bidderCode="thoughtleadr",o.addBidResponse(t.placementCode,c)}),null)},e.prototype.syncCookies=function(e){if(e&&e.length){var t=document.getElementById(c);t||((t=document.createElement("div")).id=c,t.style.width="0",t.style.height="0",document.body.appendChild(t));for(var r=0,n=e;r<n.length;r++){m(n[r],t)}}},e.valid=function(e){return!(!e||!e.params||"string"!=typeof e.params.placementId)},e.getSizes=function(t){var r=t[0];return Array.isArray(r)?e.getSizes(r):{width:t[0],height:t[1]}},e})();d.registerBidAdapter(new f,"thoughtleadr"),e.exports=f}},[217]);
  pbjsChunk([18],{219:function(e,t,r){e.exports=r(220)},220:function(e,t,r){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},n=r(4),d=r(0),a=r(5),p=r(2),o=r(3),s=r(7).default,c=r(1),u="https://in-appadvertising.com/api/bidRequest?",l="https://in-appadvertising.com/api/userSync.js";function I(){var e=new s("trion"),t=null;function r(e){t.int_t||(t.int_t=window.TR_INT_T||-1);for(var r=0;r<e.length;r++){var i=e[r],n=i.bidId;a.loadScript(c(i,n))}}function c(e,r){var i=d.getBidIdParameter("pubId",e.params),n=d.getBidIdParameter("sectionId",e.params),a=d.getBidIdParameter("re",e.params),p=d.getTopWindowUrl(),o=d.parseSizesInput(e.sizes).join(","),s=u;return s=d.tryAppendQueryString(s,"callback","pbjs.handleTrionCB"),s=d.tryAppendQueryString(s,"bidId",r),s=d.tryAppendQueryString(s,"pubId",i),s=d.tryAppendQueryString(s,"sectionId",n),s=d.tryAppendQueryString(s,"re",a),s=d.tryAppendQueryString(s,"slot",e.placementCode),p&&(s+="url="+p+"&"),o&&(s+="sizes="+o+"&"),t&&(s+="tag="+encodeURIComponent(JSON.stringify(t))+"&"),s.lastIndexOf("&")===s.length-1&&(s=s.substring(0,s.length-1)),s}return e.callBids=function(e){var i=e.bids||[];i.length&&(window.TRION_INT?(t=window.TRION_INT,r(i)):a.loadScript(l,(function(){(t=window.TRION_INT||{}).pubId=d.getBidIdParameter("pubId",i[0].params),t.sectionId=d.getBidIdParameter("sectionId",i[0].params),t.to?setTimeout((function(){r(i)}),t.to):r(i)}),!0))},pbjs.handleTrionCB=function(e){var t,r={},i="";if(e&&e.bidId){var a,s=e.bidId,c=e&&e.result;if((r=d.getBidRequest(s))&&(a=r.bidder,i=r.placementCode),c&&c.cpm&&c.placeBid&&c.ad){var u=parseInt(c.cpm,10)/100;(t=o.createBid(n.STATUS.GOOD,r)).bidderCode=a,t.cpm=u,t.ad=c.ad,t.width=c.width,t.height=c.height}}t||(t=o.createBid(n.STATUS.NO_BID,r)),p.addBidResponse(i,t)},i(this,{callBids:e.callBids,setBidderCode:e.setBidderCode,buildTrionUrl:c})}c.registerBidAdapter(new I,"trion"),e.exports=I}},[219]);
  pbjsChunk([17],{221:function(e,r,t){e.exports=t(222)},222:function(e,r,t){"use strict";var i=t(0),a=t(5),n=t(2),o=t(3),d=function(){var e=!1;function r(e,r){var t=i.getBidIdParameter("inventoryCode",e.params),a=i.getBidIdParameter("floor",e.params),n=document.location.protocol+"//tlx.3lift.com/header/auction?";n=i.tryAppendQueryString(n,"callback","pbjs.TLCB"),n=i.tryAppendQueryString(n,"lib","prebid"),n=i.tryAppendQueryString(n,"v","0.28.0"),n=i.tryAppendQueryString(n,"callback_id",r),n=i.tryAppendQueryString(n,"inv_code",t),n=i.tryAppendQueryString(n,"floor",a),n=i.tryAppendQueryString(n,"fe",(function(){var e=0;try{var r=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash");r&&(e=1)}catch(r){navigator.mimeTypes&&void 0!==navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(e=1)}return e})());var o=i.parseSizesInput(e.sizes);o&&(n+="size="+o+"&");var d=i.getTopWindowUrl();return(n=i.tryAppendQueryString(n,"referrer",d)).lastIndexOf("&")===n.length-1&&(n=n.substring(0,n.length-1)),i.logMessage("tlCall request built: "+n),e.startTime=(new Date).getTime(),n}return pbjs.TLCB=function(r){if(r&&r.callback_id){var t=i.getBidRequest(r.callback_id),a=t&&t.placementCode;t&&i.logMessage("JSONP callback function called for inventory code: "+t.params.inventoryCode);var d=[];if(r&&r.cpm&&0!==r.cpm?((d=o.createBid(1,t)).bidderCode="triplelift",d.cpm=r.cpm,d.ad=r.ad,d.width=r.width,d.height=r.height,d.dealId=r.deal_id,n.addBidResponse(a,d)):(t&&i.logMessage("No prebid response from TripleLift for inventory code: "+t.params.inventoryCode),(d=o.createBid(2,t)).bidderCode="triplelift",n.addBidResponse(a,d)),!e){var l=i.createInvisibleIframe();l.src="//ib.3lift.com/sync";try{document.body.appendChild(l)}catch(e){i.logError(e)}e=!0,window._tlSyncDone=!0}}else i.logMessage("No prebid response for placement %%PLACEMENT%%")},{callBids:function(e){for(var t=e.bids,i=t.length,n=0;n<i;n++){var o=t[n],d=o.bidId;a.loadScript(r(o,d))}}}};t(1).registerBidAdapter(new d,"triplelift"),e.exports=d}},[221]);
  pbjsChunk([16],{223:function(e,r,a){e.exports=a(224)},224:function(e,r,a){"use strict";var t=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e},i=a(4),d=a(0),s=a(5),n=a(2),c=a(3),l=a(7).default;function p(){var e=new l("twenga");function r(e,r){var a="//rtb.t.c4tw.net/Bid?";if(a=d.tryAppendQueryString(a,"s","h"),a=d.tryAppendQueryString(a,"callback","pbjs.handleTwCB"),a=d.tryAppendQueryString(a,"callback_uid",r),a=d.tryAppendQueryString(a,"referrer",d.getTopWindowUrl()),e.params)for(var t in e.params){var i=e.params[t];switch(t){case"placementId":t="id";break;case"siteId":t="sid";break;case"publisherId":t="pid";break;case"currency":t="cur";break;case"bidFloor":t="min";break;case"country":t="gz"}a=d.tryAppendQueryString(a,t,i)}var s=d.parseSizesInput(e.sizes);return s.length>0&&(a=d.tryAppendQueryString(a,"size",s.join(","))),a+="ta=1",d.logMessage("bid request built: "+a),e.startTime=(new Date).getTime(),a}return e.callBids=function(e){for(var a=0;a<e.bids.length;a++){var t=e.bids[a],i=t.bidId;s.loadScript(r(t,i))}},pbjs.handleTwCB=function(e){var r;if(e&&e.callback_uid){var a,t=e.callback_uid,s="",l=d.getBidRequest(t);l&&(r=l.bidder,s=l.placementCode,l.status=i.STATUS.GOOD),d.logMessage("JSONP callback function called for ad ID: "+t);var p=[];if(e.result&&e.result.cpm&&0!==e.result.cpm&&e.result.ad){var o=e.result;a=parseInt(o.cpm,10),a/=1e4;var u=o.ad.replace("%%WP%%",o.cpm);(p=c.createBid(1,l)).creative_id=o.creative_id,p.bidderCode=r,p.cpm=a,!u||0!==u.lastIndexOf("http",0)&&0!==u.lastIndexOf("//",0)?p.ad=u:p.adUrl=u,p.width=o.width,p.height=o.height,n.addBidResponse(s,p)}else d.logMessage("No prebid response from Twenga for placement code "+s),(p=c.createBid(2,l)).bidderCode=r,n.addBidResponse(s,p)}else d.logMessage("No prebid response for placement %%PLACEMENT%%")},t(this,{callBids:e.callBids,setBidderCode:e.setBidderCode,buildBidCall:r})}a(1).registerBidAdapter(new p,"twenga"),e.exports=p}},[223]);
  pbjsChunk([15],{225:function(e,r,t){e.exports=t(226)},226:function(e,r,t){"use strict";var n=l(t(3)),a=l(t(2)),o=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),d=t(6),c=t(4),i=l(t(1));function l(e){return e&&e.__esModule?e:{default:e}}var u="ADGENT_PREBID-2017051801",s="ucfunnel";function p(){return{callBids:function(e){(e.bids||[]).forEach((function(e){try{(0,d.ajax)(function(e){e.startTime=(new Date).getTime();var r=o.getTopWindowLocation().host,t=o.getTopWindowLocation().pathname,n=document.referrer,a=navigator.language,d="yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,c=["ifr",0,"bl",a,"je",1,"dnt",d,"host",r,"u",t,"ru",n,"adid",e.params.adid,"w",e.params.width,"h",e.params.height,"ver",u];return c.reduce((function(e,r,t){return t%2==0&&void 0!==c[t+1]?e+r+"="+encodeURIComponent(c[t+1])+"&":e}),"//agent.aralego.com/header?").slice(0,-1)}(e),(function(r){try{o.logMessage("XHR callback function called for placement code: "+e.placementCode),d=r,i=e,l=JSON.parse(d),(u=n.default.createBid(c.STATUS.GOOD,i)).creative_id=l.ad_id,u.bidderCode=s,u.cpm=l.cpm||0,u.ad=l.adm,u.width=l.width,u.height=l.height,u.dealId=l.deal,a.default.addBidResponse(i.placementCode,u)}catch(r){"string"==typeof r?o.logWarn(r+" when processing ucfunnel response for placement code "+e.placementCode):o.logError("Error processing ucfunnel response for placement code "+e.placementCode,null,r);var t=n.default.createBid(c.STATUS.NO_BID,e);t.bidderCode=e.bidder,t.error=r,a.default.addBidResponse(e.placementCode,t)}var d,i,l,u}),void 0,{withCredentials:!0})}catch(r){o.logError("Error sending ucfunnel request for placement code "+e.placementCode,null,r)}}))}}}i.default.registerBidAdapter(new p,s),e.exports=p}},[225]);
  pbjsChunk([14],{227:function(e,i,t){e.exports=t(228)},228:function(e,i,t){"use strict";var d=t(8),n=t(3),o=t(2),a=t(5),r=t(0);function s(){var e="1.0.0",i=window.location.protocol+"//udmserve.net/udm/img.fetch?tid=1;dt=9;callback=pbjs.handleUnderdogMediaCB;",t={};return pbjs.handleUnderdogMediaCB=function(i){var a=i.mids;t.bids.forEach((function(i){var t=!1;if(a.forEach((function(a){if(!(a.useCount>0)){a.useCount||(a.useCount=0);var s=!0;if(r.parseSizesInput(i.sizes).forEach((function(e){e===a.width+"x"+a.height&&(s=!1)})),!s){var c=n.createBid(1,i);c.bidderCode=i.bidder,c.width=a.width,c.height=a.height,c.cpm=parseFloat(a.cpm),c.cpm<=0||(a.useCount++,c.ad=a.ad_code_html,c.ad=(u=c,p=i,f=a.notification_url,f+=e,f+=";cb="+Math.random(),f+=";qqq="+1/u.cpm,f+=";hbt="+d.config.getConfig("bidderTimeout"),f+=";style=adapter",f+=";vis="+encodeURIComponent(document.visibilityState),f+=";traffic_info="+encodeURIComponent(JSON.stringify(function(){for(var e,i={},t=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),d=0;d<t.length;d++)(e=t[d].split("="))[0].match(/^utm/)&&(i[e[0]]=e[1].substr(0,150));return i}())),p.params.subId&&(f+=";subid="+encodeURIComponent(p.params.subId)),'<script async src="'+f+'"><\/script>'+c.ad),(c.ad||c.adUrl)&&(o.addBidResponse(i.placementCode,c),t=!0))}}var u,p,f})),!t){var s=n.createBid(2,i);s.bidderCode=i.bidder,o.addBidResponse(i.placementCode,s)}}))},{callBids:function(e){var d=[],n=0;(t=e).bids.forEach((function(e){d=r.flatten(d,r.parseSizesInput(e.sizes)),n=e.params.siteId})),a.loadScript(i+"sid="+n+";sizes="+d.join(","),null,!1)}}}t(1).registerBidAdapter(new s,"underdogmedia"),e.exports=s}},[227]);
  pbjsChunk([13],{229:function(e,n,r){e.exports=r(230)},230:function(e,n,r){"use strict";var t=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},i=r(6),a=s(r(3)),d=s(r(2)),o=(function(e){{if(e&&e.__esModule)return e;var n={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n.default=e,n}})(r(0)),u=r(4),l=r(17);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){return{onBidResponse:function(n){try{JSON.parse(n).bids.forEach((function(e){var n=a.default.createBid(e.ext.statusCode,e);if(t(n,e),e.ext.renderer){var r=e.ext.renderer,i=(function(e){var n=e.bidResponseBid,r=e.rendererConfig;parent.window.unruly=parent.window.unruly||{},parent.window.unruly.native=parent.window.unruly.native||{},parent.window.unruly.native.siteId=parent.window.unruly.native.siteId||r.siteId;var t=(parent.window.unruly.native.prebid=parent.window.unruly.native.prebid||{},parent.window.unruly.native.prebid.uq=parent.window.unruly.native.prebid.uq||[],{render:function(e){parent.window.unruly.native.prebid.uq.push(["render",e])},onLoaded:function(e){}});return{render:function(){t.render(n)},onRendererLoad:function(){t.onLoaded(n)}}})({bidResponseBid:n,rendererConfig:r.config});n.renderer=l.Renderer.install(t({},r,{callback:function(){return i.onRendererLoad()}})),n.renderer.setRender((function(){return i.render()}))}d.default.addBidResponse(e.ext.placementCode,n)}))}catch(n){o.logError(n),e.forEach((function(e){var n=a.default.createBid(u.STATUS.NO_BID);d.default.addBidResponse(e.placementCode,n)}))}}}}function p(){var e={exchangeUrl:"https://targeting.unrulymedia.com/prebid",callBids:function(n){var r=n.bids;if(r&&0!==r.length){var t={bidRequests:r},a=c(r);(0,i.ajax)(e.exchangeUrl,a.onBidResponse,JSON.stringify(t),{contentType:"application/json",withCredentials:!0})}}};return e}s(r(1)).default.registerBidAdapter(new p,"unruly"),e.exports=p}},[229]);
  pbjsChunk([12],{231:function(e,t,r){e.exports=r(232)},232:function(e,t,r){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},d=c(r(7)),a=c(r(3)),n=c(r(2)),o=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),s=r(6),u=r(4),p=c(r(1));function c(e){return e&&e.__esModule?e:{default:e}}var l="//rtb.vertamedia.com/hb/";function h(){var e=new d.default("vertamedia"),t=void 0;function r(e){var r;try{r=JSON.parse(e)}catch(e){o.logError(e)}r&&!r.error&&r.bids&&r.bids.length?n.default.addBidResponse(t.placementCode,p(u.STATUS.GOOD,r.bids[0])):n.default.addBidResponse(t.placementCode,p(u.STATUS.NO_BID))}function p(r,i){var d=a.default.createBid(r,i);return d.code=e.getBidderCode(),d.bidderCode=t.bidder,i&&r===u.STATUS.GOOD?(d.mediaType="video",d.cpm=i.cpm,d.creative_id=i.cmpId,d.width=t.width,d.height=t.height,d.descriptionUrl=i.url,d.vastUrl=i.url,d):d}return e.callBids=function(e){if(e&&e.bids&&0!==e.bids.length){var i=(function(e){if(!(e&&e.params&&e.params.aid&&e.placementCode))return;t=e;var r=(function(e){var t=o.parseSizesInput(e)[0];if("string"!=typeof t)return{};var r=t.toUpperCase().split("X");return{width:parseInt(r[0],10)||void 0,height:parseInt(r[1],10)||void 0}})(e.sizes);return t.width=r.width,t.height=r.height,{aid:e.params.aid,w:r.width,h:r.height,domain:document.location.hostname}})(e.bids[0]);i&&(0,s.ajax)(l,r,i,{contentType:"text/plain",withCredentials:!0,method:"GET"})}},i(this,{callBids:e.callBids,setBidderCode:e.setBidderCode})}p.default.registerBidAdapter(new h,"vertamedia",{supportedMediaTypes:["video"]}),e.exports=h}},[231]);
  pbjsChunk([11],{233:function(e,t,r){e.exports=r(234)},234:function(e,t,r){"use strict";var d=r(4),i=r(0),a=r(3),n=r(2),o=r(5);function s(){var e="//hb.vrtzads.com/vzhbidder/bid?",t="vertoz",r="q";return pbjs.vzResponse=function(e){var r,o=e,s=i.getBidRequest(o.slotBidId);if(o.cpm)(r=a.createBid(d.STATUS.GOOD,s)).cpm=Number(o.cpm),r.ad=o.ad+i.createTrackPixelHtml(decodeURIComponent(o.nurl)),r.width=o.adWidth,r.height=o.adHeight;else{var c=o.statusText;r=a.createBid(d.STATUS.NO_BID,s),i.logMessage(c)}var p=s.placementCode;r.bidderCode=t,n.addBidResponse(p,r)},{callBids:function(d){for(var a=d.bids||[],n=0;n<a.length;n++){var s=a[n],c=i.getValue(s,"bidId"),p=Math.round((new Date).getTime()/1e3),l=e,m=s.params||{},u=i.getValue(m,"placementId"),v=i.getValue(m,"cpmFloor");if(i.isEmptyStr(u))return void i.logError("missing params:",t,"Enter valid vzPlacementId");var g={_vzPlacementId:u,_rqsrc:i.getTopWindowLocation().href,_cb:p,_slotBidId:c,_cpm:v},h=JSON.stringify(g);l=i.tryAppendQueryString(l,r,h),o.loadScript(l)}}}}r(1).registerBidAdapter(new s,"vertoz"),e.exports=s}},[233]);
  pbjsChunk([10],{235:function(e,t,o){e.exports=o(236)},236:function(e,t,o){"use strict";var n=o(3),i=o(2),r=o(0),a=o(5);function d(){var e="JSAdservingMP.ashx?pc={pc}&pbId={pbId}&clk=&exm=&jsv=1.0&tsv=1.0&cts={cts}&arp=0&fl=0&vitp=&vit=&jscb=window.pbjs.handleWideOrbitCallback&url={referrer}&fp=&oid=&exr=&mraid=&apid=&apbndl=&mpp=0&uid=&cb={cb}&hb=1",t="&gid{o}={gid}&pp{o}=&clk{o}=&rpos{o}={rpos}&ecpm{o}={ecpm}&ntv{o}=&ntl{o}=&adsid{o}=",o="&pId{o}={pId}&rank{o}={rank}",d="&wsName{o}={wsName}&wName{o}={wName}&rank{o}={rank}&bfDim{o}={width}x{height}&subp{o}={subp}",c=window.location.protocol+"//p{pbId}.atemda.com/",s=void 0;function p(e){if(e){var t=void 0;r._each(["site","page","width","height","rank","subPublisher","ecpm","atf","pId","pbId","referrer"],(function(o){for(t in e)if(e.hasOwnProperty(t)&&t.toLowerCase()===o.toLowerCase()){e[o]=e[t];break}}))}}function m(e,t){return r._each(t,(function(t){var o,n,i,r;o=e,n=t[0],i=t[1],r=new RegExp("{"+n+"}","g"),!0===i&&(i=1),!1===i&&(i=0),e=o.replace(r,i)})),e}function l(e,t){return e||t}function h(e,n){var i,r,a,c,s,p=(i=n,m(t,[["o",e],["gid",encodeURIComponent(i.tagId)],["rpos",i.atf?1001:0],["ecpm",i.ecpm||""]]));return n.pId?m(o,[["o",r=e],["pId",(a=n).pId],["rank",l(a.rank,r)]])+p:(s=n,m(d,[["o",c=e],["wsName",encodeURIComponent(decodeURIComponent(s.site))],["wName",encodeURIComponent(decodeURIComponent(s.page))],["width",s.width],["height",s.height],["subp",s.subPublisher?encodeURIComponent(decodeURIComponent(s.subPublisher)):""],["rank",l(s.rank,c)]])+p)}return window.pbjs=window.pbjs||{},window.pbjs.handleWideOrbitCallback=function(e){var t,o,a,d,c;r.logMessage("WO response. Placements: "+e.Placements.length),a=e.UserMatchings,d=document.getElementsByTagName("head")[0],c=void 0,r._each(a,(function(e){switch(c=void 0,e.Type){case"redirect":c=document.createElement("img");break;case"iframe":c=r.createInvisibleIframe();break;case"js":(c=document.createElement("script")).type="text/javascript",c.async=!0}c&&(c.src=decodeURIComponent(e.Url),d.insertBefore(c,d.firstChild))})),r._each(s,(function(a){var d,c,s;(t=(function(e,t){var o;for(o=0;o<t.length;o++)if(t[o].ExtPlacementId===e)return t[o]})(a.placementCode,e.Placements))&&"DirectHTML"===t.Type?((o=n.createBid(1)).cpm=t.Bid,o.ad=(c=(d=t).Source,s=void 0,r._each(d.TrackingCodes,(function(e){var t;s="http:/"===(t=e).slice(0,6)||"https:/"===t.slice(0,7)||"//"===t.slice(0,2)?'<img src="'+e+'" width="0" height="0" style="position:absolute"></img>':e,c=s+c})),c),o.width=t.Width,o.height=t.Height):o=n.createBid(2),o.bidderCode="wideorbit",i.addBidResponse(a.placementCode,o)}))},{callBids:function(t){var o,n,i,d,l=void 0,b="",u=void 0,f=void 0;for(s=t.bids||[],u=0;u<s.length;u++){var g=s[u].params;g.tagId=s[u].placementCode,p(g),l=g.pbId,f=f||g.referrer,b+=h(u,g)}o=l,n=s.length,i=b,d=f,b=m(c+e,[["pbId",o],["pc",n],["cts",(new Date).getTime()],["cb",Math.floor(1e8*Math.random())],["referrer",encodeURIComponent(d||"")]])+i,r.logMessage("Calling WO: "+b),a.loadScript(b)}}}o(1).registerBidAdapter(new d,"wideorbit"),e.exports=d}},[235]);
  pbjsChunk([9],{237:function(e,r,i){e.exports=i(238)},238:function(e,r,i){"use strict";var a=i(0),d=i(5),t=i(2),n=i(3),c=i(1),s="1.0.3";function o(){var e=("https:"===document.location.protocol?"https:":"http:")+"//engine.widespace.com/map/engine/hb/dynamic?",r="pbjs.widespaceHandleCB";var i=function(e){if(e)for(var r=void 0,i="widespace",d=0,c=e.length;d<c;d++){var s=e[d],o="",p=[];s.sizes={height:s.height,width:s.width};var h=a.getBidRequest(s.callbackUid);h&&(i=h.bidder,o=h.placementCode,p=h.sizes),s&&s.callbackUid&&"noad"!==s.status&&u(s.sizes,p)?((r=n.createBid(1)).bidderCode=i,r.cpm=s.cpm,r.cur=s.currency,r.creative_id=s.adId,r.ad=s.code,r.width=s.width,r.height=s.height,t.addBidResponse(o,r)):((r=n.createBid(2)).bidderCode=i,t.addBidResponse(o,r))}function u(e,r){for(var i=0,a=r.length;i<a;i++)if(e.width===r[i][0]&&e.height===r[i][1])return!0;return!1}};return{callBids:function(t){for(var n=t&&t.bids||[],c=0;c<n.length;c++){var o=n[c],p=o.bidId,h=o.params.sid,u=o.params.cur||o.params.currency,b="";b=a.parseSizesInput(o.sizes).reduce((function(e,r){return e?e+","+r:r}),b);var l=e;l=a.tryAppendQueryString(l,"hb.ver",s);var m={hb:"1","hb.name":"prebidjs","hb.callback":r,"hb.callbackUid":p,"hb.sizes":b,"hb.currency":u,sid:h};if(o.params.demo)for(var g=["gender","country","region","postal","city","yob"],v=0;v<g.length;v++)o.params.demo[g[v]]&&(m["hb.demo."+g[v]]=o.params.demo[g[v]]);l+="#";for(var f=Object.keys(m),w=0;w<f.length;w++){var y=f[w];l+=y+"="+m[y]+"&"}pbjs.widespaceHandleCB=window[r]=i,d.loadScript(l)}}}}c.registerBidAdapter(new o,"widespace"),e.exports=o}},[237]);
  pbjsChunk([8],{239:function(e,r,t){e.exports=t(240)},240:function(e,r,t){"use strict";var a=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},d=o(t(7)),i=o(t(3)),n=o(t(2)),l=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),s=t(4),u=o(t(1)),c=t(5);function o(e){return e&&e.__esModule?e:{default:e}}var p=function(){var e=new d.default("xhb"),r=!1;function t(e,r){var t=l.getBidIdParameter("placementId",e.params),a=l.getBidIdParameter("member",e.params),d=l.getBidIdParameter("invCode",e.params),i=l.getBidIdParameter("referrer",e.params),n=l.getBidIdParameter("alt_referrer",e.params),s="https://ib.adnxs.com/jpt?";s=l.tryAppendQueryString(s,"callback","pbjs.handleXhbCB"),s=l.tryAppendQueryString(s,"callback_uid",r),s=l.tryAppendQueryString(s,"id",t),s=l.tryAppendQueryString(s,"psa","0"),s=l.tryAppendQueryString(s,"member",a),s=l.tryAppendQueryString(s,"code",d),s=l.tryAppendQueryString(s,"traffic_source_code",l.getBidIdParameter("trafficSourceCode",e.params));var u="",c=l.parseSizesInput(e.sizes),o=c.length;if(o>0&&(u="size="+c[0],o>1)){u+="&promo_sizes=";for(var p=1;p<o;p++)u+=c[p]+=",";u&&","===u.charAt(u.length-1)&&(u=u.slice(0,u.length-1))}return u&&(s+=u+"&"),""===i&&(i=l.getTopWindowUrl()),s=l.tryAppendQueryString(s,"referrer",i),(s=l.tryAppendQueryString(s,"alt_referrer",n)).lastIndexOf("&")===s.length-1&&(s=s.substring(0,s.length-1)),s}return n.default.registerDefaultBidderSetting("xhb",{alwaysUseBid:!0,adserverTargeting:[{key:"hb_xhb_deal",val:function(e){return e.dealId}},{key:"hb_xhb_adid",val:function(e){return e.adId}},{key:"hb_xhb_size",val:function(e){return e.width+"x"+e.height}}]}),e.callBids=function(e){for(var r=e.bids,a=0;a<r.length;a++){var d=r[a],i=d.bidId;(0,c.loadScript)(t(d,i))}},pbjs.handleXhbCB=function(e){var t=void 0;if(e&&e.callback_uid){var a=void 0,d=e.callback_uid,u="",c=l.getBidRequest(d);c&&(t=c.bidder,u=c.placementCode,c.status=s.STATUS.GOOD);var o=[];if(e.result&&e.result.ad&&""!==e.result.ad){a=0;var p=e.result.creative_id;(o=i.default.createBid(s.STATUS.GOOD,c)).creative_id=p,o.bidderCode=t,o.cpm=a,o.adUrl=e.result.ad,o.width=e.result.width,o.height=e.result.height,o.dealId="99999999",n.default.addBidResponse(u,o)}else(o=i.default.createBid(s.STATUS.NO_BID,c)).bidderCode=t,n.default.addBidResponse(u,o);if(!r){var f=l.createInvisibleIframe();f.src="//acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html";try{document.body.appendChild(f)}catch(e){l.logError(e)}r=!0}}},a(this,{callBids:e.callBids,setBidderCode:e.setBidderCode,buildJPTCall:t})};u.default.registerBidAdapter(new p,"xhb"),e.exports=p}},[239]);
  pbjsChunk([7],{241:function(t,i,e){t.exports=e(242)},242:function(t,i,e){"use strict";var a=e(5),r=e(3),s=e(2),n=e(0);function o(){window.ybotq=window.ybotq||[];var t={BID_STATUS:{PENDING:0,AVAILABLE:1,EMPTY:2},pageLevelOption:!1,buildCreative:function(t,i){return'<script type="text/javascript" src="//cdn.yldbt.com/js/yieldbot.intent.js"><\/script><script type="text/javascript">var ybotq = ybotq || [];ybotq.push(function () {yieldbot.renderAd(\''+t+":"+i+"');});<\/script>"},buildBid:function(i){var e={};if(i&&i.ybot_ad&&"n"!==i.ybot_ad){(e=r.createBid(t.BID_STATUS.AVAILABLE)).cpm=parseInt(i.ybot_cpm)/100||0;var a=i.ybot_size?i.ybot_size.split("x"):[0,0],s=i.ybot_slot||"",n=i.ybot_size||"";for(var o in e.width=a[0]||0,e.height=a[1]||0,e.ad=t.buildCreative(s,n),i)e[o]=i[o]}else e=r.createBid(t.BID_STATUS.EMPTY);return e.bidderCode="yieldbot",e},getUniqueSlotSizes:function(t){var i=[],e={};if(n.isArray(t))for(var a=0;a<t.length;a++){var r=t[a]||"";if(r&&n.isStr(r)&&!e[r]){var s=r.split("x");s.length>1&&i.push([s[0],s[1]]),e[r]=!0}}return i},callBids:function(i){var e=i.bids||[],r=window.ybotq||[];t.pageLevelOption=!1,r.push((function(){var i=window.yieldbot;t.bids={},t.parsedBidSizes={};var a="ERROR_PREBID_DEFINE_YB_PSN",r={};for(var s in n._each(e,(function(i){var e=i;a=e.params&&e.params.psn?e.params.psn:a;var s=e.params&&e.params.slot?e.params.slot:"ERROR_PREBID_DEFINE_YB_SLOT",o=n.parseSizesInput(e.sizes)||[];r[s]=r[s]||[],r[s]=r[s].concat(o),t.bids[e.bidId]=e,t.parsedBidSizes[e.bidId]=o})),r)r.hasOwnProperty(s)&&(r[s]=t.getUniqueSlotSizes(r[s]));if(!0!==i._initialized){for(var o in i.pub(a),r)r.hasOwnProperty(o)&&i.defineSlot(o,{sizes:r[o]});i.enableAsync(),i.go()}else n.isEmpty(r)||i.nextPageview(r)})),r.push((function(){t.handleUpdateState()})),a.loadScript("//cdn.yldbt.com/js/yieldbot.intent.js",null,!0)},handleUpdateState:function(){var i=window.yieldbot,e={};for(var a in t.bids)if(t.bids.hasOwnProperty(a)){var r=t.bids[a]||null;if(r&&r.params&&r.params.slot){for(var n=r.placementCode||"ERROR_YB_NO_PLACEMENT",o=i.getSlotCriteria(r.params.slot),d=t.parsedBidSizes[a]||[],l=!1,p=0;p<d.length;p++){var b=d[p];if(!e[o.ybot_slot]&&b===o.ybot_size){l=!0,e[o.ybot_slot]=!0;break}}var c=t.buildBid(l?o:{ybot_ad:"n"});s.addBidResponse(n,c)}}}};return{callBids:t.callBids,getUniqueSlotSizes:t.getUniqueSlotSizes}}e(1).registerBidAdapter(new o,"yieldbot"),t.exports=o}},[241]);
  pbjs.processQueue();