PageSourceSearch

https://j.dejure.org/jcg/ba_djo.js

js dejure.org collected 2026-10-01 07:17:15 UTC 83,765 bytes, 2 lines download raw bytes

1(window.__ba = window.__ba || {}).publisher = window.__ba.publisher || {};window.__ba.config = {"createDate": "2024-01-23", "creator": "KS", "editDate": "2026-07-30", "editor": "FE", "url": "dejure.org", "shortcut": "dejure.org", "keywords": "ba_sra", "MCM": "/4574,151805454/", "section": "rotation", "initOn": "AP", "initialLoad": false, "containerVisibilityCheck": true, "debug": false, "excludePaths": ["/impressum/"], "excludeCategories": {"wallpaper": {"minWidth": 1000}}, "modules": {"gpt": {"isActive": true}, "cmp": {"isActive": true, "accountId": 661, "propertyId": 2043, "privacyManagerId": 562559, "loadStubFile": true, "endpoint": "https://cdn.privacy-mgmt.com", "config": []}, "yieldlove": {"isActive": true, "autoStart": false, "version": 2, "url": "dejure.org"}, "doubleverify": {"isActive": true, "containerCheck": false}, "audienceProject": {"isActive": true, "customerId": "businessad"}, "exitbee": {"isActive": false, "id": 8181}, "adscale": {"isActive": true}, "contentpass": {"isActive": false, "baseUrl": "https://cp.example.com", "controller": "/now.js", "propertyId": "cpId"}, "spa": {"isActive": true, "routeChange": true, "sleep": true, "sleepDelay": 500, "throttle": 500}, "keywordCollector": {"isActive": false, "mode": "expand", "attribute": "keywords", "separator": ","}, "insertionAd": {"isActive": true}, "welect": {"isActive": false, "uuid": "82b31fb1-45e7-4c01-a74b-164b553ffe82", "sleepDelay": 5000, "skipConsent": false}, "floorAd": {"isActive": true, "fc": 300}, "autoPoll": {"isActive": false, "interval": 5000}}, "slots": {"delete": [], "BS": [{"minWidth": 0, "lazy": false, "sizes": ["300x50", "320x50", "300x75", "300x150", "300x250", "300x300"], "style": "", "type": "normal", "code": "", "selector": "", "pos": "top"}, {"minWidth": 640, "lazy": false, "sizes": ["468x60", "728x90"], "style": "div#main { overflow-x: clip; }", "type": "normal", "code": "", "selector": ""}, {"minWidth": 767, "lazy": false, "sizes": ["468x60", "728x90", "770x250"], "style": "div#main { overflow-x: clip; }", "type": "normal", "code": "", "selector": ""}, {"minWidth": 800, "lazy": false, "sizes": ["468x60", "728x90", "770x250", "800x250"], "style": "div#main { overflow-x: clip; }", "type": "normal", "code": "", "selector": ""}, {"minWidth": 900, "lazy": false, "sizes": ["468x60", "728x90", "770x250", "800x250", "900x250"], "style": "div#main { overflow-x: clip; }", "type": "normal", "code": "", "selector": ""}, {"minWidth": 970, "lazy": false, "sizes": ["468x60", "728x90", "770x250", "800x250", "900x250", "970x250"], "style": "div#main { overflow-x: clip; }", "type": "normal", "code": "", "selector": ""}], "SKY": [{"minWidth": 1250, "lazy": false, "sizes": ["120x600", "160x600", "200x600"], "style": "div#werbungrechtsfloat > #Ads_BA_SKY iframe {max-width:unset;position:fixed} #werbungrechtsfloat:has(#Ads_BA_SKY) { left: 760px; } div#werbung_skyscraper_right { height: 100%; } div#werbung_skyscraper_right > div#Ads_BA_SKY {\u00a0position: sticky; top: 30px; }", "type": "normal", "code": "", "selector": ""}, {"minWidth": 1400, "lazy": false, "sizes": ["120x600", "160x600", "200x600", "300x600"], "style": "div#werbungrechtsfloat > #Ads_BA_SKY iframe {max-width:unset;position:fixed} #werbungrechtsfloat:has(#Ads_BA_SKY) { left: 760px; } div#werbung_skyscraper_right { height: 100%; } div#werbung_skyscraper_right > div#Ads_BA_SKY { position: sticky; top: 30px; }", "type": "normal", "code": "", "selector": ""}, {"minWidth": 1800, "lazy": false, "sizes": ["120x600", "160x600", "200x600", "300x600", "500x1000"], "style": "div#werbungrechtsfloat > #Ads_BA_SKY iframe {max-width:unset;position:fixed} #werbungrechtsfloat:has(#Ads_BA_SKY) { left: 760px; } div#werbung_skyscraper_right { height: 100%; } div#werbung_skyscraper_right > div#Ads_BA_SKY { position: sticky; top: 30px; }", "type": "normal", "code": "", "selector": ""}], "FLB": [{"minWidth": 767, "lazy": false, "sizes": ["770x250"], "style": "", "type": "normal", "code": "", "selector": ""}, {"minWidth": 800, "lazy": false, "sizes": ["770x250", "800x250"], "style": "", "type": "normal", "code": "", "selector": ""}, {"minWidth": 900, "lazy": false, "sizes": ["770x250", "800x250", "900x250"], "style": "", "type": "normal", "code": "", "selector": ""}, {"minWidth": 970, "lazy": false, "sizes": ["770x250", "800x250", "900x250", "970x250"], "style": "", "type": "normal", "code": "", "selector": ""}, {"minWidth": 0, "lazy": false, "sizes": ["300x50", "320x50", "300x75", "300x150", "300x250", "300x300"], "style": "", "type": "normal", "code": "", "selector": "", "pos": "top"}], "CAD": [{"minWidth": 0, "lazy": true, "sizes": ["300x50", "320x50", "300x75", "300x150", "300x250", "300x600"], "style": "", "type": "normal", "code": "", "selector": "", "pos": "middle"}, {"minWidth": 640, "lazy": false, "sizes": ["300x250", "300x600"], "style": "", "type": "normal", "code": "", "selector": ""}], "CAD2": [{"minWidth": 0, "lazy": true, "sizes": ["300x50", "320x50", "300x75", "300x150", "300x250", "320x480", "300x600"], "style": "#Ads_BA_CAD2 { text-align: center; min-height: 600px; } #Ads_BA_CAD2 > div { position: sticky; top: 42px; } div#swipe-pages-container { overflow: clip !important; } div#dspx_container_.dpsx_sas_container { z-index: 10 !important; }", "type": "normal", "code": "", "selector": "", "pos": "middle", "lazyMargin": 0.1}, {"minWidth": 640, "lazy": true, "sizes": ["300x250", "336x280", "640x480"], "style": "#Ads_BA_CAD2 { min-height: 250px; }", "type": "normal", "code": "", "selector": "", "lazyMargin": 0}], "VID": [{"minWidth": 0, "lazy": false, "sizes": ["320x240"], "style": "", "type": "normal", "code": "", "selector": ""}], "TEXT": [{"minWidth": 640, "lazy": true, "sizes": ["468x120"], "style": "", "type": "normal", "code": "", "selector": ""}], "BUT": [{"minWidth": 0, "lazy": true, "sizes": ["300x60"], "style": "", "type": "normal", "code": "", "selector": "", "pos": "top"}], "BUT2": [{"minWidth": 0, "lazy": true, "sizes": ["300x60"], "style": "", "type": "normal", "code": "", "selector": "", "pos": "bottom"}], "MICRO": [{"minWidth": 0, "lazy": false, "sizes": ["800x600"], "style": "", "type": "normal", "code": "", "selector": ""}], "FOOT": [{"minWidth": 0, "lazy": true, "sizes": ["300x50", "320x50", "300x75", "300x150"], "style": "", "type": "normal", "code": "", "selector": "", "pos": "bottom"}, {"minWidth": 640, "lazy": true, "sizes": ["728x60"], "style": "", "type": "normal", "code": "", "selector": ""}, {"minWidth": 970, "lazy": true, "sizes": ["728x60", "802x250", "902x250", "940x60", "970x60", "970x90", "972x250"], "style": "", "type": "normal", "code": "", "selector": ""}, {"minWidth": 900, "lazy": true, "sizes": ["728x60", "802x250", "902x250"], "style": "", "type": "normal", "code": "", "selector": ""}, {"minWidth": 800, "lazy": true, "sizes": ["728x60", "802x250"], "style": "", "type": "normal", "code": "", "selector": ""}], "LSKY": [{"minWidth": 1338, "lazy": false, "sizes": ["160x600", "200x600"], "style": "div#werbungrechtsfloat #Ads_BA_LSKY iframe { position: fixed; } div#werbungrechtsfloat:has(iframe[width='300']) { min-width: 300px !important; } aside#Ads_BA_column_left:has(div#Ads_BA_LSKY) { height: 100%; } aside#Ads_BA_column_left > div#Ads_BA_LSKY { position: sticky; top: 30px; }", "type": "insertion", "code": "<div id='Ads_BA_LSKY'></div>", "selector": "aside#Ads_BA_column_left", "method": "inside"}, {"minWidth": 1500, "lazy": false, "sizes": ["160x600", "200x600", "300x600"], "style": "div#werbungrechtsfloat #Ads_BA_LSKY iframe { position: fixed; } div#werbungrechtsfloat:has(iframe[width='300']) { min-width: 300px !important; } aside#Ads_BA_column_left:has(div#Ads_BA_LSKY) { height: 100%; } aside#Ads_BA_column_left > div#Ads_BA_LSKY { position: sticky; top: 30px; }", "type": "insertion", "code": "<div id='Ads_BA_LSKY'></div>", "selector": "aside#Ads_BA_column_left", "method": "inside"}], "ILB1": [{"minWidth": 640, "lazy": true, "sizes": ["300x250", "728x100", "728x180", "728x250", "728x280"], "style": "#Ads_BA_ILB1 { min-height: 100px; }", "type": "normal", "code": "", "selector": "", "lazyMargin": 0.1}], "ILB3": [{"minWidth": 640, "lazy": true, "sizes": ["728x100"], "style": "", "type": "normal", "code": "", "selector": ""}], "ILB4": [{"minWidth": 640, "lazy": true, "sizes": ["728x100"], "style": "", "type": "normal", "code": "", "selector": ""}], "FLOOR": [{"minWidth": 0, "lazy": false, "sizes": ["320x50", "320x100"], "style": "#outer_floor { bottom: 34px !important; }", "type": "floor", "code": "", "selector": ""}, {"minWidth": 640, "lazy": false, "sizes": ["728x90"], "style": "", "type": "floor", "code": "", "selector": ""}, {"minWidth": 970, "lazy": false, "sizes": ["728x90", "970x90"], "style": "", "type": "floor", "code": "", "selector": ""}], "INT": [{"minWidth": 0, "lazy": false, "sizes": ["1x1"], "style": "", "type": "interstitial", "code": "", "selector": ""}, {"minWidth": 640, "lazy": false, "sizes": ["0x0"], "style": "", "type": "normal", "code": "", "selector": ""}], "ILB2": [{"minWidth": 640, "lazy": true, "sizes": ["728x100", "728x180", "728x250", "728x280"], "style": "#Ads_BA_ILB2 { min-height: 100px; }", "type": "normal", "code": "", "selector": "", "lazyMargin": 0.25}], "CAD3": [{"minWidth": 0, "lazy": true, "sizes": ["300x50", "320x50", "300x75", "300x150", "300x250"], "style": "", "type": "normal", "code": "", "selector": "", "pos": "bottom", "lazyMargin": 0.1}, {"minWidth": 640, "lazy": false, "sizes": ["0x0"], "style": "", "type": "normal", "code": "", "selector": ""}]}, "wallpaperConfig": {"v1": [], "v2": {"ausr": "z", "bss": "margin-left: -10px; margin-right: -10px;", "dstss": 88, "stsl": 30, "dsbscroll": {"anchor": ".nav-menu"}, "bgcol": "catcher", "bmo": 161}}};
2(()=>{"use strict";var e={79:(e,t,o)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.Utils=void 0;const n=o(812),i=o(937),s=o(374),a=o(477),d=o(946),r=o(827);class g{static getViewportSize(){return{width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}}static isValidAdSize(e){return/^\d+x\d+$/.test(e)}static isMobile(){return this.getViewportSize().width<640}static*runtime(){for(;;)yield Date.now()-g.startUp}static getTimer(){try{return Math.round(window.performance.now())}catch(e){return 0}}static getAdlibTimer(){return g.time.next().value||0}static filterObjectByKeys(e,t){return Object.keys(e).filter(e=>t.includes(e)).reduce((t,o)=>(t[o]=e[o],t),{})}static isLeftCatcherDeployed(){return null!=window.Ads_BA_WALL?.cont?.catcher_left||null!=window.Ads_BA_WALL?.inner?.left}static isSkinDeployed(){return null!=document.querySelector("#jpx-wp-layer-left-container")||null!=document.querySelector(".smart-skin-left")}static mayFloat(){return!(this.isSkinDeployed()||"WALL"==window.Ads_BA_WALL?.mtrx||!g.isMobile()&&g.getViewportSize().width<s.Config.get("excludeCategories.wallpaper.minWidth"))}static getVideoTargetings(){return{...n.DoubleVerify.getTargetings(),...i.AudienceProject.getTargetings(),kw:s.Config.get("keywords"),vid_section:s.Config.get("section"),vid_floating:`${g.mayFloat()}`}}static isPageExcluded(){return"no_ads"==s.Config.get("section")||"noad"==s.Config.get("section")||!!s.Config.get("excludePaths")?.filter(e=>window.location.href.includes(e))?.length}static registerSPARouteChange(){new a.Log(new d.LogMessage("Continuously registering SPA route changes.",r.LogLevel.DEBUG));let e=location.href?.split("#")?.[0];new MutationObserver(()=>{location.href?.split("#")?.[0]!=e&&(e=location.href?.split("#")?.[0],new a.Log(new d.LogMessage("Registered route change.",r.LogLevel.DEBUG)),window.dispatchEvent(new Event("__baRouteChange")))}).observe(document,{subtree:!0,childList:!0})}static throttle(e,t){let o=!1;return(...n)=>{o?new a.Log(new d.LogMessage("Function is throttled, skipping execution.",r.LogLevel.DEBUG)):(e(...n),o=!0,setTimeout(()=>{o=!1,new a.Log(new d.LogMessage(`Removing throttle after ${t}ms.`,r.LogLevel.DEBUG))},t))}}static debounce(e,t){let o=null;return(...n)=>{o&&clearTimeout(o),o=setTimeout(()=>{e(...n)},t)}}static clearElementAttributes(e){e?.hasAttribute("data-adsba_lid")&&e?.removeAttribute("data-adsba_lid"),e?.hasAttribute("data-adsba_cid")&&e?.removeAttribute("data-adsba_cid"),e?.hasAttribute("data-adsba_sz")&&e?.removeAttribute("data-adsba_sz"),e?.hasAttribute("data-adsba_observed")&&e?.removeAttribute("data-adsba_observed")}}t.Utils=g,g.startUp=Date.now(),g.time=g.runtime()},90:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InsertionAd=void 0;const n=o(477),i=o(946),s=o(827),a=o(374),d=o(806),r=o(79);class g{static async insert(){if(!a.Config.get("modules.insertionAd.isActive"))return;if(new n.Log(new i.LogMessage("Yielding insertion routine to event loop.",s.LogLevel.DEBUG)),await Promise.resolve(),new n.Log(new i.LogMessage("Sleeping to await all slot render events.",s.LogLevel.DEBUG)),await new Promise(e=>setTimeout(e,a.Config.get("modules.insertionAd.delay")||1e3)),g.navigated)return new n.Log(new i.LogMessage("Navigated away, aborting insertion.",s.LogLevel.DEBUG)),void(g.navigated=!1);const e=r.Utils.getViewportSize(),t=a.Config.get("slots");let o=[];new n.Log(new i.LogMessage("Fetching insertion containers.",s.LogLevel.DEBUG)),Object.keys(t).forEach(a=>{const g=`Ads_BA_${a}`;if(t.delete&&t.delete.includes(a))return;if(document.getElementById(g))return;const l=new d.AdContainer(g,t[a],e);"insertion"==l.getAdType()&&(l.isActive()?a.toLowerCase().includes("sky")&&r.Utils.isSkinDeployed()?new n.Log(new i.LogMessage("Skin is deployed, aborting deploying sky.",s.LogLevel.DEBUG)):a.toLowerCase().includes("sky")&&r.Utils.isLeftCatcherDeployed()?new n.Log(new i.LogMessage("Left catcher is deployed, aborting deploying sky.",s.LogLevel.DEBUG)):o.push(l):new n.Log(new i.LogMessage(`Aborting insertion because ${g} is not active.`,s.LogLevel.DEBUG)))}),o.filter(e=>g.insertContainer(e)).length?window.dispatchEvent(new Event("__baLoadNewAdContainer")):new n.Log(new i.LogMessage("No containers inserted, aborting.",s.LogLevel.DEBUG))}static insertContainer(e){if(new n.Log(new i.LogMessage(`Inserting container ${e.getId()}.`,s.LogLevel.DEBUG)),null==e.getCode()||null==e.getSelector())return new n.Log(new i.LogMessage(`Aborting insertion because selector and/or code for insertion ad ${e.getId()} is not set.`,s.LogLevel.ERROR)),!1;const t=document.querySelector(e.getSelector());if(null==t)return new n.Log(new i.LogMessage(`Aborting insertion because selector "${e.getSelector()}" does not exist.`,s.LogLevel.DEBUG)),!1;const o=document.createElement("div");try{return"inside"==e.getInsertionMethod()?t?.appendChild(o):t?.parentElement?.insertBefore(o,t),o.outerHTML=e.getCode(),new n.Log(new i.LogMessage(`${e.getId()} inserted.`,s.LogLevel.DEBUG)),!0}catch(t){return new n.Log(new i.LogMessage(`Could not insert ${e.getId()}: ${t}.`,s.LogLevel.WARN)),!1}}static start(){g.navigated=!1;const e=document.querySelector("div#Ads_BA_SKY");e&&!r.Utils.isMobile()?(new n.Log(new i.LogMessage("Awaiting SKY render to add insertion ad.",s.LogLevel.DEBUG)),e.addEventListener("__baSlotIsRendered",g.insert)):(new n.Log(new i.LogMessage("Awaiting first load to add insertion ad.",s.LogLevel.DEBUG)),window.addEventListener("__baFirstLoad",g.insert))}static abort(){g.navigated=!0}}t.InsertionAd=g,g.navigated=!1},206:(e,t,o)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.AdManager=void 0;const n=o(374),i=o(477),s=o(827),a=o(946),d=o(79),r=o(812),g=o(913),l=o(444),c=o(484);class w{static preLoad(){if(!n.Config.get("modules.yieldlove.isActive"))return;const e=document.createElement("link");e.href=this._gptUrl,e.rel="preload",e.as="script",e.crossOrigin="anonymous",document.head.appendChild(e)}static loadGPT(){if(!n.Config.get("modules.gpt.isActive"))return void new i.Log(new a.LogMessage("GPT module is inactive, skipping load.",s.LogLevel.DEBUG));const e=Date.now(),t=document.createElement("script");t.crossOrigin="anonymous",t.type="text/javascript",t.src=this._gptUrl,t.onload=()=>{new i.Log(new a.LogMessage(`GPT loaded after ${Date.now()-e}ms.`,s.LogLevel.DEBUG))},document.head.appendChild(t),new i.Log(new a.LogMessage("GPT started load.",s.LogLevel.DEBUG))}static loadAds(e,t,o){new i.Log(new a.LogMessage("Queueing GPT slots.",s.LogLevel.DEBUG));const d=e.filter(e=>e.isDuplicate());d.length>0&&new i.Log(new a.LogMessage(`Duplicate ad container(s) with div ID(s) ${d.map(e=>e.getId())} detected. This will result in unexpected ad behaviour!`,s.LogLevel.ERROR)),w.registerOnSlotRenderEvent();const r=e.filter(e=>!e.isLazyLoading()||e.isLazyLoading()&&e.getObserved());googletag.cmd.push(()=>{googletag.pubads().setTargeting("adlib_version",n.Config.get("version"))}),r.forEach(e=>{this.init(e),!t||n.Config.get("initialLoad")||!o&&"MANUAL"!==n.Config.get("initOn").toUpperCase()||(new i.Log(new a.LogMessage("Refreshing single ad.",s.LogLevel.DEBUG)),this.refresh([e]))}),n.Config.get("initialLoad")||!t||o||"MANUAL"===n.Config.get("initOn").toUpperCase()||(new i.Log(new a.LogMessage("Refreshing multiple ads.",s.LogLevel.DEBUG)),this.refresh(e.filter(e=>!e.isLazyLoading()||e.isLazyLoading()&&e.getObserved())));const g=!n.Config.get("initialLoad")&&(t||o||"MANUAL"===n.Config.get("initOn").toUpperCase());new i.Log(new a.LogMessage(`New reload: ${g}. bypassYL: ${t}. explicit: ${o}. Manual: ${"MANUAL"===n.Config.get("initOn").toUpperCase()}`,s.LogLevel.DEBUG)),0==r.length&&c.StateMachine.getInstance().getCurrentState()!==c.State.Auction&&(new i.Log(new a.LogMessage("No immediate ads to load and not running auction, setting state to idle.",s.LogLevel.DEBUG)),c.StateMachine.getInstance().dispatch(c.State.Idle))}static refresh(e){window.googletag.cmd.push(()=>{if(Object.keys(window.__ba.adSlot).length)if(c.StateMachine.getInstance().dispatch(c.State.Fetch),null!==e&&1==e.length)new i.Log(new a.LogMessage(`Manual refresh for ${e[0]}.`,s.LogLevel.DEBUG)),googletag.pubads().refresh([window.__ba.adSlot[e[0].getId()]]);else if(null!==e&&e.length>1){const t=e.map(e=>e.getId()),o=d.Utils.filterObjectByKeys(window.__ba.adSlot,t);if(new i.Log(new a.LogMessage(`Manual refresh for ${Object.keys(o)}.`,s.LogLevel.DEBUG)),window.dispatchEvent(new Event("__baBeforeGAMRequest")),googletag.pubads().refresh(Object.values(o)),Object.keys(o).length!=Object.keys(window.__ba.adSlot).length){const e=Object.keys(window.__ba.adSlot).filter(e=>!Object.keys(o).includes(e));new i.Log(new a.LogMessage(`AdContainer and adSlot lengths differ: ${e}.`,s.LogLevel.WARN))}}else new i.Log(new a.LogMessage(`Manual refresh for ${Object.keys(window.__ba.adSlot)}.`,s.LogLevel.DEBUG)),window.dispatchEvent(new Event("__baBeforeGAMRequest")),googletag.pubads().refresh(Object.values(window.__ba.adSlot));else new i.Log(new a.LogMessage("No GPT slots, aborting refresh.",s.LogLevel.DEBUG))})}static getBWTargeting(){const e=d.Utils.getViewportSize().width||0,t={a:30,b:35,c:40,d:45,e:50,f:55,g:60,h:65,i:70,j:75,k:80,l:85,m:90,n:95,o:100,p:105,q:110,r:115,s:120,t:125,u:130,v:135,w:140,x:145,y:150,z:155,a0:160,a1:165,a2:170,a3:175,a4:180,a5:185,a6:190,b0:195,b1:200,b2:210,b3:220,b4:230,b5:240,b6:250,b7:260,b8:270,b9:280,c9:290};let o=[];if(e)for(let n in t)t.hasOwnProperty(n)&&e/10>=t[n]&&o.push(n);return o}static init(e){new i.Log(new a.LogMessage(`Creating GPT slot for ${e.getId()}.`,s.LogLevel.DEBUG));const t=Date.now();window.googletag.cmd.push(()=>{if(window.__ba.adSlot.hasOwnProperty(e.getId()))return void new i.Log(new a.LogMessage(`${e.getId()} is already initialized, aborting load.`,s.LogLevel.DEBUG));window.__ba.adSlotsLazy.has(e.getId())&&window.__ba.adSlotsLazy.delete(e.getId());const o=e.getId().replace("Ads_BA_",""),g=e.getPosition()||"",c=this.calculateContainerSizes(e);if("interstitial"===e.getAdType()){const t=window.googletag.defineOutOfPageSlot(`${n.Config.get("MCM")}${n.Config.get("url")}/${l.TargetingProvider.getSection(e)}`,window.googletag.enums.OutOfPageFormat.INTERSTITIAL);t&&(window.__ba.adSlot[e.getId()]=t.addService(window.googletag.pubads()).setTargeting("wf",o))}else if("floor"===e.getAdType()){const t=window.googletag.defineSlot(`${n.Config.get("MCM")}${n.Config.get("url")}/${l.TargetingProvider.getSection(e)}`,e.getSizes(),e.getId());t&&(window.__ba.adSlot[e.getId()]=t.addService(window.googletag.pubads()).setTargeting("wf",o).setTargeting("pos",g).setTargeting("t_vh",c[0]).setTargeting("t_vv",c[1]).setCategoryExclusion("wallpaper"),n.Config.get("modules.doubleverify.isActive")&&r.DoubleVerify.setVie
2wabilityPrediction(e.getId()))}else{const t=window.googletag.defineSlot(`${n.Config.get("MCM")}${n.Config.get("url")}/${l.TargetingProvider.getSection(e)}`,e.getSizes(),e.getId());if(t){window.__ba.adSlot[e.getId()]=t.addService(window.googletag.pubads()).setTargeting("wf",o).setTargeting("pos",g).setTargeting("t_vh",c[0]).setTargeting("t_vv",c[1]);const i=l.TargetingProvider.getKeyword(e);i&&window.__ba.adSlot[e.getId()].setTargeting("kw",i),n.Config.get("modules.doubleverify.isActive")&&r.DoubleVerify.setViewabilityPrediction(e.getId())}}d.Utils.getViewportSize().width<n.Config.get("excludeCategories.wallpaper.minWidth")&&(window.googletag.pubads().setCategoryExclusion("wallpaper"),d.Utils.isMobile()||((window.Ads_BA_WALL=window.Ads_BA_WALL||{}).mtrx="WALL")),n.Config.get("excludeCategories.wallpaper.urlExclusion")&&n.Config.get("excludeCategories.wallpaper.urlExclusion")?.includes(window.location.pathname)&&window.googletag.pubads().setCategoryExclusion("wallpaper"),n.Config.get("initialLoad")||window.googletag.pubads().disableInitialLoad(),window.googletag.pubads().enableSingleRequest(),window.googletag.enableServices(),window.googletag.pubads().setTargeting("kw",n.Config.get("keywords")).setTargeting("bw",this.getBWTargeting()),"interstitial"!==e.getAdType()&&window.googletag.display(e.getId()),new i.Log(new a.LogMessage(`Created GPT slot for ${e.getId()} after ${Date.now()-t}ms.`,s.LogLevel.DEBUG)),document.getElementById(e.getId())?.dispatchEvent(new Event("__baGPTSlotRegistered"))})}static getPossibleSizes(e,t,o){let n=[];for(const i in e)t>=e[i]&&o&&n.push(e[i].toString());return n}static calculateContainerSizes(e){const t=d.Utils.getViewportSize(),o=window,n=document.body,i=[[],[]];let s=document.getElementById(e.getId()),a=0,r=0;if(s)do{a+=s.offsetTop,r+=s.offsetLeft}while(s=s.offsetParent);const g=a-(o.page?o.page:n.X?n.X:0),l=r-(o.X?o.X:n.Offset?n.Offset:0),c=t.width-g,w=t.height-l,u=g>-1&&l>-1&&c>0&&w>0;return i[0]=this.getPossibleSizes([120,160,200,300,336,468,728,770,800,900,970],c,u),i[1]=this.getPossibleSizes([50,60,75,90,150,250,280,600,800],w,u),i}static slotRenderEvent(e){c.StateMachine.getInstance().dispatch(c.State.Idle),window.__ba.loaded||(new i.Log(new a.LogMessage("Dispatching first load.",s.LogLevel.DEBUG)),window.googletag.cmd.push(()=>{window.googletag.pubads().setCategoryExclusion("wallpaper")}),window.__ba.loaded=!0,window.dispatchEvent(new Event("__baFirstLoad")));const t=document.getElementById(e.slot.getSlotElementId());if(new i.Log(new a.LogMessage(`In slotRenderEnded for ${t?.id}.`,s.LogLevel.DEBUG)),!t)return void new i.Log(new a.LogMessage("Slot not found, aborting.",s.LogLevel.DEBUG));const o=e.slot.getSlotElementId(),n=document.getElementById(o);if(n?.dispatchEvent(new Event("__baSlotIsRendered")),d.Utils.clearElementAttributes(n),e.isEmpty)return new i.Log(new a.LogMessage("Slot is empty, aborting.",s.LogLevel.DEBUG)),void n?.dispatchEvent(new Event("__baSlotIsEmpty"));e.isEmpty||(new r.DoubleVerify(t.id,e.advertiserId,e.campaignId,e.lineItemId,e.creativeId,e.size,e.slot.getTargeting("wf")?.[0]),new i.Log(new a.LogMessage(`${t?.id} rendered query ID ${e.responseIdentifier}.`,s.LogLevel.DEBUG)),e.lineItemId&&(n?.setAttribute("data-adsba_lid",e.lineItemId.toString()),new i.Log(new a.LogMessage(`${t?.id} rendered line item ID ${e.lineItemId}.`,s.LogLevel.DEBUG))),e.creativeId&&(n?.setAttribute("data-adsba_cid",e.creativeId.toString()),new i.Log(new a.LogMessage(`${t?.id} rendered creative ID ${e.creativeId}.`,s.LogLevel.DEBUG))),e.size&&(n?.setAttribute("data-adsba_sz",e.size.toString()),new i.Log(new a.LogMessage(`${t?.id} rendered size ${e.size}.`,s.LogLevel.DEBUG))),"Ads_BA_FLOOR"===t.id&&g.FloorAd.show(),408822255!=e?.campaignId&&n?.dispatchEvent(new Event("__baSlotIsFilled")))}static registerOnSlotRenderEvent(){w.onSlotRenderedRegistered||(w.onSlotRenderedRegistered=!0,window.googletag.cmd.push(()=>{window.googletag.pubads().addEventListener("slotRenderEnded",e=>{e.slot.getAdUnitPath().includes(n.Config.get("MCM"))&&w.slotRenderEvent(e)})}))}}t.AdManager=w,w._gptUrl="https://securepubads.g.doubleclick.net/tag/js/gpt.js",w.onSlotRenderedRegistered=!1},219:e=>{e.exports=JSON.parse('{"loglevel":"normal","debug":true,"initOn":"AP","initialLoad":false,"modules":{"cmp":{"isActive":false,"accountId":661,"propertyId":2032,"privacyManagerId":166160,"loadStubFile":true,"config":{}},"yieldlove":{"isActive":false,"autoStart":false,"version":2,"url":""},"doubleverify":{"isActive":true,"containerCheck":true},"audienceProject":{"isActive":true,"customerId":"businessad"},"exitbee":{"isActive":false,"id":"0"},"adscale":{"isActive":true},"contentpass":{"isActive":false},"insertionAd":{"isActive":false,"delay":1000},"keywordCollector":{"isActive":false,"mode":"expand","attribute":"keywords","separator":","},"gpt":{"isActive":true},"spa":{"isActive":false,"routeChange":false,"sleep":false,"throttle":500,"sleepDelay":1000},"urlTargeting":{"isActive":true},"welect":{"isActive":false,"uuid":"","sleepDelay":5000,"skipConsent":false},"floorAd":{"fc":300},"autoPoll":{"isActive":false,"interval":5000}}}')},261:(e,t,o)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.ResponsiveStyleCreator=void 0;const n=o(946),i=o(827),s=o(477),a=o(374),d=o(79);t.ResponsiveStyleCreator=class{constructor(){if(d.Utils.isPageExcluded())new s.Log(new n.LogMessage("Page is excluded, aborting adding styles.",i.LogLevel.DEBUG));else try{this.addStyles()}catch(e){new s.Log(new n.LogMessage(`Error adding styles: ${e}`,i.LogLevel.DEBUG))}}addStyles(){const e=a.Config.get("slots");Object.keys(e).forEach(t=>{if("INT"===t||"delete"===t)return;const o=[...e[t]].sort((e,t)=>e.minWidth-t.minWidth),a=new Array(o.length);let d=null;for(let e=o.length-1;e>=0;e--)e<o.length-1?o[e+1].minWidth>o[e].minWidth&&(d=o[e+1].minWidth):d=null,a[e]=d;let r=[];for(let e=0;e<o.length;e++){const t=o[e],n=t.minWidth,i=t.style;if("number"!=typeof n||!i||""===i.trim())continue;let s=[];s.push(`(min-width: ${n}px)`);const d=a[e];if(null!==d){const e=d-1;e>=n&&s.push(`(max-width: ${e}px)`)}s.length>0&&r.push(`@media ${s.join(" and ")} {\n  ${i.trim()}\n}`)}if(r.length>0){const e=document.createElement("style");e.type="text/css",e.innerHTML="\n"+r.join("\n\n")+"\n",document.head.appendChild(e),new s.Log(new n.LogMessage(`Added style: ${e.innerHTML}`,i.LogLevel.DEBUG))}})}}},327:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Sourcepoint=void 0;const n=o(374),i=o(477),s=o(827),a=o(946);class d{static start(){return this.startUpTimestamp=Date.now(),this.isActive()?this.isValidConfig()?(new i.Log(new a.LogMessage("Loading SourcePoint module.",s.LogLevel.DEBUG)),this.addStubfile(),this.launchOnTcf(),this.loadConfig(),this.addWrapperFile(),new i.Log(new a.LogMessage("SourcePoint module instantiated.",s.LogLevel.DEBUG)),!0):(new i.Log(new a.LogMessage("PrivacyManager configuration is missing.",s.LogLevel.ERROR)),!1):("manual"!=n.Config.get("initOn").toLowerCase()&&this.launchOnTcf(),!1)}static isActive(){return n.Config.get("modules.cmp.isActive")}static isValidConfig(){return Number.isInteger(n.Config.get("modules.cmp.propertyId"))&&Number.isInteger(n.Config.get("modules.cmp.privacyManagerId"))}static loadConfig(){window._sp_queue=[],window._sp_={config:{...window?._sp_?.config,accountId:n.Config.get("modules.cmp.accountId")||661,baseEndpoint:n.Config.get("modules.cmp.endpoint")||"https://cdn.privacy-mgmt.com",propertyId:n.Config.get("modules.cmp.propertyId"),gdpr:{},events:{onMessageChoiceSelect:function(){},onMessageReady:function(){},onMessageChoiceError:function(){new i.Log(new a.LogMessage("Sourcepoint: onMessageChoiceError",s.LogLevel.DEBUG))},onPrivacyManagerAction:function(){window.__tcfapi("getTCData",2,function(e,t){t&&new i.Log(new a.LogMessage("PrivacyManager Action Event received.",s.LogLevel.DEBUG))})},onPMCancel:function(){},onMessageReceiveData:function(){},onSPPMObjectReady:function(){},onConsentReady:function(e,t,o,r){n.Config.get("modules.contentpass.isActive")&&(new i.Log(new a.LogMessage("Contentpass module is enabled, dispatching CMP ready event if consent is given.",s.LogLevel.DEBUG)),!0===r?.consentedToAll?d.launchOnConsent():new i.Log(new a.LogMessage("No consent given, not dispatching event.",s.LogLevel.DEBUG)))},onError:function(){console.error("[event] Sourcepoint: Error",arguments)}}}},window._sp_.config={...window._sp_.config,...n.Config.get("modules.cmp.config")}}static addStubfile(){if(!n.Config.get("modules.cmp.loadStubFile"))return;const e=document.createElement("script");e.type="text/javascript",e.innerHTML='function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){for(var t,e,o=[],n=window,r=n;r;){try{if(r.frames.__tcfapiLocator){t=r;break}}catch(t){}if(r===n.top)break;r=n.parent}t||(function t(){var e=n.document,o=!!n.frames.__tcfapiLocator;if(!o)if(e.body){var r=e.createElement("iframe");r.style.cssText="display:none",r.name="__tcfapiLocator",e.body.appendChild(r)}else setTimeout(t,5);return!o}(),n.__tcfapi=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return o;"setGdprApplies"===n[0]?n.length>3&&2===parseInt(n[1],10)&&"boolean"==typeof n[3]&&(e=n[3],"function"==typeof n[2]&&n[2]("set",!0)):"ping"===n[0]?"function"==typeof n[2]&&n[2]({gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub"}):o.push(n)},n.addEventListener("message",(function(t){var e="string"==typeof t.data,o={};if(e)try{o=JSON.parse(t.data)}catch(t){}else o=t.data;var n="object"===_typeof(o)?o.__tcfapiCall:null;n&&window.__tcfapi(n.command,n.version,(function(o,r){var a={__tcfapiReturn:{returnValue:o,success:r,callId:n.callId}};t&&t.source&&t.source.postMessage&&t.source.postMessage(e?JSON.stringify(a):a,"*")}),n.parameter)}),!1))}();',document.head.appendChild(e),new i.Log(new a.LogMessage("TCF stub added.",s.LogLevel.DEBUG)),window.dispatchEvent(new Event("__baTCFStubAvailable"))}static addWrapperFile(){const e=document.createElement("script");e.type="text/javascript",document.head.appendChild(e),e.src=`${n.Config.get("modules.cmp.endpoint")||"https://cdn.privacy-mgmt.com"}/unified/wrapperMessagingWithoutDetection.js`,e.onload=()=>{new i.Log(new a.LogMessage(`SourcePoint loaded after ${Date.now()-this.startUpTimestamp}ms.`,s.LogLevel.DEBUG))}}static setUpTCData(e){null==e&&Object.keys(e).length?new i.Log(new a.LogMessage("Not updating local tcData object because retrieved object is empty.",s.LogLevel.WARN)):(window.__ba.tcData=e,window.dispatchEvent(new Event("__baTCDataAvailable")))}static showPrivacyManager(){const e=n.Config.get("modules.cmp.privacyManagerId");"number"==typeof e?"function"==typeof window._sp_.loadPrivacyManagerModal?window._sp_.loadPrivacyManagerModal(e):"function"==typeof window._sp_.gdpr.loadPrivacyManagerModal?window._sp_.gdpr.loadPrivacyManagerModal(e):new i.Log(new a.LogMessage("loadPrivacyManagerModal function is not available.",s.LogLevel.ERROR)):new i.Log(new a.LogMessage("Invalid PrivacyManager Id.",s.LogLevel.ERROR))}static onConsent(e,t,o){!0===o?.[e]||!0===window.__ba?.tcData?.vendor?.consents?.[e]?t():new i.Log(new a.LogMessage(`No consent for ${e}, not dispatching callback!`,s.LogLevel.DEBUG))}static launchOnTcf(){new i.Log(new a.LogMessage("Listening for TCF signal.",s.LogLevel.DEBUG)),"function"==typeof window.__tcfapi?window.__tcfapi("addEventListener",2,(e,t)=>{"useractioncomplete"!=e.eventStatus&&"tcloaded"!=e.eventStatus||(new i.Log(new a.LogMessage("Registered TCF event, dispatching.",s.LogLevel.DEBUG)),this.setUpTCData(e),n.Config.get("modules.contentpass.isActive")||(new i.Log(new a.LogMessage("Contentpass module is disabled, dispatching CMP ready event.",s.LogLevel.DEBUG)),window.dispatchEvent(new Event("__baCMPReady"))),window.__tcfapi("removeEventListener",2,e=>{new i.Log(new a.LogMessage("Removed TCF listener.",s.LogLevel.DEBUG))},e.listenerId))}):window.setTimeout(()=>
2this.launchOnTcf(),10)}static launchOnConsent(){Object.keys(window.__ba.tcData).length?(new i.Log(new a.LogMessage("tcData is set, dispatching CMP ready event.",s.LogLevel.DEBUG)),window.dispatchEvent(new Event("__baCMPReady"))):(new i.Log(new a.LogMessage("Awaiting tcData ...",s.LogLevel.DEBUG)),window.setTimeout(()=>this.launchOnConsent(),10))}static hasConsent(e){return Object.keys(window.__ba.tcData).length?!0===window.__ba?.tcData?.vendor?.consents?.[e]:(new i.Log(new a.LogMessage(`Can't check for consent for vendor ${e} because tcData object is not available (yet)!`,s.LogLevel.WARN)),!1)}}t.Sourcepoint=d,d.startUpTimestamp=0},331:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Base=void 0;const n=o(477),i=o(827),s=o(946),a=o(327),d=o(374),r=o(806),g=o(79),l=o(206),c=o(343),w=o(937),u=o(886),L=o(355),p=o(922),v=o(913),f=o(812),h=o(484),y=o(261),b=o(90),_=o(496),m=o(718);t.Base=class{constructor(){this.lazyAds=[],this.start=async()=>{if(new n.Log(new s.LogMessage("In start.",i.LogLevel.DEBUG)),h.StateMachine.getInstance().dispatch(h.State.Start),document.removeEventListener("visibilitychange",this.start),d.Config.get("containerVisibilityCheck")&&document.hidden)return new n.Log(new s.LogMessage("Visibility check is enabled and tab is hidden, delaying start.",i.LogLevel.DEBUG)),void document.addEventListener("visibilitychange",this.start);window.removeEventListener("__baRefreshAdContainer",this.start),window.removeEventListener("__baStart",this.start),window.dispatchEvent(new Event("__baOnStart")),new L.AdScale,await this.awaitContainers(),await this.startWhenContainerExist(),d.Config.get("modules.spa.routeChange")&&g.Utils.registerSPARouteChange()},this.loadNewAdContainer=()=>{if(g.Utils.isPageExcluded())return void new n.Log(new s.LogMessage("Page is excluded or section is no_ads, aborting new ad load.",i.LogLevel.DEBUG));if(h.StateMachine.getInstance().getCurrentState()===h.State.Auction)return void new n.Log(new s.LogMessage("State is auction, aborting new ad load.",i.LogLevel.DEBUG));new n.Log(new s.LogMessage("Loading new ad containers.",i.LogLevel.DEBUG)),window.removeEventListener("__baFirstLoad",this.loadNewAdContainer);const e=this.initAdContainer(!0);0!==e.length?(new n.Log(new s.LogMessage(`Found new containers: ${e}.`,i.LogLevel.DEBUG)),l.AdManager.loadAds(e,!d.Config.get("modules.yieldlove.isActive"),!0),c.YieldLove.loadYLAds(e)):new n.Log(new s.LogMessage("Aborting, no new ad containers.",i.LogLevel.DEBUG))},this.queueRemainingContainers=()=>{if(!d.Config.get("modules.yieldlove.isActive"))return;new n.Log(new s.LogMessage("Queueing new containers.",i.LogLevel.DEBUG));const e=this.initAdContainer(!0);0!==e.length?(new n.Log(new s.LogMessage(`Found new containers: ${e}.`,i.LogLevel.DEBUG)),l.AdManager.loadAds(e,!1,!1)):new n.Log(new s.LogMessage("Aborting, no new ad containers.",i.LogLevel.DEBUG))},this.loadLazyContainer=e=>{const t=e.detail;if(!window.__ba.adSlotsLazy.has(t.getId()))return void new n.Log(new s.LogMessage(`${t.getId()} is not being awaited, aborting.`,i.LogLevel.DEBUG));new n.Log(new s.LogMessage(`Loading lazy container ${t.getId()}.`,i.LogLevel.DEBUG)),document.getElementById(t.getId())?.removeEventListener("__baLoadLazyContainer",this.loadLazyContainer);const o=h.StateMachine.getInstance().getCurrentState();new n.Log(new s.LogMessage(`State is ${o}.`,i.LogLevel.DEBUG)),[h.State.Fetch,h.State.Idle].includes(o)?(new n.Log(new s.LogMessage("Loading directly.",i.LogLevel.DEBUG)),l.AdManager.loadAds([t],!d.Config.get("modules.yieldlove.isActive"),!0),c.YieldLove.loadYLAds([t])):(new n.Log(new s.LogMessage("Queue.",i.LogLevel.DEBUG)),l.AdManager.loadAds([t],!1,!1))},this.refreshContainers=g.Utils.throttle(async()=>{if(new n.Log(new s.LogMessage("Refreshing all ad slots.",i.LogLevel.DEBUG)),h.StateMachine.getInstance().getCurrentState()===h.State.Start)return void new n.Log(new s.LogMessage("State is start, aborting refresh.",i.LogLevel.INFO));h.StateMachine.getInstance().dispatch(h.State.Start),m.AutoPoll.stopAutoPolling(),b.InsertionAd.abort(),v.FloorAd.close(),window.googletag.pubads().clearTargeting(),window.googletag.pubads().clearCategoryExclusions(),window.googletag.destroySlots();try{window.Ads_BA_WALL.root.innerHTML=""}catch(e){}if(window.Ads_BA_WALL={},window.__ba.adSlot={},window.__ba.adSlotsWaiting=[],window.__ba.adSlotsLazy=new Set,window.__ba.isYLCalled=!1,window.Ads_BA_DV={}
2,document.querySelectorAll('div[id^="Ads_BA_"]').forEach(e=>{g.Utils.clearElementAttributes(e),e.innerHTML="",e.style=""}),d.Config.get("modules.insertionAd.isActive")){const e=document.querySelector("div#Ads_BA_LSKY");e&&(new n.Log(new s.LogMessage("Removing left sky.",i.LogLevel.DEBUG)),e?.parentElement?.remove())}if(addEventListener("__baFirstLoad",this.loadNewAdContainer),g.Utils.isPageExcluded())return void new n.Log(new s.LogMessage("Page is excluded or section is no_ads, aborting refresh.",i.LogLevel.DEBUG));if(window.__ba.loaded=!1,d.Config.get("modules.spa.sleep")&&(new n.Log(new s.LogMessage(`Sleeping for ${d.Config.get("modules.spa.sleepDelay")||1e3}ms before continuing.`,i.LogLevel.DEBUG)),await new Promise(e=>setTimeout(e,d.Config.get("modules.spa.sleepDelay")||1e3)),g.Utils.isPageExcluded()))return void new n.Log(new s.LogMessage("Page is excluded or section is no_ads, aborting refresh.",i.LogLevel.DEBUG));v.FloorAd.insert(),await this.awaitContainers();const e=this.initAdContainer(!0);0!==e.length?(b.InsertionAd.start(),f.DoubleVerify.loadTargetings(),w.AudienceProject.setTargetings(),l.AdManager.loadAds(e,!d.Config.get("modules.yieldlove.isActive"),!1),c.YieldLove.load(e)):new n.Log(new s.LogMessage("Aborting refresh, no ad containers found.",i.LogLevel.DEBUG))},d.Config.get("modules.spa.throttle")||1e3),this.onCMPReady=async()=>{if(window.removeEventListener("__baCMPReady",this.onCMPReady),window.removeEventListener("__baRefreshAdContainer",this.onCMPReady),g.Utils.isPageExcluded())return new n.Log(new s.LogMessage("Page is excluded or section is no_ads, aborting start.",i.LogLevel.DEBUG)),h.StateMachine.getInstance().dispatch(h.State.Idle),void window.addEventListener("__baRefreshAdContainer",this.onCMPReady);new n.Log(new s.LogMessage("CMP Ready.",i.LogLevel.DEBUG)),0==this.lazyAds.length&&(this.lazyAds=this.prepareLazyContainers()),c.YieldLove.init(),f.DoubleVerify.loadTargetings(),l.AdManager.preLoad(),new w.AudienceProject},window.dispatchEvent(new Event("__baInit")),d.Config.set("version","2.8.9"),new n.Log(new s.LogMessage(" -= AdLib start! =-",i.LogLevel.DEBUG)),new n.Log(new s.LogMessage(`Version: ${d.Config.get("version")}`,i.LogLevel.DEBUG)),new n.Log(new s.LogMessage(`Last update: ${d.Config.get("editDate")}`,i.LogLevel.DEBUG)),window.addEventListener("__baStart",this.start),window.addEventListener("__baCMPReady",this.onCMPReady),h.StateMachine.getInstance().dispatch(h.State.Consent),new y.ResponsiveStyleCreator,new p.ContentPass,a.Sourcepoint.start(),new _.Welect,0==this.lazyAds.length&&(this.lazyAds=this.prepareLazyContainers())}containersExist(){return!!document.querySelectorAll('div[id^="Ads_BA_"]')?.length}async awaitContainers(){for(;!this.containersExist();)new n.Log(new s.LogMessage("Polling for containers.",i.LogLevel.DEBUG)),await new Promise(e=>setTimeout(e,10))}async startWhenContainerExist(){v.FloorAd.insert();const e=this.initAdContainer(!0).concat(this.lazyAds);if(addEventListener("__baLoadNewAdContainer",()=>{window.__ba.loaded?this.loadNewAdContainer():(new n.Log(new s.LogMessage("Awaiting first load to load new containers.",i.LogLevel.DEBUG)),window.addEventListener("__baFirstLoad",this.loadNewAdContainer))}),0===e.length)return new n.Log(new s.LogMessage("Could not find any AdContainer.",i.LogLevel.DEBUG)),void(window.__ba.loaded=!0);if(d.Config.get("modules.spa.isActive")&&(d.Config.get("modules.spa.routeChange")?(new n.Log(new s.LogMessage("SPA mode is active and route changes are being detected automatically.",i.LogLevel.DEBUG)),addEventListener("__baRouteChange",this.refreshContainers
2)):(new n.Log(new s.LogMessage("SPA mode is active, adding refresh handler.",i.LogLevel.DEBUG)),addEventListener("__baRefreshAdContainer",this.refreshContainers))),addEventListener("__baBeforeGAMRequest",this.queueRemainingContainers),addEventListener("__baFirstLoad",this.loadNewAdContainer),d.Config.get("modules.insertionAd.isActive")&&b.InsertionAd.start(),d.Config.get("modules.autoPoll.isActive")&&(new n.Log(new s.LogMessage("AutoPoll is active, adding listener to first load.",i.LogLevel.DEBUG)),addEventListener("__baFirstLoad",m.AutoPoll.startAutoPolling)),c.YieldLove.load(e),l.AdManager.loadAds(e,!d.Config.get("modules.yieldlove.isActive"),!1),!window.__ba.loaded){const t=e.filter(e=>e.isFirstCall())?.[0];try{if(!t)throw new Error("firstAd is none");new n.Log(new s.LogMessage("Waiting for first load after slotRenderEnded.",i.LogLevel.DEBUG))}catch(e){new n.Log(new s.LogMessage(`Dispatching first load event directly: ${e}`,i.LogLevel.DEBUG)),window.__ba.loaded=!0,window.dispatchEvent(new Event("__baFirstLoad"))}}new u.ExitBee}initAdContainer(e){const t=g.Utils.getViewportSize();new n.Log(new s.LogMessage(`Viewport: ${t.width}x${t.height}.`,i.LogLevel.DEBUG));const o=d.Config.get("slots");let a=[];return Object.keys(o).forEach(d=>{const g=`Ads_BA_${d}`;if(o.delete&&o.delete.includes(d))return new n.Log(new s.LogMessage(`AdContainer ${d} deleted.`,i.LogLevel.DEBUG)),void document.getElementById(g)?.dispatchEvent(new Event("__baSlotDeleted"));if(window.__ba.adSlotsLazy.has(g)){if(new n.Log(new s.LogMessage(`${g} is already being awaited ...`,i.LogLevel.DEBUG)),document.getElementById(g)?.hasAttribute("data-adsba_observed"))return void new n.Log(new s.LogMessage("... and is being observed.",i.LogLevel.DEBUG));new n.Log(new s.LogMessage("... but is not being observed.",i.LogLevel.DEBUG)),window.__ba.adSlotsLazy.delete(g)}if(!window.__ba.adSlot.hasOwnProperty(g)&&(document.getElementById(g)||"INT"===d.toUpperCase())){const l=document.getElementById(g),c=new r.AdContainer(g,o[d],t);if(!c.isActive())return new n.Log(new s.LogMessage(`AdContainer ${d} deleted (inactive for viewport).`,i.LogLevel.DEBUG)),void document.getElementById(g)?.dispatchEvent(new Event("__baSlotDeleted"));e&&c.isLazyLoading()?e&&c.isLazyLoading()&&(a.push(c),c.addLazyLoadingObserver(l),window.__ba.adSlotsLazy.add(g),l?.addEventListener("__baLoadLazyContainer",this.loadLazyContainer),new n.Log(new s.LogMessage(`AdContainer ${d} added (lazy loading).`,i.LogLevel.DEBUG))):(a.push(c),new n.Log(new s.LogMessage(`AdContainer ${d} added.`,i.LogLevel.DEBUG))),l?.dispatchEvent(new Event("__baSlotRegistered"))}}),a}prepareLazyContainers(){const e=g.Utils.getViewportSize(),t=d.Config.get("slots");let o=[];return new n.Log(new s.LogMessage("Fetching lazy containers.",i.LogLevel.DEBUG)),Object.keys(t).forEach(a=>{const d=`Ads_BA_${a}`,g=document.getElementById(d);if(t.delete&&t.delete.includes(a)||!g)return;const l=new r.AdContainer(d,t[a],e);l.isActive()&&l.isLazyLoading()&&(o.push(l),l.addLazyLoadingObserver(g),window.__ba.adSlotsLazy.add(d),g?.addEventListener("__baLoadLazyContainer",this.loadLazyContainer),new n.Log(new s.LogMessage(`AdContainer ${a} added (lazy loading).`,i.LogLevel.DEBUG)),g?.dispatchEvent(new Event("__baSlotRegistered")))}),o}}},343:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.YieldLove=void 0;const n=o(206),i=o(374),s=o(477),a=o(946),d=o(827),r=o(484);class g extends n.AdManager{static loadYieldlove(){g.loadTimestamp=Date.now(),new s.Log(new a.LogMessage("Loading YieldLove.",d.LogLevel.DEBUG)),window.yieldlove_prevent_autostart=!i.Config.get("modules.yieldlove.autoStart");const e=document.createElement("script");e.type="text/javascript";let t=2===i.Config.get("modules.yieldlove.version")?"https://cdn-a.yieldlove.com/v2/yieldlove.js?":"https://cdn-a.yieldlove.com/yieldlove-bidder.js?";i.Config.get("modules.yieldlove.url")?e.src=t+i.Config.get("modules.yieldlove.url"):e.src=t+i.Config.get("url"),e.onload=()=>{new s.Log(new a.LogMessage(`Yieldlove loaded after ${Date.now()-g.loadTimestamp}ms.`,d.LogLevel.DEBUG)),g.startUpTimestamp=Date.now(),super.loadGPT(),window.addEventListener("yieldlove.beforeSendingAdServerRequest",e=>{r.StateMachine.getInstance().dispatch(r.State.Fetch),window.__ba.isYLCalled=!0,window.dispatchEvent(new Event("__baBeforeGAMRequest")),new s.Log(new a.LogMessage(`YieldLove sending GAM request after ${Date.now()-g.startUpTimestamp}ms, ${Date.now()-g.loadTimestamp}ms after loading module.`,d.LogLevel.DEBUG)),window.Ads_BA_DV={}})},document.head.appendChild(e),new s.Log(new a.LogMessage("Yieldlove module instantiated.",d.LogLevel.DEBUG))}static init(){if(!i.Config.get("modules.yieldlove.isActive"))return new s.Log(new a.LogMessage("YieldLove module is inactive, skipping load.",d.LogLevel.DEBUG)),void super.loadGPT();this.loadYieldlove()}static load(e){i.Config.get("modules.yieldlove.isActive")&&(new s.Log(new a.LogMessage("YieldLove queueing auction.",d.LogLevel.DEBUG)),r.StateMachine.getInstance().dispatch(r.State.Auction),window.yieldlove_cmd.push(()=>{window.YLHH.bidder.startAuction(),new s.Log(new a.LogMessage(`YieldLove started auction after ${Date.now()-g.startUpTimestamp}ms, ${Date.now()-g.loadTimestamp}ms after loading module.`,d.LogLevel.DEBUG))}))}static loadYLAds(e){i.Config.get("modules.yieldlove.isActive")&&(new s.Log(new a.LogMessage("YieldLove.loadYLAds deprecation info.",d.LogLevel.INFO)),super.refresh(e))}}t.YieldLove=g,g.startUpTimestamp=0,g.loadTimestamp=0},355:(e,t,o)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.AdScale=void 0;const n=o(374);t.AdScale=class{constructor(){if(!n.Config.get("modules.adscale.isActive"))return;const e=document.createElement("script");e.type="text/javascript",e.src="//js.adscale.de/map.js",document.head.appendChild(e)}}},356:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LogStorage=void 0;class o{static push(e){o.buffer.push(e)}static print(){const e=o.buffer.map(e=>e.getMessage());return e.forEach(e=>console.log(e)),e}}t.LogStorage=o,o.buffer=[]},374:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;const n=o(477),i=o(827),s=o(946),a=o(444);class d{static load(){let e=o(219);return window.__ba.config=d.mergeConfigs(window.__ba.config,e),d.setPublisherConfig(!1),d.setUrlParamConfig(),window.__ba.config}static get(e){return"section"===e&&this.setPublisherConfig(!0),e.split(".").reduce((e,t)=>e&&e[t],window.__ba.config)}static getLegacy(e){let t;switch(e){case"Ads_BA_ADIDlibInfo":new n.Log(new s.LogMessage(`${e} is deprecated. Use window.__ba object instead.`,i.LogLevel.WARN)),t=`${d.get("editDate")} ${d.get("editor")}`;break;case"yieldlove_site_id":case"Ads_BA_ADIDsite":t=d.get("url");break;case"Ads_BA_ADIDfullsite":t=`${d.get("MCM")}${d.get("url")}`;break;case"Ads_BA_W_site":new n.Log(new s.LogMessage(`${e} is deprecated. Use window.__ba object instead.`,i.LogLevel.WARN)),t=d.get("url");break;case"Ads_BA_loadDV":t=d.get("modules.doubleverify.isActive");break;case"Ads_BA_W_conf":new n.Log(new s.LogMessage(`${e} is deprecated. Use window.__ba object instead.`,i.LogLevel.WARN)),t=d.get("wallpaperConfig.v1");break;case"Ads_BA_W2_conf":t=d.get("wallpaperConfig.v2");break;case"Ads_BA_ADIDsection":t=d.get("section");break;case"Ads_BA_keyword":t=d.get("keywords")}return null==t&&new n.Log(new s.LogMessage(`${e} was deprecated and is removed. Use window.__ba object instead.`,i.LogLevel.ERROR)),t}static set(e,t){const o=e.split(".");let n=window.__ba.config;for(let e=0;e<o.length-1;e++){const t=o[e];n[t]&&"object"==typeof n[t]||(n[t]={}),n=n[t]}n[o[o.length-1]]=t}static mergeConfigs(e,t){for(const o in t)t.hasOwnProperty(o)&&!e.hasOwnProperty(o)?e[o]=t[o]:"object"!=typeof t[o]||Array.isArray(t[o])||(e[o]=d.mergeConfigs(e[o],t[o]));return e}static setUrlParamConfig(){const e=new URLSearchParams(location.search),t=e.get("adsbasection");null!==t&&d.set("section",t.toLowerCase().substring(0,35));const o=e.get("adsbadel");if(null!==o){const e=o.split(",").map(e=>e.trim());d.set("slots.delete",e)}null!==e.get("adsbadebug")&&d.set("debug",!0);const a=e.get("adsbakw");null!==a&&d.set("keywords",`${d.get("keywords")},${a}`),null!==e.get("adsbatest")&&(new n.Log(new s.LogMessage("BA test is enabled.",i.LogLevel.INFO)),d.set("debug",!0),d.set("section","test"),d.set("MCM","/4574/"),d.get("modules.cmp.isActive")&&(new n.Log(new s.LogMessage(`Setting SourcePoint URL to ${d.get("url")}.`,i.LogLevel.DEBUG)),d.set("modules.cmp.config",{propertyHref:`https://${d.get("url")}`,joinHref:!0})))}static setPublisherConfig(e){const t=new URLSearchParams(location.search),o=t.get("adsbasection")?.toLowerCase()||(t.get("adsbatest")?"test":void 0)||window.__ba.publisher?.section?.toString()||window.Ads_BA_ADIDsection?.toString();o&&o.length>0&&d.set("section",o.replaceAll(" ",""));const n=window.__ba.publisher?.loglevel?.toString();n&&n.length>0&&d.set("loglevel",n.trim());const i=window.__ba.publisher?.keywords?.toString()||window.Ads_BA_keyword?.toString();if(i&&i.length>0){const t=i.split(",").map(e=>e.trim());if(t.length>0){let o=t;e||o.push(...d.get("keywords").split(",")),d.get("initialLoad")||o.push("ba_sra"),d.set("keywords",[...new Set(o)].toString())}}d.get("modules.keywordCollector.isActive")&&a.TargetingProvider.setKeywords(),d.get("modules.urlTargeting.isActive")&&a.TargetingProvider.setUrlTargeting()}}t.Config=d},444:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TargetingProvider=void 0;const n=o(374),i=o(946),s=o(827),a=o(477);class d{static setKeywords(){if(!n.Config.get("modules.keywordCollector.isActive"))return!1;const e=d.readKeywords();if(!e.length)return new a.Log(new i.LogMessage("Retrieved no keywords.",s.LogLevel.DEBUG)),!1;if("expand"==n.Config.get("modules.keywordCollector.mode")){const t=n.Config.get("keywords").split(",").map(e=>e.trim());n.Config.set("keywords",[...new Set([...e,...t])].toString()),new a.Log(new i.LogMessage(`Expanded meta keywords by ${JSON.stringify(e)}`,s.LogLevel.DEBUG))}else"replace"==n.Config.get("modules.keywordCollector.mode")&&(n.Config.set("keywords",[...new Set(e)].toString()),new a.Log(new i.LogMessage(`Replaced meta keywords with ${JSON.stringify(e)}`,s.LogLevel.DEBUG)));return!0}static readKeywords(){const e=n.Config.get("modules.keywordCollector.name")||"keywords",t=n.Config.get("modules.keywordCollector.separator")||",";try{return document.querySelector(`meta[name=${e}]`).getAttribute("content").split(t).map(e=>e.replaceAll(" ",""))}catch(e){return new a.Log(new i.LogMessage(`Could not read keywords: ${e}`,s.LogLevel.DEBUG)),[]}}static getSection(e){try{const t=document.getElementById(e.getId());return t.hasAttribute("data-adsba_section")&&t.getAttribute("data-adsba_section")||n.Config.get("section")}catch(e){return n.Config.get("section")}}static getKeyword(e){try{const t=document.getElementById(e.getId());return t.hasAttribute("data-adsba_keyword")&&t.getAttribute("data-adsba_keyword")||""}catch(e){return""}}static setUrlTargeting(){googletag.cmd.push(()=>{googletag.pubads().clearTargeting("site_path")});const e=window.location.pathname?.split("#")?.[0];googletag.cmd.push(()=>{googletag.pubads().setTargeting("site_path",e)})}}t.TargetingProvider=d},477:(e,t,o)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.Log=void 0;const n=o(827),i=o(374),s=o(356);t.Log=class{constructor(e){s.LogStorage.push(e),""===e.getMessage()||e.getLevel()===n.LogLevel.DEBUG&&!i.Config.get("debug")||!i.Config.get("debug")&&"nologs"===i.Config.get("loglevel")||e.getLevel()!==n.LogLevel.INFO&&({[n.LogLevel.DEBUG]:console.debug,[n.LogLevel.INFO]:console.info,[n.LogLevel.WARN]:console.warn,[n.LogLevel.ERROR]:console.error}[e.getLevel()]||console.log)(e.getMessage())}}},484:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StateMachine=t.State=void 0;const n=o(477),i=o(827),s=o(946);var a;!function(e){e.Config="Config",e.Consent="Consent",e.Start="Start",e.Auction="Auction",e.Fetch="Fetch",e.Idle="Idle"}(a||(t.State=a={}));class d{constructor(e){this.currentState=e,this.callbacks=new Map}static getInstance(e=a.Config){return this.instance||(this.instance=new d(e)),this.instance}dispatch(e){this.currentState!==e&&(new n.Log(new s.LogMessage(`State changing from ${this.currentState} to ${e}.`,i.LogLevel.DEBUG)),this.currentState=e,this.triggerCallbacks(e))}getCurrentState(){return this.currentState}onStateChange(e,t){this.callbacks.has(e)||this.callbacks.set(e,[]),this.callbacks.get(e)?.push(t)}triggerCallbacks(e){const t=this.callbacks.get(e)||[];t.length&&(new n.Log(new s.LogMessage(`Triggering ${t.length} callbacks after changing state.`,i.LogLevel.DEBUG)),t.forEach(e=>e()),this.callbacks.delete(e))}}t.StateMachine=d,d.instance=null},496:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Welect=void 0;const n=o(374),i=o(327),s=o(79),a=o(946),d=o(827),r=o(477);t.Welect=class{insertScript(){const e=document.createElement("script");e.type="text/javascript",e.src=`https://static.wlct-one.de/p/bundles/${n.Config.get("modules.welect.uuid")}.js#wbss`,document.head.appendChild(e)}isGptReady(){return!!window.googletag?.apiReady}loadIfNoGpt(){this.isGptReady()?new r.Log(new a.LogMessage("GPT is loaded, skipping Welect module.",d.LogLevel.DEBUG)):(new r.Log(new a.LogMessage("GPT is not loaded, loading Welect module.",d.LogLevel.DEBUG)),this.insertScript())}constructor(){n.Config.get("modules.welect.isActive")&&!s.Utils.isPageExcluded()&&(new r.Log(new a.LogMessage("Loading Welect module.",d.LogLevel.DEBUG)),n.Config.get("modules.welect.uuid")?window.setTimeout(()=>{if(s.Utils.isPageExcluded())new r.Log(new a.LogMessage("Page is excluded, skipping Welect module.",d.LogLevel.DEBUG));else{if(!n.Config.get("modules.welect.skipConsent"))return"function"!=typeof window.__tcfapi?(new r.Log(new a.LogMessage("TCFAPI is not available, loading Welect module.",d.LogLevel.DEBUG)),void this.insertScript()):void window.__tcfapi("ping",2,e=>{e?.cmpLoaded?"useractioncomplete"==window.__ba.tcData?.eventStatus||"tcloaded"==window.__ba.tcData?.eventStatus?(new r.Log(new a.LogMessage("CMP is loaded.",d.LogLevel.DEBUG)),i.Sourcepoint.onConsent(282,()=>{this.loadIfNoGpt()})):(new r.Log(new a.LogMessage("Awaiting CMP ready event.",d.LogLevel.DEBUG)),window.addEventListener("__baCMPReady",()=>{i.Sourcepoint.onConsent(282,()=>{this.loadIfNoGpt()})})):(new r.Log(new a.LogMessage("CMP is not loaded, loading Welect module.",d.LogLevel.DEBUG)),this.insertScript())});this.loadIfNoGpt()}},n.Config.get("modules.welect.sleepDelay")||5e3):new r.Log(new a.LogMessage("Welect UUID is not set.",d.LogLevel.WARN)))}}},718:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AutoPoll=void 0;const n=o(374),i=o(946),s=o(477),a=o(827);class d{static stopAutoPolling(){0!=d.intervalID&&(window.clearInterval(d.intervalID),d.intervalID=0,new s.Log(new i.LogMessage("Auto polling stopped.",a.LogLevel.DEBUG)))}static pollContainers(){window.dispatchEvent(new Event("__baLoadNewAdContainer"))}}t.AutoPoll=d,d.intervalID=0,d.startAutoPolling=()=>{window.removeEventListener("__baFirstLoad",d.startAutoPolling),n.Config.get("modules.autoPoll.isActive")&&0==d.intervalID&&(d.intervalID=window.setInterval(d.pollContainers,n.Config.get("modules.autoPoll.interval")),new s.Log(new i.LogMessage(`Auto polling started with interval ${n.Config.get("modules.autoPoll.interval")}ms.`,a.LogLevel.DEBUG)))}},806:(e,t,o)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.AdContainer=void 0;const n=o(946),i=o(827),s=o(477),a=o(79);t.AdContainer=class{constructor(e,t,o){this.sizes=[],this.lazyLoading=!1,this.type="normal",this.observer=null,this.observed=!1,this.containerId=e;const n=this.getAdObjectByViewport(t,o.width);n&&(this.sizes=n.sizes,this.pos=n.pos,this.lazyLoading=n.lazy,this.lazyMargin=n?.lazyMargin,this.type=n.type,this.code=n.code,this.selector=n.selector,this.style=n.style,this.method=n.method)}getAdObjectByViewport(e,t){let o,n=0;for(const i of e)i.minWidth<=t&&i.minWidth>=n&&(o=i,n=i.minWidth);return o}getId(){return this.containerId}setId(e){return!!document.getElementById(e)&&(this.containerId=e,!0)}getSizes(){const e=[];for(const t of this.sizes){if("fluid"===t?.toLowerCase()){e.push("fluid");continue}const[o,n]=t.split("x"),i=parseInt(o,10),s=parseInt(n,10);isNaN(i)||isNaN(s)||e.push([i,s])}return e}getDoubleVerifySizes(){const e=[];return this.sizes.forEach(t=>{if("fluid"===t?.toLowerCase())return;const[o,n]=t.split("x"),i=parseInt(o,10),s=parseInt(n,10);if(!isNaN(i)&&!isNaN(s)){const t={width:i,height:s};e.push(t)}}),e}getPosition(){return this.pos}isLazyLoading(){return this.lazyLoading}getAdType(){return this.type}getObserved(){return this.observed}calculateLazyMargin(){let e=a.Utils.isMobile()?1:.5;return"number"==typeof this.lazyMargin&&(new s.Log(new n.LogMessage(`Lazy margin for ${this.containerId} is set to ${this.lazyMargin}, changing from default ${e}.`,i.LogLevel.DEBUG)),e=this.lazyMargin),a.Utils.getViewportSize().height*e+"px"}addLazyLoadingObserver(e){if(null===e)return void new s.Log(new n.LogMessage(`Could not add observer: Element for ${this.containerId} is null.`,i.LogLevel.ERROR));if(new s.Log(new n.LogMessage(`Trying to add IntersectionObserver to element for ${this.containerId}.`,i.LogLevel.DEBUG)),null!==this.observer){if(!e?.hasAttribute("data-adsba_observed"))return void new s.Log(new n.LogMessage(`${e} is already being awaited for lazy loading, aborting.`,i.LogLevel.WARN));new s.Log(new n.LogMessage("Observer is active, but element is not being observed!",i.LogLevel.DEBUG))}const t={root:null,rootMargin:this.calculateLazyMargin(),threshold:.01};this.observer=new IntersectionObserver((t,o)=>{t.forEach(t=>{t.isIntersecting&&(new s.Log(new n.LogMessage(`${e.id} intersected.`,i.LogLevel.DEBUG)),this.observed=!0,e?.dispatchEvent(new CustomEvent("__baLoadLazyContainer",{detail:this})),o.unobserve(e),this.observer=null)})},t),this.observer.observe(e),e.setAttribute("data-adsba_observed","1")}toString(){return this.containerId}isActive(){if(!this.getSizes().length)return!1;const e=this.getSizes()[0];return 0!==e?.[0]&&0!==e?.[1]}isFirstCall(){return!this.isLazyLoading()&&["normal","interstitial","floor"].includes(this.getAdType())&&this.isActive()}getCode(){return this.code}getSelector(){return this.selector}getInsertionMethod(){return this.method}isDuplicate(){return document.querySelectorAll(`#${this.containerId}`)?.length>1}}},812:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DoubleVerify=void 0;const n=o(374),i=o(477),s=o(827),a=o(946),d=o(806),r=o(79);class g{constructor(e,t,o,n,d,r,g){document.getElementById(e)?.dispatchEvent(new Event("__baSlotBeforeDoubleVerify"));const l=g||e.substring(7);if(void 0!==window.Ads_BA_DV){const t=window.Ads_BA_DV[l];if(t){if(!1===t?.autotrack)return void new i.Log(new a.LogMessage(`DV wrapper is disabled for container ${e}.`,s.LogLevel.DEBUG));t?.contuid&&(e=t.contuid),t?.sz&&(r=t.sz)}}try{const i=document.getElementById(e)?.getElementsByTagName("iframe")[0],s=i?.id||e;i?.setAttribute("data-dv-view",s),(i?.parentElement||document.head).appendChild(this.createDoubleVerifyScript(e,t,o,n,d,r,l)),document.getElementById(e)?.dispatchEvent(new Event("__baSlotDoubleVerifyAdded"))}catch(t){new i.Log(new a.LogMessage(`Cannot add DoubleVerify Script: ${t}`,s.LogLevel.ERROR)),document.getElementById(e)?.dispatchEvent(new Event("__baSlotDoubleVerifyError"))}}createDoubleVerifyScript(e,t,o,i,s,a,d){const r=`${n.Config.get("MCM")}${n.Config.get("url")}/${n.Config.get("section")}`;a=Array.isArray(a)?a:[0,0];const g=document.createElement("script");return g.src=`https://cdn.doubleverify.com/dvtp_src.js#dvp_scripthash=1&t2te=0&seltag=1&adsrv=104&cmp=DV755242&ctx=24421163&sadv=${t}&ord=${o}
2&litm=${i}&scrt=${s}&splc=${r}&adu=${n.Config.get("section")}&unit=${a[0]}x${a[1]}&dvp_qtpid=0&dvp_qtsid=0&btreg=${e}&btadsrv=${e}&spos=${d}`,g.async=!0,g}static loadDVQT(){if("object"==typeof window.dvtag?._core)return;const e=Date.now(),t=document.createElement("script");t.type="text/javascript",t.src=this._dvqtUrl,t.onload=()=>{new i.Log(new a.LogMessage(`DoubleVerify loaded after ${Date.now()-e}ms.`,s.LogLevel.DEBUG))},document.head.appendChild(t)}static setTargetings(){const e=window.dvtag.getTargeting();window.googletag.cmd.push(()=>{for(const t in e)googletag.pubads().setTargeting(`dv_${t.toLowerCase()}`,e[t]);new i.Log(new a.LogMessage(`Added DV targetings after ${Date.now()-this.startUpTimestamp}ms.`,s.LogLevel.DEBUG))}),new i.Log(new a.LogMessage(`DoubleVerify loaded targetings after ${Date.now()-this.startUpTimestamp}ms.`,s.LogLevel.DEBUG)),n.Config.get("modules.yieldlove.isActive")||window.dispatchEvent(new Event("__baStart")),window.googletag?.apiReady?(new i.Log(new a.LogMessage("GPT is ready, adding viewability predictions now in DV callback.",s.LogLevel.DEBUG)),Object.keys(window.__ba.adSlot).forEach(e=>{window.__ba.adSlot[e]?.getTargeting("dv_vlp").length||this.setViewabilityPrediction(e)})):new i.Log(new a.LogMessage("GPT is not ready, setting prediction during slot definition.",s.LogLevel.DEBUG))}static getTargetings(){const e=window.dvtag.getTargeting()||{};return Object.keys(e).length?Object.keys(window.dvtag.getTargeting()).reduce((t,o)=>(t[`dv_${o.toLowerCase()}`]=e[o],t),{}):{}}static loadTargetings(){n.Config.get("modules.doubleverify.isActive")?(this.startUpTimestamp=Date.now(),new i.Log(new a.LogMessage("Loading DoubleVerify module.",s.LogLevel.DEBUG)),window.dvtag.cmd.push(()=>{const e=this.getViewabilityPredictionCandidates();Object.keys(e).length&&Object.keys(e).forEach(t=>{window.dvtag.defineSlot(t,e[t]),new i.Log(new a.LogMessage(`Added ${e[t].position} for viewability prediction.`,s.LogLevel.DEBUG))})}),window.dvtag.cmd.push(()=>{window.dvtag.queueAdRequest({callback:()=>{g.setTargetings()},timeout:200,timestamp:(new Date).getTime()})}),g.loadDVQT()):n.Config.get("modules.yieldlove.isActive")||window.dispatchEvent(new Event("__baStart"))}static getViewabilityPredictionCandidates(){new i.Log(new a.LogMessage("Checking for viewability prediction candidates.",s.LogLevel.DEBUG));const e=["delete","MICRO","INT","VID","OOP"],t=n.Config.get("slots"),o=Array.from(document.querySelectorAll('div[id^="Ads_BA_"]')).map(e=>e.id),g=r.Utils.getViewportSize();if(n.Config.get("modules.doubleverify.containerCheck")||new i.Log(new a.LogMessage("Container Check is disabled for DoubleVerify viewability prediction. Fetching heuristic for all containers.",s.LogLevel.DEBUG)),Object.keys(t).forEach(i=>{if(e.includes(i))return;if(t.delete&&t.delete.includes(i))return;if(document.getElementById(`Ads_BA_${i}`)&&n.Config.get("modules.doubleverify.containerCheck"))return;const s=new d.AdContainer(`Ads_BA_${i}`,t[i],g);"insertion"!=s.getAdType()&&"floor"!=s.getAdType()&&n.Config.get("modules.doubleverify.containerCheck")||o.includes(`Ads_BA_${i}`)||o.push(`Ads_BA_${i}`)}),new i.Log(new a.LogMessage(`Found ${o.length} containers.`,s.LogLevel.DEBUG)),!o.length)return{};const l=`${n.Config.get("MCM")}${n.Config.get("url")}/${n.Config.get("section")}`,c={};return o.forEach(e=>{const o=e.substring(7);if(null==t?.[o])return void new i.Log(new a.LogMessage(`Slot ${e} is not configured, skipping viewability prediction.`,s.LogLevel.DEBUG));const n=new d.AdContainer(e,t[o],g);n.isActive()?c[e]={id:l,position:o,sizes:n.getDoubleVerifySizes()}:new i.Log(new a.LogMessage(`Slot ${e} is not active, skipping viewability prediction.`,s.LogLevel.DEBUG))}),new i.Log(new a.LogMessage(`Found ${Object.keys(c).length} active containers eligible for viewability prediction.`,s.LogLevel.DEBUG)),c}static calculateRangeValue(e){return[0,1].includes(e)?[e]:Array.from({length:e-1},(e,t)=>t+2)}static setViewabilityPrediction(e){if(window.dvtag?.getTargeting(e)?.VLP?.length){const t=window.dvtag.getTargeting(e).VLP[0],o=parseInt(t,10)||0;window.__ba.adSlot[e].setTargeting("dv_vlp",g.calculateRangeValue(o)),new i.Log(new a.LogMessage(`Set viewability prediction targeting for ${e} to ${o}.`,s.LogLevel.DEBUG))}}}t.DoubleVerify=g,g._dvqtUrl="https://pub.doubleverify.com/dvtag/24421163/DV893056/pub.js",g.startUpTimestamp=0},827:(e,t)=>{var o;
2Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevel=void 0,function(e){e.DEBUG="debug",e.INFO="info",e.WARN="warn",e.ERROR="error"}(o||(t.LogLevel=o={}))},886:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExitBee=void 0;const n=o(374),i=o(327),s=o(477),a=o(946),d=o(827);t.ExitBee=class{constructor(){n.Config.get("modules.exitbee.isActive")&&i.Sourcepoint.onConsent(1027,()=>this.load())}load(){const e=document.createElement("script");e.type="text/javascript",e.innerHTML=`\n        (function (e, x, i, t, b) {e["ExitBeeObject"] = b;e[b] = e[b] || \n        function () { (e[b].args = e[b].args || []).push(arguments);};\n        a = x.createElement(i), m = x.getElementsByTagName(i)[0];\n        a.async = 1;a.src = t;m.parentNode.insertBefore(a, m) })\n        (window, document, "script", "https://cdn.exitbee.com/xtb.min.js", "xtb") \n        xtb("loadSite", "${n.Config.get("modules.exitbee.id")}");\n    `,document.head.appendChild(e),new s.Log(new a.LogMessage("ExitBee module instantiated.",d.LogLevel.DEBUG))}}},913:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FloorAd=void 0;const n=o(374),i=o(79),s=o(946),a=o(477),d=o(827),r=o(806);class g{static isFrequencyCapActive(){const e=window.localStorage.getItem("bad_floor_fc_ttl");if(null==e)return new a.Log(new s.LogMessage("Floor frequency cap is not set.",d.LogLevel.DEBUG)),!1;try{return parseInt(e)<Date.now()?(new a.Log(new s.LogMessage("Floor frequency cap has expired.",d.LogLevel.DEBUG)),g.clearFrequencyCap(),!1):(new a.Log(new s.LogMessage("Floor frequency cap is active.",d.LogLevel.DEBUG)),!0)}catch(e){return new a.Log(new s.LogMessage(`Could not parse frequency cap: ${e}.`,d.LogLevel.WARN)),g.clearFrequencyCap(),!1}}static clearFrequencyCap(){if(window.__ba.tcData?.purpose?.consents[1])try{window.localStorage.removeItem("bad_floor_fc_ttl"),new a.Log(new s.LogMessage("Cleared floor frequency cap.",d.LogLevel.DEBUG))}catch(e){new a.Log(new s.LogMessage(`Failed to clear floor frequency cap: ${e}.`,d.LogLevel.WARN))}else new a.Log(new s.LogMessage("Purpose is not set, not clearing floor frequency cap.",d.LogLevel.DEBUG))}static applyFrequencyCap(){const e="number"==typeof n.Config.get("modules.floorAd.fc")?n.Config.get("modules.floorAd.fc"):300;if(e<=0)new a.Log(new s.LogMessage("Floor FC is set to 0, skipping.",d.LogLevel.WARN));else if(window.__ba.tcData?.purpose?.consents[1])try{window.localStorage.setItem("bad_floor_fc_ttl",`${Date.now()+1e3*e}`),new a.Log(new s.LogMessage(`Set floor frequency cap to ${e} seconds.`,d.LogLevel.DEBUG))}catch(e){new a.Log(new s.LogMessage(`Failed to set floor frequency cap: ${e}.`,d.LogLevel.WARN))}else new a.Log(new s.LogMessage("Purpose is not set, not storing floor frequency cap.",d.LogLevel.DEBUG))}static insert(){if(!g.isActive())return void g.removeFromDOM();if(g.isFrequencyCapActive())return new a.Log(new s.LogMessage("Floor ad is blocked by frequency cap.",d.LogLevel.DEBUG)),void g.removeFromDOM();if(g.isBlocked())return new a.Log(new s.LogMessage("Floor ad is blocked by DOM element.",d.LogLevel.DEBUG)),void g.removeFromDOM();if(g.isInDOM())return void new a.Log(new s.LogMessage("Floor ad is already in DOM.",d.LogLevel.DEBUG));const e=document.createElement("div");e.id="outer_floor",e.style.display="none",e.style.right="0px",e.style.left="0px",e.style.bottom="0px",e.style.marginRight="auto",e.style.marginLeft="auto",e.style.boxSizing="content-box",e.style.zIndex="20",e.style.position="fixed",e.style.maxWidth="100vw",e.style.width="fit-content",e.style.border="1px solid gray",e.style.backgroundColor="white";const t=document.createElement("div");t.id="Ads_BA_FLOOR",e.appendChild(t);const o=document.createElement("div");o.id="close_floor",o.style.position="absolute",o.style.width="30px",o.style.height="30px",o.style.right="-1px",o.style.backgroundImage='url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjEyMi44NzhweCIgaGVpZ2h0PSIxMjIuODhweCIgdmlld0JveD0iMCAwIDEyMi44NzggMTIyLjg4IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMjIuODc4IDEyMi44OCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PGc+PHBhdGggZD0iTTEuNDI2LDguMzEzYy0xLjkwMS0xLjkwMS0xLjkwMS00Ljk4NCwwLTYuODg2YzEuOTAxLTEuOTAyLDQuOTg0LTEuOTAyLDYuODg2LDBsNTMuMTI3LDUzLjEyN2w1My4xMjctNTMuMTI3IGMxLjkwMS0xLjkwMiw0Ljk4NC0xLjkwMiw2Ljg4NywwYzEuOTAxLDEuOTAxLDEuOTAxLDQuOTg1LDAsNi44OD
2ZMNjguMzI0LDYxLjQzOWw1My4xMjgsNTMuMTI4YzEuOTAxLDEuOTAxLDEuOTAxLDQuOTg0LDAsNi44ODYgYy0xLjkwMiwxLjkwMi00Ljk4NSwxLjkwMi02Ljg4NywwTDYxLjQzOCw2OC4zMjZMOC4zMTIsMTIxLjQ1M2MtMS45MDEsMS45MDItNC45ODQsMS45MDItNi44ODYsMCBjLTEuOTAxLTEuOTAxLTEuOTAxLTQuOTg0LDAtNi44ODZsNTMuMTI3LTUzLjEyOEwxLjQyNiw4LjMxM0wxLjQyNiw4LjMxM3oiLz48L2c+PC9zdmc+")',o.style.backgroundSize="14px 14px",o.style.backgroundPosition="center",o.style.backgroundRepeat="no-repeat",o.style.backgroundColor="white",o.style.border="1px solid gray",o.style.top="-31px",o.style.borderTopLeftRadius="5px",o.style.borderTopRightRadius="5px",o.style.borderBottom="unset",o.style.boxSizing="content-box",o.style.cursor="pointer",o.onclick=function(){g.close()};const n=document.createElement("div");n.style.position="absolute",n.style.fontSize="10px",n.style.left="0px",n.style.top="-12px",n.style.lineHeight="10px",n.textContent="ANZEIGE",e.appendChild(o),e.appendChild(n),document.body?document.body.appendChild(e):document.addEventListener("DOMContentLoaded",()=>document.body.appendChild(e))}static show(){if(!g.isActive())return;g.applyFrequencyCap();const e=document.getElementById("outer_floor");null!==e&&(e.style.display="block",i.Utils.isMobile()&&(googletag.pubads().setCategoryExclusion("floorad"),(window.Ads_BA_WALL=window.Ads_BA_WALL||{}).mtrx="WALL"))}static close(){if(!g.isActive())return;const e=document.getElementById("outer_floor");if(null!==e){e.style.display="none";try{if(i.Utils.isMobile()){googletag.pubads().clearCategoryExclusions();try{delete window.Ads_BA_WALL.mtrx}catch(e){}}void 0!==window.__ba.adSlot.Ads_BA_FLOOR&&googletag.pubads().clear([window.__ba.adSlot.Ads_BA_FLOOR])}catch(e){}}}static isActive(){return"boolean"==typeof n.Config.get("modules.floorAd.isActive")?n.Config.get("modules.floorAd.isActive"):!!n.Config.get("slots.FLOOR")?.length}static isBlocked(){const e=i.Utils.getViewportSize(),t=n.Config.get("slots"),o=new r.AdContainer("Ads_BA_FLOOR",t.FLOOR,e),s=o?.getSelector();return!(!s||!s?.length||!document.querySelector(s))}static isInDOM(){return!!document.getElementById("outer_floor")}static removeFromDOM(){if(g.isInDOM())try{const e=document.getElementById("outer_floor");null!==e&&e.remove()}catch(e){new a.Log(new s.LogMessage(`Failed to remove floor ad from DOM: ${e}.`,d.LogLevel.WARN))}}}t.FloorAd=g},922:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ContentPass=void 0;const n=o(374),i=o(477),s=o(946),a=o(827);t.ContentPass=class{constructor(){n.Config.get("modules.contentpass.isActive")&&(this.setCMPConfig(),this.addContentPass())}setCMPConfig(){const e={...n.Config.get("modules.cmp.config"),isSPA:!0,targetingParams:{acps:"false"}};n.Config.set("modules.cmp.config",e)}addContentPass(){const e=`\n  (function() {\n    var cpBaseUrl = '${n.Config.get("modules.contentpass.baseUrl")}';\n    var cpController = cpBaseUrl + '${n.Config.get("modules.contentpass.controller")}';\n    var cpPropertyId = '${n.Config.get("modules.contentpass.propertyId")}';\n\n    !function(C,o,n,t,e,P,a,s){C.CPObject=n,C[n]||(C[n]=function(){\n    for(var i=arguments.length,c=new Array(i),r=0;r<i;r++)c[r]=arguments[r];var f=c[0],u=c[1],l=c[2];if(C[n].q||(C[n].q=[]),\n    e=Array.prototype.slice.call(arguments,0),!C[n].patched)if("fatal"===f&&u)C[n].le=u,\n    Array.prototype.forEach.call(C[n].q,(function(e){"error"===e[0]&&"function"==typeof e[1]&&e[1](u)\n    }));else if("error"===f&&"function"==typeof u)C[n].le&&u(C[n].le);else if("extension"===f&&u)l&&"function"==typeof l.init&&(l.init(),\n    l.initialized=!0);else if("authenticate"===f&&"function"==typeof u){try{\n    P=-1===(o.cookie||"").indexOf("_cpauthhint=")&&!(C.localStorage||{})._cpuser&&-1===C.location.href.toLowerCase().indexOf("cpauthenticated")\n    }catch(e){P=!1}if(P){a={isLoggedIn:function(){return!1},hasValidSubscription:function(){return!1}}\n    ;var p=u,d=!1,h=function(e,i){d||(d=!0,p(e,i))};if(e[1]=h,"function"==typeof o.hasPrivateToken)try{\n    o.hasPrivateToken(t||"https://my.contentpass.net").then((function(e){e||h(null,a)})).catch((function(){}))\n    }catch(e){}else h(null,a)}}C[n].q.push(e)});try{\n    ((s=(o.cookie.split("_cpauthhint=")[1]||"").split(";")[0])?Number(s[1]):NaN)>0&&(o.body?o.body.classList.add("cpauthenticated"):o.addEventListener("DOMContentLoaded",(function(){\n    o.body.classList.add("cpauthenticated")})))}catch(e){}C[n].l=+new Date,C[n].sv=6}(window,document,"cp");\n\n    cp('create', cpPropertyId, {\n      baseUrl: cpBaseUrl\n    });
2\n\n    cp('render', {\n      onFullConsent: function() {\n        console.log('[CP] onFullConsent');\n      }\n    })\n  })();\n\n  (function () {\n    cp('authenticate', function(err, user) {\n      if (err || (!user.isLoggedIn() && !user.hasValidSubscription())) {\n        (function spExecMsg() {\n          if (window._sp_ && window._sp_.executeMessaging) {\n            if (!window._sp_.config.isSPA) {\n              console.warn('[SPCP] Sourcepoint not in SPA mode!');\n            } else if (window._sp_.version) {\n              console.log('[SPCP] Sourcepoint already running');\n            } else {\n              console.log('[SPCP] Starting Sourcepoint');\n              window._sp_.executeMessaging();\n            }\n          } else {\n            console.log('[SPCP] Sourcepoint not loaded yet. Retrying.');\n            setTimeout(spExecMsg, 10);\n          }\n        })();\n      }\n    });\n  })();\n    `,t=document.createElement("script");t.type="text/javascript",t.innerHTML=e,document.head.appendChild(t);const o=document.createElement("script");o.type="text/javascript",o.src=`${n.Config.get("modules.contentpass.baseUrl")+n.Config.get("modules.contentpass.controller")}`,o.fetchPriority="high",document.head.appendChild(o),new i.Log(new s.LogMessage("ContentPass module instantiated.",a.LogLevel.DEBUG))}}},937:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AudienceProject=void 0;const n=o(374),i=o(477),s=o(946),a=o(827);class d{constructor(){this.startUpTimestamp=0,n.Config.get("modules.audienceProject.isActive")?(this.startUpTimestamp=Date.now(),new i.Log(new s.LogMessage("Loading AudienceProject module.",a.LogLevel.DEBUG)),window.dispatchEvent(new Event("__baBeforeAudienceProjectPrediction")),this.readPredictions()?this.onPredictions():this.loadPredictions(()=>this.onPredictions(),{})):new i.Log(new s.LogMessage("AudienceProject is inactive.",a.LogLevel.DEBUG)),n.Config.get("modules.yieldlove.isActive")&&window.dispatchEvent(new Event("__baStart"))}onPredictions(){d.setTargetings(),this.loadLauncher(),new i.Log(new s.LogMessage(`AudienceProject loaded predictions after ${Date.now()-this.startUpTimestamp}ms.`,a.LogLevel.DEBUG))}loadLauncher(){const e=document.createElement("script");e.id="userreport-launcher-script",e.type="text/javascript",e.src="https://sak.userreport.com/businessad/launcher.js",document.head.appendChild(e)}readPredictions(){try{if(window.__ba.tcData?.purpose?.consents[1]&&window.localStorage.getItem("ap_data")){const e=JSON.parse(window.localStorage.getItem("ap_data")||"{}");if(!(Date.now()>Number(e.ttl)))return window.apDataKeyValues=e.data,!0;new i.Log(new s.LogMessage("Audience Targetings TTL exceeded.",a.LogLevel.DEBUG)),window.localStorage.removeItem("ap_data")}}catch(e){new i.Log(new s.LogMessage(`Could not retrieve ap_data from storage: ${e}`,a.LogLevel.WARN)),window.localStorage.removeItem("ap_data")}return!1}loadPredictions(e,t){const o=(t=t||{}).timeout||200;let i="";const s=document.referrer;let a="",r="pdw-usr.userreport.com";if(s&&document.location.origin&&-1===s.indexOf(document.location.origin)){i=s;try{window.localStorage.setItem("apr_sref",i)}catch(e){}}if(t.disablePersonalisation)r="dnt-userreport.com";else try{a=window.localStorage.getItem("apr_dsu")||"",i=window.localStorage.getItem("apr_sref")||""}catch(e){}let g=`https://${r}/api/v2/partner/${encodeURIComponent(n.Config.get("modules.audienceProject.customerId"))}/uid?med=${encodeURIComponent(window.location.toString())}&dsu=${encodeURIComponent(a||"")}&ref=${encodeURIComponent(s||"")}&sref=${encodeURIComponent(i||"")}&gdpr=${encodeURIComponent(t.gdprApplies||"")}&gdpr_consent=${encodeURIComponent(t.consentString||"")}`;if(t.extra)for(const e in t.extra)t.extra.hasOwnProperty(e)&&(g+=`&${encodeURIComponent(e)}=${encodeURIComponent(t.extra[e])}`);const l=setTimeout(()=>{window.dispatchEvent(new Event("__baOnAudienceProjectTimeout")),e&&e([]),e=null},o);fetch(g,{credentials:"include"}).then(e=>(clearTimeout(l),e.json())).then(t=>{window.apDataKeyValues=t.keyValues,null==e&&null!=window.apDataKeyValues&&d.savePredictions(window.apDataKeyValues),e&&e(t.keyValues||[]),e=null}).catch(()=>{clearTimeout(l),e&&e([]),e=null})}static setTargetings(){Object.keys(window.apDataKeyValues).length?(window.googletag.cmd.push(()=>{for(const e in window.apDataKeyValues)googletag.pubads().setTargeting(e,window.apDataKeyValues[e]);new i.Log(new s.LogMessage("Added AP targetings to slots.",a.LogLevel.DEBUG))}),this.savePredictions(window.apDataKeyValues)):new i.Log(new s.LogMessage("No AP targetings retrieved, aborting.",a.LogLevel.WARN))}static getTargetings(){return Object.keys(window.apDataKeyValues).length?window.apDataKeyValues:{}}static savePredictions(e){if(window.__ba.tcData?.purpose?.consents[1]&&
2!window.localStorage.getItem("ap_data")){const t={ttl:Date.now()+2592e5,data:e};try{window.localStorage.setItem("ap_data",JSON.stringify(t)),new i.Log(new s.LogMessage("Stored AP targetings.",a.LogLevel.DEBUG))}catch(e){new i.Log(new s.LogMessage(`Could not store AP targetings: ${e}`,a.LogLevel.WARN))}}}}t.AudienceProject=d},946:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LogMessage=void 0;const n=o(79);t.LogMessage=class{constructor(e,t){this.message="",this.level=t,this.navigationTimestamp=n.Utils.getTimer(),this.adlibTimestamp=n.Utils.getAdlibTimer(),this.setMessage(e.trim())}setMessage(e){this.message=`[BAD] - ${this.getNavigationTimestamp().toString().padStart(5)} | ${this.getAdlibTimestamp().toString().padStart(5)}ms - ${this.getLevel().toUpperCase()}: ${e}`}getMessage(){return this.message}getNavigationTimestamp(){return this.navigationTimestamp}getAdlibTimestamp(){return this.adlibTimestamp}getLevel(){return this.level}}}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}(()=>{const e=o(356),t=o(484),n=o(331),i=o(374),s=o(477),a=o(827),d=o(946),r=o(327),g=o(79);window.self!==window.top&&new s.Log(new d.LogMessage((window.__ba?.config?.shortcut?'file "'+window.__ba?.config?.shortcut+'.js"':"BusinessAD adlib")+" was loaded inside an Iframe. This will result in unexpected behaviour!",a.LogLevel.ERROR)),!0===window.__ba?.init?new s.Log(new d.LogMessage(`Ad scripts have already initialized. Please ensure you are loading ${window.__ba?.config?.shortcut?'file "'+window.__ba?.config?.shortcut+'.js"':"businessAD adlib"} once.`,a.LogLevel.ERROR)):async function(){new s.Log(new d.LogMessage(`Adlib added after ${g.Utils.getTimer()}ms.`,a.LogLevel.DEBUG)),t.StateMachine.getInstance().dispatch(t.State.Config),window.googletag=window.googletag||{cmd:[]},window.__ba=window.__ba||{},window.__ba.config=window.__ba.config||{},window.__ba.publisher=window.__ba.publisher||{},window.__ba.tcData=window.__ba.tcData||{},window.__ba.adSlot=window.__ba.adSlot||{},window.__ba.adSlotsWaiting=window.__ba.adSlotsWaiting||[],window.__ba.adSlotsLazy=window.__ba.adSlotsLazy||new Set,window.__ba.isYLCalled=window.__ba.isYLCalled||!1,window.__ba.loaded=window.__ba.loaded||!1,window.__ba.getLogs=e.LogStorage.print,window.yieldlove_cmd=window.yieldlove_cmd||[],window.yieldlove_prevent_autostart=window.yieldlove_prevent_autostart||!1,window.YLHH=window.YLHH||{},window.apDataKeyValues=window.apDataKeyValues||{},window.vlyby_targeting=window.vlyby_targeting||{},window.subvid=window.subvid||{blockFloating:!1,blockContent:!1,targeting:{}},window.dvtag=window.dvtag||{cmd:[],queueAdRequest:()=>{},getTargeting:()=>({})},window.__ba.init=!0,await i.Config.load(),new s.Log(new d.LogMessage("Loaded config.",a.LogLevel.DEBUG));class o extends n.Base{constructor(){super()}}new o,Object.defineProperty(window,"Ads_BA_ADIDlibInfo",{get:function(){return i.Config.getLegacy("Ads_BA_ADIDlibInfo")}}),Object.defineProperty(window,"yieldlove_site_id",{get:function(){return i.Config.getLegacy("yieldlove_site_id")}}),Object.defineProperty(window,"Ads_BA_ADIDfullsite",{get:function(){return i.Config.getLegacy("Ads_BA_ADIDfullsite")}}),Object.defineProperty(window,"Ads_BA_W_site",{get:function(){return i.Config.getLegacy("Ads_BA_W_site")}}),Object.defineProperty(window,"Ads_BA_loadDV",{get:function(){return i.Config.getLegacy("Ads_BA_loadDV")}}),Object.defineProperty(window,"Ads_BA_W_conf",{get:function(){return i.Config.getLegacy("Ads_BA_W_conf")}}),Object.defineProperty(window,"Ads_BA_W2_conf",{get:function(){return i.Config.getLegacy("Ads_BA_W2_conf")}}),window.Ads_BA_privacyManager=function(){r.Sourcepoint.showPrivacyManager()},window.Ads_BA_AD=function(){[t.State.Fetch,t.State.Idle].includes(t.StateMachine.getInstance().getCurrentState())&&(new s.Log(new d.LogMessage('Ads_BA_AD is obsolete. Use window.dispatchEvent(new Event("__baLoadNewAdContainer")); instead, to automatically register newly loaded ad containers.',a.LogLevel.WARN)),window.dispatchEvent(new Event("__baLoadNewAdContainer")))},window.Ads_BA_ADIDsection&&!window.__ba.publisher?.section&&(window.__ba.publisher.section=window.Ads_BA_ADIDsection),window.Ads_BA_ADIDsection=i.Config.getLegacy("Ads_BA_ADIDsection"),window.Ads_BA_ADIDsite=i.C
2onfig.getLegacy("Ads_BA_ADIDsite"),window.Ads_BA_keyword&&(window.__ba.publisher.keywords=window.Ads_BA_keyword),window.Ads_BA_keyword=i.Config.getLegacy("Ads_BA_keyword"),window.Ads_BA_style=function(e){if(new s.Log(new d.LogMessage("Ads_BA_style is deprecated - create style element instead!",a.LogLevel.WARN)),!e.length)return;const t=document.createElement("style");t.innerHTML=e,document.head.appendChild(t)},Object.defineProperties(window.subvid,{blockContent:{get:()=>g.Utils.isPageExcluded(),set(){},configurable:!1,enumerable:!0},blockFloating:{get:()=>!g.Utils.mayFloat(),set(){},configurable:!1,enumerable:!0},targeting:{get:()=>g.Utils.getVideoTargetings(),set(){},configurable:!1,enumerable:!0}}),Object.defineProperty(window,"vlyby_floating",{get:()=>g.Utils.mayFloat()?void 0:"WALL",set(){},configurable:!1,enumerable:!0}),Object.defineProperty(window,"vlyby_targeting",{get:()=>g.Utils.getVideoTargetings(),set(){},configurable:!1,enumerable:!0}),new s.Log(new d.LogMessage("Defined legacy and export variables.",a.LogLevel.DEBUG))}()})()})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.