// source --> https://howryou.de/wp-content/plugins/dsgvo-all-in-one-for-wp-pro/assets/js/tarteaucitron/tarteaucitron.min.js?ver=6.9.4 
if (parms.shortcode_blocker_layertext) var shortcode_blocker_layertext = parms.shortcode_blocker_layertext;
if (parms.iframe_blocker_layertext) var iframe_blocker_layertext = parms.iframe_blocker_layertext;
var scripts = document.getElementsByTagName("script"),
    path = scripts[scripts.length - 1].src.split("?")[0],
    tarteaucitronForceCDN = tarteaucitronForceCDN === undefined ? "" : tarteaucitronForceCDN,
    cdn = tarteaucitronForceCDN === "" ? path.split("/").slice(0, -1).join("/") + "/" : tarteaucitronForceCDN,
    alreadyLaunch = alreadyLaunch === undefined ? 0 : alreadyLaunch,
    tarteaucitronForceLanguage = tarteaucitronForceLanguage === undefined ? "" : tarteaucitronForceLanguage,
    tarteaucitronForceExpire = tarteaucitronForceExpire === undefined ? "" : tarteaucitronForceExpire,
    tarteaucitronCustomText = tarteaucitronCustomText === undefined ? "" : tarteaucitronCustomText,
    cookietime = parms.cookie_time,
    timeExipre = cookietime * 86400000,
    tarteaucitronProLoadServices,
    tarteaucitronNoAdBlocker = !1,
    cookiestyle = parms.noticestyle,
    pixelorderid = parms.pixelorderid,
    cookiebackgroundcolor = parms.backgroundcolor,
    cookietextcolor = parms.textcolor,
    cookiebuttonbackground = parms.buttonbackground,
    cookiebuttontextcolor = parms.buttontextcolor,
    cookiebuttonlinkcolor = parms.buttonlinkcolor,
    cookietext = parms.cookietext,
    cookieaccepttext = parms.cookieaccepttext,
    policytextbtn = parms.privacybtntext;
(onscrolltext = parms.onscrolltext),
    (onscrolltextbold = parms.onscrolltext),
    (ablehnentxt = parms.ablehnentxt),
    (ablehnentext = parms.ablehnentext),
    (ablehnenurl = parms.ablehnenurl),
    (ablehnenanzeigen = parms.showrejectbtn),
    (btn_text_customize = parms.btn_text_customize),
    (customservice1_use = parms.customservice1_use),
    (customservice1_name = parms.customservice1_name),
    (customservice1_cookies = parms.customservice1_cookies),
    (customservice1_readmore = parms.customservice1_readmore),
    (customservice1_type = parms.customservice1_type),
    (customservice1_code_accept = parms.customservice1_code_accept),
    (customservice1_code_reject = parms.customservice1_code_reject),
    (customservice2_use = parms.customservice2_use),
    (customservice2_name = parms.customservice2_name),
    (customservice2_cookies = parms.customservice2_cookies),
    (customservice2_readmore = parms.customservice2_readmore),
    (customservice2_type = parms.customservice2_type),
    (customservice2_code_accept = parms.customservice2_code_accept),
    (customservice2_code_reject = parms.customservice2_code_reject),
    (customservice3_use = parms.customservice3_use),
    (customservice3_name = parms.customservice3_name),
    (customservice3_cookies = parms.customservice3_cookies),
    (customservice3_readmore = parms.customservice3_readmore),
    (customservice3_type = parms.customservice3_type),
    (customservice3_code_accept = parms.customservice3_code_accept),
    (customservice3_code_reject = parms.customservice3_code_reject),
    (customservice4_use = parms.customservice4_use),
    (customservice4_name = parms.customservice4_name),
    (customservice4_cookies = parms.customservice4_cookies),
    (customservice4_readmore = parms.customservice4_readmore),
    (customservice4_type = parms.customservice4_type),
    (customservice4_code_accept = parms.customservice4_code_accept),
    (customservice4_code_reject = parms.customservice4_code_reject),
    (customservice5_use = parms.customservice5_use),
    (customservice5_name = parms.customservice5_name),
    (customservice5_cookies = parms.customservice5_cookies),
    (customservice5_readmore = parms.customservice5_readmore),
    (customservice5_type = parms.customservice5_type),
    (customservice5_code_accept = parms.customservice5_code_accept),
    (customservice5_code_reject = parms.customservice5_code_reject),
    (customservice1_needconsent = parms.customservice1_needconsent),
    (customservice2_needconsent = parms.customservice2_needconsent),
    (customservice3_needconsent = parms.customservice3_needconsent),
    (customservice4_needconsent = parms.customservice4_needconsent),
    (customservice5_needconsent = parms.customservice5_needconsent),
    (autoacceptscrolling = parms.autoacceptscrolling),
    (btnbgcoloraccept = parms.btnbgcoloraccept),
    (pluginurl = parms.plugin_url),
    (plugindir = decodeURIComponent(parms.plugin_dir.replace(/\+/g, " ")).replace(/&quot;/g, '"')),
    (instagram_userid = parms.instagram_userid),
    (instagram_accesstoken = parms.instagram_accesstoken),
    (popupbtncolor = parms.popupbtncolor),
    (popupbtncoloractive = parms.popupbtncoloractive),
    (popupbtncolordeactive = parms.popupbtncolordeactive),
    (analytics_cat_name = parms.analytics_cat_name),
    (ads_cat_name = parms.ads_cat_name),
    (social_cat_name = parms.social_cat_name),
    (video_cat_name = parms.video_cat_name),
    (comments_cat_name = parms.comments_cat_name),
    (support_cat_name = parms.support_cat_name),
    (apis_cat_name = parms.apis_cat_name),
    (essential_cat_name = parms.essential_cat_name),
    (other_cat_name = parms.other_cat_name),
    (desc_essentail = parms.desc_essentail),
    (desc_apis = parms.desc_apis),
    (desc_ads = parms.desc_ads),
    (desc_analytic = parms.desc_analytic),
    (desc_social = parms.desc_social),
    (desc_video = parms.desc_video),
    (desc_comment = parms.desc_comment),
    (desc_support = parms.desc_support),
    (desc_other = parms.desc_other),
    (servicecontrolname = parms.servicecontrolname),
    (privacysettingsname = parms.privacysettingsname),
    (wpcookiesname = parms.wpcookiesname),
    (fbpixelname = parms.fbpixelname),
    (ganame = parms.ganame),
    (soundcloudname = parms.soundcloudname),
    (mixcloudname = parms.mixcloudname),
    (hearthisname = parms.hearthisname),
    (gatagname = parms.gatagname),
    (adsensename = parms.adsensename),
    (gmapsname = parms.gmapsname),
    (criteoname = parms.criteoname),
    (awinname = parms.awinname),
    (recaptchaname = parms.recaptchaname),
    (amazonname = parms.amazonname),
    (diqusname = parms.diqusname),
    (instagramname = parms.instagramname),
    (pinterestname = parms.pinterestname),
    (fbcommentsname = parms.fbcommentsname),
    (fblikename = parms.fblikename),
    (fbfeedname = parms.fbfeedname),
    (tidioname = parms.tidioname),
    (sharethisdisplayname = parms.sharethisdisplayname),
    (shareaholicname = parms.shareaholicname),
    (addthisname = parms.addthisname),
    (addtoanyname = parms.addtoanyname),
    (youtubename = parms.youtubename),
    (dailymotionname = parms.dailymotionname),
    (vimeoname = parms.vimeoname),
    (slidesharename = parms.slidesharename),
    (clickyname = parms.clickyname),
    (etrackername = parms.etrackername),
    (statcountername = parms.statcountername),
    (fastcountername = parms.fastcountername),
    (slimstatsname = parms.slimstatsname),
    (fbcustomerchatname = parms.fbcustomerchatname),
    (onesignalname = parms.onesignalname),
    (piwikname = parms.piwikname),
    (hotjarname = parms.hotjarname),
    (komootname = parms.komootname),
    (openstreetmapname = parms.openstreetmapname),
    (gofundmename = parms.gofundmename),
    (noticestyle = parms.noticestyle),
    (policytext = parms.policytext),
    (denytext = parms.denytext),
    (accepttext = parms.accepttext),
    (deactivatedtext = parms.deactivatedtext),
    (closetext = parms.closetext),
    (nolabel = parms.noname),
    (yeslabel = parms.yesname),
    (cookietextusage = parms.cookietextusage),
    (cookietextusagebefore = parms.cookietextusagebefore),
    (linkto = parms.linkto),
    (nocookietext = parms.nocookietext),
    (cookiedescriptiontext = parms.cookiedescriptiontext),
    (languageswitcher = parms.languageswitcher),
    (popupagbs = parms.popupagbs),
    (pixelevent = parms.pixelevent),
    (fbpixel_content_name = parms.fbpixel_content_name),
    (fbpixel_product_price = parms.fbpixel_product_price),
    (fbpixel_currency = parms.fbpixel_currency),
    (fbpixel_content_ids = parms.fbpixel_content_ids),
    (fbpixel_content_type = parms.fbpixel_content_type),
    (fbpixel_product_cat = parms.fbpixel_product_cat),
    (isbuyedsendet = parms.isbuyedsendet),
    (pixeleventamount = parms.pixeleventamount),
    (pixeleventcurrency = parms.pixeleventcurrency),
    (auto_accept_scrolling_percent = parms.auto_accept_scrolling_percent),
    (ga_defaultoptinout = parms.ga_defaultoptinout),
	(matomo_defaultoptinout = parms.matomo_defaultoptinout),
    (vgwort_defaultoptinout = parms.vgwort_defaultoptinout),
    (language = parms.language),
    (adminajaxurl = parms.adminajaxurl),
    (polylangcookie = parms.polylangcookie),
    (woocommercecookies = parms.woocommercecookies),
    (textcansetcookies = parms.cansetcookies),
    (usenocookies = parms.usenocookies),
    (nocookiesaved = parms.nocookiesaved),
    (savedcookies = parms.savedcookies),
    (showpolicyname = parms.showpolicyname),
    (cansetcookiestext = ""),
    (maincookiesname = parms.maincookiesname),
    (allowallname = parms.allowallname),
    (denyallname = parms.denyallname),
    (maincatname = parms.maincatname),
    (use_wpgmp = parms.use_wpgmp),
    (animation_time = Number(parms.animation_time)),
    (textgfrecaptcha = parms.textgfrecaptcha),
    (textgfrecaptchaloaded = parms.textgfrecaptchaloaded),
    (outgoing_text = parms.outgoing_text),
    (show_layertext = parms.show_layertext),
    (loadingtext = parms.loadingtext);
var obj = {
    googlemaps_spt: parms.googlemaps_spt,
    youtube_spt: parms.youtube_spt,
    vimeo_spt: parms.vimeo_spt,
    dailymotion_spt: parms.dailymotion_spt,
    soundcloud_spt: parms.soundcloud_spt,
    hearthis_spt: parms.hearthis_spt,
    mixcloud_spt: parms.mixcloud_spt,
    slideshare_spt: parms.slideshare_spt,
    statcounter_spt: parms.statcounter_spt,
    fastcounter_spt: parms.fastcounter_spt,
    vgwort_spt: parms.vgwort_spt,
    adsense_spt: parms.adsense_spt,
    criteo_spt: parms.criteo_spt,
    amazon_spt: parms.amazon_spt,
    komoot_spt: parms.komoot_spt,
    openstreetmap_spt: parms.openstreetmap_spt,
    sharethis_spt: parms.sharethis_spt,
    shareaholic_spt: parms.shareaholic_spt,
    addthis_spt: parms.addthis_spt,
    linkedin_spt: parms.linkedin_spt,
    addtoanyshare_spt: parms.addtoany_spt,
    recaptchav3_spt: parms.recaptcha_spt,
    recaptcha_spt: parms.recaptcha_spt,
    gofundme_spt: parms.gofundme_spt,
    shortcode_blocker1_spt: shortcode_blocker_layertext[1],
    shortcode_blocker2_spt: shortcode_blocker_layertext[2],
    shortcode_blocker3_spt: shortcode_blocker_layertext[3],
    shortcode_blocker4_spt: shortcode_blocker_layertext[4],
    shortcode_blocker5_spt: shortcode_blocker_layertext[5],
    dsgvoaio_content0_spt: iframe_blocker_layertext[0],
    dsgvoaio_content1_spt: iframe_blocker_layertext[1],
    dsgvoaio_content2_spt: iframe_blocker_layertext[2],
    dsgvoaio_content3_spt: iframe_blocker_layertext[3],
    dsgvoaio_content4_spt: iframe_blocker_layertext[4],
};
if (parms.content_blocker_iframe) var content_blocker_iframe = parms.content_blocker_iframe;
if (parms.content_blocker_shortcode) var content_blocker_shortcode = parms.content_blocker_shortcode;
var tarteaucitron = {
    version: 323,
    versionnumber: "4.7.9",
    cdn: cdn,
    user: {},
    lang: {},
    services: {},
    added: [],
    idprocessed: [],
    state: [],
    launch: [],
    parameters: {},
    isAjax: !1,
    reloadThePage: !1,
    init: function (params) {
        "use strict";
        var origOpen;
        (tarteaucitron.parameters = params),
            alreadyLaunch === 0 &&
                ((alreadyLaunch = 1),
                window.addEventListener
                    ? (window.addEventListener(
                          "load",
                          jQuery(function(){
                              tarteaucitron.load(),
                                  tarteaucitron.fallback(
                                      ["tarteaucitronOpenPanel"],
                                      function (elem) {
                                          elem.addEventListener(
                                              "click",
                                              function (event) {
                                                  tarteaucitron.userInterface.openPanel(), event.preventDefault();
                                              },
                                              !1
                                          );
                                      },
                                      !0
                                  );
                          }),
                          !1
                      ),
                      window.addEventListener(
                          "scroll",
                          function () {
                              if (autoacceptscrolling == "on" && cookiestyle != "style3" && autoacceptscrolling == "on" && cookiestyle != "style2") {
                                  var scrollPos = window.pageYOffset || document.documentElement.scrollTop,
                                      heightPosition;
                                  if (document.getElementById("tarteaucitronAlertBig") !== null && document.getElementById("tarteaucitronAlertBig").style.display === "block") {
                                      heightPosition = document.getElementById("tarteaucitronAlertBig").offsetHeight + "px";
                                      var onepercent = document.body.scrollHeight / 100;
                                      var twentypercent = (onepercent * auto_accept_scrolling_percent) / 2;
                                      cookiestyle == "style4" || cookiestyle == "style5" || cookiestyle == "style6" || cookiestyle == "style7",
                                          scrollPos > twentypercent ? tarteaucitron.userInterface.respondAll(!0) : scrollPos > 50 && (document.getElementById("tarteaucitronDisclaimerAlert").innerHTML = "<b>" + onscrolltext + "</b> "),
                                          cookiestyle == "style4" || cookiestyle == "style5" || cookiestyle == "style6" || cookiestyle == "style7"
                                              ? tarteaucitron.orientation === "top"
                                                  ? (document.getElementById("tarteaucitronPercentage").style.top = heightPosition)
                                                  : (document.getElementById("tarteaucitronPercentage").style.bottom = 0)
                                              : tarteaucitron.orientation === "top"
                                              ? (document.getElementById("tarteaucitronPercentage").style.top = heightPosition)
                                              : (document.getElementById("tarteaucitronPercentage").style.bottom = heightPosition),
                                          (document.getElementById("tarteaucitronPercentage").style.width = (100 / twentypercent) * scrollPos + "%");
                                  }
                              }
                          },
                          !1
                      ),
                      window.addEventListener(
                          "keydown",
                          function (evt) {
                              evt.keyCode === 27 && tarteaucitron.userInterface.closePanel();
                          },
                          !1
                      ),
                      window.addEventListener(
                          "hashchange",
                          function () {
                              document.location.hash === tarteaucitron.hashtag && tarteaucitron.hashtag !== "" && tarteaucitron.userInterface.openPanel();
                          },
                          !1
                      ),
                      window.addEventListener(
                          "resize",
                          function () {
                              if (
                                  (document.getElementById("tarteaucitron") !== null && document.getElementById("tarteaucitron").style.display === "block" && tarteaucitron.userInterface.jsSizing("main"),
                                  document.getElementById("tarteaucitronCookiesListContainer") !== null &&
                                      document.getElementById("tarteaucitronCookiesListContainer").style.display === "block" &&
                                      tarteaucitron.userInterface.jsSizing("cookie"),
                                  cookiestyle == "style1")
                              ) {
                                  var heightnotice = document.getElementById("tarteaucitronAlertBig").offsetHeight + "px";
                                  document.body.style.paddingBottom = heightnotice;
                              }
                          },
                          !1
                      ))
                    : (window.attachEvent("onload", function () {
                          tarteaucitron.load(),
                              tarteaucitron.fallback(
                                  ["tarteaucitronOpenPanel"],
                                  function (elem) {
                                      elem.attachEvent("onclick", function (event) {
                                          tarteaucitron.userInterface.openPanel(), event.preventDefault();
                                      });
                                  },
                                  !0
                              );
                      }),
                      window.attachEvent("onscroll", function () {
                          if ((autoacceptscrolling == "on" && cookiestyle != "style2") || (autoacceptscrolling == "on" && cookiestyle != "style3")) {
                              var scrollPos = window.pageYOffset || document.documentElement.scrollTop,
                                  heightPosition;
                              document.getElementById("tarteaucitronAlertBig") !== null &&
                                  document.getElementById("tarteaucitronAlertBig").style.display === "block" &&
                                  ((heightPosition = document.getElementById("tarteaucitronAlertBig").offsetHeight + "px"),
                                  scrollPos > screen.height * 2
                                      ? tarteaucitron.userInterface.respondAll(!0)
                                      : scrollPos > screen.height / 2 && (document.getElementById("tarteaucitronDisclaimerAlert").innerHTML = "<b>" + onscrolltext + "</b> "),
                                  tarteaucitron.orientation === "top" ? (document.getElementById("tarteaucitronPercentage").style.top = heightPosition) : (document.getElementById("tarteaucitronPercentage").style.bottom = heightPosition),
                                  (document.getElementById("tarteaucitronPercentage").style.width = (100 / (screen.height * 2)) * scrollPos + "%"));
                          }
                      }),
                      window.attachEvent("onkeydown", function (evt) {
                          evt.keyCode === 27 && tarteaucitron.userInterface.closePanel();
                      }),
                      window.attachEvent("onhashchange", function () {
                          document.location.hash === tarteaucitron.hashtag && tarteaucitron.hashtag !== "" && tarteaucitron.userInterface.openPanel();
                      }),
                      window.attachEvent("onresize", function () {
                          document.getElementById("tarteaucitron") !== null && document.getElementById("tarteaucitron").style.display === "block" && tarteaucitron.userInterface.jsSizing("main"),
                              document.getElementById("tarteaucitronCookiesListContainer") !== null && document.getElementById("tarteaucitronCookiesListContainer").style.display === "block" && tarteaucitron.userInterface.jsSizing("cookie");
                      })),
                typeof XMLHttpRequest !== "undefined" &&
                    ((origOpen = XMLHttpRequest.prototype.open),
                    (XMLHttpRequest.prototype.open = function () {
                        window.addEventListener
                            ? this.addEventListener(
                                  "load",
                                  function () {
                                      typeof tarteaucitronProLoadServices === "function" && tarteaucitronProLoadServices();
                                  },
                                  !1
                              )
                            : this.attachEvent !== void 0
                            ? this.attachEvent("onload", function () {
                                  typeof tarteaucitronProLoadServices === "function" && tarteaucitronProLoadServices();
                              })
                            : typeof tarteaucitronProLoadServices === "function" && setTimeout(tarteaucitronProLoadServices, 1000);
                        try {
                            origOpen.apply(this, arguments);
                        } catch (err) {}
                    })));
    },
    load: function () {
        "use strict";
        console.log(
            "\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..."
        );
        var cdn = plugindir + "/assets/js/tarteaucitron/",
            language = tarteaucitron.getLanguage(),
            pathToLang = cdn + "lang/tarteaucitron." + language + ".js?v=" + tarteaucitron.version,
            pathToServices = cdn + "tarteaucitron.services.min.js?v=" + tarteaucitron.version,
            linkElement = document.createElement("link"),
            defaults = { adblocker: !1, hashtag: "#tarteaucitron", cookieName: "tarteaucitron", highPrivacy: !1, orientation: "top", removeCredit: !1, showAlertSmall: !0, cookieslist: !0, handleBrowserDNTRequest: !1 },
            params = tarteaucitron.parameters;
        params !== undefined && tarteaucitron.extend(defaults, params),
            (tarteaucitron.orientation = defaults.orientation),
            (tarteaucitron.hashtag = defaults.hashtag),
            (tarteaucitron.highPrivacy = defaults.highPrivacy),
            (tarteaucitron.handleBrowserDNTRequest = defaults.handleBrowserDNTRequest),
            (linkElement.rel = "stylesheet"),
            (linkElement.type = "text/css"),
            (linkElement.href = cdn + "css/tarteaucitron.css?v=" + tarteaucitron.version),
            document.getElementsByTagName("head")[0].appendChild(linkElement),
            tarteaucitron.addScript(pathToLang, "", function () {
                tarteaucitronCustomText !== "" && (tarteaucitron.lang = tarteaucitron.AddOrUpdate(tarteaucitron.lang, tarteaucitronCustomText)),
                    tarteaucitron.addScript(pathToServices, "", function () {
                        var body = document.body,
                            div = document.createElement("div"),
                            html = "",
                            index,
                            orientation = "Top",
                            cat = ["essenziell", "ads", "analytic", "api", "comment", "social", "support", "video", "other"],
                            i;
                        cat = cat.sort(function (a, b) {
                            return tarteaucitron.lang[a].title < tarteaucitron.lang[b].title ? 1 : tarteaucitron.lang[a].title < tarteaucitron.lang[b].title ? -1 : 0;
                        });
                        var currstatus = localStorage.getItem("dsgvoaio_respondall");
                        if (!currstatus) {
                            var currval = "false";
                            var checkedvalnow = "";
                        } else if (currstatus.indexOf("true") >= 0) {
                            var currval = "false";
                            var checkedvalnow = "";
                        } else {
                            var currval = "true";
                            var checkedvalnow = "checked";
                        }
                        var noticestyle = parms.noticestyle;
                        for (
                            html += '<div class="dsdvo-cookie-notice ' + cookiestyle + '">',
                                html += '<div id="tarteaucitronPremium"></div>',
                                html += '<div id="tarteaucitronBack" onclick="tarteaucitron.userInterface.closePanel();"></div>',
                                html += '<div id="tarteaucitron">',
                                html += '   <div id="tarteaucitronClosePanel" onclick="tarteaucitron.userInterface.closePanel();">',
                                html += "       " + closetext,
                                html += "   </div>",
                                html += '   <div id="tarteaucitronServices">',
                                html += '      <div class="tarteaucitronLine tarteaucitronMainLine" id="tarteaucitronMainLineOffset">',
                                html += '         <div class="tarteaucitronName">',
                                html +=
                                    '            <b><a href="#" onclick="tarteaucitron.userInterface.toggle(\'tarteaucitronInfo\', \'tarteaucitronInfoBox\');return false"><span class="dashicons dashicons-plus-alt2"></span></a> ' +
                                    tarteaucitron.lang.all +
                                    "</b>",
                                html += "         </div>",
                                html += '         <div class="tarteaucitronAsk" id="tarteaucitronScrollbarAdjust">',
                                html += '            <div id="tarteaucitronAllAllowed" data-currval="' + currval + '" class="tarteaucitronAllow allswitch" onclick="tarteaucitron.userInterface.respondAll(true);">',
                                html += "               &#10003; " + allowallname,
                                html += "            </div> ",
                                html += '            <div id="tarteaucitronAllDenied" data-currval="' + currval + '" class="tarteaucitronDeny allswitch" onclick="tarteaucitron.userInterface.respondAll(false);">',
                                html += "               &#10007; " + denyallname,
                                html += "            </div>",
                                html += "         </div>",
                                html += "      </div>",
                                html += '      <div id="tarteaucitronInfo" class="tarteaucitronInfoBox">',
                                html += "         " + tarteaucitron.lang.disclaimer,
                                defaults.removeCredit === !1 && (html += "        <br/><br/>"),
                                html += "      </div>",
                                html += '      <div class="tarteaucitronBorder" id="tarteaucitronScrollbarParent">',
                                html += '         <div class="clear"></div>',
                                i = 0;
                            i < cat.length;
                            i += 1
                        )
                            (html += '         <div id="tarteaucitronServicesTitle_' + cat[i] + '" class="tarteaucitronHidden">'),
                                (html += '            <div class="tarteaucitronTitle">'),
                                (html +=
                                    '               <a href="#" onclick="tarteaucitron.userInterface.toggle(\'tarteaucitronDetails' + cat[i] + "', 'tarteaucitronInfoBox');return false\">&#10011;</a> " + tarteaucitron.lang[cat[i]].title),
                                (html += "            </div>"),
                                (html += '            <div id="tarteaucitronDetails' + cat[i] + '" class="tarteaucitronDetails tarteaucitronInfoBox">'),
                                (html += "               " + tarteaucitron.lang[cat[i]].details),
                                (html += "            </div>"),
                                (html += "         </div>"),
                                (html += '         <div id="tarteaucitronServices_' + cat[i] + '"></div>');
                        if (
                            ((html += '         <div class="tarteaucitronHidden" id="tarteaucitronScrollbarChild" style="height:20px;display:block"></div>'),
                            (html += "       </div>"),
                            (html += "   </div>"),
                            (html += "</div>"),
                            defaults.orientation === "bottom" && (orientation = "Bottom"),
                            defaults.highPrivacy
                                ? ((html += '<div id="dsgvomiddlewrap">'),
                                  (html += '<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig' + orientation + '" style="background:#' + cookiebackgroundcolor + ";color:#" + cookietextcolor + '">'),
                                  (html += '<div id="dsgvoAlertBiginner">'),
                                  (html += '<div id="tarinner">'),
                                  (html += '<div id="tarinnerinner">'),
                                  (html += '   <span id="tarteaucitronDisclaimerAlert">'),
                                  (noticestyle == "style4" || noticestyle == "style5" || noticestyle == "style6" || noticestyle == "style7") &&
                                      (html +=
                                          "<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>"),
                                  noticestyle == "style3"
                                      ? ((html += '<div class="dsgvopopuptopper">'),
                                        (html += languageswitcher),
                                        (html += "<a href='#/' onclick='tarteaucitron.userInterface.closeNotice();' ><span class='dsgvoaio dashicons dashicons-dismiss' style='font-size:18px;'></span></a>"),
                                        (html += "</div>"),
                                        (html += '<div class="dsgvopopupagbs">'),
                                        (html += "<style>.dsgvopopupagbs h2, .dsgvopopupagbs h3, .dsgvopopupagbs h4, .dsgvopopupagbs b, .dsgvopopupagbs strong {font-weight: bold;}</style>"),
                                        (html += popupagbs),
                                        (html += '<div id="agbpopup_service_control"></div>'),
                                        (html += "</div>"))
                                      : noticestyle == "style2"
                                      ? ((html += languageswitcher + "<a href='#' onclick='tarteaucitron.userInterface.closeNotice();' ><span class='dsgvoaio dashicons dashicons-dismiss' style='font-size:18px;'></span></a>"),
                                        (html += cookietext))
                                      : (html += cookietext),
                                  (html += "   </span>"),
                                  (html += '   <div class="dsgvonoticebtns">'),
                                  (html += '   <span id="tarteaucitronAccept" onclick="tarteaucitron.userInterface.respondAll(true);" style="background:#' + btnbgcoloraccept + ";color:#" + cookiebuttontextcolor + '">'),
                                  (html += "       &#10003; " + cookieaccepttext),
                                  (html += "   </span>"),
                                  (html += '   <span id="tarteaucitronPersonalize" onclick="tarteaucitron.userInterface.openPanel();" style="background:#' + cookiebuttonbackground + ";color:#" + cookiebuttontextcolor + '">'),
                                  (html += "       " + btn_text_customize),
                                  (html += "   </span>"),
                                  ablehnenanzeigen == "on" &&
                                      ((html +=
                                          '   <span id="tarteaucitronCloseAlert" class="tarteaucitronCloseBtn" onclick="tarteaucitron.userInterface.respondAll(false);" style="background:#' +
                                          cookiebuttonbackground +
                                          ";color:#" +
                                          cookiebuttontextcolor +
                                          '">'),
                                      (html += "      &#10005; " + ablehnentxt),
                                      (html += "   </span>")),
                                  (html += "</div>"),
                                  (html += "</div>"),
                                  (html += "</div>"),
                                  (html += "</div>"),
                                  (html += "</div>"),
                                  (html += "</div>"),
                                  ((autoacceptscrolling == "on" && cookiestyle != "style2") || (autoacceptscrolling == "on" && cookiestyle != "style3")) && (html += '<div id="tarteaucitronPercentage"></div>'))
                                : ((html += '<div id="dsgvomiddlewrap">'),
                                  (html += '<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig' + orientation + '" style="background:#' + cookiebackgroundcolor + ";color:#" + cookietextcolor + '">'),
                                  (html += '<div id="dsgvoAlertBiginner">'),
                                  (html += '<div id="tarinner">'),
                                  (html += '<div id="tarinnerinner">'),
                                  (html += '   <span id="tarteaucitronDisclaimerAlert">'),
                                  (html += cookietext),
                                  noticestyle == "style3" && ((html += '<div class="dsgvopopupagbs">'), (html += popupagbs), (html += '<div id="agbpopup_service_control"></div>'), (html += "</div>")),
                                  (html += "   </span>"),
                                  (html += '   <div class="dsgvonoticebtns">'),
                                  (html += '   <span id="tarteaucitronPersonalize" onclick="tarteaucitron.userInterface.respondAll(true);"  style="background:#' + btnbgcoloraccept + ";color:#" + cookiebuttontextcolor + '">'),
                                  (html += "       &#10003; " + cookieaccepttext),
                                  (html += "   </span>"),
                                  (html += '   <span id="tarteaucitronCloseAlert" onclick="tarteaucitron.userInterface.openPanel();" style="background:#' + cookiebuttonbackground + ";color:#" + cookiebuttontextcolor + '">'),
                                  (html += "       " + btn_text_customize),
                                  (html += "   </span>"),
                                  ablehnenanzeigen == "on" &&
                                      ((html +=
                                          '   <span id="tarteaucitronCloseAlert" class="tarteaucitronCloseBtn" onclick="tarteaucitron.userInterface.respondAll(false);" style="background:#' +
                                          cookiebuttonbackground +
                                          ";color:#" +
                                          cookiebuttontextcolor +
                                          '">'),
                                      (html += "      &#10005; " + ablehnentxt),
                                      (html += "   </span>")),
                                  (html += "</div>"),
                                  (html += "</div>"),
                                  (html += "</div>"),
                                  (html += "</div>"),
                                  (html += "</div>"),
                                  (html += "</div>"),
                                  ((autoacceptscrolling == "on" && cookiestyle != "style2") || (autoacceptscrolling == "on" && cookiestyle != "style3")) && (html += '<div id="tarteaucitronPercentage"></div>')),
                            defaults.showAlertSmall === !0 &&
                                ((html += '<div id="tarteaucitronAlertSmall" class="tarteaucitronAlertSmall' + orientation + '">'),
                                (html += '   <div id="tarteaucitronManager" onclick="tarteaucitron.userInterface.openPanel();">'),
                                (html += "       " + tarteaucitron.lang.alertSmall),
                                (html += '       <div id="tarteaucitronDot">'),
                                (html += '           <span id="tarteaucitronDotGreen"></span>'),
                                (html += '           <span id="tarteaucitronDotYellow"></span>'),
                                (html += '           <span id="tarteaucitronDotRed"></span>'),
                                (html += "       </div>"),
                                defaults.cookieslist === !0
                                    ? ((html += "   </div><!-- @whitespace"),
                                      (html += '   --><div id="tarteaucitronCookiesNumber" onclick="tarteaucitron.userInterface.toggleCookiesList();">0</div>'),
                                      (html += '   <div id="tarteaucitronCookiesListContainer">'),
                                      (html += '       <div id="tarteaucitronClosePanelCookie" onclick="tarteaucitron.userInterface.closePanel();">'),
                                      (html += "           " + closetext),
                                      (html += "       </div>"),
                                      (html += '       <div class="tarteaucitronCookiesListMain" id="tarteaucitronCookiesTitle">'),
                                      (html += '            <b id="tarteaucitronCookiesNumberBis">0 cookie</b>'),
                                      (html += "       </div>"),
                                      (html += '       <div id="tarteaucitronCookiesList"></div>'),
                                      (html += "    </div>"))
                                    : (html += "   </div>"),
                                (html += "</div>"),
                                (html += "</div>")),
                            tarteaucitron.addScript(
                                tarteaucitron.cdn + "advertising.js?v=" + tarteaucitron.version,
                                "",
                                function () {
                                    if (tarteaucitronNoAdBlocker === !0 || defaults.adblocker === !1) {
                                        if (((div.id = "tarteaucitronRoot"), body.appendChild(div, body), (div.innerHTML = html), jQuery("#dsgvo_service_control").html(html), tarteaucitron.job !== undefined))
                                            for (tarteaucitron.job = tarteaucitron.cleanArray(tarteaucitron.job), index = 0; index < tarteaucitron.job.length; index += 1) tarteaucitron.addService(tarteaucitron.job[index]);
                                        else tarteaucitron.job = [];
                                        (tarteaucitron.isAjax = !0),
                                            (tarteaucitron.job.push = function (id) {
                                                tarteaucitron.job.indexOf === void 0 &&
                                                    (tarteaucitron.job.indexOf = function (obj, start) {
                                                        var i,
                                                            j = this.length;
                                                        for (i = start || 0; i < j; i += 1) if (this[i] === obj) return i;
                                                        return -1;
                                                    }),
                                                    tarteaucitron.job.indexOf(id) === -1 && Array.prototype.push.call(this, id),
                                                    (tarteaucitron.launch[id] = !1),
                                                    tarteaucitron.addService(id);
                                            }),
                                            document.location.hash === tarteaucitron.hashtag && tarteaucitron.hashtag !== "" && tarteaucitron.userInterface.openPanel(),
                                            tarteaucitron.cookie.number(),
                                            setInterval(tarteaucitron.cookie.number, 60000);
                                    }
                                },
                                defaults.adblocker
                            ),
                            defaults.adblocker === !0 &&
                                setTimeout(function () {
                                    tarteaucitronNoAdBlocker === !1
                                        ? ((html = '<div id="dsgvomiddlewrap">'),
                                          (html += '<div id="tarteaucitronAlertBig" class="tarteaucitronAlertBig' + orientation + '" style="background:#' + cookiebackgroundcolor + ";color:#" + cookietextcolor + ';display:block;">'),
                                          (html += '<div id="dsgvoAlertBiginner">'),
                                          (html += '<div id="tarinner">'),
                                          (html += '<div id="tarinnerinner">'),
                                          (html += '   <span id="tarteaucitronDisclaimerAlert">'),
                                          noticestyle == "style3" && ((html += '<div class="dsgvopopupagbs">'), (html += policytext), (html += "</div>")),
                                          (html += cookietext),
                                          (html += "   </span>"),
                                          (html += '   <span id="tarteaucitronPersonalize" onclick="location.reload();">'),
                                          (html += "       " + cookieaccepttext),
                                          (html += "   </span>"),
                                          (html += "</div>"),
                                          (html += "</div>"),
                                          (html += "</div>"),
                                          (html += "</div>"),
                                          (html += "</div>"),
                                          (html += '<div id="tarteaucitronPremium"></div>'),
                                          (div.id = "tarteaucitronRoot"),
                                          body.appendChild(div, body),
                                          (div.innerHTML = html),
                                          tarteaucitron.pro("!adblocker=true"))
                                        : tarteaucitron.pro("!adblocker=false");
                                }, 1500),
                            cookiestyle == "style1")
                        ) {
                            var heightnotice = document.getElementById("tarteaucitronAlertBig").offsetHeight + "px";
                            document.body.style.paddingBottom = heightnotice;
                        }
                    });
            }),
            jQuery(document).ready(function () {
                if ((localStorage.getItem("dsgvoaio_ga_disable") == null || localStorage.getItem("dsgvoaio_ga_disable") === !0) && ga_defaultoptinout == "optout") {
                    var t = '<div id="analyticsAllowed" class="tarteaucitronAllow" onclick="tarteaucitron.userInterface.respond(this, true);" style="background-color: rgb(27, 135, 11);">           \u2713 Erlauben       </div>';
                    var dummy = document.createElement("div");
                    (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0);
                }
                if ((localStorage.getItem("dsgvoaio_matomo_disable") == null || localStorage.getItem("dsgvoaio_matomo_disable") === !0) && matomo_defaultoptinout == "optout") {
                    var t = '<div id="matomoAllowed" class="tarteaucitronAllow" onclick="tarteaucitron.userInterface.respond(this, true);" style="background-color: rgb(27, 135, 11);">           \u2713 Erlauben       </div>';
                    var dummy = document.createElement("div");
                    (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0);
                }					
                if (localStorage.getItem("dsgvoaio_vgwort_disable") == null && vgwort_defaultoptinout == "optout") {
                    let t = '<div id="vgwortAllowed" class="tarteaucitronAllow" onclick="tarteaucitron.userInterface.respond(this, true);" style="background-color: rgb(27, 135, 11);">           \u2713 Erlauben       </div>';
                    var dummy = document.createElement("div");
                    (dummy.id = "vgwortAllowed"), (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0);
                }
            });
        var t = '<div id="mycustomserviceAllowed" class="tarteaucitronAllow" name="" onclick="tarteaucitron.userInterface.respond(this, true);" style="background-color: rgb(27, 135, 11);">           \u2713 Erlauben       </div>';
        var dummy = document.createElement("div");
        (dummy.id = "mycustomserviceAllowed"), (dummy.innerHTML = t.toString()), tarteaucitron.userInterface.respond(dummy.children[0], !0);
    },
    addService: function (serviceId) {
        "use strict";
        var html = "",
            s = tarteaucitron.services,
            service = s[serviceId],
            cookie = tarteaucitron.cookie.read(),
            hostname = document.location.hostname,
            hostRef = document.referrer.split("/")[2],
            isNavigating = hostRef === hostname ? !0 : !1,
            isAutostart = service.needConsent ? !1 : !0,
            isWaiting = cookie.indexOf(service.key + "=wait") >= 0 ? !0 : !1,
            isDenied = cookie.indexOf(service.key + "=false") >= 0 ? !0 : !1,
            isAllowed = cookie.indexOf(service.key + "=true") >= 0 ? !0 : !1,
            isResponded = cookie.indexOf(service.key + "=false") >= 0 || cookie.indexOf(service.key + "=true") >= 0 ? !0 : !1,
            isDNTRequested = navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1" || window.doNotTrack === "1" ? !0 : !1;
        if (tarteaucitron.added[service.key] !== !0) {
            if (((tarteaucitron.added[service.key] = !0), isAllowed !== !0)) {
                var allowedcheck = "Allowed";
                var respondval = "true";
                var checkedval = "";
            } else {
                var allowedcheck = "Denied";
                var respondval = "false";
                var checkedval = "checked";
            }
            if (
                ((html += '<div id="' + service.key + 'Line" class="tarteaucitronLine">'),
                (html += '   <div class="tarteaucitronName">'),
                (html += "       <b>" + service.name + "</b><br/>"),
                (html += '       <span id="tacCL' + service.key + '" class="tarteaucitronListCookies"></span><br/>'),
                (html += '       <a href="' + service.uri + '" target="_blank" rel="noopener" class="dsgvoaiopollink">'),
                (html += "           " + linkto),
                (html += "       </a>"),
                (html += "   </div>"),
                (html += '   <div class="tarteaucitronAsk">'),
                service.key != "mycustomservice")
            ) {
                if (isDenied == 0 && isAllowed == 0) var waitingclass = "dsgvoaiowaiting";
                else var waitingclass = "";
                (html +=
                    '<label class="switchdsgvoaio ' +
                    waitingclass +
                    '" style="margin:0px;"> <input type="checkbox" id="' +
                    service.key +
                    allowedcheck +
                    '" class="switchdsgvoaio-input switch_' +
                    service.key +
                    " switch_key_" +
                    service.key +
                    '" data-current="' +
                    respondval +
                    '" onclick="tarteaucitron.userInterface.respond(this, ' +
                    respondval +
                    ');" ' +
                    checkedval +
                    '> <span class="switchdsgvoaio-label" data-on="' +
                    yeslabel +
                    '" data-off="' +
                    nolabel +
                    '"></span> <span class="switchdsgvoaio-handle"></span> </label>'),
                    (html += "   </div>"),
                    (html += "</div>");
            }
            tarteaucitron.userInterface.css("tarteaucitronServicesTitle_" + service.type, "display", "block"),
                document.getElementById("tarteaucitronServices_" + service.type) !== null && (document.getElementById("tarteaucitronServices_" + service.type).innerHTML += html),
                tarteaucitron.userInterface.order(service.type);
        }
        isResponded === !1 && tarteaucitron.user.bypass === !0 && ((isAllowed = !0), tarteaucitron.cookie.create(service.key, !0)),
            (!isResponded && (isAutostart || (isNavigating && isWaiting)) && !tarteaucitron.highPrivacy) || isAllowed
                ? (isAllowed || tarteaucitron.cookie.create(service.key, !0),
                  tarteaucitron.launch[service.key] !== !0 && ((tarteaucitron.launch[service.key] = !0), service.js()),
                  (tarteaucitron.state[service.key] = !0),
                  tarteaucitron.userInterface.color(service.key, !0))
                : isDenied
                ? (typeof service.fallback === "function" && service.fallback(), (tarteaucitron.state[service.key] = !1), tarteaucitron.userInterface.color(service.key, !1))
                : !isResponded && isDNTRequested && tarteaucitron.handleBrowserDNTRequest
                ? (tarteaucitron.cookie.create(service.key, "false"), typeof service.fallback === "function" && service.fallback(), (tarteaucitron.state[service.key] = !1), tarteaucitron.userInterface.color(service.key, !1))
                : isResponded ||
                  (tarteaucitron.cookie.create(service.key, "wait"), typeof service.fallback === "function" && service.fallback(), tarteaucitron.userInterface.color(service.key, "wait"), tarteaucitron.userInterface.openAlert()),
            tarteaucitron.cookie.checkCount(service.key);
    },
    cleanArray: function cleanArray(arr) {
        "use strict";
        var i,
            len = arr.length,
            out = [],
            obj = {},
            s = tarteaucitron.services;
        for (i = 0; i < len; i += 1) obj[arr[i]] || ((obj[arr[i]] = {}), tarteaucitron.services[arr[i]] !== undefined && out.push(arr[i]));
        return (
            (out = out.sort(function (a, b) {
                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;
            })),
            out
        );
    },
    userInterface: {
        css: function (id, property, value) {
            "use strict";
            document.getElementById(id) !== null && (document.getElementById(id).style[property] = value);
        },
        hideClass: function (classname, property, value) {
            "use strict";
            var el = document.getElementsByClassName(classname);
            el !== null && jQuery(classname).hide();
        },
        writeLog: function (el, status, name, allvalue) {
            "use strict";
            function create_UUID() {
                var dt = new Date().getTime();
                var uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
                    var r = (dt + Math.random() * 16) % 16 | 0;
                    return (dt = Math.floor(dt / 16)), (c == "x" ? r : (r & 3) | 8).toString(16);
                });
                return uuid;
            }
            var key = el;
            var state = status;
            var name = name;
            var allvalue = allvalue;
            var uniqeid = localStorage.getItem("_uniqueuid");
            uniqeid ? (uniqeid = localStorage.getItem("_uniqueuid")) : (localStorage.setItem("_uniqueuid", create_UUID()), (uniqeid = localStorage.getItem("_uniqueuid"))),
                uniqeid &&
                    jQuery.ajax({
                        type: "POST",
                        url: adminajaxurl,
                        data: { id: uniqeid.slice(0, -3) + "XXX", state: state, key: key, name: name, allvalue: allvalue, action: "dsgvoaio_write_log" },
                        success: function (result) {},
                        error: function () {},
                    });
            var uniqeid = localStorage.getItem("_uniqueuid");
        },
        respondAll: function (status) {
            "use strict";
            var s = tarteaucitron.services,
                service,
                key,
                index = 0;
            var allnames = [];
            var currentVal = jQuery("#tarteaucitronAllAllowed").data("currval");
            var currstatus = localStorage.getItem("dsgvoaio_respondall");
            currentVal || (currentVal = "false"),
                currentVal == "false" ? jQuery("#tarteaucitronAllAllowed").data("currval", "true") : jQuery("#tarteaucitronAllAllowed").data("currval", "false"),
                status == 1 ? localStorage.setItem("dsgvoaio_respondall", "true") : localStorage.removeItem("dsgvoaio_respondall");
            var svalue = "";
            for (
                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=/"),
                    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=/"),
                    status == 1 ? (svalue = 1) : (svalue = 0),
                    jQuery.ajax({ type: "POST", url: adminajaxurl, data: { value: svalue, name: "dsgvoaio_allow_gdmap", action: "dsgvoaio_change_cookie" }, success: function (result) {}, error: function () {} }),
                    jQuery.ajax({ type: "POST", url: adminajaxurl, data: { value: svalue, name: "dsgvoaio_allow_geomashupmap", action: "dsgvoaio_change_cookie" }, success: function (result) {}, error: function () {} }),
                    jQuery(".switchdsgvoaio").removeClass("dsgvoaiowaiting"),
                    index = 0;
                index < tarteaucitron.job.length;
                index += 1
            ) {
                if (((service = s[tarteaucitron.job[index]]), (key = service.key), key != "mycustomservice" && tarteaucitron.state[key] !== status)) {
                    status === !1 && tarteaucitron.launch[key] === !0 && (tarteaucitron.reloadThePage = !0),
                        tarteaucitron.launch[key] !== !0 && status === !0 && ((tarteaucitron.launch[key] = !0), tarteaucitron.services[key].js()),
                        (tarteaucitron.state[key] = status),
                        tarteaucitron.cookie.create(key, status),
                        tarteaucitron.userInterface.color(key, status, "g");
                    var currentVal = jQuery(".switch_" + key).attr("onclick");
                    currentVal || (currentVal = "tarteaucitron.userInterface.respond(this, false);"),
                        currentVal.indexOf("true") >= 0 &&
                            localStorage.getItem("dsgvoaio_respondall") &&
                            (jQuery(".switch_" + key).prop("checked", !0), jQuery(".switch_" + key).attr("onclick", "tarteaucitron.userInterface.respond(this, false);")),
                        currentVal.indexOf("false") >= 0 &&
                            !localStorage.getItem("dsgvoaio_respondall") &&
                            (jQuery(".switch_" + key).prop("checked", !1), jQuery(".switch_" + key).attr("onclick", "tarteaucitron.userInterface.respond(this, true);"));
                }
                key != "mycustomservice" && allnames.push(tarteaucitron.services[key].name);
            }
            if (index == 1) {
                var time = animation_time;
                jQuery("#tarteaucitronAlertBig").fadeOut(time), jQuery("#tarteaucitronAlertSmall").fadeIn(time);
            }
            var allvalue = localStorage.getItem("dsgvoaio");
            (document.cookie = "dsgvoaio_gf_recaptcha_allowed=false; expires=Fri, 19 Jun 2222 20:47:11 UTC; path=/"),
                localStorage.removeItem("dsgvoaio_gf_recaptcha_reloaded"),
                tarteaucitron.userInterface.writeLog(key, status, "All", allnames),
                cookiestyle == "style1" && (document.body.style.paddingBottom = "0px");
        },
        dsgvoaio_open_details: function (key) {
            if (key) {
                jQuery.ajax({
                    type: "POST",
                    url: adminajaxurl,
                    data: { key: key, language: language, action: "dsgvoaio_get_service_policy" },
                    success: function (result) {
                        jQuery(".dsgvoaiopolicypopup_" + key + " .dsgvoaio_popup_policyinner .secondinner").html(result),
                            (mainHeight = document.getElementById("tarteaucitron").offsetHeight),
                            (closeButtonHeight = document.getElementById("tarteaucitronClosePanel").offsetHeight),
                            (headerHeight = document.getElementById("tarteaucitronMainLineOffset").offsetHeight),
                            (servicesHeight = mainHeight - closeButtonHeight - headerHeight + 1),
                            jQuery(".dsgvoaio_popup_policyinner").height(servicesHeight);
                    },
                    error: function () {},
                });
                var cookie = tarteaucitron.cookie.read();
                var isServiceAllowed = cookie.indexOf(key + "=true") >= 0 ? !0 : !1;
                var isDenied = cookie.indexOf(key + "=false") >= 0 ? !0 : !1;
                var isWaiting = cookie.indexOf(key + "=wait") >= 0 ? !0 : !1;
                if (isServiceAllowed !== !0) {
                    var allowedcheck = "Allowed";
                    var respondval = "true";
                    var checkedval = "";
                } else {
                    var allowedcheck = "Denied";
                    var respondval = "false";
                    var checkedval = "checked";
                }
                if (isDenied == 0 && isServiceAllowed == 0) var waitingclass = "dsgvoaiowaiting";
                if (key != "mycustomservice")
                    var switchstring =
                        '<label class="switchdsgvoaio ' +
                        waitingclass +
                        '" style="margin:0px;"> <input type="checkbox" id="' +
                        key +
                        allowedcheck +
                        '" class="switchdsgvoaio-input switch_' +
                        key +
                        '" data-current="' +
                        respondval +
                        '" onclick="tarteaucitron.userInterface.respond(this, ' +
                        respondval +
                        ');" ' +
                        checkedval +
                        '> <span class="switchdsgvoaio-label" data-on="' +
                        yeslabel +
                        '" data-off="' +
                        nolabel +
                        '"></span> <span class="switchdsgvoaio-handle"></span> </label>';
                else var switchstring = "";
                jQuery("#tarteaucitronServices ").prepend(
                    jQuery(
                        '<div class="dsgvoaio_policypopup dsgvoaiopolicypopup_' +
                            key +
                            '" data-serviceid="' +
                            key +
                            '"><div class="dsvoaio_pol_wrap"><div class="dsgvoaio_pol_header">' +
                            switchstring +
                            '<a href="javascript:void(0)" class="dsgvo_hide_policy_popup" onclick="tarteaucitron.userInterface.hidePolicyPopup(\'' +
                            key +
                            '\');"><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>'
                    )
                );
            }
        },
        hidePolicyPopup: function (key) {
            jQuery(".dsgvoaiopolicypopup_" + key).remove();
        },
        showPolicy: function (el, status) {
            var key = el.id.replace(new RegExp("(ZeEng[0-9]+|Allow|Deni)ed", "g"), "");
            var time = animation_time;
            jQuery("#tarteaucitron").fadeIn(time),
                jQuery("#tarteaucitronBack").fadeIn(time),
                jQuery("#tarteaucitronCookiesListContainer").fadeOut(time),
                tarteaucitron.userInterface.jsSizing("main"),
                jQuery(".dsgvoaio_policypopup").remove(),
                tarteaucitron.userInterface.dsgvoaio_open_details(key);
        },
        respond: function (el, status) {
            "use strict";
            var key = el.id.replace(new RegExp("(Eng[0-9]+|Allow|Deni)ed", "g"), "");
            jQuery("#" + key + "Line .switchdsgvoaio").removeClass("dsgvoaiowaiting"), jQuery(".dsgvoaiopolicypopup_" + key + " .switchdsgvoaio").removeClass("dsgvoaiowaiting");
            var currentVal = jQuery(".switch_" + key).attr("onclick");
            if (
                (currentVal && currentVal.indexOf("true") >= 0
                    ? (jQuery(".switch_" + key).attr("onclick", "tarteaucitron.userInterface.respond(this, false);"), jQuery(".tarteaucitronLine .switch_key_" + key).attr("checked", !0))
                    : (jQuery(".switch_" + key).attr("onclick", "tarteaucitron.userInterface.respond(this, true);"), jQuery(".tarteaucitronLine .switch_key_" + key).attr("checked", !1)),
                tarteaucitron.services[key] && tarteaucitron.userInterface.writeLog(key, status, tarteaucitron.services[key].name, ""),
                (key == "analytics" || status === !1) && localStorage.setItem("dsgvoaio_ga_disable", "true"),
				(key == "matomo" || status === !1) && localStorage.setItem("dsgvoaio_matomo_disable", "true"),
                (key == "vgwort" || status === !1) && localStorage.setItem("dsgvoaio_vgwort_disable", "true"),
                (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")),
                key == "googlemapsembedv1")
            ) {
                var svalue = "";
                status == 1 ? (svalue = 1) : (svalue = 0),
                    jQuery.ajax({ type: "POST", url: adminajaxurl, data: { value: svalue, name: "dsgvoaio_allow_gdmap", action: "dsgvoaio_change_cookie" }, success: function (result) {}, error: function () {} }),
                    jQuery.ajax({ type: "POST", url: adminajaxurl, data: { value: svalue, name: "dsgvoaio_allow_geomashupmap", action: "dsgvoaio_change_cookie" }, success: function (result) {}, error: function () {} });
            }
            if (
                (status == 1 && key == "recaptcha"
                    ? (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=/"),
                console.log(status + key),
                key == "openstreetmap" &&
                    (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=/")),
                tarteaucitron.state[key] === status)
            )
                return;
            status === !1 && tarteaucitron.launch[key] === !0 && (tarteaucitron.reloadThePage = !0),
                status === !0 && tarteaucitron.launch[key] !== !0 && ((tarteaucitron.launch[key] = !0), tarteaucitron.services[key] && tarteaucitron.services[key].js()),
                (tarteaucitron.state[key] = status),
                tarteaucitron.cookie.create(key, status),
                tarteaucitron.userInterface.color(key, status);
        },
        hideCookies: function (key, state) {
            "use strict";
            var key = key.id.replace("hidecookies", "");
            jQuery("#tacCL" + key).show(), jQuery("#" + key + "Line br").show(), jQuery("#" + key + "Line .tarteaucitronCookiePopup").remove();
        },
        showOutgoingMsg: function (uri) {
            "use strict";
            if (language == "de") var to = "Weiter zu ";
            else var to = "Go to ";
            jQuery("#dsgvoaio_olm").remove(),
                jQuery(document.body).append(
                    '<div id="dsgvoaio_olm" class="dsgvoaio_modal"><div class="dsgvoaio-modal-content"> <span class="dsgvoaio-modal-close">&times;</span> <p>' +
                        outgoing_text +
                        '<a href="' +
                        uri +
                        '" target="blank" class="dsgvoaio_btn_1 dsgvoaio_outgoing_btn">' +
                        to +
                        uri +
                        "</a></p> </div> </div>"
                );
            var modal = document.getElementById("dsgvoaio_olm");
            (modal.style.display = "block"), jQuery("#dsgvoaio_olm").show(animation_time);
            var span = document.getElementsByClassName("dsgvoaio-modal-close")[0];
            (span.onclick = function () {
                (modal.style.display = "none"), jQuery("#dsgvoaio_olm").hide(animation_time);
            }),
                (window.onclick = function (event) {
                    event.target == modal && ((modal.style.display = "none"), jQuery("#dsgvoaio_olm").hide(animation_time));
                });
        },
        showCookies: function (key, state) {
            "use strict";
            var key = key.id.replace("showcookies", "");
            var arr = tarteaucitron.services[key].cookies,
                nb = arr.length,
                nbCurrent = 0,
                html = "",
                i,
                status = document.cookie.indexOf(key + "=true");
            status = document.cookie.indexOf(key + "=true");
            var state = localStorage.getItem("dsgvoaio");
            state.indexOf(key + "=true") >= 0 ? (status = 1) : (status = -1);
            var cookies_used = "";
            var used_cookies_text = "";
            if (status >= 0 && nb === 0) html += tarteaucitron.lang.useNoCookie;
            else if (status >= 0) {
                for (i = 0; i < nb; i += 1)
                    document.cookie.indexOf(arr[i] + "=") !== -1 &&
                        ((nbCurrent += 1),
                        (cookies_used += arr[i] + ", "),
                        tarteaucitron.cookie.owner[arr[i]] === undefined && (tarteaucitron.cookie.owner[arr[i]] = []),
                        tarteaucitron.cookie.crossIndexOf(tarteaucitron.cookie.owner[arr[i]], tarteaucitron.services[key].name) === !1 && tarteaucitron.cookie.owner[arr[i]].push(tarteaucitron.services[key].name));
                if (nbCurrent > 0) {
                    html += savedcookies + " " + nbCurrent;
                    var cookies = tarteaucitron.services[key].cookies.toString();
                    (html +=
                        "<span class='closeShowCookies' id='hidecookies" +
                        key +
                        "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span><br /><br />" +
                        textcansetcookies +
                        ":<br />" +
                        cookies.replace(",", ", ")),
                        cookies_used
                            ? ((used_cookies_text = savedcookies + "&nbsp;"), (html += "<br /><br />" + used_cookies_text + cookies_used + "<br/>"))
                            : ((used_cookies_text = nocookiesaved), (html += "<br /><br />" + used_cookies_text)),
                        nbCurrent > 1;
                } else {
                    html += nocookiesaved;
                    var cookies = tarteaucitron.services[key].cookies.toString();
                    html +=
                        "<span class='closeShowCookies' id='hidecookies" +
                        key +
                        "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span><br /><br />" +
                        textcansetcookies +
                        ":<br />" +
                        cookies.replace(",", ", ") +
                        "<br/>";
                }
            } 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>";
            else {
                var cookies = tarteaucitron.services[key].cookies.toString();
                (html += tarteaucitron.lang.useCookie + " " + nb),
                    (html +=
                        "<span class='closeShowCookies' id='hidecookies" +
                        key +
                        "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span><br /><br />" +
                        textcansetcookies +
                        ":<br />" +
                        cookies.replace(",", ", ") +
                        "<br />"),
                    (cookies_used = cookies_used.substring(0, cookies_used.length - 2)),
                    cookies_used
                        ? ((used_cookies_text = savedcookies + "&nbsp;"),
                          (html +=
                              "<span class='closeShowCookies' id='hidecookies" +
                              key +
                              "' onclick='tarteaucitron.userInterface.hideCookies(this, false);'><span class='dashicons dashicons-hidden'></span></span><br /><br />" +
                              used_cookies_text +
                              cookies_used +
                              "<br />"))
                        : ((used_cookies_text = nocookiesaved), (html += "<br />" + used_cookies_text + "<br />")),
                    nb > 1;
            }
            return (
                jQuery("#tacCL" + key).hide(),
                jQuery("#" + key + "Line br").hide(),
                jQuery("<span class='tarteaucitronCookiePopup'>" + html + "<br /></p>").insertAfter("#" + key + "Line b"),
                jQuery("#" + key + "Line .tarteaucitronCookiePopup").show(),
                ""
            );
        },
        color: function (key, status, trigger) {
            "use strict";
            if (undefined !== tarteaucitron.job && tarteaucitron.job.length) var lenght1 = tarteaucitron.job.length;
            else var lenght1 = "";
            var gray = "#" + popupbtncolor,
                greenDark = "#" + popupbtncoloractive,
                greenLight = "#E6FFE2",
                redDark = "#" + popupbtncolordeactive,
                redLight = "#FFE2E2",
                yellowDark = "#FBDA26",
                c = "tarteaucitron",
                nbDenied = 0,
                nbPending = 0,
                nbAllowed = 0,
                sum = lenght1,
                index;
            for (
                status === !0
                    ? (tarteaucitron.userInterface.css(key + "Line", "borderLeft", "5px solid " + greenDark),
                      tarteaucitron.userInterface.css(key + "Allowed", "backgroundColor", greenDark),
                      tarteaucitron.userInterface.css(key + "Denied", "backgroundColor", gray))
                    : status === !1 &&
                      (tarteaucitron.userInterface.css(key + "Line", "borderLeft", "5px solid " + redDark),
                      tarteaucitron.userInterface.css(key + "Allowed", "backgroundColor", gray),
                      tarteaucitron.userInterface.css(key + "Denied", "backgroundColor", redDark)),
                    index = 0;
                index < sum;
                index += 1
            )
                tarteaucitron.state[tarteaucitron.job[index]] === !1
                    ? (nbDenied += 1)
                    : tarteaucitron.state[tarteaucitron.job[index]] === undefined
                    ? (nbPending += 1)
                    : tarteaucitron.state[tarteaucitron.job[index]] === !0 && (nbAllowed += 1);
            tarteaucitron.userInterface.css(c + "DotGreen", "width", (100 / sum) * nbAllowed + "%"),
                tarteaucitron.userInterface.css(c + "DotYellow", "width", (100 / sum) * nbPending + "%"),
                tarteaucitron.userInterface.css(c + "DotRed", "width", (100 / sum) * nbDenied + "%"),
                nbDenied === 0 && nbPending === 0
                    ? (tarteaucitron.userInterface.css(c + "AllAllowed", "backgroundColor", greenDark),
                      tarteaucitron.userInterface.css(c + "AllDenied", "backgroundColor", gray),
                      cookiestyle == "style1" && (document.body.style.paddingBottom = "0px"))
                    : nbAllowed === 1 && nbPending === 0
                    ? (tarteaucitron.userInterface.css(c + "AllAllowed", "backgroundColor", gray), tarteaucitron.userInterface.css(c + "AllDenied", "backgroundColor", redDark))
                    : (tarteaucitron.userInterface.css(c + "AllAllowed", "backgroundColor", gray), tarteaucitron.userInterface.css(c + "AllDenied", "backgroundColor", gray)),
                nbPending === 0 && (trigger === undefined ? tarteaucitron.userInterface.closeAlert() : tarteaucitron.userInterface.closeAlertTrigger()),
                tarteaucitron.services[key] && tarteaucitron.services[key].cookies.length > 0 && status === !1 && tarteaucitron.cookie.purge(tarteaucitron.services[key].cookies);
        },
        openPanel: function () {
            "use strict";
            var time = animation_time;
            jQuery("#tarteaucitron").fadeIn(time), jQuery("#tarteaucitronBack").fadeIn(time), jQuery("#tarteaucitronCookiesListContainer").fadeOut(time), tarteaucitron.userInterface.jsSizing("main");
        },
        closeNotice: function () {
            "use strict";
            var time = animation_time;
            return jQuery("#tarteaucitronAlertBig").fadeOut(time), !1;
        },
        redirectonreject: function () {
            "use strict";
            alert(ablehnentext), window.location.replace("http://" + ablehnenurl);
        },
        closePanel: function () {
            "use strict";
            document.location.hash === tarteaucitron.hashtag && (document.location.hash = "");
            var time = animation_time;
            jQuery("#tarteaucitron").fadeOut(time),
                jQuery("#tarteaucitronCookiesListContainer").fadeOut(time),
                tarteaucitron.fallback(
                    ["tarteaucitronInfoBox"],
                    function (elem) {
                        jQuery("#tarteaucitronInfoBox").fadeOut(time);
                    },
                    !0
                ),
                tarteaucitron.reloadThePage === !0 ? window.location.reload() : jQuery("#tarteaucitronBack").fadeOut(time);
        },
        openAlert: function () {
            "use strict";
            var time = animation_time;
            var c = "tarteaucitron";
            jQuery("#tarteaucitron" + "Percentage").fadeIn(time),
                jQuery("#tarteaucitron" + "AlertSmall").fadeOut(time),
                jQuery("#tarteaucitron" + "AlertBig").fadeIn(time),
                tarteaucitron.userInterface.css(c + "Percentage", "display", "block"),
                tarteaucitron.userInterface.css(c + "AlertSmall", "display", "none"),
                tarteaucitron.userInterface.css(c + "AlertBig", "display", "block");
        },
        closeAlert: function () {
            "use strict";
            function objectLength(obj) {
                var result = 0;
                for (var prop in obj) obj.hasOwnProperty(prop) && result++;
                return result;
            }
            var time = animation_time;
            var c = "tarteaucitron";
            objectLength(tarteaucitron.cookie.read().split("!")) == 2
                ? (tarteaucitron.userInterface.hideClass(".tarteaucitronCloseBtn", "display", "none"),
                  localStorage.getItem("dsgvoaio_respondall") == "true"
                      ? (tarteaucitron.userInterface.css(c + "Percentage", "display", "none"), tarteaucitron.userInterface.css(c + "AlertSmall", "display", "block"), tarteaucitron.userInterface.css(c + "AlertBig", "display", "none"))
                      : (tarteaucitron.userInterface.css(c + "Percentage", "display", "block"), tarteaucitron.userInterface.css(c + "AlertSmall", "display", "none"), tarteaucitron.userInterface.css(c + "AlertBig", "display", "block")))
                : (tarteaucitron.userInterface.css(c + "Percentage", "display", "none"), tarteaucitron.userInterface.css(c + "AlertSmall", "display", "block"), tarteaucitron.userInterface.css(c + "AlertBig", "display", "none")),
                tarteaucitron.userInterface.jsSizing("box");
        },
        closeAlertTrigger: function () {
            "use strict";
            var time = animation_time;
            var c = "tarteaucitron";
            jQuery("#tarteaucitron" + "Percentage").fadeOut(time), jQuery("#tarteaucitron" + "AlertSmall").fadeIn(time), jQuery("#tarteaucitron" + "AlertBig").fadeOut(time), tarteaucitron.userInterface.jsSizing("box");
        },
        toggleCookiesList: function () {
            "use strict";
            var time = animation_time;
            var div = document.getElementById("tarteaucitronCookiesListContainer");
            if (div === null) return;
            div.style.display !== "block"
                ? (tarteaucitron.cookie.number(),
                  jQuery("#tarteaucitronCookiesListContainer").fadeIn(time),
                  tarteaucitron.userInterface.jsSizing("cookie"),
                  jQuery("#tarteaucitron").fadeOut(time),
                  jQuery("#tarteaucitronBack").fadeIn(time),
                  tarteaucitron.fallback(
                      ["tarteaucitronInfoBox"],
                      function (elem) {
                          elem.style.display = "none";
                      },
                      !0
                  ))
                : (jQuery("#tarteaucitronCookiesListContainer").fadeOut(time), jQuery("#tarteaucitron").fadeOut(time), jQuery("#tarteaucitronBack").fadeOut(time), (elem.style.display = "none"));
        },
        toggle: function (id, closeClass) {
            "use strict";
            var div = document.getElementById(id);
            if (div === null) return;
            closeClass !== undefined &&
                tarteaucitron.fallback(
                    [closeClass],
                    function (elem) {
                        elem.id !== id && (elem.style.display = "none");
                    },
                    !0
                );
            var time = animation_time;
            div.style.display !== "block" ? jQuery("#" + id).fadeIn(time) : jQuery("#" + id).fadeOut(time);
        },
        order: function (id) {
            "use strict";
            var main = document.getElementById("tarteaucitronServices_" + id),
                allDivs,
                store = [],
                i;
            if (main === null) return;
            (allDivs = main.childNodes),
                typeof Array.prototype.map === "function" &&
                    Array.prototype.map
                        .call(main.children, Object)
                        .sort(function (a, b) {
                            return tarteaucitron.services[a.id.replace(/Line/g, "")].name > tarteaucitron.services[b.id.replace(/Line/g, "")].name
                                ? 1
                                : tarteaucitron.services[a.id.replace(/Line/g, "")].name < tarteaucitron.services[b.id.replace(/Line/g, "")].name
                                ? -1
                                : 0;
                        })
                        .forEach(function (element) {
                            main.appendChild(element);
                        });
        },
        jsSizing: function (type) {
            "use strict";
            var scrollbarMarginRight = 10,
                scrollbarWidthParent,
                scrollbarWidthChild,
                servicesHeight,
                e = window,
                a = "inner",
                windowInnerHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight,
                mainTop,
                mainHeight,
                closeButtonHeight,
                headerHeight,
                cookiesListHeight,
                cookiesCloseHeight,
                cookiesTitleHeight,
                paddingBox,
                alertSmallHeight,
                cookiesNumberHeight;
            type === "box"
                ? document.getElementById("tarteaucitronAlertSmall") !== null &&
                  document.getElementById("tarteaucitronCookiesNumber") !== null &&
                  (tarteaucitron.userInterface.css("tarteaucitronCookiesNumber", "padding", "0px 10px"),
                  (alertSmallHeight = document.getElementById("tarteaucitronAlertSmall").offsetHeight),
                  (cookiesNumberHeight = document.getElementById("tarteaucitronCookiesNumber").offsetHeight),
                  (paddingBox = (alertSmallHeight - cookiesNumberHeight) / 2),
                  tarteaucitron.userInterface.css("tarteaucitronCookiesNumber", "padding", paddingBox + "px 10px"))
                : type === "main"
                ? (window.innerWidth === undefined && ((a = "client"), (e = document.documentElement || document.body)),
                  document.getElementById("tarteaucitron") !== null &&
                      document.getElementById("tarteaucitronClosePanel") !== null &&
                      document.getElementById("tarteaucitronMainLineOffset") !== null &&
                      (tarteaucitron.userInterface.css("tarteaucitronScrollbarParent", "height", "auto"),
                      (mainHeight = document.getElementById("tarteaucitron").offsetHeight),
                      (closeButtonHeight = document.getElementById("tarteaucitronClosePanel").offsetHeight),
                      (headerHeight = document.getElementById("tarteaucitronMainLineOffset").offsetHeight),
                      (servicesHeight = mainHeight - closeButtonHeight - headerHeight + 1),
                      tarteaucitron.userInterface.css("tarteaucitronScrollbarParent", "height", servicesHeight + "px"),
                      jQuery(".dsgvoaio_popup_policyinner").height(servicesHeight)),
                  document.getElementById("tarteaucitronScrollbarParent") !== null &&
                      document.getElementById("tarteaucitronScrollbarChild") !== null &&
                      (e[a + "Width"] <= 479 ? tarteaucitron.userInterface.css("tarteaucitronScrollbarAdjust", "marginLeft", "11px") : e[a + "Width"] <= 767 && (scrollbarMarginRight = 12),
                      (scrollbarWidthParent = document.getElementById("tarteaucitronScrollbarParent").offsetWidth),
                      (scrollbarWidthChild = document.getElementById("tarteaucitronScrollbarChild").offsetWidth),
                      tarteaucitron.userInterface.css("tarteaucitronScrollbarAdjust", "marginRight", scrollbarWidthParent - scrollbarWidthChild + scrollbarMarginRight + "px")),
                  document.getElementById("tarteaucitron") !== null &&
                      (e[a + "Width"] <= 767 ? (mainTop = 0) : (mainTop = (windowInnerHeight - document.getElementById("tarteaucitron").offsetHeight) / 2 - 21),
                      mainTop < 0 && (mainTop = 0),
                      document.getElementById("tarteaucitronMainLineOffset") !== null &&
                          document.getElementById("tarteaucitron").offsetHeight < windowInnerHeight / 2 &&
                          (mainTop -= document.getElementById("tarteaucitronMainLineOffset").offsetHeight),
                      tarteaucitron.userInterface.css("tarteaucitron", "top", mainTop + "px")))
                : type === "cookie" &&
                  (document.getElementById("tarteaucitronAlertSmall") !== null && tarteaucitron.userInterface.css("tarteaucitronCookiesListContainer", "bottom", document.getElementById("tarteaucitronAlertSmall").offsetHeight + "px"),
                  document.getElementById("tarteaucitronCookiesListContainer") !== null &&
                      (tarteaucitron.userInterface.css("tarteaucitronCookiesList", "height", "auto"),
                      (cookiesListHeight = document.getElementById("tarteaucitronCookiesListContainer").offsetHeight),
                      (cookiesCloseHeight = document.getElementById("tarteaucitronClosePanelCookie").offsetHeight),
                      (cookiesTitleHeight = document.getElementById("tarteaucitronCookiesTitle").offsetHeight),
                      tarteaucitron.userInterface.css("tarteaucitronCookiesList", "height", cookiesListHeight - cookiesCloseHeight - cookiesTitleHeight - 2 + "px")));
        },
    },
    cookie: {
        owner: {},
        create: function (key, status) {
            "use strict";
            tarteaucitronForceExpire !== "" && (timeExipre = tarteaucitronForceExpire > 365 ? 31536000000 : tarteaucitronForceExpire * 86400000);
            var d = new Date(),
                time = d.getTime(),
                expireTime = time + timeExipre,
                regex = new RegExp("!" + key + "=(wait|true|false)", "g"),
                cookie = tarteaucitron.cookie.read().replace(regex, ""),
                value = tarteaucitron.parameters.cookieName + "=" + cookie + "!" + key + "=" + status,
                domain = tarteaucitron.parameters.cookieDomain !== undefined && tarteaucitron.parameters.cookieDomain !== "" ? "domain=" + tarteaucitron.parameters.cookieDomain + ";" : "";
            tarteaucitron.cookie.read().indexOf(key + "=" + status) === -1 && tarteaucitron.pro("!" + key + "=" + status),
                localStorage.getItem("dsgvoaio_respondall") == "true"
                    ? typeof Storage !== "undefined"
                        ? (localStorage.setItem("dsgvoaio", value), (document.cookie = "dsgvoaio=" + value + "; expires=Fri, 19 Jun 2040 20:47:11 UTC; path=/"))
                        : console.log("Web Storage cannot be loaded...")
                    : typeof Storage !== "undefined"
                    ? (localStorage.setItem("dsgvoaio", value), (document.cookie = "dsgvoaio=" + value + "; expires=Fri, 19 Jun 2040 20:47:11 UTC; path=/"))
                    : console.log("Web Storage cannot be loaded..."),
                d.setTime(expireTime);
        },
        read: function () {
            "use strict";
            var nameEQ = tarteaucitron.parameters.cookieName + "=",
                ca = document.cookie.split(";"),
                i,
                c;
            return (
                localStorage.getItem("dsgvoaio_respondall") == "true" ? (c = localStorage.getItem("dsgvoaio")) : (c = localStorage.getItem("dsgvoaio")),
                (c = localStorage.getItem("dsgvoaio")),
                c ? ((c = c), c.substring(nameEQ.length, c.length)) : ""
            );
        },
        purge: function (arr) {
            "use strict";
            var i;
            for (i = 0; i < arr.length; i += 1)
                (document.cookie = arr[i] + "=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/;"),
                    (document.cookie = arr[i] + "=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/; domain=." + location.hostname + ";"),
                    (document.cookie = arr[i] + "=; expires=Thu, 01 Jan 2000 00:00:00 GMT; path=/; domain=." + location.hostname.split(".").slice(-2).join(".") + ";");
        },
        checkCount: function (key) {
            "use strict";
            var arr = tarteaucitron.services[key].cookies,
                nb = arr.length,
                nbCurrent = 0,
                html = "",
                i,
                status = localStorage.getItem("dsgvoaio").indexOf(key + "=true");
            var state = localStorage.getItem("dsgvoaio");
            if ((state.indexOf(key + "=true") >= 0 ? (status = 1) : (status = -1), status >= 0 && nb === 0)) html += nocookietext;
            else if (status >= 0) {
                for (i = 0; i < nb; i += 1)
                    document.cookie.indexOf(arr[i] + "=") !== -1 &&
                        ((nbCurrent += 1),
                        tarteaucitron.cookie.owner[arr[i]] === undefined && (tarteaucitron.cookie.owner[arr[i]] = []),
                        tarteaucitron.cookie.crossIndexOf(tarteaucitron.cookie.owner[arr[i]], tarteaucitron.services[key].name) === !1 && tarteaucitron.cookie.owner[arr[i]].push(tarteaucitron.services[key].name));
                nbCurrent > 0 ? ((html += savedcookies + " " + nbCurrent), nbCurrent > 1) : (html += nocookietext);
            } else nb === 0 ? (html = tarteaucitron.lang.noCookie) : ((html += cansetcookiestext + " " + nb), nb > 1);
            document.getElementById("tacCL" + key).innerHTML =
                '<a href="javascript:void(0)" onclick="tarteaucitron.userInterface.dsgvoaio_open_details(\'' +
                key +
                "');\">" +
                showpolicyname +
                '<span class="dsgvoaioinfoicon"><span class="dashicons dashicons-visibility"></span></span></a>';
        },
        crossIndexOf: function (arr, match) {
            "use strict";
            var i;
            for (i = 0; i < arr.length; i += 1) if (arr[i] === match) return !0;
            return !1;
        },
        number: function () {
            "use strict";
            var cookies = document.cookie.split(";"),
                nb = document.cookie !== "" ? cookies.length : 0,
                html = "",
                i,
                name,
                namea,
                nameb,
                c,
                d,
                s = nb > 1 ? "s" : "",
                savedname,
                regex = /^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i,
                regexedDomain = tarteaucitron.cdn.match(regex) !== null ? tarteaucitron.cdn.match(regex)[1] : tarteaucitron.cdn,
                host = tarteaucitron.domain !== undefined ? tarteaucitron.domain : regexedDomain;
            if (
                ((cookies = cookies.sort(function (a, b) {
                    return (
                        (namea = a.split("=", 1).toString().replace(/ /g, "")),
                        (nameb = b.split("=", 1).toString().replace(/ /g, "")),
                        (c = tarteaucitron.cookie.owner[namea] !== undefined ? tarteaucitron.cookie.owner[namea] : "0"),
                        (d = tarteaucitron.cookie.owner[nameb] !== undefined ? tarteaucitron.cookie.owner[nameb] : "0"),
                        c + a > d + b ? 1 : c + a < d + b ? -1 : 0
                    );
                })),
                document.cookie !== "")
            )
                for (i = 0; i < nb; i += 1)
                    (name = cookies[i].split("=", 1).toString().replace(/ /g, "")),
                        tarteaucitron.cookie.owner[name] !== undefined && tarteaucitron.cookie.owner[name].join(" // ") !== savedname
                            ? ((savedname = tarteaucitron.cookie.owner[name].join(" // ")),
                              (html += '<div class="tarteaucitronHidden">'),
                              (html += '     <div class="tarteaucitronTitle">'),
                              (html += "        " + tarteaucitron.cookie.owner[name].join(" // ")),
                              (html += "    </div>"),
                              (html += "</div>"))
                            : tarteaucitron.cookie.owner[name] === undefined &&
                              host !== savedname &&
                              ((savedname = host), (html += '<div class="tarteaucitronHidden">'), (html += '     <div class="tarteaucitronTitle">'), (html += "        " + host), (html += "    </div>"), (html += "</div>")),
                        (html += '<div class="tarteaucitronCookiesListMain">'),
                        (html +=
                            '    <div class="tarteaucitronCookiesListLeft"><a href="#" onclick="tarteaucitron.cookie.purge([\'' +
                            cookies[i].split("=", 1) +
                            "']);tarteaucitron.cookie.number();tarteaucitron.userInterface.jsSizing('cookie');return false\"><b>&times;</b></a> <b>" +
                            name +
                            "</b>"),
                        (html += "    </div>"),
                        (html += '    <div class="tarteaucitronCookiesListRight">' + cookies[i].split("=").slice(1).join("=") + "</div>"),
                        (html += "</div>");
            else (html += '<div class="tarteaucitronCookiesListMain">'), (html += '    <div class="tarteaucitronCookiesListLeft"><b>-</b></div>'), (html += '    <div class="tarteaucitronCookiesListRight"></div>'), (html += "</div>");
            for (
                html += '<div class="tarteaucitronHidden" style="height:20px;display:block"></div>',
                    document.getElementById("tarteaucitronCookiesList") !== null && (document.getElementById("tarteaucitronCookiesList").innerHTML = html),
                    document.getElementById("tarteaucitronCookiesNumber") !== null && (document.getElementById("tarteaucitronCookiesNumber").innerHTML = nb),
                    document.getElementById("tarteaucitronCookiesNumberBis") !== null && (document.getElementById("tarteaucitronCookiesNumberBis").innerHTML = nb + " cookie" + s),
                    i = 0;
                i < tarteaucitron.job.length;
                i += 1
            )
                tarteaucitron.cookie.checkCount(tarteaucitron.job[i]);
        },
    },
    getLanguage: function () {
        "use strict";
        if (!navigator) return "en";
        var availableLanguages = "cs,en,fr,es,it,de,nl,pt,pl,ru",
            defaultLanguage = "en",
            lang = navigator.language || navigator.browserLanguage || navigator.systemLanguage || navigator.userLang || null,
            userLanguage = lang.substr(0, 2);
        return tarteaucitronForceLanguage !== "" && availableLanguages.indexOf(tarteaucitronForceLanguage) !== -1 ? tarteaucitronForceLanguage : availableLanguages.indexOf(userLanguage) === -1 ? defaultLanguage : userLanguage;
    },
    getLocale: function () {
        "use strict";
        if (!navigator) return "en_US";
        var lang = navigator.language || navigator.browserLanguage || navigator.systemLanguage || navigator.userLang || null,
            userLanguage = lang.substr(0, 2);
        return userLanguage === "fr"
            ? "fr_FR"
            : userLanguage === "en"
            ? "en_US"
            : userLanguage === "de"
            ? "de_DE"
            : userLanguage === "es"
            ? "es_ES"
            : userLanguage === "it"
            ? "it_IT"
            : userLanguage === "pt"
            ? "pt_PT"
            : userLanguage === "nl"
            ? "nl_NL"
            : "en_US";
    },
    addScript: function (url, id, callback, execute, attrName, attrVal) {
        "use strict";
        var script,
            done = !1;
        execute === !1
            ? typeof callback === "function" && callback()
            : ((script = document.createElement("script")),
              (script.type = "text/javascript"),
              (script.id = id !== undefined ? id : ""),
              (script.async = !0),
              (script.src = url),
              attrName !== undefined && attrVal !== undefined && script.setAttribute(attrName, attrVal),
              typeof callback === "function" &&
                  (script.onreadystatechange = script.onload = function () {
                      var state = script.readyState;
                      !done && (!state || /loaded|complete/.test(state)) && ((done = !0), callback());
                  }),
              document.getElementsByTagName("head")[0].appendChild(script));
    },
    makeAsync: {
        antiGhost: 0,
        buffer: "",
        init: function (url, id) {
            "use strict";
            var savedWrite = document.write,
                savedWriteln = document.writeln;
            (document.write = function (content) {
                tarteaucitron.makeAsync.buffer += content;
            }),
                (document.writeln = function (content) {
                    tarteaucitron.makeAsync.buffer += content.concat("\n");
                }),
                setTimeout(function () {
                    (document.write = savedWrite), (document.writeln = savedWriteln);
                }, 20000),
                tarteaucitron.makeAsync.getAndParse(url, id);
        },
        getAndParse: function (url, id) {
            "use strict";
            if (tarteaucitron.makeAsync.antiGhost > 9) {
                tarteaucitron.makeAsync.antiGhost = 0;
                return;
            }
            (tarteaucitron.makeAsync.antiGhost += 1),
                tarteaucitron.addScript(url, "", function () {
                    document.getElementById(id) !== null &&
                        ((document.getElementById(id).innerHTML += "<span style='display:none'>&nbsp;</span>" + tarteaucitron.makeAsync.buffer), (tarteaucitron.makeAsync.buffer = ""), tarteaucitron.makeAsync.execJS(id));
                });
        },
        execJS: function (id) {
            var i, scripts, childId, type;
            if (document.getElementById(id) === null) return;
            for (scripts = document.getElementById(id).getElementsByTagName("script"), i = 0; i < scripts.length; i += 1)
                (type = scripts[i].getAttribute("type") !== null ? scripts[i].getAttribute("type") : ""),
                    type === "" && (type = scripts[i].getAttribute("language") !== null ? scripts[i].getAttribute("language") : ""),
                    scripts[i].getAttribute("src") !== null && scripts[i].getAttribute("src") !== ""
                        ? ((childId = id + Math.floor(Math.random() * 99999999999)),
                          (document.getElementById(id).innerHTML += '<div id="' + childId + '"></div>'),
                          tarteaucitron.makeAsync.getAndParse(scripts[i].getAttribute("src"), childId))
                        : (type.indexOf("javascript") !== -1 || type === "") && eval(scripts[i].innerHTML);
        },
    },
    fallback: function (matchClass, content, noInner) {
        "use strict";
        var elems = document.getElementsByTagName("*"),
            i,
            index = 0;
        for (i in elems)
            if (elems[i] !== undefined)
                for (index = 0; index < matchClass.length; index += 1)
                    (" " + elems[i].className + " ").indexOf(" " + matchClass[index] + " ") > -1 &&
                        (typeof content === "function" ? (noInner === !0 ? content(elems[i]) : (elems[i].innerHTML = content(elems[i]))) : (elems[i].innerHTML = content));
    },
    engage: function (id) {
        "use strict";
        var currid = id + "_spt";
        var keys = Object.keys(obj);
        var policytext = "";
        for (let i = 0; i < keys.length; i++) {
            var key = keys[i];
            key == currid && (policytext = obj[key]);
        }
        var html = "",
            r = Math.floor(Math.random() * 100000);
        return show_layertext == "on"
            ? ((html += '<div class="tac_activate">'),
              (html += '   <div class="tac_float">'),
              (html += '   <div class="tac_service_msg">'),
              (html += policytext),
              (html += "   </div>"),
              (html += "      <b>" + tarteaucitron.services[id].name + "</b> " + deactivatedtext),
              (html += '      <div class="tarteaucitronAllow" id="Eng' + r + "ed" + id + '" onclick="tarteaucitron.userInterface.respond(this, true);">'),
              (html += "          &#10003; " + accepttext),
              (html += "       </div>"),
              (html += '      <div class="tarteaucitronPolicy" id="ZeEng' + r + "ed" + id + '" onclick="tarteaucitron.userInterface.showPolicy(this, true);">'),
              (html += policytextbtn),
              (html += "       </div>"),
              (html += "   </div>"),
              (html += "</div>"),
              html)
            : ((html += '<div class="tac_activate">'),
              (html += '   <div class="tac_float">'),
              (html += "      <b>" + tarteaucitron.services[id].name + "</b> " + deactivatedtext),
              (html += '      <div class="tarteaucitronAllow" id="Eng' + r + "ed" + id + '" onclick="tarteaucitron.userInterface.respond(this, true);">'),
              (html += "          &#10003; " + accepttext),
              (html += "       </div>"),
              (html += '      <div class="tarteaucitronPolicy" id="ZeEng' + r + "ed" + id + '" onclick="tarteaucitron.userInterface.showPolicy(this, true);">'),
              (html += policytextbtn),
              (html += "       </div>"),
              (html += "   </div>"),
              (html += "</div>"),
              html);
    },
    extend: function (a, b) {
        "use strict";
        var prop;
        for (prop in b) b.hasOwnProperty(prop) && (a[prop] = b[prop]);
    },
    proTemp: "",
    proTimer: function () {
        "use strict";
        setTimeout(tarteaucitron.proPing, 1000);
    },
    pro: function (list) {
        "use strict";
        (tarteaucitron.proTemp += list), clearTimeout(tarteaucitron.proTimer), (tarteaucitron.proTimer = setTimeout(tarteaucitron.proPing, 2500));
    },
    proPing: function () {
        "use strict";
        if (tarteaucitron.uuid !== "" && tarteaucitron.uuid !== undefined && tarteaucitron.proTemp !== "") {
            var div = document.getElementById("tarteaucitronPremium"),
                timestamp = new Date().getTime(),
                url = "//mlfactory.de/premium.php?";
            if (div === null) return;
            (url += "domain=" + tarteaucitron.domain + "&"),
                (url += "uuid=" + tarteaucitron.uuid + "&"),
                (url += "c=" + encodeURIComponent(tarteaucitron.proTemp) + "&"),
                (url += "_" + timestamp),
                (div.innerHTML = '<img src="' + url + '" style="display:none" />'),
                (tarteaucitron.proTemp = "");
        }
        tarteaucitron.cookie.number();
    },
    AddOrUpdate: function (source, custom) {
        for (key in custom) custom[key] instanceof Object ? (source[key] = tarteaucitron.AddOrUpdate(source[key], custom[key])) : (source[key] = custom[key]);
        return source;
    },
};
// source --> https://howryou.de/wp-content/plugins/dsgvo-all-in-one-for-wp-pro/assets/js/postscribe.min.js?ver=6.9.4 
/**
 * @file postscribe
 * @description Asynchronously write javascript, even with document.write.
 * @version v2.0.8
 * @see {@link https://krux.github.io/postscribe}
 * @license MIT
 * @author Derek Brans
 * @copyright 2016 Krux Digital, Inc
 */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["postscribe"]=e():t["postscribe"]=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={"exports":{},"id":n,"loaded":!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}var o=r(1),i=n(o);t.exports=i["default"]},function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function o(t){return t&&t.__esModule?t:{"default":t}}function i(){}function a(){var t=m.shift();if(t){var e=h.last(t);e.afterDequeue(),t.stream=s.apply(void 0,t),e.afterStreamStart()}}function s(t,e,r){function n(t){t=r.beforeWrite(t),g.write(t),r.afterWrite(t)}g=new p["default"](t,r),g.id=y++,g.name=r.name||g.id,u.streams[g.name]=g;var o=t.ownerDocument,s={"close":o.close,"open":o.open,"write":o.write,"writeln":o.writeln};c(o,{"close":i,"open":i,"write":function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return n(e.join(""))},"writeln":function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return n(e.join("")+"\n")}});var l=g.win.onerror||i;return g.win.onerror=function(t,e,n){r.error({"msg":t+" - "+e+": "+n}),l.apply(g.win,[t,e,n])},g.write(e,function(){c(o,s),g.win.onerror=l,r.done(),g=null,a()}),g}function u(t,e,r){if(h.isFunction(r))r={"done":r};else if("clear"===r)return m=[],g=null,void(y=0);r=h.defaults(r,d),t=/^#/.test(t)?window.document.getElementById(t.substr(1)):t.jquery?t[0]:t;var n=[t,e,r];return t.postscribe={"cancel":function(){n.stream?n.stream.abort():n[1]=i}},r.beforeEnqueue(n),m.push(n),g||a(),t.postscribe}e.__esModule=!0;var c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e["default"]=u;var l=r(2),p=o(l),f=r(4),h=n(f),d={"afterAsync":i,"afterDequeue":i,"afterStreamStart":i,"afterWrite":i,"autoFix":!0,"beforeEnqueue":i,"beforeWriteToken":function(t){return t},"beforeWrite":function(t){return t},"done":i,"error":function(t){throw new Error(t.msg)},"releaseAsync":!1},y=0,m=[],g=null;c(u,{"streams":{},"queue":m,"WriteStream":p["default"]})},function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){var r=d+e,n=t.getAttribute(r);return f.existy(n)?String(n):n}function s(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=d+e;f.existy(r)&&""!==r?t.setAttribute(n,r):t.removeAttribute(n)}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},c=r(3),l=o(c),p=r(4),f=n(p),h=!1,d="data-ps-",y="ps-style",m="ps-script",g=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t),this.root=e,this.options=r,this.doc=e.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new l["default"]("",{"autoFix":r.autoFix}),this.actuals=[e],this.proxyHistory="",this.proxyRoot=this.doc.createElement(e.nodeName),this.scriptStack=[],this.writeQueue=[],s(this.proxyRoot,"proxyof",0)}return t.prototype.write=function(){var t;for((t=this.writeQueue).push.apply(t,arguments);!this.deferredRemote&&this.writeQueue.length;){var e=this.writeQueue.shift();f.isFunction(e)?this._callFunction(e):this._writeImpl(e)}},t.prototype._callFunction=function(t){var e={"type":"function","value":t.name||t.toString()};this._onScriptStart(e),t.call(this.win,this.doc),this._onScriptDone(e)},t.prototype._writeImpl=function(t){this.parser.append(t);for(var e=void 0,r=void 0,n=void 0,o=[];(e=this.parser.readToken())&&!(r=f.isScript(e))&&!(n=f.isStyle(e));)e=this.options.beforeWriteToken(e),e&&o.push(e);o.length>0&&this._writeStaticTokens(o),r&&this._handleScriptToken(e),n&&this._handleStyleToken(e)},t.prototype._writeStaticTokens=function(t){var e=this._buildChunk(t);return e.actual?(e.html=this.proxyHistory+e.actual,this.proxyHistory+=e.proxy,this.proxyRoot.innerHTML=e.html,h&&(e.proxyInnerHTML=this.proxyRoot.innerHTML),this._walkChunk(),h&&(e.actualInnerHTML=this.root.innerHTML),e):null},t.prototype._buildChunk=function(t){for(var e=this.actuals.length,r=[],n=[],o=[],i=t.length,a=0;a<i;a++){var s=t[a],u=s.toString();if(r.push(u),s.attrs){if(!/^noscript$/i.test(s.tagName)){var c=e++;n.push(u.replace(/(\/?>)/," "+d+"id="+c+" $1")),s.attrs.id!==m&&s.attrs.id!==y&&o.push("atomicTag"===s.type?"":"<"+s.tagName+" "+d+"proxyof="+c+(s.unary?" />":">"))}}else n.push(u),o.push("endTag"===s.type?u:"")}return{"tokens":t,"raw":r.join(""),"actual":n.join(""),"proxy":o.join("")}},t.prototype._walkChunk=function(){for(var t=void 0,e=[this.proxyRoot];f.existy(t=e.shift());){var r=1===t.nodeType,n=r&&a(t,"proxyof");if(!n){r&&(this.actuals[a(t,"id")]=t,s(t,"id"));var o=t.parentNode&&a(t.parentNode,"proxyof");o&&this.actuals[o].appendChild(t)}e.unshift.apply(e,f.toArray(t.childNodes))}},t.prototype._handleScriptToken=function(t){var e=this,r=this.parser.clear();r&&this.writeQueue.unshift(r),t.src=t.attrs.src||t.attrs.SRC,t=this.options.beforeWriteToken(t),t&&(t.src&&this.scriptStack.length?this.deferredRemote=t:this._onScriptStart(t),this._writeScriptToken(t,function(){e._onScriptDone(t)}))},t.prototype._handleStyleToken=function(t){var e=this.parser.clear();e&&this.writeQueue.unshift(e),t.type=t.attrs.type||t.attrs.TYPE||"text/css",t=this.options.beforeWriteToken(t),t&&this._writeStyleToken(t),e&&this.write()},t.prototype._writeStyleToken=function(t){var e=this._buildStyle(t);this._insertCursor(e,y),t.content&&(e.styleSheet&&!e.sheet?e.styleSheet.cssText=t.content:e.appendChild(this.doc.createTextNode(t.content)))},t.prototype._buildStyle=function(t){var e=this.doc.createElement(t.tagName);return e.setAttribute("type",t.type),f.eachKey(t.attrs,function(t,r){e.setAttribute(t,r)}),e},t.prototype._insertCursor=function(t,e){this._writeImpl('<span id="'+e+'"/>');var r=this.doc.getElementById(e);r&&r.parentNode.replaceChild(t,r)},t.prototype._onScriptStart=function(t){t.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(t)},t.prototype._onScriptDone=function(t){return t!==this.scriptStack[0]?void this.options.error({"msg":"Bad script nesting or script finished twice"}):(this.scriptStack.shift(),this.write.apply(this,t.outerWrites),void(!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)))},t.prototype._writeScriptToken=function(t,e){var r=this._buildScript(t),n=this._shouldRelease(r),o=this.options.afterAsync;t.src&&(r.src=t.src,this._scriptLoadHandler(r,n?o:function(){e(),o()}));try{this._insertCursor(r,m),r.src&&!n||e()}catch(t){this.options.error(t),e()}},t.prototype._buildScript=function(t){var e=this.doc.createElement(t.tagName);return f.eachKey(t.attrs,function(t,r){e.setAttribute(t,r)}),t.content&&(e.text=t.content),e},t.prototype._scriptLoadHandler=function(t,e){function r(){t=t.onload=t.onreadystatechange=t.onerror=null}function n(){r(),null!=e&&e(),e=null}function o(t){r(),a(t),null!=e&&e(),e=null}function i(t,e){var r=t["on"+e];null!=r&&(t["_on"+e]=r)}var a=this.options.error;i(t,"load"),i(t,"error"),u(t,{"onload":function(){if(t._onload)try{t._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){o({"msg":"onload handler failed "+e+" @ "+t.src})}n()},"onerror":function(){if(t._onerror)try{t._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){return void o({"msg":"onerror handler failed "+e+" @ "+t.src})}o({"msg":"remote script failed "+t.src})},"onreadystatechange":function(){/^(loaded|complete)$/.test(t.readyState)&&n()}})},t.prototype._shouldRelease=function(t){var e=/^script$/i.test(t.nodeName);return!e||!!(this.options.releaseAsync&&t.src&&t.hasAttribute("async"))},t}();e["default"]=g},function(t,e,r){!function(e,r){t.exports=r()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={"exports":{},"id":n,"loaded":!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}var o=r(1),i=n(o);t.exports=i["default"]},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var a=r(2),s=o(a),u=r(3),c=o(u),l=r(6),p=n(l),f=r(5),h={"comment":/^<!--/,"endTag":/^<\//,"atomicTag":/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,"startTag":/^</,"chars":/^[^<]/},d=function(){function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t),this.stream=r;var o=!1,a={};for(var u in s)s.hasOwnProperty(u)&&(n.autoFix&&(a[u+"Fix"]=!0),o=o||a[u+"Fix"]);o?(this._readToken=(0,p["default"])(this,a,function(){return e._readTokenImpl()}),this._peekToken=(0,p["default"])(this,a,function(){return e._peekTokenImpl()})):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return t.prototype.append=function(t){this.stream+=t},t.prototype.prepend=function(t){this.stream=t+this.stream},t.prototype._readTokenImpl=function(){var t=this._peekTokenImpl();if(t)return this.stream=this.stream.slice(t.length),t},t.prototype._peekTokenImpl=function(){for(var t in h)if(h.hasOwnProperty(t)&&h[t].test(this.stream)){var e=c[t](this.stream);if(e)return"startTag"===e.type&&/script|style/i.test(e.tagName)?null:(e.text=this.stream.substr(0,e.length),e)}},t.prototype.peekToken=function(){return this._peekToken()},t.prototype.readToken=function(){return this._readToken()},t.prototype.readTokens=function(t){for(var e=void 0;e=this.readToken();)if(t[e.type]&&t[e.type](e)===!1)return},t.prototype.clear=function(){var t=this.stream;return this.stream="",t},t.prototype.rest=function(){return this.stream},t}();e["default"]=d,d.tokenToString=function(t){return t.toString()},d.escapeAttributes=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]=(0,f.escapeQuotes)(t[r],null));return e},d.supports=s;for(var y in s)s.hasOwnProperty(y)&&(d.browserHasFlaw=d.browserHasFlaw||!s[y]&&y)},function(t,e){"use strict";e.__esModule=!0;var r=!1,n=!1,o=window.document.createElement("div");try{var i="<P><I></P></I>";o.innerHTML=i,e.tagSoup=r=o.innerHTML!==i}catch(t){e.tagSoup=r=!1}try{o.innerHTML="<P><i><P></P></i></P>",e.selfClose=n=2===o.childNodes.length}catch(t){e.selfClose=n=!1}o=null,e.tagSoup=r,e.selfClose=n},function(t,e,r){"use strict";function n(t){var e=t.indexOf("-->");if(e>=0)return new c.CommentToken(t.substr(4,e-1),e+3)}function o(t){var e=t.indexOf("<");return new c.CharsToken(e>=0?e:t.length)}function i(t){var e=t.indexOf(">");if(e!==-1){var r=t.match(l.startTag);if(r){var n=function(){var t={},e={},n=r[2];return r[2].replace(l.attr,function(r,o){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(t[arguments[5]]="",e[arguments[5]]=!0):t[o]=arguments[2]||arguments[3]||arguments[4]||l.fillAttr.test(o)&&o||"":t[o]="",n=n.replace(r,"")}),{"v":new c.StartTagToken(r[1],r[0].length,t,e,(!!r[3]),n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))}}();if("object"===("undefined"==typeof n?"undefined":u(n)))return n.v}}}function a(t){var e=i(t);if(e){var r=t.slice(e.length);if(r.match(new RegExp("</\\s*"+e.tagName+"\\s*>","i"))){var n=r.match(new RegExp("([\\s\\S]*?)</\\s*"+e.tagName+"\\s*>","i"));if(n)return new c.AtomicTagToken(e.tagName,n[0].length+e.length,e.attrs,e.booleanAttrs,n[1])}}}function s(t){var e=t.match(l.endTag);if(e)return new c.EndTagToken(e[1],e[0].length)}e.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.comment=n,e.chars=o,e.startTag=i,e.atomicTag=a,e.endTag=s;var c=r(4),l={"startTag":/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,"endTag":/^<\/([\-A-Za-z0-9_]+)[^>]*>/,"attr":/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,"fillAttr":/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i}},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0,e.EndTagToken=e.AtomicTagToken=e.StartTagToken=e.TagToken=e.CharsToken=e.CommentToken=e.Token=void 0;var o=r(5),i=(e.Token=function t(e,r){n(this,t),this.type=e,this.length=r,this.text=""},e.CommentToken=function(){function t(e,r){n(this,t),this.type="comment",this.length=r||(e?e.length:0),this.text="",this.content=e}return t.prototype.toString=function(){return"<!--"+this.content},t}(),e.CharsToken=function(){function t(e){n(this,t),this.type="chars",this.length=e,this.text=""}return t.prototype.toString=function(){return this.text},t}(),e.TagToken=function(){function t(e,r,o,i,a){n(this,t),this.type=e,this.length=o,this.text="",this.tagName=r,this.attrs=i,this.booleanAttrs=a,this.unary=!1,this.html5Unary=!1}return t.formatTag=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r="<"+t.tagName;for(var n in t.attrs)if(t.attrs.hasOwnProperty(n)){r+=" "+n;var i=t.attrs[n];"undefined"!=typeof t.booleanAttrs&&"undefined"!=typeof t.booleanAttrs[n]||(r+='="'+(0,o.escapeQuotes)(i)+'"')}return t.rest&&(r+=" "+t.rest),r+=t.unary&&!t.html5Unary?"/>":">",void 0!==e&&null!==e&&(r+=e+"</"+t.tagName+">"),r},t}());e.StartTagToken=function(){function t(e,r,o,i,a,s){n(this,t),this.type="startTag",this.length=r,this.text="",this.tagName=e,this.attrs=o,this.booleanAttrs=i,this.html5Unary=!1,this.unary=a,this.rest=s}return t.prototype.toString=function(){return i.formatTag(this)},t}(),e.AtomicTagToken=function(){function t(e,r,o,i,a){n(this,t),this.type="atomicTag",this.length=r,this.text="",this.tagName=e,this.attrs=o,this.booleanAttrs=i,this.unary=!1,this.html5Unary=!1,this.content=a}return t.prototype.toString=function(){return i.formatTag(this,this.content)},t}(),e.EndTagToken=function(){function t(e,r){n(this,t),this.type="endTag",this.length=r,this.text="",this.tagName=e}return t.prototype.toString=function(){return"</"+this.tagName+">"},t}()},function(t,e){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t?t.replace(/([^"]*)"/g,function(t,e){return/\\/.test(e)?e+'"':e+'\\"'}):e}e.__esModule=!0,e.escapeQuotes=r},function(t,e){"use strict";function r(t){return t&&"startTag"===t.type&&(t.unary=s.test(t.tagName)||t.unary,t.html5Unary=!/\/>$/.test(t.text)),t}function n(t,e){var n=t.stream,o=r(e());return t.stream=n,o}function o(t,e){var r=e.pop();t.prepend("</"+r.tagName+">")}function i(){var t=[];return t.last=function(){return this[this.length-1]},t.lastTagNameEq=function(t){var e=this.last();return e&&e.tagName&&e.tagName.toUpperCase()===t.toUpperCase()},t.containsTagName=function(t){for(var e,r=0;e=this[r];r++)if(e.tagName===t)return!0;return!1},t}function a(t,e,a){function s(){var e=n(t,a);e&&l[e.type]&&l[e.type](e)}var c=i(),l={"startTag":function(r){var n=r.tagName;"TR"===n.toUpperCase()&&c.lastTagNameEq("TABLE")?(t.prepend("<TBODY>"),s()):e.selfCloseFix&&u.test(n)&&c.containsTagName(n)?c.lastTagNameEq(n)?o(t,c):(t.prepend("</"+r.tagName+">"),s()):r.unary||c.push(r)},"endTag":function(r){var n=c.last();n?e.tagSoupFix&&!c.lastTagNameEq(r.tagName)?o(t,c):c.pop():e.tagSoupFix&&(a(),s())}};return function(){return s(),r(a())}}e.__esModule=!0,e["default"]=a;var s=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,u=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i}])})},function(t,e){"use strict";function r(t){return void 0!==t&&null!==t}function n(t){return"function"==typeof t}function o(t,e,r){var n=void 0,o=t&&t.length||0;for(n=0;n<o;n++)e.call(r,t[n],n)}function i(t,e,r){for(var n in t)t.hasOwnProperty(n)&&e.call(r,n,t[n])}function a(t,e){return t=t||{},i(e,function(e,n){r(t[e])||(t[e]=n)}),t}function s(t){try{return Array.prototype.slice.call(t)}catch(r){var e=function(){var e=[];return o(t,function(t){e.push(t)}),{"v":e}}();if("object"===("undefined"==typeof e?"undefined":f(e)))return e.v}}function u(t){return t[t.length-1]}function c(t,e){return!(!t||"startTag"!==t.type&&"atomicTag"!==t.type||!("tagName"in t))&&!!~t.tagName.toLowerCase().indexOf(e)}function l(t){return c(t,"script")}function p(t){return c(t,"style")}e.__esModule=!0;var f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.existy=r,e.isFunction=n,e.each=o,e.eachKey=i,e.defaults=a,e.toArray=s,e.last=u,e.isTag=c,e.isScript=l,e.isStyle=p}])});