-
Notifications
You must be signed in to change notification settings - Fork 0
/
prebid.js
10 lines (10 loc) · 167 KB
/
prebid.js
1
2
3
4
5
6
7
8
9
10
/* For production use file from https://gist.github.com/ascendeum/455cca6b2b514417d7955671001f797b */
/* Ascendeum build - on prebid.js v1.39.0-pre
Updated : 2019-05-07T15:27:06 */
!(function(s){var c=window.vuuklehbChunk;window.vuuklehbChunk=function(e,t,n){for(var i,r,o,a=0,d=[];a<e.length;a++)r=e[a],u[r]&&d.push(u[r][0]),u[r]=0;for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&(s[i]=t[i]);for(c&&c(e,t,n);d.length;)d.shift()();if(n)for(a=0;a<n.length;a++)o=l(l.s=n[a]);return o};var n={},u={198:0};function l(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return s[e].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=s,l.c=n,l.d=function(e,t,n){l.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="",l.oe=function(e){throw console.error(e),e},l(l.s=48)})([(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"internal",(function(){return k})),t.replaceTokenInString=function(r,e,o){return $(e,(function(e,t){e=void 0===e?"":e;var n=o+t.toUpperCase()+o,i=new RegExp(n,"g");r=r.replace(i,e)})),r},t.getUniqueIdentifierStr=z,t.generateUUID=function e(t){return t?(t^C()>>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.transformAdServerTargetingObj=function(t){return t&&0<Object.getOwnPropertyNames(t).length?se(t).map((function(e){return"".concat(e,"=").concat(encodeURIComponent(ce(t,e)))})).join("&"):""},t.getAdUnitSizes=function(e){if(!e)return;var t=[];if(e.mediaTypes&&e.mediaTypes.banner&&Array.isArray(e.mediaTypes.banner.sizes)){var n=e.mediaTypes.banner.sizes;Array.isArray(n[0])?t=n:t.push(n)}else 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(","),i=/^(\d)+x(\d)+$/i;if(n)for(var r in n)ee(n,r)&&n[r].match(i)&&t.push(n[r])}else if("object"===p(e)){var o=e.length;if(0<o)if(2===o&&"number"==typeof e[0]&&"number"==typeof e[1])t.push(B(e));else for(var a=0;a<o;a++)t.push(B(e[a]))}return t},t.parseGPTSingleSizeArray=B,t.getTopWindowLocation=U,t.getTopFrameReferrer=R,t.getAncestorOrigins=D,t.getWindowTop=j,t.getWindowSelf=N,t.getWindowLocation=P,t.getTopWindowUrl=function(){var t;try{t=k.getTopWindowLocation().href}catch(e){t=""}return t},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logMessage=q,t.logInfo=M,t.logWarn=G,t.logError=W,t.hasConsoleLogger=function(){return S},t.debugTurnedOn=F,t.createInvisibleIframe=function(){var e=document.createElement("iframe");return e.id=z(),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=V,t.hasValidBidRequest=function(e,n,t){var i=!1;function r(e,t){t===n[o]&&(i=!0)}for(var o=0;o<n.length;o++)if(i=!1,$(e,r),!i)return W("Params are missing for bid request. One of these required paramaters are missing: "+n,t),!1;return!0},t.addEventHandler=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!0):e.attachEvent&&e.attachEvent("on"+t,n)},t.isA=H,t.isFn=K,t.isStr=Y,t.isArray=J,t.isNumber=Q,t.isPlainObject=function(e){return H(e,y)},t.isBoolean=function(e){return H(e,I)},t.isEmpty=X,t.isEmptyStr=function(e){return Y(e)&&(!e||0===e.length)},t._each=$,t.contains=function(e,t){if(X(e))return!1;if(K(e.indexOf))return-1!==e.indexOf(t);var n=e.length;for(;n--;)if(e[n]===t)return!0;return!1},n.d(t,"indexOf",(function(){return Z})),t._map=function(n,i){if(X(n))return[];if(K(n.map))return n.map(i);var r=[];return $(n,(function(e,t){r.push(i(e,t,n))})),r},t.insertElement=te,t.triggerPixel=ne,t.callBurl=function(e){var t=e.source,n=e.burl;t===f.S2S.SRC&&n&&k.triggerPixel(n)},t.insertHtmlIntoIframe=function(e){if(!e)return;var t=document.createElement("iframe");t.id=z(),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=ie,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=re,t.getIframeDocument=function(e){if(!e)return;var t;try{t=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){k.logError("Cannot get iframe document",e)}return t},t.getValueString=oe,t.uniques=ae,t.flatten=de,t.getBidRequest=function(n,e){var i;return e.some((function(e){var t=d()(e.bids,(function(t){return["bidId","adId","bid_id"].some((function(e){return t[e]===n}))}));return t&&(i=t),t})),i},t.getKeys=se,t.getValue=ce,t.getBidderCodes=function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:vuuklehb.adUnits).map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(de,[])})).reduce(de).filter(ae)},t.isGptPubadsDefined=function(){if(window.googletag&&K(window.googletag.pubads)&&K(window.googletag.pubads().getSlots))return!0},n.d(t,"getHighestCpm",(function(){return ue})),n.d(t,"getOldestHighestCpmBid",(function(){return le})),n.d(t,"getLatestHighestCpmBid",(function(){return pe})),t.shuffle=function(e){var t=e.length;for(;0<t;){var n=Math.floor(Math.random()*t),i=e[--t];e[t]=e[n],e[n]=i}return e},t.adUnitsFilter=function(e,t){return c()(e,t&&t.adUnitCode)},t.isSrcdocSupported=function(e){return e.defaultView&&e.defaultView.frameElement&&"srcdoc"in e.defaultView.frameElement&&!/firefox/i.test(navigator.userAgent)},t.deepClone=function(e){return o()(e)},t.inIframe=me,t.isSafariBrowser=function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)},t.replaceAuctionPrice=function(e,t){if(!e)return;return e.replace(/\$\{AUCTION_PRICE\}/g,t)},t.timestamp=function(){return(new Date).getTime()},t.checkCookieSupport=be,t.cookiesAreEnabled=function(){if(k.checkCookieSupport())return!0;return window.document.cookie="prebid.cookieTest",-1!=window.document.cookie.indexOf("prebid.cookieTest")},t.getCookie=function(e){var t=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return t?decodeURIComponent(t[2]):null},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(null,arguments)}},t.groupBy=function(e,n){return e.reduce((function(e,t){return(e[t[n]]=e[t[n]]||[]).push(t),e}),{})},t.deepAccess=function(e,t){if(!e)return;t=String(t).split(".");for(var n=0;n<t.length;n++)if(void 0===(e=e[t[n]]))return;return e},t.createContentToExecuteExtScriptInFriendlyFrame=function(e){return e?'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><base target="_top" /><script>inDapIF=true;<\/script></head><body>\x3c!--PRE_SCRIPT_TAG_MACRO--\x3e<script src="'.concat(e,'"><\/script>\x3c!--POST_SCRIPT_TAG_MACRO--\x3e</body></html>'):""},t.getDefinedParams=function(n,e){return e.filter((function(e){return n[e]})).reduce((function(e,t){return l(e,(function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e})({},t,n[t]))}),{})},t.isValidMediaTypes=function(e){var t=["banner","native","video"];if(!Object.keys(e).every((function(e){return c()(t,e)})))return!1;if(e.video&&e.video.context)return c()(["instream","outstream"],e.video.context);return!0},t.getBidderRequest=function(e,t,n){return d()(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(de,[]).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 ge(t,e)}},t.isSlotMatchingAdUnitCode=function(t){return function(e){return ge(e,t)}},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.deletePropertyFromObject=ve,t.removeRequestId=function(e){return ve(e,"requestId")},t.isInteger=function(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},t.convertCamelToUnderscore=function(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")},t.transformBidderParamKeywords=function(e){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"keywords",r=[];return $(e,(function(e,t){if(J(e)){var n=[];$(e,(function(e){((e=oe(i+"."+t,e))||""===e)&&n.push(e)})),e=n}else{if(!Y(e=oe(i+"."+t,e)))return;e=[e]}r.push({key:t,value:e})})),r},t.convertTypes=function(i,r){return Object.keys(i).forEach((function(e){var t,n;r[e]&&(K(i[e])?r[e]=i[e](r[e]):r[e]=(t=i[e],n=r[e],"string"===t?n&&n.toString():"number"===t?Number(n):n),isNaN(r[e])&&delete r.key)})),r};var i=n(3),r=n(66),o=n.n(r),a=n(10),d=n.n(a),s=n(7),c=n.n(s),u=n(11);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function p(e){return(p="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 f=n(4),m=!1,b="Array",g="String",v="Function",h="Number",y="Object",I="Boolean",w=Object.prototype.toString,T=Boolean(window.console),S=Boolean(T&&window.console.log),E=Boolean(T&&window.console.info),x=Boolean(T&&window.console.warn),A=Boolean(T&&window.console.error),k={checkCookieSupport:be,createTrackPixelIframeHtml:re,getWindowSelf:N,getWindowTop:j,getAncestorOrigins:D,getTopFrameReferrer:R,getWindowLocation:P,getTopWindowLocation:U,insertUserSyncIframe:ie,insertElement:te,isFn:K,triggerPixel:ne,logError:W,logWarn:G,logMessage:q,logInfo:M};var O,_=(O=0,function(){return++O});function z(){return _()+Math.random().toString(16).substr(2)}function C(){return window&&window.crypto&&window.crypto.getRandomValues?crypto.getRandomValues(new Uint8Array(1))[0]%16:16*Math.random()}function B(e){if(J(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1]))return e[0]+"x"+e[1]}function U(){if(me()){var e;try{e=k.getAncestorOrigins()||k.getTopFrameReferrer()}catch(e){M("could not obtain top window location",e)}if(e)return Object(u.c)(e,{decodeSearchAsString:!0})}return k.getWindowLocation()}function R(){try{window.top.location.toString();for(var e,t="";(e=e?e.parent:window).document&&e.document.referrer&&(t=e.document.referrer),e!==window.top;);return t}catch(e){return window.document.referrer}}function D(){if(window.document.location&&window.document.location.ancestorOrigins&&1<=window.document.location.ancestorOrigins.length)return window.document.location.ancestorOrigins[window.document.location.ancestorOrigins.length-1]}function j(){return window.top}function N(){return window.self}function P(){return window.location}function q(){F()&&S&&console.log.apply(console,L(arguments,"MESSAGE:"))}function M(){F()&&E&&console.info.apply(console,L(arguments,"INFO:"))}function G(){F()&&x&&console.warn.apply(console,L(arguments,"WARNING:"))}function W(){F()&&A&&console.error.apply(console,L(arguments,"ERROR:"))}function L(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 F(){if(!1===i.config.getConfig("debug")&&!1===m){var e="TRUE"===V(f.DEBUG_MODE).toUpperCase();i.config.setConfig({debug:e}),m=!0}return!!i.config.getConfig("debug")}function V(e){var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))}function H(e,t){return w.call(e)==="[object "+t+"]"}function K(e){return H(e,v)}function Y(e){return H(e,g)}function J(e){return H(e,b)}function Q(e){return H(e,h)}function X(e){if(!e)return!0;if(J(e)||Y(e))return!(0<e.length);for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0}function $(e,t){if(!X(e)){if(K(e.forEach))return e.forEach(t,this);var n=0,i=e.length;if(0<i)for(;n<i;n++)t(e[n],n,e);else for(n in e)hasOwnProperty.call(e,n)&&t.call(this,e[n],n)}}var Z=(function(){if(Array.prototype.indexOf)return Array.prototype.indexOf})();var ee=function(e,t){return e.hasOwnProperty?e.hasOwnProperty(t):void 0!==e[t]&&e.constructor.prototype[t]!==e[t]};function te(e,t,n,i){var r;t=t||document,r=n?t.getElementsByTagName(n):t.getElementsByTagName("head");try{if((r=r.length?r:t.getElementsByTagName("body")).length){r=r[0];var o=i?null:r.firstChild;return r.insertBefore(e,o)}}catch(e){}}function ne(e,t){var n=new Image;t&&k.isFn(t)&&(n.addEventListener("load",t),n.addEventListener("error",t)),n.src=e}function ie(e,t){var n=k.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),i=document.createElement("div");i.innerHTML=n;var r=i.firstChild;t&&k.isFn(t)&&(r.addEventListener("load",t),r.addEventListener("error",t)),k.insertElement(r,document,"html",!0)}function re(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"";return e?(t&&(e=encodeURI(e)),n&&(n='sandbox="'.concat(n,'"')),"<iframe ".concat(n,' id="').concat(z(),'"\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 oe(e,t,n){return null==t?n:Y(t)?t:Q(t)?t.toString():void k.logWarn("Unsuported type for param: "+e+" required type: String")}function ae(e,t,n){return n.indexOf(e)===t}function de(e,t){return e.concat(t)}function se(e){return Object.keys(e)}function ce(e,t){return e[t]}var ue=fe("timeToRespond",(function(e,t){return t<e})),le=fe("responseTimestamp",(function(e,t){return t<e})),pe=fe("responseTimestamp",(function(e,t){return e<t}));function fe(n,i){return function(e,t){return e.cpm===t.cpm?i(e[n],t[n])?t:e:e.cpm<t.cpm?t:e}}function me(){try{return k.getWindowSelf()!==k.getWindowTop()}catch(e){return!0}}function be(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}var ge=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t};function ve(e,t){var n=l({},e);return delete n[t],n}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerBidder=function(t){var n=Array.isArray(t.supportedMediaTypes)?{supportedMediaTypes:t.supportedMediaTypes}:void 0;function i(e){var t=w(e);r.default.registerBidAdapter(t,e.code,n)}i(t),Array.isArray(t.aliases)&&t.aliases.forEach((function(e){r.default.aliasRegistry[e]=t.code,i(y({},t,{code:e}))}))},t.newBidder=w,t.isValid=T;var i=n(29),r=n(8),o=n(3),m=n(14),a=n(18),d=n(17),s=n(41),c=n(4),b=n.n(c),u=n(9),g=n.n(u),l=n(7),p=n.n(l),v=n(0);function f(e,t){return (function(e){if(Array.isArray(e))return e})(e)||(function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(i=(a=d.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==d.return||d.return()}finally{if(r)throw o}}return n})(e,t)||(function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")})()}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)}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var I=["requestId","cpm","ttl","creativeId","netRevenue","currency"];function w(l){return y(new i.a(l.code),{getSpec:function(){return Object.freeze(l)},registerSyncs:p,callBids:function(o,a,e,n){if(Array.isArray(o.bids)){var d={},s=[],t=o.bids.filter(f);if(0!==t.length){var c={};t.forEach((function(e){(c[e.bidId]=e).adUnitCode||(e.adUnitCode=e.placementCode)}));var i=l.buildRequests(t,o);if(i&&0!==i.length){Array.isArray(i)||(i=[i]);var u=Object(v.delayExecution)(r,i.length);i.forEach((function(r){switch(r.method){case"GET":n("".concat(r.url).concat(function(e){if(e)return"?".concat("object"===h(e)?Object(v.parseQueryStringParameters)(e):e);return""}(r.data)),{success:e,error:t},void 0,y({method:"GET",withCredentials:!0},r.options));break;case"POST":n(r.url,{success:e,error:t},"string"==typeof r.data?r.data:JSON.stringify(r.data),y({method:"POST",contentType:"text/plain",withCredentials:!0},r.options));break;default:Object(v.logWarn)("Skipping invalid request from ".concat(l.code,". Request type ").concat(r.type," must be GET or POST")),u()}function e(e,t){try{e=JSON.parse(e)}catch(e){}var n;e={body:e,headers:{get:t.getResponseHeader.bind(t)}},s.push(e);try{n=l.interpretResponse(e,r)}catch(e){return Object(v.logError)("Bidder ".concat(l.code," failed to interpret the server's response. Continuing without bids"),null,e),void u()}function i(e){var t,n,i=c[e.requestId];if(i){var r=y(Object(m.createBid)(b.a.STATUS.GOOD,i),e);t=i.adUnitCode,n=r,d[t]=!0,T(t,n,[o])&&a(t,n)}else Object(v.logWarn)("Bidder ".concat(l.code," made bid for unknown request ID: ").concat(e.requestId,". Ignoring."))}n&&(n.forEach?n.forEach(i):i(n)),u(n)}function t(e){Object(v.logError)("Server call for ".concat(l.code," failed: ").concat(e,". Continuing without bids.")),u()}}))}else r()}else r()}function r(){e(),g.a.emit(b.a.EVENTS.BIDDER_DONE,o),p(s,o.gdprConsent)}}});function p(e,t){if(l.getUserSyncs){var n=o.config.getConfig("userSync.filterSettings"),i=l.getUserSyncs({iframeEnabled:!!(o.config.getConfig("userSync.iframeEnabled")||n&&(n.iframe||n.all)),pixelEnabled:!!(o.config.getConfig("userSync.pixelEnabled")||n&&(n.image||n.all))},e,t);i&&(Array.isArray(i)||(i=[i]),i.forEach((function(e){a.a.registerSync(e.type,l.code,e.url)})))}}function f(e){return!!l.isBidRequestValid(e)||(Object(v.logWarn)("Invalid bid sent to bidder ".concat(l.code,": ").concat(JSON.stringify(e))),!1)}}function T(e,t,n){function i(e){return"Invalid bid from ".concat(t.bidderCode,". Ignoring bid: ").concat(e)}return e?t?(r=Object.keys(t),I.every((function(e){return p()(r,e)&&!p()([void 0,null],t[e])}))?"native"!==t.mediaType||Object(d.e)(t,n)?"video"!==t.mediaType||Object(s.b)(t,n)?!("banner"===t.mediaType&&!(function(e,t,n){if((t.width||0===t.width)&&(t.height||0===t.height))return!0;var i=Object(v.getBidderRequest)(n,t.bidderCode,e),r=i&&i.bids&&i.bids[0]&&i.bids[0].sizes,o=Object(v.parseSizesInput)(r);if(1!==o.length)return!1;var a=f(o[0].split("x"),2),d=a[0],s=a[1];return t.width=d,t.height=s,!0})(e,t,n))||(Object(v.logError)(i("Banner bids require a width and height")),!1):(Object(v.logError)(i("Video bid does not have required vastUrl or renderer property")),!1):(Object(v.logError)(i("Native bid missing some required properties.")),!1):(Object(v.logError)(i("Bidder ".concat(t.bidderCode," is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params."))),!1)):(Object(v.logWarn)("Some adapter tried to add an undefined bid for ".concat(e,".")),!1):(Object(v.logWarn)("No adUnitCode was supplied to addBidResponse."),!1);var r}}),(function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o}));var i="native",r="video",o="banner"}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"RANDOM",(function(){return a})),t.newConfig=d,n.d(t,"config",(function(){return x}));var i=n(31),r=n(10),s=n.n(r),o=n(7),c=n.n(o),u=n(20);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function p(e){return(p="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 f=n(0),m=!1,b=3e3,g=window.location.origin,v=!0,h=!1,y=!0,I=400,a="random",w={};w[a]=!0,w.fixed=!0;var T=a,S={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},E="*";function d(){var a,d,o=[];function e(){function r(t){return s()(Object.keys(S),(function(e){return t===S[e]}))}function o(e){if(!e)return f.logError("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof e)r(e)||f.logWarn("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if("object"===p(e)&&!Object(i.b)(e))return f.logError("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0}a={},d={_debug:m,get debug(){return this._debug},set debug(e){this._debug=e},_bidderTimeout:b,get bidderTimeout(){return this._bidderTimeout},set bidderTimeout(e){this._bidderTimeout=e},_publisherDomain:g,get publisherDomain(){return this._publisherDomain},set publisherDomain(e){this._publisherDomain=e},_priceGranularity:S.MEDIUM,set priceGranularity(e){o(e)&&("string"==typeof e?this._priceGranularity=r(e)?e:S.MEDIUM:"object"===p(e)&&(this._customPriceBucket=e,this._priceGranularity=S.CUSTOM,f.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 i=this;this._mediaTypePriceGranularity=Object.keys(n).reduce((function(e,t){return o(n[t])?"string"==typeof n?e[t]=r(n[t])?n[t]:i._priceGranularity:"object"===p(n)&&(e[t]=n[t],f.logMessage("Using custom price granularity for ".concat(t))):f.logWarn("Invalid price granularity for media type: ".concat(t)),e}),{})},_sendAllBids:v,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},_useBidCache:y,get useBidCache(){return this._useBidCache},set useBidCache(e){this._useBidCache=e},_bidderSequence:T,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){w[e]?this._bidderSequence=e:f.logWarn("Invalid order: ".concat(e,". Bidder Sequence was not set."))},_timeoutBuffer:I,get timeoutBuffer(){return this._timeoutBuffer},set timeoutBuffer(e){this._timeoutBuffer=e},_disableAjaxTimeout:h,get disableAjaxTimeout(){return this._disableAjaxTimeout},set disableAjaxTimeout(e){this._disableAjaxTimeout=e}}}var t=Object(u.a)("asyncSeries",(function(n){if("object"===p(n)){var r,t,e=Object.keys(n),i={};e.forEach((function(e){var t=n[e];"object"===p(a[e])&&"object"===p(t)&&(t=l({},a[e],t)),i[e]=d[e]=t})),r=i,t=Object.keys(r),o.filter((function(e){return c()(t,e.topic)})).forEach((function(e){var t,n,i;e.callback((t={},n=e.topic,i=r[e.topic],n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t))})),o.filter((function(e){return e.topic===E})).forEach((function(e){return e.callback(r)}))}else f.logError("setConfig options must be an object")}));return e(),{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?f.deepAccess(d,e):d}return function(e,t){var n=t;return"string"!=typeof e&&(n=e,e=E),"function"==typeof n?(o.push({topic:e,callback:n}),function(){o.splice(o.indexOf(t),1)}):void f.logError("listener must be a function")}.apply(void 0,arguments)},setConfig:t,setDefaults:function(e){"object"===p(a)?(l(a,e),l(d,e)):f.logError("defaults must be an object")},resetConfig:e}}var x=d()}),(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:"pbjs_debug",STATUS:{GOOD:1,NO_BID:2},CB:{TYPE:{ALL_BIDS_BACK:"allRequestedBidsBack",AD_UNIT_BIDS_BACK:"adUnitBidsBack",BID_WON:"bidWon",REQUEST_BIDS:"requestBids"}},EVENTS:{AUCTION_INIT:"auctionInit",AUCTION_END:"auctionEnd",BID_ADJUSTMENT:"bidAdjustment",BID_TIMEOUT:"bidTimeout",BID_REQUESTED:"bidRequested",BID_RESPONSE:"bidResponse",NO_BID:"noBid",BID_WON:"bidWon",BIDDER_DONE:"bidderDone",SET_TARGETING:"setTargeting",REQUEST_BIDS:"requestBids",ADD_AD_UNITS:"addAdUnits",AD_RENDER_FAILED:"adRenderFailed"},AD_RENDER_FAILED_REASON:{PREVENT_WRITING_ON_MAIN_DOCUMENT:"preventWritingOnMainDocuemnt",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"},NATIVE_KEYS:{title:"hb_native_title",body:"hb_native_body",body2:"hb_native_body2",privacyLink:"hb_native_privacy",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"},S2S:{SRC:"s2s",DEFAULT_ENDPOINT:"https://prebid.adnxs.com/pbs/v1/openrtb2/auction",SYNCED_BIDDERS_KEY:"pbjsSyncs"},BID_STATUS:{BID_TARGETING_SET:"targetingSet",RENDERED:"rendered"}}}),(function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),t.b=r;var p=n(11),f=n(3);function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function b(e){return(b="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 g=n(0),v=4,i=r();function r(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:3e3,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},u=e.request,l=e.done;return function(e,t,n){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};try{var r,o=i.method||(n?"POST":"GET"),a=document.createElement("a");a.href=e;var d="object"===b(t)&&null!==t?t:{success:function(){g.logMessage("xhr success")},error:function(e){g.logError("xhr error",null,e)}};if("function"==typeof t&&(d.success=t),(r=new window.XMLHttpRequest).onreadystatechange=function(){if(r.readyState===v){"function"==typeof l&&l(a.origin);var e=r.status;200<=e&&e<300||304===e?d.success(r.responseText,r):d.error(r.statusText,r)}},f.config.getConfig("disableAjaxTimeout")||(r.ontimeout=function(){g.logError(" xhr timeout after ",r.timeout,"ms")}),"GET"===o&&n){var s=Object(p.c)(e,i);m(s.search,n),e=Object(p.a)(s)}r.open(o,e,!0),f.config.getConfig("disableAjaxTimeout")||(r.timeout=c),i.withCredentials&&(r.withCredentials=!0),g._each(i.customHeaders,(function(e,t){r.setRequestHeader(t,e)})),i.preflight&&r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.setRequestHeader("Content-Type",i.contentType||"text/plain"),"function"==typeof u&&u(a.origin),"POST"===o&&n?r.send(n):r.send()}catch(e){g.logError("xhr construction",e)}}}}),,(function(e,t,n){n(67),e.exports=n(13).Array.includes}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"gdprDataHandler",(function(){return C})),t.checkBidRequestSizes=B,t.setS2STestingModule=function(e){E=e};var y=n(0),f=n(42),m=n(17),u=n(1),v=n(5),I=n(3),i=n(7),w=n.n(i),r=n(10),T=n.n(r),b=n(43),S=n(44);function h(e,t){return (function(e){if(Array.isArray(e))return e})(e)||(function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(i=(a=d.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==d.return||d.return()}finally{if(r)throw o}}return n})(e,t)||(function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")})()}function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var E,x=n(0),A=n(4),k=n(9),l={},O=l.bidderRegistry={},p=l.aliasRegistry={},_={};I.config.getConfig("s2sConfig",(function(e){_=e.s2sConfig}));var o={};function z(e){var r=e.bidderCode,c=e.auctionId,u=e.bidderRequestId,t=e.adUnits,l=e.labels,p=e.src;return t.reduce((function(e,d){var t=Object(f.b)(Object(f.a)(d,l),d.mediaTypes,d.sizes),n=t.active,s=t.mediaTypes,i=t.filterResults;return n?i&&x.logInfo('Size mapping filtered adUnit "'.concat(d.code,'" banner sizes from '),i.before,"to ",i.after):x.logInfo('Size mapping disabled adUnit "'.concat(d.code,'"')),n&&e.push(d.bids.filter((function(e){return e.bidder===r})).reduce((function(e,t){var n=d.nativeParams||x.deepAccess(d,"mediaTypes.native");n&&(t=g({},t,{nativeParams:Object(m.f)(n)})),t=g({},t,Object(y.getDefinedParams)(d,["mediaType","renderer"]));var i=Object(f.b)(Object(f.a)(t,l),s),r=i.active,o=i.mediaTypes,a=i.filterResults;return r?a&&x.logInfo('Size mapping filtered adUnit "'.concat(d.code,'" bidder "').concat(t.bidder,'" banner sizes from '),a.before,"to ",a.after):x.logInfo('Size mapping deactivated adUnit "'.concat(d.code,'" bidder "').concat(t.bidder,'"')),x.isValidMediaTypes(o)?t=g({},t,{mediaTypes:o}):x.logError("mediaTypes is not correctly configured for adunit ".concat(d.code)),r&&e.push(g({},t,{adUnitCode:d.code,transactionId:d.transactionId,sizes:x.deepAccess(o,"banner.sizes")||[],bidId:t.bid_id||x.getUniqueIdentifierStr(),bidderRequestId:u,auctionId:c,src:p,bidRequestsCount:b.a.getCounter(d.code)})),e}),[])),e}),[]).reduce(y.flatten,[]).filter((function(e){return""!==e}))}var C={consentData:null,setConsentData:function(e){C.consentData=e},getConsentData:function(){return C.consentData}};function B(e){function d(e){return Array.isArray(e)&&2===e.length&&x.isInteger(e[0])&&x.isInteger(e[1])}return e.forEach((function(e){var t=e.mediaTypes,n=x.getAdUnitSizes(e);if(t&&t.banner){var i=t.banner;i.sizes?(i.sizes=n,e.sizes=n):(x.logError("Detected a mediaTypes.banner object did not include sizes. This is a required field for the mediaTypes.banner object. Removing invalid mediaTypes.banner object from request."),delete e.mediaTypes.banner)}else e.sizes&&(x.logWarn("Usage of adUnits.sizes will eventually be deprecated. Please define size dimensions within the corresponding area of the mediaTypes.<object> (eg mediaTypes.banner.sizes)."),e.sizes=n);if(t&&t.video){var r=t.video;if(r.playerSize)if(Array.isArray(r.playerSize)&&1===r.playerSize.length&&r.playerSize.every(d))e.sizes=r.playerSize;else if(d(r.playerSize)){var o=[];o.push(r.playerSize),x.logInfo("Transforming video.playerSize from ".concat(r.playerSize," to ").concat(o," so it's in the proper format.")),e.sizes=r.playerSize=o}else x.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 e.mediaTypes.video.playerSize}if(t&&t.native){var a=t.native;a.image&&a.image.sizes&&!Array.isArray(a.image.sizes)&&(x.logError("Please use an array of sizes for native.image.sizes field. Removing invalid mediaTypes.native.image.sizes property from request."),delete e.mediaTypes.native.image.sizes),a.image&&a.image.aspect_ratios&&!Array.isArray(a.image.aspect_ratios)&&(x.logError("Please use an array of sizes for native.image.aspect_ratios field. Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete e.mediaTypes.native.image.aspect_ratios),a.icon&&a.icon.sizes&&!Array.isArray(a.icon.sizes)&&(x.logError("Please use an array of sizes for native.icon.sizes field. Removing invalid mediaTypes.native.icon.sizes property from request."),delete e.mediaTypes.native.icon.sizes)}})),e}function U(){return _&&_.enabled&&_.testing&&E}function a(t,n,e){try{var i=O[t].getSpec();i&&i[n]&&"function"==typeof i[n]&&(x.logInfo("Invoking ".concat(t,".").concat(n)),i[n](e))}catch(e){x.logWarn("Error calling ".concat(n," of ").concat(t))}}l.makeBidRequests=function(e,r,o,a,d){var s=[];e=B(e);var t=Object(y.getBidderCodes)(e);I.config.getConfig("bidderSequence")===I.RANDOM&&(t=Object(y.shuffle)(t));var n,i,c,u=Object(S.b)(),l=t,p=[];if(_.enabled){U()&&(p=E.getSourceBidderMap(e)[E.CLIENT]);var f=_.bidders;l=t.filter((function(e){return!w()(f,e)||w()(p,e)}));var m=(n=e,i=_.bidders,(c=x.deepClone(n)).forEach((function(e){e.bids=e.bids.filter((function(e){return w()(i,e.bidder)&&(!U()||e.finalSource!==E.CLIENT)})).map((function(e){return e.bid_id=x.getUniqueIdentifierStr(),e}))})),c=c.filter((function(e){return 0!==e.bids.length}))),b=x.generateUUID();f.forEach((function(e){var t=x.getUniqueIdentifierStr(),n={bidderCode:e,auctionId:o,bidderRequestId:t,tid:b,bids:z({bidderCode:e,auctionId:o,bidderRequestId:t,adUnits:x.deepClone(m),labels:d,src:A.S2S.SRC}),auctionStart:r,timeout:_.timeout,src:A.S2S.SRC,refererInfo:u};0!==n.bids.length&&s.push(n)})),m.forEach((function(e){var t=e.bids.filter((function(t){return T()(s,(function(e){return T()(e.bids,(function(e){return e.bidId===t.bid_id}))}))}));e.bids=t})),s.forEach((function(e){e.adUnitsS2SCopy=m.filter((function(e){return 0<e.bids.length}))}))}var g,v,h=(g=e,(v=x.deepClone(g)).forEach((function(e){e.bids=e.bids.filter((function(e){return!U()||e.finalSource!==E.SERVER}))})),v=v.filter((function(e){return 0!==e.bids.length})));return l.forEach((function(e){var t=x.getUniqueIdentifierStr(),n={bidderCode:e,auctionId:o,bidderRequestId:t,bids:z({bidderCode:e,auctionId:o,bidderRequestId:t,adUnits:x.deepClone(h),labels:d,src:"client"}),auctionStart:r,timeout:a,refererInfo:u},i=O[e];i||x.logError("Trying to make a request for bidder that does not exist: ".concat(e)),i&&n.bids&&0!==n.bids.length&&s.push(n)})),C.getConsentData()&&s.forEach((function(e){e.gdprConsent=C.getConsentData()})),s},l.callBids=function(e,t,i,r,o,a){if(t.length){var n=h(t.reduce((function(e,t){return e[Number(void 0!==t.src&&t.src===A.S2S.SRC)].push(t),e}),[[],[]]),2),d=n[0],s=n[1];if(s.length){var c=Object(v.b)(a,o?{request:o.request.bind(null,"s2s"),done:o.done}:void 0),u=_.bidders,l=O[_.adapter],p=s[0].tid,f=s[0].adUnitsS2SCopy;if(l){var m={tid:p,ad_units:f};if(m.ad_units.length){var b=s.map((function(e){return e.start=Object(y.timestamp)(),r.bind(e)})),g=m.ad_units.reduce((function(e,t){return e.concat((t.bids||[]).reduce((function(e,t){return e.concat(t.bidder)}),[]))}),[]);x.logMessage("CALLING S2S HEADER BIDDERS ==== ".concat(u.filter((function(e){return w()(g,e)})).join(","))),s.forEach((function(e){k.emit(A.EVENTS.BID_REQUESTED,e)})),l.callBids(m,s,(function(e,t){var n=Object(y.getBidderRequest)(s,t.bidderCode,e);n&&i.call(n,e,t)}),(function(){return b.forEach((function(e){return e()}))}),c)}}}d.forEach((function(e){e.start=Object(y.timestamp)();var t=O[e.bidderCode];x.logMessage("CALLING BIDDER ======= ".concat(e.bidderCode)),k.emit(A.EVENTS.BID_REQUESTED,e);var n=Object(v.b)(a,o?{request:o.request.bind(null,e.bidderCode),done:o.done}:void 0);t.callBids(e,i.bind(e),r.bind(e),n)}))}else x.logWarn("callBids executed with no bidRequests. Were they filtered by labels or sizing?")},l.videoAdapters=[],l.registerBidAdapter=function(e,t){var n=(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,i=void 0===n?[]:n;e&&t?"function"==typeof e.callBids?(O[t]=e,w()(i,"video")&&l.videoAdapters.push(t),w()(i,"native")&&m.d.push(t)):x.logError("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):x.logError("bidAdaptor or bidderCode not specified")},l.aliasBidAdapter=function(t,e){var n,i;if(void 0===O[e]){var r=O[t];if(void 0===r){var o=I.config.getConfig("s2sConfig"),a=o&&o.bidders;a&&w()(a,e)?p[e]=t:x.logError('bidderCode "'+t+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}else try{var d,s=(n=t,i=[],w()(l.videoAdapters,n)&&i.push("video"),w()(m.d,n)&&i.push("native"),i);if(r.constructor.prototype!=Object.prototype)(d=new r.constructor).setBidderCode(e);else{var c=r.getSpec();d=Object(u.newBidder)(g({},c,{code:e})),p[e]=t}l.registerBidAdapter(d,e,{supportedMediaTypes:s})}catch(e){x.logError(t+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else x.logMessage('alias name "'+e+'" has been already specified.')},l.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,o[n]=t):x.logError('Prebid Error: Analytics adaptor error for analytics "'.concat(n,'"\n analytics adapter must implement an enableAnalytics() function')):x.logError("Prebid Error: analyticsAdapter or analyticsCode not specified")},l.enableAnalytics=function(e){x.isArray(e)||(e=[e]),x._each(e,(function(e){var t=o[e.provider];t?t.enableAnalytics(e):x.logError("Prebid Error: no analytics adapter found in registry for\n ".concat(e.provider,"."))}))},l.getBidAdapter=function(e){return O[e]},l.callTimedOutBidders=function(t,n,i){n=n.map((function(e){return e.params=x.getUserConfiguredParams(t,e.adUnitCode,e.bidder),e.timeout=i,e})),n=x.groupBy(n,"bidder"),Object.keys(n).forEach((function(e){a(e,"onTimeout",n[e])}))},l.callBidWonBidder=function(e,t,n){t.params=x.getUserConfiguredParams(n,t.adUnitCode,t.bidder),a(e,"onBidWon",t)},l.callSetTargetingBidder=function(e,t){a(e,"onSetTargeting",t)},t.default=l}),(function(e,t,n){function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var d,r,s=n(0),o=n(4),a=Array.prototype.slice,c=Array.prototype.push,u=s._map(o.EVENTS,(function(e){return e})),l=o.EVENT_ID_PATHS,p=[];e.exports=(d={},(r={}).on=function(e,t,n){if(r=e,s.contains(u,r)){var i=d[e]||{que:[]};n?(i[n]=i[n]||{que:[]},i[n].que.push(t)):i.que.push(t),d[e]=i}else s.logError("Wrong event name : "+e+" Valid event names :"+u);var r},r.emit=function(e){!(function(e,t){s.logMessage("Emitting event for: "+e);var n=t[0]||{},i=n[l[e]],r=d[e]||{que:[]},o=s._map(r,(function(e,t){return t})),a=[];p.push({eventType:e,args:n,id:i}),i&&s.contains(o,i)&&c.apply(a,r[i].que),c.apply(a,r.que),s._each(a,(function(e){if(e)try{e.apply(null,t)}catch(e){s.logError("Error executing handler:","events.js",e)}}))})(e,a.call(arguments,1))},r.off=function(e,n,i){var r=d[e];s.isEmpty(r)||s.isEmpty(r.que)&&s.isEmpty(r[i])||i&&(s.isEmpty(r[i])||s.isEmpty(r[i].que))||(i?s._each(r[i].que,(function(e){var t=r[i].que;e===n&&t.splice(s.indexOf.call(t,e),1)})):s._each(r.que,(function(e){var t=r.que;e===n&&t.splice(s.indexOf.call(t,e),1)})),d[e]=r)},r.get=function(){return d},r.getEvents=function(){var n=[];return s._each(p,(function(e){var t=i({},e);n.push(t)})),n},r)}),(function(e,t,n){n(50),e.exports=n(13).Array.find}),(function(e,t,n){"use strict";function i(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("&")}t.b=i,t.c=function(e,t){var n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);var i=t&&"decodeSearchAsString"in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||"").replace(/:$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:i?n.search:(r=n.search||"",r?r.replace(/^\?/,"").split("&").reduce((function(e,t){var n,i,r=t.split("="),o=(i=2,(function(e){if(Array.isArray(e))return e})(n=r)||(function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(i=(a=d.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==d.return||d.return()}finally{if(r)throw o}}return n})(n,i)||(function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")})()),a=o[0],d=o[1];return/\[\]$/.test(a)?(a=a.replace("[]",""),e[a]=e[a]||[],e[a].push(d)):e[a]=d||"",e}),{}):{}),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host};var r},t.a=function(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(i(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")}}),(function(e,t,n){"use strict";t.a=r,t.c=function(e){return!(!e||!e.url)},t.b=function(e,t){e.render(t)};var l=n(21),p=n(0),i=n(10),f=n.n(i);function r(e){var t,n,i,r=this,o=e.url,a=e.config,d=e.id,s=e.callback,c=e.loaded,u=e.adUnitCode;this.url=o,this.config=a,this.handlers={},this.id=d,this.loaded=c,this.cmd=[],this.push=function(e){"function"==typeof e?r.loaded?e.call():r.cmd.push(e):p.logError("Commands given to Renderer.push must be wrapped in a function")},this.callback=s||function(){r.loaded=!0,r.process()},t=u,n=vuuklehb.adUnits,(i=f()(n,(function(e){return e.code===t})))&&i.renderer&&i.renderer.url&&i.renderer.render?p.logWarn("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(u)):Object(l.loadScript)(o,this.callback,!0)}r.install=function(e){return new r({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded,adUnitCode:e.adUnitCode})},r.prototype.getConfig=function(){return this.config},r.prototype.setRender=function(e){this.render=e},r.prototype.setEventHandlers=function(e){this.handlers=e},r.prototype.handleVideoEvent=function(e){var t=e.id,n=e.eventName;"function"==typeof this.handlers[n]&&this.handlers[n](),p.logMessage("Prebid Renderer event for id ".concat(t," type ").concat(n))},r.prototype.process=function(){for(;0<this.cmd.length;)try{this.cmd.shift().call()}catch(e){p.logError("Error processing Renderer command: ",e)}}}),(function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBid=function(e,t){return new i(e,t)};var o=n(0);function i(e,t){var n=t&&t.bidId||o.getUniqueIdentifierStr(),i=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=n,this.mediaType="banner",this.source=i,this.getStatusCode=function(){return r},this.getSize=function(){return this.width+"x"+this.height}}}),(function(e,t,n){var b=n(19),g=n(13),v=n(32),h=n(52),y=n(59),I="prototype",w=function(e,t,n){var i,r,o,a=e&w.F,d=e&w.G,s=e&w.S,c=e&w.P,u=e&w.B,l=e&w.W,p=d?g:g[t]||(g[t]={}),f=p[I],m=d?b:s?b[t]:(b[t]||{})[I];for(i in d&&(n=t),n)(r=!a&&m&&void 0!==m[i])&&y(p,i)||(o=r?m[i]:n[i],p[i]=d&&"function"!=typeof m[i]?n[i]:u&&r?v(o,b):l&&m[i]==o?(function(i){var e=function(e,t,n){if(this instanceof i){switch(arguments.length){case 0:return new i;case 1:return new i(e);case 2:return new i(e,t)}return new i(e,t,n)}return i.apply(this,arguments)};return e[I]=i[I],e})(o):c&&"function"==typeof o?v(Function.call,o):o,c&&((p.virtual||(p.virtual={}))[i]=o,e&w.R&&f&&!f[i]&&h(f,i,o)))};w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128,e.exports=w}),(function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}}),(function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return c})),t.f=function(e){if(e&&e.type&&(t=e.type,t&&d()(Object.keys(u),t)||(Object(a.logError)("".concat(t," nativeParam is not supported")),0)))return u[e.type];var t;return e},t.e=function(t,e){var n=Object(a.getBidRequest)(t.adId,e);if(!n)return!1;if(!Object(a.deepAccess)(t,"native.clickUrl"))return!1;if(Object(a.deepAccess)(t,"native.image")&&(!Object(a.deepAccess)(t,"native.image.height")||!Object(a.deepAccess)(t,"native.image.width")))return!1;if(Object(a.deepAccess)(t,"native.icon")&&(!Object(a.deepAccess)(t,"native.icon.height")||!Object(a.deepAccess)(t,"native.icon.width")))return!1;var i=n.nativeParams;if(!i)return!0;var r=Object.keys(i).filter((function(e){return i[e].required})),o=Object.keys(t.native).filter((function(e){return t.native[e]}));return r.every((function(e){return d()(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(a.insertHtmlIntoIframe)(t.native.javascriptTrackers));(n||[]).forEach(a.triggerPixel)},t.c=function(i){var r={};return Object.keys(i.native).forEach((function(e){var t=s.NATIVE_KEYS[e],n=i.native[e];"object"===o(n)&&n.url&&(n=n.url),t&&n&&(r[t]=n)})),r};var a=n(0),i=n(7),d=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 s=n(4),r=[],c=Object.keys(s.NATIVE_KEYS).map((function(e){return s.NATIVE_KEYS[e]})),u={image:{image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}}}),(function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var c=n(0),r=n(3),i=n(7),u=n.n(i);function l(e,t){return (function(e){if(Array.isArray(e))return e})(e)||(function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(i=(a=d.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==d.return||d.return()}finally{if(r)throw o}}return n})(e,t)||(function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")})()}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}r.config.setDefaults({userSync:{syncEnabled:!0,pixelEnabled:!0,syncsPerBidder:5,syncDelay:3e3}});var o=!c.isSafariBrowser()&&c.cookiesAreEnabled(),a=(function(e){var t={},o={image:[],iframe:[]},n=!1,a={},d={image:!1,iframe:!1},s=e.config;function i(){if(s.syncEnabled&&e.browserSupportsCookies&&!n){try{(s.pixelEnabled||d.image)&&c.shuffle(o.image).forEach((function(e){var t=l(e,2),n=t[0],i=t[1];c.logMessage("Invoking image pixel user sync for bidder: ".concat(n)),c.triggerPixel(i)})),(s.iframeEnabled||d.iframe)&&c.shuffle(o.iframe).forEach((function(e){var t=l(e,2),n=t[0],i=t[1];c.logMessage("Invoking iframe user sync for bidder: ".concat(n)),c.insertUserSyncIframe(i)}))}catch(e){return c.logError("Error firing user syncs",e)}o={image:[],iframe:[]},n=!0}}return r.config.getConfig("userSync",(function(e){s=p(s,e.userSync)})),t.registerSync=function(e,t,n){if(!s.syncEnabled||!c.isArray(o[e]))return c.logWarn('User sync type "'.concat(e,'" not supported'));if(!t)return c.logWarn("Bidder is required for registering sync");if(0!==s.syncsPerBidder&&Number(a[t])>=s.syncsPerBidder)return c.logWarn('Number of user syncs exceeded for "'.concat(t,'"'));if(s.filterSettings){if(function(e,t){var n=s.filterSettings;if(function(e,t){if(e.all&&e[t])return c.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],i=e.all?"all":t;if(!n)return!1;var r=n.filter,o=n.bidders;return r&&"include"!==r&&"exclude"!==r?(c.logWarn('UserSync "filterSettings.'.concat(i,".filter\" setting '").concat(r,"' is not a valid option; use either 'include' or 'exclude'.")),!1):!!("*"===o||Array.isArray(o)&&0<o.length&&o.every((function(e){return c.isStr(e)&&"*"!==e})))||(c.logWarn('Detected an invalid setup in userSync "filterSettings.'.concat(i,".bidders\"; use either '*' (to represent all bidders) or an array of bidders.")),!1)}(n,e)){d[e]=!0;var i=n.all?n.all:n[e],r="*"===i.bidders?[t]:i.bidders,o=i.filter||"include",a={include:function(e,t){return!u()(e,t)},exclude:function(e,t){return u()(e,t)}};return a[o](r,t)}return!1}(e,t))return c.logWarn("Bidder '".concat(t,"' is not permitted to register their userSync ").concat(e," pixels as per filterSettings config."))}else if(s.enabledBidders&&s.enabledBidders.length&&s.enabledBidders.indexOf(t)<0)return c.logWarn('Bidder "'.concat(t,'" not permitted to register their userSync pixels.'));var i,r;o[e].push([t,n]),(i=a)[r=t]?i[r]+=1:i[r]=1,a=i},t.syncUsers=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(i,Number(e));i()},t.triggerUserSyncs=function(){s.enableOverride&&t.syncUsers()},t})({config:r.config.getConfig("userSync"),browserSupportsCookies:o})}),(function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)}),(function(e,t,n){"use strict";function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function s(e){return(s="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,"b",(function(){return c})),t.a=function(i,r,e){var d=[{fn:r,priority:0}],o={sync:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];d.forEach((function(e){e.fn.apply(t,n)}))},asyncSeries:function(){for(var o=this,a=0,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d[a].fn.apply(this,t.concat((function e(){var t=d[++a];if("object"===s(t)&&"function"==typeof t.fn){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.fn.apply(o,i.concat(e))}})))}};if(!o[i])throw"invalid hook type";var t={addHook:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:10;"function"==typeof e&&(d.push({fn:e,priority:t}),d.sort((function(e,t){return t.priority-e.priority})))},removeHook:function(t){d=d.filter((function(e){return e.fn===r||e.fn!==t}))},hasHook:function(t){return d.some((function(e){return e.fn===t}))}};"string"==typeof e&&(c[e]=t);return a((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1!==d.length||d[0].fn!==r?o[i].apply(this,t):r.apply(this,t)}),t)};var c={}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadExternalScript=function(e,t){if(!t||!e)return void o.logError("cannot load external script without url and moduleCode");if(!r()(d,t))return void o.logError("".concat(t," not whitelisted for loading external JavaScript"));if(a[e])return;o.logWarn("module ".concat(t," is loading external JavaScript"));var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=e,o.insertElement(n),a[e]=!0},t.loadScript=function(t,e,n){if(!t)return void o.logError("Error attempting to request empty URL","adloader.js:loadScript");n?a[t]?e&&"function"==typeof e&&(a[t].loaded?e():a[t].callbacks.push(e)):(a[t]={loaded:!1,callbacks:[]},e&&"function"==typeof e&&a[t].callbacks.push(e),s(t,(function(){a[t].loaded=!0;try{for(var e=0;e<a[t].callbacks.length;e++)a[t].callbacks[e]()}catch(e){o.logError("Error executing callback","adloader.js:loadScript",e)}}))):s(t,e)};var i=n(7),r=n.n(i),o=n(0),a={},d=["criteo"];function s(e,t){var n=document.createElement("script");n.type="text/javascript",n.async=!0,t&&"function"==typeof t&&(n.readyState?n.onreadystatechange=function(){"loaded"!==n.readyState&&"complete"!==n.readyState||(n.onreadystatechange=null,t())}:n.onload=function(){t()}),n.src=e;var i=document.getElementsByTagName("head");(i=i.length?i:document.getElementsByTagName("body")).length&&(i=i[0]).insertBefore(n,i.firstChild)}}),(function(e,t,n){n(113),e.exports=n(13).Array.findIndex}),(function(e,t,n){e.exports=!n(33)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))}),(function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}}),(function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}}),(function(e,t,n){var i=n(63)("wks"),r=n(65),o=n(19).Symbol,a="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=i}),(function(e,t){e.exports=function(){}}),(function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n(0),s=n(40),r=n(10),o=n.n(r),a=n(4);var c,d,u=(c=[],(d={}).addWinningBid=function(t){var e=o()(c,(function(e){return e.getAuctionId()===t.auctionId}));e?e.addWinningBid(t):utils.logWarn("Auction not found when adding winning bid")},d.getAllWinningBids=function(){return c.map((function(e){return e.getWinningBids()})).reduce(i.flatten,[])},d.getBidsRequested=function(){return c.map((function(e){return e.getBidRequests()})).reduce(i.flatten,[])},d.getNoBids=function(){return c.map((function(e){return e.getNoBids()})).reduce(i.flatten,[])},d.getBidsReceived=function(){return c.map((function(e){if(e.getAuctionStatus()===s.a)return e.getBidsReceived()})).reduce(i.flatten,[]).filter((function(e){return e}))},d.getAdUnits=function(){return c.map((function(e){return e.getAdUnits()})).reduce(i.flatten,[])},d.getAdUnitCodes=function(){return c.map((function(e){return e.getAdUnitCodes()})).reduce(i.flatten,[]).filter(i.uniques)},d.createAuction=function(e){var t,n=e.adUnits,i=e.adUnitCodes,r=e.callback,o=e.cbTimeout,a=e.labels,d=Object(s.d)({adUnits:n,adUnitCodes:i,callback:r,cbTimeout:o,labels:a});return t=d,c.push(t),d},d.findBidByAdId=function(t){return o()(c.map((function(e){return e.getBidsReceived()})).reduce(i.flatten,[]),(function(e){return e.adId===t}))},d.getStandardBidderAdServerTargeting=function(){return Object(s.c)()[a.JSON_MAPPING.ADSERVER_TARGETING]},d.setStatusForBids=function(e,t){var n=d.findBidByAdId(e);if(n&&(n.status=t),n&&t===a.BID_STATUS.BID_TARGETING_SET){var i=o()(c,(function(e){return e.getAuctionId()===n.auctionId}));i&&i.setBidTargeting(n)}},d)}),(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}}}}),(function(ux,vx){var wx;wx=(function(){return this})();try{wx=wx||Function("return this")()||eval("this")}catch(e){"object"==typeof window&&(wx=window)}ux.exports=wx}),(function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return v}));var i=n(10),b=n.n(i),r=n(0),g=2,o={buckets:[{min:0,max:5,increment:.5}]},a={buckets:[{min:0,max:20,increment:.1}]},d={buckets:[{min:0,max:20,increment:.01}]},s={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},c={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};function u(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1,i=parseFloat(e);return isNaN(i)&&(i=""),{low:""===i?"":l(e,o,n),med:""===i?"":l(e,a,n),high:""===i?"":l(e,d,n),auto:""===i?"":l(e,c,n),dense:""===i?"":l(e,s,n),custom:""===i?"":l(e,t,n)}}function l(n,e,i){var r="";if(!v(e))return r;var t,o,a,d,s,c,u,l,p,f=e.buckets.reduce((function(e,t){return e.max>t.max?e:t}),{max:0}),m=b()(e.buckets,(function(e){if(n>f.max*i){var t=e.precision;void 0===t&&(t=g),r=(e.max*i).toFixed(t)}else if(n<=e.max*i&&n>=e.min*i)return e}));return m&&(t=n,a=i,d=void 0!==(o=m).precision?o.precision:g,s=o.increment*a,c=o.min*a,u=Math.pow(10,d+2),l=(t*u-c*u)/(s*u),p=Math.floor(l)*s+c,r=(p=Number(p.toFixed(10))).toFixed(d)),r}function v(e){if(r.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach((function(e){void 0!==e.min&&e.max&&e.increment||(t=!1)})),t}}),(function(e,t,n){var o=n(51);e.exports=function(i,r,e){if(o(i),void 0===r)return i;switch(e){case 1:return function(e){return i.call(r,e)};case 2:return function(e,t){return i.call(r,e,t)};case 3:return function(e,t,n){return i.call(r,e,t,n)}}return function(){return i.apply(r,arguments)}}}),(function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}}),(function(e,t,n){var y=n(32),I=n(35),w=n(60),T=n(36),i=n(61);e.exports=function(l,e){var p=1==l,f=2==l,m=3==l,b=4==l,g=6==l,v=5==l||g,h=e||i;return function(e,t,n){for(var i,r,o=w(e),a=I(o),d=y(t,n,3),s=T(a.length),c=0,u=p?h(e,s):f?h(e,0):void 0;c<s;c++)if((v||c in a)&&(r=d(i=a[c],c,o),l))if(p)u[c]=r;else if(r)switch(l){case 3:return!0;case 5:return i;case 6:return c;case 2:u.push(i)}else if(b)return!1;return g?-1:m||b?b:u}}}),(function(e,t,n){var i=n(24);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}}),(function(e,t,n){var i=n(37),r=Math.min;e.exports=function(e){return 0<e?r(i(e),9007199254740991):0}}),(function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?i:n)(e)}}),(function(e,t,n){var i=n(24);e.exports=Array.isArray||function(e){return"Array"==i(e)}}),(function(e,t,n){"use strict";t.a=function(){return window.vuuklehb},window.vuuklehb=window.vuuklehb||{},window.vuuklehb.cmd=window.vuuklehb.cmd||[],window.vuuklehb.que=window.vuuklehb.que||[]}),(function(e,t,n){"use strict";n.d(t,"a",(function(){return U})),t.d=function(e){var t,l,p,f,m=e.adUnits,n=e.adUnitCodes,i=e.callback,r=e.cbTimeout,o=e.labels,s=m,c=o,b=n,g=[],v=[],a=[],h=k.generateUUID(),y=i,I=r,d=[];function w(){return{auctionId:h,timestamp:t,auctionEnd:l,auctionStatus:p,adUnits:s,adUnitCodes:b,labels:c,bidderRequests:g,noBids:a,bidsReceived:v,winningBids:d,timeout:I}}function u(e,t){if(t&&clearTimeout(f),null!=y){var n=[];e&&(k.logMessage("Auction ".concat(h," timedOut")),d=v,s=(a=g).filter((function(e){return!e.doneCbCallCount})).map((function(e){return e.bidderCode})).filter(S.uniques),c=d.map((function(e){return e.bidder})).filter(S.uniques),u=s.filter((function(e){return!x()(c,e)})),(n=a.map((function(e){return(e.bids||[]).filter((function(e){return x()(u,e.bidder)}))})).reduce(S.flatten,[]).map((function(e){return{bidId:e.bidId,bidder:e.bidder,adUnitCode:e.adUnitCode,auctionId:e.auctionId}}))).length&&_.emit(z.EVENTS.BID_TIMEOUT,n));try{p=U,l=Date.now(),_.emit(z.EVENTS.AUCTION_END,w());var i=b,r=v.filter(S.adUnitsFilter.bind(this,i)).reduce(M,{});y.apply(vuuklehb,[r,e])}catch(e){k.logError("Error executing bidsBackHandler",null,e)}finally{n.length&&O.callTimedOutBidders(m,n,I);var o=E.config.getConfig("userSync")||{};o.enableOverride||A(o.syncDelay)}y=null}var a,d,s,c,u}function T(){k.logInfo("Bids Received for Auction with id: ".concat(h),v),p=U,u(!1,!0)}return{addBidReceived:function(e){v=v.concat(e)},addNoBid:function(e){a=a.concat(e)},executeCallback:u,callBids:function(){var n=this;p=C,t=Date.now();var r=O.makeBidRequests(s,t,h,I,c);k.logInfo("Bids Requested for Auction with id: ".concat(h),r),r.forEach((function(e){var t;t=e,g=g.concat(t)}));var o={};if(r.length<1)k.logWarn("No valid bid requests returned for auction"),T();else{var e={bidRequests:r,run:function(){var e,t;e=u.bind(null,!0),t=setTimeout(e,I),f=t,p=B,_.emit(z.EVENTS.AUCTION_INIT,w());var i=q(T,n);O.callBids(s,r,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];P.apply({dispatch:i.addBidResponse,bidderRequest:this},t)}),i.adapterDone,{request:function(e,t){d(D,t),d(o,e),j[e]||(j[e]={SRA:!0,origin:t}),1<o[e]&&(j[e].SRA=!1)},done:function(e){D[e]--,N[0]&&a(N[0])&&N.shift()}},I)}};a(e)||(k.logWarn("queueing auction due to limited endpoint capacity"),N.push(e))}function a(e){var i=!0,r=E.config.getConfig("maxRequestsPerOrigin")||R;return e.bidRequests.some((function(e){var t=1,n=void 0!==e.src&&e.src===z.S2S.SRC?"s2s":e.bidderCode;return j[n]&&(!1===j[n].SRA&&(t=Math.min(e.bids.length,r)),D[j[n].origin]+t>r&&(i=!1)),!i})),i&&e.run(),i}function d(e,t){void 0===e[t]?e[t]=1:e[t]++}},addWinningBid:function(e){d=d.concat(e),O.callBidWonBidder(e.bidder,e,m)},setBidTargeting:function(e){O.callSetTargetingBidder(e.bidder,e)},getWinningBids:function(){return d},getTimeout:function(){return I},getAuctionId:function(){return h},getAuctionStatus:function(){return p},getAdUnits:function(){return s},getAdUnitCodes:function(){return b},getBidRequests:function(){return g},getBidsReceived:function(){return v},getNoBids:function(){return a}}},n.d(t,"b",(function(){return P})),t.c=y;var S=n(0),p=n(31),o=n(17),s=n(73),f=n(12),E=n(3),i=n(18),r=n(20),a=n(10),m=n.n(a),d=n(7),x=n.n(d),c=n(41);function b(e){return(b="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 g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var A=i.a.syncUsers,k=n(0),O=n(8).default,_=n(9),z=n(4),C="started",B="inProgress",U="completed";_.on(z.EVENTS.BID_ADJUSTMENT,(function(e){!(function(e){var t,n=e.bidderCode,i=e.cpm;if(vuuklehb.bidderSettings&&(n&&vuuklehb.bidderSettings[n]&&"function"==typeof vuuklehb.bidderSettings[n].bidCpmAdjustment?t=vuuklehb.bidderSettings[n].bidCpmAdjustment:vuuklehb.bidderSettings[z.JSON_MAPPING.BD_SETTING_STANDARD]&&"function"==typeof vuuklehb.bidderSettings[z.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(t=vuuklehb.bidderSettings[z.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),t))try{i=t(e.cpm,g({},e))}catch(e){k.logError("Error during bid adjustment","bidmanager.js",e)}0<=i&&(e.cpm=i)})(e)}));var R=4,D={},j={},N=[];var P=Object(r.a)("asyncSeries",(function(e,t){this.dispatch.call(this.bidderRequest,e,t)}),"addBidResponse");function q(t,o){var a=0,n=false,i=new Set,d={};function s(){a--;if(n&&a===0){t()}}function e(e,t){var n=this;d[t.requestId]=true,a++;var i=o.getAuctionId(),r=h({adUnitCode:e,bid:t,bidderRequest:n,auctionId:i});if(r.mediaType==="video"){v(o,r,n,s)}else{l(o,r);s()}}function r(){var e=this;if(i.add(this),n=o.getBidRequests().every((function(e){return i.has(e)})),this.bids.forEach((function(e){d[e.bidId]||(o.addNoBid(e),_.emit(z.EVENTS.NO_BID,e))})),n&&0===a){t()}}return{addBidResponse:e,adapterDone:r}}function u(e,t){t.timeToRespond>e.getTimeout()+E.config.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function l(e,t){_.emit(z.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),u(e,t)}function v(n,i,e,r){var t=true,o=Object(S["getBidRequest"])(i.adId,[e]),a=o&&Object(S["deepAccess"])(o,"mediaTypes.video"),d=a&&Object(S["deepAccess"])(a,"context");if(E["config"].getConfig("cache.url")&&d!==c["a"]){if(!i.videoCacheKey){t=false;Object(s["b"])([i],(function(e,t){if(e){k.logWarn("Failed to save to the video cache: ".concat(e,". Video bid must be discarded."));u(n,i)}else{i.videoCacheKey=t[0].uuid;if(!i.vastUrl){i.vastUrl=Object(s["a"])(i.videoCacheKey)}l(n,i);r()}}))}else if(!i.vastUrl){k.logError("videoCacheKey specified but not required vastUrl for video bid");t=false}}if(t){l(n,i);r()}}function h(e){var t=e.adUnitCode,n=e.bid,i=e.bidderRequest,r=e.auctionId,o=i.start,a=g({},n,{auctionId:r,responseTimestamp:Object(S["timestamp"])(),requestTimestamp:o,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});a.timeToRespond=a.responseTimestamp-a.requestTimestamp,_.emit(z.EVENTS.BID_ADJUSTMENT,a);var d=i.bids&&m()(i.bids,(function(e){return e.adUnitCode==t})),s=d&&d.renderer;if(s&&s.url){a.renderer=f["a"].install({url:s.url});a.renderer.setRender(s.render)}var c=E["config"].getConfig("mediaTypePriceGranularity.".concat(n.mediaType)),u=Object(p["a"])(a.cpm,b(c)==="object"?c:E["config"].getConfig("customPriceBucket"),E["config"].getConfig("currency.granularityMultiplier")),l;if(a.pbLg=u.low,a.pbMg=u.med,a.pbHg=u.high,a.pbAg=u.auto,a.pbDg=u.dense,a.pbCg=u.custom,a.bidderCode&&(0<a.cpm||a.dealId)){l=I(a.bidderCode,a)}return a.adserverTargeting=g(a.adserverTargeting||{},l),a}function y(e){var t=E.config.getConfig("mediaTypePriceGranularity.".concat(e)),n="string"==typeof e&&t?"string"==typeof t?t:"custom":E.config.getConfig("priceGranularity"),i=vuuklehb.bidderSettings;return i[z.JSON_MAPPING.BD_SETTING_STANDARD]||(i[z.JSON_MAPPING.BD_SETTING_STANDARD]={}),i[z.JSON_MAPPING.BD_SETTING_STANDARD][z.JSON_MAPPING.ADSERVER_TARGETING]||(i[z.JSON_MAPPING.BD_SETTING_STANDARD][z.JSON_MAPPING.ADSERVER_TARGETING]=[{key:z.TARGETING_KEYS.BIDDER,val:function(e){return e.bidderCode}},{key:z.TARGETING_KEYS.AD_ID,val:function(e){return e.adId}},{key:z.TARGETING_KEYS.PRICE_BUCKET,val:function(e){return n===z.GRANULARITY_OPTIONS.AUTO?e.pbAg:n===z.GRANULARITY_OPTIONS.DENSE?e.pbDg:n===z.GRANULARITY_OPTIONS.LOW?e.pbLg:n===z.GRANULARITY_OPTIONS.MEDIUM?e.pbMg:n===z.GRANULARITY_OPTIONS.HIGH?e.pbHg:n===z.GRANULARITY_OPTIONS.CUSTOM?e.pbCg:void 0}},{key:z.TARGETING_KEYS.SIZE,val:function(e){return e.size}},{key:z.TARGETING_KEYS.DEAL,val:function(e){return e.dealId}},{key:z.TARGETING_KEYS.SOURCE,val:function(e){return e.source}},{key:z.TARGETING_KEYS.FORMAT,val:function(e){return e.mediaType}}]),i[z.JSON_MAPPING.BD_SETTING_STANDARD]}function I(e,t){if(!t){return{}}var n={},i=vuuklehb.bidderSettings;if(i){var r=y(t.mediaType);w(n,r,t);if(e&&i[e]&&i[e][z.JSON_MAPPING.ADSERVER_TARGETING]){w(n,i[e],t);t.sendStandardTargeting=i[e].sendStandardTargeting}}if(t["native"]){n=g({},n,Object(o["c"])(t))}return n}function w(i,r,o){var e=r[z.JSON_MAPPING.ADSERVER_TARGETING];return o.size=o.getSize(),k._each(e,(function(e){var t=e.key,n=e.val;if(i[t]&&k.logWarn("The key: "+t+" is getting ovewritten"),k.isFn(n))try{n=n(o)}catch(e){k.logError("bidmanager","ERROR",e)}(void 0===r.suppressEmptyKeys||!0!==r.suppressEmptyKeys)&&t!==z.TARGETING_KEYS.DEAL||!k.isEmptyStr(n)&&null!=n?i[t]=n:k.logInfo("suppressing empty key '"+t+"' from adserver targeting")})),i}function M(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}}),(function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),t.b=function(e,t){var n=Object(o.getBidRequest)(e.adId,t),i=n&&Object(o.deepAccess)(n,"mediaTypes.video"),r=i&&Object(o.deepAccess)(i,"context");if(!n||i&&r!==d)return a.config.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 pbjs.setConfig({ cache: {url: "..."} });\n '),!1);return r!==d||!(!e.renderer&&!n.renderer)};n(8);var o=n(0),a=n(3),i=n(7),d=(n.n(i),"outstream")}),(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=g(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,i=e.labelAll,r=void 0!==i&&i,o=e.activeLabels,a=void 0===o?[]:o,d=1<arguments.length?arguments[1]:void 0,s=2<arguments.length?arguments[2]:void 0,c=g(3<arguments.length&&void 0!==arguments[3]?arguments[3]:b);d=Object(f.isPlainObject)(d)?Object(f.deepClone)(d):s?{banner:{sizes:s}}:{};var u=Object(f.deepAccess)(d,"banner.sizes");c.shouldFilter&&u&&(d.banner.sizes=u.filter((function(e){return c.sizesSupported[e]})));var l=Object.keys(d),p={active:1<l.length||1===l.length&&"banner"!==l[0]||"banner"===l[0]&&0<Object(f.deepAccess)(d,"banner.sizes.length")&&(0===n.length||!r&&(n.some((function(e){return c.labels[e]}))||n.some((function(e){return m()(a,e)})))||r&&n.reduce((function(e,t){return e?c.labels[t]||m()(a,t):e}),!0)),mediaTypes:d};u&&u.length!==d.banner.sizes.length&&(p.filterResults={before:u,after:d.banner.sizes});return p};var i=n(3),f=n(0),r=n(7),m=n.n(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)}var b=[];function g(e){return e.reduce((function(n,e){return"object"===o(e)&&"string"==typeof e.mediaQuery?matchMedia(e.mediaQuery).matches&&(Array.isArray(e.sizesSupported)&&(n.shouldFilter=!0),["labels","sizesSupported"].forEach((function(t){return(e[t]||[]).forEach((function(e){return n[t][e]=!0}))}))):Object(f.logWarn)('sizeConfig rule missing required property "mediaQuery"'),n}),{labels:{},sizesSupported:{},shouldFilter:!1})}i.config.getConfig("sizeConfig",(function(e){return t=e.sizeConfig,void(b=t);var t}))}),(function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(0),r={};var o={incrementCounter:function(e){return r[e]=r[e]||{},r[e].counter=Object(i.deepAccess)(r,"".concat(e,".counter"))+1||1,r[e].counter},getCounter:function(e){return Object(i.deepAccess)(r,"".concat(e,".counter"))||0}}}),(function(e,t,n){"use strict";t.a=i,n.d(t,"b",(function(){return r}));var d=n(0);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function i(r){function o(){var e=(function(){var t,n=[];do{try{t=t?t.parent:r;try{var e=t==r.top,i={referrer:t.document.referrer||null,location:t.location.href||null,isTop:e};e&&(i=s(i,{canonicalUrl:a(t.document)})),n.push(i)}catch(e){n.push({referrer:null,location:null,isTop:t==r.top}),Object(d.logWarn)("Trying to access cross domain iframe. Continuing without referrer and location")}}catch(e){return n.push({referrer:null,location:null,isTop:!1}),n}}while(t!=r.top);return n})(),t=(function(){try{if(!r.location.ancestorOrigins)return;return r.location.ancestorOrigins}catch(e){}})();if(t)for(var n=0,i=t.length;n<i;n++)e[n].ancestor=t[n];return e}function a(e){try{var t=e.querySelector("link[rel='canonical']");if(null!==t)return t.href}catch(e){}return null}return function(){try{var e,t=o(),n=t.length-1,i=null!==t[n].location||0<n&&null!==t[n-1].referrer,r=(function(e){var t,n=[],i=null,r=null,o=null,a=null,d=null;for(t=e.length-1;0<=t;t--){try{i=e[t].location}catch(e){}if(i)n.push(i),d||(d=i);else if(0!==t){r=e[t-1];try{o=r.referrer,a=r.ancestor}catch(e){}o?(n.push(o),d||(d=o)):a?(n.push(a),d||(d=a)):n.push(null)}else n.push(null)}return{stack:n,detectedRefererUrl:d}})(t);return t[t.length-1].canonicalUrl&&(e=t[t.length-1].canonicalUrl),{referer:r.detectedRefererUrl,reachedTop:i,numIframes:n,stack:r.stack,canonicalUrl:e}}catch(e){}}}var r=i(window)}),(function(e,t,n){"use strict";t.a=z,n.d(t,"b",(function(){return s}));var y=n(0),I=n(3),w=n(17),i=n(28),r=n(42),o=n(7),T=n.n(o);function S(e){return (function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}})(e)||(function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)})(e)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}function E(){return(E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=n(0),k=n(4),O=[],_=Object.keys(k.TARGETING_KEYS).map((function(e){return k.TARGETING_KEYS[e]})),a=function(e){return e.responseTimestamp+1e3*e.ttl+1e3>Object(y.timestamp)()},d=function(e){return e&&(e.status&&!T()([k.BID_STATUS.BID_TARGETING_SET,k.BID_STATUS.RENDERED],e.status)||!e.status)};function z(e,n){var i=[],r=Object(y.groupBy)(e,"adUnitCode");return Object.keys(r).forEach((function(e){var t=Object(y.groupBy)(r[e],"bidderCode");Object.keys(t).forEach((function(e){return i.push(t[e].reduce(n))}))})),i}var s=(function(n){var f={},i={};function m(e){return"string"==typeof e?[e]:A.isArray(e)?e:n.getAdUnitCodes()||[]}function b(){var e=n.getBidsReceived();return I.config.getConfig("useBidCache")||(e=e.filter((function(e){return i[e.adUnitCode]===e.auctionId}))),z(e=e.filter((function(e){return"banner"!==e.mediaType||Object(r.c)([e.width,e.height])})).filter(d).filter(a),y.getOldestHighestCpmBid)}function g(){return n.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(_).filter(y.uniques)}function v(i,r,e,t){return Object.keys(r.adserverTargeting).filter(o()).forEach((function(e){var t,n;i.length&&i.filter((n=e,function(e){return e.adUnitCode===r.adUnitCode&&e.adserverTargeting[n]})).forEach((t=e,function(e){A.isArray(e.adserverTargeting[t])||(e.adserverTargeting[t]=[e.adserverTargeting[t]]),e.adserverTargeting[t]=e.adserverTargeting[t].concat(r.adserverTargeting[t]).filter(y.uniques),delete r.adserverTargeting[t]}))})),i.push(r),i}function o(){var t=g();return function(e){return-1===t.indexOf(e)}}function h(t){return x({},t.adUnitCode,Object.keys(t.adserverTargeting).filter(o()).map((function(e){return x({},e.substring(0,20),[t.adserverTargeting[e]])})))}return f.setLatestAuctionForAdUnit=function(e,t){i[e]=t},f.resetPresetTargeting=function(e){if(Object(y.isGptPubadsDefined)()){var t=m(e),i=n.getAdUnits().filter((function(e){return T()(t,e.code)}));window.googletag.pubads().getSlots().forEach((function(n){O.forEach((function(t){i.forEach((function(e){e.code!==n.getAdUnitPath()&&e.code!==n.getSlotElementId()||n.setTargeting(t,null)}))}))}))}},f.getAllTargeting=function(e){var i,t,r,n,o,a,d,s,c,u=1<arguments.length&&void 0!==arguments[1]?arguments[1]:b(),l=m(e),p=(a=l,d=u,s=f.getWinningBids(a,d),c=g(),s=s.map((function(o){return x({},o.adUnitCode,Object.keys(o.adserverTargeting).filter((function(e){return void 0===o.sendStandardTargeting||o.sendStandardTargeting||-1===c.indexOf(e)})).reduce((function(e,t){var n=[o.adserverTargeting[t]],i=x({},t.substring(0,20),n);if(t!==k.TARGETING_KEYS.DEAL)return[].concat(S(e),[i]);var r=x({},"".concat(t,"_").concat(o.bidderCode).substring(0,20),n);return[].concat(S(e),[i,r])}),[]))}))).concat((n=l,o=u,o.filter((function(e){return T()(n,e.adUnitCode)})).map((function(e){return E({},e)})).reduce(v,[]).map(h).filter((function(e){return e})))).concat(I.config.getConfig("enableSendAllBids")?(i=l,t=u,r=_.concat(w.a),z(t,y.getHighestCpm).map((function(t){if(t.adserverTargeting&&i&&(A.isArray(i)&&T()(i,t.adUnitCode)||"string"==typeof i&&t.adUnitCode===i))return x({},t.adUnitCode,(n=t,r.filter((function(e){return void 0!==t.adserverTargeting[e]})).map((function(e){return x({},"".concat(e,"_").concat(n.bidderCode).substring(0,20),[n.adserverTargeting[e]])}))));var n})).filter((function(e){return e}))):[]);return p.map((function(t){Object.keys(t).map((function(e){t[e].map((function(e){-1===O.indexOf(Object.keys(e)[0])&&(O=Object.keys(e).concat(O))}))}))})),p=p.map((function(e){return x({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return x({},Object.keys(e)[0],e[Object.keys(e)[0]].join(", "))})).reduce((function(e,t){return E(t,e)}),{}))})).reduce((function(e,t){var n=Object.keys(t)[0];return e[n]=E({},e[n],t[n]),e}),{}),l.forEach((function(e){p[e]||(p[e]={})})),p},f.setTargetingForGPT=function(r,e){window.googletag.pubads().getSlots().forEach((function(i){Object.keys(r).filter(e?e(i):Object(y.isAdUnitCodeMatchingSlot)(i)).forEach((function(n){return Object.keys(r[n]).forEach((function(t){var e=r[n][t].split(",");(e=1<e.length?[e]:e).map((function(e){return A.logMessage("Attempting to set key value for slot: ".concat(i.getSlotElementId()," key: ").concat(t," value: ").concat(e)),e})).forEach((function(e){i.setTargeting(t,e)}))}))}))}))},f.getWinningBids=function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:b(),t=m(e);return n.filter((function(e){return T()(t,e.adUnitCode)})).filter((function(e){return 0<e.cpm})).map((function(e){return e.adUnitCode})).filter(y.uniques).map((function(t){return n.filter((function(e){return e.adUnitCode===t?e:null})).reduce(y.getHighestCpm)}))},f.setTargetingForAst=function(){var i=f.getAllTargeting();Object.keys(i).forEach((function(n){return Object.keys(i[n]).forEach((function(e){if(A.logMessage("Attempting to set targeting for targetId: ".concat(n," key: ").concat(e," value: ").concat(i[n][e])),A.isStr(i[n][e])||A.isArray(i[n][e])){var t={};e.search(/pt[0-9]/)<0?t[e.toUpperCase()]=i[n][e]:t[e]=i[n][e],window.apntag.setKeywords(n,t,{overrideKeyValue:!0})}}))}))},f.isApntagDefined=function(){if(window.apntag&&A.isFn(window.apntag.setKeywords))return!0},f})(i.a)}),(function(e,t,n){n(249),e.exports=n(13).Array.isArray}),(function(e,t,n){n(250),e.exports=n(13).Number.isInteger}),(function(e,t,n){n(49),e.exports=n(71)}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(5);function y(e){return(y="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 k=window.googletag||{};k.cmd=k.cmd||[],window.googletag=k;var O=window.vuuklehb||{};O.que=O.que||[],window.vuuklehb=O;var I=I||[];window.adUnits,window.dfpNetwork;function w(){O.que.push((function(){var e=window;e._clrm=e._clrm||{},e._clrm.renderAd=e._clrm.renderAd||O.renderAd;var u=e._clrm.prebid||{sandbox:0};e.confiant&&e.confiant.settings&&(u=e.confiant.settings);var a,l=function(a,r,e,o,d){function s(e){return(i(e)||"")[m]("/","_")[m]("+","-")}var t=r.bidder,n=r.size,c=a.parentWindow||a.defaultView,u=c.JSON,i=c.btoa,l=c.encodeURIComponent;if(!u||!i)return!1;var p="script",f="src",m="replace",b="error",g="stringify",v="write",h="https://"+e+"/?wrapper="+l(o)+"&tpid=",y={k:{hb_bidder:[t],hb_size:[n]}};return (function(){var e=s(o+"/"+y.k.hb_bidder[0]+":"+y.k.hb_size[0]),t={wh:e,wd:u.parse(u[g](y)),wr:0};!(function(e,t,n){var i=h+l(e)+"&d="+t,r="err__"+1*new Date;c[r]=n;var o="<"+p+" on"+b+'="void('+r+'())" '+f+'="'+i+'" type="text/java'+p+'" ></'+p+">";a[v](o)})(e,s(u[g](t)),(function(){a[v](r.ad)}));var n={prebid:{adId:r.adId,cpm:r.cpm}},i={d:t,t:r.ad,cb:d,id:n};c[o]={},c[o][e]=i})(),a.close(),!0};Node.prototype.appendChild=(a=Node.prototype.appendChild,function(e){var t,n,i,r,o;return"IFRAME"===(o=e).tagName&&o.id&&-1<o.id.indexOf("google_ads_iframe_")&&(t=/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i,n=/(.+)(iPhone|iPad|iPod)(.+)OS[\s|\_](\d)\_?(\d)?[\_]?(\d)?.+/i,i=/Android/i,"1"==(r=""+u.sandbox)||("2"===r?!navigator.userAgent.match(t):"3"===r?navigator.userAgent.match(t):"4"===r?navigator.userAgent.match(n):"5"===r&&navigator.userAgent.match(i)))&&!e.getAttribute("sandbox")&&(e.setAttribute("sandbox","allow-forms allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation"),e.setAttribute("data-forced-sandbox",!0)),a.call(this,e)}),O.renderAd=function(e,t){if(e&&t)try{var n,i,r=[],o=O.getBidResponses(),a=O.getHighestCpmBids();for(var d in o)r=r.concat(o[d].bids);for(r=r.concat(a),i=0;i<r.length;i++)if(r[i].adId===t){n=r[i];break}var s=[],c=!1;for(i=0;i<s.length;i++)if(n.bidder===s[i]){c=!0;break}if(n&&n.ad&&!c){e.write,e.close;e.write=e.close=function(){},window._clrm.renderAd(e,t),delete e.write,delete e.close;"undefined"==typeof getSerializedCaspr||getSerializedCaspr();return void(l(e,n,"clarium.global.ssl.fastly.net","RNw7xiqRu-6_97G1pl1Hr7_2fbE",(function(e,t,n,i,r,o){console.log("w00t one more bad ad nixed.",arguments)}),u.devMode)||(e.write(n.ad),e.close()))}}catch(e){console.log(e)}window._clrm.renderAd(e,t)}}))}O.detectWidth=window.detectWidth||function(){return window.screen.width||window.innerWidth&&document.documentElement.clientWidth?Math.min(window.innerWidth,document.documentElement.clientWidth):window.innerWidth||document.documentElement.clientWidth||document.getElementsByTagName("body")[0].clientWidth},(function(n,i,e,t,r,o,a){function d(e,t){i[n]._Q.push([e,t])}i[n]||(i[n]={init:function(){d("i",arguments)},fetchBids:function(){d("f",arguments)},setDisplayBids:function(){},_Q:[]},(o=e.createElement("script")).async=!0,o.src="//c.amazon-adsystem.com/aax2/apstag.js",(a=e.getElementsByTagName("script")[0]).parentNode.insertBefore(o,a))})("apstag",window,document),apstag.init({pubID:"842701b4-f689-4de3-9ff4-bc1999093771",adServer:"googletag"});var i=!1;function T(e){if(e&&!i){i=!0;var A=e;!(function(){var v="https://api.assertcom.de",e="assertive_analytics_",h=e.concat("sessionUUID"),a=e.concat("sessionStart"),d=e.concat("sessionRandom"),y=e.concat("sessionUTM"),I=e.concat("sessionReferrer"),w=E(),T=[],S=[],t=t||localStorage.getItem("assertiveYield")&&-1!==localStorage.getItem("assertiveYield").indexOf("debug")||-1!==s("assertiveYield").indexOf("debug");function E(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,E)}function s(e){return decodeURI(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+escape(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}function x(e){t&&console.log(e)}Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var i=arguments[1],r=0;r<n;){var o=t[r];if(e.call(i,o,r,t))return o;r++}},configurable:!0,writable:!0}),(function(){if(!localStorage.getItem(a)||Date.now()>localStorage.getItem(a)){localStorage.setItem(h,E()),localStorage.setItem(d,Math.random()),document.referrer?localStorage.setItem(I,document.referrer):localStorage.removeItem(I);var e=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],t={};for(var n in e){var i=e[n],r=s(i);""!==r&&(t[i]=r)}var o=JSON.stringify(t);o!==JSON.stringify({})?localStorage.setItem(y,o):localStorage.removeItem(y)}localStorage.setItem(a,Date.now()+18e5)})(),-1!==s("assertiveYield").indexOf("check")&&alert("Assertive Yield: Check"),localStorage.getItem(d)<1&&(function e(){if(!n)if(void 0!==k&&k.pubadsReady){n=!0;var g=null;window.addEventListener("blur",(function(){if(g){var e=new XMLHttpRequest,t=v+"?event=click&entityId="+A+"&impressionUUID="+T[g];e.open("GET",t,!0),e.send()}})),k.cmd.push((function(){k.pubads().addEventListener("slotRenderEnded",(function(e){if(!e.isEmpty)if(void 0!==A){var t=e.slot,n=t.getSlotElementId(),i=t.getAdUnitPath(),r=document.getElementById(n),o=null;if(r){if(O.adUnits.find((function(e){return e.code===n})))o=n;else{if(!O.adUnits.find((function(e){return e.code===i})))return;o=i}var a=r.getElementsByTagName("iframe")[0];a.addEventListener("mouseover",(function(){g=n})),a.addEventListener("touchstart",(function(){g=n})),a.addEventListener("mouseout",(function(){g=null})),a.addEventListener("touchend",(function(){g=null}));var d=t.getHtml(),s=/(?:vuuklehb\.renderAd\(document, |adId: |hb_adid":\[)['"](.*?)["']/g.exec(d),c=s?s[1]:t.getTargeting("hb_adid")[0],u=!!s,l=O.getBidResponsesForAdUnitCode(o).bids.find((function(e){return e.adId===c}));T[n]=E(),x("Session UUID: "+localStorage.getItem(h)+", PageView UUID: "+w+", Impression UUID: "+T[n]),x("Slot Id: "+n+", AdUnitPath: "+i),l&&x(" - Highest PreBid "+l.cpm+" from "+l.bidderCode+" with id "+c),l||x(" - No PreBids!!!"),x(" - Winner: "+(u?"prebid":"dfp (Direct/AdX/AdSense)")+" with size "+(u?l.width:e.size[0])+"x"+(u?l.height:e.size[1])),x("---------------");var p=null,f=null;l&&(l.appnexus?p=l.appnexus.buyerMemberId?l.appnexus.buyerMemberId:null:l.rubicon&&(p=l.rubicon.networkId?l.rubicon.networkId:null,f=l.rubicon.advertiserId?l.rubicon.advertiserId:null));var m={version:"1.8",entityId:A,siteUUID:"undefined"!=typeof assertive_siteUUID?assertive_siteUUID:null,sessionUUID:localStorage.getItem(h),pageViewUUID:w,impressionUUID:T[n],slotId:n,adUnitPath:i,highestPreBid:l?l.cpm:0,highestPreBid_partner:l?l.bidderCode:"",buyerId:p,brandId:f,dealId:l&&l.dealId?l.dealId:null,creativeId:l&&l.creativeId?l.creativeId:null,mediaType:l&&l.mediaType?l.mediaType:null,currency:l&&l.currency?l.currency:null,netRevenue:l&&l.netRevenue?l.netRevenue:null,creative_width:u?l.width:e.size[0],creative_height:u?l.height:e.size[1],preBidWon:u,timeToRespond:l?l.timeToRespond:null,protocol:window.location.protocol,host:window.location.host,pathname:window.location.pathname,pathname_split:window.location.pathname.split("/").filter((function(e){return e})),referrer:localStorage.getItem(I),utm:localStorage.getItem(y),prebid_timeout:null,prebid_version:O.version||null,userState:null,layout:null,custom_1:null,custom_2:null,custom_3:null,custom_4:null,custom_5:null,bps_type:t.getTargeting("ay_bid")[0]||null,bps_algo:t.getTargeting("ay_algo")[0]||null};S.push(m);var b=new XMLHttpRequest;b.open("POST",v,!0),b.setRequestHeader("Content-Type","text/plain"),b.send(JSON.stringify(m)),x("SENT!!!")}}else console.error("Assertive Yield: Entity ID is mandatory and not defined, exiting...")})),k.pubads().addEventListener("impressionViewable",(function(e){var t=e.slot.getSlotElementId();if(T[t]){var n=new XMLHttpRequest,i=v+"?event=activeView&entityId="+A+"&impressionUUID="+T[t];n.open("GET",i,!0),n.send()}}))}))}else setTimeout(e,20)})();var n=!1})()}}function r(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}r("indexTest");var S=r("assertiveTest"),o=[[400,250],[400,300],[250,250],[300,250],[320,50],[480,300],[600,400],[600,410],[600,300],[600,338],[400,225],[970,250]];I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"deccanchronicle.com",code:"div-gpt-ad-deccanchronicle.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14756803"}},{bidder:"openx",params:{unit:"540561915",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"238034",zoneId:"1175134"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"aajtak.intoday.in",code:"div-gpt-ad-aajtak.intoday.in",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14933835"}},{bidder:"openx",params:{unit:"540624556",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243784",zoneId:"1205616"}},{bidder:"ix",params:{size:[250,250],siteId:"347817"}},{bidder:"ix",params:{size:[300,250],siteId:"347817"}},{bidder:"ix",params:{size:[320,50],siteId:"347817"}},{bidder:"ix",params:{size:[400,300],siteId:"347817"}},{bidder:"ix",params:{size:[480,300],siteId:"347817"}},{bidder:"ix",params:{size:[970,250],siteId:"347817"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"indiatoday.in",code:"div-gpt-ad-indiatoday.in",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934286"}},{bidder:"openx",params:{unit:"540624557",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243788",zoneId:"1205620"}},{bidder:"ix",params:{size:[250,250],siteId:"347751"}},{bidder:"ix",params:{size:[300,250],siteId:"347751"}},{bidder:"ix",params:{size:[320,50],siteId:"347751"}},{bidder:"ix",params:{size:[400,300],siteId:"347751"}},{bidder:"ix",params:{size:[480,300],siteId:"347751"}},{bidder:"ix",params:{size:[970,250],siteId:"347751"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"aajtak.in",code:"div-gpt-ad-aajtak.in",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934306"}},{bidder:"openx",params:{unit:"540624558",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243790",zoneId:"1205622"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"livehindustan.com",code:"div-gpt-ad-livehindustan.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934309"}},{bidder:"openx",params:{unit:"540624559",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243838",zoneId:"1205832"}},{bidder:"ix",params:{size:[250,250],siteId:"347752"}},{bidder:"ix",params:{size:[300,250],siteId:"347752"}},{bidder:"ix",params:{size:[320,50],siteId:"347752"}},{bidder:"ix",params:{size:[400,300],siteId:"347752"}},{bidder:"ix",params:{size:[480,300],siteId:"347752"}},{bidder:"ix",params:{size:[970,250],siteId:"347752"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"businesstoday.in",code:"div-gpt-ad-businesstoday.in",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934310"}},{bidder:"openx",params:{unit:"540624560",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243846",zoneId:"1205908"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"hardwarezone.com.sg",code:"div-gpt-ad-hardwarezone.com.sg",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934326"}},{bidder:"openx",params:{unit:"540624561",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243848",zoneId:"1205920"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"homeanddecor.com.sg",code:"div-gpt-ad-homeanddecor.com.sg",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934346"}},{bidder:"openx",params:{unit:"540624562",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243856",zoneId:"1205960"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:"hL7AZbSwYt4Qqu9zC",host:"football365.com",code:"div-gpt-ad-football365.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934349"}},{bidder:"openx",params:{unit:"540624563",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243858",zoneId:"1205962"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"siir.alternatifim.com",code:"div-gpt-ad-siir.alternatifim.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934350"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"sarki.alternatifim.com",code:"div-gpt-ad-sarki.alternatifim.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934353"}},{bidder:"openx",params:{unit:"540624576",delDomain:"bcm-d.openx.net"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"ceviri.alternatifim.com",code:"div-gpt-ad-ceviri.alternatifim.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934355"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"sohh.com",code:"div-gpt-ad-sohh.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934357"}},{bidder:"openx",params:{unit:"540624564",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243860",zoneId:"1205964"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"icecreamconvos.com",code:"div-gpt-ad-icecreamconvos.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934361"}},{bidder:"openx",params:{unit:"540624565",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243862",zoneId:"1205966"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"planetrugby.com",code:"div-gpt-ad-planetrugby.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934362"}},{bidder:"openx",params:{unit:"540624566",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243864",zoneId:"1205968"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"planetf1.com",code:"div-gpt-ad-planetf1.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934363"}},{bidder:"openx",params:{unit:"540624567",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243866",zoneId:"1205970"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"teamtalk.com",code:"div-gpt-ad-teamtalk.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934365"}},{bidder:"openx",params:{unit:"540624568",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243868",zoneId:"1205980"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"utusan.com.my",code:"div-gpt-ad-utusan.com.my",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934367"}},{bidder:"openx",params:{unit:"540624569",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243870",zoneId:"1205988"}},{bidder:"ix",params:{size:[250,250],siteId:"347755"}},{bidder:"ix",params:{size:[300,250],siteId:"347755"}},{bidder:"ix",params:{size:[320,50],siteId:"347755"}},{bidder:"ix",params:{size:[400,300],siteId:"347755"}},{bidder:"ix",params:{size:[480,300],siteId:"347755"}},{bidder:"ix",params:{size:[970,250],siteId:"347755"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"doyouremember.com",code:"div-gpt-ad-doyouremember.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934369"}},{bidder:"openx",params:{unit:"540624571",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243874",zoneId:"1205990"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"mixi.media",code:"div-gpt-ad-mixi.media",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14942198"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"Kosmo.com.my",code:"div-gpt-ad-Kosmo.com.my",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14934372"}},{bidder:"openx",params:{unit:"540624572",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"243876",zoneId:"1205994"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"KhaleejTimes.com",code:"div-gpt-ad-KhaleejTimes.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"14935281"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"greatandhra.com",code:"div-gpt-ad-greatandhra.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15047495"}},{bidder:"ix",params:{size:[250,250],siteId:"347775"}},{bidder:"ix",params:{size:[300,250],siteId:"347775"}},{bidder:"ix",params:{size:[320,50],siteId:"347775"}},{bidder:"ix",params:{size:[400,300],siteId:"347775"}},{bidder:"ix",params:{size:[480,300],siteId:"347775"}},{bidder:"ix",params:{size:[970,250],siteId:"347775"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"telugu.greatandhra.com",code:"div-gpt-ad-telugu.greatandhra.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15047496"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"trends.greatandhra.com",code:"div-gpt-ad-trends.greatandhra.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15047497"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"thehindu.com",code:"div-gpt-ad-thehindu.com",mediaTypes:{banner:{sizes:o},video:{context:"outstream",playerSize:[[640,480]]}},bids:[{bidder:"appnexus",params:{placementId:"15047498",video:{skippable:!0,playback_method:["auto_play_sound_off"]}}},{bidder:"ix",params:{size:[250,250],siteId:"347754"}},{bidder:"ix",params:{size:[300,250],siteId:"347754"}},{bidder:"ix",params:{size:[320,50],siteId:"347754"}},{bidder:"ix",params:{size:[400,300],siteId:"347754"}},{bidder:"ix",params:{size:[480,300],siteId:"347754"}},{bidder:"ix",params:{size:[970,250],siteId:"347754"}},{bidder:"tim",params:{placementCode:"1015001",publisherid:"1015"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"tamil.thehindu.com",code:"div-gpt-ad-tamil.thehindu.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15047499"}},{bidder:"ix",params:{size:[250,250],siteId:"348407"}},{bidder:"ix",params:{size:[300,250],siteId:"348407"}},{bidder:"ix",params:{size:[320,50],siteId:"348407"}},{bidder:"ix",params:{size:[400,300],siteId:"348407"}},{bidder:"ix",params:{size:[480,300],siteId:"348407"}},{bidder:"ix",params:{size:[970,250],siteId:"348407"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"thehindubusinessline.com",code:"div-gpt-ad-thehindubusinessline.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15047500"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"premium.thehindubusinessline.com",code:"div-gpt-ad-premium.thehindubusinessline.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15047513"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"telugu.oneindia.com",code:"div-gpt-ad-telugu.oneindia.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15082205"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"tamil.oneindia.com",code:"div-gpt-ad-tamil.oneindia.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15082211"}},{bidder:"ix",params:{size:[250,250],siteId:"347749"}},{bidder:"ix",params:{size:[300,250],siteId:"347749"}},{bidder:"ix",params:{size:[320,50],siteId:"347749"}},{bidder:"ix",params:{size:[400,300],siteId:"347749"}},{bidder:"ix",params:{size:[480,300],siteId:"347749"}},{bidder:"ix",params:{size:[970,250],siteId:"347749"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"oneindia.com",code:"div-gpt-ad-oneindia.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15082214"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"hindi.oneindia.com",code:"div-gpt-ad-hindi.oneindia.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15082215"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"telugu.filmibeat.com",code:"div-gpt-ad-telugu.filmibeat.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15090062"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"tamil.filmibeat.com",code:"div-gpt-ad-tamil.filmibeat.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15090133"}},{bidder:"ix",params:{size:[250,250],siteId:"348408"}},{bidder:"ix",params:{size:[300,250],siteId:"348408"}},{bidder:"ix",params:{size:[320,50],siteId:"348408"}},{bidder:"ix",params:{size:[400,300],siteId:"348408"}},{bidder:"ix",params:{size:[480,300],siteId:"348408"}},{bidder:"ix",params:{size:[970,250],siteId:"348408"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"nativeplanet.com",code:"div-gpt-ad-nativeplanet.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15090134"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"mykhel.com",code:"div-gpt-ad-mykhel.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15090135"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"hindi.filmibeat.com",code:"div-gpt-ad-hindi.filmibeat.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15090136"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"goodreturns.in",code:"div-gpt-ad-goodreturns.in",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15090137"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"gizbot.com",code:"div-gpt-ad-gizbot.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15090138"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"filmibeat.com",code:"div-gpt-ad-filmibeat.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15090140"}},{bidder:"ix",params:{size:[250,250],siteId:"347830"}},{bidder:"ix",params:{size:[300,250],siteId:"347830"}},{bidder:"ix",params:{size:[320,50],siteId:"347830"}},{bidder:"ix",params:{size:[400,300],siteId:"347830"}},{bidder:"ix",params:{size:[480,300],siteId:"347830"}},{bidder:"ix",params:{size:[970,250],siteId:"347830"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"careerindia.com",code:"div-gpt-ad-careerindia.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15090141"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"boldsky.com",code:"div-gpt-ad-boldsky.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15090142"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"nbc",code:"div-gpt-ad-nbc-2.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15112113"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"sandesh.com",code:"div-gpt-ad-sandesh.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15112114"}},{bidder:"ix",params:{size:[250,250],siteId:"347756"}},{bidder:"ix",params:{size:[300,250],siteId:"347756"}},{bidder:"ix",params:{size:[320,50],siteId:"347756"}},{bidder:"ix",params:{size:[400,300],siteId:"347756"}},{bidder:"ix",params:{size:[480,300],siteId:"347756"}},{bidder:"ix",params:{size:[970,250],siteId:"347756"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"esakal.com",code:"div-gpt-ad-esakal.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15112115"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"maalaimalar.com",code:"div-gpt-ad-maalaimalar.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15112116"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"lokmat.com",code:"div-gpt-ad-lokmat.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15112117"}},{bidder:"ix",params:{size:[250,250],siteId:"347816"}},{bidder:"ix",params:{size:[300,250],siteId:"347816"}},{bidder:"ix",params:{size:[320,50],siteId:"347816"}},{bidder:"ix",params:{size:[400,300],siteId:"347816"}},{bidder:"ix",params:{size:[480,300],siteId:"347816"}},{bidder:"ix",params:{size:[970,250],siteId:"347816"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"indiatvnews.com",code:"div-gpt-ad-indiatvnews.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15112118"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"siasat.com",code:"div-gpt-ad-siasat.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15128477"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"madamenoire.com",code:"div-gpt-ad-madamenoire.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15693932"}},{bidder:"openx",params:{unit:"540671620",delDomain:"bcm-d.openx.net"}},{bidder:"ix",params:{size:[250,250],siteId:"347219"}},{bidder:"ix",params:{size:[300,250],siteId:"347219"}},{bidder:"ix",params:{size:[320,50],siteId:"347219"}},{bidder:"ix",params:{size:[400,300],siteId:"347219"}},{bidder:"ix",params:{size:[480,300],siteId:"347219"}},{bidder:"ix",params:{size:[970,250],siteId:"347219"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"sakshi.com",code:"div-gpt-ad-sakshi.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"ix",params:{size:[250,250],siteId:"347750"}},{bidder:"ix",params:{size:[300,250],siteId:"347750"}},{bidder:"ix",params:{size:[320,50],siteId:"347750"}},{bidder:"ix",params:{size:[400,300],siteId:"347750"}},{bidder:"ix",params:{size:[480,300],siteId:"347750"}},{bidder:"ix",params:{size:[970,250],siteId:"347750"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"bossip.com",code:"div-gpt-ad-bossip.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15693937"}},{bidder:"openx",params:{unit:"540671616",delDomain:"bcm-d.openx.net"}},{bidder:"ix",params:{size:[250,250],siteId:"348156"}},{bidder:"ix",params:{size:[300,250],siteId:"348156"}},{bidder:"ix",params:{size:[320,50],siteId:"348156"}},{bidder:"ix",params:{size:[400,300],siteId:"348156"}},{bidder:"ix",params:{size:[480,300],siteId:"348156"}},{bidder:"ix",params:{size:[970,250],siteId:"348156"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"tamil.indianexpress.com",code:"div-gpt-ad-bossip.com",mediaTypes:{banner:{sizes:o}},bids:[]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"ccn.com",code:"div-gpt-ad-ccn.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15693874"}},{bidder:"openx",params:{unit:"540671732",delDomain:"bcm-d.openx.net"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:"d4enhFq8TX5jej4FD",host:"asianage.com",code:"div-gpt-ad-asianage.com",mediaTypes:{banner:{sizes:o},video:{context:"outstream",playerSize:[[640,480]]}},bids:[{bidder:"appnexus",params:{placementId:"15930101",video:{skippable:!0,playback_method:["auto_play_sound_off"]}}},{bidder:"openx",params:{unit:"540671702",delDomain:"bcm-d.openx.net"}},{bidder:"ix",params:{size:[250,250],siteId:"361181"}},{bidder:"ix",params:{size:[300,250],siteId:"361181"}},{bidder:"ix",params:{size:[320,50],siteId:"361181"}},{bidder:"ix",params:{size:[400,300],siteId:"361181"}},{bidder:"ix",params:{size:[480,300],siteId:"361181"}},{bidder:"ix",params:{size:[970,250],siteId:"361181"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"nakkheeran.in",code:"div-gpt-ad-nakkheeran.in",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15693958"}},{bidder:"openx",params:{unit:"540671639",delDomain:"bcm-d.openx.net"}},{bidder:"rubicon",params:{accountId:"18450",siteId:"",zoneId:""}},{bidder:"ix",params:{size:[250,250],siteId:"361182"}},{bidder:"ix",params:{size:[300,250],siteId:"361182"}},{bidder:"ix",params:{size:[320,50],siteId:"361182"}},{bidder:"ix",params:{size:[400,300],siteId:"361182"}},{bidder:"ix",params:{size:[480,300],siteId:"361182"}},{bidder:"ix",params:{size:[970,250],siteId:"361182"}}]}),I.push({adunit:"vuukle-widget",a9:!0,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"joblo.com",code:"div-gpt-ad-joblo.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15693965"}},{bidder:"openx",params:{unit:"540671653",delDomain:"bcm-d.openx.net"}},{bidder:"ix",params:{size:[250,250],siteId:"361184"}},{bidder:"ix",params:{size:[300,250],siteId:"361184"}},{bidder:"ix",params:{size:[320,50],siteId:"361184"}},{bidder:"ix",params:{size:[400,300],siteId:"361184"}},{bidder:"ix",params:{size:[480,300],siteId:"361184"}},{bidder:"ix",params:{size:[970,250],siteId:"361184"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"golf.swingbyswing.com",code:"div-gpt-ad-golf.swingbyswing.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15693961"}},{bidder:"openx",params:{unit:"540671643",delDomain:"bcm-d.openx.net"}},{bidder:"ix",params:{size:[250,250],siteId:"361183"}},{bidder:"ix",params:{size:[300,250],siteId:"361183"}},{bidder:"ix",params:{size:[320,50],siteId:"361183"}},{bidder:"ix",params:{size:[400,300],siteId:"361183"}},{bidder:"ix",params:{size:[480,300],siteId:"361183"}},{bidder:"ix",params:{size:[970,250],siteId:"361183"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"lfg.co",code:"div-gpt-ad-lfg.co",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15694056"}},{bidder:"openx",params:{unit:"540671659",delDomain:"bcm-d.openx.net"}},{bidder:"ix",params:{size:[250,250],siteId:"361185"}},{bidder:"ix",params:{size:[300,250],siteId:"361185"}},{bidder:"ix",params:{size:[320,50],siteId:"361185"}},{bidder:"ix",params:{size:[400,300],siteId:"361185"}},{bidder:"ix",params:{size:[480,300],siteId:"361185"}},{bidder:"ix",params:{size:[970,250],siteId:"361185"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"dailyhodl.com",code:"div-gpt-ad-dailyhodl.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15694093"}},{bidder:"openx",params:{unit:"540671682",delDomain:"bcm-d.openx.net"}},{bidder:"ix",params:{size:[250,250],siteId:"361186"}},{bidder:"ix",params:{size:[300,250],siteId:"361186"}},{bidder:"ix",params:{size:[320,50],siteId:"361186"}},{bidder:"ix",params:{size:[400,300],siteId:"361186"}},{bidder:"ix",params:{size:[480,300],siteId:"361186"}},{bidder:"ix",params:{size:[970,250],siteId:"361186"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"femalefirst.co.uk",code:"div-gpt-ad-femalefirst.co.uk",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15694094"}},{bidder:"ix",params:{size:[250,250],siteId:"361187"}},{bidder:"ix",params:{size:[300,250],siteId:"361187"}},{bidder:"ix",params:{size:[320,50],siteId:"361187"}},{bidder:"ix",params:{size:[400,300],siteId:"361187"}},{bidder:"ix",params:{size:[480,300],siteId:"361187"}},{bidder:"ix",params:{size:[970,250],siteId:"361187"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"contactmusic.net",code:"div-gpt-ad-contactmusic.net",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15694101"}},{bidder:"ix",params:{size:[250,250],siteId:"361188"}},{bidder:"ix",params:{size:[300,250],siteId:"361188"}},{bidder:"ix",params:{size:[320,50],siteId:"361188"}},{bidder:"ix",params:{size:[400,300],siteId:"361188"}},{bidder:"ix",params:{size:[480,300],siteId:"361188"}},{bidder:"ix",params:{size:[970,250],siteId:"361188"}}]}),I.push({adunit:"vuukle-widget",a9:!1,confiant:{desktop:!0,mobile:!0},assertive:!1,host:"bitcoinist.com",code:"div-gpt-ad-bitcoinist.com",mediaTypes:{banner:{sizes:o}},bids:[{bidder:"appnexus",params:{placementId:"15694103"}}]});var a=r("testbids");if("https://codesandbox.io"==window.location.origin&&(a="true"),"true"==a)for(var d=[{bidder:"rubicon",params:{accountId:1001,siteId:113932,zoneId:535510}},{bidder:"appnexus",params:{placementId:"13144370"}}],s=I.length-1;0<=s;s--){I[s].bids=[];for(var c=d.length-1;0<=c;c--)I[s].bids.push(d[c])}O.que.push((function(){O.setConfig({userSync:{syncEnabled:!0,pixelEnabled:!0,iframeEnabled:!0,syncsPerBidder:0,syncDelay:2e3}}),O.bidderSettings={standard:{adserverTargeting:[{key:"hb_bidder",val:function(e){return e.bidderCode}},{key:"hb_adid",val:function(e){return e.adId}},{key:"hb_pb",val:function(e){return 20<=e.cpm?"20.00":e.pbHg}},{key:"hb_size",val:function(e){return e.size}}]},sekindo:{bidCpmAdjustment:function(e){return.75*e}},brealtime:{bidCpmAdjustment:function(e){return.85*e}},rubicon:{bidCpmAdjustment:function(e){return.95*e}},districtm:{bidCpmAdjustment:function(e){return.9*e}},openx:{bidCpmAdjustment:function(e){return.95*e}}}}));function E(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function x(){try{return!window.top.location.hostname}catch(e){return!0}}O.loadDynamicAds=function(e,t,n){try{return f=e,m=t,b=n,O.que.push((function(){if(!f&&!f)return!1;m||(m=2e3),b||(b=function(){});for(var e=[],t=[],n=[],i=f.length-1;0<=i;i--)for(var r=f[i].slotSizes,o=f[i].adId,a=(f[i].slotId.split("/")[1],f[i].slotId.split("/")[2],f[i].slotId.split("/")[3].split("-")[0]),d=I.length-1;0<=d;d--)if(I[d].host.toLowerCase()==a.toLowerCase()){"object"==y(I[d].confiant)&&(768<=O.detectWidth()?I[d].confiant.desktop&&w():I[d].confiant.mobile&&w());var s={};I[d].sizes||(I[d].sizes=I[d].mediaTypes.banner.sizes),s.code=o,s.sizes=r,s.mediaTypes=I[d].mediaTypes,s.bids=I[d].bids,e.push(s),t.push(s.code),I[d].assertive&&"true"==S&&(O.addAdUnits(s),T(I[d].assertive)),1!=s.sizes[0][0]&&1!=s.sizes[0][1]&&I[d].a9&&n.push({slotID:o,slotName:f[i].slotId,sizes:r})}if(0==e.length)return!1;var c=!1,u=!(0<n.length),l=!1;function p(){return 0<arguments.length&&void 0!==arguments[0]&&arguments[0]&&(u=c=!0),!!c&&!!u&&!l&&(k.cmd.push((function(){"undefined"!=typeof apstag&&apstag.setDisplayBids(),O.setTargetingForGPTAsync(t)})),l=!0,void b())}setTimeout((function(){p(!0)}),8e3),0<n.length&&apstag.fetchBids({slots:n,timeout:m},(function(e){u=!0,p()})),O.requestBids({timeout:m,adUnits:e,bidsBackHandler:function(e){c=!0,p()}})})),!0}catch(e){var i="loadDynamicAds failed with error:"+e;Math.floor(1e6*Math.random());return console.log(i),n(),!1}var f,m,b};var u=function(g,v,h){return O.que.push((function(){if(!g&&!g){var e="";if(x()){if(document.referrer){var t=new URL(document.referrer);t&&(e=t.hostname)}}else e=window.top.location.hostname;if(""==(e=e.replace("www.","")))return console.log("Vuukle Error:","Cannot get domain host"),!1}v||(v=2e3),h||(h=function(){});for(var n=[],i=[],r=[],o=g.length-1;0<=o;o--){var a=g[o].slotSizes,d=g[o].adId,s=(g[o].slotId.split("/")[1],g[o].slotId.split("/")[2],g[o].slotId.split("/")[3].split("-")[0]);if("*"==s){if(x()){if(document.referrer){var c=new URL(document.referrer);c&&(s=c.hostname)}}else s=window.top.location.hostname;if(s=s.replace("www.",""),g[o].slotId=g[o].slotId.replace("*",s),""==s){console.log("Vuukle Error:","Cannot get domain host");continue}}for(var u=I.length-1;0<=u;u--)if(I[u].host.toLowerCase()==s.toLowerCase()){"object"==y(I[u].confiant)&&(768<=O.detectWidth()?I[u].confiant.desktop&&w():I[u].confiant.mobile&&w());var l={};I[u].sizes||(I[u].sizes=I[u].mediaTypes.banner.sizes),l.code=d,l.sizes=a,l.mediaTypes=I[u].mediaTypes,l.bids=I[u].bids,l.slotId=g[o].slotId,n.push(l),i.push(l.code),I[u].assertive&&"true"==S&&(O.addAdUnits(l),T(I[u].assertive)),1!=l.sizes[0][0]&&1!=l.sizes[0][1]&&I[u].a9&&r.push({slotID:d,slotName:g[o].slotId,sizes:a})}}if(0==n.length)return!!(g.length&&0<=g.length)&&(k.cmd.push((function(){for(var e=g.length-1;0<=e;e--)k.defineSlot(g[e].slotId,g[e].slotSizes,g[e].adId).addService(k.pubads())})),(function(){var e=document.createElement("script");e.async=!0,e.type="text/javascript";var t="https:"==document.location.protocol;e.src=(t?"https:":"http:")+"//www.googletagservices.com/tag/js/gpt.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)})(),k.cmd.push((function(){k.pubads().enableSingleRequest(),k.pubads().collapseEmptyDivs(),k.enableServices()})),k.cmd.push((function(){for(var e=g.length-1;0<=e;e--)k.display(g[e].adId)})),!0);!(function(){var e=document.createElement("script");e.async=!0,e.type="text/javascript";var t="https:"==document.location.protocol;e.src=(t?"https:":"http:")+"//www.googletagservices.com/tag/js/gpt.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)})(),k.cmd.push((function(){k.pubads().enableSingleRequest(),k.pubads().collapseEmptyDivs(),k.enableServices(),k.pubads().addEventListener("slotRenderEnded",(function(e){if(!(i.indexOf(e.slot.getSlotElementId())<0))if(e.isEmpty)console.log("Vuukle DFP response empty");else if(function(){try{return window.self!==window.top}catch(e){return!0}}())if(1==e.size[0]&&1==e.size[1]){var t=O.getHighestCpmBids(e.slot.getSlotElementId());t[0]&&t[0].width&&t[0].height&&(console.log("Vuukle Passback, Resizing Prebid creative to "+t[0].width+"x"+t[0].height),E(document,t[0].width,t[0].height))}else console.log("Vuukle Passback, Resizing to "+e.size[0]+"x"+e.size[1]),E(document,e.size[0],e.size[1]);else console.log("Vuukle Passback, not in iframe")}))}));var p=!1,f=!(0<r.length),m=!1;function b(){return 0<arguments.length&&void 0!==arguments[0]&&arguments[0]&&(f=p=!0),!!p&&(!!f&&(!m&&(k.cmd.push((function(){for(var e=n.length-1;0<=e;e--)k.defineSlot(n[e].slotId,n[e].sizes,n[e].code).addService(k.pubads());"undefined"!=typeof apstag&&apstag.setDisplayBids(),O.setTargetingForGPTAsync(i);for(e=n.length-1;0<=e;e--)k.display(n[e].code)})),m=!0,void h())))}setTimeout((function(){b(!0)}),8e3),0<r.length&&apstag.fetchBids({slots:r,timeout:v},(function(e){f=!0,b()})),O.requestBids({timeout:v,adUnits:n,bidsBackHandler:function(e){p=!0,b()}})})),!0};O.loadPassbackAds=function(e,t,n){try{if(u(e,t,n))return!0}catch(e){var i="loadPassbackAds failed with error:"+e;Math.floor(1e6*Math.random());return console.log(i),n(),!1}}}),(function(e,t,n){"use strict";var i=n(15),r=n(34)(5),o="find",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),i(i.P+i.F*a,"Array",{find:function(e){return r(this,e,1<arguments.length?arguments[1]:void 0)}}),n(27)(o)}),(function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}}),(function(e,t,n){var i=n(53),r=n(58);e.exports=n(23)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}}),(function(e,t,n){var i=n(54),r=n(55),o=n(57),a=Object.defineProperty;t.f=n(23)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}}),(function(e,t,n){var i=n(16);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}}),(function(e,t,n){e.exports=!n(23)&&!n(33)((function(){return 7!=Object.defineProperty(n(56)("div"),"a",{get:function(){return 7}}).a}))}),(function(e,t,n){var i=n(16),r=n(19).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}}),(function(e,t,n){var r=n(16);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}}),(function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),(function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}}),(function(e,t,n){var i=n(25);e.exports=function(e){return Object(i(e))}}),(function(e,t,n){var i=n(62);e.exports=function(e,t){return new(i(e))(t)}}),(function(e,t,n){var i=n(16),r=n(38),o=n(26)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}}),(function(e,t,n){var i=n(13),r=n(19),o="__core-js_shared__",a=r[o]||(r[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(64)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})}),(function(e,t){e.exports=!0}),(function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}}),(function(e,t){e.exports=function e(t){var n=Array.isArray(t)?[]:{};for(var i in t){var r=t[i];n[i]=r&&"object"==typeof r?e(r):r}return n}}),(function(e,t,n){"use strict";var i=n(15),r=n(68)(!0);i(i.P,"Array",{includes:function(e){return r(this,e,1<arguments.length?arguments[1]:void 0)}}),n(27)("includes")}),(function(e,t,n){var s=n(69),c=n(36),u=n(70);e.exports=function(d){return function(e,t,n){var i,r=s(e),o=c(r.length),a=u(n,o);if(d&&t!=t){for(;a<o;)if((i=r[a++])!=i)return!0}else for(;a<o;a++)if((d||a in r)&&r[a]===t)return d||a||0;return!d&&-1}}}),(function(e,t,n){var i=n(35),r=n(25);e.exports=function(e){return i(r(e))}}),(function(e,t,n){var i=n(37),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(39),r=n(0),o=n(72),a=n(18),d=n(21),s=n(3),g=n(28),c=n(45),u=n(20),l=n(74),p=n(7),f=n.n(p),m=n(43),v=n(12),b=n(14);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)}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var I=Object(i.a)(),w=n(4),T=n(0),S=n(8).default,E=n(9),x=a.a.triggerUserSyncs,A=w.EVENTS,k=A.ADD_AD_UNITS,O=A.BID_WON,_=A.REQUEST_BIDS,z=A.SET_TARGETING,C=A.AD_RENDER_FAILED,B=w.AD_RENDER_FAILED_REASON,U=B.PREVENT_WRITING_ON_MAIN_DOCUMENT,R=B.NO_AD,D=B.EXCEPTION,j=B.CANNOT_FIND_AD,N=B.MISSING_DOC_OR_ADID,P={bidWon:function(e){var t=g.a.getBidsRequested().map((function(e){return e.bids.map((function(e){return e.adUnitCode}))})).reduce(r.flatten).filter(r.uniques);return!!T.contains(t,e)||void T.logError('The "'+e+'" placement is not defined.')}};function q(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function M(e){var n=g.a[e]().filter(r.adUnitsFilter.bind(this,g.a.getAdUnitCodes())),i=n&&n.length&&n[n.length-1].auctionId;return n.map((function(e){return e.adUnitCode})).filter(r.uniques).map((function(t){return n.filter((function(e){return e.auctionId===i&&e.adUnitCode===t}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return t={},n=e[0].adUnitCode,i={bids:e.map(r.removeRequestId)},n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t;var t,n,i})).reduce((function(e,t){return y(e,t)}),{})}function G(e,t,n){var i={};i.reason=e,i.message=t,n&&(i.bid=n),T.logError(t),E.emit(C,i)}function W(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){T.logError("Error processing command :","prebid.js",e)}}))}Object(l.a)(),I.bidderSettings=I.bidderSettings||{},I.libLoaded=!0,I.version="v1.39.0-pre",T.logInfo("Prebid.js v1.39.0-pre loaded"),I.adUnits=I.adUnits||[],I.triggerUserSyncs=x,I.getAdserverTargetingForAdUnitCodeStr=function(e){if(T.logInfo("Invoking vuuklehb.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=I.getAdserverTargetingForAdUnitCode(e);return T.transformAdServerTargetingObj(t)}T.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},I.getAdserverTargetingForAdUnitCode=function(e){return I.getAdserverTargeting(e)[e]},I.getAdserverTargeting=function(e){return T.logInfo("Invoking vuuklehb.getAdserverTargeting",arguments),c.b.getAllTargeting(e)},I.getNoBids=function(){return T.logInfo("Invoking vuuklehb.getNoBids",arguments),M("getNoBids")},I.getBidResponses=function(){return T.logInfo("Invoking vuuklehb.getBidResponses",arguments),M("getBidsReceived")},I.getBidResponsesForAdUnitCode=function(t){return{bids:g.a.getBidsReceived().filter((function(e){return e.adUnitCode===t})).map(r.removeRequestId)}},I.setTargetingForGPTAsync=function(e,t){if(T.logInfo("Invoking vuuklehb.setTargetingForGPTAsync",arguments),Object(r.isGptPubadsDefined)()){var n=c.b.getAllTargeting(e);c.b.resetPresetTargeting(e),c.b.setTargetingForGPT(n,t),Object.keys(n).forEach((function(t){Object.keys(n[t]).forEach((function(e){"hb_adid"===e&&g.a.setStatusForBids(n[t][e],w.BID_STATUS.BID_TARGETING_SET)}))})),E.emit(z,n)}else T.logError("window.googletag is not defined on the page")},I.setTargetingForAst=function(){T.logInfo("Invoking vuuklehb.setTargetingForAn",arguments),c.b.isApntagDefined()?(c.b.setTargetingForAst(),E.emit(z,c.b.getAllTargeting())):T.logError("window.apntag is not defined on the page")},I.renderAd=function(e,t){if(T.logInfo("Invoking vuuklehb.renderAd",arguments),T.logMessage("Calling renderAd with adId :"+t),e&&t)try{var n=g.a.findBidByAdId(t);if(n){n.status=w.BID_STATUS.RENDERED,n.ad=T.replaceAuctionPrice(n.ad,n.cpm),n.adUrl=T.replaceAuctionPrice(n.adUrl,n.cpm),g.a.addWinningBid(n),E.emit(O,n);var i=n.height,r=n.width,o=n.ad,a=n.mediaType,d=n.adUrl,s=n.renderer,c=document.createComment("Creative ".concat(n.creativeId," served by ").concat(n.bidder," Prebid.js Header Bidding"));if(T.insertElement(c,e,"body"),Object(v.c)(s))Object(v.b)(s,n);else if(e===document&&!T.inIframe()||"video"===a){var u="Error trying to write ad. Ad render call ad id ".concat(t," was prevented from writing to the main document.");G(U,u,n)}else if(o)e.write(o),e.close(),q(e,r,i),T.callBurl(n);else if(d){var l=T.createInvisibleIframe();l.height=i,l.width=r,l.style.display="inline",l.style.overflow="hidden",l.src=d,T.insertElement(l,e,"body"),q(e,r,i),T.callBurl(n)}else{var p="Error trying to write ad. No ad for bid response id: ".concat(t);G(R,p,n)}}else{var f="Error trying to write ad. Cannot find ad by given id : ".concat(t);G(j,f)}}catch(e){var m="Error trying to write ad Id :".concat(t," to the page:").concat(e.message);G(D,m)}else{var b="Error trying to write ad Id :".concat(t," to the page. Missing document or adId");G(N,b)}},I.removeAdUnit=function(e){if(T.logInfo("Invoking vuuklehb.removeAdUnit",arguments),e)for(var t=0;t<I.adUnits.length;t++)I.adUnits[t].code===e&&I.adUnits.splice(t,1)},I.requestBids=Object(u.a)("asyncSeries",(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,i=e.adUnits,r=e.adUnitCodes,o=e.labels;E.emit(_);var a=n||s.config.getConfig("bidderTimeout");if(i=i||I.adUnits,T.logInfo("Invoking vuuklehb.requestBids",arguments),r&&r.length?i=i.filter((function(e){return f()(r,e.code)})):r=i&&i.map((function(e){return e.code})),i.forEach((function(r){var o=Object.keys(r.mediaTypes||{banner:"banner"}),e=r.bids.map((function(e){return e.bidder})),a=S.bidderRegistry,t=s.config.getConfig("s2sConfig"),n=t&&t.bidders,i=n?e.filter((function(e){return!f()(n,e)})):e;r.transactionId=T.generateUUID(),i.forEach((function(t){var e=a[t],n=e&&e.getSpec&&e.getSpec(),i=n&&n.supportedMediaTypes||["banner"];o.some((function(e){return f()(i,e)}))||(T.logWarn(T.unsupportedBidderMessage(r,t)),r.bids=r.bids.filter((function(e){return e.bidder!==t})))})),m.a.incrementCounter(r.code)})),i&&0!==i.length){var d=g.a.createAuction({adUnits:i,adUnitCodes:r,callback:t,cbTimeout:a,labels:o});return r.forEach((function(e){return c.b.setLatestAuctionForAdUnit(e,d.getAuctionId())})),d.callBids(),d}if(T.logMessage("No adUnits configured. No bids requested."),"function"==typeof t)try{t()}catch(e){T.logError("Error executing bidsBackHandler",null,e)}})),I.addAdUnits=function(e){T.logInfo("Invoking vuuklehb.addAdUnits",arguments),T.isArray(e)?I.adUnits.push.apply(I.adUnits,e):"object"===h(e)&&I.adUnits.push(e),E.emit(k)},I.onEvent=function(e,t,n){T.logInfo("Invoking vuuklehb.onEvent",arguments),T.isFn(t)?!n||P[e].call(null,n)?E.on(e,t,n):T.logError('The id provided is not valid for event "'+e+'" and no handler was set.'):T.logError('The event handler provided is not a function and was not set on event "'+e+'".')},I.offEvent=function(e,t,n){T.logInfo("Invoking vuuklehb.offEvent",arguments),n&&!P[e].call(null,n)||E.off(e,t,n)},I.registerBidAdapter=function(e,t){T.logInfo("Invoking vuuklehb.registerBidAdapter",arguments);try{S.registerBidAdapter(e(),t)}catch(e){T.logError("Error registering bidder adapter : "+e.message)}},I.registerAnalyticsAdapter=function(e){T.logInfo("Invoking vuuklehb.registerAnalyticsAdapter",arguments);try{S.registerAnalyticsAdapter(e)}catch(e){T.logError("Error registering analytics adapter : "+e.message)}},I.createBid=function(e){return T.logInfo("Invoking vuuklehb.createBid",arguments),Object(b.createBid)(e)},I.loadScript=function(e,t,n){T.logInfo("Invoking vuuklehb.loadScript",arguments),Object(d.loadScript)(e,t,n)},I.enableAnalytics=function(e){e&&!T.isEmpty(e)?(T.logInfo("Invoking vuuklehb.enableAnalytics for: ",e),S.enableAnalytics(e)):T.logError("vuuklehb.enableAnalytics should be called with option {}")},I.aliasBidder=function(e,t){T.logInfo("Invoking vuuklehb.aliasBidder",arguments),e&&t?S.aliasBidAdapter(e,t):T.logError("bidderCode and alias must be passed as arguments","vuuklehb.aliasBidder")},I.getAllWinningBids=function(){return g.a.getAllWinningBids().map(r.removeRequestId)},I.getAllPrebidWinningBids=function(){return g.a.getBidsReceived().filter((function(e){return e.status===w.BID_STATUS.BID_TARGETING_SET})).map(r.removeRequestId)},I.getHighestCpmBids=function(e){var t=Object(c.a)(g.a.getBidsReceived(),r.getLatestHighestCpmBid);return c.b.getWinningBids(e,t).map(r.removeRequestId)},I.markWinningBidAsUsed=function(t){var e=[];t.adUnitCode&&t.adId?e=g.a.getBidsReceived().filter((function(e){return e.adId===t.adId&&e.adUnitCode===t.adUnitCode})):t.adUnitCode?e=c.b.getWinningBids(t.adUnitCode):t.adId?e=g.a.getBidsReceived().filter((function(e){return e.adId===t.adId})):T.logWarn("Inproper usage of markWinningBidAsUsed. It'll need an adUnitCode and/or adId to function."),0<e.length&&(e[0].status=w.BID_STATUS.RENDERED)},I.getConfig=s.config.getConfig,I.setConfig=s.config.setConfig,I.que.push((function(){return Object(o.a)()})),I.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){T.logError("Error processing command :",e.message,e.stack)}else T.logError("Commands written into vuuklehb.cmd.push must be wrapped in a function")},I.que.push=I.cmd.push,I.processQueue=function(){W(I.que),W(I.cmd)},t.default=I}),(function(e,t,n){"use strict";t.a=function(){addEventListener("message",a,!1)};var i=n(9),f=n.n(i),m=n(17),r=n(4),b=(n.n(r),n(0)),g=n(28),o=n(10),v=n.n(o),h=n(12),y=r.EVENTS.BID_WON;function a(e){var t,n,i,r,o,a,d,s,c,u=e.message?"message":"data",l={};try{l=JSON.parse(e[u])}catch(e){return}if(l&&l.adId){var p=v()(g.a.getBidsReceived(),(function(e){return e.adId===l.adId}));"Prebid Request"===l.message&&(t=p,n=l.adServerDomain,i=e.source,r=t.adId,o=t.ad,a=t.adUrl,d=t.width,s=t.height,c=t.renderer,Object(h.c)(c)?Object(h.b)(c,t):r&&(function(e){var d=e.adUnitCode,i=e.width,r=e.height;function o(e){var t,n,i,r,o=(t=d,window.googletag?(r=t,v()(window.googletag.pubads().getSlots().filter(Object(b.isSlotMatchingAdUnitCode)(r)),(function(e){return e})).getSlotElementId()):window.apntag?(n=t,(i=window.apntag.getTag(n))&&i.targetId):t),a=document.getElementById(o);return a&&a.querySelector(e)}["div","iframe"].forEach((function(e){var t=o(e);if(t){var n=t.style;n.width=i+"px",n.height=r+"px"}else Object(b.logWarn)("Unable to locate matching page element for adUnitCode ".concat(d,". Can't resize it to ad's dimensions. Please review setup."))}))}(t),i.postMessage(JSON.stringify({message:"Prebid Response",ad:o,adUrl:a,adId:r,width:d,height:s}),n)),g.a.addWinningBid(p),f.a.emit(y,p)),"Prebid Native"===l.message&&(Object(m.b)(l,p),g.a.addWinningBid(p),f.a.emit(y,p))}}}),(function(e,t,n){"use strict";t.b=function(e,t){var n={puts:e.map(a)};Object(r.a)(o.config.getConfig("cache.url"),(i=t,{success:function(e){var t;try{t=JSON.parse(e).responses}catch(e){return void i(e,[])}t?i(null,t):i(new Error("The cache server didn't respond with a responses property."),[])},error:function(e,t){i(new Error("Error storing video ad in the cache: ".concat(e,": ").concat(JSON.stringify(t))),[])}}),JSON.stringify(n),{contentType:"text/plain",withCredentials:!0});var i},t.a=function(e){return"".concat(o.config.getConfig("cache.url"),"?uuid=").concat(e)};var r=n(5),o=n(3);function a(e){var t,n,i;return{type:"xml",value:e.vastXml?e.vastXml:(t=e.vastUrl,n=e.vastImpUrl,i=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(i,"</Impression>\n <Creatives></Creatives>\n </Wrapper>\n </Ad>\n </VAST>")),ttlseconds:Number(e.ttl)}}}),(function(e,t,n){"use strict";t.a=function(e){var t;try{e=e||window.sessionStorage,t=JSON.parse(e.getItem(s))}catch(e){}t&&u(t,!0)};var i=n(3),o=n(0),r=n(40);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var d,s="vuuklehb:debugging";function c(e){Object(o.logMessage)("DEBUG: "+e)}function u(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];i.config.setConfig({debug:!0}),c("bidder overrides enabled".concat(t?" from session":"")),d&&r.b.removeHook(d),d=function(e,i,r,t){if(Array.isArray(e.bidders)&&-1===e.bidders.indexOf(r.bidderCode))return n="bidder '".concat(r.bidderCode,"' excluded from auction by bidder overrides"),void Object(o.logWarn)("DEBUG: "+n);var n;Array.isArray(e.bids)&&e.bids.forEach((function(n){n.bidder&&n.bidder!==r.bidderCode||n.adUnitCode&&n.adUnitCode!==i||(r=a({},r),Object.keys(n).filter((function(e){return-1===["bidder","adUnitCode"].indexOf(e)})).forEach((function(e){var t=n[e];c("bidder overrides changed '".concat(i,"/").concat(r.bidderCode,"' bid.").concat(e," from '").concat(r[e],"' to '").concat(t,"'")),r[e]=t})))}));t(i,r)}.bind(null,e),r.b.addHook(d,5)}function l(e){if(e.enabled){try{window.sessionStorage.setItem(s,JSON.stringify(e))}catch(e){}u(e)}else{d&&(r.b.removeHook(d),c("bidder overrides disabled"));try{window.sessionStorage.removeItem(s)}catch(e){}}}i.config.getConfig("debugging",(function(e){return l(e.debugging)}))}),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(function(e,t,n){"use strict";var i=n(15),r=n(34)(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),i(i.P+i.F*a,"Array",{findIndex:function(e){return r(this,e,1<arguments.length?arguments[1]:void 0)}}),n(27)(o)}),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(function(e,t,n){var i=n(15);i(i.S,"Array",{isArray:n(38)})}),(function(e,t,n){var i=n(15);i(i.S,"Number",{isInteger:n(251)})}),(function(e,t,n){var i=n(16),r=Math.floor;e.exports=function(e){return!i(e)&&isFinite(e)&&r(e)===e}})]);
vuuklehbChunk([171],{138:function(e,r,a){e.exports=a(139)},139:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),a.d(r,"spec",(function(){return o}));var p=a(12),g=a(0),n=a(1),u=a(2),t=a(10),v=a.n(t),i=a(7),h=a.n(i);function s(e){return(s="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 c(){return(c=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function _(e){return (function(e){if(Array.isArray(e)){for(var r=0,a=new Array(e.length);r<e.length;r++)a[r]=e[r];return a}})(e)||(function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)})(e)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}var d=["id","mimes","minduration","maxduration","startdelay","skippable","playback_method","frameworks"],k=["age","external_uid","segments","gender","dnt","language"],I=["geo","device_id"],w=["enabled","dongle","member_id","debug_timeout"],m={body:"description",body2:"desc2",cta:"ctatext",image:{serverName:"main_image",requiredParams:{required:!0},minimumParams:{sizes:[{}]}},icon:{serverName:"icon",requiredParams:{required:!0},minimumParams:{sizes:[{}]}},sponsoredBy:"sponsored_by",privacyLink:"privacy_link",salePrice:"saleprice",displayUrl:"displayurl"},o={code:"appnexus",aliases:["appnexusAst","brealtime","emxdigital","pagescience","defymedia","gourmetads","matomy","featureforward","oftmedia","districtm"],supportedMediaTypes:[u.a,u.c,u.b],isBidRequestValid:function(e){return!!(e.params.placementId||e.params.member&&e.params.invCode)},buildRequests:function(e,r){var a,n=e.map(x),t=v()(e,C);t&&(a={},Object.keys(t.params.user).filter((function(e){return h()(k,e)})).forEach((function(e){return a[e]=t.params.user[e]})));var i,s=v()(e,P);s&&s.params&&s.params.app&&(i={},Object.keys(s.params.app).filter((function(e){return h()(I,e)})).forEach((function(e){return i[e]=s.params.app[e]})));var o,d=v()(e,R);d&&d.params&&s.params.app&&s.params.app.id&&(o={appid:d.params.app.id});var p={},u={},c=g.getCookie("apn_prebid_debug")||null;if(c)try{p=JSON.parse(c)}catch(e){g.logError("AppNexus Debug Auction Cookie Error:\n\n"+e)}else{var m=v()(e,T);m&&m.debug&&(p=m.debug)}p&&p.enabled&&Object.keys(p).filter((function(e){return h()(w,e)})).forEach((function(e){u[e]=p[e]}));var l=v()(e,A),f=l?parseInt(l.params.member,10):0,y={tags:_(n),user:a,sdk:{source:"pbjs",version:"1.39.0-pre"}};if(0<f&&(y.member_id=f),s&&(y.device=i),d&&(y.app=o),u.enabled&&(y.debug=u,g.logInfo("AppNexus Debug Auction Settings:\n\n"+JSON.stringify(u,null,4))),r&&r.gdprConsent&&(y.gdpr_consent={consent_string:r.gdprConsent.consentString,consent_required:r.gdprConsent.gdprApplies}),r&&r.refererInfo){var b={rd_ref:encodeURIComponent(r.refererInfo.referer),rd_top:r.refererInfo.reachedTop,rd_ifs:r.refererInfo.numIframes,rd_stk:r.refererInfo.stack.map((function(e){return encodeURIComponent(e)})).join(",")};y.referrer_detection=b}return{method:"POST",url:"//ib.adnxs.com/ut/v3/prebid",data:JSON.stringify(y),bidderRequest:r}},interpretResponse:function(e,r){var i=this,s=r.bidderRequest;e=e.body;var o=[];if(!e||e.error){var a="in response for ".concat(s.bidderCode," adapter");return e&&e.error&&(a+=": ".concat(e.error)),g.logError(a),o}if(e.tags&&e.tags.forEach((function(e){var r,a,n=(r=e)&&r.ads&&r.ads.length&&v()(r.ads,(function(e){return e.rtb}));if(n&&0!==n.cpm&&h()(i.supportedMediaTypes,n.ad_type)){var t=(function(e,r,a){var n=g.getBidRequest(e.uuid,[a]),t={requestId:e.uuid,cpm:r.cpm,creativeId:r.creative_id,dealId:r.deal_id,currency:"USD",netRevenue:!0,ttl:300,adUnitCode:n.adUnitCode,appnexus:{buyerMemberId:r.buyer_member_id,dealPriority:r.deal_priority,dealCode:r.deal_code}};if(r.rtb.video){if(c(t,{width:r.rtb.video.player_width,height:r.rtb.video.player_height,vastUrl:r.rtb.video.asset_url,vastImpUrl:r.notify_url,ttl:3600}),r.renderer_url){var i=g.deepAccess(a.bids[0],"renderer.options");c(t,{adResponse:e,renderer:(function(e,r){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},n=p.a.install({id:r.renderer_id,url:r.renderer_url,config:a,loaded:!1,adUnitCode:e});try{n.setRender(b)}catch(e){g.logWarn("Prebid Error calling setRender on renderer",e)}return n.setEventHandlers({impression:function(){return g.logMessage("AppNexus outstream video impression event")},loaded:function(){return g.logMessage("AppNexus outstream video loaded event")},ended:function(){g.logMessage("AppNexus outstream renderer video event"),document.querySelector("#".concat(e)).style.display="none"}}),n})(t.adUnitCode,r,i)}),t.adResponse.ad=t.adResponse.ads[0],t.adResponse.ad.video=t.adResponse.ad.rtb.video}}else if(r.rtb[u.b]){var s=r.rtb[u.b];t[u.b]={title:s.title,body:s.desc,body2:s.desc2,cta:s.ctatext,rating:s.rating,sponsoredBy:s.sponsored,privacyLink:s.privacy_link,address:s.address,downloads:s.downloads,likes:s.likes,phone:s.phone,price:s.price,salePrice:s.saleprice,clickUrl:s.link.url,displayUrl:s.displayurl,clickTrackers:s.link.click_trackers,impressionTrackers:s.impression_trackers,javascriptTrackers:s.javascript_trackers},s.main_img&&(t.native.image={url:s.main_img.url,height:s.main_img.height,width:s.main_img.width}),s.icon&&(t.native.icon={url:s.icon.url,height:s.icon.height,width:s.icon.width})}else{c(t,{width:r.rtb.banner.width,height:r.rtb.banner.height,ad:r.rtb.banner.content});try{var o=r.rtb.trackers[0].impression_urls[0],d=g.createTrackPixelHtml(o);t.ad+=d}catch(e){g.logError("Error appending tracking pixel",e)}}return t})(e,n,s);t.mediaType=(a=n.ad_type)===u.c?u.c:a===u.b?u.b:u.a,o.push(t)}})),e.debug&&e.debug.debug_info){var n="AppNexus Debug Auction for Prebid\n\n"+e.debug.debug_info;n=n.replace(/(<td>|<th>)/gm,"\t").replace(/(<\/td>|<\/th>)/gm,"\n").replace(/^<br>/gm,"").replace(/(<br>\n|<br>)/gm,"\n").replace(/<h1>(.*)<\/h1>/gm,"\n\n===== $1 =====\n\n").replace(/<h[2-6]>(.*)<\/h[2-6]>/gm,"\n\n*** $1 ***\n\n").replace(/(<([^>]+)>)/gim,""),g.logMessage("https://console.appnexus.com/docs/understanding-the-debug-auction"),g.logMessage(n)}return o},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:"iframe",url:"//acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html"}]},transformBidParams:function(a,e){return a=g.convertTypes({member:"string",invCode:"string",placementId:"number",keywords:g.transformBidderParamKeywords},a),e&&(a.use_pmt_rule="boolean"==typeof a.usePaymentRule&&a.usePaymentRule,a.usePaymentRule&&delete a.usePaymentRule,l(a.keywords)&&a.keywords.forEach(f),Object.keys(a).forEach((function(e){var r=g.convertCamelToUnderscore(e);r!==e&&(a[r]=a[e],delete a[e])}))),a}};function l(e){return!!(g.isArray(e)&&0<e.length)}function f(e){l(e.value)&&""===e.value[0]&&delete e.value}function x(r){var s,o,a={};if(a.sizes=y(r.sizes),a.primary_size=a.sizes[0],a.ad_types=[],a.uuid=r.bidId,r.params.placementId?a.id=parseInt(r.params.placementId,10):a.code=r.params.invCode,a.allow_smaller_sizes=r.params.allowSmallerSizes||!1,a.use_pmt_rule=r.params.usePaymentRule||!1,a.prebid=!0,a.disable_psa=!0,r.params.reserve&&(a.reserve=r.params.reserve),r.params.position&&(a.position={above:1,below:2}[r.params.position]||0),r.params.trafficSourceCode&&(a.traffic_source_code=r.params.trafficSourceCode),r.params.privateSizes&&(a.private_sizes=y(r.params.privateSizes)),r.params.supplyType&&(a.supply_type=r.params.supplyType),r.params.pubClick&&(a.pubclick=r.params.pubClick),r.params.extInvCode&&(a.ext_inv_code=r.params.extInvCode),r.params.externalImpId&&(a.external_imp_id=r.params.externalImpId),!g.isEmpty(r.params.keywords)){var e=g.transformBidderParamKeywords(r.params.keywords);0<e.length&&e.forEach(f),a.keywords=e}if((r.mediaType===u.b||g.deepAccess(r,"mediaTypes.".concat(u.b)))&&(a.ad_types.push(u.b),r.nativeParams)){var n=(s=r.nativeParams,o={},Object.keys(s).forEach((function(e){var r=m[e]&&m[e].serverName||m[e]||e,a=m[e]&&m[e].requiredParams;o[r]=c({},a,s[e]);var n=m[e]&&m[e].minimumParams;if(a&&n){var t=Object.keys(s[e]),i=Object.keys(a);0===t.filter((function(e){return!h()(i,e)})).length&&(o[r]=c({},o[r],n))}})),o);a[u.b]={layouts:[n]}}var t=g.deepAccess(r,"mediaTypes.".concat(u.c)),i=g.deepAccess(r,"mediaTypes.video.context");return(r.mediaType===u.c||t)&&a.ad_types.push(u.c),(r.mediaType===u.c||t&&"outstream"!==i)&&(a.require_asset_url=!0),r.params.video&&(a.video={},Object.keys(r.params.video).filter((function(e){return h()(d,e)})).forEach((function(e){return a.video[e]=r.params.video[e]}))),(g.isEmpty(r.mediaType)&&g.isEmpty(r.mediaTypes)||r.mediaType===u.a||r.mediaTypes&&r.mediaTypes[u.a])&&a.ad_types.push(u.a),a}function y(e){var r=[],a={};if(g.isArray(e)&&2===e.length&&!g.isArray(e[0]))a.width=parseInt(e[0],10),a.height=parseInt(e[1],10),r.push(a);else if("object"===s(e))for(var n=0;n<e.length;n++){var t=e[n];(a={}).width=parseInt(t[0],10),a.height=parseInt(t[1],10),r.push(a)}return r}function C(e){return!!e.params.user}function A(e){return!!parseInt(e.params.member,10)}function P(e){if(e.params)return!!e.params.app}function R(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function T(e){return!!e.debug}function b(e){e.renderer.push((function(){window.ANOutstreamVideo.renderAd({tagId:e.adResponse.tag_id,sizes:[e.getSize().split("x")],targetId:e.adUnitCode,uuid:e.adResponse.uuid,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},function(e,r,a){e.renderer.handleVideoEvent({id:r,eventName:a})}.bind(null,e))}))}Object(n.registerBidder)(o)}},[138]);
vuuklehbChunk([119],{262:function(e,r,t){e.exports=t(263)},263:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",(function(){return b}));var l=t(0),n=t(2),h=t(3),a=t(46),o=t.n(a),i=t(47),s=t.n(i),p=t(1);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 d=[n.a],f=100,c=35,m=!0,y={JPY:1};function u(e){return o()(e)&&2===e.length&&s()(e[0])&&s()(e[1])}var b={code:"ix",supportedMediaTypes:d,isBidRequestValid:function(e){if(!u(e.params.size))return!1;if(!(function(e,r){if(u(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!0;return!1})(e.sizes,e.params.size))return!1;if(e.hasOwnProperty("mediaType")&&"banner"!==e.mediaType)return!1;if(e.hasOwnProperty("mediaTypes")&&!l.deepAccess(e,"mediaTypes.banner.sizes"))return!1;if("string"!=typeof e.params.siteId&&"number"!=typeof e.params.siteId)return!1;var r,t,n=e.params.hasOwnProperty("bidFloor"),a=e.params.hasOwnProperty("bidFloorCur");return!n&&!a||n&&a&&(r=e.params.bidFloor,t=e.params.bidFloorCur,Boolean("number"==typeof r&&"string"==typeof t&&t.match(/^[A-Z]{3}$/)))},buildRequests:function(e,r){for(var t,n,a=[],o=null,i=null,s="https://as-sec.casalemedia.com/cygnus",p=0;p<e.length;p++)o=e[p],n=void 0,(n={}).id=(t=o).bidId,n.banner={},n.banner.w=t.params.size[0],n.banner.h=t.params.size[1],n.banner.topframe=l.inIframe()?0:1,n.ext={},n.ext.siteID=t.params.siteId,!t.params.hasOwnProperty("id")||"string"!=typeof t.params.id&&"number"!=typeof t.params.id?n.ext.sid="".concat(t.params.size[0],"x").concat(t.params.size[1]):n.ext.sid=String(t.params.id),t.params.hasOwnProperty("bidFloor")&&t.params.hasOwnProperty("bidFloorCur")&&(n.bidfloor=t.params.bidFloor,n.bidfloorcur=t.params.bidFloorCur),i=n,a.push(i);var d={};if(d.id=e[0].bidderRequestId,d.imp=a,d.site={},d.ext={},d.ext.source="prebid",document.referrer&&""!==document.referrer&&(d.site.ref=document.referrer),r){if(r.gdprConsent){var u=r.gdprConsent;u.hasOwnProperty("gdprApplies")&&(d.regs={ext:{gdpr:u.gdprApplies?1:0}}),u.hasOwnProperty("consentString")&&(d.user={ext:{consent:u.consentString||""}})}r.refererInfo&&(d.site.page=r.refererInfo.referer,r.refererInfo.referer&&0!==r.refererInfo.referer.indexOf("https")&&(s="http://as.casalemedia.com/cygnus"))}var f={},c=h.config.getConfig("ix");if(c){if("object"===g(c.firstPartyData)){var m=c.firstPartyData,y="?";for(var b in m)m.hasOwnProperty(b)&&(y+="".concat(encodeURIComponent(b),"=").concat(encodeURIComponent(m[b]),"&"));y=y.slice(0,-1),d.site.page+=y}"number"==typeof c.timeout&&(f.t=c.timeout)}return f.s=e[0].params.siteId,f.v=7.2,f.r=JSON.stringify(d),f.ac="j",f.sd=1,{method:"GET",url:s,data:f}},interpretResponse:function(e){var r=[],t=null;if(!e.hasOwnProperty("body")||!e.body.hasOwnProperty("seatbid"))return r;for(var n,a,o,i=e.body,s=i.seatbid,p=0;p<s.length;p++)if(s[p].hasOwnProperty("bid"))for(var d=s[p].bid,u=0;u<d.length;u++)n=d[u],a=i.cur,o=void 0,o={},y.hasOwnProperty(a)?o.cpm=n.price/y[a]:o.cpm=n.price/f,o.requestId=n.impid,o.width=n.w,o.height=n.h,o.ad=n.adm,o.dealId=l.deepAccess(n,"ext.dealid"),o.ttl=c,o.netRevenue=m,o.currency=a,o.creativeId=n.hasOwnProperty("crid")?n.crid:"-",t=o,r.push(t);return r},transformBidParams:function(e,r){return l.convertTypes({siteID:"number"},e)}};Object(p.registerBidder)(b)}},[262]);
vuuklehbChunk([98],{312:function(e,t,n){e.exports=n(313)},313:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetBoPixel=function(){h=!0},n.d(t,"spec",(function(){return f}));var c=n(3),r=n(1),d=n(0),u=n(18),p=n(2),m=n(11);function s(e,t){return (function(e){if(Array.isArray(e))return e})(e)||(function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var s,o=e[Symbol.iterator]();!(r=(s=o.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==o.return||o.return()}finally{if(a)throw i}}return n})(e,t)||(function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")})()}var a=[p.a,p.c],l="openx",i="hb_pb",o="2.1.6",h=!0;var f={code:l,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,r){if(0===e.length)return[];var a=[],t=s(e.reduce((function(e,t){var n;return n=t,d.deepAccess(n,"mediaTypes.video")||n.mediaType===p.c?e[0].push(t):e[1].push(t),e}),[[],[]]),2),n=t[0],i=t[1];return 0<i.length&&a.push(function(e,t){var n=[],r=!1,a=b(e,t),i=d._map(e,(function(e){return e.params.unit}));a.aus=d._map(e,(function(e){return d.parseSizesInput(e.sizes).join(",")})).join("|"),a.divIds=d._map(e,(function(e){return encodeURIComponent(e.adUnitCode)})).join(","),i.some((function(e){return e}))&&(a.auid=i.join(","));e.some((function(e){return e.params.doNotTrack}))&&(a.ns=1);e.some((function(e){return e.params.coppa}))&&(a.tfcd=1);e.forEach((function(a){if(a.params.customParams){var e=d._map(Object.keys(a.params.customParams),(function(e){return t=e,n=a.params.customParams,r=n[t],d.isArray(r)&&(r=r.join(",")),(t.toLowerCase()+"="+r.toLowerCase()).replace("+",".").replace("/","_");var t,n,r})),t=window.btoa(e.join("&"));r=!0,n.push(t)}else n.push("")})),r&&(a.tps=n.join(","));var s=[],o=!1;e.forEach((function(e){e.params.customFloor?(s.push(1e3*e.params.customFloor),o=!0):s.push(0)})),o&&(a.aumfs=s.join(","));return{method:"GET",url:a.ph?"//u.openx.net/w/1.0/arj":"//".concat(e[0].params.delDomain,"/w/1.0/arj"),data:a,payload:{bids:e,startTime:new Date}}}(i,r)),0<n.length&&n.forEach((function(e){var t,n;a.push({method:"GET",url:(n=(function(e,t){var n,r,a=b([e],t),i=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])?(n=parseInt(e.sizes[0],10),r=parseInt(e.sizes[1],10)):d.isArray(e.sizes)&&d.isArray(e.sizes[0])&&2===e.sizes[0].length?(n=parseInt(e.sizes[0][0],10),r=parseInt(e.sizes[0][1],10)):d.isArray(o)&&2===o.length&&(n=parseInt(o[0],10),r=parseInt(o[1],10));Object.keys(i).forEach((function(e){"openrtb"===e?(i[e].w=n||i[e].w,i[e].v=r||i[e].v,a[e]=JSON.stringify(i[e])):e in a||"url"===e||(a[e]=i[e])})),a.auid=e.params.unit,a.vwd=n||i.vwd,a.vht=r||i.vht,"outstream"===s&&(a.vos="101");i.mimes&&(a.vmimes=i.mimes);return a})(t=e,r)).ph?"//u.openx.net/v/1.0/avjp":"//".concat(t.params.delDomain,"/v/1.0/avjp"),data:n,payload:{bid:t,startTime:new Date}})})),a},interpretResponse:function(e,t){var n=e.body;return(/avjp$/.test(t.url)?p.c:p.a)===p.c?(function(e,t){var n=t.bid,r=t.startTime,a=[];if(void 0!==e&&""!==e.vastUrl&&""!==e.pub_rev){var i=Object(m.c)(e.vastUrl).search||{},s={};s.requestId=n.bidId,s.bidderCode=l,s.ttl=300,s.netRevenue=!0,s.currency=e.currency,s.cpm=Number(e.pub_rev)/1e3,s.width=e.width,s.height=e.height,s.creativeId=e.adid,s.vastUrl=e.vastUrl,s.mediaType=p.c,e.ph=i.ph,e.colo=i.colo,e.ts=i.ts,a.push(s),g(p.c,e,r)}return a})(n,t.payload):(function(e,t){for(var n=t.bids,r=t.startTime,a=e.ads.ad,i=[],s=0;s<a.length;s++){var o=a[s],c=parseInt(o.idx,10),d={};if(d.requestId=n[c].bidId,o.pub_rev){d.cpm=Number(o.pub_rev)/1e3;var u=o.creative[0];u&&(d.width=u.width,d.height=u.height),d.creativeId=u.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,i.push(d),g(p.a,o,r)}}return i})(n,t.payload)},getUserSyncs:function(e,t){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")||"//u.openx.net/w/1.0/pd"}]},transformBidParams:function(e,t){return d.convertTypes({unit:"string",customFloor:"number"},e)}};function v(t){for(var e in t)t.hasOwnProperty(e)&&(t[e]||delete t[e]);return d._map(Object.keys(t),(function(e){return"".concat(e,"=").concat(t[e])})).join("&")}function b(e,t){var n,r=d.inIframe();if(n={ju:c.config.getConfig("pageUrl")||d.getTopWindowUrl(),jr:d.getTopWindowReferrer(),ch:document.charSet||document.characterSet,res:"".concat(screen.width,"x").concat(screen.height,"x").concat(screen.colorDepth),ifr:r,tz:(new Date).getTimezoneOffset(),tws:(function(e){var t,n,r,a=window,i=document,s=i.documentElement;if(e){try{a=window.top,i=window.top.document}catch(e){return}s=i.documentElement,r=i.body,t=a.innerWidth||s.clientWidth||r.clientWidth,n=a.innerHeight||s.clientHeight||r.clientHeight}else s=i.documentElement,t=a.innerWidth||s.clientWidth,n=a.innerHeight||s.clientHeight;return"".concat(t,"x").concat(n)})(r),be:1,bc:e[0].params.bc||"".concat(i,"_").concat(o),dddid:d._map(e,(function(e){return e.transactionId})).join(","),nocache:(new Date).getTime()},e[0].params.platform&&(n.ph=e[0].params.platform),d.deepAccess(t,"gdprConsent")){var a=t.gdprConsent;void 0!==a.consentString&&(n.gdpr_consent=a.consentString),void 0!==a.gdprApplies&&(n.gdpr=a.gdprApplies?1:0),"iab"===c.config.getConfig("consentManagement.cmpApi")&&(n.x_gdpr_f=1)}return e[0].crumbs&&e[0].crumbs.pubcid&&(n.pubcid=e[0].crumbs.pubcid),n}function g(e,t,n){if(h){h=!1;var r,a=c.config.getConfig("bidderTimeout");window.PREBID_TIMEOUT&&(a=Math.min(window.PREBID_TIMEOUT,a));var i={bd:+new Date-n,bp:t.pub_rev,br:"0",bs:d.getTopWindowLocation().hostname,bt:a,ts:t.ts};if(i.br=i.bt<i.bd?"t":"p",e===p.c){var s=Object(m.c)(t.colo);i.ph=t.ph,r="//".concat(s.hostname,"/w/1.0/bo?").concat(v(i))}else{var o=d.deepAccess(t,"creative.0.tracking.impression").match(/([^?]+\/)ri\?/);o&&1<o.length&&(r="".concat(o[1],"bo?").concat(v(i)))}r&&u.a.registerSync("image",l,r)}}Object(r.registerBidder)(f)}},[312]);
vuuklehbChunk([68],{387:function(e,r,t){e.exports=t(388)},388:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"FASTLANE_ENDPOINT",(function(){return a})),t.d(r,"VIDEO_ENDPOINT",(function(){return s})),t.d(r,"SYNC_ENDPOINT",(function(){return i})),t.d(r,"spec",(function(){return d})),r.hasVideoMediaType=x,r.masSizeOrdering=_,r.determineRubiconVideoSizeId=A,r.resetUserSync=function(){z=!1};var u=t(0),n=t(1),p=t(3),l=t(2);function f(e,r){return (function(e){if(Array.isArray(e))return e})(e)||(function(e,r){var t=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(t.push(a.value),!r||t.length!==r);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return t})(e,r)||(function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")})()}function y(e){return(y="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 c="pbjs_lite_v1.39.0-pre";var a="//fastlane.rubiconproject.com/a/api/fastlane.json",s="//fastlane-adv.rubiconproject.com/v1/auction/video",i="https://eus.rubiconproject.com/usync.html",v={1:"468x60",2:"728x90",5:"120x90",8:"120x600",9:"160x600",10:"300x600",13:"200x200",14:"250x250",15:"300x250",16:"336x280",19:"300x100",31:"980x120",32:"250x360",33:"180x500",35:"980x150",37:"468x400",38:"930x180",39:"750x100",40:"750x200",41:"750x300",43:"320x50",44:"300x50",48:"300x300",53:"1024x768",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",60:"320x150",61:"1000x1000",64:"580x500",65:"640x480",66:"930x600",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",78:"980x240",79:"980x300",80:"980x400",83:"480x300",94:"970x310",96:"970x210",101:"480x320",102:"768x1024",103:"480x280",105:"250x800",108:"320x240",113:"1000x300",117:"320x100",125:"800x250",126:"200x600",144:"980x600",145:"980x150",159:"320x250",195:"600x300",198:"640x360",199:"640x200",213:"1030x590",214:"980x360",229:"320x180",232:"580x400",257:"400x600"};u._each(v,(function(e,r){return v[e]=r}));var d={code:"rubicon",aliases:["rubiconLite"],supportedMediaTypes:[l.a,l.c],isBidRequestValid:function(e){return"object"===y(e.params)&&(!!/^\d+$/.test(e.params.accountId)&&!!h(e,!0))},buildRequests:function(e,o){var r=[],t=e.filter((function(e){return"video"===h(e)})).map((function(e){e.startTime=(new Date).getTime();var r=e.params,t=b(e,"video"),n={page_url:m(e,o),resolution:g(),account_id:r.accountId,integration:c,"x_source.tid":e.transactionId,timeout:o.timeout-(Date.now()-o.auctionStart+500),stash_creatives:!0,slots:[]},i={site_id:r.siteId,zone_id:r.zoneId,position:"atf"===r.position||"btf"===r.position?r.position:"unknown",floor:.01<parseFloat(r.floor)?r.floor:.01,element_id:e.adUnitCode,name:e.adUnitCode,width:t[0],height:t[1],size_id:A(e)};return r.video&&(n.ae_pass_through_parameters=r.video.aeParams,i.language=r.video.language),r.inventory&&"object"===y(r.inventory)&&(i.inventory=r.inventory),r.keywords&&Array.isArray(r.keywords)&&(i.keywords=r.keywords),r.visitor&&"object"===y(r.visitor)&&(i.visitor=r.visitor),n.slots.push(i),o.gdprConsent&&("boolean"==typeof o.gdprConsent.gdprApplies&&(n.gdpr=Number(o.gdprConsent.gdprApplies)),n.gdpr_consent=o.gdprConsent.consentString),{method:"POST",url:s,data:n,bidRequest:e}}));if(!0!==p.config.getConfig("rubicon.singleRequest"))r=t.concat(e.filter((function(e){return"banner"===h(e)})).map((function(e){var n=d.createSlotParams(e,o);return{method:"GET",url:a,data:d.getOrderedParams(n).reduce((function(e,r){var t=n[r];return u.isStr(t)&&""!==t||u.isNumber(t)?"".concat(e).concat(r,"=").concat(encodeURIComponent(t),"&"):e}),"")+"slots=1&rand=".concat(Math.random()),bidRequest:e}})));else{var i=e.filter((function(e){return"banner"===h(e)})).reduce((function(e,r){return(e[r.params.siteId]=e[r.params.siteId]||[]).push(r),e}),{});r=t.concat(Object.keys(i).map((function(e){var r=i[e];10<r.length&&(u.logWarn("Rubicon bid adapter Warning: single request mode has a limit of 10 bids: ".concat(r.length-10," bids were not sent")),r=r.slice(0,10));var n=d.combineSlotUrlParams(r.map((function(e){return d.createSlotParams(e,o)})));return{method:"GET",url:a,data:d.getOrderedParams(n).reduce((function(e,r){var t=n[r];return u.isStr(t)&&""!==t||u.isNumber(t)?"".concat(e).concat(r,"=").concat(encodeURIComponent(t),"&"):e}),"")+"slots=".concat(r.length,"&rand=").concat(Math.random()),bidRequest:r}})))}return r},getOrderedParams:function(e){var r=/^tg_v/,t=/^tg_i/,n=["account_id","site_id","zone_id","size_id","alt_size_ids","p_pos","gdpr","gdpr_consent","rf","dt.id","dt.keyv","dt.pref","p_geo.latitude","p_geo.longitude","kw"].concat(Object.keys(e).filter((function(e){return r.test(e)}))).concat(Object.keys(e).filter((function(e){return t.test(e)}))).concat(["tk_flint","x_source.tid","p_screen_res","rp_floor","rp_secure","tk_user_key"]);return n.concat(Object.keys(e).filter((function(e){return-1===n.indexOf(e)})))},combineSlotUrlParams:function(i){if(1===i.length)return i[0];var n=i.reduce((function(r,t,n){return Object.keys(t).forEach((function(e){r.hasOwnProperty(e)||(r[e]=new Array(i.length)),r[e].splice(n,1,t[e])})),r}),{}),o=new RegExp("^([^;]*)(;\\1)+$");return Object.keys(n).forEach((function(e){var r=n[e].join(";"),t=r.match(o);n[e]=t?t[1]:r})),n},createSlotParams:function(e,r){e.startTime=(new Date).getTime();var t=e.params,n=b(e,"banner"),i=f(t.latLong||[],2),o=i[0],a=i[1],s={account_id:t.accountId,site_id:t.siteId,zone_id:t.zoneId,size_id:n[0],alt_size_ids:n.slice(1).join(",")||void 0,p_pos:"atf"===t.position||"btf"===t.position?t.position:"unknown",rp_floor:.01<(t.floor=parseFloat(t.floor))?t.floor:.01,rp_secure:"https:"===location.protocol?"1":"0",tk_flint:c,"x_source.tid":e.transactionId,p_screen_res:g(),kw:Array.isArray(t.keywords)?t.keywords.join(","):"",tk_user_key:t.userId,"p_geo.latitude":isNaN(parseFloat(o))?void 0:parseFloat(o).toFixed(4),"p_geo.longitude":isNaN(parseFloat(a))?void 0:parseFloat(a).toFixed(4),"tg_fl.eid":e.code,rf:m(e,r)};r.gdprConsent&&("boolean"==typeof r.gdprConsent.gdprApplies&&(s.gdpr=Number(r.gdprConsent.gdprApplies)),s.gdpr_consent=r.gdprConsent.consentString),null!==t.visitor&&"object"===y(t.visitor)&&Object.keys(t.visitor).forEach((function(e){null!=t.visitor[e]&&(s["tg_v.".concat(e)]=t.visitor[e].toString())})),null!==t.inventory&&"object"===y(t.inventory)&&Object.keys(t.inventory).forEach((function(e){null!=t.inventory[e]&&(s["tg_i.".concat(e)]=t.inventory[e].toString())}));var d=(function(){var e=(r=window.DigiTrust&&(p.config.getConfig("digiTrustId")||window.DigiTrust.getUser({member:"T9QSFKPDN9"})),r&&r.success&&r.identity||null);var r;if(!e||e.privacy&&e.privacy.optout)return[];return{"dt.id":e.id,"dt.keyv":e.keyv,"dt.pref":0}})();return Object.keys(d).forEach((function(e){s[e]=d[e]})),s},interpretResponse:function(d,e){var c=e.bidRequest;if(!(d=d.body)||"object"!==y(d))return[];var r=d.ads;return"object"!==y(c)||Array.isArray(c)||"video"!==h(c)||"object"!==y(r)||(r=r[c.adUnitCode]),!Array.isArray(r)||r.length<1?[]:r.reduce((function(e,r,t){if("ok"!==r.status)return e;var n,i,o=Array.isArray(c)?c[t]:c;if(o&&"object"===y(o)){var a={requestId:o.bidId,currency:"USD",creativeId:r.creative_id||"".concat(r.network||"","-").concat(r.advertiser||""),cpm:r.cpm||0,dealId:r.deal,ttl:300,netRevenue:p.config.getConfig("rubicon.netRevenue")||!1,rubicon:{advertiserId:r.advertiser,networkId:r.network}};if(r.creative_type&&(a.mediaType=r.creative_type),r.creative_type===l.c)a.width=o.params.video.playerWidth,a.height=o.params.video.playerHeight,a.vastUrl=r.creative_depot_url,a.impression_id=r.impression_id,a.videoCacheKey=r.impression_id;else{a.ad=(n=r.script,i=r.impression_id,"<html>\n<head><script type='text/javascript'>inDapIF=true;<\/script></head>\n<body style='margin : 0; padding: 0;'>\n\x3c!-- Rubicon Project Ad Tag --\x3e\n<div data-rp-impression-id='".concat(i,"'>\n<script type='text/javascript'>").concat(n,"<\/script>\n</div>\n</body>\n</html>"));var s=f(v[r.size_id].split("x").map((function(e){return Number(e)})),2);a.width=s[0],a.height=s[1]}a.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:o.adUnitCode}),e.push(a)}else u.logError("Rubicon bid adapter Error: bidRequest undefined at index position:".concat(t),c,d);return e}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t){if(!z&&e.iframeEnabled){var n="";return t&&"string"==typeof t.consentString&&("boolean"==typeof t.gdprApplies?n+="?gdpr=".concat(Number(t.gdprApplies),"&gdpr_consent=").concat(t.consentString):n+="?gdpr_consent=".concat(t.consentString)),z=!0,{type:"iframe",url:i+n}}},transformBidParams:function(e,r){return u.convertTypes({accountId:"number",siteId:"number",zoneId:"number"},e)}};function g(){return[window.screen.width,window.screen.height].join("x")}function m(e,r){var t=p.config.getConfig("pageUrl");return e.params.referrer?t=e.params.referrer:t||(t=r.refererInfo.referer),e.params.secure?t.replace(/^http:/i,"https:"):t}function b(e,r){var t=e.params;if("video"===r){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray(u.deepAccess(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&0<e.sizes.length&&Array.isArray(e.sizes[0])&&1<e.sizes[0].length&&(n=e.sizes[0]),n}var i=[];return Array.isArray(t.sizes)?i=t.sizes:void 0!==u.deepAccess(e,"mediaTypes.banner.sizes")?i=o(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&0<e.sizes.length?i=o(e.sizes):u.logWarn("Warning: no sizes are setup or found"),_(i)}function o(e){return u.parseSizesInput(e).reduce((function(e,r){var t=parseInt(v[r],10);return t&&e.push(t),e}),[])}function x(e){return"object"===y(u.deepAccess(e,"params.video"))&&(e.mediaType===l.c||void 0!==u.deepAccess(e,"mediaTypes.".concat(l.c)))}function h(e){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(x(e)){if(void 0!==u.deepAccess(e,"mediaTypes.".concat(l.c))){if(-1===["outstream","instream"].indexOf(u.deepAccess(e,"mediaTypes.".concat(l.c,".context"))))return void(r&&u.logError("Rubicon bid adapter requires mediaTypes.video.context to be one of outstream or instream"))}else if(r&&u.logWarn("Rubicon video bid requested using legacy `adUnit.mediaType = `video``\nThis is deprecated\nPlease move towards the PBJS standard using mediaTypes object!"),isNaN(parseInt(u.deepAccess(e,"params.video.size_id"))))return void(r&&u.logError("Rubicon bid adapter needs params.video.size_id to be declared and an integer in order to process a legacy video request using mediaType == video"));return b(e,"video").length<2?void(r&&u.logError("Rubicon bid adapter could not determine the playerSize of the video\nplayerWidth and playerHeight are inferred from one of params.playerWidth/playerHeight or mediaTypes.video.playerSize or adUnit.sizes, in that order")):(r&&u.logMessage("Rubicon bid adapter making video request for adUnit",e.adUnitCode),"video")}return 0===b(e,"banner").length?void(r&&u.logError("Rubicon bid adapter could not determine the sizes for a banner request\nThey are inferred from one of params.sizes or mediaTypes.banner.sizes or adUnit.sizes, in that order")):(r&&u.logMessage("Rubicon bid adapter making banner request for adUnit",e.adUnitCode),"banner")}function _(e){var i=[15,2,9];return e.sort((function(e,r){var t=i.indexOf(e),n=i.indexOf(r);return-1<t||-1<n?-1===t?1:-1===n?-1:t-n:e-r}))}function A(e){var r=parseInt(u.deepAccess(e,"params.video.size_id"));return isNaN(r)?"outstream"===u.deepAccess(e,"mediaTypes.".concat(l.c,".context"))?203:201:r}var z=!1;Object(n.registerBidder)(d)}},[387]);
vuuklehbChunk([50],{427:function(e,i,t){e.exports=t(428)},428:function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),t.d(i,"spec",(function(){return n}));var p=t(0),r=t(1),l=t(14),c=t(4),b="tim";var n={code:b,aliases:["timmedia"],isBidRequestValid:function(e){return!!(e.params&&e.params.publisherid&&e.params.placementCode)||(e.params?e.params.publisherid?e.params.placementCode||p.logError("bid not valid: placementCode was not provided"):p.logError("bid not valid: publisherid was not provided"):p.logError("bid not valid: params were not provided"),!1)},buildRequests:function(e,i){for(var t=[],r=0;r<e.length;r++)t.push(this.createRTBRequestURL(e[r]));return t},createRTBRequestURL:function(e){var i=window.location.host,t=window.location.href,r=e.params.publisherid,n=e.params.bidfloor,a=e.params.placementCode,d=e.mediaTypes.banner.sizes[0][0],o=e.mediaTypes.banner.sizes[0][1],s={id:p.getUniqueIdentifierStr(),imp:[{id:e.bidId,banner:{w:d,h:o},tagid:a,bidfloor:n}],site:{domain:i,page:t,publisher:{id:r}},device:{language:this.getLanguage(),w:d,h:o,js:1,ua:navigator.userAgent}};return n||delete s.imp.bidfloor,s.bidId=e.bidId,{method:"GET",url:"//hb.timmedia-hb.com/api/v2/services/prebid/"+r+"/"+a+"?br="+encodeURIComponent(JSON.stringify(s)),data:"",options:{withCredentials:!1}}},interpretResponse:function(e,o){o=(function(e){var i={},t=e.url.split("?")[1].split("&");try{for(var r in t){var n=t[r].split("=");i[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}}catch(e){p.logError(e)}return JSON.parse(i.br)})(o);var s=e.body,u=[];return s&&s.id&&s.seatbid&&0!==s.seatbid.length&&s.seatbid[0].bid&&0!==s.seatbid[0].bid.length?(s.seatbid[0].bid.forEach((function(e){var i,t,r,n="";if(o){var a=l.createBid(1);if(n=o.placementCode,o.status=c.STATUS.GOOD,0===(i=parseFloat(e.price))){var d=l.createBid(2);return d.bidderCode=b,u.push(d),u}a.placementCode=n,a.size=o.sizes,a.creativeId=e.id,a.bidderCode=b,a.cpm=i,a.ad=(r=(t=e).adm,"nurl"in t&&(r+=(function(e){if(!e)return"";var i='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return i+='<img src="'+e+'"></div>'})(t.nurl)),"<!DOCTYPE html><html><head><title></title><body style='margin:0px;padding:0px;'>".concat(r,"</body></head>")),a.width=parseInt(e.w),a.height=parseInt(e.h),a.currency=s.cur,a.netRevenue=!0,a.requestId=o.bidId,a.ttl=180,u.push(a)}})),u):[]},getLanguage:function(){var e=navigator.language?"language":"userLanguage";return navigator[e].split("-")[0]},getUserSyncs:function(e,i){return[]},onTimeout:function(e){},onBidWon:function(e){},onSetTargeting:function(e){}};Object(r.registerBidder)(n)}},[427]);
vuuklehb.processQueue();