
/******************
LIQWID Version 4.8
Copyright(C) 2010-2021, LeftsnRights Inc. All rights reserved.
******************/
if(typeof top.Liqwid!=='undefined')top.Liqwid.obj++;
function loadLpb(){																															 
/* prebid.js v4.22.0
Updated : 2021-01-13 */
!function(u){var s=window.LpbjsChunk;window.LpbjsChunk=function(e,t,n){for(var r,i,o,a=0,c=[];a<e.length;a++)i=e[a],d[i]&&c.push(d[i][0]),d[i]=0;for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(u[r]=t[r]);for(s&&s(e,t,n);c.length;)c.shift()();if(n)for(a=0;a<n.length;a++)o=f(f.s=n[a]);return o};var n={},d={373:0};function f(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return u[e].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.m=u,f.c=n,f.d=function(e,t,n){f.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,"a",t),t},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.p="",f.oe=function(e){throw console.error(e),e},f(f.s=930)}({0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"internal",function(){return k}),n.d(t,"bind",function(){return D}),t.getUniqueIdentifierStr=q,t.generateUUID=function e(t){return t?(t^M()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){if(t&&t[e])return t[e];return""},t.tryAppendQueryString=function(e,t,n){if(n)return e+t+"="+encodeURIComponent(n)+"&";return e},t.parseQueryStringParameters=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t=t.replace(/&$/,"")},t.transformAdServerTargetingObj=function(t){return t&&0<Object.getOwnPropertyNames(t).length?pe(t).map(function(e){return"".concat(e,"=").concat(encodeURIComponent(t[e]))}).join("&"):""},t.getAdUnitSizes=function(e){if(!e)return;var t=[];{var n;e.mediaTypes&&e.mediaTypes.banner&&Array.isArray(e.mediaTypes.banner.sizes)?(n=e.mediaTypes.banner.sizes,Array.isArray(n[0])?t=n:t.push(n)):Array.isArray(e.sizes)&&(Array.isArray(e.sizes[0])?t=e.sizes:t.push(e.sizes))}return t},t.parseSizesInput=function(e){var t=[];if("string"==typeof e){var n=e.split(","),r=/^(\d)+x(\d)+$/i;if(n)for(var i in n)oe(n,i)&&n[i].match(r)&&t.push(n[i])}else if("object"===h(e)){var o=e.length;if(0<o)if(2===o&&"number"==typeof e[0]&&"number"==typeof e[1])t.push(G(e));else for(var a=0;a<o;a++)t.push(G(e[a]))}return t},t.parseGPTSingleSizeArray=G,t.parseGPTSingleSizeArrayToRtbSize=function(e){if(W(e))return{w:e[0],h:e[1]}},t.getWindowTop=L,t.getWindowSelf=F,t.getWindowLocation=z,t.logMessage=V,t.logInfo=H,t.logWarn=K,t.logError=J,t.hasConsoleLogger=function(){return _},t.debugTurnedOn=Q,t.createInvisibleIframe=function(){var e=document.createElement("iframe");return e.id=q(),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},t.getParameterByName=function(e){return Ie(z().search)[e]||""},t.isA=$,t.isFn=X,t.isStr=Z,t.isArray=ee,t.isNumber=te,t.isPlainObject=ne,t.isBoolean=function(e){return $(e,C)},t.isEmpty=re,t.isEmptyStr=function(e){return Z(e)&&(!e||0===e.length)},t._each=ie,t.contains=function(e,t){if(re(e))return!1;if(X(e.indexOf))return-1!==e.indexOf(t);var n=e.length;for(;n--;)if(e[n]===t)return!0;return!1},t._map=function(n,r){if(re(n))return[];if(X(n.map))return n.map(r);var i=[];return ie(n,function(e,t){i.push(r(e,t,n))}),i},t.hasOwn=oe,t.insertElement=ae,t.triggerPixel=ce,t.callBurl=function(e){var t=e.source,n=e.burl;t===S.S2S.SRC&&n&&k.triggerPixel(n)},t.insertHtmlIntoIframe=function(e){if(!e)return;var t=document.createElement("iframe");t.id=q(),t.width=0,t.height=0,t.hspace="0",t.vspace="0",t.marginWidth="0",t.marginHeight="0",t.style.display="none",t.style.height="0px",t.style.width="0px",t.scrolling="no",t.frameBorder="0",t.allowtransparency="true",k.insertElement(t,document,"body"),t.contentWindow.document.open(),t.contentWindow.document.write(e),t.contentWindow.document.close()},t.insertUserSyncIframe=ue,t.createTrackPixelHtml=function(e){if(!e)return"";var t=encodeURI(e),n='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return n+='<img src="'+t+'"></div>'},t.createTrackPixelIframeHtml=se,t.getValueString=de,t.uniques=fe,t.flatten=le,t.getBidRequest=function(n,e){return n?(e.some(function(e){var t=c()(e.bids,function(t){return["bidId","adId","bid_id"].some(function(e){return t[e]===n})});return t&&(r=t),t}),r):void 0;var r},t.getKeys=pe,t.getValue=ge,t.getKeyByValue=function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t)return n},t.getBidderCodes=function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:Lpbjs.adUnits).map(function(e){return e.bids.map(function(e){return e.bidder}).reduce(le,[])}).reduce(le).filter(fe)},t.isGptPubadsDefined=be,n.d(t,"getHighestCpm",function(){return ve}),n.d(t,"getOldestHighestCpmBid",function(){return ye}),n.d(t,"getLatestHighestCpmBid",function(){return he}),t.shuffle=function(e){var t=e.length;for(;0<t;){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 s()(e,t&&t.adUnitCode)},t.deepClone=Se,t.inIframe=function(){try{return k.getWindowSelf()!==k.getWindowTop()}catch(e){return!0}},t.isSafariBrowser=function(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)},t.replaceAuctionPrice=function(e,t){if(!e)return;return e.replace(/\$\{AUCTION_PRICE\}/g,t)},t.replaceClickThrough=function(e,t){if(!e||!t||"string"!=typeof t)return;return e.replace(/\${CLICKTHROUGH}/g,t)},t.timestamp=function(){return(new Date).getTime()},t.getPerformanceNow=function(){return window.performance&&window.performance.now&&window.performance.now()||0},t.hasDeviceAccess=function(){return!1!==r.b.getConfig("deviceAccess")},t.checkCookieSupport=Ae,t.delayExecution=function(e,t){if(t<1)throw new Error("numRequiredCalls must be a positive number. Got ".concat(t));var n=0;return function(){++n===t&&e.apply(this,arguments)}},t.groupBy=function(e,n){return e.reduce(function(e,t){return(e[t[n]]=e[t[n]]||[]).push(t),e},{})},t.getDefinedParams=function(n,e){return e.filter(function(e){return n[e]}).reduce(function(e,t){return y(e,v({},t,n[t]))},{})},t.isValidMediaTypes=function(e){var t=["banner","native","video"];if(!Object.keys(e).every(function(e){return s()(t,e)}))return!1;if(e.video&&e.video.context)return s()(["instream","outstream","adpod"],e.video.context);return!0},t.getBidderRequest=function(e,t,n){return c()(e,function(e){return 0<e.bids.filter(function(e){return e.bidder===t&&e.adUnitCode===n}).length})||{start:null,auctionId:null}},t.getUserConfiguredParams=function(e,t,n){return e.filter(function(e){return e.code===t}).map(function(e){return e.bids}).reduce(le,[]).filter(function(e){return e.bidder===n}).map(function(e){return e.params||{}})},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")},t.getDNT=function(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack},t.isAdUnitCodeMatchingSlot=function(t){return function(e){return Ee(t,e)}},t.isSlotMatchingAdUnitCode=Oe,t.getGptSlotInfoForAdUnitCode=function(e){var t;be()&&(t=c()(window.googletag.pubads().getSlots(),Oe(e)));if(t)return{gptSlot:t.getAdUnitPath(),divId:t.getSlotElementId()};return{}},t.unsupportedBidderMessage=function(e,t){var n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n    ".concat(e.code," is a ").concat(n," ad unit\n    containing bidders that don't support ").concat(n,": ").concat(t,".\n    This bidder won't fetch demand.\n  ")},t.isInteger=Te,t.convertCamelToUnderscore=function(e){return e.replace(/(?:^|\.?)([A-Z])/g,function(e,t){return"_"+t.toLowerCase()}).replace(/^_/,"")},t.cleanObj=function(n){return Object.keys(n).reduce(function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e},{})},t.pick=function(a,c){return"object"===h(a)?c.reduce(function(e,t,n){if("function"==typeof t)return e;var r=t,i=t.match(/^(.+?)\sas\s(.+?)$/i);i&&(t=i[1],r=i[2]);var o=a[t];return"function"==typeof c[n+1]&&(o=c[n+1](o,e)),void 0!==o&&(e[r]=o),e},{}):{}},t.transformBidderParamKeywords=function(e){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"keywords",i=[];return ie(e,function(e,t){if(ee(e)){var n=[];ie(e,function(e){!(e=de(r+"."+t,e))&&""!==e||n.push(e)}),e=n}else{if(!Z(e=de(r+"."+t,e)))return;e=[e]}i.push({key:t,value:e})}),i},t.convertTypes=function(r,i){return Object.keys(r).forEach(function(e){var t,n;i[e]&&(X(r[e])?i[e]=r[e](i[e]):i[e]=(t=r[e],n=i[e],"string"===t?n&&n.toString():"number"===t?Number(n):n),isNaN(i[e])&&delete i.key)}),i},t.isArrayOfNums=function(e,t){return ee(e)&&(!t||e.length===t)&&e.every(Te)},t.fill=function(e,t){for(var n=[],r=0;r<t;r++){var i=ne(e)?Se(e):e;n.push(i)}return n},t.chunk=function(e,t){for(var n=[],r=0;r<Math.ceil(e.length/t);r++){var i=r*t,o=i+t;n.push(e.slice(i,o))}return n},t.getMinValueFromArray=function(e){return Math.min.apply(Math,p(e))},t.getMaxValueFromArray=function(e){return Math.max.apply(Math,p(e))},t.compareOn=function(n){return function(e,t){return e[n]<t[n]?1:e[n]>t[n]?-1:0}},t.parseQS=Ie,t.formatQS=Ce,t.parseUrl=function(e,t){var n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);var r=t&&"decodeSearchAsString"in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||"").replace(/:$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:r?n.search:k.parseQS(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}},t.buildUrl=function(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(k.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")},t.deepEqual=je,t.mergeDeep=we,t.cyrb53Hash=function(e){for(var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,r=function(e,t){if(X(Math.imul))return Math.imul(e,t);var n=(4194303&e)*(t|=0);return 4290772992&e&&(n+=(4290772992&e)*t|0),0|n},i=3735928559^n,o=1103547991^n,a=0;a<e.length;a++)t=e.charCodeAt(a),i=r(i^t,2654435761),o=r(o^t,1597334677);return i=r(i^i>>>16,2246822507)^r(o^o>>>13,3266489909),(4294967296*(2097151&(o=r(o^o>>>16,2246822507)^r(i^i>>>13,3266489909)))+(i>>>0)).toString()};var r=n(3),i=n(160),o=n.n(i),a=n(10),c=n.n(a),u=n(12),s=n.n(u),d=n(161);n.d(t,"deepAccess",function(){return d.a});var f=n(162);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(){return(y=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}).apply(this,arguments)}function h(e){return(h="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})(e)}n.d(t,"deepSetValue",function(){return f.a});var m,S=n(5),A="Array",E="String",O="Function",T="Number",I="Object",C="Boolean",j=Object.prototype.toString,w=Boolean(window.console),_=Boolean(w&&window.console.log),U=Boolean(w&&window.console.info),B=Boolean(w&&window.console.warn),x=Boolean(w&&window.console.error),R=n(9),k={checkCookieSupport:Ae,createTrackPixelIframeHtml:se,getWindowSelf:F,getWindowTop:L,getWindowLocation:z,insertUserSyncIframe:ue,insertElement:ae,isFn:X,triggerPixel:ce,logError:J,logWarn:K,logMessage:V,logInfo:H,parseQS:Ie,formatQS:Ce,deepEqual:je},N={},D=function(e,t){return t}.bind(null,1,N)()===N?Function.prototype.bind:function(e){var t=this,n=Array.prototype.slice.call(arguments,1);return function(){return t.apply(e,n.concat(Array.prototype.slice.call(arguments)))}},P=(m=0,function(){return++m});function q(){return P()+Math.random().toString(16).substr(2)}function M(){return window&&window.crypto&&window.crypto.getRandomValues?crypto.getRandomValues(new Uint8Array(1))[0]%16:16*Math.random()}function G(e){if(W(e))return e[0]+"x"+e[1]}function W(e){return ee(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1])}function L(){return window.top}function F(){return window.self}function z(){return window.location}function V(){Q()&&_&&console.log.apply(console,Y(arguments,"MESSAGE:"))}function H(){Q()&&U&&console.info.apply(console,Y(arguments,"INFO:"))}function K(){Q()&&B&&console.warn.apply(console,Y(arguments,"WARNING:"))}function J(){Q()&&x&&console.error.apply(console,Y(arguments,"ERROR:")),R.emit(S.EVENTS.AUCTION_DEBUG,{type:"ERROR",arguments:arguments})}function Y(e,t){return e=[].slice.call(e),t&&e.unshift(t),e.unshift("display: inline-block; color: #fff; background: #3b88c3; padding: 1px 4px; border-radius: 3px;"),e.unshift("%cPrebid"),e}function Q(){return!!r.b.getConfig("debug")}function $(e,t){return j.call(e)==="[object "+t+"]"}function X(e){return $(e,O)}function Z(e){return $(e,E)}function ee(e){return $(e,A)}function te(e){return $(e,T)}function ne(e){return $(e,I)}function re(e){if(!e)return!0;if(ee(e)||Z(e))return!(0<e.length);for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0}function ie(e,t){if(!re(e)){if(X(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(0<r)for(;n<r;n++)t(e[n],n,e);else for(n in e)hasOwnProperty.call(e,n)&&t.call(this,e[n],n)}}function oe(e,t){return e.hasOwnProperty?e.hasOwnProperty(t):void 0!==e[t]&&e.constructor.prototype[t]!==e[t]}function ae(e,t,n,r){var i;t=t||document,i=n?t.getElementsByTagName(n):t.getElementsByTagName("head");try{if((i=i.length?i:t.getElementsByTagName("body")).length){i=i[0];var o=r?null:i.firstChild;return i.insertBefore(e,o)}}catch(e){}}function ce(e,t){var n=new Image;t&&k.isFn(t)&&(n.addEventListener("load",t),n.addEventListener("error",t)),n.src=e}function ue(e,t){var n=k.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),r=document.createElement("div");r.innerHTML=n;var i=r.firstChild;t&&k.isFn(t)&&(i.addEventListener("load",t),i.addEventListener("error",t)),k.insertElement(i,document,"html",!0)}function se(e){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"";return e?((!(1<arguments.length&&void 0!==arguments[1])||arguments[1])&&(e=encodeURI(e)),t=t&&'sandbox="'.concat(t,'"'),"<iframe ".concat(t,' id="').concat(q(),'"\n      frameborder="0"\n      allowtransparency="true"\n      marginheight="0" marginwidth="0"\n      width="0" hspace="0" vspace="0" height="0"\n      style="height:0px;width:0px;display:none;"\n      scrolling="no"\n      src="').concat(e,'">\n    </iframe>')):""}function de(e,t,n){return null==t?n:Z(t)?t:te(t)?t.toString():void k.logWarn("Unsuported type for param: "+e+" required type: String")}function fe(e,t,n){return n.indexOf(e)===t}function le(e,t){return e.concat(t)}function pe(e){return Object.keys(e)}function ge(e,t){return e[t]}function be(){if(window.googletag&&X(window.googletag.pubads)&&X(window.googletag.pubads().getSlots))return!0}var ve=me("timeToRespond",function(e,t){return t<e}),ye=me("responseTimestamp",function(e,t){return t<e}),he=me("responseTimestamp",function(e,t){return e<t});function me(n,r){return function(e,t){return e.cpm===t.cpm?r(e[n],t[n])?t:e:e.cpm<t.cpm?t:e}}function Se(e){return o()(e)}function Ae(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}var Ee=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t};function Oe(t){return function(e){return Ee(e,t)}}function Te(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function Ie(e){return e?e.replace(/^\?/,"").split("&").reduce(function(e,t){var n=l(t.split("="),2),r=n[0],i=n[1];return/\[\]$/.test(r)?(e[r=r.replace("[]","")]=e[r]||[],e[r].push(i)):e[r]=i||"",e},{}):{}}function Ce(e){return Object.keys(e).map(function(t){return Array.isArray(e[t])?e[t].map(function(e){return"".concat(t,"[]=").concat(e)}).join("&"):"".concat(t,"=").concat(e[t])}).join("&")}function je(e,t){if(e===t)return!0;if("object"!==h(e)||null===e||"object"!==h(t)||null===t)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!je(e[n],t[n]))return!1}return!0}function we(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var i=n.shift();if(ne(e)&&ne(i))for(var o in i)ne(i[o])?(e[o]||y(e,v({},o,{})),we(e[o],i[o])):ee(i[o])&&e[o]?ee(e[o])&&(e[o]=e[o].concat(i[o])):y(e,v({},o,i[o]));return we.apply(void 0,[e].concat(n))}},1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"storage",function(){return I}),t.registerBidder=function(r){var n=Array.isArray(r.supportedMediaTypes)?{supportedMediaTypes:r.supportedMediaTypes}:void 0;function i(e){var t=w(e);c.default.registerBidAdapter(t,e.code,n)}i(r),Array.isArray(r.aliases)&&r.aliases.forEach(function(e){var t,n=e;Object(m.isPlainObject)(e)&&(n=e.code,t=e.gvlid),c.default.aliasRegistry[n]=r.code,i(T({},r,{code:n,gvlid:t}))})},t.newBidder=w,n.d(t,"registerSyncInner",function(){return _}),t.preloadBidderMappingFile=U,t.getIabSubCategory=function(t,e){var n=c.default.getBidAdapter(t);if(n.getSpec().getMappingFileInfo){var r=n.getSpec().getMappingFileInfo(),i=r.localStorageKey?r.localStorageKey:n.getBidderCode(),o=I.getDataFromLocalStorage(i);if(o){try{o=JSON.parse(o)}catch(e){Object(m.logError)("Failed to parse ".concat(t," mapping data stored in local storage"))}return o.mapping[e]?o.mapping[e]:null}}},t.isValid=B;var r=n(92),c=n(8),u=n(3),v=n(34),s=n(43),o=n(37),a=n(25),i=n(5),y=n.n(i),d=n(9),h=n.n(d),f=n(12),l=n.n(f),p=n(4),m=n(0),g=n(2),b=n(13),S=n(7);function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function O(e){return(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})(e)}function T(){return(T=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}).apply(this,arguments)}var I=Object(S.a)("bidderFactory"),C=["requestId","cpm","ttl","creativeId","netRevenue","currency"],j=1;function w(p){return T(new r.a(p.code),{getSpec:function(){return Object.freeze(p)},registerSyncs:g,callBids:function(o,a,e,n,c,r){var u,s,t,d,i,f;function l(){e(),h.a.emit(y.a.EVENTS.BIDDER_DONE,o),g(s,o.gdprConsent,o.uspConsent)}Array.isArray(o.bids)&&(u={},s=[],0!==(t=o.bids.filter(b)).length?(d={},t.forEach(function(e){(d[e.bidId]=e).adUnitCode||(e.adUnitCode=e.placementCode)}),(i=p.buildRequests(t,o))&&0!==i.length?(Array.isArray(i)||(i=[i]),f=Object(m.delayExecution)(r(l),i.length),i.forEach(function(i){switch(i.method){case"GET":n("".concat(i.url).concat(function(e){if(e)return"?".concat("object"===O(e)?Object(m.parseQueryStringParameters)(e):e);return""}(i.data)),{success:r(e),error:t},void 0,T({method:"GET",withCredentials:!0},i.options));break;case"POST":n(i.url,{success:r(e),error:t},"string"==typeof i.data?i.data:JSON.stringify(i.data),T({method:"POST",contentType:"text/plain",withCredentials:!0},i.options));break;default:Object(m.logWarn)("Skipping invalid request from ".concat(p.code,". Request type ").concat(i.type," must be GET or POST")),f()}function e(e,t){c(p.code);try{e=JSON.parse(e)}catch(e){}var n;e={body:e,headers:{get:t.getResponseHeader.bind(t)}},s.push(e);try{n=p.interpretResponse(e,i)}catch(e){return Object(m.logError)("Bidder ".concat(p.code," failed to interpret the server's response. Continuing without bids"),null,e),void f()}function r(e){var t,n,r,i=d[e.requestId];i?(e.originalCpm=e.cpm,e.originalCurrency=e.currency,e.meta=e.meta||T({},e[i.bidder]),t=T(Object(v.a)(y.a.STATUS.GOOD,i),e),n=i.adUnitCode,r=t,u[n]=!0,B(n,r,[o])&&a(n,r)):Object(m.logWarn)("Bidder ".concat(p.code," made bid for unknown request ID: ").concat(e.requestId,". Ignoring."))}n&&(Object(m.isArray)(n)?n.forEach(r):r(n)),f(n)}function t(e){c(p.code),Object(m.logError)("Server call for ".concat(p.code," failed: ").concat(e,". Continuing without bids.")),f()}})):l()):l())}});function g(e,t,n){_(p,e,t,n)}function b(e){return!!p.isBidRequestValid(e)||(Object(m.logWarn)("Invalid bid sent to bidder ".concat(p.code,": ").concat(JSON.stringify(e))),!1)}}var _=Object(b.b)("async",function(t,e,n,r){var i,o,a=u.b.getConfig("userSync.aliasSyncEnabled");!t.getUserSyncs||!a&&c.default.aliasRegistry[t.code]||(i=u.b.getConfig("userSync.filterSettings"),(o=t.getUserSyncs({iframeEnabled:!(!i||!i.iframe&&!i.all),pixelEnabled:!(!i||!i.image&&!i.all)},e,n,r))&&(Array.isArray(o)||(o=[o]),o.forEach(function(e){s.a.registerSync(e.type,t.code,e.url)})))},"registerSyncs");function U(e,t){if(!u.b.getConfig("adpod.brandCategoryExclusion"))return e.call(this,t);t.filter(function(e){return Object(m.deepAccess)(e,"mediaTypes.video.context")===g.a}).map(function(e){return e.bids.map(function(e){return e.bidder})}).reduce(m.flatten,[]).filter(m.uniques).forEach(function(n){var e=c.default.getBidAdapter(n);if(e.getSpec().getMappingFileInfo){var t=e.getSpec().getMappingFileInfo(),r=t.refreshInDays?t.refreshInDays:j,i=t.localStorageKey?t.localStorageKey:e.getSpec().code,o=I.getDataFromLocalStorage(i);try{(!(o=o?JSON.parse(o):void 0)||Object(m.timestamp)()>o.lastUpdated+24*r*60*60*1e3)&&Object(p.a)(t.url,{success:function(e){try{e=JSON.parse(e);var t={lastUpdated:Object(m.timestamp)(),mapping:e.mapping};I.setDataInLocalStorage(i,JSON.stringify(t))}catch(e){Object(m.logError)("Failed to parse ".concat(n," bidder translation mapping file"))}},error:function(){Object(m.logError)("Failed to load ".concat(n," bidder translation file"))}})}catch(e){Object(m.logError)("Failed to parse ".concat(n," bidder translation mapping file"))}}}),e.call(this,t)}function B(e,t,n){function r(e){return"Invalid bid from ".concat(t.bidderCode,". Ignoring bid: ").concat(e)}return e?t?(i=Object.keys(t),C.every(function(e){return l()(i,e)&&!l()([void 0,null],t[e])})?"native"!==t.mediaType||Object(o.g)(t,n)?"video"!==t.mediaType||Object(a.d)(t,n)?!("banner"===t.mediaType&&!function(e,t,n){if((t.width||0===parseInt(t.width,10))&&(t.height||0===parseInt(t.height,10)))return t.width=parseInt(t.width,10),t.height=parseInt(t.height,10),1;var r=Object(m.getBidderRequest)(n,t.bidderCode,e),i=r&&r.bids&&r.bids[0]&&r.bids[0].sizes,o=Object(m.parseSizesInput)(i);if(1===o.length){var a=A(o[0].split("x"),2),c=a[0],u=a[1];return t.width=parseInt(c,10),t.height=parseInt(u,10),1}}(e,t,n))||(Object(m.logError)(r("Banner bids require a width and height")),!1):(Object(m.logError)(r("Video bid does not have required vastUrl or renderer property")),!1):(Object(m.logError)(r("Native bid missing some required properties.")),!1):(Object(m.logError)(r("Bidder ".concat(t.bidderCode," is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params."))),!1)):(Object(m.logWarn)("Some adapter tried to add an undefined bid for ".concat(e,".")),!1):(Object(m.logWarn)("No adUnitCode was supplied to addBidResponse."),!1);var i}Object(b.a)("checkAdUnitSetup").before(U)},10:function(e,t,n){var r=n(98);e.exports=r},100:function(e,t,n){var r=n(30),i=n(101),o=n(46),a=n(47),c=n(55),u=n(28),s=n(73),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=a(e),t=c(t,!0),s)try{return d(e,t)}catch(e){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},101:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},102:function(e,t,n){function r(e,t){var n=c[a(e)];return n==s||n!=u&&("function"==typeof t?i(t):!!t)}var i=n(31),o=/#|\.prototype\./,a=r.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=r.data={},u=r.NATIVE="N",s=r.POLYFILL="P";e.exports=r},103:function(e,t,n){var r=n(27),i=n(104),o=n(21)("species");e.exports=function(e,t){var n;return i(e)&&("function"==typeof(n=e.constructor)&&(n===Array||i(n.prototype))||r(n)&&null===(n=n[o]))&&(n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},104:function(e,t,n){var r=n(48);e.exports=Array.isArray||function(e){return"Array"==r(e)}},105:function(e,t,n){var r=n(26),i=n(32);e.exports=function(t,n){try{i(r,t,n)}catch(e){r[t]=n}return n}},106:function(e,t,n){var r=n(77);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},107:function(e,t,n){n(108);var r=n(52);e.exports=r("Array","includes")},108:function(e,t,n){"use strict";var r=n(14),i=n(78).includes,o=n(51);r({target:"Array",proto:!0,forced:!n(60)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e,t){return i(this,e,1<arguments.length?t:void 0)}}),o("includes")},109:function(e,t,n){var r=n(58),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},11:function(e,t,n){"use strict";t.a=i,t.c=function(e){return!(!e||!e.url)},t.b=function(e,t){e.render(t)};var u=n(40),s=n(0),r=n(10),d=n.n(r),f="outstream";function i(e){var t=this,n=e.url,r=e.config,i=e.id,o=e.callback,a=e.loaded,c=e.adUnitCode;this.url=n,this.config=r,this.handlers={},this.id=i,this.loaded=a,this.cmd=[],this.push=function(e){"function"==typeof e?t.loaded?e.call():t.cmd.push(e):s.logError("Commands given to Renderer.push must be wrapped in a function")},this.callback=o||function(){t.loaded=!0,t.process()},this.render=function(){!function(t){var e=Lpbjs.adUnits,n=d()(e,function(e){return e.code===t});if(!n)return!1;var r=s.deepAccess(n,"renderer"),i=!!(r&&r.url&&r.render),o=s.deepAccess(n,"mediaTypes.video.renderer"),a=!!(o&&o.url&&o.render);return!!(i&&!0!==r.backupOnly||a&&!0!==o.backupOnly)}(c)?Object(u.a)(n,f,this.callback):s.logWarn("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(c)),this._render?this._render.apply(this,arguments):s.logWarn("No render function was provided, please use .setRender on the renderer")}.bind(this)}i.install=function(e){return new i({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded,adUnitCode:e.adUnitCode})},i.prototype.getConfig=function(){return this.config},i.prototype.setRender=function(e){this._render=e},i.prototype.setEventHandlers=function(e){this.handlers=e},i.prototype.handleVideoEvent=function(e){var t=e.id,n=e.eventName;"function"==typeof this.handlers[n]&&this.handlers[n](),s.logMessage("Prebid Renderer event for id ".concat(t," type ").concat(n))},i.prototype.process=function(){for(;0<this.cmd.length;)try{this.cmd.shift().call()}catch(e){s.logError("Error processing Renderer command: ",e)}}},110:function(e,t,n){n(111),n(128),n(89),n(130);var r=n(42);e.exports=r.Set},111:function(e,t,n){"use strict";var r=n(112),i=n(117);e.exports=r("Set",function(t){return function(e){return t(this,arguments.length?e:void 0)}},i)},112:function(e,t,n){"use strict";var f=n(14),l=n(26),p=n(80),g=n(31),b=n(32),v=n(17),y=n(83),h=n(27),m=n(64),S=n(33).f,A=n(56).forEach,E=n(30),r=n(54),O=r.set,T=r.getterFor;e.exports=function(n,e,t){var r,a,i=-1!==n.indexOf("Map"),c=-1!==n.indexOf("Weak"),o=i?"set":"add",u=l[n],s=u&&u.prototype,d={};return E&&"function"==typeof u&&(c||s.forEach&&!g(function(){(new u).entries().next()}))?(r=e(function(e,t){O(y(e,r,n),{type:n,collection:new u}),null!=t&&v(t,e[o],e,i)}),a=T(n),A(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(i){var o="add"==i||"set"==i;i in s&&(!c||"clear"!=i)&&b(r.prototype,i,function(e,t){var n=a(this).collection;if(!o&&c&&!h(e))return"get"==i&&void 0;var r=n[i](0===e?0:e,t);return o?this:r})}),c||S(r.prototype,"size",{configurable:!0,get:function(){return a(this).collection.size}})):(r=t.getConstructor(e,n,i,o),p.REQUIRED=!0),m(r,n,!1,!0),d[n]=r,f({global:!0,forced:!0},d),c||t.setStrong(r,n,i),r}},113:function(e,t,n){var r=n(31);e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},114:function(e,t,n){"use strict";var r=n(63),i=n(62);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},115:function(e,t,n){var r=n(26),i=n(116),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},116:function(e,t,n){var r=n(76),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},117:function(e,t,n){"use strict";var s=n(33).f,d=n(84),f=n(122),l=n(24),p=n(83),g=n(17),a=n(66),c=n(127),b=n(30),v=n(80).fastKey,r=n(54),y=r.set,h=r.getterFor;e.exports={getConstructor:function(e,n,r,i){function o(e,t,n){var r,i,o=c(e),a=u(e,t);return a?a.value=n:(o.last=a={index:i=v(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),b?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e}var a=e(function(e,t){p(e,a,n),y(e,{type:n,index:d(null),first:void 0,last:void 0,size:0}),b||(e.size=0),null!=t&&g(t,e[i],e,r)}),c=h(n),u=function(e,t){var n,r=c(e),i=v(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return f(a.prototype,{clear:function(){for(var e=c(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,b?e.size=0:this.size=0},delete:function(e){var t,n,r=c(this),i=u(this,e);return i&&(t=i.next,n=i.previous,delete r.index[i.index],i.removed=!0,n&&(n.next=t),t&&(t.previous=n),r.first==i&&(r.first=t),r.last==i&&(r.last=n),b?r.size--:this.size--),!!i},forEach:function(e,t){for(var n,r=c(this),i=l(e,1<arguments.length?t:void 0,3);n=n?n.next:r.first;)for(i(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!u(this,e)}}),f(a.prototype,r?{get:function(e){var t=u(this,e);return t&&t.value},set:function(e,t){return o(this,0===e?0:e,t)}}:{add:function(e){return o(this,e=0===e?0:e,e)}}),b&&s(a.prototype,"size",{get:function(){return c(this).size}}),a},setStrong:function(e,t,n){var r=t+" Iterator",i=h(t),o=h(r);a(e,t,function(e,t){y(this,{type:r,target:e,state:i(e),kind:t,last:void 0})},function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:{value:e.target=void 0,done:!0}},n?"entries":"values",!n,!0),c(t)}}},118:function(e,t,n){var r=n(30),a=n(33),c=n(15),u=n(119);e.exports=r?Object.defineProperties:function(e,t){c(e);for(var n,r=u(t),i=r.length,o=0;o<i;)a.f(e,n=r[o++],t[n]);return e}},119:function(e,t,n){var r=n(120),i=n(85);e.exports=Object.keys||function(e){return r(e,i)}},12:function(e,t,n){var r=n(107);e.exports=r},120:function(e,t,n){var a=n(28),c=n(47),u=n(78).indexOf,s=n(53);e.exports=function(e,t){var n,r=c(e),i=0,o=[];for(n in r)!a(s,n)&&a(r,n)&&o.push(n);for(;t.length>i;)a(r,n=t[i++])&&(~u(o,n)||o.push(n));return o}},121:function(e,t,n){var r=n(29);e.exports=r("document","documentElement")},122:function(e,t,n){var i=n(86);e.exports=function(e,t,n){for(var r in t)n&&n.unsafe&&e[r]?e[r]=t[r]:i(e,r,t[r],n);return e}},123:function(e,t,n){"use strict";function i(){return this}var o=n(87).IteratorPrototype,a=n(84),c=n(46),u=n(64),s=n(38);e.exports=function(e,t,n){var r=t+" Iterator";return e.prototype=a(o,{next:c(1,n)}),u(e,r,!1,!0),s[r]=i,e}},124:function(e,t,n){var r=n(31);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},125:function(e,t,n){var i=n(15),o=n(126);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var n,r=!1,e={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),r=e instanceof Array}catch(e){}return function(e,t){return i(e),o(t),r?n.call(e,t):e.__proto__=t,e}}():void 0)},126:function(e,t,n){var r=n(27);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},127:function(e,t,n){"use strict";var r=n(29),i=n(33),o=n(21),a=n(30),c=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},128:function(e,t){},129:function(e,t,n){function r(c){return function(e,t){var n,r,i=String(s(e)),o=u(t),a=i.length;return o<0||a<=o?c?"":void 0:(n=i.charCodeAt(o))<55296||56319<n||o+1===a||(r=i.charCodeAt(o+1))<56320||57343<r?c?i.charAt(o):n:c?i.slice(o,o+2):r-56320+(n-55296<<10)+65536}}var u=n(58),s=n(49);e.exports={codeAt:r(!1),charAt:r(!0)}},13:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c}),t.d=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:15;0===e.getHooks({hook:t}).length&&e.before(t,n)},t.c=function(e,n){a("async",function(e){e.forEach(function(e){return n.apply(void 0,function(e){if(Array.isArray(e))return o(e)}(t=e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var t})},e)([])},t.e=function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];c(e).before(function(e,t){t.push(n),e(t)})};var r=n(163),i=n.n(r);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=i()({ready:i.a.SYNC|i.a.ASYNC|i.a.QUEUE}),c=a.get},130:function(e,t,n){n(131);var r=n(132),i=n(26),o=n(62),a=n(32),c=n(38),u=n(21)("toStringTag");for(var s in r){var d=i[s],f=d&&d.prototype;f&&o(f)!==u&&a(f,u,s),c[s]=c.Array}},131:function(e,t,n){"use strict";var r=n(47),i=n(51),o=n(38),a=n(54),c=n(66),u="Array Iterator",s=a.set,d=a.getterFor(u);e.exports=c(Array,"Array",function(e,t){s(this,{type:u,target:r(e),index:0,kind:t})},function(){var e=d(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?{value:e.target=void 0,done:!0}:"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},132:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},133:function(e,t,n){n(14)({target:"Set",stat:!0},{from:n(134)})},134:function(e,t,n){"use strict";var s=n(18),d=n(24),f=n(17);e.exports=function(e,t,n){var r,i,o,a,c=arguments.length,u=1<c?t:void 0;return s(this),(r=void 0!==u)&&s(u),null==e?new this:(i=[],r?(o=0,a=d(u,2<c?n:void 0,2),f(e,function(e){i.push(a(e,o++))})):f(e,i.push,i),new this(i))}},135:function(e,t,n){n(14)({target:"Set",stat:!0},{of:n(136)})},136:function(e,t,n){"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}},137:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(138);r({target:"Set",proto:!0,real:!0,forced:i},{addAll:function(){return o.apply(this,arguments)}})},138:function(e,t,n){"use strict";var i=n(15),o=n(18);e.exports=function(){for(var e=i(this),t=o(e.add),n=0,r=arguments.length;n<r;n++)t.call(e,arguments[n]);return e}},139:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(140);r({target:"Set",proto:!0,real:!0,forced:i},{deleteAll:function(){return o.apply(this,arguments)}})},14:function(e,t,n){"use strict";function y(r){function e(e,t,n){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(e);case 2:return new r(e,t)}return new r(e,t,n)}return r.apply(this,arguments)}return e.prototype=r.prototype,e}var h=n(26),m=n(100).f,S=n(102),A=n(42),E=n(24),O=n(32),T=n(28);e.exports=function(e,t){var n,r,i,o,a,c,u,s,d=e.target,f=e.global,l=e.stat,p=e.proto,g=f?h:l?h[d]:(h[d]||{}).prototype,b=f?A:A[d]||(A[d]={}),v=b.prototype;for(i in t)n=!S(f?i:d+(l?".":"#")+i,e.forced)&&g&&T(g,i),a=b[i],n&&(c=e.noTargetGet?(s=m(g,i))&&s.value:g[i]),o=n&&c?c:t[i],n&&typeof a==typeof o||(u=e.bind&&n?E(o,h):e.wrap&&n?y(o):p&&"function"==typeof o?E(Function.call,o):o,(e.sham||o&&o.sham||a&&a.sham)&&O(u,"sham",!0),b[i]=u,p&&(T(A,r=d+"Prototype")||O(A,r,{}),A[r][i]=o,e.real&&v&&!v[i]&&O(v,i,o)))}},140:function(e,t,n){"use strict";var a=n(15),c=n(18);e.exports=function(){for(var e,t=a(this),n=c(t.delete),r=!0,i=0,o=arguments.length;i<o;i++)e=n.call(t,arguments[i]),r=r&&e;return!!r}},141:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(15),a=n(24),c=n(36),u=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{every:function(e,t){var n=o(this),r=c(n),i=a(e,1<arguments.length?t:void 0,3);return!u(r,function(e){if(!i(e,e,n))return u.stop()},void 0,!1,!0).stopped}})},142:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(29),a=n(15),c=n(18),u=n(39),s=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{difference:function(e){var t=a(this),n=new(u(t,o("Set")))(t),r=c(n.delete);return s(e,function(e){r.call(n,e)}),n}})},143:function(e,t,n){"use strict";var r=n(14),i=n(16),c=n(29),u=n(15),s=n(18),d=n(24),f=n(39),l=n(36),p=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{filter:function(e,t){var n=u(this),r=l(n),i=d(e,1<arguments.length?t:void 0,3),o=new(f(n,c("Set"))),a=s(o.add);return p(r,function(e){i(e,e,n)&&a.call(o,e)},void 0,!1,!0),o}})},144:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(15),a=n(24),c=n(36),u=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{find:function(e,t){var n=o(this),r=c(n),i=a(e,1<arguments.length?t:void 0,3);return u(r,function(e){if(i(e,e,n))return u.stop(e)},void 0,!1,!0).result}})},145:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(29),a=n(15),c=n(18),u=n(39),s=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{intersection:function(e){var t=a(this),n=new(u(t,o("Set"))),r=c(t.has),i=c(n.add);return s(e,function(e){r.call(t,e)&&i.call(n,e)}),n}})},146:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(15),a=n(18),c=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{isDisjointFrom:function(e){var t=o(this),n=a(t.has);return!c(e,function(e){if(!0===n.call(t,e))return c.stop()}).stopped}})},147:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(29),a=n(15),c=n(18),u=n(90),s=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{isSubsetOf:function(e){var t=u(this),n=a(e),r=n.has;return"function"!=typeof r&&(n=new(o("Set"))(e),r=c(n.has)),!s(t,function(e){if(!1===r.call(n,e))return s.stop()},void 0,!1,!0).stopped}})},148:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(15),a=n(18),c=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{isSupersetOf:function(e){var t=o(this),n=a(t.has);return!c(e,function(e){if(!1===n.call(t,e))return c.stop()}).stopped}})},149:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(15),a=n(36),c=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{join:function(e){var t=o(this),n=a(t),r=void 0===e?",":String(e),i=[];return c(n,i.push,i,!1,!0),i.join(r)}})},15:function(e,t,n){var r=n(27);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},150:function(e,t,n){"use strict";var r=n(14),i=n(16),c=n(29),u=n(15),s=n(18),d=n(24),f=n(39),l=n(36),p=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{map:function(e,t){var n=u(this),r=l(n),i=d(e,1<arguments.length?t:void 0,3),o=new(f(n,c("Set"))),a=s(o.add);return p(r,function(e){a.call(o,i(e,e,n))},void 0,!1,!0),o}})},151:function(e,t,n){"use strict";var r=n(14),i=n(16),a=n(15),c=n(18),u=n(36),s=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{reduce:function(t,e){var n=a(this),r=u(n),i=arguments.length<2,o=i?void 0:e;if(c(t),s(r,function(e){o=i?(i=!1,e):t(o,e,e,n)},void 0,!1,!0),i)throw TypeError("Reduce of empty set with no initial value");return o}})},152:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(15),a=n(24),c=n(36),u=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{some:function(e,t){var n=o(this),r=c(n),i=a(e,1<arguments.length?t:void 0,3);return u(r,function(e){if(i(e,e,n))return u.stop()},void 0,!1,!0).stopped}})},153:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(29),a=n(15),c=n(18),u=n(39),s=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:function(e){var t=a(this),n=new(u(t,o("Set")))(t),r=c(n.delete),i=c(n.add);return s(e,function(e){r.call(n,e)||i.call(n,e)}),n}})},154:function(e,t,n){"use strict";var r=n(14),i=n(16),o=n(29),a=n(15),c=n(18),u=n(39),s=n(17);r({target:"Set",proto:!0,real:!0,forced:i},{union:function(e){var t=a(this),n=new(u(t,o("Set")))(t);return s(e,c(n.add),n),n}})},155:function(e,t,n){n(89),n(156);var r=n(42);e.exports=r.Array.from},156:function(e,t,n){var r=n(14),i=n(157);r({target:"Array",stat:!0,forced:!n(159)(function(e){Array.from(e)})},{from:i})},157:function(e,t,n){"use strict";var v=n(24),y=n(57),h=n(82),m=n(81),S=n(50),A=n(158),E=n(61);e.exports=function(e,t,n){var r,i,o,a,c,u,s=y(e),d="function"==typeof this?this:Array,f=arguments.length,l=1<f?t:void 0,p=void 0!==l,g=E(s),b=0;if(p&&(l=v(l,2<f?n:void 0,2)),null==g||d==Array&&m(g))for(i=new d(r=S(s.length));b<r;b++)u=p?l(s[b],b):s[b],A(i,b,u);else for(c=(a=g.call(s)).next,i=new d;!(o=c.call(a)).done;b++)u=p?h(a,l,[o.value,b],!0):o.value,A(i,b,u);return i.length=b,i}},158:function(e,t,n){"use strict";var i=n(55),o=n(33),a=n(46);e.exports=function(e,t,n){var r=i(t);r in e?o.f(e,r,a(0,n)):e[r]=n}},159:function(e,t,n){var i=n(21)("iterator"),o=!1;try{var r=0,a={next:function(){return{done:!!r++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}},16:function(e,t){e.exports=!0},160:function(e,t){e.exports=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t){var i=t[r];n[r]=i&&"object"==typeof i?e(i):i}return n}},161:function(e,t,n){"use strict";t.a=function(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}},162:function(e,t,n){"use strict";t.a=function(e,t,n){t.split&&(t=t.split("."));for(var r,i=0,o=t.length,a=e;i<o;++i)r=a[t[i]],a=a[t[i]]=i===o-1?n:null!=r?r:!~t[i+1].indexOf(".")&&-1<+t[i+1]?[]:{}}},163:function(e,t){h.SYNC=1,h.ASYNC=2,h.QUEUE=4;var g="fun-hooks";var n=Object.freeze({useProxy:!0,ready:0}),b=new WeakMap,r="2,1,0"===[1].reduce(function(e,t,n){return[e,t,n]},2).toString()?Array.prototype.reduce:function(e,t){var n,r=Object(this),i=r.length>>>0,o=0;if(t)n=t;else{for(;o<i&&!(o in r);)o++;n=r[o++]}for(;o<i;)o in r&&(n=e(n,r[o],o,r)),o++;return n};function v(e,t){return Array.prototype.slice.call(e,t)}var y=Object.assign||function(e){return r.call(v(arguments,1),function(t,n){return n&&Object.keys(n).forEach(function(e){t[e]=n[e]}),t},e)};function h(u){var s,e={},d=[];function t(e,t){return"function"==typeof e?f.call(null,"sync",e,t):"string"==typeof e&&"function"==typeof t?f.apply(null,arguments):"object"==typeof e?function(o,e,a){var t=!0;void 0===e&&(e=Object.getOwnPropertyNames(o),t=!1);var c={},n=["constructor"];for(;(e=e.filter(function(e){return!("function"!=typeof o[e]||-1!==n.indexOf(e)||e.match(/^_/))})).forEach(function(e){var t,n=e.split(":"),r=n[0],i=n[1]||"sync";c[r]||(t=o[r],c[r]=o[r]=f(i,t,a?[a,r]:void 0))}),o=Object.getPrototypeOf(o),t&&o;);return c}.apply(null,arguments):void 0}function l(o){var a=Array.isArray(o)?o:o.split(".");return r.call(a,function(t,n,e){var r=t[n],i=!1;return r||(e===a.length-1?(s||d.push(function(){i||console.warn(g+": referenced '"+o+"' but it was never created")}),t[n]=p(function(e){t[n]=e,i=!0})):t[n]={})},e)}function p(r){var o=[],a=[],c=function(){},e={before:function(e,t){return n.call(this,o,"before",e,t)},after:function(e,t){return n.call(this,a,"after",e,t)},getHooks:function(n){var e=o.concat(a);"object"==typeof n&&(e=e.filter(function(t){return Object.keys(n).every(function(e){return t[e]===n[e]})}));try{y(e,{remove:function(){return e.forEach(function(e){e.remove()}),this}})}catch(e){console.error("error adding `remove` to array, did you modify Array.prototype?")}return e},removeAll:function(){return this.getHooks().remove()}},t={install:function(e,t,n){this.type=e,(c=n)(o,a),r&&r(t)}};return b.set(e.after,t),e;function n(t,e,n,r){var i={hook:n,type:e,priority:r||10,remove:function(){var e=t.indexOf(i);-1!==e&&(t.splice(e,1),c(o,a))}};return t.push(i),t.sort(function(e,t){return t.priority-e.priority}),c(o,a),this}}function f(f,e,t){var n=e.after&&b.get(e.after);if(n){if(n.type!==f)throw g+": recreated hookable with different type";return e}var r,i,o=t?l(t):p(),a={get:function(e,t){return o[t]||Reflect.get.apply(Reflect,arguments)}};return s||d.push(c),u.useProxy&&"function"==typeof Proxy&&Proxy.revocable?i=new Proxy(e,a):y(i=function(){return a.apply?a.apply(e,this,v(arguments)):e.apply(this,arguments)},o),b.get(i.after).install(f,i,function(e,t){var s,d=[];r=e.length||t.length?(e.forEach(n),s=d.push(void 0)-1,t.forEach(n),function(n,r,e){var i,o=0,a="async"===f&&"function"==typeof e[e.length-1]&&e.pop();function c(e){"sync"===f?i=e:a&&a.apply(null,arguments)}function u(e){if(d[o]){var t=v(arguments);return u.bail=c,t.unshift(u),d[o++].apply(r,t)}"sync"===f?i=e:a&&a.apply(null,arguments)}return d[s]=function(){var e=v(arguments,1);"async"===f&&a&&(delete u.bail,e.push(u));var t=n.apply(r,e);"sync"===f&&u(t)},u.apply(null,e),i}):void 0;function n(e){d.push(e.hook)}c()}),i;function c(){!s&&("sync"!==f||u.ready&h.SYNC)&&("async"!==f||u.ready&h.ASYNC)?"sync"!==f&&u.ready&h.QUEUE?a.apply=function(){var e=arguments;d.push(function(){i.apply(e[1],e[2])})}:a.apply=function(){throw g+": hooked function not ready"}:a.apply=r}}return(u=y({},n,u)).ready?t.ready=function(){s=!0,function(e){for(var t;t=e.shift();)t()}(d)}:s=!0,t.get=l,t}e.exports=h},17:function(e,t,n){function p(e,t){this.stopped=e,this.result=t}var g=n(15),b=n(81),v=n(50),y=n(24),h=n(61),m=n(82);(e.exports=function(e,t,n,r,i){var o,a,c,u,s,d,f,l=y(t,n,r?2:1);if(i)o=e;else{if("function"!=typeof(a=h(e)))throw TypeError("Target is not iterable");if(b(a)){for(c=0,u=v(e.length);c<u;c++)if((s=r?l(g(f=e[c])[0],f[1]):l(e[c]))&&s instanceof p)return s;return new p(!1)}o=a.call(e)}for(d=o.next;!(f=d.call(o)).done;)if("object"==typeof(s=m(o,l,f.value,r))&&s&&s instanceof p)return s;return new p(!1)}).stop=function(e){return new p(!0,e)}},18:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},2:function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"d",function(){return i}),n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});var r="native",i="video",o="banner",a="adpod"},20:function(e,t,n){"use strict";t.a=function(){return window.Lpbjs},window.Lpbjs=window.Lpbjs||{},window.Lpbjs.cmd=window.Lpbjs.cmd||[],window.Lpbjs.que=window.Lpbjs.que||[],window._LpbjsGlobals=window._LpbjsGlobals||[],window._LpbjsGlobals.push("Lpbjs")},21:function(e,t,n){var r=n(26),i=n(75),o=n(28),a=n(59),c=n(77),u=n(106),s=i("wks"),d=r.Symbol,f=u?d:d&&d.withoutSetter||a;e.exports=function(e){return o(s,e)||(c&&o(d,e)?s[e]=d[e]:s[e]=f("Symbol."+e)),s[e]}},22:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var y=n(0);var h,r=(h=window,function(){var e,t=[],n=function(e){try{if(!e.location.ancestorOrigins)return;return e.location.ancestorOrigins}catch(e){}}(h),r=!1,i=0,o=!1,a=!1;do{var c,u,s=g,d=a,f=void 0,l=!1,p=null,a=!1,g=g?g.parent:h;try{f=g.location.href||null}catch(e){l=!0}if(l)if(d){var b=s.context;try{u=p=b.sourceUrl,o=!0,g===h.top&&(r=!0),b.canonicalUrl&&(e=b.canonicalUrl)}catch(e){}}else{Object(y.logWarn)("Trying to access cross domain iframe. Continuing without referrer and location");try{var v=s.document.referrer;v&&(p=v,g===h.top&&(r=!0))}catch(e){}!p&&n&&n[i-1]&&(p=n[i-1]),p&&!o&&(u=p)}else f&&(u=p=f,o=!1,g===h.top&&(r=!0,(c=function(e){try{var t=e.querySelector("link[rel='canonical']");if(null!==t)return t.href}catch(e){}return null}(g.document))&&(e=c))),g.context&&g.context.sourceUrl&&(a=!0);t.push(p),i++}while(g!==h.top);return t.reverse(),{referer:u||null,reachedTop:r,isAmp:o,numIframes:i-1,stack:t,canonicalUrl:e||null}})},222:function(e,t,n){n(223);var r=n(52);e.exports=r("Array","findIndex")},223:function(e,t,n){"use strict";var r=n(14),i=n(56).findIndex,o=n(51),a=n(60),c="findIndex",u=!0,s=a(c);c in[]&&Array(1)[c](function(){u=!1}),r({target:"Array",proto:!0,forced:u||!s},{findIndex:function(e,t){return i(this,e,1<arguments.length?t:void 0)}}),o(c)},23:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(0),s=n(41),i=n(10),o=n.n(i),a=n(5);var d,c,u=(d=[],(c={}).addWinningBid=function(t){var e=o()(d,function(e){return e.getAuctionId()===t.auctionId});e?(t.status=a.BID_STATUS.RENDERED,e.addWinningBid(t)):Object(r.logWarn)("Auction not found when adding winning bid")},c.getAllWinningBids=function(){return d.map(function(e){return e.getWinningBids()}).reduce(r.flatten,[])},c.getBidsRequested=function(){return d.map(function(e){return e.getBidRequests()}).reduce(r.flatten,[])},c.getNoBids=function(){return d.map(function(e){return e.getNoBids()}).reduce(r.flatten,[])},c.getBidsReceived=function(){return d.map(function(e){if(e.getAuctionStatus()===s.a)return e.getBidsReceived()}).reduce(r.flatten,[]).filter(function(e){return e})},c.getAdUnits=function(){return d.map(function(e){return e.getAdUnits()}).reduce(r.flatten,[])},c.getAdUnitCodes=function(){return d.map(function(e){return e.getAdUnitCodes()}).reduce(r.flatten,[]).filter(r.uniques)},c.createAuction=function(e){var t,n=e.adUnits,r=e.adUnitCodes,i=e.callback,o=e.cbTimeout,a=e.labels,c=e.auctionId,u=Object(s.k)({adUnits:n,adUnitCodes:r,callback:i,cbTimeout:o,labels:a,auctionId:c});return t=u,d.push(t),u},c.findBidByAdId=function(t){return o()(d.map(function(e){return e.getBidsReceived()}).reduce(r.flatten,[]),function(e){return e.adId===t})},c.getStandardBidderAdServerTargeting=function(){return Object(s.j)()[a.JSON_MAPPING.ADSERVER_TARGETING]},c.setStatusForBids=function(e,t){var n,r=c.findBidByAdId(e);r&&(r.status=t),!r||t!==a.BID_STATUS.BID_TARGETING_SET||(n=o()(d,function(e){return e.getAuctionId()===r.auctionId}))&&n.setBidTargeting(r)},c.getLastAuctionId=function(){return d.length&&d[d.length-1].getAuctionId()},c)},230:function(e,t,n){"use strict";t.a=function(){window.addEventListener("message",u,!1)};var r=n(9),b=n.n(r),v=n(37),i=n(5),o=n.n(i),y=n(0),h=n(23),a=n(10),m=n.n(a),S=n(11),c=n(12),d=n.n(c),A=o.a.EVENTS.BID_WON;function u(e){var t,n,r,i,o,a,c,u,s,d=e.message?"message":"data",f={};try{f=JSON.parse(e[d])}catch(e){return}if(f&&f.adId){var l,p=m()(h.a.getBidsReceived(),function(e){return e.adId===f.adId});if(p&&"Prebid Request"===f.message&&(n=e,r=(t=p).adId,i=t.ad,o=t.adUrl,a=t.width,c=t.height,u=t.renderer,s=t.cpm,Object(S.c)(u)?Object(S.b)(u,t):r&&(E(t),n.source.postMessage(JSON.stringify({message:"Prebid Response",ad:Object(y.replaceAuctionPrice)(i,s),adUrl:Object(y.replaceAuctionPrice)(o,s),adId:r,width:a,height:c}),n.origin)),h.a.addWinningBid(p),b.a.emit(A,p)),p&&"Prebid Native"===f.message){if("assetRequest"===f.action){var g=Object(v.d)(f,p);return void e.source.postMessage(JSON.stringify(g),e.origin)}if("allAssetRequest"===f.action?(l=Object(v.c)(f,p),e.source.postMessage(JSON.stringify(l),e.origin)):"resizeNativeHeight"===f.action&&(p.height=f.height,p.width=f.width,E(p)),"click"===Object(v.b)(f,p))return;h.a.addWinningBid(p),b.a.emit(A,p)}}}function E(e){var a=e.adId,c=e.adUnitCode,u=e.width,s=e.height;["div","iframe"].forEach(function(e){var t,n,r,i,o=(t=e+':not([style*="display: none"])',n=function(e,t){return window.googletag?function(n){return m()(window.googletag.pubads().getSlots(),function(t){return m()(t.getTargetingKeys(),function(e){return d()(t.getTargeting(e),n)})}).getSlotElementId()}(e):window.apntag?function(e){var t=window.apntag.getTag(e);return t&&t.targetId}(t):t}(a,c),(r=document.getElementById(n))&&r.querySelector(t));o?((i=o.style).width=u+"px",i.height=s+"px"):Object(y.logWarn)("Unable to locate matching page element for adUnitCode ".concat(c,".  Can't resize it to ad's dimensions.  Please review setup."))})}},231:function(e,t,n){"use strict";t.a=function(e){var t;try{e=e||window.sessionStorage,t=JSON.parse(e.getItem(u))}catch(e){}t&&p(t,!0)};var r,i,o=n(3),a=n(0),c=n(41),u="Lpbjs:debugging";function s(e){Object(a.logMessage)("DEBUG: "+e)}function d(e){Object(a.logWarn)("DEBUG: "+e)}function f(e){r=function(e,t,n){if(b(this.bidders,n.bidderCode))return void d("bidder '".concat(n.bidderCode,"' excluded from auction by bidder overrides"));Array.isArray(this.bids)&&this.bids.forEach(function(e){g(e,n.bidderCode,t)||v(e,n,"bidder")});e(t,n)}.bind(e),c.c.before(r,5),i=function(e,t){var r=this,n=t.filter(function(e){return!b(r.bidders,e.bidderCode)||(d("bidRequest '".concat(e.bidderCode,"' excluded from auction by bidder overrides")),!1)});Array.isArray(r.bidRequests)&&n.forEach(function(n){r.bidRequests.forEach(function(t){n.bids.forEach(function(e){g(t,n.bidderCode,e.adUnitCode)||v(t,e,"bidRequest")})})});e(n)}.bind(e),c.e.before(i,5)}function l(){c.c.getHooks({hook:r}).remove(),c.e.getHooks({hook:i}).remove()}function p(e,t){var n=1<arguments.length&&void 0!==t&&t;o.b.setConfig({debug:!0}),l(),f(e),s("bidder overrides enabled".concat(n?" from session":""))}function g(e,t,n){return e.bidder&&e.bidder!==t||!(!e.adUnitCode||e.adUnitCode===n)}function b(e,t){return Array.isArray(e)&&-1===e.indexOf(t)}function v(n,e,r){return Object.keys(n).filter(function(e){return-1===["adUnitCode","bidder"].indexOf(e)}).reduce(function(e,t){return s("bidder overrides changed '".concat(e.adUnitCode,"/").concat(e.bidderCode,"' ").concat(r,".").concat(t," from '").concat(e[t],".js' to '").concat(n[t],"'")),e[t]=n[t],e},e)}function y(e){if(e.enabled){try{window.sessionStorage.setItem(u,JSON.stringify(e))}catch(e){}p(e)}else{l(),s("bidder overrides disabled");try{window.sessionStorage.removeItem(u)}catch(e){}}}o.b.getConfig("debugging",function(e){return y(e.debugging)})},24:function(e,t,n){var o=n(18);e.exports=function(r,i,e){if(o(r),void 0===i)return r;switch(e){case 0:return function(){return r.call(i)};case 1:return function(e){return r.call(i,e)};case 2:return function(e,t){return r.call(i,e,t)};case 3:return function(e,t,n){return r.call(i,e,t,n)}}return function(){return r.apply(i,arguments)}}},25:function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return u}),t.d=function(e,t){var n=Object(o.getBidRequest)(e.requestId,t),r=n&&Object(o.deepAccess)(n,"mediaTypes.video"),i=r&&Object(o.deepAccess)(r,"context");return s(e,n,r,i)},n.d(t,"c",function(){return s});n(8);var o=n(0),i=n(3),r=n(12),a=(n.n(r),n(13)),c="outstream",u="instream";var s=Object(a.b)("sync",function(e,t,n,r){return!t||n&&r!==c?i.b.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):(Object(o.logError)('\n        This bid contains only vastXml and will not work when a prebid cache url is not specified.\n        Try enabling prebid cache with Lpbjs.setConfig({ cache: {url: "..."} });\n      '),!1):r!==c||!!(e.renderer||t.renderer||n.renderer)},"checkVideoBidSetup")},26:function(n,e,t){(function(e){function t(e){return e&&e.Math==Math&&e}n.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof e&&e)||Function("return this")()}).call(e,t(35))},27:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},28:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},29:function(e,t,n){function r(e){return"function"==typeof e?e:void 0}var i=n(42),o=n(26);e.exports=function(e,t){return arguments.length<2?r(i[e])||r(o[e]):i[e]&&i[e][t]||o[e]&&o[e][t]}},3:function(e,t,n){"use strict";n.d(t,"a",function(){return y}),n.d(t,"b",function(){return C});var r=n(45),i=n(10),a=n.n(i),o=n(12),c=n.n(o),u=n(79),s=n.n(u),d=n(0);function f(){return(f=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}).apply(this,arguments)}var l=n(91),p=n(0),g=n(5),b="TRUE"===p.getParameterByName(g.DEBUG_MODE).toUpperCase(),v=window.location.origin,y="random",h={};h[y]=!0,h.fixed=!0;var m=y,S={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"};var A,E,O,T,I,C=(T=[],I=null,j(),{getCurrentBidder:function(){return I},getConfig:function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var e=arguments.length<=0?void 0:arguments[0];return e?p.deepAccess(w(),e):w()}return function(e,t){var n=t;if("string"!=typeof e&&(n=e,e="*"),"function"==typeof n){var r={topic:e,callback:n};return T.push(r),function(){T.splice(T.indexOf(r),1)}}p.logError("listener must be a function")}.apply(void 0,arguments)},setConfig:function(n){var e,r;p.isPlainObject(n)?(e=Object.keys(n),r={},e.forEach(function(e){var t=n[e];p.isPlainObject(A[e])&&p.isPlainObject(t)&&(t=f({},A[e],t)),r[e]=E[e]=t}),_(r)):p.logError("setConfig options must be an object")},setDefaults:function(e){p.isPlainObject(A)?(f(A,e),f(E,e)):p.logError("defaults must be an object")},resetConfig:j,runWithBidder:U,callbackWithBidder:function(o){return function(i){return function(){if("function"==typeof i){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return U(o,(e=p.bind).call.apply(e,[i,this].concat(n)))}p.logWarn("config.callbackWithBidder callback is not a function")}}},setBidderConfig:function(r){try{!function(e){if(!p.isPlainObject(e))throw"setBidderConfig bidder options must be an object";if(!Array.isArray(e.bidders)||!e.bidders.length)throw"setBidderConfig bidder options must contain a bidders list with at least 1 bidder";if(!p.isPlainObject(e.config))throw"setBidderConfig bidder options must contain a config object"}(r),r.bidders.forEach(function(n){O[n]||(O[n]={}),Object.keys(r.config).forEach(function(e){var t=r.config[e];p.isPlainObject(t)?O[n][e]=f({},O[n][e]||{},t):O[n][e]=t})})}catch(e){p.logError(e)}},getBidderConfig:function(){return O}});function j(){A={};var n={_debug:b,get debug(){return this._debug},set debug(e){this._debug=e},_bidderTimeout:3e3,get bidderTimeout(){return this._bidderTimeout},set bidderTimeout(e){this._bidderTimeout=e},_publisherDomain:v,get publisherDomain(){return this._publisherDomain},set publisherDomain(e){this._publisherDomain=e},_priceGranularity:S.MEDIUM,set priceGranularity(e){o(e)&&("string"==typeof e?this._priceGranularity=i(e)?e:S.MEDIUM:p.isPlainObject(e)&&(this._customPriceBucket=e,this._priceGranularity=S.CUSTOM,p.logMessage("Using custom price granularity")))},get priceGranularity(){return this._priceGranularity},_customPriceBucket:{},get customPriceBucket(){return this._customPriceBucket},_mediaTypePriceGranularity:{},get mediaTypePriceGranularity(){return this._mediaTypePriceGranularity},set mediaTypePriceGranularity(n){var r=this;this._mediaTypePriceGranularity=Object.keys(n).reduce(function(e,t){return o(n[t])?"string"==typeof n?e[t]=i(n[t])?n[t]:r._priceGranularity:p.isPlainObject(n)&&(e[t]=n[t],p.logMessage("Using custom price granularity for ".concat(t))):p.logWarn("Invalid price granularity for media type: ".concat(t)),e},{})},_sendAllBids:!0,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},_useBidCache:!1,get useBidCache(){return this._useBidCache},set useBidCache(e){this._useBidCache=e},_deviceAccess:!0,get deviceAccess(){return this._deviceAccess},set deviceAccess(e){this._deviceAccess=e},_bidderSequence:m,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){h[e]?this._bidderSequence=e:p.logWarn("Invalid order: ".concat(e,". Bidder Sequence was not set."))},_timeoutBuffer:400,get timeoutBuffer(){return this._timeoutBuffer},set timeoutBuffer(e){this._timeoutBuffer=e},_disableAjaxTimeout:!1,get disableAjaxTimeout(){return this._disableAjaxTimeout},set disableAjaxTimeout(e){this._disableAjaxTimeout=e},_auctionOptions:{},get auctionOptions(){return this._auctionOptions},set auctionOptions(e){!function(e){if(!p.isPlainObject(e))return p.logWarn("Auction Options must be an object"),!1;for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];if("secondaryBidders"!==r)return p.logWarn("Auction Options given an incorrect param: ".concat(r)),!1;if("secondaryBidders"===r){if(!p.isArray(e[r]))return p.logWarn("Auction Options ".concat(r," must be of type Array")),!1;if(!e[r].every(p.isStr))return p.logWarn("Auction Options ".concat(r," must be only string")),!1}}return!0}(e)||(this._auctionOptions=e)}};function i(t){return a()(Object.keys(S),function(e){return t===S[e]})}function o(e){if(e){if("string"==typeof e)i(e)||p.logWarn("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if(p.isPlainObject(e)&&!Object(r.b)(e))return void p.logError("Invalid custom price value passed to `setPriceGranularity()`");return 1}p.logError("Prebid Error: no value passed to `setPriceGranularity()`")}E&&_(Object.keys(E).reduce(function(e,t){return E[t]!==n[t]&&(e[t]=n[t]||{}),e},{})),E=n,O={}}function w(){if(I&&O&&p.isPlainObject(O[I])){var n=O[I],e=new s.a(Object.keys(E).concat(Object.keys(n)));return l(e).reduce(function(e,t){return void 0===n[t]?e[t]=E[t]:void 0!==E[t]&&p.isPlainObject(n[t])?e[t]=Object(d.mergeDeep)({},E[t],n[t]):e[t]=n[t],e},{})}return f({},E)}function _(i){var t=Object.keys(i);T.filter(function(e){return c()(t,e.topic)}).forEach(function(e){var t,n,r;e.callback((t={},n=e.topic,r=i[e.topic],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t))}),T.filter(function(e){return"*"===e.topic}).forEach(function(e){return e.callback(i)})}function U(e,t){I=e;try{return t()}finally{I=null}}},30:function(e,t,n){var r=n(31);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},31:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},32:function(e,t,n){var r=n(30),i=n(33),o=n(46);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},33:function(e,t,n){var r=n(30),i=n(73),o=n(15),a=n(55),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return c(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}},34:function(e,t,n){"use strict";t.a=function(e,t){return new r(e,t)};var i=n(0);function r(e,t){var n=t&&t.src||"client",r=e||0;this.bidderCode=t&&t.bidder||"",this.width=0,this.height=0,this.statusMessage=function(){switch(r){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=i.getUniqueIdentifierStr(),this.requestId=t&&t.bidId,this.mediaType="banner",this.source=n,this.getStatusCode=function(){return r},this.getSize=function(){return this.width+"x"+this.height}}},35:function(e,t){var n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},358:function(e,t,n){n(359);var r=n(52);e.exports=r("String","includes")},359:function(e,t,n){"use strict";var r=n(14),i=n(360),o=n(49);r({target:"String",proto:!0,forced:!n(362)("includes")},{includes:function(e,t){return!!~String(o(this)).indexOf(i(e),1<arguments.length?t:void 0)}})},36:function(e,t,n){var r=n(16),i=n(90);e.exports=r?i:function(e){return Set.prototype.values.call(e)}},360:function(e,t,n){var r=n(361);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},361:function(e,t,n){var r=n(27),i=n(48),o=n(21)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},362:function(e,t,n){var r=n(21)("match");e.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,"/./"[t](n)}catch(e){}}return!1}},37:function(e,t,n){"use strict";n.d(t,"f",function(){return o}),n.d(t,"a",function(){return c}),t.h=function(e){if(e&&e.type&&function(e){return!(!e||!a()(Object.keys(d),e))||(Object(u.logError)("".concat(e," nativeParam is not supported")),!1)}(e.type))return d[e.type];return e},t.g=function(t,e){var n=Object(u.getBidRequest)(t.requestId,e);if(!n)return!1;if(!Object(u.deepAccess)(t,"native.clickUrl"))return!1;if(Object(u.deepAccess)(t,"native.image")&&(!Object(u.deepAccess)(t,"native.image.height")||!Object(u.deepAccess)(t,"native.image.width")))return!1;if(Object(u.deepAccess)(t,"native.icon")&&(!Object(u.deepAccess)(t,"native.icon.height")||!Object(u.deepAccess)(t,"native.icon.width")))return!1;var r=n.nativeParams;if(!r)return!0;var i=Object.keys(r).filter(function(e){return r[e].required}),o=Object.keys(t.native).filter(function(e){return t.native[e]});return i.every(function(e){return a()(o,e)})},t.b=function(e,t){var n;"click"===e.action?n=t.native&&t.native.clickTrackers:(n=t.native&&t.native.impressionTrackers,t.native&&t.native.javascriptTrackers&&Object(u.insertHtmlIntoIframe)(t.native.javascriptTrackers));return(n||[]).forEach(u.triggerPixel),e.action},t.e=function(i,o){var a={};Object(u.deepAccess)(o,"nativeParams.rendererUrl")?i.native.rendererUrl=f(o.nativeParams.rendererUrl):Object(u.deepAccess)(o,"nativeParams.adTemplate")&&(i.native.adTemplate=f(o.nativeParams.adTemplate));var c=!1!==Object(u.deepAccess)(o,"nativeParams.sendTargetingKeys");return Object.keys(i.native).forEach(function(e){var t,n,r;"adTemplate"!==e&&(t=s.NATIVE_KEYS[e],n=f(i.native[e]),Object(u.deepAccess)(o,"mediaTypes.native.".concat(e,".sendId"))&&(n="".concat(t,":").concat(i.adId)),r=Object(u.deepAccess)(o,"nativeParams.".concat(e,".sendTargetingKeys")),t&&n&&("boolean"==typeof r?r:c)&&(a[t]=n))}),a},t.d=function(e,r){var i={message:"assetResponse",adId:e.adId,assets:[]};r.native.hasOwnProperty("adTemplate")&&(i.adTemplate=f(r.native.adTemplate));r.native.hasOwnProperty("rendererUrl")&&(i.rendererUrl=f(r.native.rendererUrl));return e.assets.forEach(function(e){var t=Object(u.getKeyByValue)(s.NATIVE_KEYS,e),n=f(r.native[t]);i.assets.push({key:t,value:n})}),i},t.c=function(e,r){var i={message:"assetResponse",adId:e.adId,assets:[]};return Object.keys(r.native).forEach(function(e,t){var n;"adTemplate"===e&&r.native[e]?i.adTemplate=f(r.native[e]):"rendererUrl"===e&&r.native[e]?i.rendererUrl=f(r.native[e]):r.native[e]&&s.NATIVE_KEYS.hasOwnProperty(e)&&(n=f(r.native[e]),i.assets.push({key:e,value:n}))}),i};var u=n(0),r=n(12),a=n.n(r);function i(e){return(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})(e)}var s=n(5),o=[],c=Object.keys(s.NATIVE_KEYS).map(function(e){return s.NATIVE_KEYS[e]}),d={image:{image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}};function f(e){return"object"===i(e)&&e.url?e.url:e}},38:function(e,t){e.exports={}},39:function(e,t,n){var i=n(15),o=n(18),a=n(21)("species");e.exports=function(e,t){var n,r=i(e).constructor;return void 0===r||null==(n=i(r)[a])?t:o(n)}},4:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),t.b=i;var l=n(3);function p(){return(p=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}).apply(this,arguments)}function g(e){return(g="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})(e)}var b=n(0),v=4,r=i();function i(){var s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:3e3,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},d=e.request,f=e.done;return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};try{var i,o=r.method||(n?"POST":"GET"),a=document.createElement("a");a.href=e;var c,u="object"===g(t)&&null!==t?t:{success:function(){b.logMessage("xhr success")},error:function(e){b.logError("xhr error",null,e)}};"function"==typeof t&&(u.success=t),(i=new window.XMLHttpRequest).onreadystatechange=function(){var e;i.readyState===v&&("function"==typeof f&&f(a.origin),200<=(e=i.status)&&e<300||304===e?u.success(i.responseText,i):u.error(i.statusText,i))},l.b.getConfig("disableAjaxTimeout")||(i.ontimeout=function(){b.logError("  xhr timeout after ",i.timeout,"ms")}),"GET"===o&&n&&(p((c=b.parseUrl(e,r)).search,n),e=b.buildUrl(c)),i.open(o,e,!0),l.b.getConfig("disableAjaxTimeout")||(i.timeout=s),r.withCredentials&&(i.withCredentials=!0),b._each(r.customHeaders,function(e,t){i.setRequestHeader(t,e)}),r.preflight&&i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.setRequestHeader("Content-Type",r.contentType||"text/plain"),"function"==typeof d&&d(a.origin),"POST"===o&&n?i.send(n):i.send()}catch(e){b.logError("xhr construction",e)}}}},40:function(e,t,n){"use strict";t.a=function(r,e,t){if(!e||!r)return void o.logError("cannot load external script without url and moduleCode");if(!i()(c,e))return void o.logError("".concat(e," not whitelisted for loading external JavaScript"));if(a[r])return t&&"function"==typeof t&&(a[r].loaded?t():a[r].callbacks.push(t)),a[r].tag;a[r]={loaded:!1,tag:null,callbacks:[]},t&&"function"==typeof t&&a[r].callbacks.push(t);return o.logWarn("module ".concat(e," is loading external JavaScript")),function(e,t){var n=document.createElement("script");n.type="text/javascript",n.async=!0,(a[r].tag=n).readyState?n.onreadystatechange=function(){"loaded"!==n.readyState&&"complete"!==n.readyState||(n.onreadystatechange=null,t())}:n.onload=function(){t()};return n.src=e,o.insertElement(n),n}(r,function(){a[r].loaded=!0;try{for(var e=0;e<a[r].callbacks.length;e++)a[r].callbacks[e]()}catch(e){o.logError("Error executing callback","adloader.js:loadExternalScript",e)}})};var r=n(12),i=n.n(r),o=n(0),a={},c=["criteo","outstream","adagio","browsi"]},41:function(e,t,n){"use strict";n.d(t,"b",function(){return L}),n.d(t,"a",function(){return F}),t.k=function(e){var t,i,b,v,o=e.adUnits,n=e.adUnitCodes,r=e.callback,a=e.cbTimeout,c=e.labels,u=e.auctionId,y=o,s=c,d=n,h=[],f=[],l=[],p=u||P.generateUUID(),g=r,m=a,S=[],A=new Set;function E(){return{auctionId:p,timestamp:t,auctionEnd:i,auctionStatus:b,adUnits:y,adUnitCodes:d,labels:s,bidderRequests:h,noBids:l,bidsReceived:f,winningBids:S,timeout:m}}function O(n,e){var r,t;e&&clearTimeout(v),void 0===i&&(r=[],n&&(P.logMessage("Auction ".concat(p," timedOut")),t=A,(r=h.map(function(e){return(e.bids||[]).filter(function(e){return!t.has(e.bidder)})}).reduce(j.flatten,[]).map(function(e){return{bidId:e.bidId,bidder:e.bidder,adUnitCode:e.adUnitCode,auctionId:e.auctionId}})).length&&M.emit(G.EVENTS.BID_TIMEOUT,r)),b=F,i=Date.now(),M.emit(G.EVENTS.AUCTION_END,E()),Q(y,function(){try{var e;null!=g&&(e=f.filter(P.bind.call(j.adUnitsFilter,this,d)).reduce(ee,{}),g.apply(Lpbjs,[e,n,p]),g=null)}catch(e){P.logError("Error executing bidsBackHandler",null,e)}finally{r.length&&q.callTimedOutBidders(o,r,m);var t=U.b.getConfig("userSync")||{};t.enableOverride||D(t.syncDelay)}}))}function T(){P.logInfo("Bids Received for Auction with id: ".concat(p),f),b=F,O(!1,!0)}function I(e){A.add(e)}function C(n){var f=this;n.forEach(function(e){var t;t=e,h=h.concat(t)});var l={},e={bidRequests:n,run:function(){var e,t;e=O.bind(null,!0),t=setTimeout(e,m),v=t,b=L,M.emit(G.EVENTS.AUCTION_INIT,E());var r,i,o,a,c,u,s=(r=T,i=f,o=0,a=!1,c=new Set,u={},{addBidResponse:function(e,t){u[t.requestId]=!0,o++;var n=function(e){var t=e.adUnitCode,n=e.bid,r=e.bidderRequest,i=e.auctionId,o=r.start,a=N({},n,{auctionId:i,responseTimestamp:Object(j.timestamp)(),requestTimestamp:o,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});a.timeToRespond=a.responseTimestamp-a.requestTimestamp,M.emit(G.EVENTS.BID_ADJUSTMENT,a);var c=r.bids&&B()(r.bids,function(e){return e.adUnitCode==t}),u=c&&c.renderer,s=a.mediaType,d=c&&c.mediaTypes&&c.mediaTypes[s],f=d&&d.renderer,l=null;!f||!f.url||!0===f.backupOnly&&f.render?!u||!u.url||!0===u.backupOnly&&n.renderer||(l=u):l=f,l&&(a.renderer=_.a.install({url:l.url}),a.renderer.setRender(l.render));var p=Z(n.mediaType,c,U.b.getConfig("mediaTypePriceGranularity")),g=Object(w.a)(a.cpm,"object"===k(p)?p:U.b.getConfig("customPriceBucket"),U.b.getConfig("currency.granularityMultiplier"));return a.pbLg=g.low,a.pbMg=g.med,a.pbHg=g.high,a.pbAg=g.auto,a.pbDg=g.dense,a.pbCg=g.custom,a}({adUnitCode:e,bid:t,bidderRequest:this,auctionId:i.getAuctionId()});"video"===n.mediaType?function(e,t,n,r){var i=!0,o=Object(j.getBidRequest)(t.requestId,[n]),a=o&&Object(j.deepAccess)(o,"mediaTypes.video"),c=a&&Object(j.deepAccess)(a,"context");U.b.getConfig("cache.url")&&c!==R.b&&(t.videoCacheKey?t.vastUrl||(P.logError("videoCacheKey specified but not required vastUrl for video bid"),i=!1):(i=!1,X(e,t,r,o))),i&&($(e,t),r())}(i,n,this,d):($(i,n),d())},adapterDone:function(){var t,e=i.getBidRequests(),n=U.b.getConfig("auctionOptions");c.add(this),!n||P.isEmpty(n)||(t=n.secondaryBidders)&&!e.every(function(e){return x()(t,e.bidderCode)})&&(e=e.filter(function(e){return!x()(t,e.bidderCode)})),a=e.every(function(e){return c.has(e)}),this.bids.forEach(function(e){u[e.bidId]||(i.addNoBid(e),M.emit(G.EVENTS.NO_BID,e))}),a&&0===o&&r()}});function d(){o--,a&&0===o&&r()}q.callBids(y,n,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];J.apply({dispatch:s.addBidResponse,bidderRequest:this},t)},s.adapterDone,{request:function(e,t){g(V,t),g(l,e),H[e]||(H[e]={SRA:!0,origin:t}),1<l[e]&&(H[e].SRA=!1)},done:function(e){V[e]--,K[0]&&p(K[0])&&K.shift()}},m,I)}};function p(e){var r=!0,i=U.b.getConfig("maxRequestsPerOrigin")||z;return e.bidRequests.some(function(e){var t=1,n=void 0!==e.src&&e.src===G.S2S.SRC?"s2s":e.bidderCode;return H[n]&&(!1===H[n].SRA&&(t=Math.min(e.bids.length,i)),V[H[n].origin]+t>i&&(r=!1)),!r}),r&&e.run(),r}function g(e,t){void 0===e[t]?e[t]=1:e[t]++}p(e)||(P.logWarn("queueing auction due to limited endpoint capacity"),K.push(e))}return{addBidReceived:function(e){f=f.concat(e)},addNoBid:function(e){l=l.concat(e)},executeCallback:O,callBids:function(){b=W,t=Date.now();var e=q.makeBidRequests(y,t,p,m,s);P.logInfo("Bids Requested for Auction with id: ".concat(p),e),e.length<1?(P.logWarn("No valid bid requests returned for auction"),T()):Y.call({dispatch:C,context:this},e)},addWinningBid:function(e){S=S.concat(e),q.callBidWonBidder(e.bidder,e,o)},setBidTargeting:function(e){q.callSetTargetingBidder(e.bidder,e)},getWinningBids:function(){return S},getTimeout:function(){return m},getAuctionId:function(){return p},getAuctionStatus:function(){return b},getAdUnits:function(){return y},getAdUnitCodes:function(){return d},getBidRequests:function(){return h},getBidsReceived:function(){return f},getNoBids:function(){return l}}},n.d(t,"c",function(){return J}),n.d(t,"e",function(){return Y}),t.g=d,t.d=$,n.d(t,"f",function(){return X}),n.d(t,"i",function(){return f}),n.d(t,"h",function(){return l}),t.j=p;var j=n(0),w=n(45),a=n(37),o=n(95),_=n(11),U=n(3),r=n(43),i=n(13),c=n(10),B=n.n(c),u=n(12),x=n.n(u),R=n(25),s=n(2);function k(e){return(k="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})(e)}function N(){return(N=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}).apply(this,arguments)}var D=r.a.syncUsers,P=n(0),q=n(8).default,M=n(9),G=n(5),W="started",L="inProgress",F="completed";M.on(G.EVENTS.BID_ADJUSTMENT,function(e){!function(e){var t,n=e.bidderCode,r=e.cpm;if(Lpbjs.bidderSettings&&(n&&Lpbjs.bidderSettings[n]&&"function"==typeof Lpbjs.bidderSettings[n].bidCpmAdjustment?t=Lpbjs.bidderSettings[n].bidCpmAdjustment:Lpbjs.bidderSettings[G.JSON_MAPPING.BD_SETTING_STANDARD]&&"function"==typeof Lpbjs.bidderSettings[G.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(t=Lpbjs.bidderSettings[G.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),t))try{r=t(e.cpm,N({},e))}catch(e){P.logError("Error during bid adjustment","bidmanager.js",e)}0<=r&&(e.cpm=r)}(e)});var z=4,V={},H={},K=[];var J=Object(i.b)("async",function(e,t){this.dispatch.call(this.bidderRequest,e,t)},"addBidResponse"),Y=Object(i.b)("sync",function(e){this.dispatch.call(this.context,e)},"addBidderRequests"),Q=Object(i.b)("async",function(e,t){t&&t()},"bidsBackCallback");function d(e,t){t.timeToRespond>e.getTimeout()+U.b.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function $(e,t){var n=e.getBidRequests(),r=B()(n,function(e){return e.bidderCode===t.bidderCode});!function(t,e){var n;{var r;t.bidderCode&&(0<t.cpm||t.dealId)&&(r=B()(e.bids,function(e){return e.adUnitCode===t.adUnitCode}),n=function(e,t,n){if(!t)return{};var r={},i=Lpbjs.bidderSettings;{var o;i&&(o=p(t.mediaType,e,n),g(r,o,t),e&&i[e]&&i[e][G.JSON_MAPPING.ADSERVER_TARGETING]&&(g(r,i[e],t),t.sendStandardTargeting=i[e].sendStandardTargeting))}t.native&&(r=N({},r,Object(a.e)(t,n)));return r}(t.bidderCode,t,r))}t.adserverTargeting=N(t.adserverTargeting||{},n)}(t,r),M.emit(G.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),d(e,t)}var X=Object(i.b)("async",function(n,r,i,e){Object(o.b)([r],function(e,t){e?(P.logWarn("Failed to save to the video cache: ".concat(e,". Video bid must be discarded.")),d(n,r)):""===t[0].uuid?(P.logWarn("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."),d(n,r)):(r.videoCacheKey=t[0].uuid,r.vastUrl||(r.vastUrl=Object(o.a)(r.videoCacheKey)),$(n,r),i())},e)},"callPrebidCache");function Z(e,t,n){if(e&&n){if(e===s.d){var r=Object(j.deepAccess)(t,"mediaTypes.".concat(s.d,".context"),"instream");if(n["".concat(s.d,"-").concat(r)])return n["".concat(s.d,"-").concat(r)]}return n[e]}}var f=function(e,t){var n=Z(e,t,U.b.getConfig("mediaTypePriceGranularity"));return"string"==typeof e&&n?"string"==typeof n?n:"custom":U.b.getConfig("priceGranularity")},l=function(t){return function(e){return t===G.GRANULARITY_OPTIONS.AUTO?e.pbAg:t===G.GRANULARITY_OPTIONS.DENSE?e.pbDg:t===G.GRANULARITY_OPTIONS.LOW?e.pbLg:t===G.GRANULARITY_OPTIONS.MEDIUM?e.pbMg:t===G.GRANULARITY_OPTIONS.HIGH?e.pbHg:t===G.GRANULARITY_OPTIONS.CUSTOM?e.pbCg:void 0}};function p(e,t,n){function r(e,t){return{key:e,val:"function"==typeof t?function(e){return t(e)}:function(e){return Object(j.getValue)(e,t)}}}var i,o,a=G.TARGETING_KEYS,c=f(e,n),u=Lpbjs.bidderSettings;return u[G.JSON_MAPPING.BD_SETTING_STANDARD]||(u[G.JSON_MAPPING.BD_SETTING_STANDARD]={}),u[G.JSON_MAPPING.BD_SETTING_STANDARD][G.JSON_MAPPING.ADSERVER_TARGETING]||(u[G.JSON_MAPPING.BD_SETTING_STANDARD][G.JSON_MAPPING.ADSERVER_TARGETING]=[r(a.BIDDER,"bidderCode"),r(a.AD_ID,"adId"),r(a.PRICE_BUCKET,l(c)),r(a.SIZE,"size"),r(a.DEAL,"dealId"),r(a.SOURCE,"source"),r(a.FORMAT,"mediaType")]),"video"===e&&(i=u[G.JSON_MAPPING.BD_SETTING_STANDARD][G.JSON_MAPPING.ADSERVER_TARGETING],[a.UUID,a.CACHE_ID].forEach(function(t){void 0===B()(i,function(e){return e.key===t})&&i.push(r(t,"videoCacheKey"))}),!U.b.getConfig("cache.url")||t&&!1===P.deepAccess(u,"".concat(t,".sendStandardTargeting"))||(o=Object(j.parseUrl)(U.b.getConfig("cache.url")),void 0===B()(i,function(e){return e.key===a.CACHE_HOST})&&i.push(r(a.CACHE_HOST,function(e){return P.deepAccess(e,"adserverTargeting.".concat(a.CACHE_HOST))?e.adserverTargeting[a.CACHE_HOST]:o.hostname})))),u[G.JSON_MAPPING.BD_SETTING_STANDARD]}function g(r,i,o){var e=i[G.JSON_MAPPING.ADSERVER_TARGETING];return o.size=o.getSize(),P._each(e,function(e){var t=e.key,n=e.val;if(r[t]&&P.logWarn("The key: "+t+" is getting ovewritten"),P.isFn(n))try{n=n(o)}catch(e){P.logError("bidmanager","ERROR",e)}(void 0===i.suppressEmptyKeys||!0!==i.suppressEmptyKeys)&&t!==G.TARGETING_KEYS.DEAL||!P.isEmptyStr(n)&&null!=n?r[t]=n:P.logInfo("suppressing empty key '"+t+"' from adserver targeting")}),r}function ee(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}},42:function(e,t){e.exports={}},43:function(e,t,n){"use strict";n.d(t,"a",function(){return S});var a=n(0),r=n(3),i=n(12),o=n.n(i),c=n(7);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(){return(d=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}).apply(this,arguments)}r.b.setDefaults({userSync:a.deepClone({syncEnabled:!0,filterSettings:{image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:3e3,auctionDelay:0})});var f=Object(c.a)("usersync");var l,p,g,b,v,y,h,m=!a.isSafariBrowser()&&f.cookiesAreEnabled(),S=(l={config:r.b.getConfig("userSync"),browserSupportsCookies:m},p={},g=A(),b=new Set,y={image:!0,iframe:!(v={})},h=l.config,r.b.getConfig("userSync",function(e){var t;e.userSync&&(t=e.userSync.filterSettings,a.isPlainObject(t)&&(t.image||t.all||(e.userSync.filterSettings.image={bidders:"*",filter:"include"}))),h=d(h,e.userSync)}),p.registerSync=function(e,t,n){return b.has(t)?a.logMessage('already fired syncs for "'.concat(t,'", ignoring registerSync call')):h.syncEnabled&&a.isArray(g[e])?t?0!==h.syncsPerBidder&&Number(v[t])>=h.syncsPerBidder?a.logWarn('Number of user syncs exceeded for "'.concat(t,'"')):p.canBidderRegisterSync(e,t)?(g[e].push([t,n]),(r=v)[i=t]?r[i]+=1:r[i]=1,void(v=r)):a.logWarn('Bidder "'.concat(t,'" not permitted to register their "').concat(e,'" userSync pixels.')):a.logWarn("Bidder is required for registering sync"):a.logWarn('User sync type "'.concat(e,'" not supported'));var r,i},p.syncUsers=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(E,Number(e));E()},p.triggerUserSyncs=function(){h.enableOverride&&p.syncUsers()},p.canBidderRegisterSync=function(e,t){return!h.filterSettings||!T(e,t)},p);function A(){return{image:[],iframe:[]}}function E(){if(h.syncEnabled&&l.browserSupportsCookies){try{!function(){if(!y.image)return;O(g.image,function(e){var t=u(e,2),n=t[0],r=t[1];a.logMessage("Invoking image pixel user sync for bidder: ".concat(n)),a.triggerPixel(r)})}(),function(){if(!y.iframe)return;O(g.iframe,function(e){var t=u(e,2),n=t[0],r=t[1];a.logMessage("Invoking iframe user sync for bidder: ".concat(n)),a.insertUserSyncIframe(r)})}()}catch(e){return a.logError("Error firing user syncs",e)}g=A()}}function O(e,t){a.shuffle(e).forEach(function(e){t(e),b.add(e[0])})}function T(e,t){var n=h.filterSettings;if(function(e,t){if(e.all&&e[t])return a.logWarn('Detected presence of the "filterSettings.all" and "filterSettings.'.concat(t,'" in userSync config.  You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.')),!1;var n=e.all?e.all:e[t],r=e.all?"all":t;if(!n)return!1;var i=n.filter,o=n.bidders;if(i&&"include"!==i&&"exclude"!==i)return a.logWarn('UserSync "filterSettings.'.concat(r,".filter\" setting '").concat(i,"' is not a valid option; use either 'include' or 'exclude'.")),!1;return!!("*"===o||Array.isArray(o)&&0<o.length&&o.every(function(e){return a.isStr(e)&&"*"!==e}))||(a.logWarn('Detected an invalid setup in userSync "filterSettings.'.concat(r,".bidders\"; use either '*' (to represent all bidders) or an array of bidders.")),!1)}(n,e)){y[e]=!0;var r=n.all?n.all:n[e],i="*"===r.bidders?[t]:r.bidders;return{include:function(e,t){return!o()(e,t)},exclude:function(e,t){return o()(e,t)}}[r.filter||"include"](i,t)}}},44:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var S=n(0),A=n(3),E=n(37),r=n(23),i=n(93),o=n(2),a=n(12),O=n.n(a),c=n(10),T=n.n(c);function I(){return(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}).apply(this,arguments)}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}function j(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var w=n(0),_=n(5),U=[],B=Object.keys(_.TARGETING_KEYS).map(function(e){return _.TARGETING_KEYS[e]}),s=function(e){return e.responseTimestamp+1e3*e.ttl+1e3>Object(S.timestamp)()},d=function(e){return e&&(e.status&&!O()([_.BID_STATUS.RENDERED],e.status)||!e.status)};function x(e,r,t){var i=2<arguments.length&&void 0!==t?t:0,o=[],a=A.b.getConfig("sendBidsControl.dealPrioritization"),c=Object(S.groupBy)(e,"adUnitCode");return Object.keys(c).forEach(function(e){var t=[],n=Object(S.groupBy)(c[e],"bidderCode");Object.keys(n).forEach(function(e){return t.push(n[e].reduce(r))}),0<i?(t=a?t.sort(R(!0)):t.sort(function(e,t){return t.cpm-e.cpm}),o.push.apply(o,j(t.slice(0,i)))):o.push.apply(o,j(t))}),o}function R(e){var n=0<arguments.length&&void 0!==e&&e;return function(e,t){return void 0!==e.adserverTargeting.hb_deal&&void 0===t.adserverTargeting.hb_deal?-1:void 0===e.adserverTargeting.hb_deal&&void 0!==t.adserverTargeting.hb_deal?1:n?t.cpm-e.cpm:t.adserverTargeting.hb_pb-e.adserverTargeting.hb_pb}}var k,N,f,l=(k=r.a,f={},(N={}).setLatestAuctionForAdUnit=function(e,t){f[e]=t},N.resetPresetTargeting=function(e,t){var n,i;Object(S.isGptPubadsDefined)()&&(n=P(e),i=k.getAdUnits().filter(function(e){return O()(n,e.code)}),window.googletag.pubads().getSlots().forEach(function(n){var r=w.isFn(t)&&t(n);U.forEach(function(t){i.forEach(function(e){(e.code===n.getAdUnitPath()||e.code===n.getSlotElementId()||w.isFn(r)&&r(e.code))&&n.setTargeting(t,null)})})}))},N.resetPresetTargetingAST=function(e){P(e).forEach(function(e){var t,n,r=window.apntag.getTag(e);r&&r.keywords&&(t=Object.keys(r.keywords),n={},t.forEach(function(e){O()(U,e.toLowerCase())||(n[e]=r.keywords[e])}),window.apntag.modifyTag(e,{keywords:n}))})},N.getAllTargeting=function(e){var t,n,r,i,o,a,c,u,s,d,f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:q(),l=P(e),p=(c=l,u=f,s=N.getWinningBids(c,u),d=M(),(s=s.map(function(o){return C({},o.adUnitCode,Object.keys(o.adserverTargeting).filter(function(e){return void 0===o.sendStandardTargeting||o.sendStandardTargeting||-1===d.indexOf(e)}).reduce(function(e,t){var n=[o.adserverTargeting[t]],r=C({},t.substring(0,20),n);if(t!==_.TARGETING_KEYS.DEAL)return[].concat(j(e),[r]);var i=C({},"".concat(t,"_").concat(o.bidderCode).substring(0,20),n);return[].concat(j(e),[r,i])},[]))})).concat((a=l,f.filter(function(e){return O()(a,e.adUnitCode)}).map(function(e){return I({},e)}).reduce(G,[]).map(W).filter(function(e){return e}))).concat(A.b.getConfig("enableSendAllBids")?(n=l,r=f,i=B.concat(E.a),o=A.b.getConfig("sendBidsControl.bidLimit"),x(r,S.getHighestCpm,o).map(function(t){if(D(t,n))return C({},t.adUnitCode,L(t,i.filter(function(e){return void 0!==t.adserverTargeting[e]})))}).filter(function(e){return e})):function(e,t){if(!0!==A.b.getConfig("targetingControls.alwaysIncludeDeals"))return[];var n=B.concat(E.a);return x(t,S.getHighestCpm).map(function(t){if(t.dealId&&D(t,e))return C({},t.adUnitCode,L(t,n.filter(function(e){return void 0!==t.adserverTargeting[e]})))}).filter(function(e){return e})}(l,f)).concat((t=l,k.getAdUnits().filter(function(e){return O()(t,e.code)&&g(e)}).map(function(e){return C({},e.code,(t=g(e),Object.keys(t).map(function(e){return C({},e,w.isArray(t[e])?t[e]:t[e].split(","))})));var t}))));function g(e){return Object(S.deepAccess)(e,_.JSON_MAPPING.ADSERVER_TARGETING)}p.map(function(t){Object.keys(t).map(function(e){t[e].map(function(e){-1===U.indexOf(Object.keys(e)[0])&&(U=Object.keys(e).concat(U))})})});var b=A.b.getConfig("targetingControls.allowTargetingKeys");Array.isArray(b)&&0<b.length&&(p=function(e,r){var i=I({},_.TARGETING_KEYS,_.NATIVE_KEYS),o=Object.keys(i),a={};Object(S.logInfo)("allowTargetingKeys - allowed keys [ ".concat(r.map(function(e){return i[e]}).join(", ")," ]")),e.map(function(e){var t=Object.keys(e)[0],n=e[t].filter(function(e){var n=Object.keys(e)[0],t=0===o.filter(function(e){return 0===n.indexOf(i[e])}).length||T()(r,function(e){var t=i[e];return 0===n.indexOf(t)});return a[n]=!t,t});e[t]=n});var t=Object.keys(a).filter(function(e){return a[e]});return Object(S.logInfo)("allowTargetingKeys - removed keys [ ".concat(t.join(", ")," ]")),e.filter(function(e){return 0<e[Object.keys(e)[0]].length})}(p,b)),p=p.map(function(e){return C({},Object.keys(e)[0],e[Object.keys(e)[0]].map(function(e){return C({},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},{});var v,y,h,m=A.b.getConfig("targetingControls.auctionKeyMaxChars");return m&&(Object(S.logInfo)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(m," characters.  Running checks on auction keys...")),v=p,y=m,h=Object(S.deepClone)(v),p=Object.keys(h).map(function(e){return{adUnitCode:e,adserverTargeting:h[e]}}).sort(R()).reduce(function(e,t,n,r){var i,o=(i=t.adserverTargeting,Object.keys(i).reduce(function(e,t){return e+"".concat(t,"%3d").concat(encodeURIComponent(i[t]),"%26")},""));n+1===r.length&&(o=o.slice(0,-3));var a=t.adUnitCode,c=o.length;return c<=y?(y-=c,Object(S.logInfo)("AdUnit '".concat(a,"' auction keys comprised of ").concat(c," characters.  Deducted from running threshold; new limit is ").concat(y),h[a]),e[a]=h[a]):Object(S.logWarn)("The following keys for adUnitCode '".concat(a,"' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ").concat(c,", the current allotted amount was ").concat(y,".\n"),h[a]),n+1===r.length&&0===Object.keys(e).length&&Object(S.logError)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars).  Please review setup and consider adjusting."),e},{})),l.forEach(function(e){p[e]||(p[e]={})}),p},N.setTargetingForGPT=function(i,e){window.googletag.pubads().getSlots().forEach(function(r){Object.keys(i).filter((e||Object(S.isAdUnitCodeMatchingSlot))(r)).forEach(function(n){return Object.keys(i[n]).forEach(function(t){var e=i[n][t];"string"==typeof e&&(e=e.split(",")),(e=1<e.length?[e]:e).map(function(e){return w.logMessage("Attempting to set key value for slot: ".concat(r.getSlotElementId()," key: ").concat(t," value: ").concat(e)),e}).forEach(function(e){r.setTargeting(t,e)})})})})},N.getWinningBids=function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:q(),t=P(e);return n.filter(function(e){return O()(t,e.adUnitCode)}).filter(function(e){return 0<e.cpm}).map(function(e){return e.adUnitCode}).filter(S.uniques).map(function(t){return n.filter(function(e){return e.adUnitCode===t?e:null}).reduce(S.getHighestCpm)})},N.setTargetingForAst=function(e){var r=N.getAllTargeting(e);try{N.resetPresetTargetingAST(e)}catch(e){w.logError("unable to reset targeting for AST"+e)}Object.keys(r).forEach(function(n){return Object.keys(r[n]).forEach(function(e){var t;w.logMessage("Attempting to set targeting for targetId: ".concat(n," key: ").concat(e," value: ").concat(r[n][e])),(w.isStr(r[n][e])||w.isArray(r[n][e]))&&(t={},e.search(/pt[0-9]/)<0?t[e.toUpperCase()]=r[n][e]:t[e]=r[n][e],window.apntag.setKeywords(n,t,{overrideKeyValue:!0}))})})},N.isApntagDefined=function(){if(window.apntag&&w.isFn(window.apntag.setKeywords))return!0},N);function D(e,t){return e.adserverTargeting&&t&&(w.isArray(t)&&O()(t,e.adUnitCode)||"string"==typeof t&&e.adUnitCode===t)}function P(e){return"string"==typeof e?[e]:w.isArray(e)?e:k.getAdUnitCodes()||[]}function q(){var e=k.getBidsReceived();return A.b.getConfig("useBidCache")||(e=e.filter(function(e){return f[e.adUnitCode]===e.auctionId})),x(e=e.filter(function(e){return Object(S.deepAccess)(e,"video.context")!==o.a}).filter(function(e){return"banner"!==e.mediaType||Object(i.c)([e.width,e.height])}).filter(d).filter(s),S.getOldestHighestCpmBid)}function M(){return k.getStandardBidderAdServerTargeting().map(function(e){return e.key}).concat(B).filter(S.uniques)}function G(r,i,e,t){return Object.keys(i.adserverTargeting).filter(p()).forEach(function(e){var t,n;r.length&&r.filter((n=e,function(e){return e.adUnitCode===i.adUnitCode&&e.adserverTargeting[n]})).forEach((t=e,function(e){w.isArray(e.adserverTargeting[t])||(e.adserverTargeting[t]=[e.adserverTargeting[t]]),e.adserverTargeting[t]=e.adserverTargeting[t].concat(i.adserverTargeting[t]).filter(S.uniques),delete i.adserverTargeting[t]}))}),r.push(i),r}function p(){var t=M().concat(E.a);return function(e){return-1===t.indexOf(e)}}function W(t){return C({},t.adUnitCode,Object.keys(t.adserverTargeting).filter(p()).map(function(e){return C({},e.substring(0,20),[t.adserverTargeting[e]])}))}function L(t,e){return e.map(function(e){return C({},"".concat(e,"_").concat(t.bidderCode).substring(0,20),[t.adserverTargeting[e]])})}},45:function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return h});var r=n(10),v=n.n(r),i=n(0),y=2,o={buckets:[{max:5,increment:.5}]},a={buckets:[{max:20,increment:.1}]},c={buckets:[{max:20,increment:.01}]},u={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]},s={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};function d(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":f(e,o,n),med:""===r?"":f(e,a,n),high:""===r?"":f(e,c,n),auto:""===r?"":f(e,s,n),dense:""===r?"":f(e,u,n),custom:""===r?"":f(e,t,n)}}function f(n,e,r){var i="";if(!h(e))return i;var t,o,a,c,u,s,d,f,l,p=e.buckets.reduce(function(e,t){return e.max>t.max?e:t},{max:0}),g=0,b=v()(e.buckets,function(e){if(n>p.max*r){var t=e.precision;void 0===t&&(t=y),i=(e.max*r).toFixed(t)}else{if(n<=e.max*r&&g*r<=n)return e.min=g,e;g=e.max}});return b&&(t=n,a=r,c=void 0!==(o=b).precision?o.precision:y,u=o.increment*a,s=o.min*a,d=Math.pow(10,c+2),f=(t*d-s*d)/(u*d),l=Math.floor(f)*u+s,i=(l=Number(l.toFixed(10))).toFixed(c)),i}function h(e){if(i.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach(function(e){e.max&&e.increment||(t=!1)}),t}},46:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},47:function(e,t,n){var r=n(72),i=n(49);e.exports=function(e){return r(i(e))}},48:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},49:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},5: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"},DEBUG_MODE:"Lpbjs_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",NO_BID:"noBid",BID_WON:"bidWon",BIDDER_DONE:"bidderDone",SET_TARGETING:"setTargeting",BEFORE_REQUEST_BIDS:"beforeRequestBids",REQUEST_BIDS:"requestBids",ADD_AD_UNITS:"addAdUnits",AD_RENDER_FAILED:"adRenderFailed",TCF2_ENFORCEMENT:"tcf2Enforcement",AUCTION_DEBUG:"auctionDebug"},AD_RENDER_FAILED_REASON:{PREVENT_WRITING_ON_MAIN_DOCUMENT:"preventWritingOnMainDocument",NO_AD:"noAd",EXCEPTION:"exception",CANNOT_FIND_AD:"cannotFindAd",MISSING_DOC_OR_ADID:"missingDocOrAdid"},EVENT_ID_PATHS:{bidWon:"adUnitCode"},GRANULARITY_OPTIONS:{LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},TARGETING_KEYS:{BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",SOURCE:"hb_source",FORMAT:"hb_format",UUID:"hb_uuid",CACHE_ID:"hb_cache_id",CACHE_HOST:"hb_cache_host"},NATIVE_KEYS:{title:"hb_native_title",body:"hb_native_body",body2:"hb_native_body2",privacyLink:"hb_native_privacy",privacyIcon:"hb_native_privicon",sponsoredBy:"hb_native_brand",image:"hb_native_image",icon:"hb_native_icon",clickUrl:"hb_native_linkurl",displayUrl:"hb_native_displayurl",cta:"hb_native_cta",rating:"hb_native_rating",address:"hb_native_address",downloads:"hb_native_downloads",likes:"hb_native_likes",phone:"hb_native_phone",price:"hb_native_price",salePrice:"hb_native_saleprice",rendererUrl:"hb_renderer_url",adTemplate:"hb_adTemplate"},S2S:{SRC:"s2s",DEFAULT_ENDPOINT:"https://prebid.adnxs.com/pbs/v1/openrtb2/auction",SYNCED_BIDDERS_KEY:"LpbjsSyncs"},BID_STATUS:{BID_TARGETING_SET:"targetingSet",RENDERED:"rendered",BID_REJECTED:"bidRejected"}}},50:function(e,t,n){var r=n(58),i=Math.min;e.exports=function(e){return 0<e?i(r(e),9007199254740991):0}},51:function(e,t){e.exports=function(){}},511:function(e,t,n){var r=n(512);e.exports=r},512:function(e,t,n){n(513);var r=n(42);e.exports=r.Number.isInteger},513:function(e,t,n){n(14)({target:"Number",stat:!0},{isInteger:n(514)})},514:function(e,t,n){var r=n(27),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},52:function(e,t,n){var r=n(29);e.exports=r},53:function(e,t){e.exports={}},54:function(e,t,n){var r,i,o,a,c,u,s,d,f=n(115),l=n(26),p=n(27),g=n(32),b=n(28),v=n(65),y=n(53),h=l.WeakMap;s=f?(r=new h,i=r.get,o=r.has,a=r.set,c=function(e,t){return a.call(r,e,t),t},u=function(e){return i.call(r,e)||{}},function(e){return o.call(r,e)}):(y[d=v("state")]=!0,c=function(e,t){return g(e,d,t),t},u=function(e){return b(e,d)?e[d]:{}},function(e){return b(e,d)}),e.exports={set:c,get:u,has:s,enforce:function(e){return s(e)?u(e):c(e,{})},getterFor:function(n){return function(e){var t;if(!p(e)||(t=u(e)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return t}}}},55:function(e,t,n){var i=n(27);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},56:function(e,t,n){function r(p){var g=1==p,b=2==p,v=3==p,y=4==p,h=6==p,m=5==p||h;return function(e,t,n,r){for(var i,o,a=E(e),c=A(a),u=S(t,n,3),s=O(c.length),d=0,f=r||T,l=g?f(e,s):b?f(e,0):void 0;d<s;d++)if((m||d in c)&&(o=u(i=c[d],d,a),p))if(g)l[d]=o;else if(o)switch(p){case 3:return!0;case 5:return i;case 6:return d;case 2:I.call(l,i)}else if(y)return!1;return h?-1:v||y?y:l}}var S=n(24),A=n(72),E=n(57),O=n(50),T=n(103),I=[].push;e.exports={forEach:r(0),map:r(1),filter:r(2),some:r(3),every:r(4),find:r(5),findIndex:r(6)}},57:function(e,t,n){var r=n(49);e.exports=function(e){return Object(r(e))}},58:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:n)(e)}},59:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},60:function(e,t,n){function a(e){throw e}var c=n(30),u=n(31),s=n(28),d=Object.defineProperty,f={};e.exports=function(e,t){if(s(f,e))return f[e];var n=[][e],r=!!s(t=t||{},"ACCESSORS")&&t.ACCESSORS,i=s(t,0)?t[0]:a,o=s(t,1)?t[1]:void 0;return f[e]=!!n&&!u(function(){if(r&&!c)return!0;var e={length:-1};r?d(e,1,{enumerable:!0,get:a}):e[1]=1,n.call(e,i,o)})}},61:function(e,t,n){var r=n(62),i=n(38),o=n(21)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},62:function(e,t,n){var r=n(63),i=n(48),o=n(21)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:a?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},63:function(e,t,n){var r={};r[n(21)("toStringTag")]="z",e.exports="[object z]"===String(r)},64:function(e,t,n){var o=n(63),a=n(33).f,c=n(32),u=n(28),s=n(114),d=n(21)("toStringTag");e.exports=function(e,t,n,r){var i;e&&(i=n?e:e.prototype,u(i,d)||a(i,d,{configurable:!0,value:t}),r&&!o&&c(i,"toString",s))}},65:function(e,t,n){var r=n(75),i=n(59),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},66:function(e,t,n){"use strict";function y(){return this}var h=n(14),m=n(123),S=n(88),A=n(125),E=n(64),O=n(32),T=n(86),r=n(21),I=n(16),C=n(38),i=n(87),j=i.IteratorPrototype,w=i.BUGGY_SAFARI_ITERATORS,_=r("iterator"),U="values",B="entries";e.exports=function(e,t,n,r,i,o,a){m(n,t,r);function c(e){if(e===i&&b)return b;if(!w&&e in p)return p[e];switch(e){case"keys":case U:case B:return function(){return new n(this,e)}}return function(){return new n(this)}}var u,s,d,f=t+" Iterator",l=!1,p=e.prototype,g=p[_]||p["@@iterator"]||i&&p[i],b=!w&&g||c(i),v="Array"==t&&p.entries||g;if(v&&(u=S(v.call(new e)),j!==Object.prototype&&u.next&&(I||S(u)===j||(A?A(u,j):"function"!=typeof u[_]&&O(u,_,y)),E(u,f,!0,!0),I&&(C[f]=y))),i==U&&g&&g.name!==U&&(l=!0,b=function(){return g.call(this)}),I&&!a||p[_]===b||O(p,_,b),C[t]=b,i)if(s={values:c(U),keys:o?b:c("keys"),entries:c(B)},a)for(d in s)!w&&!l&&d in p||T(p,d,s[d]);else h({target:t,proto:!0,forced:w||l},s);return s}},67:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(0),c={};function i(e,t,n){var r,i,o,a=(i=n,o=c[r=e]=c[r]||{bidders:{}},i?o.bidders[i]=o.bidders[i]||{}:o);return a[t]=(a[t]||0)+1,a[t]}var o={incrementRequestsCounter:function(e){return i(e,"requestsCounter")},incrementBidderRequestsCounter:function(e,t){return i(e,"requestsCounter",t)},incrementBidderWinsCounter:function(e,t){return i(e,"winsCounter",t)},getRequestsCounter:function(e){return Object(r.deepAccess)(c,"".concat(e,".requestsCounter"))||0},getBidderRequestsCounter:function(e,t){return Object(r.deepAccess)(c,"".concat(e,".bidders.").concat(t,".requestsCounter"))||0},getBidderWinsCounter:function(e,t){return Object(r.deepAccess)(c,"".concat(e,".bidders.").concat(t,".winsCounter"))||0}}},69:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"adUnitSetupChecks",function(){return z}),n.d(t,"checkAdUnitSetup",function(){return V}),t.executeCallbacks=J;var r=n(20),i=n(0),o=n(230),a=n(43),d=n(3),m=n(23),f=n(44),c=n(13),u=n(231),s=n(12),l=n.n(s),p=n(67),S=n(11),g=n(34),b=n(7);function v(e){return(v="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})(e)}function y(){return(y=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}).apply(this,arguments)}var h=Object(r.a)(),A=n(5),E=n(0),O=n(8).default,T=n(9),I=a.a.triggerUserSyncs,C=A.EVENTS,j=C.ADD_AD_UNITS,w=C.BID_WON,_=C.REQUEST_BIDS,U=C.SET_TARGETING,B=C.AD_RENDER_FAILED,x=A.AD_RENDER_FAILED_REASON,R=x.PREVENT_WRITING_ON_MAIN_DOCUMENT,k=x.NO_AD,N=x.EXCEPTION,D=x.CANNOT_FIND_AD,P=x.MISSING_DOC_OR_ADID,q={bidWon:function(e){var t=m.a.getBidsRequested().map(function(e){return e.bids.map(function(e){return e.adUnitCode})}).reduce(i.flatten).filter(i.uniques);return!!E.contains(t,e)||void E.logError('The "'+e+'" placement is not defined.')}};function M(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function G(e,t){var n=[];return E.isArray(e)&&(t?e.length===t:0<e.length)&&(e.every(function(e){return Object(i.isArrayOfNums)(e,2)})?n=e:Object(i.isArrayOfNums)(e,2)&&n.push(e)),n}function W(e){var t=E.deepClone(e),n=t.mediaTypes.banner,r=G(n.sizes);return 0<r.length?(n.sizes=r,t.sizes=r):(E.logError("Detected a mediaTypes.banner object without a proper sizes field.  Please ensure the sizes are listed like: [[300, 250], ...].  Removing invalid mediaTypes.banner object from request."),delete t.mediaTypes.banner),t}function L(e){var t,n,r=E.deepClone(e),i=r.mediaTypes.video;return i.playerSize&&(t="number"==typeof i.playerSize[0]?2:1,0<(n=G(i.playerSize,t)).length?(2==t&&E.logInfo("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),i.playerSize=n,r.sizes=n):(E.logError("Detected incorrect configuration of mediaTypes.video.playerSize.  Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."),delete r.mediaTypes.video.playerSize)),r}function F(e){var t=E.deepClone(e),n=t.mediaTypes.native;return n.image&&n.image.sizes&&!Array.isArray(n.image.sizes)&&(E.logError("Please use an array of sizes for native.image.sizes field.  Removing invalid mediaTypes.native.image.sizes property from request."),delete t.mediaTypes.native.image.sizes),n.image&&n.image.aspect_ratios&&!Array.isArray(n.image.aspect_ratios)&&(E.logError("Please use an array of sizes for native.image.aspect_ratios field.  Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete t.mediaTypes.native.image.aspect_ratios),n.icon&&n.icon.sizes&&!Array.isArray(n.icon.sizes)&&(E.logError("Please use an array of sizes for native.icon.sizes field.  Removing invalid mediaTypes.native.icon.sizes property from request."),delete t.mediaTypes.native.icon.sizes),t}Object(u.a)(),h.bidderSettings=h.bidderSettings||{},h.libLoaded=!0,h.version="v4.22.0",E.logInfo("Prebid.js v4.22.0 loaded"),h.adUnits=h.adUnits||[],h.triggerUserSyncs=I;var z={validateBannerMediaType:W,validateVideoMediaType:L,validateNativeMediaType:F,validateSizes:G},V=Object(c.b)("sync",function(e){var c=[];return e.forEach(function(e){var t,n,r,i,o=e.mediaTypes,a=e.bids;a&&E.isArray(a)?o&&0!==Object.keys(o).length?(o.banner&&(t=W(e)),o.video&&(n=L(t||e)),o.native&&(r=F(n||(t||e))),i=y({},t,n,r),c.push(i)):E.logError("Detected adUnit.code '".concat(e.code,"' did not have a 'mediaTypes' object defined.  This is a required field for the auction, so this adUnit has been removed.")):E.logError("Detected adUnit.code '".concat(e.code,"' did not have 'adUnit.bids' defined or 'adUnit.bids' is not an array. Removing adUnit from auction."))}),c},"checkAdUnitSetup");function H(e){var n=m.a[e]().filter(E.bind.call(i.adUnitsFilter,this,m.a.getAdUnitCodes())),r=m.a.getLastAuctionId();return n.map(function(e){return e.adUnitCode}).filter(i.uniques).map(function(t){return n.filter(function(e){return e.auctionId===r&&e.adUnitCode===t})}).filter(function(e){return e&&e[0]&&e[0].adUnitCode}).map(function(e){return t={},n=e[0].adUnitCode,r={bids:e},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t;var t,n,r}).reduce(function(e,t){return y(e,t)},{})}function K(e){var t=e.reason,n=e.message,r=e.bid,i=e.id,o={reason:t,message:n};r&&(o.bid=r),i&&(o.adId=i),E.logError(n),T.emit(B,o)}function J(e,t){function n(e){for(var t;t=e.shift();)t()}n(b.c),n(Y),e.call(this,t)}h.getAdserverTargetingForAdUnitCodeStr=function(e){if(E.logInfo("Invoking Lpbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=h.getAdserverTargetingForAdUnitCode(e);return E.transformAdServerTargetingObj(t)}E.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},h.getAdserverTargetingForAdUnitCode=function(e){return h.getAdserverTargeting(e)[e]},h.getAdserverTargeting=function(e){return E.logInfo("Invoking Lpbjs.getAdserverTargeting",arguments),f.a.getAllTargeting(e)},h.getNoBids=function(){return E.logInfo("Invoking Lpbjs.getNoBids",arguments),H("getNoBids")},h.getNoBidsForAdUnitCode=function(t){return{bids:m.a.getNoBids().filter(function(e){return e.adUnitCode===t})}},h.getBidResponses=function(){return E.logInfo("Invoking Lpbjs.getBidResponses",arguments),H("getBidsReceived")},h.getBidResponsesForAdUnitCode=function(t){return{bids:m.a.getBidsReceived().filter(function(e){return e.adUnitCode===t})}},h.setTargetingForGPTAsync=function(e,t){var n;E.logInfo("Invoking Lpbjs.setTargetingForGPTAsync",arguments),Object(i.isGptPubadsDefined)()?(n=f.a.getAllTargeting(e),f.a.resetPresetTargeting(e,t),f.a.setTargetingForGPT(n,t),Object.keys(n).forEach(function(t){Object.keys(n[t]).forEach(function(e){"hb_adid"===e&&m.a.setStatusForBids(n[t][e],A.BID_STATUS.BID_TARGETING_SET)})}),T.emit(U,n)):E.logError("window.googletag is not defined on the page")},h.setTargetingForAst=function(e){E.logInfo("Invoking Lpbjs.setTargetingForAn",arguments),f.a.isApntagDefined()?(f.a.setTargetingForAst(e),T.emit(U,f.a.getAllTargeting())):E.logError("window.apntag is not defined on the page")},h.renderAd=function(e,t,n){if(E.logInfo("Invoking Lpbjs.renderAd",arguments),E.logMessage("Calling renderAd with adId :"+t),e&&t)try{var r,i,o,a,c,u,s,d,f,l,p,g,b,v=m.a.findBidByAdId(t);v?(v.ad=E.replaceAuctionPrice(v.ad,v.cpm),v.adUrl=E.replaceAuctionPrice(v.adUrl,v.cpm),n&&n.clickThrough&&(r=n.clickThrough,v.ad=E.replaceClickThrough(v.ad,r),v.adUrl=E.replaceClickThrough(v.adUrl,r)),m.a.addWinningBid(v),T.emit(w,v),i=v.height,o=v.width,a=v.ad,c=v.mediaType,u=v.adUrl,s=v.renderer,d=document.createComment("Creative ".concat(v.creativeId," served by ").concat(v.bidder," Prebid.js Header Bidding")),E.insertElement(d,e,"body"),Object(S.c)(s)?Object(S.b)(s,v):e===document&&!E.inIframe()||"video"===c?(f="Error trying to write ad. Ad render call ad id ".concat(t," was prevented from writing to the main document."),K({reason:R,message:f,bid:v,id:t})):a?(navigator.userAgent&&-1<navigator.userAgent.toLowerCase().indexOf("firefox/")&&((l=navigator.userAgent.toLowerCase().match(/firefox\/([\d\.]+)/)[1])&&parseInt(l,10)<67&&e.open("text/html","replace")),e.write(a),e.close(),M(e,o,i),E.callBurl(v)):u?((p=E.createInvisibleIframe()).height=i,p.width=o,p.style.display="inline",p.style.overflow="hidden",p.src=u,E.insertElement(p,e,"body"),M(e,o,i),E.callBurl(v)):(g="Error trying to write ad. No ad for bid response id: ".concat(t),K({reason:k,message:g,bid:v,id:t}))):(b="Error trying to write ad. Cannot find ad by given id : ".concat(t),K({reason:D,message:b,id:t}))}catch(e){var y="Error trying to write ad Id :".concat(t," to the page:").concat(e.message);K({reason:N,message:y,id:t})}else{var h="Error trying to write ad Id :".concat(t," to the page. Missing document or adId");K({reason:P,message:h,id:t})}},h.removeAdUnit=function(e){E.logInfo("Invoking Lpbjs.removeAdUnit",arguments),e?(E.isArray(e)?e:[e]).forEach(function(e){for(var t=h.adUnits.length-1;0<=t;t--)h.adUnits[t].code===e&&h.adUnits.splice(t,1)}):h.adUnits=[]},h.requestBids=Object(c.b)("async",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes,o=e.labels,a=e.auctionId;T.emit(_);var c=n||d.b.getConfig("bidderTimeout"),r=r||h.adUnits;if(E.logInfo("Invoking Lpbjs.requestBids",arguments),r=V(r),i&&i.length?r=r.filter(function(e){return l()(i,e.code)}):i=r&&r.map(function(e){return e.code}),r.forEach(function(i){var o=Object.keys(i.mediaTypes||{banner:"banner"}),e=i.bids.map(function(e){return e.bidder}),a=O.bidderRegistry,t=d.b.getConfig("s2sConfig"),n=t&&t.bidders,r=n?e.filter(function(e){return!l()(n,e)}):e;i.transactionId=E.generateUUID(),r.forEach(function(t){var e=a[t],n=e&&e.getSpec&&e.getSpec(),r=n&&n.supportedMediaTypes||["banner"];o.some(function(e){return l()(r,e)})?p.a.incrementBidderRequestsCounter(i.code,t):(E.logWarn(E.unsupportedBidderMessage(i,t)),i.bids=i.bids.filter(function(e){return e.bidder!==t}))}),p.a.incrementRequestsCounter(i.code)}),r&&0!==r.length){var u=m.a.createAuction({adUnits:r,adUnitCodes:i,callback:t,cbTimeout:c,labels:o,auctionId:a}),s=r.length;15<s&&E.logInfo("Current auction ".concat(u.getAuctionId()," contains ").concat(s," adUnits."),r),i.forEach(function(e){return f.a.setLatestAuctionForAdUnit(e,u.getAuctionId())}),u.callBids()}else if(E.logMessage("No adUnits configured. No bids requested."),"function"==typeof t)try{t()}catch(e){E.logError("Error executing bidsBackHandler",null,e)}}),h.requestBids.before(J,49),h.addAdUnits=function(e){E.logInfo("Invoking Lpbjs.addAdUnits",arguments),E.isArray(e)?h.adUnits.push.apply(h.adUnits,e):"object"===v(e)&&h.adUnits.push(e),T.emit(j)},h.onEvent=function(e,t,n){E.logInfo("Invoking Lpbjs.onEvent",arguments),E.isFn(t)?!n||q[e].call(null,n)?T.on(e,t,n):E.logError('The id provided is not valid for event "'+e+'" and no handler was set.'):E.logError('The event handler provided is not a function and was not set on event "'+e+'".')},h.offEvent=function(e,t,n){E.logInfo("Invoking Lpbjs.offEvent",arguments),n&&!q[e].call(null,n)||T.off(e,t,n)},h.getEvents=function(){return E.logInfo("Invoking Lpbjs.getEvents"),T.getEvents()},h.registerBidAdapter=function(e,t){E.logInfo("Invoking Lpbjs.registerBidAdapter",arguments);try{O.registerBidAdapter(e(),t)}catch(e){E.logError("Error registering bidder adapter : "+e.message)}},h.registerAnalyticsAdapter=function(e){E.logInfo("Invoking Lpbjs.registerAnalyticsAdapter",arguments);try{O.registerAnalyticsAdapter(e)}catch(e){E.logError("Error registering analytics adapter : "+e.message)}},h.createBid=function(e){return E.logInfo("Invoking Lpbjs.createBid",arguments),Object(g.a)(e)};var Y=[],Q=Object(c.b)("async",function(e){e&&!E.isEmpty(e)?(E.logInfo("Invoking Lpbjs.enableAnalytics for: ",e),O.enableAnalytics(e)):E.logError("Lpbjs.enableAnalytics should be called with option {}")},"enableAnalyticsCb");function $(e){e.forEach(function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){E.logError("Error processing command :","prebid.js",e)}})}h.enableAnalytics=function(e){Y.push(Q.bind(this,e))},h.aliasBidder=function(e,t,n){E.logInfo("Invoking Lpbjs.aliasBidder",arguments),e&&t?O.aliasBidAdapter(e,t,n):E.logError("bidderCode and alias must be passed as arguments","Lpbjs.aliasBidder")},h.getAllWinningBids=function(){return m.a.getAllWinningBids()},h.getAllPrebidWinningBids=function(){return m.a.getBidsReceived().filter(function(e){return e.status===A.BID_STATUS.BID_TARGETING_SET})},h.getHighestCpmBids=function(e){return f.a.getWinningBids(e)},h.markWinningBidAsUsed=function(t){var e=[];t.adUnitCode&&t.adId?e=m.a.getBidsReceived().filter(function(e){return e.adId===t.adId&&e.adUnitCode===t.adUnitCode}):t.adUnitCode?e=f.a.getWinningBids(t.adUnitCode):t.adId?e=m.a.getBidsReceived().filter(function(e){return e.adId===t.adId}):E.logWarn("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."),0<e.length&&(e[0].status=A.BID_STATUS.RENDERED)},h.getConfig=d.b.getConfig,h.setConfig=d.b.setConfig,h.setBidderConfig=d.b.setBidderConfig,h.que.push(function(){return Object(o.a)()}),h.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){E.logError("Error processing command :",e.message,e.stack)}else E.logError("Commands written into Lpbjs.cmd.push must be wrapped in a function")},h.que.push=h.cmd.push,h.processQueue=function(){c.b.ready(),$(h.que),$(h.cmd)},t.default=h},7:function(e,t,n){"use strict";n.d(t,"c",function(){return l}),n.d(t,"d",function(){return p}),t.a=function(e){return o({moduleName:e,moduleType:"core"})},t.b=function(e,t){return o({gvlid:e,moduleName:t})};var r=n(13),u=n(0),i=n(12),d=n.n(i),f=["core","prebid-module"],l=[];function o(e){var t=0<arguments.length&&void 0!==e?e:{},i=t.gvlid,o=t.moduleName,a=t.moduleType;function s(n){if(d()(f,a)){return n({valid:!0})}var r;return p(i,o,{hasEnforcementHook:!1},function(e){var t;r=e&&e.hasEnforcementHook?n(e):(t={hasEnforcementHook:!1,valid:u.hasDeviceAccess()},n(t))}),r}var c=function(t){function n(e){if(e&&e.valid)try{return!!window.localStorage}catch(e){u.logError("Local storage api disabled")}return!1}if(!t||"function"!=typeof t)return s(n);l.push(function(){var e=s(n);t(e)})};return{setCookie:function(i,o,a,c,u,t){function n(e){var t,n,r;e&&e.valid&&(t=u&&""!==u?" ;domain=".concat(encodeURIComponent(u)):"",n=a&&""!==a?" ;expires=".concat(a):"",r=null!=c&&"none"==c.toLowerCase()?"; Secure":"",document.cookie="".concat(i,"=").concat(encodeURIComponent(o)).concat(n,"; path=/").concat(t).concat(c?"; SameSite=".concat(c):"").concat(r))}if(!t||"function"!=typeof t)return s(n);l.push(function(){var e=s(n);t(e)})},getCookie:function(n,t){function r(e){if(e&&e.valid){var t=window.document.cookie.match("(^|;)\\s*"+n+"\\s*=\\s*([^;]*)\\s*(;|$)");return t?decodeURIComponent(t[2]):null}return null}if(!t||"function"!=typeof t)return s(r);l.push(function(){var e=s(r);t(e)})},localStorageIsEnabled:function(t){function n(e){if(e&&e.valid)try{return localStorage.setItem("prebid.cookieTest","1"),"1"===localStorage.getItem("prebid.cookieTest")}catch(e){}return!1}if(!t||"function"!=typeof t)return s(n);l.push(function(){var e=s(n);t(e)})},cookiesAreEnabled:function(t){function n(e){return!(!e||!e.valid)&&(!!u.checkCookieSupport()||(window.document.cookie="prebid.cookieTest",-1!==window.document.cookie.indexOf("prebid.cookieTest")))}if(!t||"function"!=typeof t)return s(n);l.push(function(){var e=s(n);t(e)})},setDataInLocalStorage:function(t,n,r){function i(e){e&&e.valid&&c()&&window.localStorage.setItem(t,n)}if(!r||"function"!=typeof r)return s(i);l.push(function(){var e=s(i);r(e)})},getDataFromLocalStorage:function(t,n){function r(e){return e&&e.valid&&c()?window.localStorage.getItem(t):null}if(!n||"function"!=typeof n)return s(r);l.push(function(){var e=s(r);n(e)})},removeDataFromLocalStorage:function(t,n){function r(e){e&&e.valid&&c()&&window.localStorage.removeItem(t)}if(!n||"function"!=typeof n)return s(r);l.push(function(){var e=s(r);n(e)})},hasLocalStorage:c,findSimilarCookies:function(o,t){function n(e){if(e&&e.valid){var t=[];if(u.hasDeviceAccess())for(var n=document.cookie.split(";");n.length;){var r=n.pop(),i=(i=r.indexOf("="))<0?r.length:i;0<=decodeURIComponent(r.slice(0,i).replace(/^\s+/,"")).indexOf(o)&&t.push(decodeURIComponent(r.slice(i+1)))}return t}}if(!t||"function"!=typeof t)return s(n);l.push(function(){var e=s(n);t(e)})}}}var p=Object(r.b)("async",function(e,t,n,r){r(n)},"validateStorageEnforcement")},70:function(e,t,n){var r=n(358);e.exports=r},71:function(e,t,n){"use strict";t.a=function(t,n){o.adServers=o.adServers||{},o.adServers[t]=o.adServers[t]||{},Object.keys(n).forEach(function(e){o.adServers[t][e]?Object(i.logWarn)("Attempting to add an already registered function property ".concat(e," for AdServer ").concat(t,".")):o.adServers[t][e]=n[e]})};var r=n(20),i=n(0),o=Object(r.a)()},72:function(e,t,n){var r=n(31),i=n(48),o="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},73:function(e,t,n){var r=n(30),i=n(31),o=n(74);e.exports=!r&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},74:function(e,t,n){var r=n(26),i=n(27),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},75:function(e,t,n){var r=n(16),i=n(76);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"Â© 2020 Denis Pushkarev (zloirock.ru)"})},76:function(e,t,n){var r=n(26),i=n(105),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},77:function(e,t,n){var r=n(31);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},78:function(e,t,n){function r(c){return function(e,t,n){var r,i=u(e),o=s(i.length),a=d(n,o);if(c&&t!=t){for(;a<o;)if((r=i[a++])!=r)return!0}else for(;a<o;a++)if((c||a in i)&&i[a]===t)return c||a||0;return!c&&-1}}var u=n(47),s=n(50),d=n(109);e.exports={includes:r(!0),indexOf:r(!1)}},79:function(e,t,n){var r=n(110);n(133),n(135),n(137),n(139),n(141),n(142),n(143),n(144),n(145),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(153),n(154),e.exports=r},8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"gdprDataHandler",function(){return R}),n.d(t,"uspDataHandler",function(){return k}),t.setS2STestingModule=function(e){I=e};var S=n(0),p=n(93),g=n(37),l=n(1),h=n(4),A=n(3),r=n(13),i=n(12),E=n.n(i),o=n(10),O=n.n(o),b=n(67),T=n(22);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(){return(v=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}).apply(this,arguments)}var I,C=n(0),j=n(5),w=n(9),y={},_=y.bidderRegistry={},U=y.aliasRegistry={},B={};A.b.getConfig("s2sConfig",function(e){B=e.s2sConfig});var c={};var x=Object(r.b)("sync",function(e){var i=e.bidderCode,s=e.auctionId,d=e.bidderRequestId,t=e.adUnits,f=e.labels,l=e.src;return t.reduce(function(e,c){var t=Object(p.b)(Object(p.a)(c,f),c.mediaTypes,c.sizes),n=t.active,u=t.mediaTypes,r=t.filterResults;return n?r&&C.logInfo('Size mapping filtered adUnit "'.concat(c.code,'" banner sizes from '),r.before,"to ",r.after):C.logInfo('Size mapping disabled adUnit "'.concat(c.code,'"')),n&&e.push(c.bids.filter(function(e){return e.bidder===i}).reduce(function(e,t){var n=c.nativeParams||C.deepAccess(c,"mediaTypes.native");n&&(t=v({},t,{nativeParams:Object(g.h)(n)})),t=v({},t,Object(S.getDefinedParams)(c,["fpd","mediaType","renderer","storedAuctionResponse"]));var r=Object(p.b)(Object(p.a)(t,f),u),i=r.active,o=r.mediaTypes,a=r.filterResults;return i?a&&C.logInfo('Size mapping filtered adUnit "'.concat(c.code,'" bidder "').concat(t.bidder,'" banner sizes from '),a.before,"to ",a.after):C.logInfo('Size mapping deactivated adUnit "'.concat(c.code,'" bidder "').concat(t.bidder,'"')),C.isValidMediaTypes(o)?t=v({},t,{mediaTypes:o}):C.logError("mediaTypes is not correctly configured for adunit ".concat(c.code)),i&&e.push(v({},t,{adUnitCode:c.code,transactionId:c.transactionId,sizes:C.deepAccess(o,"banner.sizes")||C.deepAccess(o,"video.playerSize")||[],bidId:t.bid_id||C.getUniqueIdentifierStr(),bidderRequestId:d,auctionId:s,src:l,bidRequestsCount:b.a.getRequestsCounter(c.code),bidderRequestsCount:b.a.getBidderRequestsCounter(c.code,t.bidder),bidderWinsCount:b.a.getBidderWinsCounter(c.code,t.bidder)})),e},[])),e},[]).reduce(S.flatten,[]).filter(function(e){return""!==e})},"getBids");var R={consentData:null,setConsentData:function(e){R.consentData=e},getConsentData:function(){return R.consentData}},k={consentData:null,setConsentData:function(e){k.consentData=e},getConsentData:function(){return k.consentData}};function N(){return B&&B.enabled&&B.testing&&I}function u(t,n,e){try{var r=_[t].getSpec();r&&r[n]&&"function"==typeof r[n]&&(C.logInfo("Invoking ".concat(t,".").concat(n)),A.b.runWithBidder(t,S.bind.call(r[n],r,e)))}catch(e){C.logWarn("Error calling ".concat(n," of ").concat(t))}}y.makeBidRequests=Object(r.b)("sync",function(e,i,o,a,c){w.emit(j.EVENTS.BEFORE_REQUEST_BIDS,e);var u=[],t=Object(S.getBidderCodes)(e);A.b.getConfig("bidderSequence")===A.a&&(t=Object(S.shuffle)(t));var n,r,s,d,f,l,p,g=Object(T.a)(),b=t,v=[];B.enabled&&(N()&&(v=I.getSourceBidderMap(e)[I.CLIENT]),n=B.bidders,b=t.filter(function(e){return!E()(n,e)||E()(v,e)}),Boolean(N()&&B.testServerOnly)&&(p=e,Boolean(O()(p,function(e){return O()(e.bids,function(e){return(e.bidSource||B.bidderControl&&B.bidderControl[e.bidder])&&e.finalSource===I.SERVER})})))&&(b.length=0),d=e,f=B.bidders,(l=C.deepClone(d)).forEach(function(e){e.bids=e.bids.filter(function(e){return E()(f,e.bidder)&&(!N()||e.finalSource!==I.CLIENT)}).map(function(e){return e.bid_id=C.getUniqueIdentifierStr(),e})}),r=l=l.filter(function(e){return 0!==e.bids.length}),s=C.generateUUID(),n.forEach(function(e){var t=C.getUniqueIdentifierStr(),n={bidderCode:e,auctionId:o,bidderRequestId:t,tid:s,bids:x({bidderCode:e,auctionId:o,bidderRequestId:t,adUnits:C.deepClone(r),labels:c,src:j.S2S.SRC}),auctionStart:i,timeout:B.timeout,src:j.S2S.SRC,refererInfo:g};0!==n.bids.length&&u.push(n)}),r.forEach(function(e){var t=e.bids.filter(function(t){return O()(u,function(e){return O()(e.bids,function(e){return e.bidId===t.bid_id})})});e.bids=t}),u.forEach(function(e){e.adUnitsS2SCopy=r.filter(function(e){return 0<e.bids.length})}));var y,h,m=(y=e,(h=C.deepClone(y)).forEach(function(e){e.bids=e.bids.filter(function(e){return!N()||e.finalSource!==I.SERVER})}),h=h.filter(function(e){return 0!==e.bids.length}));return b.forEach(function(e){var t=C.getUniqueIdentifierStr(),n={bidderCode:e,auctionId:o,bidderRequestId:t,bids:x({bidderCode:e,auctionId:o,bidderRequestId:t,adUnits:C.deepClone(m),labels:c,src:"client"}),auctionStart:i,timeout:a,refererInfo:g},r=_[e];r||C.logError("Trying to make a request for bidder that does not exist: ".concat(e)),r&&n.bids&&0!==n.bids.length&&u.push(n)}),R.getConsentData()&&u.forEach(function(e){e.gdprConsent=R.getConsentData()}),k.getConsentData()&&u.forEach(function(e){e.uspConsent=k.getConsentData()}),u},"makeBidRequests"),y.callBids=function(e,t,i,o,a,c,u){var n,r,s,d,f,l,p,g,b,v,y;t.length?(r=(n=m(t.reduce(function(e,t){return e[Number(void 0!==t.src&&t.src===j.S2S.SRC)].push(t),e},[[],[]]),2))[0],(s=n[1]).length&&(d=Object(h.b)(c,a?{request:a.request.bind(null,"s2s"),done:a.done}:void 0),f=B.bidders,l=_[B.adapter],p=s[0].tid,g=s[0].adUnitsS2SCopy,l?(b={tid:p,ad_units:g}).ad_units.length&&(v=s.map(function(e){return e.start=Object(S.timestamp)(),o.bind(e)}),y=b.ad_units.reduce(function(e,t){return e.concat((t.bids||[]).reduce(function(e,t){return e.concat(t.bidder)},[]))},[]),C.logMessage("CALLING S2S HEADER BIDDERS ==== ".concat(f.filter(function(e){return E()(y,e)}).join(","))),s.forEach(function(e){w.emit(j.EVENTS.BID_REQUESTED,e)}),l.callBids(b,s,function(e,t){var n=Object(S.getBidderRequest)(s,t.bidderCode,e);n&&i.call(n,e,t)},function(){return v.forEach(function(e){return e()})},d)):C.logError("missing "+B.adapter)),r.forEach(function(t){t.start=Object(S.timestamp)();var e=_[t.bidderCode];C.logMessage("CALLING BIDDER ======= ".concat(t.bidderCode)),w.emit(j.EVENTS.BID_REQUESTED,t);var n=Object(h.b)(c,a?{request:a.request.bind(null,t.bidderCode),done:a.done}:void 0),r=o.bind(t);try{A.b.runWithBidder(t.bidderCode,S.bind.call(e.callBids,e,t,i.bind(t),r,n,u,A.b.callbackWithBidder(t.bidderCode)))}catch(e){C.logError("".concat(t.bidderCode," Bid Adapter emitted an uncaught error when parsing their bidRequest"),{e:e,bidRequest:t}),r()}})):C.logWarn("callBids executed with no bidRequests.  Were they filtered by labels or sizing?")},y.videoAdapters=[],y.registerBidAdapter=function(e,t){var n=(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,r=void 0===n?[]:n;e&&t?"function"==typeof e.callBids?(_[t]=e,E()(r,"video")&&y.videoAdapters.push(t),E()(r,"native")&&g.f.push(t)):C.logError("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):C.logError("bidAdaptor or bidderCode not specified")},y.aliasBidAdapter=function(t,e,n){var r,i;if(void 0===_[e]){var o=_[t];if(void 0===o){var a=A.b.getConfig("s2sConfig"),c=a&&a.bidders;c&&E()(c,e)?U[e]=t:C.logError('bidderCode "'+t+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}else try{var u,s,d,f=(r=t,i=[],E()(y.videoAdapters,r)&&i.push("video"),E()(g.f,r)&&i.push("native"),i);o.constructor.prototype!=Object.prototype?(d=new o.constructor).setBidderCode(e):(u=o.getSpec(),s=n&&n.gvlid,d=Object(l.newBidder)(v({},u,{code:e,gvlid:s})),U[e]=t),y.registerBidAdapter(d,e,{supportedMediaTypes:f})}catch(e){C.logError(t+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else C.logMessage('alias name "'+e+'" has been already specified.')},y.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code,r=e.gvlid;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,c[n]={adapter:t,gvlid:r}):C.logError('Prebid Error: Analytics adaptor error for analytics "'.concat(n,'"\n        analytics adapter must implement an enableAnalytics() function')):C.logError("Prebid Error: analyticsAdapter or analyticsCode not specified")},y.enableAnalytics=function(e){C.isArray(e)||(e=[e]),C._each(e,function(e){var t=c[e.provider].adapter;t?t.enableAnalytics(e):C.logError("Prebid Error: no analytics adapter found in registry for\n        ".concat(e.provider,"."))})},y.getBidAdapter=function(e){return _[e]},y.getAnalyticsAdapter=function(e){return c[e]},y.callTimedOutBidders=function(t,n,r){n=n.map(function(e){return e.params=C.getUserConfiguredParams(t,e.adUnitCode,e.bidder),e.timeout=r,e}),n=C.groupBy(n,"bidder"),Object.keys(n).forEach(function(e){u(e,"onTimeout",n[e])})},y.callBidWonBidder=function(e,t,n){t.params=C.getUserConfiguredParams(n,t.adUnitCode,t.bidder),b.a.incrementBidderWinsCounter(t.adUnitCode,t.bidder),u(e,"onBidWon",t)},y.callSetTargetingBidder=function(e,t){u(e,"onSetTargeting",t)},t.default=y},80:function(e,t,n){function r(e){c(e,d,{value:{objectID:"O"+ ++f,weakData:{}}})}var i=n(53),o=n(27),a=n(28),c=n(33).f,u=n(59),s=n(113),d=u("meta"),f=0,l=Object.isExtensible||function(){return!0},p=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,d)){if(!l(e))return"F";if(!t)return"E";r(e)}return e[d].objectID},getWeakData:function(e,t){if(!a(e,d)){if(!l(e))return!0;if(!t)return!1;r(e)}return e[d].weakData},onFreeze:function(e){return s&&p.REQUIRED&&l(e)&&!a(e,d)&&r(e),e}};i[d]=!0},81:function(e,t,n){var r=n(21),i=n(38),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},82:function(e,t,n){var o=n(15);e.exports=function(t,e,n,r){try{return r?e(o(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&o(i.call(t)),e}}},83:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},84:function(e,t,n){function r(){}function i(e){return"<script>"+e+"</"+g+">"}var o,a=n(15),c=n(118),u=n(85),s=n(53),d=n(121),f=n(74),l=n(65),p="prototype",g="script",b=l("IE_PROTO"),v=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;v=o?function(e){e.write(i("")),e.close();var t=e.parentWindow.Object;return e=null,t}(o):((t=f("iframe")).style.display="none",d.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(i("document.F=Object")),e.close(),e.F);for(var n=u.length;n--;)delete v[p][u[n]];return v()};s[b]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(r[p]=a(e),n=new r,r[p]=null,n[b]=e):n=v(),void 0===t?n:c(n,t)}},85:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},86:function(e,t,n){var i=n(32);e.exports=function(e,t,n,r){r&&r.enumerable?e[t]=n:i(e,t,n)}},87:function(e,t,n){"use strict";var r,i,o,a=n(88),c=n(32),u=n(28),s=n(21),d=n(16),f=s("iterator"),l=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):l=!0),null==r&&(r={}),d||u(r,f)||c(r,f,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:l}},88:function(e,t,n){var r=n(28),i=n(57),o=n(65),a=n(124),c=o("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},89:function(e,t,n){"use strict";var i=n(129).charAt,r=n(54),o=n(66),a="String Iterator",c=r.set,u=r.getterFor(a);o(String,"String",function(e){c(this,{type:a,string:String(e),index:0})},function(){var e,t=u(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=i(n,r),t.index+=e.length,{value:e,done:!1})})},9:function(e,t,n){function r(){return(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}).apply(this,arguments)}var c,i,u=n(0),o=n(5),a=Array.prototype.slice,s=Array.prototype.push,d=u._map(o.EVENTS,function(e){return e}),f=o.EVENT_ID_PATHS,l=[];e.exports=(c={},(i={}).on=function(e,t,n){var r,i;i=e,u.contains(d,i)?(r=c[e]||{que:[]},n?(r[n]=r[n]||{que:[]},r[n].que.push(t)):r.que.push(t),c[e]=r):u.logError("Wrong event name : "+e+" Valid event names :"+d)},i.emit=function(e){!function(e,t){u.logMessage("Emitting event for: "+e);var n=t[0]||{},r=n[f[e]],i=c[e]||{que:[]},o=u._map(i,function(e,t){return t}),a=[];l.push({eventType:e,args:n,id:r,elapsedTime:u.getPerformanceNow()}),r&&u.contains(o,r)&&s.apply(a,i[r].que),s.apply(a,i.que),u._each(a,function(e){if(e)try{e.apply(null,t)}catch(e){u.logError("Error executing handler:","events.js",e)}})}(e,a.call(arguments,1))},i.off=function(e,n,r){var i=c[e];u.isEmpty(i)||u.isEmpty(i.que)&&u.isEmpty(i[r])||r&&(u.isEmpty(i[r])||u.isEmpty(i[r].que))||(r?u._each(i[r].que,function(e){var t=i[r].que;e===n&&t.splice(t.indexOf(e),1)}):u._each(i.que,function(e){var t=i.que;e===n&&t.splice(t.indexOf(e),1)}),c[e]=i)},i.get=function(){return c},i.getEvents=function(){var n=[];return u._each(l,function(e){var t=r({},e);n.push(t)}),n},i)},90:function(e,t,n){var r=n(15),i=n(61);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},91:function(e,t,n){var r=n(155);e.exports=r},92:function(e,t,n){"use strict";t.a=function(e){var t=e;return{callBids:function(){},setBidderCode:function(e){t=e},getBidderCode:function(){return t}}}},93:function(e,t,n){"use strict";t.a=function(e,t){if(e.labelAll)return{labelAll:!0,labels:e.labelAll,activeLabels:t};return{labelAll:!1,labels:e.labelAny,activeLabels:t}},t.c=function(e){var t=v(1<arguments.length&&void 0!==arguments[1]?arguments[1]:b);return!t.shouldFilter||!!t.sizesSupported[e]},t.b=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.labels,n=void 0===t?[]:t,r=e.labelAll,i=void 0!==r&&r,o=e.activeLabels,a=void 0===o?[]:o,c=1<arguments.length?arguments[1]:void 0,u=2<arguments.length?arguments[2]:void 0,s=v(3<arguments.length&&void 0!==arguments[3]?arguments[3]:b);c=Object(p.isPlainObject)(c)?Object(p.deepClone)(c):u?{banner:{sizes:u}}:{};var d=Object(p.deepAccess)(c,"banner.sizes");s.shouldFilter&&d&&(c.banner.sizes=d.filter(function(e){return s.sizesSupported[e]}));var f=Object.keys(c),l={active:f.every(function(e){return"banner"!==e})||f.some(function(e){return"banner"===e})&&0<Object(p.deepAccess)(c,"banner.sizes.length")&&(0===n.length||!i&&(n.some(function(e){return s.labels[e]})||n.some(function(e){return g()(a,e)}))||i&&n.reduce(function(e,t){return e?s.labels[t]||g()(a,t):e},!0)),mediaTypes:c};d&&d.length!==c.banner.sizes.length&&(l.filterResults={before:d,after:c.banner.sizes});return l};var r=n(3),p=n(0),i=n(12),g=n.n(i);function o(e){return(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})(e)}var b=[];function v(e){return e.reduce(function(n,r){if("object"===o(r)&&"string"==typeof r.mediaQuery){var t=!1;if(""===r.mediaQuery)t=!0;else try{t=Object(p.getWindowTop)().matchMedia(r.mediaQuery).matches}catch(e){Object(p.logWarn)("Unfriendly iFrame blocks sizeConfig from being correctly evaluated"),t=matchMedia(r.mediaQuery).matches}t&&(Array.isArray(r.sizesSupported)&&(n.shouldFilter=!0),["labels","sizesSupported"].forEach(function(t){return(r[t]||[]).forEach(function(e){return n[t][e]=!0})}))}else Object(p.logWarn)('sizeConfig rule missing required property "mediaQuery"');return n},{labels:{},sizesSupported:{},shouldFilter:!1})}r.b.getConfig("sizeConfig",function(e){return t=e.sizeConfig,void(b=t);var t})},930:function(e,t,n){e.exports=n(69)},94:function(e,t,n){var r=n(222);e.exports=r},95:function(e,t,n){"use strict";t.b=function(e,t,n){var r={puts:e.map(c,n)};Object(i.a)(o.b.getConfig("cache.url"),function(n){return{success:function(e){var t;try{t=JSON.parse(e).responses}catch(e){return void n(e,[])}t?n(null,t):n(new Error("The cache server didn't respond with a responses property."),[])},error:function(e,t){n(new Error("Error storing video ad in the cache: ".concat(e,": ").concat(JSON.stringify(t))),[])}}}(t),JSON.stringify(r),{contentType:"text/plain",withCredentials:!0})},t.a=function(e){return"".concat(o.b.getConfig("cache.url"),"?uuid=").concat(e)};var i=n(4),o=n(3),a=n(0);function c(e){var t,n,r,i={type:"xml",value:e.vastXml?e.vastXml:(t=e.vastUrl,n=e.vastImpUrl,r=n?"<![CDATA[".concat(n,"]]>"):"",'<VAST version="3.0">\n    <Ad>\n      <Wrapper>\n        <AdSystem>prebid.org wrapper</AdSystem>\n        <VASTAdTagURI><![CDATA['.concat(t,"]]></VASTAdTagURI>\n        <Impression>").concat(r,"</Impression>\n        <Creatives></Creatives>\n      </Wrapper>\n    </Ad>\n  </VAST>")),ttlseconds:Number(e.ttl)};return o.b.getConfig("cache.vasttrack")&&(i.bidder=e.bidder,i.bidid=e.requestId,a.isPlainObject(this)&&this.hasOwnProperty("auctionStart")&&(i.timestamp=this.auctionStart)),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(i.key=e.customCacheKey),i}},98:function(e,t,n){n(99);var r=n(52);e.exports=r("Array","find")},99:function(e,t,n){"use strict";var r=n(14),i=n(56).find,o=n(51),a=n(60),c="find",u=!0,s=a(c);c in[]&&Array(1).find(function(){u=!1}),r({target:"Array",proto:!0,forced:u||!s},{find:function(e,t){return i(this,e,1<arguments.length?t:void 0)}}),o(c)}});
LpbjsChunk([226],{509:function(e,r,t){e.exports=t(510)},510:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",function(){return c});var F=t(0),j=t(2),B=t(3),i=t(10),l=t.n(i),n=t(511),s=t.n(n),a=t(1);function J(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"==typeof e)return o(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o(e,r)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=new Array(r);t<r;t++)i[t]=e[t];return i}function d(r,e){var t,i=Object.keys(r);return Object.getOwnPropertySymbols&&(t=Object.getOwnPropertySymbols(r),e&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})),i.push.apply(i,t)),i}function M(n){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?d(Object(s),!0).forEach(function(e){var r,t,i;r=n,i=s[t=e],t in r?Object.defineProperty(r,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[t]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(s)):d(Object(s)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(s,e))})}return n}function N(e){return(N="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})(e)}var p=[j.b,j.d],f=100,g=300,b=3600,h=!0,v={JPY:1};function C(e){var r={};return r.id=e.bidId,r.ext={},r.ext.siteID=e.params.siteId,!e.params.hasOwnProperty("id")||"string"!=typeof e.params.id&&"number"!=typeof e.params.id?r.ext.sid="".concat(e.params.size[0],"x").concat(e.params.size[1]):r.ext.sid=String(e.params.id),e.params.hasOwnProperty("bidFloor")&&e.params.hasOwnProperty("bidFloorCur")&&(r.bidfloor=e.params.bidFloor,r.bidfloorcur=e.params.bidFloorCur),r}function m(e){return Array.isArray(e)&&2===e.length&&s()(e[0])&&s()(e[1])}function T(e,r){if(m(e))return e[0]===r[0]&&e[1]===r[1];for(var t=0;t<e.length;t++)if(e[t][0]===r[0]&&e[t][1]===r[1])return 1}function A(e,r,t,i){var n=[],s="https://htlb.casalemedia.com/cygnus",a={},o=e[0].userId;if(o&&"object"===N(o)&&o.idl_env&&function(e,r,t,i,n,s){if(t)return r[n]=1,e.push({source:i,uids:[{id:t,ext:{rtiPartner:s}}]});F.logWarn("Tried to add a user ID from Prebid, the ID received was null")}(n,a,o.idl_env,"liveramp.com","LiveRampIp","idl"),window.headertag&&"function"==typeof window.headertag.getIdentityInfo){var d,p=window.headertag.getIdentityInfo();if(p&&"object"===N(p))for(var m in p){p.hasOwnProperty(m)&&(a.hasOwnProperty(m)||!(d=p[m]).responsePending&&d.data&&"object"===N(d.data)&&Object.keys(d.data).length&&n.push(d.data))}}var c,u={};u.id=e[0].bidderRequestId,u.site={},u.ext={},u.ext.source="prebid",u.ext.ixdiag={},e[0].schain&&(u.source={ext:{schain:e[0].schain}}),0<n.length&&(u.user={},u.user.eids=n),document.referrer&&""!==document.referrer&&(u.site.ref=document.referrer),r&&(r.gdprConsent&&((c=r.gdprConsent).hasOwnProperty("gdprApplies")&&(u.regs={ext:{gdpr:c.gdprApplies?1:0}}),c.hasOwnProperty("consentString")&&(u.user=u.user||{},u.user.ext={consent:c.consentString||""})),r.uspConsent&&F.deepSetValue(u,"regs.ext.us_privacy",r.uspConsent),r.refererInfo&&(u.site.page=r.refererInfo.referer));var y={},l=r&&r.bidderCode||"ix",f=B.b.getConfig(l);if(f){if("object"===N(f.firstPartyData)){var g=f.firstPartyData,b="?";for(var h in g)g.hasOwnProperty(h)&&(b+="".concat(encodeURIComponent(h),"=").concat(encodeURIComponent(g[h]),"&"));b=b.slice(0,-1),u.site.page+=b}"number"==typeof f.timeout&&(y.t=f.timeout),"boolean"==typeof f.detectMissingSizes?u.ext.ixdiag.dms=f.detectMissingSizes:u.ext.ixdiag.dms=!0}y.s=e[0].params.siteId,y.v=i,y.ac="j",y.sd=1,8.1===i&&(y.nf=1);var v=[],O={method:"GET",url:s,data:y},x=new Blob(["".concat(O.url).concat(F.parseQueryStringParameters(M(M({},O.data),{},{r:JSON.stringify(u)})))]).size,I=x,w=0,P=0,S=0;u.ext.ixdiag.msd=0,u.ext.ixdiag.msi=0,u.imp=[];for(var z,j,C,T,A,E=0,D=Object.keys(t),R=[];E<D.length&&v.length<4;){t[D[E]].hasOwnProperty("missingCount")&&(S=t[D[E]].missingCount),function(e,r){var t=new Blob([encodeURIComponent(JSON.stringify(e))]).size;if(t<r)return;for(;r<t;)e.hasOwnProperty("missingImps")&&0<e.missingImps.length?e.missingImps.pop():e.hasOwnProperty("ixImps")&&0<e.ixImps.length&&e.ixImps.pop(),t=new Blob([encodeURIComponent(JSON.stringify(e))]).size}(t[D[E]],8e3-x),t[D[E]].hasOwnProperty("missingImps")&&(P=t[D[E]].missingImps.length),(I+=new Blob([encodeURIComponent(JSON.stringify(t[D[E]]))]).size)<8e3?((z=u.imp).push.apply(z,J(t[D[E]].ixImps)),u.ext.ixdiag.msd+=S,u.ext.ixdiag.msi+=P,t[D[E]].hasOwnProperty("missingImps")&&R.push.apply(R,J(t[D[E]].missingImps)),E++):(C=F.deepClone(y),(j=u.imp).push.apply(j,J(R)),u.ext.ixdiag.sn=w,C.sn=w,w++,C.r=JSON.stringify(u),v.push({method:"GET",url:s,data:C}),R=[],I=x,u.imp=[],P=S=0,u.ext.ixdiag.msd=0,u.ext.ixdiag.msi=0)}return x<I&&I<8e3&&v.length<4&&(A=F.deepClone(y),(T=u.imp).push.apply(T,J(R)),0<v.length&&(u.ext.ixdiag.sn=w,A.sn=w),A.r=JSON.stringify(u),v.push({method:"GET",url:s,data:A})),v}function E(e,r){for(var t=0;t<e.length;t++)if(r[0]==e[t][0]&&r[1]==e[t][1])return e.splice(t,1),1}var c={code:"ix",gvlid:10,supportedMediaTypes:p,isBidRequestValid:function(e){if(!m(e.params.size))return F.logError("ix bidder params: bid size has invalid format."),!1;if(!T(e.sizes,e.params.size))return F.logError("ix bidder params: bid size is not included in ad unit sizes."),!1;if(e.hasOwnProperty("mediaType")&&!F.contains(p,e.mediaType))return!1;if(e.hasOwnProperty("mediaTypes")&&!F.deepAccess(e,"mediaTypes.banner.sizes")&&!F.deepAccess(e,"mediaTypes.video.playerSize"))return!1;if("string"!=typeof e.params.siteId&&"number"!=typeof e.params.siteId)return F.logError("ix bidder params: siteId must be string or number value."),!1;var r,t,i=e.params.hasOwnProperty("bidFloor"),n=e.params.hasOwnProperty("bidFloorCur");return!!(!i&&!n||i&&n&&(r=e.params.bidFloor,t=e.params.bidFloorCur,Boolean("number"==typeof r&&"string"==typeof t&&t.match(/^[A-Z]{3}$/))))||(F.logError("ix bidder params: bidFloor / bidFloorCur parameter has invalid format."),!1)},buildRequests:function(e,r){for(var t,i,n,s,a,o,d,p,m,c,u,y,l,f=[],g={},b={},h=null,v={},O=M(M({},{detectMissingSizes:!0}),B.b.getConfig("ix")),x=0;x<e.length;x++){(h=e[x]).mediaType!==j.d&&!F.deepAccess(h,"mediaTypes.video")||(h.mediaType===j.d||T(h.mediaTypes.video.playerSize,h.params.size)?(b.hasOwnProperty(h.transactionId)||(b[h.transactionId]={}),b[h.transactionId].hasOwnProperty("ixImps")||(b[h.transactionId].ixImps=[]),b[h.transactionId].ixImps.push(function(e){var r=C(e);r.video=F.deepClone(e.params.video),r.video.w=e.params.size[0],r.video.h=e.params.size[1];var t=F.deepAccess(e,"mediaTypes.video.context");return t&&("instream"===t?r.video.placement=1:"outstream"===t?r.video.placement=4:F.logWarn("ix bidder params: video context '".concat(t,"' is not supported"))),r}(h))):F.logError("Bid size is not included in video playerSize")),h.mediaType!==j.b&&!F.deepAccess(h,"mediaTypes.banner")&&(h.mediaType||h.mediaTypes)||(c=void 0,(c=C(m=h)).banner={},c.banner.w=m.params.size[0],c.banner.h=m.params.size[1],c.banner.topframe=F.inIframe()?0:1,t=c,g.hasOwnProperty(h.transactionId)||(g[h.transactionId]={}),g[h.transactionId].hasOwnProperty("ixImps")||(g[h.transactionId].ixImps=[]),g[h.transactionId].ixImps.push(t),O.hasOwnProperty("detectMissingSizes")&&O.detectMissingSizes&&(n=v,s=t,p=d=o=a=void 0,p=(i=h).transactionId,n.hasOwnProperty(p)?(a=[],n[p].hasOwnProperty("missingSizes")&&(a=n[p].missingSizes),E(a,i.params.size),n[p].missingSizes=a):F.deepAccess(i,"mediaTypes.banner.sizes")&&(E(o=F.deepClone(i.mediaTypes.banner.sizes),i.params.size),d={missingSizes:o,impression:s},n[p]=d)))}for(var I in v)if(v.hasOwnProperty(I)){var w=v[I].missingSizes;g.hasOwnProperty(I)||(g[I]={}),g[I].hasOwnProperty("missingImps")||(g[I].missingImps=[],g[I].missingCount=0);for(var P=v[I].impression,S=0;S<w.length;S++){var z=(u=P,y=w[S],l=void 0,(l=F.deepClone(u)).ext.sid="".concat(y[0],"x").concat(y[1]),l.banner.w=y[0],l.banner.h=y[1],l);g[I].missingImps.push(z),g[I].missingCount++}}return 0<Object.keys(g).length&&f.push.apply(f,J(A(e,r,g,7.2))),0<Object.keys(b).length&&f.push.apply(f,J(A(e,r,b,8.1))),f},interpretResponse:function(e,r){var t=[];if(!e.hasOwnProperty("body")||!e.body.hasOwnProperty("seatbid"))return t;for(var i,n,s,a,o=e.body,d=o.seatbid,p=0;p<d.length;p++)if(d[p].hasOwnProperty("bid"))for(var m=d[p].bid,c=JSON.parse(r.data.r),u=0;u<m.length;u++){var y=function(r,e){if(r)return l()(e,function(e){return e.id===r})}(m[u].impid,c.imp);i=m[u],n=o.cur,s=y,a=void 0,a={},v.hasOwnProperty(n)?a.cpm=i.price/v[n]:a.cpm=i.price/f,a.requestId=i.impid,a.dealId=F.deepAccess(i,"ext.dealid"),a.netRevenue=h,a.currency=n,a.creativeId=i.hasOwnProperty("crid")?i.crid:"-",F.deepAccess(i,"ext.vasturl")?(a.vastUrl=i.ext.vasturl,a.width=s.video.w,a.height=s.video.h,a.mediaType=j.d,a.ttl=b):(a.ad=i.adm,a.width=i.w,a.height=i.h,a.mediaType=j.b,a.ttl=g),a.meta={},a.meta.networkId=F.deepAccess(i,"ext.dspid"),a.meta.brandId=F.deepAccess(i,"ext.advbrandid"),a.meta.brandName=F.deepAccess(i,"ext.advbrand"),i.adomain&&0<i.adomain.length&&(a.meta.advertiserDomains=i.adomain),t.push(a)}return t},transformBidParams:function(e){return F.convertTypes({siteID:"number"},e)},getUserSyncs:function(e){return e.iframeEnabled?[{type:"iframe",url:"https://js-sec.indexww.com/um/ixmatch.html"}]:[]}};Object(a.registerBidder)(c)}},[509]);
LpbjsChunk([177],{633:function(e,t,r){e.exports=r(634)},634:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"USER_ID_CODE_TO_QUERY_ARG",function(){return f}),r.d(t,"spec",function(){return o});var c=r(3),n=r(1),d=r(0),u=r(2);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(n=(s=o.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=[u.b,u.d],p="hb_pb",m="3.0.3",l="USD",f={britepoolid:"britepoolid",criteoId:"criteoid",digitrustid:"digitrustid",id5id:"id5id",idl_env:"lre",lipb:"lipbid",netId:"netid",parrableId:"parrableid",pubcid:"pubcid",tdid:"ttduuid"},o={code:"openx",gvlid:69,supportedMediaTypes:a,isBidRequestValid:function(e){var t=e.params.delDomain||e.params.platform;return d.deepAccess(e,"mediaTypes.banner")&&t?!!e.params.unit||0<d.deepAccess(e,"mediaTypes.banner.sizes.length"):!(!e.params.unit||!t)},buildRequests:function(e,n){if(0===e.length)return[];var i=[],t=s(e.reduce(function(e,t){var r;return r=t,d.deepAccess(r,"mediaTypes.video")&&!d.deepAccess(r,"mediaTypes.banner")||r.mediaType===u.d?e[0].push(t):e[1].push(t),e},[[],[]]),2),r=t[0],a=t[1];return 0<a.length&&i.push(function(e,t){var n=[],i=!1,r=h(e,t),a=d._map(e,function(e){return e.params.unit});r.aus=d._map(e,function(e){return d.parseSizesInput(e.mediaTypes.banner.sizes).join(",")}).join("|"),r.divIds=d._map(e,function(e){return encodeURIComponent(e.adUnitCode)}).join(","),a.some(function(e){return e})&&(r.auid=a.join(","));e.some(function(e){return e.params.doNotTrack})&&(r.ns=1);!0!==c.b.getConfig("coppa")&&!e.some(function(e){return e.params.coppa})||(r.tfcd=1);e.forEach(function(t){var e,r;t.params.customParams?(e=d._map(Object.keys(t.params.customParams),function(e){return function(e,t){var r=t[e];d.isArray(r)&&(r=r.join(","));return(e.toLowerCase()+"="+r.toLowerCase()).replace("+",".").replace("/","_")}(e,t.params.customParams)}),r=window.btoa(e.join("&")),i=!0,n.push(r)):n.push("")}),i&&(r.tps=n.join(","));var s=[],o=!1;e.forEach(function(e){var t=function(e,t){var r={},n=c.b.getConfig("currency.adServerCurrency")||l;"function"==typeof e.getFloor&&(r=e.getFloor({currency:n,mediaType:t,size:"*"}));var i=r.floor||e.params.customFloor||0;return Math.round(1e3*i)}(e,u.b);t?(s.push(t),o=!0):s.push(0)}),o&&(r.aumfs=s.join(","));return{method:"GET",url:r.ph?"https://u.openx.net/w/1.0/arj":"https://".concat(e[0].params.delDomain,"/w/1.0/arj"),data:r,payload:{bids:e,startTime:new Date}}}(a,n)),0<r.length&&r.forEach(function(e){var t,r;i.push({method:"GET",url:(r=function(e,t){var r,n,i=h([e],t),a=d.deepAccess(e,"params.video")||{},s=d.deepAccess(e,"mediaTypes.video.context"),o=d.deepAccess(e,"mediaTypes.video.playerSize");d.isArray(e.sizes)&&2===e.sizes.length&&!d.isArray(e.sizes[0])?(r=parseInt(e.sizes[0],10),n=parseInt(e.sizes[1],10)):d.isArray(e.sizes)&&d.isArray(e.sizes[0])&&2===e.sizes[0].length?(r=parseInt(e.sizes[0][0],10),n=parseInt(e.sizes[0][1],10)):d.isArray(o)&&2===o.length&&(r=parseInt(o[0],10),n=parseInt(o[1],10));Object.keys(a).forEach(function(e){"openrtb"===e?(a[e].w=r||a[e].w,a[e].v=n||a[e].v,i[e]=JSON.stringify(a[e])):e in i||"url"===e||(i[e]=a[e])}),i.auid=e.params.unit,i.vwd=r||a.vwd,i.vht=n||a.vht,"outstream"===s&&(i.vos="101");a.mimes&&(i.vmimes=a.mimes);e.params.test&&(i.vtest=1);return i}(t=e,n)).ph?"https://u.openx.net/v/1.0/avjp":"https://".concat(t.params.delDomain,"/v/1.0/avjp"),data:r,payload:{bid:t,startTime:new Date}})}),i},interpretResponse:function(e,t){var r=e.body;return((/avjp$/.test(t.url)?u.d:u.b)===u.d?function(e,t){var r=t.bid,n=(t.startTime,[]);{var i,a;void 0!==e&&""!==e.vastUrl&&0<e.pub_rev&&(i=d.parseUrl(e.vastUrl).search||{},(a={}).requestId=r.bidId,a.ttl=300,a.netRevenue=!0,a.currency=e.currency,a.cpm=parseInt(e.pub_rev,10)/1e3,a.width=parseInt(e.width,10),a.height=parseInt(e.height,10),a.creativeId=e.adid,a.vastUrl=e.vastUrl,a.mediaType=u.d,e.ph=i.ph,e.colo=i.colo,e.ts=i.ts,n.push(a))}return n}:function(e,t){for(var r=t.bids,n=(t.startTime,e.ads.ad),i=[],a=0;a<n.length;a++){var s,o=n[a],c=parseInt(o.idx,10),d={};d.requestId=r[c].bidId,o.pub_rev&&(d.cpm=Number(o.pub_rev)/1e3,(s=o.creative[0])&&(d.width=s.width,d.height=s.height),d.creativeId=s.id,d.ad=o.html,o.deal_id&&(d.dealId=o.deal_id),d.ttl=300,d.netRevenue=!0,d.currency=o.currency,o.tbd&&(d.tbd=o.tbd),d.ts=o.ts,d.meta={},o.brand_id&&(d.meta.brandId=o.brand_id),o.adv_id&&(d.meta.dspid=o.adv_id),i.push(d))}return i})(r,t.payload)},getUserSyncs:function(e,t,r,n){if(e.iframeEnabled||e.pixelEnabled)return[{type:e.iframeEnabled?"iframe":"image",url:d.deepAccess(t,"0.body.ads.pixels")||d.deepAccess(t,"0.body.pixels")||function(e,t){var r=[];e&&(r.push("gdpr="+(e.gdprApplies?1:0)),r.push("gdpr_consent="+encodeURIComponent(e.consentString||"")));t&&r.push("us_privacy="+encodeURIComponent(t));return"".concat("https://u.openx.net/w/1.0/pd").concat(0<r.length?"?"+r.join("&"):"")}(r,n)}]},transformBidParams:function(e){return d.convertTypes({unit:"string",customFloor:"number"},e)}};function h(e,t){var r,n,i,a,s=d.inIframe(),o={ju:c.b.getConfig("pageUrl")||t.refererInfo.referer,ch:document.charSet||document.characterSet,res:"".concat(screen.width,"x").concat(screen.height,"x").concat(screen.colorDepth),ifr:s,tz:(new Date).getTimezoneOffset(),tws:function(e){var t,r,n,i=window,a=document,s=a.documentElement;if(e){try{i=window.top,a=window.top.document}catch(e){return}s=a.documentElement,n=a.body,t=i.innerWidth||s.clientWidth||n.clientWidth,r=i.innerHeight||s.clientHeight||n.clientHeight}else s=a.documentElement,t=i.innerWidth||s.clientWidth,r=i.innerHeight||s.clientHeight;return"".concat(t,"x").concat(r)}(s),be:1,bc:e[0].params.bc||"".concat(p,"_").concat(m),dddid:d._map(e,function(e){return e.transactionId}).join(","),nocache:(new Date).getTime()};return e[0].params.platform&&(o.ph=e[0].params.platform),t.gdprConsent&&(void 0!==(r=t.gdprConsent).consentString&&(o.gdpr_consent=r.consentString),void 0!==r.gdprApplies&&(o.gdpr=r.gdprApplies?1:0),"iab"===c.b.getConfig("consentManagement.cmpApi")&&(o.x_gdpr_f=1)),t&&t.uspConsent&&(o.us_privacy=t.uspConsent),d.deepAccess(e[0],"crumbs.pubcid")&&d.deepSetValue(e[0],"userId.pubcid",d.deepAccess(e[0],"crumbs.pubcid")),n=o,i=e[0].userId,d._each(i,function(e,t){var r=f[t];if(f.hasOwnProperty(t))switch(t){case"digitrustid":n[r]=d.deepAccess(e,"data.id");break;case"lipb":n[r]=e.lipbid;break;case"parrableId":n[r]=e.eid;break;case"id5id":n[r]=e.uid;break;default:n[r]=e}}),o=n,e[0].schain&&(o.schain=(a=e[0].schain,"".concat(a.ver,",").concat(a.complete,"!").concat(function(e){var r=["asi","sid","hp","rid","name","domain"];return e.map(function(t){return r.map(function(e){return t[e]||""}).join(",")}).join("!")}(a.nodes)))),o}Object(n.registerBidder)(o)}},[633]);
LpbjsChunk([165],{662:function(e,t,o){e.exports=o(663)},663:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o.d(t,"allowedFields",function(){return g}),o.d(t,"_floorDataForAuction",function(){return R}),o.d(t,"fieldMatchingFunctions",function(){return U}),t.getFirstMatchingFloor=E,t.getBiddersCpmAdjustment=w,t.calculateAdjustedFloor=P,t.getFloor=M,t.getFloorsDataForAuction=B,t.getFloorDataFromAdUnits=V,t.updateAdUnitsForAuction=x,t.pickRandomModel=q,t.createFloorsDataForAuction=z,t.continueAuction=W,t.isFloorsDataValid=H,t.parseFloorData=J,t.requestBidsHook=L,t.handleFetchResponse=K,t.generateAndHandleFetch=X,t.handleSetFloorsConfig=Z,t.addBidResponseHook=$;var O=o(20),r=o(3),j=o(0),n=o(4),a=o(9),i=o.n(a),c=o(5),F=o.n(c),u=o(13),A=o(34),s=o(10),S=o.n(s),d=o(22);function l(e){return(l="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})(e)}function f(e,t){if(null==e)return{};var o,r=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],0<=t.indexOf(o)||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols)for(var n=Object.getOwnPropertySymbols(e),a=0;a<n.length;a++)o=n[a],0<=t.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o]);return r}function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}function p(t,e){var o,r=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)),r}function k(n){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?p(Object(a),!0).forEach(function(e){var t,o,r;t=n,r=a[o=e],o in t?Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[o]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))})}return n}var m,T="Price Floors",h=Object(n.b)(1e4),g=["gptSlot","adUnitCode","size","domain","mediaType"],y=!1,b=!1,v={},D=[],R={};var U={size:function(e,t){return j.parseGPTSingleSizeArray(t.size)||"*"},mediaType:function(e,t){return t.mediaType||"banner"},gptSlot:function(e){return j.getGptSlotInfoForAdUnitCode(e.adUnitCode).gptSlot},domain:function(){return m||(e=Object(d.a)().referer,m=j.parseUrl(e,{noDecodeWholeURL:!0}).hostname);var e},adUnitCode:function(e){return e.adUnitCode}};function E(t,e){var o,r,n,a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},i=(o=j.deepAccess(t,"schema.fields")||[],r=e,n=a,o.reduce(function(e,t){var o=U[t](r,n)||"*";return e.push("*"===o?["*"]:[o.toLowerCase(),"*"]),e},[]));if(!i.length)return{matchingFloor:t.default};var c=i.map(function(e){return e[0]}).join("-"),u=j.deepAccess(t,"matchingInputs.".concat(c));if(u)return k({},u);var s,d,l=(s=i,d=j.deepAccess(t,"schema.delimiter")||"|",s.reduce(function(e,o){var r=[];return e.map(function(t){o.map(function(e){r.push(t+d+e)})}),r}).sort(function(e,t){return e.split("*").length-t.split("*").length})),f=S()(l,function(e){return t.values.hasOwnProperty(e)}),p={floorMin:t.floorMin||0,floorRuleValue:t.values[f]||t.default,matchingData:l[0],matchingRule:f};return p.matchingFloor=Math.max(p.floorMin,p.floorRuleValue),j.deepSetValue(t,"matchingInputs.".concat(c),k({},p)),p}function w(e,t){var o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=j.deepAccess(Object(O.a)(),"bidderSettings.".concat(e,".bidCpmAdjustment"));return r?parseFloat(r(t,k(k({},o),{},{cpm:t}))):parseFloat(t)}function P(e,t){var o=Math.pow(10,10);return e*o/(t*o)*(e*o)/o}var I={banner:function(e){return j.deepAccess(e,"mediaTypes.banner.sizes")||[]},video:function(e){return j.deepAccess(e,"mediaTypes.video.playerSize")||[]},native:function(e){return j.deepAccess(e,"mediaTypes.native.image.sizes")?[j.deepAccess(e,"mediaTypes.native.image.sizes")]:[]}};function M(){var e,t,o,r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{currency:"USD",mediaType:"*",size:"*"},n=this,a=R[n.auctionId];if(!a||a.skipped)return{};e=n,t=r,o=Object.keys(e.mediaTypes||{}),"*"===t.mediaType&&1===o.length&&(t.mediaType=o[0]),"*"===t.size&&-1!==o.indexOf(t.mediaType)&&I[t.mediaType]&&1===I[t.mediaType](e).length&&(t.size=I[t.mediaType](e)[0]),r=t;var i,c,u,s=E(a.data,k({},n),{mediaType:r.mediaType,size:r.size}),d=r.currency||a.data.currency;if(s.matchingFloor&&d!==a.data.currency)try{s.matchingFloor=Object(O.a)().convertCurrency(s.matchingFloor,a.data.currency,d)}catch(e){j.logWarn("".concat(T,": Unable to get currency conversion for getFloor for bidder ").concat(n.bidder,". You must have currency module enabled with defaultRates in your currency config")),d=a.data.currency}return a.enforcement.bidAdjustment&&s.matchingFloor&&(i=w(n.bidder,s.matchingFloor),s.matchingFloor=i?P(s.matchingFloor,i):s.matchingFloor),s.matchingFloor?{floor:(c=s.matchingFloor,u=4,Math.ceil((parseFloat(c)*Math.pow(10,u)).toFixed(1))/Math.pow(10,u)),currency:d}:{}}function B(e,t){var o,r,n,a,i,c=j.deepClone(e);return c.schema.delimiter=e.schema.delimiter||"|",c.values=(r=t,n=(o=c).schema.fields,a=o.schema.delimiter,i=r&&-1===n.indexOf("adUnitCode")&&n.unshift("adUnitCode"),Object.keys(o.values).reduce(function(e,t){return e[(i?"".concat(r).concat(a).concat(t):t).toLowerCase()]=o.values[t],e},{})),c.currency=c.currency||"USD",c}function V(e){return e.reduce(function(e,t){var o;return H(t.floors)&&(e.values?(o=B(t.floors,t.code).values,C(e.values,o)):(e=B(t.floors,t.code)).location="adUnit"),e},{})}function x(e,t,o){e.forEach(function(e){e.bids.forEach(function(e){t.skipped?delete e.getFloor:e.getFloor=M,e.auctionId=o,e.floorData={skipped:t.skipped,skipRate:t.skipRate,floorMin:t.floorMin,modelVersion:j.deepAccess(t,"data.modelVersion"),modelWeight:j.deepAccess(t,"data.modelWeight"),modelTimestamp:j.deepAccess(t,"data.modelTimestamp"),location:j.deepAccess(t,"data.location","noData"),floorProvider:t.floorProvider,fetchStatus:v.fetchStatus}})})}function q(e,t){for(var o=Math.floor(Math.random()*t+1),r=0;r<e.length;r++)if((o-=e[r].modelWeight)<=0)return e[r]}function z(e,t){var o,r,n,a=j.deepClone(v);2===j.deepAccess(a,"data.floorsSchemaVersion")&&(r=(o=a.data).modelGroups,n=f(o,["modelGroups"]),a.data=C(n,q(r,n.modelWeightSum)));var i,c,u=0===Object.keys(j.deepAccess(a,"data.values")||{}).length;return a.data=u?V(e):B(a.data),0===Object.keys(j.deepAccess(a,"data.values")||{}).length?a.skipped=!0:(i=j.getParameterByName("Lpbjs_skipRate")||a.skipRate,c=100*Math.random()<parseFloat(i),a.skipped=c),a.hasOwnProperty("floorMin")&&(a.data.floorMin=a.floorMin),x(e,a,t),a}function W(t){t.hasExited||(D=D.filter(function(e){return e.timer!==t.timer}),t.reqBidsConfigObj.auctionId=t.reqBidsConfigObj.auctionId||j.generateUUID(),R[t.reqBidsConfigObj.auctionId]=z(t.reqBidsConfigObj.adUnits||Object(O.a)().adUnits,t.reqBidsConfigObj.auctionId),t.nextFn.apply(t.context,[t.reqBidsConfigObj]),t.hasExited=!0)}function G(i,c,u){return"object"===l(i.values)&&(i.values=Object.keys(i.values).reduce(function(e,t){var o,r,n,a;return o=t,r=i.values[t],n=c,a=u,"string"==typeof o&&o.split(a).length===n&&"number"==typeof r&&(e[t]=i.values[t]),e},{}),0<Object.keys(i.values).length)}function N(e){return!!function(e){if(Array.isArray(e)&&0<e.length&&e.every(function(e){return-1!==g.indexOf(e)}))return 1;j.logError("".concat(T,": Fields recieved do not match allowed fields"))}(j.deepAccess(e,"schema.fields"))&&G(e,e.schema.fields.length,e.schema.delimiter||"|")}var _={1:N,2:function(t){return!(!Array.isArray(t.modelGroups)||0===t.modelGroups.length)&&(t.modelWeightSum=0,t.modelGroups.every(function(e){return!("number"!=typeof e.modelWeight||!N(e))&&(t.modelWeightSum+=e.modelWeight,!0)}))}};function H(e){return"object"===l(e)&&(e.floorsSchemaVersion=e.floorsSchemaVersion||1,"function"!=typeof _[e.floorsSchemaVersion]?(j.logError("".concat(T,": Unknown floorsSchemaVersion: "),e.floorsSchemaVersion),!1):_[e.floorsSchemaVersion](e))}function J(e,t){if(e&&"object"===l(e)&&H(e))return j.logInfo("".concat(T,": A ").concat(t," set the auction floor data set to "),e),k(k({},e),{},{location:t});j.logError("".concat(T,": The floors data did not contain correct values"),e)}function L(e,t){var o={reqBidsConfigObj:t,context:this,nextFn:e,haveExited:!1,timer:null};0<v.auctionDelay&&y?(o.timer=setTimeout(function(){j.logWarn("".concat(T,": Fetch attempt did not return in time for auction")),v.fetchStatus="timeout",W(o)},v.auctionDelay),D.push(o)):W(o)}function Y(){D.forEach(function(e){clearTimeout(e.timer),W(e)}),D=[]}function K(t){var o;y=!1,v.fetchStatus="success";try{o=JSON.parse(t)}catch(e){o=t}var e=J(o,"fetch");e&&(v.data=e,v.skipRate=j.isNumber(e.skipRate)?e.skipRate:v.skipRate,v.floorProvider=e.floorProvider||v.floorProvider),Y()}function Q(e){y=!1,v.fetchStatus="error",j.logError("".concat(T,": Fetch errored with: "),e),Y()}function X(e){e.url&&!y?"GET"!==(e.method||"GET")?j.logError("".concat(T,": 'GET' is the only request method supported at this time!")):(h(e.url,{success:K,error:Q},null,{method:"GET"}),y=!0):y&&j.logWarn("".concat(T,": A fetch is already occuring. Skipping."))}function Z(t){(v=j.pick(t,["floorMin","enabled",function(e){return!1!==e},"auctionDelay",function(e){return e||0},"floorProvider",function(e){return j.deepAccess(t,"data.floorProvider",e)},"endpoint",function(e){return e||{}},"skipRate",function(){return isNaN(j.deepAccess(t,"data.skipRate"))?t.skipRate||0:t.data.skipRate},"enforcement",function(e){return j.pick(e||{},["enforceJS",function(e){return!1!==e},"enforcePBS",function(e){return!0===e},"floorDeals",function(e){return!0===e},"bidAdjustment",function(e){return!1!==e}])},"additionalSchemaFields",function(e){return"object"===l(e)&&0<Object.keys(e).length?(t=e,void Object.keys(t).forEach(function(e){-1===g.indexOf(e)&&"function"==typeof t[e]&&(g.push(e),U[e]=t[e])})):void 0;var t},"data",function(e){return e&&J(e,"setConfig")||v.data}])).enabled?(X(v.endpoint),b||(i.a.on(F.a.EVENTS.AUCTION_END,function(e){setTimeout(function(){return delete R[e.auctionId]},3e3)}),Object(O.a)().requestBids.before(L,50),Object(u.a)("addBidResponse").before($,j.debugTurnedOn()?4:50),b=!0)):(j.logInfo("".concat(T,": Turning off module")),v={},R={},Object(u.a)("addBidResponse").getHooks({hook:$}).remove(),Object(O.a)().requestBids.getHooks({hook:L}).remove(),b=!1)}function $(t,o,r){var e=R[this.bidderRequest.auctionId],n=S()(this.bidderRequest.bids,function(e){return e.bidId&&e.bidId===r.requestId});if(!e||!r||e.skipped||!n)return t.call(this,o,r);var a,i=E(e.data,k({},n),k(k({},r),{},{size:[r.width,r.height]}));if(!i.matchingFloor)return j.logWarn("".concat(T,": unable to determine a matching price floor for bidResponse"),r),t.call(this,o,r);var c,u,s,d,l,f,p,m,h,g,y=e.data.currency.toUpperCase(),b=r.currency||"USD";if(y===b.toUpperCase())a=r.cpm;else if(r.originalCurrency&&y===r.originalCurrency.toUpperCase())a=r.originalCpm;else try{a=Object(O.a)().convertCurrency(r.cpm,b.toUpperCase(),y)}catch(e){return j.logError("".concat(T,": Unable do get currency conversion for bidResponse to Floor Currency. Do you have Currency module enabled? ").concat(r)),t.call(this,o,r)}if(a=w(r.bidderCode,a,r),c=e,u=i,d=a,(s=r).floorData={floorValue:u.matchingFloor,floorRule:u.matchingRule,floorRuleValue:u.floorRuleValue,floorCurrency:c.data.currency,cpmAfterAdjustments:d,enforcements:k({},c.enforcement),matchedFields:{}},c.data.schema.fields.forEach(function(e,t){var o=u.matchingData.split(c.data.schema.delimiter)[t];s.floorData.matchedFields[e]=o}),l=e,f=i,p=r,m=!1!==j.deepAccess(l,"enforcement.enforceJS"),h=!0===j.deepAccess(l,"enforcement.floorDeals")||!p.dealId,g=p.floorData.cpmAfterAdjustments<f.matchingFloor,m&&g&&h){var v=Object(A.a)(F.a.STATUS.NO_BID,n);return C(v,j.pick(r,["floorData","width","height","mediaType","currency","originalCpm","originalCurrency","getCpmInNewCurrency"])),v.status=F.a.BID_STATUS.BID_REJECTED,v.cpm=0,j.logWarn("".concat(T,": ").concat(v.bidderCode,"'s Bid Response for ").concat(o," was rejected due to floor not met"),r),t.call(this,o,v)}return t.call(this,o,r)}r.b.getConfig("floors",function(e){return Z(e.floors)})}},[662]);
LpbjsChunk([158],{678:function(e,r,a){e.exports=a(679)},679:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),a.d(r,"spec",function(){return b});var O=a(0),t=a(1),S=a(2),R=a(3),i=a(11);function P(){return(P=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}).apply(this,arguments)}function D(e){return(D="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})(e)}var Y="PubMatic: ",A="USD",x=void 0,s="https://pubmatic.bbvms.com/r/".concat("$RENDERER",".js"),N={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},n={NUMBER:"number",STRING:"string",BOOLEAN:"boolean",ARRAY:"array",OBJECT:"object"},o={mimes:n.ARRAY,minduration:n.NUMBER,maxduration:n.NUMBER,startdelay:n.NUMBER,playbackmethod:n.ARRAY,api:n.ARRAY,protocols:n.ARRAY,w:n.NUMBER,h:n.NUMBER,battr:n.ARRAY,linearity:n.NUMBER,placement:n.NUMBER,minbitrate:n.NUMBER,maxbitrate:n.NUMBER},c={TITLE:{ID:1,KEY:"title",TYPE:0},IMAGE:{ID:2,KEY:"image",TYPE:0},ICON:{ID:3,KEY:"icon",TYPE:0},SPONSOREDBY:{ID:4,KEY:"sponsoredBy",TYPE:1},BODY:{ID:5,KEY:"body",TYPE:2},CLICKURL:{ID:6,KEY:"clickUrl",TYPE:0},VIDEO:{ID:7,KEY:"video",TYPE:0},EXT:{ID:8,KEY:"ext",TYPE:0},DATA:{ID:9,KEY:"data",TYPE:0},LOGO:{ID:10,KEY:"logo",TYPE:0},SPONSORED:{ID:11,KEY:"sponsored",TYPE:1},DESC:{ID:12,KEY:"data",TYPE:2},RATING:{ID:13,KEY:"rating",TYPE:3},LIKES:{ID:14,KEY:"likes",TYPE:4},DOWNLOADS:{ID:15,KEY:"downloads",TYPE:5},PRICE:{ID:16,KEY:"price",TYPE:6},SALEPRICE:{ID:17,KEY:"saleprice",TYPE:7},PHONE:{ID:18,KEY:"phone",TYPE:8},ADDRESS:{ID:19,KEY:"address",TYPE:9},DESC2:{ID:20,KEY:"desc2",TYPE:10},DISPLAYURL:{ID:21,KEY:"displayurl",TYPE:11},CTA:{ID:22,KEY:"cta",TYPE:12}},l={ICON:1,LOGO:2,IMAGE:3},u=[{id:c.SPONSOREDBY.ID,required:!0,data:{type:1}},{id:c.TITLE.ID,required:!0},{id:c.IMAGE.ID,required:!0}],d={1:"PMP",5:"PREF",6:"PMPG"},p={bootstrapPlayer:function(e){var r={code:e.adUnitCode};if(e.vastXml?r.vastXml=e.vastXml:e.vastUrl&&(r.vastUrl=e.vastUrl),e.vastXml||e.vastUrl){for(var a,t=p.getRendererId("pubmatic",e.rendererCode),i=document.getElementById(e.adUnitCode),s=0;s<window.bluebillywig.renderers.length;s++)if(window.bluebillywig.renderers[s]._id===t){a=window.bluebillywig.renderers[s];break}a?a.bootstrap(r,i):O.logWarn("".concat(Y,": Couldn't find a renderer with ").concat(t))}else O.logWarn("".concat(Y,": No vastXml or vastUrl on bid, bailing..."))},newRenderer:function(e,r){var a=s.replace("$RENDERER",e),t=i.a.install({url:a,loaded:!1,adUnitCode:r});try{t.setRender(p.outstreamRender)}catch(e){O.logWarn("".concat(Y,": Error tying to setRender on renderer"),e)}return t},outstreamRender:function(e){e.renderer.push(function(){p.bootstrapPlayer(e)})},getRendererId:function(e,r){return"".concat(e,"-").concat(r)}},k=0,m=!1,g={},h={};function C(e,r){if(!O.isStr(r))return r&&O.logWarn(Y+"Ignoring param key: "+e+", expects string-value, found "+D(r)),x;switch(e){case"pmzoneid":return r.split(",").slice(0,50).map(function(e){return e.trim()}).join();case"kadfloor":case"lat":case"lon":return parseFloat(r)||x;case"yob":return parseInt(r)||x;default:return r}}function U(e){var r;e.params.adUnit="",e.params.adUnitIndex="0",e.params.width=0,e.params.height=0,e.params.adSlot=(r=e.params.adSlot,O.isStr(r)?r.replace(/^\s+/g,"").replace(/\s+$/g,""):"");var a=(t=e.params.adSlot).split(":"),t=a[0];if(2==a.length&&(e.params.adUnitIndex=a[1]),a=t.split("@"),e.params.adUnit=a[0],1<a.length){if(2!=(a=a[1].split("x")).length)return void O.logWarn(Y+"AdSlot Error: adSlot not in required format");e.params.width=parseInt(a[0],10),e.params.height=parseInt(a[1],10)}else if(e.hasOwnProperty("mediaTypes")&&e.mediaTypes.hasOwnProperty(S.b)&&e.mediaTypes.banner.hasOwnProperty("sizes")){for(var i=0,s=[];i<e.mediaTypes.banner.sizes.length;i++)2===e.mediaTypes.banner.sizes[i].length&&s.push(e.mediaTypes.banner.sizes[i]);e.mediaTypes.banner.sizes=s,1<=e.mediaTypes.banner.sizes.length&&(e.params.width=e.mediaTypes.banner.sizes[0][0],e.params.height=e.mediaTypes.banner.sizes[0][1],e.mediaTypes.banner.sizes=e.mediaTypes.banner.sizes.splice(1,e.mediaTypes.banner.sizes.length-1))}}function f(e){var r,a=e.params.video;if(a!==x){for(var t in r={},o)a.hasOwnProperty(t)&&(r[t]=function(e,r,a){var t,i="Ignoring param key: "+e+", expects "+a+", found "+D(r);switch(a){case n.BOOLEAN:t=O.isBoolean;break;case n.NUMBER:t=O.isNumber;break;case n.STRING:t=O.isStr;break;case n.ARRAY:t=O.isArray}return t(r)?r:(O.logWarn(Y+i),x)}(t,a[t],o[t]));O.isArray(e.mediaTypes.video.playerSize[0])?(r.w=parseInt(e.mediaTypes.video.playerSize[0][0],10),r.h=parseInt(e.mediaTypes.video.playerSize[0][1],10)):O.isNumber(e.mediaTypes.video.playerSize[0])&&(r.w=parseInt(e.mediaTypes.video.playerSize[0],10),r.h=parseInt(e.mediaTypes.video.playerSize[1],10)),e.params.video.hasOwnProperty("skippable")&&(r.ext={video_skippable:e.params.video.skippable?1:0})}else r=x,O.logWarn(Y+"Error: Video config params missing for adunit: "+e.params.adUnit+" with mediaType set as video. Ignoring video impression in the adunit.");return r}function z(e){var r,a,t,i,s={},n={},o=e.hasOwnProperty("sizes")?e.sizes:[],d="",p=[],s={id:e.bidId,tagid:e.params.adUnit||void 0,bidfloor:C("kadfloor",e.params.kadfloor),secure:1,ext:{pmZoneId:C("pmzoneid",e.params.pmzoneid)},bidfloorcur:e.params.currency?C("currency",e.params.currency):A};if(t=s,(i=e).params.deals&&(O.isArray(i.params.deals)?i.params.deals.forEach(function(e){O.isStr(e)&&3<e.length?(t.pmp||(t.pmp={private_auction:0,deals:[]}),t.pmp.deals.push({id:e})):O.logWarn(Y+"Error: deal-id present in array bid.params.deals should be a strings with more than 3 charaters length, deal-id ignored: "+e)}):O.logWarn(Y+"Error: bid.params.deals should be an array of strings.")),e.hasOwnProperty("mediaTypes"))for(d in e.mediaTypes)switch(d){case S.b:(r=function(e){var r,a=e.mediaTypes.banner.sizes,t=[];if(a!==x&&O.isArray(a)){if(r={},e.params.width||e.params.height)r.w=e.params.width,r.h=e.params.height;else{if(0===a.length)return r=x,O.logWarn(Y+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r;r.w=parseInt(a[0][0],10),r.h=parseInt(a[0][1],10),a=a.splice(1,a.length-1)}0<a.length&&(t=[],a.forEach(function(e){1<e.length&&t.push({w:e[0],h:e[1]})}),0<t.length&&(r.format=t)),r.pos=0,r.topframe=O.inIframe()?0:1}else O.logWarn(Y+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r=x;return r}(e))!==x&&(s.banner=r);break;case S.c:n.request=JSON.stringify(function(e){var r,a,t,i={assets:[]};for(var s in e){if(e.hasOwnProperty(s)){var n={};if(!(i.assets&&0<i.assets.length&&i.assets.hasOwnProperty(s)))switch(s){case c.TITLE.KEY:e[s].len||e[s].length?n={id:c.TITLE.ID,required:e[s].required?1:0,title:{len:e[s].len||e[s].length,ext:e[s].ext}}:O.logWarn(Y+"Error: Title Length is required for native ad: "+JSON.stringify(e));break;case c.IMAGE.KEY:e[s].sizes&&0<e[s].sizes.length?n={id:c.IMAGE.ID,required:e[s].required?1:0,img:{type:l.IMAGE,w:e[s].w||e[s].width||(e[s].sizes?e[s].sizes[0]:x),h:e[s].h||e[s].height||(e[s].sizes?e[s].sizes[1]:x),wmin:e[s].wmin||e[s].minimumWidth||(e[s].minsizes?e[s].minsizes[0]:x),hmin:e[s].hmin||e[s].minimumHeight||(e[s].minsizes?e[s].minsizes[1]:x),mimes:e[s].mimes,ext:e[s].ext}}:O.logWarn(Y+"Error: Image sizes is required for native ad: "+JSON.stringify(e));break;case c.ICON.KEY:e[s].sizes&&0<e[s].sizes.length?n={id:c.ICON.ID,required:e[s].required?1:0,img:{type:l.ICON,w:e[s].w||e[s].width||(e[s].sizes?e[s].sizes[0]:x),h:e[s].h||e[s].height||(e[s].sizes?e[s].sizes[1]:x)}}:O.logWarn(Y+"Error: Icon sizes is required for native ad: "+JSON.stringify(e));break;case c.VIDEO.KEY:n={id:c.VIDEO.ID,required:e[s].required?1:0,video:{minduration:e[s].minduration,maxduration:e[s].maxduration,protocols:e[s].protocols,mimes:e[s].mimes,ext:e[s].ext}};break;case c.EXT.KEY:n={id:c.EXT.ID,required:e[s].required?1:0};break;case c.LOGO.KEY:n={id:c.LOGO.ID,required:e[s].required?1:0,img:{type:l.LOGO,w:e[s].w||e[s].width||(e[s].sizes?e[s].sizes[0]:x),h:e[s].h||e[s].height||(e[s].sizes?e[s].sizes[1]:x)}};break;case c.SPONSOREDBY.KEY:case c.BODY.KEY:case c.RATING.KEY:case c.LIKES.KEY:case c.DOWNLOADS.KEY:case c.PRICE.KEY:case c.SALEPRICE.KEY:case c.PHONE.KEY:case c.ADDRESS.KEY:case c.DESC2.KEY:case c.DISPLAYURL.KEY:case c.CTA.KEY:r=h[s],a=e,t=void 0,t=r.KEY,n={id:r.ID,required:a[t].required?1:0,data:{type:r.TYPE,len:a[t].len,ext:a[t].ext}}}}n&&n.id&&(i.assets[i.assets.length]=n)}var o=u.length,d=0;return u.forEach(function(e){for(var r=i.assets.length,a=0;a<r;a++)if(e.id==i.assets[a].id){d++;break}}),m=o!=d,i}(e.nativeParams)),m?O.logWarn(Y+"Error: Error in Native adunit "+e.params.adUnit+". Ignoring the adunit. Refer to http://prebid.org/dev-docs/show-native-ads.html for more details."):s.native=n;break;case S.d:(a=f(e))!==x&&(s.video=a)}else r={pos:0,w:e.params.width,h:e.params.height,topframe:O.inIframe()?0:1},O.isArray(o)&&1<o.length&&((o=o.splice(1,o.length-1)).forEach(function(e){p.push({w:e[0],h:e[1]})}),r.format=p),s.banner=r;return function(t,i){var s=-1;"function"!=typeof i.getFloor||R.b.getConfig("pubmatic.disableFloors")||[S.b,S.d,S.c].forEach(function(e){var r,a;t.hasOwnProperty(e)&&("object"!==D(r=i.getFloor({currency:t.bidfloorcur,mediaType:e,size:"*"}))||r.currency!==t.bidfloorcur||isNaN(parseInt(r.floor))||(a=parseFloat(r.floor),s=-1==s?a:Math.min(a,s)))});t.bidfloor&&(s=Math.max(s,t.bidfloor));t.bidfloor=!isNaN(s)&&0<s?s:x}(s,e),s.hasOwnProperty(S.b)||s.hasOwnProperty(S.c)||s.hasOwnProperty(S.d)?s:x}O._each(c,function(e){g[e.ID]=e.KEY}),O._each(c,function(e){h[e.KEY]=e});var b={code:"pubmatic",gvlid:76,supportedMediaTypes:[S.b,S.d,S.c],isBidRequestValid:function(e){if(e&&e.params){if(!O.isStr(e.params.publisherId))return O.logWarn(Y+"Error: publisherId is mandatory and cannot be numeric (wrap it in quotes in your config). Call to OpenBid will not be sent for ad unit: "+JSON.stringify(e)),!1;if(e.params.hasOwnProperty("video")){if(!e.params.video.hasOwnProperty("mimes")||!O.isArray(e.params.video.mimes)||0===e.params.video.mimes.length)return O.logWarn(Y+"Error: For video ads, mimes is mandatory and must specify atlease 1 mime value. Call to OpenBid will not be sent for ad unit:"+JSON.stringify(e)),!1;if(!e.hasOwnProperty("mediaTypes")||!e.mediaTypes.hasOwnProperty(S.d))return O.logError("".concat(Y,": mediaTypes or mediaTypes.video is not specified. Rejecting bid: "),e),!1;if(!e.mediaTypes[S.d].hasOwnProperty("context"))return O.logError("".concat(Y,": no context specified in bid. Rejecting bid: "),e),!1;if("outstream"===e.mediaTypes[S.d].context&&!O.isStr(e.params.outstreamAU))return O.logError("".concat(Y,': for "outstream" bids outstreamAU is required. Rejecting bid: '),e),!1}return!0}return!1},buildRequests:function(e,r){var a;r&&r.refererInfo&&(a=r.refererInfo);var t,i,s,n,o,d,p,c,l,u,m,g,h,f,b,y,v={pageURL:(t=a)&&t.referer?t.referer:window.location.href,refURL:window.document.referrer},E=(i=v,{id:""+(new Date).getTime(),at:1,cur:[A],imp:[],site:{page:i.pageURL,ref:i.refURL,publisher:{}},device:{ua:navigator.userAgent,js:1,dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,h:screen.height,w:screen.width,language:navigator.language},user:{},ext:{}}),I="",w=[],T=[];if(e.forEach(function(e){var r;(s=O.deepClone(e)).params.adSlot=s.params.adSlot||"",U(s),s.params.hasOwnProperty("video")||s.hasOwnProperty("mediaTypes")&&s.mediaTypes.hasOwnProperty(S.c)||0!==s.params.width||0!==s.params.height?(v.pubId=v.pubId||s.params.publisherId,(v=function(e,r){var a,t,i;for(a in r.kadpageurl||(r.kadpageurl=r.pageURL),N)N.hasOwnProperty(a)&&(t=e[a])&&("object"===D(i=N[a])&&(t=i.f(t,r)),O.isStr(t)?r[a]=t:O.logWarn(Y+"Ignoring param : "+a+" with value : "+N[a]+", expects string-value, found "+D(t)));return r}(s.params,v)).transactionId=s.transactionId,""===I?I=s.params.currency||x:s.params.hasOwnProperty("currency")&&I!==s.params.currency&&O.logWarn(Y+"Currency specifier ignored. Only one currency permitted."),s.params.currency=I,s.params.hasOwnProperty("dctr")&&O.isStr(s.params.dctr)&&w.push(s.params.dctr),s.params.hasOwnProperty("bcat")&&O.isArray(s.params.bcat)&&(T=T.concat(s.params.bcat)),(r=z(s))&&E.imp.push(r)):O.logWarn(Y+"Skipping the non-standard adslot: ",s.params.adSlot,JSON.stringify(s))}),0!=E.imp.length)return E.site.publisher.id=v.pubId.trim(),k=v.pubId.trim(),E.ext.wrapper={},E.ext.wrapper.profile=parseInt(v.profId)||x,E.ext.wrapper.version=parseInt(v.verId)||x,E.ext.wrapper.wiid=v.wiid||r.auctionId,E.ext.wrapper.wv="prebid_prebid_4.22.0",E.ext.wrapper.transactionId=v.transactionId,E.ext.wrapper.wp="Lpbjs",E.user.gender=v.gender?v.gender.trim():x,E.user.geo={},E.user.geo.lat=C("lat",v.lat),E.user.geo.lon=C("lon",v.lon),E.user.yob=C("yob",v.yob),E.device.geo=E.user.geo,E.site.page=v.kadpageurl.trim()||E.site.page.trim(),E.site.domain=(n=E.site.page,(o=document.createElement("a")).href=n,o.hostname),"object"===D(R.b.getConfig("content"))&&(E.site.content=R.b.getConfig("content")),"object"===D(R.b.getConfig("device"))&&(E.device=P(E.device,R.b.getConfig("device"))),O.deepSetValue(E,"source.tid",v.transactionId),-1!==window.location.href.indexOf("pubmaticTest=true")&&(E.test=1),e[0].schain&&O.deepSetValue(E,"source.ext.schain",e[0].schain),r&&r.gdprConsent&&(O.deepSetValue(E,"user.ext.consent",r.gdprConsent.consentString),O.deepSetValue(E,"regs.ext.gdpr",r.gdprConsent.gdprApplies?1:0)),r&&r.uspConsent&&O.deepSetValue(E,"regs.ext.us_privacy",r.uspConsent),!0===R.b.getConfig("coppa")&&O.deepSetValue(E,"regs.coppa",1),d=E,c=e,m="",0<(p=w).length&&(c[0].params.hasOwnProperty("dctr")?(m=c[0].params.dctr,O.isStr(m)&&0<m.length?(u=m.split("|"),m="",u.forEach(function(e){m+=0<e.length?e.trim()+"|":""}),l=m.length,"|"===m.substring(l,l-1)&&(m=m.substring(0,l-1)),d.site.ext={key_val:m.trim()}):O.logWarn(Y+"Ignoring param : dctr with value : "+m+", expects string-value, found empty or non-string value"),1<p.length&&O.logWarn(Y+"dctr value found in more than 1 adunits. Value from 1st adunit will be picked. Ignoring values from subsequent adunits")):O.logWarn(Y+"dctr value not found in 1st adunit, ignoring values from subsequent adunits")),g=E,h=e,f=O.deepAccess(h,"0.userIdAsEids"),O.isArray(f)&&0<f.length&&O.deepSetValue(g,"user.eids",f),b=E,0<(y=(y=T).filter(function(e){return"string"==typeof e||(O.logWarn(Y+"bcat: Each category should be a string, ignoring category: "+e),!1)}).map(function(e){return e.trim()}).filter(function(e,r,a){return 3<e.length?a.indexOf(e)===r:void O.logWarn(Y+"bcat: Each category should have a value of a length of more than 3 characters, ignoring category: "+e)})).length&&(O.logWarn(Y+"bcat: Selected: ",y),b.bcat=y),"object"===D(R.b.getConfig("app"))&&(E.app=R.b.getConfig("app"),E.app.publisher=E.site.publisher,E.app.ext=E.site.ext||x,"object"!==D(E.app.content)&&(E.app.content=E.site.content||x),delete E.site),{method:"POST",url:"https://hbopenbid.pubmatic.com/translator?source=prebid-client",data:JSON.stringify(E),bidderRequest:r}},interpretResponse:function(e,t){var i=[],s=A,n=JSON.parse(t.data),o=n.site&&n.site.ref?n.site.ref:"";try{e.body&&e.body.seatbid&&O.isArray(e.body.seatbid)&&(s=e.body.cur||s,e.body.seatbid.forEach(function(e){e.bid&&O.isArray(e.bid)&&e.bid.forEach(function(r){var a={requestId:r.impid,cpm:(parseFloat(r.price)||0).toFixed(2),width:r.w,height:r.h,creativeId:r.crid||r.id,dealId:r.dealid,currency:s,netRevenue:!1,ttl:300,referrer:o,ad:r.adm,pm_seat:e.seat||null,pm_dspid:r.ext&&r.ext.dspid?r.ext.dspid:null,partnerImpId:r.id||""};n.imp&&0<n.imp.length&&n.imp.forEach(function(e){if(r.impid===e.id)switch(!function(r,e){var a,t=new RegExp(/VAST\s+version/);if(0<=r.indexOf('span class="PubAPIAd"'))e.mediaType=S.b;else if(t.test(r))e.mediaType=S.d;else try{(a=JSON.parse(r.replace(/\\/g,"")))&&a.native&&(e.mediaType=S.c)}catch(e){O.logWarn(Y+"Error: Cannot parse native reponse for ad response: "+r)}}(r.adm,a),a.mediaType){case S.b:break;case S.d:a.width=r.hasOwnProperty("w")?r.w:e.video.w,a.height=r.hasOwnProperty("h")?r.h:e.video.h,a.vastXml=r.adm,function(e,r){var a,t,i;if(r.bidderRequest&&r.bidderRequest.bids){for(var s=0;s<r.bidderRequest.bids.length;s++)r.bidderRequest.bids[s].bidId===e.requestId&&(a=r.bidderRequest.bids[s].params,t=r.bidderRequest.bids[s].mediaTypes[S.d].context,i=r.bidderRequest.bids[s].adUnitCode);t&&"outstream"===t&&a&&a.outstreamAU&&i&&(e.rendererCode=a.outstreamAU,e.renderer=p.newRenderer(e.rendererCode,i))}}(a,t);break;case S.c:!function(e,r){if(r.native={},e.hasOwnProperty("adm")){var a="";try{a=JSON.parse(e.adm.replace(/\\/g,""))}catch(e){return O.logWarn(Y+"Error: Cannot parse native reponse for ad response: "+r.adm)}if(a&&a.native&&a.native.assets&&0<a.native.assets.length){r.mediaType=S.c;for(var t=0,i=a.native.assets.length;t<i;t++)switch(a.native.assets[t].id){case c.TITLE.ID:r.native.title=a.native.assets[t].title&&a.native.assets[t].title.text;break;case c.IMAGE.ID:r.native.image={url:a.native.assets[t].img&&a.native.assets[t].img.url,height:a.native.assets[t].img&&a.native.assets[t].img.h,width:a.native.assets[t].img&&a.native.assets[t].img.w};break;case c.ICON.ID:r.native.icon={url:a.native.assets[t].img&&a.native.assets[t].img.url,height:a.native.assets[t].img&&a.native.assets[t].img.h,width:a.native.assets[t].img&&a.native.assets[t].img.w};break;case c.SPONSOREDBY.ID:case c.BODY.ID:case c.LIKES.ID:case c.DOWNLOADS.ID:case c.PRICE:case c.SALEPRICE.ID:case c.PHONE.ID:case c.ADDRESS.ID:case c.DESC2.ID:case c.CTA.ID:case c.RATING.ID:case c.DISPLAYURL.ID:r.native[g[a.native.assets[t].id]]=a.native.assets[t].data&&a.native.assets[t].data.value}r.native.clickUrl=a.native.link&&a.native.link.url,r.native.clickTrackers=a.native.link&&a.native.link.clicktrackers||[],r.native.impressionTrackers=a.native.imptrackers||[],r.native.jstracker=a.native.jstracker||[],r.width||(r.width=0),r.height||(r.height=0)}}}(r,a)}}),r.ext&&r.ext.deal_channel&&(a.dealChannel=d[r.ext.deal_channel]||null),a.meta={},r.ext&&r.ext.dspid&&(a.meta.networkId=r.ext.dspid),r.ext&&r.ext.advid&&(a.meta.buyerId=r.ext.advid),r.adomain&&0<r.adomain.length&&(a.meta.advertiserDomains=r.adomain,a.meta.clickUrl=r.adomain[0]),e.ext&&e.ext.buyid&&(a.adserverTargeting={hb_buyid_pubmatic:e.ext.buyid}),i.push(a)})}))}catch(e){O.logError(e)}return i},getUserSyncs:function(e,r,a,t){var i=""+k;return a&&(i+="&gdpr="+(a.gdprApplies?1:0),i+="&gdpr_consent="+encodeURIComponent(a.consentString||"")),t&&(i+="&us_privacy="+encodeURIComponent(t)),!0===R.b.getConfig("coppa")&&(i+="&coppa=1"),e.iframeEnabled?[{type:"iframe",url:"https://ads.pubmatic.com/AdServer/js/showad.js#PIX&kdntuid=1&p="+i}]:[{type:"image",url:"https://image8.pubmatic.com/AdServer/ImgSync?p="+i}]},transformBidParams:function(e){return O.convertTypes({publisherId:"string",adSlot:"string"},e)}};Object(t.registerBidder)(b)}},[678]);
LpbjsChunk([130],{754:function(n,i,e){n.exports=e(755)},755:function(n,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isSchainObjectValid=u,i.isValidSchainConfig=l,i.makeBidRequestsHook=o,i.init=g;var t=e(3),c=e(8),a=e(0),s="Invalid schain object found: ",r=" should be a string",f=" should be an Integer",d=" should be an object",b=" should be an Array",h={STRICT:"strict",RELAXED:"relaxed",OFF:"off"},O=[];function u(n,i){var e="Detected something wrong within an schain config:",t="";function c(n){t+="\n"+n}function o(){(!0===i?Object(a.logError):Object(a.logWarn))(e,n,t)}if(!Object(a.isPlainObject)(n)&&(c("schain.config"+d),o(),i))return!1;if(Object(a.isNumber)(n.complete)&&Object(a.isInteger)(n.complete)||c("schain.config.complete"+f),Object(a.isStr)(n.ver)||c("schain.config.ver"+r),Object(a.hasOwn)(n,"ext")&&(Object(a.isPlainObject)(n.ext)||c("schain.config.ext"+d)),Object(a.isArray)(n.nodes))n.nodes.forEach(function(n,i){Object(a.isStr)(n.asi)||c("schain.config.nodes[".concat(i,"].asi")+r),Object(a.isStr)(n.sid)||c("schain.config.nodes[".concat(i,"].sid")+r),Object(a.isNumber)(n.hp)&&Object(a.isInteger)(n.hp)||c("schain.config.nodes[".concat(i,"].hp")+f),Object(a.hasOwn)(n,"rid")&&(Object(a.isStr)(n.rid)||c("schain.config.nodes[".concat(i,"].rid")+r)),Object(a.hasOwn)(n,"name")&&(Object(a.isStr)(n.name)||c("schain.config.nodes[".concat(i,"].name")+r)),Object(a.hasOwn)(n,"domain")&&(Object(a.isStr)(n.domain)||c("schain.config.nodes[".concat(i,"].domain")+r)),Object(a.hasOwn)(n,"ext")&&(Object(a.isPlainObject)(n.ext)||c("schain.config.nodes[".concat(i,"].ext")+d))});else if(c("schain.config.nodes"+b),o(),i)return!1;return!(0<t.length&&(o(),i))}function l(n){return void 0!==n&&(!!Object(a.isPlainObject)(n)||(Object(a.logError)(s+"the following schain config will not be used as schain is not an object.",n),!1))}function o(n,i){var c=t.b.getConfig("schain"),o=t.b.getBidderConfig();i.forEach(function(n){var i,e=n.bidderCode,t=o[i=e]&&o[i].schain||c;n.bids.forEach(function(n){var i=function(n,i){var e=h.STRICT;if(l(n)){if(Object(a.isStr)(n.validation)&&-1!=O.indexOf(n.validation)&&(e=n.validation),e===h.OFF)return n.config;if(u(n.config,!(e!==h.STRICT)))return n.config;Object(a.logError)(s+"due to the 'strict' validation setting, this schain config will not be passed to bidder '".concat(i,"'.  See above error for details."))}return null}(t,e);i&&(n.schain=i)})}),n(i)}function g(){c.default.makeBidRequests.after(o)}Object(a._each)(h,function(n){return O.push(n)}),g()}},[754]);
Lpbjs.processQueue();}; var Lpbjs=Lpbjs || {}; Lpbjs.que=Lpbjs.que || []; <!-- IdentityHub Script begins here -->	
var PWT={};	(function() {let purl=window.location.href,url='//ads.pubmatic.com/AdServer/js/pwt/158432/2294',profileVersionId='';if(purl.indexOf('pwtv=')>0){let regexp=/pwtv=(.*?)(&|$)/g;let matches=regexp.exec(purl);if(matches.length>=2&&matches[1].length>0){profileVersionId='/'+matches[1];}}let wtads=document.createElement('script');wtads.async=true;wtads.type = 'text/javascript';wtads.src = url+profileVersionId+'/pwt.js';let node=document.getElementsByTagName("head")[0];node.insertBefore(wtads, node.firstChild);})();PWT.jsLoaded=function(){loadLpb();};var Liqwid=Liqwid||{host:'//liqwid.net',url:window.location.href,obj:0,demo:false,mz:false,stp:0,lg:[],theme:{a:'#9cbd28',b:'#2f3d4a',c:'#fff',d:'#222',e:'#666',l:'%2391a6bb',lat:{s:'',t:'',c:''}},dbg:false,wrn:true,cmp:{u:'https://ccpa-wrapper.privacymanager.io/ccpa/da0c1f56-cebf-4177-9c96-53e1c9e30d94/ccpa-liveramp.js',t:'#menu-information',e:'li',m:1,c:'menu-item menu-item-type-post_type menu-item-object-page td-menu-item td-normal-menu',s:'',a:'<a onclick="__ccpa(\'showConsentManager\')" href="javascript:void(0);">Do Not Sell My Personal Information</a>'},log:class {
constructor(title) {this.title = {body: title || "LIQWID", color:"#fff",size:"0.8rem",backgroundColor:"#407457",weight:"normal"};this.body={color: "#407457",size:"0.8rem",weight:"normal"};}setTitleStyle({color,size,backgroundColor}) {if(color!==undefined)this.title.color=color;if(size!==undefined)this.title.size=size;if(backgroundColor!== undefined)this.title.backgroundColor=backgroundColor;}
setBodyStyle({color,size,weight}){if (color!==undefined)this.body.color=color;if(size!== undefined)this.body.size=size;if(weight!==undefined)this.body.weight=weight;}
log(body = "") {
console.log(`%c${this.title.body}%c${" " + body}`,`color: ${this.title.color}; border-radius:2px; padding:1px 4px 1px 4px; background-color: ${this.title.backgroundColor}; font-size: ${this.title.size};`,`color: ${this.body.color}; font-size: ${this.body.size}; font-weight: ${this.body.weight}; `);
	
}
	},
msg: function(n, t, e, c) {
    var u = this.url,
        r = new RegExp('liqwid-' + c, 'g'),
		m='log';
    
	t = ' ' + n + ': ' + t;
	
    if (u.match(/liqwid:/) || u.match(/liqwid-/)) {
        this.wrn = true;
        if (c && u.match(r)) {
                this.dbg = true;
                this.wrn = false;
         }
	if (u.match(/-warn/)|| u.match(/:warn/)) {
               m='warn';
            }
	const l=new this.log;const er = new this.log("LIQWID");
	if (e===2) {l.setBodyStyle({color:"#0F5B87",weight:"bold"});l.setTitleStyle({color:"#FFF",backgroundColor:"#0F5B87"});}
	if (e===3) {l.setBodyStyle({color:"#0F5B87"});l.setTitleStyle({color:"#FFF",backgroundColor:"#0F5B87"});}
	if (e===4) {l.setBodyStyle({color:"#D95509"});l.setTitleStyle({color:"#FFF",backgroundColor:"#D95509"});}
	if (e===5) {l.setBodyStyle({color:"#7F2653"});l.setTitleStyle({color:"#FFF",backgroundColor:"#7F2653"});}
	er.setBodyStyle({color:"#C2423D"});er.setTitleStyle({color:"#FFF",backgroundColor:"#C2423D"});if(e!==1)l.log(t);else er.log(t);
   }
},flag:0,bgad:0,tmp:null,board_:0,rtb_flag:false,fall_flag:0,sN:0,cG:false,print:false,flash:false,eu:0,cs:'',lf:0,sln:0,i:0,i_:null,cnt:0,prevBot:0,prevS:0,fs:false,fx:false,trk:true,wait:0,lmt:0,cp:'',cln:0,clA:0,clB:0,clI:0,clJ:0,clK:0,clM:0,clN:0,clO:0,tx:'',fall:'',m:function(){return (/(android|bl\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i.test(navigator.userAgent||navigator.vendor||window.opera)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test((navigator.userAgent||navigator.vendor||window.opera).substr(0,4)));},mob:false,use_min:false,slot:0,wx:0,wy:0,lstn:1,sec:0,lso:null,cmc:[],cn_:0,mg:0,_vq:function(i,a){if(typeof a.p==="undefined"||a.p==0)return;let sq=this.vq,lq=this.lq,nq=this.nq,v=[],l=0;try{v=sq.split('.');}catch(e){v[0]='';} l=v.length;if(a.fc!==0){if(nq===""){nq=a.p.toFixed();}else{nq+="."+a.p.toFixed();}if(!this.mq.includes(a.p.toFixed())){this.mq.push(a.p.toFixed());if(lq===""){lq=a.p.toFixed();}else{lq+="."+a.p.toFixed();}}let pv=Math.floor(this.com.gC("LP"+a.p.toFixed()));pv++;this.com.sC("LP"+a.p.toFixed(),pv.toFixed(),0,a.mg);}else{if(sq===''){sq=a.p.toFixed();}else{sq+='.'+a.p.toFixed();}if(l>100){sq=sq.substring(sq.indexOf('.')+1,sq.length);}this.vq=sq;}this.lq=lq;this.com.sC('LMQ',lq,0,0);this.com.sC('LVQ',sq,0,0);if(sq!==''&&nq!==''&&nq.substr(0,1)!=='.')nq='.'+nq; this.nq=nq;this.com.sC('liqwid',sq+nq,0,0);},rt:0,Ag:'',rex:function(i,a,_p,d){a.rtb.f=0;a.bt=null;if(a.pd){a.fs=_p.fs;a.rl=_p.rl;}a.pd=null;_p.cf=null;_p.Pt=null;_p.s=0;_p.j=null;if(!a.pr)this.ad[i].l=false;_p.g=this.com.guid();_p.Re++;if(!a.pr){this.fill(i);}else{var rn=this._(a.rtb.m[0],null);if(rn)this.demand(rn,1,i);}},refresh:function(r){var _p,a,d,m=4,n=Math.floor(r);
if(Math.floor(n)>-1){_p=this.pp[n];a=this.ad[n];d=_p.d;if(_p&&a&&d&&_p.vi){if(_p.s>m||a.rtb.f!==0)this.rex(n,a,_p,d);}}else{for(i=0;i<this.i+1;i++){_p=this.pp[i];a=this.ad[i];d=_p.d;if(_p&&a&&d&&_p.vi){if(_p.s>m||a.rtb.f!==0)this.rex(i,a,_p,d);}}}},timer:function(){var _this=this,r=0,r_=0,q='',q_='',aq='',trk='',tl='';if(!this.fs){return setTimeout(function(){_this.timer();},10);}for(i=0;i<this.i+1;i++){var _p=this.pp[i],a=this.ad[i];if(a&&_p){if(_p.cL)a.r=1;if ((a.p!==0||_p.gpt||_p.tD)&&_p.vi){if(_p.tR && a.rtb.f===_p.tR.sec){_p.tR.cnt++;
if(_p.tR.max===_p.tR.cnt)_p.tR=null;this.refresh(i);continue;}}if(a.rtb.f!==0&&_p.tR)a.rtb.f++;if(a.video!==1&&(a.ps==='B'&&_p.g===this.Ag))continue;var wT=_p.wT||0,rt=_p.rT;if(_p.s<180){if(a.ps==='A' && !a.pr)this.Ag=_p.g;if(_p.vi){if(a.video===0||!_p.player){this.sec++;_p.s++;if(_p.gpt||_p.tD)_p.gs++;if(a.ps==='A')this.A=_p.s;if(a.ps==='B')this.B=_p.s;}else{if(_p.player&&_p.player.duration()>0){a.dur=_p.player.duration();_p.s= Math.floor(_p.player.currentTime());}}}else{this.trk=false;}if(this.cnt<this.i+1)this.cnt++;var aw=_p.w,ah=_p.h,f='';if(a.fs!==0){aw=a.mw;ah=a.mh;}st='='+_p.i+'&g'+_p.i+'='+_p.g+'&p'+_p.i+'='+a.p+'&ps'+_p.i+'='+a.ps+'&s'+_p.i+'='+_p.s+'&w'+_p.i+'='+aw+'&h'+_p.i+'='+ah;if(_p.nR&&_p.s===_p.nR){var d=_p.d;if(d&&d.nextSibling){d.style.display='none';_p.end=true;d.nextSibling.classList.remove('Liqwid_'+i+'fadeout');d.nextSibling.classList.add('Liqwid_'+i+'fadein');}}}
if(a.video>0||_p.vO){wT=Math.floor(a.dur);if(a.sg===0&&a.dur>0)a.sg=Math.floor(a.dur/a.vt);if(_p.s===a.sg){a.tk=0;a.sg+=a.sg;}if(wT>0) {if (_p.s>0&&_p.vT[0]!==1&&typeof _p.vTrack[0]!=='undefined'&&(!_p.uI||_p.vP)){_p.vT[0]=1;trk=_p.vTrack[0].replace(/%n/,Date.now());this.com.js(trk);}if(_p.s===Math.floor(wT/4)&&_p.vT[1]!==1&&typeof _p.vTrack[1]!=='undefined'){_p.vT[1]=1;trk=_p.vTrack[1].replace(/%n/,Date.now());this.com.js(trk);}if(_p.s===Math.floor(wT/2)&&_p.vT[2]!==1&&typeof _p.vTrack[2]!=='undefined'){_p.vT[2]=1;trk=_p.vTrack[2].replace(/%n/,Date.now());this.com.js(trk);}if(_p.s===Math.floor(wT/2+wT/4)&&_p.vT[3]!==1&&typeof _p.vTrack[3]!=='undefined'){_p.vT[3]=1;trk=_p.vTrack[3].replace(/%n/,Date.now());this.com.js(trk);}if(_p.s===wT-1&&_p.vT[4]!==1&&typeof _p.vTrack[4]!=='undefined'){_p.vT[4]=1;trk=_p.vTrack[4].replace(/%n/,Date.now());this.com.js(trk);}}}_p.q='';if(_p.s>0){if(a.pr||a.video!==0){if(a.video!==0||(a.rtb.r)){_p.q='&b'+r+st+'&f'+_p.i+'='+a.rtb.n+'&fc'+_p.i+'='+_p.cn+'&ap'+_p.i+'='+a._p+'&c'+_p.i+'='+a.bid+'&a'+_p.i+'=2';}else{_p.q='&b'+r+st+'&a'+_p.i+'=5';}}else{_p.q='&b'+r+st+'&a'+_p.i+'=3';}r++;q+=_p.q;if(wT>0){if(a.video===0&&a.ps!=='W'&&a.pr&&wT<10)wT=10;if(!_p.end&&_p.s>=wT/*&&_p.pf*/){this.close(i);}else{if(a.ps==='W'){var ct=this.d("Liqwid_captions"+i);if(ct&&wT-_p.s<wT){ct.innerHTML="AD SKIPS IN "+(wT-_p.s)+" sec";ct.style.display="block";} }}}if(r>0)tl=q+'&i='+r;
if(a.pr&&rt===-1&&a.rtb.n!=='D'&&_p.cn!==0)rt=30;if(a.video!==1&&rt>-1){if(a.pr&&rt===0){rt=30;if(this.mob)rt=15;}if(a.x===1)rt=0;if(rt>9&&_p.s===rt)this.refresh(i);}if(_p.tS>0&&_p.s===_p.tS&&_p.aL!==1){_p.aL=1;this.com.log('log',_p.q+'&i=1');}}}}this.com.tl=tl;return setTimeout(function(){_this.timer();},1000);},close:function(i){var a=this.ad[i],_p=this.pp[i],d=_p.d,b=_p.b,df=_p.f[_p.cn],cB=this.d("Liqwid_close"+i),oB=this.d("Liqwid_bg"+i),vK=this.d("Liqwid_vNB"+i);if(a&&_p&&d){_p.end=true;if(a.op){d.style.height=0;d.style.overflow='hidden';}_p.cn=0;a.r=0;a.video=0;a.dur=0;if((_p.mV===5||_p.mV===6)&&_p.vN)this.ani(i,d,b,df,oB,a,_p,0,_p.w,_p.h,0,0,'absolute',null,_p.vD,_p.aE,_p.h,0,0.7);if(a.video!==0&&_p.player)_p.player.pause();if(cB)cB.style.display='none';if(oB)oB.style.display='none';if(vK)vK.style.display='none';if(d.className.indexOf("Liqwid_"+i+"fadein") >-1) {d.classList.remove("Liqwid_"+i+"fadein");d.classList.add("Liqwid_"+i+"fadeout");} if(_p.nR){if(d&&d.nextSibling){d.style.display='none';_p.end=true;d.nextSibling.classList.remove('Liqwid_'+i+'fadeout');d.nextSibling.classList.add('Liqwid_'+i+'fadein');}}else{return setTimeout(function(){d.style.display='none';d.classList.remove("Liqwid_"+i+"fadeout");},500);}}},txt:'',vg:'',ip:'916829590',vl:'',vq:'',lq:'',mq:[],nq:'',pq:'',rec:function(){this.vg=this.com.gC('LVG');if(this.vg===''){this.vg=this.com.guid();this.com.sC('LVG',this.vg,365,0);}
let vq=this.com.gC('LVQ'),mq_=this.com.gC('LMQ'),mq=[],lq='',nq='',s=mq_.split('.');
for(let x=0;x<s.length;x++)if(s[x]!==''&&!mq.includes(s[x]))mq.push(s[x]);
for (let m=0; m<mq.length; m++) {let mp=Math.floor(this.com.gC("LP" + mq[m]));if (mp!==0) {for (let p=0;p<mp;p++){if (nq==="") {nq=mq[m];}else{nq+="."+mq[m];}}
if (lq===""){lq=mq[m];}else{lq+="." + mq[m];}}}if(vq!==''&&nq!=='')nq='.'+nq;this.lq=lq;this.vq=vq;this.nq=nq;this.mq=mq;this.com.sC('liqwid', this.vq+this.nq, 0, 0);		
this.pq=this.vq;var k='',m=top.document.querySelector("meta[name*='keywords']");if(m)k=m.getAttribute("content")||'';k=k.replace(new RegExp('<','g'),'').replace(new RegExp('>','g'),'').replace(new RegExp('/','g'),'').replace(new RegExp('\n','g'),'').replace(new RegExp('\r','g'),'').replace(new RegExp('"','g'),'');if(k.length>500)k=k.substring(0,500);if(k!=='')k='&kw='+encodeURIComponent(k);var m=0;if(this.mob)m=1;this._q='key=2B69-A3AA-AFFC-D516'
+'&m='+m+'&vg='+this.vg+'&vdt='+this.com.vdt()+'&tz='+this.com.tz()+'&vd='+encodeURIComponent(document.domain)+'&sw='+top.screen.width+'&sh='+top.screen.height+'&cd='+screen.colorDepth+'&vip='+this.ip+k;},page:{u:'0',st:2,ep:1,pw:1120,al:'center',pr:0,pp:70,mw:340,z:255,nl:1,nr:1,ns:2,ll:0,lr:0,lt:0,lb:0,lc:0,rl:0,rr:0,rt:0,rb:0,rc:0},logo:function(){},cw:0,ch:0,vp:function(){var w=top.document.documentElement.clientWidth||top.document.body.clientWidth;var h=top.innerHeight||top.document.documentElement.clientHeight||top.document.body.clientHeight;this.cw=Math.floor(w);this.ch=Math.floor(h);this.q=this._q+'&al='+this.page.al+'&cw='+this.cw+'&ch='+this.ch+'&u='+ encodeURIComponent(top.location.href);},drop:false,abord:false,_q:'',q:'',qs:'',qs_:'',ad:[],mc:'',par:function(i,_p,_w,_h,_v,_a){if(typeof this.ad[i]==='undefined'){this.ad[i]={p:0,d:'',e:'',l:false,r:0,j:0,s:0,cn:0,c:'',al:_a,pp:{},pr:false,v:_v,ps:_p,mw:_w,mh:_h,ms:0,mt:0,t:0,ct:'',cm:'',rl:0,pt:'',cd:0,ci:'',cc:'',nf:null,tt:'',g:'',mg:0,fs:0,btn:[],rtb:{sT:[],c:[],m:[],w:[],h:[],n:'',r:false,f:null,s:0},vi:false,video:0,vast:false,vTr:null,dur:0,q:'',q_:''};this.pp[i]={w:1,h:1};this.i++;}},vCh:function(){if(typeof top.document.hidden==='undefined'){this.fs=false;this.mz=1;}else{if(!top.document.hidden){this.fs=true;this.mz=false;}else{this.fs=false;this.mz=1;}}},ds:0,click:function(b,u,tr,m){if(typeof this.ad[b].cm!=='undefined'&&this.ad[b].cm!=='')this.com.js(this.ad[b].cm);if(m&&m!=='')this.com.js(m);var u_=this.ad[b].ct||'';if(u_!=='')u=u_;if(this.pp[b].q===''&&b===1&&this.ad[b].ps==='B')b=0;this.com.log('log',this.pp[b].q+'&i='+b+'&ct=1');if(typeof u!=='undefined'&&u&&u!==''){top.open(u,'_blank');}},click_btn:function(b,c){this.ad[b].ct='//'+this.ad[b].btn[b,c];this.click(b,'');},blockURL:false,L:false,insert:function(p,i,I){if(top.Liqwid.obj!==0)return;if(!p)p='';this.msg((++this.stp),'Call for Placement: '+ p);if(this.lg.includes(p)) return; this.lg.push(p);
if(p==='AF6C-40EE-B1A6-EBAD')return;if(i===null&&this.i_)i=this.i_;if(this.blockURL||this.lmt===1||(this.L&&i===null))return;var a=this.ad[i],_p=this.pp[i];if(a&&_p&&!_p.cL){if (a.p!==0&&a.r===1&&_p.q!=='') this.com.log('log',_p.q+'&i=1');}var u=this.q+this.qs_+'&ex='+this.vq+this.nq+'',p_=this.com.qk('liqwid_id');if(p_&&p_!=='')p=p_;if(p&&p!=='')u+='&dpl='+p;if(this.vl!=='')u+='&vl='+this.vl;if(typeof I!=="undefined"&&I!==null)u+='&di='+I;u+='&rnd='+Date.now();this.com.js(this.host+'/get/?'+u);this.msg((++this.stp),'Ad Request: https:'+this.host+'/get/?'+u);},_qs:function(i,w_,h_){var a=this.ad[i],_p=this.pp[i],w=0,h=0;if(a&&_p){w=_p.w;h=_p.h;if(w_)w=w_;if(h_)h=h_;if(a.ps==='G'||a.ps==='H'){w=w*1.2;h=250;}a.c='&i'+i+'='+i+'&ps'+i+'='+a.ps+'&w'+i+'='+Math.floor(w)+'&h'+i+'='+Math.floor(h)+'&b'+this.sln+'='+i+'&d'+i+'='+a.d;this.qs+=a.c;this.sln++;}},clt:0,
vPos: function(i,d,b,df,oB,a,_p,tm,w,h,t,l,P,cB){if (typeof df==="undefined") {df=null;if(_p.f)df=_p.f[_p.cn];}
if((_p.cF||_p.Fc)&&cB&&oB){cB.style.display="block";this.cP(i,_p.cP,d,0,0,oB.offsetWidth,oB.offsetHeight);}if(_p.mV===2||((_p.mV===1||_p.mV===6)&&_p.vJ&&(!_p.vi&&(tm<0||tm>this.ch-_p.h*0.2)))){a.video=2;oB.style.position="fixed";oB.style.display="block";if(_p.vZ)oB.style.zIndex=_p.vZ;if(_p.vS&&!_p.vNB)oB.style.boxShadow=_p.vS;oB.style.width=_p.vW;var W=oB.offsetWidth,H=W*(a.mh/a.mw);oB.style.height=H+"px";b.style.width=W+"px";df.style.width=W+"px";df.style.height=H+"px";let _f=df.contentDocument||df.contentWindow.document;if(_f){let f_=_f.getElementsByTagName("iframe");for(let F=0;F<f_.length;F++){f_[F].width=_p.vW;f_[F].height=H+"px";}}
var vU=_p.vU,vLN,vTN,vNB,vK="Liqwid_vNB"+i,vKB=this.d(vK);if(_p.vNB&&!vKB){var vE=document.querySelector(_p.vNB[0]);if(vE){vNB=top.document.createElement('div');vNB.id=vK;if (_p.vNB[1]==="prepend"){vE.prepend(vNB);}else{vE.appendChild(vNB);}vNB.style.width=_p.vW;vNB.style.height=H+"px";if(_p.vNB[2])vNB.style.cssText+=';'+_p.vNB[2].replace(/,/g,';');}}if(_p.vTN){vTN=document.querySelector(_p.vTN);if(vTN){if(vKB)vKB.style.display="block";var VT=this.com.fp(vTN).t,ts=this.com.st();if((VT-ts)<parseInt(vU)){vU=_p.vU;oB.style.position="fixed";if(_p.vS)oB.style.boxShadow=_p.vS;}else{vU=VT+"px";oB.style.position="absolute";if(_p.vS)oB.style.boxShadow='none';}}}if(_p.vLN){vLN=document.querySelector(_p.vLN);if(vLN)_p.vL=this.com.fp(vLN).l+"px";} 
if(_p.Vp==="top-left"){oB.style.top=vU;oB.style.left=_p.vL;oB.style.right="auto";oB.style.bottom="auto";}else if(_p.Vp==="top-right"){
if (!vLN)_p.vL="auto";else _p.vR="auto";oB.style.top=vU;oB.style.right=_p.vR;oB.style.left=_p.vL;oB.style.bottom="auto";}else if(_p.Vp==="bottom-left"){oB.style.bottom=_p.vB;oB.style.left=_p.vL;oB.style.top="auto";oB.style.right="auto";}else if(_p.Vp==="bottom-right"){oB.style.bottom=_p.vB;oB.style.right=_p.vR;oB.style.left="auto";oB.style.top="auto";}else if(_p.Vp==="middle-left"){oB.style.top=(this.ch/2-H/2)+'px';oB.style.left=_p.vL;oB.style.right="auto";oB.style.bottom="auto";}else if (_p.Vp==="middle-right"){oB.style.top=(this.ch/2-H/2)+'px';oB.style.right=_p.vR;oB.style.left="auto";oB.style.bottom="auto";}if(_p.mV===6&&!_p.vX){_p.vX=1;this.ani(i,d,b,df,oB,a,_p,0,_p.w,this.com.fp(_p.vN).t,0,0,'absolute',null,_p.vD,_p.aE,_p.h,0,0.7);}}else{if(_p.vX)return;a.video=1;if(_p.vi)_p.vJ=1;if(_p.mV===5||_p.mV===6){w=this.cw;oB.style.background="#000";}vKB=this.d("Liqwid_vNB"+i);if(vKB)vKB.style.display="none";oB.style.position=P;oB.style.display="block";oB.style.right=="auto";oB.style.bottom="auto";oB.style.left=l+'px';oB.style.top=t+'px';oB.style.width=w+'px';oB.style.height=h+'px';if(_p.b){_p.b.style.width=w+'px';_p.b.style.height=h+'px';}if(df){df.style.width=w+'px';df.style.height=h+'px';}if(_p.vS)oB.style.boxShadow='none';if(_p.mV===1){if(_p.Vz)oB.style.zIndex=_p.Vz;}else if(_p.mV===5||_p.mV===6){oB.style.zIndex=0;}else{if(_p.vZ)oB.style.zIndex=_p.vZ;}if(cB){if(_p.cF&&cB){cB.style.display="block";}else{cB.style.display="none";}}if(_p.mV===5||_p.mV===6){d.style.position=P;d.style.left=l+'px';d.style.top=t+'px';d.style.width=w+'px';if(!a.nf)d.style.height=h+'px';if(vKB)vKB.style.display="none";}if(b)this.box(i,a,_p,d,b,df,w,h);}},pA:0,pB:0,pH:0,pG:0,pR:0,TO:null,ov:function(l1,r1,l2,r2){if(l2.x<r1.x&&r2.x>l1.x&&l2.y<r1.y&&r2.y>l1.y) return true; return false;},board:function(){if(this.drop)return;for(i=0;i<this.i+1;i++){var _this=this,a=this.ad[i],_p=this.pp[i];var df;if(_p&&_p.f&&_p.f.length>0)df=_p.f[_p.cn];if(!_p||!a||_p.end /*|| (this.mob && _p.iL && a.pr && a.r && a.rtb.r)*/ )continue;var _=this._,pw=this.page.pw,aW=this.cw,aH=this.ch,saW=top.screen.availWidth,saH=top.screen.availHeight,fN,NP,CU,vis=_p.vI,vk=_p.vI,va=_p.va,mb=_p.mb,mt=_p.mt,bh=_p.blh,be=_p.bl,wN,CW,mW=_p.mW,rE=_p.rE,S,rn=0,clnNum=0,i_=0,n_=0,_t=0,_l=0,nB=_p.nB,blS=_p.blS,fL=_p.fL,cln=0,s_in=_p.aI,s_out=_p.aO,pos_=_p.pZ,pO='',_n=this._(a.rtb.n,null),top_=Math.floor(_p.tO),btm_=Math.floor(_p.bO),nn=_p.nodeNum,cW=_p.cW,cM=_p.cM,cM_=0,eE=_p.eE,cL=_p.cL,sA=_p.sA,sS=_p.sS,cV=_p.cV,cD=_p.cD,cSec=0,cScr=0,mC=_p.mC,lE=_p.lE,sL=_p.sL,cI=_p.cI,ia=_p.ia,fw=_p.fw,pm=_p.pm,pW=_p.pW,pU=_p.pU,nP=_p.nP,tH=Number(_p.tH),bH=_p.bH,cT=_p.cT,an=_p.aN,rW=a.mw,sO=_p.sO,hO=_p.hO,nZ=_p.nZ,cF=_p.cF,ut=_p.ut,mM=_p.mM,bS=_p.bS,bG=_p.background,w=a.mw,h=a.mh,u_=top.location.href,zi=_p.zi||this.page.z,ts=this.com.st(),d=_p.d,b=_p.b,cB=this.d("Liqwid_close"+i),oB,d_,_d,rH=_p.rH,dL=0,dT=0,zw=1,fzw=1,wx=this.com.wp().l,wy=this.com.wp().t;if(typeof _p.V==="number"){vis=Number(_p.V)/100||0;}if(this.mob){wx=0;wy=0;}else{if(top.devicePixelRatio){zw=top.devicePixelRatio;}else if(top.screenX=='0'){zw=(top.outerWidth-8)/top.innerWidth;}else{var scr=top.frames.screen;zw=scr.deviceXDPI/scr.systemXDPI;}if(this.com.br==='firefox')fzw=zw;}s_in=i+s_in;s_out=i+s_out;CU=null;wN=null;if(_p.CW){CW=top.document.querySelector(_p.CW);if(CW)aW=CW.offsetWidth;}if(pW){pw=pW;}else{if(this.page.pr===1){pw=Math.floor(aW/100*this.page.pp);if(pw>this.page.pw)pw=this.page.pw;if(pw<this.page.mw)pw=this.page.mw;}}

if (_p.sP&&a.p!=0&&((!a.pr&&a.r===1)||a.rtb.r)){for(m=0;m<_p.sP.length;m++){var sP=top.document.querySelectorAll(_p.sP[m]);if(sP.length>0){if(al==="center"){pw=Math.floor(this.cw-a.mw*2)-mM-mM;}else{pw=Math.floor(this.cw-a.mw)-mM;}if (_p.pM&&pw>_p.pM)pw=_p.pM;if(_p.wP&&((!a.pr&&a.r===1)||a.rtb.r))sP.forEach(function(e){e.style.transition="width 0.3s ease-out";e.style.width= pw+"px";if(_p.mS)e.style.margin=_p.mS;});}}}

if(_p.pN&&_p.pN.length>0){let pN;if(typeof _p.pN[0]!=='object'){pN=top.document.querySelector(_p.pN[0]);if(pN){pw=pN.offsetWidth+40;if(pN.offsetWidth<_p.pN[1])pw=_p.pN[1];}}else{for (let g=0;g<_p.pN.length;g++){pN=top.document.querySelector(_p.pN[g][0]);if(pN){pw=pN.offsetWidth+40;if(pN.offsetWidth<_p.pN[g][1])pw=_p.pN[g][1];break;}}}}

if(_p.wN){wN=top.document.querySelector(_p.wN[0]);var v1=_(_p.wN[1],null),v2=_(_p.wN[2],null),v3=_(_p.wN[3],true);if(wN){if(v1 && v1!=="overlap"){var v0=top.getComputedStyle(wN,null).getPropertyValue(v1);if(v0==v2){if(!v3)CU=1;}else{if(v3)CU=1;}}else{if (v1==="overlap") {if(this.TO===i){d.style.display="none";_p.vi=false;continue;}var l1={},r1={},l2={},r2={};l1.x=this.com.fp(b).l;r1.x=l1.x+a.mw;l2.x=this.com.fp(wN).l;r2.x=l2.x+wN.offsetWidth;l1.y=this.com.fp(b).t;r1.y=l1.y+a.mh;l2.y=this.com.fp(wN).t;r2.y=l2.y+wN.offsetHeight;var dt=this.ov(l1,r1,l2,r2);if(dt&&!v3){CU=1;this.TO=i;setTimeout(function(){Liqwid.TO=null;},1500);}}else{if(!v3)CU=1;}}}}if(_p.NS&&!CU){wN=top.document.querySelector(_p.NS[0]);if(!wN||top.getComputedStyle(wN,null).getPropertyValue("display")==="none") CU=1;}if(_p.nA/*&&!this.NA*/&&_p.vi&&((!a.pr&&a.r===1)||a.rtb.r))this.nA(_p.nA);if(CU){d.style.display="none";_p.vi=false;continue;} if(_p.SP){NP=top.document.querySelector(_p.SP[0]);if(NP&&top.getComputedStyle(NP,null).getPropertyValue("display")!=="none"){eval(_p.SP[1]+"="+_p.SP[2]);if(_(_p.SP[3],null))this.nA([[_p.SP[0],_p.SP[3]]]);}}this.vp();if(va==='m'){d_=this.d('Liqwid_slot'+i);_d=this.d('Liqwid_rail');
if(d_&&d){if(d_.parentNode)rW=d_.parentNode.offsetWidth;if(rW>a.mw)rW=a.mw;/*d_.style.width=rW+"px";d.style.width="100%";*/}}
if(_p.cA){for(var A=0;A<_p.cA.length;A++){var O_=top.document.querySelector(_p.cA[A][0]),C_=_(_p.cA[A][1],null),V_=_(_p.cA[A][2],null),P_ = "";if (O_){if(C_&&V_){if(C_==="requests"){if(this.pv>=V_){this.drop=true;console.log("ads dropped");break;}}else{P_=top.getComputedStyle(O_,null).getPropertyValue(C_);if(!C_||P_.indexOf(V_)>-1){this.drop=true;break;}}}}}}if(this.drop){for(var I=0;I<this.i+1;I++){var D=this.d('Liqwid_board'+I);if(D){this.msg((++this.stp),'Box: '+i+' Dropped: ' + a.p,1);D.style.display="none";D.innerHTML='';a.p=0;a.r=0;a.rtb.r=false;}}return;}
if(_p.cO&&_p.cO.length>0){for(var O=0;O<_p.cO.length;O++){var O_,C_=_(_p.cO[O][1],null),V_=_(_p.cO[O][2],null),P_ = "";try{O_=top.document.querySelector(_p.cO[O][0]);} catch(e){}if(O_){if(C_)P_=top.getComputedStyle(O_,null).getPropertyValue(C_);if((!C_&&O_.offsetWidth>0)||(C_&&P_.indexOf(V_)>-1)){d.style.display="none";d.innerHTML='';this.msg((++this.stp),'Box: '+i+' Canceled: '+a.p, 1);a.p=0;a.r=0;a.rtb.r=false;_p.end=1;continue;}}}}if(_p.pO!==''||_p.sA){if(!_p.sA){pos_=_p.pO;}else{if(a.ps==='A'||a.ps==='B'){pos_="fixed";if(_p.s>=_p.sA||(a.ps==='B'&&this.A>=_p.sA)){if(!_p.pts) {_p.pts=ts;_p.pO='absolute';}pos_=_p.pO;}}else{pos_=_p.pO;}}}if(_p.vI===0)vis=0;if((a.ps==='A'||a.ps==='B'||a.ps==='W')&&a.pr)vis=0.8;if(this.mob&&a.pr&&!_p.V)vis=0.1;vk=vis;if(vk===0)vk=0.1;if(d){dL=this.com.fp(d).l;dT=this.com.fp(d).t;}if(_p.oB||(_p.mV&&_p.mV>0))oB=this.d("Liqwid_bg"+i);if(_p.iL&&!a.tE&&!this.ka/*&&_p.cE>0*/&&(_p.mC===0||a.k<_p.mC)){S=this.a(_p);if(S.length>a.kn){this.ka=1;a.kn=S.length;A=a;P=_p;setTimeout(function(){_this.clon(S,A,P);},_p.iL);}}if (df&&_p.jB){var _df=df.contentDocument||df.contentWindow.document;if(_df&&_df.body.innerHTML===''){_df.body.innerHTML='<!-- new call -->';}}if (!a.op){if(a.c==='')this._qs(i);if(a.rl!==0&&(a.p!==0&&((!a.pr&&a.r===1)||a.rtb.r)&&d&&d.parentNode&&b)){if(!a.nf){if(b){b.style.width=_p.w+'px';b.style.height=_p.h+'px';}if(df){df.style.width=_p.w+'px';df.style.height=_p.h+'px';}}if(_p.mV===5||_p.mV===6){va='';pos_=_p.Vp;}if(d_)dL=this.com.fp(d_).l;if(_d)dL=this.com.fp(_d).l;if(rE){var rE_=top.document.querySelector(rE[0]);if(rE_)w=Math.floor(this.com.fp(rE_).l-dL-rE[1]);}else{if(_p.mV===3||(_p.mV===4&&_p.pX)){w=Math.floor(this.cw-dL);}else{w=d.parentNode.offsetWidth;}}if(mW&&w>mW)w=mW;if(w>0)h=Math.floor(w*(a.mh/a.mw));};if(_p.fN)fN=document.querySelector(_p.fN);if(fN){w=fN.offsetWidth;h=fN.offsetHeight;};if(_p.mV===5||_p.mV===6){w=_p.w;h=_p.h;}var t_,n_,b_,l_,w_,h_,bl_=0,aY=0,bt=0,bl=0,lb=0,pd=true;t_=d_||d;if(t_)aY=this.com.fp(t_).t;_p.y=aY;if(va==='m'){if(blS){bl=blS;}else{if(be!==''||bh!==''||nB){if(bh!==''){n_=top.document.querySelectorAll(bh);if(n_.length>0)nn=n_.length-1;b_=n_[nn];if(b_){bl_=this.com.fp(b_).t+b_.offsetHeight;}}else if(be!==''){if(be==='auto'){if (!_p.bla){var bn=document.getElementsByTagName("div");for(var o=0;o<bn.length;o++){bt=this.com.fp(bn[o]).t;lb=this.com.fp(bn[o]).l;if(bt>aY&&lb<=dL&&lb+bn[o].offsetWidth>dL&&(!_p.blC||bn[o].className.indexOf(_p.blC)>-1)){_p.bla=bn[o];break;}}}b_=_p.bla;}else{if(nB){for(var j=0;j<nB.length;j++){var bW=top.document.querySelector(nB[j]);if(bW){if(dL>0&&this.com.fp(bW).l+bW.offsetWidth>dL){be=nB[j];break;}}}}b_=top.document.querySelector(be);}}if(!b_){if(be==='auto'){bl=aY+h;}else{bl=document.body.offsetHeight+mb;}}else{if(bt===0)bt=this.com.fp(b_).t;if(bl_===0||bl_>bt)bl_=bt;if(bl_>0)bl=bl_-aY+mb;if(bl<h&&_p.sH&&bl>_p.sH)_p.va='';}}}}if(_p.tN){var tN=top.document.querySelectorAll(_p.tN),tT,tL,tNM=0;for(var o=0;o<tN.length;o++) {tT=this.com.fp(tN[o]).t;tL=this.com.fp(tN[o]).l;
if(tT>=aY+h &&tL<dL+w&&tL+tN[o].offsetWidth>dL){bl=tT-aY-20;break;}}}if(_p.bl!=='ignore'){if(va==='m'&&bl<h)pd=false;}else{if(_p.rH)bl=_p.rH;}var t=dT,l=dL,tm=t-ts+(h-h*vk),lm=l-this.com.sl(),hB=0,rm=Math.floor(lm+(w*vk)),bm=Math.floor(t+(h*vk)-ts),sl=Math.floor(wx+lm*zw+(w-w*vk)*zw),sr=Math.floor(wx+rm*zw),sb=Math.floor(wy+bm*zw),_t=Math.floor((this.ch/2)-h/2);if(ut)_t=ut;if(d&&b&&d.style.position==='fixed'){sb=Math.floor(wy+tm+(h*vk)*zw);sl=Math.floor(wx+this.com.fp(b).l*zw+(w-w*vk)*zw);tm=d.offsetTop;sr=Math.floor(wx+this.com.fp(b).l*zw+(w*vk)*zw);}if(_p.mV!==5){_p.w=w;_p.h=h;}if(_p.mK)tm-=_p.mK;if (a.t!==8){if(_p.iT===4){if(vis===0||(this.fs&&((_p.cM===0&&this.cw>pw+280)||(_p.cM!==0&&this.cw>=_p.cM))||(this.bgad===0||ts<this.bgad/2))){_p.vi=true;}else{_p.vi=false;}}else{if(vis===0||(this.fs&&(_p.mV===2||((cM===0||cM<=this.cw)&&(tm>=0)&&(w*vk<=this.cw)&&(cW===0||cW>= this.cw)
&&(sl>=0
//&&sr<=screen.availWidth*fzw
)&&(h*vk<=this.ch)
&&(sb-_p.TM<=screen.availHeight)
&&(a.r===0||bm-_p.TM<=this.ch)&&(bl===0||bl>h)&&(!_p.lS)/*&& pd */)))){
_p.vi=true;
if(_p.nW){w_=top.document.querySelector(_p.nW);if(w_&&w_.offsetWidth<w)_p.vi=false;}}else{_p.vi=false;}if(_p.oO){var od=top.document.querySelector(_p.oO[0]);if(od){if(od.style.display==='block'){_p.vi=true;}else{_p.vi=false;}}}}}if(vis===0)_p.vi=true;if(a.t===8&&a.fo.length>0){_p.vi=true;if(d&&b&&df){d.style.width="100%";b.style.width="100%";df.style.width="100%";}}if(_p.mV===5||_p.mV===6){if(ts>_p.h*0.3){_p.vi=false;}else{if(this.fs)_p.vi=true;}};if(sO!==0&&ts<sO)_p.vi=false;
if(va==='m'){
if(a.ps==='I'){cln=this.clI;}else if(a.ps==='J'){cln=this.clJ;}else if(a.ps==='K'){cln=this.clK;}else if(a.ps==='M'){cln=this.clM;}else if(a.ps==='N'){cln=this.clN;}else if(a.ps==='O'){cln=this.clO;}if(_p.mK)eE=_p.mK;if(eE>0&&eE>=_t)_t=eE;aY=Math.floor(aY);bl=Math.floor(bl);h=Math.floor(h);_t=Math.floor(_t);ts=Math.floor(ts);if(cD&&cD.length>0){cSec=cD[0];cScr=cD[1];if(cScr===-1)cSec===0}if(cScr===-1||(bl>h&&aY-ts<=_t-eE&&aY+bl-ts>=_t+h)){if(aY+bl-ts>=_t+h)_p.pX=(aY-ts);if(sS!==0||sA>0||cD){if(!cL){hB=parseInt(_t-(aY-ts)+h);if(rH)hB=rH;if(hB+40>bl)hB=bl;if(cScr===-1) hB=a.mh;d_.style.height=hB+'px';if(_p.mB){d_.style.marginBottom=_p.mB;_p.mB=null;}}}if(!cL&&(mC===0||cln<mC)&&((sA>0&&sA<_p.s)||(sS!==0&&ts>_p.sL+sS)||((cSec===0||(cSec>0&&_p.s>=cSec))&&(cScr===0||ts>_p.sL+cScr||cScr===-1)))){if(!blS){blS=_p.blS=hB;if(bl-blS>=h){_p.cL=true;if(a.ps==='I'){this.clI++;}else if(a.ps=== 'J'){this.clJ++;}else if(a.ps==='K'){this.clK++;}else if(a.ps==='M'){this.clM++;}else if(a.ps==='N'){this.clN++;}else if(a.ps==='O'){this.clO++;}var n=this.i+1;if(!cI)cI=a.e;if(cV||cSec!==0||cScr!==0){if(cSec!==0||cScr!==0)this.ad[n]=a;this.insert(cI);}}}}if(d){if(cScr!==-1){d.style.position='fixed';d.style.top=_t+'px';}if(_p.mV&&!_p.end&&oB&&a.r===1)this.vPos(i,d,b,df,oB,a,_p,tm,w,h,_t,dL,"fixed",cB);}}else{if(d){pO="absolute";if(_p.pO!=='')pO=_p.pO;d.style.position=pO;if(aY+bl-ts<_t+h){_t=(bl-h);if(_t<0)_t=0;d.style.top=_t+'px';if(_p.pX+bl>(aY+bl-ts+h*0.1))_p.pX=null;}else{d.style.top=eE+'px';if(_p.pX<(aY-ts-h*0.1))_p.pX=null;}if(_p.mV&&!_p.end&&oB&&a.r===1)this.vPos(i,d,b,df,oB,a,_p,tm,w,h,dT,dL,pO,cB);}}}else{if(_p.aF&&((!a.pr&&a.r===1)||a.rtb.r)){var ahd=top.document.querySelector(_p.aF[0]),ahdL=0,ahdT=0;if(ahd){if(!_p.aF[2]&&!_p.aF[3]){_p.aF[2]=this.com.fp(ahd).l;_p.aF[3]=this.com.fp(ahd).t;}if((aY+bl-ts)<(_p.aF[3]+ahd.offsetHeight+ts))_p.aF[1]=0;if(_p.aF[1]>_p.s||ts<_p.aF[5]){_p.vi=true;if(_p.aF[5]>0&&ts===0){_p.aF[5]=null;}else{ahd.style.position='fixed';ahd.style.left=_p.aF[2]+'px';ahd.style.top=_p.aF[3]+'px';}}else{ahd.style.position=_p.aF[4];if(!_p.aF[5]){_p.aF[5]=ts;ahd.style.left='auto';ahd.style.top=ts+'px';}}}}if (d && b){if(top_)d.style.top = top_+'px'; 
if(_p.mV){let _f=df.contentDocument||df.contentWindow.document;if(_f){let f_=_f.getElementsByTagName("iframe");for(let F=0;F<f_.length;F++){f_[F].width=w+"px" ;f_[F].height=h+"px";}}}if(((_p.mV&&_p.mV<5)||(_p.mV&&_p.mV==6&&!_p.vi))&&!_p.end&&oB&&a.r===1)this.vPos(i,d,b,df,oB,a,_p,tm,w,h,dT,dL,"absolute",cB);if (pos_ !== '')pO=pos_;if(_p.pO!=='')pO=_p.pO;if(_p.pA){var pA=top.document.querySelector(_p.pA);if(pA){pO=top.getComputedStyle(pA).getPropertyValue('position');if(pO==='fixed'){d.style.top=this.com.fp(pA).t+pA.offsetHeight+50+'px';}else{d.style.top=top_+'px';}}}d.style.position=pO;if(pos_==='static') {if(fL)d.style.float=fL;}}}if(cM!==0){if(cM<=this.cw){if(!_p.end&&d)d.style.display='block';}else{cM_=1;if(d)d.style.display='none';}}if(cW!==0){if(cW>=this.cw&&cM_!==1){if(!_p.end&&d)d.style.display='block';}else{if(d)d.style.display='none';}}if(a.p!==0){if(_p.vi){if(!_p.SN&&(!_p.sN||this.sN<_p.sN)){_p.SN=true;this.sN++;if(this.dbg)this.msg((++this.stp),'Ads in View: ' + this.sN + ' Max: ' + _p.sN,'debug');}
if(!_p.l&&_p.SN){_p.l=true;if(this.dbg)this.msg((++this.stp), 'Fill In View Slot #: ' + i + ' Placement: ' + a.p, 'debug');if(!_p.fD){Liqwid.fill(i);}else{var I=i;setTimeout(function(){Liqwid.fill(I);},_p.fD);}} else {if (((!a.pr && a.r === 1) || a.rtb.r) && d) {if (_p.vc === 0) {_p.vc = 1;if (d.className.indexOf("Liqwid_" + s_out) > -1) d.classList.remove("Liqwid_" + s_out);if(!_p.end){if(b)b.style.display='block';d.style.display='block';}d.classList.add("Liqwid_"+s_in);}}}}else{
/*if(!pd&&d)d.style.display="none";*/
if(_p.SN){_p.SN=false;this.sN--;if(this.dbg)this.msg((++this.stp),'Ads in View: ' + this.sN,'debug');
}}if(a.video!== 0&&!_p.end&&_p.player){if(!_p.pV){if(_p.vi||(a.video===2&&this.fs)){if(_p.paused){_p.paused=false;_p.player.play();}}else {if(!_p.paused&&(a.video===1||!this.fs)){_p.paused=true;_p.player.pause();}}}}}
} else { 
if(((this.abord||this.lmt===1) && typeof a.pp.ignoreSkinsControl==='undefined')||((cW!==0&&cW<this.cw)||(cM!==0&&cM>this.cw))||(a.pr && a.rtb.s===0) ){if(d)d.style.display='none';if(oB)oB.style.display='none';continue;}var X=0,al=this.page.al,ns= this.page.ns,nl=this.page.nl,nr= this.page.nr,in_sq=false,wx=this.com.wp().l,wy=this.com.wp().t,k=1,_cl=0,tP=this.page.lc,lM=this.page.ll,rM=this.page.lr,tM=this.page.lt,bM=this.page.lb,ver_num=nl,fy=0,dY=0,mY=0,dy='none'; if(_p.PA)al=_p.PA; 
if(a.al==="right"){lM=this.page.rl;rM=this.page.rr;tM=this.page.rt;bM=this.page.rb,ver_num=nr;tP=this.page.rc;} if(this.mob){saW=aW;saH=aH;}
var min_sq=false,x=lM,y=0,kw=0,kh=0,rB=pw;if(_p.CW&&CW){X=this.com.fp(CW).l;x=X;}if(fw>0){wx=0;wy=0;}

if(vis===0){wx=0;wy=0;saW=this.cw;} 
if(pw>0){w=((aW-pw)/ns-(rM+lM));rB=pw;} 
if(a.ps!=='G'&&a.ps!=='H'){
if(al==='center'){
if(a.al==='right')x=X+((aW-pw)/ns)+pw+lM;
if(wx+x<0){aW+=wx;
if(a.al==='left'){
x-=(wx+8);w=(w-(x+rM));
} else { 
if(aW<w){
w=(aW-(rM+lM));x=(lM-wx);
}}} else if((wx+aW)>saW){
aW=saW-wx;
if(a.al==='right'){
w=(aW-x-rM);}else{if(aW<w){	w=(aW-(rM+lM));}}}} else if(al==="left") {  
if((wx+aW)>saW)	aW=saW-wx;x=(pw+lM);w=(aW-x-rM);if(wx<0){aW+=wx;if(aW<w){w=aW-(rM+lM);x=lM-wx;}}
} else {  
if(a.al==='left')w=(aW-pw)-(rM+lM);if(wx<0){aW+=wx;x=lM-wx;w=w-x-rM;} else if((wx+aW)>saW) {aW=saW-wx;if(aW<w) {w=(aW-(rM+lM));}} 
} 
/*y=tM-eE-tH,kw=0,kh=0,rB=pw; if(y<eE)y=eE;*/
			   
if (nP) {var te,_te=nP.replace(/,/g,'|').split('|'),teH=0,_teH=0;for(let j=0;j<_te.length;j++) {_te[j]=_te[j].trim();te=top.document.querySelector(_te[j]);if(te) {teH=this.com.fp(te).t;if(tH)teH+=Math.floor(te.offsetHeight+tH);if(teH>_teH)_teH=teH;}}if(_teH>tM)tM=_teH;mY=tM;tM-=ts;if(tM>pU)pU=0;}
	
if(pU!==0){if(tM<pU)tM=pU;else tM+=pU;}
if(bH){if(!Array.isArray(bH))bH=[bH];for(var j=0;j<bH.length;j++){var fe=top.document.querySelector(bH[j]);if(fe){fy=Liqwid.com.fp(fe).t+mb;if(fy<ts+aH)bM=aH-fy+ts;this.bE=bM;break;}}} 	
if(a.fs===1){if(tM<eE&&(fy===0||fy>ts+aH))tM=eE;if(fy-ts>0&&fy-ts<a.mh&&tM===0)tM=fy-ts-a.mh;}else{if(tM<0)tM=0;}
dY=tM;h-=dY;if(aH!==saH&&(wy+aH)>saH)aH=saH-wy;h=aH-(tM+bM);if(ver_num>1){h=(aH-(tM+bM+tP))/ver_num;if(a.v>0)dY=tM+h+tP;}
} else { 
if(pw>120) {w=pw;} else{w=aW;} //?
if(al==="center") {if(pw>0){x=(aW-pw)/2;}rB=(x+w);if(wx<0){aW+=wx;rB=(x+w);if(aW<(x+w)){x=-wx;w=(rB-x);}}
if((wx+aW)>saW){aW=(saW-wx);if((x+w)>(aW)){w=aW-x;}}
}else if(al==="left"){x=0;if(wx<0){x=-wx;w+=wx;}
if((wx+aW)>saW){aW=(saW-wx);if((x+w)>(aW))w=aW-x;}
}else {  
x=(aW-pw); if(wx<0){aW+=wx;rB=(x+w);if(aW<pw){x=-wx;w=(rB-x);}}
if((wx+aW)>saW){aW=(saW-wx);if((x+w)>(aW)){w=aW-x;}}} 

h=a.mh;w=a.mw;x=Math.floor(this.cw/2-w/2);if(cT){var ctN_=top.document.querySelector(cT);if(ctN_){x=this.com.fp(ctN_).l+ctN_.offsetWidth/2-a.mw/2;}}
dY=top_;if(eE>0)dY=eE;if(a.ps==='H')dY=Math.floor(aH)-h-btm_;	
}  
this.wx=wx;this.wy=wy;if(lE){var lEn=top.document.querySelector(lE[0]), lX=0;if(lEn)lX=this.com.fp(lEn).l-a.mw;if(lX<x)x=lX;}							   
 
if(w>3000)w=3000; kw=w;
if((a.ps==="A"||a.ps==="B")&&(a.rl!==0||fw!==0)){var w_=h*(a.mw/a.mh),h_=h;if(fw>0){w_=w; h_=w_*(a.mh/a.mw);if(h_<h){h_=h;w_=h*(a.mw/a.mh);}} 
if(a.ps==='A')x=x+w-w_;w=w_;h=h_;w=Math.floor(w);h=Math.floor(h);x=Math.floor(x);if(df){
try{var df_=df.contentDocument||df.contentWindow.document;if(df_)img_=df_.getElementById("LW_img");if(img_){img_.style.height=h.toFixed()+"px";img_.style.width=w.toFixed()+"px";}
} catch(ex){}}}   

if(vis===0||(this.cw>a.mw&&((kw>=a.mw*vk&&this.ch-tM>-a.mh*vk))))min_sq=true;if(_p.hN&&(a.ps==='G'||a.ps==='H')){var hn=top.document.querySelector(_p.hN);if(hn){if(this.com.fp(hn).t-ts<aH)min_sq=false;}}	
if(_p.wP&&(a.ps==='A'||a.ps==='B')){if(min_sq){min_sq=false;if(_p.wP&&this.cw>_p.wP+a.mw*2)min_sq=true;}}kh=h;if(a.mh>h)kh=a.mh;if(a.ps==='G'||a.ps==='H'){kw=this.cw; kh=250;}if(a.c==='')this._qs(i,kw,kh);if(a.fs!==0){var _x=Math.floor(w/2-a.mw/2),_y=0;if(a.ps==='A'||a.ps==='B'||a.ps==='W'){_y=Math.floor(this.ch/2-a.mh/2)-dY;if(dY>Math.floor(this.ch/2-a.mh/2))_y=0;if(_y<0)_y=0;}_p.y=_y;if(dY+a.mh*vk>this.ch)min_sq=false;if(a.al==='left'){if(_x+a.mw>w)_x=w-a.mw;if(pm)_x=w-a.mw-Math.floor(pm);if (pw+a.mw*2+mM*2>=this.cw && _x+a.mw<w-mM)_x=w-mM-a.mw;}else if(a.al==='right'){if(_x<0)_x=0;if(pm)_x=Math.floor(pm);if(pw+a.mw*2+mM>=this.cw && _x<mM)_x=mM;}_p.x=_x;} 
 
if(a.fs!==0){if((a.ps==='A'&&this.pA!==0)||(a.ps==='B'&&this.pB!==0)){if(a.mw===160){min_sq=false;}else{if(!min_sq){if(a.ps==='A')this.pA=0;if(a.ps==='B')this.pB=0;}}}
if((a.ps==='A'||a.ps==='B')&&this.pR===1)min_sq=false;}if(_p.lS||((sO!==0&&ts+top_<sO)||(hO!==0&&((hO<sO&&ts+top_<hO)||(min_sq&&hO>sO&&ts+top_>hO)))))min_sq=false;if(this.demo&&(a.ps==='G'||a.ps==='H')){var sl=Math.floor(wx+(this.cw/2-a.mw/2)*zw),sr=Math.floor(wx+(this.cw/2+a.mw/2)*zw),sb=Math.floor(wy*fzw+this.ch*zw);if((sb>screen.availHeight*fzw)||(sl < 0)||(sr>screen.availWidth*fzw))min_sq=false;}if(a.ps==='W' && this.fs)min_sq=true;if(min_sq){
 
if((a.ps==='A'||a.ps==='B') && a.fs!==0 && a.mw!==160){if(a.ps==='A')this.pA=1;if(a.ps==='B')this.pB=1;}
if(a.ps==='G'||a.ps==='H'){if((!this.mob&&a.mw>728)||(this.mob&&a.mw>320)){if(a.ps==='H')this.pH=1;if(a.ps==='G')this.pG=1;} if(_p.fS&&_p.fS.length>1&&a.r)this.fitTo(i,a,_p.fS);}

if(_p.cE>0){
_cl=this.clA;if(a.ps==='B'&&a.p>0&&this.Ap!==a.p)_cl=this.clB;
if((a.ps==='A'||(a.ps==='B'&&this.Ap!==a.p))&&(_p.mC===0||_cl<_p.mC)&&_p.s>=_p.cE&&a.wait===0&&ts-this.prevS>h*2){
pos_="absolute";
var _d,_b,_df,_cl,_s='l';_l=0;	
if(d) {
if(a.ps==='A') {this.clA++;_cl=this.clA;} if(a.ps==='B'&&a.p>0&&this.Ap!==a.p){this.clB++;_cl=this.clB;_s='r';_l=1;}
d.id="Liqwid_clone_"+_s+"_"+_cl;
b.id="Liqwid_clone_b_"+_s+"_"+_cl;
//df.id="Liqwid_clone_f_"+_s+"_"+_cl;
if (a.ps==='A' && a.p >0 && this.ad[1].p===a.p) {
_d=this.d("Liqwid_board1"),_b=this.d("Liqwid_box1"),_df=this.d("Liqwid_frame1");
if(_d) {
_d.id="Liqwid_clone_r_"+_cl;
_b.id="Liqwid_clone_b_r_"+_cl;
_df.id="Liqwid_clone_f_r_"+_cl;
_d.style.position="absolute";	
	}
}
if(mY>dY)dY=mY;
if(this.prevBot<dY) this.prevBot=dY;
var incr=((ts-this.prevS)/50*1/(ts-this.prevS)),ts_=aY+ts;
a.wait=1;	
this.com.move(d,_l,ts_,this.prevBot,incr,incr/200,incr/200);
if(_d)this.com.move(_d,1,ts_,this.prevBot,incr,incr/200,incr/200);
}
}
if(a.ps==='A' && a.wait===2 && a.p>0) {
this.prevBot=dY+h*this.clA;
if(_p.cI){
this.insert(_p.cI);
} else {
this.add(0);
if(this.ad[1].p===a.p)this.add(1);
}
this.prevS=ts;a.wait=0;
}	
if(a.ps==='B' && a.wait===2 && a.p>0 && this.Ap!==a.p) {
this.prevBot=dY+h*this.clB;
if(_p.cI){
_p.cI=a.e;
this.insert(cI);
} else {
this.add(1);
}
this.prevS=ts;a.wait=0;
}}

if(d&&((!a.pr&&a.r===1)||a.rtb.r)) {if(nZ){var _nZ=top.document.querySelector(nZ[0]);if(_nZ){var np=_nZ.style.position;if (np!=='absolute'&&np!=='relative'&&np!=='fixed'){if(this._(_p.nZ[2],null)){_nZ.style.position=_p.nZ[2];}else{_nZ.style.position='relative';}}_nZ.style.zIndex=nZ[1];}}if(oB){var oBl=0;if(_p.oF)oBl=Math.floor(_p.oF.replace(/ /g,'').replace('blur(','').replace('px)',''));if(isNaN(oBl))oBl=0;oB.style.position="fixed";oB.style.width=Math.floor((aW+oBl*2)+10)+"px";oB.style.height=Math.floor((h+oBl*2)+10)+"px";oB.style.left="-"+(oBl+5)+"px";oB.style.zIndex=zi-1;oB.style.display='block';if(cB){cB.style.right=-(aW-(aW/2+a.mw/2)-20)+'px';}}if(a.ps==="W"&&a.mw>1&&a.mh>1){w=this.cw;h=this.ch;y=0;x=0;}if(a.ps==='H'){if(_p.bN){var bN=top.document.querySelector(_p.bN);if(bN)btm_=bN.offsetHeight;}d.style.bottom=btm_+"px";if(oB)oB.style.bottom=-(_p.oT+oBl*2)+'px';}else{if(_p.cE>0){if(a.ps==='A'){_cl=this.clA;_s='l';}if(a.ps==='B'&&a.p>0&&this.Ap!==a.p){_cl=this.clB;_s='r';}if(_cl>0){var da=document.getElementById("Liqwid_clone_"+_s+"_"+_cl),_dY=dY;if(da){_dY=this.com.fp(da).t+h;this.prevBot=_dY;if(_dY-ts>tM){pos_="absolute";dY=this.prevBot;}}for (var s=1;s<_cl+1;s++){if(a.ps==='A'){var cl_=document.getElementById("Liqwid_clone_l_"+s);if(cl_){cl_.style.width=w+"px";cl_.style.display="block";}}if(a.ps==='B'){cl_=document.getElementById("Liqwid_clone_r_"+s);if(cl_){cl_.style.width=w+"px";cl_.style.display="block";cl_.style.left=x+"px";}}}}}	
if(_p.pts)dY=_p.pts;d.style.top=dY+"px";a.y=dY;if(oB)oB.style.top=(dY-_p.oT)+'px';}} 
_p.vi=true;if(!d)continue;d.style.width=w+'px';if(!a.nf)d.style.height=h+'px';d.style.left=x+'px';d.style.zIndex=zi;d.style.position=pos_;_p.pf=1;if (a.ps==='G'&&_p.sE!==''&&_p.sE!=='body'){if (ts>0&& ts+top_>=this.com.fp(d).t&&!_p.fp){pos_="fixed";d.style.marginTop='0px';if(cB)cB.style.display='block';if(oB)oB.style.display='block';}else{_p.pf=null;if(_p.mt!=='')d.style.marginTop=_p.mt;if(cB)cB.style.display='none';if(oB)oB.style.display='none';}}_p.w=w;_p.h=h;if(a.fs!==0||(a.ps==='W'&&a.mw>1&&a.mh>1)){this.box(i,a,_p,d,b,df,w,h);if(b&&bS){if(!_p.pf)bS='none';b.style.boxShadow=bS;}}else{if(b){b.style.width=w+"px";b.style.height=h+"px";b.style.display='block';if(df){df.style.left="0px";df.style.top="0px";df.style.width=w+"px";df.style.height=h+"px";}}}
if(d.style.display!=='block'&&((a.video===1&&!_p.end)||((!a.pr&&a.r===1)||a.rtb.r))){d.style.display='block';if(oB)oB.style.display='block';}

if(!_p.l&&a.p!==0){_p.l=1;this.fill(i);}}else{_p.vi=false;if(d&&(!this.demo)||a.ps==='A'||a.ps==='B'){if(d)d.style.display='none';if(oB)oB.style.display='none';}if("A"===a.ps&&(_cl=this.clA,_s="l"),"B"===a.ps&&a.p>0&&this.Ap!==a.p&&(_cl=this.clB,_s="r"),_cl>0)for(var s=1;s<_cl+1;s++){if("A"===a.ps){var cl_=document.getElementById("Liqwid_clone_l_"+s);cl_&&(cl_.style.display="none")}"B"===a.ps&&(cl_=document.getElementById("Liqwid_clone_r_"+s))&&(cl_.style.display="none")}}}}if(this.qs!==''&&this.lf===0){this.lf++;this.qs+="&tp="+this.sln+"";this.qs_=this.qs;Liqwid.page={u:'2027',di:'1106',ci:'278',d:'thestokesnews.com',de:'XjvLe0Fsnp5EVB1oiJJ%2bDyuZxDhC9dY7',st:2,ep:1,pw:1120,al:'center',pr:0,pp:70,mw:340,z:255,ns:2,lt:0,lr:0,lb:0,ll:0,rt:0,rr:0,rb:0,rl:0,bd:'',bc:'',};if(Liqwid.vl===''){Liqwid.vl='1:5:00|2:US|3:VIRGINIA|4:511|5:VIRGINIA/LOUDOUN|6:VIRGINIA/ASHBURN|7:20146|!0';Liqwid.msg((++Liqwid.stp),'Location: '+ Liqwid.vl.replace('|!0',''));}Liqwid.msg((++Liqwid.stp),'Placements: 13035,13033,15376,12632,12614,13482',2);Liqwid.ads.push({o:0,i:1,a:false,p:13035,dP:0,tE:null,k:0,kn:0,x:0,n:-1,d:'',e:'A8CD-4FD4-227D-8D11',r:0,j:0,end:false,s:0,cn:0,c:'',al:'left',wait:0,pp:{qs:['body']},pr:1,v:1,fl:0.00,fc:0,ps:'A',op:true,mw:300,mh:600,t:5,ct:'',cm:'',fs:1,rl:0,cd:1793,ci:'2618',cc:'//www.liqwid.net/content/288/300x600_1.png',nf:null,tt:'',g:'af5d6c1a-5ded-4141-a259-6bff88269927',mg:0,bt:null,xl:0,bid:0,pd:null,pb:[],PB:[{bidder:'pubmatic',params:{publisherId:'158432',adSlot:'2240145',kadfloor:'0.80'}}],FB:['pubmatic'],fo:[],fr:0,rtb:{sT:[],c:['<Primebid>','<div id="540669572_INSERT_SLOT_ID_HERE" style="width:300px;height:600px;margin:0;padding:0"><R<N  <noscript><iframe id="d3f73fd7aa" name="d3f73fd7aa" src="//liqwid-d.openx.net/w/1.0/afr?auid=540669572&cb=INSERT_RANDOM_NUMBER_HERE" frameborder="0" scrolling="no" width="300" height="600"><a href="//liqwid-d.openx.net/w/1.0/rc?cs=d3f73fd7aa&cb=INSERT_RANDOM_NUMBER_HERE" ><img src="//liqwid-d.openx.net/w/1.0/ai?auid=540669572&cs=d3f73fd7aa&cb=INSERT_RANDOM_NUMBER_HERE" border="0" alt=""></a></iframe></noscript><R<N</div><R<N<script type="text/javascript"><R<N  var OX_ads = OX_ads || [];<R<N  OX_ads.push({<R<N     slot_id: "540669572_INSERT_SLOT_ID_HERE",<R<N     auid: "540669572"<R<N  });<R<N</script><R<N<R<N<script type="text/javascript" src="//liqwid-d.openx.net/w/1.0/jstag"></script>','<div id="bt_aws_ad_slot_4"></div><R<N<script async src="//dlj3wr7omsese.cloudfront.net/bat.min.js"></script><R<N<script type="text/javascript"><R<Nvar bastag = bastag || {};<R<Nbastag.basq = bastag.basq || [];<R<Nbastag.basq.push(function() {<R<Nbastag.loadTag({ tagId: %27DPAWS_thestokesnews.com/DPAWS_DA_PB_thestokesnews_com_300x600%27, sizes: [300,600], targetId: %27bt_aws_ad_slot_4%27 });<R<N});<R<N</script>'],m:['$','O','B'],w:[300,300,300],h:[600,600,600],cpm:[0.20,3.00,0.00],x:[0,0,0],nf:[0,0,0],t:3,n:null,r:false,f:0},vi:true,video:0,vast:false,vTr:null,_l:0,_p:0,_bid:'0',_mw:0,_mh:0,_t:0,_cc:'',_ct:'',_cm:'',_tt:'',ts:false,player:null,dur:0,pa:0,pl:0,q:'',q_:''},{o:1,i:1,a:false,p:13035,dP:0,tE:null,k:0,kn:0,x:0,n:-1,d:'',e:'A8CD-4FD4-227D-8D11',r:0,j:0,end:false,s:0,cn:0,c:'',al:'right',wait:0,pp:{qs:['body']},pr:1,v:1,fl:0.00,fc:0,ps:'B',op:true,mw:300,mh:600,t:5,ct:'',cm:'',fs:1,rl:0,cd:1793,ci:'2618',cc:'//www.liqwid.net/content/288/300x600_1.png',nf:null,tt:'',g:'af5d6c1a-5ded-4141-a259-6bff88269927',mg:0,bt:null,xl:0,bid:0,pd:null,pb:[],PB:[{bidder:'pubmatic',params:{publisherId:'158432',adSlot:'2240145',kadfloor:'0.80'}}],FB:['pubmatic'],fo:[],fr:0,rtb:{sT:[],c:['<Primebid>','<div id="540669572_INSERT_SLOT_ID_HERE" style="width:300px;height:600px;margin:0;padding:0"><R<N  <noscript><iframe id="d3f73fd7aa" name="d3f73fd7aa" src="//liqwid-d.openx.net/w/1.0/afr?auid=540669572&cb=INSERT_RANDOM_NUMBER_HERE" frameborder="0" scrolling="no" width="300" height="600"><a href="//liqwid-d.openx.net/w/1.0/rc?cs=d3f73fd7aa&cb=INSERT_RANDOM_NUMBER_HERE" ><img src="//liqwid-d.openx.net/w/1.0/ai?auid=540669572&cs=d3f73fd7aa&cb=INSERT_RANDOM_NUMBER_HERE" border="0" alt=""></a></iframe></noscript><R<N</div><R<N<script type="text/javascript"><R<N  var OX_ads = OX_ads || [];<R<N  OX_ads.push({<R<N     slot_id: "540669572_INSERT_SLOT_ID_HERE",<R<N     auid: "540669572"<R<N  });<R<N</script><R<N<R<N<script type="text/javascript" src="//liqwid-d.openx.net/w/1.0/jstag"></script>','<div id="bt_aws_ad_slot_4"></div><R<N<script async src="//dlj3wr7omsese.cloudfront.net/bat.min.js"></script><R<N<script type="text/javascript"><R<Nvar bastag = bastag || {};<R<Nbastag.basq = bastag.basq || [];<R<Nbastag.basq.push(function() {<R<Nbastag.loadTag({ tagId: %27DPAWS_thestokesnews.com/DPAWS_DA_PB_thestokesnews_com_300x600%27, sizes: [300,600], targetId: %27bt_aws_ad_slot_4%27 });<R<N});<R<N</script>'],m:['$','O','B'],w:[300,300,300],h:[600,600,600],cpm:[0.20,3.00,0.00],x:[0,0,0],nf:[0,0,0],t:3,n:null,r:false,f:0},vi:true,video:0,vast:false,vTr:null,_l:0,_p:0,_bid:'0',_mw:0,_mh:0,_t:0,_cc:'',_ct:'',_cm:'',_tt:'',ts:true,player:null,dur:0,pa:0,pl:0,q:'',q_:''},{o:2,i:2,a:false,p:13033,dP:0,tE:null,k:0,kn:0,x:0,n:-1,d:'',e:'0808-D092-EA0C-1636',r:0,j:0,end:false,s:0,cn:0,c:'',al:'left',wait:0,pp:{qs:['body'],refreshTime: -1},pr:1,v:1,fl:0.00,fc:0,ps:'A',op:true,mw:160,mh:600,t:5,ct:'',cm:'',fs:1,rl:0,cd:1793,ci:'2619',cc:'//www.liqwid.net/content/287/160x600_1.png',nf:null,tt:'',g:'c5106bef-e177-4264-aaa9-b4f0711de0c6',mg:0,bt:null,xl:0,bid:0,pd:null,pb:[],PB:[{bidder:'pubmatic',params:{publisherId:'158432',adSlot:'2239769',kadfloor:'0.80'}}],FB:['pubmatic'],fo:[],fr:0,rtb:{sT:[],c:['<Primebid>','<div id="540669566_INSERT_SLOT_ID_HERE" style="width:160px;height:600px;margin:0;padding:0"><R<N  <noscript><iframe id="d11abe13c8" name="d11abe13c8" src="//liqwid-d.openx.net/w/1.0/afr?auid=540669566&cb=INSERT_RANDOM_NUMBER_HERE" frameborder="0" scrolling="no" width="160" height="600"><a href="//liqwid-d.openx.net/w/1.0/rc?cs=d11abe13c8&cb=INSERT_RANDOM_NUMBER_HERE" ><img src="//liqwid-d.openx.net/w/1.0/ai?auid=540669566&cs=d11abe13c8&cb=INSERT_RANDOM_NUMBER_HERE" border="0" alt=""></a></iframe></noscript><R<N</div><R<N<script type="text/javascript"><R<N  var OX_ads = OX_ads || [];<R<N  OX_ads.push({<R<N     slot_id: "540669566_INSERT_SLOT_ID_HERE",<R<N     auid: "540669566"<R<N  });<R<N</script><R<N<R<N<script type="text/javascript" src="//liqwid-d.openx.net/w/1.0/jstag"></script>','<div id="bt_aws_ad_slot_3"></div><R<N<script async src="//dlj3wr7omsese.cloudfront.net/bat.min.js"></script><R<N<script type="text/javascript"><R<Nvar bastag = bastag || {};<R<Nbastag.basq = bastag.basq || [];<R<Nbastag.basq.push(function() {<R<Nbastag.loadTag({ tagId: %27DPAWS_thestokesnews.com/DPAWS_DA_PB_thestokesnews_com_160%27, sizes: [160,600], targetId: %27bt_aws_ad_slot_3%27 });<R<N});<R<N</script>'],m:['$','O','B'],w:[160,160,160],h:[600,600,600],cpm:[0.20,3.00,0.00],x:[0,0,0],nf:[0,0,0],t:3,n:null,r:false,f:0},vi:true,video:0,vast:false,vTr:null,_l:0,_p:0,_bid:'0',_mw:0,_mh:0,_t:0,_cc:'',_ct:'',_cm:'',_tt:'',ts:false,player:null,dur:0,pa:0,pl:0,q:'',q_:''},{o:3,i:1,a:false,p:13033,dP:0,tE:null,k:0,kn:0,x:0,n:-1,d:'',e:'0808-D092-EA0C-1636',r:0,j:0,end:false,s:0,cn:0,c:'',al:'right',wait:0,pp:{qs:['body'],refreshTime: -1},pr:1,v:1,fl:0.00,fc:0,ps:'B',op:true,mw:160,mh:600,t:5,ct:'',cm:'',fs:1,rl:0,cd:1793,ci:'2619',cc:'//www.liqwid.net/content/287/160x600_1.png',nf:null,tt:'',g:'c5106bef-e177-4264-aaa9-b4f0711de0c6',mg:0,bt:null,xl:0,bid:0,pd:null,pb:[],PB:[{bidder:'pubmatic',params:{publisherId:'158432',adSlot:'2239769',kadfloor:'0.80'}}],FB:['pubmatic'],fo:[],fr:0,rtb:{sT:[],c:['<Primebid>','<div id="540669566_INSERT_SLOT_ID_HERE" style="width:160px;height:600px;margin:0;padding:0"><R<N  <noscript><iframe id="d11abe13c8" name="d11abe13c8" src="//liqwid-d.openx.net/w/1.0/afr?auid=540669566&cb=INSERT_RANDOM_NUMBER_HERE" frameborder="0" scrolling="no" width="160" height="600"><a href="//liqwid-d.openx.net/w/1.0/rc?cs=d11abe13c8&cb=INSERT_RANDOM_NUMBER_HERE" ><img src="//liqwid-d.openx.net/w/1.0/ai?auid=540669566&cs=d11abe13c8&cb=INSERT_RANDOM_NUMBER_HERE" border="0" alt=""></a></iframe></noscript><R<N</div><R<N<script type="text/javascript"><R<N  var OX_ads = OX_ads || [];<R<N  OX_ads.push({<R<N     slot_id: "540669566_INSERT_SLOT_ID_HERE",<R<N     auid: "540669566"<R<N  });<R<N</script><R<N<R<N<script type="text/javascript" src="//liqwid-d.openx.net/w/1.0/jstag"></script>','<div id="bt_aws_ad_slot_3"></div><R<N<script async src="//dlj3wr7omsese.cloudfront.net/bat.min.js"></script><R<N<script type="text/javascript"><R<Nvar bastag = bastag || {};<R<Nbastag.basq = bastag.basq || [];<R<Nbastag.basq.push(function() {<R<Nbastag.loadTag({ tagId: %27DPAWS_thestokesnews.com/DPAWS_DA_PB_thestokesnews_com_160%27, sizes: [160,600], targetId: %27bt_aws_ad_slot_3%27 });<R<N});<R<N</script>'],m:['$','O','B'],w:[160,160,160],h:[600,600,600],cpm:[0.20,3.00,0.00],x:[0,0,0],nf:[0,0,0],t:3,n:null,r:false,f:0},vi:true,video:0,vast:false,vTr:null,_l:0,_p:0,_bid:'0',_mw:0,_mh:0,_t:0,_cc:'',_ct:'',_cm:'',_tt:'',ts:true,player:null,dur:0,pa:0,pl:0,q:'',q_:''},{o:4,i:12,a:false,p:15376,dP:0,tE:null,k:0,kn:0,x:0,n:-1,d:'',e:'F892-2F07-2677-A690',r:0,j:0,end:false,s:0,cn:0,c:'',al:'',wait:0,pp:{it:1,qs:['div.mh-wrapper'],pt:'static',addStyle: "margin: -10px auto",maxWidth: 970,refreshTime: -1},pr:1,v:1,fl:0.00,fc:0,ps:'I',op:false,mw:970,mh:90,t:5,ct:'',cm:'',fs:0,rl:1,cd:1793,ci:'2728',cc:'//www.liqwid.net/content/1/pl_970x90.png',nf:1,tt:'',g:'e02eaf7c-a5a4-47d2-847a-e86678d62dbf',mg:0,bt:null,xl:0,bid:0,pd:null,pb:[],PB:[{bidder:'pubmatic',params:{publisherId:'158432',adSlot:'2240256',kadfloor:'0.80'}}],FB:['pubmatic'],fo:[],fr:0,rtb:{sT:[],c:['<ins data-revive-zoneid="75" data-revive-id="7704ed944ed7863d36a61d5fccf7693e"></ins><R<N<script>Liqwid.dri="7704ed944ed7863d36a61d5fccf7693e";</script><R<N<script async src="//www.liqwid.net/tl.js"></script>','<Primebid>','<div id="542519985_INSERT_SLOT_ID_HERE" style="width:970px;height:90px;margin:0;padding:0"><R<N  <noscript><iframe id="289be0a30f" name="289be0a30f" src="https://liqwid-d.openx.net/w/1.0/afr?auid=542519985&cb=INSERT_RANDOM_NUMBER_HERE" frameborder="0" scrolling="no" width="970" height="90"><a href="https://liqwid-d.openx.net/w/1.0/rc?cs=289be0a30f&cb=INSERT_RANDOM_NUMBER_HERE" ><img src="https://liqwid-d.openx.net/w/1.0/ai?auid=542519985&cs=289be0a30f&cb=INSERT_RANDOM_NUMBER_HERE" border="0" alt=""></a></iframe></noscript><R<N</div><R<N<script type="text/javascript"><R<N  var OX_ads = OX_ads || [];<R<N  OX_ads.push({<R<N     slot_id: "542519985_INSERT_SLOT_ID_HERE",<R<N     auid: "542519985"<R<N  });<R<N</script><R<N<R<N<script type="text/javascript" src="https://liqwid-d.openx.net/w/1.0/jstag"></script>','<div id="bt_aws_ad_slot_10"></div><R<N<script async src="//dlj3wr7omsese.cloudfront.net/bat.min.js"></script><R<N<script type="text/javascript"><R<Nvar bastag = bastag || {};<R<Nbastag.basq = bastag.basq || [];<R<Nbastag.basq.push(function() {<R<Nbastag.loadTag({ tagId: %27DPAWS_thestokesnews.com/DPAWS_DA_PB_thestokesnews_com_970x90%27, sizes: [970,90], targetId: %27bt_aws_ad_slot_10%27 });<R<N});<R<N</script>'],m:['D','$','O','B'],w:[970,970,970,728],h:[90,90,90,90],cpm:[0.00,0.20,0.20,0.00],x:[0,0,0,0],nf:[1,0,0,0],t:4,n:null,r:false,f:0},vi:true,video:0,vast:false,vTr:null,_l:0,_p:0,_bid:'0',_mw:0,_mh:0,_t:0,_cc:'',_ct:'',_cm:'',_tt:'',ts:false,player:null,dur:0,pa:0,pl:0,q:'',q_:''},{o:5,i:13,a:false,p:12632,dP:0,tE:null,k:0,kn:0,x:0,n:-1,d:'',e:'4590-8036-BC74-1398',r:0,j:0,end:false,s:0,cn:0,c:'',al:'',wait:0,pp:{it:2,qs:['div.mh-social-bottom'],pt:'relative',margin:'30px auto 20px',addNodeStyle:[['#main-content','width:728px']],setBoard:2},pr:1,v:1,fl:0.00,fc:0,ps:'I',op:false,mw:728,mh:90,t:5,ct:'',cm:'',fs:1,rl:0,cd:1793,ci:'2351',cc:'//www.liqwid.net/content/283/728x90_3.jpg',nf:null,tt:'',g:'2cfb38a0-e1ab-4bb7-bc53-906650bbe592',mg:0,bt:null,xl:0,bid:0,pd:null,pb:[],PB:[{bidder:'pubmatic',params:{publisherId:'158432',adSlot:'2240256',kadfloor:'0.80'}}],FB:['pubmatic'],fo:[],fr:0,rtb:{sT:[],c:['<Primebid>','<div id="540661892_INSERT_SLOT_ID_HERE" style="width:728px;height:90px;margin:0;padding:0"><R<N  <noscript><iframe id="fc22a185c4" name="fc22a185c4" src="//liqwid-d.openx.net/w/1.0/afr?auid=540661892&cb=INSERT_RANDOM_NUMBER_HERE" frameborder="0" scrolling="no" width="728" height="90"><a href="//liqwid-d.openx.net/w/1.0/rc?cs=fc22a185c4&cb=INSERT_RANDOM_NUMBER_HERE" ><img src="//liqwid-d.openx.net/w/1.0/ai?auid=540661892&cs=fc22a185c4&cb=INSERT_RANDOM_NUMBER_HERE" border="0" alt=""></a></iframe></noscript><R<N</div><R<N<script type="text/javascript"><R<N  var OX_ads = OX_ads || [];<R<N  OX_ads.push({<R<N     slot_id: "540661892_INSERT_SLOT_ID_HERE",<R<N     auid: "540661892"<R<N  });<R<N</script><R<N<R<N<script type="text/javascript" src="//liqwid-d.openx.net/w/1.0/jstag"></script>','<html> <head></head><body> <script async=%27async%27 src=%27https://www.googletagservices.com/tag/js/gpt.js%27></script><script>var googletag=googletag||{};googletag.cmd=googletag.cmd||[];googletag.cmd.push(function(){googletag.defineSlot(%27/68665753/TheStokes_728x90_in-blocks(prog)%27, [[728,90]],%27div-gpt-ad-12632-0%27).addService(googletag.pubads());googletag.pubads().disableInitialLoad();googletag.pubads().enableSingleRequest();googletag.enableServices();googletag.pubads().addEventListener(%27slotRenderEnded%27,function (event){if(event.isEmpty){var id=event.slot.getSlotElementId(),x=document.getElementById(id);if(x.parentElement.classList.contains(%27ad-slot%27)){x.parentElement.style.display=%27none%27;}top.Liqwid.demand(%27M%27,false,LIQWID_slot_id_macro);}else{top.Liqwid.ss(LIQWID_slot_id_macro);}});});!function(a9,a,p,s,t,A,g){if(a[a9])return;function q(c,r){a[a9]._Q.push([c,r])}a[a9]={init:function(){q(%27i%27,arguments)},fetchBids:function(){q(%27f%27,arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},_Q:[]};A=p.createElement(s);A.async=!0;A.src=t;g=p.getElementsByTagName(s)[0];g.parentNode.insertBefore(A,g)}(%27apstag%27,window,document,%27script%27,%27//c.amazon-adsystem.com/aax2/apstag.js%27);apstag.init({pubID:%27a5bf0f5c-c0e1-49b7-92b5-dcf15df00d5d%27,adServer:%27googletag%27,bidTimeout: 2e3});apstag.fetchBids({slots: [{slotID: %27div-gpt-ad-12632-0%27,slotName: %27/68665753/TheStokes_728x90_in-blocks(prog)%27,sizes: [[728,90]]}]},function(bids){googletag.cmd.push(function() {apstag.setDisplayBids();googletag.pubads().refresh();});});</script><div id=%27div-gpt-ad-12632-0%27><script>googletag.cmd.push(function(){googletag.display(%27div-gpt-ad-12632-0%27);});</script></div></body></html>','<div id="bt_aws_ad_slot_9"></div><R<N<script async src="//dlj3wr7omsese.cloudfront.net/bat.min.js"></script><R<N<script type="text/javascript"><R<Nvar bastag = bastag || {};<R<Nbastag.basq = bastag.basq || [];<R<Nbastag.basq.push(function() {<R<Nbastag.loadTag({ tagId: %27DPAWS_thestokesnews.com/DPAWS_DA_PB_thestokesnews_com_728_3%27, sizes: [728,90], targetId: %27bt_aws_ad_slot_9%27 });<R<N});<R<N</script>'],m:['$','O','M','B'],w:[728,728,728,728],h:[90,90,90,90],cpm:[0.20,3.00,0.00,0.00],x:[0,0,0,0],nf:[0,0,0,0],t:4,n:null,r:false,f:0},vi:true,video:0,vast:false,vTr:null,_l:0,_p:0,_bid:'0',_mw:0,_mh:0,_t:0,_cc:'',_ct:'',_cm:'',_tt:'',ts:false,player:null,dur:0,pa:0,pl:0,q:'',q_:''},{o:6,i:17,a:false,p:12614,dP:0,tE:null,k:0,kn:0,x:0,n:-1,d:'',e:'D69E-87F7-10AF-F58D',r:0,j:0,end:false,s:0,cn:0,c:'',al:'',wait:0,pp:{it:2,qs:['h4'],pt:'static',margin:'20px 20px 0 0',reqContent:'Advertisement',afterNext: 1,cloneEvery:1,firstNode:0,setBoard:2},pr:1,v:1,fl:0.00,fc:0,ps:'J',op:false,mw:300,mh:250,t:5,ct:'',cm:'',fs:1,rl:0,cd:1793,ci:'2730',cc:'//www.liqwid.net/content/1/pl_300x250.png',nf:null,tt:'',g:'0074a03a-b163-431d-bed0-446bb55624f7',mg:0,bt:null,xl:0,bid:0,pd:null,pb:[],PB:[{bidder:'pubmatic',params:{publisherId:'158432',adSlot:'240039',kadfloor:'0.80'}}],FB:['pubmatic'],fo:[],fr:0,rtb:{sT:[],c:['<ins data-revive-zoneid="64" data-revive-id="7704ed944ed7863d36a61d5fccf7693e"></ins><R<N<script async src="//adamsads.midtc.com/www/delivery/asyncjs.php"></script>','<Primebid>','<div id="540661893_INSERT_SLOT_ID_HERE" style="width:300px;height:250px;margin:0;padding:0"><R<N  <noscript><iframe id="8a137f1a57" name="8a137f1a57" src="//liqwid-d.openx.net/w/1.0/afr?auid=540661893&cb=INSERT_RANDOM_NUMBER_HERE" frameborder="0" scrolling="no" width="300" height="250"><a href="//liqwid-d.openx.net/w/1.0/rc?cs=8a137f1a57&cb=INSERT_RANDOM_NUMBER_HERE" ><img src="//liqwid-d.openx.net/w/1.0/ai?auid=540661893&cs=8a137f1a57&cb=INSERT_RANDOM_NUMBER_HERE" border="0" alt=""></a></iframe></noscript><R<N</div><R<N<script type="text/javascript"><R<N  var OX_ads = OX_ads || [];<R<N  OX_ads.push({<R<N     slot_id: "540661893_INSERT_SLOT_ID_HERE",<R<N     auid: "540661893"<R<N  });<R<N</script><R<N<R<N<script type="text/javascript" src="//liqwid-d.openx.net/w/1.0/jstag"></script>','<div id="bt-right-rail-wrapper" class="bt-sidebar-rail bt-rails"><R<N<div id="bt_aws_ad_slot_7"></div><R<N<script async src="//dlj3wr7omsese.cloudfront.net/bat.min.js"></script><R<N<script type="text/javascript"><R<Nvar bastag = bastag || {};<R<Nbastag.basq = bastag.basq || [];<R<Nbastag.basq.push(function() {<R<Nbastag.loadTag({ tagId: %27DPAWS_thestokesnews.com/DPAWS_DA_PB_thestokesnews_com_300_rr%27, sizes: [300,250], targetId: %27bt_aws_ad_slot_7%27 });<R<N});<R<N</script><R<N</div>'],m:['D','$','O','B'],w:[300,300,300,300],h:[250,250,250,250],cpm:[0.00,0.20,3.00,0.00],x:[0,0,0,0],nf:[0,0,0,0],t:4,n:null,r:false,f:0},vi:true,video:0,vast:false,vTr:null,_l:0,_p:0,_bid:'0',_mw:0,_mh:0,_t:0,_cc:'',_ct:'',_cm:'',_tt:'',ts:false,player:null,dur:0,pa:0,pl:0,q:'',q_:''},{o:7,i:22,a:false,p:13482,dP:0,tE:null,k:0,kn:0,x:0,n:-1,d:'',e:'6909-B29D-B87B-0D7B',r:0,j:0,end:false,s:0,cn:0,c:'',al:'',wait:0,pp:{it:3,qs:['header > div.mh-container.mh-container-inner.clearfix > div > div > aside'],pt:'static',showEverywhere:1,minClientWidth: 728,refreshTime: -1,margin: '0 auto 20px',nodeAddStyle: [[['header > div.mh-container.mh-container-inner.clearfix > div > div > aside'],'overflow: visible,margin-left:0'],["#custom_html-7","margin:10px"],["aside.mh-container.mh-header-widget-1","display:none"]]},pr:1,v:1,fl:0.00,fc:0,ps:'K',op:false,mw:728,mh:90,t:5,ct:'',cm:'',fs:1,rl:0,cd:1793,ci:'2727',cc:'//www.liqwid.net/content/1/pl_728x90.png',nf:null,tt:'',g:'3b8f4308-a970-419d-96f6-312dc1100b4b',mg:0,bt:null,xl:0,bid:0,pd:null,pb:[],PB:[{bidder:'pubmatic',params:{publisherId:'158432',adSlot:'2240256',kadfloor:'0.80'}}],FB:['pubmatic'],fo:[],fr:0,rtb:{sT:[],c:['<ins data-revive-zoneid="68" data-revive-id="7704ed944ed7863d36a61d5fccf7693e"></ins><R<N<script async src="//adamsads.midtc.com/www/delivery/asyncjs.php"></script>','<Primebid>','<div id="540738144_INSERT_SLOT_ID_HERE" style="width:728px;height:90px;margin:0;padding:0"><R<N  <noscript><iframe id="f3c383f39f" name="f3c383f39f" src="//liqwid-d.openx.net/w/1.0/afr?auid=540738144&cb=INSERT_RANDOM_NUMBER_HERE" frameborder="0" scrolling="no" width="728" height="90"><a href="//liqwid-d.openx.net/w/1.0/rc?cs=f3c383f39f&cb=INSERT_RANDOM_NUMBER_HERE" ><img src="//liqwid-d.openx.net/w/1.0/ai?auid=540738144&cs=f3c383f39f&cb=INSERT_RANDOM_NUMBER_HERE" border="0" alt=""></a></iframe></noscript><R<N</div><R<N<script type="text/javascript"><R<N  var OX_ads = OX_ads || [];<R<N  OX_ads.push({<R<N     slot_id: "540738144_INSERT_SLOT_ID_HERE",<R<N     auid: "540738144"<R<N  });<R<N</script><R<N<R<N<script type="text/javascript" src="//liqwid-d.openx.net/w/1.0/jstag"></script>','<div id="bt_aws_ad_slot_8"></div><R<N<script async src="//dlj3wr7omsese.cloudfront.net/bat.min.js"></script><R<N<script type="text/javascript"><R<Nvar bastag = bastag || {};<R<Nbastag.basq = bastag.basq || [];<R<Nbastag.basq.push(function() {<R<Nbastag.loadTag({ tagId: %27DPAWS_thestokesnews.com/DPAWS_DA_PB_thestokesnews_com_728_2%27, sizes: [728,90], targetId: %27bt_aws_ad_slot_8%27 });<R<N});<R<N</script>'],m:['D','$','O','B'],w:[728,728,728,728],h:[90,90,90,90],cpm:[0.00,0.20,2.50,0.00],x:[0,0,0,0],nf:[0,0,0,0],t:4,n:null,r:false,f:0},vi:true,video:0,vast:false,vTr:null,_l:0,_p:0,_bid:'0',_mw:0,_mh:0,_t:0,_cc:'',_ct:'',_cm:'',_tt:'',ts:false,player:null,dur:0,pa:0,pl:0,q:'',q_:''});Liqwid.eu=0;Liqwid.cs='';Liqwid.mc='';Liqwid.add(Liqwid.o);} this.sln=0;this.qs='';if(this.lstn!==0)this.cn_++;setTimeout(function(){_this.board();},10);},di:0,d:function(e){var d=top.document.getElementById(e);return d;},bE:0,box:function(i,a,_p,d,b,df,w_,h_){if(!a.op){d.style.width=w_+'px';if(!a.nf)d.style.height=h_+'px';if(b){b.style.width=w_+'px';}return;}if(a&&b&&d){var w=a.mw,h=a.mh,x= x=_p.x,y=_p.y,fw=a.pp.fitWidth||0,ut=a.pp.useTop||0,fL=_p.fL,_=this._;if(a.rl!==0){w=w_;h=h_;if(a.ps==="W"){h=this.ch*0.9;if(_p.mH&&h>_p.mH)h=_p.mH;w=h*(a.mw/a.mh);if(_p.mW&&w>_p.mW)w=_p.mW;if(w>this.cw*0.9){w=this.cw*0.9;if(_p.mW&&w>_p.mW)w=_p.mW;h=w*(a.mh/a.mw);if(_p.mH&&h>_p.mH)h=_p.mH;}}}if(ut!==0||fw!==0)y=0;if(fw!==0){w=w_;h=h_;if(a.ps==='A')x=d.offsetWidth-w;}if(fL==='right')x=d.offsetWidth-w;if(fL==='left')x=0;if(a.ps==='W'){x=w_/2-w/2;y=h_/2-h/2;}var bT=y+"px",bL=x+"px",uB,bR;if(_p.lP||_p.rP){if(a.ps==='A'){if(_(_p.lP[0],null))bT=_p.lP[0];if(_(_p.lP[1],null))bR=_p.lP[1];if(_(_p.lP[3],null))bL=_p.lP[3];if(_(_p.lP[2],null))uB=_p.lP[2];}
if(a.ps==='B'){if(_(_p.rP[0],null))bT=_p.rP[0];if(_(_p.rP[1],null))bR=_p.rP[1];if(_(_p.rP[3],null))bL=_p.rP[3];if(_(_p.rP[2],null))uB=_p.rP[2];}}else{if(_p.mR){bR=_p.mR;}if(_p.uB){uB=_p.uB;}}uB=null;if(a.ps==='A'||a.ps==='B'){if(parseInt(bT)<0){uB=null;bT=0;}if(parseInt(bT)+h>h_){uB="0";bT="auto";if(h_<h){uB=null;bT=0;}}}if(_p.pZ!=="static")b.style.position="absolute";if(bR){b.style.right=bR;if(this.clA>0&&a.ps==='A'){for(var s=1;s<this.clA+1;s++){var _c=document.getElementById("Liqwid_clone_b_l_"+s);if(_c)_c.style.right=bR;}}}if(uB){b.style.bottom=uB;b.style.top='auto';}else{b.style.top=bT;b.style.bottom='auto'; } 
if(!bR){b.style.left=bL;if(this.clA>0&&a.ps==='A'){for(var s=1;s<this.clA+1;s++){var _c=document.getElementById("Liqwid_clone_b_l_"+s);if(_c)_c.style.left=bL;}}}b.style.width=w+"px";if(_p.aM!=='')b.style.margin=_p.aM;b.style.display='block';if(df){df.style.width=w+"px";df.style.height=h+"px";}}if(_p.cF||_p.Fc)this.cP(i,_p.cP,d,x,y,w,h);},cP:function(i,cP,d,x,y,w,h){var c=this.d("Liqwid_close"+i);if(c){var S=cP[0],T=cP[1],R=cP[2],B=cP[3],L=cP[4],D=cP[5];if(D){y=0;x=0;w=d.offsetWidth;h=d.offsetHeight;}c.style.width=S+'px';S=Math.floor(S/2);if(T)c.style.top=(y-S+T)+'px';if(R)c.style.left=((x+w)-S-R)+'px';if(B)c.style.top=((y+h)-S-B)+'px';if(L)c.style.left=(x-S+L)+'px';}
},cwl:function(i){var a=this.ad[i];_p=this.pp[i];if(a){_p.end=true;if(typeof a.pp.blur!=='undefined'){var bl=top.document.querySelector(a.pp.blur);if(bl)bl.classList.remove("Liqwid_"+i+"blur");}}var d=_p.d,bg=this.d('Liqwid_bg');if(bg)bg.style.display='none';if(d){d.classList.add('Liqwid_'+i+'min');setTimeout(function(){d.style.display='none'},250);}this.lmt++;},webm:function(i){var a=this.ad[i];if(a){if(a.op){_p.s=0;this.wp.x='c';if(a.video===1&&!_p.end){try{_p.player.play();}catch(e){}}}}},stl:function(i){var L='Liqwid_',d=this.d(L+'styles'),a=this.ad[i],_p=this.pp[i];if(d&&a){var at='0.2',t0=at+'s ease 1 forwards;',t1='fi '+t0, t2='out '+t0, t5='mx '+t0, t7='mn '+t0,t3='fi {from{opacity:0;}to{opacity:1;}}',t4='out {from{opacity:1;}to{opacity:0;}}',t6='mx {from{height:1px;opacity:0;}to{height:'+_p.h+'px;opacity:1;}}',t8='mn {from{height:'+_p.h+'px;opacity:1;}to{height:1px;opacity:0;}}';L+=i;d.innerHTML+='<style>.'+L+'blur {-webkit-filter:blur(0.5em);-moz-filter:blur(0.5em);-ms-filter:blur(0.5em);-o-filter:blur(0.5em);filter: blur(0.5em);} .'+L+'fadein {-webkit-animation:'+L+t1+'-moz-animation:'+L+t1+'-ms-animation:'+L+t1+'-o-animation:'+L+t1+'animation:'+L+t1+'} @keyframes '+L+t3+' @-moz-keyframes '+L+t3+' @-webkit-keyframes '+L+t3+' @-ms-keyframes '+L+t3+' @-o-keyframes '+L+t3+' .'+L+'fadeout {-webkit-animation:'+L+t2+'-moz-animation:'+L+t2+'-ms-animation:'+L+t2+'-o-animation:'+L+t2+'animation:'+L+t2+'} @keyframes '+L+t4+' @-moz-keyframes '+L+t4+' @-webkit-keyframes '+L+t4+' @-ms-keyframes '+L+t4+' @-o-keyframes '+L+t4+' .'+L+'max {-webkit-animation:'+L+t5+'-moz-animation:'+L+t5+'-ms-animation:'+L+t5+'-o-animation:'+L+t5+'animation:'+L+t5+'} @keyframes '+L+t6+' @-moz-keyframes '+L+t6+' @-webkit-keyframes '+L+t6+' @-ms-keyframes '+L+t6+' @-o-keyframes '+L+t6+' .'+L+'min {-webkit-animation:'+L+t7+'-moz-animation:'+L+t7+'-ms-animation:'+L+t7+'-o-animation:'+L+t7+'animation:'+L+t7+'} @keyframes '+L+t8+' @-moz-keyframes '+L+t8+' @-webkit-keyframes '+L+t8+' @-ms-keyframes '+L+t8+' @-o-keyframes '+L+t8+' .Liqwid_btn {display:none;position:relative; font-size:xx-small;left:0;top:1px;width:70px;} .Liqwid_save {cursor:pointer;zIndex:10;padding:1px 1px 1px 3px;letter-spacing:1px;color:#111;height:17px;width:100%;} .Liqwid_save:hover {background:#DDD;} .Liqwid_close {position:fixed; z-index:'+this.com.z()+';font-size:x-small;color:rgba(250,250,250,0.6); text-align:center; background:transparent;width:100px;right:20px;top:20px;cursor:pointer;} .Liqwid_close:hover {background:#000;} .Liqwid_close'+i+' {display:block;position:absolute;z-index:2;cursor:pointer;opacity:0.9;} .Liqwid_close'+i+':hover{opacity:1;} .Liqwid_close'+i+':active{opacity:0.7;}</style>';}},max_box_id:0,pp:[],gp:function(n){n=n.replace(/[\[]/,'\\[').replace(/[\]]/,'\\]');var x=new RegExp('[\\?&]'+n+'=([^&#]*)'),r=x.exec(top.location.search);return r===null?'':decodeURIComponent(r[1].replace(/\+/g,' '));},P:function(p,n,i){var d='',j='';d=Liqwid.gp(n),j=Liqwid.gp('board');if(j==='')j=i;if(d!==''&&(j===''||i===Math.floor(j))){d=d.replace(/@/g,'#').replace(/!/g,'%').trim();if (d.indexOf(",")>-1) {var s=d.split(','),t='';for(var q=0;q<s.length;q++){if(s[q].trim()!==''){if(t===''){t="['"+s[q].trim()+"'";}else{t+=",'"+s[q].trim()+"'";}}d=t+"]";}}if((isNaN(Math.floor(d))||d.indexOf("auto")>-1||d.indexOf("px")>-1||d.indexOf("%")>-1) &&d!=='null'&&d.indexOf("[")<0&&d.indexOf("{")<0 )	d="'"+d+"'";console.log("Param "+i+": "+n+": "+d);eval("Liqwid.pp["+i+"]."+p+"="+d);}},_:function(a,b){var c=b;if(typeof a!=='undefined') c=a;return c;},df:function(i) {var _=this._,p=this.ad[i].pp;this.pp[i]={l:null,L:0,j:null,fs:1,rl:0,bF:0,lF:0,tF:0.4,iF:0.2,kF:0.4,r:0,R:0,Re:0,cC:0,ci:_(p.cleanIt,null),dS:_(p.display,'block'),nI:_(p.ani,'fadein'),hD:_(p.hold,null),psb:false,pms:0,s:0,gs:0,x:0,w:300,h:600,y:0,vi:false,q:'',i:i,g:this.com.guid(),pX:null,fD:_(p.fillDelay,0),end:false,vO:_(p.video,null),player:null,paused:false,pR:_(p.print,false),req:{n:'',w:0,h:0},cn:0,vc:0,cf:null,cN:_(p.caption,null),uI:_(p.userInit,null),vP:null,mO:_(p.moat,null),sE:_(p.qs,'body'),tE:_(p.anc,null),aF:_(p.adhesiveFor,null),cE:_(p.cloneEvery,Number(0)),fr:_(p.firstNode,0),uN:_(p.useNode,"document"),uF:_(p.useFrame,null),Fd:null,f:[],b:null,d:null,kW:_(p.keyWords,null),pF:_(p.pageFrequency,1),uD:_(p.useDir,null),gpt:_(p.useGPT,null),tD:_(p.withDelay,null),pA:_(p.positionSameAs,null),sH:_(p.minSpaceHeight,null),sN:_(p.screenMaxAds,null),SN:false,wT:_(p.maxTime,null),bN:_(p.bottomNode,null),pS:_(p.parentSize,null),iT:_(p.it,3),pZ:_(p.pt,'fixed'),pts:null,pf:1,fp:null,uR:_(p.useRail,0),uS:_(p.useSlot,1),oO:_(p.onOpen,null),uE:_(p.useElement,'div'),mD:_(p.mobile,0),nodeNum:_(p.nodeNum,0),lN:_(p.lastNode,0),aD:_(p.addNode,null),tP:_(p.toPage,null),aN:_(p.avoidNode,null),nB:_(p.watchNodeBelow,null),va:_(p.va,''),aA:_(p.autoAdhesive,null),rT:_(p.refreshTime,0),tR:_(p.regTime,{cnt:0, max:2,sec:15}),oA:_(p.outsideAds,0),nS:_(p.noSize,null),aC:_(p.addClass,null),aS:_(p.addStyle,null),wS:_(p.withStyle,null),nA:_(p.nodeAddStyle,null),bC:_(p.boxAddClass,null),bA:_(p.boxAddStyle,null),rC:_(p.reqContent,null),eC:_(p.excContent,null),mL:_(p.minListing,null),CW:_(p.clientWidthNode,null),nR:_(p.nextNodeRotation,null),vA:_(p.verticalAlign,null),fP:_(p.framePosition,null),rS:_(p.reqSize,null),mW:_(p.maxWidth,null),mH:_(p.maxHeight,null),pO:_(p.position,''),oP:_(p.opacity,0),tO:_(p.top,0),bO:_(p.bottom,0),uB:_(p.minBottom,null),mR:_(p.minRight,null),lP:_(p.leftPos,null),rP:_(p.rightPos,null),width:_(p.width,'1px'),height:_(p.height,'1px'),bG:_(p.background,''),oB:_(p.overlayBackground,null),oF:_(p.overlayFilter,null),oT:_(p.overlayTop,0),aB:_(p.border,null),fL:_(p.float,null),nO:_(p.nodeOverflow,null),mA:_(p.margin,null),pG:_(p.padding,''),aM:_(p.adMargin,'auto'),vI:_(p.vis,0.5),iV:_(p.vis,null),V:_(p.viewability,null),mU:_(p.marginBelow,null),mK:_(p.marginAbove,null),mb:_(p.mb,0),mt:_(p.mt,0),mT:_(p.marginTop,null),mB:_(p.marginBottom,null),eB:_(p.bottomLineNode,null),bB:_(p.bottomLineBlock,null),uC:_(p.bottomLineClass,null),blh:_(p.blh,''),bl:_(p.bl,'auto'),blC:_(p.blClass,null),blS:_(p.blS,null),bla:null,tN:_(p.breakNode,null),fC:_(p.fitCreative,null),aI:_(p.anyIn,"fadein"),aO:_(p.anyOut,"fadeout"),pD:_(p.pushDownLimit,0),nn:_(p.nodeNumber,0),nC:_(p.nthChild,[]),cW:_(p.maxClientWidth,0),cM:_(p.minClientWidth,0),TM:_(p.topMargin,0),sR:_(p.styleRule,null),nW:_(p.widthNode,null),eE:_(p.minTopEdge,0),cL:_(p.cloned,null),iL:_(p.infiniteLoad,null),u:top.location.href,sA:_(p.scrollableAfter,0),sS:_(p.scrollableAfterScroll,0),cV:_(p.cloneOnScroll,null),cA:_(p.dropOn,null),wC:_(p.cancelOnWord,null),cO:_(p.cancelOn,null),cD:_(p.cloneAfter,null),mC:_(p.clonesMaxNum,0),sL:_(p.scrollLog,0),cI:_(p.cloneID,null),uP:_(p.usePid,null),ia:_(p.inventoryAnalyzer,null),fw:_(p.fitWidth,0),pm:_(p.pageMargin,null),mS:_(p.setPageMargin||null),jB:_(p.jumpingBlock,null),cP:_(p.closeBtn,null),pW:_(p.pageWidth,null),al:_(p.align,null),pT:_(p.passTo,null),Pt:null,pP:_(p.passToPos,-1),pU:_(p.topEdgeMargin,0),nP:_(p.topEdgeNode,null),tH:_(p.useEdgeNodeHeight,1),wN:_(p.watchNode,null),bH:_(p.bottomEdgeNode,null),lE:_(p.leftEdgeNode,null),rE:_(p.rightEdgeNode,null),wF:_(p.waitFor,null),cT:_(p.centerTo,null),sO:_(p.showOnScroll,0),sU:_(p.subScroll,null),fS:_(p.flexSize,[]),hO:_(p.hideOnScroll,0),hN:_(p.hideOnNode,null),NS:_(p.showOnNode,null),nZ:_(p.setNodeLevel,null),cF:_(p.close,null),Fc:_(p.vClose,null),ut:_(p.useTop,null),rH:_(p.railHeight,null),sP:_(p.setPage,null),sW:_(p.setPageToWidth,null),pM:_(p.pageMaxWidth,null),pN:_(p.pageWidthNode,null),fE:_(p.footer,null),SP:_(p.nodeSetParam,null),fH:_(p.addFooterHeight,null),fB:_(p.footerBackground,null),wP:_(p.pageMinWidth,null),mM:_(p.minMargin,0),cS:_(p.colSpan,null),bS:_(p.boxShadow,null),zi:_(p.zIndex,null),save:_(p.save,null),pV:null,mV:_(p.vType,null),Vp:_(p.vPosition,"bottom-left"),FL:_(p.floor,[]),vU:_(p.vTop,'0'),vB:_(p.vBottom,'0'),vR:_(p.vRight,'0'),vL:_(p.vLeft,'0'),vLN:_(p.vNodeX,null),vTN:_(p.vNodeY,null),vNB:_(p.vNodeBoard,null),vW:_(p.vWidth,"30%"),vH:_(p.vHeight,null),fN:_(p.vFitNode,null),vD:_(p.vPageNode,null),vN:null,vJ:null,vX:null,vZ:_(p.vZindex,null),Vz:_(p.pZindex,1000),vS:_(p.vShadow,null),pL:_(p.playWhen,'fixed'),sM:_(p.startMuted,true),aT:_(p.aniTyme,1),aP:_(p.autoPlay,false),vTrack:[],vT:[],aL:0,tS:_(p.trackSec,0),sB:_(p.setBoard,null),PA:_(p.pageAlign,null),aT:_(p.aniTime,0.5),rN:_(p.skipNode,null),eX:_(p.excludeNode,null),cG:_(p.confiant,null),aE:_(p.aniProperty,"marginTop"),nX:_(p.afterNext,0),F:[],fn:_(p.feeds,8),fF:_(p.feedsSearch,''),fc:_(p.feedsCategory,''),fct:_(p.feedsCategories,[]),sI:_(p.adSlot,'Liqwid_feed_ad'),iS:_(p.adPlacement,null),sV:_(p.slotsNum,0),fA:null,iN:_(p.inFeedAds,0),iNs:_(p.feedAdSlots,[]),fcd:_(p.feedsCategoryDir,[]),ft:_(p.feedsType,1),gn:_(p.feedsCells,0),dW:_(p.fdWidth,[]),dH:_(p.fdHeight,[]),tW:_(p.ftWidth,[]),qW:_(p.fqWidth,[]),fd:_(p.feedsTheme,1),fb:_(p.feedsBgColor,'transparent'),fbc:_(p.feedsBoxBgColor,'transparent'),zoomd:_(p.zoomdID,null),
fT:_(p.feedsTitleStyle,0),
fX:_(p.feedsTextStyle,0),
dA:_(p.feedsDisplay,["#7b8c72","#fff"]),
fK:_(p.feedsBoxStyle,0), 
fM:_(p.feedsPageBar,"bottom"),
FS:_(p.feedsStyle,null),
TL:_(p.feedsLogo,["#000","#DC4141"]),FP:_(p.feedsPB,["#fff","#222","#333"]),
fl:_(p.feedsLogo,1),flc:_(p.feedsLogoColor,''),fO:Number(0),iC:0,rO:_(p.runOn,null),dO:_(p.dropOn,null),lS:false}
	
var P=this.P; 
P('pB','primebid',i);
P('fn','feeds',i);
P('gn','feedsCells',i);
P('iN','inFeedAds',i);
P('iNs','feedAdSlots',i);
P('tD','withDelay',i);
P('sV','slotsNum',i);
P('wN','watchNode',i);
P('iS','adPlacement',i);
P('ft','feedsType',i);
P('fd','feedsTheme',i);
P('sB','setBoard',i);
P('hD','hold',i);
P('fD','fillDelay',i);
P('fE','footer',i);
P('fH','addFooterHeight',i);
P('fB','footerBackground',i);
P('vO','video',i);
P('pR','print',i);
P('cN','caption',i);
P('uI','userInit',i);
P('sN','screenMaxAds',i);
P('sE','qs','body',i);
P('tE','anc',null,i);
P('aF','adhesiveFor',i);
P('cE','cloneEvery',i);
P('fr','firstNode',i);
P('uN','useNode',i);
P('sH','minSpaceHeight',i);
P('wT','maxTime',i);
P('bN','bottomNode',i);
P('pS','parentSize',i);
P('iT','it',i);
P('pZ','pt',i);
P('uR','useRail',i);
P('uS','useSlot',i);
P('oO','onOpen',i);
P('uE','useElement',i);
P('mD','mobile',i);
P('lN','lastNode',i);
P('aN','avoidNode',i);
P('aD','addNode',i);
P('nB','watchNodeBelow',i);
P('va','va',i);
P('aA','autoAdhesive',i);
P('rT','refreshTime',i);
P('tR','regTime',i);
P('oA','outsideAds',i);
P('nS','noSize',i);
P('aC','addClass',i);
P('aS','addStyle',i);
P('nA','nodeAddStyle',i);
P('bC','boxAddClass',i);
P('bA','boxAddStyle',i);
P('rC','reqContent',i);
P('mL','minListNumRec',i);
P('nR','nextNodeRotation',i);
P('vA','verticalAlign',i);
P('rS','reqSize',i);
P('mW','maxWidth',i);
P('pO','position',i);
P('oP','opacity',i);
P('tO','top',i);
P('bO','bottom',i);
P('uB','minBottom',i);
P('mR','minRight',i);
P('lP','leftPos',i);
P('rP','rightPos',i);
P('bG','background',i);
P('oB','overlayBackground',i);
P('oF','overlayFilter',i);
P('oT','overlayTop',i);
P('aB','border',i);
P('fL','float',i);
P('nO','nodeOverflow',i);
P('mA','margin',i);
P('pG','padding',i);
P('aM','adMargin',i);
P('vI','vis',1,i);
P('mU','marginBelow',i);
P('mK','marginAbove',i);
P('mb','mb',i);P('mt','mt',i);
P('eB','bottomLineNode',i);
P('bB','bottomLineBlock',i);
P('uC','bottomLineClass',i);
P('blh','blh',i);
P('bl','bl',i);
P('blC','blClass',i);
P('blS','blS',i);
P('tN','breakNode',i);
P('fC','fitCreative',i);
P('aI','anyIn',i);
P('aO','anyOut',i);
P('pD','pushDownLimit',i);
P('nn','nodeNumber',i);
P('cW','maxClientWidth',i);
P('cM','minClientWidth',i);
P('nW','widthNode',i);
P('eE','minTopEdge',i);
P('cL','cloned',i);
P('iL','infiniteLoad',i);
P('sA','scrollableAfter',i);
P('sS','scrollableAfterScroll',i);
P('cV','cloneOnScroll',i);
P('cA','dropOn',i);
P('cO','cancelOn',i);
P('cD','cloneAfter',i);
P('mC','clonesMaxNum',i);
P('sL','scrollLog',i);
P('cI','cloneID',i);
P('uP','usePid',i);
P('ia','inventoryAnalyzer',i);
P('fw','fitWidth',i);
P('pm','pageMargin',i);
P('mS','setPageMargin',i);
P('pW','pageWidth',i);
P('al','align',i);
P('pT','passTo',i);
P('pP','passToPos',i);
P('pU','topEdgeMargin',i);
P('nP','topEdgeNode',i);
P('tH','useEdgeNodeHeight',i);
P('bH','bottomEdgeNode',i);
P('lE','leftEdgeNode',i);
P('rE','rightEdgeNode',i);
P('cT','centerTo',i);
P('fS','flexSize',i);
P('sO','showOnScroll',i);
P('hO','hideOnScroll',i);
P('hN','hideOnNode',i);
P('nZ','setNodeLevel',i);
P('cF','close',i);
P('Fc','vClose',i);
P('cP','closeBtn',i);
P('rH','railHeight',i);
P('ut','useTop',i);
P('sP','setPage',i);
P('sW','setPageToWidth',i);
P('pM','pageMaxWidth',i);
P('pN','pageWidthNode',i);
P('wP','pageMinWidth',i);
P('mM','minMargin',i);
P('cS','colSpan',i);
P('zi','zIndex',i);
P('bS','boxShadow',i);
P('save','save',i);
P('mV','vType',i);
P('Vp','vPosition',i);
P('vU','vTop',i);
P('vB','vBottom',i);
P('vR','vRight',i);
P('vL','vLeft',i);
P('vW','vWidth',i);
P('vH','vHeight',i);
P('vD','vPageNode',i);
P('vZ','vZindex',i);
P('Vz','pZindex',i);
P('fN','vFitNode',i);
P('vS','vShadow',i);
P('pL','playWhen',i);
P('sM','startMuted',i);
P('aP','autoPlay',i);
P('tS','trackSec',i);
P('aT','aniTime',i);
P('aE','aniProperty',i);
	
 
if((this.pp[i].mV===5)&&this.pp[i].Vp==="bottom-left")this.pp[i].Vp="absolute";
},	
gpb:function(i,a,_p,s){
var _pbjs=window.clientHB;
if(!this._(_pbjs,null)||!this._(_pbjs.que,null) || typeof _pbjs.requestBids==="undefined") {return setTimeout(function(){Liqwid.gpb(i,a,_p,s);},10);}	
var n_=this._(a.rtb.m[_p.cn],null);if(n_)n_=this.pn(n_);
_pbjs.requestBids({timeout:2000,bidsBackHandler:function() {
    var e = {},b = JSON.parse(JSON.stringify(_pbjs.getHighestCpmBids(s)));
    if (Object.keys(b).length > 0) {
        e = b[0];
        Liqwid.hb[i] = {
            b: e.bidder,
            cpm: e.cpm,
            w: e.width,
            h: e.height,
            adId: e.adId,
            ttl: e.ttl,
            r: e.netRevenue,
            dt: Date.now()
        };  Liqwid.msg((++Liqwid.stp), 'Box: ' + i + ' ' + n_ + ' Done in ' + (Date.now() - a.bt) + 'ms; Bid: $' + e.cpm + ' ' + Liqwid.pn(e.bidder) + '; (' + a.p + ') ', ); 
        if (a.rtb.cpm[_p.cn]<=e.cpm) {
            var d = Liqwid.d('Liqwid_board' + i),c = s;
            a.rtb.n = e.bidder;
            a.bid = e.cpm;
            a.pd = 1;
            Liqwid.ff(i,a,_p,c);
        } else {
             Liqwid.msg((++Liqwid.stp), 'Box: ' + i + ' ' + n_ + ' Highest Bid $' + e.cpm + ' lower than Floor $' + a.rtb.cpm[_p.cn] + ' - Passback to Waterfall (' + a.p + ') ', 4);  Liqwid.demand(n_, false, i);
        }
    } else {
        
            Liqwid.msg((++Liqwid.stp), 'Box: ' + i + ' ' + n_ + ' Done in ' + (Date.now() - a.bt) + 'ms; No Bid; (' + a.p + ') ', 4); /*Liqwid.msg((++Liqwid.stp),'Liqwid.hb['+i+']:  '+JSON.stringify(Liqwid.hb[i]) );*/  Liqwid.demand(n_, false, i);
    }
}
});},lpb:function(i,a,_p){if(!this._(Lpbjs,null)||!this._(Lpbjs.que,null)){return setTimeout(function(){Liqwid.lpb(i,a,_p);},10);}
let lF=a.rtb.cpm[_p.cn],eF=_p.tF;if(_p.FL.length===3)lF=_p.lF;if(eF<lF)eF=lF;
var PREBID_TIMEOUT=3000; var FAILSAFE_TIMEOUT=3000;var w=Math.floor(a.mw),h=Math.floor(a.mh),s=[[w,h]],di=Liqwid.page.di;if(isNaN(w)||isNaN(h)||w==0||h==0||a.PB.length==0){return Liqwid.demand('Primebid',false,i);}if(w===970&&h===90)s=[[w,h],[728,90]];if(w===300&&h===600){if(a.ps==="A"||a.ps==="B"){s=[[w,h],[160,600]];}else{s=[[w,h],[300,250]];}}if(w===970&&h===250)s=[[w,h],[970,90],[728,90]];if(w===728&&h===250)s=[[w,h],[728,90]];if(w===640&&h===100)s=[[w,h],[640,90],[320,50]];if(w===300&&h===250&&this.mob)s=[[w,h],[320,50]];var adUnits=[{code:'r'+i,mediaTypes:{banner:{sizes:s}},floors:{currency:'USD',skipRate:0,modelVersion: 'default model 1.0',schema:{fields:['mediaType']},values:{'banner':_p.tF}},bids:a.PB}];Lpbjs.que.push(function(){if(_p.R===1){if(PWT&&typeof PWT.getUserIds=="function"){adUnits.forEach(function(adUnit){adUnit.bids.forEach(function(bid){bid["userId"]=PWT.getUserIds();});});}Lpbjs.addAdUnits(adUnits);Lpbjs.setConfig({userSync:{iframeEnabled:true,enabledBidders:a.FB}});Lpbjs.setConfig({priceGranularity:"high"});Lpbjs.setConfig({"schain":{"validation":"strict","config":{"ver":"1.0","complete": 1,"nodes":[{"asi":"liqwid.com","sid":di,"hp":1}]}}}); 
}Liqwid.msg('Trying Floor: $' + _p.tF + ' Min Floor: $' + lF + ' ('+a.p+')','');Lpbjs.requestBids({timeout:3000,bidsBackHandler:function(){/*if(Lpbjs.initAdserverSet)return;Lpbjs.initAdserverSet=true;*/var m=false,e={},b=JSON.parse(JSON.stringify(Lpbjs.getHighestCpmBids('r'+i)));if(Object.keys(b).length>0){e=b[0];Liqwid.hb[i]={b:e.bidder,cpm:e.cpm,w:e.width,h:e.height,adId:e.adId,ttl:e.ttl,r:e.netRevenue,dt:Date.now()};Liqwid.msg((++Liqwid.stp),'Box: '+i+' Primebid Done in '+(Date.now()-a.bt)+'ms; Bid: $'+e.cpm+' '+Liqwid.pn(e.bidder) + '; Floor: ' + lF+'; ('+a.p+') ','');
/*
if (Liqwid.page.bd!==""&&typeof e.meta!=="undefined"&&typeof e.meta.brandName!=="undefined"&&e.meta.brandName!=="") {
var bd=Liqwid.page.bd,bq=bd.split(","),S=e.meta.brandName.toLowerCase();for (a=0;a<bq.length;a++){var Q=bq[a].toLowerCase().trim().replace("www.","");if(Q.match(S)||Q.match(S.replace(" ",""))||Q.match(S.replace("'",""))||Q.match(S.replace("the ","").replace(" ","")))m=1;}}
*/	
if(eF<=e.cpm){
var d=_p.d,c='';a.rtb.n=e.bidder;a.bid=e.cpm;a.pd=1;a.nf=null;Liqwid.ff(i,a,_p,c);}else{
if(_p.tF > lF ){
for (let x=0;x<a.PB.length;x++){if(a.PB[x].bidder==="pubmatic"){a.PB[x].params.kadfloor=(parseFloat(a.PB[x].params.kadfloor)-_p.iF).toFixed(2);break;}}
 _p.tF=Math.round((_p.tF-_p.iF) * 1000)/1000 ;
return Liqwid.lpb(i,a,_p);		   
}	
Liqwid.msg((++Liqwid.stp),'Box: '+i+' Highest Bid $'+e.cpm+' lower than Floor $'+eF+' - Passback to Waterfall ('+a.p+') ',4);Liqwid.demand('Primebid',false,i);}
}else{	
Liqwid.msg((++Liqwid.stp),'Box: '+i+' Primebid Done in '+(Date.now()-a.bt)+'ms; No Bid; ('+a.p+') ',4);/*Liqwid.msg((++Liqwid.stp),'Liqwid.hb['+i+']:  '+JSON.stringify(Liqwid.hb[i]) );*/

if(_p.tF>lF){
for (let x=0;x<a.PB.length;x++){if(a.PB[x].bidder==="pubmatic"){a.PB[x].params.kadfloor=(parseFloat(a.PB[x].params.kadfloor)-_p.iF).toFixed(2);break;}}
 _p.tF=Math.round((_p.tF-_p.iF) * 1000)/1000;
return Liqwid.lpb(i,a,_p);		   
}	
Liqwid.demand('Primebid',false,i);}}});});},ub:[],wb:[],hb:[],ka:null,ke:null,ku:0,ads:[],def:[],a:function(_p){var s=_p.sE,n,e,eX="",a=[],_a=[],G=[],e;if(_p.uN){var t=_p.uN.split(','),uF,fD;if(_p.uF){uF=top.document.querySelector(_p.uF);if(uF){fD=uF.contentWindow||uF.contentDocument;if(fD)_p.Fd=fD.document;}} if(_p.uF&&(!uF||!fD)) return; for(let N=0;N<t.length;N++){
if(!_p.Fd)_p.Fd=top.document;if(t[N]&&t[N]!=="document")n=_p.Fd.querySelector(t[N].trim());if(!n)n=_p.Fd;
if(_p.eX)eX+=":not("+_p.eX+")";for(let y=0;y<s.length;y++){var q=[],qS=s[y].replace("*",y);if(qS!==""){q=n.querySelectorAll(qS+eX);}if(q.length!==0){
if(_p.cE>0){_a.push.apply(_a,q);if(_p.nC.length!==0){let s_=[];for(let x=0;x<_a.length;x++){for(let c=0;c<_p.nC.length;c++){if(x===_p.nC[c]){s_.push(_a[x]);break;}}}_a=s_;}}else{_a=q;break;}}}}}a=_a;_a=[];
/*if(_p.gpt){G=a;for(var u=0;u<G.length;u++){if(G[u].offsetWidth>=_p.w&&G[u].offsetHeight>=_p.h)_a.push(G[u]);}a=_a;_a=[];}*/
if(_p.rN&&_p.rN.length>0){var rN=[]; try{rN=_p.rN.split(',');}catch(e){rN=_p.rN;}for(var u=0;u<rN.length;u++){var r=rN[u];for(var C=0;C<a.length;C++){if((a[C]===top.document.querySelector(r))||(a[C].parentNode&&((r.match(/./)&&a[C].parentNode.className.indexOf(r.replace(".",""))>-1))||(r.indexOf("#")>-1&&a[C].parentNode.id===r.replace("#","")))){/**/}else{_a.push(a[C]);}}a=_a;_a=[];}}if(a.length!==0&&_p.rC){if(typeof _p.rC!=='object')_p.rC=[_p.rC];for(var C=0;C<a.length;C++){for(var L=0;L<_p.rC.length;L++){if(a[C].innerHTML.indexOf(_p.rC[L])>-1){_a.push(a[C]);break;}}}a=_a;_a=[];}if(a.length!==0&&_p.eC){if(typeof _p.eC!=='object')_p.eC=[_p.eC];for(var C=0;C<a.length;C++){for(var L=0;L<_p.eC.length;L++){if(a[C].innerHTML.indexOf(_p.eC[L])<0){_a.push(a[C]);break;}}}a=_a;_a=[];}if(a.length!==0&&_p.rS){for(var C=0;C<a.length;C++){if((_p.rS[0]&&a[C].offsetWidth>=_p.rS[0])||(_p.rS[1]&&a[C].offsetHeight>=_p.rS[1]&&a[C].offsetHeight<_p.rS[1]+20&&(!_p.rS[2]||a[C].offsetHeight===_p.rS[2])))_a.push(a[C]);}a=_a;}return a;},delay:false,clon:function(s,a,_p){if(this.ke)return;this.ke=1;if(this.ka)s=this.a(_p);var f=0,F,dP=false,pF=_p.pF,cn=Math.floor((s.length-_p.nn)/_p.cE)+a.k,n=_p.nn,k=a.k,o=this.ads.length;if(_p.mC>0&&cn>_p.mC)cn=_p.mC;for(var c=k;c<cn;c++){var N=n,A,el;n+=_p.cE;N=n;_p.nn=N;el=s[N];if(!el)_p.nn=N-_p.cE;dP=false;
if(a.fc!==0){F=this.pq.split(',');f=0;if(F.length>0&&F[0]!=='')for(var C=0;C<F.length;C++){if(a.p===F[C])f++;}}if(_p.cC+1>=pF||(a.fc!==0&&f+1>=a.fc)){if(this.def.length>0&& typeof this.def[0]!=="undefined")for(var D=0;D<this.def.length;D++){if(this.def[D].dP===a.p){a=this.def[D];pF=1;dP=true;break;}}}if(el){k++;if(dP){_p.cC=0;pF=this._(a.pp.pageFrequency,1)}else{_p.cC++;}this.pq+=","+a.p;A={o:o,i:i,p:a.p,tE:el,kn:0,k:k,x:0,n:n,d:a.d,e:a.e,r:0,j:0,end:false,s:0,cn:0,c:'',al:a.al,wait:0,pp:a.pp,pr:a.pr,v:1,fc:a.fc,ps:a.ps,op:a.op,mw:a.mw,mh:a.mh,ms:a.ms,mt:a.mt,t:a.t,ct:a.ct,cm:a.cm,rl:a.rl,pt:a.pt,cd:a.cd,ci:a.ci,cc:a.cc,tt:a.tt,g:a.g,mg:a.mg,bt:null,xl:0,bid:0,pd:null,pb:a.pb,PB:a.PB,FB:a.FB,fs:a.fs,btn:null,rtb:a.rtb,vi:false,video:a.video,vast:a.vast,vTr:a.vTr,_l:0,_p:a._p,_bid:a._bid,_mw:a._mw,_mh:a._mh,_t:a._t,_cc:a._cc,_ct:a.ct,_cm:a._cm,_tt:a._tt,ts:a.ts,player:null,dur:0,pa:0,pl:0,q:'',q_:''};this.ads.push(A);}}a.k=k;this.ke=null;if(this.ka){Liqwid.add(o);}},o:0,fA:null,pv:0,hT:function(t){var r=document.head.getElementsByTagName("script");for(var n=0;n<t.length;n++){var e;for(var s=0;s<r.length;s++){if(r[s].src===t[n])e=1;}if (!e)this.com.js(t[n],"head");}},add:function(o,I){if(!I)this.i=o;var a,i=0,k=0,F=[],f=0,dP=false,kW,_kW=null,tx,K,wF,wN,rn=0,T=this.ads.length,_=this._;if(T===0||this.url.indexOf(this.page.d)<0){this.ka=null;return;}a=this.ads[o];if(!a){this.ka=null;return;}
kW=_(a.pp.cancelOnWord,null); if(kW){tx=top.document.body.innerHTML;K=kW.split(",");for(var k=0;k<K.length;k++){if(tx.indexOf(K[k]) > -1){_kW=1;break;}}}if(_kW)return;
kW=_(a.pp.keyWords,null);if(kW){tx=top.document.body.innerText;K=kW.split(",");for(var k=0;k<K.length;k++){if(tx.match(K[k].trim())){_kW=1;break;}}}if(_(a.fc,0)!==0||(kW&&!_kW)){F=this.pq.split(',');for(var C=0;C<F.length;C++){if(a.p===F[C])f++;}if(f>=a.fc||(kW&&!_kW)){if(!a.pr){if(this.def.length>0&& typeof this.def[0]!=="undefined")for(var D=0;D<this.def.length;D++){if(this.def[D].dP===a.p){a=this.def[D];this.pq+=","+a.p;dP=true;break;}}if(!dP){if(o+1<T){return this.add(o+1);}else{return;}}}else{if(o+1<T){return this.add(o+1);}else{return;}}}};i=o;if(I!==null&&Number(I)>-1)i=I;this.ad[i]=a;this.wb[i]=null;if(_(a.pp.delay,null)&&!this.delay){this.delay=1;return setTimeout(function() {a.pp.delay=null;Liqwid.add(o,i);}, a.pp.delay);}wF=_(a.pp.waitFor,null);if(wF){for(var W=0; W<wF.length;W++){if(wF[W].indexOf('anchor:')>-1){if(top.location.href.indexOf(wF[W].replace('anchor:','').replace(/ /g,''))>-1){wN=1;}else{wN=null;break;}}else{if(top.document.querySelector(wF[W])){wN=1;}else{wN=null;break;}}}if(!wN){return setTimeout(function(){Liqwid.add(o,i);},100);}}this.o=T;var _d,d_,tE,S=[],_S=[],tn='',tB,cTN='',B='',cen=0,cen_=0,row,cell,zi=0,L='Liqwid_',id_=L+'board'+i;this.df(i);var _p=this.pp[i],sE=_p.sE,iT=_p.iT,r_=_p.uR,s_=_p.uS,mob=_p.mD,mL=_p.mL,nn=_p.nn,pos_=_p.pZ,lN=_p.lN,fN=_p.fr,cE=_p.cE,op=_p.oP,tp=Math.floor(_p.tO),an=_p.aN,va=_p.va,fL=_p.fL,rS=_p.rS,W=_p.width,H=_p.height,mW=_p.mW,ots=_p.oA,mn=_p.mA,cM=_p.cM;if(_p.sR){var sT="",St=top.document.createElement('style');St.type="text/css";for(var r=0;r<_p.sR.length;r++) sT+=_p.sR[r].replace(/,/g,";").replace(/media/,"@media");St.innerText=sT;top.document.head.appendChild(St);}if(_p.cD && typeof _p.cD==="number"){var sec=_p.cD;_p.cD=[sec,0];}if(_p.zoomd)this.com.js('//search.zoomd.com/zoomd/SearchUi/Script?clientId='+_p.zoomd,'head');if(sE[0]==='feeds'&&!this.fA){this.fA=o;return;}_p.w=a.mw;_p.h=a.mh;_p.l=false;a.l=false;a.r=false;if(_p.tP)B=top.document.body.innerHTML;if(_p.uD){var u_=_p.uD.split(","),_u;for(var u=0;u<u_.length;u++){if(this.url.indexOf(u_[u].trim())>-1)_u=1;}if(!_u)_p.end=1;}if(_p.rO||_p.dO)this.lsn(i,_p.rO,_p.dO);if(_p.aD){for(var N=0;N<_p.aD.length;N++){var aD=top.document.createElement(_(_p.aD[N].elem,"div")),eN=top.document.querySelector(_(_p.aD[N].node,"body")),nT=_(_p.aD[N].insert,3),gS=_(_p.aD[N].cssClass,null),eS=_(_p.aD[N].cssStyle,null),eM=_(_p.aD[N].content,null);aD.id=_(_p.aD[N].id,'Liqwid_'+Date.now());if(gS)aD.classList.add(gS);if(eS)aD.style.cssText=eS.replace(/,/g,';');if(eM)aD.innerHTML=eM;if(nT===1){eN.insertBefore(aD,eN.firstChild);}else if(nT===2){eN.parentNode.insertBefore(aD,eN.nextSibling);}else if(nT===3){eN.appendChild(aD);}else{eN.parentNode.insertBefore(aD,eN);}}}if(a.video!==0){a.video=1;if(_p.mV===2||_p.mV===5||_p.mV===6){sE='body';iT=3;}_p.vT[i]=0;if(a.vTr)_p.vTrack=a.vTr;}if(_p.aA){_p.va='m';va='m';}if(_p.uC)_p.blC=_p.uC;if(_p.eB)_p.bl=_p.eB;if(_p.bB)_p.blh=_p.bB;if(_p.mU)_p.mb=_p.mU;if(_p.mK)_p.mt=_p.mK;if((this.mob && mob===-1)||(mob>0&&!this.mob)/*||(cM!==0&&this.cw<=cM)*/||(ots!==0&&(a.ps==='A'||a.ps==='B'))){if(o+1<T){return this.add(o+1);}else{return;}}if(an&&top.document.querySelector(an))return;tE=a.tE;if(!tE&&sE!==''){S=this.a(_p)||[];rn=S.length;if(rn===0){this.msg((++this.stp),'No Target Found for: '+a.p+' ('+i+')',4);if(o+1<T){return this.add(o+1);}else{return;}}tE=S[nn];if(!tE)return;tn=tE.tagName;if(tn==='TABLE'&&_p.uE!='TR')tn='DIV';if(tn==='TABLE')tB=tE;if(tn==='TR'){tB=tE.parentNode;tn=tB.tagName;}if(tn==='TBODY'){tB=tE.parentNode.parentNode;tn='TABLE';} 
if(tn==='TABLE'){rn=tB.rows.length;if(rn===0){if(o+1<T){return this.add(o+1);}else{return;}}S=tB.rows;}a.kn=rn;if(lN!==0)nn=rn-1;if(cE>0){nn=cE;if(fN>-1)nn=fN;}tE=S[nn];if(!a.op&&!a.tE&&cE>0){if(tE)_p.nn=nn;if(rn>cE&&(!mL||rn>= mL)&&!this.ka)this.clon(S,a,_p);}}if(tn==='TABLE'||(a.tE&&a.tE.tagName==='TR')){if(a.n>-1)nn=a.n;if(a.tE)tB=a.tE.parentNode.parentNode;row=tB.insertRow(nn);row.id="Liqwid_row"+i;row.style.visibility='hidden';if(!_p.cS){for(l=0;l<tB.rows.length;l++){cen_=tB.rows[l].cells.length;if(cen_>cen)cen=cen_;if(l>100)break;}_p.cS=cen;}cell=row.insertCell(0);cell.colSpan=_p.cS;tE=row.cells[0];}if(_p.gpt)a.tE=tE;var b=top.document.body,el_=this.d(id_);el=el_||top.document.createElement(_p.uE);el.id=id_;if(!el){if(o+1<T){return this.add(o+1);}else{return;}}_p.d=el;
if(iT!==4){if(_p.mV!==2&&_p.mV!==5&&_p.mV!==6){if(va==='m'&&s_!== 0){d_= this.d('Liqwid_slot' + i);if(!d_){d_=top.document.createElement("div");d_.id='Liqwid_slot'+i;d_.style.position = pos_; if(tp)d_.style.top=tp+'px';if(mn)d_.style.margin=mn;d_.appendChild(el);}el=d_;if(!el){if(o+1<T){return this.add(o+1);}else{return;}}if(r_){_d = this.d('Liqwid_rail'+i);
if(_p.cN&&!_p.sB)_p.sB=1;if(!_d){_d=top.document.createElement("div");_d.id='Liqwid_rail'+i;_d.style.position='relative';tE.appendChild(_d);_d.appendChild(el);el=_d;}}}}if(el.id==='Liqwid_board'+i){if(_p.sB)this.sD(i,el,null,a,_p);/*el.style.overflow='hidden';*/}if(!_d){try{if(iT===1){tE.insertBefore(el,tE.firstChild);}else if(iT===2){if(_p.nX===1){if(tE.nextSibling){tE.nextSibling.after(el);}else{tE.after(el);}}else{tE.parentNode.insertBefore(el,tE.nextSibling);}}else if(iT===3){tE.appendChild(el);}else{tE.parentNode.insertBefore(el,tE);}}catch (e){this.msg((++this.stp),'No Target Found for: '+a.p+' ('+i+')',4); /* */
}}else{if(_d!==el)_d.appendChild(el);}}else{if(tE){if(_p.nA){if(_p.nA[0][1].match(/margin-top:/))this.bgad=parseInt(_p.nA[0][1].replace("margin-top:","").replace(" ",""));}if(((_p.cM===0&&this.bgad>0)||this.cw>=_p.cM)&&this.fs){tE.style.backgroundImage="url('"+ a.cc +"')";tE.style.backgroundRepeat="no-repeat";tE.style.backgroundAttachment="fixed";if(a.ct!=''){var s=top.document.createElement('style');document.head.appendChild(s);s.innerHTML=sE[0]+" {cursor:pointer;} "+ sE[0]+" > * {cursor:default;}";if(_p.tP){cTN="<style>"+sE[0]+" > * {cursor:default;}</style><div id='Liqwid_bg_click' style='position:fixed;z-index:1;width:"+this.cw+"px;height:"+this.ch+"px;top:0;left:0;cursor:pointer;' onclick='Liqwid.click("+i+");'></div>";}else{tE.addEventListener('click',function(e){if (e.stopPropagation){e.stopPropagation();}else{e.cancelBubble=true;}if(e.target===this){Liqwid.click(i);}});}}el=tE;}
if(_p.tP){el.innerHTML=cTN+"<div id='Liqwid_page' style='position:relative;z-index:2;cursor:default;"+_p.tP.replace(/,/g,';')+"'>"+B+"</div>";history.scrollRestoration="manual";top.scrollBy({top:0,left:0,behavior:'smooth'});}}}
el.setAttribute("data-placement",a.p);if(_p.wS)el.style.cssText +=';'+_p.wS.replace(/,/g,';');if(_p.al)el.setAttribute("align",_p.al);
if(iT===4&&tE&&this.cw>=_p.cM&&this.fs)this.ss(i);if(a.ps === 'A'||a.ps === 'B'||a.ps === 'G'||a.ps === 'H'||a.ps === 'W'){el.style.display='none';}if(b&&!this.d(L+'styles')){var s=top.document.createElement('div');s.id=L+'styles';b.appendChild(s);}this.stl(i);if(!a.op){if(_p.nO){var pn;if(_p.nO[0]&&_p.nO[0]==='parent'){pn=el.parentNode;}else{if(_p.nO[0])pn=top.document.querySelector(_p.nO[0]);}if(pn&&_p.nO[1])pn.style.overflow=_p.nO[1];}}
if(_p.fE&&_p.fH) {var fo=top.document.querySelector(_p.fE),fe=this.d('Liqwid_fex');if(fo&&!fe){fe=top.document.createElement("div");fe.id='Liqwid_fex';fe.style.width='100%';fe.style.position='relative';fe.style.height=_p.fH+'px';if(_p.fB)fe.style.background=_p.fB;fo.appendChild(fe);}}T=this.ads.length;if(o+1<T){this.add(o+1);}else{this.ka=null;}if(_p.FL.length===3){_p.lF=_p.FL[1];_p.tF=_p.FL[0];_p.kF=_p.tF;_p.iF=_p.FL[2];}if(_p.ci&&!_p.tD&&_p.d)this.DC(_p.ci,_p.d);},ap:0,fill_:0,c1:"<!DOCTYPE html><html> <head><title>LIQWID Ad</title>",c2:"<style type='text/css'>html {overflow:hidden;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;} body {margin:0px;padding:0;background-color:transparent;height:100%;} img {border:0;width:100%;}</style></head><body>",c3:"</body></html>",vC:function(_p,a,c){c=c.replace(/%27/g,"'").replace(/&amp;/g,"&").replace("[WIDTH]",_p.w.toFixed()).replace("[HEIGHT]",_p.h.toFixed()).replace("[DO_NOT_TRACK]",'0').replace("[GDPR]",'0').replace("[GDPRCS]",'').replace("[IP_ADDRESS]",'54.165.181.150').replace("[USER_AGENT]",'Mozilla%2f5.0+(X11%3b+Linux+x86_64)+AppleWebKit%2f537.36+(KHTML%2c+like+Gecko)+Chrome%2f88.0.4324.96+Safari%2f537.36').replace("[PAGEURL]",encodeURIComponent(this.url)).replace("[DOMAIN]",encodeURIComponent(document.domain)).replace("[ENCODED_URL]",encodeURIComponent(this.url)).replace("[CONTENT_ID]",a.p.toFixed()).replace("[CONTENT_TITLE]",'').replace("[CONTENT_LENGTH]",'').replace("[CONTENT_URL]",'').replace("[CACHEBUSTER]",Date.now());return c;},
lsn:function(i,p,s){top.addEventListener(p,function(e){Liqwid.pp[i].lS=true;},false);top.addEventListener(s,function(e){Liqwid.pp[i].lS=false;},false);},
fill:function(i){var a=this.ad[i],_p=this.pp[i],d=_p.d,c="";
if((_p.gpt&&_p.gpt>_p.gs)||(_p.tD&&_p.tD>_p.gs)) return setTimeout(function(){Liqwid.fill(i);},1000);	
	
if(a&&_p&&d){if(!_p.vi||a.p===0){_p.l=false;return;} if(a.l)return;a.l=1;this.msg((++this.stp), 'Fill Box: '+i+' ('+a.p+')');for(var n=0;n<this.i+1;n++){var a_=this.ad[n];if(a_){if(a_.ps==='A'){this.ap=a_.p;break;}}}
if (_p.fC) {c1 += '<scr' + 'ipt>window.onresize=function(){var f=parent.document.getElementById("Liqwid_frame'+i+'_'+_p.cn+'"); if(f){f.style.height=top.document.offsetHeight+"px";}}</scr' + 'ipt>';}
if (_p.mO) c1 += '<scr' + 'ipt src="https://z.moatads.com/' + _p.mO + '/moatad.js#moatClientLevel1=' + a.cd + '&moatClientLevel2=' + a.p + '&moatClientLevel3=' + a.pt + '&moatClientLevel4=' + a.ci + '"></scr' + 'ipt>';
if (a.pr) { 
this.demand(a.rtb.m[0],1,i);
} else {
if (a.video!==0) {	
c=this.vC(_p,a,a.cc);		  
} else {
if(a.t!==4||a.cc.indexOf("-imglink")>-1)c=this.c1+this.c2+a.cc+this.c3;
} 
this.ff(i,a,_p,c);
}
if(this.fill_!==1)this.fill_=1;
}},rtb_call:function(i,a,_p,d){ 
var n=_p.cn;
if (typeof a.rtb.c[n] === 'undefined') return;
_p.j = null;
var N=a.rtb.n; if((a.ps!=='A'&&a.ps!=='B')&&(N==='B'||N==='M'))a.pd=1;
if (a.rtb.w[n] !== 0) a.mw = a.rtb.w[n];
if (a.rtb.h[n] !== 0) a.mh = a.rtb.h[n];
this.rtb_flag = true;
if (N !== 'X') {
_p.req.n = N;
_p.req.w = a.mw;
_p.req.h = a.mh;
var c = "<!-- Call #" + n + "-" + N + " -->";
if (N!=='L'&&N!=='V'&&N!=='N'&&N!=='M'&&N!=='A'&&N!=='K'&&N!=='B'&&N!=='G'&&N!=='D') {
c+="<scr"+"ipt>var LIQWID_SLOT=" + i + ",LPB=0,L_W=" + a.mw + ",L_H=" + a.mh + ",L_C=" + n + ",L_CPM=" + a.rtb.cpm[n] + ",n=0,d=(function(){var _m=window.MutationObserver||window.WebKitMutationObserver,e=window.addEventListener; return function(obj,callback){if(_m){var obs=new _m(function(m,o){if( m[0].addedNodes.length||m[0].removedNodes.length)callback();});obs.observe(obj,{childList:true,subtree:true});}else if(e){obj.addEventListener('DOMNodeInserted',callback,false);obj.addEventListener('DOMNodeRemoved',callback,false);}}})();d(document,function(){top.Liqwid.check_ad(" + i + "," + n + ",++n);});</scr"+"ipt>";
 }
}  
if (N==='V'){
_p.w=d.offsetWidth;	_p.h=Math.floor(_p.w*(a.mh/a.mw));
var v=a.rtb.c[n].split('|'),v_="";for(var o=0;o<v.length;o++){ 
if (v[o]!=='') {	
var V=this.vC(_p,a,v[o].trim());
if (v_=="") {v_="'"+V+"'";}else{v_+=",'"+V+"'";}}}a.video=1;c=this.mc.replace(/LIQWID_video_VAST/,"["+v_+"]");}else{
var T=a.rtb.c[n].split('@'),C=T[0];if(T.length>1)c+=T[1];
a.video=0;if(N==='N'||N==='F'||a.nf)c=C;else c=this.c1+c+this.c2+C+this.c3;
}
if (N==='L'){a.t=a._t;a.ct=a._ct;a.cm=a._cm;a.tt=a._tt;c= this.c1+this.c2+a._cc+this.c3;}
var _n=this.pn(N); this.msg((++this.stp), 'Box ' + i + ': Call '+(_p.cn+1)+' Demand Tag Request: '+_n+'; Size: '+(a.rtb.w[_p.cn]+'x'+a.rtb.h[_p.cn])+' ('+a.p+')');	
this.ff(i,a,_p,c); if(N ==='X'||N==='L'||N==='A'||N==='B'||N==='G'||N==='D')this.ss(i);
},
DC: function(c,d) {for(let g=0;g<c.length;g++){let e=c[g];if(e.trim()==="parentNode"){if(d){let E = d.parentNode.children;for(let m=0;m<E.length; m++){if(E[m]&&!E[m].id.match('Liqwid_')){	E[m].parentNode.removeChild(E[m]);m--;}}}}else{let r=document.querySelector(e.replace("*",g));if(r)r.parentNode.removeChild(r);}}
},eS:function(b){var S=Array.prototype.slice.call(b.getElementsByTagName("script"));for(var g=0;g<S.length;g++){
if(S[g].src!=""){var t=document.createElement("script");t.src=S[g].src;t.setAttribute('type','text/javascript');t.setAttribute('async','async');b.innerHTML=b.innerHTML.replace(S[g].outerHTML,'');b.appendChild(t);}else{ eval(S[g].innerHTML);}}},	
bX:function(i,w,h,_p){var s='width:'+w+';',b=top.document.createElement("div");b.id="Liqwid_box"+i;b.align="center";
if(_p.aB)s+='border:'+_p.aB+';';if(_p.aM!=='')s+='margin:'+_p.aM+';';if(_p.sB){if(Number(_p.sB)>1){var u='//www.liqwid.net/ads/default/'+w.replace("px","")+'x'+h.replace("px","");if(Number(_p.sB)>2)u+='_'+_p.sB.toFixed();u+='.gif';s+='background-image:url(\''+u+'\');background-repeat:no-repeat;height:'+h+';';}}else{s+='display:none;';}if(_p.cT){var l,c;if(_p.cT==='viewport'){l=this.cw/2-w/2-this.com.fp(_p.d).l;c=1;}else{c=top.document.querySelector(_p.cT);if(c)l=this.com.fp(c).l+c.offsetWidth/2-w/2;}if(c)s+='position:relative;left:'+l+'px;';}b.style.cssText=s;if(_p.bC){for(var n=0;n<_p.bC.length;n++)b.classList.add(_p.bC[n]);}return b;},ff:function(i,a,_p,c){
a.rtb.s=1;var F='',N=a.rtb.n,im,f,f_,b,B,w=a.mw+'px',h=a.mh+'px',r;if(!a.fs&&a.video!==0){w='100%';h=Math.floor(_p.d.offsetWidth*0.65)+'px';}	
if(!_p.b){_p.b=this.bX(i,w,h,_p);if(_p.mV&&_p.mV>0){var _b=top.document.createElement("div");_b.id="Liqwid_bg"+i;_b.style.position="fixed";_b.style.display="none";top.document.body.appendChild(_b);_b.appendChild(_p.b);}else{_p.d.appendChild(_p.b);}}b=_p.b;if(a.nf){c=this.com.rnl(c,i,a.p,1);b.innerHTML=c;this.eS(b);}else{if(a.t===2&&a.ct!==''){var cT=this.d('Liqwid_cT'+i);if(!cT){cT=top.document.createElement("div");cT.id='Liqwid_cT'+i;cT.style.cssText='position:absolute;z-index:1000003;width:'+w+';height:'+h+';cursor:pointer;';cT.addEventListener('click',function(){Liqwid.click('+i+');},false);b.appendChild(cT);}}f=_p.f[_p.cn];if(!f){var bF=top.document.createElement("iframe");bF.frameBorder="0";bF.style.cssText='border:none;display:none;width:'+w+';height:'+h+';';
//if(a.rtb.m[_p.cn]==='O'||a.rtb.m[_p.cn]==='M')bF.style.cssText+='display:none;';
if(_p.fP)bF.style.cssText+='position:'+_p.fP+';let:0;top:0;';bF.scrolling="no";if(a.t===4){if(a.cc.indexOf("-imglink") >-1){a.cc=a.cc.replace("-imglink","");im=1;}else{bF.src=a.cc;}}if(a.t===2)bF.src=a.cc;bF.allow="autoplay; fullscreen";bF.marginWidth="0";bF.marginHeight="0";bF.vspace="0";bF.hspace="0";bF.allowTransparency="true";bF.id='Liqwid_frame'+i+'_'+_p.cn;b.appendChild(bF);_p.f[_p.cn]=bF;}f=_p.f[_p.cn];if(f&&!_p.ia&&a.t!==2&&(a.t!==4||im)){f_=f.contentWindow||f.contentDocument;if(f_&&f_.document)f_=f_.document;if(f_){_p.psb=false;a.rtb.sT[_p.cn]=Date.now();if(a.pd&&Object.keys(this.hb[i]).length>0&&this.hb[i].adId){try{Lpbjs.renderAd(f_,this.hb[i].adId);}catch(e){this.demand("Primebid",false,i);}} else {c=this.com.rnl(c,i,a.p,3);f_.open();f_.write(c);f_.close();}}}}if(a.tt!==''){f=this.d('Liqwid_framet'+i);if(!f){var fT=document.createElement("iframe");fT.style.cssText='diplay:none;';fT.id='Liqwid_framet'+i;b.appendChild(fT);}if(f){f_=f.contentWindow.document||f.contentDocument;if(f_){f_.open("text/html","replace");f_.write(a.tt);f_.close();}}}if(!_p.ia&&(!a.pr||a.pd)&&(a.video!==1||a.cc.match(/YouTubeVideoPlayer/)))Liqwid.ss(i);},check_ad:function(i,n,r){
var a=this.ad[i],_p=this.pp[i],t,f=_p.f[_p.cn],d,d_,f_,fw_=0,_=this._,_n;if(a&&f&&_p){ 
_n=_(a.rtb.n,null);if(!_n||_p.cf||_p.cn!==n||a.p===0||_n==='M'||_n==='B'||_n==='A'||_n==='K'||(_n==='F'&&r<4))return;   
d=f.contentWindow.document||f.contentDocument;if(d){if(t){t=d.body.outerHTML;if(!t||t===''||_n==='T') return;}if (_n==='O') {f_=d.querySelector('iframe[id^="ox_"]');if(f_){a.pd=1;a.mw=f_.width;a.mh=f_.height;} else {return;}}else if(_n==='H'){if(!t.match(/trp-display-creative/))return;	

} else if (_n==='P') {if(r<4) return;if(t.match(/Liqwid.demand/)) return;} else if (_n==='E') {if(r>-1)return;}else if (_n==='N'||_n==='S'){f_=d.getElementsByTagName("iframe");for (var j=0;j<f_.length;j++){var w_=f_[j].width||Math.floor(f_[j].style.width),h_=f_[j].height||Math.floor(f_[j].style.height);if(isNaN(w_))w_=0;if(isNaN(h_))h_=0;if(w_>=a.mw&&h_>=a.mh)fw_++;}
if(fw_===0)return;}if(!_p.cf){var ms=1;if(_n==='D')ms=1000;if(_p.hD){for(var h=0;h<_p.hD.length;h++){if(_p.hD[h][0]===_n){ms=_p.hD[h][1];break;}}}_p.cf=1; 	
return setTimeout(function(){if(!_p.psb&&!_p.end){Liqwid.ss(i);}},ms);}}}},NA:null,nA:function(s){for(var n=0;n<s.length;n++){var d=top.document.querySelectorAll(s[n][0]),x;if(s[n][2]){if(s[n][2]==='*'){x=null;}else{x=d[s[n][2]];}}else{x=d[0];}if(x&&s[n][2]){x.style.cssText+=';'+s[n][1].replace(/,/g,';');}else{for(var R=0;R<d.length;R++){if(d[R]){d[R].style.cssText+=';'+s[n][1].replace(/,/g,';');if(typeof s[n][3]==="undefined")this.NA=1;}}}}},sD:function(i,d,s,a,_p){_p.d=d;var D=s||d,zi=_p.zi||this.page.z,r=this.d('Liqwid_row'+i);if(zi===255)zi=this.com.z()+1;if(_p.dS!=='none'&&_p.nI&&!_p.NS)d.classList.add("Liqwid_"+i.toFixed()+_p.nI);if(_p.mV===2||_p.mV===5||_p.mV===6)zi=-1;if(zi)D.style.zIndex=zi;_p.zi=zi;if(_p.bG)D.style.background=_p.bG;if(_p.mT)D.style.marginTop=_p.mT;if(_p.mB)D.style.marginBottom=_p.mB;if(_p.mA)D.style.margin=_p.mA;if(_p.pG)D.style.padding=_p.pG;if (_p.dS)D.style.display=_p.dS;if(!_p.nS&&_p.vA){d.style.top=_p.vA+'%';d.style.transform='translateY(-'+_p.vA+'%)';}d.style.overflow='visible';if(r)r.style.visibility='visible';if(_p.sU)this.com.ms(d,_p.sU,i);if(_p.nR&&d.nextSibling){d.nextSibling.classList.add('Liqwid_'+i+'fadeout');}if(_p.sB&&!_p.b){_p.b=this.bX(i,a.mw+'px',a.mh+'px',_p);d.appendChild(_p.b);if(!a.nf) {_p.b.style.width=a.mw+"px"; _p.b.style.height=a.mh+"px";}}if(_p.cN){var c=top.document.createElement("div"),C=_p.cN[1]||2,S=_p.cN[2]||null;c.innerHTML=_p.cN[0];c.style.textAlign='center';if(C===1){c.style.position='relative';d.prepend(c);}else if(C===2){c.style.position='relative';d.parentNode.insertBefore(c,d);}else if(C===3){c.style.position='relative';d.appendChild(c);}else if(C===4){c.style.position='absolute';b.appendChild(c);}if(S)c.style.cssText+=S.replace(/,/g,';');_p.cN=null;}},
ss:function(i,vp,dur){var a=this.ad[i],_p=this.pp[i],d=_p.d,b=_p.b,f=_p.f[_p.cn],s=this.d('Liqwid_slot'+i),_=this._,s_=null;if(_p){_p.sL=this.com.ts();if(_p.end)return;}if(!a||_p.j||a.p===0)return;_p.j=1;a.r=1;if(a.pr&&a.pd){_p.fs=a.fs;_p.rl=a.rl;a.fs=1;a.rl=0;}if(b&&d){if(_p.gpt){_p.gpt=null;if(a.tE)a.tE.parentNode.removeChild(a.tE);}
if(a.pr){var eT=(Date.now()-a.rtb.sT[_p.cn])||0,_n=_(this.pn(a.rtb.n),'');if(eT!==0)eT='in '+eT.toFixed()+'ms';if(!this.wb[i]||_(this.wb[i].price,0)===0||(a.rtb.n==='D'||a.rtb.n==='F')){this.msg((++this.stp),'Box '+i+': Has Ad '+eT+' Call: '+(_p.cn+1)+' '+_n+' ('+a.p+')',2);}else{this.msg((++Liqwid.stp),'Box '+i+': Primebid Ad '+eT+' '+_(this.pn(a.rtb.n),'')+' ('+a.p+')',2);}}if(a.rtb.m[_p.cn]==='O'&&f&&a.ps!=='A'&&a.ps!=='B'){var oD=f.contentWindow.document||f.contentDocument;if(oD){var f_=oD.querySelector('iframe[id^="ox_"]');if(f_){a.rtb.w[_p.cn]=f_.width;a.rtb.h[_p.cn]=f_.height;}}}if(a.fs!==0&&a.pr){a.mw=a.rtb.w[_p.cn];a.mh=a.rtb.h[_p.cn];if(!a.nf){f.style.height=a.mh+'px';f.style.width=a.mw+'px';}}if(typeof a.rtb.x!=='undefined'){var nr=_(a.rtb.x[_p.cn],0);if(nr===1)a.x=1;}var S=b.getElementsByTagName("iframe");for(var g=0;g<S.length;g++){S[g].style.display="none";}if(_p.Re>0) {S=b.getElementsByTagName("ins");for(var g=0;g<S.length;g++){S[g].style.display="none";S[g].innerHTML="";}S=b.getElementsByTagName("div");for(var g=0;g<S.length;g++){S[g].style.display="none";S[g].innerHTML="";}}if(f)f.style.display='block';b.style.display='block';b.style.width=a.mw+'px';var aC=_p.aC,aS=_p.aS;if(aC){for(var n=0;n<aC.length; n++)d.classList.add(aC[n]);}if(aS)d.style.cssText +=';'+aS.replace(/,/g,';');if(_p.bA)b.style.cssText+=';'+_p.bA.replace(/,/g,';');if(_p.nA&&!this.NA&&_p.vi&&((!a.pr&&a.r===1)||a.rtb.r))this.nA(_p.nA);if(_p.ci&&_p.tD)this.DC(_p.ci,_p.d);if(a.rl!==0&&d.parentNode&&!a.nf){_p.w=d.parentNode.offsetWidth;if(_p.mW&&_p.w>_p.mW)_p.w=_p.mW;_p.h=Math.floor(_p.w*(a.mh/a.mw));if(_p.mH&&_p.h>_p.mH)_p.h=_p.mH;}else{if(_p.mW)d.style.maxWidth=_p.mW+'px';_p.w=a.mw;_p.h=a.mh;}_p.s=0;if(a.pr){a.rtb.r=true;if(a.ps==='A')this.Ap=a.p;if(a.ps==='B')this.Bp=a.p;}if(vp)_p.player=vp;if(dur)a.dur=dur;if(a.pr||((a.ps!=='A'&&a.ps!=='B')||((a.ps==='B'&&this.ap===0)||(a.ps!=='B'||(this.ap!==0&&a.p!==this.ap)))))this._vq(i,a);if(!_p.sB)this.sD(i,d,null,a,_p);if(_p.uI) {var cb=top.document.createElement("div");cb.style.cursor='pointer';cb.id='Liqwid_pb'+i;cb.style.width="100%";cb.style.height="100%";cb.style.position='absolute';cb.style.left='0';cb.style.top='0';cb.style.background='transparent';cb.style.zIndex=100;cb.innerHTML='<div style="width:106px;height:106px;position:relative;left:50%;top:50%;transform:translateX(-50%) translateY(-50%);opacity:0.7;"><svg version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css"> .st0{fill:rgba(1,20,17,0.2);stroke:#02B79E;stroke-width:4;} .st1{fill:#02B79E;stroke:#0EAA4B;stroke-miterlimit:10;}</style><circle class="st0" cx="100" cy="100" r="90"/><polygon class="st1" points="70,55 70,145 145,100 "/></svg></div>';b.appendChild(cb);cb.addEventListener('click',function(){var p=Liqwid.pp[i].player;
//if(p){p.currentTime(0);p.play();Liqwid.pp[i].vP=1;}document.getElementById("Liqwid_pb"+i).style.display='none';
},false);}if(_p.oB){var oB=this.d("Liqwid_bg"+i);if(!oB){oB=top.document.createElement("div");oB.id="Liqwid_bg"+i;oB.style.background=_p.oB;if(_p.oF)oB.style.webkitFilter=_p.oF;top.document.body.appendChild(oB);if(_p.nI)oB.classList.add("Liqwid_"+i.toFixed()+_p.nI);}}if((_p.cF||_p.Fc)&&a.mw>1){var cP=_p.cP;if(!_p.cP){if(a.ps==='H'||!a.op||a.ps==='A')cP=[32,1,1,null,null,null]; if(a.ps==='G')cP=[32,null,-1,-1,null,null];if(a.ps==='B')cP=[32,1,null,null,-1,null];if(a.ps==='W'){if(!this.mob) {cP=[40,-10,-10,null,null,null];}else{cP=[32,1,1,null,null,null];}}}_p.cP=[cP[0],cP[1],cP[2],cP[3],cP[4],cP[5]];this.closebtn(i,a.ps,d,_p.mV,_p.cP[0],_p.cP[1],_p.cP[2],_p.cP[3],_p.cP[4],_p.cP[5]);}
if(_p.pS&&d.parentNode){var pn=d.parentNode;if(_p.pS[0]===1)pn=d.parentNode.parentNode;if(_p.pS[1])pn.style.width=_p.pS[1]+'px';if(_p.pS[2])pn.style.height=_p.pS[2]+'px';}
var vD,fN,w,h,oB;if(_p.fN)fN=document.querySelector(_p.fN);if(fN){w=fN.offsetWidth;h=fN.offsetHeight;_p.w=w;_p.h=h;};if(_p.mV===5||_p.mV===6){if(_p.vD)vD=document.querySelector(_p.vD);if (vD) {_p.vN=vD; if(!fN){h=Math.floor(_p.vH);w=Math.floor(h*(a.mw/a.mh));if(w>this.cw){w=this.cw;h=Math.floor(w*(a.mh/a.mw));};_p.w=w;_p.h=h;};
vD.style.zIndex=1;oB=this.d("Liqwid_bg"+i);this.ani(i,d,b,f,oB,a,_p,0,w,h,0,0,_p.Vp,null,_p.vD,_p.aE,0,h,0.8);
}}}},ani:function(i,d,b,df,oB,a,_p,tm,w,h,dT,dL,vP,cB,o,p,s,e,k) {
var F=setInterval(f,5);var d_,k_;if(s<e)d_=1;function f(){if((d_&&s>=e)||(!d_&&s<=e)){clearInterval(F);}else{k_=(Math.pow(10/_p.aT,k)*k);if(d_){s+=k_;}else{s-=k_;}eval('document.querySelector("'+o+'").style.'+p+'="'+s+'px"');Liqwid.vPos(i,d,b,df,oB,a,_p,0,w,s,dT,dL,vP,cB);}}},stopW:false,
closebtn:function(i,p,d,v){if(d)d.style.overflow='visible';var c=this.d("Liqwid_close"+i),b=this.d("Liqwid_bg"+i),x="";if(!c){c=document.createElement("div");c.id="Liqwid_close"+i;c.classList.add('Liqwid_close'+i);}	c.style.opacity=1;c.style.visibility='visible';if(p==='W')x="<div id='Liqwid_captions"+i+"' style='color:#AAA;font: 10px arial, sans-serif; background:#222;padding:6px; left:-110px;top:7px; z-index:0; position:absolute; width:110px;display:none;'></div>";x+='<div style="position:relative; z-index:1;"><svg viewBox="0 0 32 32" style="top:0;left:0;"><circle style="stroke:rgba(157,194,250,0.7);stroke-width:2;fill:transparent;" cx="16" cy="16.3" r="15"/><circle style="fill:rgba(157,194,250,0.7);stroke: rgba(86,94,126,0.8);" cx="16" cy="16.3" r="13"/><path style="fill:#FEFEFE;" d="M23.2,10.2c0.1,0.2,0.5,1.8-0.3,2.9c-1.2,1.7-3.8,0.5-7.4,1.3c-5.2,1.2-7,5.3-8.8,4.4c-1.6-0.8-1.1-4.7-1.1-5 c0.5-3.6,3.4-7,7.2-7.9C17.1,4.8,22.3,7,23.2,10.2z"/><g><line style="fill:none;stroke:#222;stroke-width:2;stroke-linecap:butt" x1="12" y1="12" x2="20" y2="20"/><line style="fill:none;stroke:#222;stroke-width:2;stroke-linecap:butt" x1="12" y1="20" x2="20" y2="12"/></g></svg></div>';c.innerHTML=x;if(v&&b)d=b;d.insertBefore(c,d.firstChild);c.addEventListener('click',function(){Liqwid.close(i);},false);/*c.classList.add("Liqwid_"+i+"fadein");*/},pn:function(n){var N='';switch(n){case 'D':N='Default';break;case 'P':N='Prebid';break; case 'A':N='Adlive';break; case 'I':N='Index';break;case 'ix':N='Index';break;case 'O':N='OpenX';break;case '$':N='Primebid';break;case 'openx':N='OpenX';break;case 'appnexus':N='AppNexus';break; case 'C':N='Criteo';break;case 'N':N='StreamAMP';break;case 'M':N='Amazon';break;case 'pubmatic':N='PubMatic';break;case 'F':N='DFP';break;case 'S':N='AppNexus';break;case 'B':N='bluTonic';break;case 'G':N='AdSense';break;case 'R':N='Rubicon';break;case 'rubicon':N='Rubicon';break;case 'criteo':N='Criteo';break;case 'smartadserver':N='SmartAdServer';break;case 'T':N='OpenX';break;case 'E':N='PulsePoint';} return N;},upa:function(i,a,_p,wb){a.pd=1;var _=this._,d=_p.d,c=this.c1+this.c2+wb.adm+_(wb.pixels,'')+this.c3;a.mw=_(wb.w,a.mw);a.mh=_(wb.h,a.mh);a.rtb.n=wb.n;this.ff(i,a,_p,c);this.msg((++this.stp),'Box: '+i+' Primebid: '+this.pn(a.rtb.n)+' Size: '+a.mw+'x'+a.mh+' Price: $'+wb.price+' ('+a.p+') ',2);},pbl:function(i,a,_p){var wb=this.wb[i],_=this._;if(this.ub[i]>=a.pb.length){a.xl++;var r='No Bid';if(_(wb,null) && _(wb.price,null))r='Bid: $'+wb.price+' '+this.pn(wb.n);this.msg((++this.stp),'Box: '+i+' Exbid Done in '+(Date.now()-a.bt)+'ms; '+r+' ('+a.p+') ');if(!wb || _(wb.adm,'')===''){return	this.demand('Exbid',false,i);}if(!a.pd)this.upa(i,a,_p,wb);}else{setTimeout(function(){Liqwid.pbl(i,a,_p);},1);}},A:0,B:0,Ap:false,Bp:false,pT:0,fitTo:function(i,a,S) {var f=this.d("Liqwid_frame"+i+'_0'),d;if(f){d=f.contentDocument||f.contentWindow.document;if(d){var F=d.getElementsByTagName('iframe'),D,w,h;for(var n=0; n<F.length; n++){w=F[n].width;h=F[n].height;if(w>=S[1]){a.mw=w;a.mh=h;if (w==S[0]){try{D=F[n].contentDocument||F[n].contentWindow.document;}catch(e){D=null;}if(D){var J=D.getElementsByTagName('iframe'),T,W;for(var N=0;N<J.length;N++){W=J[N].width;if(W==S[1]){a.mw=W;break;}if (W==S[0]) {var L;try{L=J[N].contentDocument||J[N].contentWindow.document;}catch(e){L=null;}if(L) {var K=L.getElementsByTagName('iframe'),v;for (var s=0;s<K.length;s++) {v=K[s].width;	if (v==S[1]) {a.mw=v;break;}}}}}}} break;}}}}},
pC:function(t,p,m){if(!m)m='passTo';var r=false;if(t&&(t.indexOf("Liqwid."+m+"("+p.replace(/\s+/g,'')+")")>-1||t.indexOf("Liqwid."+m+"(["+p.replace(/\s+/g,'')+"])")>-1) )r=1;return r;},passTo:function(p,m){this.msg(' passTo: ', 'P: '+p+' m: '+m);var i=null,P="";if(p)P=p.toString();for(var I=0;I<this.i+1;I++){
var a=this.ad[I],_p=this.pp[I],bt='';if(a.nf){var b=_p.b;if(b){bt=b.innerHTML;if(this.pC(bt,'',null)){i=I;break;}}} var F=_p.f[_p.cn],D;if(F){D=F.contentDocument||F.contentWindow.document;if(D){var S=D.getElementsByTagName('script');for(var N=0;N<S.length;N++){if(S[N]){var T=S[N].innerText.replace(/\s+/g,'');if(this.pC(T,P,m)){var p_=this.pp[I]; if(p_ && !p_.Pt) {p_.Pt=1;i=I;break;}}}}try{if(!i){var _F=D.getElementsByTagName('iframe'),D;for(var _N=0;_N<_F.length;_N++){D=_F[_N].contentDocument||_F[_N].contentWindow.document;var S=D.getElementsByTagName('script');for(var N=0;N<S.length;N++){if(S[N]){var T=S[N].innerText.replace(/\s+/g,'');if(this.pC(T,P,m)){i=I;break;}}}}}} catch(e){}}}if(i)break;}if(i===null||Number(i)<0)return;var _p=this.pp[i];if(_p){_p.psb=true;}if(P!="")P=p.toString();if(_p&&_p.pT)P=_p.pT.toString();if(P&&P!==""){if(!this.pT||this.pT<50){this.pT++;this.close(i);this.insert(P,i);}}else{if(!this.pT||this.pT<50){this.pT++;this.demand("Default",false,i);} }},ar:function(a,o,n){if(n>=a.length){n=a.length-1;}a.splice(n,0,a.splice(o,1)[0]);return a;},
demand:function(n,f,i){if(typeof i==="undefined") {return this.passTo(null,"demand");}var a=this.ad[i],_p=this.pp[i],d=_p.d,tF=0.4,_n='End of Stack',fL='',fl=0,eT='',n_,u_='',s=false,c='',_=this._,P="";if(a&&_p){a.video=0;a.dur=0;a.rtb.r=false;a.rtb.s=0;a.s=0;a.bid=0;_p.psb=true;_p.cf=null;fl=_(a.rtb.cpm[_p.cn],0);
if(f){_p.cn=0;a.r=0;this.wb[i]=null;this.hb[i]={};this.ub[i]=0;if(_p.Re>0&&(a.rtb.m[0]==='D'||a.rtb.m[0]==='Default'))_p.cn=1;_p.tF=Math.round((a.rtb.cpm[_p.cn]+tF)*1000)/1000; fl=_p.tF;for(let x=0;x<a.PB.length;x++){if(a.PB[x].bidder==="pubmatic"){a.PB[x].params.kadfloor=(_p.tF).toFixed(2); break;}}
} else {if(n==='Primebid'){_p.tF=Math.round((a.rtb.cpm[_p.cn]+tF)*1000)/1000;l=_p.tF;for(let x=0;x<a.PB.length;x++){if(a.PB[x].bidder==="pubmatic"){a.PB[x].params.kadfloor=(_p.tF).toFixed(2); break;}}eT=(Date.now()-a.bt);}else{eT=(Date.now()-a.rtb.sT[_p.cn]);}_p.cn++;if(eT!==0&&!isNaN(eT)){eT=' in '+eT.toFixed()+'ms';}else{eT='';}}
n_=_(a.rtb.m[_p.cn],null);if(n_){a.rtb.n=n_;a.nf=a.rtb.nf[_p.cn];}fL=' Floor: $'+_p.tF+';';
if(n.length===1)n=this.pn(n);if(n_&&n_.length===1){_n=this.pn(n_);u_='Size: '+(a.rtb.w[_p.cn]+'x'+a.rtb.h[_p.cn]);}if(_p.cn===0){this.msg((++this.stp),'Box: '+i+' First Look: '+_n+';'+fL+' '+u_+' ('+a.p+') ', 3);}else{
		if (_n==='End of Stack') {
		this.msg((++this.stp),'Box: '+i+' Pass From: '+n+eT+' To: '+_n+';'+fL+' '+u_+' ('+a.p+') ',5);
		} else {
		this.msg((++this.stp),'Box: '+i+' Pass From: '+n+eT+' To: '+_n+';'+fL+' '+u_+' ('+a.p+') ',3);
		}
}if(a.rtb.t===_p.cn||!_(a.rtb.c[_p.cn],null)){a.rtb.f=1;return;}this.i_=i;if(n_==='P'){_p.R++;a.bt=Date.now();this.msg((++this.stp),'Box: '+i+' Prebid Run ('+a.p+') ');return this.gpb(i,a,_p,a.rtb.c[_p.cn].split('@')[0]);}else if(n_==='$'){_p.R++;a.bt=Date.now();this.msg((++this.stp),'Box: '+i+' Primebid Run ('+a.p+') ');this.lpb(i,a,_p);}else{this.rtb_call(i,a,_p,d);}
}},
save:function(i){var a=this.ad[i],_p=this.pp[i],t,c,f=_p.f[_p.cn],f_,b=Liqwid.d('Liqwid_save'+i),b_='',d;
if(a){
var rtb=a.rtb.n||'',cn=this.pp[i].cn||-1,p=a.p||0,guid=_p.g||'',vg=this.vg||'';
d=f.contentDocument||f.contentWindow.document;
if(d){
b_=d.body.outerHTML;
f_=d.getElementsByTagName("iframe");
for (f=0;f<f_.length;f++){
if(f_[f].offsetWidth>=a.mw &&f_[f].offsetHeight>=a.mh){
try {
var df=f_[f].contentDocument||f_[f].contentWindow.document;
b_=df.body.outerHTML; 
var af=df.getElementsByTagName("iframe");
for (j=0;j<af.length;j++){
if(af[j].offsetWidth>=a.mw &&af[j].offsetHeight>=a.mh){
try {
var af_=af[j].contentDocument||af[j].contentWindow.document;b_=af_.body.outerHTML;
}catch(e){
//b_=2..
} 
break;
}} }catch(e){
//b_=1..
}   
break; 
}}
t=this.com.rnl(b_,i,a.p,4);c="ad="+encodeURIComponent(t.replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/&#/g,'a_h'))+"&vid="+encodeURIComponent(vg)+"&g="+encodeURIComponent(guid)+'&p='+p+'&r='+rtb+'&cn='+cn ;
this.com.log('save',c);if(b)b.innerHTML='<div style="color:#111;margin-top:3px;">SAVED</div>';}}},
com:{tl:'',guid:function(){var d=new Date().getTime(); return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(c){var r=(d+Math.random()*16)%16| 0;d=Math.floor(d/16);return (c==='x'?r:(r&0x3|0x8)).toString(16);});},ssp:(function(s){s=s||{}; var lp,np,t,e,d=s.d||50;function c(){lp=null;e=0;}c();return function(){np=top.scrollY;if(lp){e=np-lp;}lp=np;clearTimeout(t);t=setTimeout(c,d);Liqwid.ds=e;};})(),move:function(d,i,p,e,s,n,o){var r=top.requestAnimationFrame||top.mozRequestAnimationFrame||top.webkitRequestAnimationFrame||top.msRequestAnimationFrame;p-=(1/s);d.style.top=p+"px";if(p>e){r(function(){Liqwid.com.move(d,i,p,e,s,n,o);});}else{d.style.top=e+"px";Liqwid.ad[i].wait=2;}},l:'',log:function(f,l){
if(!l||l==='')l=Liqwid.com.tl;var u=Liqwid.host+'/'+f+'/',x,ui=Liqwid.page.u,g=Liqwid.gCons,p=Liqwid.pCons,uA=navigator.userAgent;if(!l||l===''||ui==='0'||f!=='log')return;
if(p!==''){if(g!==''){g+=','+p;}else{g=p}}u+='?'+Liqwid.q+l+'&vl='+Liqwid.vl+'&t='+ui+'&eu='+Liqwid.eu+'&cs='+encodeURIComponent(g);u=u.replace("undefined","");if("sendBeacon" in navigator){navigator.sendBeacon(u);}else{var c=new XMLHttpRequest();c.open("POST",u,false);c.send();}},js:function(l,n){if(!l||l==='')return;
if(!n)n='script';var b=document.head.getElementsByTagName(n)[0];if(b){var s=top.document.createElement('script');s.setAttribute('type','text/javascript');s.setAttribute('async','async');s.setAttribute('src',l);
if (n!=='script')b.appendChild(s);else b.parentNode.insertBefore(s,b);}},rnl:function(s,i,p,n){s=s.replace(/&backs;/g,'\\').replace(/%27/g,"'").replace(/<R/g,"\r").replace(/<N/g,"\n").replace(/scr&ipt/g,'scr+ipt').replace(/INSERT_SLOT_ID_HERE/g,p+'_'+i).replace(/INSERT_RANDOM_NUMBER_HERE/g,Date.now()+'.'+Math.floor(Math.random() * 101)+'.'+n).replace(/LIQWID_slot_id_macro/g,i).replace(/bat.min.js/g,'bat.min.js?cb='+Date.now());return s;},fr:function(w,d,b){var r=w?w:0;if(d&&(!r||(r>d))){r=d;}return b&&(!r||(r>b))?b:r;},sl:function(){return Liqwid.com.fr(top.pageXOffset?top.pageXOffset:0,top.document.documentElement?top.document.documentElement.scrollLeft:0,top.document.body?top.document.body.scrollLeft:0);},st:function(){return Liqwid.com.fr(top.pageYOffset?top.pageYOffset:0,top.document.documentElement?top.document.documentElement.scrollTop:0,top.document.body?top.document.body.scrollTop:0);},qs:function(d){var q=top.location.href;q=q.substring(q.indexOf("?")+1,q.length);var v=q.split('&');for(var i=0;i<v.length;i++){var p=v[i].split('=');if(p[0]==d) return unescape(p[1]);}},fp:function(o){const r=o.getBoundingClientRect();return {l:r.left+top.scrollX,t:r.top+top.scrollY}},ms:function(d,o,i){if(!Liqwid.mup){return setTimeout(function(){Liqwid.com.ms(d,o,i);},1);}var _p=Liqwid.pp[i];if(_p){if(_p.vi)Liqwid.com.bs(d,o);}},bs:function(d,o){var t_=0;if(d&&o){t_=this.fp(d).t-o[0];this.ani(top,t_,o[1],o[2],1.5);}return;},ani:function(e,g,s,i,p){if(e.k)top.clearInterval(e.k);var c=0;e.k=top.setInterval(function(){e.p=[Liqwid.com.ease(Liqwid.com.ts(),g,s,c,p)];top.scrollTo(0,e.p[0]);c++;if(c>s){top.clearInterval(e.k);}},i)},ease:function(a,b,s,c,p){var r=a+(Math.pow(((0.5/s)*c),p)*(b-a));return Math.ceil(r);},isj:function(){Liqwid.flash=true;return true;},ref:function(){var r=top.document.referrer||'';if(r!==''){r=r.match(/:\/\/(.[^/]+)/)[1];if(!r||isNaN(r))r=''; return r;}},br:'',gbr:function(){var t=function(regexp){return regexp.test(window.navigator.userAgent)};switch(true){case t(/edg/i):return "edge";case t(/trident/i):return "ie";case t(/firefox|fxios/i):return "firefox";case t(/opr\//i):return "opera";case t(/ucbrowser/i):return "ucb";case t(/samsungbrowser/i):return "samsung";case t(/chrome|chromium|crios/i):return "chrome";case t(/safari/i):return "safari";default: return "other";}},ts:function(){var ts=0;if(top.document.documentElement&&top.document.documentElement.scrollTop){ts=top.document.documentElement.scrollTop;}else if(top.document.body&&top.document.body.scrollTop){ts=top.document.body.scrollTop;} return ts;},wp:function(){var z,k=-5,m=4;if(window.devicePixelRatio){z=top.devicePixelRatio;}else if(top.screenX=='0'){z=(top.outerWidth-8)/top.innerWidth;}else{var scr=top.frames.screen;z=scr.deviceXDPI/scr.systemXDPI;}if(this.br==='opera')m=50;var l=top.screenLeft?top.screenLeft:top.screenX,t=top.screenTop?top.screenTop:top.screenY,b=(top.outerHeight-top.innerHeight*z)+k;if(this.br==='firefox'){t=t*z;l=l*z;}return{l:Math.floor(l+m),t:Math.floor(t+b),b:b};},z:function(){var z=0,j=0,e=[];e=top.document.getElementsByTagName("*");for(var i=0;i<e.length;i++){if(e[i].currentStyle){j=Math.floor(e[i].currentStyle["zIndex"]);}else if(top.getComputedStyle){j=Math.floor(top.document.defaultView.getComputedStyle(e[i],null).getPropertyValue("z-index"));}if(!isNaN(j)&&j>z)z=j;}if(!z)z=16777271; return z;},qk:function(k) {return unescape(top.location.search.replace(new RegExp("^(?:.*[&\\?]" + escape(k).replace(/[\.\+\*]/g, "\\$&") + "(?:\\=([^&]*))?)?.*$", "i"), "$1"));},td:function(n){return (n<10?'0':'')+n},vdt:function(){var d=new Date();return escape(d.getFullYear()+"-"+this.td(d.getMonth()+1)+"-"+this.td(d.getDate())+" "+this.td(d.getHours())+":"+this.td(d.getMinutes())+":"+this.td(d.getSeconds()));},sC:function(n,v,d,m){var t=new Date(),h=0,c=n+"="+encodeURI(v)+"; " ;
if(m>0){c+="max-age="+(m*60).toFixed()+"; "}else{if(d>0){t.setTime(t.getTime()+(d*24*60*60*1000));t.setHours(24,0,0);}else{t.setHours(24,0,0);}c+="expires=" + t.toUTCString() + "; ";}c+="path=/; domain="+document.domain+"; samesite=lax";document.cookie=c;},gC:function(n){return decodeURI('; '+document.cookie).split('; '+n+'=').pop().split(';').shift();},tz:function(){var d=new Date(),dst=0,w=new Date(d.getFullYear(),0,1,0,0,0,0),s=new Date(d.getFullYear(),6,1,0,0,0,0),t=w.toGMTString(),w_=new Date(t.substring(0,t.lastIndexOf(" ")-1)),sto=(w-w_)/(1000*60*60);t=s.toGMTString();var s_=new Date(t.substring(0,t.lastIndexOf(" ")-1)),dto=(s-s_)/(1000*60*60);if (sto!==dto){dst=1;}return (parseFloat(d.getTimezoneOffset()/60)+dst).toFixed(2);}},vdp:function(){if (this.flag>0)return;this.flag++;this.rec();this.vp();this.vCh();top.document.addEventListener("visibilitychange",Liqwid.vCh);
	
this.msg((++this.stp),unescape(Liqwid.com.vdt())+" TZ: "+Liqwid.com.tz());
	
	this.msg((++this.stp),'Pub ID: 278');
	
	this.msg((++this.stp),'IP: 54.165.181.150 916829590');this.msg((++this.stp),'UA: ' + navigator.userAgent);this.msg((++this.stp),'Screen: ' + top.screen.availWidth+"x"+top.screen.availHeight);this.msg((++this.stp),'Viewport: ' + this.cw+"x"+this.ch);this.msg((++this.stp),'UID: ' + this.vg);
this.msg((++this.stp),'Domain: ' + document.domain);
if(this.cp!==''){this.q+='&cp='+encodeURIComponent(this.cp);}if(this.tx!==''){this.q+='&tx='+encodeURIComponent(this.tx);} var r=this.com.ref();if(r!==''){this.q+='&rf='+encodeURIComponent(r);}if(!this.flash){this.q+='&pt=1';};this.par(0,'A',90,200,0,'left');this.par(1,'B',90,200,0,'right');this.board();top.addEventListener('focus',function(){Liqwid.fs=true;},false);top.addEventListener('scroll',function(){Liqwid.fs=true;/*if(Liqwid.m)Liqwid.com.ssp();*/},false);top.addEventListener('mouseup',function(){Liqwid.mup=true;},false);top.addEventListener('mousedown',function(){Liqwid.mup=false;},false);top.matchMedia("print").addListener(function(){var _p,d;for(i=0;i<Liqwid.i+1;i++){_p=Liqwid.pp[i];d=_p.d;if(d&&_p&&!_p.pR)d.style.display="none";}});top.addEventListener('blur',function(){var f=top.document.activeElement.id,i,a;if(f&&f.match(/Liqwid_frame/)){Liqwid.fs=true;f=f.replace('Liqwid_frame','');i=Math.floor(f.substr(0,f.indexOf('_')));
if(!isNaN(i)){a=Liqwid.ad[i];if(a&&a.ct==='')Liqwid.click(i,'');}}else{Liqwid.fs=false;}},false);top.addEventListener('beforeunload',function(e){Liqwid.com.log('log');},false);this.timer(); },init:function(){if((top.location.href.indexOf("liqwid-cmp" )>-1 || top.location.href.indexOf("liveramp-cmp" )>-1)&&Object.keys(this.cmp).length!==0){
var ct=document.querySelector(this.cmp.t),ce=document.createElement(this.cmp.e);if(ct){ce.innerHTML=this.cmp.a;if(this.cmp.c!=='')ce.className=this.cmp.c;if(this.cmp.s!=='')ce.style=this.cmp.s;if(this.cmp.m===1){ct.append(ce);}else{ct.prepand(ce);}}
if(this.cmp.u!=='')this.com.js(this.cmp.u);}if(typeof top.Liqwid==='undefined')top.Liqwid=this;this.mob=this.m();this.com.br=this.com.gbr();if(this.url.indexOf("liqwid.com/demo")>-1)this.demo=1;var doc=false,t=false,dom=function(){if(!doc){if(!top.document.body){return setTimeout(dom,1);}doc=true;Liqwid.vdp();if(Liqwid.theme.lat.s!==""&&Liqwid.theme.lat.t!==""){var lI=document.createElement("div"),lT=document.querySelector(Liqwid.theme.lat.t);lI.innerHTML='<a href="https://www.liqwid.com" target="_blank"><img src="'+Liqwid.theme.lat.s+'" style="'+Liqwid.theme.lat.c+'" alt="Powered by LIQWID Ad Technology&reg;" title="Powered by LIQWID Ad Technology&reg;"/></a>';lI.cssText=Liqwid.theme.lat.c;lI.addEventListener('click',function(){window.open('https://liqwid.com','_blank');},false);if(lT){lT.appendChild(lI);}}}},_dom=(function(){if(top.document.addEventListener){top.document.removeEventListener("DOMContentLoaded",_dom,false);}else{top.document.detachEvent("onreadystatechange",_dom);}dom();}),sd=(function(){if(doc){return;}try{top.document.documentElement.doScroll("left");}catch(error){return setTimeout(sd,1);}dom();});if(top.document.readyState!=="loading")dom();if(top.document.addEventListener){top.document.addEventListener("DOMContentLoaded",_dom,false);top.addEventListener("load",_dom,false);}else if(top.document.attachEvent){top.document.attachEvent("onreadystatechange",_dom);top.attachEvent("onload",_dom);try{t=top.frameElement==null;}catch(e){}if(top.document.documentElement.doScroll&&t)sd();}}
};Liqwid.init();top.LIQWID_demand=(function(rtb,r,i){Liqwid.demand(rtb,r,i);});top.LW_cl=(function(b,u,tr,m){Liqwid.click(b,u,tr,m);});

