PageSourceSearch

https://baierbach.de/_Resources/Static/Packages/DigiPublica.Platfo…/JavaScript/cookieconsent.js?bust=fe992ecc

js baierbach.de collected 2026-10-02 23:07:38 UTC 44,703 bytes, 745 lines download raw bytes

1jQuery(window).on('load', function() {
2
3  jQuery(".general-toggle").click(function() {
4    jQuery(this).addClass("active").siblings().removeClass("active");
5    jQuery(".cookie-general").addClass("visible").siblings().removeClass("visible");
6  });
7  jQuery(".required-toggle").click(function() {
8    jQuery(this).addClass("active").siblings().removeClass("active");
9    jQuery(".cookie-required").addClass("visible").siblings().removeClass("visible");
10  });
11  jQuery(".functional-toggle").click(function() {
12    jQuery(this).addClass("active").siblings().removeClass("active");
13    jQuery(".cookie-functional").addClass("visible").siblings().removeClass("visible");
14  });
15  jQuery(".analytics-toggle").click(function() {
16    jQuery(this).addClass("active").siblings().removeClass("active");
17    jQuery(".cookie-analytics").addClass("visible").siblings().removeClass("visible");
18  });
19  jQuery(".policy-toggle").click(function() {
20    jQuery(this).addClass("active").siblings().removeClass("active");
21    jQuery(".cookie-policy").addClass("visible").siblings().removeClass("visible");
22  });
23
24  jQuery(".cookie-list > div").each(function() {
25    if (jQuery(this).children().length < 1 ) {
26      jQuery(this).remove();
27    }
28    if (jQuery(".cookie-functional").length < 1 ) {
29      jQuery(".functional-toggle").remove();
30    }
31    if (jQuery(".cookie-analytics").length < 1 ) {
32      jQuery(".analytics-toggle").remove();
33    }
34  });
35
36
37  jQuery("a").filter(function() {
38    return jQuery(this).is(':contains("Cookie Einstellungen"), :contains("Cookie Settings")');
39  }).addClass("cookie-open");
40
41  function getCookie(cname) {
42    var name = cname + "=";
43    var decodedCookie = decodeURIComponent(document.cookie);
44    var ca = decodedCookie.split(';');
45    for(var i = 0; i <ca.length; i++) {
46      var c = ca[i];
47      while (c.charAt(0) == ' ') {
48        c = c.substring(1);
49      }
50      if (c.indexOf(name) == 0) {
51        return c.substring(name.length, c.length);
52      }
53    }
54    return "";
55  }
56
57  function checkCookies() {
58    digipublicaCookieConsent = getCookie('Cookie_Consent');
59    domainName = (window.location.hostname);
60    if(!digipublicaCookieConsent) {
61      if (window.location.href.indexOf("datenschutz") > -1 || window.location.href.indexOf("Datenschutz") > -1 || window.location.href.indexOf("impressum") > -1 || window.location.href.indexOf("Impressum") > -1 || window.location.href.indexOf("/neos/") > -1) {
62      } else {
63        setTimeout(function(){
64          jQuery(".cookieconsent-content").addClass("opened");
65          jQuery(".cookieconsent-content .row").addClass("hide");
66          jQuery(".cookieconsent-shade").addClass("cover");
67          jQuery(".cookieconsent a, .cookieconsent button").attr("tabindex", "1");
68        }, 250);
69        if (jQuery('.googlemaps').length) {
70          jQuery('.html-google-maps').each(function() {
71              var height = jQuery(this).outerHeight();
72              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Google Maps wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Google Maps" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
73              jQuery(this).remove();
74          });
75        }
76        if (jQuery('.openstreetmap').length) {
77          jQuery('#domap').each(function() {
78              var height = jQuery(this).outerHeight();
79              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>OpenStreetMap wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "OpenStreetMap" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
80              jQuery(this).remove();
81          });
82          jQuery('#domapMulti').each(function() {
83              var height = jQuery(this).outerHeight();
84              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>OpenStreetMap wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "OpenStreetMap" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
85              jQuery(this).remove();
86          });
87          jQuery('.html-openstreetmap').each(function() {
88            var height = jQuery(this).outerHeight();
89            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>OpenStreetMap wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "OpenStreetMap" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
90            jQuery(this).remove();
91          });
92        }
93        if (jQuery('.youtube').length) {
94          jQuery('.video[data-video="youtube"]').each(function() {
95              jQuery('<div class="cookie-notice"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>YouTube wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "YouTube" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').appendTo(this);
96              jQuery(this).addClass('video-hidden');
97           });
98        }
99        if (jQuery('.vimeo').length) {
100          jQuery('.video[data-video="vimeo"]').each(function() {
101              jQuery('<div class="cookie-notice"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Vimeo wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Vimeo" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').appendTo(this);
102              jQuery(this).addClass('video-hidden');
103           });
104        }
105        if (jQuery('.recaptcha').length) {
106          jQuery('script').each(function() {
107            if (this.src.indexOf("captcha") != -1) {
108              jQuery(this).remove();
109            }
110          });
111          jQuery('div').each(function() {
112            if (jQuery(this).hasClass("g-recaptcha")) {
113              var height = jQuery(this).outerHeight();
114              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Für die Verwendung von Formularen benötigen Sie reCAPTCHA</p><p>Bitte aktivieren Sie "reCAPTCHA" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(jQuery(this).parents("form"));
115              jQuery(this).parents("form").remove();
116            }
117          });
118        }
119        if (jQuery('.readspeaker').length) {
120          jQuery('script').each(function() {
121            if (this.src.indexOf("ReadSpeaker.js") != -1) {
122              var height = jQuery(this).outerHeight();
123              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>ReadSpeaker wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "ReadSpeaker" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
124              jQuery(this).remove();
125            }
126            if (this.src.indexOf("readspeaker.com") != -1) {
127              jQuery(this).remove();
128            }
129          });
130          jQuery('#rsmod_Styles').each(function() {
131            jQuery(this).remove();
132          });
133          jQuery("#readspeaker_button1").remove();
134        }
135        if (jQuery('.rceevent').length) {
136          jQuery('iframe').each(function() {
137            if (this.src.indexOf("rce-event.de") != -1) {
138              var height = jQuery(this).outerHeight();
139              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>RCE-Event wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "RCE-Event" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
140              jQuery(this).remove();
141            }
142          });
143        }
144        if (jQuery('.matomo').length) {
145          _paq.push(['disableCookies']);
146        }
147        if (jQuery('.mainecho').length) {
148          jQuery('.html-mainecho').each(function() {
149              var height = jQuery(this).outerHeight();
150              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Mein-Echo wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Main-Echo" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
151              jQuery(this).remove();
152          });
153        }
154        if (jQuery('.sessionnetkrz').length) {
155          jQuery('.html-sessionnetkrz').each(function() {
156              var height = jQuery(this).outerHeight();
157              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>SessionNet krz wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "SessionNet krz" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
158              jQuery(this).remove();
159          });
160        }
161        if (jQuery('.bayernatlas').length) {
162          jQuery('.html-bayernatlas').each(function() {
163              var height = jQuery(this).outerHeight();
164              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>BayernAtlas wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "BayernAtlas" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
165              jQuery(this).remove();
166          });
167        }
168        if (jQuery('.zaehly').length) {
169          jQuery('.html-zaehly').each(function() {
170              var height = jQuery(this).outerHeight();
171              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Zähly wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Zähly" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
172              jQuery(this).remove();
173          });
174        }
175        if (jQuery('.destination-one').length) {
176          jQuery('.html-destination-one').each(function() {
177              var height = jQuery(this).outerHeight();
178              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Destination One wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Destination One" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
179              jQuery(this).remove();
180          });
181        }
182      }
183    }
184    if (jQuery('.googlemaps').length) {
185      cookieGoogleMaps = getCookie('Cookie_Consent_Google_Maps');
186      if(cookieGoogleMaps) {
187        if(cookieGoogleMaps == "on") {
188          jQuery(".cookieconsent-content .row div.googlemaps").attr("data-state", "on");
189          jQuery(".cookieconsent-content .row div.googlemaps").find(".change-cookie").addClass("active");
190          jQuery(".cookieconsent-content .row div.googlemaps").find("span").text("Aktiviert");
191          jQuery(".cookieconsent-content .row div.googlemaps").removeClass("off");
192          jQuery(".cookieconsent-content .row div.googlemaps").addClass("on");
193        } else {
194          jQuery('.html-google-maps').each(function() {
195            var height = jQuery(this).outerHeight();
196            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Google Maps wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Google Maps" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
197            jQuery(this).remove();
198        });
199        }
200      }
201    }
202    if (jQuery('.openstreetmap').length) {
203      cookieOpenStreetMap = getCookie('Cookie_Consent_OpenStreetMap');
204      if(cookieOpenStreetMap) {
205        if(cookieOpenStreetMap == "on") {
206          jQuery(".cookieconsent-content .row div.openstreetmap").attr("data-state", "on");
207          jQuery(".cookieconsent-content .row div.openstreetmap").find(".change-cookie").addClass("active");
208          jQuery(".cookieconsent-content .row div.openstreetmap").find("span").text("Aktiviert");
209          jQuery(".cookieconsent-content .row div.openstreetmap").removeClass("off");
210          jQuery(".cookieconsent-content .row div.openstreetmap").addClass("on");
211        } else {
212          jQuery('#domap').each(function() {
213              var height = jQuery(this).outerHeight();
214              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>OpenStreetMap wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "OpenStreetMap" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
215              jQuery(this).remove();
216          });
217          jQuery('#domapMulti').each(function() {
218              var height = jQuery(this).outerHeight();
219              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>OpenStreetMap wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "OpenStreetMap" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
220              jQuery(this).remove();
221          });
222          jQuery('.html-openstreetmap').each(function() {
223            var height = jQuery(this).outerHeight();
224            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>OpenStreetMap wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "OpenStreetMap" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
225            jQuery(this).remove();
226          });
227        }
228      }
229    }
230    if (jQuery('.youtube').length) {
231      cookieYouTube = getCookie('Cookie_Consent_YouTube');
232      if(cookieYouTube) {
233        if(cookieYouTube == "on") {
234          jQuery(".cookieconsent-content .row div.youtube").attr("data-state", "on");
235          jQuery(".cookieconsent-content .row div.youtube").find(".change-cookie").addClass("active");
236          jQuery(".cookieconsent-content .row div.youtube").find("span").text("Aktiviert");
237          jQuery(".cookieconsent-content .row div.youtube").removeClass("off");
238          jQuery(".cookieconsent-content .row div.youtube").addClass("on");
239        } else {
240          jQuery('.video[data-video="youtube"]').each(function() {
241              jQuery('<div class="cookie-notice"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>YouTube wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "YouTube" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').appendTo(this);
242              jQuery(this).addClass('video-hidden');
243          });
244        }
245      }
246    }
247    if (jQuery('.vimeo').length) {
248      cookieVimeo = getCookie('Cookie_Consent_Vimeo');
249      if(cookieVimeo) {
250        if(cookieVimeo == "on") {
251          jQuery(".cookieconsent-content .row div.vimeo").attr("data-state", "on");
252          jQuery(".cookieconsent-content .row div.vimeo").find(".change-cookie").addClass("active");
253          jQuery(".cookieconsent-content .row div.vimeo").find("span").text("Aktiviert");
254          jQuery(".cookieconsent-content .row div.vimeo").removeClass("off");
255          jQuery(".cookieconsent-content .row div.vimeo").addClass("on");
256        } else {
257          jQuery('.video[data-video="vimeo"]').each(function() {
258              jQuery('<div class="cookie-notice"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Vimeo wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Vimeo" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').appendTo(this);
259              jQuery(this).addClass('video-hidden');
260           });
261        }
262      }
263    }
264    if (jQuery('.recaptcha').length) {
265      cookieRecaptcha = getCookie('Cookie_Consent_reCAPTCHA');
266      if(cookieRecaptcha) {
267        if(cookieRecaptcha == "on") {
268          jQuery(".cookieconsent-content .row div.recaptcha").attr("data-state", "on");
269          jQuery(".cookieconsent-content .row div.recaptcha").find(".change-cookie").addClass("active");
270          jQuery(".cookieconsent-content .row div.recaptcha").find("span").text("Aktiviert");
271          jQuery(".cookieconsent-content .row div.recaptcha").removeClass("off");
272          jQuery(".cookieconsent-content .row div.recaptcha").addClass("on");
273
274          jQuery("head").append('
vendor: 75 bytes, line 274
274<script src="https://www.google.com/recaptcha/api.js" async defer></script>
274');
275
276        } else {
277          jQuery('script').each(function() {
278            if (this.src.indexOf("captcha") != -1) {
279              jQuery(this).remove();
280            }
281          });
282          jQuery('div').each(function() {
283            if (jQuery(this).hasClass("g-recaptcha")) {
284              var height = jQuery(this).outerHeight();
285              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Für die Verwendung von Formularen benötigen Sie reCAPTCHA</p><p>Bitte aktivieren Sie "reCAPTCHA" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(jQuery(this).parents("form"));
286              jQuery(this).parents("form").remove();
287            }
288          });
289        }
290      }
291    }
292    if (jQuery('.readspeaker').length) {
293      cookieReadspeaker = getCookie('Cookie_Consent_ReadSpeaker');
294      if(cookieReadspeaker) {
295        if(cookieReadspeaker == "on") {
296          jQuery(".cookieconsent-content .row div.readspeaker").attr("data-state", "on");
297          jQuery(".cookieconsent-content .row div.readspeaker").find(".change-cookie").addClass("active");
298          jQuery(".cookieconsent-content .row div.readspeaker").find("span").text("Aktiviert");
299          jQuery(".cookieconsent-content .row div.readspeaker").removeClass("off");
300          jQuery(".cookieconsent-content .row div.readspeaker").addClass("on");
301        } else {
302          jQuery('script').each(function() {
303            if (this.src.indexOf("ReadSpeaker.js") != -1) {
304              var height = jQuery(this).outerHeight();
305              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>ReadSpeaker wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "ReadSpeaker" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
306              jQuery(this).remove();
307            }
308            if (this.src.indexOf("readspeaker.com") != -1) {
309              jQuery(this).remove();
310            }
311          });
312          jQuery('#rsmod_Styles').each(function() {
313            jQuery(this).remove();
314          });
315          jQuery("#readspeaker_button1").remove();
316        }
317      }
318    }
319    if (jQuery('.rceevent').length) {
320      cookieRceEvent = getCookie('Cookie_Consent_RCE_Event');
321      if(cookieRceEvent) {
322        if(cookieRceEvent == "on") {
323          jQuery(".cookieconsent-content .row div.rceevent").attr("data-state", "on");
324          jQuery(".cookieconsent-content .row div.rceevent").find(".change-cookie").addClass("active");
325          jQuery(".cookieconsent-content .row div.rceevent").find("span").text("Aktiviert");
326          jQuery(".cookieconsent-content .row div.rceevent").removeClass("off");
327          jQuery(".cookieconsent-content .row div.rceevent").addClass("on");
328        } else {
329          jQuery('iframe').each(function() {
330            if (this.src.indexOf("rce-event.de") != -1) {
331              var height = jQuery(this).outerHeight();
332              jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>RCE-Event wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "RCE-Event" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
333              jQuery(this).remove();
334            }
335          });
336        }
337      }
338    }
339    if (jQuery('.matomo').length) { 
340      cookieMatomo = getCookie('Cookie_Consent_Matomo_Piwik');
341      if(cookieMatomo) {
342        if(cookieMatomo == "on") {
343          jQuery(".cookieconsent-content .row div.matomo").attr("data-state", "on");
344          jQuery(".cookieconsent-content .row div.matomo").find(".change-cookie").addClass("active");
345          jQuery(".cookieconsent-content .row div.matomo").find("span").text("Aktiviert");
346          jQuery(".cookieconsent-content .row div.matomo").removeClass("off");
347          jQuery(".cookieconsent-content .row div.matomo").addClass("on");
348
349          (function() {
350            var u='//'+domainName+'/matomo/';
351            _paq.push(['setTrackerUrl', u+'matomo.php']);
352            _paq.push(['setSiteId', '1']);
353            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
354            g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
355          })();
356
357        } else {
358
359          _paq.push(['disableCookies']);
360        }
361      }
362    }
363    if (jQuery('.mainecho').length) {
364      cookieMainEcho = getCookie('Cookie_Consent_Main_Echo');
365      if(cookieMainEcho) {
366        if(cookieMainEcho == "on") {
367          jQuery(".cookieconsent-content .row div.mainecho").attr("data-state", "on");
368          jQuery(".cookieconsent-content .row div.mainecho").find(".change-cookie").addClass("active");
369          jQuery(".cookieconsent-content .row div.mainecho").find("span").text("Aktiviert");
370          jQuery(".cookieconsent-content .row div.mainecho").removeClass("off");
371          jQuery(".cookieconsent-content .row div.mainecho").addClass("on");
372        } else {
373          jQuery('.html-mainecho').each(function() {
374            var height = jQuery(this).outerHeight();
375            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Main-Echo wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Main-Echo" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
376            jQuery(this).remove();
377        });
378        }
379      }
380    }
381    if (jQuery('.sessionnetkrz').length) {
382      cookieSessionNetKrz = getCookie('Cookie_Consent_SessionNet_Krz');
383      if(cookieSessionNetKrz) {
384        if(cookieSessionNetKrz == "on") {
385          jQuery(".cookieconsent-content .row div.sessionnetkrz").attr("data-state", "on");
386          jQuery(".cookieconsent-content .row div.sessionnetkrz").find(".change-cookie").addClass("active");
387          jQuery(".cookieconsent-content .row div.sessionnetkrz").find("span").text("Aktiviert");
388          jQuery(".cookieconsent-content .row div.sessionnetkrz").removeClass("off");
389          jQuery(".cookieconsent-content .row div.sessionnetkrz").addClass("on");
390        } else {
391          jQuery('.html-sessionnetkrz').each(function() {
392            var height = jQuery(this).outerHeight();
393            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>SessionNet krz wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "SessionNet krz" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
394            jQuery(this).remove();
395        });
396        }
397      }
398    }
399    if (jQuery('.bayernatlas').length) {
400      cookieBayernAtlas = getCookie('Cookie_Consent_BayernAtlas');
401      if(cookieBayernAtlas) {
402        if(cookieBayernAtlas == "on") {
403          jQuery(".cookieconsent-content .row div.bayernatlas").attr("data-state", "on");
404          jQuery(".cookieconsent-content .row div.bayernatlas").find(".change-cookie").addClass("active");
405          jQuery(".cookieconsent-content .row div.bayernatlas").find("span").text("Aktiviert");
406          jQuery(".cookieconsent-content .row div.bayernatlas").removeClass("off");
407          jQuery(".cookieconsent-content .row div.bayernatlas").addClass("on");
408        } else {
409          jQuery('.html-bayernatlas').each(function() {
410            var height = jQuery(this).outerHeight();
411            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>BayernAtlas wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "BayernAtlas" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
412            jQuery(this).remove();
413        });
414        }
415      }
416    }
417    if (jQuery('.zaehly').length) {
418      cookieZaehly = getCookie('Cookie_Consent_Zaehly');
419      if(cookieZaehly) {
420        if(cookieZaehly == "on") {
421          jQuery(".cookieconsent-content .row div.zaehly").attr("data-state", "on");
422          jQuery(".cookieconsent-content .row div.zaehly").find(".change-cookie").addClass("active");
423          jQuery(".cookieconsent-content .row div.zaehly").find("span").text("Aktiviert");
424          jQuery(".cookieconsent-content .row div.zaehly").removeClass("off");
425          jQuery(".cookieconsent-content .row div.zaehly").addClass("on");
426        } else {
427          jQuery('.html-zaehly').each(function() {
428            var height = jQuery(this).outerHeight();
429            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Zähly wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Zähly" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
430            jQuery(this).remove();
431        });
432        }
433      }
434    }
435    if (jQuery('.destination-one').length) {
436      cookieDestinationOne = getCookie('Cookie_Consent_Destination_One');
437      if(cookieDestinationOne) {
438        if(cookieDestinationOne == "on") {
439          jQuery(".cookieconsent-content .row div.destination-one").attr("data-state", "on");
440          jQuery(".cookieconsent-content .row div.destination-one").find(".change-cookie").addClass("active");
441          jQuery(".cookieconsent-content .row div.destination-one").find("span").text("Aktiviert");
442          jQuery(".cookieconsent-content .row div.destination-one").removeClass("off");
443          jQuery(".cookieconsent-content .row div.destination-one").addClass("on");
444        } else {
445          jQuery('.html-destination-one').each(function() {
446            var height = jQuery(this).outerHeight();
447            jQuery('<div class="cookie-notice" style="height: '+ height +'px"><div><i class="fas fa-shield-alt" aria-label="Schild Icon"></i><p>Destination One wird derzeit nicht angezeigt</p><p>Bitte aktivieren Sie "Destination One" in Ihren Cookie Einstellungen.</p><div class="button ghost default-background"> <a href="javascript:void(0);" class="cookie-open button-content" title="Cookie Einstellungen öffnen"><span>Cookies Anpassen</span></a> </div></div></div>').insertBefore(this);
448            jQuery(this).remove();
449        });
450        }
451      }
452    }
453    if (jQuery('.facebook-pixel').length) { 
454      cookieFacebookPixel = getCookie('Cookie_Consent_Facebook_Pixel');
455      if(cookieFacebookPixel) {
456        if(cookieFacebookPixel == "on") {
457          jQuery(".cookieconsent-content .row div.facebook-pixel").attr("data-state", "on");
458          jQuery(".cookieconsent-content .row div.facebook-pixel").find(".change-cookie").addClass("active");
459          jQuery(".cookieconsent-content .row div.facebook-pixel").find("span").text("Aktiviert");
460          jQuery(".cookieconsent-content .row div.facebook-pixel").removeClass("off");
461          jQuery(".cookieconsent-content .row div.facebook-pixel").addClass("on");
462        } else {
463
464        }
465      }
466    }
467    if (jQuery('.adobe-fonts').length) { 
468      cookieAdobeFonts = getCookie('Cookie_Consent_Adobe_Fonts');
469      if(cookieAdobeFonts) {
470        if(cookieAdobeFonts == "on") {
471          jQuery(".cookieconsent-content .row div.adobe-fonts").attr("data-state", "on");
472          jQuery(".cookieconsent-content .row div.adobe-fonts").find(".change-cookie").addClass("active");
473          jQuery(".cookieconsent-content .row div.adobe-fonts").find("span").text("Aktiviert");
474          jQuery(".cookieconsent-content .row div.adobe-fonts").removeClass("off");
475          jQuery(".cookieconsent-content .row div.adobe-fonts").addClass("on");
476        } else {
477
478        }
479      }
480    }
481  }
482
483  jQuery(".cookie-show-details").click(function() {
484    jQuery(this).next("i").next(".cookie-details").slideToggle(250);
485    jQuery(this).next("i").toggleClass("rotate");
486  });
487
488  jQuery(".cookieconsent-content .col-sm-8 .cookie-content:not(.required):not(.general):not(.policy)").click(function() {
489    if(jQuery(this).hasClass("off")) {
490      jQuery(this).find(".change-cookie").addClass("active");
491      jQuery(this).find("span").text("Aktiviert");
492      jQuery(this).removeClass("off");
493      jQuery(this).addClass("on");
494      jQuery(this).attr("data-state", "on");
495    } else {
496      jQuery(this).find(".change-cookie").removeClass("active");
497      jQuery(this).find("span").text("Deaktiviert");
498      jQuery(this).removeClass("on");
499      jQuery(this).addClass("off");
500      jQuery(this).attr("data-state", "off");
501    }
502  });
503  
504  jQuery(".cookie-accept-all").click(function() {
505    jQuery(".cookieconsent-content .col-sm-8 .cookie-content:not(.required):not(.general):not(.policy)").each(function() {
506      jQuery(this).find(".change-cookie").addClass("active");
507      jQuery(this).find("span").text("Aktiviert");
508      jQuery(this).removeClass("off");
509      jQuery(this).addClass("on");
510      jQuery(this).attr("data-state", "on");
511      jQuery(".cookieconsent a, .cookieconsent button").removeAttr("tabindex");
512    });  
513
514    var date = new Date();
515    var year = date.getFullYear();
516    var month = date.getMonth();
517    var day = date.getDate();
518    var expires = new Date(year + 2, month, day)
519
520    document.cookie = "Cookie_Consent=saved; path=/; expires=" + expires;
521
522    if (jQuery('.googlemaps').length) {
523     document.cookie = "Cookie_Consent_Google_Maps=on; path=/; expires=" + expires;
524   }
525   if (jQuery('.openstreetmap').length) {
526    document.cookie = "Cookie_Consent_OpenStreetMap=on; path=/; expires=" + expires;
527   }
528   if (jQuery('.youtube').length) {
529     document.cookie = "Cookie_Consent_YouTube=on; path=/; expires=" + expires;
530   }
531   if (jQuery('.vimeo').length) {
532    document.cookie = "Cookie_Consent_Vimeo=on; path=/; expires=" + expires;
533  }
534   if (jQuery('.recaptcha').length) {
535     document.cookie = "Cookie_Consent_reCAPTCHA=on; path=/; expires=" + expires;
536   }
537   if (jQuery('.readspeaker').length) {
538     document.cookie = "Cookie_Consent_ReadSpeaker=on; path=/; expires=" + expires;
539   }
540   if (jQuery('.rceevent').length) {
541     document.cookie = "Cookie_Consent_RCE_Event=on; path=/; expires=" + expires;
542   }
543   if (jQuery('.matomo').length) {
544     document.cookie = "Cookie_Consent_Matomo_Piwik=on; path=/; expires=" + expires;
545   }
546   if (jQuery('.mainecho').length) {
547    document.cookie = "Cookie_Consent_Main_Echo=on; path=/; expires=" + expires;
548  }
549  if (jQuery('.sessionnetkrz').length) {
550    document.cookie = "Cookie_Consent_SessionNet_Krz=on; path=/; expires=" + expires;
551  }
552  if (jQuery('.bayernatlas').length) {
553    document.cookie = "Cookie_Consent_BayernAtlas=on; path=/; expires=" + expires;
554  }
555  if (jQuery('.zaehly').length) {
556    document.cookie = "Cookie_Consent_Zaehly=on; path=/; expires=" + expires;
557  }
558  if (jQuery('.destination-one').length) {
559    document.cookie = "Cookie_Consent_Destination_One=on; path=/; expires=" + expires;
560  }
561  if (jQuery('.facebook-pixel').length) {
562    document.cookie = "Cookie_Consent_Facebook_Pixel=on; path=/; expires=" + expires;
563  }
564  if (jQuery('.adobe-fonts').length) {
565    document.cookie = "Cookie_Consent_Adobe_Fonts=on; path=/; expires=" + expires;
566  }
567
568    jQuery(".cookieconsent-content").removeClass("opened");
569    jQuery(".cookieconsent-shade").removeClass("cover");
570    jQuery(".cookieconsent a, .cookieconsent button").removeAttr("tabindex");
571    checkCookies();
572    location.reload(true);
573 });
574  
575  jQuery(".cookie-reject-all").click(function() {
576    jQuery(".cookieconsent-content .col-sm-8 .cookie-content:not(.required)").each(function() {
577      jQuery(this).find(".change-cookie").removeClass("active");
578      jQuery(this).find("span").text("Deaktiviert");
579      jQuery(this).removeClass("on");
580      jQuery(this).addClass("off");
581      jQuery(this).attr("data-state", "off");
582      jQuery(".cookieconsent a, .cookieconsent button").removeAttr("tabindex");
583    });
584
585    var date = new Date();
586    var year = date.getFullYear();
587    var month = date.getMonth();
588    var day = date.getDate();
589    var expires = new Date(year + 2, month, day)
590
591    document.cookie = "Cookie_Consent=saved; path=/; expires=" + expires;
592
593    if (jQuery('.googlemaps').length) {
594     document.cookie = "Cookie_Consent_Google_Maps=off; path=/; expires=" + expires;
595   }
596   if (jQuery('.openstreetmap').length) {
597    document.cookie = "Cookie_Consent_OpenStreetMap=off; path=/; expires=" + expires;
598   }
599   if (jQuery('.youtube').length) {
600     document.cookie = "Cookie_Consent_YouTube=off; path=/; expires=" + expires;
601   }
602   if (jQuery('.vimeo').length) {
603    document.cookie = "Cookie_Consent_Vimeo=off; path=/; expires=" + expires;
604  }
605   if (jQuery('.recaptcha').length) {
606     document.cookie = "Cookie_Consent_reCAPTCHA=off; path=/; expires=" + expires;
607   }
608   if (jQuery('.readspeaker').length) {
609     document.cookie = "Cookie_Consent_ReadSpeaker=off; path=/; expires=" + expires;
610   }
611   if (jQuery('.rceevent').length) {
612     document.cookie = "Cookie_Consent_RCE_Event=off; path=/; expires=" + expires;
613   }
614   if (jQuery('.matomo').length) {
615     document.cookie = "Cookie_Consent_Matomo_Piwik=off; path=/; expires=" + expires;
616   }
617   if (jQuery('.mainecho').length) {
618    document.cookie = "Cookie_Consent_Main_Echo=off; path=/; expires=" + expires;
619  }
620  if (jQuery('.sessionnetkrz').length) {
621    document.cookie = "Cookie_Consent_SessionNet_Krz=off; path=/; expires=" + expires;
622  }
623  if (jQuery('.bayernatlas').length) {
624    document.cookie = "Cookie_Consent_BayernAtlas=off; path=/; expires=" + expires;
625  }
626  if (jQuery('.zaehly').length) {
627    document.cookie = "Cookie_Consent_Zaehly=off; path=/; expires=" + expires;
628  }
629  if (jQuery('.destination-one').length) {
630    document.cookie = "Cookie_Consent_Destination_One=off; path=/; expires=" + expires;
631  }
632  if (jQuery('.facebook-pixel').length) {
633    document.cookie = "Cookie_Consent_Facebook_Pixel=off; path=/; expires=" + expires;
634  }
635  if (jQuery('.adobe-fonts').length) {
636    document.cookie = "Cookie_Consent_Adobe_Fonts=off; path=/; expires=" + expires;
637  }
638
639    jQuery(".cookieconsent-content").removeClass("opened");
640    jQuery(".cookieconsent-shade").removeClass("cover");
641    jQuery(".cookieconsent a, .cookieconsent button").removeAttr("tabindex");
642    checkCookies();
643    location.reload(true);
644  });
645
646  jQuery(".cookie-configure").click(function() { 
647    jQuery(".cookieconsent-content .row").removeClass("hide");
648    jQuery(".cookie-overview").addClass("hide");
649  });
650
651  jQuery(".cookie-save").click(function() {
652
653    var date = new Date();
654    var year = date.getFullYear();
655    var month = date.getMonth();
656    var day = date.getDate();
657    var expires = new Date(year + 2, month, day)
658
659    document.cookie = "Cookie_Consent=saved; path=/; expires=" + expires;
660
661    if (jQuery('.googlemaps').length) {
662      var googlemaps = jQuery(".cookieconsent-content .row div.googlemaps").attr("data-state");
663      document.cookie = "Cookie_Consent_Google_Maps=" + googlemaps + "; path=/; expires=" + expires;
664    }
665    if (jQuery('.openstreetmap').length) {
666      var openstreetmap = jQuery(".cookieconsent-content .row div.openstreetmap").attr("data-state");
667      document.cookie = "Cookie_Consent_OpenStreetMap=" + openstreetmap + "; path=/; expires=" + expires;
668    }
669    if (jQuery('.youtube').length) {
670      var youtube = jQuery(".cookieconsent-content .row div.youtube").attr("data-state");
671      document.cookie = "Cookie_Consent_YouTube=" + youtube + "; path=/; expires=" + expires;
672    }
673    if (jQuery('.vimeo').length) {
674      var vimeo = jQuery(".cookieconsent-content .row div.vimeo").attr("data-state");
675      document.cookie = "Cookie_Consent_Vimeo=" + vimeo + "; path=/; expires=" + expires;
676    }
677    if (jQuery('.recaptcha').length) {
678      var recaptcha = jQuery(".cookieconsent-content .row div.recaptcha").attr("data-state");
679      document.cookie = "Cookie_Consent_reCAPTCHA=" + recaptcha + "; path=/; expires=" + expires;
680    }
681    if (jQuery('.readspeaker').length) {
682      var readspeaker = jQuery(".cookieconsent-content .row div.readspeaker").attr("data-state");
683      document.cookie = "Cookie_Consent_ReadSpeaker=" + readspeaker + "; path=/; expires=" + expires;
684    }
685    if (jQuery('.rceevent').length) {
686      var rceevent = jQuery(".cookieconsent-content .row div.rceevent").attr("data-state");
687      document.cookie = "Cookie_Consent_RCE_Event=" + rceevent + "; path=/; expires=" + expires;
688    }
689    if (jQuery('.matomo').length) {
690      var matomo = jQuery(".cookieconsent-content .row div.matomo").attr("data-state");
691      document.cookie = "Cookie_Consent_Matomo_Piwik=" + matomo + "; path=/; expires=" + expires;
692    }
693    if (jQuery('.mainecho').length) {
694      var mainecho = jQuery(".cookieconsent-content .row div.mainecho").attr("data-state");
695      document.cookie = "Cookie_Consent_Main_Echo=" + mainecho + "; path=/; expires=" + expires;
696    }
697    if (jQuery('.sessionnetkrz').length) {
698      var sessionnetkrz = jQuery(".cookieconsent-content .row div.sessionnetkrz").attr("data-state");
699      document.cookie = "Cookie_Consent_SessionNet_Krz=" + sessionnetkrz + "; path=/; expires=" + expires;
700    }
701    if (jQuery('.bayernatlas').length) {
702      var bayernatlas = jQuery(".cookieconsent-content .row div.bayernatlas").attr("data-state");
703      document.cookie = "Cookie_Consent_BayernAtlas=" + bayernatlas + "; path=/; expires=" + expires;
704    }
705    if (jQuery('.zaehly').length) {
706      var zaehly = jQuery(".cookieconsent-content .row div.zaehly").attr("data-state");
707      document.cookie = "Cookie_Consent_Zaehly=" + zaehly + "; path=/; expires=" + expires;
708    }
709    if (jQuery('.destination-one').length) {
710      var destinationOne = jQuery(".cookieconsent-content .row div.destination-one").attr("data-state");
711      document.cookie = "Cookie_Consent_Destination_One=" + destinationOne + "; path=/; expires=" + expires;
712    }
713    if (jQuery('.facebook-pixel').length) {
714      var facebookPixel = jQuery(".cookieconsent-content .row div.facebook-pixel").attr("data-state");
715      document.cookie = "Cookie_Consent_Facebook_Pixel=" + facebookPixel + "; path=/; expires=" + expires;
716    }
717    if (jQuery('.adobe-fonts').length) {
718      var adobeFonts = jQuery(".cookieconsent-content .row div.adobe-fonts").attr("data-state");
719      document.cookie = "Cookie_Consent_Adobe_Fonts=" + adobeFonts + "; path=/; expires=" + expires;
720    }
721
722    jQuery(".cookieconsent-content").removeClass("opened");
723    jQuery(".cookieconsent-shade").removeClass("cover");
724    jQuery(".cookieconsent a, .cookieconsent button").removeAttr("tabindex");
725    checkCookies();
726    location.reload(true);
727  });
728
729  checkCookies();
730
731  jQuery(".cookie-open").click(function() {
732    if(jQuery(".cookieconsent-content").hasClass("opened")) {
733      jQuery(".cookieconsent-content").removeClass("opened");
734      jQuery(".cookieconsent-shade").removeClass("cover");
735      jQuery(".cookie-overview").addClass("hide");
736      jQuery(".cookieconsent a, .cookieconsent button").attr("tabindex", "1");
737    } else {
738      jQuery(".cookieconsent-content").addClass("opened");
739      jQuery(".cookieconsent-shade").addClass("cover");
740      jQuery(".cookie-overview").addClass("hide");
741      jQuery(".cookieconsent a, .cookieconsent button").removeAttr("tabindex");
742    }
743  });
744  
745});

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.