-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
cb.js
8 lines (8 loc) · 79.8 KB
/
cb.js
1
2
3
4
5
6
7
8
/*
* GDPR Cookie banner by Intastellar Solutions, International
* intastellarsolutions.com/gdpr-cookiebanner
* consents.cdn.intastellarsolutions.com/gdpr.js
* @copy 2022-2024 Intastellar Solutions, International
*
*/
const pSBC=(e,t,n,i)=>{let o,a,s,l,r,c,d,g=parseInt,u=Math.round,k="string"==typeof n;return"number"!=typeof e||e<-1||e>1||"string"!=typeof t||"r"!=t[0]&&"#"!=t[0]||n&&!k?null:(this.pSBCr||(this.pSBCr=e=>{let t=e.length,n={};if(t>9){if([o,a,s,k]=e=e.split(","),t=e.length,t<3||t>4)return null;n.r=g("a"==o[3]?o.slice(5):o.slice(4)),n.g=g(a),n.b=g(s),n.a=k?parseFloat(k):-1}else{if(8==t||6==t||t<4)return null;t<6&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+(t>4?e[4]+e[4]:"")),e=g(e.slice(1),16),9==t||5==t?(n.r=e>>24&255,n.g=e>>16&255,n.b=e>>8&255,n.a=u((255&e)/.255)/1e3):(n.r=e>>16,n.g=e>>8&255,n.b=255&e,n.a=-1)}return n}),d=t.length>9,d=k?n.length>9||"c"==n&&!d:d,r=this.pSBCr(t),l=e<0,c=n&&"c"!=n?this.pSBCr(n):l?{r:0,g:0,b:0,a:-1}:{r:255,g:255,b:255,a:-1},l=1-(e=l?-1*e:e),r&&c?(i?(o=u(l*r.r+e*c.r),a=u(l*r.g+e*c.g),s=u(l*r.b+e*c.b)):(o=u((l*r.r**2+e*c.r**2)**.5),a=u((l*r.g**2+e*c.g**2)**.5),s=u((l*r.b**2+e*c.b**2)**.5)),k=r.a,c=c.a,r=k>=0||c>=0,k=r?k<0?c:c<0?k:k*l+c*e:0,d?"rgb"+(r?"a(":"(")+o+","+a+","+s+(r?","+u(1e3*k)/1e3:"")+")":"#"+(4294967296+16777216*o+65536*a+256*s+(r?u(255*k):0)).toString(16).slice(1,r?void 0:-2)):null)};let message="",cookieBtn="";const banner=document.createElement("inta-consents-settings-btn"),bannerContent=document.createElement("button"),moreSettings=document.createElement("inta-consents-banner"),moreSettingsContent=document.createElement("section"),moreintHeader=document.createElement("intheader"),moreContentText=document.createElement("section"),moreFooter=document.createElement("footer"),intaconsents=document.createElement("intastellar-consents"),pluginSource=void 0===findScriptParameter("utm_source")?"Intastellar+Solutions+Cookiebanner":findScriptParameter("utm_source");window.platform=void 0===findScriptParameter("utm_source")?"Manual":findScriptParameter("utm_source");let intastellarCookieLanguageSettings="Cookie Indstillinger";"de"==intastellarCookieLanguage?intastellarCookieLanguageSettings="Cookie Einstellungen":"en"==intastellarCookieLanguage&&(intastellarCookieLanguageSettings="Cookie Settings"),moreSettings.setAttribute("class","intastellarCookieConstents"),moreSettingsContent.setAttribute("class","intastellarCookieConstents__content"),moreintHeader.setAttribute("class","intastellarCookieConstents__content-intHeader"),moreFooter.setAttribute("class","intastellarCookieConstents__content-footer"),moreContentText.setAttribute("class","intastellarCookieConstents__content-main");const intastellarCookieConstents__Container=document.createElement("article"),intastellarCookieButtons=document.createElement("section"),testSection=document.createElement("section");testSection.setAttribute("class","intastellarCookieConstents__contentC"),testSection.appendChild(moreintHeader),testSection.appendChild(moreContentText),moreSettingsContent.appendChild(intastellarCookieConstents__Container),intastellarCookieConstents__Container.appendChild(testSection),intastellarCookieConstents__Container.appendChild(intastellarCookieButtons),intastellarCookieConstents__Container.appendChild(moreFooter);const cookieSettings=document.createElement("article"),cookieSettingsContent=document.createElement("section");bannerContent.setAttribute("class","intastellarCookie-settingsContainer"),intastellarCookieButtons.setAttribute("class","intastellarCookie-settings__buttons"),bannerContent.setAttribute("title",intastellarCookieLanguageSettings),cookieSettings.setAttribute("class","intastellarCookie-settings__container"),banner.setAttribute("onclick","javascript:IntastellarCookieConsent.renew();");const arrange=void 0===window.INTA.settings||void 0===window.INTA.settings.arrange?"":window.INTA.settings.arrange;function setIntastellarPartnerDomain(){null!==window.INTA.settings.partnerDomain&&window.INTA.settings?.partnerDomain?.length>0&&window.INTA.settings?.partnerDomain?.forEach((function(e){const t=document.createElement("iframe");t.id="intastellarCrossSiteCheck",t.src="https://"+e+"?intastellarPartners="+btoa(JSON.stringify({int_staticsticCookies:intaCookieConsents?.staticsticCookies,int_FunctionalCookies:intaCookieConsents?.functionalCookies,int_hideCookieBannerName:getCookie(int_hideCookieBannerName),int_marketingCookies:intaCookieConsents?.advertisementCookies,uid:intaConsentsObjectVariable.uid}));const n=document.createElement("noscript"),i=document.createElement("script");i.async=!0,i.src="https://consent.intastellarsolutions.com/getPartner.js?v=1."+(new Date).getTime(),t.style.display="none",n.appendChild(t),window.location.host.includes(e)||document.body.appendChild(t)}))}if("ltr"==arrange&&(bannerContent.classList.add("intastellarCookie-settingsContainer--otherSide"),cookieSettings.classList.add("intastellarCookie-settings__container--otherSide")),null!=document.getElementById("intastellarCrossSiteCheck")){const e=document.getElementById("intastellarCrossSiteCheck");"complete"==(e.contentDocument||e.contentWindow.document).readyState&&e.contentWindow.addEventListener("load",(function(){}))}const messages={danish:"Ved at acceptere alle cookies understøtter du "+document.domain+" med at udvikle en bedre løsning til dig.</p><p>Vælg om du vil tillade kun de nødvendige cookies eller om du vil tillade alle cookies.",german:"Wenn Sie auf akzeptieren klicken, unterstützen Sie "+document.domain+" bei der Weiterentwicklung von unserer Webseite.</p><p>Wählen Sie zwischen alle Cookies akzeptieren oder Ablehnen.",english:"By accepting all cookies, you support "+document.domain+" in developing a better solution for you. </p><p> Select whether you want to allow only the necessary cookies or whether you want to allow all cookies."},messageWrapStart="<div class='intastellarCookie-settings__contentConatiner'><p>",messageWrapEnd="</p></div>",settingsMessagesLanguages={danish:`<h3 style=" font-size: 25px;">Du bestemmer over dine data</h3>\n <p>Vi og vores samarbejdspartnere bruger teknologier, herunder cookies, til at indsamle oplysninger om dig til forskellige formål, herunder:</p>\n <ol>\n <li>Funktionel</li>\n <li>Statistiske</li>\n <li>Marketing</li>\n </ol>\n <p>Ved at trykke på 'Accepter' giver du samtykke til alle disse formål. Du kan også vælge at tilkendegive, hvilke formål du vil give samtykke til ved at benytte checkboksene ud for formålet, og derefter trykke på 'Gem indstillinger'.\n Du kan til enhver tid trække dit samtykke tilbage ved at trykke på det lille ikon nederst i ${"ltr"==window.INTA.settings.arrange?"venstre":"højre"} hjørne af hjemmesiden.</p>\n <p>Du kan læse mere om vores brug af cookies og andre teknologier, samt om vores indsamling og behandling af personoplysninger ved at trykke på linket.</p>\n ${generatePolicyUrl("Vores privat og cookie politik")}\n <button onClick="showPrivacy()" class="intastellarCookie-settings__privacyLink">Intastellar Solutions, International privat politik</button>`,german:`<h3 style=" font-size: 25px;">Sie haben die Kontrolle über Ihre Daten</h3>\n <p>Wir und unsere Geschäftspartner nutzen Technologien wie Cookies dazu, personenbezogene Informationen für verschiedene Zwecke zu sammeln, darunter:</p>\n <ol>\n <li>Funktionelle</li>\n <li>Statistike</li>\n <li>Werbung</li>\n </ol>\n <p>Wenn Sie auf „Akzeptieren“ klicken, erteilen Sie Ihre Einwilligung für alle diese Zwecke. Sie können auch entscheiden, welchen Zwecken Sie zustimmen, indem Sie das Kästchen neben dem Zweck anklicken und auf „Speichern“ klicken.</p>\n <p>Sie können Ihre Einwilligung jederzeit widerrufen, indem Sie auf das kleine Symbol unten in der ${"ltr"==window.INTA.settings.arrange?"linken":"rechten"} Ecke klicken.</p>\n ${generatePolicyUrl("Unsere Datenschutz Erklährung und Cookie politik")}\n <button onClick="showPrivacy()" class="intastellarCookie-settings__privacyLink">Intastellar Solutions, International Datenschutz erklährung</button>`,english:`<h3 style=" font-size: 25px;">You´re in control</h3>\n <p>We and our business partners uses technologies, including cookies, to collect information about you for various purposes, including:</p>\n <ol>\n <li>Functional</li>\n <li>Statistical</li>\n <li>Advertisement</li>\n </ol>\n <p>By clicking 'Accept', you give your consent for all these purposes. You can also choose to specify the purposes you consent to by ticking the checkbox next to the purpose and clicking 'Save settings'.</p>\n <p>You may withdraw your consent at any time by clicking the small icon at the bottom ${"ltr"==window.INTA.settings.arrange?"left":"right"} corner of the website.</p>\n ${generatePolicyUrl("Our Privacy and cookie Policy")}\n <button onClick="showPrivacy()" class="intastellarCookie-settings__privacyLink">Intastellar Solutions, International privacy policy</button>`};null!=intastellarCookieLanguage&&"da"===intastellarCookieLanguage||"da-DK"===intastellarCookieLanguage?(settingsMessage=settingsMessagesLanguages.danish,intastellarShowHideDetailsText="Vis detaljer",message=messageWrapStart+messages.danish+"</p></div>"+generatePolicyUrl("Vores privat og cookie politik")+`<section class="intCookieSaveSettingsContainer">\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings,"Accepter")}\n <button class="intLearnMoreBtn" >${intastellarShowHideDetailsText}</button>\n </section>`,cookieBtn=generateCookieButtons("Accepter","Afvis","Indstillinger"),intastellarCookieButtons.innerHTML=`<section class="intCookieSaveSettingsContainer">\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings,"Accepter")}\n <button class="intLearnMoreBtn" >${intastellarShowHideDetailsText}</button>\n </section>`,moreFooter.innerHTML=`\n \n <section class="intastellar_privacyPolicy"></section>\n <article class="intReadMore">\n <section class="required">\n <p>ID: ${getCookie(int_hideCookieBannerName)?JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid:intaConsentsObjectVariable.uid}</p>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.danish.necessary.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.danish.necessary.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_requiredCookieList)}\n </article>\n </section>\n <section>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.danish.functional.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.danish.functional.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_functionalCookieList)}\n </article> \n </section>\n <section>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.danish.statisic.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.danish.statisic.description}</p> \n <article class="intaCookieListOverview">\n ${listAllCookies(inta_statisticCookieList)}\n </article>\n </section>\n <section>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.danish.marketing.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.danish.marketing.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_marketingCookieList)}\n </article>\n </section>\n </article>\n <article class="intCookieSetting__form">\n <section class="intastellarSettings__control">\n <label class="intSettingDisabled checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.danish.necessary.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" type="checkbox" disabled checked>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n <section class="intastellarSettings__control">\n <label class="checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.danish.functional.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" id="functional" type="checkbox" ${""!=getCookie(int_hideCookieBannerName)&&getCookie(int_hideCookieBannerName).indexOf("__inta")>-1&&JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents?.functionalCookies}>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n <section class="intastellarSettings__control">\n <label class="checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.danish.statisic.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" id="statics" type="checkbox" ${""!=getCookie(int_hideCookieBannerName)&&getCookie(int_hideCookieBannerName).indexOf("__inta")>-1&&JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents?.staticsticCookies}>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n <section class="intastellarSettings__control">\n <label class="checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.danish.marketing.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" id="marketing" type="checkbox" ${""!=getCookie(int_hideCookieBannerName)&&getCookie(int_hideCookieBannerName).indexOf("__inta")>-1&&JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents?.advertisementCookies}>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n </article>\n `):null!=intastellarCookieLanguage&&"de-DE"===intastellarCookieLanguage||"de"===intastellarCookieLanguage?(settingsMessage=settingsMessagesLanguages.german,intastellarShowHideDetailsText="Details einblenden",message=messageWrapStart+messages.german+"</p></div>"+generatePolicyUrl("Unsere Datenschutz Erklährung und Cookie politik"),intastellarCookieButtons.innerHTML=`<section class="intCookieSaveSettingsContainer">\n ${generateCookieSettingsButton(intastellarSupportedLanguages.german.saveSettings,"Akzeptieren")}\n <button class="intLearnMoreBtn" >${intastellarShowHideDetailsText}</button>\n </section>`,cookieBtn=generateCookieButtons("Akzeptieren","Ablehnen","Einstellungen"),moreFooter.innerHTML=`\n <section class="intastellar_privacyPolicy"></section>\n <article class="intReadMore">\n <section class="required">\n <p>ID: ${getCookie(int_hideCookieBannerName)?JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid:intaConsentsObjectVariable.uid}</p>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.german.necessary.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.german.necessary.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_requiredCookieList)}\n </article>\n </section>\n <section>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.german.functional.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.german.functional.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_functionalCookieList)}\n </article>\n </section>\n <section>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.german.statisic.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.german.statisic.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_statisticCookieList)}\n </article>\n </section>\n <section>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.german.marketing.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.german.marketing.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_marketingCookieList)}\n </article>\n </section>\n </article>\n <article class="intCookieSetting__form">\n <section class="intastellarSettings__control">\n <label class="intSettingDisabled checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.german.necessary.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" type="checkbox" disabled checked>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n <section class="intastellarSettings__control">\n <label class="checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.german.functional.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" id="functional" type="checkbox" ${""!=getCookie(int_hideCookieBannerName)&&getCookie(int_hideCookieBannerName).indexOf("__inta")>-1&&JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents?.functionalCookies}>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n <section class="intastellarSettings__control">\n <label class="checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.german.statisic.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" id="statics" type="checkbox" ${""!=getCookie(int_hideCookieBannerName)&&getCookie(int_hideCookieBannerName).indexOf("__inta")>-1&&JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents?.staticsticCookies}>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n <section class="intastellarSettings__control">\n <label class="checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.german.marketing.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" id="marketing" type="checkbox" ${""!=getCookie(int_hideCookieBannerName)&&getCookie(int_hideCookieBannerName).indexOf("__inta")>-1&&JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents?.advertisementCookies}>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n </article>\n `):null!=intastellarCookieLanguage&&"en"===intastellarCookieLanguage||"en-GB"===intastellarCookieLanguage||"en-US"===intastellarCookieLanguage?(settingsMessage=settingsMessagesLanguages.english,intastellarShowHideDetailsText="Show details",message=messageWrapStart+messages.english+"</p></div>"+generatePolicyUrl("Our Privacy and cookie Policy"),intastellarCookieButtons.innerHTML=`<section class="intCookieSaveSettingsContainer">\n ${generateCookieSettingsButton(intastellarSupportedLanguages.english.saveSettings,"Accept")}\n <button class="intLearnMoreBtn" >${intastellarShowHideDetailsText}</button>\n </section>`,cookieBtn=generateCookieButtons("Accept","Decline All","Settings"),moreFooter.innerHTML=`\n \n <section class="intastellar_privacyPolicy"></section>\n <article class="intReadMore">\n <section class="required">\n <p>ID: ${getCookie(int_hideCookieBannerName)?JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid:intaConsentsObjectVariable.uid}</p>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.english.necessary.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.english.necessary.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_requiredCookieList)}\n </article>\n </section>\n <section>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.english.functional.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.english.functional.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_functionalCookieList)}\n </article>\n </section>\n <section>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.english.statisic.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.english.statisic.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_statisticCookieList)}\n </article>\n </section>\n <section>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.english.marketing.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.english.marketing.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_marketingCookieList)}\n </article>\n </section>\n </article>\n <article class="intCookieSetting__form">\n <section class="intastellarSettings__control">\n <label class="intSettingDisabled checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.english.necessary.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" type="checkbox" disabled checked>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n <section class="intastellarSettings__control">\n <label class="checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.english.functional.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" id="functional" type="checkbox" ${""!=getCookie(int_hideCookieBannerName)&&getCookie(int_hideCookieBannerName).indexOf("__inta")>-1&&JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents?.functionalCookies}>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n <section class="intastellarSettings__control">\n <label class="checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.english.statisic.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" id="statics" type="checkbox" ${""!=getCookie(int_hideCookieBannerName)&&getCookie(int_hideCookieBannerName).indexOf("__inta")>-1&&JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents?.staticsticCookies}>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n <section class="intastellarSettings__control">\n <label class="checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.english.marketing.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" id="marketing" type="checkbox" ${""!=getCookie(int_hideCookieBannerName)&&getCookie(int_hideCookieBannerName).indexOf("__inta")>-1&&JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents?.advertisementCookies}>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n </article>\n `):(settingsMessage=settingsMessagesLanguages.danish,intastellarShowHideDetailsText="Vis detaljer",message=messageWrapStart+messages.danish+"</p></div>"+generatePolicyUrl("Vores privat og cookie politik"),intastellarCookieButtons.innerHTML=`<section class="intCookieSaveSettingsContainer">\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings,"Accept")}\n <button class="intLearnMoreBtn" >${intastellarShowHideDetailsText}</button>\n </section>`,cookieBtn=generateCookieButtons("Accepter","Afvis","Indstillinger"),moreFooter.innerHTML=`\n <section class="intastellar_privacyPolicy"></section>\n <article class="intReadMore">\n <section class="required">\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.danish.necessary.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.danish.necessary.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_requiredCookieList)}\n </article>\n </section>\n <section>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.danish.functional.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.danish.functional.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_functionalCookieList)}\n </article> \n </section>\n <section>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.danish.statisic.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.danish.statisic.description}</p> \n <article class="intaCookieListOverview">\n ${listAllCookies(inta_statisticCookieList)}\n </article>\n </section>\n <section>\n <h3 class="intaExpandCookieList">${intastellarSupportedLanguages.danish.marketing.title} <i class="intastellar__arrow"></i></h3>\n <p>${intastellarSupportedLanguages.danish.marketing.description}</p>\n <article class="intaCookieListOverview">\n ${listAllCookies(inta_marketingCookieList)}\n </article>\n </section>\n </article>\n <article class="intCookieSetting__form">\n <section class="intastellarSettings__control">\n <label class="intSettingDisabled checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.danish.necessary.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" type="checkbox" disabled checked>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n <section class="intastellarSettings__control">\n <label class="checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.danish.functional.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" id="functional" type="checkbox" ${""!=getCookie(int_hideCookieBannerName)&&getCookie(int_hideCookieBannerName).indexOf("__inta")>-1&&JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents?.functionalCookies}>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n <section class="intastellarSettings__control">\n <label class="checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.danish.statisic.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" id="statics" type="checkbox" ${""!=getCookie(int_hideCookieBannerName)&&getCookie(int_hideCookieBannerName).indexOf("__inta")>-1&&JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents?.staticsticCookies}>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n <section class="intastellarSettings__control">\n <label class="checkMarkContainer">\n <span class="intSettingsTitle">${intastellarSupportedLanguages.danish.marketing.title}</span>\n <span class="intCheckmarkSliderContainer">\n <input class="intCookieSetting__checkbox" id="marketing" type="checkbox" ${""!=getCookie(int_hideCookieBannerName)&&getCookie(int_hideCookieBannerName).indexOf("__inta")>-1&&JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents?.advertisementCookies}>\n <span class="checkmark round"></span>\n </span>\n </label>\n </section>\n </article>\n `),moreContentText.innerHTML=settingsMessage;let ccpa=void 0!==window.INTA.settings&&void 0!==window.INTA.settings.ccpa&&window.INTA.settings.ccpa.on,ccpaUrl=void 0!==window.INTA.settings&&void 0!==window.INTA.settings.ccpa&&window.INTA.settings.ccpa.url,cookieColor=void 0===window.INTA.settings||void 0===window.INTA.settings.color||!1===window.INTA.settings.color||window.INTA.settings.color.indexOf("[")>-1||""===window.INTA.settings.color?"rgba(0, 51, 153, 1)":window.INTA.settings.color,cookieLogo=void 0===window.INTA.settings||void 0===window.INTA.settings.logo||""===window.INTA.settings.logo||window.INTA.settings.logo.indexOf("[")>-1?null:window.INTA.settings.logo,backgroundColor=void 0===window.INTA.settings||void 0===window.INTA.settings.background_color?"#fff":window.INTA.settings.background_color,cookieTextColor=invertColor(backgroundColor);const checkMarkColor=cookieColor;let brightColor="";if(-1!=cookieColor.indexOf("var")){document.querySelector(":root").style.setProperty(cookieColor.split("(")[1].split(")")[0]+"--bright",pSBC(-.6,getComputedStyle(document.documentElement).getPropertyValue(cookieColor.split("(")[1].split(")")[0]))),brightColor="var("+cookieColor.split("(")[1].split(")")[0]+"--bright)"}else brightColor=pSBC(-.6,cookieColor);const intaCookieBannerStyle=document.createElement("style");let textSettings=void 0!==window.INTA.settings&&void 0!==window.INTA.settings.text&&window.INTA.settings.text,withText='\n.intastellarCookie-settingsContainer{\n border-radius: 50%;\n}\n\n.intaGDPR-content p{\n color: #000 !important;\n text-align: left !important;\n font-size: 16px;\n line-height: 17px;\n}\n\n.intaGDPR-content ol {\n list-style: none;\n counter-reset: item;\n padding: 0 !important;\n}\n\n.intaGDPR-content .paragraph__list:before {\n content: "§ " counters(item, ".") ". ";\n counter-increment: item;\n}\n\n.intaGDPR-content ol li {\n color: #000 !important;\n font-size: 16px;\n line-height: 17px;\n}\n\n.intaGDPR-content a{\n display: inline-block;\n padding: 5px 0px;\n color: #00a0a0;\n}\n\n.intaGDPR-content h2{\n text-align: left;\n}\n\n.intaGDPR-content h3{\n font-weight: lighter;\n font-size: 17px;\n}\n\n.intCookieIcon-openSettings{\n width: 55px;\n height: 55px;\n}\n',position="--right",text="",cookieSize="100%";"ltr"==arrange&&(position="--left");let IntastellarToolTip='<div class="intastellarToolTip '+position+'">'+intastellarCookieLanguageSettings+"</div>";if(textSettings&&(IntastellarToolTip="",withText='\n .intastellarCookie-settingsContainer{\n border-radius: 20px;\n }\n .intCookieIcon-openSettings{\n width: 40px;\n height: 40px;\n }\n .intaGDPR-content p{\n color: #000 !important;\n text-align: left !important;\n font-size: 16px;\n line-height: 17px;\n }\n\n .intaGDPR-content ol {\n list-style: none;\n counter-reset: item;\n padding: 0 !important;\n }\n\n .intaGDPR-content .paragraph__list:before {\n content: "§ " counters(item, ".") ". ";\n counter-increment: item;\n }\n\n .intaGDPR-content ol li {\n color: #000 !important;\n font-size: 16px;\n line-height: 17px;\n }\n\n .intaGDPR-content a{\n display: inline-block;\n padding: 5px 0px;\n color: #00a0a0;\n }\n\n .intaGDPR-content h2{\n text-align: left;\n }\n\n .intaGDPR-content h3{\n font-weight: lighter;\n font-size: 17px;\n }\n ',text=" Cookie notice",cookieSize="25%"),intaCookieBannerStyle.innerHTML=".intastellarCookie-settingsContainer,.intastellarCookieConstents__contentC, .intastellarCookie-settings__btn.--bg, .intastellarCCPAContainer{background: "+cookieColor+" !important;color: #fff !important;} .intCookie_ConsentLogo-container{border-color: #fff; background: linear-gradient(#fff 0 0) padding-box, "+cookieColor+" border-box;} .intCookie_ConsentContainer-content{border-color: #fff; background: linear-gradient(#fff 0 0) padding-box, "+cookieColor+" border-box;} .intastellarCookie-settings__btn.--changePermission{background: transparent !important; border-image-slice: 1;border-color: "+cookieColor+";border-image:"+cookieColor+" 1 !important; border-width: 3px; border-style: solid; transition: background .25s ease-in-out; width: max-content; margin-inline: auto !important;} .intastellarCookie-settings__btn.--changePermission:hover{background: "+cookieColor+" !important; color: #fff !important;} .intCookieSetting__checkbox:checked ~ .checkmark{background: "+checkMarkColor+";}.intastellarCCPA__popupClose{background:"+cookieColor+"; color: #fff;} .intastellarCookie-settings__btn.--bg:hover{background: "+brightColor+" !important;}.intastellarCookie-settings__close:hover{background: "+brightColor+" !important;} .intastellarCookieConstents__content-main .intastellarCookie-settings__privacyLink{color: #fff !important;} .intastellarCookie-settings__privacyLink{text-decoration: underline !important;}.intastellarCookie-settings__content .intastellarCookie-settings__privacyLink{color: "+cookieTextColor+";}.intastellarCookie-settings__content p{color: "+cookieTextColor+" !important;}.intastellarCookie-settings__intHeader{color:"+cookieTextColor+" !important;}.intastellarCookie-settings__container{background-color: "+backgroundColor+" !important;} .intastellarCookie-settingsMoreContainer{display:none;position: fixed; top: 50%; left: 50%; background: #fff; padding: 15px;z-index: 1000; transform: translate(-50%,-50%);}"+withText,intHead.appendChild(intaCookieBannerStyle),ccpa&&isValidCCPALink()){const e=document.createElement("inta-consents-ccpa"),t=document.createElement("section");e.setAttribute("class","intastellarCCPAContainer"),e.setAttribute("title","California Consumer Privacy Act: Do not sell my information!"),t.setAttribute("class","intastellarCCPAContainer__content"),t.innerHTML='\n <svg class="intastellarCCPA__icon" height="14" viewBox=".2 0 19.4 20" width="13" xmlns="http://www.w3.org/2000/svg"><path d="m2.2 20c1 0 1.7-.5 2.4-.9.6-.3 1.2-.7 1.9-1 3.2-1.7 6.4-3.5 9.6-5.3 1-.5 2.3-1 3-1.9.2-.3.5-.7.4-1.2-.3-1.1-1.7-1.5-2.6-2-2.2-1.2-4.5-2.5-6.7-3.7-.8-.5-2-1.4-3-.7-.4.2-.6.4-.7.7-.1.4 0 .9 0 1.3v3.2c0 .9-.1 1.6.5 2 .2.1.6.2.9.1 1-.4.7-2.2.7-3.6v-1.1c1.7.9 3.4 1.8 5.1 2.6.6.3 1.6.6 1.8 1.4.2.9-1.7 1.6-2.3 1.9l-6.9 3.9c-.5.3-1.8 1.3-2.6 1-.3-.1-.5-.4-.5-.6-.1-.4-.1-1-.1-1.5v-3.2-5.4c0-.8-.1-1.8.2-2.3.7-1 2.3.8 2.8-.8.1-.4-.1-.8-.3-1-.4-.6-2.2-1.5-2.9-1.7-.2-.1-.7-.2-1-.2-1.7.3-1.3 3-1.3 5v9.9c0 1.5-.2 3.5.4 4.4.3.5.6.5 1.2.7zm5.2-6.5c1.5 0 1.6-1.9.2-2.2-.8-.1-1.4.7-1.2 1.4.2.5.5.6 1 .8z" fill="#fff"/></svg> Do not sell my personal data!\n ',e.appendChild(t),intaconsents.appendChild(e);const n=document.createElement("inta-consents-ccpa-popup");n.setAttribute("class","intastellarCCPApopup");const i=document.createElement("section");i.setAttribute("class","intastellarCCPApopup__content"),null!=window.INTA.settings.ccpa.collection?i.innerHTML=`\n <h2><svg class="intastellarCCPA__icon" width="18px" height="19px" viewBox=".2 0 19.4 20" width="13" xmlns="http://www.w3.org/2000/svg"><path d="m2.2 20c1 0 1.7-.5 2.4-.9.6-.3 1.2-.7 1.9-1 3.2-1.7 6.4-3.5 9.6-5.3 1-.5 2.3-1 3-1.9.2-.3.5-.7.4-1.2-.3-1.1-1.7-1.5-2.6-2-2.2-1.2-4.5-2.5-6.7-3.7-.8-.5-2-1.4-3-.7-.4.2-.6.4-.7.7-.1.4 0 .9 0 1.3v3.2c0 .9-.1 1.6.5 2 .2.1.6.2.9.1 1-.4.7-2.2.7-3.6v-1.1c1.7.9 3.4 1.8 5.1 2.6.6.3 1.6.6 1.8 1.4.2.9-1.7 1.6-2.3 1.9l-6.9 3.9c-.5.3-1.8 1.3-2.6 1-.3-.1-.5-.4-.5-.6-.1-.4-.1-1-.1-1.5v-3.2-5.4c0-.8-.1-1.8.2-2.3.7-1 2.3.8 2.8-.8.1-.4-.1-.8-.3-1-.4-.6-2.2-1.5-2.9-1.7-.2-.1-.7-.2-1-.2-1.7.3-1.3 3-1.3 5v9.9c0 1.5-.2 3.5.4 4.4.3.5.6.5 1.2.7zm5.2-6.5c1.5 0 1.6-1.9.2-2.2-.8-.1-1.4.7-1.2 1.4.2.5.5.6 1 .8z" fill="#000"/></svg> Do not sell my personal data!</h2><button class="intastellarCCPA__popupClose">X</button>\n <p>This section is about our California Consumer Privacy Act.</p>\n ${createCCPAPolicyLink(ccpaUrl)}\n <h3>Personal data we collect:</h3>\n <ul>\n <li>IP-Address</li>\n ${window.INTA.settings.ccpa.collection.map((e=>"<li>"+e.charAt(0).toUpperCase()+e.slice(1)+"</li>")).join("")}\n </ul>\n `:i.innerHTML='\n <h2><svg class="intastellarCCPA__icon" width="18px" height="19px" viewBox=".2 0 19.4 20" width="13" xmlns="http://www.w3.org/2000/svg"><path d="m2.2 20c1 0 1.7-.5 2.4-.9.6-.3 1.2-.7 1.9-1 3.2-1.7 6.4-3.5 9.6-5.3 1-.5 2.3-1 3-1.9.2-.3.5-.7.4-1.2-.3-1.1-1.7-1.5-2.6-2-2.2-1.2-4.5-2.5-6.7-3.7-.8-.5-2-1.4-3-.7-.4.2-.6.4-.7.7-.1.4 0 .9 0 1.3v3.2c0 .9-.1 1.6.5 2 .2.1.6.2.9.1 1-.4.7-2.2.7-3.6v-1.1c1.7.9 3.4 1.8 5.1 2.6.6.3 1.6.6 1.8 1.4.2.9-1.7 1.6-2.3 1.9l-6.9 3.9c-.5.3-1.8 1.3-2.6 1-.3-.1-.5-.4-.5-.6-.1-.4-.1-1-.1-1.5v-3.2-5.4c0-.8-.1-1.8.2-2.3.7-1 2.3.8 2.8-.8.1-.4-.1-.8-.3-1-.4-.6-2.2-1.5-2.9-1.7-.2-.1-.7-.2-1-.2-1.7.3-1.3 3-1.3 5v9.9c0 1.5-.2 3.5.4 4.4.3.5.6.5 1.2.7zm5.2-6.5c1.5 0 1.6-1.9.2-2.2-.8-.1-1.4.7-1.2 1.4.2.5.5.6 1 .8z" fill="#000"/></svg> Do not sell my personal data!</h2><button class="intastellarCCPA__popupClose">X</button>\n <h3>Personal data we collect:</h3>\n <p>This section is about our California Consumer Privacy Act.</p>\n <ul>\n <li>IP-Address</li>\n </ul>\n ',n.appendChild(i),intaconsents.appendChild(n)}else if(!isValidCCPALink()&&"ccpa"in window.INTA.settings&&"true"===window.INTA.settings.ccpa.on)throw new IntastellarSolutionsSDK("Please add your valid 'California Consumer Privacy Act' url to the banner. Read more at https://www.intastellarsolutions.com/gdpr-cookiebanner");cookieSettingsContent.setAttribute("class","intastellarCookie-settings__content"),-1==window.location.host.indexOf("intastellarsolutions")&&(poweredBy="<span class='intastellarCookie-settings__poweredBy' alt='This cookie banner is powered by Intastellar Consents Solutions'>Powered by <a class='intastellarCookie-settings__poweredByLink' href='https://www.intastellarsolutions.com/gdpr-cookiebanner?utm_source="+encodeURI(window.location.href)+"&utm_content=powered_by&utm_medium=referral&utm_campaign="+pluginSource+"&utm_term=gdpr_banner_logo' target='_blank' rel='noopener'><img class='intastellarCookie-settings__poweredByImg' width='100px' height='100px' src='https://www.intastellarsolutions.com/assets/logos/intastellar-logo-new.svg' alt='Intastellar Solutions, International'></a></span>");let intCookieIconSmallClass=cookieLogo==intCookieIcon?" intastellarIcon":"",CompanyLogoName=cookieLogo==intCookieIcon?"Cookie Icon":`${document.domain} logo`;function getMeta(e){for(var t=document.getElementsByTagName("meta"),n=0;n<t.length;n++)if(t[n].getAttribute("name")===e)return t[n].getAttribute("content");return""}function invertColor(e){var t,n,i,o;return e.match(/^rgb/)?(t=(e=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/))[1],n=e[2],i=e[3]):(t=(e=+("0x"+e.slice(1).replace(e.length<5&&/./g,"$&$&")))>>16,n=e>>8&255,i=255&e),(o=Math.sqrt(t*t*.299+n*n*.587+i*i*.114))>=0&&165>o?"#fff":"#000"}function listCookies(){for(var e=document.cookie.split(";"),t="",n=1;n<=e.length;n++)t+=n+" "+e[n-1]+"\n";return t}function allStorage(){for(var e=[],t=Object.keys(localStorage),n=t.length;n--;)e.push(getCookie(t[n]));return e}function listAllCookies(e){return e.map((e=>{const t=e.vendor;return null!=intastellarCookieLanguage&&"da"===intastellarCookieLanguage||"da-DK"===intastellarCookieLanguage?`\n <section class="intaCookieListOverview-grid">\n <section class="intaCookieList-left">\n <h3 class="intaCookieListOverview-heading">Udbyder</h3>\n <p class="intaCookieListOverview-vendor">${t}</p>\n <p class="intaCookieListOverview-heading">Privat Politik</p>\n <p>${null===e.vendor_privacy||null==e.vendor_privacy?generatePolicyUrl("Privatslivs politik"):`<a href="${e.vendor_privacy}" target="_blank" rel="noopener noreferrer">Privatslivs politik</a>`}</p>\n <h4 class="intaCookieList-CookieName">Domæne</h4>\n ${e.domains.map((e=>{if(null!=e)return`\n \n <p>${e}</p>\n `})).join(" ")}\n </section>\n <section>\n <h3 class="intaCookieListOverview-heading">Cookies</h3>\n <section>\n ${e.cookies.map((e=>{if(null!=e.cookie)return`\n <article class="intaCookieList-cookie">\n <h4 class="intaCookieList-CookieName">${e.cookie}</h4>\n <p>${e.purpose}</p>\n </article>\n `})).join(" ")}\n </section>\n </section>\n </section>\n `:null!=intastellarCookieLanguage&&"de-DE"===intastellarCookieLanguage||"de"===intastellarCookieLanguage?`\n <section class="intaCookieListOverview-grid">\n <section class="intaCookieList-left">\n <h3 class="intaCookieListOverview-heading">Anbieter</h3>\n <p class="intaCookieListOverview-vendor">${t}</p>\n <p class="intaCookieListOverview-heading">Datenschutzerklährung</p>\n ${null===e.vendor_privacy||null==e.vendor_privacy?generatePolicyUrl("Datenschutzerklährung"):`<a href="${e.vendor_privacy}" target="_blank" rel="noopener noreferrer">Datenschutzerklährung</a>`}\n <h4 class="intaCookieList-CookieName">Domain</h4>\n ${e.domains.map((e=>{if(null!=e)return`\n <p>${e}</p>\n `})).join(" ")}\n </section>\n <section>\n <h3 class="intaCookieListOverview-heading">Cookies</h3>\n <section>\n ${e.cookies.map((e=>{if(null!=e.cookie)return`\n <article class="intaCookieList-cookie">\n <h4 class="intaCookieList-CookieName">${e.cookie}</h4>\n <p>${e.purpose}</p>\n </article>\n `})).join(" ")}\n </section>\n </section>\n </section>\n `:null!=intastellarCookieLanguage&&"en"===intastellarCookieLanguage||"en-GB"===intastellarCookieLanguage||"en-US"===intastellarCookieLanguage?`\n <section class="intaCookieListOverview-grid">\n <section class="intaCookieList-left">\n <h3 class="intaCookieListOverview-heading">Vendor</h3>\n <p class="intaCookieListOverview-vendor">${t}</p>\n <p class="intaCookieListOverview-heading">Privacy policy</p>\n ${null===e.vendor_privacy||null==e.vendor_privacy?generatePolicyUrl("Privacy policy"):`<a href="${e.vendor_privacy}" target="_blank" rel="noopener noreferrer">Privacy policy</a>`}\n <h4 class="intaCookieList-CookieName">Domains</h4>\n ${e.domains.map((e=>{if(null!=e)return`\n <p>${e}</p>\n `})).join(" ")}\n </section>\n <section>\n <h3 class="intaCookieListOverview-heading">Cookies</h3>\n <section>\n ${e.cookies.map((e=>{if(null!=e.cookie)return`\n <article class="intaCookieList-cookie">\n <h4 class="intaCookieList-CookieName">${e.cookie}</h4>\n <p>${e.purpose}</p>\n </article>\n `})).join(" ")}\n </section>\n </section>\n </section>\n `:`\n <section class="intaCookieListOverview-grid">\n <section class="intaCookieList-left">\n <h3 class="intaCookieListOverview-heading">Udbyder</h3>\n <p class="intaCookieListOverview-vendor">${t}</p>\n <p class="intaCookieListOverview-heading">Privat Politik</p>\n ${null===e.vendor_privacy||null==e.vendor_privacy?generatePolicyUrl("Privatslivs politik"):`<a href="${e.vendor_privacy}" target="_blank" rel="noopener noreferrer">Privatslivs politik</a>`}\n <h4 class="intaCookieList-CookieName">Domæne</h4>\n ${e.domains.map((e=>{if(null!=e)return`\n <p>${e}</p>\n `})).join(" ")}\n </section>\n <section>\n <h3 class="intaCookieListOverview-heading">Cookies</h3>\n <section>\n ${e.cookies.map((e=>`\n <article class="intaCookieList-cookie">\n <h4 class="intaCookieList-CookieName">${e.cookie}</h4>\n <p>${e.purpose}</p>\n </article>\n `)).join(" ")}\n </section>\n </section>\n </section>\n `})).join(" ")}function isURL(e){const t=new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),n=document.createElement("a");return n.href=e,(n.host!==window.location.host||n.host==window.location.host)&&!!(t.test(e)&&-1!=e.indexOf("policy")||t.test(e)&&-1!=e.indexOf("cookie")||t.test(e)&&-1!=e.indexOf("privat")||t.test(e)&&-1!=e.indexOf("privacy")||t.test(e)&&-1!=e.indexOf("datenschutz")||t.test(e)&&-1!=e.indexOf("handelsbetingelser"))}function isCCPAURL(e){const t=new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),n=document.createElement("a");return n.href=e,(n.host!==window.location.host||n.host==window.location.host)&&!!(t.test(e)&&-1!=e.indexOf("policy")||t.test(e)&&-1!=e.indexOf("ccpa")||t.test(e)&&-1!=e.indexOf("california-consumer-privacy-act")||t.test(e)&&-1!=e.indexOf("california")||t.test(e)&&-1!=e.indexOf("privacy-act")||t.test(e)&&-1!=e.indexOf("california-consumer"))}function getCookies(){for(var e=document.cookie.split(";"),t="",n=1;n<=e.length;n++)t+=n+" - "+e[n-1]+"<br>";return t}function findScriptParameter(e){const t=document.currentScript.src;if(t.indexOf(e)>-1){return new URL(t).searchParams.get(e)}}moreintHeader.innerHTML=`\n ${void 0!==window.INTA.settings.logo?'<img class="intSettingsCompanyLogo" src="'+window.INTA.settings.logo+'" alt="'+CompanyLogoName+'" title="'+CompanyLogoName+'">':""}\n <section class="intSettingsPoweredBy">${poweredBy}</section>`,cookieSettingsContent.innerHTML='<intHeader class="intastellarCookie-settings__intHeader"><img src="'+window.INTA.settings.logo+'" alt="'+CompanyLogoName+'" title="'+CompanyLogoName+'" style="width: 100%;float: left; max-width: 50px;max-height: 50px;object-fit:contain;"><h2>Cookie</h2><button class="intastellarCookie-settings__close" style="background: '+cookieColor+';" aria-label="Close cookie banner"></button></intHeader>'+message+cookieBtn+poweredBy,cookieSettings.appendChild(cookieSettingsContent),window.INTA.settings.advanced&&banner.appendChild(cookieSettings),banner.setAttribute("class","intastellarCookie-settings"),bannerContent.innerHTML='<img class="intCookieIcon-openSettings" style="filter: invert(1);" src="'+intCookieIcon+'" alt="Cookie Icon">'+IntastellarToolTip+" "+text,banner.appendChild(bannerContent),moreSettings.appendChild(moreSettingsContent),intaconsents.appendChild(banner),intaconsents.appendChild(moreSettings),null!=document.querySelector(".intastellarCCPAContainer")&&document.querySelector(".intastellarCCPAContainer").addEventListener("click",(function(){document.querySelector(".intastellarCCPApopup").classList.toggle("--active")})),IntastellarCookieConsent.inizilize(intaconsents),window.addEventListener("load",(function(){(adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=0;const e=location.host.split(".").reverse(),t=(encodeURI(e[1]+"."+e[0]),document.createElement("iframe"));if(t.name="intastellar-solutions-sharinglibrary-iframe",t.style.display="none",t.title="Intastellar Solutions cookie sharing library",t.src=intastellarCookieBannerRootDomain+"/cookieSharingIframe.html",document.body.appendChild(t),console.log(t),gtag("set",{user_id:getCookie(int_hideCookieBannerName)?JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid:intaConsentsObjectVariable.uid}),null!=window.INT&&null!=window.INT.policy_link&&(window.INTA.policy_link=window.INT.policy_link),null!=window.INT&&null!=window.INT.settings&&(window.INTA.settings=window.INT.settings),!isValidPolicyLink()){checkCookieStatus();const e=document.createElement("div"),t=document.createElement("div");throw e.className="intastellarErrorMessage",t.className="intastellarErrorMessage-content",t.innerHTML="Intastellar Solutions SDK: Please add a valid privacy & cookie policy to the banner. Read more at <a href='https://developers.intastellarsolutions.com/gdpr-cookiebanner/docs/add-privacy-policy' target='_blank' rel='noopener'>https://developers.intastellarsolutions.com/gdpr-cookiebanner/docs/add-privacy-policy</a>",e.appendChild(t),new IntastellarSolutionsSDK("Please add a valid privacy & cookie policy to the banner. Read more at https://developers.intastellarsolutions.com/gdpr-cookiebanner/docs/add-privacy-policy")}{document.querySelectorAll(".intaCookieListOverview-vendor").forEach(((e,t)=>{""!=window.INTA.settings.company&&null!=window.INTA.settings.company&&e.innerText==window.location.host&&(e.innerText=window.INTA.settings.company)})),document.querySelectorAll(".intCookie_ConsentLogo").forEach((e=>{e.src=window.INTA.settings.logo})),document.querySelectorAll(".intLearnMoreBtn").forEach((e=>{e.addEventListener("click",(function(e){learnMore(this)}))})),window.INTA.settings?.partnerDomain?.forEach((e=>{intaConsentsObjectVariable.sharingDomains.push(e)})),document.querySelectorAll(".intaExpandCookieList").forEach(((e,t)=>{e.addEventListener("click",(()=>{document.querySelectorAll(".intastellar__arrow")[t].classList.toggle("open"),document.querySelectorAll(".intaCookieListOverview")[t].classList.toggle("view")}))}));document.querySelector(".intastellarCookie-settings__container");null!=document.querySelector(".intastellarCookieBanner")?getCookie(int_hideCookieBannerName).split(".")[0].indexOf("1")>-1?document.querySelector(".intastellarCookieBanner").style.display="none":document.querySelector(".intastellarCookieBanner").style.display="":getCookie(int_hideCookieBannerName).split(".")[0].indexOf("1")>-1&&(document.querySelector("html").classList.toggle("noScroll"),null!=document.querySelector(".intastellarCookieConstents")&&document.querySelector(".intastellarCookieConstents").classList.toggle("--active")),document.querySelectorAll(".intastellarCookieBanner__settings").forEach((e=>{e.addEventListener("click",(()=>{let e=document.querySelector(".intastellarCookieConstents");e?.classList.contains("--active")||(e?.classList.add("--active"),document.querySelector(".intastellarCookie-settings__container").classList.remove("intastellarCookie-settings__container--expand"))}))}));const e=document.querySelector("#functional"),t=document.querySelector("#statics"),n=document.querySelector("#marketing"),i={};if(null!=intastellarCookieLanguage&&"en"===intastellarCookieLanguage||"en-GB"===intastellarCookieLanguage||"en-US"===intastellarCookieLanguage?(i.necessaryCookiesText="Decline All",i.saveSettingsText="Save settings"):null!=intastellarCookieLanguage&&"de-DE"===intastellarCookieLanguage||"de"===intastellarCookieLanguage?(i.necessaryCookiesText="Ablehnen",i.saveSettingsText="Speichern"):(null!=intastellarCookieLanguage&&"da"===intastellarCookieLanguage||intastellarCookieLanguage,i.necessaryCookiesText="Afvis",i.saveSettingsText="Gem indstillinger"),e?.addEventListener("change",(()=>{document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText=!1===e?.checked&&!1===t?.checked&&!1===n?.checked?i.necessaryCookiesText:i.saveSettingsText})),t?.addEventListener("change",(()=>{document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText=!1===e?.checked&&!1===t?.checked&&!1===n?.checked?i.necessaryCookiesText:i.saveSettingsText})),n?.addEventListener("change",(()=>{document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText=!1===e?.checked&&!1===t?.checked&&!1===n?.checked?i.necessaryCookiesText:i.saveSettingsText})),document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText=!0===e?.checked&&!0===t?.checked&&!0===n?.checked||!0===e?.checked||!0===t?.checked||!0===n?.checked?i.saveSettingsText:i.necessaryCookiesText,document.querySelector(".--save").addEventListener("click",(()=>{const i=[];if(e?.checked)gtag("consent","update",{functionality_storage:"granted"}),i.push("functionalCookies");else{gtag("consent","update",{functionality_storage:"denied"});const e=i.indexOf("functionalCookies");e>-1&&i.splice(e,1)}if(t?.checked)gtag("consent","update",{analytics_storage:"granted",ad_storage:"granted",ad_user_data:"granted"}),i.push("staticsticCookies");else{gtag("consent","update",{analytics_storage:"denied"});const e=i.indexOf("staticsticCookies");e>-1&&i.splice(e,1)}if(n?.checked)gtag("consent","update",{ad_storage:"granted",personalization_storage:"granted",ads_data_redaction:"granted",ad_user_data:"granted",ad_personalization:"granted"}),i.push("advertisementCookies");else{gtag("consent","update",{ad_storage:"denied",personalization_storage:"denied",ads_data_redaction:"denied",ad_user_data:"denied",ad_personalization:"denied"});const e=i.indexOf("advertisementCookies");e>-1&&i.splice(e,1)}saveINTCookieSettings("changePermission",i)})),void 0!==window.INTA.settings.ccpa&&window.INTA.settings.ccpa.on){document.querySelector(".intastellarCCPA__popupClose").addEventListener("click",(()=>{document.querySelector(".intastellarCCPApopup").classList.remove("--active")}))}if(null==button__acceptAll&&null==button__acceptAll||button__acceptAll.addEventListener("click",(function(){intaConsentsObjectVariable.consents={staticsticCookies:"checked",functionalCookies:"checked",advertisementCookies:"checked"},intaConsentsObjectVariable.time=(new Date).getTime(),document.cookie=int_hideCookieBannerName+"=__inta1."+encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable),randomIntFromInterval(20,34))+"; expires="+cookieLifeTime+"; path=/; "+intCookieDomain,document.cookie="_vis_opt=0; expires="+new Date((new Date).getTime()+864e7).toGMTString()+"; path=/; "+intCookieDomain,document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable),"*"),document.querySelector("html").classList.toggle("noScroll"),document.querySelector(".intastellarCookieConstents").classList.toggle("--active"),gtag("consent","update",{ad_storage:"granted",personalization_storage:"granted",analytics_storage:"granted",functionality_storage:"granted",ads_data_redaction:"granted",ad_user_data:"granted",ad_personalization:"granted",url_passthrough:!0}),dataLayer.push({event:"cookie_consent_update"}),updateConsents("all")})),null==button__acceptAll&&null==button__acceptAll||button__acceptAll.addEventListener("click",(function(){intaConsentsObjectVariable.consents={staticsticCookies:"checked",functionalCookies:"checked",advertisementCookies:"checked"},intaConsentsObjectVariable.time=(new Date).getTime(),document.cookie=int_hideCookieBannerName+"=__inta1."+encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable),randomIntFromInterval(20,34))+"; expires="+cookieLifeTime+"; path=/; "+intCookieDomain,document.cookie="_vis_opt=1; expires="+new Date((new Date).getTime()+864e7).toGMTString()+"; path=/; "+intCookieDomain;for(var e=document.getElementsByTagName("script"),t=0;t<e.length;t++)e.type="";document.querySelector("html").classList.toggle("noScroll"),document.querySelector(".intastellarCookieConstents").classList.toggle("--active");const n={intaConsentsObjectVariable:intaConsentsObjectVariable,partnerDomain:window.INTA.settings.partnerDomain};window.addEventListener("message",(function(e){"ready"!=e.data&&e.origin!=intastellarCookieBannerRootDomain||document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(n),"*")})),gtag("consent","update",{ad_storage:"granted",personalization_storage:"granted",analytics_storage:"granted",functionality_storage:"granted",ads_data_redaction:"granted",ad_user_data:"granted",ad_personalization:"granted",url_passthrough:!0}),dataLayer.push({event:"cookie_consent_update"}),updateConsents("all")})),null==button__acceptAll&&null==button__acceptAll||button__acceptAllNecessary.addEventListener("click",(function(){intaConsentsObjectVariable.consents={staticsticCookies:!1,functionalCookies:!1,advertisementCookies:!1},intaConsentsObjectVariable.time=(new Date).getTime();document.cookie=int_hideCookieBannerName+"=__inta1."+encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable),randomIntFromInterval(20,34))+"; expires="+cookieLifeTime+"; path=/; "+intCookieDomain,document.cookie="_vis_opt=1; expires="+cookieLifeTime+"; path=/; "+intCookieDomain,document.querySelector("html").classList.toggle("noScroll"),document.querySelector(".intastellarCookieConstents").classList.toggle("--active");const e={intaConsentsObjectVariable:intaConsentsObjectVariable,partnerDomain:window.INTA.settings.partnerDomain};window.addEventListener("message",(function(t){"ready"!=t.data&&t.origin!=intastellarCookieBannerRootDomain||document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(e),"*")})),gtag("consent","update",{ad_storage:"denied",personalization_storage:"denied",analytics_storage:"denied",functionality_storage:"denied",ads_data_redaction:"denied",ad_user_data:"denied",ad_personalization:"denied",url_passthrough:!0}),dataLayer.push({event:"cookie_consent_update"})})),null!=button__acceptAll||null!=button__acceptAll){const e=document.querySelectorAll(".intastellarCookie-settingsContainer"),t=document.querySelectorAll(".intastellarCookieBanner__accpetNecssery"),n=document.querySelectorAll(".intastellarCookieSettings--acceptAll"),i=(document.querySelector(".analytics"),document.querySelector(".intastellarCookie-settings__close"));document.querySelectorAll(".intastellarCookie-settings__btn.--changePermission").forEach((e=>{e.addEventListener("click",(function(){"intMarketingCookies"==this.getAttribute("data-type")?document.querySelector("#marketing").checked=!0:"intFunctionalCookies"==this.getAttribute("data-type")&&(document.querySelector("#functional").checked=!0),saveINTCookieSettings("changePermission",this.getAttribute("data-type")),document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable),"*")}))})),e.forEach((e=>{e.addEventListener("click",(function(){document.querySelector(".intastellarCookieConstents").classList.toggle("--active")}))})),window.INTA.settings.advanced&&i.addEventListener("click",(function(){document.querySelector(".intastellarCookie-settings__container").classList.toggle("intastellarCookie-settings__container--expand")})),t.forEach((e=>{e.addEventListener("click",(function(){intaConsentsObjectVariable.consents={staticsticCookies:!1,functionalCookies:!1,advertisementCookies:!1},intaConsentsObjectVariable.time=(new Date).getTime();document.cookie=int_hideCookieBannerName+"=__inta1."+encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable),randomIntFromInterval(20,34))+"; expires="+cookieLifeTime+"; path=/; "+intCookieDomain,document.cookie="_vis_opt=1; expires="+cookieLifeTime+"; path=/; "+intCookieDomain,document.querySelector("html").classList.toggle("noScroll"),document.querySelector(".intastellarCookieConstents").classList.toggle("--active"),document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable),"*"),gtag("consent","update",{ad_storage:"denied",personalization_storage:"denied",analytics_storage:"denied",functionality_storage:"denied",ads_data_redaction:"denied",ad_user_data:"denied",ad_personalization:"denied",url_passthrough:!0}),dataLayer.push({event:"cookie_consent_update"}),updateConsents("denied"),document.querySelector("#marketing").checked=!1,document.querySelector("#statics").checked=!1,document.querySelector("#functional").checked=!1}))})),n.forEach((e=>{e.addEventListener("click",(function(){intaConsentsObjectVariable.consents={staticsticCookies:"checked",functionalCookies:"checked",advertisementCookies:"checked"},intaConsentsObjectVariable.time=(new Date).getTime();document.cookie=int_hideCookieBannerName+"=__inta1."+encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable),randomIntFromInterval(20,34))+"; expires="+cookieLifeTime+"; path=/; "+intCookieDomain,document.cookie="_vis_opt=1; expires="+cookieLifeTime+"; path=/; "+intCookieDomain;for(var e=document.getElementsByTagName("script"),t=0;t<e.length;t++)e.type="";document.querySelector("html").classList.toggle("noScroll"),document.querySelector(".intastellarCookieConstents").classList.toggle("--active"),document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable),"*"),gtag("consent","update",{ad_storage:"granted",personalization_storage:"granted",analytics_storage:"granted",functionality_storage:"granted",ads_data_redaction:"granted",ad_user_data:"granted",ad_personalization:"granted",url_passthrough:!0}),dataLayer.push({event:"cookie_consent_update"}),updateConsents("all"),document.querySelector("#marketing").checked=!0,document.querySelector("#statics").checked=!0,document.querySelector("#functional").checked=!0}))}))}else{const e=document.querySelectorAll(".intastellarCookie-settingsContainer"),t=document.querySelectorAll(".config"),n=document.querySelectorAll(".intastellarCookieBanner__accpetNecssery"),i=document.querySelectorAll(".intastellarCookieSettings--acceptAll"),o=document.querySelectorAll(".intastellarCookie-settings__btn.--changePermission"),a=(document.querySelector(".intastellarCCPA__popupClose"),document.querySelector(".analytics"),document.querySelector(".intastellarCookie-settings__close"));document.querySelector(".intastellarCookie-settings__container");o.forEach((e=>{e.addEventListener("click",(function(){"intMarketingCookies"==this.getAttribute("data-type")?document.querySelector("#marketing").checked=!0:"intFunctionalCookies"==this.getAttribute("data-type")&&(document.querySelector("#functional").checked=!0),saveINTCookieSettings("changePermission",this.getAttribute("data-type")),document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable),"*")}))})),null!=document.querySelector(".intastellarCookieBanner")&&null!=document.querySelector(".intastellarCookieBanner")||(document.querySelector("html").classList.toggle("noScroll"),document.querySelector(".intastellarCookieConstents").classList.toggle("--active")),window.INTA.settings.advanced?(e.forEach((e=>{e.addEventListener("click",(function(){let e=document.querySelector(".intastellarCookie-settings__container");document.querySelector("html").classList.toggle("noScroll"),e.classList.toggle("intastellarCookie-settings__container--expand")}))})),t.forEach((e=>{e.addEventListener("click",(function(){document.querySelector(".intastellarCookie-settings__container").classList.toggle("intastellarCookie-settings__container--expand")}))}))):e.forEach((e=>{e.addEventListener("click",(function(){let e=document.querySelector(".intastellarCookieConstents");document.querySelector("html").classList.toggle("noScroll"),e.classList.add("--active")}))})),window.INTA.settings.advanced&&a.addEventListener("click",(function(){document.querySelector(".intastellarCookie-settings__container").classList.toggle("intastellarCookie-settings__container--expand")})),n.forEach((e=>{e.addEventListener("click",(function(){intaConsentsObjectVariable.consents={staticsticCookies:!1,functionalCookies:!1,advertisementCookies:!1},intaConsentsObjectVariable.time=(new Date).getTime();document.cookie=int_hideCookieBannerName+"=__inta1."+encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable),randomIntFromInterval(20,34))+"; expires="+cookieLifeTime+"; path=/;"+intCookieDomain,document.cookie="_vis_opt=1; expires="+cookieLifeTime+"; path=/; "+intCookieDomain,document.querySelector("html").classList.toggle("noScroll"),document.querySelector(".intastellarCookieConstents").classList.toggle("--active"),document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable),"*"),document.querySelector("#marketing").checked=!1,document.querySelector("#statics").checked=!1,document.querySelector("#functional").checked=!1,gtag("consent","update",{ad_storage:"denied",personalization_storage:"denied",analytics_storage:"denied",functionality_storage:"denied",ads_data_redaction:"denied",ad_user_data:"denied",ad_personalization:"denied",url_passthrough:!0}),dataLayer.push({event:"cookie_consent_update"})}))})),i.forEach((e=>{e.addEventListener("click",(function(){intaConsentsObjectVariable.consents={staticsticCookies:"checked",functionalCookies:"checked",advertisementCookies:"checked"},intaConsentsObjectVariable.time=(new Date).getTime(),document.cookie=int_hideCookieBannerName+"=__inta1."+encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable),randomIntFromInterval(20,34))+"; expires="+cookieLifeTime+"; path=/; "+intCookieDomain,document.cookie="_vis_opt=1; expires="+cookieLifeTime+"; path=/; "+intCookieDomain;for(var e=document.getElementsByTagName("script"),t=0;t<e.length;t++)e.type="";document.querySelector("html").classList.toggle("noScroll"),document.querySelector(".intastellarCookieConstents").classList.toggle("--active"),document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable),"*"),gtag("consent","update",{ad_storage:"granted",personalization_storage:"granted",analytics_storage:"granted",functionality_storage:"granted",ads_data_redaction:"granted",ad_user_data:"granted",ad_personalization:"granted",url_passthrough:!0}),dataLayer.push({event:"cookie_consent_update"}),updateConsents("all"),document.querySelector("#marketing").checked=!0,document.querySelector("#statics").checked=!0,document.querySelector("#functional").checked=!0}))}))}window.addEventListener("message",(e=>{if("ready"==e.data&&document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage("you´re open to share with me","*"),e.data){e.data}}))}}));let intastellarSolutionsPrivacyPolicy="https://www.intastellarsolutions.com/about/legal/privacy/gdpr-cookiebanner/embedded/privacy-policy";const xhr=new XMLHttpRequest;function showPrivacy(){document.querySelector(".intLearnMoreBtn").style.display="none",document.querySelector(".intastellarCookieConstents__content").style.scrollPaddingTop="100px";const e=document.querySelector(".intastellar_privacyPolicy");e.style.height="100%",e.style.background="#ffff",e.style.color="#000",e.style.borderBottom="1px solid #c4c4c4",e.style.textAlign="left",e.innerHTML=`\n <div style="padding: 25px;">\n <button onClick="hidePrivacy()" class="intastellarCookieBannerPrivacy-BackButton">Back</button>\n ${intastellarSolutionsPrivacyPolicy}\n </div>\n `,e.scrollIntoView({behavior:"smooth",block:"start"})}function hidePrivacy(){document.querySelector(".intLearnMoreBtn").style.display="block";document.querySelector(".intastellar_privacyPolicy").style.height="0"}function checkIfIncluded(e){for(var t=document.getElementsByTagName("link"),n=0;n<t.length;n++)if(t[n].href.substr(-e.length)==e)return!0;var i=document.getElementsByTagName("script");for(n=0;n<i.length;n++)if(i[n].src.substr(-e.length)==e)return!0;return!1}function isValidCCPALink(){return!!("object"==typeof window.INTA.settings.ccpa&&isCCPAURL(window.INTA.settings.ccpa.url)&&window.INTA.settings.ccpa.url.length>0&&void 0!==window.INTA.settings.ccpa.url)}function generatePolicyUrl(e){let t="";return"object"==typeof window.INTA.policy_link?t="<a href='"+window.INTA.policy_link.url+"' target='"+window.INTA.policy_link.target+"' class='intastellarCookie-settings__privacyLink'>"+e+"</a>":"string"==typeof window.INTA.policy_link&&(t="<a href='"+window.INTA.policy_link+"' class='intastellarCookie-settings__privacyLink'>"+e+"</a>"),t}function generateCookieButtons(e,t,n){return'<button class="intastellarCookie-settings__btn --bg intastellarCookieSettings--acceptAll">'+e+'</button><button class="intastellarCookie-settings__btn intastellarCookieBanner__accpetNecssery">'+t+'</button><button class="intastellarCookie-settings__btn intastellarCookieBanner__settings">'+n+"</button>"}function generateCookieSettingsButton(e,t){return'<section class="intSettingsButton"><button class="intastellarCookie-settings__btn intastellarCookieBanner__settings --save">'+e+'</button><button class="intastellarCookie-settings__btn --noBorderRadius --bg intastellarCookieSettings--acceptAll">'+t+"</button></section>"}function createCCPAPolicyLink(e){let t="";return t="<a href='"+e+"' class='intastellarCookie-settings__privacyLink'>Read more about our ccpa</a>",t}function isValidPolicyLink(){return!!("string"==typeof window.INTA.policy_link&&isURL(window.INTA.policy_link)&&window.INTA.policy_link.length>0)||!!("object"==typeof window.INTA.policy_link&&isURL(window.INTA.policy_link.url)&&window.INTA.policy_link.url.length>0&&void 0!==window.INTA.policy_link.url)}function learnMore(e){document.querySelector(".intReadMore").classList.toggle("view"),document.querySelector(".intastellarCookieConstents__content").style.scrollPaddingTop="140px",document.querySelector(".intReadMore").classList.contains("view")?("da-DK"==intastellarCookieLanguage||"da"==intastellarCookieLanguage||"dk"==intastellarCookieLanguage?e.innerHTML="Skjul detaljer":null!=intastellarCookieLanguage&&"en"===intastellarCookieLanguage||"en-GB"===intastellarCookieLanguage||"en-US"===intastellarCookieLanguage?e.innerHTML="Hide details":(null!=intastellarCookieLanguage&&"de"===intastellarCookieLanguage||"de-DE"===intastellarCookieLanguage)&&(e.innerHTML="Details ausblenden"),document.querySelector(".intReadMore").scrollIntoView({behavior:"smooth",block:"start"})):("da-DK"==intastellarCookieLanguage||"da"==intastellarCookieLanguage||"dk"==intastellarCookieLanguage?e.innerHTML="Vis details":null!=intastellarCookieLanguage&&"en"===intastellarCookieLanguage||"en-GB"===intastellarCookieLanguage||"en-US"===intastellarCookieLanguage?e.innerHTML="Show details":(null!=intastellarCookieLanguage&&"de"===intastellarCookieLanguage||"de-DE"===intastellarCookieLanguage)&&(e.innerHTML="Details einblenden"),document.querySelector(".intastellarCookieConstents__contentC").scrollIntoView({behavior:"smooth",block:"start"}))}function updateConsents(e,t=null){let n=document.querySelector("script[src*='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js']");if(null!=n&&null!=n&&(n=n.src.split("client=")[1].split("&")[0]),"all"==e){let e=[...inta_statisticCookieList.map((e=>e.cookies.map((e=>null!=e.cookie?e.cookie:""))))].flat(1),t=[...inta_marketingCookieList.map((e=>e.cookies.map((e=>null!=e.cookie?e.cookie:""))))].flat(1),n=[...inta_functionalCookieList.map((e=>e.cookies.map((e=>null!=e.cookie?e.cookie:""))))].flat(1);int__cookiesToKeep.push.apply(int__cookiesToKeep,e),int__cookiesToKeep.push.apply(int__cookiesToKeep,t),int__cookiesToKeep.push.apply(int__cookiesToKeep,n),deleteAllCookies()}if("all"==e||t.length>0&&t.includes("advertisementCookies")?((adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=0,(adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=0,(adsbygoogle=window.adsbygoogle||[]).push({})):((adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=1,(adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=1),t.length>0&&t.forEach((e=>{if("staticsticCookies"==e){let e=[...inta_statisticCookieList.map((e=>e.cookies.map((e=>null!=e.cookie?e.cookie:""))))].flat(1);-1==int__cookiesToKeep.indexOf(e)&&int__cookiesToKeep.push.apply(int__cookiesToKeep,e),deleteAllCookies()}else if("advertisementCookies"==e){let e=[...inta_marketingCookieList.map((e=>e.cookies.map((e=>null!=e.cookie?e.cookie:""))))].flat(1);-1==int__cookiesToKeep.indexOf(e)&&int__cookiesToKeep.push.apply(int__cookiesToKeep,e),deleteAllCookies()}else if("functionalCookies"==e){let e=[...inta_functionalCookieList.map((e=>e.cookies.map((e=>null!=e.cookie?e.cookie:""))))].flat(1);-1==int__cookiesToKeep.indexOf(e)&&int__cookiesToKeep.push.apply(int__cookiesToKeep,e),deleteAllCookies()}})),"checked"===intaCookieConsents?.staticsticCookies){let e=[...inta_statisticCookieList.map((e=>e.cookies.map((e=>null!=e.cookie?e.cookie:""))))].flat(1);int__cookiesToKeep.push.apply(int__cookiesToKeep,e),deleteAllCookies()}if("checked"===intaCookieConsents?.functionalCookies){const e=document.querySelectorAll("inta-consents[data-src]");document.querySelectorAll("script[data-functional]").forEach((e=>{e.setAttribute("type","text/javascript")}));let t=[...inta_functionalCookieList.map((e=>e.cookies.map((e=>null!=e.cookie?e.cookie:""))))].flat(1);int__cookiesToKeep.push.apply(int__cookiesToKeep,t),deleteAllCookies(),e.forEach((e=>{const t=document.createElement("iframe");t.border="0",t.frameBorder="0",e.getAttribute("data-class")?t.setAttribute("class",e.getAttribute("data-class")):(t.width="560",t.height="315"),"undefined"!==e.getAttribute("data-src")&&(t.src=e.getAttribute("data-src"),e.parentElement.replaceChild(t,e))}))}if("checked"===intaCookieConsents?.advertisementCookies){const e=document.querySelectorAll("inta-consents-iframe[data-src]"),t=document.querySelectorAll("script[data-marketing]");let n=[...inta_marketingCookieList.map((e=>e.cookies.map((e=>null!=e.cookie?e.cookie:""))))].flat(1);int__cookiesToKeep.push.apply(int__cookiesToKeep,n),deleteAllCookies(),fbq("consent","grant"),t.forEach((e=>{e.setAttribute("type","text/javascript")})),e.forEach((e=>{const t=document.createElement("iframe");t.border="0",t.frameBorder="0",t.setAttribute("inta-yt-placeholder-img",e?.querySelector("inta-consents-bg")?.getAttribute("inta-bg-img")),(e.getAttribute("data-src").indexOf("youtube")>-1||e.getAttribute("data-src").indexOf("youtu.be")>-1)&&(t.allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",t.title="YouTube video player"),e.getAttribute("data-class")?t.setAttribute("class",e.getAttribute("data-class")):(t.width="560",t.height="315"),t.src=e.getAttribute("data-src"),e.parentElement.replaceChild(t,e)}))}}function saveINTCookieSettings(e,t=null){document.querySelector("html").classList.remove("noScroll"),document.querySelector(".intastellarCookieConstents").classList.remove("--active");const n=document.querySelector("#functional"),i=document.querySelector("#statics"),o=document.querySelector("#marketing");i?.checked?gtag("consent","update",{analytics_storage:"granted",ad_storage:"granted",ad_user_data:"granted",ad_personalization:"granted",url_passthrough:!0}):gtag("consent","update",{analytics_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",url_passthrough:!0}),dataLayer.push({event:"cookie_consent_update"}),intaConsentsObjectVariable.consents={staticsticCookies:!!i?.checked&&"checked",functionalCookies:!!n?.checked&&"checked",advertisementCookies:!!o?.checked&&"checked"},intaConsentsObjectVariable.time=(new Date).getTime(),document.cookie=int_hideCookieBannerName+"=__inta1."+encodeIntaConsentsObject(JSON.stringify(intaConsentsObjectVariable),randomIntFromInterval(20,34))+"; expires="+cookieLifeTime+"; path=/; "+intCookieDomain,updateConsents(e,t),document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage(JSON.stringify(intaConsentsObjectVariable),"*")}xhr.onload=function(){intastellarSolutionsPrivacyPolicy="loading...",200===this.status&&(intastellarSolutionsPrivacyPolicy=this.responseText)},xhr.open("GET","https://www.intastellarsolutions.com/about/legal/privacy/gdpr-cookiebanner/embedded/privacy-policy?lang="+(void 0===window.INTA.settings||"auto"===window.INTA.settings.lang||""===window.INTA.settings.lang?document.querySelector("html").getAttribute("lang"):"german"==window.INTA.settings.language?"de":"danish"==window.INTA.settings.language?"da":"english"==window.INTA.settings.language?"en":document.querySelector("html").getAttribute("lang"))+"&v="+(new Date).getTime()),xhr.send();