Add to favourites
News Local and Global in your language
19th of November 2018

Kvinnor



Forskning: Slipp sötsuget under din PMS

':""},t.getDefinedParams=function(e,t){return t.filter(function(t){return e[t]}).reduce(function(t,r){return n(t,(i={},o=r,a=e[r],o in i?Object.defineProperty(i,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[o]=a,i));var i,o,a},{})},t.isValidMediaTypes=function(e){var t=["banner","native","video"];return!!Object.keys(e).every(function(e){return(0,d.default)(t,e)})&&(!e.video||!e.video.context||(0,d.default)(["instream","outstream"],e.video.context))},t.getBidderRequest=function(e,t,r){return(0,s.default)(e,function(e){return e.bids.filter(function(e){return e.bidder===t&&e.adUnitCode===r}).length>0})||{start:null,auctionId:null}},t.getUserConfiguredParams=function(e,t,r){return e.filter(function(e){return e.code===t}).map(function(e){return e.bids}).reduce(_,[]).filter(function(e){return e.bidder===r}).map(function(e){return e.params||{}})},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")},t.getDNT=function(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack},t.isAdUnitCodeMatchingSlot=function(e){return function(t){return C(e,t)}},t.isSlotMatchingAdUnitCode=function(e){return function(t){return C(t,e)}},t.unsupportedBidderMessage=function(e,t){var r=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n "+e.code+" is a "+r+" ad unit\n containing bidders that don't support "+r+": "+t+".\n This bidder won't fetch demand.\n "},t.deletePropertyFromObject=function(e,t){var r=n({},e);return delete r[t],r},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},t.convertCamelToUnderscore=function(e){return e.replace(/(?:^|\.?)([A-Z])/g,function(e,t){return"_"+t.toLowerCase()}).replace(/^_/,"")};var o=r(2),a=c(r(61)),s=c(r(10)),d=c(r(7)),u=r(12);function c(e){return e&&e.__esModule?e:{default:e}}var l=r(4),f=!1,p=Object.prototype.toString,g=null;try{g=console.info.bind(window.console)}catch(e){}t.replaceTokenInString=function(e,t,r){return this._each(t,function(t,n){t=void 0===t?"":t;var i=r+n.toUpperCase()+r,o=new RegExp(i,"g");e=e.replace(o,t)}),e};var m,v=(m=0,function(){return++m});function y(){return v()+Math.random().toString(16).substr(2)}function b(e){if(t.isArray(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1]))return e[0]+"x"+e[1]}function h(){return window.console&&window.console.log}t.getUniqueIdentifierStr=y,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,r){return r?e+(t+"=")+encodeURIComponent(r)+"&":e},t.parseQueryStringParameters=function(e){var t="";for(var r in e)e.hasOwnProperty(r)&&(t+=r+"="+encodeURIComponent(e[r])+"&");return t},t.transformAdServerTargetingObj=function(e){return e&&Object.getOwnPropertyNames(e).length>0?I(e).map(function(t){return t+"="+encodeURIComponent(w(e,t))}).join("&"):""},t.getTopWindowLocation=function(){if(t.inIframe()){var e=void 0;try{e=t.getAncestorOrigins()||t.getTopFrameReferrer()}catch(e){logInfo("could not obtain top window location",e)}if(e)return(0,u.parse)(e,{decodeSearchAsString:!0})}return t.getWindowLocation()},t.getTopFrameReferrer=function(){try{window.top.location.toString();var e="",t=void 0;do{(t=t?t.parent:window).document&&t.document.referrer&&(e=t.document.referrer)}while(t!==window.top);return e}catch(e){return window.document.referrer}},t.getAncestorOrigins=function(){if(window.document.location&&window.document.location.ancestorOrigins&&window.document.location.ancestorOrigins.length>=1)return window.document.location.ancestorOrigins[window.document.location.ancestorOrigins.length-1]},t.getWindowTop=function(){return window.top},t.getWindowSelf=function(){return window.self},t.getWindowLocation=function(){return window.location},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){E()&&console.warn&&console.warn("WARNING: "+e)},t.logInfo=function(e,t){E()&&h()&&g&&(t&&0!==t.length||(t=""),g("INFO: "+e+(""===t?"":" : params : "),t))},t.logMessage=function(e){E()&&h()&&console.log("MESSAGE: "+e)},t.hasConsoleLogger=h;var E=function(){if(!1===o.config.getConfig("debug")&&!1===f){var e="TRUE"===S(l.DEBUG_MODE).toUpperCase();o.config.setConfig({debug:e}),f=!0}return!!o.config.getConfig("debug")};t.debugTurnedOn=E,t.logError=function(){E()&&window.console&&window.console.error&&console.error.apply(console,arguments)},t.createInvisibleIframe=function(){var e=document.createElement("iframe");return e.id=y(),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 S=function(e){var t=new RegExp("[\\?&]"+e+"=([^]*)").exec(window.location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))};t.getParameterByName=S,t.hasValidBidRequest=function(e,t,r){var n=!1;function i(e,r){r===t[o]&&(n=!0)}for(var o=0;o0);for(var r in e)if(hasOwnProperty.call(e,r))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 r=0,n=e.length;if(n>0)for(;r'+'':""},t.createTrackPixelIframeHtml=function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?(r&&(e=encodeURI(e)),n&&(n='sandbox="'+n+'"'),"'):""},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,r){return null==t?r:this.isStr(t)?t:this.isNumber(t)?t.toString():void this.logWarn("Unsuported type for param: "+e+" required type: String")};var C=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t}},1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t1?arguments[1]:void 0)}}),r(27)(o)},11:function(e,t,r){"use strict";var n,i=(n=r(7))&&n.__esModule?n:{default:n},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(0)),a={},s=["criteo"];function d(e,t){var r=document.createElement("script");r.type="text/javascript",r.async=!0,t&&"function"==typeof t&&(r.readyState?r.onreadystatechange=function(){"loaded"!==r.readyState&&"complete"!==r.readyState||(r.onreadystatechange=null,t())}:r.onload=function(){t()}),r.src=e;var n=document.getElementsByTagName("head");(n=n.length?n:document.getElementsByTagName("body")).length&&(n=n[0]).insertBefore(r,n.firstChild)}t.loadExternalScript=function(e,t){if(t&&e)if((0,i.default)(s,t)){if(!a[e]){o.logWarn("module "+t+" is loading external JavaScript");var r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src=e,o.insertElement(r),a[e]=!0}}else o.logError(t+" not whitelisted for loading external JavaScript");else o.logError("cannot load external script without url and moduleCode")},t.loadScript=function(e,t,r){e?r?a[e]?t&&"function"==typeof t&&(a[e].loaded?t():a[e].callbacks.push(t)):(a[e]={loaded:!1,callbacks:[]},t&&"function"==typeof t&&a[e].callbacks.push(t),d(e,function(){a[e].loaded=!0;try{for(var t=0;t0;)try{this.cmd.shift().call()}catch(e){i.logError("Error processing Renderer command: ",e)}}},14:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userSync=void 0;var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=Object.assign||function(e){for(var t=1;t=u.syncsPerBidder?o.logWarn('Number of user syncs exceeded for "'+t+'"'):u.enabledBidders&&u.enabledBidders.length&&u.enabledBidders.indexOf(t)0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(c,Number(e));c()},t.triggerUserSyncs=function(){u.enableOverride&&t.syncUsers()},t}a.config.setDefaults({userSync:{syncEnabled:!0,pixelEnabled:!0,syncsPerBidder:5,syncDelay:3e3}});var d=!o.isSafariBrowser()&&o.cookiesAreEnabled();t.userSync=s({config:a.config.getConfig("userSync"),browserSupportsCookies:d})},15:function(e,t){var r=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=r)},16:function(e,t,r){var n=r(20),i=r(15),o=r(31),a=r(45),s="prototype",d=function(e,t,r){var u,c,l,f=e&d.F,p=e&d.G,g=e&d.S,m=e&d.P,v=e&d.B,y=e&d.W,b=p?i:i[t]||(i[t]={}),h=b[s],E=p?n:g?n[t]:(n[t]||{})[s];for(u in p&&(r=t),r)(c=!f&&E&&void 0!==E[u])&&u in b||(l=c?E[u]:r[u],b[u]=p&&"function"!=typeof E[u]?r[u]:v&&c?o(l,n):y&&E[u]==l?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t[s]=e[s],t}(l):m&&"function"==typeof l?o(Function.call,l):l,m&&((b.virtual||(b.virtual={}))[u]=l,e&d.R&&h&&!h[u]&&a(h,u,l)))};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},17:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},18:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasNonNativeBidder=t.nativeBidder=t.nativeAdUnit=t.NATIVE_TARGETING_KEYS=t.NATIVE_KEYS=t.nativeAdapters=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.processNativeAdUnitParams=function(e){return e&&e.type&&((t=e.type)&&(0,a.default)(Object.keys(u),t)||((0,o.logError)(t+" nativeParam is not supported"),0))?u[e.type]:e;var t},t.nativeBidIsValid=function(e,t){var r=(0,o.getBidRequest)(e.adId,t);if(!r)return!1;if(!(0,o.deepAccess)(e,"native.clickUrl"))return!1;if((0,o.deepAccess)(e,"native.image")&&(!(0,o.deepAccess)(e,"native.image.height")||!(0,o.deepAccess)(e,"native.image.width")))return!1;if((0,o.deepAccess)(e,"native.icon")&&(!(0,o.deepAccess)(e,"native.icon.height")||!(0,o.deepAccess)(e,"native.icon.width")))return!1;var n=r.nativeParams;if(!n)return!0;var i=Object.keys(n).filter(function(e){return n[e].required}),s=Object.keys(e.native).filter(function(t){return e.native[t]});return i.every(function(e){return(0,a.default)(s,e)})},t.fireNativeTrackers=function(e,t){var r=void 0;"click"===e.action?r=t.native&&t.native.clickTrackers:(r=t.native&&t.native.impressionTrackers,t.native&&t.native.javascriptTrackers&&(0,o.insertHtmlIntoIframe)(t.native.javascriptTrackers)),(r||[]).forEach(o.triggerPixel)},t.getNativeTargeting=function(e){var t={};return Object.keys(e.native).forEach(function(r){var i=d[r],o=e.native[r];"object"===(void 0===o?"undefined":n(o))&&o.url&&(o=o.url),i&&(t[i]=o)}),t};var i,o=r(0),a=(i=r(7))&&i.__esModule?i:{default:i},s=t.nativeAdapters=[],d=t.NATIVE_KEYS={title:"hb_native_title",body:"hb_native_body",sponsoredBy:"hb_native_brand",image:"hb_native_image",icon:"hb_native_icon",clickUrl:"hb_native_linkurl",cta:"hb_native_cta"},u=(t.NATIVE_TARGETING_KEYS=Object.keys(d).map(function(e){return d[e]}),{image:{image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}});t.nativeAdUnit=function(e){var t="native"===e.mediaType,r=(0,o.deepAccess)(e,"mediaTypes.native");return t||r};var c=t.nativeBidder=function(e){return(0,a.default)(s,e.bidder)};t.hasNonNativeBidder=function(e){return e.bids.filter(function(e){return!c(e)}).length}},180:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBidResponse=t.AUCTION_COMPLETED=t.AUCTION_IN_PROGRESS=t.AUCTION_STARTED=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t=1})&&(y.logInfo("Bids Received for Auction with id: "+_,f),I=T,B(!1,!0))}return{addBidReceived:function(e){f=f.concat(e)},executeCallback:B,callBids:function(){var e,t;e=B.bind(null,!0),t=setTimeout(e,R),O=t,I=S;var r={timestamp:m=Date.now(),auctionId:_,timeout:R};h.emit(E.EVENTS.AUCTION_INIT,r);var n=b.makeBidRequests(s,m,_,R,d);y.logInfo("Bids Requested for Auction with id: "+_,n),n.forEach(function(e){var t;t=e,l=l.concat(t)}),I=A,b.callBids(s,n,w.bind(this),function(e){var t=e;return(0,o.delayExecution)(function(){(0,p.default)(l,function(e){return t===e.bidderRequestId}).doneCbCallCount+=1,j()},1)}.bind(this))},bidsBackAll:j,addWinningBid:function(e){x=x.concat(e)},getWinningBids:function(){return x},getTimeout:function(){return R},getAuctionId:function(){return _},getAuctionStatus:function(){return I},getAdUnits:function(){return s},getAdUnitCodes:function(){return u},getBidRequests:function(){return l},getBidsReceived:function(){return f}}},t.getStandardBidderSettings=C,t.getKeyValueTargetingPairs=O,t.adjustBids=x;var o=r(0),a=r(30),s=r(18),d=r(181),u=r(13),c=r(2),l=r(14),f=r(21),p=m(r(10)),g=m(r(7));function m(e){return e&&e.__esModule?e:{default:e}}var v=l.userSync.syncUsers,y=r(0),b=r(8),h=r(9),E=r(4),S=t.AUCTION_STARTED="started",A=t.AUCTION_IN_PROGRESS="inProgress",T=t.AUCTION_COMPLETED="completed";function _(e,t){t.timeToRespond>e.getTimeout()+c.config.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function I(e,t){h.emit(E.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),_(e,t)}h.on(E.EVENTS.BID_ADJUSTMENT,function(e){x(e)});var w=t.addBidResponse=(0,f.createHook)("asyncSeries",function(e,t){var r,s,l,f,g=this.getBidRequests(),m=this.getAuctionId(),v=(0,o.getBidderRequest)(g,t.bidderCode,e),b=function(e){var t=e.adUnitCode,r=e.bid,s=e.bidRequest,d=e.auctionId,l=s.start,f=i({},r,{auctionId:d,responseTimestamp:(0,o.timestamp)(),requestTimestamp:l,cpm:parseFloat(r.cpm)||0,bidder:r.bidderCode,adUnitCode:t});f.timeToRespond=f.responseTimestamp-f.requestTimestamp,h.emit(E.EVENTS.BID_ADJUSTMENT,f);var g=s.bids&&(0,p.default)(s.bids,function(e){return e.adUnitCode==t}),m=g&&g.renderer;m&&m.url&&(f.renderer=u.Renderer.install({url:m.url}),f.renderer.setRender(m.render));var v,y=c.config.getConfig("mediaTypePriceGranularity."+r.mediaType),b=(0,a.getPriceBucketString)(f.cpm,"object"===(void 0===y?"undefined":n(y))?y:c.config.getConfig("customPriceBucket"),c.config.getConfig("currency.granularityMultiplier"));return f.pbLg=b.low,f.pbMg=b.med,f.pbHg=b.high,f.pbAg=b.auto,f.pbDg=b.dense,f.pbCg=b.custom,f.bidderCode&&(f.cpm>0||f.dealId)&&(v=O(f.bidderCode,f)),f.adserverTargeting=i(f.adserverTargeting||{},v),f}({adUnitCode:e,bid:t,bidRequest:v,auctionId:m});"video"===b.mediaType?(r=this,s=b,l=v,f=!0,c.config.getConfig("cache.url")&&(s.videoCacheKey?s.vastUrl||(y.logError("videoCacheKey specified but not required vastUrl for video bid"),f=!1):(f=!1,(0,d.store)([s],function(e,t){e?(y.logWarn("Failed to save to the video cache: "+e+". Video bid must be discarded."),_(r,s)):(s.videoCacheKey=t[0].uuid,s.vastUrl||(s.vastUrl=(0,d.getCacheUrl)(s.videoCacheKey)),l.doneCbCallCount+=1,I(r,s),r.bidsBackAll())}))),f&&I(r,s)):I(this,b)},"addBidResponse");function C(e){var t=c.config.getConfig("mediaTypePriceGranularity."+e),r="string"==typeof e&&t?"string"==typeof t?t:"custom":c.config.getConfig("priceGranularity"),n=pbjs.bidderSettings;return n[E.JSON_MAPPING.BD_SETTING_STANDARD]||(n[E.JSON_MAPPING.BD_SETTING_STANDARD]={}),n[E.JSON_MAPPING.BD_SETTING_STANDARD][E.JSON_MAPPING.ADSERVER_TARGETING]||(n[E.JSON_MAPPING.BD_SETTING_STANDARD][E.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(e){return r===E.GRANULARITY_OPTIONS.AUTO?e.pbAg:r===E.GRANULARITY_OPTIONS.DENSE?e.pbDg:r===E.GRANULARITY_OPTIONS.LOW?e.pbLg:r===E.GRANULARITY_OPTIONS.MEDIUM?e.pbMg:r===E.GRANULARITY_OPTIONS.HIGH?e.pbHg:r===E.GRANULARITY_OPTIONS.CUSTOM?e.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}},{key:"hb_format",val:function(e){return e.mediaType}}]),n[E.JSON_MAPPING.BD_SETTING_STANDARD]}function O(e,t){if(!t)return{};var r={},n=pbjs.bidderSettings;return n&&(R(r,C(t.mediaType),t),e&&n[e]&&n[e][E.JSON_MAPPING.ADSERVER_TARGETING]&&(R(r,n[e],t),t.sendStandardTargeting=n[e].sendStandardTargeting)),t.native&&(r=i({},r,(0,s.getNativeTargeting)(t))),r}function R(e,t,r){var n=t[E.JSON_MAPPING.ADSERVER_TARGETING];return r.size=r.getSize(),y._each(n,function(n){var i=n.key,o=n.val;if(e[i]&&y.logWarn("The key: "+i+" is getting ovewritten"),y.isFn(o))try{o=o(r)}catch(e){y.logError("bidmanager","ERROR",e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&"hb_deal"!==i||!y.isEmptyStr(o)&&null!=o?e[i]=o:y.logInfo("suppressing empty key '"+i+"' from adserver targeting")}),e}function x(e){var t=e.bidderCode,r=e.cpm,n=void 0;if(pbjs.bidderSettings&&(t&&pbjs.bidderSettings[t]&&"function"==typeof pbjs.bidderSettings[t].bidCpmAdjustment?n=pbjs.bidderSettings[t].bidCpmAdjustment:pbjs.bidderSettings[E.JSON_MAPPING.BD_SETTING_STANDARD]&&"function"==typeof pbjs.bidderSettings[E.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(n=pbjs.bidderSettings[E.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),n))try{r=n(e.cpm,i({},e))}catch(e){y.logError("Error during bid adjustment","bidmanager.js",e)}r>=0&&(e.cpm=r)}function N(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}},181:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.store=function(e,t){var r,a={puts:e.map(o)};(0,n.ajax)(i.config.getConfig("cache.url"),(r=t,{success:function(e){var t=void 0;try{t=JSON.parse(e).responses}catch(e){return void r(e,[])}t?r(null,t):r(new Error("The cache server didn't respond with a responses property."),[])},error:function(e,t){r(new Error("Error storing video ad in the cache: "+e+": "+JSON.stringify(t)),[])}}),JSON.stringify(a),{contentType:"text/plain",withCredentials:!0})},t.getCacheUrl=function(e){return i.config.getConfig("cache.url")+"?uuid="+e};var n=r(6),i=r(2);function o(e){var t,r;return{type:"xml",value:e.vastXml?e.vastXml:(t=e.vastUrl,r=e.vastImpUrl,'\n \n \n prebid.org wrapper\n \n "+(r?"":"")+"\n \n \n \n ")}}},19:function(e,t,r){"use strict";var n=r(0);t.createBid=function(e,t){return new function(e,t){var r=t&&t.bidId||n.getUniqueIdentifierStr(),i=t&&t.src||"client",o=e||0;this.bidderCode=t&&t.bidder||"",this.width=0,this.height=0,this.statusMessage=function(){switch(o){case 0:return"Pending";case 1:return"Bid available";case 2:return"Bid returned empty or error response";case 3:return"Bid timed out"}}(),this.adId=r,this.mediaType="banner",this.source=i,this.getStatusCode=function(){return o},this.getSize=function(){return this.width+"x"+this.height}}(e,t)}},2:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=t.RANDOM=void 0;var n=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(r){return r.fn===t||r.fn!==e})}};return"string"==typeof r&&(o[r]=d),n(function(){for(var r=arguments.length,n=Array(r),i=0;it.max?e:t},{max:0}),m=(0,i.default)(t.buckets,function(t){if(e>g.max*r){var i=t.precision;void 0===i&&(i=a),n=(t.max*r).toFixed(i)}else if(e=t.min*r)return t});return m&&(o=e,d=r,u=void 0!==(s=m).precision?s.precision:a,c=s.increment*d,l=s.min*d,f=Math.floor((o-l)/c)*c+l,n=(f=Number(f.toFixed(10))).toFixed(u)),n}function p(e){if(o.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach(function(e){void 0!==e.min&&e.max&&e.increment||(t=!1)}),t}t.getPriceBucketString=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=parseFloat(e);return isNaN(n)&&(n=""),{low:""===n?"":f(e,s,r),med:""===n?"":f(e,d,r),high:""===n?"":f(e,u,r),auto:""===n?"":f(e,l,r),dense:""===n?"":f(e,c,r),custom:""===n?"":f(e,t,r)}},t.isValidPriceConfig=p},31:function(e,t,r){var n=r(44);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},32:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},33:function(e,t,r){var n=r(31),i=r(34),o=r(52),a=r(35),s=r(53);e.exports=function(e,t){var r=1==e,d=2==e,u=3==e,c=4==e,l=6==e,f=5==e||l,p=t||s;return function(t,s,g){for(var m,v,y=o(t),b=i(y),h=n(s,g,3),E=a(b.length),S=0,A=r?p(t,E):d?p(t,0):void 0;E>S;S++)if((f||S in b)&&(v=h(m=b[S],S,y),e))if(r)A[S]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return S;case 2:A.push(m)}else if(c)return!1;return l?-1:u||c?c:A}}},34:function(e,t,r){var n=r(24);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},35:function(e,t,r){var n=r(36),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},36:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},37:function(e,t,r){var n=r(24);e.exports=Array.isArray||function(e){return"Array"==n(e)}},38:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGlobal=function(){return window.pbjs},window.pbjs=window.pbjs||{},window.pbjs.cmd=window.pbjs.cmd||[],window.pbjs.que=window.pbjs.que||[]},39:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.targeting=t.getOldestBid=t.isBidExpired=t.RENDERED=t.BID_TARGETING_SET=void 0;var n=Object.assign||function(e){for(var t=1;t(0,o.timestamp)()},function(e){return e&&(e.status&&!(0,u.default)([g,m],e.status)||!e.status)}),b=t.getOldestBid=function(e,t,r){var n=!0;return r.forEach(function(r,i){t!==i&&e.bidder===r.bidder&&e.adUnitCode===r.adUnitCode&&e.responseTimestamp>r.responseTimestamp&&(n=!1)}),n};function h(e){var r={};function i(t){return"string"==typeof t?[t]:l.isArray(t)?t:e.getAdUnitCodes()||[]}function d(){return e.getBidsReceived().filter(y).filter(t.isBidExpired).filter(b)}function g(){return e.getStandardBidderAdServerTargeting().map(function(e){return e.key}).concat(f.TARGETING_KEYS).filter(o.uniques)}function m(e,t,r,n){return Object.keys(t.adserverTargeting).filter(h()).forEach(function(r){var n,i;e.length&&e.filter((i=r,function(e){return e.adUnitCode===t.adUnitCode&&e.adserverTargeting[i]})).forEach((n=r,function(e){l.isArray(e.adserverTargeting[n])||(e.adserverTargeting[n]=[e.adserverTargeting[n]]),e.adserverTargeting[n]=e.adserverTargeting[n].concat(t.adserverTargeting[n]).filter(o.uniques),delete t.adserverTargeting[n]}))}),e.push(t),e}function h(){var e=g();return function(t){return-1===e.indexOf(t)}}function E(e){return c({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(h()).map(function(t){return c({},t.substring(0,v),[e.adserverTargeting[t]])}))}function S(e){return{adUnitCode:e,cpm:0,adserverTargeting:{},timeToRespond:0}}return r.resetPresetTargeting=function(t){if((0,o.isGptPubadsDefined)()){var r=i(t),n=e.getAdUnits().filter(function(e){return(0,u.default)(r,e.code)});window.googletag.pubads().getSlots().forEach(function(e){p.forEach(function(t){n.forEach(function(r){r.code!==e.getAdUnitPath()&&r.code!==e.getSlotElementId()||e.setTargeting(t,null)})})})}},r.getAllTargeting=function(e){var t,y,b,h,A,T,_,I,w,C,O,R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d(),x=i(e),N=(I=x,w=R,C=r.getWinningBids(I,w),O=g(),C=C.map(function(e){return c({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(function(t){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===O.indexOf(t)}).map(function(t){return c({},"hb_deal"===t?(t+"_"+e.bidderCode).substring(0,v):t.substring(0,v),[e.adserverTargeting[t]])}))})).concat((T=x,_=R,_.filter(function(e){return(0,u.default)(T,e.adUnitCode)}).map(function(e){return n({},e)}).reduce(m,[]).map(E).filter(function(e){return e}))).concat(a.config.getConfig("enableSendAllBids")?(t=x,y=R,b=f.TARGETING_KEYS.concat(s.NATIVE_TARGETING_KEYS),h=[],A=(0,o.groupBy)(y,"adUnitCode"),Object.keys(A).forEach(function(e){var t=(0,o.groupBy)(A[e],"bidderCode");Object.keys(t).forEach(function(e){return h.push(t[e].reduce(o.getHighestCpm,S()))})}),h.map(function(e){if(e.adserverTargeting&&t&&(l.isArray(t)&&(0,u.default)(t,e.adUnitCode)||"string"==typeof t&&e.adUnitCode===t))return c({},e.adUnitCode,(r=e,b.filter(function(t){return void 0!==e.adserverTargeting[t]}).map(function(e){return c({},(e+"_"+r.bidderCode).substring(0,v),[r.adserverTargeting[e]])})));var r}).filter(function(e){return e})):[]);return N.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))})})}),N.map(function(e){return c({},Object.keys(e)[0],e[Object.keys(e)[0]].map(function(e){return c({},Object.keys(e)[0],e[Object.keys(e)[0]].join(", "))}).reduce(function(e,t){return n(t,e)},{}))}).reduce(function(e,t){var r=Object.keys(t)[0];return e[r]=n({},e[r],t[r]),e},{})},r.setTargetingForGPT=function(e){window.googletag.pubads().getSlots().forEach(function(t){Object.keys(e).filter((0,o.isAdUnitCodeMatchingSlot)(t)).forEach(function(r){return Object.keys(e[r]).forEach(function(n){var i=e[r][n].split(",");(i=i.length>1?[i]:i).map(function(e){return l.logMessage("Attempting to set key value for slot: "+t.getSlotElementId()+" key: "+n+" value: "+e),e}).forEach(function(e){t.setTargeting(n,e)})})})})},r.getWinningBids=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d(),r=i(e);return t.filter(function(e){return(0,u.default)(r,e.adUnitCode)}).filter(function(e){return e.cpm>0}).map(function(e){return e.adUnitCode}).filter(o.uniques).map(function(e){return t.filter(function(t){return t.adUnitCode===e?t:null}).reduce(o.getHighestCpm,S(e))})},r.setTargetingForAst=function(){var e=r.getAllTargeting();Object.keys(e).forEach(function(t){return Object.keys(e[t]).forEach(function(r){if(l.logMessage("Attempting to set targeting for targetId: "+t+" key: "+r+" value: "+e[t][r]),l.isStr(e[t][r])||l.isArray(e[t][r])){var n={};r.search(/pt[0-9]/)1?arguments[1]:void 0)}}),r(27)(o)},44:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},45:function(e,t,r){var n=r(46),i=r(51);e.exports=r(23)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},46:function(e,t,r){var n=r(47),i=r(48),o=r(50),a=Object.defineProperty;t.f=r(23)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},47:function(e,t,r){var n=r(17);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},476:function(e,t,r){e.exports=r(477)},477:function(e,t,r){"use strict";var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,r=e.timeout,n=e.adUnits,i=e.adUnitCodes,o=e.labels;S.emit(w);var a=r||l.config.getConfig("bidderTimeout");if(n=n||v.adUnits,b.logInfo("Invoking pbjs.requestBids",arguments),i&&i.length?n=n.filter(function(e){return(0,m.default)(i,e.code)}):i=n&&n.map(function(e){return e.code}),n.forEach(function(e){var t=Object.keys(e.mediaTypes||{banner:"banner"}),r=e.bids.map(function(e){return e.bidder}),n=h.bidderRegistry;r.forEach(function(r){var i=n[r],o=i&&i.getSpec&&i.getSpec(),a=o&&o.supportedMediaTypes||["banner"];t.some(function(e){return(0,m.default)(a,e)})||(b.logWarn(b.unsupportedBidderMessage(e,r)),e.bids=e.bids.filter(function(e){return e.bidder!==r}))})}),n&&0!==n.length){var s=f.auctionManager.createAuction({adUnits:n,adUnitCodes:i,callback:t,cbTimeout:a,labels:o});return s.callBids(),s}if(b.logMessage("No adUnits configured. No bids requested."),"function"==typeof t)try{t()}catch(e){b.logError("Error executing bidsBackHandler",null,e)}}),v.addAdUnits=function(e){b.logInfo("Invoking pbjs.addAdUnits",arguments),b.isArray(e)?(e.forEach(function(e){return e.transactionId=b.generateUUID()}),v.adUnits.push.apply(v.adUnits,e)):"object"===(void 0===e?"undefined":i(e))&&(e.transactionId=b.generateUUID(),v.adUnits.push(e)),S.emit(_)},v.onEvent=function(e,t,r){b.logInfo("Invoking pbjs.onEvent",arguments),b.isFn(t)?!r||k[e].call(null,r)?S.on(e,t,r):b.logError('The id provided is not valid for event "'+e+'" and no handler was set.'):b.logError('The event handler provided is not a function and was not set on event "'+e+'".')},v.offEvent=function(e,t,r){b.logInfo("Invoking pbjs.offEvent",arguments),r&&!k[e].call(null,r)||S.off(e,t,r)},v.registerBidAdapter=function(e,t){b.logInfo("Invoking pbjs.registerBidAdapter",arguments);try{h.registerBidAdapter(e(),t)}catch(e){b.logError("Error registering bidder adapter : "+e.message)}},v.registerAnalyticsAdapter=function(e){b.logInfo("Invoking pbjs.registerAnalyticsAdapter",arguments);try{h.registerAnalyticsAdapter(e)}catch(e){b.logError("Error registering analytics adapter : "+e.message)}},v.createBid=function(e){return b.logInfo("Invoking pbjs.createBid",arguments),E.createBid(e)},v.loadScript=function(e,t,r){b.logInfo("Invoking pbjs.loadScript",arguments),(0,c.loadScript)(e,t,r)},v.enableAnalytics=function(e){e&&!b.isEmpty(e)?(b.logInfo("Invoking pbjs.enableAnalytics for: ",e),h.enableAnalytics(e)):b.logError("pbjs.enableAnalytics should be called with option {}")},v.aliasBidder=function(e,t){b.logInfo("Invoking pbjs.aliasBidder",arguments),e&&t?h.aliasBidAdapter(e,t):b.logError("bidderCode and alias must be passed as arguments","pbjs.aliasBidder")},v.getAllWinningBids=function(){return f.auctionManager.getAllWinningBids().map(s.removeRequestId)},v.getAllPrebidWinningBids=function(){return f.auctionManager.getBidsReceived().filter(function(e){return e.status===p.BID_TARGETING_SET}).map(s.removeRequestId)},v.getHighestCpmBids=function(e){var t=f.auctionManager.getBidsReceived().filter(p.getOldestBid);return p.targeting.getWinningBids(e,t).map(s.removeRequestId)},v.getConfig=l.config.getConfig,v.setConfig=l.config.setConfig,v.que.push(function(){return(0,d.listenMessagesFromCreative)()}),v.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){b.logError("Error processing command :",e.message,e.stack)}else b.logError("Commands written into pbjs.cmd.push must be wrapped in a function")},v.que.push=v.cmd.push,v.processQueue=function(){M(v.que),M(v.cmd)}},478:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listenMessagesFromCreative=function(){addEventListener("message",l,!1)};var n=u(r(9)),i=r(18),o=r(4),a=r(0),s=r(29),d=u(r(10));function u(e){return e&&e.__esModule?e:{default:e}}var c=o.EVENTS.BID_WON;function l(e){var t,r,o,u,l,f,p,g,m,v,y,b,h,E=e.message?"message":"data",S={};try{S=JSON.parse(e[E])}catch(e){return}if(S.adId){var A=(0,d.default)(s.auctionManager.getBidsReceived(),function(e){return e.adId===S.adId});"Prebid Request"===S.message&&(t=A,r=S.adServerDomain,o=e.source,u=t.adId,l=t.ad,f=t.adUrl,p=t.width,g=t.height,u&&(v=(m=t).adUnitCode,y=m.width,b=m.height,(h=document.getElementById((0,d.default)(window.googletag.pubads().getSlots().filter((0,a.isSlotMatchingAdUnitCode)(v)),function(e){return e}).getSlotElementId()).querySelector("iframe")).width=""+y,h.height=""+b,o.postMessage(JSON.stringify({message:"Prebid Response",ad:l,adUrl:f,adId:u,width:p,height:g}),r)),s.auctionManager.addWinningBid(A),n.default.emit(c,A)),"Prebid Native"===S.message&&((0,i.fireNativeTrackers)(S,A),s.auctionManager.addWinningBid(A),n.default.emit(c,A))}}},48:function(e,t,r){e.exports=!r(23)&&!r(32)(function(){return 7!=Object.defineProperty(r(49)("div"),"a",{get:function(){return 7}}).a})},49:function(e,t,r){var n=r(17),i=r(20).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},50:function(e,t,r){var n=r(17);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},51:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},52:function(e,t,r){var n=r(25);e.exports=function(e){return Object(n(e))}},53:function(e,t,r){var n=r(54);e.exports=function(e,t){return new(n(e))(t)}},54:function(e,t,r){var n=r(17),i=r(37),o=r(26)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),n(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},55:function(e,t,r){var n=r(20),i="__core-js_shared__",o=n[i]||(n[i]={});e.exports=function(e){return o[e]||(o[e]={})}},56:function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},57:function(e,t,r){"use strict";var n=r(16),i=r(58)(!0);n(n.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r(27)("includes")},58:function(e,t,r){var n=r(59),i=r(35),o=r(60);e.exports=function(e){return function(t,r,a){var s,d=n(t),u=i(d.length),c=o(a,u);if(e&&r!=r){for(;u>c;)if((s=d[c++])!=s)return!0}else for(;u>c;c++)if((e||c in d)&&d[c]===r)return e||c||0;return!e&&-1}}},59:function(e,t,r){var n=r(34),i=r(25);e.exports=function(e){return n(i(e))}},6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ajax=void 0;var n=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:3e3;return function(t,r,d){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var c=void 0,l=!1,f=u.method||(d?"POST":"GET"),p="object"===(void 0===r?"undefined":i(r))&&null!==r?r:{success:function(){a.logMessage("xhr success")},error:function(e){a.logError("xhr error",null,e)}};if("function"==typeof r&&(p.success=r),window.XMLHttpRequest?void 0===(c=new window.XMLHttpRequest).responseType&&(l=!0):l=!0,l?((c=new window.XDomainRequest).onload=function(){p.success(c.responseText,c)},c.onerror=function(){p.error("error",c)},c.ontimeout=function(){p.error("timeout",c)},c.onprogress=function(){a.logMessage("xhr onprogress")}):(c.onreadystatechange=function(){if(c.readyState===s){var e=c.status;e>=200&&e0&&void 0!==arguments[0]?arguments[0]:{},r=t.labels,i=void 0===r?[]:r,o=t.labelAll,u=void 0!==o&&o,c=t.activeLabels,l=void 0===c?[]:c,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],p=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:d).reduce(function(e,t){return"object"===(void 0===t?"undefined":n(t))&&"string"==typeof t.mediaQuery?matchMedia(t.mediaQuery).matches&&(Array.isArray(t.sizesSupported)&&(e.shouldFilter=!0),["labels","sizesSupported"].forEach(function(r){return(t[r]||[]).forEach(function(t){return e[r][t]=!0})})):(0,a.logWarn)('sizeConfig rule missing required property "mediaQuery"'),e},{labels:{},sizesSupported:{},shouldFilter:!1});return{active:(e=p.shouldFilter?f.filter(function(e){return p.sizesSupported[e]}):f).length>0&&(0===i.length||!u&&(i.some(function(e){return p.labels[e]})||i.some(function(e){return(0,s.default)(l,e)}))||u&&i.reduce(function(e,t){return e?p.labels[t]||(0,s.default)(l,t):e},!0)),sizes:e}};var i,o=r(2),a=r(0),s=(i=r(7))&&i.__esModule?i:{default:i},d=[];function u(e){d=e}o.config.getConfig("sizeConfig",function(e){return u(e.sizeConfig)})},63:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasNonVideoBidder=t.videoBidder=t.videoAdUnit=void 0,t.isValidVideoBid=function(e,t){var r=(0,o.getBidRequest)(e.adId,t),n=r&&(0,o.deepAccess)(r,"mediaTypes.video"),i=n&&(0,o.deepAccess)(n,"context");return!r||n&&i!==d?a.config.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,o.logError)('\n This bid contains only vastXml and will not work when a prebid cache url is not specified.\n Try enabling prebid cache with pbjs.setConfig({ cache: {url: "..."} });\n '),!1):i!==d||!(!e.renderer&&!r.renderer)};var n,i=r(8),o=r(0),a=r(2),s=(n=r(7))&&n.__esModule?n:{default:n},d="outstream",u=(t.videoAdUnit=function(e){var t="video"===e.mediaType,r=(0,o.deepAccess)(e,"mediaTypes.video");return t||r},t.videoBidder=function(e){return(0,s.default)(i.videoAdapters,e.bidder)});t.hasNonVideoBidder=function(e){return e.bids.filter(function(e){return!u(e)}).length}},7:function(e,t,r){r(57),e.exports=r(15).Array.includes},8:function(e,t,r){"use strict";var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=Object.assign||function(e){for(var t=1;t (eg mediaTypes.banner.sizes).");var r=e.mediaTypes;if(r&&r.banner){var n=r.banner;n.sizes?e.sizes=n.sizes:(g.logError("Detected a mediaTypes.banner object did not include sizes. This is a required field for the mediaTypes.banner object. Removing invalid mediaTypes.banner object from request."),delete e.mediaTypes.banner)}if(r&&r.video){var i=r.video;if(i.playerSize)if(Array.isArray(i.playerSize)&&1===i.playerSize.length&&i.playerSize.every(t))e.sizes=i.playerSize;else if(t(i.playerSize)){var o=[];o.push(i.playerSize),g.logInfo("Transforming video.playerSize from "+i.playerSize+" to "+o+" so it's in the proper format."),e.sizes=i.playerSize=o}else g.logError("Detected incorrect configuration of mediaTypes.video.playerSize. Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."),delete e.mediaTypes.video.playerSize}if(r&&r.native){var a=r.native;a.image&&a.image.sizes&&!Array.isArray(a.image.sizes)&&(g.logError("Please use an array of sizes for native.image.sizes field. Removing invalid mediaTypes.native.image.sizes property from request."),delete e.mediaTypes.native.image.sizes),a.image&&a.image.aspect_ratios&&!Array.isArray(a.image.aspect_ratios)&&(g.logError("Please use an array of sizes for native.image.aspect_ratios field. Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete e.mediaTypes.native.image.aspect_ratios),a.icon&&a.icon.sizes&&!Array.isArray(a.icon.sizes)&&(g.logError("Please use an array of sizes for native.icon.sizes field. Removing invalid mediaTypes.native.icon.sizes property from request."),delete e.mediaTypes.native.icon.sizes)}}),e},t.callBids=function(e,t,r,i){if(t.length){var a=(0,u.ajaxBuilder)(t[0].timeout),s=t.reduce(function(e,t){return e[Number(void 0!==t.src&&t.src===m.S2S.SRC)].push(t),e},[[],[]]),d=n(s,2),c=d[0],p=d[1];if(p.length){var y=h.bidders,E=b[h.adapter],S=p[0].tid,A=p[0].adUnitsS2SCopy;if(A.forEach(function(e){var t=e.bids.filter(function(t){return(0,f.default)(p,function(r){return r.bidderCode===t.bidder&&(0,f.default)(r.bids,function(t){return t.adUnitCode===e.code})})});e.bids=t}),A=A.filter(function(e){return e.bids.length>0}),E){var T={tid:S,ad_units:A};if(T.ad_units.length){var _=p.map(function(e){return e.start=(0,o.timestamp)(),e.doneCbCallCount=0,i(e.bidderRequestId)}),I=T.ad_units.reduce(function(e,t){return e.concat((t.bids||[]).reduce(function(e,t){return e.concat(t.bidder)},[]))},[]);g.logMessage("CALLING S2S HEADER BIDDERS ==== "+y.filter(function(e){return(0,l.default)(I,e)}).join(",")),p.forEach(function(e){v.emit(m.EVENTS.BID_REQUESTED,e)}),E.callBids(T,p,r,function(){return _.forEach(function(e){return e()})},a)}}}c.forEach(function(e){e.start=(0,o.timestamp)();var t=b[e.bidderCode];if(t){g.logMessage("CALLING BIDDER ======= "+e.bidderCode),v.emit(m.EVENTS.BID_REQUESTED,e),e.doneCbCallCount=0;var n=i(e.bidderRequestId);t.callBids(e,r,n,a)}else g.logError("Adapter trying to be called which does not exist: "+e.bidderCode+" adaptermanager.callBids")})}else g.logWarn("callBids executed with no bidRequests. Were they filtered by labels or sizing?")},t.videoAdapters=[],t.registerBidAdapter=function(e,r){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,i=void 0===n?[]:n;e&&r?"function"==typeof e.callBids?(b[r]=e,(0,l.default)(i,"video")&&t.videoAdapters.push(r),(0,l.default)(i,"native")&&s.nativeAdapters.push(r)):g.logError("Bidder adaptor error for bidder code: "+r+"bidder must implement a callBids() function"):g.logError("bidAdaptor or bidderCode not specified")},t.aliasBidAdapter=function(e,r){var n,o;if(void 0===b[r]){var a=b[e];if(void 0===a)g.logError('bidderCode "'+e+'" is not an existing bidder.',"adaptermanager.aliasBidAdapter");else try{var u=void 0,c=(n=e,o=[],(0,l.default)(t.videoAdapters,n)&&o.push("video"),(0,l.default)(s.nativeAdapters,n)&&o.push("native"),o);if(a.constructor.prototype!=Object.prototype)(u=new a.constructor).setBidderCode(r);else{var f=a.getSpec();u=(0,d.newBidder)(i({},f,{code:r})),t.aliasRegistry[r]=e}this.registerBidAdapter(u,r,{supportedMediaTypes:c})}catch(t){g.logError(e+" bidder does not currently support aliasing.","adaptermanager.aliasBidAdapter")}}else g.logMessage('alias name "'+r+'" has been already specified.')},t.registerAnalyticsAdapter=function(e){var t=e.adapter,r=e.code;t&&r?"function"==typeof t.enableAnalytics?(t.code=r,E[r]=t):g.logError('Prebid Error: Analytics adaptor error for analytics "'+r+'"\n analytics adapter must implement an enableAnalytics() function'):g.logError("Prebid Error: analyticsAdapter or analyticsCode not specified")},t.enableAnalytics=function(e){g.isArray(e)||(e=[e]),g._each(e,function(e){var t=E[e.provider];t?t.enableAnalytics(e):g.logError("Prebid Error: no analytics adapter found in registry for\n "+e.provider+".")})},t.getBidAdapter=function(e){return b[e]},t.setS2STestingModule=function(e){y=e},t.callTimedOutBidders=function(e,t,r){t=t.map(function(t){return t.params=g.getUserConfiguredParams(e,t.adUnitCode,t.bidder),t.timeout=r,t}),t=g.groupBy(t,"bidder"),Object.keys(t).forEach(function(e){try{var r=b[e].getSpec();r&&r.onTimeout&&"function"==typeof r.onTimeout&&(g.logInfo("Invoking "+e+".onTimeout"),r.onTimeout(t[e]))}catch(t){g.logWarn("Error calling onTimeout of "+e)}})}},9:function(e,t,r){"use strict";var n,i=Object.assign||function(e){for(var t=1;t1?t-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];this.isSecureProtocol()&&(e.secure=1),this.isConsentRequired(t)&&(e.euconsent=t.consentString,e.gdpr=1);var r="";return a._each(e,function(e,t){r+="&"+t+"="+encodeURIComponent(e)}),r},buildOpenRtbRequestData:function(e,t){var r={id:e.params.id,imp:e.params.imp};return this.isConsentRequired(t)&&(r.user={ext:{consent:t.consentString}},r.regs={ext:{gdpr:1}}),r},isConsentRequired:function(e){return!!(e&&e.consentString&&e.gdprApplies)},formatMarketplaceConsentData:function(e){return this.isConsentRequired(e)?";euconsent="+e.consentString+";gdpr=1":""},_parseBidResponse:function(e,t){var r=void 0;try{r=e.seatbid[0].bid[0]}catch(e){return}var n=void 0;if(r.ext&&r.ext.encp)n=r.ext.encp;else if(null===(n=r.price)||isNaN(n))return void a.logError("Invalid price in bid response",f.AOL,bid);var i={bidderCode:t.bidderCode,requestId:t.bidId,ad:r.adm,cpm:n,width:r.w,height:r.h,creativeId:r.crid,pubapiId:e.id,currency:e.cur,dealId:r.dealid,netRevenue:!0,ttl:t.ttl};return e.ext&&e.ext.pixels&&d.config.getConfig("aol.userSyncOn")!==u.EVENTS.BID_RESPONSE&&(i.ad+=this.formatPixels(e.ext.pixels)),i},formatPixels:function(e){return"

");var g=l[a.size_id].split("x").map(function(e){return Number(e)}),m=n(g,2);p.width=m[0],p.height=m[1]}p.rubiconTargeting=(Array.isArray(a.targeting)?a.targeting:[]).reduce(function(e,t){return e[t.key]=t.values[0],e},{rpfl_elemid:f.adUnitCode}),t.push(p)}else o.logError("bidRequest undefined at index position:"+u,r,e);return t},[]).sort(function(e,t){return(t.cpm||0)-(e.cpm||0)})},getUserSyncs:function(e,t,r){if(!b&&e.iframeEnabled){var n="";return r&&"string"==typeof r.consentString&&("boolean"==typeof r.gdprApplies?n+="?gdpr="+Number(r.gdprApplies)+"&gdpr_consent="+r.consentString:n+="?gdpr_consent="+r.consentString),b=!0,{type:"iframe",url:"https://eus.rubiconproject.com/usync.html"+n}}}};function p(){return[window.screen.width,window.screen.height].join("x")}function g(e){var t=s.config.getConfig("pageUrl");return e.params.referrer?t=e.params.referrer:t||(t=o.getTopWindowUrl()),e.params.secure?t.replace(/^http:/i,"https:"):t}function m(e){var t,r=e.params;if(f.hasVideoMediaType(e)){var n=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?n=[r.video.playerWidth,r.video.playerHeight]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(n=e.sizes[0]),n}return y(Array.isArray(r.sizes)?r.sizes:(t=e.sizes,o.parseSizesInput(t).reduce(function(e,t){var r=parseInt(l[t],10);return r&&e.push(r),e},[])))}function v(e){return"atf"===e||"btf"===e?e:"unknown"}function y(e){var t=[15,2,9];return e.sort(function(e,r){var n=t.indexOf(e),i=t.indexOf(r);return n>-1||i>-1?-1===n?1:-1===i?-1:n-i:e-r})}var b=!1;(0,a.registerBidder)(f)},375:function(e,t){}},[373]),pbjs.processQueue();var PREBID_TIMEOUT = 1500; DfpAds = {}; DfpAds.Ads = [{"docComment":"\/**\n * Solum template: DFP Ads\n *\n * @always_show 1\n * @group Ads\n * @var agilisClasses agilisClasses \"\"\n * @var ad_type dfp_ads \"\"\n * @var responsive_ad checkbox \"1\"\n * @var ad_collapse checkbox \"1\"\n * @package WordPress\n *\/","block":{"guid":"192407e7-9afb-43a8-85b5-69b4c59a96b8","always_show":1,"name":"dfp_ads","posts":0,"show_while_content":0,"show_while_previous_was_post":0,"vars":[{"name":"agilisClasses","type":"agilisClasses","value":""},{"name":"ad_type","type":"dfp_ads","value":"responsive_1"},{"name":"responsive_ad","type":"checkbox","value":"1"},{"name":"ad_collapse","type":"checkbox","value":"1"}],"columns":0,"no_posts":0,"column":{"guid":"db617396-ab59-4c4f-87fb-9881dfa20e4a","column":"col1","blocktype":"post_context","no_posts":0}},"index":13,"name":"dfp_ads","path":"\/var\/www\/elle.se\/wp-content\/themes\/se-wordpress-vultus-agilis-solum\/vultus-agilis-solum\/templates\/solum-dfp_ads.php","adSlot":null,"placement":"responsive_1","target":"div-gpt-ad-1359364411177-4","sizes":{"desktop":[[980,240],[980,120],[728,90],[980,300],[980,400]],"mobile":[[300,250],[320,320],[320,480]]},"lazyload":true,"offsets":{"desktop":200,"mobile":100},"prebidReady":true,"prebid":{"rubicon":{"desktop":[{"size":"980x240","sizeId":"78","zoneId":"241430"}],"mobile":[{"size":"320x320","sizeId":"72","zoneId":"241440"}],"accountId":"13012","siteId":{"desktop":"52684","mobile":"52686"}},"adform":{"desktop":[{"size":"980x240","sizeId":"78","zoneId":"557048"},{"size":"980x400","sizeId":"80","zoneId":"557051"}],"mobile":[{"size":"320x320","sizeId":"72","zoneId":"558134"}]},"aol":{"network":4904.1000000000004,"desktop":[],"mobile":[]},"appnexus":{"desktop":[{"size":"980x240","sizeId":"78","zoneId":"13503329"},{"size":"980x400","sizeId":"80","zoneId":"13503332"}],"mobile":[{"size":"320x320","sizeId":"72","zoneId":"13503342"}]}}},{"docComment":"\/**\n * Solum template: DFP Ads\n *\n * @always_show 1\n * @group Ads\n * @var agilisClasses agilisClasses \"\"\n * @var ad_type dfp_ads \"\"\n * @var responsive_ad checkbox \"1\"\n * @var ad_collapse checkbox \"1\"\n * @package WordPress\n *\/","block":{"guid":"932aa1f6-1dce-4434-99f5-683065748b94","always_show":1,"name":"dfp_ads","posts":0,"show_while_content":0,"show_while_previous_was_post":0,"vars":[{"name":"agilisClasses","type":"agilisClasses","value":""},{"name":"ad_type","type":"dfp_ads","value":"insider_1"},{"name":"responsive_ad","type":"checkbox","value":"1"},{"name":"ad_collapse","type":"checkbox","value":"1"}],"columns":0,"no_posts":0,"column":{"guid":"b4dde4e3-7a47-4674-8283-1525b27dabd0","column":"col1","blocktype":"context","no_posts":0}},"index":16,"name":"dfp_ads","path":"\/var\/www\/elle.se\/wp-content\/themes\/se-wordpress-vultus-agilis-solum\/vultus-agilis-solum\/templates\/solum-dfp_ads.php","adSlot":null,"placement":"insider_1","target":"insider_1","sizes":{"desktop":[[300,250]],"mobile":[]},"lazyload":true,"offsets":{"desktop":100,"mobile":0},"prebidReady":true,"prebid":{"rubicon":{"desktop":[{"size":"300x250","sizeId":"15","zoneId":"623640"}],"mobile":[],"accountId":"13012","siteId":{"desktop":"52684","mobile":"52686"}},"adform":{"desktop":[{"size":"300x250","sizeId":"15","zoneId":"557060"}],"mobile":[]},"aol":{"network":4904.1000000000004,"desktop":[],"mobile":[]},"appnexus":{"desktop":[{"size":"300x250","sizeId":"15","zoneId":"13503339"}],"mobile":[]}}},{"docComment":"\/**\n * Solum template: DFP Ads\n *\n * @always_show 1\n * @group Ads\n * @var agilisClasses agilisClasses \"\"\n * @var ad_type dfp_ads \"\"\n * @var responsive_ad checkbox \"1\"\n * @var ad_collapse checkbox \"1\"\n * @package WordPress\n *\/","block":{"guid":"8aeb9783-2b28-4efb-9d35-71fb28e420b6","always_show":1,"name":"dfp_ads","posts":0,"show_while_content":0,"show_while_previous_was_post":0,"vars":[{"name":"agilisClasses","type":"agilisClasses","value":""},{"name":"ad_type","type":"dfp_ads","value":"insider_2"},{"name":"responsive_ad","type":"checkbox","value":"1"},{"name":"ad_collapse","type":"checkbox","value":"1"}],"columns":0,"no_posts":0,"column":{"guid":"b4dde4e3-7a47-4674-8283-1525b27dabd0","column":"col1","blocktype":"context","no_posts":0}},"index":18,"name":"dfp_ads","path":"\/var\/www\/elle.se\/wp-content\/themes\/se-wordpress-vultus-agilis-solum\/vultus-agilis-solum\/templates\/solum-dfp_ads.php","adSlot":null,"placement":"insider_2","target":"insider_2","sizes":{"desktop":[[300,250]],"mobile":[]},"lazyload":true,"offsets":{"desktop":100,"mobile":0},"prebidReady":true,"prebid":{"rubicon":{"desktop":[{"size":"300x250","sizeId":"15","zoneId":"623644"}],"mobile":[],"accountId":"13012","siteId":{"desktop":"52684","mobile":"52686"}},"adform":{"desktop":[{"size":"300x250","sizeId":"15","zoneId":"557062"}],"mobile":[]},"aol":{"network":4904.1000000000004,"desktop":[],"mobile":[]},"appnexus":{"desktop":[{"size":"300x250","sizeId":"15","zoneId":"13503340"}],"mobile":[]}}},{"docComment":"\/**\n * Solum template: DFP Ads\n *\n * @always_show 1\n * @group Ads\n * @var agilisClasses agilisClasses \"\"\n * @var ad_type dfp_ads \"\"\n * @var responsive_ad checkbox \"1\"\n * @var ad_collapse checkbox \"1\"\n * @package WordPress\n *\/","block":{"guid":"6bd2560d-c40c-4a82-8d72-7c69021276a2","always_show":1,"name":"dfp_ads","posts":0,"show_while_content":0,"show_while_previous_was_post":0,"vars":[{"name":"ad_type","type":"dfp_ads","value":"responsive_2"},{"name":"responsive_ad","type":"checkbox","value":"1"},{"name":"ad_collapse","type":"checkbox","value":"1"}],"columns":0,"no_posts":0},"index":37,"name":"dfp_ads","path":"\/var\/www\/elle.se\/wp-content\/themes\/se-wordpress-vultus-agilis-solum\/vultus-agilis-solum\/templates\/solum-dfp_ads.php","adSlot":null,"placement":"responsive_2","target":"div-gpt-ad-1359364411177-5","sizes":{"desktop":[[980,240],[980,120],[728,90],[980,300],[980,400],[980,600],[1280,600]],"mobile":[[300,250],[320,320],[320,480]]},"lazyload":true,"offsets":{"desktop":200,"mobile":100},"prebidReady":true,"prebid":{"rubicon":{"desktop":[{"size":"980x240","sizeId":"78","zoneId":"289712"}],"mobile":[{"size":"320x320","sizeId":"72","zoneId":"241442"}],"accountId":"13012","siteId":{"desktop":"52684","mobile":"52686"}},"adform":{"desktop":[{"size":"980x240","sizeId":"78","zoneId":"557050"},{"size":"980x400","sizeId":"80","zoneId":"557055"},{"size":"980x600","sizeId":"5","zoneId":"557053"}],"mobile":[{"size":"320x320","sizeId":"72","zoneId":"558136"}]},"aol":{"network":4904.1000000000004,"desktop":[],"mobile":[]},"appnexus":{"desktop":[{"size":"980x240","sizeId":"78","zoneId":"13503330"},{"size":"980x400","sizeId":"80","zoneId":"13503334"},{"size":"980x600","sizeId":"5","zoneId":"13503335"}],"mobile":[{"size":"320x320","sizeId":"72","zoneId":"13503343"}]}}},{"docComment":"\/**\n * Solum template: DFP Ads\n *\n * @always_show 1\n * @group Ads\n * @var agilisClasses agilisClasses \"\"\n * @var ad_type dfp_ads \"\"\n * @var responsive_ad checkbox \"1\"\n * @var ad_collapse checkbox \"1\"\n * @package WordPress\n *\/","block":{"guid":"54166bb4-4a9f-4c52-8bc0-b75e0e7fce8e","always_show":1,"name":"dfp_ads","posts":0,"show_while_content":0,"show_while_previous_was_post":0,"vars":[{"name":"agilisClasses","type":"agilisClasses","value":""},{"name":"ad_type","type":"dfp_ads","value":"responsive_3"},{"name":"responsive_ad","type":"checkbox","value":"1"},{"name":"ad_collapse","type":"checkbox","value":"1"}],"columns":0,"no_posts":0},"index":40,"name":"dfp_ads","path":"\/var\/www\/elle.se\/wp-content\/themes\/se-wordpress-vultus-agilis-solum\/vultus-agilis-solum\/templates\/solum-dfp_ads.php","adSlot":null,"placement":"responsive_3","target":"div-gpt-ad-1359364411177-6","sizes":{"desktop":[[980,240],[980,120],[728,90],[980,300],[980,400],[980,600]],"mobile":[[300,250],[320,320],[320,480]]},"lazyload":true,"offsets":{"desktop":200,"mobile":100},"prebidReady":true,"prebid":{"rubicon":{"desktop":[{"size":"980x240","sizeId":"78","zoneId":"289714"}],"mobile":[{"size":"320x320","sizeId":"72","zoneId":"241444"}],"accountId":"13012","siteId":{"desktop":"52684","mobile":"52686"}},"adform":{"desktop":[{"size":"980x240","sizeId":"78","zoneId":"557054"},{"size":"980x400","sizeId":"80","zoneId":"557057"},{"size":"980x600","sizeId":"5","zoneId":"557056"}],"mobile":[{"size":"320x320","sizeId":"72","zoneId":"558135"}]},"aol":{"network":4904.1000000000004,"desktop":[{"size":"980x240","sizeId":"78","zoneId":"6542621"},{"size":"980x120","sizeId":"31","zoneId":"6542636"},{"size":"728x90","sizeId":"2","zoneId":"6542635"},{"size":"980x300","sizeId":"79","zoneId":"6542617"}],"mobile":[{"size":"300x250","sizeId":"15","zoneId":"6542630"},{"size":"320x320","sizeId":"72","zoneId":"6542628"}]},"appnexus":{"desktop":[{"size":"980x240","sizeId":"78","zoneId":"13503331"},{"size":"980x400","sizeId":"80","zoneId":"13503337"},{"size":"980x600","sizeId":"5","zoneId":"13503338"}],"mobile":[{"size":"320x320","sizeId":"72","zoneId":"13503344"}]}}},{"docComment":null,"block":null,"index":null,"name":"wallpaper-left","placement":"wallp_left","path":null,"adSlot":null,"sizes":{"desktop":[[1,1],[550,1200],[1800,1000]],"mobile":[]},"target":"div-gpt-ad-1359364411177-2","offsets":null,"lazyload":false,"prebidReady":false},{"docComment":null,"block":null,"index":null,"name":"video_1","placement":"video_1","path":null,"adSlot":null,"sizes":null,"target":"div-gpt-ad-1359364411177-16","offsets":null,"lazyload":false,"prebidReady":false},{"docComment":null,"block":null,"index":null,"name":"slider_1","placement":"slider_1","path":null,"adSlot":null,"sizes":{"desktop":[],"mobile":[[320,320]]},"target":"slider_1","offsets":{"desktop":0,"mobile":0},"lazyload":true,"prebidReady":false},{"docComment":null,"block":null,"index":null,"name":"pan_slider_1","placement":"pan_slider_1","path":null,"adSlot":null,"sizes":{"desktop":[[980,120],[980,241],[728,90]],"mobile":[]},"target":"pan_slider_1","offsets":{"desktop":0,"mobile":0},"lazyload":true,"prebidReady":false},{"docComment":null,"block":null,"index":null,"name":"mpu_slider_1","placement":"mpu_slider_1","path":null,"adSlot":null,"sizes":{"desktop":[[300,251],[300,600]],"mobile":[]},"target":"mpu_slider_1","offsets":{"desktop":0,"mobile":0},"lazyload":true,"prebidReady":false},{"docComment":null,"block":null,"index":null,"name":"intext_ad","placement":"intext_ad","path":null,"adSlot":null,"target":"div-gpt-ad-1359364411177-18","sizes":{"desktop":[[980,240],[980,120],[980,300]],"mobile":[[320,320],[300,250]]},"lazyload":true,"offsets":{"desktop":100,"mobile":30},"prebidReady":true,"prebid":{"rubicon":{"desktop":[{"size":"980x240","sizeId":"78","zoneId":"1081976"}],"mobile":[{"size":"320x320","sizeId":"72","zoneId":"1081978"}],"accountId":"13012","siteId":{"desktop":"52684","mobile":"52686"}},"adform":{"desktop":[{"size":"980x240","sizeId":"78","zoneId":"610854"}],"mobile":[{"size":"320x320","sizeId":"72","zoneId":"610855"}]},"appnexus":{"desktop":[{"size":"980x240","sizeId":"78","zoneId":"14175336"}],"mobile":[{"size":"320x320","sizeId":"72","zoneId":"14175337"}]}}}]; !function(){"use strict";window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(function(){window.googletag.pubads().collapseEmptyDivs(),window.googletag.pubads().disableInitialLoad(),window.googletag.pubads().setRequestNonPersonalizedAds(0)});var d=window.googletag;var e=window.aller_dfp,t=e.dfp_id,n=e.dfp_section,l=[640,480],u="/7783179/"+t+"/"+n,i=jQuery(window).width(),c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini|Mobile/i.test(navigator.userAgent),a={isDesktop:l[0]o.top)return t.parent().hide(),void 0,!1}}return!0})(t)&&(void 0,g(t))},3e3):g(t),jQuery(l).unbind("scrollin",e)})}else{if(null==a)return;"wallp_left"===(d=t).placement||"intext_ad"===d.placement?g(t):!1===o&&(t.loaded=!0,g(t))}})})},e.prototype.hasProp=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e}();w.prototype.helpers=p,window.AdsManager=new w;var y=window.AdsManager,v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function m(e,t){function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var b=function(){function e(e){this.targetDevice=a.isDesktop?"desktop":"mobile",this.adUnit=e}return e.prototype.myPrebid=function(){return this.adUnit.prebid[this.name]},e.prototype.hasValidBids=function(){return Array.isArray(this.myPrebid()[this.targetDevice])},e.prototype.mySizesByZoneid=function(){if(!this.hasValidBids())return[];var t=[];return this.myPrebid()[this.targetDevice].forEach(function(e){void 0===t[e.zoneId]&&(t[e.zoneId]=[]),t[e.zoneId].push(e)}),t.filter(function(e){return e})},e}(),A={rubicon:function(n){function e(e){var t=n.call(this,e)||this;return t.name="rubicon",t}return m(e,n),e.prototype.getBids=function(){return null==this.myPrebid()[this.targetDevice][0]?[]:[{bidder:this.name,params:{accountId:this.myPrebid().accountId,siteId:this.myPrebid().siteId[this.targetDevice],zoneId:parseInt(this.myPrebid()[this.targetDevice][0].zoneId)}}]},e}(b),adform:function(n){function e(e){var t=n.call(this,e)||this;return t.name="adform",t}return m(e,n),e.prototype.getBids=function(){var t=this;return void 0,this.mySizesByZoneid().map(function(e){return isNaN(e[0].zoneId)?null:{bidder:t.name,params:{mid:parseInt(e[0].zoneId)}}}).filter(function(e){return null!=e})},e}(b),aol:function(n){function e(e){var t=n.call(this,e)||this;return t.name="aol",t}return m(e,n),e.prototype.getBids=function(){var t=this;return this.mySizesByZoneid().map(function(e){return{bidder:t.name,params:{network:t.myPrebid().network,bidFloor:t.myPrebid().bidFloor,placement:parseInt(e[0].zoneId)}}})},e}(b),appnexus:function(n){function e(e){var t=n.call(this,e)||this;return t.name="appnexus",t}return m(e,n),e.prototype.getBids=function(){var t=this;return this.mySizesByZoneid().map(function(e){return{bidder:t.name,params:{placementId:e[0].zoneId}}})},e}(b)};function _(){if(0!==E){var e=y.AgilisAds.filter(function(e){return!0===e.prebidReady});if(void 0,void 0,void 0,a.isDesktop||a.isHandheld){var t=e.map(function(e){void 0;var t=a.isDesktop?"desktop":"mobile",n={};for(var i in n.code=e.target,n.sizes=e.sizes[t],n.bids=[],e.prebid){var o=new A[i](e);if(o.hasValidBids()){var s=o.getBids(e);n.bids=n.bids.concat(s)}}return void 0,n});void 0,void 0,void 0,S.addAdUnits(t),y.PrebidAdUnits=S.adUnits,S.requestBids({bidsBackHandler:function(){I()}})}}}function I(){S.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}(),S.initAdServerSet=!0)}window.pbjs=window.pbjs||{},window.pbjs.que=window.pbjs.que||[];var S=window.pbjs;window.PREBID_TIMEOUT=window.PREBID_TIMEOUT||0;var E=window.PREBID_TIMEOUT;window.DfpAds.parsedAds=[],window.DfpAds.parsedAds[window.aller_dfp.uniqueid]={native_1:!1,native_2:!1,native_3:!1};var j,z=function(){d.pubads().addEventListener("slotRenderEnded",function(e){var t=window.aller_dfp.unique_id,n=e.slot.getTargetingMap().pos[0],i=window.DfpAds.parsedAds[window.aller_dfp.uniqueid],o="native_1"===n&&!1===i.native_1,s="native_2"===n&&!1===i.native_2,a="native_3"===n&&!1===i.native_3;if(o||s||a){var r=e.slot.getSlotId(),d=r.getInstance(),l=r.getDomId(),u="google_ads_iframe_"+window.AdsManager.adUnitPath+"_"+d,p=document.getElementById(u).name.replace(/([\s\S]*)([\s\S]*)/,"$2");-1([\s\S]*)/,"$1")).indexOf("")?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(){d.pubads().addEventListener("slotRenderEnded",function(e){var t=e.isEmpty,n=e.slot,i=n.getSlotId().getDomId(),o=jQuery("#"+i);!1===t?("wallp_top"===n.getTargeting("pos")&&jQuery("body").addClass("ad-wallpaper"),"mobile_sticky"===n.getTargeting("pos")[0]&&o.parent().show(),1!==e.size[0]&&o.parent().addClass("ad-content")):(o.parent(".ad-collapse").addClass("ad-empty"),o.parent(".ad-collapse").hide())})},B=function(){d.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"))

7 november 2018 - 14:07

Forskning: Slipp sötsuget under din PMS

Det finns vetenskapliga orsaker till att man känner ett sötsug eller en lust att överäta just när man har PMS. Och det finns också sätt att slippa de känslorna.

Plötsligt händer det. Fingrarna och blicken söker febrilt efter något sött, vad som helst. ”Hade jag inte en liten bit choklad i kylen!? Eller en kaka i skafferiet!? NÅGONTING!” Antingen kommer det smygande eller så slår det ner som en blixt, men det betyder alltid samma sak – PMS.

Men varför är det så här? Det känns ju som en bugg i systemet att man ska vilja trycka i sig sötsaker en gång i månaden, ibland under flera dagar. Forskningen har inte alltid valt att fokusera på kvinnors sötsug, men det finns studier som pekar på några troliga orsaker.

Först och främst, att då och då äta väldigt mycket eller frossa i något specifikt som choklad eller pommes frites, är inte onormalt och inte heller farligt. Det är inte förrän det här händer ofta som du kan börja fundera på orsaken och ifall det ligger en ätstörning i botten. PMS-ätande är alltså i regel inget att bekymra sig över. Det finns också studier som visar att de som har oregelbunden mens är mer benägna att bli sötsugna eller hetsäta under sin PMS än de med regelbunden mens.

PMS drabbar omkring 90 procent av alla kvinnor.

Har du koll på när du har PMS?

Motverka sötsuget med minskad stress

Så många som 90 procent av alla kvinnor säger sig uppleva PMS-symptom. Alla känner inte igen det här att vilja äta onödigt mycket, utan vissa känner av det genom att de blir trötta, känner sig uppsvällda, har humörsvängningar, akne, ömma bröst och krångel med magen. I vissa av de här andra symptomen finns faktiskt svaret på varför vi också blir sötsugna.

Dels gör förändringarna i våra hormoner, östrogen och progesteron, dagarna före mens att vi får ett ökat sug efter kolhydrater – varför är fortfarande oklart. Däremot vet man att de extra kolhydraterna underlättar för kroppen att utsöndra må bra-hormonet serotonin vilket kan hjälpa mot de besvärliga humörsvängningarna.

Det finns alltså flera sätt att angripa det här sättet att äta. Dels kan du helt enkelt försöka minska dina humörsvängningar, som är grundorsaken till att du börjar äta mer, genom att sänka dina stressnivåer. Det gör du enklast genom att ta små pauser då du fokuserar på din andning, gå på massage, meditera eller träna.

Slipp suget efter kolhydrater – med kolhydrater

Du kan också förebygga suget efter snabba kolhydrater genom att ladda på med mer komplexa kolhydrater som du hittar i linser, bönor, fullkornsprodukter och grönsaker. Testa också att tugga tuggummi, det kan hjälpa, men om du är en av dem som drabbas av strulig mage vid PMS är det inte en så god idé.

För många hjälper det att äta lite av det de blir sugna på, till exempel en liten bit choklad. Att däremot avstå helt kan göra att suget byggs upp mer och mer. Se också till att äta regelbundet och hoppa inte över måltider de dagarna då du vet att du är extra känslig för sötsug.

Du får helt enkelt prova dig fram och se vad som fungerar bäst för just dig. Kanske är det att bara ge dig hän.

Foto: IBL

Läs mer: Så blir du vän med din PMS – expertens bästa tips 11 situationer du känner igen dig i om du lider av PMS Lindra din PMS – 5 saker du kan äta

Laddar nästa artikel…

Read More




Leave A Comment

More News

ELLE

LAND.se

pretty home blog

Disclaimer and Notice:WorldProNews.com is not the owner of these news or any information published on this site.