From d242babed907ecc36546c2bae990ae47c293acdb Mon Sep 17 00:00:00 2001 From: "Felix A. Schultz" Date: Sat, 11 Nov 2023 00:30:00 +0100 Subject: [PATCH] Fixed error with null iframe --- cb.js | 9 ++++++++- dev/cb.dev.js | 20 +++++++++++--------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/cb.js b/cb.js index dde6272..2f84894 100644 --- a/cb.js +++ b/cb.js @@ -1 +1,8 @@ -const pSBC=(e,t,n,i)=>{let o,a,s,l,r,c,d,g=parseInt,k=Math.round,u="string"==typeof n;return"number"!=typeof e||e<-1||e>1||"string"!=typeof t||"r"!=t[0]&&"#"!=t[0]||n&&!u?null:(this.pSBCr||(this.pSBCr=e=>{let t=e.length,n={};if(t>9){if([o,a,s,u]=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=u?parseFloat(u):-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=k((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=u?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=k(l*r.r+e*c.r),a=k(l*r.g+e*c.g),s=k(l*r.b+e*c.b)):(o=k((l*r.r**2+e*c.r**2)**.5),a=k((l*r.g**2+e*c.g**2)**.5),s=k((l*r.b**2+e*c.b**2)**.5)),u=r.a,c=c.a,r=u>=0||c>=0,u=r?u<0?c:c<0?u:u*l+c*e:0,d?"rgb"+(r?"a(":"(")+o+","+a+","+s+(r?","+k(1e3*u)/1e3:"")+")":"#"+(4294967296+16777216*o+65536*a+256*s+(r?k(255*u):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)}))}"ltr"==arrange&&(bannerContent.classList.add("intastellarCookie-settingsContainer--otherSide"),cookieSettings.classList.add("intastellarCookie-settings__container--otherSide")),setIntastellarPartnerDomain();const instatellariframe=document.getElementById("intastellarCrossSiteCheck"),iframeDoc=instatellariframe.contentDocument||instatellariframe.contentWindow.document;"complete"==iframeDoc.readyState&&instatellariframe.contentWindow.addEventListener("load",(function(){console.log("iframe loaded")}));const messages={danish:"Ved at acceptere alle cookies understøtter du "+document.domain+" med at udvikle en bedre løsning til dig.

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.

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.

Select whether you want to allow only the necessary cookies or whether you want to allow all cookies."},messageWrapStart="

",messageWrapEnd="

",settingsMessagesLanguages={danish:`

Du bestemmer over dine data

\n

Vi og vores samarbejdspartnere bruger teknologier, herunder cookies, til at indsamle oplysninger om dig til forskellige formål, herunder:

\n
    \n
  1. Funktionel
  2. \n
  3. Statistiske
  4. \n
  5. Marketing
  6. \n
\n

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.

\n

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.

\n ${generatePolicyUrl("Vores privat og cookie politik")}\n `,german:`

Sie haben die Kontrolle über Ihre Daten

\n

Wir und unsere Geschäftspartner nutzen Technologien wie Cookies dazu, personenbezogene Informationen für verschiedene Zwecke zu sammeln, darunter:

\n
    \n
  1. Funktionelle
  2. \n
  3. Statistike
  4. \n
  5. Werbung
  6. \n
\n

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.

\n

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.

\n ${generatePolicyUrl("Unsere Datenschutz Erklährung und Cookie politik")}\n `,english:`

You´re in control

\n

We and our business partners uses technologies, including cookies, to collect information about you for various purposes, including:

\n
    \n
  1. Functional
  2. \n
  3. Statistical
  4. \n
  5. Advertisement
  6. \n
\n

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'.

\n

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.

\n ${generatePolicyUrl("Our Privacy and cookie Policy")}\n `};null!=intastellarCookieLanguage&&"da"===intastellarCookieLanguage||"da-DK"===intastellarCookieLanguage?(settingsMessage=settingsMessagesLanguages.danish,intastellarShowHideDetailsText="Vis detaljer",message=messageWrapStart+messages.danish+"

"+generatePolicyUrl("Vores privat og cookie politik")+`
\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings,"Accepter")}\n \n
`,cookieBtn=generateCookieButtons("Accepter","Afvis","Indstillinger"),intastellarCookieButtons.innerHTML=`
\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings,"Accepter")}\n \n
`,moreFooter.innerHTML=`\n \n
\n
\n
\n

ID: ${getCookie(int_hideCookieBannerName)?JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid:intaConsentsObjectVariable.uid}

\n

${intastellarSupportedLanguages.danish.necessary.title}

\n

${intastellarSupportedLanguages.danish.necessary.description}

\n
\n ${listAllCookies(inta_requiredCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.danish.functional.title}

\n

${intastellarSupportedLanguages.danish.functional.description}

\n
\n ${listAllCookies(inta_functionalCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.danish.statisic.title}

\n

${intastellarSupportedLanguages.danish.statisic.description}

\n
\n ${listAllCookies(inta_statisticCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.danish.marketing.title}

\n

${intastellarSupportedLanguages.danish.marketing.description}

\n
\n ${listAllCookies(inta_marketingCookieList)}\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n `):null!=intastellarCookieLanguage&&"de-DE"===intastellarCookieLanguage||"de"===intastellarCookieLanguage?(settingsMessage=settingsMessagesLanguages.german,intastellarShowHideDetailsText="Details einblenden",message=messageWrapStart+messages.german+"

"+generatePolicyUrl("Unsere Datenschutz Erklährung und Cookie politik"),intastellarCookieButtons.innerHTML=`
\n ${generateCookieSettingsButton(intastellarSupportedLanguages.german.saveSettings,"Akzeptieren")}\n \n
`,cookieBtn=generateCookieButtons("Akzeptieren","Ablehnen","Einstellungen"),moreFooter.innerHTML=`\n
\n
\n
\n

ID: ${getCookie(int_hideCookieBannerName)?JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid:intaConsentsObjectVariable.uid}

\n

${intastellarSupportedLanguages.german.necessary.title}

\n

${intastellarSupportedLanguages.german.necessary.description}

\n
\n ${listAllCookies(inta_requiredCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.german.functional.title}

\n

${intastellarSupportedLanguages.german.functional.description}

\n
\n ${listAllCookies(inta_functionalCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.german.statisic.title}

\n

${intastellarSupportedLanguages.german.statisic.description}

\n
\n ${listAllCookies(inta_statisticCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.german.marketing.title}

\n

${intastellarSupportedLanguages.german.marketing.description}

\n
\n ${listAllCookies(inta_marketingCookieList)}\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n `):null!=intastellarCookieLanguage&&"en"===intastellarCookieLanguage||"en-GB"===intastellarCookieLanguage||"en-US"===intastellarCookieLanguage?(settingsMessage=settingsMessagesLanguages.english,intastellarShowHideDetailsText="Show details",message=messageWrapStart+messages.english+"

"+generatePolicyUrl("Our Privacy and cookie Policy"),intastellarCookieButtons.innerHTML=`
\n ${generateCookieSettingsButton(intastellarSupportedLanguages.english.saveSettings,"Accept")}\n \n
`,cookieBtn=generateCookieButtons("Accept","Decline All","Settings"),moreFooter.innerHTML=`\n \n
\n
\n
\n

ID: ${getCookie(int_hideCookieBannerName)?JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid:intaConsentsObjectVariable.uid}

\n

${intastellarSupportedLanguages.english.necessary.title}

\n

${intastellarSupportedLanguages.english.necessary.description}

\n
\n ${listAllCookies(inta_requiredCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.english.functional.title}

\n

${intastellarSupportedLanguages.english.functional.description}

\n
\n ${listAllCookies(inta_functionalCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.english.statisic.title}

\n

${intastellarSupportedLanguages.english.statisic.description}

\n
\n ${listAllCookies(inta_statisticCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.english.marketing.title}

\n

${intastellarSupportedLanguages.english.marketing.description}

\n
\n ${listAllCookies(inta_marketingCookieList)}\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n `):(settingsMessage=settingsMessagesLanguages.danish,intastellarShowHideDetailsText="Vis detaljer",message=messageWrapStart+messages.danish+"

"+generatePolicyUrl("Vores privat og cookie politik"),intastellarCookieButtons.innerHTML=`
\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings,"Accept")}\n \n
`,cookieBtn=generateCookieButtons("Accepter","Afvis","Indstillinger"),moreFooter.innerHTML=`\n
\n
\n
\n

${intastellarSupportedLanguages.danish.necessary.title}

\n

${intastellarSupportedLanguages.danish.necessary.description}

\n
\n ${listAllCookies(inta_requiredCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.danish.functional.title}

\n

${intastellarSupportedLanguages.danish.functional.description}

\n
\n ${listAllCookies(inta_functionalCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.danish.statisic.title}

\n

${intastellarSupportedLanguages.danish.statisic.description}

\n
\n ${listAllCookies(inta_statisticCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.danish.marketing.title}

\n

${intastellarSupportedLanguages.danish.marketing.description}

\n
\n ${listAllCookies(inta_marketingCookieList)}\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\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='
'+intastellarCookieLanguageSettings+"
";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 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

Do not sell my personal data!

\n

This section is about our California Consumer Privacy Act.

\n ${createCCPAPolicyLink(ccpaUrl)}\n

Personal data we collect:

\n \n `:i.innerHTML='\n

Do not sell my personal data!

\n

Personal data we collect:

\n

This section is about our California Consumer Privacy Act.

\n \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="Powered by Intastellar Solutions, International");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>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
\n
\n

Udbyder

\n

${t}

\n

Privat Politik

\n

${null===e.vendor_privacy||null==e.vendor_privacy?generatePolicyUrl("Privatslivs politik"):`Privatslivs politik`}

\n

Domæne

\n ${e.domains.map((e=>{if(null!=e)return`\n \n

${e}

\n `})).join(" ")}\n
\n
\n

Cookies

\n
\n ${e.cookies.map((e=>{if(null!=e.cookie)return`\n \n `})).join(" ")}\n
\n
\n
\n `:null!=intastellarCookieLanguage&&"de-DE"===intastellarCookieLanguage||"de"===intastellarCookieLanguage?`\n
\n
\n

Anbieter

\n

${t}

\n

Datenschutzerklährung

\n ${null===e.vendor_privacy||null==e.vendor_privacy?generatePolicyUrl("Datenschutzerklährung"):`Datenschutzerklährung`}\n

Domain

\n ${e.domains.map((e=>{if(null!=e)return`\n

${e}

\n `})).join(" ")}\n
\n
\n

Cookies

\n
\n ${e.cookies.map((e=>{if(null!=e.cookie)return`\n \n `})).join(" ")}\n
\n
\n
\n `:null!=intastellarCookieLanguage&&"en"===intastellarCookieLanguage||"en-GB"===intastellarCookieLanguage||"en-US"===intastellarCookieLanguage?`\n
\n
\n

Vendor

\n

${t}

\n

Privacy policy

\n ${null===e.vendor_privacy||null==e.vendor_privacy?generatePolicyUrl("Privacy policy"):`Privacy policy`}\n

Domains

\n ${e.domains.map((e=>{if(null!=e)return`\n

${e}

\n `})).join(" ")}\n
\n
\n

Cookies

\n
\n ${e.cookies.map((e=>{if(null!=e.cookie)return`\n \n `})).join(" ")}\n
\n
\n
\n `:`\n
\n
\n

Udbyder

\n

${t}

\n

Privat Politik

\n ${null===e.vendor_privacy||null==e.vendor_privacy?generatePolicyUrl("Privatslivs politik"):`Privatslivs politik`}\n

Domæne

\n ${e.domains.map((e=>{if(null!=e)return`\n

${e}

\n `})).join(" ")}\n
\n
\n

Cookies

\n
\n ${e.cookies.map((e=>`\n \n `)).join(" ")}\n
\n
\n
\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]+"
";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?'':""}\n
${poweredBy}
`,cookieSettingsContent.innerHTML=''+CompanyLogoName+'

Cookie

'+message+cookieBtn+poweredBy,cookieSettings.appendChild(cookieSettingsContent),window.INTA.settings.advanced&&banner.appendChild(cookieSettings),banner.setAttribute("class","intastellarCookie-settings"),bannerContent.innerHTML='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(){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),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 https://developers.intastellarsolutions.com/gdpr-cookiebanner/docs/add-privacy-policy",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")}))}));let e=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&&(!1===window.INTA.settings.advanced||""===window.INTA.settings.advanced||void 0===window.INTA.settings.advanced?(document.querySelector("html").classList.toggle("noScroll"),null!=document.querySelector(".intastellarCookieConstents")&&document.querySelector(".intastellarCookieConstents").classList.toggle("--active")):e.classList.toggle("intastellarCookie-settings__container--expand")),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 t=document.querySelector("#functional"),n=document.querySelector("#statics"),i=document.querySelector("#marketing"),o={};if(null!=intastellarCookieLanguage&&"en"===intastellarCookieLanguage||"en-GB"===intastellarCookieLanguage||"en-US"===intastellarCookieLanguage?(o.necessaryCookiesText="Decline All",o.saveSettingsText="Save settings"):null!=intastellarCookieLanguage&&"de-DE"===intastellarCookieLanguage||"de"===intastellarCookieLanguage?(o.necessaryCookiesText="Ablehnen",o.saveSettingsText="Speichern"):(null!=intastellarCookieLanguage&&"da"===intastellarCookieLanguage||intastellarCookieLanguage,o.necessaryCookiesText="Afvis",o.saveSettingsText="Gem indstillinger"),t?.addEventListener("change",(()=>{document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText=!1===t?.checked&&!1===n?.checked&&!1===i?.checked?o.necessaryCookiesText:o.saveSettingsText})),n?.addEventListener("change",(()=>{document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText=!1===t?.checked&&!1===n?.checked&&!1===i?.checked?o.necessaryCookiesText:o.saveSettingsText})),i?.addEventListener("change",(()=>{document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText=!1===t?.checked&&!1===n?.checked&&!1===i?.checked?o.necessaryCookiesText:o.saveSettingsText})),document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText=!0===t?.checked&&!0===n?.checked&&!0===i?.checked||!0===t?.checked||!0===n?.checked||!0===i?.checked?o.saveSettingsText:o.necessaryCookiesText,document.querySelector(".--save").addEventListener("click",(()=>{const e=[];if(t?.checked)gtag("consent","update",{functionality_storage:"granted"}),e.push("functionalCookies");else{gtag("consent","update",{functionality_storage:"denied"});const t=e.indexOf("functionalCookies");t>-1&&e.splice(t,1)}if(n?.checked)gtag("consent","update",{analytics_storage:"granted",ad_storage:"granted"}),e.push("staticsticCookies");else{gtag("consent","update",{analytics_storage:"denied"});const t=e.indexOf("staticsticCookies");t>-1&&e.splice(t,1)}if(i?.checked)gtag("consent","update",{ad_storage:"granted",personalization_storage:"granted",ads_data_redaction:"granted"}),e.push("advertisementCookies");else{gtag("consent","update",{ad_storage:"denied",personalization_storage:"denied",ads_data_redaction:"denied"});const t=e.indexOf("advertisementCookies");t>-1&&e.splice(t,1)}saveINTCookieSettings("changePermission",e)})),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",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.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),"*")}))})),!1===window.INTA.settings.advanced||""===window.INTA.settings.advanced||void 0===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")}))})):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",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.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")||(!1===window.INTA.settings.advanced||""===window.INTA.settings.advanced||void 0===window.INTA.settings.advanced?(document.querySelector("html").classList.toggle("noScroll"),document.querySelector(".intastellarCookieConstents").classList.toggle("--active")):s.classList.toggle("intastellarCookie-settings__container--expand")),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",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{if("ready"==e.data&&document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage("you´re open to share with me","*"),e.data){const t=e.data;console.log(t)}}))}}));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
\n \n ${intastellarSolutionsPrivacyPolicy}\n
\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;n0&&void 0!==window.INTA.settings.ccpa.url)}function generatePolicyUrl(e){let t="";return"object"==typeof window.INTA.policy_link?t=""+e+"":"string"==typeof window.INTA.policy_link&&(t=""+e+""),t}function generateCookieButtons(e,t,n){return'"}function generateCookieSettingsButton(e,t){return'
"}function createCCPAPolicyLink(e){let t="";return t="Read more about our ccpa",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){if("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(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"}):gtag("consent","update",{analytics_storage:"denied"}),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(); \ No newline at end of file +/* + * GDPR Cookie banner by Intastellar Solutions, International + * intastellarsolutions.com/gdpr-cookiebanner + * consents.cdn.intastellarsolutions.com/gdpr.js + * @copy 2022-2023 Intastellar Solutions, International + * +*/ +const pSBC=(e,t,n,i)=>{let o,a,s,l,r,c,d,g=parseInt,k=Math.round,u="string"==typeof n;return"number"!=typeof e||e<-1||e>1||"string"!=typeof t||"r"!=t[0]&&"#"!=t[0]||n&&!u?null:(this.pSBCr||(this.pSBCr=e=>{let t=e.length,n={};if(t>9){if([o,a,s,u]=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=u?parseFloat(u):-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=k((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=u?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=k(l*r.r+e*c.r),a=k(l*r.g+e*c.g),s=k(l*r.b+e*c.b)):(o=k((l*r.r**2+e*c.r**2)**.5),a=k((l*r.g**2+e*c.g**2)**.5),s=k((l*r.b**2+e*c.b**2)**.5)),u=r.a,c=c.a,r=u>=0||c>=0,u=r?u<0?c:c<0?u:u*l+c*e:0,d?"rgb"+(r?"a(":"(")+o+","+a+","+s+(r?","+k(1e3*u)/1e3:"")+")":"#"+(4294967296+16777216*o+65536*a+256*s+(r?k(255*u):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")),setIntastellarPartnerDomain(),null!=document.getElementById("intastellarCrossSiteCheck")){const e=document.getElementById("intastellarCrossSiteCheck");"complete"==(e.contentDocument||e.contentWindow.document).readyState&&e.contentWindow.addEventListener("load",(function(){console.log("iframe loaded")}))}const messages={danish:"Ved at acceptere alle cookies understøtter du "+document.domain+" med at udvikle en bedre løsning til dig.

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.

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.

Select whether you want to allow only the necessary cookies or whether you want to allow all cookies."},messageWrapStart="

",messageWrapEnd="

",settingsMessagesLanguages={danish:`

Du bestemmer over dine data

\n

Vi og vores samarbejdspartnere bruger teknologier, herunder cookies, til at indsamle oplysninger om dig til forskellige formål, herunder:

\n
    \n
  1. Funktionel
  2. \n
  3. Statistiske
  4. \n
  5. Marketing
  6. \n
\n

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.

\n

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.

\n ${generatePolicyUrl("Vores privat og cookie politik")}\n `,german:`

Sie haben die Kontrolle über Ihre Daten

\n

Wir und unsere Geschäftspartner nutzen Technologien wie Cookies dazu, personenbezogene Informationen für verschiedene Zwecke zu sammeln, darunter:

\n
    \n
  1. Funktionelle
  2. \n
  3. Statistike
  4. \n
  5. Werbung
  6. \n
\n

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.

\n

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.

\n ${generatePolicyUrl("Unsere Datenschutz Erklährung und Cookie politik")}\n `,english:`

You´re in control

\n

We and our business partners uses technologies, including cookies, to collect information about you for various purposes, including:

\n
    \n
  1. Functional
  2. \n
  3. Statistical
  4. \n
  5. Advertisement
  6. \n
\n

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'.

\n

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.

\n ${generatePolicyUrl("Our Privacy and cookie Policy")}\n `};null!=intastellarCookieLanguage&&"da"===intastellarCookieLanguage||"da-DK"===intastellarCookieLanguage?(settingsMessage=settingsMessagesLanguages.danish,intastellarShowHideDetailsText="Vis detaljer",message=messageWrapStart+messages.danish+"

"+generatePolicyUrl("Vores privat og cookie politik")+`
\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings,"Accepter")}\n \n
`,cookieBtn=generateCookieButtons("Accepter","Afvis","Indstillinger"),intastellarCookieButtons.innerHTML=`
\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings,"Accepter")}\n \n
`,moreFooter.innerHTML=`\n \n
\n
\n
\n

ID: ${getCookie(int_hideCookieBannerName)?JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid:intaConsentsObjectVariable.uid}

\n

${intastellarSupportedLanguages.danish.necessary.title}

\n

${intastellarSupportedLanguages.danish.necessary.description}

\n
\n ${listAllCookies(inta_requiredCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.danish.functional.title}

\n

${intastellarSupportedLanguages.danish.functional.description}

\n
\n ${listAllCookies(inta_functionalCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.danish.statisic.title}

\n

${intastellarSupportedLanguages.danish.statisic.description}

\n
\n ${listAllCookies(inta_statisticCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.danish.marketing.title}

\n

${intastellarSupportedLanguages.danish.marketing.description}

\n
\n ${listAllCookies(inta_marketingCookieList)}\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n `):null!=intastellarCookieLanguage&&"de-DE"===intastellarCookieLanguage||"de"===intastellarCookieLanguage?(settingsMessage=settingsMessagesLanguages.german,intastellarShowHideDetailsText="Details einblenden",message=messageWrapStart+messages.german+"

"+generatePolicyUrl("Unsere Datenschutz Erklährung und Cookie politik"),intastellarCookieButtons.innerHTML=`
\n ${generateCookieSettingsButton(intastellarSupportedLanguages.german.saveSettings,"Akzeptieren")}\n \n
`,cookieBtn=generateCookieButtons("Akzeptieren","Ablehnen","Einstellungen"),moreFooter.innerHTML=`\n
\n
\n
\n

ID: ${getCookie(int_hideCookieBannerName)?JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid:intaConsentsObjectVariable.uid}

\n

${intastellarSupportedLanguages.german.necessary.title}

\n

${intastellarSupportedLanguages.german.necessary.description}

\n
\n ${listAllCookies(inta_requiredCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.german.functional.title}

\n

${intastellarSupportedLanguages.german.functional.description}

\n
\n ${listAllCookies(inta_functionalCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.german.statisic.title}

\n

${intastellarSupportedLanguages.german.statisic.description}

\n
\n ${listAllCookies(inta_statisticCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.german.marketing.title}

\n

${intastellarSupportedLanguages.german.marketing.description}

\n
\n ${listAllCookies(inta_marketingCookieList)}\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n `):null!=intastellarCookieLanguage&&"en"===intastellarCookieLanguage||"en-GB"===intastellarCookieLanguage||"en-US"===intastellarCookieLanguage?(settingsMessage=settingsMessagesLanguages.english,intastellarShowHideDetailsText="Show details",message=messageWrapStart+messages.english+"

"+generatePolicyUrl("Our Privacy and cookie Policy"),intastellarCookieButtons.innerHTML=`
\n ${generateCookieSettingsButton(intastellarSupportedLanguages.english.saveSettings,"Accept")}\n \n
`,cookieBtn=generateCookieButtons("Accept","Decline All","Settings"),moreFooter.innerHTML=`\n \n
\n
\n
\n

ID: ${getCookie(int_hideCookieBannerName)?JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2])).uid:intaConsentsObjectVariable.uid}

\n

${intastellarSupportedLanguages.english.necessary.title}

\n

${intastellarSupportedLanguages.english.necessary.description}

\n
\n ${listAllCookies(inta_requiredCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.english.functional.title}

\n

${intastellarSupportedLanguages.english.functional.description}

\n
\n ${listAllCookies(inta_functionalCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.english.statisic.title}

\n

${intastellarSupportedLanguages.english.statisic.description}

\n
\n ${listAllCookies(inta_statisticCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.english.marketing.title}

\n

${intastellarSupportedLanguages.english.marketing.description}

\n
\n ${listAllCookies(inta_marketingCookieList)}\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n `):(settingsMessage=settingsMessagesLanguages.danish,intastellarShowHideDetailsText="Vis detaljer",message=messageWrapStart+messages.danish+"

"+generatePolicyUrl("Vores privat og cookie politik"),intastellarCookieButtons.innerHTML=`
\n ${generateCookieSettingsButton(intastellarSupportedLanguages.danish.saveSettings,"Accept")}\n \n
`,cookieBtn=generateCookieButtons("Accepter","Afvis","Indstillinger"),moreFooter.innerHTML=`\n
\n
\n
\n

${intastellarSupportedLanguages.danish.necessary.title}

\n

${intastellarSupportedLanguages.danish.necessary.description}

\n
\n ${listAllCookies(inta_requiredCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.danish.functional.title}

\n

${intastellarSupportedLanguages.danish.functional.description}

\n
\n ${listAllCookies(inta_functionalCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.danish.statisic.title}

\n

${intastellarSupportedLanguages.danish.statisic.description}

\n
\n ${listAllCookies(inta_statisticCookieList)}\n
\n
\n
\n

${intastellarSupportedLanguages.danish.marketing.title}

\n

${intastellarSupportedLanguages.danish.marketing.description}

\n
\n ${listAllCookies(inta_marketingCookieList)}\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\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='
'+intastellarCookieLanguageSettings+"
";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 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

Do not sell my personal data!

\n

This section is about our California Consumer Privacy Act.

\n ${createCCPAPolicyLink(ccpaUrl)}\n

Personal data we collect:

\n
    \n
  • IP-Address
  • \n ${window.INTA.settings.ccpa.collection.map((e=>"
  • "+e.charAt(0).toUpperCase()+e.slice(1)+"
  • ")).join("")}\n
\n `:i.innerHTML='\n

Do not sell my personal data!

\n

Personal data we collect:

\n

This section is about our California Consumer Privacy Act.

\n
    \n
  • IP-Address
  • \n
\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="Powered by Intastellar Solutions, International");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>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
\n
\n

Udbyder

\n

${t}

\n

Privat Politik

\n

${null===e.vendor_privacy||null==e.vendor_privacy?generatePolicyUrl("Privatslivs politik"):`Privatslivs politik`}

\n

Domæne

\n ${e.domains.map((e=>{if(null!=e)return`\n \n

${e}

\n `})).join(" ")}\n
\n
\n

Cookies

\n
\n ${e.cookies.map((e=>{if(null!=e.cookie)return`\n \n `})).join(" ")}\n
\n
\n
\n `:null!=intastellarCookieLanguage&&"de-DE"===intastellarCookieLanguage||"de"===intastellarCookieLanguage?`\n
\n
\n

Anbieter

\n

${t}

\n

Datenschutzerklährung

\n ${null===e.vendor_privacy||null==e.vendor_privacy?generatePolicyUrl("Datenschutzerklährung"):`Datenschutzerklährung`}\n

Domain

\n ${e.domains.map((e=>{if(null!=e)return`\n

${e}

\n `})).join(" ")}\n
\n
\n

Cookies

\n
\n ${e.cookies.map((e=>{if(null!=e.cookie)return`\n \n `})).join(" ")}\n
\n
\n
\n `:null!=intastellarCookieLanguage&&"en"===intastellarCookieLanguage||"en-GB"===intastellarCookieLanguage||"en-US"===intastellarCookieLanguage?`\n
\n
\n

Vendor

\n

${t}

\n

Privacy policy

\n ${null===e.vendor_privacy||null==e.vendor_privacy?generatePolicyUrl("Privacy policy"):`Privacy policy`}\n

Domains

\n ${e.domains.map((e=>{if(null!=e)return`\n

${e}

\n `})).join(" ")}\n
\n
\n

Cookies

\n
\n ${e.cookies.map((e=>{if(null!=e.cookie)return`\n \n `})).join(" ")}\n
\n
\n
\n `:`\n
\n
\n

Udbyder

\n

${t}

\n

Privat Politik

\n ${null===e.vendor_privacy||null==e.vendor_privacy?generatePolicyUrl("Privatslivs politik"):`Privatslivs politik`}\n

Domæne

\n ${e.domains.map((e=>{if(null!=e)return`\n

${e}

\n `})).join(" ")}\n
\n
\n

Cookies

\n
\n ${e.cookies.map((e=>`\n \n `)).join(" ")}\n
\n
\n
\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]+"
";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?'':""}\n
${poweredBy}
`,cookieSettingsContent.innerHTML=''+CompanyLogoName+'

Cookie

'+message+cookieBtn+poweredBy,cookieSettings.appendChild(cookieSettingsContent),window.INTA.settings.advanced&&banner.appendChild(cookieSettings),banner.setAttribute("class","intastellarCookie-settings"),bannerContent.innerHTML='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(){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),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 https://developers.intastellarsolutions.com/gdpr-cookiebanner/docs/add-privacy-policy",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")}))}));let e=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&&(!1===window.INTA.settings.advanced||""===window.INTA.settings.advanced||void 0===window.INTA.settings.advanced?(document.querySelector("html").classList.toggle("noScroll"),null!=document.querySelector(".intastellarCookieConstents")&&document.querySelector(".intastellarCookieConstents").classList.toggle("--active")):e.classList.toggle("intastellarCookie-settings__container--expand")),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 t=document.querySelector("#functional"),n=document.querySelector("#statics"),i=document.querySelector("#marketing"),o={};if(null!=intastellarCookieLanguage&&"en"===intastellarCookieLanguage||"en-GB"===intastellarCookieLanguage||"en-US"===intastellarCookieLanguage?(o.necessaryCookiesText="Decline All",o.saveSettingsText="Save settings"):null!=intastellarCookieLanguage&&"de-DE"===intastellarCookieLanguage||"de"===intastellarCookieLanguage?(o.necessaryCookiesText="Ablehnen",o.saveSettingsText="Speichern"):(null!=intastellarCookieLanguage&&"da"===intastellarCookieLanguage||intastellarCookieLanguage,o.necessaryCookiesText="Afvis",o.saveSettingsText="Gem indstillinger"),t?.addEventListener("change",(()=>{document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText=!1===t?.checked&&!1===n?.checked&&!1===i?.checked?o.necessaryCookiesText:o.saveSettingsText})),n?.addEventListener("change",(()=>{document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText=!1===t?.checked&&!1===n?.checked&&!1===i?.checked?o.necessaryCookiesText:o.saveSettingsText})),i?.addEventListener("change",(()=>{document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText=!1===t?.checked&&!1===n?.checked&&!1===i?.checked?o.necessaryCookiesText:o.saveSettingsText})),document.querySelector(".intastellarCookie-settings__btn.intastellarCookieBanner__settings.--save").innerText=!0===t?.checked&&!0===n?.checked&&!0===i?.checked||!0===t?.checked||!0===n?.checked||!0===i?.checked?o.saveSettingsText:o.necessaryCookiesText,document.querySelector(".--save").addEventListener("click",(()=>{const e=[];if(t?.checked)gtag("consent","update",{functionality_storage:"granted"}),e.push("functionalCookies");else{gtag("consent","update",{functionality_storage:"denied"});const t=e.indexOf("functionalCookies");t>-1&&e.splice(t,1)}if(n?.checked)gtag("consent","update",{analytics_storage:"granted",ad_storage:"granted"}),e.push("staticsticCookies");else{gtag("consent","update",{analytics_storage:"denied"});const t=e.indexOf("staticsticCookies");t>-1&&e.splice(t,1)}if(i?.checked)gtag("consent","update",{ad_storage:"granted",personalization_storage:"granted",ads_data_redaction:"granted"}),e.push("advertisementCookies");else{gtag("consent","update",{ad_storage:"denied",personalization_storage:"denied",ads_data_redaction:"denied"});const t=e.indexOf("advertisementCookies");t>-1&&e.splice(t,1)}saveINTCookieSettings("changePermission",e)})),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",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.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),"*")}))})),!1===window.INTA.settings.advanced||""===window.INTA.settings.advanced||void 0===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")}))})):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",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.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")||(!1===window.INTA.settings.advanced||""===window.INTA.settings.advanced||void 0===window.INTA.settings.advanced?(document.querySelector("html").classList.toggle("noScroll"),document.querySelector(".intastellarCookieConstents").classList.toggle("--active")):s.classList.toggle("intastellarCookie-settings__container--expand")),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",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{if("ready"==e.data&&document.querySelector("[name=intastellar-solutions-sharinglibrary-iframe]").contentWindow.postMessage("you´re open to share with me","*"),e.data){const t=e.data;console.log(t)}}))}}));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
\n \n ${intastellarSolutionsPrivacyPolicy}\n
\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;n0&&void 0!==window.INTA.settings.ccpa.url)}function generatePolicyUrl(e){let t="";return"object"==typeof window.INTA.policy_link?t=""+e+"":"string"==typeof window.INTA.policy_link&&(t=""+e+""),t}function generateCookieButtons(e,t,n){return'"}function generateCookieSettingsButton(e,t){return'
"}function createCCPAPolicyLink(e){let t="";return t="Read more about our ccpa",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){if("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(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"}):gtag("consent","update",{analytics_storage:"denied"}),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(); \ No newline at end of file diff --git a/dev/cb.dev.js b/dev/cb.dev.js index 7c3b3c5..6c8944c 100644 --- a/dev/cb.dev.js +++ b/dev/cb.dev.js @@ -119,15 +119,17 @@ function setIntastellarPartnerDomain(){ } setIntastellarPartnerDomain(); -const instatellariframe = document.getElementById("intastellarCrossSiteCheck"); -const iframeDoc = instatellariframe.contentDocument || instatellariframe.contentWindow.document; -if ( iframeDoc.readyState == 'complete' ) { - //iframe.contentWindow.alert("Hello"); - instatellariframe.contentWindow.addEventListener("load", function(){ - console.log("iframe loaded"); - - }) -} +if(document.getElementById("intastellarCrossSiteCheck") != null){ + const instatellariframe = document.getElementById("intastellarCrossSiteCheck"); + const iframeDoc = instatellariframe.contentDocument || instatellariframe.contentWindow.document; + if ( iframeDoc.readyState == 'complete' ) { + //iframe.contentWindow.alert("Hello"); + instatellariframe.contentWindow.addEventListener("load", function(){ + console.log("iframe loaded"); + + }) + } +} /* - - - Set the intastellarCookieLanguageuage dependent messages */