Victorias sjukdomstillstånd – fortfarande osäkert

‘:””},t.getDefinedParams=function(e,t){return t.filter(function(t){return e[t]}).reduce(function(t,n){return p(t,i({},n,e[n]))},{})},t.isValidMediaTypes=function(e){var t=[“banner”,”native”,”video”],n=[“instream”,”outstream”];return!!Object.keys(e).every(function(e){return(0,m.default)(t,e)})&&(!e.video||!e.video.context||(0,m.default)(n,e.video.context))},t.getBidderRequest=function(e,t,n){return(0,b.default)(e,function(e){return e.bids.filter(function(e){return e.bidder===t&&e.adUnitCode===n}).length>0})||{start:null,auctionId:null}},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+”//”+window.location.hostname+(window.location.port?”:”+window.location.port:””)},t.isAdUnitCodeMatchingSlot=function(e){return function(t){return O(e,t)}},t.isSlotMatchingAdUnitCode=function(e){return function(t){return O(t,e)}},t.unsupportedBidderMessage=function(e,t){var n=e.mediaType||Object.keys(e.mediaTypes).join(“, “),r=1===t.length?”This bidder”:”These bidders”;return”\n “+e.code+” is a “+n+” ad unit\n containing bidders that don’t support “+n+”: “+t.join(“, “)+”.\n “+r+” won’t fetch demand.\n “},t.deletePropertyFromObject=function(e,t){var n=p({},e);return delete n[t],n},t.removeRequestId=function(e){return t.deletePropertyFromObject(e,”requestId”)},t.isInteger=function(e){return Number.isInteger?Number.isInteger(e):”number”==typeof e&&isFinite(e)&&Math.floor(e)===e};var v=n(3),y=r(n(62)),b=r(n(11)),m=r(n(7)),h=n(2),E=!1,S=Object.prototype.toString,T=null;try{T=console.info.bind(window.console)}catch(e){}t.replaceTokenInString=function(e,t,n){return this._each(t,function(t,r){t=void 0===t?””:t;var i=n+r.toUpperCase()+n,o=new RegExp(i,”g”);e=e.replace(o,t)}),e};var A=function(){var e=0;return function(){return++e}}();t.getUniqueIdentifierStr=o,t.generateUUID=function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){return t&&t[e]?t[e]:””},t.tryAppendQueryString=function(e,t,n){return n?e+=t+”=”+encodeURIComponent(n)+”&”:e},t.parseQueryStringParameters=function(e){var t=””;for(var n in e)e.hasOwnProperty(n)&&(t+=n+”=”+encodeURIComponent(e[n])+”&”);return t},t.transformAdServerTargetingObj=function(e){return e&&Object.getOwnPropertyNames(e).length>0?f(e).map(function(t){return t+”=”+encodeURIComponent(l(e,t))}).join(“&”):””},t.getTopWindowLocation=function(){var e=void 0;try{window.top.location.toString(),e=window.top.location}catch(t){e=window.location}return e},t.getTopWindowUrl=function(){var e=void 0;try{e=this.getTopWindowLocation().href}catch(t){e=””}return e},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logWarn=function(e){I()&&console.warn&&console.warn(“WARNING: “+e)},t.logInfo=function(e,t){I()&&u()&&T&&(t&&0!==t.length||(t=””),T(“INFO: “+e+(“”===t?””:” : params : “),t))},t.logMessage=function(e){I()&&u()&&console.log(“MESSAGE: “+e)},t.hasConsoleLogger=u;var I=function(){if(!1===v.config.getConfig(“debug”)&&!1===E){var e=”TRUE”===_(h.DEBUG_MODE).toUpperCase();v.config.setConfig({debug:e}),E=!0}return!!v.config.getConfig(“debug”)};t.debugTurnedOn=I,t.logError=function(){I()&&c()&&console.error.apply(console,arguments)},t.createInvisibleIframe=function(){var e=document.createElement(“iframe”);return e.id=o(),e.height=0,e.width=0,e.border=”0px”,e.hspace=”0″,e.vspace=”0″,e.marginWidth=”0″,e.marginHeight=”0″,e.style.border=”0″,e.scrolling=”no”,e.frameBorder=”0″,e.src=”about:blank”,e.style.display=”none”,e};var _=function(e){var t=”[\\?&]”+e+”=([^]*)”,n=new RegExp(t).exec(window.location.search);return null===n?””:decodeURIComponent(n[1].replace(/\+/g,” “))};t.getParameterByName=_,t.hasValidBidRequest=function(e,t,n){for(var r=!1,i=0;i0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0},t.isEmptyStr=function(e){return this.isStr(e)&&(!e||0===e.length)},t._each=function(e,t){if(!this.isEmpty(e)){if(this.isFn(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(r>0)for(;n’},t.createTrackPixelIframeHtml=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:””;return e?(n&&(e=encodeURI(e)),r&&(r=’sandbox=”‘+r+'”‘),”‘):””},t.getIframeDocument=function(e){if(e){var t=void 0;try{t=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){this.logError(“Cannot get iframe document”,e)}return t}},t.getValueString=function(e,t,n){return void 0===t||null===t?n:this.isStr(t)?t:this.isNumber(t)?t.toString():void this.logWarn(“Unsuported type for param: “+e+” required type: String”)};var O=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t}},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){function t(t){if(e.getUserSyncs){var n=e.getUserSyncs({iframeEnabled:l.config.getConfig(“userSync.iframeEnabled”),pixelEnabled:l.config.getConfig(“userSync.pixelEnabled”)},t);n&&(Array.isArray(n)||(n=[n]),n.forEach(function(t){v.userSync.registerSync(t.type,e.code,t.url)}))}}function n(t){return!!e.isBidRequestValid(t)||((0,h.logWarn)(“Invalid bid sent to bidder “+e.code+”: “+JSON.stringify(t)),!1)}return s(new d.default(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:t,callBids:function(r,i,o,u){function d(e,t){v[e]=!0,a(e,t,[r])&&i(e,t)}function f(){o(),t(y)}function l(e){return e?”?”+(“object”===(void 0===e?”undefined”:c(e))?(0,h.parseQueryStringParameters)(e):e):””}if(Array.isArray(r.bids)){var v={},y=[],b=r.bids.filter(n);if(0!==b.length){var m={};b.forEach(function(e){m[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)});var E=e.buildRequests(b,r);if(E&&0!==E.length){Array.isArray(E)||(E=[E]);var S=(0,h.delayExecution)(f,E.length);E.forEach(function(t){function n(n,r){function i(t){var n=m[t.requestId];if(n){var r=s(p.default.createBid(g.STATUS.GOOD,n),t);d(n.adUnitCode,r)}else(0,h.logWarn)(“Bidder “+e.code+” made bid for unknown request ID: “+t.requestId+”. Ignoring.”)}try{n=JSON.parse(n)}catch(e){}n={body:n,headers:{get:r.getResponseHeader.bind(r)}},y.push(n);var o=void 0;try{o=e.interpretResponse(n,t)}catch(t){return(0,h.logError)(“Bidder “+e.code+” failed to interpret the server’s response. Continuing without bids”,null,t),void S()}o&&(o.forEach?o.forEach(i):i(o)),S()}function r(t){(0,h.logError)(“Server call for “+e.code+” failed: “+t+”. Continuing without bids.”),S()}switch(t.method){case”GET”:u(“”+t.url+l(t.data),{success:n,error:r},void 0,s({method:”GET”,withCredentials:!0},t.options));break;case”POST”:u(t.url,{success:n,error:r},”string”==typeof t.data?t.data:JSON.stringify(t.data),s({method:”POST”,contentType:”text/plain”,withCredentials:!0},t.options));break;default:(0,h.logWarn)(“Skipping invalid request from “+e.code+”. Request type “+t.type+” must be GET or POST”),S()}})}else f()}else f()}}})}function o(e,t,n){if((t.width||0===t.width)&&(t.height||0===t.height))return!0;var r=(0,h.getBidderRequest)(n,t.bidderCode,e),i=r&&r.bids&&r.bids[0]&&r.bids[0].sizes,o=(0,h.parseSizesInput)(i);if(1===o.length){var a=o[0].split(“x”),c=u(a,2),s=c[0],d=c[1];return t.width=s,t.height=d,!0}return!1}function a(e,t,n){function r(e){return”Invalid bid from “+t.bidderCode+”. Ignoring bid: “+e}return e?t?function(){var e=Object.keys(t);return E.every(function(t){return(0,m.default)(e,t)})}()?”native”!==t.mediaType||(0,y.nativeBidIsValid)(t,n)?”video”!==t.mediaType||(0,b.isValidVideoBid)(t,n)?!(“banner”===t.mediaType&&!o(e,t,n)&&((0,h.logError)(r(“Banner bids require a width and height”)),1)):((0,h.logError)(r(“Video bid does not have required vastUrl or renderer property”)),!1):((0,h.logError)(r(“Native bid missing some required properties.”)),!1):((0,h.logError)(r(“Bidder “+t.bidderCode+” is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params.”)),!1):((0,h.logWarn)(“Some adapter tried to add an undefined bid for “+e+”.”),!1):((0,h.logWarn)(“No adUnitCode was supplied to addBidResponse.”),!1)}Object.defineProperty(t,”__esModule”,{value:!0});var u=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),c=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},s=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,i=void 0===r?[]:r;e&&n?”function”==typeof e.callBids?(A[n]=e,(0,m.default)(i,”video”)&&t.videoAdapters.push(n),(0,m.default)(i,”native”)&&g.nativeAdapters.push(n)):h.logError(“Bidder adaptor error for bidder code: “+n+”bidder must implement a callBids() function”):h.logError(“bidAdaptor or bidderCode not specified”)},t.aliasBidAdapter=function(e,t){if(void 0===A[t]){var n=A[e];if(void 0===n)h.logError(‘bidderCode “‘+e+'” is not an existing bidder.’,”adaptermanager.aliasBidAdapter”);else try{var r=void 0,i=s(e);if(n.constructor.prototype!=Object.prototype)(r=new n.constructor).setBidderCode(t);else{var o=n.getSpec();r=(0,v.newBidder)(f({},o,{code:t}))}this.registerBidAdapter(r,t,{supportedMediaTypes:i})}catch(t){h.logError(e+” bidder does not currently support aliasing.”,”adaptermanager.aliasBidAdapter”)}}else h.logMessage(‘alias name “‘+t+'” has been already specified.’)},t.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code;t&&n?”function”==typeof t.enableAnalytics?(t.code=n,_[n]=t):h.logError(‘Prebid Error: Analytics adaptor error for analytics “‘+n+'”\n analytics adapter must implement an enableAnalytics() function’):h.logError(“Prebid Error: analyticsAdapter or analyticsCode not specified”)},t.enableAnalytics=function(e){h.isArray(e)||(e=[e]),h._each(e,function(e){var t=_[e.provider];t?t.enableAnalytics(e):h.logError(“Prebid Error: no analytics adapter found in registry for\n “+e.provider+”.”)})},t.getBidAdapter=function(e){return A[e]},t.setS2STestingModule=function(e){T=e}},function(e,t,n){“use strict”;function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3;return function(t,n,r){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var d=void 0,f=!1,l=s.method||(r?”POST”:”GET”),p=”object”===(void 0===n?”undefined”:o(n))?n:{success:function(){u.logMessage(“xhr success”)},error:function(e){u.logError(“xhr error”,null,e)}};if(“function”==typeof n&&(p.success=n),window.XMLHttpRequest?void 0===(d=new window.XMLHttpRequest).responseType&&(f=!0):f=!0,f?((d=new window.XDomainRequest).onload=function(){p.success(d.responseText,d)},d.onerror=function(){p.error(“error”,d)},d.ontimeout=function(){p.error(“timeout”,d)},d.onprogress=function(){u.logMessage(“xhr onprogress”)}):(d.onreadystatechange=function(){if(d.readyState===c){var e=d.status;e>=200&&e=g.syncsPerBidder?a.logWarn(‘Number of user syncs exceeded for “{$bidder}”‘):g.enabledBidders&&g.enabledBidders.length&&g.enabledBidders.indexOf(t)0&&void 0!==arguments[0]?arguments[0]:0;if(e)return window.setTimeout(n,Number(e));n()},d.triggerUserSyncs=function(){g.enableOverride&&d.syncUsers()},d}Object.defineProperty(t,”__esModule”,{value:!0}),t.userSync=void 0;var i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),o=Object.assign||function(e){for(var t=1;t0;)try{this.cmd.shift().call()}catch(e){o.logError(“Error processing Renderer command: “,e)}}},function(e,t,n){“use strict”;function r(){function e(e){t.push(e)}var t=[],n={};return n.addWinningBid=function(e){var n=(0,a.default)(t,function(t){return t.getAuctionId()===e.auctionId});n?n.setWinningBid(e):utils.logWarn(“Auction not found when adding winning bid”)},n.getAllWinningBids=function(){return t.map(function(e){return e.getWinningBid()}).reduce(i.flatten,[])},n.getBidsRequested=function(){return t.map(function(e){return e.getBidRequests()}).reduce(i.flatten,[])},n.getBidsReceived=function(){return t.map(function(e){if(e.getAuctionStatus()===o.AUCTION_COMPLETED)return e.getBidsReceived()}).reduce(i.flatten,[]).filter(function(e){return e})},n.getAdUnits=function(){return t.map(function(e){return e.getAdUnits()}).reduce(i.flatten,[])},n.getAdUnitCodes=function(){return t.map(function(e){return e.getAdUnitCodes()}).reduce(i.flatten,[]).filter(i.uniques)},n.createAuction=function(t){var n=t.adUnits,r=t.adUnitCodes,i=t.callback,a=t.cbTimeout,u=t.labels,c=(0,o.newAuction)({adUnits:n,adUnitCodes:r,callback:i,cbTimeout:a,labels:u});return e(c),c},n.findBidByAdId=function(e){return(0,a.default)(t.map(function(e){return e.getBidsReceived()}).reduce(i.flatten,[]),function(t){return t.adId===e})},n.getStandardBidderAdServerTargeting=function(){return(0,o.getStandardBidderSettings)()[u.JSON_MAPPING.ADSERVER_TARGETING]},n}Object.defineProperty(t,”__esModule”,{value:!0}),t.auctionManager=void 0,t.newAuctionManager=r;var i=n(0),o=n(119),a=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),u=n(2);t.auctionManager=r()},function(e,t,n){“use strict”;function r(e,t,n){var r=””;if(!i(t))return r;var u=t.buckets.reduce(function(e,t){return e.max>t.max?e:t},{max:0}),s=(0,a.default)(t.buckets,function(t){if(e>u.max*n){var i=t.precision;void 0===i&&(i=c),r=(t.max*n).toFixed(i)}else if(e=t.min*n)return t});return s&&(r=o(e,s.increment,s.precision,n)),r}function i(e){if(u.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 o(e,t,n,r){void 0===n&&(n=c);var i=1/(t*r);return(Math.floor(e*i)/i).toFixed(n)}Object.defineProperty(t,”__esModule”,{value:!0}),t.isValidPriceConfig=t.getPriceBucketString=void 0;var a=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),u=n(0),c=2,s={buckets:[{min:0,max:5,increment:.5}]},d={buckets:[{min:0,max:20,increment:.1}]},f={buckets:[{min:0,max:20,increment:.01}]},l={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},p={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};t.getPriceBucketString=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=parseFloat(e);return isNaN(i)&&(i=””),{low:””===i?””:r(e,s,n),med:””===i?””:r(e,d,n),high:””===i?””:r(e,f,n),auto:””===i?””:r(e,p,n),dense:””===i?””:r(e,l,n),custom:””===i?””:r(e,t,n)}},t.isValidPriceConfig=i},function(e,t,n){var r=n(43);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(27),i=n(30),o=n(51),a=n(33),u=n(52);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,d=4==e,f=6==e,l=5==e||f,p=t||u;return function(t,u,g){for(var v,y,b=o(t),m=i(b),h=r(u,g,3),E=a(m.length),S=0,T=n?p(t,E):c?p(t,0):void 0;E>S;S++)if((l||S in m)&&(v=m[S],y=h(v,S,b),e))if(n)T[S]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return S;case 2:T.push(v)}else if(d)return!1;return f?-1:s||d?d:T}}},function(e,t,n){var r=n(31);e.exports=Object(“z”).propertyIsEnumerable(0)?Object:function(e){return”String”==r(e)?e.split(“”):Object(e)}},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(void 0==e)throw TypeError(“Can’t call method on “+e);return e}},function(e,t,n){var r=n(34),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){n(85),e.exports=n(17).Array.findIndex},function(e,t){var n;n=function(){return this}();try{n=n||Function(“return this”)()||(0,eval)(“this”)}catch(e){“object”==typeof window&&(n=window)}e.exports=n},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:10;”function”==typeof e&&(a.push({fn:e,priority:t}),a.sort(function(e,t){return t.priority-e.priority}))},removeHook:function(e){a=a.filter(function(n){return n.fn===t||n.fn!==e})}};return”string”==typeof n&&(o[n]=c),r(function(){for(var n=arguments.length,r=Array(n),i=0;i1&&void 0!==arguments[1]?arguments[1]:s(),r=i(e),o=b(r,t).concat(T(r,t)).concat(u.config.getConfig(“enableSendAllBids”)?A(0,t):[]);return o.map(function(e){Object.keys(e).map(function(t){e[t].map(function(e){-1===p.indexOf(Object.keys(e)[0])&&(p=Object.keys(e).concat(p))})})}),o=n(o)},w.setTargetingForGPT=function(e){window.googletag.pubads().getSlots().forEach(function(t){Object.keys(e).filter((0,a.isAdUnitCodeMatchingSlot)(t)).forEach(function(n){return Object.keys(e[n]).forEach(function(r){var i=e[n][r].split(“,”);(i=i.length>1?[i]:i).map(function(e){return f.logMessage(“Attempting to set key value for slot: “+t.getSlotElementId()+” key: “+r+” value: “+e),e}).forEach(function(e){t.setTargeting(r,e)})})})})},w.getWinningBids=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s(),n=i(e);return t.filter(function(e){return(0,d.default)(n,e.adUnitCode)}).filter(function(e){return e.cpm>0}).map(function(e){return e.adUnitCode}).filter(a.uniques).map(function(e){return t.filter(function(t){return t.adUnitCode===e?t:null}).reduce(a.getHighestCpm,_(e))})},w.setTargetingForAst=function(){var e=w.getAllTargeting();Object.keys(e).forEach(function(t){return Object.keys(e[t]).forEach(function(n){if(f.logMessage(“Attempting to set targeting for targetId: “+t+” key: “+n+” value: “+e[t][n]),f.isStr(e[t][n])||f.isArray(e[t][n])){var r={};r[“hb_adid”===n.substring(0,”hb_adid”.length)?n.toUpperCase():n]=e[t][n],window.apntag.setKeywords(t,r)}})})},w.isApntagDefined=function(){if(window.apntag&&f.isFn(window.apntag.setKeywords))return!0},w}Object.defineProperty(t,”__esModule”,{value:!0}),t.targeting=t.isBidExpired=t.BID_TARGETING_SET=void 0;var o=Object.assign||function(e){for(var t=1;t1?arguments[1]:void 0)}}),n(21)(“find”)},function(e,t){e.exports=function(e){if(“function”!=typeof e)throw TypeError(e+” is not a function!”);return e}},function(e,t,n){var r=n(45),i=n(50);e.exports=n(20)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(46),i=n(47),o=n(49),a=Object.defineProperty;t.f=n(20)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if(“get”in n||”set”in n)throw TypeError(“Accessors not supported!”);return”value”in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(18);e.exports=function(e){if(!r(e))throw TypeError(e+” is not an object!”);return e}},function(e,t,n){e.exports=!n(20)&&!n(28)(function(){return 7!=Object.defineProperty(n(48)(“div”),”a”,{get:function(){return 7}}).a})},function(e,t,n){var r=n(18),i=n(16).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(18);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&”function”==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if(“function”==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&”function”==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError(“Can’t convert object to primitive value”)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(32);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(53);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(18),i=n(54),o=n(55)(“species”);e.exports=function(e){var t;return i(e)&&(“function”!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(31);e.exports=Array.isArray||function(e){return”Array”==r(e)}},function(e,t,n){var r=n(56)(“wks”),i=n(57),o=n(16).Symbol,a=”function”==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)(“Symbol.”+e))}).store=r},function(e,t,n){var r=n(16),i=r[“__core-js_shared__”]||(r[“__core-js_shared__”]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return”Symbol(“.concat(void 0===e?””:e,”)_”,(++n+r).toString(36))}},function(e,t,n){“use strict”;var r=n(19),i=n(59)(!0);r(r.P,”Array”,{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(21)(“includes”)},function(e,t,n){var r=n(60),i=n(33),o=n(61);e.exports=function(e){return function(t,n,a){var u,c=r(t),s=i(c.length),d=o(a,s);if(e&&n!=n){for(;s>d;)if((u=c[d++])!=u)return!0}else for(;s>d;d++)if((e||d in c)&&c[d]===n)return e||d||0;return!e&&-1}}},function(e,t,n){var r=n(30),i=n(32);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(34),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))0&&void 0!==arguments[0]?arguments[0]:{},t=e.labels,n=void 0===t?[]:t,r=e.labelAll,o=void 0!==r&&r,a=e.activeLabels,s=void 0===a?[]:a,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],f=i(arguments.length>2&&void 0!==arguments[2]?arguments[2]:c),l=void 0;return l=f.shouldFilter?d.filter(function(e){return f.sizesSupported[e]}):d,{active:l.length>0&&(0===n.length||!o&&(n.some(function(e){return f.labels[e]})||n.some(function(e){return(0,u.default)(s,e)}))||o&&n.reduce(function(e,t){return e?f.labels[t]||(0,u.default)(s,t):e},!0)),sizes:l}};var a=n(3),u=function(e){return e&&e.__esModule?e:{default:e}}(n(7)),c=[];a.config.getConfig(“sizeConfig”,function(e){return r(e.sizeConfig)})},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){“use strict”;var r=n(19),i=n(29)(6),o=”findIndex”,a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,”Array”,{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(21)(o)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.adUnitCode,n=e.bid,r=e.bidRequests,i=e.auctionId,o=(0,l.getBidderRequest)(r,n.bidderCode,t),u=o.start,c=f({},n,{auctionId:i,responseTimestamp:(0,l.timestamp)(),requestTimestamp:u,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});c.timeToRespond=c.responseTimestamp-c.requestTimestamp,w.emit(O.EVENTS.BID_ADJUSTMENT,c);var s=o.bids&&o.bids[0]&&o.bids[0].renderer;s&&(c.renderer=y.Renderer.install({url:s.url}),c.renderer.setRender(s.render));var d=(0,p.getPriceBucketString)(c.cpm,b.config.getConfig(“customPriceBucket”),b.config.getConfig(“currency.granularityMultiplier”));c.pbLg=d.low,c.pbMg=d.med,c.pbHg=d.high,c.pbAg=d.auto,c.pbDg=d.dense,c.pbCg=d.custom;var g;return c.bidderCode&&(c.cpm>0||c.dealId)&&(g=a(c.bidderCode,c)),c.adserverTargeting=f(c.adserverTargeting||{},g),c}function o(){var e=b.config.getConfig(“priceGranularity”),t=pbjs.bidderSettings;return t[O.JSON_MAPPING.BD_SETTING_STANDARD]||(t[O.JSON_MAPPING.BD_SETTING_STANDARD]={}),t[O.JSON_MAPPING.BD_SETTING_STANDARD][O.JSON_MAPPING.ADSERVER_TARGETING]||(t[O.JSON_MAPPING.BD_SETTING_STANDARD][O.JSON_MAPPING.ADSERVER_TARGETING]=[{key:”hb_bidder”,val:function(e){return e.bidderCode}},{key:”hb_adid”,val:function(e){return e.adId}},{key:”hb_pb”,val:function(t){return e===O.GRANULARITY_OPTIONS.AUTO?t.pbAg:e===O.GRANULARITY_OPTIONS.DENSE?t.pbDg:e===O.GRANULARITY_OPTIONS.LOW?t.pbLg:e===O.GRANULARITY_OPTIONS.MEDIUM?t.pbMg:e===O.GRANULARITY_OPTIONS.HIGH?t.pbHg:e===O.GRANULARITY_OPTIONS.CUSTOM?t.pbCg:void 0}},{key:”hb_size”,val:function(e){return e.size}},{key:”hb_deal”,val:function(e){return e.dealId}},{key:”hb_source”,val:function(e){return e.source}}]),t[O.JSON_MAPPING.BD_SETTING_STANDARD]}function a(e,t){var n={},r=pbjs.bidderSettings;return t&&r&&u(n,o(),t),e&&t&&r&&r[e]&&r[e][O.JSON_MAPPING.ADSERVER_TARGETING]&&(u(n,r[e],t),t.sendStandardTargeting=r[e].sendStandardTargeting),t.native&&(n=f({},n,(0,g.getNativeTargeting)(t))),n}function u(e,t,n){var r=t[O.JSON_MAPPING.ADSERVER_TARGETING];return n.size=n.getSize(),I._each(r,function(r){var i=r.key,o=r.val;if(e[i]&&I.logWarn(“The key: “+i+” is getting ovewritten”),I.isFn(o))try{o=o(n)}catch(e){I.logError(“bidmanager”,”ERROR”,e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&”hb_deal”!==i||!I.isEmptyStr(o)&&null!==o&&void 0!==o?e[i]=o:I.logInfo(“suppressing empty key ‘”+i+”‘ from adserver targeting”)}),e}function c(e){var t=e.bidderCode,n=e.cpm,r=void 0;if(pbjs.bidderSettings&&(t&&pbjs.bidderSettings[t]&&”function”==typeof pbjs.bidderSettings[t].bidCpmAdjustment?r=pbjs.bidderSettings[t].bidCpmAdjustment:pbjs.bidderSettings[O.JSON_MAPPING.BD_SETTING_STANDARD]&&”function”==typeof pbjs.bidderSettings[O.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(r=pbjs.bidderSettings[O.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),r))try{n=r(e.cpm,f({},e))}catch(e){I.logError(“Error during bid adjustment”,”bidmanager.js”,e)}n>=0&&(e.cpm=n)}function s(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}function d(e,t){var n=e.map(function(e){return e.bidderCode}).filter(l.uniques),r=t.map(function(e){return e.bidder}).filter(l.uniques),i=n.filter(function(e){return!(0,T.default)(r,e)});return e.map(function(e){return(e.bids||[]).filter(function(e){return(0,T.default)(i,e.bidder)})}).reduce(l.flatten,[]).map(function(e){return{bidId:e.bidId,bidder:e.bidder,adUnitCode:e.adUnitCode,auctionId:e.auctionId}})}Object.defineProperty(t,”__esModule”,{value:!0}),t.addBidResponse=t.AUCTION_COMPLETED=t.AUCTION_IN_PROGRESS=t.AUCTION_STARTED=void 0;var f=Object.assign||function(e){for(var t=1;t0&&!b.config.getConfig(“cache.url”))&&o()},1)}function o(){y.every(function(e){return e.doneCbCallCount>=1})&&(I.logInfo(“Bids Received for Auction with id: “+T,m),N=B,r(!1,!0))}var a=e.adUnits,u=e.adUnitCodes,c=e.callback,f=e.cbTimeout,p=a,g=e.labels,v=u,y=[],m=[],h=void 0,T=I.generateUUID(),N=void 0,x=c,R=void 0,P=f,D=void 0;return{addBidReceived:function(e){m=m.concat(e)},executeCallback:r,callBids:function(){n(),N=C;var e={timestamp:h=Date.now(),auctionId:T,timeout:P};w.emit(O.EVENTS.AUCTION_INIT,e);var r=_.makeBidRequests(p,h,T,P,g);I.logInfo(“Bids Requested for Auction with id: “+T,r),r.forEach(function(e){t(e)}),N=j,_.callBids(p,r,U.bind(this),i.bind(this))},bidsBackAll:o,setWinningBid:function(e){D=e},getWinningBid:function(){return D},getTimeout:function(){return P},getAuctionId:function(){return T},getAuctionStatus:function(){return N},getAdUnits:function(){return p},getAdUnitCodes:function(){return v},getBidRequests:function(){return y},getBidsReceived:function(){return m}}},t.getStandardBidderSettings=o,t.getKeyValueTargetingPairs=a,t.adjustBids=c;var l=n(0),p=n(26),g=n(13),v=n(120),y=n(24),b=n(3),m=n(12),h=n(37),E=n(23),S=r(n(11)),T=r(n(7)),A=m.userSync.syncUsers,I=n(0),_=n(5),w=n(8),O=n(2),C=t.AUCTION_STARTED=”started”,j=t.AUCTION_IN_PROGRESS=”inProgress”,B=t.AUCTION_COMPLETED=”completed”;w.on(O.EVENTS.BID_ADJUSTMENT,function(e){c(e)});var U=t.addBidResponse=(0,h.createHook)(“asyncSeries”,function(e,t){function n(){c.timeToRespond>o.getTimeout()+b.config.getConfig(“timeoutBuffer”)&&o.executeCallback(!0)}function r(){w.emit(O.EVENTS.BID_RESPONSE,c),o.addBidReceived(c)}var o=this,a=o.getBidRequests(),u=o.getAuctionId(),c=i({adUnitCode:e,bid:t,bidRequests:a,auctionId:u});”video”===c.mediaType?function(e){b.config.getConfig(“cache.url”)?(0,v.store)([e],function(i,a){i?I.logWarn(“Failed to save to the video cache: “+i+”. Video bid must be discarded.”):(e.videoCacheKey=a[0].uuid,t.vastUrl||(e.vastUrl=(0,v.getCacheUrl)(e.videoCacheKey)),r(),o.bidsBackAll()),n()}):(r(),n())}(c):(n(),r())},”addBidResponse”)},function(e,t,n){“use strict”;function r(e){return’\n \n \n prebid.org wrapper\n \n \n \n \n \n “}function i(e){return{type:”xml”,value:e.vastXml?e.vastXml:r(e.vastUrl)}}function o(e){return{success:function(t){var n=void 0;try{n=JSON.parse(t).responses}catch(t){return void e(t,[])}n?e(null,n):e(new Error(“The cache server didn’t respond with a responses property.”),[])},error:function(t,n){e(new Error(“Error storing video ad in the cache: “+t+”: “+JSON.stringify(n)),[])}}}Object.defineProperty(t,”__esModule”,{value:!0}),t.store=function(e,t){var n={puts:e.map(i)};(0,a.ajax)(u.config.getConfig(“cache.url”),o(t),JSON.stringify(n),{contentType:”text/plain”,withCredentials:!0})},t.getCacheUrl=function(e){return u.config.getConfig(“cache.url”)+”?uuid=”+e};var a=n(6),u=n(3)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(250)},function(e,t,n){“use strict”;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function o(e){e.forEach(function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){S.logError(“Error processing command :”,”prebid.js”,e)}})}var a=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},u=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes,o=e.labels;I.emit(“requestBids”);var a=n||v.config.getConfig(“bidderTimeout”);if(r=r||h.adUnits,S.logInfo(“Invoking pbjs.requestBids”,arguments),i&&i.length?r=r.filter(function(e){return(0,m.default)(i,e.code)}):i=r&&r.map(function(e){return e.code}),r.filter(d.videoAdUnit).filter(d.hasNonVideoBidder).forEach(function(e){var t=e.bids.filter(function(e){return!(0,d.videoBidder)(e)}).map(function(e){return e.bidder});S.logWarn(S.unsupportedBidderMessage(e,t)),e.bids=e.bids.filter(d.videoBidder)}),r.filter(f.nativeAdUnit).filter(f.hasNonNativeBidder).forEach(function(e){var t=e.bids.filter(function(e){return!(0,f.nativeBidder)(e)}).map(function(e){return e.bidder});S.logWarn(S.unsupportedBidderMessage(e,t)),e.bids=e.bids.filter(f.nativeBidder)}),r&&0!==r.length)y.auctionManager.createAuction({adUnits:r,adUnitCodes:i,callback:t,cbTimeout:a,labels:o}).callBids();else if(S.logMessage(“No adUnits configured. No bids requested.”),”function”==typeof t)try{t()}catch(e){S.logError(“Error executing bidsBackHandler”,null,e)}},h.addAdUnits=function(e){S.logInfo(“Invoking pbjs.addAdUnits”,arguments),S.isArray(e)?(e.forEach(function(e){return e.transactionId=S.generateUUID()}),h.adUnits.push.apply(h.adUnits,e)):”object”===(void 0===e?”undefined”:a(e))&&(e.transactionId=S.generateUUID(),h.adUnits.push(e)),I.emit(C)},h.onEvent=function(e,t,n){S.logInfo(“Invoking pbjs.onEvent”,arguments),S.isFn(t)?!n||j[e].call(null,n)?I.on(e,t,n):S.logError(‘The id provided is not valid for event “‘+e+'” and no handler was set.’):S.logError(‘The event handler provided is not a function and was not set on event “‘+e+'”.’)},h.offEvent=function(e,t,n){S.logInfo(“Invoking pbjs.offEvent”,arguments),n&&!j[e].call(null,n)||I.off(e,t,n)},h.registerBidAdapter=function(e,t){S.logInfo(“Invoking pbjs.registerBidAdapter”,arguments);try{T.registerBidAdapter(e(),t)}catch(e){S.logError(“Error registering bidder adapter : “+e.message)}},h.registerAnalyticsAdapter=function(e){S.logInfo(“Invoking pbjs.registerAnalyticsAdapter”,arguments);try{T.registerAnalyticsAdapter(e)}catch(e){S.logError(“Error registering analytics adapter : “+e.message)}},h.createBid=function(e){return S.logInfo(“Invoking pbjs.createBid”,arguments),A.createBid(e)},h.loadScript=function(e,t,n){S.logInfo(“Invoking pbjs.loadScript”,arguments),(0,g.loadScript)(e,t,n)},h.enableAnalytics=function(e){e&&!S.isEmpty(e)?(S.logInfo(“Invoking pbjs.enableAnalytics for: “,e),T.enableAnalytics(e)):S.logError(“pbjs.enableAnalytics should be called with option {}”)},h.aliasBidder=function(e,t){S.logInfo(“Invoking pbjs.aliasBidder”,arguments),e&&t?T.aliasBidAdapter(e,t):S.logError(“bidderCode and alias must be passed as arguments”,”pbjs.aliasBidder”)},h.getAllWinningBids=function(){return y.auctionManager.getAllWinningBids().map(s.removeRequestId)},h.getHighestCpmBids=function(e){return b.targeting.getWinningBids(e,y.auctionManager.getBidsReceived()).map(s.removeRequestId)},h.getConfig=v.config.getConfig,h.setConfig=v.config.setConfig,h.que.push(function(){return(0,l.listenMessagesFromCreative)()}),h.cmd.push=function(e){if(“function”==typeof e)try{e.call()}catch(e){S.logError(“Error processing command :”,e.message,e.stack)}else S.logError(“Commands written into pbjs.cmd.push must be wrapped in a function”)},h.que.push=h.cmd.push,h.processQueue=function(){o(h.que),o(h.cmd)}},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.message?”message”:”data”,n={};try{n=JSON.parse(e[t])}catch(e){return}if(n.adId){var r=(0,l.default)(f.auctionManager.getBidsReceived(),function(e){return e.adId===n.adId});”Prebid Request”===n.message&&(o(r,n.adServerDomain,e.source),f.auctionManager.addWinningBid(r),u.default.emit(p,r)),”Prebid Native”===n.message&&((0,c.fireNativeTrackers)(n,r),f.auctionManager.addWinningBid(r),u.default.emit(p,r))}}function o(e,t,n){var r=e.adId,i=e.ad,o=e.adUrl,u=e.width,c=e.height;r&&(a(e),n.postMessage(JSON.stringify({message:”Prebid Response”,ad:i,adUrl:o,adId:r,width:u,height:c}),t))}function a(e){var t=e.adUnitCode,n=e.width,r=e.height,i=document.getElementById((0,l.default)(window.googletag.pubads().getSlots().filter((0,d.isSlotMatchingAdUnitCode)(t)),function(e){return e}).getSlotElementId()).querySelector(“iframe”);i.width=””+n,i.height=””+r}Object.defineProperty(t,”__esModule”,{value:!0}),t.listenMessagesFromCreative=function(){addEventListener(“message”,i,!1)};var u=r(n(8)),c=n(13),s=n(2),d=n(0),f=n(25),l=r(n(11)),p=s.EVENTS.BID_WON}]),pbjsChunk([51],{91:function(e,t,n){n(92),e.exports=n(93)},92:function(e,t,n){“use strict”;function r(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function i(e){return”number”==typeof e&&isFinite(e)&&Math.floor(e)===e}function o(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;rif(!parent.pbjs.aolGlobals.pixelsDropped){parent.pbjs.aolGlobals.pixelsDropped=true;”+e.ext.pixels.replace(//g,””)+”}”),{bidderCode:t.bidderCode,requestId:t.bidId,ad:i,cpm:r,width:n.w,height:n.h,creativeId:n.crid,pubapiId:e.id,currency:e.cur,dealId:n.dealid,netRevenue:!0,ttl:t.ttl}}function g(e){return e===j.AOL||e===j.ONEDISPLAY}function v(e){return e===j.AOL||e===j.ONEMOBILE}function y(e){if(v(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var t=e.params.imp[0];return t.id&&t.tagid&&(t.banner&&t.banner.w&&t.banner.h||t.video&&t.video.mimes&&t.video.minduration&&t.video.maxduration)}}function b(e){return v(e.bidder)&&e.params.dcn&&e.params.pos}function m(e){return g(e.bidder)&&e.params.placement&&e.params.network}function h(e){return b(e)||y(e)}function E(e){return b(e)?B.MOBILE.GET:y(e)?B.MOBILE.POST:m(e)?B.DISPLAY.GET:void 0}function S(e,t){var n=void 0;switch(e){case B.DISPLAY.GET:n={url:c(t),method:”GET”,ttl:M};break;case B.MOBILE.GET:n={url:l(t),method:”GET”,ttl:k};break;case B.MOBILE.POST:n={url:f(t),method:”POST”,ttl:k,data:t.params,options:{contentType:”application/json”,customHeaders:{“x-openrtb-version”:”2.2″}}}}return n.bidderCode=t.bidder,n.bidId=t.bidId,n.userSyncOn=t.params.userSyncOn,n}Object.defineProperty(t,”__esModule”,{value:!0}),t.spec=void 0;var T=r([“//”,”/pubapi/3.0/”,”/”,”/”,”/”,”/ADTECH;v=2;cmd=bid;cors=yes;alias=”,””,””,”;misc=”,””],[“//”,”/pubapi/3.0/”,”/”,”/”,”/”,”/ADTECH;v=2;cmd=bid;cors=yes;alias=”,””,””,”;misc=”,””]),A=r([“//”,”/bidRequest?”],[“//”,”/bidRequest?”]),I=r([“dcn=”,”&pos=”,”&cmd=bid”,””],[“dcn=”,”&pos=”,”&cmd=bid”,””]),_=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0)),w=n(1),O=n(3),C=function(e){return e&&e.__esModule?e:{default:e}}(n(2)),j={AOL:”aol”,ONEMOBILE:”onemobile”,ONEDISPLAY:”onedisplay”},B={DISPLAY:{GET:”display-get”},MOBILE:{GET:”mobile-get”,POST:”mobile-post”}},U={IFRAME:{TAG:”iframe”,TYPE:”iframe”},IMAGE:{TAG:”img”,TYPE:”image”}},N=o(T,”host”,”network”,”placement”,”pageid”,”sizeid”,”alias”,”bidfloor”,”keyValues”,”misc”),x=o(A,”host”),R=o(I,”dcn”,”pos”,”ext”),P={eu:”adserver-eu.adtech.advertising.com”},D=”hb.nexage.com”,M=60,k=3600;pbjs.aolGlobals={pixelsDropped:!1};var q=function(){var e=!0;return function(){var t=pbjs.bidderSettings;e&&t&&t.aol&&”function”==typeof t.aol.bidCpmAdjustment&&(_.logWarn(“bidCpmAdjustment is active for the AOL adapter. As of Prebid 0.14, AOL can bid in net – please contact your accounts team to enable.”),e=!1)}}(),G=t.spec={code:j.AOL,aliases:[j.ONEMOBILE,j.ONEDISPLAY],isBidRequestValid:function(e){return m(e)||h(e)},buildRequests:function(e){return e.map(function(e){var t=E(e);if(t)return S(t,e)})},interpretResponse:function(e,t){var n=e.body;if(q(),n){var r=p(n,t);if(r)return r}else _.logError(“Empty bid response”,t.bidderCode,n)},getUserSyncs:function(e,t){var n=t[0];return O.config.getConfig(“aol.userSyncOn”)===C.default.EVENTS.BID_RESPONSE&&!pbjs.aolGlobals.pixelsDropped&&n.ext&&n.ext.pixels?(pbjs.aolGlobals.pixelsDropped=!0,u(n.ext.pixels)):[]}};(0,w.registerBidder)(G)},93:function(e,t){}},[91]),pbjsChunk([65],{114:function(e,t,n){e.exports=n(115)},115:function(e,t,n){“use strict”;function r(e){var t=m;”object”===f(e.rates)&&(_.conversions=e.rates,T=!0),”string”==typeof e.adServerCurrency?(v.logInfo(“enabling currency support”,arguments),A=e.adServerCurrency,e.conversionRateFile&&(v.logInfo(“currency using override conversionRateFile:”,e.conversionRateFile),t=e.conversionRateFile),i(t)):(v.logInfo(“disabling currency support”),o()),”object”===f(e.bidderCurrencyDefault)&&(w=e.bidderCurrencyDefault)}function i(e){S={},t.currencySupportEnabled=I=!0,v.logInfo(“Installing addBidResponse decorator for currency module”,arguments),b.hooks.addBidResponse.addHook(a,100),_.conversions||(0,g.ajax)(e,function(e){try{t.currencyRates=_=JSON.parse(e),v.logInfo(“currencyRates set to “+JSON.stringify(_)),T=!0,u()}catch(t){v.logError(“failed to parse currencyRates response: “+e)}})}function o(){v.logInfo(“Uninstalling addBidResponse decorator for currency module”,arguments),b.hooks.addBidResponse.removeHook(a,100),A=”USD”,S={},t.currencySupportEnabled=I=!1,T=!1,t.currencyRates=_={},w={}}function a(e,t,n){if(!t)return n.apply(this,arguments);var r=t.bidderCode||t.bidder;if(w[r]){var i=w[r];t.currency&&i!==t.currency?v.logWarn(“Currency default ‘”+r+”: “+i+”‘ ignored. adapter specified ‘”+t.currency+”‘”):t.currency=i}if(t.currency||(v.logWarn(‘Currency not specified on bid. Defaulted to “USD”‘),t.currency=”USD”),t.currency===A)return n.apply(this,arguments);E.push(c(n,this,arguments)),I&&!T||u()}function u(){for(;E.length>0;)E.shift()()}function c(e,t,n){return function(){var r=n[1];if(void 0!==r&&”currency”in r&&”cpm”in r){var i=r.currency;try{var o=s(i);r.originalCpm=r.cpm,r.originalCurrency=r.currency,1!==o&&(r.cpm=(parseFloat(r.cpm)*o).toFixed(4),r.currency=A)}catch(e){v.logWarn(“Returning NO_BID, getCurrencyConversion threw error: “,e),n[1]=l.default.createBid(p.STATUS.NO_BID,{bidder:r.bidderCode||r.bidder,bidId:r.adId})}}return e.apply(t,n)}}function s(e){var t,n=null;if(e in S)n=S[e],v.logMessage(“Using conversionCache value “+n+” for fromCurrency “+e);else if(!1===I){if(“USD”!==e)throw new Error(“Prebid currency support has not been enabled and fromCurrency is not USD”);n=1}else if(e===A)n=1;else{var r=A;if(e in _.conversions){if(t=_.conversions[e],!(r in t))throw new Error(“Specified adServerCurrency in config ‘”+r+”‘ not found in the currency rates file”);n=t[r],v.logInfo(“getCurrencyConversion using direct “+e+” to “+r+” conversionRate “+n)}else if(r in _.conversions){if(t=_.conversions[r],!(e in t))throw new Error(“Specified fromCurrency ‘”+e+”‘ not found in the currency rates file”);n=d(1/t[e],h),v.logInfo(“getCurrencyConversion using reciprocal “+e+” to “+r+” conversionRate “+n)}else{var i=Object.keys(_.conversions)[0];if(!(e in _.conversions[i]))throw new Error(“Specified fromCurrency ‘”+e+”‘ not found in the currency rates file”);var o=1/_.conversions[i][e];if(!(r in _.conversions[i]))throw new Error(“Specified adServerCurrency in config ‘”+r+”‘ not found in the currency rates file”);n=d(o*_.conversions[i][r],h),v.logInfo(“getCurrencyConversion using intermediate “+e+” thru “+i+” to “+r+” conversionRate “+n)}}return e in S||(v.logMessage(“Adding conversionCache value “+n+” for fromCurrency “+e),S[e]=n),n}function d(e,t){for(var n=1,r=0;r\n

Så såg det ut senast Victoria besökte Ockelbo

‘:””},t.getDefinedParams=function(e,t){return t.filter(function(t){return e[t]}).reduce(function(t,n){return p(t,i({},n,e[n]))},{})},t.isValidMediaTypes=function(e){var t=[“banner”,”native”,”video”],n=[“instream”,”outstream”];return!!Object.keys(e).every(function(e){return(0,m.default)(t,e)})&&(!e.video||!e.video.context||(0,m.default)(n,e.video.context))},t.getBidderRequest=function(e,t,n){return(0,y.default)(e,function(e){return e.bids.filter(function(e){return e.bidder===t&&e.adUnitCode===n}).length>0})||{start:null,auctionId:null}},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+”//”+window.location.hostname+(window.location.port?”:”+window.location.port:””)},t.isAdUnitCodeMatchingSlot=function(e){return function(t){return O(e,t)}},t.isSlotMatchingAdUnitCode=function(e){return function(t){return O(t,e)}},t.unsupportedBidderMessage=function(e,t){var n=e.mediaType||Object.keys(e.mediaTypes).join(“, “),r=1===t.length?”This bidder”:”These bidders”;return”\n “+e.code+” is a “+n+” ad unit\n containing bidders that don’t support “+n+”: “+t.join(“, “)+”.\n “+r+” won’t fetch demand.\n “},t.deletePropertyFromObject=function(e,t){var n=p({},e);return delete n[t],n},t.removeRequestId=function(e){return t.deletePropertyFromObject(e,”requestId”)},t.isInteger=function(e){return Number.isInteger?Number.isInteger(e):”number”==typeof e&&isFinite(e)&&Math.floor(e)===e};var v=n(3),b=r(n(62)),y=r(n(11)),m=r(n(7)),h=n(2),E=!1,S=Object.prototype.toString,A=null;try{A=console.info.bind(window.console)}catch(e){}t.replaceTokenInString=function(e,t,n){return this._each(t,function(t,r){t=void 0===t?””:t;var i=n+r.toUpperCase()+n,o=new RegExp(i,”g”);e=e.replace(o,t)}),e};var T=function(){var e=0;return function(){return++e}}();t.getUniqueIdentifierStr=o,t.generateUUID=function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){return t&&t[e]?t[e]:””},t.tryAppendQueryString=function(e,t,n){return n?e+=t+”=”+encodeURIComponent(n)+”&”:e},t.parseQueryStringParameters=function(e){var t=””;for(var n in e)e.hasOwnProperty(n)&&(t+=n+”=”+encodeURIComponent(e[n])+”&”);return t},t.transformAdServerTargetingObj=function(e){return e&&Object.getOwnPropertyNames(e).length>0?f(e).map(function(t){return t+”=”+encodeURIComponent(l(e,t))}).join(“&”):””},t.getTopWindowLocation=function(){var e=void 0;try{window.top.location.toString(),e=window.top.location}catch(t){e=window.location}return e},t.getTopWindowUrl=function(){var e=void 0;try{e=this.getTopWindowLocation().href}catch(t){e=””}return e},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logWarn=function(e){I()&&console.warn&&console.warn(“WARNING: “+e)},t.logInfo=function(e,t){I()&&u()&&A&&(t&&0!==t.length||(t=””),A(“INFO: “+e+(“”===t?””:” : params : “),t))},t.logMessage=function(e){I()&&u()&&console.log(“MESSAGE: “+e)},t.hasConsoleLogger=u;var I=function(){if(!1===v.config.getConfig(“debug”)&&!1===E){var e=”TRUE”===_(h.DEBUG_MODE).toUpperCase();v.config.setConfig({debug:e}),E=!0}return!!v.config.getConfig(“debug”)};t.debugTurnedOn=I,t.logError=function(){I()&&c()&&console.error.apply(console,arguments)},t.createInvisibleIframe=function(){var e=document.createElement(“iframe”);return e.id=o(),e.height=0,e.width=0,e.border=”0px”,e.hspace=”0″,e.vspace=”0″,e.marginWidth=”0″,e.marginHeight=”0″,e.style.border=”0″,e.scrolling=”no”,e.frameBorder=”0″,e.src=”about:blank”,e.style.display=”none”,e};var _=function(e){var t=”[\\?&]”+e+”=([^]*)”,n=new RegExp(t).exec(window.location.search);return null===n?””:decodeURIComponent(n[1].replace(/\+/g,” “))};t.getParameterByName=_,t.hasValidBidRequest=function(e,t,n){for(var r=!1,i=0;i0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0},t.isEmptyStr=function(e){return this.isStr(e)&&(!e||0===e.length)},t._each=function(e,t){if(!this.isEmpty(e)){if(this.isFn(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(r>0)for(;n’},t.createTrackPixelIframeHtml=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:””;return e?(n&&(e=encodeURI(e)),r&&(r=’sandbox=”‘+r+'”‘),”‘):””},t.getIframeDocument=function(e){if(e){var t=void 0;try{t=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){this.logError(“Cannot get iframe document”,e)}return t}},t.getValueString=function(e,t,n){return void 0===t||null===t?n:this.isStr(t)?t:this.isNumber(t)?t.toString():void this.logWarn(“Unsuported type for param: “+e+” required type: String”)};var O=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t}},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){function t(t){if(e.getUserSyncs){var n=e.getUserSyncs({iframeEnabled:l.config.getConfig(“userSync.iframeEnabled”),pixelEnabled:l.config.getConfig(“userSync.pixelEnabled”)},t);n&&(Array.isArray(n)||(n=[n]),n.forEach(function(t){v.userSync.registerSync(t.type,e.code,t.url)}))}}function n(t){return!!e.isBidRequestValid(t)||((0,h.logWarn)(“Invalid bid sent to bidder “+e.code+”: “+JSON.stringify(t)),!1)}return d(new s.default(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:t,callBids:function(r,i,o,u){function s(e,t){v[e]=!0,a(e,t,[r])&&i(e,t)}function f(){o(),t(b)}function l(e){return e?”?”+(“object”===(void 0===e?”undefined”:c(e))?(0,h.parseQueryStringParameters)(e):e):””}if(Array.isArray(r.bids)){var v={},b=[],y=r.bids.filter(n);if(0!==y.length){var m={};y.forEach(function(e){m[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)});var E=e.buildRequests(y,r);if(E&&0!==E.length){Array.isArray(E)||(E=[E]);var S=(0,h.delayExecution)(f,E.length);E.forEach(function(t){function n(n,r){function i(t){var n=m[t.requestId];if(n){var r=d(p.default.createBid(g.STATUS.GOOD,n),t);s(n.adUnitCode,r)}else(0,h.logWarn)(“Bidder “+e.code+” made bid for unknown request ID: “+t.requestId+”. Ignoring.”)}try{n=JSON.parse(n)}catch(e){}n={body:n,headers:{get:r.getResponseHeader.bind(r)}},b.push(n);var o=void 0;try{o=e.interpretResponse(n,t)}catch(t){return(0,h.logError)(“Bidder “+e.code+” failed to interpret the server’s response. Continuing without bids”,null,t),void S()}o&&(o.forEach?o.forEach(i):i(o)),S()}function r(t){(0,h.logError)(“Server call for “+e.code+” failed: “+t+”. Continuing without bids.”),S()}switch(t.method){case”GET”:u(“”+t.url+l(t.data),{success:n,error:r},void 0,d({method:”GET”,withCredentials:!0},t.options));break;case”POST”:u(t.url,{success:n,error:r},”string”==typeof t.data?t.data:JSON.stringify(t.data),d({method:”POST”,contentType:”text/plain”,withCredentials:!0},t.options));break;default:(0,h.logWarn)(“Skipping invalid request from “+e.code+”. Request type “+t.type+” must be GET or POST”),S()}})}else f()}else f()}}})}function o(e,t,n){if((t.width||0===t.width)&&(t.height||0===t.height))return!0;var r=(0,h.getBidderRequest)(n,t.bidderCode,e),i=r&&r.bids&&r.bids[0]&&r.bids[0].sizes,o=(0,h.parseSizesInput)(i);if(1===o.length){var a=o[0].split(“x”),c=u(a,2),d=c[0],s=c[1];return t.width=d,t.height=s,!0}return!1}function a(e,t,n){function r(e){return”Invalid bid from “+t.bidderCode+”. Ignoring bid: “+e}return e?t?function(){var e=Object.keys(t);return E.every(function(t){return(0,m.default)(e,t)})}()?”native”!==t.mediaType||(0,b.nativeBidIsValid)(t,n)?”video”!==t.mediaType||(0,y.isValidVideoBid)(t,n)?!(“banner”===t.mediaType&&!o(e,t,n)&&((0,h.logError)(r(“Banner bids require a width and height”)),1)):((0,h.logError)(r(“Video bid does not have required vastUrl or renderer property”)),!1):((0,h.logError)(r(“Native bid missing some required properties.”)),!1):((0,h.logError)(r(“Bidder “+t.bidderCode+” is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params.”)),!1):((0,h.logWarn)(“Some adapter tried to add an undefined bid for “+e+”.”),!1):((0,h.logWarn)(“No adUnitCode was supplied to addBidResponse.”),!1)}Object.defineProperty(t,”__esModule”,{value:!0});var u=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),c=”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},d=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,i=void 0===r?[]:r;e&&n?”function”==typeof e.callBids?(T[n]=e,(0,m.default)(i,”video”)&&t.videoAdapters.push(n),(0,m.default)(i,”native”)&&g.nativeAdapters.push(n)):h.logError(“Bidder adaptor error for bidder code: “+n+”bidder must implement a callBids() function”):h.logError(“bidAdaptor or bidderCode not specified”)},t.aliasBidAdapter=function(e,t){if(void 0===T[t]){var n=T[e];if(void 0===n)h.logError(‘bidderCode “‘+e+'” is not an existing bidder.’,”adaptermanager.aliasBidAdapter”);else try{var r=void 0,i=d(e);if(n.constructor.prototype!=Object.prototype)(r=new n.constructor).setBidderCode(t);else{var o=n.getSpec();r=(0,v.newBidder)(f({},o,{code:t}))}this.registerBidAdapter(r,t,{supportedMediaTypes:i})}catch(t){h.logError(e+” bidder does not currently support aliasing.”,”adaptermanager.aliasBidAdapter”)}}else h.logMessage(‘alias name “‘+t+'” has been already specified.’)},t.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code;t&&n?”function”==typeof t.enableAnalytics?(t.code=n,_[n]=t):h.logError(‘Prebid Error: Analytics adaptor error for analytics “‘+n+'”\n analytics adapter must implement an enableAnalytics() function’):h.logError(“Prebid Error: analyticsAdapter or analyticsCode not specified”)},t.enableAnalytics=function(e){h.isArray(e)||(e=[e]),h._each(e,function(e){var t=_[e.provider];t?t.enableAnalytics(e):h.logError(“Prebid Error: no analytics adapter found in registry for\n “+e.provider+”.”)})},t.getBidAdapter=function(e){return T[e]},t.setS2STestingModule=function(e){A=e}},function(e,t,n){“use strict”;function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3;return function(t,n,r){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var s=void 0,f=!1,l=d.method||(r?”POST”:”GET”),p=”object”===(void 0===n?”undefined”:o(n))?n:{success:function(){u.logMessage(“xhr success”)},error:function(e){u.logError(“xhr error”,null,e)}};if(“function”==typeof n&&(p.success=n),window.XMLHttpRequest?void 0===(s=new window.XMLHttpRequest).responseType&&(f=!0):f=!0,f?((s=new window.XDomainRequest).onload=function(){p.success(s.responseText,s)},s.onerror=function(){p.error(“error”,s)},s.ontimeout=function(){p.error(“timeout”,s)},s.onprogress=function(){u.logMessage(“xhr onprogress”)}):(s.onreadystatechange=function(){if(s.readyState===c){var e=s.status;e>=200&&e=g.syncsPerBidder?a.logWarn(‘Number of user syncs exceeded for “{$bidder}”‘):g.enabledBidders&&g.enabledBidders.length&&g.enabledBidders.indexOf(t)0&&void 0!==arguments[0]?arguments[0]:0;if(e)return window.setTimeout(n,Number(e));n()},s.triggerUserSyncs=function(){g.enableOverride&&s.syncUsers()},s}Object.defineProperty(t,”__esModule”,{value:!0}),t.userSync=void 0;var i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),o=Object.assign||function(e){for(var t=1;t0;)try{this.cmd.shift().call()}catch(e){o.logError(“Error processing Renderer command: “,e)}}},function(e,t,n){“use strict”;function r(){function e(e){t.push(e)}var t=[],n={};return n.addWinningBid=function(e){var n=(0,a.default)(t,function(t){return t.getAuctionId()===e.auctionId});n?n.setWinningBid(e):utils.logWarn(“Auction not found when adding winning bid”)},n.getAllWinningBids=function(){return t.map(function(e){return e.getWinningBid()}).reduce(i.flatten,[])},n.getBidsRequested=function(){return t.map(function(e){return e.getBidRequests()}).reduce(i.flatten,[])},n.getBidsReceived=function(){return t.map(function(e){if(e.getAuctionStatus()===o.AUCTION_COMPLETED)return e.getBidsReceived()}).reduce(i.flatten,[]).filter(function(e){return e})},n.getAdUnits=function(){return t.map(function(e){return e.getAdUnits()}).reduce(i.flatten,[])},n.getAdUnitCodes=function(){return t.map(function(e){return e.getAdUnitCodes()}).reduce(i.flatten,[]).filter(i.uniques)},n.createAuction=function(t){var n=t.adUnits,r=t.adUnitCodes,i=t.callback,a=t.cbTimeout,u=t.labels,c=(0,o.newAuction)({adUnits:n,adUnitCodes:r,callback:i,cbTimeout:a,labels:u});return e(c),c},n.findBidByAdId=function(e){return(0,a.default)(t.map(function(e){return e.getBidsReceived()}).reduce(i.flatten,[]),function(t){return t.adId===e})},n.getStandardBidderAdServerTargeting=function(){return(0,o.getStandardBidderSettings)()[u.JSON_MAPPING.ADSERVER_TARGETING]},n}Object.defineProperty(t,”__esModule”,{value:!0}),t.auctionManager=void 0,t.newAuctionManager=r;var i=n(0),o=n(119),a=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),u=n(2);t.auctionManager=r()},function(e,t,n){“use strict”;function r(e,t,n){var r=””;if(!i(t))return r;var u=t.buckets.reduce(function(e,t){return e.max>t.max?e:t},{max:0}),d=(0,a.default)(t.buckets,function(t){if(e>u.max*n){var i=t.precision;void 0===i&&(i=c),r=(t.max*n).toFixed(i)}else if(e=t.min*n)return t});return d&&(r=o(e,d.increment,d.precision,n)),r}function i(e){if(u.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 o(e,t,n,r){void 0===n&&(n=c);var i=1/(t*r);return(Math.floor(e*i)/i).toFixed(n)}Object.defineProperty(t,”__esModule”,{value:!0}),t.isValidPriceConfig=t.getPriceBucketString=void 0;var a=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),u=n(0),c=2,d={buckets:[{min:0,max:5,increment:.5}]},s={buckets:[{min:0,max:20,increment:.1}]},f={buckets:[{min:0,max:20,increment:.01}]},l={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},p={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};t.getPriceBucketString=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=parseFloat(e);return isNaN(i)&&(i=””),{low:””===i?””:r(e,d,n),med:””===i?””:r(e,s,n),high:””===i?””:r(e,f,n),auto:””===i?””:r(e,p,n),dense:””===i?””:r(e,l,n),custom:””===i?””:r(e,t,n)}},t.isValidPriceConfig=i},function(e,t,n){var r=n(43);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(27),i=n(30),o=n(51),a=n(33),u=n(52);e.exports=function(e,t){var n=1==e,c=2==e,d=3==e,s=4==e,f=6==e,l=5==e||f,p=t||u;return function(t,u,g){for(var v,b,y=o(t),m=i(y),h=r(u,g,3),E=a(m.length),S=0,A=n?p(t,E):c?p(t,0):void 0;E>S;S++)if((l||S in m)&&(v=m[S],b=h(v,S,y),e))if(n)A[S]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return S;case 2:A.push(v)}else if(s)return!1;return f?-1:d||s?s:A}}},function(e,t,n){var r=n(31);e.exports=Object(“z”).propertyIsEnumerable(0)?Object:function(e){return”String”==r(e)?e.split(“”):Object(e)}},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(void 0==e)throw TypeError(“Can’t call method on “+e);return e}},function(e,t,n){var r=n(34),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){n(85),e.exports=n(17).Array.findIndex},function(e,t){var n;n=function(){return this}();try{n=n||Function(“return this”)()||(0,eval)(“this”)}catch(e){“object”==typeof window&&(n=window)}e.exports=n},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:10;”function”==typeof e&&(a.push({fn:e,priority:t}),a.sort(function(e,t){return t.priority-e.priority}))},removeHook:function(e){a=a.filter(function(n){return n.fn===t||n.fn!==e})}};return”string”==typeof n&&(o[n]=c),r(function(){for(var n=arguments.length,r=Array(n),i=0;i1&&void 0!==arguments[1]?arguments[1]:d(),r=i(e),o=y(r,t).concat(A(r,t)).concat(u.config.getConfig(“enableSendAllBids”)?T(0,t):[]);return o.map(function(e){Object.keys(e).map(function(t){e[t].map(function(e){-1===p.indexOf(Object.keys(e)[0])&&(p=Object.keys(e).concat(p))})})}),o=n(o)},w.setTargetingForGPT=function(e){window.googletag.pubads().getSlots().forEach(function(t){Object.keys(e).filter((0,a.isAdUnitCodeMatchingSlot)(t)).forEach(function(n){return Object.keys(e[n]).forEach(function(r){var i=e[n][r].split(“,”);(i=i.length>1?[i]:i).map(function(e){return f.logMessage(“Attempting to set key value for slot: “+t.getSlotElementId()+” key: “+r+” value: “+e),e}).forEach(function(e){t.setTargeting(r,e)})})})})},w.getWinningBids=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d(),n=i(e);return t.filter(function(e){return(0,s.default)(n,e.adUnitCode)}).filter(function(e){return e.cpm>0}).map(function(e){return e.adUnitCode}).filter(a.uniques).map(function(e){return t.filter(function(t){return t.adUnitCode===e?t:null}).reduce(a.getHighestCpm,_(e))})},w.setTargetingForAst=function(){var e=w.getAllTargeting();Object.keys(e).forEach(function(t){return Object.keys(e[t]).forEach(function(n){if(f.logMessage(“Attempting to set targeting for targetId: “+t+” key: “+n+” value: “+e[t][n]),f.isStr(e[t][n])||f.isArray(e[t][n])){var r={};r[“hb_adid”===n.substring(0,”hb_adid”.length)?n.toUpperCase():n]=e[t][n],window.apntag.setKeywords(t,r)}})})},w.isApntagDefined=function(){if(window.apntag&&f.isFn(window.apntag.setKeywords))return!0},w}Object.defineProperty(t,”__esModule”,{value:!0}),t.targeting=t.isBidExpired=t.BID_TARGETING_SET=void 0;var o=Object.assign||function(e){for(var t=1;t1?arguments[1]:void 0)}}),n(21)(“find”)},function(e,t){e.exports=function(e){if(“function”!=typeof e)throw TypeError(e+” is not a function!”);return e}},function(e,t,n){var r=n(45),i=n(50);e.exports=n(20)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(46),i=n(47),o=n(49),a=Object.defineProperty;t.f=n(20)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if(“get”in n||”set”in n)throw TypeError(“Accessors not supported!”);return”value”in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(18);e.exports=function(e){if(!r(e))throw TypeError(e+” is not an object!”);return e}},function(e,t,n){e.exports=!n(20)&&!n(28)(function(){return 7!=Object.defineProperty(n(48)(“div”),”a”,{get:function(){return 7}}).a})},function(e,t,n){var r=n(18),i=n(16).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(18);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&”function”==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if(“function”==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&”function”==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError(“Can’t convert object to primitive value”)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(32);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(53);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(18),i=n(54),o=n(55)(“species”);e.exports=function(e){var t;return i(e)&&(“function”!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(31);e.exports=Array.isArray||function(e){return”Array”==r(e)}},function(e,t,n){var r=n(56)(“wks”),i=n(57),o=n(16).Symbol,a=”function”==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)(“Symbol.”+e))}).store=r},function(e,t,n){var r=n(16),i=r[“__core-js_shared__”]||(r[“__core-js_shared__”]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return”Symbol(“.concat(void 0===e?””:e,”)_”,(++n+r).toString(36))}},function(e,t,n){“use strict”;var r=n(19),i=n(59)(!0);r(r.P,”Array”,{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(21)(“includes”)},function(e,t,n){var r=n(60),i=n(33),o=n(61);e.exports=function(e){return function(t,n,a){var u,c=r(t),d=i(c.length),s=o(a,d);if(e&&n!=n){for(;d>s;)if((u=c[s++])!=u)return!0}else for(;d>s;s++)if((e||s in c)&&c[s]===n)return e||s||0;return!e&&-1}}},function(e,t,n){var r=n(30),i=n(32);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(34),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))0&&void 0!==arguments[0]?arguments[0]:{},t=e.labels,n=void 0===t?[]:t,r=e.labelAll,o=void 0!==r&&r,a=e.activeLabels,d=void 0===a?[]:a,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],f=i(arguments.length>2&&void 0!==arguments[2]?arguments[2]:c),l=void 0;return l=f.shouldFilter?s.filter(function(e){return f.sizesSupported[e]}):s,{active:l.length>0&&(0===n.length||!o&&(n.some(function(e){return f.labels[e]})||n.some(function(e){return(0,u.default)(d,e)}))||o&&n.reduce(function(e,t){return e?f.labels[t]||(0,u.default)(d,t):e},!0)),sizes:l}};var a=n(3),u=function(e){return e&&e.__esModule?e:{default:e}}(n(7)),c=[];a.config.getConfig(“sizeConfig”,function(e){return r(e.sizeConfig)})},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){“use strict”;var r=n(19),i=n(29)(6),o=”findIndex”,a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,”Array”,{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(21)(o)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.adUnitCode,n=e.bid,r=e.bidRequests,i=e.auctionId,o=(0,l.getBidderRequest)(r,n.bidderCode,t),u=o.start,c=f({},n,{auctionId:i,responseTimestamp:(0,l.timestamp)(),requestTimestamp:u,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});c.timeToRespond=c.responseTimestamp-c.requestTimestamp,w.emit(O.EVENTS.BID_ADJUSTMENT,c);var d=o.bids&&o.bids[0]&&o.bids[0].renderer;d&&(c.renderer=b.Renderer.install({url:d.url}),c.renderer.setRender(d.render));var s=(0,p.getPriceBucketString)(c.cpm,y.config.getConfig(“customPriceBucket”),y.config.getConfig(“currency.granularityMultiplier”));c.pbLg=s.low,c.pbMg=s.med,c.pbHg=s.high,c.pbAg=s.auto,c.pbDg=s.dense,c.pbCg=s.custom;var g;return c.bidderCode&&(c.cpm>0||c.dealId)&&(g=a(c.bidderCode,c)),c.adserverTargeting=f(c.adserverTargeting||{},g),c}function o(){var e=y.config.getConfig(“priceGranularity”),t=pbjs.bidderSettings;return t[O.JSON_MAPPING.BD_SETTING_STANDARD]||(t[O.JSON_MAPPING.BD_SETTING_STANDARD]={}),t[O.JSON_MAPPING.BD_SETTING_STANDARD][O.JSON_MAPPING.ADSERVER_TARGETING]||(t[O.JSON_MAPPING.BD_SETTING_STANDARD][O.JSON_MAPPING.ADSERVER_TARGETING]=[{key:”hb_bidder”,val:function(e){return e.bidderCode}},{key:”hb_adid”,val:function(e){return e.adId}},{key:”hb_pb”,val:function(t){return e===O.GRANULARITY_OPTIONS.AUTO?t.pbAg:e===O.GRANULARITY_OPTIONS.DENSE?t.pbDg:e===O.GRANULARITY_OPTIONS.LOW?t.pbLg:e===O.GRANULARITY_OPTIONS.MEDIUM?t.pbMg:e===O.GRANULARITY_OPTIONS.HIGH?t.pbHg:e===O.GRANULARITY_OPTIONS.CUSTOM?t.pbCg:void 0}},{key:”hb_size”,val:function(e){return e.size}},{key:”hb_deal”,val:function(e){return e.dealId}},{key:”hb_source”,val:function(e){return e.source}}]),t[O.JSON_MAPPING.BD_SETTING_STANDARD]}function a(e,t){var n={},r=pbjs.bidderSettings;return t&&r&&u(n,o(),t),e&&t&&r&&r[e]&&r[e][O.JSON_MAPPING.ADSERVER_TARGETING]&&(u(n,r[e],t),t.sendStandardTargeting=r[e].sendStandardTargeting),t.native&&(n=f({},n,(0,g.getNativeTargeting)(t))),n}function u(e,t,n){var r=t[O.JSON_MAPPING.ADSERVER_TARGETING];return n.size=n.getSize(),I._each(r,function(r){var i=r.key,o=r.val;if(e[i]&&I.logWarn(“The key: “+i+” is getting ovewritten”),I.isFn(o))try{o=o(n)}catch(e){I.logError(“bidmanager”,”ERROR”,e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&”hb_deal”!==i||!I.isEmptyStr(o)&&null!==o&&void 0!==o?e[i]=o:I.logInfo(“suppressing empty key ‘”+i+”‘ from adserver targeting”)}),e}function c(e){var t=e.bidderCode,n=e.cpm,r=void 0;if(pbjs.bidderSettings&&(t&&pbjs.bidderSettings[t]&&”function”==typeof pbjs.bidderSettings[t].bidCpmAdjustment?r=pbjs.bidderSettings[t].bidCpmAdjustment:pbjs.bidderSettings[O.JSON_MAPPING.BD_SETTING_STANDARD]&&”function”==typeof pbjs.bidderSettings[O.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(r=pbjs.bidderSettings[O.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),r))try{n=r(e.cpm,f({},e))}catch(e){I.logError(“Error during bid adjustment”,”bidmanager.js”,e)}n>=0&&(e.cpm=n)}function d(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}function s(e,t){var n=e.map(function(e){return e.bidderCode}).filter(l.uniques),r=t.map(function(e){return e.bidder}).filter(l.uniques),i=n.filter(function(e){return!(0,A.default)(r,e)});return e.map(function(e){return(e.bids||[]).filter(function(e){return(0,A.default)(i,e.bidder)})}).reduce(l.flatten,[]).map(function(e){return{bidId:e.bidId,bidder:e.bidder,adUnitCode:e.adUnitCode,auctionId:e.auctionId}})}Object.defineProperty(t,”__esModule”,{value:!0}),t.addBidResponse=t.AUCTION_COMPLETED=t.AUCTION_IN_PROGRESS=t.AUCTION_STARTED=void 0;var f=Object.assign||function(e){for(var t=1;t0&&!y.config.getConfig(“cache.url”))&&o()},1)}function o(){b.every(function(e){return e.doneCbCallCount>=1})&&(I.logInfo(“Bids Received for Auction with id: “+A,m),U=B,r(!1,!0))}var a=e.adUnits,u=e.adUnitCodes,c=e.callback,f=e.cbTimeout,p=a,g=e.labels,v=u,b=[],m=[],h=void 0,A=I.generateUUID(),U=void 0,R=c,N=void 0,P=f,M=void 0;return{addBidReceived:function(e){m=m.concat(e)},executeCallback:r,callBids:function(){n(),U=C;var e={timestamp:h=Date.now(),auctionId:A,timeout:P};w.emit(O.EVENTS.AUCTION_INIT,e);var r=_.makeBidRequests(p,h,A,P,g);I.logInfo(“Bids Requested for Auction with id: “+A,r),r.forEach(function(e){t(e)}),U=j,_.callBids(p,r,x.bind(this),i.bind(this))},bidsBackAll:o,setWinningBid:function(e){M=e},getWinningBid:function(){return M},getTimeout:function(){return P},getAuctionId:function(){return A},getAuctionStatus:function(){return U},getAdUnits:function(){return p},getAdUnitCodes:function(){return v},getBidRequests:function(){return b},getBidsReceived:function(){return m}}},t.getStandardBidderSettings=o,t.getKeyValueTargetingPairs=a,t.adjustBids=c;var l=n(0),p=n(26),g=n(13),v=n(120),b=n(24),y=n(3),m=n(12),h=n(37),E=n(23),S=r(n(11)),A=r(n(7)),T=m.userSync.syncUsers,I=n(0),_=n(4),w=n(8),O=n(2),C=t.AUCTION_STARTED=”started”,j=t.AUCTION_IN_PROGRESS=”inProgress”,B=t.AUCTION_COMPLETED=”completed”;w.on(O.EVENTS.BID_ADJUSTMENT,function(e){c(e)});var x=t.addBidResponse=(0,h.createHook)(“asyncSeries”,function(e,t){function n(){c.timeToRespond>o.getTimeout()+y.config.getConfig(“timeoutBuffer”)&&o.executeCallback(!0)}function r(){w.emit(O.EVENTS.BID_RESPONSE,c),o.addBidReceived(c)}var o=this,a=o.getBidRequests(),u=o.getAuctionId(),c=i({adUnitCode:e,bid:t,bidRequests:a,auctionId:u});”video”===c.mediaType?function(e){y.config.getConfig(“cache.url”)?(0,v.store)([e],function(i,a){i?I.logWarn(“Failed to save to the video cache: “+i+”. Video bid must be discarded.”):(e.videoCacheKey=a[0].uuid,t.vastUrl||(e.vastUrl=(0,v.getCacheUrl)(e.videoCacheKey)),r(),o.bidsBackAll()),n()}):(r(),n())}(c):(n(),r())},”addBidResponse”)},function(e,t,n){“use strict”;function r(e){return’\n \n \n prebid.org wrapper\n \n \n \n \n \n “}function i(e){return{type:”xml”,value:e.vastXml?e.vastXml:r(e.vastUrl)}}function o(e){return{success:function(t){var n=void 0;try{n=JSON.parse(t).responses}catch(t){return void e(t,[])}n?e(null,n):e(new Error(“The cache server didn’t respond with a responses property.”),[])},error:function(t,n){e(new Error(“Error storing video ad in the cache: “+t+”: “+JSON.stringify(n)),[])}}}Object.defineProperty(t,”__esModule”,{value:!0}),t.store=function(e,t){var n={puts:e.map(i)};(0,a.ajax)(u.config.getConfig(“cache.url”),o(t),JSON.stringify(n),{contentType:”text/plain”,withCredentials:!0})},t.getCacheUrl=function(e){return u.config.getConfig(“cache.url”)+”?uuid=”+e};var a=n(5),u=n(3)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(248)},function(e,t,n){“use strict”;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function o(e){e.forEach(function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){S.logError(“Error processing command :”,”prebid.js”,e)}})}var a=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},u=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes,o=e.labels;I.emit(“requestBids”);var a=n||v.config.getConfig(“bidderTimeout”);if(r=r||h.adUnits,S.logInfo(“Invoking pbjs.requestBids”,arguments),i&&i.length?r=r.filter(function(e){return(0,m.default)(i,e.code)}):i=r&&r.map(function(e){return e.code}),r.filter(s.videoAdUnit).filter(s.hasNonVideoBidder).forEach(function(e){var t=e.bids.filter(function(e){return!(0,s.videoBidder)(e)}).map(function(e){return e.bidder});S.logWarn(S.unsupportedBidderMessage(e,t)),e.bids=e.bids.filter(s.videoBidder)}),r.filter(f.nativeAdUnit).filter(f.hasNonNativeBidder).forEach(function(e){var t=e.bids.filter(function(e){return!(0,f.nativeBidder)(e)}).map(function(e){return e.bidder});S.logWarn(S.unsupportedBidderMessage(e,t)),e.bids=e.bids.filter(f.nativeBidder)}),r&&0!==r.length)b.auctionManager.createAuction({adUnits:r,adUnitCodes:i,callback:t,cbTimeout:a,labels:o}).callBids();else if(S.logMessage(“No adUnits configured. No bids requested.”),”function”==typeof t)try{t()}catch(e){S.logError(“Error executing bidsBackHandler”,null,e)}},h.addAdUnits=function(e){S.logInfo(“Invoking pbjs.addAdUnits”,arguments),S.isArray(e)?(e.forEach(function(e){return e.transactionId=S.generateUUID()}),h.adUnits.push.apply(h.adUnits,e)):”object”===(void 0===e?”undefined”:a(e))&&(e.transactionId=S.generateUUID(),h.adUnits.push(e)),I.emit(C)},h.onEvent=function(e,t,n){S.logInfo(“Invoking pbjs.onEvent”,arguments),S.isFn(t)?!n||j[e].call(null,n)?I.on(e,t,n):S.logError(‘The id provided is not valid for event “‘+e+'” and no handler was set.’):S.logError(‘The event handler provided is not a function and was not set on event “‘+e+'”.’)},h.offEvent=function(e,t,n){S.logInfo(“Invoking pbjs.offEvent”,arguments),n&&!j[e].call(null,n)||I.off(e,t,n)},h.registerBidAdapter=function(e,t){S.logInfo(“Invoking pbjs.registerBidAdapter”,arguments);try{A.registerBidAdapter(e(),t)}catch(e){S.logError(“Error registering bidder adapter : “+e.message)}},h.registerAnalyticsAdapter=function(e){S.logInfo(“Invoking pbjs.registerAnalyticsAdapter”,arguments);try{A.registerAnalyticsAdapter(e)}catch(e){S.logError(“Error registering analytics adapter : “+e.message)}},h.createBid=function(e){return S.logInfo(“Invoking pbjs.createBid”,arguments),T.createBid(e)},h.loadScript=function(e,t,n){S.logInfo(“Invoking pbjs.loadScript”,arguments),(0,g.loadScript)(e,t,n)},h.enableAnalytics=function(e){e&&!S.isEmpty(e)?(S.logInfo(“Invoking pbjs.enableAnalytics for: “,e),A.enableAnalytics(e)):S.logError(“pbjs.enableAnalytics should be called with option {}”)},h.aliasBidder=function(e,t){S.logInfo(“Invoking pbjs.aliasBidder”,arguments),e&&t?A.aliasBidAdapter(e,t):S.logError(“bidderCode and alias must be passed as arguments”,”pbjs.aliasBidder”)},h.getAllWinningBids=function(){return b.auctionManager.getAllWinningBids().map(d.removeRequestId)},h.getHighestCpmBids=function(e){return y.targeting.getWinningBids(e,b.auctionManager.getBidsReceived()).map(d.removeRequestId)},h.getConfig=v.config.getConfig,h.setConfig=v.config.setConfig,h.que.push(function(){return(0,l.listenMessagesFromCreative)()}),h.cmd.push=function(e){if(“function”==typeof e)try{e.call()}catch(e){S.logError(“Error processing command :”,e.message,e.stack)}else S.logError(“Commands written into pbjs.cmd.push must be wrapped in a function”)},h.que.push=h.cmd.push,h.processQueue=function(){o(h.que),o(h.cmd)}},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.message?”message”:”data”,n={};try{n=JSON.parse(e[t])}catch(e){return}if(n.adId){var r=(0,l.default)(f.auctionManager.getBidsReceived(),function(e){return e.adId===n.adId});”Prebid Request”===n.message&&(o(r,n.adServerDomain,e.source),f.auctionManager.addWinningBid(r),u.default.emit(p,r)),”Prebid Native”===n.message&&((0,c.fireNativeTrackers)(n,r),f.auctionManager.addWinningBid(r),u.default.emit(p,r))}}function o(e,t,n){var r=e.adId,i=e.ad,o=e.adUrl,u=e.width,c=e.height;r&&(a(e),n.postMessage(JSON.stringify({message:”Prebid Response”,ad:i,adUrl:o,adId:r,width:u,height:c}),t))}function a(e){var t=e.adUnitCode,n=e.width,r=e.height,i=document.getElementById((0,l.default)(window.googletag.pubads().getSlots().filter((0,s.isSlotMatchingAdUnitCode)(t)),function(e){return e}).getSlotElementId()).querySelector(“iframe”);i.width=””+n,i.height=””+r}Object.defineProperty(t,”__esModule”,{value:!0}),t.listenMessagesFromCreative=function(){addEventListener(“message”,i,!1)};var u=r(n(8)),c=n(13),d=n(2),s=n(0),f=n(25),l=r(n(11)),p=d.EVENTS.BID_WON}]),pbjsChunk([50],{91:function(e,t,n){n(92),e.exports=n(93)},92:function(e,t,n){“use strict”;function r(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function i(e){return”number”==typeof e&&isFinite(e)&&Math.floor(e)===e}function o(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;rif(!parent.pbjs.aolGlobals.pixelsDropped){parent.pbjs.aolGlobals.pixelsDropped=true;”+e.ext.pixels.replace(//g,””)+”}”),{bidderCode:t.bidderCode,requestId:t.bidId,ad:i,cpm:r,width:n.w,height:n.h,creativeId:n.crid,pubapiId:e.id,currency:e.cur,dealId:n.dealid,netRevenue:!0,ttl:t.ttl}}function g(e){return e===j.AOL||e===j.ONEDISPLAY}function v(e){return e===j.AOL||e===j.ONEMOBILE}function b(e){if(v(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var t=e.params.imp[0];return t.id&&t.tagid&&(t.banner&&t.banner.w&&t.banner.h||t.video&&t.video.mimes&&t.video.minduration&&t.video.maxduration)}}function y(e){return v(e.bidder)&&e.params.dcn&&e.params.pos}function m(e){return g(e.bidder)&&e.params.placement&&e.params.network}function h(e){return y(e)||b(e)}function E(e){return y(e)?B.MOBILE.GET:b(e)?B.MOBILE.POST:m(e)?B.DISPLAY.GET:void 0}function S(e,t){var n=void 0;switch(e){case B.DISPLAY.GET:n={url:c(t),method:”GET”,ttl:k};break;case B.MOBILE.GET:n={url:l(t),method:”GET”,ttl:D};break;case B.MOBILE.POST:n={url:f(t),method:”POST”,ttl:D,data:t.params,options:{contentType:”application/json”,customHeaders:{“x-openrtb-version”:”2.2″}}}}return n.bidderCode=t.bidder,n.bidId=t.bidId,n.userSyncOn=t.params.userSyncOn,n}Object.defineProperty(t,”__esModule”,{value:!0}),t.spec=void 0;var A=r([“//”,”/pubapi/3.0/”,”/”,”/”,”/”,”/ADTECH;v=2;cmd=bid;cors=yes;alias=”,””,””,”;misc=”,””],[“//”,”/pubapi/3.0/”,”/”,”/”,”/”,”/ADTECH;v=2;cmd=bid;cors=yes;alias=”,””,””,”;misc=”,””]),T=r([“//”,”/bidRequest?”],[“//”,”/bidRequest?”]),I=r([“dcn=”,”&pos=”,”&cmd=bid”,””],[“dcn=”,”&pos=”,”&cmd=bid”,””]),_=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0)),w=n(1),O=n(3),C=function(e){return e&&e.__esModule?e:{default:e}}(n(2)),j={AOL:”aol”,ONEMOBILE:”onemobile”,ONEDISPLAY:”onedisplay”},B={DISPLAY:{GET:”display-get”},MOBILE:{GET:”mobile-get”,POST:”mobile-post”}},x={IFRAME:{TAG:”iframe”,TYPE:”iframe”},IMAGE:{TAG:”img”,TYPE:”image”}},U=o(A,”host”,”network”,”placement”,”pageid”,”sizeid”,”alias”,”bidfloor”,”keyValues”,”misc”),R=o(T,”host”),N=o(I,”dcn”,”pos”,”ext”),P={eu:”adserver-eu.adtech.advertising.com”},M=”hb.nexage.com”,k=60,D=3600;pbjs.aolGlobals={pixelsDropped:!1};var q=function(){var e=!0;return function(){var t=pbjs.bidderSettings;e&&t&&t.aol&&”function”==typeof t.aol.bidCpmAdjustment&&(_.logWarn(“bidCpmAdjustment is active for the AOL adapter. As of Prebid 0.14, AOL can bid in net – please contact your accounts team to enable.”),e=!1)}}(),G=t.spec={code:j.AOL,aliases:[j.ONEMOBILE,j.ONEDISPLAY],isBidRequestValid:function(e){return m(e)||h(e)},buildRequests:function(e){return e.map(function(e){var t=E(e);if(t)return S(t,e)})},interpretResponse:function(e,t){var n=e.body;if(q(),n){var r=p(n,t);if(r)return r}else _.logError(“Empty bid response”,t.bidderCode,n)},getUserSyncs:function(e,t){var n=t[0];return O.config.getConfig(“aol.userSyncOn”)===C.default.EVENTS.BID_RESPONSE&&!pbjs.aolGlobals.pixelsDropped&&n.ext&&n.ext.pixels?(pbjs.aolGlobals.pixelsDropped=!0,u(n.ext.pixels)):[]}};(0,w.registerBidder)(G)},93:function(e,t){}},[91]),pbjsChunk([64],{114:function(e,t,n){e.exports=n(115)},115:function(e,t,n){“use strict”;function r(e){var t=m;”object”===f(e.rates)&&(_.conversions=e.rates,A=!0),”string”==typeof e.adServerCurrency?(v.logInfo(“enabling currency support”,arguments),T=e.adServerCurrency,e.conversionRateFile&&(v.logInfo(“currency using override conversionRateFile:”,e.conversionRateFile),t=e.conversionRateFile),i(t)):(v.logInfo(“disabling currency support”),o()),”object”===f(e.bidderCurrencyDefault)&&(w=e.bidderCurrencyDefault)}function i(e){S={},t.currencySupportEnabled=I=!0,v.logInfo(“Installing addBidResponse decorator for currency module”,arguments),y.hooks.addBidResponse.addHook(a,100),_.conversions||(0,g.ajax)(e,function(e){try{t.currencyRates=_=JSON.parse(e),v.logInfo(“currencyRates set to “+JSON.stringify(_)),A=!0,u()}catch(t){v.logError(“failed to parse currencyRates response: “+e)}})}function o(){v.logInfo(“Uninstalling addBidResponse decorator for currency module”,arguments),y.hooks.addBidResponse.removeHook(a,100),T=”USD”,S={},t.currencySupportEnabled=I=!1,A=!1,t.currencyRates=_={},w={}}function a(e,t,n){if(!t)return n.apply(this,arguments);var r=t.bidderCode||t.bidder;if(w[r]){var i=w[r];t.currency&&i!==t.currency?v.logWarn(“Currency default ‘”+r+”: “+i+”‘ ignored. adapter specified ‘”+t.currency+”‘”):t.currency=i}if(t.currency||(v.logWarn(‘Currency not specified on bid. Defaulted to “USD”‘),t.currency=”USD”),t.currency===T)return n.apply(this,arguments);E.push(c(n,this,arguments)),I&&!A||u()}function u(){for(;E.length>0;)E.shift()()}function c(e,t,n){return function(){var r=n[1];if(void 0!==r&&”currency”in r&&”cpm”in r){var i=r.currency;try{var o=d(i);r.originalCpm=r.cpm,r.originalCurrency=r.currency,1!==o&&(r.cpm=(parseFloat(r.cpm)*o).toFixed(4),r.currency=T)}catch(e){v.logWarn(“Returning NO_BID, getCurrencyConversion threw error: “,e),n[1]=l.default.createBid(p.STATUS.NO_BID,{bidder:r.bidderCode||r.bidder,bidId:r.adId})}}return e.apply(t,n)}}function d(e){var t,n=null;if(e in S)n=S[e],v.logMessage(“Using conversionCache value “+n+” for fromCurrency “+e);else if(!1===I){if(“USD”!==e)throw new Error(“Prebid currency support has not been enabled and fromCurrency is not USD”);n=1}else if(e===T)n=1;else{var r=T;if(e in _.conversions){if(t=_.conversions[e],!(r in t))throw new Error(“Specified adServerCurrency in config ‘”+r+”‘ not found in the currency rates file”);n=t[r],v.logInfo(“getCurrencyConversion using direct “+e+” to “+r+” conversionRate “+n)}else if(r in _.conversions){if(t=_.conversions[r],!(e in t))throw new Error(“Specified fromCurrency ‘”+e+”‘ not found in the currency rates file”);n=s(1/t[e],h),v.logInfo(“getCurrencyConversion using reciprocal “+e+” to “+r+” conversionRate “+n)}else{var i=Object.keys(_.conversions)[0];if(!(e in _.conversions[i]))throw new Error(“Specified fromCurrency ‘”+e+”‘ not found in the currency rates file”);var o=1/_.conversions[i][e];if(!(r in _.conversions[i]))throw new Error(“Specified adServerCurrency in config ‘”+r+”‘ not found in the currency rates file”);n=s(o*_.conversions[i][r],h),v.logInfo(“getCurrencyConversion using intermediate “+e+” thru “+i+” to “+r+” conversionRate “+n)}}return e in S||(v.logMessage(“Adding conversionCache value “+n+” for fromCurrency “+e),S[e]=n),n}function s(e,t){for(var n=1,r=0;r\n

Här ska Kate och William bo under Sverigebesöket

‘:””},t.getDefinedParams=function(e,t){return t.filter(function(t){return e[t]}).reduce(function(t,n){return p(t,i({},n,e[n]))},{})},t.isValidMediaTypes=function(e){var t=[“banner”,”native”,”video”],n=[“instream”,”outstream”];return!!Object.keys(e).every(function(e){return(0,m.default)(t,e)})&&(!e.video||!e.video.context||(0,m.default)(n,e.video.context))},t.getBidderRequest=function(e,t,n){return(0,y.default)(e,function(e){return e.bids.filter(function(e){return e.bidder===t&&e.adUnitCode===n}).length>0})||{start:null,auctionId:null}},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+”//”+window.location.hostname+(window.location.port?”:”+window.location.port:””)},t.isAdUnitCodeMatchingSlot=function(e){return function(t){return O(e,t)}},t.isSlotMatchingAdUnitCode=function(e){return function(t){return O(t,e)}},t.unsupportedBidderMessage=function(e,t){var n=e.mediaType||Object.keys(e.mediaTypes).join(“, “),r=1===t.length?”This bidder”:”These bidders”;return”\n “+e.code+” is a “+n+” ad unit\n containing bidders that don’t support “+n+”: “+t.join(“, “)+”.\n “+r+” won’t fetch demand.\n “},t.deletePropertyFromObject=function(e,t){var n=p({},e);return delete n[t],n},t.removeRequestId=function(e){return t.deletePropertyFromObject(e,”requestId”)},t.isInteger=function(e){return Number.isInteger?Number.isInteger(e):”number”==typeof e&&isFinite(e)&&Math.floor(e)===e};var v=n(3),b=r(n(62)),y=r(n(11)),m=r(n(7)),h=n(2),E=!1,S=Object.prototype.toString,A=null;try{A=console.info.bind(window.console)}catch(e){}t.replaceTokenInString=function(e,t,n){return this._each(t,function(t,r){t=void 0===t?””:t;var i=n+r.toUpperCase()+n,o=new RegExp(i,”g”);e=e.replace(o,t)}),e};var T=function(){var e=0;return function(){return++e}}();t.getUniqueIdentifierStr=o,t.generateUUID=function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){return t&&t[e]?t[e]:””},t.tryAppendQueryString=function(e,t,n){return n?e+=t+”=”+encodeURIComponent(n)+”&”:e},t.parseQueryStringParameters=function(e){var t=””;for(var n in e)e.hasOwnProperty(n)&&(t+=n+”=”+encodeURIComponent(e[n])+”&”);return t},t.transformAdServerTargetingObj=function(e){return e&&Object.getOwnPropertyNames(e).length>0?f(e).map(function(t){return t+”=”+encodeURIComponent(l(e,t))}).join(“&”):””},t.getTopWindowLocation=function(){var e=void 0;try{window.top.location.toString(),e=window.top.location}catch(t){e=window.location}return e},t.getTopWindowUrl=function(){var e=void 0;try{e=this.getTopWindowLocation().href}catch(t){e=””}return e},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logWarn=function(e){I()&&console.warn&&console.warn(“WARNING: “+e)},t.logInfo=function(e,t){I()&&u()&&A&&(t&&0!==t.length||(t=””),A(“INFO: “+e+(“”===t?””:” : params : “),t))},t.logMessage=function(e){I()&&u()&&console.log(“MESSAGE: “+e)},t.hasConsoleLogger=u;var I=function(){if(!1===v.config.getConfig(“debug”)&&!1===E){var e=”TRUE”===_(h.DEBUG_MODE).toUpperCase();v.config.setConfig({debug:e}),E=!0}return!!v.config.getConfig(“debug”)};t.debugTurnedOn=I,t.logError=function(){I()&&c()&&console.error.apply(console,arguments)},t.createInvisibleIframe=function(){var e=document.createElement(“iframe”);return e.id=o(),e.height=0,e.width=0,e.border=”0px”,e.hspace=”0″,e.vspace=”0″,e.marginWidth=”0″,e.marginHeight=”0″,e.style.border=”0″,e.scrolling=”no”,e.frameBorder=”0″,e.src=”about:blank”,e.style.display=”none”,e};var _=function(e){var t=”[\\?&]”+e+”=([^]*)”,n=new RegExp(t).exec(window.location.search);return null===n?””:decodeURIComponent(n[1].replace(/\+/g,” “))};t.getParameterByName=_,t.hasValidBidRequest=function(e,t,n){for(var r=!1,i=0;i0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0},t.isEmptyStr=function(e){return this.isStr(e)&&(!e||0===e.length)},t._each=function(e,t){if(!this.isEmpty(e)){if(this.isFn(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(r>0)for(;n’},t.createTrackPixelIframeHtml=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:””;return e?(n&&(e=encodeURI(e)),r&&(r=’sandbox=”‘+r+'”‘),”‘):””},t.getIframeDocument=function(e){if(e){var t=void 0;try{t=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){this.logError(“Cannot get iframe document”,e)}return t}},t.getValueString=function(e,t,n){return void 0===t||null===t?n:this.isStr(t)?t:this.isNumber(t)?t.toString():void this.logWarn(“Unsuported type for param: “+e+” required type: String”)};var O=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t}},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){function t(t){if(e.getUserSyncs){var n=e.getUserSyncs({iframeEnabled:l.config.getConfig(“userSync.iframeEnabled”),pixelEnabled:l.config.getConfig(“userSync.pixelEnabled”)},t);n&&(Array.isArray(n)||(n=[n]),n.forEach(function(t){v.userSync.registerSync(t.type,e.code,t.url)}))}}function n(t){return!!e.isBidRequestValid(t)||((0,h.logWarn)(“Invalid bid sent to bidder “+e.code+”: “+JSON.stringify(t)),!1)}return d(new s.default(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:t,callBids:function(r,i,o,u){function s(e,t){v[e]=!0,a(e,t,[r])&&i(e,t)}function f(){o(),t(b)}function l(e){return e?”?”+(“object”===(void 0===e?”undefined”:c(e))?(0,h.parseQueryStringParameters)(e):e):””}if(Array.isArray(r.bids)){var v={},b=[],y=r.bids.filter(n);if(0!==y.length){var m={};y.forEach(function(e){m[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)});var E=e.buildRequests(y,r);if(E&&0!==E.length){Array.isArray(E)||(E=[E]);var S=(0,h.delayExecution)(f,E.length);E.forEach(function(t){function n(n,r){function i(t){var n=m[t.requestId];if(n){var r=d(p.default.createBid(g.STATUS.GOOD,n),t);s(n.adUnitCode,r)}else(0,h.logWarn)(“Bidder “+e.code+” made bid for unknown request ID: “+t.requestId+”. Ignoring.”)}try{n=JSON.parse(n)}catch(e){}n={body:n,headers:{get:r.getResponseHeader.bind(r)}},b.push(n);var o=void 0;try{o=e.interpretResponse(n,t)}catch(t){return(0,h.logError)(“Bidder “+e.code+” failed to interpret the server’s response. Continuing without bids”,null,t),void S()}o&&(o.forEach?o.forEach(i):i(o)),S()}function r(t){(0,h.logError)(“Server call for “+e.code+” failed: “+t+”. Continuing without bids.”),S()}switch(t.method){case”GET”:u(“”+t.url+l(t.data),{success:n,error:r},void 0,d({method:”GET”,withCredentials:!0},t.options));break;case”POST”:u(t.url,{success:n,error:r},”string”==typeof t.data?t.data:JSON.stringify(t.data),d({method:”POST”,contentType:”text/plain”,withCredentials:!0},t.options));break;default:(0,h.logWarn)(“Skipping invalid request from “+e.code+”. Request type “+t.type+” must be GET or POST”),S()}})}else f()}else f()}}})}function o(e,t,n){if((t.width||0===t.width)&&(t.height||0===t.height))return!0;var r=(0,h.getBidderRequest)(n,t.bidderCode,e),i=r&&r.bids&&r.bids[0]&&r.bids[0].sizes,o=(0,h.parseSizesInput)(i);if(1===o.length){var a=o[0].split(“x”),c=u(a,2),d=c[0],s=c[1];return t.width=d,t.height=s,!0}return!1}function a(e,t,n){function r(e){return”Invalid bid from “+t.bidderCode+”. Ignoring bid: “+e}return e?t?function(){var e=Object.keys(t);return E.every(function(t){return(0,m.default)(e,t)})}()?”native”!==t.mediaType||(0,b.nativeBidIsValid)(t,n)?”video”!==t.mediaType||(0,y.isValidVideoBid)(t,n)?!(“banner”===t.mediaType&&!o(e,t,n)&&((0,h.logError)(r(“Banner bids require a width and height”)),1)):((0,h.logError)(r(“Video bid does not have required vastUrl or renderer property”)),!1):((0,h.logError)(r(“Native bid missing some required properties.”)),!1):((0,h.logError)(r(“Bidder “+t.bidderCode+” is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params.”)),!1):((0,h.logWarn)(“Some adapter tried to add an undefined bid for “+e+”.”),!1):((0,h.logWarn)(“No adUnitCode was supplied to addBidResponse.”),!1)}Object.defineProperty(t,”__esModule”,{value:!0});var u=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),c=”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},d=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,i=void 0===r?[]:r;e&&n?”function”==typeof e.callBids?(T[n]=e,(0,m.default)(i,”video”)&&t.videoAdapters.push(n),(0,m.default)(i,”native”)&&g.nativeAdapters.push(n)):h.logError(“Bidder adaptor error for bidder code: “+n+”bidder must implement a callBids() function”):h.logError(“bidAdaptor or bidderCode not specified”)},t.aliasBidAdapter=function(e,t){if(void 0===T[t]){var n=T[e];if(void 0===n)h.logError(‘bidderCode “‘+e+'” is not an existing bidder.’,”adaptermanager.aliasBidAdapter”);else try{var r=void 0,i=d(e);if(n.constructor.prototype!=Object.prototype)(r=new n.constructor).setBidderCode(t);else{var o=n.getSpec();r=(0,v.newBidder)(f({},o,{code:t}))}this.registerBidAdapter(r,t,{supportedMediaTypes:i})}catch(t){h.logError(e+” bidder does not currently support aliasing.”,”adaptermanager.aliasBidAdapter”)}}else h.logMessage(‘alias name “‘+t+'” has been already specified.’)},t.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code;t&&n?”function”==typeof t.enableAnalytics?(t.code=n,_[n]=t):h.logError(‘Prebid Error: Analytics adaptor error for analytics “‘+n+'”\n analytics adapter must implement an enableAnalytics() function’):h.logError(“Prebid Error: analyticsAdapter or analyticsCode not specified”)},t.enableAnalytics=function(e){h.isArray(e)||(e=[e]),h._each(e,function(e){var t=_[e.provider];t?t.enableAnalytics(e):h.logError(“Prebid Error: no analytics adapter found in registry for\n “+e.provider+”.”)})},t.getBidAdapter=function(e){return T[e]},t.setS2STestingModule=function(e){A=e}},function(e,t,n){“use strict”;function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3;return function(t,n,r){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var s=void 0,f=!1,l=d.method||(r?”POST”:”GET”),p=”object”===(void 0===n?”undefined”:o(n))?n:{success:function(){u.logMessage(“xhr success”)},error:function(e){u.logError(“xhr error”,null,e)}};if(“function”==typeof n&&(p.success=n),window.XMLHttpRequest?void 0===(s=new window.XMLHttpRequest).responseType&&(f=!0):f=!0,f?((s=new window.XDomainRequest).onload=function(){p.success(s.responseText,s)},s.onerror=function(){p.error(“error”,s)},s.ontimeout=function(){p.error(“timeout”,s)},s.onprogress=function(){u.logMessage(“xhr onprogress”)}):(s.onreadystatechange=function(){if(s.readyState===c){var e=s.status;e>=200&&e=g.syncsPerBidder?a.logWarn(‘Number of user syncs exceeded for “{$bidder}”‘):g.enabledBidders&&g.enabledBidders.length&&g.enabledBidders.indexOf(t)0&&void 0!==arguments[0]?arguments[0]:0;if(e)return window.setTimeout(n,Number(e));n()},s.triggerUserSyncs=function(){g.enableOverride&&s.syncUsers()},s}Object.defineProperty(t,”__esModule”,{value:!0}),t.userSync=void 0;var i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),o=Object.assign||function(e){for(var t=1;t0;)try{this.cmd.shift().call()}catch(e){o.logError(“Error processing Renderer command: “,e)}}},function(e,t,n){“use strict”;function r(){function e(e){t.push(e)}var t=[],n={};return n.addWinningBid=function(e){var n=(0,a.default)(t,function(t){return t.getAuctionId()===e.auctionId});n?n.setWinningBid(e):utils.logWarn(“Auction not found when adding winning bid”)},n.getAllWinningBids=function(){return t.map(function(e){return e.getWinningBid()}).reduce(i.flatten,[])},n.getBidsRequested=function(){return t.map(function(e){return e.getBidRequests()}).reduce(i.flatten,[])},n.getBidsReceived=function(){return t.map(function(e){if(e.getAuctionStatus()===o.AUCTION_COMPLETED)return e.getBidsReceived()}).reduce(i.flatten,[]).filter(function(e){return e})},n.getAdUnits=function(){return t.map(function(e){return e.getAdUnits()}).reduce(i.flatten,[])},n.getAdUnitCodes=function(){return t.map(function(e){return e.getAdUnitCodes()}).reduce(i.flatten,[]).filter(i.uniques)},n.createAuction=function(t){var n=t.adUnits,r=t.adUnitCodes,i=t.callback,a=t.cbTimeout,u=t.labels,c=(0,o.newAuction)({adUnits:n,adUnitCodes:r,callback:i,cbTimeout:a,labels:u});return e(c),c},n.findBidByAdId=function(e){return(0,a.default)(t.map(function(e){return e.getBidsReceived()}).reduce(i.flatten,[]),function(t){return t.adId===e})},n.getStandardBidderAdServerTargeting=function(){return(0,o.getStandardBidderSettings)()[u.JSON_MAPPING.ADSERVER_TARGETING]},n}Object.defineProperty(t,”__esModule”,{value:!0}),t.auctionManager=void 0,t.newAuctionManager=r;var i=n(0),o=n(119),a=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),u=n(2);t.auctionManager=r()},function(e,t,n){“use strict”;function r(e,t,n){var r=””;if(!i(t))return r;var u=t.buckets.reduce(function(e,t){return e.max>t.max?e:t},{max:0}),d=(0,a.default)(t.buckets,function(t){if(e>u.max*n){var i=t.precision;void 0===i&&(i=c),r=(t.max*n).toFixed(i)}else if(e=t.min*n)return t});return d&&(r=o(e,d.increment,d.precision,n)),r}function i(e){if(u.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 o(e,t,n,r){void 0===n&&(n=c);var i=1/(t*r);return(Math.floor(e*i)/i).toFixed(n)}Object.defineProperty(t,”__esModule”,{value:!0}),t.isValidPriceConfig=t.getPriceBucketString=void 0;var a=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),u=n(0),c=2,d={buckets:[{min:0,max:5,increment:.5}]},s={buckets:[{min:0,max:20,increment:.1}]},f={buckets:[{min:0,max:20,increment:.01}]},l={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},p={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};t.getPriceBucketString=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=parseFloat(e);return isNaN(i)&&(i=””),{low:””===i?””:r(e,d,n),med:””===i?””:r(e,s,n),high:””===i?””:r(e,f,n),auto:””===i?””:r(e,p,n),dense:””===i?””:r(e,l,n),custom:””===i?””:r(e,t,n)}},t.isValidPriceConfig=i},function(e,t,n){var r=n(43);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(27),i=n(30),o=n(51),a=n(33),u=n(52);e.exports=function(e,t){var n=1==e,c=2==e,d=3==e,s=4==e,f=6==e,l=5==e||f,p=t||u;return function(t,u,g){for(var v,b,y=o(t),m=i(y),h=r(u,g,3),E=a(m.length),S=0,A=n?p(t,E):c?p(t,0):void 0;E>S;S++)if((l||S in m)&&(v=m[S],b=h(v,S,y),e))if(n)A[S]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return S;case 2:A.push(v)}else if(s)return!1;return f?-1:d||s?s:A}}},function(e,t,n){var r=n(31);e.exports=Object(“z”).propertyIsEnumerable(0)?Object:function(e){return”String”==r(e)?e.split(“”):Object(e)}},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(void 0==e)throw TypeError(“Can’t call method on “+e);return e}},function(e,t,n){var r=n(34),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){n(85),e.exports=n(17).Array.findIndex},function(e,t){var n;n=function(){return this}();try{n=n||Function(“return this”)()||(0,eval)(“this”)}catch(e){“object”==typeof window&&(n=window)}e.exports=n},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:10;”function”==typeof e&&(a.push({fn:e,priority:t}),a.sort(function(e,t){return t.priority-e.priority}))},removeHook:function(e){a=a.filter(function(n){return n.fn===t||n.fn!==e})}};return”string”==typeof n&&(o[n]=c),r(function(){for(var n=arguments.length,r=Array(n),i=0;i1&&void 0!==arguments[1]?arguments[1]:d(),r=i(e),o=y(r,t).concat(A(r,t)).concat(u.config.getConfig(“enableSendAllBids”)?T(0,t):[]);return o.map(function(e){Object.keys(e).map(function(t){e[t].map(function(e){-1===p.indexOf(Object.keys(e)[0])&&(p=Object.keys(e).concat(p))})})}),o=n(o)},w.setTargetingForGPT=function(e){window.googletag.pubads().getSlots().forEach(function(t){Object.keys(e).filter((0,a.isAdUnitCodeMatchingSlot)(t)).forEach(function(n){return Object.keys(e[n]).forEach(function(r){var i=e[n][r].split(“,”);(i=i.length>1?[i]:i).map(function(e){return f.logMessage(“Attempting to set key value for slot: “+t.getSlotElementId()+” key: “+r+” value: “+e),e}).forEach(function(e){t.setTargeting(r,e)})})})})},w.getWinningBids=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d(),n=i(e);return t.filter(function(e){return(0,s.default)(n,e.adUnitCode)}).filter(function(e){return e.cpm>0}).map(function(e){return e.adUnitCode}).filter(a.uniques).map(function(e){return t.filter(function(t){return t.adUnitCode===e?t:null}).reduce(a.getHighestCpm,_(e))})},w.setTargetingForAst=function(){var e=w.getAllTargeting();Object.keys(e).forEach(function(t){return Object.keys(e[t]).forEach(function(n){if(f.logMessage(“Attempting to set targeting for targetId: “+t+” key: “+n+” value: “+e[t][n]),f.isStr(e[t][n])||f.isArray(e[t][n])){var r={};r[“hb_adid”===n.substring(0,”hb_adid”.length)?n.toUpperCase():n]=e[t][n],window.apntag.setKeywords(t,r)}})})},w.isApntagDefined=function(){if(window.apntag&&f.isFn(window.apntag.setKeywords))return!0},w}Object.defineProperty(t,”__esModule”,{value:!0}),t.targeting=t.isBidExpired=t.BID_TARGETING_SET=void 0;var o=Object.assign||function(e){for(var t=1;t1?arguments[1]:void 0)}}),n(21)(“find”)},function(e,t){e.exports=function(e){if(“function”!=typeof e)throw TypeError(e+” is not a function!”);return e}},function(e,t,n){var r=n(45),i=n(50);e.exports=n(20)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(46),i=n(47),o=n(49),a=Object.defineProperty;t.f=n(20)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if(“get”in n||”set”in n)throw TypeError(“Accessors not supported!”);return”value”in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(18);e.exports=function(e){if(!r(e))throw TypeError(e+” is not an object!”);return e}},function(e,t,n){e.exports=!n(20)&&!n(28)(function(){return 7!=Object.defineProperty(n(48)(“div”),”a”,{get:function(){return 7}}).a})},function(e,t,n){var r=n(18),i=n(16).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(18);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&”function”==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if(“function”==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&”function”==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError(“Can’t convert object to primitive value”)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(32);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(53);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(18),i=n(54),o=n(55)(“species”);e.exports=function(e){var t;return i(e)&&(“function”!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(31);e.exports=Array.isArray||function(e){return”Array”==r(e)}},function(e,t,n){var r=n(56)(“wks”),i=n(57),o=n(16).Symbol,a=”function”==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)(“Symbol.”+e))}).store=r},function(e,t,n){var r=n(16),i=r[“__core-js_shared__”]||(r[“__core-js_shared__”]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return”Symbol(“.concat(void 0===e?””:e,”)_”,(++n+r).toString(36))}},function(e,t,n){“use strict”;var r=n(19),i=n(59)(!0);r(r.P,”Array”,{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(21)(“includes”)},function(e,t,n){var r=n(60),i=n(33),o=n(61);e.exports=function(e){return function(t,n,a){var u,c=r(t),d=i(c.length),s=o(a,d);if(e&&n!=n){for(;d>s;)if((u=c[s++])!=u)return!0}else for(;d>s;s++)if((e||s in c)&&c[s]===n)return e||s||0;return!e&&-1}}},function(e,t,n){var r=n(30),i=n(32);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(34),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))0&&void 0!==arguments[0]?arguments[0]:{},t=e.labels,n=void 0===t?[]:t,r=e.labelAll,o=void 0!==r&&r,a=e.activeLabels,d=void 0===a?[]:a,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],f=i(arguments.length>2&&void 0!==arguments[2]?arguments[2]:c),l=void 0;return l=f.shouldFilter?s.filter(function(e){return f.sizesSupported[e]}):s,{active:l.length>0&&(0===n.length||!o&&(n.some(function(e){return f.labels[e]})||n.some(function(e){return(0,u.default)(d,e)}))||o&&n.reduce(function(e,t){return e?f.labels[t]||(0,u.default)(d,t):e},!0)),sizes:l}};var a=n(3),u=function(e){return e&&e.__esModule?e:{default:e}}(n(7)),c=[];a.config.getConfig(“sizeConfig”,function(e){return r(e.sizeConfig)})},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){“use strict”;var r=n(19),i=n(29)(6),o=”findIndex”,a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,”Array”,{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(21)(o)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.adUnitCode,n=e.bid,r=e.bidRequests,i=e.auctionId,o=(0,l.getBidderRequest)(r,n.bidderCode,t),u=o.start,c=f({},n,{auctionId:i,responseTimestamp:(0,l.timestamp)(),requestTimestamp:u,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});c.timeToRespond=c.responseTimestamp-c.requestTimestamp,w.emit(O.EVENTS.BID_ADJUSTMENT,c);var d=o.bids&&o.bids[0]&&o.bids[0].renderer;d&&(c.renderer=b.Renderer.install({url:d.url}),c.renderer.setRender(d.render));var s=(0,p.getPriceBucketString)(c.cpm,y.config.getConfig(“customPriceBucket”),y.config.getConfig(“currency.granularityMultiplier”));c.pbLg=s.low,c.pbMg=s.med,c.pbHg=s.high,c.pbAg=s.auto,c.pbDg=s.dense,c.pbCg=s.custom;var g;return c.bidderCode&&(c.cpm>0||c.dealId)&&(g=a(c.bidderCode,c)),c.adserverTargeting=f(c.adserverTargeting||{},g),c}function o(){var e=y.config.getConfig(“priceGranularity”),t=pbjs.bidderSettings;return t[O.JSON_MAPPING.BD_SETTING_STANDARD]||(t[O.JSON_MAPPING.BD_SETTING_STANDARD]={}),t[O.JSON_MAPPING.BD_SETTING_STANDARD][O.JSON_MAPPING.ADSERVER_TARGETING]||(t[O.JSON_MAPPING.BD_SETTING_STANDARD][O.JSON_MAPPING.ADSERVER_TARGETING]=[{key:”hb_bidder”,val:function(e){return e.bidderCode}},{key:”hb_adid”,val:function(e){return e.adId}},{key:”hb_pb”,val:function(t){return e===O.GRANULARITY_OPTIONS.AUTO?t.pbAg:e===O.GRANULARITY_OPTIONS.DENSE?t.pbDg:e===O.GRANULARITY_OPTIONS.LOW?t.pbLg:e===O.GRANULARITY_OPTIONS.MEDIUM?t.pbMg:e===O.GRANULARITY_OPTIONS.HIGH?t.pbHg:e===O.GRANULARITY_OPTIONS.CUSTOM?t.pbCg:void 0}},{key:”hb_size”,val:function(e){return e.size}},{key:”hb_deal”,val:function(e){return e.dealId}},{key:”hb_source”,val:function(e){return e.source}}]),t[O.JSON_MAPPING.BD_SETTING_STANDARD]}function a(e,t){var n={},r=pbjs.bidderSettings;return t&&r&&u(n,o(),t),e&&t&&r&&r[e]&&r[e][O.JSON_MAPPING.ADSERVER_TARGETING]&&(u(n,r[e],t),t.sendStandardTargeting=r[e].sendStandardTargeting),t.native&&(n=f({},n,(0,g.getNativeTargeting)(t))),n}function u(e,t,n){var r=t[O.JSON_MAPPING.ADSERVER_TARGETING];return n.size=n.getSize(),I._each(r,function(r){var i=r.key,o=r.val;if(e[i]&&I.logWarn(“The key: “+i+” is getting ovewritten”),I.isFn(o))try{o=o(n)}catch(e){I.logError(“bidmanager”,”ERROR”,e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&”hb_deal”!==i||!I.isEmptyStr(o)&&null!==o&&void 0!==o?e[i]=o:I.logInfo(“suppressing empty key ‘”+i+”‘ from adserver targeting”)}),e}function c(e){var t=e.bidderCode,n=e.cpm,r=void 0;if(pbjs.bidderSettings&&(t&&pbjs.bidderSettings[t]&&”function”==typeof pbjs.bidderSettings[t].bidCpmAdjustment?r=pbjs.bidderSettings[t].bidCpmAdjustment:pbjs.bidderSettings[O.JSON_MAPPING.BD_SETTING_STANDARD]&&”function”==typeof pbjs.bidderSettings[O.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(r=pbjs.bidderSettings[O.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),r))try{n=r(e.cpm,f({},e))}catch(e){I.logError(“Error during bid adjustment”,”bidmanager.js”,e)}n>=0&&(e.cpm=n)}function d(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}function s(e,t){var n=e.map(function(e){return e.bidderCode}).filter(l.uniques),r=t.map(function(e){return e.bidder}).filter(l.uniques),i=n.filter(function(e){return!(0,A.default)(r,e)});return e.map(function(e){return(e.bids||[]).filter(function(e){return(0,A.default)(i,e.bidder)})}).reduce(l.flatten,[]).map(function(e){return{bidId:e.bidId,bidder:e.bidder,adUnitCode:e.adUnitCode,auctionId:e.auctionId}})}Object.defineProperty(t,”__esModule”,{value:!0}),t.addBidResponse=t.AUCTION_COMPLETED=t.AUCTION_IN_PROGRESS=t.AUCTION_STARTED=void 0;var f=Object.assign||function(e){for(var t=1;t0&&!y.config.getConfig(“cache.url”))&&o()},1)}function o(){b.every(function(e){return e.doneCbCallCount>=1})&&(I.logInfo(“Bids Received for Auction with id: “+A,m),U=B,r(!1,!0))}var a=e.adUnits,u=e.adUnitCodes,c=e.callback,f=e.cbTimeout,p=a,g=e.labels,v=u,b=[],m=[],h=void 0,A=I.generateUUID(),U=void 0,R=c,N=void 0,P=f,M=void 0;return{addBidReceived:function(e){m=m.concat(e)},executeCallback:r,callBids:function(){n(),U=C;var e={timestamp:h=Date.now(),auctionId:A,timeout:P};w.emit(O.EVENTS.AUCTION_INIT,e);var r=_.makeBidRequests(p,h,A,P,g);I.logInfo(“Bids Requested for Auction with id: “+A,r),r.forEach(function(e){t(e)}),U=j,_.callBids(p,r,x.bind(this),i.bind(this))},bidsBackAll:o,setWinningBid:function(e){M=e},getWinningBid:function(){return M},getTimeout:function(){return P},getAuctionId:function(){return A},getAuctionStatus:function(){return U},getAdUnits:function(){return p},getAdUnitCodes:function(){return v},getBidRequests:function(){return b},getBidsReceived:function(){return m}}},t.getStandardBidderSettings=o,t.getKeyValueTargetingPairs=a,t.adjustBids=c;var l=n(0),p=n(26),g=n(13),v=n(120),b=n(24),y=n(3),m=n(12),h=n(37),E=n(23),S=r(n(11)),A=r(n(7)),T=m.userSync.syncUsers,I=n(0),_=n(4),w=n(8),O=n(2),C=t.AUCTION_STARTED=”started”,j=t.AUCTION_IN_PROGRESS=”inProgress”,B=t.AUCTION_COMPLETED=”completed”;w.on(O.EVENTS.BID_ADJUSTMENT,function(e){c(e)});var x=t.addBidResponse=(0,h.createHook)(“asyncSeries”,function(e,t){function n(){c.timeToRespond>o.getTimeout()+y.config.getConfig(“timeoutBuffer”)&&o.executeCallback(!0)}function r(){w.emit(O.EVENTS.BID_RESPONSE,c),o.addBidReceived(c)}var o=this,a=o.getBidRequests(),u=o.getAuctionId(),c=i({adUnitCode:e,bid:t,bidRequests:a,auctionId:u});”video”===c.mediaType?function(e){y.config.getConfig(“cache.url”)?(0,v.store)([e],function(i,a){i?I.logWarn(“Failed to save to the video cache: “+i+”. Video bid must be discarded.”):(e.videoCacheKey=a[0].uuid,t.vastUrl||(e.vastUrl=(0,v.getCacheUrl)(e.videoCacheKey)),r(),o.bidsBackAll()),n()}):(r(),n())}(c):(n(),r())},”addBidResponse”)},function(e,t,n){“use strict”;function r(e){return’\n \n \n prebid.org wrapper\n \n \n \n \n \n “}function i(e){return{type:”xml”,value:e.vastXml?e.vastXml:r(e.vastUrl)}}function o(e){return{success:function(t){var n=void 0;try{n=JSON.parse(t).responses}catch(t){return void e(t,[])}n?e(null,n):e(new Error(“The cache server didn’t respond with a responses property.”),[])},error:function(t,n){e(new Error(“Error storing video ad in the cache: “+t+”: “+JSON.stringify(n)),[])}}}Object.defineProperty(t,”__esModule”,{value:!0}),t.store=function(e,t){var n={puts:e.map(i)};(0,a.ajax)(u.config.getConfig(“cache.url”),o(t),JSON.stringify(n),{contentType:”text/plain”,withCredentials:!0})},t.getCacheUrl=function(e){return u.config.getConfig(“cache.url”)+”?uuid=”+e};var a=n(5),u=n(3)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(248)},function(e,t,n){“use strict”;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function o(e){e.forEach(function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){S.logError(“Error processing command :”,”prebid.js”,e)}})}var a=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},u=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes,o=e.labels;I.emit(“requestBids”);var a=n||v.config.getConfig(“bidderTimeout”);if(r=r||h.adUnits,S.logInfo(“Invoking pbjs.requestBids”,arguments),i&&i.length?r=r.filter(function(e){return(0,m.default)(i,e.code)}):i=r&&r.map(function(e){return e.code}),r.filter(s.videoAdUnit).filter(s.hasNonVideoBidder).forEach(function(e){var t=e.bids.filter(function(e){return!(0,s.videoBidder)(e)}).map(function(e){return e.bidder});S.logWarn(S.unsupportedBidderMessage(e,t)),e.bids=e.bids.filter(s.videoBidder)}),r.filter(f.nativeAdUnit).filter(f.hasNonNativeBidder).forEach(function(e){var t=e.bids.filter(function(e){return!(0,f.nativeBidder)(e)}).map(function(e){return e.bidder});S.logWarn(S.unsupportedBidderMessage(e,t)),e.bids=e.bids.filter(f.nativeBidder)}),r&&0!==r.length)b.auctionManager.createAuction({adUnits:r,adUnitCodes:i,callback:t,cbTimeout:a,labels:o}).callBids();else if(S.logMessage(“No adUnits configured. No bids requested.”),”function”==typeof t)try{t()}catch(e){S.logError(“Error executing bidsBackHandler”,null,e)}},h.addAdUnits=function(e){S.logInfo(“Invoking pbjs.addAdUnits”,arguments),S.isArray(e)?(e.forEach(function(e){return e.transactionId=S.generateUUID()}),h.adUnits.push.apply(h.adUnits,e)):”object”===(void 0===e?”undefined”:a(e))&&(e.transactionId=S.generateUUID(),h.adUnits.push(e)),I.emit(C)},h.onEvent=function(e,t,n){S.logInfo(“Invoking pbjs.onEvent”,arguments),S.isFn(t)?!n||j[e].call(null,n)?I.on(e,t,n):S.logError(‘The id provided is not valid for event “‘+e+'” and no handler was set.’):S.logError(‘The event handler provided is not a function and was not set on event “‘+e+'”.’)},h.offEvent=function(e,t,n){S.logInfo(“Invoking pbjs.offEvent”,arguments),n&&!j[e].call(null,n)||I.off(e,t,n)},h.registerBidAdapter=function(e,t){S.logInfo(“Invoking pbjs.registerBidAdapter”,arguments);try{A.registerBidAdapter(e(),t)}catch(e){S.logError(“Error registering bidder adapter : “+e.message)}},h.registerAnalyticsAdapter=function(e){S.logInfo(“Invoking pbjs.registerAnalyticsAdapter”,arguments);try{A.registerAnalyticsAdapter(e)}catch(e){S.logError(“Error registering analytics adapter : “+e.message)}},h.createBid=function(e){return S.logInfo(“Invoking pbjs.createBid”,arguments),T.createBid(e)},h.loadScript=function(e,t,n){S.logInfo(“Invoking pbjs.loadScript”,arguments),(0,g.loadScript)(e,t,n)},h.enableAnalytics=function(e){e&&!S.isEmpty(e)?(S.logInfo(“Invoking pbjs.enableAnalytics for: “,e),A.enableAnalytics(e)):S.logError(“pbjs.enableAnalytics should be called with option {}”)},h.aliasBidder=function(e,t){S.logInfo(“Invoking pbjs.aliasBidder”,arguments),e&&t?A.aliasBidAdapter(e,t):S.logError(“bidderCode and alias must be passed as arguments”,”pbjs.aliasBidder”)},h.getAllWinningBids=function(){return b.auctionManager.getAllWinningBids().map(d.removeRequestId)},h.getHighestCpmBids=function(e){return y.targeting.getWinningBids(e,b.auctionManager.getBidsReceived()).map(d.removeRequestId)},h.getConfig=v.config.getConfig,h.setConfig=v.config.setConfig,h.que.push(function(){return(0,l.listenMessagesFromCreative)()}),h.cmd.push=function(e){if(“function”==typeof e)try{e.call()}catch(e){S.logError(“Error processing command :”,e.message,e.stack)}else S.logError(“Commands written into pbjs.cmd.push must be wrapped in a function”)},h.que.push=h.cmd.push,h.processQueue=function(){o(h.que),o(h.cmd)}},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.message?”message”:”data”,n={};try{n=JSON.parse(e[t])}catch(e){return}if(n.adId){var r=(0,l.default)(f.auctionManager.getBidsReceived(),function(e){return e.adId===n.adId});”Prebid Request”===n.message&&(o(r,n.adServerDomain,e.source),f.auctionManager.addWinningBid(r),u.default.emit(p,r)),”Prebid Native”===n.message&&((0,c.fireNativeTrackers)(n,r),f.auctionManager.addWinningBid(r),u.default.emit(p,r))}}function o(e,t,n){var r=e.adId,i=e.ad,o=e.adUrl,u=e.width,c=e.height;r&&(a(e),n.postMessage(JSON.stringify({message:”Prebid Response”,ad:i,adUrl:o,adId:r,width:u,height:c}),t))}function a(e){var t=e.adUnitCode,n=e.width,r=e.height,i=document.getElementById((0,l.default)(window.googletag.pubads().getSlots().filter((0,s.isSlotMatchingAdUnitCode)(t)),function(e){return e}).getSlotElementId()).querySelector(“iframe”);i.width=””+n,i.height=””+r}Object.defineProperty(t,”__esModule”,{value:!0}),t.listenMessagesFromCreative=function(){addEventListener(“message”,i,!1)};var u=r(n(8)),c=n(13),d=n(2),s=n(0),f=n(25),l=r(n(11)),p=d.EVENTS.BID_WON}]),pbjsChunk([50],{91:function(e,t,n){n(92),e.exports=n(93)},92:function(e,t,n){“use strict”;function r(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function i(e){return”number”==typeof e&&isFinite(e)&&Math.floor(e)===e}function o(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;rif(!parent.pbjs.aolGlobals.pixelsDropped){parent.pbjs.aolGlobals.pixelsDropped=true;”+e.ext.pixels.replace(//g,””)+”}”),{bidderCode:t.bidderCode,requestId:t.bidId,ad:i,cpm:r,width:n.w,height:n.h,creativeId:n.crid,pubapiId:e.id,currency:e.cur,dealId:n.dealid,netRevenue:!0,ttl:t.ttl}}function g(e){return e===j.AOL||e===j.ONEDISPLAY}function v(e){return e===j.AOL||e===j.ONEMOBILE}function b(e){if(v(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var t=e.params.imp[0];return t.id&&t.tagid&&(t.banner&&t.banner.w&&t.banner.h||t.video&&t.video.mimes&&t.video.minduration&&t.video.maxduration)}}function y(e){return v(e.bidder)&&e.params.dcn&&e.params.pos}function m(e){return g(e.bidder)&&e.params.placement&&e.params.network}function h(e){return y(e)||b(e)}function E(e){return y(e)?B.MOBILE.GET:b(e)?B.MOBILE.POST:m(e)?B.DISPLAY.GET:void 0}function S(e,t){var n=void 0;switch(e){case B.DISPLAY.GET:n={url:c(t),method:”GET”,ttl:k};break;case B.MOBILE.GET:n={url:l(t),method:”GET”,ttl:D};break;case B.MOBILE.POST:n={url:f(t),method:”POST”,ttl:D,data:t.params,options:{contentType:”application/json”,customHeaders:{“x-openrtb-version”:”2.2″}}}}return n.bidderCode=t.bidder,n.bidId=t.bidId,n.userSyncOn=t.params.userSyncOn,n}Object.defineProperty(t,”__esModule”,{value:!0}),t.spec=void 0;var A=r([“//”,”/pubapi/3.0/”,”/”,”/”,”/”,”/ADTECH;v=2;cmd=bid;cors=yes;alias=”,””,””,”;misc=”,””],[“//”,”/pubapi/3.0/”,”/”,”/”,”/”,”/ADTECH;v=2;cmd=bid;cors=yes;alias=”,””,””,”;misc=”,””]),T=r([“//”,”/bidRequest?”],[“//”,”/bidRequest?”]),I=r([“dcn=”,”&pos=”,”&cmd=bid”,””],[“dcn=”,”&pos=”,”&cmd=bid”,””]),_=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0)),w=n(1),O=n(3),C=function(e){return e&&e.__esModule?e:{default:e}}(n(2)),j={AOL:”aol”,ONEMOBILE:”onemobile”,ONEDISPLAY:”onedisplay”},B={DISPLAY:{GET:”display-get”},MOBILE:{GET:”mobile-get”,POST:”mobile-post”}},x={IFRAME:{TAG:”iframe”,TYPE:”iframe”},IMAGE:{TAG:”img”,TYPE:”image”}},U=o(A,”host”,”network”,”placement”,”pageid”,”sizeid”,”alias”,”bidfloor”,”keyValues”,”misc”),R=o(T,”host”),N=o(I,”dcn”,”pos”,”ext”),P={eu:”adserver-eu.adtech.advertising.com”},M=”hb.nexage.com”,k=60,D=3600;pbjs.aolGlobals={pixelsDropped:!1};var q=function(){var e=!0;return function(){var t=pbjs.bidderSettings;e&&t&&t.aol&&”function”==typeof t.aol.bidCpmAdjustment&&(_.logWarn(“bidCpmAdjustment is active for the AOL adapter. As of Prebid 0.14, AOL can bid in net – please contact your accounts team to enable.”),e=!1)}}(),G=t.spec={code:j.AOL,aliases:[j.ONEMOBILE,j.ONEDISPLAY],isBidRequestValid:function(e){return m(e)||h(e)},buildRequests:function(e){return e.map(function(e){var t=E(e);if(t)return S(t,e)})},interpretResponse:function(e,t){var n=e.body;if(q(),n){var r=p(n,t);if(r)return r}else _.logError(“Empty bid response”,t.bidderCode,n)},getUserSyncs:function(e,t){var n=t[0];return O.config.getConfig(“aol.userSyncOn”)===C.default.EVENTS.BID_RESPONSE&&!pbjs.aolGlobals.pixelsDropped&&n.ext&&n.ext.pixels?(pbjs.aolGlobals.pixelsDropped=!0,u(n.ext.pixels)):[]}};(0,w.registerBidder)(G)},93:function(e,t){}},[91]),pbjsChunk([64],{114:function(e,t,n){e.exports=n(115)},115:function(e,t,n){“use strict”;function r(e){var t=m;”object”===f(e.rates)&&(_.conversions=e.rates,A=!0),”string”==typeof e.adServerCurrency?(v.logInfo(“enabling currency support”,arguments),T=e.adServerCurrency,e.conversionRateFile&&(v.logInfo(“currency using override conversionRateFile:”,e.conversionRateFile),t=e.conversionRateFile),i(t)):(v.logInfo(“disabling currency support”),o()),”object”===f(e.bidderCurrencyDefault)&&(w=e.bidderCurrencyDefault)}function i(e){S={},t.currencySupportEnabled=I=!0,v.logInfo(“Installing addBidResponse decorator for currency module”,arguments),y.hooks.addBidResponse.addHook(a,100),_.conversions||(0,g.ajax)(e,function(e){try{t.currencyRates=_=JSON.parse(e),v.logInfo(“currencyRates set to “+JSON.stringify(_)),A=!0,u()}catch(t){v.logError(“failed to parse currencyRates response: “+e)}})}function o(){v.logInfo(“Uninstalling addBidResponse decorator for currency module”,arguments),y.hooks.addBidResponse.removeHook(a,100),T=”USD”,S={},t.currencySupportEnabled=I=!1,A=!1,t.currencyRates=_={},w={}}function a(e,t,n){if(!t)return n.apply(this,arguments);var r=t.bidderCode||t.bidder;if(w[r]){var i=w[r];t.currency&&i!==t.currency?v.logWarn(“Currency default ‘”+r+”: “+i+”‘ ignored. adapter specified ‘”+t.currency+”‘”):t.currency=i}if(t.currency||(v.logWarn(‘Currency not specified on bid. Defaulted to “USD”‘),t.currency=”USD”),t.currency===T)return n.apply(this,arguments);E.push(c(n,this,arguments)),I&&!A||u()}function u(){for(;E.length>0;)E.shift()()}function c(e,t,n){return function(){var r=n[1];if(void 0!==r&&”currency”in r&&”cpm”in r){var i=r.currency;try{var o=d(i);r.originalCpm=r.cpm,r.originalCurrency=r.currency,1!==o&&(r.cpm=(parseFloat(r.cpm)*o).toFixed(4),r.currency=T)}catch(e){v.logWarn(“Returning NO_BID, getCurrencyConversion threw error: “,e),n[1]=l.default.createBid(p.STATUS.NO_BID,{bidder:r.bidderCode||r.bidder,bidId:r.adId})}}return e.apply(t,n)}}function d(e){var t,n=null;if(e in S)n=S[e],v.logMessage(“Using conversionCache value “+n+” for fromCurrency “+e);else if(!1===I){if(“USD”!==e)throw new Error(“Prebid currency support has not been enabled and fromCurrency is not USD”);n=1}else if(e===T)n=1;else{var r=T;if(e in _.conversions){if(t=_.conversions[e],!(r in t))throw new Error(“Specified adServerCurrency in config ‘”+r+”‘ not found in the currency rates file”);n=t[r],v.logInfo(“getCurrencyConversion using direct “+e+” to “+r+” conversionRate “+n)}else if(r in _.conversions){if(t=_.conversions[r],!(e in t))throw new Error(“Specified fromCurrency ‘”+e+”‘ not found in the currency rates file”);n=s(1/t[e],h),v.logInfo(“getCurrencyConversion using reciprocal “+e+” to “+r+” conversionRate “+n)}else{var i=Object.keys(_.conversions)[0];if(!(e in _.conversions[i]))throw new Error(“Specified fromCurrency ‘”+e+”‘ not found in the currency rates file”);var o=1/_.conversions[i][e];if(!(r in _.conversions[i]))throw new Error(“Specified adServerCurrency in config ‘”+r+”‘ not found in the currency rates file”);n=s(o*_.conversions[i][r],h),v.logInfo(“getCurrencyConversion using intermediate “+e+” thru “+i+” to “+r+” conversionRate “+n)}}return e in S||(v.logMessage(“Adding conversionCache value “+n+” for fromCurrency “+e),S[e]=n),n}function s(e,t){for(var n=1,r=0;r\n

Prins Daniel besöker center för krigsskadade och torterade i Malmö

‘:””},t.getDefinedParams=function(e,t){return t.filter(function(t){return e[t]}).reduce(function(t,n){return p(t,i({},n,e[n]))},{})},t.isValidMediaTypes=function(e){var t=[“banner”,”native”,”video”],n=[“instream”,”outstream”];return!!Object.keys(e).every(function(e){return(0,m.default)(t,e)})&&(!e.video||!e.video.context||(0,m.default)(n,e.video.context))},t.getBidderRequest=function(e,t,n){return(0,y.default)(e,function(e){return e.bids.filter(function(e){return e.bidder===t&&e.adUnitCode===n}).length>0})||{start:null,auctionId:null}},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+”//”+window.location.hostname+(window.location.port?”:”+window.location.port:””)},t.isAdUnitCodeMatchingSlot=function(e){return function(t){return O(e,t)}},t.isSlotMatchingAdUnitCode=function(e){return function(t){return O(t,e)}},t.unsupportedBidderMessage=function(e,t){var n=e.mediaType||Object.keys(e.mediaTypes).join(“, “),r=1===t.length?”This bidder”:”These bidders”;return”\n “+e.code+” is a “+n+” ad unit\n containing bidders that don’t support “+n+”: “+t.join(“, “)+”.\n “+r+” won’t fetch demand.\n “},t.deletePropertyFromObject=function(e,t){var n=p({},e);return delete n[t],n},t.removeRequestId=function(e){return t.deletePropertyFromObject(e,”requestId”)},t.isInteger=function(e){return Number.isInteger?Number.isInteger(e):”number”==typeof e&&isFinite(e)&&Math.floor(e)===e};var v=n(3),b=r(n(62)),y=r(n(11)),m=r(n(7)),h=n(2),E=!1,S=Object.prototype.toString,A=null;try{A=console.info.bind(window.console)}catch(e){}t.replaceTokenInString=function(e,t,n){return this._each(t,function(t,r){t=void 0===t?””:t;var i=n+r.toUpperCase()+n,o=new RegExp(i,”g”);e=e.replace(o,t)}),e};var T=function(){var e=0;return function(){return++e}}();t.getUniqueIdentifierStr=o,t.generateUUID=function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){return t&&t[e]?t[e]:””},t.tryAppendQueryString=function(e,t,n){return n?e+=t+”=”+encodeURIComponent(n)+”&”:e},t.parseQueryStringParameters=function(e){var t=””;for(var n in e)e.hasOwnProperty(n)&&(t+=n+”=”+encodeURIComponent(e[n])+”&”);return t},t.transformAdServerTargetingObj=function(e){return e&&Object.getOwnPropertyNames(e).length>0?f(e).map(function(t){return t+”=”+encodeURIComponent(l(e,t))}).join(“&”):””},t.getTopWindowLocation=function(){var e=void 0;try{window.top.location.toString(),e=window.top.location}catch(t){e=window.location}return e},t.getTopWindowUrl=function(){var e=void 0;try{e=this.getTopWindowLocation().href}catch(t){e=””}return e},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logWarn=function(e){I()&&console.warn&&console.warn(“WARNING: “+e)},t.logInfo=function(e,t){I()&&u()&&A&&(t&&0!==t.length||(t=””),A(“INFO: “+e+(“”===t?””:” : params : “),t))},t.logMessage=function(e){I()&&u()&&console.log(“MESSAGE: “+e)},t.hasConsoleLogger=u;var I=function(){if(!1===v.config.getConfig(“debug”)&&!1===E){var e=”TRUE”===_(h.DEBUG_MODE).toUpperCase();v.config.setConfig({debug:e}),E=!0}return!!v.config.getConfig(“debug”)};t.debugTurnedOn=I,t.logError=function(){I()&&c()&&console.error.apply(console,arguments)},t.createInvisibleIframe=function(){var e=document.createElement(“iframe”);return e.id=o(),e.height=0,e.width=0,e.border=”0px”,e.hspace=”0″,e.vspace=”0″,e.marginWidth=”0″,e.marginHeight=”0″,e.style.border=”0″,e.scrolling=”no”,e.frameBorder=”0″,e.src=”about:blank”,e.style.display=”none”,e};var _=function(e){var t=”[\\?&]”+e+”=([^]*)”,n=new RegExp(t).exec(window.location.search);return null===n?””:decodeURIComponent(n[1].replace(/\+/g,” “))};t.getParameterByName=_,t.hasValidBidRequest=function(e,t,n){for(var r=!1,i=0;i0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0},t.isEmptyStr=function(e){return this.isStr(e)&&(!e||0===e.length)},t._each=function(e,t){if(!this.isEmpty(e)){if(this.isFn(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(r>0)for(;n’},t.createTrackPixelIframeHtml=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:””;return e?(n&&(e=encodeURI(e)),r&&(r=’sandbox=”‘+r+'”‘),”‘):””},t.getIframeDocument=function(e){if(e){var t=void 0;try{t=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){this.logError(“Cannot get iframe document”,e)}return t}},t.getValueString=function(e,t,n){return void 0===t||null===t?n:this.isStr(t)?t:this.isNumber(t)?t.toString():void this.logWarn(“Unsuported type for param: “+e+” required type: String”)};var O=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t}},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){function t(t){if(e.getUserSyncs){var n=e.getUserSyncs({iframeEnabled:l.config.getConfig(“userSync.iframeEnabled”),pixelEnabled:l.config.getConfig(“userSync.pixelEnabled”)},t);n&&(Array.isArray(n)||(n=[n]),n.forEach(function(t){v.userSync.registerSync(t.type,e.code,t.url)}))}}function n(t){return!!e.isBidRequestValid(t)||((0,h.logWarn)(“Invalid bid sent to bidder “+e.code+”: “+JSON.stringify(t)),!1)}return d(new s.default(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:t,callBids:function(r,i,o,u){function s(e,t){v[e]=!0,a(e,t,[r])&&i(e,t)}function f(){o(),t(b)}function l(e){return e?”?”+(“object”===(void 0===e?”undefined”:c(e))?(0,h.parseQueryStringParameters)(e):e):””}if(Array.isArray(r.bids)){var v={},b=[],y=r.bids.filter(n);if(0!==y.length){var m={};y.forEach(function(e){m[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)});var E=e.buildRequests(y,r);if(E&&0!==E.length){Array.isArray(E)||(E=[E]);var S=(0,h.delayExecution)(f,E.length);E.forEach(function(t){function n(n,r){function i(t){var n=m[t.requestId];if(n){var r=d(p.default.createBid(g.STATUS.GOOD,n),t);s(n.adUnitCode,r)}else(0,h.logWarn)(“Bidder “+e.code+” made bid for unknown request ID: “+t.requestId+”. Ignoring.”)}try{n=JSON.parse(n)}catch(e){}n={body:n,headers:{get:r.getResponseHeader.bind(r)}},b.push(n);var o=void 0;try{o=e.interpretResponse(n,t)}catch(t){return(0,h.logError)(“Bidder “+e.code+” failed to interpret the server’s response. Continuing without bids”,null,t),void S()}o&&(o.forEach?o.forEach(i):i(o)),S()}function r(t){(0,h.logError)(“Server call for “+e.code+” failed: “+t+”. Continuing without bids.”),S()}switch(t.method){case”GET”:u(“”+t.url+l(t.data),{success:n,error:r},void 0,d({method:”GET”,withCredentials:!0},t.options));break;case”POST”:u(t.url,{success:n,error:r},”string”==typeof t.data?t.data:JSON.stringify(t.data),d({method:”POST”,contentType:”text/plain”,withCredentials:!0},t.options));break;default:(0,h.logWarn)(“Skipping invalid request from “+e.code+”. Request type “+t.type+” must be GET or POST”),S()}})}else f()}else f()}}})}function o(e,t,n){if((t.width||0===t.width)&&(t.height||0===t.height))return!0;var r=(0,h.getBidderRequest)(n,t.bidderCode,e),i=r&&r.bids&&r.bids[0]&&r.bids[0].sizes,o=(0,h.parseSizesInput)(i);if(1===o.length){var a=o[0].split(“x”),c=u(a,2),d=c[0],s=c[1];return t.width=d,t.height=s,!0}return!1}function a(e,t,n){function r(e){return”Invalid bid from “+t.bidderCode+”. Ignoring bid: “+e}return e?t?function(){var e=Object.keys(t);return E.every(function(t){return(0,m.default)(e,t)})}()?”native”!==t.mediaType||(0,b.nativeBidIsValid)(t,n)?”video”!==t.mediaType||(0,y.isValidVideoBid)(t,n)?!(“banner”===t.mediaType&&!o(e,t,n)&&((0,h.logError)(r(“Banner bids require a width and height”)),1)):((0,h.logError)(r(“Video bid does not have required vastUrl or renderer property”)),!1):((0,h.logError)(r(“Native bid missing some required properties.”)),!1):((0,h.logError)(r(“Bidder “+t.bidderCode+” is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params.”)),!1):((0,h.logWarn)(“Some adapter tried to add an undefined bid for “+e+”.”),!1):((0,h.logWarn)(“No adUnitCode was supplied to addBidResponse.”),!1)}Object.defineProperty(t,”__esModule”,{value:!0});var u=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),c=”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},d=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,i=void 0===r?[]:r;e&&n?”function”==typeof e.callBids?(T[n]=e,(0,m.default)(i,”video”)&&t.videoAdapters.push(n),(0,m.default)(i,”native”)&&g.nativeAdapters.push(n)):h.logError(“Bidder adaptor error for bidder code: “+n+”bidder must implement a callBids() function”):h.logError(“bidAdaptor or bidderCode not specified”)},t.aliasBidAdapter=function(e,t){if(void 0===T[t]){var n=T[e];if(void 0===n)h.logError(‘bidderCode “‘+e+'” is not an existing bidder.’,”adaptermanager.aliasBidAdapter”);else try{var r=void 0,i=d(e);if(n.constructor.prototype!=Object.prototype)(r=new n.constructor).setBidderCode(t);else{var o=n.getSpec();r=(0,v.newBidder)(f({},o,{code:t}))}this.registerBidAdapter(r,t,{supportedMediaTypes:i})}catch(t){h.logError(e+” bidder does not currently support aliasing.”,”adaptermanager.aliasBidAdapter”)}}else h.logMessage(‘alias name “‘+t+'” has been already specified.’)},t.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code;t&&n?”function”==typeof t.enableAnalytics?(t.code=n,_[n]=t):h.logError(‘Prebid Error: Analytics adaptor error for analytics “‘+n+'”\n analytics adapter must implement an enableAnalytics() function’):h.logError(“Prebid Error: analyticsAdapter or analyticsCode not specified”)},t.enableAnalytics=function(e){h.isArray(e)||(e=[e]),h._each(e,function(e){var t=_[e.provider];t?t.enableAnalytics(e):h.logError(“Prebid Error: no analytics adapter found in registry for\n “+e.provider+”.”)})},t.getBidAdapter=function(e){return T[e]},t.setS2STestingModule=function(e){A=e}},function(e,t,n){“use strict”;function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3;return function(t,n,r){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var s=void 0,f=!1,l=d.method||(r?”POST”:”GET”),p=”object”===(void 0===n?”undefined”:o(n))?n:{success:function(){u.logMessage(“xhr success”)},error:function(e){u.logError(“xhr error”,null,e)}};if(“function”==typeof n&&(p.success=n),window.XMLHttpRequest?void 0===(s=new window.XMLHttpRequest).responseType&&(f=!0):f=!0,f?((s=new window.XDomainRequest).onload=function(){p.success(s.responseText,s)},s.onerror=function(){p.error(“error”,s)},s.ontimeout=function(){p.error(“timeout”,s)},s.onprogress=function(){u.logMessage(“xhr onprogress”)}):(s.onreadystatechange=function(){if(s.readyState===c){var e=s.status;e>=200&&e=g.syncsPerBidder?a.logWarn(‘Number of user syncs exceeded for “{$bidder}”‘):g.enabledBidders&&g.enabledBidders.length&&g.enabledBidders.indexOf(t)0&&void 0!==arguments[0]?arguments[0]:0;if(e)return window.setTimeout(n,Number(e));n()},s.triggerUserSyncs=function(){g.enableOverride&&s.syncUsers()},s}Object.defineProperty(t,”__esModule”,{value:!0}),t.userSync=void 0;var i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),o=Object.assign||function(e){for(var t=1;t0;)try{this.cmd.shift().call()}catch(e){o.logError(“Error processing Renderer command: “,e)}}},function(e,t,n){“use strict”;function r(){function e(e){t.push(e)}var t=[],n={};return n.addWinningBid=function(e){var n=(0,a.default)(t,function(t){return t.getAuctionId()===e.auctionId});n?n.setWinningBid(e):utils.logWarn(“Auction not found when adding winning bid”)},n.getAllWinningBids=function(){return t.map(function(e){return e.getWinningBid()}).reduce(i.flatten,[])},n.getBidsRequested=function(){return t.map(function(e){return e.getBidRequests()}).reduce(i.flatten,[])},n.getBidsReceived=function(){return t.map(function(e){if(e.getAuctionStatus()===o.AUCTION_COMPLETED)return e.getBidsReceived()}).reduce(i.flatten,[]).filter(function(e){return e})},n.getAdUnits=function(){return t.map(function(e){return e.getAdUnits()}).reduce(i.flatten,[])},n.getAdUnitCodes=function(){return t.map(function(e){return e.getAdUnitCodes()}).reduce(i.flatten,[]).filter(i.uniques)},n.createAuction=function(t){var n=t.adUnits,r=t.adUnitCodes,i=t.callback,a=t.cbTimeout,u=t.labels,c=(0,o.newAuction)({adUnits:n,adUnitCodes:r,callback:i,cbTimeout:a,labels:u});return e(c),c},n.findBidByAdId=function(e){return(0,a.default)(t.map(function(e){return e.getBidsReceived()}).reduce(i.flatten,[]),function(t){return t.adId===e})},n.getStandardBidderAdServerTargeting=function(){return(0,o.getStandardBidderSettings)()[u.JSON_MAPPING.ADSERVER_TARGETING]},n}Object.defineProperty(t,”__esModule”,{value:!0}),t.auctionManager=void 0,t.newAuctionManager=r;var i=n(0),o=n(119),a=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),u=n(2);t.auctionManager=r()},function(e,t,n){“use strict”;function r(e,t,n){var r=””;if(!i(t))return r;var u=t.buckets.reduce(function(e,t){return e.max>t.max?e:t},{max:0}),d=(0,a.default)(t.buckets,function(t){if(e>u.max*n){var i=t.precision;void 0===i&&(i=c),r=(t.max*n).toFixed(i)}else if(e=t.min*n)return t});return d&&(r=o(e,d.increment,d.precision,n)),r}function i(e){if(u.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 o(e,t,n,r){void 0===n&&(n=c);var i=1/(t*r);return(Math.floor(e*i)/i).toFixed(n)}Object.defineProperty(t,”__esModule”,{value:!0}),t.isValidPriceConfig=t.getPriceBucketString=void 0;var a=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),u=n(0),c=2,d={buckets:[{min:0,max:5,increment:.5}]},s={buckets:[{min:0,max:20,increment:.1}]},f={buckets:[{min:0,max:20,increment:.01}]},l={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},p={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};t.getPriceBucketString=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=parseFloat(e);return isNaN(i)&&(i=””),{low:””===i?””:r(e,d,n),med:””===i?””:r(e,s,n),high:””===i?””:r(e,f,n),auto:””===i?””:r(e,p,n),dense:””===i?””:r(e,l,n),custom:””===i?””:r(e,t,n)}},t.isValidPriceConfig=i},function(e,t,n){var r=n(43);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(27),i=n(30),o=n(51),a=n(33),u=n(52);e.exports=function(e,t){var n=1==e,c=2==e,d=3==e,s=4==e,f=6==e,l=5==e||f,p=t||u;return function(t,u,g){for(var v,b,y=o(t),m=i(y),h=r(u,g,3),E=a(m.length),S=0,A=n?p(t,E):c?p(t,0):void 0;E>S;S++)if((l||S in m)&&(v=m[S],b=h(v,S,y),e))if(n)A[S]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return S;case 2:A.push(v)}else if(s)return!1;return f?-1:d||s?s:A}}},function(e,t,n){var r=n(31);e.exports=Object(“z”).propertyIsEnumerable(0)?Object:function(e){return”String”==r(e)?e.split(“”):Object(e)}},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(void 0==e)throw TypeError(“Can’t call method on “+e);return e}},function(e,t,n){var r=n(34),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){n(85),e.exports=n(17).Array.findIndex},function(e,t){var n;n=function(){return this}();try{n=n||Function(“return this”)()||(0,eval)(“this”)}catch(e){“object”==typeof window&&(n=window)}e.exports=n},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:10;”function”==typeof e&&(a.push({fn:e,priority:t}),a.sort(function(e,t){return t.priority-e.priority}))},removeHook:function(e){a=a.filter(function(n){return n.fn===t||n.fn!==e})}};return”string”==typeof n&&(o[n]=c),r(function(){for(var n=arguments.length,r=Array(n),i=0;i1&&void 0!==arguments[1]?arguments[1]:d(),r=i(e),o=y(r,t).concat(A(r,t)).concat(u.config.getConfig(“enableSendAllBids”)?T(0,t):[]);return o.map(function(e){Object.keys(e).map(function(t){e[t].map(function(e){-1===p.indexOf(Object.keys(e)[0])&&(p=Object.keys(e).concat(p))})})}),o=n(o)},w.setTargetingForGPT=function(e){window.googletag.pubads().getSlots().forEach(function(t){Object.keys(e).filter((0,a.isAdUnitCodeMatchingSlot)(t)).forEach(function(n){return Object.keys(e[n]).forEach(function(r){var i=e[n][r].split(“,”);(i=i.length>1?[i]:i).map(function(e){return f.logMessage(“Attempting to set key value for slot: “+t.getSlotElementId()+” key: “+r+” value: “+e),e}).forEach(function(e){t.setTargeting(r,e)})})})})},w.getWinningBids=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d(),n=i(e);return t.filter(function(e){return(0,s.default)(n,e.adUnitCode)}).filter(function(e){return e.cpm>0}).map(function(e){return e.adUnitCode}).filter(a.uniques).map(function(e){return t.filter(function(t){return t.adUnitCode===e?t:null}).reduce(a.getHighestCpm,_(e))})},w.setTargetingForAst=function(){var e=w.getAllTargeting();Object.keys(e).forEach(function(t){return Object.keys(e[t]).forEach(function(n){if(f.logMessage(“Attempting to set targeting for targetId: “+t+” key: “+n+” value: “+e[t][n]),f.isStr(e[t][n])||f.isArray(e[t][n])){var r={};r[“hb_adid”===n.substring(0,”hb_adid”.length)?n.toUpperCase():n]=e[t][n],window.apntag.setKeywords(t,r)}})})},w.isApntagDefined=function(){if(window.apntag&&f.isFn(window.apntag.setKeywords))return!0},w}Object.defineProperty(t,”__esModule”,{value:!0}),t.targeting=t.isBidExpired=t.BID_TARGETING_SET=void 0;var o=Object.assign||function(e){for(var t=1;t1?arguments[1]:void 0)}}),n(21)(“find”)},function(e,t){e.exports=function(e){if(“function”!=typeof e)throw TypeError(e+” is not a function!”);return e}},function(e,t,n){var r=n(45),i=n(50);e.exports=n(20)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(46),i=n(47),o=n(49),a=Object.defineProperty;t.f=n(20)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if(“get”in n||”set”in n)throw TypeError(“Accessors not supported!”);return”value”in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(18);e.exports=function(e){if(!r(e))throw TypeError(e+” is not an object!”);return e}},function(e,t,n){e.exports=!n(20)&&!n(28)(function(){return 7!=Object.defineProperty(n(48)(“div”),”a”,{get:function(){return 7}}).a})},function(e,t,n){var r=n(18),i=n(16).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(18);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&”function”==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if(“function”==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&”function”==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError(“Can’t convert object to primitive value”)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(32);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(53);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(18),i=n(54),o=n(55)(“species”);e.exports=function(e){var t;return i(e)&&(“function”!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(31);e.exports=Array.isArray||function(e){return”Array”==r(e)}},function(e,t,n){var r=n(56)(“wks”),i=n(57),o=n(16).Symbol,a=”function”==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)(“Symbol.”+e))}).store=r},function(e,t,n){var r=n(16),i=r[“__core-js_shared__”]||(r[“__core-js_shared__”]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return”Symbol(“.concat(void 0===e?””:e,”)_”,(++n+r).toString(36))}},function(e,t,n){“use strict”;var r=n(19),i=n(59)(!0);r(r.P,”Array”,{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(21)(“includes”)},function(e,t,n){var r=n(60),i=n(33),o=n(61);e.exports=function(e){return function(t,n,a){var u,c=r(t),d=i(c.length),s=o(a,d);if(e&&n!=n){for(;d>s;)if((u=c[s++])!=u)return!0}else for(;d>s;s++)if((e||s in c)&&c[s]===n)return e||s||0;return!e&&-1}}},function(e,t,n){var r=n(30),i=n(32);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(34),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))0&&void 0!==arguments[0]?arguments[0]:{},t=e.labels,n=void 0===t?[]:t,r=e.labelAll,o=void 0!==r&&r,a=e.activeLabels,d=void 0===a?[]:a,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],f=i(arguments.length>2&&void 0!==arguments[2]?arguments[2]:c),l=void 0;return l=f.shouldFilter?s.filter(function(e){return f.sizesSupported[e]}):s,{active:l.length>0&&(0===n.length||!o&&(n.some(function(e){return f.labels[e]})||n.some(function(e){return(0,u.default)(d,e)}))||o&&n.reduce(function(e,t){return e?f.labels[t]||(0,u.default)(d,t):e},!0)),sizes:l}};var a=n(3),u=function(e){return e&&e.__esModule?e:{default:e}}(n(7)),c=[];a.config.getConfig(“sizeConfig”,function(e){return r(e.sizeConfig)})},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){“use strict”;var r=n(19),i=n(29)(6),o=”findIndex”,a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,”Array”,{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(21)(o)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.adUnitCode,n=e.bid,r=e.bidRequests,i=e.auctionId,o=(0,l.getBidderRequest)(r,n.bidderCode,t),u=o.start,c=f({},n,{auctionId:i,responseTimestamp:(0,l.timestamp)(),requestTimestamp:u,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});c.timeToRespond=c.responseTimestamp-c.requestTimestamp,w.emit(O.EVENTS.BID_ADJUSTMENT,c);var d=o.bids&&o.bids[0]&&o.bids[0].renderer;d&&(c.renderer=b.Renderer.install({url:d.url}),c.renderer.setRender(d.render));var s=(0,p.getPriceBucketString)(c.cpm,y.config.getConfig(“customPriceBucket”),y.config.getConfig(“currency.granularityMultiplier”));c.pbLg=s.low,c.pbMg=s.med,c.pbHg=s.high,c.pbAg=s.auto,c.pbDg=s.dense,c.pbCg=s.custom;var g;return c.bidderCode&&(c.cpm>0||c.dealId)&&(g=a(c.bidderCode,c)),c.adserverTargeting=f(c.adserverTargeting||{},g),c}function o(){var e=y.config.getConfig(“priceGranularity”),t=pbjs.bidderSettings;return t[O.JSON_MAPPING.BD_SETTING_STANDARD]||(t[O.JSON_MAPPING.BD_SETTING_STANDARD]={}),t[O.JSON_MAPPING.BD_SETTING_STANDARD][O.JSON_MAPPING.ADSERVER_TARGETING]||(t[O.JSON_MAPPING.BD_SETTING_STANDARD][O.JSON_MAPPING.ADSERVER_TARGETING]=[{key:”hb_bidder”,val:function(e){return e.bidderCode}},{key:”hb_adid”,val:function(e){return e.adId}},{key:”hb_pb”,val:function(t){return e===O.GRANULARITY_OPTIONS.AUTO?t.pbAg:e===O.GRANULARITY_OPTIONS.DENSE?t.pbDg:e===O.GRANULARITY_OPTIONS.LOW?t.pbLg:e===O.GRANULARITY_OPTIONS.MEDIUM?t.pbMg:e===O.GRANULARITY_OPTIONS.HIGH?t.pbHg:e===O.GRANULARITY_OPTIONS.CUSTOM?t.pbCg:void 0}},{key:”hb_size”,val:function(e){return e.size}},{key:”hb_deal”,val:function(e){return e.dealId}},{key:”hb_source”,val:function(e){return e.source}}]),t[O.JSON_MAPPING.BD_SETTING_STANDARD]}function a(e,t){var n={},r=pbjs.bidderSettings;return t&&r&&u(n,o(),t),e&&t&&r&&r[e]&&r[e][O.JSON_MAPPING.ADSERVER_TARGETING]&&(u(n,r[e],t),t.sendStandardTargeting=r[e].sendStandardTargeting),t.native&&(n=f({},n,(0,g.getNativeTargeting)(t))),n}function u(e,t,n){var r=t[O.JSON_MAPPING.ADSERVER_TARGETING];return n.size=n.getSize(),I._each(r,function(r){var i=r.key,o=r.val;if(e[i]&&I.logWarn(“The key: “+i+” is getting ovewritten”),I.isFn(o))try{o=o(n)}catch(e){I.logError(“bidmanager”,”ERROR”,e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&”hb_deal”!==i||!I.isEmptyStr(o)&&null!==o&&void 0!==o?e[i]=o:I.logInfo(“suppressing empty key ‘”+i+”‘ from adserver targeting”)}),e}function c(e){var t=e.bidderCode,n=e.cpm,r=void 0;if(pbjs.bidderSettings&&(t&&pbjs.bidderSettings[t]&&”function”==typeof pbjs.bidderSettings[t].bidCpmAdjustment?r=pbjs.bidderSettings[t].bidCpmAdjustment:pbjs.bidderSettings[O.JSON_MAPPING.BD_SETTING_STANDARD]&&”function”==typeof pbjs.bidderSettings[O.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(r=pbjs.bidderSettings[O.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),r))try{n=r(e.cpm,f({},e))}catch(e){I.logError(“Error during bid adjustment”,”bidmanager.js”,e)}n>=0&&(e.cpm=n)}function d(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}function s(e,t){var n=e.map(function(e){return e.bidderCode}).filter(l.uniques),r=t.map(function(e){return e.bidder}).filter(l.uniques),i=n.filter(function(e){return!(0,A.default)(r,e)});return e.map(function(e){return(e.bids||[]).filter(function(e){return(0,A.default)(i,e.bidder)})}).reduce(l.flatten,[]).map(function(e){return{bidId:e.bidId,bidder:e.bidder,adUnitCode:e.adUnitCode,auctionId:e.auctionId}})}Object.defineProperty(t,”__esModule”,{value:!0}),t.addBidResponse=t.AUCTION_COMPLETED=t.AUCTION_IN_PROGRESS=t.AUCTION_STARTED=void 0;var f=Object.assign||function(e){for(var t=1;t0&&!y.config.getConfig(“cache.url”))&&o()},1)}function o(){b.every(function(e){return e.doneCbCallCount>=1})&&(I.logInfo(“Bids Received for Auction with id: “+A,m),U=B,r(!1,!0))}var a=e.adUnits,u=e.adUnitCodes,c=e.callback,f=e.cbTimeout,p=a,g=e.labels,v=u,b=[],m=[],h=void 0,A=I.generateUUID(),U=void 0,R=c,N=void 0,P=f,M=void 0;return{addBidReceived:function(e){m=m.concat(e)},executeCallback:r,callBids:function(){n(),U=C;var e={timestamp:h=Date.now(),auctionId:A,timeout:P};w.emit(O.EVENTS.AUCTION_INIT,e);var r=_.makeBidRequests(p,h,A,P,g);I.logInfo(“Bids Requested for Auction with id: “+A,r),r.forEach(function(e){t(e)}),U=j,_.callBids(p,r,x.bind(this),i.bind(this))},bidsBackAll:o,setWinningBid:function(e){M=e},getWinningBid:function(){return M},getTimeout:function(){return P},getAuctionId:function(){return A},getAuctionStatus:function(){return U},getAdUnits:function(){return p},getAdUnitCodes:function(){return v},getBidRequests:function(){return b},getBidsReceived:function(){return m}}},t.getStandardBidderSettings=o,t.getKeyValueTargetingPairs=a,t.adjustBids=c;var l=n(0),p=n(26),g=n(13),v=n(120),b=n(24),y=n(3),m=n(12),h=n(37),E=n(23),S=r(n(11)),A=r(n(7)),T=m.userSync.syncUsers,I=n(0),_=n(4),w=n(8),O=n(2),C=t.AUCTION_STARTED=”started”,j=t.AUCTION_IN_PROGRESS=”inProgress”,B=t.AUCTION_COMPLETED=”completed”;w.on(O.EVENTS.BID_ADJUSTMENT,function(e){c(e)});var x=t.addBidResponse=(0,h.createHook)(“asyncSeries”,function(e,t){function n(){c.timeToRespond>o.getTimeout()+y.config.getConfig(“timeoutBuffer”)&&o.executeCallback(!0)}function r(){w.emit(O.EVENTS.BID_RESPONSE,c),o.addBidReceived(c)}var o=this,a=o.getBidRequests(),u=o.getAuctionId(),c=i({adUnitCode:e,bid:t,bidRequests:a,auctionId:u});”video”===c.mediaType?function(e){y.config.getConfig(“cache.url”)?(0,v.store)([e],function(i,a){i?I.logWarn(“Failed to save to the video cache: “+i+”. Video bid must be discarded.”):(e.videoCacheKey=a[0].uuid,t.vastUrl||(e.vastUrl=(0,v.getCacheUrl)(e.videoCacheKey)),r(),o.bidsBackAll()),n()}):(r(),n())}(c):(n(),r())},”addBidResponse”)},function(e,t,n){“use strict”;function r(e){return’\n \n \n prebid.org wrapper\n \n \n \n \n \n “}function i(e){return{type:”xml”,value:e.vastXml?e.vastXml:r(e.vastUrl)}}function o(e){return{success:function(t){var n=void 0;try{n=JSON.parse(t).responses}catch(t){return void e(t,[])}n?e(null,n):e(new Error(“The cache server didn’t respond with a responses property.”),[])},error:function(t,n){e(new Error(“Error storing video ad in the cache: “+t+”: “+JSON.stringify(n)),[])}}}Object.defineProperty(t,”__esModule”,{value:!0}),t.store=function(e,t){var n={puts:e.map(i)};(0,a.ajax)(u.config.getConfig(“cache.url”),o(t),JSON.stringify(n),{contentType:”text/plain”,withCredentials:!0})},t.getCacheUrl=function(e){return u.config.getConfig(“cache.url”)+”?uuid=”+e};var a=n(5),u=n(3)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(248)},function(e,t,n){“use strict”;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function o(e){e.forEach(function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){S.logError(“Error processing command :”,”prebid.js”,e)}})}var a=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},u=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes,o=e.labels;I.emit(“requestBids”);var a=n||v.config.getConfig(“bidderTimeout”);if(r=r||h.adUnits,S.logInfo(“Invoking pbjs.requestBids”,arguments),i&&i.length?r=r.filter(function(e){return(0,m.default)(i,e.code)}):i=r&&r.map(function(e){return e.code}),r.filter(s.videoAdUnit).filter(s.hasNonVideoBidder).forEach(function(e){var t=e.bids.filter(function(e){return!(0,s.videoBidder)(e)}).map(function(e){return e.bidder});S.logWarn(S.unsupportedBidderMessage(e,t)),e.bids=e.bids.filter(s.videoBidder)}),r.filter(f.nativeAdUnit).filter(f.hasNonNativeBidder).forEach(function(e){var t=e.bids.filter(function(e){return!(0,f.nativeBidder)(e)}).map(function(e){return e.bidder});S.logWarn(S.unsupportedBidderMessage(e,t)),e.bids=e.bids.filter(f.nativeBidder)}),r&&0!==r.length)b.auctionManager.createAuction({adUnits:r,adUnitCodes:i,callback:t,cbTimeout:a,labels:o}).callBids();else if(S.logMessage(“No adUnits configured. No bids requested.”),”function”==typeof t)try{t()}catch(e){S.logError(“Error executing bidsBackHandler”,null,e)}},h.addAdUnits=function(e){S.logInfo(“Invoking pbjs.addAdUnits”,arguments),S.isArray(e)?(e.forEach(function(e){return e.transactionId=S.generateUUID()}),h.adUnits.push.apply(h.adUnits,e)):”object”===(void 0===e?”undefined”:a(e))&&(e.transactionId=S.generateUUID(),h.adUnits.push(e)),I.emit(C)},h.onEvent=function(e,t,n){S.logInfo(“Invoking pbjs.onEvent”,arguments),S.isFn(t)?!n||j[e].call(null,n)?I.on(e,t,n):S.logError(‘The id provided is not valid for event “‘+e+'” and no handler was set.’):S.logError(‘The event handler provided is not a function and was not set on event “‘+e+'”.’)},h.offEvent=function(e,t,n){S.logInfo(“Invoking pbjs.offEvent”,arguments),n&&!j[e].call(null,n)||I.off(e,t,n)},h.registerBidAdapter=function(e,t){S.logInfo(“Invoking pbjs.registerBidAdapter”,arguments);try{A.registerBidAdapter(e(),t)}catch(e){S.logError(“Error registering bidder adapter : “+e.message)}},h.registerAnalyticsAdapter=function(e){S.logInfo(“Invoking pbjs.registerAnalyticsAdapter”,arguments);try{A.registerAnalyticsAdapter(e)}catch(e){S.logError(“Error registering analytics adapter : “+e.message)}},h.createBid=function(e){return S.logInfo(“Invoking pbjs.createBid”,arguments),T.createBid(e)},h.loadScript=function(e,t,n){S.logInfo(“Invoking pbjs.loadScript”,arguments),(0,g.loadScript)(e,t,n)},h.enableAnalytics=function(e){e&&!S.isEmpty(e)?(S.logInfo(“Invoking pbjs.enableAnalytics for: “,e),A.enableAnalytics(e)):S.logError(“pbjs.enableAnalytics should be called with option {}”)},h.aliasBidder=function(e,t){S.logInfo(“Invoking pbjs.aliasBidder”,arguments),e&&t?A.aliasBidAdapter(e,t):S.logError(“bidderCode and alias must be passed as arguments”,”pbjs.aliasBidder”)},h.getAllWinningBids=function(){return b.auctionManager.getAllWinningBids().map(d.removeRequestId)},h.getHighestCpmBids=function(e){return y.targeting.getWinningBids(e,b.auctionManager.getBidsReceived()).map(d.removeRequestId)},h.getConfig=v.config.getConfig,h.setConfig=v.config.setConfig,h.que.push(function(){return(0,l.listenMessagesFromCreative)()}),h.cmd.push=function(e){if(“function”==typeof e)try{e.call()}catch(e){S.logError(“Error processing command :”,e.message,e.stack)}else S.logError(“Commands written into pbjs.cmd.push must be wrapped in a function”)},h.que.push=h.cmd.push,h.processQueue=function(){o(h.que),o(h.cmd)}},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.message?”message”:”data”,n={};try{n=JSON.parse(e[t])}catch(e){return}if(n.adId){var r=(0,l.default)(f.auctionManager.getBidsReceived(),function(e){return e.adId===n.adId});”Prebid Request”===n.message&&(o(r,n.adServerDomain,e.source),f.auctionManager.addWinningBid(r),u.default.emit(p,r)),”Prebid Native”===n.message&&((0,c.fireNativeTrackers)(n,r),f.auctionManager.addWinningBid(r),u.default.emit(p,r))}}function o(e,t,n){var r=e.adId,i=e.ad,o=e.adUrl,u=e.width,c=e.height;r&&(a(e),n.postMessage(JSON.stringify({message:”Prebid Response”,ad:i,adUrl:o,adId:r,width:u,height:c}),t))}function a(e){var t=e.adUnitCode,n=e.width,r=e.height,i=document.getElementById((0,l.default)(window.googletag.pubads().getSlots().filter((0,s.isSlotMatchingAdUnitCode)(t)),function(e){return e}).getSlotElementId()).querySelector(“iframe”);i.width=””+n,i.height=””+r}Object.defineProperty(t,”__esModule”,{value:!0}),t.listenMessagesFromCreative=function(){addEventListener(“message”,i,!1)};var u=r(n(8)),c=n(13),d=n(2),s=n(0),f=n(25),l=r(n(11)),p=d.EVENTS.BID_WON}]),pbjsChunk([50],{91:function(e,t,n){n(92),e.exports=n(93)},92:function(e,t,n){“use strict”;function r(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function i(e){return”number”==typeof e&&isFinite(e)&&Math.floor(e)===e}function o(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;rif(!parent.pbjs.aolGlobals.pixelsDropped){parent.pbjs.aolGlobals.pixelsDropped=true;”+e.ext.pixels.replace(//g,””)+”}”),{bidderCode:t.bidderCode,requestId:t.bidId,ad:i,cpm:r,width:n.w,height:n.h,creativeId:n.crid,pubapiId:e.id,currency:e.cur,dealId:n.dealid,netRevenue:!0,ttl:t.ttl}}function g(e){return e===j.AOL||e===j.ONEDISPLAY}function v(e){return e===j.AOL||e===j.ONEMOBILE}function b(e){if(v(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var t=e.params.imp[0];return t.id&&t.tagid&&(t.banner&&t.banner.w&&t.banner.h||t.video&&t.video.mimes&&t.video.minduration&&t.video.maxduration)}}function y(e){return v(e.bidder)&&e.params.dcn&&e.params.pos}function m(e){return g(e.bidder)&&e.params.placement&&e.params.network}function h(e){return y(e)||b(e)}function E(e){return y(e)?B.MOBILE.GET:b(e)?B.MOBILE.POST:m(e)?B.DISPLAY.GET:void 0}function S(e,t){var n=void 0;switch(e){case B.DISPLAY.GET:n={url:c(t),method:”GET”,ttl:k};break;case B.MOBILE.GET:n={url:l(t),method:”GET”,ttl:D};break;case B.MOBILE.POST:n={url:f(t),method:”POST”,ttl:D,data:t.params,options:{contentType:”application/json”,customHeaders:{“x-openrtb-version”:”2.2″}}}}return n.bidderCode=t.bidder,n.bidId=t.bidId,n.userSyncOn=t.params.userSyncOn,n}Object.defineProperty(t,”__esModule”,{value:!0}),t.spec=void 0;var A=r([“//”,”/pubapi/3.0/”,”/”,”/”,”/”,”/ADTECH;v=2;cmd=bid;cors=yes;alias=”,””,””,”;misc=”,””],[“//”,”/pubapi/3.0/”,”/”,”/”,”/”,”/ADTECH;v=2;cmd=bid;cors=yes;alias=”,””,””,”;misc=”,””]),T=r([“//”,”/bidRequest?”],[“//”,”/bidRequest?”]),I=r([“dcn=”,”&pos=”,”&cmd=bid”,””],[“dcn=”,”&pos=”,”&cmd=bid”,””]),_=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0)),w=n(1),O=n(3),C=function(e){return e&&e.__esModule?e:{default:e}}(n(2)),j={AOL:”aol”,ONEMOBILE:”onemobile”,ONEDISPLAY:”onedisplay”},B={DISPLAY:{GET:”display-get”},MOBILE:{GET:”mobile-get”,POST:”mobile-post”}},x={IFRAME:{TAG:”iframe”,TYPE:”iframe”},IMAGE:{TAG:”img”,TYPE:”image”}},U=o(A,”host”,”network”,”placement”,”pageid”,”sizeid”,”alias”,”bidfloor”,”keyValues”,”misc”),R=o(T,”host”),N=o(I,”dcn”,”pos”,”ext”),P={eu:”adserver-eu.adtech.advertising.com”},M=”hb.nexage.com”,k=60,D=3600;pbjs.aolGlobals={pixelsDropped:!1};var q=function(){var e=!0;return function(){var t=pbjs.bidderSettings;e&&t&&t.aol&&”function”==typeof t.aol.bidCpmAdjustment&&(_.logWarn(“bidCpmAdjustment is active for the AOL adapter. As of Prebid 0.14, AOL can bid in net – please contact your accounts team to enable.”),e=!1)}}(),G=t.spec={code:j.AOL,aliases:[j.ONEMOBILE,j.ONEDISPLAY],isBidRequestValid:function(e){return m(e)||h(e)},buildRequests:function(e){return e.map(function(e){var t=E(e);if(t)return S(t,e)})},interpretResponse:function(e,t){var n=e.body;if(q(),n){var r=p(n,t);if(r)return r}else _.logError(“Empty bid response”,t.bidderCode,n)},getUserSyncs:function(e,t){var n=t[0];return O.config.getConfig(“aol.userSyncOn”)===C.default.EVENTS.BID_RESPONSE&&!pbjs.aolGlobals.pixelsDropped&&n.ext&&n.ext.pixels?(pbjs.aolGlobals.pixelsDropped=!0,u(n.ext.pixels)):[]}};(0,w.registerBidder)(G)},93:function(e,t){}},[91]),pbjsChunk([64],{114:function(e,t,n){e.exports=n(115)},115:function(e,t,n){“use strict”;function r(e){var t=m;”object”===f(e.rates)&&(_.conversions=e.rates,A=!0),”string”==typeof e.adServerCurrency?(v.logInfo(“enabling currency support”,arguments),T=e.adServerCurrency,e.conversionRateFile&&(v.logInfo(“currency using override conversionRateFile:”,e.conversionRateFile),t=e.conversionRateFile),i(t)):(v.logInfo(“disabling currency support”),o()),”object”===f(e.bidderCurrencyDefault)&&(w=e.bidderCurrencyDefault)}function i(e){S={},t.currencySupportEnabled=I=!0,v.logInfo(“Installing addBidResponse decorator for currency module”,arguments),y.hooks.addBidResponse.addHook(a,100),_.conversions||(0,g.ajax)(e,function(e){try{t.currencyRates=_=JSON.parse(e),v.logInfo(“currencyRates set to “+JSON.stringify(_)),A=!0,u()}catch(t){v.logError(“failed to parse currencyRates response: “+e)}})}function o(){v.logInfo(“Uninstalling addBidResponse decorator for currency module”,arguments),y.hooks.addBidResponse.removeHook(a,100),T=”USD”,S={},t.currencySupportEnabled=I=!1,A=!1,t.currencyRates=_={},w={}}function a(e,t,n){if(!t)return n.apply(this,arguments);var r=t.bidderCode||t.bidder;if(w[r]){var i=w[r];t.currency&&i!==t.currency?v.logWarn(“Currency default ‘”+r+”: “+i+”‘ ignored. adapter specified ‘”+t.currency+”‘”):t.currency=i}if(t.currency||(v.logWarn(‘Currency not specified on bid. Defaulted to “USD”‘),t.currency=”USD”),t.currency===T)return n.apply(this,arguments);E.push(c(n,this,arguments)),I&&!A||u()}function u(){for(;E.length>0;)E.shift()()}function c(e,t,n){return function(){var r=n[1];if(void 0!==r&&”currency”in r&&”cpm”in r){var i=r.currency;try{var o=d(i);r.originalCpm=r.cpm,r.originalCurrency=r.currency,1!==o&&(r.cpm=(parseFloat(r.cpm)*o).toFixed(4),r.currency=T)}catch(e){v.logWarn(“Returning NO_BID, getCurrencyConversion threw error: “,e),n[1]=l.default.createBid(p.STATUS.NO_BID,{bidder:r.bidderCode||r.bidder,bidId:r.adId})}}return e.apply(t,n)}}function d(e){var t,n=null;if(e in S)n=S[e],v.logMessage(“Using conversionCache value “+n+” for fromCurrency “+e);else if(!1===I){if(“USD”!==e)throw new Error(“Prebid currency support has not been enabled and fromCurrency is not USD”);n=1}else if(e===T)n=1;else{var r=T;if(e in _.conversions){if(t=_.conversions[e],!(r in t))throw new Error(“Specified adServerCurrency in config ‘”+r+”‘ not found in the currency rates file”);n=t[r],v.logInfo(“getCurrencyConversion using direct “+e+” to “+r+” conversionRate “+n)}else if(r in _.conversions){if(t=_.conversions[r],!(e in t))throw new Error(“Specified fromCurrency ‘”+e+”‘ not found in the currency rates file”);n=s(1/t[e],h),v.logInfo(“getCurrencyConversion using reciprocal “+e+” to “+r+” conversionRate “+n)}else{var i=Object.keys(_.conversions)[0];if(!(e in _.conversions[i]))throw new Error(“Specified fromCurrency ‘”+e+”‘ not found in the currency rates file”);var o=1/_.conversions[i][e];if(!(r in _.conversions[i]))throw new Error(“Specified adServerCurrency in config ‘”+r+”‘ not found in the currency rates file”);n=s(o*_.conversions[i][r],h),v.logInfo(“getCurrencyConversion using intermediate “+e+” thru “+i+” to “+r+” conversionRate “+n)}}return e in S||(v.logMessage(“Adding conversionCache value “+n+” for fromCurrency “+e),S[e]=n),n}function s(e,t){for(var n=1,r=0;r\n

Se unika bilderna inifrån Haga slott!

“}function u(e){var n=e.params;if(“video”===e.mediaType){var t=[];return n.video.playerWidth&&n.video.playerHeight?t=[n.video.playerWidth,n.video.playerHeight]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}return c(Array.isArray(n.sizes)?n.sizes.map(function(e){return(b[e]||””).split(“x”)}):e.sizes)}function c(e){var n=[15,2,9];return p.parseSizesInput(e).reduce(function(e,n){var t=parseInt(b[n],10);return t&&e.push(t),e},[]).sort(function(e,t){var r=n.indexOf(e),i=n.indexOf(t);return r>-1||i>-1?-1===r?1:-1===i?-1:r-i:e-t})}Object.defineProperty(n,”__esModule”,{value:!0}),n.spec=void 0;var f=function(){function e(e,n){var t=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(t.push(a.value),!n||t.length!==n);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return t}return function(n,t){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return e(n,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),l=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e};n.masSizeOrdering=c,n.resetUserSync=function(){y=!1};var p=function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}(t(0)),g=t(15),b={1:”468×60″,2:”728×90″,8:”120×600″,9:”160×600″,10:”300×600″,13:”200×200″,14:”250×250″,15:”300×250″,16:”336×280″,19:”300×100″,31:”980×120″,32:”250×360″,33:”180×500″,35:”980×150″,37:”468×400″,38:”930×180″,43:”320×50″,44:”300×50″,48:”300×300″,54:”300×1050″,55:”970×90″,57:”970×250″,58:”1000×90″,59:”320×80″,60:”320×150″,61:”1000×1000″,65:”640×480″,67:”320×480″,68:”1800×1000″,72:”320×320″,73:”320×160″,78:”980×240″,79:”980×300″,80:”980×400″,83:”480×300″,94:”970×310″,96:”970×210″,101:”480×320″,102:”768×1024″,103:”480×280″,113:”1000×300″,117:”320×100″,125:”800×250″,126:”200×600″,195:”600×300″};p._each(b,function(e,n){return b[e]=n});var v=n.spec={code:”rubicon”,aliases:[“rubiconLite”],supportedMediaTypes:[“video”],isBidRequestValid:function(e){if(“object”!==l(e.params))return!1;var n=e.params;return!(!/^\d+$/.test(n.accountId)||u(e).length.01?t.floor:.01,element_id:e.placementCode,name:e.placementCode,language:t.video.language,width:o[0],height:o[1],size_id:t.video.size_id};return t.inventory&&”object”===l(t.inventory)&&(c.inventory=t.inventory),t.keywords&&Array.isArray(t.keywords)&&(c.keywords=t.keywords),t.visitor&&”object”===l(t.visitor)&&(c.visitor=t.visitor),d.slots.push(c),{method:”POST”,url:”//fastlane-adv.rubiconproject.com/v1/auction/video”,data:d,bidRequest:e}}var f=e.params,g=f.accountId,b=f.siteId,v=f.zoneId,y=f.position,m=f.floor,h=f.keywords,S=f.visitor,E=f.inventory,_=f.userId,T=f.referrer;m=(m=parseFloat(m))>.01?m:.01,y=y||”btf”;var A=u(e),w=[“account_id”,g,”site_id”,b,”zone_id”,v,”size_id”,A[0],”alt_size_ids”,A.slice(1).join(“,”)||void 0,”p_pos”,y,”rp_floor”,m,”rp_secure”,i()?”1″:”0″,”tk_flint”,r(),”tid”,e.transactionId,”p_screen_res”,a(),”kw”,h,”tk_user_key”,_];return null!==S&&”object”===(void 0===S?”undefined”:l(S))&&p._each(S,function(e,n){return w.push(“tg_v.”+n,e)}),null!==E&&”object”===(void 0===E?”undefined”:l(E))&&p._each(E,function(e,n){return w.push(“tg_i.”+n,e)}),w.push(“rand”,Math.random(),”rf”,T||p.getTopWindowUrl()),w=w.concat(s()),w=w.reduce(function(e,n,t){return t%2==0&&void 0!==w[t+1]?e+n+”=”+encodeURIComponent(w[t+1])+”&”:e},””).slice(0,-1),{method:”GET”,url:”//fastlane.rubiconproject.com/a/api/fastlane.json”,data:w,bidRequest:e}})},interpretResponse:function(e,n){var t=n.bidRequest,r=e.ads;return”object”!==(void 0===e?”undefined”:l(e))||”ok”!==e.status?[]:(“object”===(void 0===t?”undefined”:l(t))&&”video”===t.mediaType&&”object”===(void 0===r?”undefined”:l(r))&&(r=r[t.placementCode]),!Array.isArray(r)||r.length0?function(e){I.que.push(function(){I.requestBids({timeout:_,adUnitCodes:[e.target],bidsBackHandler:function(){var t=I.getAdserverTargeting();for(var n in t)if(n===e.target)for(var i in t[n])e.adSlot.setTargeting(i,t[n][i]);I.setTargetingForGPTAsync([e.target]),I.getAdserverTargeting(),a.pubads().refresh([e.adSlot])}})})}(e):a.pubads().refresh([e.adSlot])}function t(e,t){return void 0!==e.find(function(e){return e.sizes[0][0]===t[0]&&e.sizes[0][1]===t[1]})}function n(e,t,n){return e.find(function(e){return e.code===t&&e.sizes[0][0]===n[0]&&e.sizes[0][1]===n[1]})}function i(e){var t=w(e.size).split(“x”);return t[0]=parseInt(t[0],10),t[1]=parseInt(t[1],10),t}function o(e,n,o){var s={code:n.target,sizes:[],bids:[]},d=[];for(var a in e){(e[a][o]||[]).forEach(function(e){var n=i(e);if(!0!==t(d,n)){var o=w(s);d.push(Object.assign({},o,{sizes:[n]}))}})}var r=function(t){return t(d)({adUnit:n,bidders:e,device:o})||[]};return d.push.apply(d,r(A)),d.push.apply(d,r(S)),d}function s(){if(0!==_){var e=m.AgilisAds.filter(function(e){return!0===e.prebidReady});void 0,void 0,void 0,e.forEach(function(e){void 0;var t=[],n=e.prebid;f.isDesktop?t=o(n,e,”desktop”):f.isHandheld?t=o(n,e,”mobile”):void 0,t.forEach(function(e){return E.push(e)}),void 0}),void 0,void 0,void 0,I.addAdUnits(E),m.PrebidAdUnits=I.adUnits,I.requestBids({bidsBackHandler:function(){d()}})}}function d(){I.initAdServerSet||(void 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),void 0}(),I.initAdServerSet=!0)}window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(function(){window.googletag.pubads().collapseEmptyDivs(),window.googletag.pubads().disableInitialLoad()});var a=window.googletag,r=window.aller_dfp,l=[640,480],u=”/7783179/”+r.dfp_id+”/”+r.dfp_section,p=jQuery(window).width(),c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini|Mobile/i.test(navigator.userAgent),f={isDesktop:p>=l[0],isHandheld:p=l[0],mobile:p([\s\S]*)/,”$2″);(p=p.replace(/([\s\S]*)([\s\S]*)/,”$1″)).indexOf(“”)>-1?jQuery(“#”+l).parent().hide().after(p):jQuery(“#”+l).css({height:”1px”}).parent().css({height:”1px”}),window.DfpAds.parsedAds[t][e.slot.getTargetingMap().pos[0]]=!0}})},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},O=function(){document.addEventListener(“nuggad-ready”,function(){if(“object”===P(window.nuggdfp)){var e=function(e){a.cmd.push(function(){a.pubads().setTargeting(e,window.nuggdfp[e])})};for(var t in window.nuggdfp)e(t)}})},Q=function(){var e=window.addEventListener?”addEventListener”:”attachEvent”;(0,window[e])(“attachEvent”===e?”onmessage”:”message”,function(e){if(e.data instanceof Array&&e.data.indexOf(“empty_passback:”)>-1){var t=e.data.split(“empty_passback:”)[1];jQuery(“#”+t).closest(“.ad-collapse”).hide()}},!1)},q=function(){a.pubads().addEventListener(“slotRenderEnded”,function(e){var t=e.slot.getSlotId().getDomId(),n=jQuery(“#”+t),i=jQuery(n).parent().find(“.ad-tag”);[“interstitial”].indexOf(jQuery(n).attr(“ad-placement”))




Välkommen hem till Estelle och Oscar.

3a45b3a5eaa2ad15f9b6618d696ab3056797cdc576748d25fa600e639e08c1d6

Kungligt

I kronprinsessfamiljens senaste julhälsning får vi följa med in till Haga slott. Victoria och Daniel har bott där sedan 2011 och slottet betyder mycket för kronprinsessan. Det var ju här som hennes fastrar och hennes pappa växte upp.

Läs mer: Se filmklippet! Estelle och Oscar önskar god jul

Det råder en riktig julstämning i hemmet med levande ljus, tomtenissar och en vacker gran. Prinsessan Estelle som snart fyller sex, serverar lussebullar till mamma, pappa och lillebror.

Läs mer: Därifrån kommer Estelles och Oscars juloutfits

Oscar sitter skönt på en fårskinnsfäll och mumsar i sig en lussebulle. I öppna spisen sprakar brasan och familjen spelar plockepinn.

Läs mer: Här kan du köpa Victorias snygga loafers

Foto: Stella Pictures och SVT




Stort bildextra – Svensk Damtidning önskar gott nytt år!

“}function u(e){var n=e.params;if(“video”===e.mediaType){var t=[];return n.video.playerWidth&&n.video.playerHeight?t=[n.video.playerWidth,n.video.playerHeight]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}return c(Array.isArray(n.sizes)?n.sizes.map(function(e){return(b[e]||””).split(“x”)}):e.sizes)}function c(e){var n=[15,2,9];return p.parseSizesInput(e).reduce(function(e,n){var t=parseInt(b[n],10);return t&&e.push(t),e},[]).sort(function(e,t){var r=n.indexOf(e),i=n.indexOf(t);return r>-1||i>-1?-1===r?1:-1===i?-1:r-i:e-t})}Object.defineProperty(n,”__esModule”,{value:!0}),n.spec=void 0;var f=function(){function e(e,n){var t=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(t.push(a.value),!n||t.length!==n);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return t}return function(n,t){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return e(n,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),l=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e};n.masSizeOrdering=c,n.resetUserSync=function(){y=!1};var p=function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}(t(0)),g=t(15),b={1:”468×60″,2:”728×90″,8:”120×600″,9:”160×600″,10:”300×600″,13:”200×200″,14:”250×250″,15:”300×250″,16:”336×280″,19:”300×100″,31:”980×120″,32:”250×360″,33:”180×500″,35:”980×150″,37:”468×400″,38:”930×180″,43:”320×50″,44:”300×50″,48:”300×300″,54:”300×1050″,55:”970×90″,57:”970×250″,58:”1000×90″,59:”320×80″,60:”320×150″,61:”1000×1000″,65:”640×480″,67:”320×480″,68:”1800×1000″,72:”320×320″,73:”320×160″,78:”980×240″,79:”980×300″,80:”980×400″,83:”480×300″,94:”970×310″,96:”970×210″,101:”480×320″,102:”768×1024″,103:”480×280″,113:”1000×300″,117:”320×100″,125:”800×250″,126:”200×600″,195:”600×300″};p._each(b,function(e,n){return b[e]=n});var v=n.spec={code:”rubicon”,aliases:[“rubiconLite”],supportedMediaTypes:[“video”],isBidRequestValid:function(e){if(“object”!==l(e.params))return!1;var n=e.params;return!(!/^\d+$/.test(n.accountId)||u(e).length.01?t.floor:.01,element_id:e.placementCode,name:e.placementCode,language:t.video.language,width:o[0],height:o[1],size_id:t.video.size_id};return t.inventory&&”object”===l(t.inventory)&&(c.inventory=t.inventory),t.keywords&&Array.isArray(t.keywords)&&(c.keywords=t.keywords),t.visitor&&”object”===l(t.visitor)&&(c.visitor=t.visitor),d.slots.push(c),{method:”POST”,url:”//fastlane-adv.rubiconproject.com/v1/auction/video”,data:d,bidRequest:e}}var f=e.params,g=f.accountId,b=f.siteId,v=f.zoneId,y=f.position,m=f.floor,h=f.keywords,S=f.visitor,E=f.inventory,_=f.userId,T=f.referrer;m=(m=parseFloat(m))>.01?m:.01,y=y||”btf”;var A=u(e),w=[“account_id”,g,”site_id”,b,”zone_id”,v,”size_id”,A[0],”alt_size_ids”,A.slice(1).join(“,”)||void 0,”p_pos”,y,”rp_floor”,m,”rp_secure”,i()?”1″:”0″,”tk_flint”,r(),”tid”,e.transactionId,”p_screen_res”,a(),”kw”,h,”tk_user_key”,_];return null!==S&&”object”===(void 0===S?”undefined”:l(S))&&p._each(S,function(e,n){return w.push(“tg_v.”+n,e)}),null!==E&&”object”===(void 0===E?”undefined”:l(E))&&p._each(E,function(e,n){return w.push(“tg_i.”+n,e)}),w.push(“rand”,Math.random(),”rf”,T||p.getTopWindowUrl()),w=w.concat(s()),w=w.reduce(function(e,n,t){return t%2==0&&void 0!==w[t+1]?e+n+”=”+encodeURIComponent(w[t+1])+”&”:e},””).slice(0,-1),{method:”GET”,url:”//fastlane.rubiconproject.com/a/api/fastlane.json”,data:w,bidRequest:e}})},interpretResponse:function(e,n){var t=n.bidRequest,r=e.ads;return”object”!==(void 0===e?”undefined”:l(e))||”ok”!==e.status?[]:(“object”===(void 0===t?”undefined”:l(t))&&”video”===t.mediaType&&”object”===(void 0===r?”undefined”:l(r))&&(r=r[t.placementCode]),!Array.isArray(r)||r.length0?function(e){I.que.push(function(){I.requestBids({timeout:_,adUnitCodes:[e.target],bidsBackHandler:function(){var t=I.getAdserverTargeting();for(var n in t)if(n===e.target)for(var i in t[n])e.adSlot.setTargeting(i,t[n][i]);I.setTargetingForGPTAsync([e.target]),I.getAdserverTargeting(),a.pubads().refresh([e.adSlot])}})})}(e):a.pubads().refresh([e.adSlot])}function t(e,t){return void 0!==e.find(function(e){return e.sizes[0][0]===t[0]&&e.sizes[0][1]===t[1]})}function n(e,t,n){return e.find(function(e){return e.code===t&&e.sizes[0][0]===n[0]&&e.sizes[0][1]===n[1]})}function i(e){var t=w(e.size).split(“x”);return t[0]=parseInt(t[0],10),t[1]=parseInt(t[1],10),t}function o(e,n,o){var s={code:n.target,sizes:[],bids:[]},d=[];for(var a in e){(e[a][o]||[]).forEach(function(e){var n=i(e);if(!0!==t(d,n)){var o=w(s);d.push(Object.assign({},o,{sizes:[n]}))}})}var r=function(t){return t(d)({adUnit:n,bidders:e,device:o})||[]};return d.push.apply(d,r(A)),d.push.apply(d,r(S)),d}function s(){if(0!==_){var e=m.AgilisAds.filter(function(e){return!0===e.prebidReady});void 0,void 0,void 0,e.forEach(function(e){void 0;var t=[],n=e.prebid;f.isDesktop?t=o(n,e,”desktop”):f.isHandheld?t=o(n,e,”mobile”):void 0,t.forEach(function(e){return E.push(e)}),void 0}),void 0,void 0,void 0,I.addAdUnits(E),m.PrebidAdUnits=I.adUnits,I.requestBids({bidsBackHandler:function(){d()}})}}function d(){I.initAdServerSet||(void 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),void 0}(),I.initAdServerSet=!0)}window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(function(){window.googletag.pubads().collapseEmptyDivs(),window.googletag.pubads().disableInitialLoad()});var a=window.googletag,r=window.aller_dfp,l=[640,480],u=”/7783179/”+r.dfp_id+”/”+r.dfp_section,p=jQuery(window).width(),c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini|Mobile/i.test(navigator.userAgent),f={isDesktop:p>=l[0],isHandheld:p=l[0],mobile:p([\s\S]*)/,”$2″);(p=p.replace(/([\s\S]*)([\s\S]*)/,”$1″)).indexOf(“”)>-1?jQuery(“#”+l).parent().hide().after(p):jQuery(“#”+l).css({height:”1px”}).parent().css({height:”1px”}),window.DfpAds.parsedAds[t][e.slot.getTargetingMap().pos[0]]=!0}})},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},O=function(){document.addEventListener(“nuggad-ready”,function(){if(“object”===P(window.nuggdfp)){var e=function(e){a.cmd.push(function(){a.pubads().setTargeting(e,window.nuggdfp[e])})};for(var t in window.nuggdfp)e(t)}})},Q=function(){var e=window.addEventListener?”addEventListener”:”attachEvent”;(0,window[e])(“attachEvent”===e?”onmessage”:”message”,function(e){if(e.data instanceof Array&&e.data.indexOf(“empty_passback:”)>-1){var t=e.data.split(“empty_passback:”)[1];jQuery(“#”+t).closest(“.ad-collapse”).hide()}},!1)},q=function(){a.pubads().addEventListener(“slotRenderEnded”,function(e){var t=e.slot.getSlotId().getDomId(),n=jQuery(“#”+t),i=jQuery(n).parent().find(“.ad-tag”);[“interstitial”].indexOf(jQuery(n).attr(“ad-placement”))




Vilket kungligt 2017!

f9393d9ab427f15e2e1b8caab2d9d308247a6b4b6e04c9b63b192e0e7175c9ee

Kungligt

Gott nytt år önskar Svensk Damtidning. Vi sammanfattar 2017 med 33 oförglömliga höjdpunkter från året som gått. Alltifrån kronprinsessan Victorias pampiga 40-årsfirande till prins Gabriels fina dop.

Se bilderna nedan! 

33

Visa bildspel

Läs mer: Prinsparet avslöjar: “Så är Alexander som storebror”

Foto: TT, IBL, Stella Pictures, Kungahuset och Erika Geremark




Så firar kungaparet och kronprinsessfamiljen in det nya året

“}function u(e){var n=e.params;if(“video”===e.mediaType){var t=[];return n.video.playerWidth&&n.video.playerHeight?t=[n.video.playerWidth,n.video.playerHeight]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}return c(Array.isArray(n.sizes)?n.sizes.map(function(e){return(b[e]||””).split(“x”)}):e.sizes)}function c(e){var n=[15,2,9];return p.parseSizesInput(e).reduce(function(e,n){var t=parseInt(b[n],10);return t&&e.push(t),e},[]).sort(function(e,t){var r=n.indexOf(e),i=n.indexOf(t);return r>-1||i>-1?-1===r?1:-1===i?-1:r-i:e-t})}Object.defineProperty(n,”__esModule”,{value:!0}),n.spec=void 0;var f=function(){function e(e,n){var t=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(t.push(a.value),!n||t.length!==n);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return t}return function(n,t){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return e(n,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),l=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e};n.masSizeOrdering=c,n.resetUserSync=function(){y=!1};var p=function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}(t(0)),g=t(15),b={1:”468×60″,2:”728×90″,8:”120×600″,9:”160×600″,10:”300×600″,13:”200×200″,14:”250×250″,15:”300×250″,16:”336×280″,19:”300×100″,31:”980×120″,32:”250×360″,33:”180×500″,35:”980×150″,37:”468×400″,38:”930×180″,43:”320×50″,44:”300×50″,48:”300×300″,54:”300×1050″,55:”970×90″,57:”970×250″,58:”1000×90″,59:”320×80″,60:”320×150″,61:”1000×1000″,65:”640×480″,67:”320×480″,68:”1800×1000″,72:”320×320″,73:”320×160″,78:”980×240″,79:”980×300″,80:”980×400″,83:”480×300″,94:”970×310″,96:”970×210″,101:”480×320″,102:”768×1024″,103:”480×280″,113:”1000×300″,117:”320×100″,125:”800×250″,126:”200×600″,195:”600×300″};p._each(b,function(e,n){return b[e]=n});var v=n.spec={code:”rubicon”,aliases:[“rubiconLite”],supportedMediaTypes:[“video”],isBidRequestValid:function(e){if(“object”!==l(e.params))return!1;var n=e.params;return!(!/^\d+$/.test(n.accountId)||u(e).length.01?t.floor:.01,element_id:e.placementCode,name:e.placementCode,language:t.video.language,width:o[0],height:o[1],size_id:t.video.size_id};return t.inventory&&”object”===l(t.inventory)&&(c.inventory=t.inventory),t.keywords&&Array.isArray(t.keywords)&&(c.keywords=t.keywords),t.visitor&&”object”===l(t.visitor)&&(c.visitor=t.visitor),d.slots.push(c),{method:”POST”,url:”//fastlane-adv.rubiconproject.com/v1/auction/video”,data:d,bidRequest:e}}var f=e.params,g=f.accountId,b=f.siteId,v=f.zoneId,y=f.position,m=f.floor,h=f.keywords,S=f.visitor,E=f.inventory,_=f.userId,T=f.referrer;m=(m=parseFloat(m))>.01?m:.01,y=y||”btf”;var A=u(e),w=[“account_id”,g,”site_id”,b,”zone_id”,v,”size_id”,A[0],”alt_size_ids”,A.slice(1).join(“,”)||void 0,”p_pos”,y,”rp_floor”,m,”rp_secure”,i()?”1″:”0″,”tk_flint”,r(),”tid”,e.transactionId,”p_screen_res”,a(),”kw”,h,”tk_user_key”,_];return null!==S&&”object”===(void 0===S?”undefined”:l(S))&&p._each(S,function(e,n){return w.push(“tg_v.”+n,e)}),null!==E&&”object”===(void 0===E?”undefined”:l(E))&&p._each(E,function(e,n){return w.push(“tg_i.”+n,e)}),w.push(“rand”,Math.random(),”rf”,T||p.getTopWindowUrl()),w=w.concat(s()),w=w.reduce(function(e,n,t){return t%2==0&&void 0!==w[t+1]?e+n+”=”+encodeURIComponent(w[t+1])+”&”:e},””).slice(0,-1),{method:”GET”,url:”//fastlane.rubiconproject.com/a/api/fastlane.json”,data:w,bidRequest:e}})},interpretResponse:function(e,n){var t=n.bidRequest,r=e.ads;return”object”!==(void 0===e?”undefined”:l(e))||”ok”!==e.status?[]:(“object”===(void 0===t?”undefined”:l(t))&&”video”===t.mediaType&&”object”===(void 0===r?”undefined”:l(r))&&(r=r[t.placementCode]),!Array.isArray(r)||r.length0?function(e){I.que.push(function(){I.requestBids({timeout:_,adUnitCodes:[e.target],bidsBackHandler:function(){var t=I.getAdserverTargeting();for(var n in t)if(n===e.target)for(var i in t[n])e.adSlot.setTargeting(i,t[n][i]);I.setTargetingForGPTAsync([e.target]),I.getAdserverTargeting(),a.pubads().refresh([e.adSlot])}})})}(e):a.pubads().refresh([e.adSlot])}function t(e,t){return void 0!==e.find(function(e){return e.sizes[0][0]===t[0]&&e.sizes[0][1]===t[1]})}function n(e,t,n){return e.find(function(e){return e.code===t&&e.sizes[0][0]===n[0]&&e.sizes[0][1]===n[1]})}function i(e){var t=w(e.size).split(“x”);return t[0]=parseInt(t[0],10),t[1]=parseInt(t[1],10),t}function o(e,n,o){var s={code:n.target,sizes:[],bids:[]},d=[];for(var a in e){(e[a][o]||[]).forEach(function(e){var n=i(e);if(!0!==t(d,n)){var o=w(s);d.push(Object.assign({},o,{sizes:[n]}))}})}var r=function(t){return t(d)({adUnit:n,bidders:e,device:o})||[]};return d.push.apply(d,r(A)),d.push.apply(d,r(S)),d}function s(){if(0!==_){var e=m.AgilisAds.filter(function(e){return!0===e.prebidReady});void 0,void 0,void 0,e.forEach(function(e){void 0;var t=[],n=e.prebid;f.isDesktop?t=o(n,e,”desktop”):f.isHandheld?t=o(n,e,”mobile”):void 0,t.forEach(function(e){return E.push(e)}),void 0}),void 0,void 0,void 0,I.addAdUnits(E),m.PrebidAdUnits=I.adUnits,I.requestBids({bidsBackHandler:function(){d()}})}}function d(){I.initAdServerSet||(void 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),void 0}(),I.initAdServerSet=!0)}window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(function(){window.googletag.pubads().collapseEmptyDivs(),window.googletag.pubads().disableInitialLoad()});var a=window.googletag,r=window.aller_dfp,l=[640,480],u=”/7783179/”+r.dfp_id+”/”+r.dfp_section,p=jQuery(window).width(),c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini|Mobile/i.test(navigator.userAgent),f={isDesktop:p>=l[0],isHandheld:p=l[0],mobile:p([\s\S]*)/,”$2″);(p=p.replace(/([\s\S]*)([\s\S]*)/,”$1″)).indexOf(“”)>-1?jQuery(“#”+l).parent().hide().after(p):jQuery(“#”+l).css({height:”1px”}).parent().css({height:”1px”}),window.DfpAds.parsedAds[t][e.slot.getTargetingMap().pos[0]]=!0}})},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},O=function(){document.addEventListener(“nuggad-ready”,function(){if(“object”===P(window.nuggdfp)){var e=function(e){a.cmd.push(function(){a.pubads().setTargeting(e,window.nuggdfp[e])})};for(var t in window.nuggdfp)e(t)}})},Q=function(){var e=window.addEventListener?”addEventListener”:”attachEvent”;(0,window[e])(“attachEvent”===e?”onmessage”:”message”,function(e){if(e.data instanceof Array&&e.data.indexOf(“empty_passback:”)>-1){var t=e.data.split(“empty_passback:”)[1];jQuery(“#”+t).closest(“.ad-collapse”).hide()}},!1)},q=function(){a.pubads().addEventListener(“slotRenderEnded”,function(e){var t=e.slot.getSlotId().getDomId(),n=jQuery(“#”+t),i=jQuery(n).parent().find(“.ad-tag”);[“interstitial”].indexOf(jQuery(n).attr(“ad-placement”))




Härlig julledighet väntar för kungligheterna!

85bc65bbaed4866a8b1c9294fe5b34cd5bd76d6e5d5bb8ffcf66f65afdb42a7b

Kungligt

Kungafamiljen har haft ett hektiskt schema den senaste tiden. Bara i december har Gabriels dop, Nobelbanketten, kungens middag och Svenska Akademiens Högtidssammankomst hunnits med, samt julfirande, drottning Silvias födelsedag och uppdrag utöver det.

Läs mer: Svensk Damtidning avslöjar! Extra stort julfirande för kungafamiljen

Nu väntar en längre ledighet för kungligheterna, och från och med den 8 januari är kungafamiljen åter är i arbete igen. Enligt uppgifter till Expressen åkte kungen och drottningen till Japan igår, där de ska fira in det nya året. Även kronprinsessfamiljen lämnar landet för ett varmare klimat – Italien.

Efter semestern väntar en spännande start på året för kungafamiljen med bland annat besök på Säkerhetspolisen, närvaro vid Idrottsgalan och statsbesök från Island.

Läs mer: Se filmklippet! Estelle och Oscar önskar god jul

Foto: Stella pictures