var cfg = {cookie_style: '#wmm_consentmanager { position: fixed; left: 0; top: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.8); z-index: 99999; overflow: auto; } body { overflow: hidden; } div.wmm_cookie_content { margin-top: 30px; margin-bottom: 30px; margin-left: auto; margin-right: auto; background-color: white; color: black !important; padding: 30px; max-width: 900px; } div.wmm_cookie_content h1, div.wmm_cookie_content p, div.wmm_cookie_content label, div.wmm_cookie_content td { color: black !important; color: inherit; } div.wmm_cookie_content p { text-align: left !important; } div.wmm_cookie_checkmarks { margin-top: 30px; } div.wmm_cookie_checkboxoption { display: inline-block; margin-right: 20px; cursor: pointer; -ms-user-select: None; -moz-user-select: None; -webkit-user-select: None; color: black !important; } div.wmm_cookie_checkboxoption input { display: none; } div.wmm_cookie_checkboxoption label { display: inline-block; line-height: 24px; vertical-align: top; cursor: pointer; } div.wmm_cookie_checkboxoption span.checkmark { display: inline-block; border: 2px solid #666; width: 20px; height: 20px; border-radius: 4px; background-color: white; position: relative; vertical-align: top; } div.wmm_cookie_checkboxoption span.checked { position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border-right: 2px solid white; border-bottom: 2px solid white; transform: rotate(45deg); display: none; } div.wmm_cookie_checkboxoption span.partchecked { position: absolute; top: 2px; left: 2px; bottom: 2px; right: 2px; background-color: #c03; display: none; } div.checked span.checkmark { border: 2px solid #c03; background-color: #c03; } div.wmm_checkbox_Notwendig, div.wmm_checkbox_Notwendig label { cursor: default; } div.wmm_checkbox_Notwendig span.checkmark { border: 2px solid #666; background-color: #666; } div.partchecked span.checkmark { border: 2px solid #c03; } div.checked span.checked { display: block; } div.partchecked span.partchecked { display: block; } div.wmm_cookie_links { margin-top: 30px; } a#wmm_cookiedetails { display: inline-block; color: #0f2351; cursor: pointer; position: absolute; padding-right: 20px; text-decoration: none; text-transform: uppercase; font-weight: bold; right: 0; } i#wmm_cookiedetails_arrow { display: inline-block; margin-left: 10px; position: relative; width: 12px; height: 20px; transition: 200ms ease all; position: absolute; right: 0; top: 1px; } i#wmm_cookiedetails_arrow::before { content: ""; border-left: 2px solid #c03; border-bottom: 2px solid #c03; width: 8px; height: 8px; float: left; transform: rotate(-45deg); margin-top: 2px; } div#wmm_cookie_details { overflow: hidden; max-height: 0; -webkit-transition: max-height .5s ease-out; transition: max-height .5s ease-out; color: black !important; } div#wmm_cookie_details.open { max-height: 9999px; -webkit-transition: max-height 1s ease-in; transition: max-height 1s ease-in; } div#wmm_cookie_details h4 { margin-bottom: 0; margin-top: 20px; clear: both; } div#wmm_cookie_details table { width: 100%; border-collapse: collapse; } div#wmm_cookie_details table th { font-weight: bold; padding: 5px; border-bottom: solid 1px #666; text-align: left; } div#wmm_cookie_details table td { padding: 5px; border-bottom: solid 1px #666; font-weight: normal; text-align: left; } div.wmm_cookie_buttons { margin-top: 20px; text-align: right; } a.wmm_cookie_button { display: inline-block; padding: 10px; border: solid 2px transparent; border-radius: 4px; text-align: center; color: white !important; font-weight: bold; text-decoration: none; line-height: 1; cursor: pointer; margin-left: 30px; float: right; background-color: black; } a.wmm_cookie_actionbutton { border: solid 2px black; background-color: black; color: white; } a.wmm_cookie_actionbutton:hover { border: solid 2px #1c1c1c; background-color: #1c1c1c; } .wmm_cookie_infos { float: left; list-style-type: none; margin: 0; padding: 10px 0; } .wmm_cookie_infos > li { display: inline-block; padding: 0 10px 0 0; position: relative; } .wmm_cookie_infos > li:after { position: absolute; content: "·"; right: 0; bottom: -3px; } .wmm_cookie_infos > li:last-child:after { content: ""; } a.wmm_cookie_button_info { margin: 0; font-weight: normal; color: #666 !important; padding: 0; text-decoration: none; line-height: 1; cursor: pointer; background-color: transparent; } a.wmm_cookie_button_info:hover { text-decoration: underline !important; } #wmm_cookie_infomodals { position: fixed; display: none; background: #fff; padding: 2em 0; left: 10%; right: 10%; top: 10%; bottom: 10%; } .wmm_cookie_infomodal { clear: right; display: none; height: 90%; overflow-y: auto; padding: 0 2em; } .wmm_cookie_infomodal a { color: #0099ff; } #wmm_cookie_infomodal_close { float: right; margin-right: 2em; color: #000; font-size: 20px; text-decoration: none; } a.wmm_link { float: left; } .wmm_td_cookie { width: 20%; } .wmm_td_category { width: 15%; } .wmm_td_description { width: 60%; /*40% if persistency col is active */ } .wmm_td_persistency { width: 25%; } .wmm_cookie_buttons { height: 50px; } @media only screen and (min-width: 0) and (max-width: 767px) { a.wmm_cookie_button { clear: both; display: block; margin-left: 0; margin-top: 20px; float: none; } .wmm_cookie_buttons { height: auto; } div#wmm_cookie_details { min-height: 30px; } a.wmm_cookie_button:first-child { margin-top: 0; } a.wmm_link { float: none; } .wmm_td_cookie { width: 25%; } .wmm_td_category { display: none; } .wmm_td_description { width: 45%; } .wmm_td_persistency { width: 30%; } }',cookie_verify_url: 'https://cookiebar.wmmmw.de/index.php/cookie/verify/zgnj9lmf5njk1hph7850i4al0cvbymuq5X014Xu5',cookie_decision_url: 'https://cookiebar.wmmmw.de/index.php/cookie/decision',blacklist: JSON.parse(JSON.stringify({"BE_PAGE_OFFSET":null,"BE_USER_AUTH":null,"PHPSESSID":null,"screen":null,"wmm-visitor_token":null,"Google Maps":"\/google\\.com\/","Google Services":"\/google\\.com\/","YouTube":"\/youtube\\.com\/"})),consent_overlay_tmpl: '',necessary_cat_name: 'Notwendig',};window.YETT_IFRAME = true;window.YETT_IFRAME_BLOCKED_TEXT = 'Der folgende Inhalt wurde aufgrund Ihrer Einstellungen gesperrt:';window.YETT_IFRAME_BLOCKED_BTN = 'Einstellungen anpassen';window.YETT_BLACKLIST = [];window.YETT_BLACKLIST_LABELS = [];
for(var keys=Object.keys(cfg.blacklist),i=0;i<keys.length;i++)null!=cfg.blacklist[keys[i]]&&(window.YETT_BLACKLIST.push(new RegExp(cfg.blacklist[keys[i]].substring(1).slice(0,-1))),window.YETT_BLACKLIST_LABELS.push(keys[i]));!function(){function l(e){e=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return e?e.pop():""}function a(e,t,o){var i=new Date;i.setTime(1e3*o),o="; expires="+i.toUTCString(),document.cookie=e+"="+(t||"")+o+"; path=/"}function s(e){var t=document.getElementById("wmm_cookieform"),o=Object.fromEntries(new FormData(t)),n=document.getElementsByClassName("wmm_cookie_checkboxoption");for(i=0;i<n.length;i++)childOptions=n[i].querySelectorAll(":scope > input.checkbox"),0<childOptions.length&&"1"==childOptions[0].value&&r(childOptions[0].name.replace("wmm_cookie_",""));var c=l("wmm-visitor_token"),s=new XMLHttpRequest;s.onreadystatechange=function(){var e;4==this.readyState&&200==this.status&&((e=JSON.parse(this.responseText)).success?(e.visitor_token&&e.expires&&a("wmm-visitor_token",e.visitor_token,e.expires),document.getElementById("wmm_consentmanager").style.display="none",document.body.style.overflow="auto"):alert("Could not save cookies: "+e.msg))},s.open("POST",cfg.cookie_decision_url,"true"),s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s.withCredentials=!0,s.send("website_token="+t.getAttribute("data-val")+"&cookies="+JSON.stringify(o)+(c?"&visitor_token="+c:""))}function r(e){e?cfg.blacklist[e]&&window.yett.unblock(cfg.blacklist[e].replace(new RegExp("\\\\","g"),"")):window.yett.unblock()}function t(){if(""!=cfg.consent_overlay_tmpl){document.head.insertAdjacentHTML("afterbegin","<style>"+cfg.cookie_style+"</style>"),document.body.insertAdjacentHTML("afterbegin",cfg.consent_overlay_tmpl),document.getElementById("wmm_cookie_button_adjust").addEventListener("click",function(){document.getElementById("wmm_cookie_details").classList.toggle("open")}),document.getElementById("wmm_cookie_button_selectall").addEventListener("click",function(){var e=document.querySelectorAll("input.checkbox");for(i=0;i<e.length;i++)e[i].value="1";n(),r(),s()}),document.getElementById("wmm_cookie_button_select").addEventListener("click",s),document.getElementById("wmm_cookie_infomodal_close").addEventListener("click",c);let e=document.getElementById("wmm_cookie_privacy");e&&e.addEventListener("click",c),document.getElementById("wmm_cookie_imprint")&&document.getElementById("wmm_cookie_imprint").addEventListener("click",c);var t=document.getElementsByClassName("wmm_cookie_checkboxoption");for(i=0;i<t.length;i++)t[i].addEventListener("click",o);n()}function n(){var e,t,o=document.getElementsByClassName("wmm_cookie_checkboxoption");for(i=0;i<o.length;i++)0<(e=o[i].querySelectorAll(":scope > input.checkbox")).length&&"1"==e[0].value?o[i].classList.add("checked"):o[i].classList.remove("checked");for(t=document.querySelectorAll("div.wmm_checkbox_category"),i=0;i<t.length;i++){t[i].classList.remove("checked"),t[i].classList.remove("partchecked");var n=!0,c=!1,s=document.querySelectorAll("div.wmm_checkbox_category_"+t[i].getAttribute("data-category"));for(j=0;j<s.length;j++)0<(e=s[j].querySelectorAll(":scope > input.checkbox")).length&&"1"==e[0].value?c=!0:n=!1;n?(t[i].classList.add("checked"),t[i].querySelectorAll(":scope > input.checkbox")[0].value="1"):c&&t[i].classList.add("partchecked")}}function o(){if(!this.classList.contains("wmm_checkbox_"+cfg.necessary_cat_name)){var e=!0;if(1==(t=this.querySelectorAll(":scope > input.checkbox")).length&&"1"==t[0].value?e=!(t[0].value="0"):t[0].value="1",this.classList.contains("wmm_checkbox_category"))for(categoryOptions=document.querySelectorAll(".wmm_checkbox_category_"+this.getAttribute("data-category")),j=0;j<categoryOptions.length;j++){var t,o=e?"1":"0";1==(t=categoryOptions[j].querySelectorAll(":scope > input.checkbox")).length&&(t[0].value=o)}n()}}function c(e){e.preventDefault();let t=document.getElementById("wmm_cookie_infomodals"),o=document.getElementById(this.getAttribute("rel"));if(o)o.style.display="block",t.style.display="block";else{var n=document.querySelectorAll(".wmm_cookie_infomodal");for(i=0;i<n.length;i++)n[i].style.display="none";t.style.display="none"}}}var o,e;o=l("wmm-visitor_token"),(e=new XMLHttpRequest).onreadystatechange=function(){if(4==this.readyState&&200==this.status){var e=JSON.parse(this.responseText);if(e.success)if(cfg.consent_overlay_tmpl=e.tmpl,e.expires){for(i=0;i<e.whitelisted.length;i++)r(e.whitelisted[i]);a("wmm-visitor_token",o,e.expires)}else t()}},e.open("POST",cfg.cookie_verify_url,"true"),e.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),e.withCredentials=!0,o?e.send("visitor_token="+o):e.send(),window.onload=function(){document.body.addEventListener("click",function(e){e.target.matches(".toggleConsentManager")&&function(){null==document.getElementById("wmm_consentmanager")&&t(),(m=document.getElementById("wmm_consentmanager"))&&(m.style.display="block")}.call(this,e)})}}();
// Source: https://github.com/pronego/yett (forked from elbywan/yett)
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).yett={})}(this,function(t){"use strict";function l(t,e){return t&&(!e||e!==p)&&w(t,!1)}function b(t){var e=t.getAttribute("src");return f.blacklist&&f.blacklist.every(function(t){return!t.test(e)})||f.whitelist&&f.whitelist.some(function(t){return t.test(e)})}var p="javascript/blocked",m="yett-src",f={blacklist:window.YETT_BLACKLIST,whitelist:window.YETT_WHITELIST,blacklistlabels:window.YETT_BLACKLIST_LABELS||[]},y=window.YETT_IFRAME,g=window.YETT_IFRAME_BLOCKED_TEXT||"The following content was blocked due to your settings:",v=window.YETT_IFRAME_BLOCKED_BTN||"Unblock",h={blacklisted:[]},w=function(t,e){var r=void 0===t||null==t?"":t.toString().split("?")[0],n=null;return!(!r||f.blacklist&&!f.blacklist.some(function(t,e){return!!t.test(r)&&(n=e,!0)})||f.whitelist&&!f.whitelist.every(function(t){return!t.test(r)}))&&(!e||n)},a=new MutationObserver(function(t){for(var e=0;e<t.length;e++)for(var d=t[e].addedNodes,r=function(t){var e,r,n=d[t];if(1===n.nodeType&&("SCRIPT"===n.tagName||y&&"IFRAME"===n.tagName)){var i=n.src||n.getAttribute("yett-src"),o=n.type;if("SCRIPT"===n.tagName&&n.text&&-1!==n.text.indexOf("dlh_googlemap"))for(var l=document.getElementsByClassName("dlh_googlemap"),a=0;a<l.length;a++)l[a].classList.add("blocked"),l[a].innerHTML='<div style="text-align: center"><p>'+g+' Google Maps</p><p><button class="toggleConsentManager">'+v+"</button></p></div>";var s=(r=o,(e=i)&&(!r||r!==p)&&w(e,!0));if(null!==s&&!1!==s){h.blacklisted.push([n,n.type]),n.type=p;if(n.addEventListener("beforescriptexecute",function t(e){n.getAttribute("type")===p&&e.preventDefault(),n.removeEventListener("beforescriptexecute",t)}),y&&"IFRAME"===n.tagName){var c=f.blacklistlabels[s]?"<br/>"+f.blacklistlabels[s]:"",u=document.createElement("div");u.setAttribute("data-src",i),u.style.cssText=document.defaultView.getComputedStyle(n,"").cssText,u.style.backgroundColor="#dedede",u.style.display="flex",u.style.alignItems="center",u.style.justifyContent="center",u.style.width=n.getAttribute("width")+"px",u.style.height=n.getAttribute("height")+"px",u.style.maxWidth="100%",u.classList.add("iframe-blocked"),u.innerHTML='<div style="text-align: center"><p>'+g+c+'</p><p><button class="toggleConsentManager">'+v+"</button></p></div>",n.parentElement&&n.parentElement.insertBefore(u,n)}n.parentElement&&n.parentElement.removeChild(n)}}},n=0;n<d.length;n++)r(n)});a.observe(document.documentElement,{childList:!0,subtree:!0});var s=document.createElement,c={script:{class:HTMLScriptElement,src:Object.getOwnPropertyDescriptor(HTMLScriptElement.prototype,"src"),type:Object.getOwnPropertyDescriptor(HTMLScriptElement.prototype,"type")}};function E(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var l,a=t[Symbol.iterator]();!(n=(l=a.next()).done)&&(r.push(l.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==a.return||a.return()}finally{if(i)throw o}}return r}(t,e)||r(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||r(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}document.createElement=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0].toLowerCase(),i=c[n];if(void 0===i)return s.bind(document).apply(void 0,e);var o=s.bind(document).apply(void 0,e);try{Object.defineProperties(o,{src:{get:function(){return i.src.get.call(this)},set:function(t){l(t,o.type)&&(i.type?i.type.set.call(this,p):(i.class.prototype.setAttribute.call(this,m,t),t=void 0)),void 0!==t&&i.src.set.call(this,t)}},type:{set:function(t){var e=l(o.src,o.type)?p:t;i.type.set.call(this,e)}}}),o.setAttribute=function(t,e){"type"===t||"src"===t?o[t]=e:i.class.prototype.setAttribute.call(o,t,e)}}catch(t){console.warn("Yett: unable to prevent script execution for "+n+" src ",o.src,".\n",'A likely cause would be because you are using a third-party browser extension that monkey patches the "document.createElement" function.')}return o};var d=new RegExp("[|\\{}()[\\]^$+*?.]","g");t.unblock=function(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];r.length<1?(f.blacklist=[],f.whitelist=[]):(f.blacklist&&(f.blacklist=f.blacklist.filter(function(e){return r.every(function(t){return"string"==typeof t?!e.test(t):t instanceof RegExp?e.toString()!==t.toString():void 0})})),f.whitelist&&(f.whitelist=[].concat(u(f.whitelist),u(r.map(function(e){if("string"==typeof e){var r=".*"+e.replace(d,"\\$&")+".*";if(f.whitelist.every(function(t){return t.toString()!==r.toString()}))return new RegExp(r)}else if(e instanceof RegExp&&f.whitelist.every(function(t){return t.toString()!==e.toString()}))return e;return null}).filter(Boolean)))));for(var n=document.querySelectorAll('script[type="'.concat(p,'"], *[').concat(m,"]")),i=0;i<n.length;i++){var o=n[i];b(o)&&(h.blacklisted.push([o,"application/javascript"]),o.parentElement.removeChild(o))}var y=0;u(h.blacklisted).forEach(function(t,e){var r=E(t,2),n=r[0],i=r[1];if(b(n)){var o=n.tagName.toLowerCase(),l=document.createElement(o),a=n.getAttribute(m);if("IFRAME"!=l.tagName){for(var s in a?l.setAttribute("src",a):(l.setAttribute("type",i||"application/javascript"),l.setAttribute("src",n.src)),n)s.startsWith("on")&&(l[s]=n[s]);document.head.appendChild(l);for(var c=document.getElementsByClassName("dlh_googlemap"),u=0;u<c.length;u++){c[u].classList.remove("blocked");var d="gmap"+(u+1)+"_initialize";"function"==typeof window[d]&&window.setTimeout(d+"()",500)}}else for(var p=document.querySelectorAll("div.iframe-blocked[data-src]"),f=0;f<p.length;f++)!n.src&&n.getAttribute("yett-src")&&(n.src=n.getAttribute("yett-src")),p[f].getAttribute("data-src")==n.src&&(p[f].parentElement&&p[f].parentElement.insertBefore(n,p[f]),p[f].parentElement&&p[f].parentElement.removeChild(p[f]));h.blacklisted.splice(e-y,1),y++}}),f.blacklist&&f.blacklist.length<1&&a.disconnect()},Object.defineProperty(t,"__esModule",{value:!0})});