1if (parms.shortcode_blocker_layertext) var shortcode_blocker_layertext = parms.shortcode_blocker_layertext; 2if (parms.iframe_blocker_layertext) var iframe_blocker_layertext = parms.iframe_blocker_layertext; 3var scripts = document.getElementsByTagName("script"), 4 path = scripts[scripts.length - 1].src.split("?")[0], 5 tarteaucitronForceCDN = tarteaucitronForceCDN === undefined ? "" : tarteaucitronForceCDN, 6 cdn = tarteaucitronForceCDN === "" ? path.split("/").slice(0, -1).join("/") + "/" : tarteaucitronForceCDN, 7 alreadyLaunch = alreadyLaunch === undefined ? 0 : alreadyLaunch, 8 tarteaucitronForceLanguage = tarteaucitronForceLanguage === undefined ? "" : tarteaucitronForceLanguage, 9 tarteaucitronForceExpire = tarteaucitronForceExpire === undefined ? "" : tarteaucitronForceExpire, 10 tarteaucitronCustomText = tarteaucitronCustomText === undefined ? "" : tarteaucitronCustomText, 11 cookietime = parms.cookie_time, 12 timeExipre = cookietime * 86400000, 13 tarteaucitronProLoadServices, 14 tarteaucitronNoAdBlocker = !1, 15 cookiestyle = parms.noticestyle, 16 pixelorderid = parms.pixelorderid, 17 cookiebackgroundcolor = parms.backgroundcolor, 18 cookietextcolor = parms.textcolor, 19 cookiebuttonbackground = parms.buttonbackground, 20 cookiebuttontextcolor = parms.buttontextcolor, 21 cookiebuttonlinkcolor = parms.buttonlinkcolor, 22 cookietext = parms.cookietext, 23 cookieaccepttext = parms.cookieaccepttext, 24 policytextbtn = parms.privacybtntext; 25(onscrolltext = parms.onscrolltext), 26 (onscrolltextbold = parms.onscrolltext), 27 (ablehnentxt = parms.ablehnentxt), 28 (ablehnentext = parms.ablehnentext), 29 (ablehnenurl = parms.ablehnenurl), 30 (ablehnenanzeigen = parms.showrejectbtn), 31 (btn_text_customize = parms.btn_text_customize), 32 (customservice1_use = parms.customservice1_use), 33 (customservice1_name = parms.customservice1_name), 34 (customservice1_cookies = parms.customservice1_cookies), 35 (customservice1_readmore = parms.customservice1_readmore), 36 (customservice1_type = parms.customservice1_type), 37 (customservice1_code_accept = parms.customservice1_code_accept), 38 (customservice1_code_reject = parms.customservice1_code_reject), 39 (customservice2_use = parms.customservice2_use), 40 (customservice2_name = parms.customservice2_name), 41 (customservice2_cookies = parms.customservice2_cookies), 42 (customservice2_readmore = parms.customservice2_readmore), 43 (customservice2_type = parms.customservice2_type), 44 (customservice2_code_accept = parms.customservice2_code_accept), 45 (customservice2_code_reject = parms.customservice2_code_reject), 46 (customservice3_use = parms.customservice3_use), 47 (customservice3_name = parms.customservice3_name), 48 (customservice3_cookies = parms.customservice3_cookies), 49 (customservice3_readmore = parms.customservice3_readmore), 50 (customservice3_type = parms.customservice3_type), 51 (customservice3_code_accept = parms.customservice3_code_accept), 52 (customservice3_code_reject = parms.customservice3_code_reject), 53 (customservice4_use = parms.customservice4_use), 54 (customservice4_name = parms.customservice4_name), 55 (customservice4_cookies = parms.customservice4_cookies), 56 (customservice4_readmore = parms.customservice4_readmore), 57 (customservice4_type = parms.customservice4_type), 58 (customservice4_code_accept = parms.customservice4_code_accept), 59 (customservice4_code_reject = parms.customservice4_code_reject), 60 (customservice5_use = parms.customservice5_use), 61 (customservice5_name = parms.customservice5_name), 62 (customservice5_cookies = parms.customservice5_cookies), 63 (customservice5_readmore = parms.customservice5_readmore), 64 (customservice5_type = parms.customservice5_type), 65 (customservice5_code_accept = parms.customservice5_code_accept), 66 (customservice5_code_reject = parms.customservice5_code_reject), 67 (customservice1_needconsent = parms.customservice1_needconsent), 68 (customservice2_needconsent = parms.customservice2_needconsent), 69 (customservice3_needconsent = parms.customservice3_needconsent), 70 (customservice4_needconsent = parms.customservice4_needconsent), 71 (customservice5_needconsent = parms.customservice5_needconsent), 72 (autoacceptscrolling = parms.autoacceptscrolling), 73 (btnbgcoloraccept = parms.btnbgcoloraccept), 74 (pluginurl = parms.plugin_url), 75 (plugindir = decodeURIComponent(parms.plugin_dir.replace(/\+/g, " ")).replace(/"/g, '"')), 76 (instagram_userid = parms.instagram_userid), 77 (instagram_accesstoken = parms.instagram_accesstoken), 78 (popupbtncolor = parms.popupbtncolor), 79 (popupbtncoloractive = parms.popupbtncoloractive), 80 (popupbtncolordeactive = parms.popupbtncolordeactive), 81 (analytics_cat_name = parms.analytics_cat_name), 82 (ads_cat_name = parms.ads_cat_name), 83 (social_cat_name = parms.social_cat_name), 84 (video_cat_name = parms.video_cat_name), 85 (comments_cat_name = parms.comments_cat_name),
86 (support_cat_name = parms.support_cat_name), 87 (apis_cat_name = parms.apis_cat_name), 88 (essential_cat_name = parms.essential_cat_name), 89 (other_cat_name = parms.other_cat_name), 90 (desc_essentail = parms.desc_essentail), 91 (desc_apis = parms.desc_apis), 92 (desc_ads = parms.desc_ads), 93 (desc_analytic = parms.desc_analytic), 94 (desc_social = parms.desc_social), 95 (desc_video = parms.desc_video), 96 (desc_comment = parms.desc_comment), 97 (desc_support = parms.desc_support), 98 (desc_other = parms.desc_other), 99 (servicecontrolname = parms.servicecontrolname), 100 (privacysettingsname = parms.privacysettingsname), 101 (wpcookiesname = parms.wpcookiesname), 102 (fbpixelname = parms.fbpixelname), 103 (ganame = parms.ganame), 104 (soundcloudname = parms.soundcloudname), 105 (mixcloudname = parms.mixcloudname), 106 (hearthisname = parms.hearthisname), 107 (gatagname = parms.gatagname), 108 (adsensename = parms.adsensename), 109 (gmapsname = parms.gmapsname), 110 (criteoname = parms.criteoname), 111 (awinname = parms.awinname), 112 (recaptchaname = parms.recaptchaname), 113 (amazonname = parms.amazonname), 114 (diqusname = parms.diqusname), 115 (instagramname = parms.instagramname), 116 (pinterestname = parms.pinterestname), 117 (fbcommentsname = parms.fbcommentsname), 118 (fblikename = parms.fblikename), 119 (fbfeedname = parms.fbfeedname), 120 (tidioname = parms.tidioname), 121 (sharethisdisplayname = parms.sharethisdisplayname), 122 (shareaholicname = parms.shareaholicname), 123 (addthisname = parms.addthisname), 124 (addtoanyname = parms.addtoanyname), 125 (youtubename = parms.youtubename), 126 (dailymotionname = parms.dailymotionname), 127 (vimeoname = parms.vimeoname), 128 (slidesharename = parms.slidesharename), 129 (clickyname = parms.clickyname), 130 (etrackername = parms.etrackername), 131 (statcountername = parms.statcountername), 132 (fastcountername = parms.fastcountername), 133 (slimstatsname = parms.slimstatsname), 134 (fbcustomerchatname = parms.fbcustomerchatname), 135 (onesignalname = parms.onesignalname), 136 (piwikname = parms.piwikname), 137 (hotjarname = parms.hotjarname), 138 (komootname = parms.komootname), 139 (openstreetmapname = parms.openstreetmapname), 140 (gofundmename = parms.gofundmename), 141 (noticestyle = parms.noticestyle), 142 (policytext = parms.policytext), 143 (denytext = parms.denytext), 144 (accepttext = parms.accepttext), 145 (deactivatedtext = parms.deactivatedtext), 146 (closetext = parms.closetext), 147 (nolabel = parms.noname), 148 (yeslabel = parms.yesname), 149 (cookietextusage = parms.cookietextusage), 150 (cookietextusagebefore = parms.cookietextusagebefore), 151 (linkto = parms.linkto), 152 (nocookietext = parms.nocookietext), 153 (cookiedescriptiontext = parms.cookiedescriptiontext), 154 (languageswitcher = parms.languageswitcher), 155 (popupagbs = parms.popupagbs), 156 (pixelevent = parms.pixelevent), 157 (fbpixel_content_name = parms.fbpixel_content_name), 158 (fbpixel_product_price = parms.fbpixel_product_price), 159 (fbpixel_currency = parms.fbpixel_currency), 160 (fbpixel_content_ids = parms.fbpixel_content_ids), 161 (fbpixel_content_type = parms.fbpixel_content_type), 162 (fbpixel_product_cat = parms.fbpixel_product_cat), 163 (isbuyedsendet = parms.isbuyedsendet), 164 (pixeleventamount = parms.pixeleventamount), 165 (pixeleventcurrency = parms.pixeleventcurrency), 166 (auto_accept_scrolling_percent = parms.auto_accept_scrolling_percent), 167 (ga_defaultoptinout = parms.ga_defaultoptinout), 168 (matomo_defaultoptinout = parms.matomo_defaultoptinout), 169 (vgwort_defaultoptinout = parms.vgwort_defaultoptinout), 170 (language = parms.language), 171 (adminajaxurl = parms.adminajaxurl), 172 (polylangcookie = parms.polylangcookie), 173 (woocommercecookies = parms.woocommercecookies), 174 (textcansetcookies = parms.cansetcookies), 175 (usenocookies = parms.usenocookies), 176 (nocookiesaved = parms.nocookiesaved), 177 (savedcookies = parms.savedcookies), 178 (showpolicyname = parms.showpolicyname), 179 (cansetcookiestext = ""), 180 (maincookiesname = parms.maincookiesname), 181 (allowallname = parms.allowallname), 182 (denyallname = parms.denyallname), 183 (maincatname = parms.maincatname), 184 (use_wpgmp = parms.use_wpgmp), 185 (animation_time = Number(parms.animation_time)), 186 (textgfrecaptcha = parms.textgfrecaptcha), 187 (textgfrecaptchaloaded = parms.textgfrecaptchaloaded), 188 (outgoing_text = parms.outgoing_text), 189 (show_layertext = parms.show_layertext), 190 (loadingtext = parms.loadingtext); 191var obj = { 192 googlemaps_spt: parms.googlemaps_spt, 193 youtube_spt: parms.youtube_spt, 194 vimeo_spt: parms.vimeo_spt, 195 dailymotion_spt: parms.dailymotion_spt, 196 soundcloud_spt: parms.soundcloud_spt, 197 hearthis_spt: parms.hearthis_spt, 198 mixcloud_spt: parms.mixcloud_spt, 199 slideshare_spt: parms.slideshare_spt, 200 statcounter_spt: parms.statcounter_spt, 201 fastcounter_spt: parms.fastcounter_spt, 202 vgwort_spt: parms.vgwort_spt, 203 adsense_spt: parms.adsense_spt, 204 criteo_spt: parms.criteo_spt, 205 amazon_spt: parms.amazon_spt, 206 komoot_spt: parms.komoot_spt, 207 openstreetmap_spt: parms.openstreetmap_spt, 208 sharethis_spt: parms.sharethis_spt, 209 shareaholic_spt: parms.shareaholic_spt, 210 addthis_spt: parms.addthis_spt,
211 linkedin_spt: parms.linkedin_spt, 212 addtoanyshare_spt: parms.addtoany_spt, 213 recaptchav3_spt: parms.recaptcha_spt, 214 recaptcha_spt: parms.recaptcha_spt, 215 gofundme_spt: parms.gofundme_spt, 216 shortcode_blocker1_spt: shortcode_blocker_layertext[1], 217 shortcode_blocker2_spt: shortcode_blocker_layertext[2], 218 shortcode_blocker3_spt: shortcode_blocker_layertext[3], 219 shortcode_blocker4_spt: shortcode_blocker_layertext[4], 220 shortcode_blocker5_spt: shortcode_blocker_layertext[5], 221 dsgvoaio_content0_spt: iframe_blocker_layertext[0], 222 dsgvoaio_content1_spt: iframe_blocker_layertext[1], 223 dsgvoaio_content2_spt: iframe_blocker_layertext[2], 224 dsgvoaio_content3_spt: iframe_blocker_layertext[3], 225 dsgvoaio_content4_spt: iframe_blocker_layertext[4], 226}; 227if (parms.content_blocker_iframe) var content_blocker_iframe = parms.content_blocker_iframe; 228if (parms.content_blocker_shortcode) var content_blocker_shortcode = parms.content_blocker_shortcode; 229var tarteaucitron = { 230 version: 323, 231 versionnumber: "4.7.9", 232 cdn: cdn, 233 user: {}, 234 lang: {}, 235 services: {}, 236 added: [], 237 idprocessed: [], 238 state: [], 239 launch: [], 240 parameters: {}, 241 isAjax: !1, 242 reloadThePage: !1, 243 init: function (params) { 244 "use strict"; 245 var origOpen; 246 (tarteaucitron.parameters = params), 247 alreadyLaunch === 0 && 248 ((alreadyLaunch = 1), 249 window.addEventListener 250 ? (window.addEventListener( 251 "load", 252 jQuery(function(){ 253 tarteaucitron.load(), 254 tarteaucitron.fallback( 255 ["tarteaucitronOpenPanel"], 256 function (elem) { 257 elem.addEventListener( 258 "click", 259 function (event) { 260 tarteaucitron.userInterface.openPanel
260(), event.preventDefault(); 261 }, 262 !1 263 ); 264 }, 265 !0 266 ); 267 }), 268 !1 269 ), 270 window.addEventListener( 271 "scroll", 272 function () { 273 if (autoacceptscrolling == "on" && cookiestyle != "style3" && autoacceptscrolling == "on" && cookiestyle != "style2") { 274 var scrollPos = window.pageYOffset || document.documentElement.scrollTop, 275 heightPosition; 276 if (document.getElementById("tarteaucitronAlertBig") !== null && document.getElementById("tarteaucitronAlertBig").style.display === "block") { 277 heightPosition = document.getElementById("tarteaucitronAlertBig").offsetHeight + "px"; 278 var onepercent = document.body.scrollHeight / 100; 279 var twentypercent = (onepercent * auto_accept_scrolling_percent) / 2; 280 cookiestyle == "style4" || cookiestyle == "style5" || cookiestyle == "style6" || cookiestyle == "style7", 281 scrollPos > twentypercent ? tarteaucitron.userInterface.respondAll(!0) : scrollPos > 50 && (document.getElementById("tarteaucitronDisclaimerAlert").innerHTML = "<b>" + onscrolltext + "</b> "), 282 cookiestyle == "style4" || cookiestyle == "style5" || cookiestyle == "style6" || cookiestyle == "style7" 283 ? tarteaucitron.orientation === "top" 284 ? (document.getElementById("tarteaucitronPercentage").style.top = heightPosition) 285 : (document.getElementById("tarteaucitronPercentage").style.bottom = 0) 286 : tarteaucitron.orientation === "top" 287 ? (document.getElementById("tarteaucitronPercentage").style.top = heightPosition) 288 : (document.getElementById("tarteaucitronPercentage").style.bottom = heightPosition), 289 (document.getElementById("tarteaucitronPercentage").style.width = (100 / twentypercent) * scrollPos + "%"); 290 } 291 } 292 }, 293 !1 294 ), 295 window.addEventListener( 296 "keydown", 297 function (evt) { 298 evt.keyCode === 27 && tarteaucitron.userInterface.closePanel(); 299 }, 300 !1 301 ), 302 window.addEventListener( 303 "hashchange", 304 function () { 305 document.location.hash === tarteaucitron.hashtag && tarteaucitron.hashtag !== "" && tarteaucitron.userInterface.openPanel
305(); 306 }, 307 !1 308 ), 309 window.addEventListener( 310 "resize", 311 function () { 312 if ( 313 (document.getElementById("tarteaucitron") !== null && document.getElementById("tarteaucitron").style.display === "block" && tarteaucitron.userInterface.jsSizing("main"), 314 document.getElementById("tarteaucitronCookiesListContainer") !== null && 315 document.getElementById("tarteaucitronCookiesListContainer").style.display === "block" && 316 tarteaucitron.userInterface.jsSizing("cookie"), 317 cookiestyle == "style1") 318 ) { 319 var heightnotice = document.getElementById("tarteaucitronAlertBig").offsetHeight + "px"; 320 document.body.style.paddingBottom = heightnotice; 321 } 322 }, 323 !1 324 )) 325 : (window.attachEvent("onload", function () { 326 tarteaucitron.load(), 327 tarteaucitron.fallback( 328 ["tarteaucitronOpenPanel"], 329 function (elem) { 330 elem.attachEvent("onclick", function (event) { 331 tarteaucitron.userInterface.openPanel
331(), event.preventDefault(); 332 }); 333 }, 334 !0 335 ); 336 }), 337 window.attachEvent("onscroll", function () { 338 if ((autoacceptscrolling == "on" && cookiestyle != "style2") || (autoacceptscrolling == "on" && cookiestyle != "style3")) { 339 var scrollPos = window.pageYOffset || document.documentElement.scrollTop, 340 heightPosition; 341 document.getElementById("tarteaucitronAlertBig") !== null && 342 document.getElementById("tarteaucitronAlertBig").style.display === "block" && 343 ((heightPosition = document.getElementById("tarteaucitronAlertBig").offsetHeight + "px"), 344 scrollPos > screen.height * 2 345 ? tarteaucitron.userInterface.respondAll(!0) 346 : scrollPos > screen.height / 2 && (document.getElementById("tarteaucitronDisclaimerAlert").innerHTML = "<b>" + onscrolltext + "</b> "), 347 tarteaucitron.orientation === "top" ? (document.getElementById("tarteaucitronPercentage").style.top = heightPosition) : (document.getElementById("tarteaucitronPercentage").style.bottom = heightPosition), 348 (document.getElementById("tarteaucitronPercentage").style.width = (100 / (screen.height * 2)) * scrollPos + "%")); 349 } 350 }), 351 window.attachEvent("onkeydown", function (evt) { 352 evt.keyCode === 27 && tarteaucitron.userInterface.closePanel(); 353 }), 354 window.attachEvent("onhashchange", function () { 355 document.location.hash === tarteaucitron.hashtag && tarteaucitron.hashtag !== "" && tarteaucitron.userInterface.openPanel
355(); 356 }), 357 window.attachEvent("onresize", function () { 358 document.getElementById("tarteaucitron") !== null && document.getElementById("tarteaucitron").style.display === "block" && tarteaucitron.userInterface.jsSizing("main"), 359 document.getElementById("tarteaucitronCookiesListContainer") !== null && document.getElementById("tarteaucitronCookiesListContainer").style.display === "block" && tarteaucitron.userInterface.jsSizing("cookie"); 360 })), 361 typeof XMLHttpRequest !== "undefined" && 362 ((origOpen = XMLHttpRequest.prototype.open), 363 (XMLHttpRequest.prototype.open = function () { 364 window.addEventListener 365 ? this.addEventListener( 366 "load", 367 function () { 368 typeof tarteaucitronProLoadServices === "function" && tarteaucitronProLoadServices(); 369 }, 370 !1 371 ) 372 : this.attachEvent !== void 0 373 ? this.attachEvent("onload", function () { 374 typeof tarteaucitronProLoadServices === "function" && tarteaucitronProLoadServices(); 375 }) 376 : typeof tarteaucitronProLoadServices === "function" && setTimeout(tarteaucitronProLoadServices, 1000); 377 try { 378 origOpen.apply(this, arguments); 379 } catch (err) {} 380 }))); 381 }, 382 load: function () { 383 "use strict"; 384 console.log( 385 "\uD835\uDDD7\uD835\uDDE6\uD835\uDDDA\uD835\uDDE9\uD835\uDDE2 \uD835\uDDD4\uD835\uDDDF\uD835\uDDDF \uD835\uDDDC\uD835\uDDE1 \uD835\uDDE2\uD835\uDDE1\uD835\uDDD8 \uD835\uDDD9\uD835\uDDE2\uD835\uDDE5 \uD835\uDDEA\uD835\uDDE3 \uD835\uDDE3\uD835\uDDE5\uD835\uDDE2 loaded and running..." 386 ); 387 var cdn = plugindir + "/assets/js/tarteaucitron/", 388 language = tarteaucitron.getLanguage(), 389 pathToLang = cdn + "lang/tarteaucitron." + language + ".js?v=" + tarteaucitron.version, 390 pathToServices = cdn + "tarteaucitron.services.min.js?v=" + tarteaucitron.version, 391 linkElement = document.createElement("link"), 392 defaults = { adblocker: !1, hashtag: "#tarteaucitron", cookieName: "tarteaucitron", highPrivacy: !1, orientation: "top", removeCredit: !1, showAlertSmall: !0, cookieslist: !0, handleBrowserDNTRequest: !1 }, 393 params = tarteaucitron.parameters; 394 params !== undefined && tarteaucitron.extend(defaults, params), 395 (tarteaucitron.orientation = defaults.orientation), 396 (tarteaucitron.hashtag = defaults.hashtag), 397 (tarteaucitron.highPrivacy = defaults.highPrivacy), 398 (tarteaucitron.handleBrowserDNTRequest = defaults.handleBrowserDNTRequest), 399 (linkElement.rel = "stylesheet"), 400 (linkElement.type = "text/css"), 401 (linkElement.href = cdn + "css/tarteaucitron.css?v=" + tarteaucitron.version), 402 document.getElementsByTagName("head")[0].appendChild(linkElement), 403 tarteaucitron.addScript(pathToLang, "", function () { 404 tarteaucitronCustomText !== "" && (tarteaucitron.lang = tarteaucitron.AddOrUpdate(tarteaucitron.lang, tarteaucitronCustomText)), 405 tarteaucitron.addScript(pathToServices, "", function () { 406 var body = document.body, 407 div = document.createElement("div"), 408 html = "", 409 index, 410 orientation = "Top", 411 cat = ["essenziell", "ads", "analytic", "api", "comment", "social", "support", "video", "other"], 412 i; 413 cat = cat.sort(function (a, b) { 414 return tarteaucitron.lang[a].title < tarteaucitron.lang[b].title ? 1 : tarteaucitron.lang[a].title < tarteaucitron.lang[b].title ? -1 : 0; 415 }); 416 var currstatus = localStorage.getItem("dsgvoaio_respondall"); 417 if (!currstatus) { 418 var currval = "false"; 419 var checkedvalnow = ""; 420 } else if (currstatus.indexOf("true") >= 0) { 421 var currval = "false"; 422 var checkedvalnow = ""; 423 } else { 424 var currval = "true"; 425 var checkedvalnow = "checked"; 426 } 427 var noticestyle = parms.noticestyle; 428 for ( 429 html += '<div class="dsdvo-cookie-notice ' + co
429okiestyle + '">', 430 html += '<div id="tarteaucitronPremium"></div>', 431 html += '<div id="tarteaucitronBack" onclick="tarteaucitron.userInterface.closePanel();"></div>', 432 html += '<div id="tarteaucitron">', 433 html += ' <div id="tarteaucitronClosePanel" onclick="tarteaucitron.userInterface.closePanel();">', 434 html += " " + closetext, 435 html += " </div>", 436 html += ' <div id="tarteaucitronServices">', 437 html += ' <div class="tarteaucitronLine tarteaucitronMainLine" id="tarteaucitronMainLineOffset">', 438 html += ' <div class="tarteaucitronName">', 439 html += 440 ' <b><a href="#" onclick="tarteaucitron.userInterface.toggle(\'tarteaucitronInfo\', \'tarteaucitronInfoBox\');return false"><span class="dashicons dashicons-plus-alt2"></span></a> ' + 441 tarteaucitron.lang.all + 442 "</b>", 443 html += " </div>", 444 html += ' <div class="tarteaucitronAsk" id="tarteaucitronScrollbarAdjust">', 445 html += ' <div id="tarteaucitronAllAllowed" data-currval="' + currval + '" class="tarteaucitronAllow allswitch" onclick="tarteaucitron.userInterface.respondAll(true);">', 446 html += " ✓ " + allowallname, 447 html += " </div> ", 448 html += ' <div id="tarteaucitronAllDenied" data-currval="' + currval + '" class="tarteaucitronDeny allswitch" onclick="tarteaucitron.userInterface.respondAll(false);">', 449 html += " ✗ " + denyallname, 450 html += " </div>", 451 html += " </div>", 452 html += " </div>", 453 html += ' <div id="tarteaucitronInfo" class="tarteaucitronInfoBox">', 454 html += " " + tarteaucitron.lang.disclaimer, 455 defaults.removeCredit === !1 && (html += " <br/><br/>"), 456 html += " </div>", 457 html += ' <div class="tarteaucitronBorder" id="tarteaucitronScrollbarParent">', 458 html += ' <div class="clear"></div>', 459 i = 0; 460 i < cat.length; 461 i += 1 462 ) 463 (html += ' <div id="tarteaucitronServicesTitle_' + cat[i] + '" class="tarteaucitronHidden">'), 464 (html += ' <div class="tarteaucitronTitle">'), 465 (html += 466 ' <a href="#" onclick="tarteaucitron.userInterface.toggle(\'tarteaucitronDetails' + cat[i] + "', 'tarteaucitronInfoBox');return false\">✛</a> " + tarteaucitron.lang[cat[i]].title), 467 (html += " </div>"), 468 (html += ' <div id="tarteaucitronDetails' + cat[i] + '" class="tarteaucitronDetails tarteaucitronInfoBox">'), 469 (html += " " + tarteaucitron.lang[cat[i]].details), 470 (html += " </div>"), 471 (html += " </div>"), 472 (html += ' <div id="tarteaucitronServices_' + cat[i] + '"></div>'); 473 if ( 474 ((html += ' <div class="tarteaucitronHidden" id="tarteaucitronScrollbarChild" style="height:20px;
474display:block"></div>'), 475 (html += " </div>"), 476 (html += " </div>"), 477 (html += "</div>"), 478 defaults.orientation === "bottom" && (orientation = "Bottom"), 479 defaults.highPrivacy 480 ? ((html += '<div id="dsgvomiddlewrap">'), 481 (html += '<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig' + orientation + '" style="background:#' + cookiebackgroundcolor + ";color:#" + cookietextcolor + '">'), 482 (html += '<div id="dsgvoAlertBiginner">'), 483 (html += '<div id="tarinner">'), 484 (html += '<div id="tarinnerinner">'), 485 (html += ' <span id="tarteaucitronDisclaimerAlert">'), 486 (noticestyle == "style4" || noticestyle == "style5" || noticestyle == "style6" || noticestyle == "style7") && 487 (html += 488 "<style>#tarteaucitronDisclaimerAlert p {width:100%;}</style><a href='#/' onclick='tarteaucitron.userInterface.closeNotice();' style='position: absolute; right: 15px; top: 15px;' ><span class='dsgvoaio dashicons dashicons-dismiss' style='font-size:18px;'></span></a>"), 489 noticestyle == "style3" 490 ? ((html += '<div class="dsgvopopuptopper">'), 491 (html += languageswitcher), 492 (html += "<a href='#/' onclick='tarteaucitron.userInterface.closeNotice();' ><span class='dsgvoaio dashicons dashicons-dismiss' style='font-size:18px;'></span></a>"), 493 (html += "</div>"), 494 (html += '<div class="dsgvopopupagbs">'), 495 (html += "<style>.dsgvopopupagbs h2, .dsgvopopupagbs h3, .dsgvopopupagbs h4, .dsgvopopupagbs b, .dsgvopopupagbs strong {font-weight: bold;}</style>"), 496 (html += popupagbs), 497 (html += '<div id="agbpopup_service_control"></div>'), 498 (html += "</div>")) 499 : noticestyle == "style2" 500 ? ((html += languageswitcher + "<a href='#' onclick='tarteaucitron.userInterface.closeNotice();' ><span class='dsgvoaio dashicons dashicons-dismiss' style='font-size:18px;'></span></a>"), 501 (html += cookietext)) 502 : (html += cookietext), 503 (html += " </span>"), 504 (html += ' <div class="dsgvonoticebtns">'), 505 (html += ' <span id="tarteaucitronAccept" onclick="tarteaucitron.userInterface.respondAll(true);" style="background:#' + btnbgcoloraccept + ";color:#" + cookiebuttontextcolor + '">'), 506 (html += " ✓ " + cookieaccepttext), 507 (html += " </span>"), 508 (html += ' <span id="tarteaucitronPersonalize" onclick="tarteaucitron.userInterface.openPanel
508();" style="background:#' + cookiebuttonbackground + ";color:#" + cookiebuttontextcolor + '">'), 509 (html += " " + btn_text_customize), 510 (html += " </span>"), 511 ablehnenanzeigen == "on" && 512 ((html += 513 ' <span id="tarteaucitronCloseAlert" class="tarteaucitronCloseBtn" onclick="tarteaucitron.userInterface.respondAll(false);" style="background:#' + 514 cookiebuttonbackground + 515 ";color:#" + 516 cookiebuttontextcolor + 517 '">'), 518 (html += " ✕ " + ablehnentxt), 519 (html += " </span>")), 520 (html += "</div>"), 521 (html += "</div>"), 522 (html += "</div>"), 523 (html += "</div>"), 524 (html += "</div>"), 525 (html += "</div>"), 526 ((autoacceptscrolling == "on" && cookiestyle != "style2") || (autoacceptscrolling == "on" && cookiestyle != "style3")) && (html += '<div id="tarteaucitronPercentage"></div>')) 527 : ((html += '<div id="dsgvomiddlewrap">'), 528 (html += '<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig' + orientation + '" style="background:#' + cookiebackgroundcolor + ";color:#" + cookietextcolor + '">'), 529 (html += '<div id="dsgvoAlertBiginner">'), 530 (html += '<div id="tarinner">'), 531 (html += '<div id="tarinnerinner">'), 532 (html += ' <span id="tarteaucitronDisclaimerAlert">'), 533 (html += cookietext), 534 noticestyle == "style3" && ((html += '<div class="dsgvopopupagbs">'), (html += popupagbs), (html += '<div id="agbpopup_service_control"></div>'), (html += "</div>")), 535 (html += " </span>"), 536 (html += ' <div class="dsgvonoticebtns">'), 537 (html += ' <span id="tarteaucitronPersonalize" onclick="tarteaucitron.userInterface.respondAll(true);" style="background:#' + btnbgcoloraccept + ";color:#" + cookiebuttontextcolor + '">'), 538 (html += " ✓ " + cookieaccepttext), 539 (html += " </span>"), 540 (html += ' <span id="tarteaucitronCloseAlert" onclick="tarteaucitron.userInterface.openPanel
540();" style="background:#' + cookiebuttonbackground + ";color:#" + cookiebuttontextcolor + '">'), 541 (html += " " + btn_text_customize), 542 (html += " </span>"), 543 ablehnenanzeigen == "on" && 544 ((html += 545 ' <span id="tarteaucitronCloseAlert" class="tarteaucitronCloseBtn" onclick="tarteaucitron.userInterface.respondAll(false);" style="background:#' + 546 cookiebuttonbackground + 547 ";color:#" + 548 cookiebuttontextcolor + 549 '">'), 550 (html += " ✕ " + ablehnentxt), 551 (html += " </span>")), 552 (html += "</div>"), 553 (html += "</div>"), 554 (html += "</div>"), 555 (html += "</div>"), 556 (html += "</div>"), 557 (html += "</div>"), 558 ((autoacceptscrolling == "on" && cookiestyle != "style2") || (autoacceptscrolling == "on" && cookiestyle != "style3")) && (html += '<div id="tarteaucitronPercentage"></div>')), 559 defaults.showAlertSmall === !0 && 560 ((html += '<div id="tarteaucitronAlertSmall" class="tarteaucitronAlertSmall' + orientation + '">'), 561 (html += ' <div id="tarteaucitronManager" onclick="tarteaucitron.userInterface.openPanel
561();">'), 562 (html += " " + tarteaucitron.lang.alertSmall), 563 (html += ' <div id="tarteaucitronDot">'), 564 (html += ' <span id="tarteaucitronDotGreen"></span>'), 565 (html += ' <span id="tarteaucitronDotYellow"></span>'), 566 (html += ' <span id="tarteaucitronDotRed"></span>'), 567 (html += " </div>"), 568 defaults.cookieslist === !0 569 ? ((html += " </div><!-- @whitespace"), 570 (html += ' --><div id="tarteaucitronCookiesNumber" onclick="tarteaucitron.userInterface.toggleCookiesList();">0</div>'), 571 (html += ' <div id="tarteaucitronCookiesListContainer">'), 572 (html += ' <div id="tarteaucitronClosePanelCookie" onclick="tarteaucitron.userInterface.closePanel();">'), 573 (html += " " + closetext), 574 (html += " </div>"), 575 (html += ' <div class="tarteaucitronCookiesListMain" id="tarteaucitronCookiesTitle">'), 576 (html += ' <b id="tarteaucitronCookiesNumberBis">0 cookie</b>'), 577 (html += " </div>"), 578 (html += ' <div id="tarteaucitronCookiesList"></div>'), 579 (html += " </div>")) 580 : (html += " </div>"), 581 (html += "</div>"), 582 (html += "</div>")), 583 tarteaucitron.addScript( 584 tarteaucitron.cdn + "advertising.js?v=" + tarteaucitron.version, 585 "", 586 function () { 587 if (tarteaucitronNoAdBlocker === !0 || defaults.adblocker === !1) { 588 if (((div.id = "tarteaucitronRoot"), body.appendChild(div, body), (div.innerHTML = html), jQuery("#dsgvo_service_control").html(html), tarteaucitron.job !== undefined)) 589 for (tarteaucitron.job = tarteaucitron.cleanArray(tarteaucitron.job), index = 0; index < tarteaucitron.job.length; index += 1) tarteaucitron.addService(tarteaucitron.job[index]); 590 else tarteaucitron.job = []; 591 (tarteaucitron.isAjax = !0), 592 (tarteaucitron.job.push = function (id) { 593 tarteaucitron.job.indexOf === void 0 && 594 (tarteaucitron.job.indexOf = function (obj, start) { 595 var i, 596 j = this.length; 597 for (i = start || 0; i < j; i += 1) if (this[i] === obj) return i; 598 return -1; 599 }), 600 tarteaucitron.job.indexOf(id) === -1 && Array.prototype.push.call(this, id), 601 (tarteaucitron.launch[id] = !1), 602 tarteaucitron.addService(id); 603 }), 604 document.location.hash === tarteaucitron.hashtag && tarteaucitron.hashtag !== "" && tarteaucitron.userInterface.openPanel
604(), 605 tarteaucitron.cookie.number(), 606 setInterval(tarteaucitron.cookie.number, 60000); 607 } 608 }, 609 defaults.adblocker 610 ), 611 defaults.adblocker === !0 && 612 setTimeout(function () { 613 tarteaucitronNoAdBlocker === !1 614 ? ((html = '<div id="dsgvomiddlewrap">'), 615 (html += '<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig' + orientation + '" style="background:#' + cookiebackgroundcolor + ";color:#" + cookietextcolor + ';display:block;">'), 616 (html += '<div id="dsgvoAlertBiginner">'), 617 (html += '<div id="tarinner">'), 618 (html += '<div id="tarinnerinner">'), 619 (html += ' <span id="tarteaucitronDisclaimerAlert">'), 620 noticestyle == "style3" && ((html += '<div class="dsgvopopupagbs">'), (html += policytext), (html += "</div>")), 621 (html += cookietext), 622 (html += " </span>"), 623 (html += ' <span id="tarteaucitronPersonalize" onclick="location.reload();">'), 624 (html += " " + co
624okieaccepttext), 625 (html += " </span>"), 626 (html += "</div>"), 627 (html += "</div>"), 628 (html += "</div>"), 629 (html += "</div>"), 630 (html += "</div>"), 631 (html += '<div id="tarteaucitronPremium"></div>'), 632 (div.id = "tarteaucitronRoot"), 633 body.appendChild(div, body), 634 (div.innerHTML = html), 635 tarteaucitron.pro("!adblocker=true")) 636 : tarteaucitron.pro("!adblocker=false"); 637 }, 1500), 638 cookiestyle == "style1") 639 ) { 640 var heightnotice = document.getElementById("tarteaucitronAlertBig").offsetHeight + "px"; 641 document.body.style.paddingBottom = heightnotice; 642 } 643 }); 644 }), 645 jQuery(document).ready(function () { 646 if ((localStorage.getItem("dsgvoaio_ga_disable") == null || localStorage.getItem("dsgvoaio_ga_disable") === !0) && ga_defaultoptinout == "optout") { 647 var t = '<div id="analyticsAllowed" class="tarteaucitronAllow" onclick="tarteaucitron.userInterface.respond(this, true);" style="background-color: rgb(27, 135, 11);"> \u2713 Erlauben </div>'; 648 var dummy = document.createElement("div"); 649 (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0); 650 } 651 if ((localStorage.getItem("dsgvoaio_matomo_disable") == null || localStorage.getItem("dsgvoaio_matomo_disable") === !0) && matomo_defaultoptinout == "optout") { 652 var t = '<div id="matomoAllowed" class="tarteaucitronAllow" onclick="tarteaucitron.userInterface.respond(this, true);" style="background-color: rgb(27, 135, 11);"> \u2713 Erlauben </div>'; 653 var dummy = document.createElement("div"); 654 (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0); 655 } 656 if (localStorage.getItem("dsgvoaio_vgwort_disable") == null && vgwort_defaultoptinout == "optout") { 657 let t = '<div id="vgwortAllowed" class="tarteaucitronAllow" onclick="tarteaucitron.userInterface.respond(this, true);" style="background-color: rgb(27, 135, 11);"> \u2713 Erlauben </div>'; 658 var dummy = document.createElement("div"); 659 (dummy.id = "vgwortAllowed"), (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0); 660 } 661 }); 662 var t = '<div id="mycustomserviceAllowed" class="tarteaucitronAllow" name="" onclick="tarteaucitron.userInterface.respond(this, true);" style="background-color: rgb(27, 135, 11);"> \u2713 Erlauben </div>'; 663 var dummy = document.createElement("div"); 664 (dummy.id = "mycustomserviceAllowed"), (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0); 665 }, 666 addService: function (serviceId) { 667 "use strict"; 668 var html = "", 669 s = tarteaucitron.services, 670 service = s[serviceId], 671 cookie = tarteaucitron.cookie.read(), 672 hostname = document.location.hostname, 673 hostRef = document.referrer.split("/")[2], 674 isNavigating = hostRef === hostname ? !0 : !1, 675 isAutostart = service.needConsent ? !1 : !0, 676 isWaiting = cookie.indexOf(service.key + "=wait") >= 0 ? !0 : !1, 677 isDenied = cookie.indexOf(service.key + "=false") >= 0 ? !0 : !1, 678 isAllowed = cookie.indexOf(service.key + "=true") >= 0 ? !0 : !1, 679 isResponded = cookie.indexOf(service.key + "=false") >= 0 || cookie.indexOf(service.key + "=true") >= 0 ? !0 : !1, 680 isDNTRequested = navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1" || window.doNotTrack === "1" ? !0 : !1; 681 if (tarteaucitron.added[service.key] !== !0) { 682 if (((tarteaucitron.added[service.key] = !0), isAllowed !== !0)) { 683 var allowedcheck = "Allowed"; 684 var respondval = "true"; 685 var checkedval = ""; 686 } else { 687 var allowedcheck = "Denied"; 688 var respondval = "false"; 689 var checkedval = "checked"; 690 } 691 if ( 692 ((html += '<div id="' + service.key + 'Line" class="tarteaucitronLine">'), 693 (html += ' <div class="tarteaucitronName">'), 694 (html += " <b>" + service.name + "</b><br/>"),
695 (html += ' <span id="tacCL' + service.key + '" class="tarteaucitronListCookies"></span><br/>'), 696 (html += ' <a href="' + service.uri + '" target="_blank" rel="noopener" class="dsgvoaiopollink">'), 697 (html += " " + linkto), 698 (html += " </a>"), 699 (html += " </div>"), 700 (html += ' <div class="tarteaucitronAsk">'), 701 service.key != "mycustomservice") 702 ) { 703 if (isDenied == 0 && isAllowed == 0) var waitingclass = "dsgvoaiowaiting"; 704 else var waitingclass = ""; 705 (html += 706 '<label class="switchdsgvoaio ' + 707 waitingclass + 708 '" style="margin:0px;"> <input type="checkbox" id="' + 709 service.key + 710 allowedcheck + 711 '" class="switchdsgvoaio-input switch_' + 712 service.key + 713 " switch_key_" + 714 service.key + 715 '" data-current="' + 716 respondval + 717 '" onclick="tarteaucitron.userInterface.respond(this, ' + 718 respondval + 719 ');" ' + 720 checkedval + 721 '> <span class="switchdsgvoaio-label" data-on="' + 722 yeslabel + 723 '" data-off="' + 724 nolabel + 725 '"></span> <span class="switchdsgvoaio-handle"></span> </label>'), 726 (html += " </div>"), 727 (html += "</div>"); 728 } 729 tarteaucitron.userInterface.css("tarteaucitronServicesTitle_" + service.type, "display", "block"), 730 document.getElementById("tarteaucitronServices_" + service.type) !== null && (document.getElementById("tarteaucitronServices_" + service.type).innerHTML += html), 731 tarteaucitron.userInterface.order(service.type); 732 } 733 isResponded === !1 && tarteaucitron.user.bypass === !0 && ((isAllowed = !0), tarteaucitron.cookie.create(service.key, !0)), 734 (!isResponded && (isAutostart || (isNavigating && isWaiting)) && !tarteaucitron.highPrivacy) || isAllowed 735 ? (isAllowed || tarteaucitron.cookie.create(service.key, !0), 736 tarteaucitron.launch[service.key] !== !0 && ((tarteaucitron.launch[service.key] = !0), service.js()), 737 (tarteaucitron.state[service.key] = !0), 738 tarteaucitron.userInterface.color(service.key, !0)) 739 : isDenied 740 ? (typeof service.fallback === "function" && service.fallback(), (tarteaucitron.state[service.key] = !1), tarteaucitron.userInterface.color(service.key, !1)) 741 : !isResponded && isDNTRequested && tarteaucitron.handleBrowserDNTRequest 742 ? (tarteaucitron.cookie.create(service.key, "false"), typeof service.fallback === "function" && service.fallback(), (tarteaucitron.state[service.key] = !1), tarteaucitron.userInterface.color(service.key, !1)) 743 : isResponded || 744 (tarteaucitron.cookie.create(service.key, "wait"), typeof service.fallback === "function" && service.fallback(), tarteaucitron.userInterface.color(service.key, "wait"), tarteaucitron.userInterface.openAlert()), 745 tarteaucitron.cookie.checkCount(service.key); 746 }, 747 cleanArray: function cleanArray(arr) { 748 "use strict"; 749 var i, 750 len = arr.length, 751 out = [], 752 obj = {}, 753 s = tarteaucitron.services; 754 for (i = 0; i < len; i += 1) obj[arr[i]] || ((obj[arr[i]] = {}), tarteaucitron.services[arr[i]] !== undefined && out.push(arr[i])); 755 return ( 756 (out = out.sort(function (a, b) { 757 return s[a].type + s[a].key > s[b].type + s[b].key ? 1 : s[a].type + s[a].key < s[b].type + s[b].key ? -1 : 0; 758 })), 759 out 760 ); 761 }, 762 userInterface: { 763 css: function (id, property, value) { 764 "use strict"; 765 document.getElementById(id) !== null && (document.getElementById(id).style[property] = value); 766 }, 767 hideClass: function (classname, property, value) { 768 "use strict"; 769 var el = document.getElementsByClassName(classname); 770 el !== null && jQuery(classname).hide(); 771 }, 772 writeLog: function (el, status, name, allvalue) { 773 "use strict"; 774 function create_UUID() { 775 var dt = new Date().getTime(); 776 var uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) { 777 var r = (dt + Math.random() * 16) % 16 | 0; 778 return (dt = Math.floor(dt / 16)), (c == "x" ? r : (r & 3) | 8).toString(16); 779 }); 780 return uuid; 781 } 782 var key = el; 783 var state = status; 784 var name = name; 785 var allvalue = allvalue; 786 var uniqeid = localStorage.getItem("_uniqueuid"); 787 uniqeid ? (uniqeid = localStorage.getItem("_uniqueuid")) : (localStorage.setItem("_uniqueuid", create_UUID()), (uniqeid = localStorage.getItem("_uniqueuid"))), 788 uniqeid && 789 jQuery.ajax({ 790 type: "POST", 791 url: adminajaxurl, 792 data: { id: uniqeid.slice(0, -3) + "XXX", state: state, key: key, name: name, allvalue: allvalue, action: "dsgvoaio_write_log" }, 793 success: function (result) {}, 794 error: function () {}, 795 }); 796 var uniqeid = localStorage.getItem("_uniqueuid"); 797 }, 798 respondAll: function (status) { 799 "use strict"; 800 var s = tarteaucitron.services, 801 service, 802 key, 803 index = 0; 804 var allnames = []; 805 var currentVal = jQuery("#tarteaucitronAllAllowed").data("currval"); 806 var currstatus = localStorage.getItem("dsgvoaio_respondall"); 807 currentVal || (currentVal = "false"), 808 currentVal == "false" ? jQuery("#tarteaucitronAllAllowed").data("currval", "true") : jQuery("#tarteaucitronAllAllowed").data("currval", "false"), 809 status == 1 ? localStorage.setItem("dsgvoaio_respondall", "true") : localStorage.removeItem("dsgvoaio_respondall"); 810 var svalue = ""; 811 for ( 812 status == 1 ? (document.cookie = "dsgvoaio_formidable_rv2=true; expires=Fri, 19 Jun 2222 20:47:11 UTC; path=/") : (document.cookie = "dsgvoaio_formidable_rv2=false; expires=Fri, 19 Jun 2222 20:47:11 UTC; path=/"), 813 status == 1 ? (document.cookie = "dsgvoaio_leafletmaps=true; expires=Fri, 19 Jun 2222 20:47:11 UTC; path=/") : (document.cookie = "dsgvoaio_leafletmaps=false; expires=Fri, 19 Jun 2222 20:47:11 UTC; path=/"), 814 status == 1 ? (svalue = 1) : (svalue = 0), 815 jQuery.ajax({ type: "POST", url: adminajaxurl, data: { value: svalue, name: "dsgvoaio_allow_gdmap", action: "dsgvoaio_change_cookie" }, success: function (result) {}, error: function () {} }), 816 jQuery.ajax({ type: "POST", url: adminajaxurl, data: { value: svalue, name: "dsgvoaio_allow_geomashupmap", action: "dsgvoaio_change_cookie" }, success: function (result) {}, error: function () {} }), 817 jQuery(".switchdsgvoaio").removeClass("dsgvoaiowaiting"), 818 index = 0; 819 index < tarteaucitron.job.length; 820 index += 1 821 ) { 822 if (((service = s[tarteaucitron.job[index]]), (key = service.key), key != "mycustomservice" && tarteaucitron.state[key] !== status)) {
823 status === !1 && tarteaucitron.launch[key] === !0 && (tarteaucitron.reloadThePage = !0), 824 tarteaucitron.launch[key] !== !0 && status === !0 && ((tarteaucitron.launch[key] = !0), tarteaucitron.services[key].js()), 825 (tarteaucitron.state[key] = status), 826 tarteaucitron.cookie.create(key, status), 827 tarteaucitron.userInterface.color(key, status, "g"); 828 var currentVal = jQuery(".switch_" + key).attr("onclick"); 829 currentVal || (currentVal = "tarteaucitron.userInterface.respond(this, false);"), 830 currentVal.indexOf("true") >= 0 && 831 localStorage.getItem("dsgvoaio_respondall") && 832 (jQuery(".switch_" + key).prop("checked", !0), jQuery(".switch_" + key).attr("onclick", "tarteaucitron.userInterface.respond(this, false);")), 833 currentVal.indexOf("false") >= 0 && 834 !localStorage.getItem("dsgvoaio_respondall") && 835 (jQuery(".switch_" + key).prop("checked", !1), jQuery(".switch_" + key).attr("onclick", "tarteaucitron.userInterface.respond(this, true);")); 836 } 837 key != "mycustomservice" && allnames.push(tarteaucitron.services[key].name); 838 } 839 if (index == 1) { 840 var time = animation_time; 841 jQuery("#tarteaucitronAlertBig").fadeOut(time), jQuery("#tarteaucitronAlertSmall").fadeIn(time); 842 } 843 var allvalue = localStorage.getItem("dsgvoaio"); 844 (document.cookie = "dsgvoaio_gf_recaptcha_allowed=false; expires=Fri, 19 Jun 2222 20:47:11 UTC; path=/"), 845 localStorage.removeItem("dsgvoaio_gf_recaptcha_reloaded"), 846 tarteaucitron.userInterface.writeLog(key, status, "All", allnames), 847 cookiestyle == "style1" && (document.body.style.paddingBottom = "0px"); 848 }, 849 dsgvoaio_open_details: function (key) { 850 if (key) { 851 jQuery.ajax({ 852 type: "POST", 853 url: adminajaxurl, 854 data: { key: key, language: language, action: "dsgvoaio_get_service_policy" }, 855 success: function (result) { 856 jQuery(".dsgvoaiopolicypopup_" + key + " .dsgvoaio_popup_policyinner .secondinner").html(result), 857 (mainHeight = document.getElementById("tarteaucitron").offsetHeight), 858 (closeButtonHeight = document.getElementById("tarteaucitronClosePanel").offsetHeight), 859 (headerHeight = document.getElementById("tarteaucitronMainLineOffset").offsetHeight), 860 (servicesHeight = mainHeight - closeButtonHeight - headerHeight + 1), 861 jQuery(".dsgvoaio_popup_policyinner").height(servicesHeight); 862 }, 863 error: function () {}, 864 }); 865 var cookie = tarteaucitron.cookie.read(); 866 var isServiceAllowed = cookie.indexOf(key + "=true") >= 0 ? !0 : !1; 867 var isDenied = cookie.indexOf(key + "=false") >= 0 ? !0 : !1; 868 var isWaiting = cookie.indexOf(key + "=wait") >= 0 ? !0 : !1; 869 if (isServiceAllowed !== !0) { 870 var allowedcheck = "Allowed"; 871 var respondval = "true"; 872 var checkedval = ""; 873 } else { 874 var allowedcheck = "Denied"; 875 var respondval = "false"; 876 var checkedval = "checked"; 877 } 878 if (isDenied == 0 && isServiceAllowed == 0) var waitingclass = "dsgvoaiowaiting"; 879 if (key != "mycustomservice") 880 var switchstring = 881 '<label class="switchdsgvoaio ' + 882 waitingclass + 883 '" style="margin:0px;"> <input type="checkbox" id="' + 884 key + 885 allowedcheck + 886 '" class="switchdsgvoaio-input switch_' + 887 key + 888 '" data-current="' + 889 respondval + 890 '" onclick="tarteaucitron.userInterface.respond(this, ' + 891 respondval + 892 ');" ' + 893 checkedval + 894 '> <span class="switchdsgvoaio-label" data-on="' + 895 yeslabel + 896 '" data-off="' + 897 nolabel + 898 '"></span> <span class="switchdsgvoaio-handle"></span> </label>'; 899 else var switchstring = ""; 900 jQuery("#tarteaucitronServices ").prepend( 901 jQuery( 902 '<div class="dsgvoaio_policypopup dsgvoaiopolicypopup_' + 903 key + 904 '" data-serviceid="' + 905 key + 906 '"><div class="dsvoaio_pol_wrap"><div class="dsgvoaio_pol_header">' + 907 switchstring + 908 '<a href="javascript:void(0)" class="dsgvo_hide_policy_popup" onclick="tarteaucitron.userInterface.hidePolicyPopup(\'' + 909 key + 910 '\');"><span class="dashicons dashicons-no-alt"></span></a></div><div class="dsgvoaio_popup_policyinner"><div class="secondinner"><div class="lds-ring-outer"><div class="lds-ring"><div></div><div></div><div></div><div></div></div></div></div></div></div></div>' 911 ) 912 ); 913 } 914 }, 915 hidePolicyPopup: function (key) { 916 jQuery(".dsgvoaiopolicypopup_" + key).remove(); 917 }, 918 showPolicy: function (el, status) { 919 var key = el.id.replace(new RegExp("(ZeEng[0-9]+|Allow|Deni)ed", "g"), ""); 920 var time = animation_time; 921 jQuery("#tarteaucitron").fadeIn(time), 922 jQuery("#tarteaucitronBack").fadeIn(time), 923 jQuery("#tarteaucitronCookiesListContainer").fadeOut(time), 924 tarteaucitron.userInterface.jsSizing("main"), 925 jQuery(".dsgvoaio_policypopup").remove(), 926 tarteaucitron.userInterface.dsgvoaio_open_details(key); 927 }, 928 respond: function (el, status) { 929 "use strict"; 930 var key = el.id.replace(new RegExp("(Eng[0-9]+|Allow|Deni)ed", "g"), ""); 931 jQuery("#" + key + "Line .switchdsgvoaio").removeClass("dsgvoaiowaiting"), jQuery(".dsgvoaiopolicypopup_" + key + " .switchdsgvoaio").removeClass("dsgvoaiowaiting"); 932 var currentVal = jQuery(".switch_" + key).attr("onclick"); 933 if ( 934 (currentVal && currentVal.indexOf("true") >= 0 935 ? (jQuery(".switch_" + key).attr("onclick", "tarteaucitron.userInterface.respond(this, false);"), jQuery(".tarteaucitronLine .switch_key_" + key).attr("checked", !0)) 936 : (jQuery(".switch_" + key).attr("onclick", "tarteaucitron.userInterface.respond(this, true);"), jQuery(".tarteaucitronLine .switch_key_" + key).attr("checked", !1)), 937 tarteaucitron.services[key] && tarteaucitron.userInterface.writeLog(key, status, tarteaucitron.services[key].name, ""), 938 (key == "analytics" || status === !1) && localStorage.setItem("dsgvoaio_ga_disable", "true"), 939 (key == "matomo" || status === !1) && localStorage.setItem("dsgvoaio_matomo_disable", "true"), 940 (key == "vgwort" || status === !1) && localStorage.setItem("dsgvoaio_vgwort_disable", "true"), 941 (key == "recaptchav3" || status === !1) && ((document.cookie = "dsgvoaio_gf_recaptcha_allowed=false; expires=Fri, 19 Jun 2222 20:47:11 UTC; path=/"), localStorage.removeItem("dsgvoaio_gf_recaptcha_reloaded")), 942 key == "googlemapsembedv1") 943 ) { 944 var svalue = ""; 945 status == 1 ? (svalue = 1) : (svalue = 0), 946 jQuery.ajax({ type: "POST", url: adminajaxurl, data: { value: svalue, name: "dsgvoaio_allow_gdmap", action: "dsgvoaio_change_cookie" }, success: function (result) {}, error: function () {} }), 947 jQuery.ajax({ type: "POST", url: adminajaxurl, data: { value: svalue, name: "dsgvoaio_allow_geomashupmap", action: "dsgvoaio_change_cookie" }, success: function (result) {}, error: function () {} }); 948 } 949 if ( 950 (status == 1 && key == "recaptcha" 951 ? (document.cookie = "dsgvoaio_formidable_rv2=true; expires=Fri, 19 Jun 2222 20:47:11 UTC; path=/") 952 : (document.cookie = "dsgvoaio_formidable_rv2=false; expires=Fri, 19 Jun 2222 20:47:11 UTC; path=/"),
953 console.log(status + key), 954 key == "openstreetmap" && 955 (status == "true" ? (document.cookie = "dsgvoaio_leafletmaps=true; expires=Fri, 19 Jun 2222 20:47:11 UTC; path=/") : (document.cookie = "dsgvoaio_leafletmaps=false; expires=Fri, 19 Jun 2222 20:47:11 UTC; path=/")), 956 tarteaucitron.state[key] === status) 957 ) 958 return; 959 status === !1 && tarteaucitron.launch[key] === !0 && (tarteaucitron.reloadThePage = !0), 960 status === !0 && tarteaucitron.launch[key] !== !0 && ((tarteaucitron.launch[key] = !0), tarteaucitron.services[key] && tarteaucitron.services[key].js()), 961 (tarteaucitron.state[key] = status), 962 tarteaucitron.cookie.create(key, status), 963 tarteaucitron.userInterface.color(key, status); 964 }, 965 hideCookies: function (key, state) { 966 "use strict"; 967 var key = key.id.replace("hidecookies", ""); 968 jQuery("#tacCL" + key).show(), jQuery("#" + key + "Line br").show(), jQuery("#" + key + "Line .tarteaucitronCookiePopup").remove(); 969 }, 970 showOutgoingMsg: function (uri) { 971 "use strict"; 972 if (language == "de") var to = "Weiter zu "; 973 else var to = "Go to "; 974 jQuery("#dsgvoaio_olm").remove(), 975 jQuery(document.body).append( 976 '<div id="dsgvoaio_olm" class="dsgvoaio_modal"><div class="dsgvoaio-modal-content"> <span class="dsgvoaio-modal-close">×</span> <p>' + 977 outgoing_text + 978 '<a href="' + 979 uri + 980 '" target="blank" class="dsgvoaio_btn_1 dsgvoaio_outgoing_btn">' + 981 to + 982 uri + 983 "</a></p> </div> </div>" 984 ); 985 var modal = document.getElementById("dsgvoaio_olm"); 986 (modal.style.display = "block"), jQuery("#dsgvoaio_olm").show(animation_time); 987 var span = document.getElementsByClassName("dsgvoaio-modal-close")[0]; 988 (span.onclick = function () { 989 (modal.style.display = "none"), jQuery("#dsgvoaio_olm").hide(animation_time); 990 }), 991 (window.onclick = function (event) { 992 event.target == modal && ((modal.style.display = "none"), jQuery("#dsgvoaio_olm").hide(animation_time)); 993 }); 994 }, 995 showCookies: function (key, state) { 996 "use strict"; 997 var key = key.id.replace("showcookies", ""); 998 var arr = tarteaucitron.services[key].cookies, 999 nb = arr.length, 1000 nbCurrent = 0, 1001 html = "", 1002 i, 1003 status = document.cookie.indexOf(key + "=true"); 1004 status = document.cookie.indexOf(key + "=true"); 1005 var state = localStorage.getItem("dsgvoaio"); 1006 state.indexOf(key + "=true") >= 0 ? (status = 1) : (status = -1); 1007 var cookies_used = ""; 1008 var used_cookies_text = ""; 1009 if (status >= 0 && nb === 0) html += tarteaucitron.lang.useNoCookie; 1010 else if (status >= 0) { 1011 for (i = 0; i < nb; i += 1) 1012 document.cookie.indexOf(arr[i] + "=") !== -1 && 1013 ((nbCurrent += 1), 1014 (cookies_used += arr[i] + ", "), 1015 tarteaucitron.cookie.owner[arr[i]] === undefined && (tarteaucitron.cookie.owner[arr[i]] = []), 1016 tarteaucitron.cookie.crossIndexOf(tarteaucitron.cookie.owner[arr[i]], tarteaucitron.services[key].name) === !1 && tarteaucitron.cookie.owner[arr[i]].push(tarteaucitron.services[key].name)); 1017 if (nbCurrent > 0) { 1018 html += savedcookies + " " + nbCurrent; 1019 var cookies = tarteaucitron.services[key].cookies.toString(); 1020 (html += 1021 "<span class='closeShowCookies' id='hidecookies" + 1022 key + 1023 "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span><br /><br />" + 1024 textcansetcookies + 1025 ":<br />" + 1026 cookies.replace(",", ", ")), 1027 cookies_used 1028 ? ((used_cookies_text = savedcookies + " "), (html += "<br /><br />
1028" + used_cookies_text + cookies_used + "<br/>")) 1029 : ((used_cookies_text = nocookiesaved), (html += "<br /><br />" + used_cookies_text)), 1030 nbCurrent > 1; 1031 } else { 1032 html += nocookiesaved; 1033 var cookies = tarteaucitron.services[key].cookies.toString(); 1034 html += 1035 "<span class='closeShowCookies' id='hidecookies" + 1036 key + 1037 "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span><br /><br />" + 1038 textcansetcookies + 1039 ":<br />" + 1040 cookies.replace(",", ", ") + 1041 "<br/>"; 1042 } 1043 } else if (nb === 0) html += usenocookies + " <span class='closeShowCookies' id='hidecookies" + key + "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span>"; 1044 else { 1045 var cookies = tarteaucitron.services[key].cookies.toString(); 1046 (html += tarteaucitron.lang.useCookie + " " + nb), 1047 (html += 1048 "<span class='closeShowCookies' id='hidecookies" + 1049 key + 1050 "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span><br /><br />" + 1051 textcansetcookies + 1052 ":<br />" + 1053 cookies.replace(",", ", ") + 1054 "<br />"), 1055 (cookies_used = cookies_used.substring(0, cookies_used.length - 2)), 1056 cookies_used 1057 ? ((used_cookies_text = savedcookies + " "), 1058 (html += 1059 "<span class='closeShowCookies' id='hidecookies" + 1060 key + 1061 "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span><br /><br />" + 1062 used_cookies_text + 1063 cookies_used + 1064 "<br />")) 1065 : ((used_cookies_text = nocookiesaved), (html += "<br />" + used_cookies_text + "<br />")), 1066 nb > 1; 1067 } 1068 return ( 1069 jQuery("#tacCL" + key).hide(), 1070 jQuery("#" + key + "Line br").hide(), 1071 jQuery("<span class='tarteaucitronCookiePopup'>" + html + "<br /></p>").insertAfter("#" + key + "Line b"), 1072 jQuery("#" + key + "Line .tarteaucitronCookiePopup").show(), 1073 "" 1074 ); 1075 }, 1076 color: function (key, status, trigger) { 1077 "use strict"; 1078 if (undefined !== tarteaucitron.job && tarteaucitron.job.length) var lenght1 = tarteaucitron.job.length; 1079 else var lenght1 = ""; 1080 var gray = "#" + popupbtncolor, 1081 greenDark = "#" + popupbtncoloractive, 1082 greenLight = "#E6FFE2", 1083 redDark = "#" + popupbtncolordeactive, 1084 redLight = "#FFE2E2", 1085 yellowDark = "#FBDA26", 1086 c = "tarteaucitron", 1087 nbDenied = 0, 1088 nbPending = 0, 1089 nbAllowed = 0, 1090 sum = lenght1, 1091 index; 1092 for ( 1093 status === !0 1094 ? (tarteaucitron.userInterface.css(key + "Line", "borderLeft", "5px solid " + greenDark), 1095 tarteaucitron.userInterface.css(key + "Allowed", "backgroundColor", greenDark), 1096 tarteaucitron.userInterface.css(key + "Denied", "backgroundColor", gray)) 1097 : status === !1 && 1098 (tarteaucitron.userInterface.css(key + "Line", "borderLeft", "5px solid " + redDark), 1099 tarteaucitron.userInterface.css(key + "Allowed", "backgroundColor", gray), 1100 tarteaucitron.userInterface.css(key + "Denied", "backgroundColor", redDark)), 1101 index = 0; 1102 index < sum; 1103 index += 1 1104 ) 1105 tarteaucitron.state[tarteaucitron.job[index]] === !1 1106 ? (nbDenied += 1) 1107 : tarteaucitron.state[tarteaucitron.job[index]] === undefined 1108 ? (nbPending += 1) 1109 : tarteaucitron.state[tarteaucitron.job[index]] === !0 && (nbAllowed += 1); 1110 tarteaucitron.userInterface.css(c + "DotGreen", "width", (100 / sum) * nbAllowed + "%"), 1111 tarteaucitron.userInterface.css(c + "DotYellow", "width", (100 / sum) * nbPending + "%"), 1112 tarteaucitron.userInterface.css(c + "DotRed", "width", (100 / sum) * nbDenied + "%"),
1113 nbDenied === 0 && nbPending === 0 1114 ? (tarteaucitron.userInterface.css(c + "AllAllowed", "backgroundColor", greenDark), 1115 tarteaucitron.userInterface.css(c + "AllDenied", "backgroundColor", gray), 1116 cookiestyle == "style1" && (document.body.style.paddingBottom = "0px")) 1117 : nbAllowed === 1 && nbPending === 0 1118 ? (tarteaucitron.userInterface.css(c + "AllAllowed", "backgroundColor", gray), tarteaucitron.userInterface.css(c + "AllDenied", "backgroundColor", redDark)) 1119 : (tarteaucitron.userInterface.css(c + "AllAllowed", "backgroundColor", gray), tarteaucitron.userInterface.css(c + "AllDenied", "backgroundColor", gray)), 1120 nbPending === 0 && (trigger === undefined ? tarteaucitron.userInterface.closeAlert() : tarteaucitron.userInterface.closeAlertTrigger()), 1121 tarteaucitron.services[key] && tarteaucitron.services[key].cookies.length > 0 && status === !1 && tarteaucitron.cookie.purge(tarteaucitron.services[key].cookies); 1122 }, 1123 openPanel: function () { 1124 "use strict"; 1125 var time = animation_time; 1126 jQuery("#tarteaucitron").fadeIn(time), jQuery("#tarteaucitronBack").fadeIn(time), jQuery("#tarteaucitronCookiesListContainer").fadeOut(time), tarteaucitron.userInterface.jsSizing("main"); 1127 }, 1128 closeNotice: function () { 1129 "use strict"; 1130 var time = animation_time; 1131 return jQuery("#tarteaucitronAlertBig").fadeOut(time), !1; 1132 }, 1133 redirectonreject: function () { 1134 "use strict"; 1135 alert(ablehnentext), window.location.replace("http://" + ablehnenurl); 1136 }, 1137 closePanel: function () { 1138 "use strict"; 1139 document.location.hash === tarteaucitron.hashtag && (document.location.hash = ""); 1140 var time = animation_time; 1141 jQuery("#tarteaucitron").fadeOut(time), 1142 jQuery("#tarteaucitronCookiesListContainer").fadeOut(time), 1143 tarteaucitron.fallback( 1144 ["tarteaucitronInfoBox"], 1145 function (elem) { 1146 jQuery("#tarteaucitronInfoBox").fadeOut(time); 1147 }, 1148 !0 1149 ), 1150 tarteaucitron.reloadThePage === !0 ? window.location.reload() : jQuery("#tarteaucitronBack").fadeOut(time); 1151 }, 1152 openAlert: function () { 1153 "use strict"; 1154 var time = animation_time; 1155 var c = "tarteaucitron"; 1156 jQuery("#tarteaucitron" + "Percentage").fadeIn(time), 1157 jQuery("#tarteaucitron" + "AlertSmall").fadeOut(time), 1158 jQuery("#tarteaucitron" + "AlertBig").fadeIn(time), 1159 tarteaucitron.userInterface.css(c + "Percentage", "display", "block"), 1160 tarteaucitron.userInterface.css(c + "AlertSmall", "display", "none"), 1161 tarteaucitron.userInterface.css(c + "AlertBig", "display", "block"); 1162 }, 1163 closeAlert: function () { 1164 "use strict"; 1165 function objectLength(obj) { 1166 var result = 0; 1167 for (var prop in obj) obj.hasOwnProperty(prop) && result++; 1168 return result; 1169 } 1170 var time = animation_time; 1171 var c = "tarteaucitron"; 1172 objectLength(tarteaucitron.cookie.read().split("!")) == 2 1173 ? (tarteaucitron.userInterface.hideClass(".tarteaucitronCloseBtn", "display", "none"), 1174 localStorage.getItem("dsgvoaio_respondall") == "true" 1175 ? (tarteaucitron.userInterface.css(c + "Percentage", "display", "none"), tarteaucitron.userInterface.css(c + "AlertSmall", "display", "block"), tarteaucitron.userInterface.css(c + "AlertBig", "display", "none")) 1176 : (tarteaucitron.userInterface.css(c + "Percentage", "display", "block"), tarteaucitron.userInterface.css(c + "AlertSmall", "display", "none"), tarteaucitron.userInterface.css(c + "AlertBig", "display", "block"))) 1177 : (tarteaucitron.userInterface.css(c + "Percentage", "display", "none"), tarteaucitron.userInterface.css(c + "AlertSmall", "display", "block"), tarteaucitron.userInterface.css(c + "AlertBig", "display", "none")), 1178 tarteaucitron.userInterface.jsSizing("box"); 1179 }, 1180 closeAlertTrigger: function () { 1181 "use strict"; 1182 var time = animation_time; 1183 var c = "tarteaucitron"; 1184 jQuery("#tarteaucitron" + "Percentage").fadeOut(time), jQuery("#tarteaucitron" + "AlertSmall").fadeIn(time), jQuery("#tarteaucitron" + "AlertBig").fadeOut(time), tarteaucitron.userInterface.jsSizing("box"); 1185 }, 1186 toggleCookiesList: function () { 1187 "use strict"; 1188 var time = animation_time; 1189 var div = document.getElementById("tarteaucitronCookiesListContainer"); 1190 if (div === null) return; 1191 div.style.display !== "block" 1192 ? (tarteaucitron.cookie.number(), 1193 jQuery("#tarteaucitronCookiesListContainer").fadeIn(time), 1194 tarteaucitron.userInterface.jsSizing("cookie"), 1195 jQuery("#tarteaucitron").fadeOut(time), 1196 jQuery("#tarteaucitronBack").fadeIn(time), 1197 tarteaucitron.fallback( 1198 ["tarteaucitronInfoBox"], 1199 function (elem) { 1200 elem.style.display = "none"; 1201 }, 1202 !0 1203 )) 1204 : (jQuery("#tarteaucitronCookiesListContainer").fadeOut(time), jQuery("#tarteaucitron").fadeOut(time), jQuery("#tarteaucitronBack").fadeOut(time), (elem.style.display = "none")); 1205 }, 1206 toggle: function (id, closeClass) { 1207 "use strict"; 1208 var div = document.getElementById(id); 1209 if (div === null) return; 1210 closeClass !== undefined && 1211 tarteaucitron.fallback( 1212 [closeClass], 1213 function (elem) { 1214 elem.id !== id && (elem.style.display = "none"); 1215 }, 1216 !0 1217 ); 1218 var time = animation_time; 1219 div.style.display !== "block" ? jQuery("#" + id).fadeIn(time) : jQuery("#" + id).fadeOut(time); 1220 }, 1221 order: function (id) { 1222 "use strict"; 1223 var main = document.getElementById("tarteaucitronServices_" + id), 1224 allDivs, 1225 store = [], 1226 i; 1227 if (main === null) return; 1228 (allDivs = main.childNodes), 1229 typeof Array.prototype.map === "function" && 1230 Array.prototype.map 1231 .call(main.children, Object) 1232 .sort(function (a, b) { 1233 return tarteaucitron.services[a.id.replace(/Line/g, "")].name > tarteaucitron.services[b.id.replace(/Line/g, "")].name 1234 ? 1 1235 : tarteaucitron.services[a.id.replace(/Line/g, "")].name < tarteaucitron.services[b.id.replace(/Line/g, "")].name 1236 ? -1 1237 : 0; 1238 }) 1239 .forEach(function (element) { 1240 main.appendChild(element); 1241 }); 1242 }, 1243 jsSizing: function (type) { 1244 "use strict"; 1245 var scrollbarMarginRight = 10, 1246 scrollbarWidthParent, 1247 scrollbarWidthChild, 1248 servicesHeight, 1249 e = window, 1250 a = "inner", 1251 windowInnerHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight, 1252 mainTop, 1253 mainHeight, 1254 closeButtonHeight, 1255 headerHeight, 1256 cookiesListHeight, 1257 cookiesCloseHeight, 1258 cookiesTitleHeight, 1259 paddingBox, 1260 alertSmallHeight, 1261 cookiesNumberHeight; 1262 type === "box" 1263 ? document.getElementById("tarteaucitronAlertSmall") !== null && 1264 document.getElementById("tarteaucitronCookiesNumber") !== null && 1265 (tarteaucitron.userInterface.css("tarteaucitronCookiesNumber", "padding", "0px 10px"), 1266 (alertSmallHeight = document.getElementById("tarteaucitronAlertSmall").offsetHeight),
1267 (cookiesNumberHeight = document.getElementById("tarteaucitronCookiesNumber").offsetHeight), 1268 (paddingBox = (alertSmallHeight - cookiesNumberHeight) / 2), 1269 tarteaucitron.userInterface.css("tarteaucitronCookiesNumber", "padding", paddingBox + "px 10px")) 1270 : type === "main" 1271 ? (window.innerWidth === undefined && ((a = "client"), (e = document.documentElement || document.body)), 1272 document.getElementById("tarteaucitron") !== null && 1273 document.getElementById("tarteaucitronClosePanel") !== null && 1274 document.getElementById("tarteaucitronMainLineOffset") !== null && 1275 (tarteaucitron.userInterface.css("tarteaucitronScrollbarParent", "height", "auto"), 1276 (mainHeight = document.getElementById("tarteaucitron").offsetHeight), 1277 (closeButtonHeight = document.getElementById("tarteaucitronClosePanel").offsetHeight), 1278 (headerHeight = document.getElementById("tarteaucitronMainLineOffset").offsetHeight), 1279 (servicesHeight = mainHeight - closeButtonHeight - headerHeight + 1), 1280 tarteaucitron.userInterface.css("tarteaucitronScrollbarParent", "height", servicesHeight + "px"), 1281 jQuery(".dsgvoaio_popup_policyinner").height(servicesHeight)), 1282 document.getElementById("tarteaucitronScrollbarParent") !== null && 1283 document.getElementById("tarteaucitronScrollbarChild") !== null && 1284 (e[a + "Width"] <= 479 ? tarteaucitron.userInterface.css("tarteaucitronScrollbarAdjust", "marginLeft", "11px") : e[a + "Width"] <= 767 && (scrollbarMarginRight = 12), 1285 (scrollbarWidthParent = document.getElementById("tarteaucitronScrollbarParent").offsetWidth), 1286 (scrollbarWidthChild = document.getElementById("tarteaucitronScrollbarChild").offsetWidth), 1287 tarteaucitron.userInterface.css("tarteaucitronScrollbarAdjust", "marginRight", scrollbarWidthParent - scrollbarWidthChild + scrollbarMarginRight + "px")), 1288 document.getElementById("tarteaucitron") !== null && 1289 (e[a + "Width"] <= 767 ? (mainTop = 0) : (mainTop = (windowInnerHeight - document.getElementById("tarteaucitron").offsetHeight) / 2 - 21), 1290 mainTop < 0 && (mainTop = 0), 1291 document.getElementById("tarteaucitronMainLineOffset") !== null && 1292 document.getElementById("tarteaucitron").offsetHeight < windowInnerHeight / 2 && 1293 (mainTop -= document.getElementById("tarteaucitronMainLineOffset").offsetHeight), 1294 tarteaucitron.userInterface.css("tarteaucitron", "top", mainTop + "px"))) 1295 : type === "cookie" && 1296 (document.getElementById("tarteaucitronAlertSmall") !== null && tarteaucitron.userInterface.css("tarteaucitronCookiesListContainer", "bottom", document.getElementById("tarteaucitronAlertSmall").offsetHeight + "px"), 1297 document.getElementById("tarteaucitronCookiesListContainer") !== null && 1298 (tarteaucitron.userInterface.css("tarteaucitronCookiesList", "height", "auto"), 1299 (cookiesListHeight = document.getElementById("tarteaucitronCookiesListContainer").offsetHeight), 1300 (cookiesCloseHeight = document.getElementById("tarteaucitronClosePanelCookie").offsetHeight), 1301 (cookiesTitleHeight = document.getElementById("tarteaucitronCookiesTitle").offsetHeight), 1302 tarteaucitron.userInterface.css("tarteaucitronCookiesList", "height", cookiesListHeight - cookiesCloseHeight - cookiesTitleHeight - 2 + "px"))); 1303 }, 1304 }, 1305 cookie: { 1306 owner: {}, 1307 create: function (key, status) { 1308 "use strict"; 1309 tarteaucitronForceExpire !== "" && (timeExipre = tarteaucitronForceExpire > 365 ? 31536000000 : tarteaucitronForceExpire * 86400000); 1310 var d = new Date(), 1311 time = d.getTime(), 1312 expireTime = time + timeExipre, 1313 regex = new RegExp("!" + key + "=(wait|true|false)", "g"), 1314 cookie = tarteaucitron.cookie.read().replace(regex, ""), 1315 value = tarteaucitron.parameters.cookieName + "=" + cookie + "!" + key + "=" + status, 1316 domain = tarteaucitron.parameters.cookieDomain !== undefined && tarteaucitron.parameters.cookieDomain !== "" ? "domain=" + tarteaucitron.parameters.cookieDomain + ";" : ""; 1317 tarteaucitron.cookie.read().indexOf(key + "=" + status) === -1 && tarteaucitron.pro("!" + key + "=" + status), 1318 localStorage.getItem("dsgvoaio_respondall") == "true" 1319 ? typeof Storage !== "undefined" 1320 ? (localStorage.setItem("dsgvoaio", value), (document.cookie = "dsgvoaio=" + value + "; expires=Fri, 19 Jun 2040 20:47:11 UTC; path=/"))
1321 : console.log("Web Storage cannot be loaded...") 1322 : typeof Storage !== "undefined" 1323 ? (localStorage.setItem("dsgvoaio", value), (document.cookie = "dsgvoaio=" + value + "; expires=Fri, 19 Jun 2040 20:47:11 UTC; path=/")) 1324 : console.log("Web Storage cannot be loaded..."), 1325 d.setTime(expireTime); 1326 }, 1327 read: function () { 1328 "use strict"; 1329 var nameEQ = tarteaucitron.parameters.cookieName + "=", 1330 ca = document.cookie.split(";"), 1331 i, 1332 c; 1333 return ( 1334 localStorage.getItem("dsgvoaio_respondall") == "true" ? (c = localStorage.getItem("dsgvoaio")) : (c = localStorage.getItem("dsgvoaio")), 1335 (c = localStorage.getItem("dsgvoaio")), 1336 c ? ((c = c), c.substring(nameEQ.length, c.length)) : "" 1337 ); 1338 }, 1339 purge: function (arr) { 1340 "use strict"; 1341 var i; 1342 for (i = 0; i < arr.length; i += 1) 1343 (document.cookie = arr[i] + "=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/;"), 1344 (document.cookie = arr[i] + "=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/; domain=." + location.hostname + ";"), 1345 (document.cookie = arr[i] + "=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/; domain=." + location.hostname.split(".").slice(-2).join(".") + ";"); 1346 }, 1347 checkCount: function (key) { 1348 "use strict"; 1349 var arr = tarteaucitron.services[key].cookies, 1350 nb = arr.length, 1351 nbCurrent = 0, 1352 html = "", 1353 i, 1354 status = localStorage.getItem("dsgvoaio").indexOf(key + "=true"); 1355 var state = localStorage.getItem("dsgvoaio"); 1356 if ((state.indexOf(key + "=true") >= 0 ? (status = 1) : (status = -1), status >= 0 && nb === 0)) html += nocookietext; 1357 else if (status >= 0) { 1358 for (i = 0; i < nb; i += 1) 1359 document.cookie.indexOf(arr[i] + "=") !== -1 && 1360 ((nbCurrent += 1), 1361 tarteaucitron.cookie.owner[arr[i]] === undefined && (tarteaucitron.cookie.owner[arr[i]] = []), 1362 tarteaucitron.cookie.crossIndexOf(tarteaucitron.cookie.owner[arr[i]], tarteaucitron.services[key].name) === !1 && tarteaucitron.cookie.owner[arr[i]].push(tarteaucitron.services[key].name)); 1363 nbCurrent > 0 ? ((html += savedcookies + " " + nbCurrent), nbCurrent > 1) : (html += nocookietext); 1364 } else nb === 0 ? (html = tarteaucitron.lang.noCookie) : ((html += cansetcookiestext + " " + nb), nb > 1); 1365 document.getElementById("tacCL" + key).innerHTML = 1366 '<a href="javascript:void(0)" onclick="tarteaucitron.userInterface.dsgvoaio_open_details(\'' + 1367 key + 1368 "');\">" + 1369 showpolicyname + 1370 '<span class="dsgvoaioinfoicon"><span class="dashicons dashicons-visibility"></span></span></a>'; 1371 }, 1372 crossIndexOf: function (arr, match) { 1373 "use strict"; 1374 var i; 1375 for (i = 0; i < arr.length; i += 1) if (arr[i] === match) return !0; 1376 return !1; 1377 }, 1378 number: function () { 1379 "use strict"; 1380 var cookies = document.cookie.split(";"), 1381 nb = document.cookie !== "" ? cookies.length : 0, 1382 html = "", 1383 i, 1384 name, 1385 namea, 1386 nameb, 1387 c, 1388 d, 1389 s = nb > 1 ? "s" : "", 1390 savedname, 1391 regex = /^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i, 1392 regexedDomain = tarteaucitron.cdn.match(regex) !== null ? tarteaucitron.cdn.match(regex)[1] : tarteaucitron.cdn, 1393 host = tarteaucitron.domain !== undefined ? tarteaucitron.domain : regexedDomain; 1394 if ( 1395 ((cookies = cookies.sort(function (a, b) { 1396 return ( 1397 (namea = a.split("=", 1).toString().replace(/ /g, "")), 1398 (nameb = b.split("=", 1).toString().replace(/ /g, "")), 1399 (c = tarteaucitron.cookie.owner[namea] !== undefined ? tarteaucitron.cookie.owner[namea] : "0"), 1400 (d = tarteaucitron.cookie.owner[nameb] !== undefined ? tarteaucitron.cookie.owner[nameb] : "0"), 1401 c + a > d + b ? 1 : c + a < d + b ? -1 : 0 1402 ); 1403 })), 1404 document.cookie !== "") 1405 ) 1406 for (i = 0; i < nb; i += 1) 1407 (name = cookies[i].split("=", 1).toString().replace(/ /g, "")), 1408 tarteaucitron.cookie.owner[name] !== undefined && tarteaucitron.cookie.owner[name].join(" // ") !== savedname 1409 ? ((savedname = tarteaucitron.cookie.owner[name].join(" // ")), 1410 (html += '<div class="tarteaucitronHidden">'), 1411 (html += ' <div class="tarteaucitronTitle">'), 1412 (html += " " + tarteaucitron.cookie.owner[name].join(" // ")),
1413 (html += " </div>"), 1414 (html += "</div>")) 1415 : tarteaucitron.cookie.owner[name] === undefined && 1416 host !== savedname && 1417 ((savedname = host), (html += '<div class="tarteaucitronHidden">'), (html += ' <div class="tarteaucitronTitle">'), (html += " " + host), (html += " </div>"), (html += "</div>")), 1418 (html += '<div class="tarteaucitronCookiesListMain">'), 1419 (html += 1420 ' <div class="tarteaucitronCookiesListLeft"><a href="#" onclick="tarteaucitron.cookie.purge([\'' + 1421 cookies[i].split("=", 1) + 1422 "']);tarteaucitron.cookie.number();tarteaucitron.userInterface.jsSizing('cookie');return false\"><b>×</b></a> <b>" + 1423 name + 1424 "</b>"), 1425 (html += " </div>"), 1426 (html += ' <div class="tarteaucitronCookiesListRight">' + cookies[i].split("=").slice(1).join("=") + "</div>"), 1427 (html += "</div>"); 1428 else (html += '<div class="tarteaucitronCookiesListMain">'), (html += ' <div class="tarteaucitronCookiesListLeft"><b>-</b></div>'), (html += ' <div class="tarteaucitronCookiesListRight"></div>'), (html += "</div>"); 1429 for ( 1430 html += '<div class="tarteaucitronHidden" style="height:20px;display:block"></div>', 1431 document.getElementById("tarteaucitronCookiesList") !== null && (document.getElementById("tarteaucitronCookiesList").innerHTML = html), 1432 document.getElementById("tarteaucitronCookiesNumber") !== null && (document.getElementById("tarteaucitronCookiesNumber").innerHTML = nb), 1433 document.getElementById("tarteaucitronCookiesNumberBis") !== null && (document.getElementById("tarteaucitronCookiesNumberBis").innerHTML = nb + " cookie" + s), 1434 i = 0; 1435 i < tarteaucitron.job.length; 1436 i += 1 1437 ) 1438 tarteaucitron.cookie.checkCount(tarteaucitron.job[i]); 1439 }, 1440 }, 1441 getLanguage: function () { 1442 "use strict"; 1443 if (!navigator) return "en"; 1444 var availableLanguages = "cs,en,fr,es,it,de,nl,pt,pl,ru", 1445 defaultLanguage = "en", 1446 lang = navigator.language || navigator.browserLanguage || navigator.systemLanguage || navigator.userLang || null, 1447 userLanguage = lang.substr(0, 2); 1448 return tarteaucitronForceLanguage !== "" && availableLanguages.indexOf(tarteaucitronForceLanguage) !== -1 ? tarteaucitronForceLanguage : availableLanguages.indexOf(userLanguage) === -1 ? defaultLanguage : userLanguage; 1449 }, 1450 getLocale: function () { 1451 "use strict"; 1452 if (!navigator) return "en_US"; 1453 var lang = navigator.language || navigator.browserLanguage || navigator.systemLanguage || navigator.userLang || null, 1454 userLanguage = lang.substr(0, 2); 1455 return userLanguage === "fr" 1456 ? "fr_FR" 1457 : userLanguage === "en" 1458 ? "en_US" 1459 : userLanguage === "de" 1460 ? "de_DE" 1461 : userLanguage === "es" 1462 ? "es_ES" 1463 : userLanguage === "it" 1464 ? "it_IT" 1465 : userLanguage === "pt" 1466 ? "pt_PT" 1467 : userLanguage === "nl" 1468 ? "nl_NL" 1469 : "en_US"; 1470 }, 1471 addScript: function (url, id, callback, execute, attrName, attrVal) { 1472 "use strict"; 1473 var script, 1474 done = !1; 1475 execute === !1 1476 ? typeof callback === "function" && callback() 1477 : ((script = document.createElement("script")), 1478 (script.type = "text/javascript"), 1479 (script.id = id !== undefined ? id : ""), 1480 (script.async = !0), 1481 (script.src = url), 1482 attrName !== undefined && attrVal !== undefined && script.setAttribute(attrName, attrVal), 1483 typeof callback === "function" && 1484 (script.onreadystatechange = script.onload = function () { 1485 var state = script.readyState; 1486 !done && (!state || /loaded|complete/.test(state)) && ((done = !0), callback()); 1487 }), 1488 document.getElementsByTagName("head")[0].appendChild(script)); 1489 }, 1490 makeAsync: { 1491 antiGhost: 0, 1492 buffer: "", 1493 init: function (url, id) { 1494 "use strict"; 1495 var savedWrite = document.write, 1496 savedWriteln = document.writeln; 1497 (document.write = function (content) { 1498 tarteaucitron.makeAsync.buffer += content; 1499 }), 1500 (document.writeln = function (content) { 1501 tarteaucitron.makeAsync.buffer += content.concat("\n"); 1502 }), 1503 setTimeout(function () { 1504 (document.write = savedWrite), (document.writeln = s
1504avedWriteln); 1505 }, 20000), 1506 tarteaucitron.makeAsync.getAndParse(url, id); 1507 }, 1508 getAndParse: function (url, id) { 1509 "use strict"; 1510 if (tarteaucitron.makeAsync.antiGhost > 9) { 1511 tarteaucitron.makeAsync.antiGhost = 0; 1512 return; 1513 } 1514 (tarteaucitron.makeAsync.antiGhost += 1), 1515 tarteaucitron.addScript(url, "", function () { 1516 document.getElementById(id) !== null && 1517 ((document.getElementById(id).innerHTML += "<span style='display:none'> </span>" + tarteaucitron.makeAsync.buffer), (tarteaucitron.makeAsync.buffer = ""), tarteaucitron.makeAsync.execJS(id)); 1518 }); 1519 }, 1520 execJS: function (id) { 1521 var i, scripts, childId, type; 1522 if (document.getElementById(id) === null) return; 1523 for (scripts = document.getElementById(id).getElementsByTagName("script"), i = 0; i < scripts.length; i += 1) 1524 (type = scripts[i].getAttribute("type") !== null ? scripts[i].getAttribute("type") : ""), 1525 type === "" && (type = scripts[i].getAttribute("language") !== null ? scripts[i].getAttribute("language") : ""), 1526 scripts[i].getAttribute("src") !== null && scripts[i].getAttribute("src") !== "" 1527 ? ((childId = id + Math.floor(Math.random() * 99999999999)), 1528 (document.getElementById(id).innerHTML += '<div id="' + childId + '"></div>'), 1529 tarteaucitron.makeAsync.getAndParse(scripts[i].getAttribute("src"), childId)) 1530 : (type.indexOf("javascript") !== -1 || type === "") && eval(scripts[i].innerHTML); 1531 }, 1532 }, 1533 fallback: function (matchClass, content, noInner) { 1534 "use strict"; 1535 var elems = document.getElementsByTagName("*"), 1536 i, 1537 index = 0; 1538 for (i in elems) 1539 if (elems[i] !== undefined) 1540 for (index = 0; index < matchClass.length; index += 1) 1541 (" " + elems[i].className + " ").indexOf(" " + matchClass[index] + " ") > -1 && 1542 (typeof content === "function" ? (noInner === !0 ? content(elems[i]) : (elems[i].innerHTML = content(elems[i]))) : (elems[i].innerHTML = content)); 1543 }, 1544 engage: function (id) { 1545 "use strict"; 1546 var currid = id + "_spt"; 1547 var keys = Object.keys(obj); 1548 var policytext = ""; 1549 for (let i = 0; i < keys.length; i++) { 1550 var key = keys[i]; 1551 key == currid && (policytext = obj[key]); 1552 } 1553 var html = "", 1554 r = Math.floor(Math.random() * 100000); 1555 return show_layertext == "on" 1556 ? ((html += '<div class="tac_activate">'), 1557 (html += ' <div class="tac_float">'), 1558 (html += ' <div class="tac_service_msg">'), 1559 (html += policytext), 1560 (html += " </div>"), 1561 (html += " <b>" + tarteaucitron.services[id].name + "</b> " + deactivatedtext), 1562 (html += ' <div class="tarteaucitronAllow" id="Eng' + r + "ed" + id + '" onclick="tarteaucitron.userInterface.respond(this, true);">'), 1563 (html += " ✓ " + accepttext), 1564 (html += " </div>"), 1565 (html += ' <div class="tarteaucitronPolicy" id="ZeEng' + r + "ed" + id + '" onclick="tarteaucitron.userInterface.showPolicy(this, true);">'), 1566 (html += policytextbtn), 1567 (html += " </div>"), 1568 (html += " </div>"), 1569 (html += "</div>"), 1570 html) 1571 : ((html += '<div class="tac_activate">'), 1572 (html += ' <div class="tac_float">'), 1573 (html += " <b>" + tarteaucitron.services[id].name + "</b> " + deactivatedtext), 1574 (html += ' <div class="tarteaucitronAllow" id="Eng' + r + "ed" + id + '" onclick="tarteaucitron.userInterface.respond(this, true);">'), 1575 (html += " ✓ " + accepttext), 1576 (html += " </div>"), 1577 (html += ' <div class="tarteaucitronPolicy" id="ZeEng' + r + "ed" + id + '" onclick="tarteaucitron.userInterface.showPol
1577icy(this, true);">'), 1578 (html += policytextbtn), 1579 (html += " </div>"), 1580 (html += " </div>"), 1581 (html += "</div>"), 1582 html); 1583 }, 1584 extend: function (a, b) { 1585 "use strict"; 1586 var prop; 1587 for (prop in b) b.hasOwnProperty(prop) && (a[prop] = b[prop]); 1588 }, 1589 proTemp: "", 1590 proTimer: function () { 1591 "use strict"; 1592 setTimeout(tarteaucitron.proPing, 1000); 1593 }, 1594 pro: function (list) { 1595 "use strict"; 1596 (tarteaucitron.proTemp += list), clearTimeout(tarteaucitron.proTimer), (tarteaucitron.proTimer = setTimeout(tarteaucitron.proPing, 2500)); 1597 }, 1598 proPing: function () { 1599 "use strict"; 1600 if (tarteaucitron.uuid !== "" && tarteaucitron.uuid !== undefined && tarteaucitron.proTemp !== "") { 1601 var div = document.getElementById("tarteaucitronPremium"), 1602 timestamp = new Date().getTime(), 1603 url = "//mlfactory.de/premium.php?"; 1604 if (div === null) return; 1605 (url += "domain=" + tarteaucitron.domain + "&"), 1606 (url += "uuid=" + tarteaucitron.uuid + "&"), 1607 (url += "c=" + encodeURIComponent(tarteaucitron.proTemp) + "&"), 1608 (url += "_" + timestamp), 1609 (div.innerHTML = '<img src="' + url + '" style="display:none" />'), 1610 (tarteaucitron.proTemp = ""); 1611 } 1612 tarteaucitron.cookie.number(); 1613 }, 1614 AddOrUpdate: function (source, custom) { 1615 for (key in custom) custom[key] instanceof Object ? (source[key] = tarteaucitron.AddOrUpdate(source[key], custom[key])) : (source[key] = custom[key]); 1616 return source; 1617 }, 1618};
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.