// ATM Build: 1xn7puqXX "use strict"; var adnMeta = adnMeta || {}; var adn = adn || {}; adn.calls = adn.calls || []; var pbjs = pbjs || {}; pbjs.que = pbjs.que || []; window.atm = window.atm || {}; atm.queue = atm.queue || []; atm.events = atm.events || {}; atm.data = atm.data || {}; atm.transitData; atm.browser = atm.browser || {}; atm.ads = atm.ads || {}; atm.ortb2 = atm.ortb2 || {}; atm.containers = atm.containers || {}; atm.containerFunctions = atm.containerFunctions || {}; atm.GLOBALS = atm.GLOBALS || {}; atm.haltedTags = atm.haltedTags || []; atm.adUnits = atm.adUnits || []; atm.adUnitAliases = atm.adUnitAliases || []; atm.prebid = atm.prebid || { units: [], mappedUnits: {}, aliases: [], map: {} }; atm.eventList = ['consent.change', 'consent.saved', 'event',]; try { (function (atm, adn, doc, win) { var CONTAINER_ID = 'H8C87EBhP'; atm.containerFunctions[CONTAINER_ID] = atm.containerFunctions[CONTAINER_ID] || {} "use strict"; atm.cookie = (function () { var pairs = document.cookie.split(";"); var cookies = {}; for (var i = 0; i < pairs.length; i++) { var pair = pairs[i].split("="); cookies[(pair[0] + '').trim()] = unescape(pair.slice(1).join('=')); } return cookies; })(); atm.localStorage = (function () { var values = {}; var keys = Object.keys(localStorage); for (var i = 0; i < keys.length; i++) { try { values[keys[i]] = JSON.parse(localStorage[keys[i]]); } catch (e) { values[keys[i]] = localStorage[keys[i]]; } } return values; })(); atm.browser = window.location; atm.browser.consent = (localStorage.getItem('adn-consent') || localStorage.getItem('atm-consent')) ? JSON.parse(localStorage.getItem('adn-consent') || localStorage.getItem('atm-consent')) : { time: new Date().getTime(), tc: false, given: false, purposes: [], specialFeatures: [], vendors: [], legIntPurposes: [], adnuntiusPurposes: [], stack: false, }; atm.browser.consent.timeSinceConsent = new Date().getTime() - atm.browser.consent.time; atm.page = atm.page || {}; atm.page.meta = (function () { var metaObject = {}; var metaData = document.getElementsByTagName("meta"); var metaDataArray = [].slice.call(metaData); metaDataArray.forEach(meta => { var name = meta.name || meta.getAttribute('property') || meta.getAttribute('http-equiv'); if (name) metaObject[name] = meta.content; }); return metaObject; })(); atm.containers[CONTAINER_ID] = { "id": "H8C87EBhP", "data": { "geo": false, "gdpr": false, "cssAdd": true, "position": "overlay", "cssOverride": true, "gdprChoiceButton": true }, "prebid": { "loadPrebidJs": false, "units": {}, "map": {}, "analytics": false, "requester": { "system": "none" }, "aliases": [] }, "tagType": "legacy", "cmp": false, "templates": false, "variables": [], "variableMap": {}, "tags": { "wCWALOWjf3": { "purposes": [], "type": "javascriptCustom", "content": { "script": "" } } } } try { } catch (e) { throw new Error('Custom variables are not valid') } atm.containers[CONTAINER_ID].tags["wCWALOWjf3"].content.script = function(){ window.conceptConfig = {"fetchMarginPercent":500,"renderMarginPercent":200,"mobileScaling":2,"settingsProfiles":[],"bidderTargeting":[],"mobileMultiplier":2,"prebidKeyMap":[],"targetingToDMP":[],"refreshInview":0.25,"prebidTimeOut":1000,"s2sTimeout":500,"page_url":"https://www.madling.dk/","reportTrackingAs":"madling.dk","prebidRef":"https://cncptx.com/prebid_builds/4f67fd71-eea3-5023-bb26-fdd73f82f012.js","adUnits":[{"path":"/5706918,22579131874/madling.dk_dsk_rec_side4","divIdOnPage":"cncpt-side4","targeting":{},"prebidSizes":[[320,320]],"size":[[[1025,0],[[300,600]]]],"rootMargin":0,"refresh":30000,"id":"jwc47o","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"357688","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1394385","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"placementId":"11717562"},"bidder":"appnexus"},{"params":{"placementId":29840397},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420166"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_rec_side3","divIdOnPage":"cncpt-side3","targeting":{},"prebidSizes":[[320,320]],"size":[[[1025,0],[[300,600]]]],"rootMargin":0,"refresh":30000,"id":"9pgh6u","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"357688","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1394385","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"placementId":"11717562"},"bidder":"appnexus"},{"params":{"placementId":29840398},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420165\t"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_rec_side2","divIdOnPage":"cncpt-side2","targeting":{},"prebidSizes":[[320,320]],"size":[[[1025,0],[[300,250]]]],"rootMargin":0,"refresh":30000,"id":"qdzon5","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"357688","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1394385","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"placementId":"11717562"},"bidder":"appnexus"},{"params":{"placementId":29840399},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420164"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_rec_side1","divIdOnPage":"cncpt-side1","targeting":{},"prebidSizes":[[320,320]],"size":[[[1025,0],[[300,250]]]],"rootMargin":0,"refresh":30000,"id":"e4hup7","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"357688","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1394385","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"placementId":"11717562"},"bidder":"appnexus"},{"params":{"placementId":29840400},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420163"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_rec_inconcent1","divIdOnPage":"cncpt-inconcent1","targeting":{},"prebidSizes":[[320,320]],"size":[[[1025,0],[[300,250]]]],"rootMargin":0,"refresh":30000,"id":"ewsz6m","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"357688","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1394385","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"placementId":"11717562"},"bidder":"appnexus"},{"params":{"placementId":29840401},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420145"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_rec_inconcent2","divIdOnPage":"cncpt-inconcent2","targeting":{},"prebidSizes":[[320,320]],"size":[[[1025,0],[[300,250]]]],"rootMargin":0,"refresh":30000,"id":"sfzg4w","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"357688","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1394385","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"placementId":"11717562"},"bidder":"appnexus"},{"params":{"placementId":29840402},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420146"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_mob1_incontent","divIdOnPage":"cncpt-incontent_mob1","targeting":{},"prebidSizes":[[320,320]],"size":[[[1025,0],[]],[[0,0],[[320,320],[320,160],[300,250]]]],"rootMargin":0,"refresh":30000,"id":"v1mab","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"357688","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1394385","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"placementId":"11717562"},"bidder":"appnexus"},{"params":{"mid":"1574555","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29840403},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420147"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_top","targeting":{"format":"topscroll_dsk,topscroll_exp_dsk"},"divIdOnPage":"cncpt-dsk_top","prebidSizes":[[1,2]],"size":[[[1025,0],[[1,2]]],[[0,0],[]]],"rootMargin":0,"refresh":0,"id":"def-dsk_top","prebidAllowNative":true,"excluserTimeout":200,"prebidBid":[{"params":{"placementId":29840404},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198556"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420139"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_mob_top","targeting":{"format":"topscroll_mob,topscroll_exp_mob"},"divIdOnPage":"cncpt-mob_top","prebidSizes":[[1,2],[300,220]],"size":[[[1025,0],[]],[[0,0],[[1,2],[300,220]]]],"rootMargin":0,"refresh":0,"id":"def-mob_top","prebidAllowNative":true,"excluserTimeout":200,"prebidBid":[{"params":{"placementId":"24074936"},"bidder":"mss_mob_top"},{"params":{"placementId":29840405},"bidder":"appnexus","disabled":false},{"params":{"mid":1772366,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1959969","adxDomain":" adx.adform.net"},"bidder":"dentsu"},{"params":{"placementId":"34198557"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420149"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_lb1","targeting":{"format":"topscroll_dsk"},"divIdOnPage":"cncpt-lb1","prebidSizes":[[930,180],[930,600]],"size":[[[928,590],[[930,180],[930,600]]]],"cookieLessPath":"00000000000b7f20","rootMargin":0,"refresh":0,"id":"def-lb1","prebidAllowNative":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"817102","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817126","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"817115","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394375","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074932"},"bidder":"mss_dis"},{"params":{"placementId":"24074950"},"bidder":"mss_skn"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1689302"},"bidder":"rubicon"},{"params":{"placementId":"19147977"},"bidder":"appnexus"},{"params":{"mid":"1574527","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29840406},"bidder":"appnexus","disabled":false},{"params":{"mid":"1959968","adxDomain":" adx.adform.net"},"bidder":"dentsu"},{"params":{"placementId":"34198553"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420148"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_rec1","targeting":{},"divIdOnPage":"cncpt-rec1","prebidSizes":[[300,250]],"size":[[[928,590],[[300,250]]]],"rootMargin":0,"refresh":30000,"id":"def-rec1","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"357925","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1394377","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":"11717566"},"bidder":"appnexus"},{"params":{"mid":"1574536","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29840407},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420159"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_rec2","divIdOnPage":"cncpt-rec2","targeting":{},"prebidSizes":[[300,250]],"size":[[[928,590],[[300,250]]]],"rootMargin":0,"refresh":30000,"id":"def-rec2","lazyload":true,"prebidAllowNative":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"357928","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1394378","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":"11717564"},"bidder":"appnexus"},{"params":{"mid":"1574534","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29840408},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198551"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420160"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_rec3","divIdOnPage":"cncpt-rec3","targeting":{},"prebidSizes":[[300,250]],"size":[[[928,590],[[300,250]]]],"rootMargin":0,"refresh":30000,"id":"def-rec3","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"357930","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1394379","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"placementId":"11717565"},"bidder":"appnexus"},{"params":{"mid":"1574537","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29840409},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420161"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling_mob1","divIdOnPage":"cncpt-mob1","targeting":{"format":"interscroll_mob"},"prebidSizes":[[320,320],[300,250],[320,160],[300,240]],"size":[[[927,0],[]],[[0,0],[[320,320],[300,250],[320,160],[300,240]]]],"cookieLessPath":"00000000000b7f26","rootMargin":0,"refresh":30000,"id":"def-mob1","lazyload":false,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"357670","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817125","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"817114","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394384","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1689322"},"bidder":"rubicon"},{"params":{"placementId":"11717561"},"bidder":"appnexus"},{"params":{"placementId":"19147985"},"bidder":"appnexus"},{"params":{"mid":"1574555","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"18019220"},"bidder":"msupply"},{"params":{"placementId":29840410},"bidder":"appnexus","disabled":false},{"params":{"mid":1754595,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1959967","adxDomain":" adx.adform.net"},"bidder":"dentsu"},{"params":{"publisherId":0,"adSlot":"6420150"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling_mob2","divIdOnPage":"cncpt-mob2","targeting":{"format":"interscroll_mob"},"prebidSizes":[[320,320],[320,160],[300,240]],"size":[[[927,0],[]],[[0,0],[[320,320],[320,160],[300,240]]]],"rootMargin":0,"refresh":30000,"id":"def-mob2","lazyload":true,"prebidAllowNative":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"357688","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"1394385","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"placementId":"11717562"},"bidder":"appnexus"},{"params":{"mid":"1574543","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"18019222"},"bidder":"msupply"},{"params":{"placementId":29840411},"bidder":"appnexus","disabled":false},{"params":{"mid":1754597,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1959967","adxDomain":" adx.adform.net"},"bidder":"dentsu"},{"params":{"placementId":"34198549"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420151"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_forside_mob1","divIdOnPage":"cncpt-forside_mob1","targeting":{"format":"interscroll_mob"},"prebidSizes":[[320,320],[300,250],[320,160],[300,240]],"size":[[[927,0],[]],[[0,0],[[320,320],[300,250],[320,160],[300,240]]]],"rootMargin":0,"refresh":30000,"id":"def-forside_mob1","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1394384","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"mid":"1574555","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"18019219"},"bidder":"msupply"},{"params":{"placementId":29840412},"bidder":"appnexus","disabled":false},{"params":{"mid":1754596,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1959967","adxDomain":" adx.adform.net"},"bidder":"dentsu"},{"params":{"publisherId":0,"adSlot":"6420140\t"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_forside_mob2","divIdOnPage":"cncpt-forside_mob2","targeting":{"format":"interscroll_mob"},"prebidSizes":[[320,320],[300,250],[320,160],[300,240]],"size":[[[927,0],[]],[[0,0],[[320,320],[300,250],[320,160],[300,240]]]],"rootMargin":0,"refresh":30000,"id":"def-forside_mob2","lazyload":true,"prebidAllowNative":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1394385","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"mid":"1574543","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29840413},"bidder":"appnexus","disabled":false},{"params":{"mid":1754599,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1959967","adxDomain":" adx.adform.net"},"bidder":"dentsu"},{"params":{"placementId":"34198549"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420141"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_forside_rec1","targeting":{},"divIdOnPage":"cncpt-forside_rec1","prebidSizes":[[300,250]],"size":[[[768,0],[[300,250]]]],"rootMargin":0,"refresh":30000,"id":"def-forside_rec1","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1394377","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"mid":"1574536","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29840414},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420142"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_forside_rec2","divIdOnPage":"cncpt-forside_rec2","targeting":{},"prebidSizes":[[300,250]],"size":[[[928,0],[[300,250]]]],"rootMargin":0,"refresh":30000,"id":"def-forside_rec2","lazyload":true,"prebidAllowNative":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"1394378","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"mid":"1574534","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29840415},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198551"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420143"},"bidder":"pubmatic"}]},{"refresh":30000,"excluserTimeout":200,"path":"/5706918,22579131874/madling.dk_opskrift_mob1","divIdOnPage":"cncpt-opskrift_mob1","targeting":{"format":"interscroll_mob,double_interscroll_mob"},"prebidSizes":[[320,320],[300,250],[320,160],[300,240],[300,210]],"size":[[[927,0],[]],[[0,0],[[320,320],[300,250],[320,160],[300,240],[300,210]]]],"cookieLessPath":"00000000000b7f26","rootMargin":0,"id":"def-opskrift_mob1","lazyload":true,"prebidAllowNative":true,"prebidBid":[{"params":{"mid":"817113","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817134","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"817123","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394384","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1689324"},"bidder":"rubicon"},{"params":{"placementId":"19147986"},"bidder":"appnexus"},{"params":{"mid":"1574555","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"18019221"},"bidder":"msupply"},{"params":{"placementId":29840416},"bidder":"appnexus","disabled":false},{"params":{"mid":1754598,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":1772365,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1959967","adxDomain":" adx.adform.net"},"bidder":"dentsu"},{"params":{"placementId":"34160410"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420152\t"},"bidder":"pubmatic"}]},{"refresh":30000,"excluserTimeout":200,"path":"/5706918,22579131874/madling.dk_opskrift_mob2","divIdOnPage":"cncpt-opskrift_mob2","targeting":{"format":"interscroll_mob,expander"},"prebidSizes":[[320,320],[300,250],[320,160],[300,240]],"size":[[[927,0],[]],[[0,0],[[320,320],[300,250],[320,160],[300,240]]]],"cookieLessPath":"00000000000b7f27","rootMargin":0,"id":"def-opskrift_mob2","lazyload":true,"prebidAllowNative":true,"prebidBid":[{"params":{"mid":"817112","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817133","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"817122","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394385","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1689326"},"bidder":"rubicon"},{"params":{"placementId":"19147987"},"bidder":"appnexus"},{"params":{"mid":"1574543","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"19670999"},"bidder":"msupply"},{"params":{"placementId":29840417},"bidder":"appnexus","disabled":false},{"params":{"mid":1754600,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1959967","adxDomain":" adx.adform.net"},"bidder":"dentsu"},{"params":{"placementId":"34198549"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420153"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_opskrift_rec1","targeting":{"format":"expander"},"divIdOnPage":"cncpt-opskrift_rec1","prebidSizes":[[300,250]],"size":[[[927,0],[[300,250]]]],"cookieLessPath":"00000000000b7f22","rootMargin":0,"refresh":30000,"id":"def-opskrift_rec1","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"817108","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817132","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"817121","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394377","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1689308"},"bidder":"rubicon"},{"params":{"placementId":"19147981"},"bidder":"appnexus"},{"params":{"mid":"1574536","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"18005230"},"bidder":"msupply"},{"params":{"placementId":29840418},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34160411"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420154"},"bidder":"pubmatic"}]},{"refresh":30000,"excluserTimeout":200,"path":"/5706918,22579131874/madling.dk_dsk_opskrift_rec2","targeting":{"format":"expander"},"divIdOnPage":"cncpt-opskrift_rec2","prebidSizes":[[300,250]],"size":[[[927,0],[[300,250]]]],"cookieLessPath":"00000000000b7f23","rootMargin":0,"id":"def-opskrift_rec2","lazyload":true,"prebidAllowNative":true,"prebidBid":[{"params":{"mid":"817107","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817131","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"817120","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394378","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1689310"},"bidder":"rubicon"},{"params":{"placementId":"19147982"},"bidder":"appnexus"},{"params":{"mid":"1574534","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29840419},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198551"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420155"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_outstream","targeting":{},"divIdOnPage":"cncpt-outstream","prebidSizes":[[1,1]],"size":[[[0,0],[[1,1]]]],"refresh":0,"id":"def-outstream","lazyload":true,"prebidBid":[{"params":{"publisherId":0,"adSlot":"6420158"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_sidebar_rec1","targeting":{},"divIdOnPage":"cncpt-sidebar_rec1","prebidSizes":[[300,250]],"size":[[[927,0],[[300,250]]]],"cookieLessPath":"00000000000b7f22","rootMargin":0,"refresh":30000,"id":"def-sidebar_rec1","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"817106","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817130","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"817119","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394377","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1689316"},"bidder":"rubicon"},{"params":{"placementId":"19147983"},"bidder":"appnexus"},{"params":{"mid":"1574536","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29840420},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420171"},"bidder":"pubmatic"}]},{"refresh":30000,"excluserTimeout":200,"path":"/5706918,22579131874/madling.dk_dsk_sidebar_rec2","targeting":{},"divIdOnPage":"cncpt-sidebar_rec2","prebidSizes":[[300,250]],"size":[[[927,0],[[300,250]]]],"cookieLessPath":"00000000000b7f23","rootMargin":0,"id":"def-sidebar_rec2","lazyload":true,"prebidAllowNative":true,"prebidBid":[{"params":{"mid":"0","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817105","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817129","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"817118","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394378","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1689318"},"bidder":"rubicon"},{"params":{"placementId":"19147984"},"bidder":"appnexus"},{"params":{"mid":"1574534","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":29840421},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198551"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420172"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_sidebar_rec3","divIdOnPage":"cncpt-dsk_sidebar_rec3","targeting":{},"prebidSizes":[[300,250]],"size":[[[927,0],[[300,250]]]],"rootMargin":0,"refresh":30000,"id":"def-dsk_sidebar_rec3","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"816242","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"816251","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"816246","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394379","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1686208"},"bidder":"rubicon"},{"params":{"placementId":"19132272"},"bidder":"appnexus"},{"params":{"mid":"1574537","adxDomain":" adx.adform.net"},"bidder":"omgz-int"},{"params":{"placementId":"19671045"},"bidder":"msupply"},{"params":{"placementId":29840422},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420137"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_dsk_sidebar_rec4","targeting":{},"divIdOnPage":"cncpt-dsk_sidebar_rec4","prebidSizes":[[300,250]],"size":[[[927,0],[[300,250]]]],"rootMargin":0,"refresh":30000,"id":"def-dsk_sidebar_rec4","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"816243","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"816252","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"816247","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"placementId":"24074930"},"bidder":"mss_dis"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1686216"},"bidder":"rubicon"},{"params":{"placementId":"19132276"},"bidder":"appnexus"},{"params":{"placementId":"19670970"},"bidder":"msupply"},{"params":{"placementId":29840423},"bidder":"appnexus","disabled":false},{"params":{"publisherId":0,"adSlot":"6420138"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_sidebar_mob3","targeting":{"format":"interscroll_mob"},"divIdOnPage":"cncpt-sidebar_mob3","prebidSizes":[[320,320],[320,160],[300,250],[300,240]],"size":[[[927,0],[]],[[0,0],[[320,320],[320,160],[300,250],[300,240]]]],"rootMargin":0,"refresh":30000,"id":"def-sidebar_mob3","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"816244","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817111","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"816253","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"816248","adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":"1394386","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1686230"},"bidder":"rubicon"},{"params":{"placementId":"19132293"},"bidder":"appnexus"},{"params":{"mid":"1574541","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"19671000"},"bidder":"msupply"},{"params":{"placementId":29840424},"bidder":"appnexus","disabled":false},{"params":{"mid":1754593,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1959967","adxDomain":" adx.adform.net"},"bidder":"dentsu"},{"params":{"publisherId":0,"adSlot":"6420167"},"bidder":"pubmatic"}]},{"path":"/5706918,22579131874/madling.dk_sidebar_mob4","targeting":{"format":"interscroll_mob"},"divIdOnPage":"cncpt-sidebar_mob4","prebidSizes":[[320,320],[320,160],[300,250],[300,240]],"size":[[[927,0],[]],[[0,0],[[320,320],[320,160],[300,250],[300,240]]]],"rootMargin":0,"refresh":30000,"id":"def-sidebar_mob4","lazyload":true,"excluserTimeout":200,"prebidBid":[{"params":{"mid":"816245","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817110","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"816254","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"816249","adxDomain":" adx.adform.net"},"bidder":"adf3"},{"params":{"mid":"1394387","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074933"},"bidder":"mss_dis"},{"params":{"placementId":"24074937"},"bidder":"mss_mob_int"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1686240"},"bidder":"rubicon"},{"params":{"placementId":"19132295"},"bidder":"appnexus"},{"params":{"mid":"1574542","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"19671001"},"bidder":"msupply"},{"params":{"placementId":29840425},"bidder":"appnexus","disabled":false},{"params":{"mid":1754594,"adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1959967","adxDomain":" adx.adform.net"},"bidder":"dentsu"},{"params":{"publisherId":0,"adSlot":"6420169"},"bidder":"pubmatic"}]},{"refresh":30000,"dependencies":["cncpt-lb1"],"excluserTimeout":200,"path":"/5706918,22579131874/madling.dk_dsk_sky1","targeting":{},"divIdOnPage":"cncpt-sky1","prebidSizes":[[160,600]],"size":[[[1025,0],[[160,600],[300,600]]]],"cookieLessPath":"00000000000b7f24","rootMargin":0,"id":"def-sky1","prebidAllowNative":true,"prebidBid":[{"params":{"mid":"817103","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817127","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"817116","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394380","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074931"},"bidder":"mss_dis"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1689304"},"bidder":"rubicon"},{"params":{"placementId":"19147978"},"bidder":"appnexus"},{"params":{"mid":"1574554","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"18004443"},"bidder":"msupply"},{"params":{"placementId":29840426},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198554"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420174"},"bidder":"pubmatic"}]},{"refresh":30000,"excluserTimeout":200,"dependencies":["cncpt-lb1"],"path":"/5706918,22579131874/madling.dk_dsk_sky2","targeting":{},"divIdOnPage":"cncpt-sky2","prebidSizes":[[160,600]],"size":[[[1025,0],[[160,600],[300,600]]]],"cookieLessPath":"00000000000b7f25","rootMargin":0,"id":"def-sky2","prebidAllowNative":true,"prebidBid":[{"params":{"mid":"817104","adxDomain":" adx.adform.net"},"bidder":"adf"},{"params":{"mid":"817128","adxDomain":" adx.adform.net"},"bidder":"adf1"},{"params":{"mid":"817117","adxDomain":" adx.adform.net"},"bidder":"adf2"},{"params":{"mid":"1394381","adxDomain":" adx.adform.net"},"bidder":"mpm"},{"params":{"placementId":"24074931"},"bidder":"mss_dis"},{"params":{"accountId":"17246","siteId":"261368","zoneId":"1689306"},"bidder":"rubicon"},{"params":{"placementId":"19147979"},"bidder":"appnexus"},{"params":{"mid":"1574540","adxDomain":" adx.adform.net"},"bidder":"admium"},{"params":{"placementId":"18004444"},"bidder":"msupply"},{"params":{"placementId":29840427},"bidder":"appnexus","disabled":false},{"params":{"placementId":"34198555"},"bidder":"ttw"},{"params":{"publisherId":0,"adSlot":"6420175"},"bidder":"pubmatic"}]}],"videoAdunits":[],"sid":"C-00311","readpeaks":[{"readpeakId":"mcn_iframe_aee9dc53172cf015-1","style":"display: none; width: 100%; max-width: 900px; height: 500px; border: none;","divIdOnPage":"cncpt-booster","id":"xqezehd","src":"https://app.readpeak.com/ads/get/?l=aee9dc53172cf015&ads=6"}],"customTargeting":{"market":"dk","categories":"food,women","domain":"madling.dk"},"bidderSettings":[{"alias":"msupply","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"mss_mob_int","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"admium","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"adf2","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"omgz-int","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"adf3","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"mss_skn","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"mpm","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"mss_mob_top","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"adf1","bidCpmAdjustment":1,"bidder":"adform"},{"alias":"mss_dis","bidCpmAdjustment":1,"bidder":"appnexus"},{"alias":"adf","bidCpmAdjustment":1,"bidder":"adform"}],"strossles":[],"checkForConsent":true,"usePrebid":true,"disableAutoCenterCLAds":null,"RMBRef":"https://macro.adnami.io/macro/spec/adsm.macro.158124a3-e35b-4d75-be17-95f7bcbc90c6.js","prebidAliases":[["msupply","appnexus","32"],["mss_mob_int","appnexus","32"],["admium","adform","50"],["adf2","adform","50"],["omgz-int","adform","50"],["adf3","adform","50"],["mss_skn","appnexus","32"],["dentsu","adform","50"],["mpm","adform","50"],["ttw","appnexus","32"],["mss_mob_top","appnexus","32"],["adf1","adform","50"],["mss_dis","appnexus","32"],["adf","adform","50"]],"deployId":"m42h3my2hudka5ysb6t","supplyPartners":[{"gvlid":null,"bidder":"rubicon","asi":"rubiconproject.com","mainAdapter":true,"s2sApproved":true,"name":"rubicon","bidCpmAdjustment":"1","sid":"17246"},{"gvlid":null,"bidder":"pubmatic","mainAdapter":true,"s2sApproved":true,"name":"pubmatic","bidCpmAdjustment":"1"},{"gvlid":null,"bidder":"appnexus","mainAdapter":true,"s2sApproved":true,"name":"appnexus","bidCpmAdjustment":"1"},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"0.85","alias":"msupply"},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"1","alias":"mss_mob_int"},{"gvlid":"50","bidder":"adform","bidCpmAdjustment":"1","alias":"admium"},{"gvlid":"50","bidder":"adform","bidCpmAdjustment":"1","alias":"adf2"},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"638","alias":"omgz-int","extraNodes":[{"asi":"omnicommediagroup.com","sid":"S005"}]},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"9","alias":"adf3"},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"1","alias":"mss_skn"},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"2714","alias":"dentsu","extraNodes":[{"asi":"dentsu.dk","sid":"D001"}]},{"gvlid":"50","bidder":"adform","asi":"adform.com","bidCpmAdjustment":"1","sid":"2606","alias":"mpm","extraNodes":[{"asi":"ipgmediabrands.dk","sid":"D002"}]},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"6.66","alias":"ttw"},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"1","alias":"mss_mob_top"},{"gvlid":"50","bidder":"adform","bidCpmAdjustment":"1","alias":"adf1"},{"gvlid":"32","bidder":"appnexus","bidCpmAdjustment":"1","alias":"mss_dis"},{"gvlid":"50","bidder":"adform","bidCpmAdjustment":"1","alias":"adf"}],"ABTesters":[],"implementationType":"NORMAL","seemlessTemplateRef":"https://advertising-cdn.dpgmedia.cloud/native-templates/prod/madling/templates.js","haltInit":0,"cookielessAdserver":"Adnuntius","rootMargin":500,"failsafe_timeout":0,"legitimateStepAdserver":"Adnuntius"}; "use strict";(()=>{var Tt=Object.defineProperty;var dr=Object.getOwnPropertyDescriptor;var pr=Object.getOwnPropertyNames;var ur=Object.prototype.hasOwnProperty;var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var gr=(e,t)=>{for(var o in t)Tt(e,o,{get:t[o],enumerable:!0})},fr=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of pr(t))!ur.call(e,i)&&i!==o&&Tt(e,i,{get:()=>t[i],enumerable:!(n=dr(t,i))||n.enumerable});return e};var _e=e=>fr(Tt({},"__esModule",{value:!0}),e);var E,Te=T(()=>{"use strict";E={MACRO_UNLOAD:"ADSM_MACRO_UNLOAD",SLOT_LOADED:"SLOT_LOADED",SLOT_REQUESTED:"SLOT_REQUESTED",SKIN_INIT:"ADSM_RMB_SKIN_INIT",SIDESKIN_INIT:"ADSM_RMB_SIDESKIN_INIT",DESKTOP_TOPSCROLL:"ADSM_RMB_HTML_TOPSCROLL_DESKTOP_INIT",GET_CONCEPTADS:"GET_CONCEPTADS",GET_VASTTAG:"GET_VASTTAG",GET_PREBIDVASTTAG:"GET_PREBIDVASTTAG"}});function C(e){eo&&s(e,"error")}var Zt,mr,hr,br,Ce,eo,s,to,re,oo,no,F,R,ve,V,ke,y=T(()=>{"use strict";Zt={pbjs:"#3B88C3;",gpt:"#1E8E3E;",adnuntius:"#0e9bd6;",emitter:"#f4b400;",video:"#ff0046;",conceptads:"#283593;",readpeak:"#13759a;",strossle:"#191919;",function:"#9AE19D;",test:"#6eb77f;",error:"#ff3333;",warning:"#ffcc00;"},mr=e=>Zt[e]||"#d24f54;",hr=performance.now(),br=function(e,t){let o=Array.from(t),n=mr(e);o.unshift("font-family: sans-serif; font-weight: bold; color: #FFF; padding: 1px 0; background: "+n+" padding: 1px 3px; margin: 2px 0; border-radius: 3px;");let r=(performance.now()-hr)/1e3;return o.unshift("%c"+e.toUpperCase()+` (+ ${r.toFixed(2)} s) `),o},Ce=function(e){let t="[\\?&]"+e+"=([^&#]*)",n=new RegExp(t).exec(window.location.search);return n===null?"":decodeURIComponent(n[1].replace(/\+/g," "))},eo=Ce("concept_debug")==="true"||globalThis.concept_debug,s=(e,t="conceptads",o="log")=>(Object.keys(Zt).includes(t)||(t="conceptsads"),eo&&console[o].apply(void 0,br(t,[e])));to=()=>{let e=performance.now();globalThis.concept.initialCalled=!0;let t=globalThis.concept?.initTime?(e-globalThis.concept.initTime)/1e3:0;globalThis?.concept?.eventLog&&globalThis.concept.eventLog.push({msg:"injectAds executing.....",secondCount:t,list:"core"})},re=(e,t)=>{let o=performance.now(),n=globalThis.concept?.initTime?(o-globalThis.concept.initTime)/1e3:0;globalThis?.concept?.eventLog&&globalThis.concept.eventLog.push({msg:t,secondCount:n,list:e})},oo=e=>re("Function queued",e),no=e=>re("Function dequeued",e),F=e=>re("Timing point",e),R=e=>re("Event recieved",e),ve=e=>re("Ad loaded",e),V=e=>re("Request sent",e),ke=e=>re("Unfilled recieved",e)});var x,se=T(()=>{"use strict";x={LEGITIMATE_INTERREST:"LEGITIMATE_INTERREST",UNKNOWN:"UNKNOWN",FULL_CONSENT:"FULL_CONSENT",CONSENT_REJECT:"CONSENT_REJECT_AND_NO_LEGITIMATE",NO_TCF_API:"NO_TCF_API",NOT_SET:"NOT_SET"}});var io,ro=T(()=>{"use strict";io=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}});var ae,je,so,d,f,O,ao,Ue,lo,$e,Fe,S=T(()=>{"use strict";N();y();ae=({adunitId:e})=>{let t=[...globalThis.concept.updateWhenResolved.keys()],o=[...globalThis.concept.updateIfEmpty.keys()];return[...t,...o].filter(i=>O(i)).includes(e)},je=()=>globalThis.conceptConfig,so=()=>globalThis.concept,d=e=>globalThis.conceptConfig[e],f=e=>globalThis.concept[e],O=e=>globalThis.concept.adUnits.get(e),ao=e=>{e.lazyload=!1,s("Removing lazyload for SRA request"),globalThis.concept.initialSRAList.push({displayRequested:!1,divIdOnPage:e.divIdOnPage})},Ue=e=>globalThis.concept.consentQueue.push(e),lo=()=>{let t=Me()?"mobile":"desktop";globalThis.concept.device=t},$e=(e,t)=>globalThis.conceptConfig[e]=t,Fe=()=>({changeCorrelator:d("dontChangeCorrelator")!==!0})});var Tr,Cr,de,Be=T(()=>{"use strict";S();Tr=300,Cr=e=>{let t=f("device")==="mobile",o=f("adUnits"),n=d("mobileMultiplier")||2,i=d("rootMargin"),r=d("globalRootMarginPercent"),a=t?n:1,l=o?o.get(e):null,g=((l&&l.rootMargin?l.rootMargin:i)||Tr)*a+"px";if(r){let u=r*a;g=`${u}% 0% ${u}% 0%`}return g},de=e=>({root:null,rootMargin:Cr(e),threshold:d("threshold")||0})});var Ct,co,po=T(()=>{"use strict";S();y();Ct={criteo:{transformer:e=>{let t={};return t.networkId=parseInt(e.networkId),e.zoneId&&(t.zoneId=parseInt(e.zoneId)),e.publisherSubId&&(t.publisherSubId=`${e.publisherSubId}`),t}},grid:{transformer:e=>({uid:parseInt(e.uid)})},adnuntius:{transformer:e=>({auId:e.auId.trim(),bidType:`${e.bidType||"grossBid"}`})},adform:{transformer:e=>({mid:parseInt(e.mid),adxDomain:`${e.adxDomain||"adx.adform.net"}`.trim()})},pubmatic:{transformer:e=>({adSlot:`${e.adSlot}`,publisherId:`${e.publisherId}`})},appnexus:{transformer:(e,t)=>{let o=d("mSupplySpecialTargeting"),n=d("appnexusAdunitKeyWordsAllowed")||[],i=f("targeting"),r={placementId:`${e.placementId}`};return o&&n.includes(t)&&(s("Setting keyswords for adunit","pbjs"),o.forEach(a=>{i[a.value]&&(r.keywords||(r.keywords={}),r.keywords[a.key]=i[a.value])})),r}}},co=e=>{let{bidder:t,params:o,disabled:n}=e,r=(globalThis?.conceptConfig?.prebidAliases||[]).find(c=>c[0]===t),a=r&&r[1];if(Ct[t]||a&&Ct[r[1]]){let c=t;r&&(c=r[1]);let p={bidder:t,params:Ct[c].transformer(o,t)};return n&&(p.disabled=n),p}return e}});var vr,uo,go,fo=T(()=>{"use strict";({injectCustomAsyncScript:vr}=(_(),_e(Ie))),uo=()=>globalThis.conceptConfig.activatePubx,go=e=>{vr(e,"https://cdn.pbxai.com/029f2f07-0154-4544-b38d-26667fe7fd22.js"),e("PubX Injected")}});var mo,ho,bo,To,Co=T(()=>{"use strict";S();mo=()=>{let e=d("activateS2s"),t=d("prebidTimeOut")||1e3,o=d("adServerCurrency")||"DKK",n=d("id5PartnerId")||461,i=d("enableTIDs")||!0,r=d("disablePrebidConsentManagement"),a=d("disablePaapi")||!1,l=d("disableUserSync"),c=d("prebidPriceBuckets"),p=[{precision:2,max:20,increment:.2},{precision:2,max:100,increment:1},{precision:2,max:400,increment:10}],g=c&&c.length>0?c:p,u={bidderTimeout:t,enableTIDs:i,currency:{adServerCurrency:o},allowActivities:{transmitEids:{rules:[{allow:!0}]},fetchBids:{rules:[{allow:!0}]}},targetingControls:{addTargetingKeys:["SOURCE"]},priceGranularity:{buckets:g},paapi:{enabled:!a,defaultForSlots:1}};if(r||(u.consentManagement={gdpr:{cmpApi:"iab",timeout:8e3,defaultGdprScope:!0},usp:{cmpApi:"iab",timeout:100}}),l||(u.userSync={filterSettings:{iframe:{bidders:"*",filter:"include"}},auctionDelay:0,userIds:[{name:"sharedId",storage:{type:"cookie",name:"_pubcid",expires:365},params:{pixelUrl:"/pubcidcookie"}},{name:"criteo"},{name:"id5id",params:{partner:typeof n=="string"?parseInt(n):n},storage:{type:"html5",name:"id5id",expires:90,refreshInSeconds:8*3600}}]}),e){let v=d("prebidAliases")||[],I=d("s2sBidders")||[],A=d("s2sAccountName")||"cncpt",h=d("s2sTimeout")||500;u.s2sConfig={accountId:A,adapter:"prebidServer",enabled:!0,bidders:[...I],cookieSet:!0,endpoint:"https://s2s.cncpt-central.com/openrtb2/auction",syncEndpoint:"https://s2s.cncpt-central.com/cookie_sync",timeout:h,extPrebid:{aliases:Object.fromEntries(v.filter(w=>I.includes(w[0]))||[]),targeting:{includebidderkeys:!0}}}}return(d("disablePrebidSync")||!1)&&(u.syncEnabled=!1),(d("disablePrebidDevice")||!1)&&(u.deviceAccess=!1),u},ho=e=>{let{asi:t,sid:o,extraNodes:n,alias:i,bidder:r}=e,a={bidders:[i||r],config:{schain:{validation:"strict",config:{ver:"1.0",complete:1,nodes:[]}}}};return t&&o&&a.config.schain.config.nodes.push({asi:t,sid:o,hp:1}),n&&n.forEach(l=>{a.config.schain.config.nodes.push({asi:l.asi,sid:l.sid,hp:1})}),a},bo=()=>{let e=d("supplyPartners")||[];if(!e)return;let t={standard:{storageAllowed:!0}};e.forEach(o=>{let{bidCpmAdjustment:n,alias:i}=o,r=parseFloat(n);r!==1&&i&&(t[i]?t[i].bidCpmAdjustment=l=>l*r:t[i]={bidCpmAdjustment:l=>l*r})}),pbjs.bidderSettings=t},To=()=>{let e=d("prebidKeyMap")||[],t={},o=[{keyName:"concept_domain",value:"domain"},{keyName:"concept_path1",value:"path1"},{keyName:"concept_path2",value:"path2"},{keyName:"concept_IAB1",value:"IAB1"},{keyName:"concept_IAB2",value:"IAB2"},{keyName:"concept_contxt",value:"contxt"},...e],n="prebidkey",i=f("targeting");o.forEach(l=>{i[l.value]&&(t[l.keyName]=i[l.value])});let r=i.UrlQuery.find(l=>l.includes(n));if(r){let[l,c]=r.split(":");t[l]=c}let a=globalThis.concept.targeting.categories||"";return t.concept_category=a.split(","),globalThis.concept.pbjsGlobalKeys=t,t}});var Ir,vo,Io,Ao=T(()=>{"use strict";({injectCustomAsyncScript:Ir}=(_(),_e(Ie))),vo=()=>globalThis.conceptConfig.relevantRef,Io=e=>{Ir(e,globalThis.conceptConfig.relevantRef),e("Relevant Injected")}});function wo(e){let t=!1,o=Fe();if(e.length===0){s("No units ot refresh");return}let{prebidUnits:n,onlyGamUnits:i}=Ar(e);googletag.cmd.push(function(){let c=i.map(p=>p.slot).filter(Boolean);c.forEach(p=>{V(`${p} - gpt`)}),googletag.pubads().refresh(c,o)});let r=n.map(c=>c.code),a=e.filter(c=>r.includes(c.path));n&&n.length>0&&(V(`${r.join(", ")} - prebid`),pbjs.que.push(function(){let c=r.join(", ");Po(),pbjs.removeAdUnit(),pbjs.addAdUnits(n),F(`prebid auction started ${c}`),s(`Starting auction for = ${c}`,"pbjs"),pbjs.requestBids({adUnitCodes:r,bidsBackHandler:l})}));function l(c){if(!t){if(t=!0,c&&xr(c),a.length===0){s("Nothing to call GAM with");return}googletag.cmd.push(function(){pbjs.setPAAPIConfigForGPT&&pbjs.setPAAPIConfigForGPT();let p=a.filter(g=>g.slot).map(g=>g.slot);if(p.length===0){s("Nothing with a slot to call GAM with");return}if(!pbjs.libLoaded){googletag.pubads().refresh(p,o);return}pbjs.que.push(function(){pbjs.setTargetingForGPTAsync(),s("[initAdserver] send prebid result to GAM","pbjs"),googletag.pubads().refresh(p,o)})})}}if(n&&n.length>0){let c=(globalThis?.conceptConfig?.prebidTimeOut||3e3)+500;setTimeout(function(){t||(s(`[PREBID] Timouter caught this one ${r}`,"pbjs"),l({}))},c)}}var yo,Ae,Ar,yr,So,Sr,Er,Eo,Po,Pr,wr,Or,xr,De=T(()=>{"use strict";y();_();fo();Co();S();Ao();yo=!0;window.pbjs=window.pbjs||{};pbjs.que=pbjs.que||[];Ae=e=>{if(e.usePrebid&&e.prebidRef)if((!window.pbjs||!window.pbjs.libLoaded)&&yo){yo=!1,uo()&&go(s),vo()&&Io(s);let t=e.prebidRef;Pr(),vt(s,t),Er(),yr(),wr(),globalThis.concept.updateTargeting()}else s("Prebid already loaded/started","pbjs");else s("Prebid not needed","pbjs")},Ar=e=>{let t=[],o=[],n=e.map(i=>i.path);return s(`[getPrebidSettings] looking up bids for: ${n}`,"conceptads"),e.forEach(i=>{let r=i.path,a=i.divIdOnPage;for(let[l,c]of f("adUnits")){if(!c){s("Unit is deleted");return}c.divIdOnPage===a&&c.prebidSettings?.bids&&c.prebidSettings?.bids?.length>0?(c.prebidSettings.code=r,t.push(c.prebidSettings)):c.divIdOnPage===a&&o.push(c)}}),{prebidUnits:t,onlyGamUnits:o}},yr=()=>{d("useLiveWrappedAnalytics")&&window.pbjs.que.push(function(){s("setting setPrebidAnalytics (liveWrapped)","pbjs"),pbjs.enableAnalytics({provider:"livewrapped",options:{publisherId:"35665883-67d9-42e1-b1e9-8f3e80c7f513",endpoint:"https://lwadm.com/analytics/10"}})})},So=(e,t)=>{window.pbjs.que.push(function(){let o=t.filter(a=>a.target==="site"),n=t.filter(a=>a.target==="user"),i=f("targeting"),r={bidders:e,config:{ortb2:{site:{ext:{data:{}}},user:{ext:{data:{}}}}}};o.forEach(a=>{r.config.ortb2.site.ext.data[a.key]=i[a.value]}),n.forEach(a=>{r.config.ortb2.user.ext.data[a.key]=i[a.value]}),e&&e.length>0&&(s(`Setting bidder targeting for ${e.join(",")}`,"pbjs"),pbjs.setBidderConfig(r,!0))})},Sr=e=>{window.pbjs.que.push(function(){e[1]&&e[0]&&pbjs.aliasBidder(e[1],e[0],{...e[2]&&{gvlid:parseInt(e[2])}})})},Er=()=>{if(s("Adding Aliases","pbjs"),globalThis.conceptConfig?.prebidAliases){let e=globalThis.conceptConfig.prebidAliases,t=[];if(typeof e=="string")try{t=JSON.parse(e)}catch{C("could not parse prebidAliases")}Array.isArray(e)&&(t=e),s(JSON.stringify(e),"pbjs"),t.forEach(o=>Sr(o))}},Eo=({bids:e,sizes:t,path:o,prebidAllowNative:n})=>{if(e.length===0)return null;let i={code:o,bids:e.filter(r=>!r.disabled),mediaTypes:{banner:{sizes:t}}};return n&&i.mediaTypes&&(i.mediaTypes.native={clickUrl:{required:!1},desc2:{required:!1,len:60},body:{required:!1,len:60},title:{required:!1,len:125},sponsoredBy:{required:!0,len:25},icon:{required:!0,aspect_ratios:[{min_height:150,ratio_height:1,ratio_width:1,min_width:150}]},main_image:{required:!1,aspect_ratios:[{min_height:100,ratio_height:1440,ratio_width:1440,min_width:100},{min_height:100,ratio_height:1440,ratio_width:720,min_width:100},{min_height:100,ratio_height:1440,ratio_width:960,min_width:100},{min_height:100,ratio_height:1440,ratio_width:810,min_width:100}]},ctatext:{required:!1,len:15},address:{required:!1,len:35},video:{required:!1},sendTargetingKeys:!1}),i},Po=()=>{s("updatin pbjs ortb2 (contxt & targetings)","pbjs");let e=f("targeting"),t=To(),o={site:{ext:{data:{...t}}}};e?.lat&&(o.device={geo:{lat:e?.lat,long:e?.long,accuracy:parseInt(e?.accuracy)}}),pbjs.setConfig({ortb2:o});let n=d("appnexusSpecialTargeting"),i={...t};n&&(s("Setting appnexus specfic keywords"),n.forEach(r=>{e[r.value]&&(i[r.key]=e[r.value])})),pbjs.setConfig({appnexusAuctionKeywords:i})},Pr=()=>{let e=d("adUnits")||[],t=["client","s2s"];e.filter(o=>o.prebidBid&&o.prebidBid.length>0&&o.prebidBid.some(n=>n.splitBid)).map(o=>o.prebidBid.filter(n=>n.splitBid)).flat(1/0).forEach(o=>{let{bidder:n}=o;if(!globalThis.conceptConfig.supplyPartners)return;let i=globalThis.conceptConfig.supplyPartners?.find(r=>r.alias===n||r.bidder===n);i&&t.forEach(r=>{let a=`${n}_${r}`,l={...i,alias:a};if(!conceptConfig.prebidAliases?.find(c=>c[0]===a)){let c=[a,i.bidder];i?.gvlid&&c.push(i.gvlid),conceptConfig.prebidAliases?.push(c)}conceptConfig.supplyPartners?.find(c=>c.alias===a)||conceptConfig.supplyPartners?.push(l),r==="s2s"&&!conceptConfig.s2sBidders?.includes(a)&&conceptConfig.s2sBidders?.push(a)})})},wr=()=>{pbjs.que.push(function(){s("setting cncpt pbjs options (bidadjustments & general config)","pbjs"),bo(),Po(),Or(),pbjs.onEvent("auctionInit",function(t){s(`[auctionInit] ${t.adUnitCodes[0]} with ${t.bidderRequests.length} bids`,"pbjs")}),pbjs.onEvent("beforeRequestBids",function(t){if(!pbjs.getUserIds){C("getUserIds are not available in prebid");return}let n=pbjs.getUserIds()?.pubcid;n&&t.forEach(i=>{i.bids.forEach(r=>{r.bidder==="ttw"&&(r.params.user={external_uid:n})})})}),pbjs.setConfig(mo());let e=d("videoPriceBuckets");e&&e.length>0&&(s("Setting video price buckets","pbjs"),pbjs.setConfig({mediaTypePriceGranularity:{video:{buckets:e}}}))})},Or=()=>{(d("supplyPartners")||[]).filter(t=>t.asi&&t.sid||t.extraNodes&&t.extraNodes.length>0).forEach(t=>{s(`Seeting Schain for ${t.alias||t.bidder}`,"pbjs");let o=ho(t);pbjs.setBidderConfig(o)})},xr=e=>{pbjs.que.push(function(){Object.keys(e).forEach(t=>{let n=pbjs.getHighestCpmBids(t)[0];if(n){let i=n?.cpm?.toFixed(2)||0,r=n?.bidder||"unknown";s(`GAM has to beat ${i} by ${r}`,"pbjs")}})})}});var Oo,xo,M,Ro,K=T(()=>{"use strict";Oo=e=>Math.random(){let t,o=[];for(t=0;tn);t++);return e[t]},M=()=>Math.random().toString(36).substr(2,9),Ro=(e,t)=>Math.floor(Math.random()*(t-e+1)+e)});var qe,No,It,Lo,Ge=T(()=>{"use strict";N();qe=()=>document.createElement("div"),No=(e,t,o)=>{if(e){e.classList.add(`outer-box-${e.id}`);let n=qe();n.className="inner-second",n.innerHTML=`

Your ${e.id} ad will be shown here!

`;let i=`.outer-box-${e.id}`,r=` ${i} {padding: 0; position: relative; width: ${t}px; height: ${o}px;} ${i} .inner-second { padding: 0; position: absolute; width: 100%; min-height: 100%; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity .5s; background: #30ac7c;} ${i} .inner-second p {color: #fff;font-family: 'arial';text-align: center;} ${i} .inner-second {opacity: .9;transition: opacity .5s;}`;It(r),e.appendChild(n)}},It=e=>{let t=document.createElement("style");t.innerText=e,document.head.appendChild(t)},Lo=e=>{let t=P(e.divIdOnPage);if(!t)return"";let o=qe(),n=`${e.divIdOnPage}-prerender`;o.setAttribute("id",n);let i=qe(),r=qe();return r.setAttribute("id",`${e.divIdOnPage}-grandparent`),i.setAttribute("id",`${e.divIdOnPage}-realrender`),t.appendChild(o),r.appendChild(i),t.appendChild(r),n}});function At(e,t){e&&e.postMessage&&e.postMessage(t,"*")}var B,_o,ze,ko,jo,We,Uo,$o,Fo,Mo,Bo,Do,He,qo,Q=T(()=>{"use strict";S();y();B=(e,t)=>{if(!d("isPassback")){s(`${e} emitted`,"emitter");let n=new CustomEvent(e,t);window.parent.document.dispatchEvent(n)}},_o=({divId:e})=>{B("viewableAd",{detail:{viewable:!0,divId:e}})},ze=({name:e,divId:t})=>{B("unfilledAd",{detail:{adunit:e,unfilled:!0,divId:t}})},ko=()=>B("concept_loaded",{detail:{}}),jo=()=>B("concept_listening",{detail:{}}),We=({name:e,divId:t})=>{B("filledAd",{detail:{adunit:e,filled:!0,divId:t}})},Uo=(e,t)=>{let o=globalThis.concept.buildVastTag(t);At(e,{type:"vast_tag",payload:{VASTTag:o}})},$o=async(e,t)=>{let o=await globalThis.concept.requestPrebidUrl(t);At(e,{type:"prebid_vast_tag",payload:{VASTTag:o}})},Fo=e=>{let o={cncptads:JSON.stringify(so())};At(e,{type:"concept_ads",payload:o}),B("concept_ads",{detail:o})},Mo=()=>B("urlChange",{detail:{}}),Bo=()=>B("consentRecieved",{detail:{}}),Do=()=>B("cookieless",{detail:{}}),He=()=>B("withCookies",{detail:{}}),qo=e=>B("PPIDSet",{detail:{id:e}})});var Go,Rr,Nr,Lr,_r,kr,jr,Ur,zo,$r,Fr,Mr,Ve=T(()=>{"use strict";_();y();N();$();Q();Ge();S();Go=e=>{window.adn&&window.adn.calls&&window.adn.request?e("Adnuntius already loaded"):(le("https://cdn.adnuntius.com/adn.js",document),e("Adnuntius Injected"))};window.adn=window.adn||{};adn.calls=adn.calls||[];Rr=e=>{for(var t in e)(e[t]===null||e[t]===void 0||e[t]==="")&&delete e[t];return e},Nr=e=>{ze({name:e.targetId,divId:e.targetId}),ke(e.targetId)},Lr=e=>{globalThis.concept.adsloaded=globalThis.concept.adsloaded+1,ve(e.targetId),We({name:e.targetId,divId:e.targetId})},_r=e=>ve(e.widgetId),kr=(e,t="size")=>{let o=D(),n=X(e[t],o);return yt(n)},jr=(e,t,o,n="iframe")=>({targetId:t,auId:e.cookieLessPath,kv:o,useCookies:!1,isolateFrame:!0,auW:e.cookielessWidth?`${e.cookielessWidth}`:"unset",auH:e.cookielessHeight?`${e.cookielessHeight}px`:0,onViewable:_r,container:n,onNoMatchedAds:Nr,onImpressionResponse:Lr}),Ur=e=>{e.forEach(t=>{if(s(`Queueing ${t.targetId}`,"adnuntius"),!d("disableAutoCenterCLAds")){let n=P(t.targetId);n&&(n.style.margin="0px auto")}V(`${t.targetId} - adnuntius`),$r({slot:t})})},zo=({adunitDivId:e,container:t,prerender:o}={adunitDivId:null,container:"iframe",prerender:!1})=>{o&&s(`Pre rendereing ${e}`,"adnuntius");let i=Me()?"mobile":"desktop";globalThis.concept.device=i;let a=d("adUnits").filter(p=>p.cookieLessPath&&!p.cookieLessPath.includes("/"));e&&(a=a.filter(p=>p.divIdOnPage===e));let l=Rr(globalThis.concept.targeting),c=a.filter(p=>kr(p,"size")).map(p=>{let g=p.divIdOnPage;return o&&(g=Lo(p),p.divIdOnPage=`${p.divIdOnPage}-realrender`),jr(p,g,l,t)});return Ur(c),c.map(p=>p.targetId)},$r=async({slot:e})=>{let t=f("failsafe_timeout");s(`Waiting for ${e.targetId} to be in the DOM`,"adnuntius"),await G(`#${e.targetId}`,t)!==null&&Fr(e)},Fr=e=>{s(`Requesting ${e.targetId}`,"adnuntius"),adn.calls.push(function(){Mr(e)})},Mr=e=>{adn.useLocalStorage(!1),adn.request({requestParams:{proximity:50,load:"lazy"},adUnits:[e]})}});var Br,Wo,Ho=T(()=>{"use strict";y();_();N();Br=(e,t=100)=>{let o=[],n=[],i=0;for(let r of e)i+r.length+(n.length>0?1:0)>t&&(o.push(n),n=[],i=0),n.push(r),i+=r.length+(n.length>1?1:0);return n.length>0&&o.push(n),o},Wo=({contxt:e,logger:t})=>{t("Dentsu gonna be Injected");let o="G-955BVT8WXE",n=Ke("_pubcid",!1);window._adftrack=Array.isArray(window._adftrack)?window._adftrack:window._adftrack?[window._adftrack]:[];let i=576327,r=["Data_Concept_All_Firstparty","Data_Concept_All"],a="Concept_data",l=n,c=window.location.href,p=e.join(","),g=window.location.hostname;r.forEach(A=>{window._adftrack.push({pm:i,divider:encodeURIComponent("|"),pagename:encodeURIComponent(A),order:{sv1:a,sv2:l,sv3:c,sv22:g,sv4:p}})}),globalThis.dataLayer=globalThis.dataLayer||[];function u(){globalThis.dataLayer.push(arguments)}let m={d_partnership:a,d_first_party_id:l,d_url:c,d_domain_name:g};Br(e).forEach((A,h)=>{let w=h===0?"":h+1;m[`d_domain_category${w}`]=A.join(",")}),u("js",new Date),u("config",o,m);let v="https://s2.adform.net/banners/scripts/st/trackpoint-async.js",I=`https://www.googletagmanager.com/gtag/js?id=${o}`;j(s,v),j(s,I)}});function Vo(e){globalThis.concept.videosRequested=globalThis.concept.videosRequested+1,globalThis.concept.videoUrls.push(e)}var U,Dr,qr,Gr,Qe,St=T(()=>{"use strict";y();De();N();K();S();$();U=e=>s(e,"video"),Dr=e=>{let t={};return Object.entries(e).forEach(([o,n])=>{Array.isArray(n)?t[o]=n.join(","):t[o]=n}),t},qr=({selectedVideoSettings:e,output:t,vpos:o="preroll",vpmute:n=1,autoplay:i,muted:r,isLive:a,videoFormat:l,vpa:c="auto",videoId:p=""})=>{let g={isProduction:"true",...globalThis.concept.targeting,autoplay:i,videoType:l,...e.targeting},u=d("controlKey");d("setControlGroup")&&u&&(g[u]=f(u));let m=Dr(g),b={adUnit:e,params:{iu:e.code,cust_params:m,vpos:o,...e.targeting,description_url:encodeURIComponent(window.location.href||window.location.origin),unviewed_position_start:1,wta:1,vpmute:n,autoplay:i,muted:r,vad_format:"linear",vpa:c,output:t,...a&&{isLive:a},...e.cmsid&&{cmsid:e.cmsid},...p&&{vid:p}}},v=f("PPID");return v&&(b.params.ppid=v),b},Gr=({selectedVideoSettings:e,output:t="vast",vpos:o="preroll",vpmute:n=1,vpa:i="auto",autoplay:r,muted:a,videoFormat:l,isLive:c,videoId:p=""})=>new Promise((g,u)=>{try{U(`Creating url for ${e.code}`),Ae(je()),e.code=Z(e.code),e.mediaTypes.video.plcmt=a?2:1,e.disablePrebid&&(e.bids=[],U("Bids are disabled in this environment")),window.pbjs.que.push(function(){U(`${e.code} requested`),pbjs.addAdUnits(e),pbjs.setConfig({useBidCache:!0,cache:{url:"https://prebid.adnxs.com/pbc/v1/cache"}}),U("setting cncpt pbjs"),pbjs.requestBids({adUnitCodes:[e.code],bidsBackHandler:function(m){U(`${Object.keys(m).length} recieved from prebid demand`),Object.keys(m).forEach(I=>{m[I].bids.forEach(A=>{let{bidder:h,bidderCode:w,adapterCode:z,cpm:W,currency:ht}=A;U(`${h||w||z} gave a bid of ${W} (${ht}) for ${I}`)})});let b=qr({selectedVideoSettings:e,output:t,vpos:o,vpmute:n,vpa:i,autoplay:r,muted:a,isLive:c,videoId:p,videoFormat:l});pbjs?.adServers?.dfp?.buildVideoUrl||C("Your prebid file is not correctly set up. At least your missing some dfp build video url functionality");let v=pbjs.adServers.dfp.buildVideoUrl(b);Vo(v),g(v)}})})}catch(m){u(m)}}),Qe=async(e,t)=>new Promise(async(o,n)=>{try{if(!e)return U("ERROR: Please provide ID"),n(new Error("No Id for player"));let i=d("videoAdunits");if(!i)return U("ERROR: Please Setup op some video adunits"),n(new Error("No video units"));let r=d("waitForEventToStart");if(r&&(U(`Waiting for ${r}`),await Je(r),U(`${r} -- received`)),!i)return U("ERROR: No video unit for these params"),n(new Error("No video units"));let a=i.find(g=>t?.device||t?.videoFormat?g.device===t?.device&&g.videoFormat===t?.videoFormat&&!!g.isLive==!!t?.isLive:g.playerId===e);if(!a)return U(`No player found ${e}`),n(new Error("No config for you player"));t?.isLive&&(a.videoFormat=a.videoFormat+"_livestream",t.videoFormat=a.videoFormat),t?.isEmbed&&(a.videoFormat=a.videoFormat+"_embed",t.videoFormat=a.videoFormat);let l=a?.VASTAlternative,c=a?.alternativePercent;if(l&&c&&Math.random(){"use strict";S();y();$();ye=e=>s(e,"video"),zr=e=>{try{let t="https://pubads.g.doubleclick.net/gampad/ads";e.code=Z(e.code);let o=`?iu=${e.code}`,n=`&sz=${e?.mediaTypes?.video?.playerSize.join("x")}`,i="&output=vast",r="&gdfp_req=1",a=`&description_url=${encodeURIComponent(document?.location?.origin||"unknown")}`,l={},c=f("targeting");c&&(l=c),e.targeting&&(l={...l,...e.targeting});let p=encodeURIComponent(Object.keys(l).map(m=>{let b=l[m];return Array.isArray(b)?`${m}=${b.join(",")}`:`${m}=${b}`}).join("&")),g=f("PPID"),u=`${t}${o}${n}${i}${r}&unviewed_position_start=1&env=vp&impl=s${a}&correlator=&cust_params=${p}`;return g?(s("SETTING",g),u=`${u}&ppid=${g}`):s("NOOO"),u}catch{throw new Error("Could not build vasttag")}},Ko=e=>{try{if(!e)throw ye("ERROR: Please provide ID"),new Error("No Id for player");let t=d("videoAdunits");if(!t)throw ye("ERROR: Please Setup op some video adunits"),new Error("No video units");ye(`Creating vast tag for ${e}`);let o=t.find(i=>i.playerId===e);if(!o)throw ye(`No player found ${e}`),new Error("No config for you player");let n=zr(o);return globalThis.concept.vastTags.push(n),n}catch{return ye(`Something went wrong ${e}`),""}}});var q,Jo,Yo,Xo,Zo,en,Ye,tn,on,pe=T(()=>{"use strict";se();S();St();Qo();q=!1,Jo=!0,Yo=[],Xo=()=>({...!q&&{consentedToCookies:null},...!q&&{videoUrls:[]},...!q&&{vastTags:[]},...!q&&{buildVastTag:Ko},...!q&&{requestPrebidUrl:Qe},...!q&&{consentQueue:[]}}),Zo=e=>!q&&e,en=()=>{let e=d("activateTimingTracker"),t=d("deployId")||"",o=!q&&e&&!Yo.includes(t);return Yo.push(t),o},Ye=()=>{let e=d("checkForConsent")&&!q,t=f("consentStatus")===x.LEGITIMATE_INTERREST,o=f("consentedToCookies");return{decideNow:!e||e&&o||t,waitChoise:e&&!o&&!t}},tn=()=>!q,on=()=>{let e=!q&&Jo;return Jo=!1,e}});var Et,nn,Xe,Ze=T(()=>{"use strict";y();te();Ho();S();pe();Et=()=>{let e=d("waitForContxt"),t=f("contxtFetched");return d("activateConceptTargeting")&&e&&Number.isInteger(e)&&!t},nn=()=>{let e=f("contxtRequestQueue")||[];e.forEach((t,o)=>{e[o]()}),globalThis.concept.contxtRequestQueue=[]},Xe=async()=>{try{let e,t=d("waitForContxt");Et()&&t&&(e=setTimeout(()=>{s("Timeout expired for Contxt"),nn()},t));let o=d("reportTrackingAs"),n=d("disableConceptLoads"),i=d("activateDentsuDMP");globalThis.concept.contxtFetched=!1;let r=document.location.href;if(!r||r.includes("safeframe")){C("We can not determine the source url");return}let l=`https://prod-contxt-api-app-service.azurewebsites.net/targeting?url=${r}`;o&&!n&&(l=`${l}&site=${o}`);let c={contxt:null,IAB1:null,IAB2:null};return fetch(l).then(p=>p.json()).then(p=>{if(Array.isArray(p.audiences)&&p?.audiences.length>0&&(c.contxt=p.audiences,i)){let{waitChoise:m}=Ye(),b=()=>Wo({contxt:p.audiences,logger:s});m?Ue(b):b()}["IAB1","IAB2","IAB3","IAB4"].forEach(m=>{p?.[m]?.id&&(c[m]=p[m].id)});let u=f("targeting");return globalThis.concept.contxtFetched=!0,globalThis.concept.targeting={...u,...c},s("Contextual targeting injected"),ee(c),nn(),clearTimeout(e),c})}catch(e){return C(`Something went wrong with concept contextual targeting: ${e}`),Promise.reject(e)}}});var Wr,sn,rn,an,Pt=T(()=>{"use strict";N();y();_();$();Wr="https://video.seenthis.se/public/patrik/conceptx/high-impact.min.js",sn=e=>{j(e,globalThis.conceptConfig.seenthisRef||Wr),e("seenthis loaded"),globalThis.highImpactJs=globalThis.highImpactJs||{cmd:[]},globalThis.highImpactJs.cmd.push(()=>{globalThis.highImpactJs.setConfig({plugins:["gam"],zIndex:99}),globalThis.highImpactJs.setTemplateConfig("topscroll",{title:"Scroll down for more",peekAmount:"70vh"}),globalThis.highImpactJs.setTemplateConfig("midscroll",{peekAmount:"70vh",zIndex:99})})},rn=[],an=e=>{let t=D(),o=X(e.sizes,t);if(!o){s(`Viewport no good for ${e.divIdOnPage}`);return}let n={slot:e.path,template:e.seenThisTemplate,sizes:o[1],adUnitId:e.divIdOnPage,waitForAdSignal:!0};globalThis.highImpactJs?.initialized?globalThis.highImpactJs.defineSlot(n):(rn.push(n),globalThis.highImpactJs.cmd.push(()=>{rn.forEach(i=>{globalThis.highImpactJs.defineSlot(i)})}))}});function Yr({document:e,adUnit:t,refreshFunction:o,name:n}){let i="scheduleForLater",r=t.divIdOnPage,l={root:null,rootMargin:"0px",threshold:d("refreshInview")||.25},c=e.getElementById(r);if(c&&c.childNodes&&c.childNodes[0]&&c.childNodes[0].constructor.name==="HTMLDivElement"&&(s("If unit is in view will be checked by childNodes[0]"),c=c.childNodes[0]),xt({el:c})){ln(t);let g=`refreshOnNextInView -> ${r} refresh directly nr ${t.targeting.refresh}`;s(g),o({names:[n],caller:i})}else ce({observerConfig:l,element:c,excutionFunction:(g,u)=>{g.isIntersecting&&(ln(t),s(`refreshOnNextInView -> ${r} refresh for scroll nr ${t.targeting.refresh}`),o({names:[n],caller:i}),u.unobserve(c))}})}var cn,dn,Hr,et,Vr,pn,wt,tt,Z,un,Kr,ln,Ee,Qr,Pe,Jr,J,X,yt,Xr,Zr,gn,fn,es,ts,mn,os,hn,Ot,bn,$=T(()=>{"use strict";y();N();S();po();te();De();Te();K();Ge();Ve();Ze();Pt();cn=e=>new Promise(t=>setTimeout(t,e)),dn=(e,t,o)=>{let n=X(e,D()),i=n&&n[1][0];if(!Array.isArray(i))return;let[r,a]=i;s(`Showing overlay on ${t}`);let l=P(o);No(l,r,a)},Hr=async(e,t)=>new Promise(function(o){s(`Looking for ${e} `,"conceptads"),document.querySelector(e)&&o(!0);let n=setTimeout(()=>{let i=document.querySelector(e);clearTimeout(n),o(i)},t)}),et=(e,t)=>(e.order||(e.order=1/0),t.order||(t.order=1/0),e.ordert.order?1:0),Vr=e=>(!e.updateIfEmpty||e.updateIfEmpty.length===0)&&(!e.dependencies||e.dependencies.length===0)&&!e.divExcluser,pn=async(e,t)=>{let o=O(e);if(!o)return!1;let n=o;return Vr(o)?n:o.divExcluser&&o.excluserTimeout?(s(`Gonna wait for ${o.divExcluser}`),await Hr(o.divExcluser,o.excluserTimeout)?!1:n):["Initial","Async display"].includes(t)||wt()?!1:n},wt=()=>{let t=f("eventLog").filter(n=>n.list==="Event recieved").map(n=>n.msg);return Xr({events:t,strings:[E.SKIN_INIT,E.MACRO_UNLOAD,E.SIDESKIN_INIT]})},tt=e=>{let t=D(),o=X(e,t);return!(Array.isArray(o)&&o[1].length===0)},Z=e=>{let t=e,o=/%%(\w+)_(\w+)%%/,n=e.match(o);if(n){let i=f("targeting"),[r,a,l]=n;a==="KEY"&&(t=t.replaceAll(r,i[l]))}return t},un=({definition:e})=>{let{path:t,size:o,updateIfEmpty:n,refresh:i,dependencies:r,lazyload:a,targeting:l,divIdOnPage:c,id:p,excluserTimeout:g,divExcluser:u,cookieLessPath:m,setHeigthOfParent:b,anchor:v,prebidBid:I,prebidSizes:A,seenThisTemplate:h,prebidAllowNative:w,setUniqueTargeting:z,rootMargin:W}=e;if(typeof t>"u")throw Error("Please setup the definition path for the adunit");if(typeof o>"u")throw Error("Please setup the definition size for the adunit");if(typeof i>"u")throw Error("Please setup the refreh option");a&&r&&r.length>0&&C("You should not have lazyload and dependencies - it can/will cause two refresh, think about it"),a&&n&&n.length>0&&C("You should not have lazyload and wait for another ad unit - it can/will cause two refresh, think about it"),t&&(t=Z(t)),o=(k=>k.map(Y=>(Y[0]=Y[0].map(cr=>parseInt(cr)),Y)))(o);let Ne=D(),Le=X(o,Ne);Array.isArray(Le)&&Le[1].length===0&&C("Unit doesnt have appropriate sizes for this viewport -- This will not be defined later"),A&&(Le?(A=A.filter(k=>Le[1].some(Y=>Kr(Y,k))&&typeof k[0]!="string"),s("prebidSizes changed by GAM viewport rule","pbjs")):A=[]),l||(l={});let bt=d("controlKey");d("setControlGroup")&&bt&&(l[bt]=f(bt));let H={path:t,sizes:o,refresh:i,dependencies:r,updateIfEmpty:n,divIdOnPage:c,id:p,lazyload:a,...h&&{seenThisTemplate:h},...w&&{prebidAllowNative:w},...m&&{cookieLessPath:m},...l&&{targeting:l},...v&&{anchor:v},...I&&{prebidBid:I},...A&&{prebidSizes:A},...b&&{setHeigthOfParent:b},...W&&{rootMargin:W},...z&&{setUniqueTargeting:z},...u&&{divExcluser:u,excluserTimeout:g||500}},lr=H?.prebidBid?.map(k=>{if(k.splitBid){let{bidder:Y}=k;return[{...k,bidder:`${Y}_client`,splitBid:!1},{...k,bidder:`${Y}_s2s`,splitBid:!1}]}return k}).flat(1/0)||[];H.prebidBid=lr;let Yt=H.prebidBid?H.prebidBid.filter(k=>!k.cookieless).map(k=>co(k)):[];h&&an(H);let Xt=Yt?Eo({path:t,bids:Yt,sizes:H.prebidSizes,prebidAllowNative:H.prebidAllowNative}):null;return Xt&&(H.prebidSettings=Xt),H},Kr=(e,t)=>e.length===t.length&&e.every((o,n)=>o===t[n]),ln=e=>{e.targeting.refresh=Number.isInteger(e.targeting.refresh)?(e.targeting.refresh||0)+1:1;let t=e.targeting.refresh;Se(e.slot,"refresh",t),Se(e.slot,"flipMe",!0),s(`initializeRefreshTargeting -> Setting refresh = ${t} for ${e.divIdOnPage}`)},Ee=e=>{e.refreshTimer&&(e.refreshTimer=void 0,clearTimeout(e.refreshTimer))},Qr=({name:e,adUnit:t,refreshFunction:o})=>{if(s(`Timer for ${t.divIdOnPage} has past`),t.refreshBlocked){s("The current order does not allow refresh");return}if(t.loadedFirstTime||!t.lazyload)Yr({document,adUnit:t,refreshFunction:o,name:e});else{let n=`refreshOnNextInView -> unit (${t.divIdOnPage}) not loaded first time`;s(n),Pe({name:e,adUnit:t,refreshFunction:o})}},Pe=({name:e,adUnit:t,refreshFunction:o})=>{Ee(t),t.targeting=t.targeting||{};let n=t.refresh/1e3;s(`refreshOnNextInView -> refresh (${t.divIdOnPage}) in ${n}s or next inview after that`);let i=()=>Qr({name:e,adUnit:t,refreshFunction:o});t.refreshTimer=setTimeout(i,t.refresh)},Jr=e=>{let t=D(),o=e.filter(i=>!ae({adunitId:i.id})).filter(i=>{let r=X(i.sizes,t);return yt(r)});return{unitsCodes:o.map(i=>i.path||i.getAdUnitPath()),slotsToUse:o}},J=async e=>{let{unitsCodes:t,slotsToUse:o}=Jr(e);s(`refreshAdUnit -> ${t} `,"conceptads");let n=d("usePrebid");globalThis.concept.consentedToCookies===!1&&(s("We are not gonna use prebid, since the user said no to cookies"),n=!1);let i=()=>n?wo(o):Tn(t,o);Et()?(s("Waiting for contxt"),globalThis.concept.contxtRequestQueue.push(i)):(s("Not waiting for contxt"),i())};X=(e,t)=>{if(!e)return;let o=[[0,0],[]];return e.forEach(n=>{let i=parseInt(n[0][0]);t>=i&&i>=o[0][0]&&(o=n)}),o},yt=e=>e[1].length>0,Xr=({events:e,strings:t})=>{let o=t.map(r=>r.toLowerCase()),n=e.map(r=>r.toLowerCase()),i=r=>new RegExp(o.join("|")).test(r.toLowerCase());return n.filter(r=>i(r)).length>0},Zr=e=>xo([e.testA,e.testB]).adunitId===e.testA.adunitId?e.testB:e.testA,gn=()=>{let e=d("ABTesters");if(!e)return;let t=e,o=[];t.filter(n=>!n.alreadyCalculated).forEach(n=>{o.push(Zr(n).adunitId),n.alreadyCalculated=!0}),ts(o)},fn=e=>d("ABTesters").find(o=>{let{testA:n,testB:i}=o;return n.adunitId===e||i.adunitId===e}),es=e=>{if(!e)return;let t=fn(e),o="testB";t.testA.adunitId===e&&(o="testA"),s(`Using the test value = ${o}`,"test");let n=d("adUnits");if(!n){s("no adunits ready to be a/b tested");return}let i=n.find(r=>r.id===e);i&&(i.targeting?i.targeting.test=o:i.targeting={test:o})},ts=e=>{if(e.length>0){let t=i=>{let r=f("discardedForTest"),a=!e.includes(i.id);!a&&r&&globalThis.concept.discardedForTest.push(i);let l=fn(i.id);return a&&l&&es(i.id),a};["strossles","readpeaks","adUnits"].forEach(i=>{let r=d(i);r&&Array.isArray(r)&&$e(i,r.filter(t))});let n=`${e.join(",")} Has been removed in connection with A/B Test`;s(n,"test")}},mn=e=>JSON.parse(JSON.stringify(e)),os=(e,t)=>{let o=0;for(let r=0;r{let t=Ke(e,!0);return t?os(t,32):null},Ot=(e,t)=>{if(!t)return e;for(var o,n=t.split("."),i=0,r=n.length-1;i{let t={};for(let o in e)e.hasOwnProperty(o)&&(t[o]=`${e[o]}`);return t}});function An(e){let t=!1;if(jt())t=!0,e();else{let n=function(){t||(t=!0,document.removeEventListener("DOMContentLoaded",n,!1),window.removeEventListener("load",n,!1),e())};var o=n;document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1)}}function Sn(){return!("IntersectionObserver"in window)||!("IntersectionObserverEntry"in window)||!("intersectionRatio"in window.IntersectionObserverEntry.prototype)?(s("Can not use the IntersectionObserver"),C("Can not use the IntersectionObserver"),!0):!1}function G(e,t,o=!1){let n=document.querySelectorAll.bind(document),i=o?e:rs(e),r,a;return new Promise(l=>{t&&Number.isInteger(t)&&(s(`Timing ${e} out in ${t} ms`),r=setTimeout(function(){s(`${e} TIMED OUT due to failsafe_timeout`,"warning"),l(null)},t));let c=n(i),p=c&&ss(c)?c.length>0:!0;if(c&&p){r&&clearTimeout(r);let g=Array.from(c,u=>u.id);l(g)}else if(d("avoidMutationObserver")){s("Interval observer started for dublications");let u=setInterval(()=>{let m=n(i);if(m){s(`Found from intervaller ${i}`),clearInterval(u),r&&clearTimeout(r);let b=Array.from(m,v=>v.id);l(b)}},100)}else if(s(`Relying on MutationObserver to find ${e}`),a=new MutationObserver(u=>{let m=n(i);if(m&&m.length>0){s(`Found from mutationObserver ${i}`),a.disconnect(),r&&clearTimeout(r);let b=Array.from(m,v=>v.id);l(b)}}),document.body){let u=document.body,m={childList:!0,subtree:!0};a.observe(u,m);return}else s(`Could not wait for ${e} as there is no docuemnt body`)})}var Cn,Rt,In,vn,Je,Nt,yn,xt,Lt,P,En,ce,ns,_t,Pn,is,wn,D,kt,jt,Me,On,ot,rs,ss,as,Ke,N=T(()=>{"use strict";y();ro();S();Be();$();Q();Rt=e=>document.body.appendChild(e),In=({targetingFunction:e})=>{let t=o=>{let{coords:{longitude:n,latitude:i,accuracy:r}}=o,a={lat:`${i}`,long:`${n}`,accuracy:`${r}`};globalThis.concept.targeting={...globalThis.concept.targeting,...a},s("Geo is being set"),e(a)};navigator.geolocation&&navigator.geolocation.getCurrentPosition(t)},vn=!1,Je=e=>vn?Promise.resolve():new Promise(t=>{document.addEventListener(e,function(){return vn=!0,t()},{once:!0}),globalThis.concept.listenerCreated=!0,jo()}),Nt=(e,t)=>{document.addEventListener("DOMContentLoaded",function(){e(t)})};yn=e=>e?e.getBoundingClientRect().top:!1,xt=({el:e,parentCheck:t=!1})=>{if(!e)return!1;let{width:o,height:n,bottom:i,top:r,left:a,right:l}=e.getBoundingClientRect();return o===0&&n===0&&!t?xt({el:e.parentNode,parentCheck:!0}):!document.hidden&&r>=0&&a>=0&&i<=kt()&&l<=D()},Lt=(e={adUnits:[]})=>{let t={};try{let o=Math.round(window.devicePixelRatio*100),n=window.frameElement?window.frameElement.baseURI:"",i=window.location.toString(),r=i.includes("http")?i:n,a=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,c=new RegExp(a).exec(r);if(c){let v=c[4]||"",I=(c[5]||"").replace(/(.)\/$/,"$1"),h=(c[7]||"").replace(/\=/gi,":").split("&");t={UrlHost:v,UrlPath:I,UrlQuery:h,browserZoomLevel:o+""}}e.postSetup?t.pb=["post"]:t.entry="first";let p=e.customTargeting;p&&(t={...t,...bn(p)});let g=Ot(window,d("siteTargetingKey")||"siteTargeting");g&&typeof g=="object"&&(t={...t,...g});let u=e.urlTargetingSearchings;u&&Array.isArray(u)&&u.forEach(v=>{let{searchFor:I,valueName:A,keyName:h}=v;r.includes(I)&&(t[h]=A)});let m=e.lookForGlobal;return m&&Array.isArray(m)&&m.forEach(v=>{let{name:I,globalVar:A}=v,h=Ot(window,A);h&&(t[I]=typeof h=="string"?h.split(",").map(w=>w.trim()):h)}),globalThis?.pbjs?.version&&(t.prebidVersion=globalThis?.pbjs?.version),window.location.pathname.split("/").forEach((v,I)=>{I>0&&I<4&&(t["path"+I]=v.slice(-40))}),s("Return global targeting object"),t}catch{s("Something went wrong with the global targeting");return}};P=e=>document.getElementById(e),En=({elementId:e,refreshFunc:t,refreshWhenReadyFunction:o,scheduleLaterFunc:n})=>{let i=P(e);return i&&is({element:i,refreshFunc:t,scheduleLaterFunc:n,refreshWhenReadyFunction:o}),null},ce=({element:e,excutionFunction:t,observerConfig:o})=>{if(!(e instanceof Element))return;let n=(r,a)=>{r.forEach(l=>t(l,a))},i=new IntersectionObserver(n,o);return i.observe(e),i},ns=({adUnit:e,scheduleLaterFunc:t,refreshWhenReadyFunction:o})=>{let{refreshTimer:n,divIdOnPage:i}=e;clearTimeout(n),s(`resetRefreshCounter --> resetting timer: ${i}`),t({name:i,adUnit:e,refreshFunction:o})},_t=e=>{let t=d("globalLazyAttribute"),o=d("globalLazyloadValue");return!t||!o?!1:P(e)?.dataset[t]===o},Pn=()=>{if(Cn){s("BfCache listener already active");return}Cn=window.addEventListener("pageshow",e=>{e.persisted&&(s("BFCACHE hit *****"),globalThis.concept.bfCache=!0,globalThis.concept.refreshAllActiveAdunits())})},is=({element:e,refreshFunc:t,scheduleLaterFunc:o,refreshWhenReadyFunction:n})=>{let i=a=>{let l=a.target;if(a.isIntersecting){s(`refreshOnIntersection -> ${l.id} is intersection:`);let c=O(l.id);if(!c){C(`Could not find Adunit in adunit list ${l.id}`);return}let{lazyload:p,alreadyLoaded:g,refreshTimer:u}=c,m=ae({adunitId:l.id});_t(l.id)&&(p=!0,c.lazyload=!0),p&&!g&&!m&&(s("refreshOnIntersection -> Not loaded yet, so we refresh"),c.alreadyLoaded=!0,c.loadedFirstTime=!0,u&&ns({adUnit:c,scheduleLaterFunc:o,refreshWhenReadyFunction:n}),t([c]))}},r=de(e.id);ce({element:e,excutionFunction:i,observerConfig:r})},wn=(e,t,o)=>{let n=D();return e&&t&&(n<=e||n>=t)?(s(` ${o} not meeting the vierwport rules!!`),!1):!0},D=()=>window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,kt=()=>window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,jt=()=>["complete","loaded","interactive"].includes(document.readyState),Me=()=>io(),On=(e,t)=>{let o=e.split("."),n=globalThis;for(let i=0;ie?e.length===0?(C("nodelist empty"),null):e[0]:(C("No nodelist found"),null),rs=e=>{let t=e;return e.includes(".")&&(t=t.split(".").join("\\."),s(`Found a ., now looking for ${t}`)),t},ss=e=>NodeList.prototype.isPrototypeOf(e);as=["CookieConsent","CookieInformationConsent","_ga","eupubconsent-v2"],Ke=(e,t=!1)=>{let o=[];t&&(o=[...as]),e&&o.unshift(e);let n="";return document.cookie.split(";").forEach(function(i){let[r,a]=i.split("=");o.includes(r.trim())&&(n=a)}),n}});function xn(e){let o=`https://dw6vol2k7d4iu.cloudfront.net/1x1.png${e}&someunique=${M()}`;oe(o,"concept-loads")}var oe,Rn,Nn,ue=T(()=>{"use strict";y();N();K();oe=(e,t)=>{let o=document.createElement("img");o.setAttribute("src",e),o.setAttribute("style","display:none"),o.setAttribute("alt",t),o.setAttribute("id","concept-pixel");try{document.body?Rt(o):Nt(Rt,o)}catch(n){console.error("Cant read document.body in append pixel",n)}};Rn=e=>{try{document.body?xn(e):Nt(xn,e)}catch(t){console.error("Cant read document.body",t)}},Nn=({lineItemId:e,creativeId:t,adunitCode:o})=>{let n=globalThis.conceptConfig.reportTrackingAs;if(!n||!globalThis?.concept?.targeting)return s("Cant track when no name to track on","concept"),null;let a=`${`https://d23oz2xvzoo5zg.cloudfront.net/imp_track.gif?site=${n}&lineItemId=${e}&creativeId=${t}&adunitCode=${o}`}&someunique=${M()}`;return oe(a,"advanced-tracking"),a}});var Ln,_n,kn=T(()=>{"use strict";ue();Ln=()=>globalThis.conceptConfig.sendDataToAdformDSP,_n=({logger:e})=>{window._adftrack=Array.isArray(window._adftrack)?window._adftrack:window._adftrack?[window._adftrack]:[];let t="concept_dmp",o={HttpHost:"track.adform.net",pm:923403,divider:encodeURIComponent("|"),pagename:encodeURIComponent(t),order:{}};globalThis.concept?.targeting?.contxt&&globalThis.conceptConfig.targetingToDMP?.push("contxt--sv7"),globalThis.conceptConfig.targetingToDMP?.forEach(i=>{let[r,a]=i.split("--");if(r==="format"){let l=globalThis.conceptConfig.adUnits.map(p=>p.targeting?.format).filter(Boolean).map(p=>p?.split(",").join("|")),c=[...new Set(l)].join("|");o.order[a]=c}else r==="contxt"?globalThis.concept.targeting[r]&&(o.order.itms=globalThis.concept.targeting[r].map(l=>({[a]:l}))):globalThis.concept.targeting[r]&&(o.order[a]=globalThis.concept.targeting[r])}),window._adftrack.push(o),function(){var i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src="https://s2.adform.net/banners/scripts/st/trackpoint-async.js";var r=document.getElementsByTagName("script")[0];r.parentNode&&r.parentNode.insertBefore(i,r)}();let n=`https://track.adform.net/Serving/TrackPoint/?pm=923403&ADFPageName=${t}&ADFdivider=|`;oe(n,"concept-dmp"),e("DMP pixel loaded")}});var jn,ls,Un=T(()=>{"use strict";N();S();y();Be();jn=({injectionFunction:e})=>{let t=d("readpeaks");t&&t?.length>0&&t.forEach(o=>{ls({readpeakConf:o,injectionFunction:e})})},ls=async({readpeakConf:e,injectionFunction:t})=>{s(`Lazyloading a readpeak item in ${e.divIdOnPage}`,"readpeak");let o=d("readpeaks"),n=document.createElement("iframe");n.src=e.src,globalThis.concept.tcString&&(n.src=`${n.src}&gdpr_consent=${globalThis.concept.tcString}`),n.id=e.readpeakId,n.setAttribute("style",e.style);let i=de(null),r=(g,u)=>{let m=g.target;if(g.isIntersecting&&o){let b=o.find(Ne=>Ne.divIdOnPage===m.id),{fromViewport:v,toViewport:I}=b,A=parseInt(v),h=parseInt(I),w=`${b.divIdOnPage}`;if(!wn(A,h,w))return;let W=b&&P(b.divIdOnPage);W&&W.hasChildNodes()===!1&&b?(b.loadedTimes?b.loadedTimes=b.loadedTimes+1:b.loadedTimes=1,m.appendChild(n),globalThis.__rpads=globalThis.__rpads||[],globalThis.__rpads.push(b.readpeakId),s(` ${b.divIdOnPage} inserted!!`,"readpeak"),t(s),u.unobserve(P(b.divIdOnPage))):s("Readpeak container is not empty :O!","readpeak")}},a=f("failsafe_timeout"),l=e.divIdOnPage,c=await G(`#${l}`,a,!0);return ot(c)?([...document.querySelectorAll(`#${l}`)].forEach(u=>{ce({observerConfig:i,element:u,excutionFunction:r})}),"ok"):(s(`Could not insert into ${l}`,"error"),"could not find")}});var $n,cs,Fn=T(()=>{"use strict";N();S();y();Be();$n=({injectionFunction:e})=>{let t=d("strossles");t&&t?.length>0&&t.forEach(o=>{cs({strossleConfig:o,injectionFunction:e})})},cs=async({strossleConfig:e,injectionFunction:t})=>{let o=e.divIdOnPage,n=d("strossles");s(`Lazyloading a strossle item in ${o}`,"strossle");let i=de(null),r=(c,p)=>{let g=c.target;if(c.isIntersecting&&n){let u=n.find(m=>m.divIdOnPage===g.id);u&&!u.alreadyLoaded&&(u.alreadyLoaded=!0,globalThis.strossle=globalThis.strossle||function(){(strossle.q=strossle.q||[]).push(arguments)},globalThis.strossle(u.strossleId,`#${u.divIdOnPage}`),s(` ${u.divIdOnPage} inserted!!`,"strossle"),t(s),p.unobserve(P(u.divIdOnPage)))}},a=f("failsafe_timeout");return await G(`#${o}`,a,!0)?([...document.querySelectorAll(`#${o}`)].forEach(p=>{ce({observerConfig:i,element:p,excutionFunction:r})}),"ok"):(s(`Could not insert into ${o}`,"error"),"could not find")}});var Mn,Bn=T(()=>{"use strict";_();Mn=(e,t)=>{j(e,`https://t.seedtag.com/t/${t}.js`),e("seedtag Injected")}});var Dn,qn,Gn=T(()=>{"use strict";S();({injectCustomAsyncScript:Dn}=(_(),_e(Ie))),qn=e=>{Dn(e,"https://advertising-cdn.dpgmedia.cloud/native-renderer/main.js"),e("Seemleas renderer Injected");let t=d("seemlessTemplateRef");Dn(e,t),e("Seemleas templates Injected")}});var ds,zn,ps,us,gs,Wn,fs,Hn,Vn=T(()=>{"use strict";y();ue();ds=e=>{let t=["https://d2uoe7nnxrtbfx.cloudfront.net/containerHistory","https://cncpt-central.com/containerHistory","https://cncptx.com/pubscript","/conceptads"],o=["wp-content/cache","https://tags.adnuntius.com"],n=["prod.js","dev.js"],i=t.some(l=>e.includes(l)),a=o.some(l=>e.includes(l))&&n.some(l=>e.includes(l));return i||a?e:!1},zn=navigator.connection||navigator.mozConnection||navigator.webkitConnection,ps=(e,t,o)=>{let n=e.find(i=>i.msg===t);return n?parseFloat(n.secondCount+o):0},us=(e,t,o)=>{let n=e.find(i=>i.msg.startsWith(t));return n?parseFloat(n.secondCount+o):0},gs=(e,t,o)=>{let n=e.find(i=>i.msg.endsWith(t));return n?parseFloat(n.secondCount+o):0},Wn=(e,t)=>{let o=e[t-1]?.measureTime;return o<=0&&t>1?Wn(e,t-1):o},fs=e=>{let t={},o=parseFloat("0.0"),n=parseFloat(`${e.scriptLoadTime.startTime/1e3}`),i=parseFloat(`${n+e.scriptLoadTime.duration/1e3}`),r=e.scriptLoadTime.responseEnd/1e3,a=h=>us(e.conceptEvents,h,r),l=h=>gs(e.conceptEvents,h,r),c=ps(e.conceptEvents,"Consent recieved",r),p=a("injectNewAds execution requested"),g=a("prebid auction started"),u=l(" Requested"),m=a("slotResponseReceived"),b=l(" creative iframe loaded"),v=[{eventName:"Page_start",measureTime:o},{eventName:"ConceptAds_requested",measureTime:n},{eventName:"ConceptAds_downloaded",measureTime:i},{eventName:"Consent_recieved",measureTime:c},{eventName:"injectad_recieved",measureTime:p},{eventName:"First_prebid_auction_Started",measureTime:g},{eventName:"First_GAM_request_initiated",measureTime:u},{eventName:"First_response_from_GAM",measureTime:m},{eventName:"First_ad_loaded",measureTime:b}],I=[];v.forEach((h,w)=>{h.measureTime!==null&&(w>0&&h.measureTime{if(w===0)t[h.eventName]=h.measureTime;else{let z=Wn(I,w),W=h.measureTime===0?0:h.measureTime-z;t[h.eventName]=W}});let A=new URL("https://d22i50b931b1j0.cloudfront.net/timing_track.gif");if(zn){let{downlink:h}=zn;h&&A.searchParams.set("downlink",h)}return globalThis?.conceptConfig?.reportTrackingAs&&A.searchParams.set("reportTrackingAs",globalThis.conceptConfig.reportTrackingAs),Object.keys(t).forEach(h=>{A.searchParams.set(h,t[h])}),A.href},Hn=()=>{let e=globalThis.performance.getEntriesByType("resource");e||s("Could not read performnce timing");let t=e.find(r=>ds(r.name));if(!t){s("Could not find correct script src","warning");return}let o=globalThis.concept.eventLog.filter(r=>r.list==="Timing point"),i=fs({scriptLoadTime:t,conceptEvents:o});oe(i,"timing-pixel"),s("Timing pixel loaded")}});var ms,nt,hs,it,Kn,Qn,Ut,Jn,Yn,Xn,Zn,ei,ti,oi,ni,rt=T(()=>{"use strict";y();S();Te();$();Q();Vn();pe();ms=e=>{let t=0;return e.forEach((o,n)=>{o.id.includes("google_ads_iframe_")&&(t=n)}),t},nt=e=>{let t=e&&e.placement||null;t&&(s(`${t} Requested`,"gpt"),F(`${t} Requested`))},hs=(e,t)=>{let o=`[id*='${t.adunitId}'] iframe`,n=document.querySelectorAll(o),i=ms(n),r=n[i],l=(r.height?`${r.height}px`:null)||window.getComputedStyle(r,null).height,c=document.querySelector(`[id*='${t.adunitId}']`);if(l==="1px"){e("We will NOT set heigth to 1, as its prebid","conceptads");return}let p=r?.parentElement?.parentElement;if(p&&l){let g=`Setting height of divid ${t.adunitId} to: `;e(g,"conceptads");let u=p.style;u.height=l,u.minHeight=l,c.style.height=l,c.style.minHeight=l}else e("Not gonna set height (no iframe or height)","conceptads")},it=e=>{globalThis.concept.adsloaded=globalThis.concept.adsloaded+1;let t=e&&e.placement||null;if(!t)return;let o=" creative iframe loaded";s(o,"gpt"),F(o),en()&&Hn();let n=O(t);n&&n.setHeigthOfParent&&hs(s,e),R(`${E.SLOT_LOADED} - ${t}`),ve(t),n&&We({name:t,divId:n.divIdOnPage}),Ut(t)},Kn=e=>{for(let t of globalThis.concept.updateWhenResolved.keys())if(t===e){let o=O(t);o?(s(`Gonna refresh: ${t} beacuse dependant is resolved`),J([o])):s(`Could not refresh: ${t} As it was not found in internal config`)}},Qn=e=>{for(let[t,o]of globalThis.concept.updateIfEmpty.entries())o===e&&(s(`${o} has just been loaded - and its empty ${t}`),globalThis.concept.updateIfEmpty.delete(t),s(`${e}: now has ${globalThis.concept.updateIfEmpty.size} empty dependencies we should resolve`),setTimeout(function(){let n=O(t);n&&(ae({adunitId:t})||(s(`No skin found, refreshing ${t}`),J([n])))},10))},Ut=e=>{for(let[t,o]of globalThis.concept.updateWhenResolved.entries())o===e&&(s(`${o} has just been loaded - if no skin we should refresh ${t}`),globalThis.concept.updateWhenResolved.delete(t),s(`${e}: now has ${globalThis.concept.updateWhenResolved.size} dependencies we should resolve`),setTimeout(function(){let n=wt(),i=O(t);if(i){let r=ae({adunitId:t});!n&&!r&&(s(`No skin found, refreshing ${t}`),J([i]))}},10))},Jn=e=>e.frameElement&&e.frameElement.id,Yn=(e,t)=>{let o=Jn(t);R(`${E.DESKTOP_TOPSCROLL} - ${o}`)},Xn=(e,t)=>{try{let o=Jn(t);R(`${E.MACRO_UNLOAD} - ${o}`)}catch{R(`${E.MACRO_UNLOAD} - Iframe error`)}if(e&&e.placement){s(` Macro: unload ${e.placement}`,"gpt");return}},Zn=()=>{R(E.SKIN_INIT)},ei=(e,t)=>{Fo(t.window),R(E.GET_CONCEPTADS)},ti=(e,t)=>{let{playerId:o}=e;Uo(t.window,o),R(E.GET_VASTTAG)},oi=(e,t)=>{let{playerId:o}=e;$o(t.window,o),R(E.GET_VASTTAG)},ni=()=>{R(E.SIDESKIN_INIT)}});var bs,ii,ri,si=T(()=>{"use strict";N();S();se();({injectCustomAsyncScript:bs}=(_(),_e(Ie))),ii=()=>d("activateSonar")&&f("consentStatus")===x.FULL_CONSENT,ri=(e,{unitPath:t,elementId:o})=>{let i=window.location.href.split("?")[0].split("#")[0],r=f("tcString"),l=bs(e,"https://macro.adnami.io/macro/gen/adnm.sonar.js",[["data-adnm-gid","d3qa3kx6zxxlra"],["data-adnm-tid",t],["data-adnm-source",i],["data-adnm-gdpr",1],["data-adnm-gdpr-consent",r],["data-adnm-info","concept"]],!1),c=P(o);c&&c.appendChild(l),e("Sonar Injected")}});var ai,li,ci,di,pi,Ts,Cs,vs,Is,As,ui,gi,$t,we,Ft=T(()=>{"use strict";y();Te();$();Q();rt();ue();S();ne();si();ai=!1,li=!1,ci=!1,di=!1,pi=!1,Ts=e=>{let t=e.slot.getAdUnitPath(),o=e.slot.getAdUnitPath(),n=e.slot.getSlotElementId();!!d("autoUnloadSlots")&&fi(o),R(`slotResponseReceived - ${t}`),F(`slotResponseReceived - ${t}`),e.slot.getResponseInformation()||(Ut(n),ze({name:t,divId:n}),ke(n))},Cs=e=>{let t=e.slot.getSlotId().getId();setTimeout(function(){let o=d("isPassback"),n={type:E.SLOT_REQUESTED,payload:{placement:e.slot.getSlotElementId(),adunitId:t}};o?nt(n.payload):window?.top?.postMessage(n,"*")})},vs=e=>{let t=e.slot.getAdUnitPath(),o=e.slot.getSlotId().getId(),n=e.slot.getSlotElementId(),i=e.slot.getResponseInformation();R(`(slotOnload) ${t} - winning lineitem = ${i?i.lineItem:"no info"}`);let r={type:E.SLOT_LOADED,payload:{placement:n,adunitId:o,deployId:globalThis.conceptConfig.deployId||"default"}};setTimeout(function(){d("isPassback")?it(r.payload):window?.top?.postMessage(r,"*")})},Is=e=>{let t=e.slot.getSlotElementId(),o=O(t);e.isEmpty&&Qn(t);let n=e.campaignId||"",i=e.creativeId||e.sourceAgnosticCreativeId,r=e.lineItemId||e.sourceAgnosticLineItemId;e.isEmpty&&(n="unfilled",i="unfilled",r="unfilled");let a=`Orderid: (${n}), LineitemId: (${r}), creativeId: (${i})`;if(s(a,"gpt"),globalThis.conceptConfig.useAdvancedTracking&&Nn({creativeId:i,lineItemId:r,adunitCode:t}),o){i!=="unfilled"&&ii()&&ri(s,{unitPath:e.slot.getAdUnitPath(),elementId:t});let l=d("allowOrderRefresh")||[];l.length>0&&i!=="unfilled"&&(l.includes(`${n}`)||(o.refresh=0,o.refreshBlocked=!0,Ee(o))),o.rendered=!0;let c={isEmpty:e.isEmpty,size:null};e.isEmpty||(c.size={width:e.size[0],height:e.size[1]})}},As=e=>{let t=e.slot.getSlotElementId(),o=e.slot.getAdUnitPath(),n=e.slot.getOutOfPage(),i=O(t);i||s("Could not find adunit in slotViewable"),n&&(s("An outofpage unit is being showed"),R(`Out of page loaded - ${o}`)),i&&(i.viewableCount=i?.viewableCount?i.viewableCount+1:1),_o({divId:t}),s(`impressionViewable: ${t}`,"gpt")},ui=!1,gi=()=>{try{ui||(s("googletagConfigured being queued","gpt"),ui=!0,googletag.cmd.push(function(){if(s("[GOOGLETAG loaded] googletag not configured: Enable DFP services","gpt"),globalThis.concept.updateTargeting(),d("useGoogleLazy")){s("Using google lazyload","gpt");let a=d("fetchMarginPercent")||500,l=d("renderMarginPercent")||200,c=d("mobileScaling")||2,p={fetchMarginPercent:a,renderMarginPercent:l,mobileScaling:c};globalThis.googletag.pubads().enableLazyLoad(p)}globalThis.googletag.pubads().enableSingleRequest(),globalThis.googletag.pubads().disableInitialLoad(),globalThis.googletag.pubads().setCentering(!0),globalThis.googletag.pubads().collapseEmptyDivs(),ci||(ci=we("slotResponseReceived",Ts)),di||(di=we("slotOnload",vs)),li||(li=we("slotRequested",Cs)),ai||(ai=we("impressionViewable",As)),pi||(pi=we("slotRenderEnded",Is));let t=d("page_url"),o=f("targeting"),n=t||o?.UrlHost;globalThis.googletag.pubads().set("page_url",n);let i=d("disableAutoPPID"),r=d("fingerprinting");if(!i&&!r){let a=d("setPPIDFromCookie"),l=hn(a);l&&$t(l)}globalThis.googletag.enableServices()}))}catch(e){console.error(e),C("Could not setup googletag globals")}},$t=e=>{googletag.cmd.push(()=>{s("Setting PPID"),globalThis.concept.PPID=e,qo(e),googletag.pubads().setPublisherProvidedId(e)})},we=(e,t)=>globalThis.googletag.pubads().addEventListener(e,t)});var ys,mi,Ss,hi=T(()=>{"use strict";_();Ft();ys="https://cdn.jsdelivr.net/npm/@thumbmarkjs/thumbmarkjs/dist/thumbmark.umd.js",mi=async e=>{j(e,ys,[],!0,async()=>{e("Fingerpring loaded");let o=await Ss();$t(o)})},Ss=async()=>globalThis.ThumbmarkJS.getFingerprint()});var Ie={};gr(Ie,{execute3rdparties:()=>at,getScriptTag:()=>st,inject:()=>le,injectAdnami:()=>Mt,injectBrowsi:()=>Ci,injectCustomAsyncScript:()=>j,injectPrebid:()=>vt,injectReadpeak:()=>bi,injectStrossle:()=>Ti,insertAsFirstScript:()=>Oe,loadSync:()=>Bt,loadThirdPartyLibsWithCookiesOneTimeLoad:()=>lt});function j(e,t,o=[],n=!0,i=()=>Promise.resolve()){let r=st();if(r.id="Custom script",r.async=!0,r.type="text/javascript",r.src=t,o.forEach(a=>{let[l,c]=a;r.setAttribute(l,c)}),i&&(r.onload=function(){i()}),n)Oe({scriptTag:r}),e("Custom script Injected");else return r}function Bt(e,t,o=""){var n=st();t&&(n.id=t),o&&n.setAttribute("referrerpolicy",o),n.type="text/javascript",n.src=e,Oe({scriptTag:n})}var st,Oe,le,vt,bi,Ti,Mt,Ci,at,lt,_=T(()=>{"use strict";y();kn();Un();Fn();Bn();pe();Gn();S();hi();st=()=>document.createElement("script"),Oe=({scriptTag:e})=>{let t=document.getElementsByTagName("script")[0];t&&t.parentNode?t.parentNode.insertBefore(e,t):document.head.appendChild(e)},le=(e,t,o=!1)=>{(function(n,i){let r=n.createElement(i);r.type="text/java"+i,r.src=e,Oe({scriptTag:r}),o&&(r.async=o)})(t,"script")},vt=(e,t)=>{le(t,document,!0),e("prebid Injected")},bi=e=>{Bt("https://app.readpeak.com/js/rp-if.js","Readpeak"),e("Readpeak Injected")},Ti=e=>j(e,"https://assets.strossle.com/strossle-widget-sdk/1/strossle-widget-sdk.js"),Mt=(e,t)=>{window.adsmtag=window.adsmtag||{},adsmtag.cmd=adsmtag.cmd||[],Bt(t,"Adnami"),e("Adnami Injected")};Ci=(e,t)=>{e("Browsi Injected"),function(){var o=st();o.type="text/javascript",o.async=!0,o.dataset.sitekey=t,o.dataset.pubkey="concept",o.id="browsi-tag",o.src="https://cdn.browsiprod.com/bootstrap/bootstrap.js",Oe({scriptTag:o})}()},at=()=>{tn()&&(s("Loading 3rdparty DOM injectors"),jn({injectionFunction:bi}),$n({injectionFunction:Ti}))},lt=(e,t)=>{if(on()){at();let{seedtagId:o,browsiSiteKey:n,seemlessTemplateRef:i,disableBrowsi:r}=e;i&&qn(s),d("fingerprinting")&&mi(t),Ln()&&setTimeout(()=>{_n({logger:s})},500),!r&&n&&Ci(s,n),o&&Mn(t,o)}else t("3rd partys already loaded")}});var vi,Ii,ee,Es,Se,Ps,Tn,Ai,ws,yi,ct,te=T(()=>{"use strict";y();se();_();K();S();vi=!0,Ii=e=>{let t=d("tryLimitedAds"),o=d("siteLoadsGpt");if(vi&&!o){let n="https://securepubads.g.doubleclick.net/tag/js/gpt.js";return t?(s("adding event listener to window.consentRecieved"),window.addEventListener("consentRecieved",()=>{f("consentStatus")===x.LEGITIMATE_INTERREST&&(n="https://pagead2.googlesyndication.com/tag/js/gpt.js"),le(n,document,!0)},{once:!0,capture:!0})):le(n,document,!0),vi=!1,e("GPT Injected"),globalThis.googletag}},ee=e=>{googletag.cmd.push(function(){s("GAM targeting being set");let t=[];for(var o in e)if(e.hasOwnProperty(o)){let n=e[o];n&&googletag.pubads().setTargeting(o,n)}t.length>0&&s(`could set value for the keys = ${t.join(",")} (empty)`)})},Es=e=>{let t=[[0,0],[]];return(JSON.stringify(e).includes(JSON.stringify(t[0]))?e:[...e,t]).map(i=>(i[1][0]&&i[1][0].length<=0&&(i[1]=[]),i))},Se=(e,t,o)=>{o&&e&&e.setTargeting(t,o)},Ps=e=>{let t=[];return e.forEach(o=>{t=[...t,...o[1]]}),t},Tn=(e,t)=>{let o=Fe();googletag.cmd.push(function(){V(`${e} , ' gpt`);let n=t.map(i=>i.getResponseInformation?i:i.slot).filter(i=>i!==void 0);n.length>0?googletag.pubads().refresh(n,o):C("Will not refresh 0")})},Ai=({path:e,size:t,elementId:o,anchor:n,targeting:i,setUniqueTargeting:r})=>{let a;if(!e){C(`NO PATH FOR ADUNIT ${e}`);return}googletag.cmd.push(function(){try{if(n?(a=googletag.defineOutOfPageSlot(e,googletag.enums.OutOfPageFormat[n]),a&&a.addService(googletag.pubads())):(a=googletag.defineSlot(e,Ps(t),o),a&&a.setCollapseEmptyDiv(!0).addService(googletag.pubads()),a.defineSizeMapping(Es(t))),!a){C("No slot here");return}i&&Object.keys(i).forEach(l=>{Se(a,l,i[l])}),r&&Se(a,"uniqueId","_"+M()),ws({slot:a,elementId:o})}catch(l){C(`GAM ERROR: ${l}`)}})},ws=({slot:e,elementId:t})=>{let o=O(t);o.slot=e,globalThis.concept.adUnits.set(t,o)},yi=()=>{googletag.cmd.push(function(){R("Googletag loaded")})},ct=()=>{googletag.cmd.push(function(){googletag.pubads().setPrivacySettings({limitedAds:!0})})}});var ie,dt=T(()=>{"use strict";ie={GAM:"GAM",ADNUNTIUS:"Adnuntius"}});function Os(e){if(e.data){var t=e.data.type,o=Dt[t];if(o)for(var n=0;n{"use strict";Dt={};window.addEventListener("message",Os,!1)});var Pi,wi,Oi,xi,Ri,Ni=T(()=>{"use strict";N();S();ne();y();Pi=!1,wi=(e,t)=>t.includes(e.id)&&e.getAttribute&&!e.getAttribute("dublicatenoted"),Oi=({consented:e,node:t})=>{t.setAttribute("dublicatenoted","true"),s(`Found dublicate of ${t.id}`),xe({consented:e,nodeId:t.id})},xi=(e,t,o)=>{wi(e,t)&&Oi({consented:o,node:e}),e.childNodes&&[...e.childNodes].forEach(n=>{xi(n,t,o)})},Ri=({consented:e,nodeToWatch:t=document})=>{if(Pi!==!0){let o=d("adUnits").map(n=>n.divIdOnPage);if(Pi=!0,globalThis.conceptConfig.avoidMutationObserver)s("Interval observer started for dublications"),setInterval(()=>{o.filter(n=>n!==void 0).forEach(n=>{let i=P(n);i&&wi(i,o)&&Oi({consented:e,node:i})})},100);else{let n=new MutationObserver(function(i){for(let r of i)for(let a of r.addedNodes)xi(a,o,e)});s("Mutation observer started for dublications"),n.observe(t,{childList:!0,subtree:!0})}}}});var L,Li=T(()=>{"use strict";L={TCF_LEGITIMATE_INTERREST:"TCF_LEGITIMATE_INTERREST",TARGETING_MATCH:"TARGETGING_MATCH",TARGETING_ARRAY_CONTAINS:"TARGETGING_ARRAY_CONTAINS",URL_IS_SPECIFIC_SECTION:"URL_IS_SPECIFIC_SECTION",URL_CONTAINS_SPECIFIC_SECTION:"URL_CONTAINS_SPECIFIC_SECTION",URL_IS_SPECIFIC:"URL_IS_SPECIFIC"}});var xs,Rs,Ns,Ls,_s,pt,ge,ks,js,ki,qt,ji,_i,Ui,ut=T(()=>{"use strict";Li();S();y();$();K();xs=e=>location.href===`${location.origin}/${e}`,Rs=e=>{let t=`${location.origin}/${e}`;return location.href.startsWith(t)},Ns=e=>location.href===e,Ls=({key:e,value:t})=>globalThis.concept.targeting[e]===t,_s=({key:e,value:t})=>Array.isArray(globalThis.concept.targeting[e])&&globalThis.concept.targeting[e].includes(t),pt=()=>{let e=js(),t=ks();s(`Checked for startup and targeting profiles [${e}|${t}] `)},ge={[L.TARGETING_MATCH]:{profileName:L.TARGETING_MATCH,func:Ls},[L.TARGETING_ARRAY_CONTAINS]:{profileName:L.TARGETING_ARRAY_CONTAINS,func:_s},[L.URL_IS_SPECIFIC_SECTION]:{profileName:L.URL_IS_SPECIFIC_SECTION,func:xs},[L.URL_CONTAINS_SPECIFIC_SECTION]:{profileName:L.URL_CONTAINS_SPECIFIC_SECTION,func:Rs},[L.URL_IS_SPECIFIC]:{profileName:L.URL_IS_SPECIFIC,func:Ns}},ks=()=>{let e=[ge[L.TARGETING_MATCH],ge[L.TARGETING_ARRAY_CONTAINS]];return ki(e)},js=()=>{let e=[ge[L.URL_IS_SPECIFIC_SECTION],ge[L.URL_CONTAINS_SPECIFIC_SECTION],ge[L.URL_IS_SPECIFIC]];return ki(e)},ki=e=>{let t=[];return(d("settingsProfiles")||[]).forEach(n=>{let i=e.find(r=>r.profileName===n.type);i&&i.func(n.activateOnArgs)?(Ui(n),t.push(!0)):t.push(!1)}),t},qt=()=>(d("settingsProfiles")||[]).filter(o=>o.type===L.TCF_LEGITIMATE_INTERREST),ji=(e,t)=>{let o=qt(),n=e?.purpose?.legitimateInterests||{};return o.length===0||t?(s("Using the default tcf profile (default central)"),["2","7","9","10"].every(a=>n[a])):(o.sort(et).forEach(r=>{let a=!0;r.extraConditions&&(a=r.extraConditions.every(l=>ge[l.type].func(l.activateOnArgs))),a&&r.activateOnArgs.every(l=>n[l])&&(Ui(r),globalThis.concept.tcfProfileSet=!0)}),!!globalThis.concept.tcfProfileSet)},_i=e=>{Object.keys(e).forEach(t=>{globalThis.conceptConfig[t]=e[t]})},Ui=e=>globalThis.concept.tcfProfileSet?(s(`Will NOT override the ${globalThis.concept.activeProfile} profile with (${e.name})`,"warning"),"done"):(s(`Using the ${e.name} profile`),globalThis.concept.targeting.settingsProfile=e.name,globalThis.concept.activeProfile=e.name,_i(e.globalChanges),Array.isArray(e.experiments)&&e.experiments.forEach(t=>{let o=Ce("forceExperiment")==="true";(Oo(t.activateForPercent)||o)&&(s(`Experiment ${t.name} active`),globalThis.concept.targeting.experiment=t.name,_i(t.globalChanges))}),Object.keys(e.adunitsChanges).forEach(t=>{let o=e.adunitsChanges[t],n=Object.keys(o),i=globalThis.conceptConfig.adUnits.find(r=>r.id===t)||{};n.forEach(r=>{let a=o[r];a!==""&&a!==null&&(r==="path"&&(a=Z(a)),i[r]=a)})}),e.videoChanges=e.videoChanges||{},Object.keys(e.videoChanges).forEach(t=>{let o=e.videoChanges[t],n=Object.keys(o);if(globalThis.conceptConfig.videoAdunits){let i=globalThis.conceptConfig.videoAdunits.find(r=>r.id===t)||{};n.forEach(r=>{let a=o[r];a!==""&&a!==null&&(r==="code"&&(a=Z(a)),r==="bids"&&(a=a.map(l=>{if(typeof l=="string")try{l=JSON.parse(l)}catch(c){C(`Could not parse bids: ${c}`)}return l})),i[r]=a)})}else s("Could not find profile for video unit","video")}),"done")});function zs(e){ee(f("targeting")),e()}var Us,Mi,$s,Fs,Bi,$i,Ms,Bs,Fi,Ds,zt,fi,Di,xe,Gt,Wt,qs,qi,Gs,Gi,Ws,fe,Hs,zi,Vs,Wi,Hi,Ks,ne=T(()=>{"use strict";te();y();N();dt();se();N();St();Ei();De();_();$();K();rt();S();Ni();pe();ut();Us=e=>{let t=1e3,{failsafe_timeout:o}=e;return o||o===0?o:t},Mi=e=>{if(e.customPrebidVideoUrl){let t=async o=>{let{videoId:n,autoplay:i,muted:r,videoFormat:a,isLive:l,isEmbed:c}=o,p=globalThis?.currentDeviceDefiner()||void 0,g=await Qe(n,{device:p,autoplay:i,muted:r,videoFormat:a,isLive:l,videoId:n,isEmbed:c});return{videoUrlPreroll:g,videoId:n,preroll:g}};On(e.customPrebidVideoUrl,t)}return{adUnits:new Map,logme:s,connect:Si,initialCalled:!1,failsafe_timeout:Us(e),updateWhenResolved:Fi(e.adUnits,"dependencies"),discardedForTest:[],updateIfEmpty:Fi(e.adUnits,"updateIfEmpty"),initTime:performance.now(),eventLog:[],adsloaded:0,unloaders:[],refreshAllActiveAdunits:$s,idsNotFound:0,videosRequested:0,consentStatus:x.NOT_SET,directRefresh:Bi,listenerCreated:!1,device:null,activeProfile:"default",contxtFetched:!1,initialSRAList:[],contxtRequestQueue:[],updateTargeting:Fs,targeting:Lt(globalThis.conceptConfig),...Xo()}},$s=()=>globalThis.concept.adUnits.forEach((e,t)=>{e.requested&&Bi(t)}),Fs=()=>{s("Updatting global targeting");let{contxt:e,IAB1:t,IAB2:o,IAB3:n,IAB4:i,requestMode:r,settingsProfile:a,experiment:l}=f("targeting")||{},c=d("bidderTargeting")||[],p={contxt:e,IAB1:t,IAB2:o,IAB3:n,IAB4:i,requestMode:r,settingsProfile:a,experiment:l};globalThis.concept.targeting={...Lt(globalThis.conceptConfig),...p},c.forEach(g=>{So(g.bidders,g.bidderTargeting)})},Bi=e=>{let t=O(e);t&&J([t])},$i=!1,Ms=e=>{if(!e.disabled){let t=P(e.divIdOnPage),o=Vs(t),n=tt(e.size);o&&n&&ao(e)}},Bs=(e,t)=>{let o=e.sort(et),n=d("useGoogleSRAOnFirst");!$i&&n&&(s("Running SRA on first request"),$i=!0,o.forEach(i=>{Ms(i)})),o.forEach(i=>{i.disabled||Gi({consented:t,unit:i,display:!0})})},Fi=(e,t)=>{let o=new Map;return e.filter(i=>i[t]).forEach(i=>{let r=i[t][0];r&&o.set(i.divIdOnPage,r)}),o},Ds=(e,t)=>{let o=f("updateWhenResolved");if(!o)return;d("adUnits").map(i=>{i.dependencies?.includes(e)&&(i.dependencies=i.dependencies.filter(r=>r!==e))});for(let[i,r]of o.entries())r===e&&(o.delete(`${t}`),o.set(i,t)),i===e&&(o.delete(`${e}`),o.set(t,`${r}`))},zt=e=>d("adUnits").find(n=>n.divIdOnPage===e)||{},fi=e=>{globalThis.concept.unloaders=globalThis.concept.unloaders.filter(t=>{let o=P(t.divId);return t.path===e&&!o?(t.unload(),!1):!0})},Di=e=>{let t=f("adUnits");for(let[o,n]of t)n.path===e&&n.slot&&globalThis.concept.unloaders.push({path:e,divId:n.divIdOnPage,unload:()=>{s(`Unloading ${o}`),googletag.cmd.push(function(){googletag.destroySlots([n.slot])}),n.refresTimer&&clearTimeout(n.refreshTimer),globalThis.concept.adUnits.delete(o);let{divIdOnPage:i}=n,a=d("adUnits").filter(c=>c.copy?c.divIdOnPage!==i:!0);$e("adUnits",a);let l=P(o);l?.parentNode?.parentNode?.className==="ads-topscroll"?l?.parentNode?.parentNode.remove():l?.remove()}})},xe=({consented:e,nodeId:t,display:o=!0})=>{let n=P(t);if(!t||!n)return null;let i=zt(t);if(!i||i.disabled)return null;let r=mn(i),a=`${i.divIdOnPage}-${M()}`;return s(`Renaming ${t} to ${a}`),Ds(i.divIdOnPage,a),n.id=a,r.divIdOnPage=n.id,r.id=n.id,r.copy=!0,globalThis.conceptConfig.adUnits.push(r),Gi({consented:e,unit:r,display:o}),a},Gt=e=>{globalThis.concept[e.cmd]?globalThis.concept[e.cmd](e.args):s("could not find function $command.cmd}","error")},Wt=()=>{let e=[];globalThis.preConcept?(e=globalThis.preConcept.queue||e,e.forEach(t=>{Gt(t)}),globalThis.preConcept.queue={},globalThis.preConcept.queue.push=function(t){Gt(t)}):globalThis.preConcept={queue:{push:t=>Gt(t)}},s("preConcept.queue has now been frozen"),Object.freeze(globalThis.preConcept.queue)},qs=async e=>{let t=async()=>{let o=d("haltInit"),n=d("waitForEventToStart");o&&(s(`Halting all with ${o} and updating targeting`),await cn(o)),n&&(s(`Waiting for ${n}`),await Je(n),s(`${n} -- received`)),globalThis.concept.updateTargeting(),pt(),Ae(globalThis.conceptConfig),lt(globalThis.conceptConfig,s),globalThis.concept.updateTargeting(),zs(e)};jt()?t():An(function(){t()})},qi=(e,t)=>t?t===ie.GAM?e.path:e.cookieLessPath:e.path,Gs=e=>{let t=d("cookielessAdserver");return e.filter(o=>(o.cookieLessPath=qi(o,t),o.cookieLessPath&&o.cookieLessPath.includes("/")?o:!1))},Gi=({consented:e,unit:t,display:o})=>{let n=d("cookielessAdserver");!e&&d("checkForConsent")&&(t.path=qi(t,n),t.path||C(`No path for ${t.id}`)),globalThis.concept.define(t.divIdOnPage,t),o&&globalThis.concept.display({element:t.divIdOnPage,name:t.divIdOnPage})};Ws=async({name:e,caller:t,adUnit:o})=>{let n=await pn(e,t);if(o.requested=!0,o.refresh&&Pe({name:e,adUnit:o,refreshFunction:fe}),!n)return s(`REFRESH --> ${e} is not ready to be rendered`),Promise.resolve();(t==="scheduleForLater"||!o.lazyload)&&J([n])},fe=async({names:e,caller:t})=>{if(!Array.isArray(e))throw Error("Please call this method with an array of ids");s(`REFRESH --> (CALLER ${t}): refresh ${e}`,"function");let o=[];e.forEach(n=>{let i=O(n);i?o.push(Ws({name:n,caller:t,adUnit:i})):C(`No configured adunit found for ${n}`)}),o.length>0&&await Promise.all(o)},Hs=({container:e,consented:t})=>(e.forEach((o,n)=>{n!==0&&xe({consented:t,nodeId:o})}),e=e[0],e?{id:e}:null),zi=(e,t)=>{let o=f("adUnits");if(!d("isPassback")&&!tt(t.size)){s(`${e} doesn not have correct sizes to be defined`,"warning");return}let i=o.hasOwnProperty(e),r=t.disabled;if(i||r)return s(`Will not define ${e}`),null;let a=un({definition:t});o.set(e,a);let l=o.get(e);if(Sn()){s(`Removing lazyload from ${e}`),l.lazyload=!1;return}let c=d("globalLazyAttribute");(l.lazyload||c)&&setTimeout(function(){En({elementId:l.divIdOnPage,refreshFunc:J,refreshWhenReadyFunction:fe,scheduleLaterFunc:Pe})},0)},Vs=e=>{let t=d("viewHeightThreshold")||1.5,o=f("device")==="mobile"?2:1,n=yn(e);if(!n&&n!==0)return!1;let i=kt();return n/i<=t*o},Wi=async({element:e,name:t})=>{try{let o=f("failsafe_timeout"),n=f("consentedToCookies"),i=O(t);if(!i){s(`No definition for ${t}, sorry`,"warning");return}let{path:r,sizes:a,targeting:l,anchor:c,setUniqueTargeting:p,divIdOnPage:g}=i,u={};if(c&&!g)u={id:t};else{if(u=await G(`#${e}`,o),u===null){s(`Not gonna do anymore about this (${e})`,"warning");return}u=Hs({container:u,consented:!!n})}if(u){if(Ce("showOverlay")==="true"){dn(a,e,u.id);return}let b=O(g);if(!b||b.requested){s(`ad unit already request,loaded or deleted by quick insertions: ${g}`);return}let v=P(g);tt(a)&&v?Ai({path:r,size:a,elementId:g,anchor:c,targeting:l,setUniqueTargeting:p}):s("Not correct adunits sizes for viewport && HTML element has changed id, could be on purpose","warning");let I=d("globalLazyAttribute"),A=_t(e);if(I&&!A&&(i.lazyload=!1,s(`Setting lazy to false for ${i.divIdOnPage}`)),A){s(`${e} should be lazy loaded`);return}if(!b.requested){let h=f("initialSRAList"),w=h.find(z=>z.divIdOnPage===u.id);w?Ks(w,h):fe({names:[g],caller:"Async display"})}}else Kn(e),C(`${e} could not be populated (div not found)`)}catch(o){console.error(o),C("Could not run the display function")}},Hi=(e={adunitDivId:"",consented:!0})=>{let{consented:t,adunitDivId:o}=e,n=`User has consented (directly or indirectly by the page not having a CMP) = ${t} ${o||null}`;s(n);let i=je(),r=d("waitForEventToStart");Zo(t)&&!r&&(Ae(i),lt(i,s)),to(),qs(async function(){s("In start function"),lo();let l=i.adUnits;t||(l=Gs(l)),o&&(l=l.filter(c=>c.divIdOnPage===o)),Bs(l,t),globalThis.conceptConfig.dontCallInitial||Ri({consented:t})})},Ks=(e,t)=>{if(e.displayRequested=!0,t.filter(n=>!n.displayRequested).length===0){let n=t.map(i=>{let r=O(i.divIdOnPage);return r.refresh&&Pe({name:r.divIdOnPage,adUnit:r,refreshFunction:fe}),r});J(n),globalThis.concept.initialSRAList=[]}}});Te();ne();y();te();dt();N();_();$();Ve();y();ne();_();se();te();$();Q();Ze();Ve();y();dt();se();te();Q();S();y();K();ue();var Vi=navigator.connection||navigator.mozConnection||navigator.webkitConnection,Qs=e=>{let t={},o=new URL("https://d1jthfopj0ipi6.cloudfront.net/error_track.gif");if(Vi){let{downlink:n}=Vi;n&&o.searchParams.set("downlink",n)}return globalThis.conceptConfig.reportTrackingAs&&o.searchParams.set("trackingas",globalThis.conceptConfig.reportTrackingAs),o.searchParams.set("error",e),o.searchParams.set("uniqueId",M()),Object.keys(t).forEach(n=>{o.searchParams.set(n,t[n])}),o.href},gt=e=>{if(f("enableErrorReporting")){let o=Qs(e);oe(o,"error-pixel"),s("Error pixel loaded")}};S();ut();var Js={1:"Store and/or access information on a device",2:"Select basic ads",3:"Create a personalized ads profile",4:"Select personalized ads",5:"Create a personalized content profile",6:"Select personalized content",7:"Measure ad performance",8:"Measure content performance",9:"Apply market research to generate audience insights",10:"Develop and improve products",11:"Use limited data to select content"},Qi=e=>s(`got CMP event: ${e.eventStatus}`);function me(e){s(`error callback: ${e}`),__tcfapi("getTCData",2,function(t){t.gdprApplies||gt("gdprNotApplies")}),gt("CMP error")}var Vt=e=>{e.fullUsableConsent?(globalThis.concept.consentStatus=x.FULL_CONSENT,globalThis.concept.targeting.requestMode=x.FULL_CONSENT):e.legitimateInterests?(globalThis.concept.consentStatus=x.LEGITIMATE_INTERREST,globalThis.concept.targeting.requestMode="LIMITED"):e.fullUsableConsent?(globalThis.concept.consentStatus=x.UNKNOWN,globalThis.concept.targeting.requestMode=x.UNKNOWN):(globalThis.concept.consentStatus=x.CONSENT_REJECT,globalThis.concept.targeting.requestMode=x.CONSENT_REJECT,s("The user cosents does not meet the requirements to 'normal' load ads."),globalThis.concept.consentedToCookies=!1),Bo()},Ys=()=>{(function(){var e=function(){for(var t,o="__tcfapiLocator",n=[],i=window;i;){try{if(i.frames[o]){t=i;break}}catch{}if(i===window.top)break;i=i.parent}t||(function r(){var a=i.document,l=!!i.frames[o];if(!l)if(a.body){var c=a.createElement("iframe");c.style.cssText="display:none",c.name=o,a.body.appendChild(c)}else setTimeout(r,5);return!l}(),i.__tcfapi=function(){for(var r,a=arguments.length,l=new Array(a),c=0;c3&&parseInt(l[1],10)===2&&typeof l[3]=="boolean"&&(r=l[3],typeof l[2]=="function"&&l[2]("set",!0));else if(l[0]==="ping"){var p={gdprApplies:r,cmpLoaded:!1,cmpStatus:"stub"};typeof l[2]=="function"&&l[2](p)}else n.push(l)},i.addEventListener("message",function(r){var a=typeof r.data=="string",l={};try{l=a?JSON.parse(r.data):r.data}catch{}var c=l.__tcfapiCall;c&&window.__tcfapi(c.command,c.version,function(p,g){var u={__tcfapiReturn:{returnValue:p,success:g,callId:c.callId}};a&&(u=JSON.stringify(u)),r.source.postMessage(u,"*")},c.parameter)},!1))};e()})()},be=()=>{s("executeQueue ----> executing consentQueue","function");let e=f("consentQueue")||[];e.forEach((t,o)=>{no("(Refresh dequeued and executed)"),e[o]()}),globalThis.concept.consentQueue=[]},Kt=e=>{globalThis.concept.tcString=e.tcString;let t=e?.purpose?.consents||{},o=Object.keys(t),n=Object.values(t),i=e.purpose?o.length:1e3;globalThis.concept.specificConsent=n.map((g,u)=>({purpose:Js[u+1],allowed:g}));let r=e.purpose?o.some(g=>!t[g]):!1,c=!(e.gdprApplies&&(i===0||r===!0));return{legitimateInterests:ji(e,c),fullUsableConsent:c}},Ki=({callback:e})=>{s("Loading ads ..."),globalThis.concept.consentedToCookies!==!1&&(globalThis.concept.consentedToCookies=!0,He(),be(),globalThis.conceptConfig.dontCallInitial||e({consented:!0}))};function Ji({callback:e}){s("consent.js run"),Ht()||(s("No __tcfapi found at all (should be stubbed)","error"),globalThis.concept.consentStatus=x.NO_TCF_API,gt("adding stub"),Ys(),s("tcf stub loaded"));function t(o,n){s(`Succesful consent recieved from ${n}`),F("Consent recieved");let i=d("legitimateStepAdserver")==="Adnuntius",r=Kt(o);if(Vt(r),r.fullUsableConsent)Ki({callback:e});else if(r.legitimateInterests&&!i)ct(),Ki({callback:e});else if(!r.fullUsableConsent||i){if(!globalThis.conceptConfig.dontCallInitial)return he({callback:e});be()}}if(ft.tcfApiExists()){let o=[{eventName:"useractioncomplete",onSuccess:t,onError:me},{eventName:"tcloaded",onSuccess:t,onError:me},{eventName:"cmpuishown",onSuccess:Qi,onError:me}];ft.addEventListeners(o)}else s("No tcfApi or Exists"),globalThis.conceptConfig.dontCallInitial?he({callback:function(){C("could not find TCF api")}}):he({callback:e})}var he=({callback:e,adunitDivId:t="",SPAOverwrite:o=globalThis.conceptConfig.dontCallInitial})=>{s("Lets kick of cookieless"),Do();let n=globalThis.conceptConfig.cookielessAdserver;if(globalThis.conceptConfig.checkForConsent&&(!n||!Object.values(ie).includes(n)))throw Error("Please setup a cookieless adserver");(globalThis.concept.adsloaded===0&&!globalThis.concept.initialCalled||o)&&(n===ie.GAM&&(s("GAM cookieless","gpt"),e({consented:!1,adunitDivId:t})),n===ie.ADNUNTIUS&&(s("ADNUNTIUS cookieless","adnuntius"),zo({adunitDivId:t,prerender:!1,container:"div"})))},Ht=()=>window.__tcfapi,ft=function(){return{addEventListeners:t=>{if(!Ht()){C("Cannot listen for tcf events if no __tcfapi");return}__tcfapi("addEventListener",2,function(o,n){let i=t.find(r=>r.eventName===o.eventStatus);Qi(o),i&&(n?i.onSuccess(o,o.eventStatus):(C(`${o.eventStatus} had an error`),i.onError(o)))})},tcfApiExists:Ht}}();S();pe();N();var Yi=!1,er=()=>{let{origin:e,pathname:t}=location,o=`${e}${t}`;setInterval(function(){let{origin:n,pathname:i}=location,r=`${n}${i}`;if(o!==r){if(o=r,s(`URL changed to ${r}`),globalThis.conceptConfig.dontCallInitial){s("Clearing timeout (refresh) - bacause url change");for(let[a,l]of f("adUnits"))Ee(l)}globalThis.conceptConfig.activateConceptTargeting&&Xe(),Mo()}},300)},Xs=()=>{globalThis.concept.injectNewAds()},tr=()=>{window.addEventListener("urlChange",Xs,!0)},or=()=>{window.addEventListener("urlChange",()=>{at()},!0)},Zs=(e,t,o)=>{let n=Kt(e),i=globalThis.conceptConfig.legitimateStepAdserver==="Adnuntius";Vt(n),n.fullUsableConsent?Qt(t):n.legitimateInterests&&!i?(ct(),Qt(t)):(!n.fullUsableConsent||i)&&he({callback:globalThis.concept.injectAds,adunitDivId:o,SPAOverwrite:!0})},Qt=e=>{globalThis.concept.injectAds({adunitDivId:e,consented:!0})},ea=(e,t)=>{let o=globalThis.conceptConfig.checkForConsent,n=f("consentStatus")===x.FULL_CONSENT;if(o&&n){Qt(e);return}o?__tcfapi("getTCData",2,function(i){s("Manually retrieved tcData"),Zs(i,e,t)}):globalThis.concept.consentedToCookies===!1?he({callback:globalThis.concept.injectAds,adunitDivId:t}):globalThis.concept.injectAds({adunitDivId:e,consented:!0})},Xi=e=>{globalThis.concept.updateIfEmpty.delete(e),globalThis.concept.initialCalled=!1;let t=e||null;s(`refreshSelected ${e}`,"function"),ea(t,e)},Zi=(e,t)=>{let o=conceptConfig.adUnits.map(r=>r.divIdOnPage),i=globalThis.conceptConfig.adUnits.find(r=>r.divIdOnPage===e)?.disabled;if(o.includes(e)&&!i){let r=P(e);if(!r)return;let a=!!globalThis.concept.consentedToCookies,l=xe({consented:a,nodeId:r.id,display:!1});if(r&&r.setAttribute("dublicatenoted","true"),Xi(l||e),t||!!d("autoUnloadSlots")){let p=zt(e);Di(p.path)}}else typeof e=="string"&&e.length>0&&s(`${e} was not found in config or its disabled`,"error");!e&&!globalThis.conceptConfig.dontAllowRefreshAll&&(s("No specific adunit, we refresh all"),globalThis.concept.adUnits.clear(),googletag.destroySlots&&googletag.destroySlots(),Xi(""))},Jt=(e,t=!1)=>{s(`injectNewAds ${e}`,"function"),F("injectNewAds execution requested"),globalThis.concept.updateTargeting(),ee(globalThis.concept.targeting);let o=f("consentedToCookies"),{decideNow:n,waitChoise:i}=Ye();if(n&&Zi(e,t),i){s("injectNewAds no hasConsented & no limitedFlow","function");let r=()=>Zi(e,t);oo(`(Refresh queued) ${e}`),r&&Ue(r)}if(o===!1&&be(),o===null&&!Yi){s("Adding eventlisteners for the CMP");let r=[{eventName:"useractioncomplete",onSuccess:be,onError:me},{eventName:"tcloaded",onSuccess:be,onError:me}];ft.addEventListeners(r),Yi=!0}},nr=e=>{s(`[loadCopyOf]: copy ${e.srcUnit} and insert into ${e.targetDiv}`,"function");let t=globalThis.conceptConfig.adUnits.find(o=>o.divIdOnPage===e.srcUnit);if(t){let o={...t,...e.overrides,divIdOnPage:e.targetDiv,copy:!0};globalThis.conceptConfig.adUnits.push(o),Jt(e.targetDiv,!1)}else C("Your trying to dublicate a non existing ad unit")};Q();rt();ue();N();S();y();var ir={BLUE_BILLYWIG:1,OWN_PLAYER:2};var rr="concept",ta=async e=>{let t=e.divIdOnPage;s(`Waiting for ${t} to be visible`,"video");let o=await G(`#${t}`,0),n=ot(o);if(!n){C(`Could not find ${t}`);return}s(`Inserting BB Player into ${t} `,"video");let i=e.BBUNIT,r=`https://${rr}.bbvms.com/r/${i}.js`;V(t);let a=globalThis.conceptConfig.usePrebid?await globalThis.concept.requestPrebidUrl(e.playerId):globalThis.concept.buildVastTag(e.playerId);R(`VAST TAG CREATED FOR ${t} `);let l=document.createElement("script");l.async=!0,l.src=r,l.onload=()=>{let c={code:t,vastUrl:a},p=`${rr}-${i}`,g=globalThis.bluebillywig.renderers.find(u=>u._id===p);g&&g.bootstrap(c,n)},document.getElementsByTagName("head")[0].appendChild(l)},Re=()=>{let e=d("videoAdunits");e&&e.forEach(t=>{t.divIdOnPage&&t.videoPlayer===ir.BLUE_BILLYWIG&&ta(t)})};Ze();Ge();S();K();Pt();var mt=e=>{try{let{cookielessAdserver:t,customCSS:o,reportTrackingAs:n,trySendingSpecificGeo:i,oneOfAutoExecuteBB:r,activateConceptTargeting:a,customScript:l,RMBRef:c,dontCallInitial:p,disableConceptLoads:g,refreshOnBfCacheHit:u,refreshOnUrlChange:m,activateSeenthis:b}=e;u&&Pn(),t===ie.ADNUNTIUS&&Go(s),o!==""&&o&&It(o),b&&sn(s),n&&!g&&Rn(`?loaded=true&site=${n}`),i&&In({targetingFunction:ee}),r&&Re(),a&&Xe(),l&&j(s,l),!globalThis.disableRMBRef&&c&&Mt(s,c),(m||p)&&er(),m&&tr(),p&&or();let v=d("controlKey"),I=d("controlMax")||10;if(d("setControlGroup")&&v){let A=typeof I=="string"?parseInt(I):I;globalThis.concept[v]=Ro(1,A)}gn(),globalThis.concept.injectAds=Hi,globalThis.concept.define=zi,globalThis.concept.refresh=fe,globalThis.concept.display=Wi,globalThis.concept.injectNewAds=Jt,globalThis.concept.loadCopyOf=nr,globalThis.concept.connect(E.GET_CONCEPTADS,ei),globalThis.concept.connect(E.GET_VASTTAG,ti),globalThis.concept.connect(E.GET_PREBIDVASTTAG,oi),globalThis.concept.connect(E.SKIN_INIT,Zn),globalThis.concept.connect(E.SIDESKIN_INIT,ni),globalThis.concept.connect(E.MACRO_UNLOAD,Xn),globalThis.concept.connect(E.SLOT_LOADED,it),globalThis.concept.connect(E.SLOT_REQUESTED,nt),globalThis.concept.connect(E.DESKTOP_TOPSCROLL,Yn),ko()}catch(t){console.log(t)}};ne();Q();ut();S();globalThis.googletag=globalThis.googletag||{};globalThis.googletag.cmd=globalThis.googletag.cmd||[];var sr=e=>{try{d("waitForEventToStart")||pt();let o=qt();o&&o.length>0?window.addEventListener("consentRecieved",()=>mt(e),{once:!0,capture:!0}):mt(e);let n=!e.dontCallInitial,i=!e.refreshOnUrlChange,r=n&&i;e.checkForConsent?Ji({callback:l=>{Re(),globalThis.concept.injectAds(l)}}):r&&(He(),Re(),globalThis.concept.injectAds({consented:!0})),Wt()}catch(t){console.log(t)}};ne();globalThis.googletag=globalThis.googletag||{};globalThis.googletag.cmd=globalThis.googletag.cmd||[];te();y();Ft();var ar=e=>{let t=!1;t||(t=!0,Ii(s),gi(),yi(),sr(e))};ne();try{globalThis.conceptConfig||console.error("No configuration found. abort!");let e=globalThis.conceptConfig;globalThis.concept=globalThis.concept||Mi(e),ar(e)}catch(e){console.log(e)}})(); }; "use strict"; atm.log = function (type, message, ctx) { var makeBlock = function (color) { return 'background: ' + color + '; padding: 2px 10px; border-radius: 2px; color: rgba(0,0,0,.7); border-bottom: 1px solid rgba(0,0,0,.3);border-top: 1px solid rgba(255,255,255,.6);margin-left: 5px;'; }; var logType = 'log'; var eventType = ''; var color = '#79e1ec'; if (type == 'warn' || type == 'error') { logType = type; } else { eventType = '%c' + type; } switch (type) { case 'event': color = "#0aff82"; break; case 'tag': color = "#ee49d1"; break; case 'consent': color = "#af83ff"; break; } console[logType]('%cATM' + eventType, makeBlock("#00e6ff"), (eventType != '') ? makeBlock(color) : '', message || '', ctx || ''); }; atm.debug = function (type, message, ctx) { if (win.location.search.indexOf('atm_debug') > -1) { atm.log(type, message, ctx); } }; "use strict"; atm.utils = { createUuid: function () { var dt = new Date().getTime(); var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { var r = (dt + Math.random() * 16) % 16 | 0; dt = Math.floor(dt / 16); return (c == 'x' ? r : (r & 0x3 | 0x8)).toString(16); }); return uuid; }, getCookie: function (cname) { var name = cname + "="; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1); } if (c.indexOf(name) == 0) { return c.substring(name.length, c.length); } } return ""; }, replaceTags: function (str, tags) { var tagNames = Object.keys(tags); for (var i = 0; i < tagNames.length; i++) { var tag = tagNames[i]; var pattern = "{{" + tag + "}}"; str = str.replace(new RegExp(pattern, "g"), tags[tag]); } return str; }, replaceTag: function (str, search, replace) { return str.replace(new RegExp(search, 'g'), replace); }, remove: function (target) { var removeElement = target || 'adn-overlay'; atm.utils.forEachClass(removeElement, function (el) { el.remove(); }); }, addScript: function (src, targetId, fn, options) { var script = doc.createElement("script"); script.type = "text/javascript"; script.src = src; if (options && options.async) script.async = true; if (options && options.defer) script.defer = true; if (options && options.type) script.type = options.type; if (options && options.nomodule) script.noModule = true; if (script.readyState) { // only required for IE <9 script.onreadystatechange = function () { if (script.readyState === "loaded" || script.readyState === "complete") { script.onreadystatechange = null; fn(); } }; } else { //Others script.onload = function () { if (fn) fn(); }; } if (targetId) doc.getElementById(targetId).appendChild(script); else doc.getElementsByTagName("head")[0].appendChild(script); }, addImage: function (src, width, height) { var img = doc.createElement('img'); img.src = src; if (width) img.width = width; if (height) img.height = height; doc.getElementsByTagName('body')[0].appendChild(img); }, addContent: function (content, targetId) { var node = doc.createElement("DIV"); node.innerHTML = content; if (targetId) { var target = doc.getElementById(targetId); target.innerHTML = ''; target.appendChild(node); } else doc.getElementsByTagName("body")[0].appendChild(node); }, addCss: function (url) { var link = doc.createElement("link"); link.href = url; link.type = "text/css"; link.rel = "stylesheet"; doc.getElementsByTagName("head")[0].appendChild(link); }, addCssString: function (string) { var css = string, head = doc.head || doc.getElementsByTagName('head')[0], style = doc.createElement('style'); head.appendChild(style); style.type = 'text/css'; if (style.styleSheet) { style.styleSheet.cssText = css; } else { style.appendChild(doc.createTextNode(css)); } }, forEachClass: function (classname, func) { var els = doc.getElementsByClassName(classname); for (var i = 0; i < els.length; i++) { func(els[i]); } }, forEachTag: function (tagName, func) { var els = doc.getElementsByTagName(tagName); for (var i = 0; i < els.length; i++) { func(els[i]); } }, merge: function (obj, src) { for (var key in src) { if (src.hasOwnProperty(key)) obj[key] = src[key]; } return obj; }, isObject: function (item) { return (item && typeof item === 'object' && !Array.isArray(item)); }, mergeDeep: function (target, source) { if (atm.utils.isObject(target) && atm.utils.isObject(source)) { for (const key in source) { if (atm.utils.isObject(source[key])) { if (!target[key]) Object.assign(target, { [key]: {} }); atm.utils.mergeDeep(target[key], source[key]); } else { Object.assign(target, { [key]: source[key] }); } } } return target; }, flatten: function (obj) { var returnObj = []; for (var key in obj) { returnObj.push(obj[key]); } return returnObj; }, findInArray: function (src, arr) { return arr.some(function (v) { return src.indexOf(v) >= 0; }); }, requestGAM: function (arr) { window.googletag.cmd.push(function () { for (let i = 0; i < arr.length; i++) { if (atm.prebidGoogle && atm.prebidGoogle[arr[i]]) { atm.prebidGoogle[arr[i]](); } } googletag.pubads().enableSingleRequest(); googletag.enableServices(); }); }, runTags: function (localContainerId, tagArray) { if (tagArray != undefined) { for (var i = 0; i < tagArray.length; i++) { try { var tagId = tagArray[i]; var tag = atm.containers[localContainerId].tags[tagId]; var runable = true; if (atm.GLOBALS.haltTriggers && tag.purposes) { if (tag.purposes.length > 0 && !atm.utils.findInArray(atm.GLOBALS.forcedPurposes, tag.purposes)) { runable = false; atm.haltedTags.push(tagId); } } else { if (tag.purposes && tag.purposes.length > 0 && !atm.utils.findInArray(atm.browser.consent.adnuntiusPurposes, tag.purposes)) { runable = false; } } if (runable) { atm.debug('tag', 'Running tag: ' + tagId + ' in container: ' + localContainerId); atm.containerFunctions[localContainerId][tag.type](tag.content); if (atm.eventList.indexOf('tags.' + tagId) != -1) atm.dispatch('tags.' + tagId); } } catch (e) { atm.log('error', e, ': Tag: ' + tag); } } } }, runTriggers: function (container, type) { atm.containers[container].triggers[type].forEach(function (fn) { fn(); }); }, clickElement: function (data) { if (atm.triggers.click) atm.triggers.click(data); }, toggleClass: function (element, className) { if (element.classList) { element.classList.toggle(className); } else { var classes = element.className.split(" "); var i = classes.indexOf(className); if (i >= 0) classes.splice(i, 1); else classes.push(className); element.className = classes.join(" "); } }, newAjax: function (method, url, func) { if (win.XDomainRequest) { // if XDomainRequest is defined and not IE10 if (win.navigator.appVersion.indexOf("MSIE 10") === -1) { var ajaxIe = new win.XDomainRequest(); ajaxIe.open(method, url); ajaxIe.contentType = "text/plain"; ajaxIe.onerror = function () { }; ajaxIe.ontimeout = function () { }; ajaxIe.onprogress = function () { }; ajaxIe.timeout = function () { }; ajaxIe.onload = function () { }; ajaxIe.onload = func; return ajaxIe; } } var ajax = new XMLHttpRequest(); ajax.open(method, url); ajax.setRequestHeader("Content-Type", "text/plain"); if (func && typeof func === "function") { ajax.onreadystatechange = func; } ajax.onerror = function (e) { console.log(e); }; return ajax; }, ajax: function (method, url, func) { var ajax = atm.utils.newAjax(method, url, function () { if (ajax.readyState && ajax.readyState !== 4) { return false; } if (!ajax.status || ajax.status === 200) { if (func && typeof func === "function") { func(JSON.parse(ajax.response)); } else { atm.log('error', 'Ajax function is not a function'); } } else { atm.log('error', 'Request to URL: ' + url + ' got status ' + ajax.status); } }); ajax.send(); }, }; atm.privacy = atm.privacy || undefined; "use strict"; atm.createPrebidRequest = function (request) { var prebidUnits = []; request.adUnits.forEach(function (adUnit) { var prebidMappedKey = Object.keys(atm.prebid.map).find(auId => auId.includes(adUnit.auId)); var prebidId = atm.prebid.map[prebidMappedKey]; if (prebidId && atm.prebid.mappedUnits[prebidId]) { prebidUnits.push(atm.prebid.mappedUnits[prebidId]); } }); return prebidUnits; }; atm.requestAds = function (request) { if (atm.prebid.aliases.length > 0) { for (let i = 0; i < atm.prebid.aliases.length; i++) { const element = atm.prebid.aliases[i]; window.pbjs.que.push(function () { pbjs.aliasBidder(element[1], [element[0]]); }); } } if (atm.prebid.map) { if (request.adUnits) { for (let i = 0; i < request.adUnits.length; i++) { var adUnit = request.adUnits[i]; if (adUnit.refresh) { adUnit = atm.ads.setPrebidRefresh(adUnit, request); } } } adn.calls.push(function () { adn.chbRequest(atm.createPrebidRequest(request), request); }); } else { adn.calls.push(function () { adn.request(request); }); } }; atm.request = atm.request || {}; atm.request.adnuntius = function (callback) { adn.calls.push(function () { adn.request({ adUnits: atm.ads.setAdnuntius(atm.adUnits, callback), }); }); }; atm.request.prebid = function (callback) { pbjs.que.push(function () { pbjs.addAdUnits(atm.adUnits); pbjs.requestBids({ ortb2: atm.ortb2, bidsBackHandler: function (data) { if (callback) { callback(data); } else atm.ads.renderPrebidWinners(); }, timeout: 3000 }); }); }; atm.request.refresh = function (auId) { }; adn.requestAds = atm.requestAds; "use strict"; atm.ads.adUnitMeta = atm.ads.adUnitMeta || {}; atm.addAdUnits = function (adUnitList) { atm.utils.merge(atm.adUnits, adUnitList); }; atm.clearAdUnits = function () { atm.adUnits = []; }; atm.removeAdUnitByCodeArray = function (codeArray) { for (let i = 0; i < codeArray.length; i++) { atm.removeAdUnitByCode(codeArray[i]); } }; atm.removeAdUnitByCode = function (code) { for (let i = 0; i < atm.adUnits.length; i++) { if (atm.adUnits[i].code == code) { atm.adUnits.splice(i, 1); break; } } }; atm.addOrtb = function (ortbData) { atm.ortb2 = atm.utils.mergeDeep(atm.ortb2, ortbData); }; atm.addAlias = function (aliasList) { atm.adUnitAliases = atm.adUnitAliases.concat(aliasList); }; atm.prebid.mappedUnits = atm.utils.merge(atm.prebid.mappedUnits, atm.containers[CONTAINER_ID].prebid.units); atm.prebid.units = atm.utils.merge(atm.prebid.units, atm.utils.flatten(atm.containers[CONTAINER_ID].prebid.units)); atm.prebid.aliases = atm.prebid.aliases.concat(atm.containers[CONTAINER_ID].prebid.aliases); atm.prebid.map = atm.utils.merge(atm.prebid.map, atm.containers[CONTAINER_ID].prebid.map); atm.ads.onCallDone = function (matched, callback) { atm.removeAdUnitByCodeArray(matched); if (callback) callback(); }; atm.ads.renderPrebidWinners = function () { var bids = pbjs.getHighestCpmBids(); var output = []; for (var i = 0; i < bids.length; i++) { var b = bids[i]; var iframe = document.createElement('iframe'); iframe.id = b.adId; iframe.width = b.width; iframe.height = b.height; iframe.frameBorder = 'no'; var target = document.getElementById(b.adUnitCode); target.style.display = 'block'; output.push({ 'adunit': b.adUnitCode, 'adId': b.adId, 'bidder': b.bidder, 'time': b.timeToRespond, 'cpm': b.cpm }); var tag = { adServerDomain: "", pubUrl: window.location.href, targetingMap: {}, hbPb: "adnuntius", adId: b.adId }; target.appendChild(iframe); ucTag.renderAd(iframe.contentWindow.document, tag); } if (output.length) { if (console.table) { console.table(output); } else { for (var j = 0; j < output.length; j++) { console.log(output[j]); } } } else { console.warn('No prebid winners'); } }; atm.ads.setAdnuntius = function (adUnits, callback) { var mappedAliases = {}; var adnAdUnitArray = []; var matchedAds = []; var totalAds = []; var removefromTotal = function (adUnit) { var position = totalAds.indexOf(adUnit.targetId); totalAds.splice(position, 1); if (totalAds.length == 0) { atm.ads.onCallDone(matchedAds, callback); } }; atm.adUnitAliases.forEach(function (aliasItem) { mappedAliases[aliasItem.alias] = aliasItem.bidder; }); adUnits.forEach((adUnit) => { totalAds.push(adUnit.code); adUnit.bids.forEach(function (bid) { if (bid.bidder == "adnuntius" || mappedAliases[bid.bidder] == "adnuntius") { var adnAdunit = { auId: bid.params.auId, targetId: adUnit.code, onNoMatchedAds: function (data) { removefromTotal(data); }, onImpressionResponse: function (data) { matchedAds.push(data.targetId); removefromTotal(data); }, }; if (adUnit.mediaTypes && adUnit.mediaTypes.banner && adUnit.mediaTypes.banner.sizes) adnAdunit.dimensions = adUnit.mediaTypes.banner.sizes; if (bid.params.targeting) { console.log(bid.params.targeting); } adnAdUnitArray.push(adnAdunit); } }); }); return adnAdUnitArray; }; atm.ads.setInterval = function (auId, request) { if (!atm.ads.adUnitMeta[auId].interval) { atm.ads.adUnitMeta[auId].interval = setInterval(function () { if (atm.ads.adUnitMeta[auId].refresh.count != 0) { adn.calls.push(function () { adn.chbRequest(atm.createPrebidRequest(request), request); }); atm.ads.adUnitMeta[auId].refresh.count--; } else { clearInterval(atm.ads.adUnitMeta[auId].interval); } }, atm.ads.adUnitMeta[auId].refresh.delay * 1000); } }; atm.ads.setPrebidRefresh = function (adUnit, request) { var singleAdUnitRequest = Object.assign({}, request); delete singleAdUnitRequest.headerBids; var targetId = (adUnit.targetId) ? ':' + adUnit.targetId : ''; var auId = adUnit.auId + targetId; var refresh = adUnit.refresh; if (refresh.count) refresh.count = refresh.count || 999; else { refresh = { delay: adUnit.refresh, count: 999, }; } var event = refresh.event || 'onViewable'; if (event != 'onViewable' && event != "onVisible") throw new Error('refresh event needs to be "onViewable" or "onVisible"'); delete adUnit.refresh; adUnit.clearTarget = true; atm.ads.adUnitMeta[auId] = atm.ads.adUnitMeta[auId] || {}; atm.ads.adUnitMeta[auId].refresh = refresh; atm.ads.adUnitMeta[auId].refreshFunction = function () { singleAdUnitRequest.adUnits = [adUnit]; atm.ads.setInterval(auId, singleAdUnitRequest); }; adUnit[event] = atm.ads.adUnitMeta[auId].refreshFunction; return adUnit; }; "use strict"; atm.addListener = function (name, callback) { if (atm.eventList.indexOf(name) == -1) { atm.eventList.push(name); atm.events[name] = new CustomEvent(name, { bubbles: true }); } document.addEventListener(name, function () { if (callback) callback(atm.transitData); }); }; atm.dispatch = function (name, data) { atm.debug(name, data); atm.transitData = data; document.dispatchEvent(atm.events[name]); }; "use strict"; atm.containerFunctions[CONTAINER_ID].javascriptCustom = function (script) { try { script.script(); } catch (e) { atm.log('error', 'Custom Javascript is malformed ' + e.message, 'Custom JavaScript'); } }; atm.addListener("pageview.H8C87EBhP", function(eventData){ if(true) atm.utils.runTags('H8C87EBhP', ["wCWALOWjf3"]) }); atm.utils.addScript("https://cdn.adnuntius.com/adn.js",false,false,{async:true}); if(atm.containers[CONTAINER_ID].prebid){ if(atm.containers[CONTAINER_ID].prebid.config && atm.containers[CONTAINER_ID].prebid.config.custom){ try { new Function(atm.containers[CONTAINER_ID].prebid.config.custom)(); } catch (e) { atm.log('error', 'Custom prebid script malformed: ' + e.message, 'Custom Prebid') } } if(atm.containers[CONTAINER_ID].prebid.loadPrebidJs){atm.utils.addScript("https://tags.adnuntius.com/pb/prebid.js")} } "use strict"; (function () { var executeQueue = function () { try { var queItem; while (queItem = atm.queue.shift()) { if (typeof queItem == 'function') queItem(); } } catch (e) { atm.log('error', e, 'queue handler'); } }; win.setTimeout(executeQueue, 25); atm.queue.push = function () { Array.prototype.push.apply(this, arguments); win.setTimeout(executeQueue, 1); return this.length; }; executeQueue(); })(); if(document.onreadystatechange) { document.onreadystatechange = () => { if( atm.eventList.indexOf('pageload.' + CONTAINER_ID) != -1){ atm.dispatch('pageload.' + CONTAINER_ID) } } }else { if (document.readyState === "complete") { if( atm.eventList.indexOf('pageload.' + CONTAINER_ID) != -1){ atm.dispatch('pageload.' + CONTAINER_ID) } } else { window.addEventListener("load", function () { if( atm.eventList.indexOf('pageload.' + CONTAINER_ID) != -1){ atm.dispatch('pageload.' + CONTAINER_ID) } }); } }; if (atm.eventList.indexOf('pageview.' + CONTAINER_ID) > -1) atm.dispatch('pageview.' + CONTAINER_ID); })(atm, adn, document, window); } catch (e) { console.log('error', e); }