!function(){"use strict";var a=function(a){this.CONFIG=a,this.CONFIG.PUBLISHER={},this[this.CONFIG.SYSTEM.MODULESTORE]={},this[this.CONFIG.SYSTEM.ACTIVERESOURCES]={},this[this.CONFIG.SYSTEM.ADTEMPLATES]={},window.getSDG=function(){return SDG}};a.prototype={modStore:function(){return this[SDG.CONFIG.SYSTEM.MODULESTORE]},resources:function(){return this[SDG.CONFIG.SYSTEM.ACTIVERESOURCES]},core:function(){return this[SDG.CONFIG.SYSTEM.CORE]},getCore:function(){return this.core()},modConfig:function(){return"CONFIG.MODULES"},getRes:function(){return this.resources()},getSetup:function(){return this.CONFIG},getCN:function(){return this.core().get(SDG.CONFIG.MODULES.ADSLOT_CONTROLLER)},getPUB:function(){return this[SDG.CONFIG.SYSTEM.PUBLIC_API]},getAdLib:function(){return this[SDG.CONFIG.SYSTEM.ADTEMPLATES]},getEventDispatcher:function(){return this.core().get(SDG.CONFIG.MODULES.EVENT_DISPATCHER)},getAdServer:function(){return this.core().get(SDG.CONFIG.MODULES.ADSERVER)},getUtil:function(){return this[SDG.CONFIG.SYSTEM.UTILITY]},log:function(a,b,c){this.core().get(SDG.CONFIG.MODULES.LOGGER).log(a,b,c)},loglvl:function(a){return this.core().get(SDG.CONFIG.MODULES.LOGGER).getLogLevelAsString(a)},buildAd:function(a,b){this.core().get(SDG.CONFIG.MODULES.FORMAT_CONFIG).buildAd(a,b)},addInfoToolReport:function(a){return this.core().get(SDG.CONFIG.MODULES.INFOTOOL).addInfoToolReport(a)},getPath:function(){return this.CONFIG.SYSTEM.MODULESTORE}},window.SDG=new a({PROTOCOLS:{HTTP:"http:",HTTPS:"https:"},MODULES:{EVENT_DISPATCHER:"EventDispatcher",PUBLISHER_CONFIG:"PublisherConfig",ADSERVER:"AdServer",LOGGER:"Logger",POSTSCRIBE:"postScribe",ADSLOT_CONTROLLER:"PlacementController",TAGMAN_CONVERTER:"TagManConverter",PRAELUDIUM_CONVERTER:"PraeludiumConverter",AD_LABELS:"AdLabels",GENERIC_TARGETING:"GenericTargets",FORMAT_CONFIG:"FormatController",TTRACKER:"timeTracker",INFOTOOL:"InfoTool",ADXPOSITIONS:"adxPosition",STICKYPLACEMENT:"stickySlot"},SYSTEM:{CORE:"Core",ACTIVERESOURCES:"ResourcesContainer",UTILITY:"Utilities",PUBLISHER:"COnf?",ADTEMPLATES:"AdTemplates",MODULESTORE:"ModuleStore",PUBLIC_API:"Publisher",MODULES:"ModuleStore"},LOGGER:{LEVELS:{NOLOG:0,DEBUG:10,INFO:20,NOTICE:30,WARNING:40,ERROR:50,CRITICAL:60,ALERT:70,EMERGENCY:80}},RESOURCES:{ADP:"audienceDiscoverPlattform",MEETRICS:"meetrics",NUGGAD_DMP:"nuggAdSegments",AUDIENCE_SCIENCE:"audienceScience",REMINTREX:"remintrex",RECOMMENDATIONADS:"recommendationads",XAXISFOOTERBIDDER:"xaxisFooterBidder",OPENX:"openX",PREBID:"preBid",YlPrebid:"yieldlove",CRITEOONETAG:"criteoOneTag",NEUSTAR:"neustar",MBR_USER_ID:"mbrId",CRITEOBIDDER:"criteoBidder",BUGSNAG:"Bugsnag"}})}(),SDG.modStore().Advertisment=function(a,b){"use strict";this._mediaSegments={anchor:a},this._countPixel={container:void 0},this._jsonData=b},SDG.modStore().Advertisment.prototype={getAnchor:function(){"use strict";return!!this._mediaSegments.anchor&&this._mediaSegments.anchor},addMedia:function(a,b){"use strict";return this._mediaSegments[a]=b,this._mediaSegments[a]},getMedia:function(a){"use strict";return this._mediaSegments[a]},getResponseParameters:function(){"use strict";return this._jsonData},createCountContainer:function(){"use strict";return this._countPixel.container=document.createElement("div"),this._countPixel.container.className="sdgCountPixelAnker",this._countPixel.container.style.display="none",this._countPixel.container},addCountPixel:function(a,b){"use strict";return this._countPixel[a]=b,this._countPixel[a]},getCountContainer:function(){"use strict";return void 0!==this._countPixel.container?this._countPixel.container:this.createCountContainer()},deleteAllContent:function(){"use strict";var a,b;for(a in this._mediaSegments)this._mediaSegments.hasOwnProperty(a)&&"anchor"!==a&&void 0!==this._mediaSegments[a]&&null!==this._mediaSegments[a].parentNode&&this._mediaSegments[a].parentNode.removeChild(this._mediaSegments[a]);this._mediaSegments.anchor&&null!==this._mediaSegments.anchor.parentNode&&this._mediaSegments.anchor.parentNode.removeChild(this._mediaSegments.anchor),delete this._mediaSegments;for(b in this._countPixel)this._countPixel.hasOwnProperty(b)&&"container"!==b&&void 0!==this._countPixel[b]&&null!==this._countPixel[b].parentNode&&this._countPixel[b].parentNode.removeChild(this._countPixel[b]);this._countPixel.container&&null!==this._countPixel.container.parentNode&&this._countPixel.container.parentNode.removeChild(this._countPixel.container),delete this._countPixel}},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController={currentStickies:{},currentBackgrounds:{},currentResizes:{},currentScrollTop:0,currentScrollleft:0,currentViewportWidth:0,currentViewportHeight:0,siteAdhesionUnitHeight:0,eventsActive:!1,BackgroundInstance:function(a,b){"use strict";this.inView=!1,this.color=a,this.refObj=b,this.startTop=SDG.getUtil().getPos(this.refObj).top<300?0:SDG.getUtil().getPos(this.refObj).top-2*b.offsetHeight,this.endTop=4e4,this.objOrgPosTop=SDG.getUtil().getPos(this.refObj).top},ResizeInstance:function(a,b,c){"use strict";this.refObj=b,this.resObj=a,this.recalcLeft=void 0!==c&&c,this.objOrgPosTop=SDG.getUtil().getPos(this.resObj).top,this.objOrgPosLeft=SDG.getUtil().getPos(this.resObj).left},calculateResize:function(a){"use strict";"absolute"===a.resObj.style.position?a.recalcLeft?(a.resObj.style.width=SDG.getUtil().getPos(a.refObj).left+"px",a.resObj.style.left=-SDG.getUtil().getPos(a.refObj).left+"px",this.currentStickies[a.resObj.nodeName+"-"+a.resObj.id]&&(this.currentStickies[a.resObj.nodeName+"-"+a.resObj.id].objectOriginalStyleLeft=-parseFloat(a.resObj.style.width)+"px")):a.resObj.style.width=this.currentViewportWidth-SDG.getUtil().getPos(a.refObj).left-SDG.getUtil().getObjectDimensions(a.refObj).width+"px":"fixed"===a.resObj.style.position&&(a.recalcLeft?(a.resObj.style.width=SDG.getUtil().getPos(a.refObj).left+"px",this.currentStickies[a.resObj.nodeName+"-"+a.resObj.id]&&(this.currentStickies[a.resObj.nodeName+"-"+a.resObj.id].objectOriginalStyleLeft=-SDG.getUtil().getPos(a.refObj).left+"px")):a.resObj.style.width=this.currentViewportWidth-SDG.getUtil().getPos(a.refObj).left-SDG.getUtil().getObjectDimensions(a.refObj).width+"px")},calculateBackground:function(a){"use strict";var b=this.currentScrollTop;a.startTop<=b&&a.endTop>=b&&!a.inView&&(SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].setBackgroundColor(a.color),a.inView=!0),(a.endTop<=b||a.startTop>=b)&&a.inView&&(a.inView=!1)},processScrollFeatures:function(){"use strict";for(var a in this.currentStickies)this.currentStickies.hasOwnProperty(a)&&this.currentStickies[a].recalcAfterScroll();for(var b in this.currentBackgrounds)this.currentBackgrounds.hasOwnProperty(b)&&this.calculateBackground(this.currentBackgrounds[b])},processResizeFeatures:function(){"use strict";for(var a in this.currentStickies)this.currentStickies.hasOwnProperty(a)&&this.currentStickies[a].recalcAfterResize();for(var b in this.currentResizes)this.currentResizes.hasOwnProperty(b)&&this.calculateResize(this.currentResizes[b])},activateEvents:function(){"use strict";SDG.getUtil().addEventListener(window,"scroll",function(){var a=SDG.getUtil().getScrollPositions(),b=SDG.getPUB().getConfig().getAdhesionUnit();SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.currentScrollTop=a.top,SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.currentScrollleft=a.left,SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.siteAdhesionUnitHeight=b?b.offsetHeight:0,SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.processScrollFeatures()}),SDG.getUtil().addEventListener(window,"resize",function(){var a=SDG.getUtil().getViewportDimensions();SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.currentViewportWidth=a.width,SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.currentViewportHeight=a.height,SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].featureController.processResizeFeatures()}),this.eventsActive=!0},evaluateEndPositions:function(a){"use strict";var b,c=[],d=[];for(var e in a)if(a.hasOwnProperty(e)){var f=a[e];f.objOrgPosTop>300?d.push(f):c.push(f)}if(d.length>0){b=d[0].objOrgPosTop-SDG.getUtil().getViewportDimensions().height;for(var g in c)c.hasOwnProperty(g)&&(c[g].endTop=b);for(var h in d)d.hasOwnProperty(h)&&(d[h].startTop=b)}},addSticky:function(a,b){return this.currentStickies[a.nodeName+"-"+a.id]=new this.StickyInstance(a,b),this.currentViewportWidth=SDG.getUtil().getViewportDimensions().width,this.currentViewportHeight=SDG.getUtil().getViewportDimensions().height,this.siteAdhesionUnitHeight=SDG.getPUB().getConfig().getAdhesionUnit()?SDG.getPUB().getConfig().getAdhesionUnit().offsetHeight:0,!1===this.eventsActive&&this.activateEvents(),this.evaluateEndPositions(this.currentStickies),this.processScrollFeatures(),!0},removeSticky:function(a){var b=this.currentStickies[a.nodeName+"-"+a.id];if(b)return b.setObjectInert(),delete this.currentStickies[a.nodeName+"-"+a.id],!0;SDG.log("FORMATS: No StickyInstance for this object found %o, removing sticky effect failed.",SDG.loglvl("WARNING"),a)},addResize:function(){},addBackground:function(){}},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].startAdConstruction=function(a,b){"use strict";return a.getContainerPlacement()?(a.getContainerPlacement().prepareNewAd(document.createElement("div"),b),a.executeTemplate()?void this.finishAdConstruction(a):(SDG.log("FORMATS: "+a.getContainerPlacement().getName()+": Error during ad construction. Calling template"+b.adType+"() did not return positive results!",SDG.loglvl("ERROR")),!1)):(SDG.log("FORMATS: Error during ad construction. Placement for new ad not found, discarding impression for ad "+b.name+"! Please contact Stroeer Technical Partner Management for further informations.",SDG.loglvl("EMERGENCY")),!1)},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].finishAdConstruction=function(a){"use strict";var b=a.getResponseParameters(),c=a.getContainerPlacement();b.countPix&&(this.setupCountPixels(a),c.getContainer().appendChild(c.getAd().getCountContainer())),b.formatParams&&b.formatParams.useBackgroundColor&&SDG.getPUB().getConfig().getFeatureValue("allowBackgroundColor")&&(this.addBackground(b.formatParams.backgroundColor,c.getAd().getMedia(b.Media[1].mediaName)),b.formatParams.backgroundClickable&&SDG.getPUB().getConfig().getFeatureValue("allowClickableBackground")&&this.buildBackgroundClick(a)),SDG.getPUB().getConfig().getFeatureValue("allowStickies")&&this.processStickySegments(a),a.complete()},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].setupCountPixels=function(a){"use strict";var b=a.getResponseParameters();for(var c in b.countPix)b.countPix.hasOwnProperty(c)&&this.buildCountPixel(a,c,b.countPix[c].tech,b.countPix[c].url)},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].addSticky=function(a,b){"use strict";a&&b&&this.featureController.addSticky(a,b)?SDG.log("FORMATS: StickyInstance successfully created, used %o as sticky and %o as reference.",SDG.loglvl("DEBUG"),[a,b]):SDG.log("FORMATS: StickyInstance was created with an invalid DOM Node. Abandoning StickyInstance to avoid further errors.",SDG.loglvl("ERROR"))},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].removeSticky=function(a){"use strict";a&&"number"==typeof a.nodeType?this.featureController.removeSticky(a):SDG.log("FORMATS: Invalid DOM Node passed to remove sticky effect.",SDG.loglvl("ERROR"))},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].addBackground=function(a,b){"use strict";this.featureController.currentBackgrounds[b.nodeName+"-"+b.id]=new this.featureController.BackgroundInstance(a,b),!1===this.featureController.eventsActive&&this.featureController.activateEvents(),this.featureController.evaluateEndPositions(this.featureController.currentBackgrounds)},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].addResize=function(a,b,c){"use strict";this.featureController.currentResizes[a.nodeName+"-"+a.id]=new this.featureController.ResizeInstance(a,b,c),!1===this.featureController.eventsActive&&this.featureController.activateEvents()},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildMediaSegments=function(a){"use strict";var b,c,d,e=a.getResponseParameters(),f=a.getContainerPlacement().getAd();for(var g in e.Media)if(e.Media.hasOwnProperty(g)){if(b=e.Media[g],c=f.addMedia(b.mediaName,this.buildContainer(b)),!(d=this["build"+b.file.type+"Media"](b,a)))return SDG.log("FORMATS: Error during MediaSegments construction! JSON segment causing the error: %o",SDG.loglvl("ERROR"),[b]),!1;"string"==typeof d?c.innerHTML=d:c.appendChild(d),SDG.getUtil().hasObjectKeys(b.file.expandable)&&this.buildExpandable(b,a),a.addVisibilityNode(c)}return!0},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildContainer=function(a){"use strict";var b=document.createElement("div");return b.id="div-"+a.file.fileId,b.style.top=0,b.style.left=0,b.style.zIndex=2,b},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildExpandable=function(a,b){"use strict";var c,d,e,f,g,h,i,j;switch(c=b.getContainerPlacement().getAd().getMedia(a.mediaName),d=a.file.expandable.collapsedHeight,e=a.file.expandable.collapsedWidth,f=a.file.height,g=a.file.width,c.style.position="absolute",c.style.overflow="hidden",a.file.expandable.direction){case"u":h="rect("+(f-d)+"px "+g+"px "+f+"px 0px)",i=-(f-d),j=0;break;case"ur":h="rect("+(f-d)+"px "+e+"px "+f+"px 0px)",i=-(f-d),j=0;break;case"r":h="rect(0px "+e+"px "+f+"px 0px)",i=0,j=0;break;case"rd":h="rect(0px "+e+"px "+d+"px 0px)",i=0,j=0;break;case"d":h="rect(0px "+g+"px "+d+"px 0px)",i=0,j=0;break;case"dl":h="rect(0px "+g+"px "+d+"px "+(g-e)+"px)",i=0,j=-(g-e);break;case"l":h="rect(0px "+g+"px "+f+"px "+(g-e)+"px)",i=0,j=-(g-e);break;case"lu":h="rect("+(f-d)+"px "+g+"px "+f+"px "+(g-e)+"px)",i=-(f-d),j=-(g-e)}a.file.expandable.startExpanded?c.style.clip="rect(0px "+g+"px "+f+"px 0px)":c.style.clip=h,c.style.clip=h,c.style.top=i+"px",c.style.left=j+"px",c.style.zIndex=100,c.style.width=g+"px",c.style.height=f+"px",window[a.file.expandable.collapseFunc]=function(){c.style.clip=h},window[a.file.expandable.expandFunc]=function(){c.style.clip="rect(0px "+g+"px "+f+"px 0px)"};for(var k in b.getResponseParameters().Media)b.getResponseParameters().Media.hasOwnProperty(k)&&(window[b.getResponseParameters().Media[k].file.fileId+"_DoFSCommand"]=function(b){switch(b){case a.file.expandable.expandFsCommand:window[a.file.expandable.expandFunc]();break;case a.file.expandable.collapseFsCommand:window[a.file.expandable.collapseFunc]()}})},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildFlashMedia=function(a,b){"use strict";var c,d,e,f="";if(d=b.getContainerPlacement().getAd().getMedia(a.mediaName),SDG.getUtil().checkFlashVersion(a.file.plugin.minVersion)){c='';for(var g in a.file.plugin.params)a.file.plugin.params.hasOwnProperty(g)&&(e=a.file.plugin.params[g],c+='');for(var h in a.links)a.links.hasOwnProperty(h)&&(g=a.links[h],1!==h&&(f+="&"),f+=g.variable+"="+g.url);f+=""!==a.file.plugin.additionalVariables?"&"+a.file.plugin.additionalVariables:"",c+='',d.style.width=a.file.width+"px",d.style.height=a.file.height+"px"}else c='',d.style.width=a.file.altWidth+"px",d.style.height=a.file.altHeight+"px";return c},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildImageMedia=function(a,b){"use strict";var c,d,e;return e=b.getContainerPlacement().getAd().getMedia(a.mediaName),d=document.createElement("a"),d.href=a.links[1].url,d.target=a.links[1].target,d.id=a.file.fileId,c=document.createElement("img"),c.width=a.file.width,c.height=a.file.height,c.border="0",c.src=a.file.url,d.appendChild(c),e.style.width=a.file.width+"px",e.style.height=a.file.height+"px",d},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildIframeMedia=function(a,b){"use strict";var c,d;return d=b.getContainerPlacement().getAd().getMedia(a.mediaName),c=document.createElement("iframe"),c.width=a.file.width,c.height=a.file.height,c.marginHeight="0",c.marginWidth="0",c.frameBorder="0",c.scrolling="no",c.src=a.file.url,d.style.width=a.file.width+"px",d.style.height=a.file.height+"px",c},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildHtmlMedia=function(a,b){"use strict";var c,d;return d=b.getContainerPlacement().getAd().getMedia(a.mediaName),c=document.createElement("iframe"),c.width=a.file.width,c.height=a.file.height,c.marginHeight="0",c.marginWidth="0",c.frameBorder="0",c.scrolling="no",c.onload=function(){c.onload="",c.contentWindow.inhalt=a.file.htmlString,c.src='javascript:window["inhalt"]'},d.style.width=a.file.width+"px",d.style.height=a.file.height+"px",c},SDG[SDG.CONFIG.SYSTEM.ADTEMPLATES].buildCountPixel=function(a,b,c,d){"use strict";var e,f,g;if(e=a.getContainerPlacement().getAd(),g=e.getCountContainer(),"image"===c&&(f=document.createElement("img"),f.width=1,f.height=1,f.src=d,g.appendChild(e.addCountPixel(b,f))),"javascript"===c||"iframe"===c)if("javascript"===c&&"loading"!==document.readyState)e.addCountPixel(b,SDG.getUtil().loadScript(d,g));else if(f=document.createElement("iframe"),f.src="about:blank",f.width=1,f.height=1,g.appendChild(e.addCountPixel(b,f)),"javascript"===c){var h=function(){var a=f;a.contentWindow.inhalt='Dynamic iframe