PageSourceSearch

https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/ap…32652f41daffc0d85dd2a2b2f3ee&domain=bcdea62

js theaterkonstanz.de collected 2026-09-24 10:01:50 UTC 135,434 bytes, 368 lines download raw bytes

1!function(){"use strict"
2h="from"in Array==0||-1==Array.from.toString().indexOf("[native code]")?function(e){return Array.prototype.slice.call(e)}:Array.from,"padStart"in String.prototype==0&&(String.prototype.padStart=function(e,t){return e|=0,t=padString===undefined?t+"":" ",this.length>e?this:((e-=this.length)>e.length&&(t+=t.repeat(e/t.length)),t.slice(0,e)+this)})
3for(var h,a=function(){var e=window.XMLHttpRequest
4if(!String(e).includes("[native code]"))try{var t=new e
5String(t.constructor).includes("[native code]")&&(e=t.constructor)}catch(n){}return{XMLHttpRequest:e,xhr:{send:e.prototype.send}}}(),f=[],e=0;e<256;e++)f[e]=(e>>4&15).toString(16)+(15&e).toString(16)
6var t,n,o,p={toggleClass:function(e,t,n){var i
7return!(!e||!e.classList)&&((i="boolean"==typeof n?n:0==e.classList.contains(t))?e.classList.add(t):e.classList.remove(t),i)},applyAttributes:function(t,e){h(e.attributes).forEach(function(e){t.setAttribute(e.name,e.value)})},currentScript:function(){var e
8return"currentScript"in document?document.currentScript:(e=document.getElementsByTagName("script"))[e.length-1]},isVisibleDOMNode:function(e){if(e.ownerDocument!==document)return!1
9for(;e!==document.documentElement&&e.parentElement;)e=e.parentElement
10return e===document.documentElement},isDocumentReady:function(){return document.body&&"object"==typeof document.body&&"appendChild"in document.body&&"loading"!=document.readyState},partial:function(e){return e.reduce(function(e,t){return!0===e?!!t||"partial":t?"partial":e},!!e.length&&!!e[0])},uniqueValues:function(n){return n.filter(function(e,t){return n.indexOf(e)==t})},diff:function(e,t){return e.filter(function(e){return!t.includes(e)})},intersect:function(e,t){return e.filter(function(e){return t.includes(e)})},enableButtons:function(e){h(e.getElementsByTagName("BUTTON")).forEach(function(e){e.disabled=!1})},disableButtons:function(e){h(e.getElementsByTagName("BUTTON")).forEach(function(e){e.disabled=!0})},extractDomain:function(e){var t=e.match(/^(?:https?:)?\/\/([^\/]+)/)
11return t?t[1]:""},triggerCustomEvent:function(e,t,n){var i
12try{i=new CustomEvent(t,{detail:n,bubbles:!0})}catch(o){(i=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!1,n)}e.dispatchEvent(i)},hasGTMLayer:function(e){for(var t=window.dataLayer||[],n=0;n<t.length;++n){var i=t[n]
13if(i[0]===e||i[e]!==undefined)return!0}return!1},hasMsUETLayer:function(e){for(var t=window.uetq||[],n=0;n<t.length;++n){var i=t[n]
14if(i===e||"object"==typeof i&&"event"===e)return!0
15"string"==typeof i&&(n+=2)}return!1},sendGTag:function(){"function"==typeof window.gtag?window.gtag.apply(null,arguments):(window.dataLayer=window.dataLayer||[],window.dataLayer.push(arguments))},sendMsUet:function(){window.uetq=window.uetq||[],window.uetq.push.apply(window.uetq,arguments)},sendMatomoConfig:function(){window._paq=window._paq||[],window._paq.push!==undefined&&window._paq.push(h(arguments))},callJsApi:function(e){var t=Array.prototype.slice.call(arguments,1)
16e in window?window[e].apply(window,t):"complete"!=document.readyState?window.addEventListener("load",function(){e in window?window[e].apply(window,t):window.setTimeout(function(){e in window?window[e].apply(window,t):console.warn("[CCM19] %s API not available. Consent could not be transmitted.",e)},250)}):window.setTimeout(function(){e in window?window[e].apply(window,t):console.warn("[CCM19] %s API not available. Consent could not be transmitted.",e)},250)},isJavaScript:function(e){return!e.type||/(application|text)\/(x-)?(java|ecma|j|live)script(1.[0-5])?/.test(e.type.toLowerCase())||"module"==e.type.toLowerCase()},isIE:function(){return"userAgent"in navigator&&/\b(Trident|MSIE)\b/.test(navigator.userAgent)},isSafari:function(){var e=("userAgent"in navigator?navigator.userAgent:"").toLowerCase()
17return e.includes("safari/")&&!e.includes("chrome")&&!e.includes("android")},getContainingModal:function s(e){return e&&"classList"in e?e.classList.contains("ccm-modal")?e:s(e.parentNode):null},getOrigin:function(e){var t=e.match(/^(https?:\/\/[^\/?#]+)/i)
18return t?t[1]:null},focusableElements:function(e){return e=e||document.body,h(e.querySelectorAll('button, a[href], map area[href], input
18:not(:disabled), select, textarea, [tabindex]:not([tabindex="-1"])')).filter(function(e){return 0!==e.offsetHeight&&0!==e.offsetWidth})},isManipulatedClick:function(e){return e instanceof MouseEvent!=0&&"click"==e.type&&"isTrusted"in e&&0==e.isTrusted},assign:"assign"in Object?Object.assign:function(e,t){for(var n in t)e[n]=t[n]
19return e},filterObject:function(e,t){var n,i={}
20for(n in e)t(e[n],n)&&(i[n]=e[n])
21return i},mapObject:function(e,t){var n,i={}
22for(n in e)i[n]=t(e[n],n)
23return i},objectValues:function(t){return"values"in Object?Object.values(t):Object.keys(t).map(function(e){return t[e]})},bindThis:function(e,t){return function(){return t.apply(e,arguments)}},hash:function(e){for(var t,n=e.length,i=0,o=8997,s=0,r=33826,c=0,a=40164,l=0,d=52210,u=0;u<n;u++)(t=e.charCodeAt(u))<128?o^=t:(t<2048?(s=435*r,c=435*a,l=435*d,c+=(o^=t>>6|192)<<8):(55296==(64512&t)&&u+1<n&&56320==(64512&e.charCodeAt(u+1))?(s=435*r,c=435*a,l=435*d,c+=(o^=(t=65536+((1023&t)<<10)+(1023&e.charCodeAt(++u)))>>18|240)<<8,o=65535&(i=435*o),d=(l+=r<<8)+((c+=(s+=i>>>16)>>>16)>>>16)&65535,s=435*(r=65535&s),c=435*(a=65535&c),l=435*d,c+=(o^=t>>12&63|128)<<8):(s=435*r,c=435*a,l=435*d,c+=(o^=t>>12|224)<<8),o=65535&(i=435*o),d=(l+=r<<8)+((c+=(s+=i>>>16)>>>16)>>>16)&65535,s=435*(r=65535&s),c=435*(a=65535&c),l=435*d,c+=(o^=t>>6&63|128)<<8),l+=r<<8,o=65535&(i=435*o),r=65535&(s+=i>>>16),d=l+((c+=s>>>16)>>>16)&65535,a=65535&c,o^=63&t|128),s=435*r,c=435*a,l=435*d,c+=o<<8,l+=r<<8,o=65535&(i=435*o),r=65535&(s+=i>>>16),d=l+((c+=s>>>16)>>>16)&65535,a=65535&c
24return f[d>>8]+f[255&d]+f[a>>8]+f[255&a]+f[r>>8]+f[255&r]+f[o>>8]+f[255&o]},getUrl:function(e,t){var n=null
25return!t&&"object"==typeof e&&"hostname"in e&&"hash"in e?n=e:(n=document.createElement("a"),"string"==typeof e||e instanceof String?n.href=e:"href"in e?n.href=e.href:"action"in e&&(n.href=e.action)),n},setUrl:function(e,t){return e!==t&&("href"in t&&(t=t.href),"href"in e?e.href=t:"action"in e&&(e.action=t)),t},fnmatch:function(e,t){return e=e.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/\\\\\.\*/g,"*").replace(/\?/g,".").replace(/\\\\\.\*/g,"?"),new RegExp("^"+e+"$","").test(t)},isTopLevel:function(){try{var e=window.top
26return window===e||window.self===e}catch(t){return!1}},wrapProperty:function(e,t,n){for(var i,o,s,r=null,c=e,a=0;a<10&&c&&(r=Object.getOwnPropertyDescriptor(c,t))===undefined;++a)c=Object.getPrototypeOf(c)
27if(!r)return!1
28"function"==typeof n.get&&(i=r.get,r.get=function(){return n.get.call(this,i)}),"function"==typeof n.set&&(o=r.set,r.set=function(e){return n.set.call(this,e,o)}),"function"==typeof n.value&&(s=r.value,r.value=function(){return n.value.apply(this,[s].concat(h(arguments)))})
29try{return Object.defineProperty(e,t,r),!0}catch(l){return!1}},skipAnimationFrame:function(e){window.requestAnimationFrame(function(){window.requestAnimationFrame(e)})},supportsInert:function(){return"HTMLElement"in window&&"inert"in HTMLElement.prototype}}
30function i(e,t,n){delete e.init,p.assign(this,e),this.urlConsent=t,this.nonce=n?n.nonce||n.getAttribute("nonce"):null,this.init()}Object.defineProperties(p,{now:{enumerable:!0,get:function(){return"now"in Date?Date.now():(new Date).getTime()}}}),i.prototype={constructor:i,initialized:!1,widgetInitialized:!1,shouldReport:!1,container:null,modals:{controlPanel:null,cookieDeclarationTable:null,details:null,widget:null},settingsSavedOnce:!1,urlConsent:null,widgetUrl:null,ownHeadElements:[],highPriorityEventHandlers:{},internalEventHandlers:{},cookies:{consent:"ccm_consent"},accountWideConsentType:{acceptAll:"1",decline:"0"},ucid:p.hash(String(p.now)+String(Math.random()).substring(1)),clickedButton:null,consentState:{},saving:!1,saveSettingsFunctionQueue:[],tcfDependantFunctionQueue:[],embeddingsEmbedded:[],loadingModal:!1,forceOpenWidget:!1,optOutMode:!1,optInModeHidden:!1,requiresConsentUpdate:!1,consentShareChannels:[],dynamicStorageNamespace:!1,domWatcher:null,iframes:[],iframeConsentDomains:[],iframeConsentSwitchMap:{},blockableScripts:[],blockedImages:[],scriptLoaderQueue:[],scriptLoaderRunning:!1,foundScriptCookies:{},inEval:!1,focusStack:[],tasksRunning:{},prefetchedForLocale:null,appendCrossDomainConsent:function(e){this.getBaseDomain(window.location.hostname)
31var t=p.getUrl(e,!0),n=this.withCrossDomainConsent(p.getUrl(e,!0))
32n.hash!==t.hash&&(p.setUrl(e,n),window.setTimeout(function(){p.setUrl(e,t)},100))},withCrossDomainConsent:function(e){var t,n=this.getBaseDomain(window.location.hostname),i=e
33return(e=p.getUrl(e,!1))&&this.consentGiven()&&(t=this.getBaseDomain(e.hostname))&&t!==n&&!/(^#?|&)CCM19consent=/.test(e.hash)?(e.hash?e.hash+="&"+this.buildCrossDomainConsent():e.hash="#"+this.buildCrossDomainConsent(),"string"==typeof i?e.href:e):i},buildCrossDomainConsent:function(){var e,t,n=this.getConsentStorage(),i=""
34return n&&"updated"in n&&(e=n.updated/10-1609459200|0,t="embeddings"in n?n.embeddings:[],this.accountWideConsentSharing&&this.clickedButton in this.accountWideConsentType&&(t=[this.accountWideConsentType[n.clickedButton]]),i=(p.now/1e3/60|0).toString(36)+"|"+e.toString(36)+"|"+this.getUniqueCookieId()+"|"+t.join("|")),"CCM19consent="+i},getCategorizedBaseDomain:function(e){for(var t=this.consentShareDomains,n=this.accountWideConsentSharing?this.accountWideConsentSharingDomains:[],e=e.replace(/\.+$/,""),i=0;i<t.length;++i)if(e==(o=t[i])||-1!=e.indexOf("."+o,e.length-o.length-1))return{domain:o,sameDomain:!0,sameAccount:!0}
35for(var o,i=0;i<n.length;++i)if(e==(o=n[i])||-1!=e.indexOf("."+o,e.length-o.length-1))return{domain:o,sameDomain:!1,sameAccount:!0}
36return{domain:null,sameDomain:!1,sameAccount:!1}},getBaseDomain:function(e){var t=this.getCategorizedBaseDomain(e)
37return t.sameDomain||this.accountWideConsentSharing&&this.clickedButton in this.accountWideConsentType&&t.sameAccount?t.domain:null},isConsentShareDomain:function(e){return e="string"==typeof e?e:window.location.hostname,!!this.getBaseDomain(e)},checkIsExternal:function(e){var t,n
38return!!e&&!((t=e.search("//"))<0||16<t||"data:"===(t=p.getUrl(e)).protocol||t.hostname===location.hostname||this.getBaseDomain(t.hostname)||(n=(n=(n=location.hostname).replace(/\.$/,"")).replace(/^.*\.([^.]+\.[^.]+)$/,"$1"),n=new RegExp("\\b"+n.replace(/([.\\])/g,"\\$1")+"$"),-1!==t.hostname.search(n))||p.fnmatch(this.selfUrlPattern,e))},checkIsCloakedScript:function(e){return this.detectCloakedScripts&&("text/plain"==e.type.toLowerCase()&&e.dataset.cookieconsent||"text/plain"==e.type.toLowerCase()&&e.dataset.usercentrics||"text/plain"==e.type.toLowerCase()&&e.classList.contains("cmplazyload")&&(e.dataset.cmpPurpose||e.dataset.cmpVendor))},checkIsBlockableScript:function(e){return p.isJavaScript(e)||"text/x-ccm-loader"==e.type.toLowerCase()&&!e.dataset.ccmLoaderGroup||"text/x-magento-init"==e.type.toLowerCase()||this.checkIsCloakedScript(e)},checkIsManipulatedClick:function(e){return!this.jsApiFeatures.embeddingConsentState&&this.manipulationPrevention&&p.isManipulatedClick(e)},getCookies:function(){return document.cookie.split(";").filter(function(e){return 0<e.trim().length}).map(function(e){var t=e.trim().split("=")
39return{name:t[0],value:t[1]}})},getCookie:function(n,e){if(this.isPreview&&n==this.cookies.consent)return{}
40var i=this,t=null,o=e!==undefined?e:this.consentStorageMethod
41if("sessionStorage"in window&&"getItem"in window.sessionStorage&&null!==(t=window.sessionStorage.getItem(n)))try{return JSON.parse(t)}catch(s){if("sessionStorage"==o)return{}}if("localStorage"==o&&"localStorage"in window&&"getItem"in window.localStorage&&null!==(t=window.localStorage.getItem(n)))try{return JSON.parse(t)}catch(s){return{}}return"cookie"!=o&&"localStorage"in window&&"sessionStorage"in window?{}:(n==this.cookies.consent&&this.tidyConsentStorage(),this.getCookies().reduce(function(e,t){try{return t.name===n?i.decodeCookieValue(t.value):e}catch(s){return{}}},null))}
41,setCookie:function(e,t,n){if(e===undefined||t===undefined)throw new Error("Undefined name or value not allowed for cookies.")
42var i,o="method"in(n="object"==typeof n?n:{})?n.method:this.consentStorageMethod
43return"sessionStorage"==o&&"sessionStorage"in window&&"setItem"in window.sessionStorage?(window.sessionStorage.setItem(e,JSON.stringify(t)),null!==window.sessionStorage.getItem(e)):"localStorage"==o&&"localStorage"in window&&"setItem"in window.localStorage?(window.localStorage.setItem(e,JSON.stringify(t)),null!==window.localStorage.getItem(e)):(o=[e+"="+this.encodeCookieValue(t)],(i=this.getBaseDomain(location.hostname))&&o.push("domain="+i),n.path&&o.push("path="+n.path),n.expires&&o.push("expires="+n.expires),n.sameSite?o.push("SameSite="+n.sameSite):o.push("SameSite=Lax"),n.secure&&o.push("Secure"),n.partitioned&&o.push("Partitioned"),document.cookie=o.join(";"),document.cookie&&-1!==document.cookie.indexOf(o[0]))},encodeCookieValue:function(e){return encodeURIComponent(btoa(JSON.stringify(e)))},decodeCookieValue:function(e){return JSON.parse(atob(decodeURIComponent(e)))},isBotBrowser:function(){return/(bot\b|BOT\b|Bot\b|BingPreview| \(\+http)|[a-z]-Google\b/.test(navigator.userAgent)},isDoNotTrackEnabledInBrowser:function(){return navigator.globalPrivacyControl&&1==navigator.globalPrivacyControl||window.doNotTrack&&1==window.doNotTrack||navigator.doNotTrack&&[1,"1","yes"].includes(navigator.doNotTrack)||navigator.msDoNotTrack&&1==navigator.msDoNotTrack||"object"==typeof window.external&&"msTrackingProtectionEnabled"in window.external&&window.external.msTrackingProtectionEnabled()||!1},sendBeacon:function(e,t){this.ajax(e,{method:"POST",body:t})},ajax:function(e,t){var n=(t="object"==typeof t?t:{}).body,i="boolean"!=typeof t["async"]||t["async"],o=t.method||"GET",s=new a.XMLHttpRequest,r=this
44if(s.onreadystatechange=function(){4==this.readyState&&(200<=this.status&&this.status<=205?"function"==typeof t.success&&t.success.call(r,this.responseText,this.status,s):"function"==typeof t.failure&&t.failure.call(r,this.status,s),"function"==typeof t.done)&&t.done.call(r)},s.open(o,e,i),["POST","PUT","PATCH"].includes(o)&&("application/json"===(i=t.contentType||"application/x-www-form-urlencoded")&&(n=JSON.stringify(n)),s.setRequestHeader("Content-Type",i)),"headers"in t)for(var c in t.headers)s.setRequestHeader(c,t.headers[c]+"")
45a.xhr.send.call(s,n)},injectCss:function(){var n=this
46this.cssFiles.forEach(function(e){var t=document.createElement("LINK")
47n.nonce&&t.setAttribute("nonce",n.nonce),t.setAttribute("href",e),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),n.ownHeadElements.push(t),document.head.appendChild(t)})},injectJs:function(){var n=this.nonce
48this.jsFiles.forEach(function(e){var t=document.createElement("SCRIPT")
49t["async"]=!0,n&&t.setAttribute("nonce",n),t.setAttribute("src",e),t.setAttribute("data-ccm-injected","true"),document.head.appendChild(t)})},initTcfStub:function(){var t,n,i,e
50this.tcfData.enabled&&window.__tcfapi===undefined&&("adsbygoogle"in window||(window.adsbygoogle=[]),window.adsbygoogle.pauseAdRequests=1,t=[],n=this.isConsentRequired(),i=function i(){if(0==arguments.length)return t.splice(0)
51if("ping"===arguments[0]){var e={gdprApplies:n,cmpLoaded:!1,apiVersion:"2.3",cmpStatus:"stub",displayStatus:"hidden"}
52if(!arguments[2])return e
53arguments[2](e,!0)}else t.push(h(arguments))},(e=document.createElement("iframe")).id="ccm-tcf-locator",e.style.display="none",e.style.visibility="hidden",e.style.width="0",e.style.height="0",e.name="__tcfapiLocator",window.frames.__tcfapiLocator||(window.__tcfapi=i,window.addEventListener("message",function(n){try{var e="string"==typeof event.data?JSON.parse(event.data):event.data}catch(t){e=null}var i
54e&&"object"==typeof e&&"__tcfapiCall"in e&&"object"==typeof e.__tcfapiCall&&(i=e.__tcfapiCall,window.__tcfapi(i.command,i.version,function(e,t){t===undefined&&"boolean"==typeof e&&(t=e,e=undefined),n.source.postMessage({__tcfapiReturn:{returnValue:e,success:t,callId:i.callId}},n.origin)},i.parameter))},!1),document.body?document.body.append(e):window.addEventListener("DOMContentLoaded",function(){document.body.append(e)})))},injectPlugins:function(){var i=this,o=(window.Ccm19Plugins=window.Ccm19Plugins||{},Object.create(null,{addEventListener:{enumerable:!0,value:function(e,t){if("function"!=typeof t)throw new TypeError("[CCM19] Wrong data type, function expected.")
55i.internalEventHandlers[e]=i.internalEventHandlers[e]||[],i.internalEventHandlers[e].push(t),"widgetInitialized"==e&&i.widgetInitialized&&t()}}})),s=Object.create(null,{initialized:{enumerable:!0,get:function(){return i.widgetInitialized}},closeAllModals:{enumerable:!0,value:this.closeAllModals.bind(this)},saveSettings:{enumerable:!0,value:function(){this.initialized&&i.saveSettings()}},setEmbeddingConsentState:{enumerable:!0,value:function(e,t){var n={}
56n[e]=t,i.setEmbeddingConsentState(n,!1)}},showEmbeddingDetails:{enumerable:!0,value:function(e){this.initialized&&i.showEmbeddingDetails(e)}},isEmbeddingActiveForCurrentLocation:{enumerable:!0,value:function(e){return i.repository.propertyIsEnumerable(e)&&i.isEmbeddingActiveForCurrentLocation(i.repository[e])}},executeJavascriptCode:{enumerable:!0,value:function(e){var t=document.createElement("SCRIPT")
57i.nonce&&t.setAttribute("nonce",i.nonce),t.textContent=e,t["async"]=!1,i.executeScriptQueue([t])}}})
58this.plugins.forEach(function(n){var e,t
59n.script?(e=(e=n.script).replace(/&lang=[^&]+/,"&lang="+encodeURIComponent(i.locale)),(t=document.createElement("SCRIPT"))["async"]=!0,i.nonce&&t.setAttribute("nonce",i.nonce),t.setAttribute("src",e),t.setAttribute("data-ccm-injected","true"),t.addEventListener("error",function(){n.loaded=!0}),t.addEventListener("load",function(){var e=window.Ccm19Plugins[n.name]
60if("function"==typeof e){try{n.instance=new e(s,o)}catch(t){console.error('[CCM19] Error while initializing plugin "%s": %s',n.name,t)}delete window.Ccm19Plugins[n.name]}n.loaded=!0}),document.head.appendChild(t)):n.loaded=!0})},isAllPluginsLoaded:function(){return this.plugins.reduce(function(e,t){return e&&!!t.loaded},!0)},dispatchInternalEvent:function(e,t){(this.internalEventHandlers[e]||[]).forEac
60h(function(e){e(t)})},initPlatformDependentComponents:function(){var e=document.createElement("DIV"),t=(e.style.boxSizing="border-box",e.style.display="block",e.style.position="fixed",e.style.top="-9999px",e.style.left="-9999px",e.style.width="320px",e.style.height="240px",e.style.visibility="hidden",e.style.overflowX="scroll",e.style.overflowY="scroll",document.body.appendChild(e),e.offsetWidth-e.clientWidth),n=e.offsetHeight-e.clientHeight
61document.body.removeChild(e),document.documentElement.style.setProperty("--ccm--scrollbar-width",t+"px"),document.documentElement.style.setProperty("--ccm--scrollbar-height",n+"px")},executeScriptQueue:function(c,a){var l=this,d=!1
62c.forEach(function(e,t){if(!d){var n=e.ccmOriginalNode||e,i="text/x-ccm-loader"==e.type&&e.dataset.ccmLoaderSrc||e.src,o="text/x-ccm-loader"==e.type&&"true"===e.dataset.ccmLoaderModule||"module"==e.type
63if("text/x-ccm-loader"==e.type||l.checkIsCloakedScript(e)){if(e===n&&!p.isVisibleDOMNode(n))return
64var s=e.cloneNode(!0)
65l.nonce&&s.setAttribute("nonce",l.nonce),o?s.type="module":s.removeAttribute("type"),s["async"]=e.hasAttribute("async"),"text/plain"==e.type.toLowerCase()&&e.classList.contains("cmplazyload")&&(!i&&e.dataset.cmpSrc&&(i=e.dataset.cmpSrc),s.classList.remove("cmplazyload"),s.removeAttribute("data-cmp-purpose"),s.removeAttribute("data-cmp-src"),s.removeAttribute("data-cmp-vendor")),e=s,i&&(e.removeAttribute("data-ccm-loader-module"),e.removeAttribute("data-ccm-loader-src"),e.setAttribute("src",i))}if(e.hasAttribute("src")||0==l.evalInlineScripts){o=document.createElement("SCRIPT")
66o.setAttribute("data-ccm-injected","true"),l.nonce&&o.setAttribute("nonce",l.nonce),p.applyAttributes(o,e),i||(o.textContent=e.textContent),o["async"]=e["async"],i&&(n!==e&&(o.addEventListener("error",s=function(e){p.triggerCustomEvent(n,e.type)}),o.addEventListener("load",s)),e["async"]||(o.addEventListener("error",i=function(){l.executeScriptQueue(c.slice(t+1),a)}),o.addEventListener("load",i),d=!0)),p.isVisibleDOMNode(n)?n.parentElement.insertBefore(o,n):(document.body||document.head).appendChild(o),n.type="text/x-unblocked-script"}else try{l.inEval=!0,p.isJavaScript(e)&&eval.call(window,e.textContent),l.inEval=!1}catch(r){l.inEval=!1,console.error("[CCM19] Script execution: ("+r.name+") "+r.message)}}}),d||"ScriptLoader"!=a||(this.scriptLoaderRunning=!1,this.executeScriptLoaderQueue())},executeScriptLoaderQueue:function(){var e
67this.scriptLoaderRunning||0==this.scriptLoaderQueue.length||(this.scriptLoaderRunning=!0,e=this.scriptLoaderQueue,this.scriptLoaderQueue=[],this.executeScriptQueue(e,"ScriptLoader"))},isEmbeddingActiveForCurrentLocation:function(e){return e.excludeUrls.reduce(function(e,t){var n="*"==t.charAt(t.length-1)
68return t=n?t.substr(0,t.length-1):t,e||0==location.href.indexOf(t)&&(n||location.href.length==t.length)},!1)==(e.excludeUrlsMode==this.consts.MODE_WHITELIST)},embedEmbedding:function(t){var n=this
69if(!this.embeddingsEmbedded.includes(t.id)&&(this.embeddingsEmbedded.push(t.id),0!=this.isEmbeddingActiveForCurrentLocation(t))){for(var e=document.createElement("DIV"),i=(e.innerHTML=t.code,[]);0<e.children.length;){var o=e.removeChild(e.firstElementChild)
70"SCRIPT"===o.tagName?(""==o.src&&p.isJavaScript(o)&&o.appendChild(document.createTextNode("\n//# sourceURL=#embedding:"+encodeURIComponent(t.name))),o["async"]=o.hasAttribute("async"),i.push(o)):document.body.appendChild(o)}p.triggerCustomEvent(window,"ccm19EmbeddingAccepted",{name:t.name,code:t.code,purpose:t.purpose,mandatory:t.mandatory}),this.triggeringExtGtmEvents&&this.triggerTagManagerEvent("CCM19.embeddingAccepted",{id:t.id,name:t.name}),this.blockableScripts.forEach(function(e){e.ccmEmbeddings&&e.ccmEmbeddings.includes(t.id)&&e.ccmEmbeddings.reduce(function(e,t){return e&&n.embeddingsEmbedded.includes(t)},!0)&&i.push(e)})
71var s=this.getEmbeddingsWithConsent().map(function(e){return e.id})
72this.iframes.forEach(function(e){var t=e.ccm19BlockedByEmbeddings||[]
730<t.length&&t.reduce(function(e,t){return e&&s.includes(t)},!0)&&n.restoreIframe(e)}),this.blockedImages.forEach(function(e){(e.ccm19BlockedByEmbeddings||[]).reduce(function(e,t){return e&&n.embeddingsEmbedded.includes(t)},!0)&&n.restoreImage(e)}),i=i.filter(function(e){return!e["async"]&&!e.defer}).concat(i.filter(function(e){return!e["async"]&&e.defer})).concat(i.filter(function(e){return e["async"]})),this.executeScriptQueue(i),this.dispatchInternalEvent("embeddingLoaded",t.id)}},jumpTo:function(n,e){(e=e||window.event)&&e.preventDefault(),window.requestAnimationFrame(function(){var e,t=document.getElementById(n)
74t&&(t.scrollIntoView&&t.scrollIntoView(),(t=-1==(e=(e=t).firstElementChild&&-1!=["P","DIV"].indexOf(t.firstElementChild.tagName)?t.firstElementChild:e).tabIndex)&&(e.tabIndex=0),e.focus({preventScroll:!0}),t)&&(e.tabIndex=-1)})},onFocusIn:function(e){var t,n,i,o,s,r,c=document.querySelectorAll(".ccm-root > .ccm-modal.ccm-show"),c=c[c.length-1]
75!c||this._ignoreFocused&&this._ignoreFocused===e.target||(t=document.getElementById("ccm-focus-helper--top"),n=document.getElementById("ccm-focus-helper--bottom"),t.previousSibling&&document.body.insertBefore(t,document.body.firstChild),n.nextSibling&&document.body.appendChild(n),i=p.getContainingModal(e.relatedTarget),p.getContainingModal(e.target)!==c&&(r=p.focusableElements(c),o=c.querySelector(".ccm-modal-inner"),s=r[0],(r=r[r.length-1])==e.relatedTarget||e.target===t?(s.focus(),o&&o.focus()):s==e.relatedTarget||e.relatedTarget===o||e.target===n?r.focus():i===c?e.relatedTarget.focu
75s():s.focus({preventScroll:!0}),e.preventDefault()))},onTabKeyDown:function(e){var t,n,i
769===e.keyCode&&(n=(n=document.querySelectorAll(".ccm-root > .ccm-modal.ccm-show"))[n.length-1])&&(t=n.querySelector(".ccm-modal-inner"),n=p.focusableElements(n),!e.shiftKey||e.target!=n[0]&&e.target!=t?e.shiftKey||e.target!=n[n.length-1]||(i=document.getElementById("ccm-focus-helper--bottom"),(this._ignoreFocused=i).focus({preventScroll:!0}),this._ignoreFocused=null):(i=document.getElementById("ccm-focus-helper--top"),(this._ignoreFocused=i).focus({preventScroll:!0}),this._ignoreFocused=null))},onTabKeyDownOnce:function(e){var t,n
779===e.keyCode&&(n=(n=e.currentTarget)||(t=document.querySelectorAll(".ccm-root > .ccm-modal.ccm-show"))[t.length-1])&&(n.removeEventListener("keydown",this.onTabKeyDownOnce,{capture:!0,passive:!0}),n.classList.add("ccm--tab-used"))},onWindowResize:function r(){requestAnimationFrame(function(e){window.innerHeight,window.innerWidth,r.lastTs!==undefined&&e<=r.lastTs||(r.lastTs=e)})},onJavaScriptApiLinkClicked:function(e,t){try{var n=t.href.replace(/^.*#CCM\./,"")
78n in window.CCM&&"function"==typeof window.CCM[n]&&(window.CCM[n](),e.preventDefault())}catch(i){}},registerJavaScriptApiHandler:function(e){e instanceof HTMLAnchorElement&&0==e.hash.indexOf("#CCM.")&&this.addHighPriorityEventListener("click",e,this.onJavaScriptApiLinkClicked)},registerJavaScriptApiHandlers:function(){var t=this
79h(document.body.querySelectorAll('a[href^="#CCM."]')).forEach(function(e){t.addHighPriorityEventListener("click",e,t.onJavaScriptApiLinkClicked)})},onSettingsIconClicked:function(e){(e=e||window.event).preventDefault(),e.stopImmediatePropagation(),this.hideSettingsIcon(),"main"===this.settingsIconTarget?this.openWidget():this.openControlPanel()},showSettingsIcon:function(){0==this.settingsIconEnabled||0==this.isActive||0==this.widgetInitialized||this.partOfAdAndTrackingFreeNetwork||this.isModalActive()||h(this.container.querySelectorAll(".ccm-settings-summoner")).forEach(function(e){e.classList.remove("ccm-hide"),e.classList.add("ccm-show"),e.hidden=!1,p.supportsInert()?e.inert=!1:e.style.display=""})},hideSettingsIcon:function(){0!=this.settingsIconEnabled&&h(this.container.querySelectorAll(".ccm-settings-summoner")).forEach(function(e){e.classList.remove("ccm-show"),e.classList.add("ccm-hide"),e.hidden=!0,p.supportsInert()?e.inert=!0:e.style.display="none"})},updateBlocking:function(){var e,t
80p.isDocumentReady()&&(e=this.getActiveModals(),t=e.reduce(function(e,t){return e||t.classList.contains("ccm--is-blocking")},!1),p.toggleClass(document.documentElement,"ccm-blocked",t),p.toggleClass(document.body,"ccm-blocked",t),e.length&&(e.slice(0,-1).forEach(function(e){e.inert=t}),e[e.length-1].inert=!1),0<e.length?this.hideSettingsIcon():this.showSettingsIcon(),p.supportsInert()?t?p.skipAnimationFrame(function(){h(document.body.children).forEach(function(e){0===e.id.indexOf("ccm-focus-helper")||e.classList.contains("ccm-root")||(e.hasAttribute("data-ccm-orig-inert")||e.setAttribute("data-ccm-orig-inert",+e.inert),e.inert=!0)})}):p.skipAnimationFrame(function(){h(document.body.querySelectorAll("[data-ccm-orig-inert]")).forEach(function(e){e.inert=!!+e.getAttribute("data-ccm-orig-inert"),e.removeAttribute("data-ccm-orig-inert")})}):document.body.classList.contains("ccm-blocked")?this.captureFocus():this.endCaptureFocus())},isModalActive:function(){return 0<this.getActiveModals().length},getActiveModals:function(){return h(this.container.getElementsByClassName("ccm-modal")).filter(function(e){return e.classList.contains("ccm-show")})},showModal:function(e,t,n){var i,o,s
81null!=e&&0!=e.classList.contains("ccm-modal")&&(this.focusStack.push(window.event?window.event.currentTarget:window.activeElement),"ccm-control-panel"==e.id&&this.prefetchDetails(),h(e.querySelectorAll("div.ccm--h1")).forEach(function(e){e.setAttribute("role","heading"),e.setAttribute("aria-level","2")}
81),h(e.querySelectorAll("div.ccm--h2")).forEach(function(e){e.setAttribute("role","heading"),e.setAttribute("aria-level","3")}),h(e.querySelectorAll(".ccm--h3")).forEach(function(e){e.setAttribute("role","heading"),e.setAttribute("aria-level","4")}),h(e.querySelectorAll(".ccm--h4")).forEach(function(e){e.setAttribute("role","heading"),e.setAttribute("aria-level","5")}),h(e.querySelectorAll(".ccm--p")).forEach(function(e){e.setAttribute("role","paragraph")}),t="boolean"!=typeof t||t,e.classList.contains("ccm-details")&&(i=this.getUniqueCookieId().substr(0,16),h(e.getElementsByClassName("ccm-user-info--ucid--value")).forEach(function(e){e.textContent=i})),0==this.isModalActive()&&(p.triggerCustomEvent(window,"ccm19WidgetOpened"),window.addEventListener("resize",this.onWindowResize),this.logOpenData()),this.consentGiven()&&(h(e.querySelectorAll("button[data-ccm-reopen-text]")).forEach(function(e){var t=e.innerText
82e.getAttribute("data-ccm-reopen-text")&&(e.innerText=e.getAttribute("data-ccm-reopen-text"),e.removeAttribute("data-ccm-reopen-text"),e.setAttribute("data-ccm-original-text",t))}),h(e.querySelectorAll(".ccm--reopen-only")).forEach(function(e){e.classList.remove("ccm--reopen-only")})),e.addEventListener("keydown",this.onTabKeyDownOnce,{capture:!0,passive:!0}),e.classList.add("ccm-show"),e.removeAttribute("hidden"),e.style.display="",p.enableButtons(e),t&&this.updateBlocking(),this.onWindowResize(),e!==this.modals.cookieDeclarationTable&&this.hideModal(this.modals.cookieDeclarationTable),-1!==n)&&(s=location.hash.match(/^#[a-z][a-z0-9-]*$/),o=e.getElementsByTagName("button"),-1==(s=(s=(s?e.querySelector(s):null)||(null!==n&&n!==undefined?p.focusableElements(e)[n]:null)||e.querySelector('[role="document"][tabindex]')||(1===o.length?o[0]:null))||e).tabIndex&&s.children.length,-1==s.tabIndex?(s.tabIndex=0,s.focus({preventScroll:!0}),s.tabIndex=-1):s.focus({preventScroll:!0}))},loadModal:function(i,e={}){const o=(e="object"==typeof e&&null!==e?e:{})?.jumpTo,s=!("show"in e&&!e.show&&!o),r="function"==typeof e.onLoad?e.onLoad:null
83var t=document.getElementById(i)
84t?s&&(this.showModal(t),o)&&window.requestAnimationFrame(function(){var e=document.getElementById(o)
85e&&e.scrollIntoView&&e.scrollIntoView()}):(t={"ccm-cookie-declaration-table":this.cookieDeclarationUrls[this.locale],"ccm-details":this.detailsUrls[this.locale]}[i])&&!this.loadingModal&&(this.loadingModal=!0,document.documentElement.classList.add("ccm--is-loading"),this.ajax(t,{method:"GET",success:function(e){var t=document.createElement("DIV")
86for(t.innerHTML=e;0<t.children.length;)this.container.appendChild(t.removeChild(t.firstElementChild))
87this.registerControls(),this.updateConsentState()
88var n=document.getElementById(i)
89n&&(r&&r(n),s)&&(this.showModal(n),o)&&this.jumpTo(o)},failure:function(e){console.warn('[CCM19] Error while loading modal "'+i+'". ('+e+")")},done:function(){this.loadingModal=!1,document.documentElement.classList.remove("ccm--is-loading")}}))},hideModal:function(e,t){if(null!=e&&0!=e.classList.contains("ccm-modal")){t="boolean"!=typeof t||t
90var n,i,o,s=e.classList.contains("ccm-show")
91e.classList.remove("ccm-show"),e.setAttribute("hidden",""),e.style.display="none",p.disableButtons(e),s&&0==this.isModalActive()&&(window.removeEventListener("resize",this.onWindowResize),this.callAsSoonAsSavingSettingsIsDone(function(){p.triggerCustomEvent(window,"ccm19WidgetClosed")})),h(e.querySelectorAll("div.ccm--h1,div.ccm--h2,div.ccm--h3,.ccm--h4,div.ccm-p")).forEach(function(e){e.removeAttribute("role"),e.removeAttribute("aria-level")}),e.removeEventListener("keydown",this.onTabKeyDownOnce,{capture:!0,passive:!0}),e.classList.remove("ccm--tab-used"),t&&this.updateBlocking()
92try{this.focusStack.length&&(n=this.focusStack.pop(),i=window.activeElement,n&&"tabIndex"in n?n.focus({preventScroll:!0}):0==this.focusStack.length&&i&&this.container.contains(i)&&((o=document.createElement("div")).style.position="fixed",o.style.left="0",o.style.right="0",o.style.height="0",o.style.maxHeight="0",o.background="transparent",o.border="0 none transparent",o.tabIndex=0,o.style.top="0",o.id="ccm-focus-helper",o.ariaHidden=!0,document.body.insertBefore(o,document.body.firstChild),o.focus({preventScroll:!0}),requestAnimationFrame(function(){o.blur(),document.body.removeChild(o)})))}catch(r){}}},closeAllModals:function(){var t=this
93h(this.container.getElementsByClassName("ccm-modal")).forEach(function(e){t.hideModal.call(t,e,!1)}),this.updateBlocking()},showEmbeddingDetails:function(e){this.openDetailsWindow("ccm-cookie-details-"+e)},showPurposeDetails:function(e){this.openDetailsWindow("ccm-purpose-details-"+e)},openDetailsWindow:function(e){this.loadModal("ccm-details",{jumpTo:e,onLoad:e=>{this.modals.details=e}})},closeDetailsWindow:function(){this.hideModal(this.modals.details)},openControlPanel:function(){this.showModal(this.modals.controlPanel)},closeControlPanel:function(){this.hideModal(this.modals.controlPanel)},openWidget:function(e){this.isActive&&this.showModal(this.modals.widget,!0,e)},openOrDelayWidget:function(t){const n=e=>{this.openWidget(t),o()},i={capture:!0,once:!0,passive:!0},o=()=>{e&&(window.clearTimeout(e),e=null),this.widgetDelayUntilEvents.forEach(e=>{document.removeEventListener(e,n,i)})}
94let s=!1,e=null
950<this.widgetDelayInMilliseconds&&(e=window.setTimeout(n,this.widgetDelayInMilliseconds),s=!0),this.widgetDelayUntilEvents.forEach(e=>{document.addEventListener(e,n,i),s=!0}),s||this.openWidget(t)},closeWidget:function(){this.hideModal(this.modals.widget)},openCookieDeclarationTable:function(){this.loadModal("ccm-cookie-declaration-table",{onLoad:e=>{this.modals.cookieDeclarationTable=e,this._updateCookieDeclarationInner(e,e.getAttribute("lang")),this.registerCookieDeclarationControls(e)}})},closeCookieDeclarationTable:function(){this.hideModal(this.modals.cookieDeclarationTable)},onModalCloseButtonClicked:function(e){for(var t=(e=e||window.event).target;null!==t&&0==t.classList.contains("ccm-modal");)t=t.parentElement
96this.hideModal(t)},switchLocale:function(e){if(e in this.widgetUrls){var t=this,n=(this.locale=e,this.widgetUrl=this.widgetUrls[e],this.modals.widget&&this.modals.widget.classList.add("ccm-widget--loading"),this.isModalActive()),i=null
97if(document.activeElement&&n)for(var o=p.focusableElements(this.modals.widget),s=document.activeElement,r=0;r<o.length;++r)if(o[r]===s){i=r
98break}this.build(function(){n&&t.openWidget(i)})}else console.error('[CCM19] Could not switch to unknown locale "'+e+'"')},setLocaleUsingLangAttribute:function(){var e=String(document.documentElement.lang).toLowerCase(),i={},n=(Object.keys(this.widgetUrls).forEach(function(e){var t=e.replace(/_/g,"-").toLowerCase(),n=t.split("-")[0]
99i[t]=e,i[n]=e}),this.langAliases),e=(Object.keys(n).forEach(function(e){var t=n[e]
100t in i&&!(e in i)&&(i[e]=i[t])}),i[e]||i[e.split("-")[0]]||null)
101e&&(this.locale=e,this.widgetUrl=this.widgetUrls[e])},setLocaleFromBrowserPreference:function(){for(var e=("languages"in navigator?navigator.languages:[navigator.userLanguage||navigator.language,navigator.language]),i={},n=(Object.keys(this.widgetUrls).forEach(function(e){var t=e.replace(/_/g,"-").toLowerCase(),n=t.split("-")[0]
102i[t]=e,n in i||(i[n]=e)}),this.langAliases),t=(Object.keys(n).forEach(function(e){var t=n[e]
103t in i&&!(e in i)&&(i[e]=i[t])}),null),o=0;o<e.length;++o){var s=e[o]
104if(null!==(t=i[s]||i[s.split("-")[0]]||null))break}t&&(this.locale=t,this.widgetUrl=this.widgetUrls[t])},getLocalizedString:function(e){return this.l10n[this.locale][e]||""},dismissTemporarily:function(e){e="boolean"!=typeof e||e,this.consentGiven()||(this.saveSettingsInternal(this.getUniqueCookieId(),!0,[],{},"temporary"),e&&(this.clickedButton="decline",this.logConsentSettings()),this.reloadOnConsentSettingsSaved&&window.location.reload()),this.closeAllModals()},getEmbeddingsWithConsent:function(t){return t="boolean"!=typeof t||t,this.repository.filter(function(e){return e.consent==t})},getEmbeddingsWithScriptFilterMatch:function(n,i){var t=this
105return Object.keys(this.blockEmbeddingScriptMarkers).map(function(e){return t.repository[e]}).filter(function(e){return!!e}).filter(function(e){return t.isEmbeddingActiveForCurrentLocation(e)}).filter(function(e){return t.blockEmbeddingScriptMarkers[e.id].reduce(function(e,t){return e||n.includes(t)||i&&i.src.includes(t)},!1)})},getEmbeddingsWithScriptLoaderGroup:function(t){var n=this,e=this.repository.filter(function(e){return e.scriptLoaderGroup==t}).filter(function(e){return n.isEmbeddingActiveForCurrentLocation(e)})
106if(0==e.length)throw new Error("ScriptLoaderGroupNotAssociatedWithAnyEmbeddingException")
107return e},getPurposeCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-purpose]')).filter(function(e){return!e.dataset.embedding})},getEmbeddingCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-embedding]'))},selectAllPurposes:function(){this.setAllPurposes(!0)},selectPurpose:function(t,n){n="partial"!=n&&"boolean"!=typeof n||n,this.getPurposeCheckboxes().forEac
107h(function(e){e.dataset.purpose==t&&(e.checked=!!n,e.indeterminate="partial"==n)}),"boolean"==typeof n&&this.getEmbeddingCheckboxes().forEach(function(e){e.dataset.purpose==t&&(e.checked=n,e.indeterminate=!1)})},selectEmbedding:function(n){this.getEmbeddingCheckboxes().forEach(function(e){e.dataset.embedding==n.id&&(e.checked=n.consent)})
108var e=this.repository.reduce(function(e,t){return t.purpose==n.purpose?!0===e?t.consent||"partial":t.consent?"partial":e:e},n.consent)
109this.selectPurpose(n.purpose,e)},selectedPurposes:function(){return p.uniqueValues(this.getEmbeddingsWithConsent().map(function(e){return e.purpose}))},getTcfPurposesCategoryCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group^="tcf-p-collection-"]'))},getTcfPurposesCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group^="tcf-p--"]'))},selectAllTcfPurposes:function(){for(var e in this.consentState.tcfPurposes)this.consentState.tcfPurposes[e]=!0
110this.getTcfPurposesCheckboxes().forEach(function(e){e.checked=!0,e.indeterminate=!1}),this.updateTcfPurposeGroups()},resetAllTcfPurposes:function(){for(var e in this.consentState.tcfPurposes)this.consentState.tcfPurposes[e]=!1
111this.getTcfPurposesCheckboxes().forEach(function(e){e.checked=!1,e.indeterminate=!1}),this.updateTcfPurposeGroups()},selectedTcfPurposes:function(){var t=this
112return Object.keys(this.consentState.tcfPurposes).filter(function(e){return t.consentState.tcfPurposes[e]}).map(function(e){return parseInt(e)}).sort(function(e,t){return e-t})},presetTcfPurposes:function(){var e=this.getTcfConsentInfo(),t=(this.resetAllTcfPurposes(),this)
113e.p.forEach(function(e){t.consentState.tcfPurposes[e]=!0}),this.updateTcfPurposes()},updateTcfPurposes:function(){var n=this
114this.getTcfPurposesCheckboxes().forEach(function(e){var t=parseInt(e.value)
115e.checked=!!n.consentState.tcfPurposes[t]}),this.updateTcfPurposeGroups()},updateTcfPurposeGroups:function(){var i=this
116this.getTcfPurposesCategoryCheckboxes().forEach(function(e){var t=parseInt(e.value),n=[],t=(t in i.consentState.tcfPurposes&&n.push(!!i.consentState.tcfPurposes[t]),t in i.consentState.tcfLegIntPurposes&&n.push(!!i.consentState.tcfLegIntPurposes[t]),p.partial(n))
117e.checked=!!t,e.indeterminate="partial"==t})},getTcfLegIntPurposesCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group^="tcf-li-p--"]'))},selectAllTcfLegIntPurposes:function(){for(var e in this.consentState.tcfLegIntPurposes)this.consentState.tcfLegIntPurposes[e]=!0
118this.getTcfLegIntPurposesCheckboxes().forEach(function(e){e.checked=!0,e.indeterminate=!1}),this.updateTcfPurposeGroups()},resetAllTcfLegIntPurposes:function(){for(var e in this.consentState.tcfLegIntPurposes)this.consentState.tcfLegIntPurposes[e]=!1
119this.getTcfLegIntPurposesCheckboxes().forEach(function(e){e.checked=!1,e.indeterminate=!1}),this.updateTcfPurposeGroups()},selectedTcfLegIntPurposes:function(){var t=this
120return Object.keys(this.consentState.tcfLegIntPurposes).filter(function(e){return t.consentState.tcfLegIntPurposes[e]}).map(function(e){return parseInt(e)}).sort(function(e,t){return e-t})},presetTcfLegIntPurposes:function(){var e=this.getTcfConsentInfo(),t=(this.resetAllTcfLegIntPurposes(),this)
121e.lip.forEach(function(e){t.consentState.tcfLegIntPurposes[e]=!0}),this.updateTcfLegIntPurposes()},updateTcfLegIntPurposes:function(){var n=this
122this.getTcfLegIntPurposesCheckboxes().forEach(function(e){var t=parseInt(e.value)
123e.checked=!!n.consentState.tcfLegIntPurposes[t]}),this.updateTcfPurposeGroups()},getTcfSpecialFeatureCategoryCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group="tcf-sf"]'))},getTcfSpecialFeatureCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group-parent="tcf-sf"]'))},selectAllTcfSpecialFeatures:function(){for(var e in this.consentState.tcfSpecialFeatures)this.consentState.tcfSpecialFeatures[e]=!0
124this.getTcfSpecialFeatureCheckboxes().concat(this.getTcfSpecialFeatureCategoryCheckboxes()).forEac
124h(function(e){e.checked=!0,e.indeterminate=!1})},resetAllTcfSpecialFeatures:function(){for(var e in this.consentState.tcfSpecialFeatures)this.consentState.tcfSpecialFeatures[e]=!1
125this.getTcfSpecialFeatureCheckboxes().concat(this.getTcfSpecialFeatureCategoryCheckboxes()).forEach(function(e){e.checked=!1,e.indeterminate=!1})},selectedTcfSpecialFeatures:function(){var t=this
126return Object.keys(this.consentState.tcfSpecialFeatures).filter(function(e){return t.consentState.tcfSpecialFeatures[e]}).map(function(e){return parseInt(e)}).sort(function(e,t){return e-t})},presetTcfSpecialFeatures:function(){var e=this.getTcfConsentInfo(),t=(this.resetAllTcfSpecialFeatures(),this)
127e.sf.forEach(function(e){t.consentState.tcfSpecialFeatures[e]=!0}),this.updateTcfSpecialFeatures()},updateTcfSpecialFeatures:function(){var n=this,t=(this.getTcfSpecialFeatureCheckboxes().forEach(function(e){var t=parseInt(e.value)
128e.checked=!!n.consentState.tcfSpecialFeatures[t]}),p.partial(p.objectValues(this.consentState.tcfSpecialFeatures)))
129this.getTcfSpecialFeatureCategoryCheckboxes().forEach(function(e){e.checked=!!t,e.indeterminate="partial"==t})},getTcfVendorThirdPartyCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group="tcf-third-party"]'))},getTcfVendorCategoryCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group="tcf-gvl"]'))},getTcfVendorCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group^="tcf-gvl--"]'))},selectAllTcfVendors:function(){for(var e in this.consentState.tcfVendors)this.consentState.tcfVendors[e]=!0
130this.getTcfVendorCheckboxes().forEach(function(e){e.checked=!0,e.indeterminate=!1}),this.updateTcfVendorGroup()},resetAllTcfVendors:function(){for(var e in this.consentState.tcfVendors)this.consentState.tcfVendors[e]=!1
131this.getTcfVendorCheckboxes().forEach(function(e){e.checked=!1,e.indeterminate=!1}),this.updateTcfVendorGroup()},selectedTcfVendors:function(){var t=this
132return Object.keys(this.consentState.tcfVendors).filter(function(e){return t.consentState.tcfVendors[e]}).map(function(e){return parseInt(e)}).sort(function(e,t){return e-t})},presetTcfVendors:function(){var e=this.getTcfConsentInfo(),t=(this.resetAllTcfVendors(),this)
133e.v.forEach(function(e){t.consentState.tcfVendors[e]=!0}),this.updateTcfVendors()},updateTcfVendors:function(){var n=this
134this.getTcfVendorCheckboxes().forEach(function(e){var t=parseInt(e.value)
135e.checked=!!n.consentState.tcfVendors[t]}),this.updateTcfVendorGroup()},updateTcfVendorGroup:function(){var n,e=this.tcfData.legIntEnabled?this.consentState.tcfVendors:(n=Array.prototype.concat.apply([],this.repository.map(function(e){return Object.keys(e.tcf||{})})),p.filterObject(this.consentState.tcfVendors,function(e,t){return 0==n.includes(t)})),t=p.partial(p.objectValues(e).concat(p.objectValues(this.consentState.tcfLegIntVendors)).concat(p.objectValues(this.consentState.googleAdTechProviders)))
136this.getTcfVendorThirdPartyCheckboxes().forEach(function(e){e.checked=!!t,e.indeterminate="partial"==t}),t=p.partial(p.objectValues(e).concat(p.objectValues(this.consentState.googleAdTechProviders))),this.getTcfVendorCategoryCheckboxes().forEach(function(e){e.checked=!!t,e.indeterminate="partial"==t}),t=p.partial(p.objectValues(this.consentState.tcfLegIntVendors)),this.getTcfLegIntVendorCategoryCheckboxes().forEach(function(e){e.checked=!!t,e.indeterminate="partial"==t})},getTcfLegIntVendorCategoryCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group="tcf-li-gvl"]'))},getTcfLegIntVendorCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group^="tcf-li-gvl--"]'))},selectAllTcfLegIntVendors:function(){for(var e in this.consentState.tcfLegIntVendors)this.consentState.tcfLegIntVendors[e]=!0
137this.getTcfLegIntVendorCheckboxes().forEach(function(e){e.checked=!0,e.indeterminate=!1}),this.updateTcfVendorGroup()},resetAllTcfLegIntVendors:function(){for(var e in this.consentState.tcfLegIntVendors)this.consentState.tcfLegIntVendors[e]=!1
138this.getTcfLegIntVendorCheckboxes().forEach(function(e){e.checked=!1,e.indeterminate=!1}),this.updateTcfVendorGroup()},selectedTcfLegIntVendors:function(){var t=this
139return Object.keys(this.consentState.tcfLegIntVendors).filter(function(e){return t.consentState.tcfLegIntVendors[e]}).map(function(e){return parseInt(e)}).sort(function(e,t){return e-t})},presetTcfLegIntVendors:function(){var e=this.getTcfConsentInfo(),t=(this.resetAllTcfLegIntVendors(),this)
140e.liv.forEach(function(e){t.consentState.tcfLegIntVendors[e]=!0}),this.updateTcfLegIntVendors()},updateTcfLegIntVendors:function(){var n=this
141this.getTcfLegIntVendorCheckboxes().forEach(function(e){var t=parseInt(e.value)
142e.checked=!!n.consentState.tcfLegIntVendors[t]}),this.updateTcfVendorGroup()},getGoogleProviderCheckboxes:function(){return h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group^="gad--"]'))},selectAllGoogleProviders:function(){for(var e in this.consentState.googleAdTechProviders)this.consentState.googleAdTechProviders[e]=!0
143this.getGoogleProviderCheckboxes().forEach(function(e){e.checked=!0,e.indeterminate=!1})},resetAllGoogleProviders:function(){for(var e in this.consentState.googleAdTechProviders)this.consentState.googleAdTechProviders[e]=!1
144this.getGoogleProviderCheckboxes().forEach(function(e){e.checked=!1,e.indeterminate=!1})},selectedGoogleProviders:function(){var t=this
145return Object.keys(this.consentState.googleAdTechProviders).filter(function(e){return t.consentState.googleAdTechProviders[e]}).map(function(e){return parseInt(e)}).sort(function(e,t){return e-t})},disclosedGoogleProviders:function(){return Object.keys(this.consentState.googleAdTechProviders).map(function(e){return parseInt(e)}).sort(function(e,t){return e-t})},presetGoogleProviders:function(){var e=this.getTcfConsentInfo(),e="gad"in e&&e.gad?e.gad:[],t=(this.resetAllGoogleProviders(),this)
146e.forEach(function(e){t.consentState.googleAdTechProviders[e]=!0}),this.updateGoogleProviders()},updateGoogleProviders:function(){var n=this
147this.getGoogleProviderCheckboxes().forEach(function(e){var t=parseInt(e.value)
148e.checked=!!n.consentState.googleAdTechProviders[t]}),this.updateTcfVendorGroup()},gatherGcmInfo:function(i,o){var s=!1,r={},c={initialConsent:!this.consentGiven()}
149return this.repository.forEach(function(n){var e=i.reduce(function(e,t){return e||n.id===t.id},!1)
150if(c["ccm19_"+n.name]=e,n.gcm){s=!0
151for(var t=0;t<n.gcm.length;t++)e?r[n.gcm[t]]="granted":r[n.gcm[t]]===undefined&&o&&(r[n.gcm[t]]="denied")}}),{consentModeUsed:s,consentMode:r,eventData:c}},gatherMsUetInfo:function(i,o){var s=!1,r={}
152return this.repository.forEach(function(n){var e=i.reduce(function(e,t){return e||n.id===t.id},!1)
153if(n.mscm){s=!0
154for(var t=0;t<n.mscm.length;t++)e?r[n.mscm[t]]="granted":r[n.mscm[t]]===undefined&&o&&(r[n.mscm[t]]="denied")}}),{consentModeUsed:s,consentMode:r,eventData:{}}},gatherMsClarityInfo:function(i){var o=!1,s={ad_Storage:"denied",analytics_Storage:"denied"}
155return this.repository.forEach(function(n){var e=i.reduce(function(e,t){return e||n.id===t.id},!1)
156if(n.msclarity){o=!0
157for(var t=0;t<n.msclarity.length;t++)e&&(s[n.msclarity[t]]="granted")}}),{consentModeUsed:o,consentMode:s,eventData:{}}},gatherMatomoInfo:function(t){var i={consent:null,cookieConsent:null}
158return this.repository.forEac
158h(function(n){var e=t.reduce(function(e,t){return e||n.id===t.id},!1)
159n.matomoConsent&&("full"==n.matomoConsent?e?i.consent=!0:null===i.consent&&(i.consent=!1):"cookie"==n.matomoConsent&&(e?i.cookieConsent=!0:null===i.cookieConsent&&(i.cookieConsent=!1)))}),i},loadScripts:function(e){var t,n,i,o;(e="boolean"==typeof e&&e)&&0==this.runMandatoryEmbeddingsWithoutConsent||(n=(t=this).getEmbeddingsWithConsent(),e&&(n=n.filter(function(e){return e.mandatory})),(i=this.gatherGcmInfo(n,!e)).consentModeUsed&&0<Object.keys(i.consentMode).length&&p.sendGTag("consent","update",i.consentMode),(o=this.gatherMsUetInfo(n,!e)).consentModeUsed&&0<Object.keys(o.consentMode).length&&p.sendMsUet("consent","update",o.consentMode),e||(o=this.gatherMsClarityInfo(n)).consentModeUsed&&p.callJsApi("clarity","consentv2",o.consentMode),!0===(o=this.gatherMatomoInfo(n)).consent?p.sendMatomoConfig("setConsentGiven"):!1!==o.consent||e||p.sendMatomoConfig("forgetConsentGiven"),!0===o.cookieConsent?p.sendMatomoConfig("setCookieConsentGiven"):!1!==o.cookieConsent||e||p.sendMatomoConfig("forgetCookieConsentGiven"),n.forEach(function(e){t.embedEmbedding(e)}),this.repository.filter(function(e){return t.embeddingsEmbedded.includes(e.id)}).forEach(function(e){t.blockOrRestoreIframesForEmbedding(e)}),e)||(this.triggerTagManagerEvent("CCM19.consentStateChanged",i.eventData),this.cleanUpClientStorage(!0),this.showSettingsIcon())},getUniqueCookieId:function(){return this.getConsentStorage().ucid||this.ucid},getConsentLanguage:function(){return this.getConsentStorage().lang||""},expandIdRanges:function(e){for(var t=[],n=e.length,i=1;i<n;i+=2)for(var o=e[i-1],s=e[i],r=o;r<=s;++r)t.push(r)
160return t},makeIdRanges:function(e){if(0==e.length)return[]
161for(var t=[],n=e.length,i=e[0],o=e[0],s=1;s<=n;++s){var r=e[s]
162r==o+1?o=r:(t.push(i),t.push(o),i=o=r)}return t.push(i),t.push(o),t},getTcfConsentInfo:function(){var e=this.getConsentStorage(),t=Object.keys(this.consentState.tcfLegIntPurposes).map(function(e){return parseInt(e)}),n=Object.keys(this.consentState.tcfLegIntVendors).map(function(e){return parseInt(e)}),i=e.tcf||{}
163return i.p=Array.isArray(i.p)?i.p:[],i.lip=Array.isArray(i.lip)?i.lip:t,i.sf=Array.isArray(i.sf)?i.sf:[],Array.isArray(i.vr)?i.v=this.expandIdRanges(i.vr):i.v=Array.isArray(i.v)?i.v:[],Array.isArray(i.dvr)?i.dv=this.expandIdRanges(i.dvr):i.dv=Array.isArray(i.dv)?i.dv:[],Array.isArray(i.livr)?i.liv=this.expandIdRanges(i.livr):i.liv=Array.isArray(i.liv)?i.liv:n,i.gad=Array.isArray(i.gad)?i.gad:[],i.gadDisclosed=Array.isArray(i.gadAll)?p.diff(i.gadAll,i.gad):null,delete i.gadAll,i.created="created"in e?e.created:null,i.updated="updated"in e?e.updated:null,i.gad=p.intersect(i.gad,Object.keys(this.consentState.googleAdTechProviders).map(function(e){return parseInt(e)})),i.gadDisclosed=null==i.gadDisclosed?null:p.intersect(i.gadDisclosed,Object.keys(this.consentState.googleAdTechProviders).map(function(e){return parseInt(e)})),i.p=p.intersect(i.p,Object.keys(this.consentState.tcfPurposes).map(function(e){return parseInt(e)})),i.lip=p.intersect(i.lip,t),i.sf=p.intersect(i.sf,Object.keys(this.consentState.tcfSpecialFeatures).map(function(e){return parseInt(e)})),i.v=p.intersect(i.v,Object.keys(this.consentState.tcfVendors).map(function(e){return parseInt(e)})),i.dv=p.intersect(i.dv,Object.keys(this.consentState.tcfVendors).map(function(e){return parseInt(e)})),i.liv=p.intersect(i.liv,n),i},callAsSoonAsSavingSettingsIsDone:function(e){var t
164"function"==typeof e&&this.saveSettingsFunctionQueue.push(e),this.saving?window.requestAnimationFrame(this.callAsSoonAsSavingSettingsIsDone.bind(this)):(t=this.saveSettingsFunctionQueue,this.saveSettingsFunctionQueue=[],t.forEach(function(e){e()}))},callAsSoonAsTcfApiIsAvailableOrIfDisabled:function(e){function t(){var e=this.tcfDependantFunctionQueue
165this.tcfDependantFunctionQueue=[],e.forEach(function(e){e()})}"function"==typeof e&&this.tcfDependantFunctionQueue.push(e),"__tcfapi"in window?window.__tcfapi("getTCData",2,t.bind(this)):t.call(this)},logOpenData:function(){this.ajax(this.statisticsUrl,{method:"POST",contentType:"application/json",body:{ucid:this.getUniqueCookieId(),lang:this.locale,clientUserAgent:navigator.userAgent,clientOs:navigator.platform,clientLang:navigator.language,actualUrl:window.location.href,actualRef:document.referrer,actualOpened:1}})},logConsentSettings:function(){var e=this.consentGiven(),t=e?this.getConsentStorage():{},n=this.getTcfConsentInfo(),o=this
166n.created=n.created?Math.round(n.created/10):null,n.updated=n.updated?Math.round(n.updated/10):null,this.ajax(this.statisticsUrl,{method:"POST",contentType:"application/json",body:{ucid:this.getUniqueCookieId(),consent:e,clickedButton:this.clickedButton,purposes:this.selectedPurposes(),embeddings:this.getEmbeddingsWithConsent().map(function(e){return e.id}
166),iframeConsentDomains:"iframeConsentDomains"in t?t.iframeConsentDomains:[],tcf:n,lang:this.locale,clientUserAgent:navigator.userAgent,clientOs:navigator.platform,clientLang:navigator.language,clientWidth:window.innerWidth,clientHeight:window.innerHeight,actualUrl:window.location.href,actualRef:document.referrer,actualOpened:0},done:function(){var i={realm:"CCM19",type:"ConsentSharing",action:"consent",ucid:o.getUniqueCookieId(),updated:"updated"in t?t.updated:null,consent:e,embeddings:"embeddings"in t?t.embeddings:[],tcf:"tcf"in t?n:null,domain:o.domainId,clickedButton:o.clickedButton}
167o.consentShareChannels.forEach(function(e){try{var t=e.origin!==undefined?e.origin:null
168e.channel.postMessage(i,t)}catch(n){}})}})},setStorageNamespaceUsingUrlParameter:function(){var o,e
1690!=this.storageNamespaceUrlParameter.length&&(o=this,e=location.search.slice(1).split("&").reduce(function(e,t){var n=(t=t.split("=",2).map(function(e){return decodeURIComponent(e)}))[0],i=t[1]||null
170return n==o.storageNamespaceUrlParameter?i:e},null))&&(this.storageNamespace=e,this.dynamicStorageNamespace=!0)},getConsentStorage:function(){var e=this.getCookie(this.cookies.consent)||{},t=Object.keys(e).reduce(function(e,t){return e||0==String(t).indexOf("/")},!1)
171return e[this.storageNamespace]?e=e[this.storageNamespace]:t&&(e={}),"object"==typeof e?e:{}},tidyConsentStorage:function(){var t=this,e=this.getCookies().filter(function(e){return e.name==t.cookies.consent})
1721<e.length&&(this.isConsentShareDomain()&&(document.cookie=this.cookies.consent+"=;path=/;expires=Thu, 01 Jan 1970 00:00:00 UTC"),e=this.getCookies().filter(function(e){return e.name==t.cookies.consent})),1<e.length&&console.warn("[CCM19] The cookie %s exists for multiple domains, which can result in unexpected behavior.",this.cookies.consent)},saveSettings:function(i,o){var s=this
173i="boolean"!=typeof i||i,o="boolean"!=typeof o||o,this.saving=!0,p.skipAnimationFrame(function(){var e=s.getEmbeddingsWithConsent().map(function(e){return e.id}),t={p:s.selectedTcfPurposes(),lip:s.selectedTcfLegIntPurposes(),sf:s.selectedTcfSpecialFeatures(),v:s.selectedTcfVendors(),liv:s.selectedTcfLegIntVendors(),gad:s.selectedGoogleProviders(),gadAll:s.disclosedGoogleProviders()},n=s.consentGiven()||o
174s.saveSettingsInternal(s.getUniqueCookieId(),n,e,t),i&&s.logConsentSettings(),s.saving=!1,s.callAsSoonAsSavingSettingsIsDone(),s.reloadOnConsentSettingsSaved&&o&&window.location.reload()}),o&&this.closeAllModals()},saveSettingsInternal:function(e,t,n,i,o,s){o="string"==typeof o?o:"permanent"
175var r,c=this.getConsentStorage(),a={path:"/"},l=((i="object"==typeof i&&null!==i&&"sf"in i?i:{p:[],sf:[],v:[],dv:[]}).dv=Object.keys(this.consentState.tcfVendors).map(function(e){return parseInt(e)}),this.makeIdRanges(i.v)),l=(l.length<i.v.length?(i.vr=l,delete i.v):"vr"in i&&delete i.vr,Array.isArray(i.dv)&&((l=this.makeIdRanges(i.dv)).length<i.dv.length?(i.dvr=l,delete i.dv):"dvr"in i&&delete i.dvr),Array.isArray(i.liv)&&((l=this.makeIdRanges(i.liv)).length<i.liv.length?(i.livr=l,delete i.liv):"livr"in i&&delete i.livr),0<this.cookieLifetime&&(a.expires=new Date(p.now+864e5*this.cookieLifetime).toUTCString()),a.secure=this.cookieUseSecure&&"https:"==location.protocol,a.sameSite=a.secure?"None":"Lax",s!==undefined&&null!==s||(s=Math.round(p.now/100)),"temporary"==o?a.method="sessionStorage":"sessionStorage"!=this.consentStorageMethod&&"sessionStorage"in window&&"removeItem"in window.sessionStorage&&window.sessionStorage.removeItem(this.cookies.consent),c.gen=2,c.ucid=e,c.consent=t,c.embeddings=n,c.created="created"in c?c.created:s,c.updated=s,c.clickedButton=this.clickedButton,c.iframeConsentDomains=this.iframeConsentDomains,c.tcf=i,c.lang=this.locale,this.getCookie(this.cookies.consent)||{})
176l[this.storageNamespace]=c,this.setCookie(this.cookies.consent,l,a)||("sessionStorage"===(c=a.method||this.consentStorageMethod)&&console.warn("[CCM19] Saving consent via "+c+" failed."),"sessionStorage"===c)||this.setCookie(this.cookies.consent,l,{method:"sessionStorage"})||console.error("[CCM19] Saving consent both via "+c+" and sessionStorage failed!"),this.requiresConsentUpdate=!t&&!this.optOutMode,this.forceOpenWidget=!!this.forceOpenWidget&&this.requiresConsentUpdate,t&&(this.settingsSavedOnce=!0),this.widgetInitialized&&(this.setPurposesAndEmbeddings(n),this.loadScripts(),this.updateCookieDeclaration()),"clickskeksLegacy"in this&&(r=window.Clickskeks.getCurrentAllowedConfig(),this.clickskeksLegacy.allowedConfigChangeCallbacks.forEach(function(e){e(r)}))},grantAllPrivileges:function(e){this.selectAllPurposes(),this.selectAllTcfPurposes(),!1!==e&&(this.selectAllTcfLegIntPurposes(),this.selectAllTcfLegIntVendors()),this.selectAllTcfSpecialFeatures(),this.selectAllGoogleProviders(),this.selectAllTcfVendors()},revokeAllPrivileges:function(e){this.setAllPurposes(!1),this.resetAllTcfPurposes(),!0===e&&(this.resetAllTcfLegIntPurposes(),this.resetAllTcfLegIntVendors()),this.resetAllTcfSpecialFeatures(),this.resetAllGoogleProviders(),this.resetAllTcfVendors()},onConsentButtonClicked:function(e){var t=(e=e||window.event).currentTarget||e.target
177this.checkIsManipulatedClick(e)?console.warn("[CCM19] Manipulated click on consent button detected and ignored."):("true"==t.dataset.fullConsent?(this.clickedButton="acceptAll",this.grantAllPrivileges()):(this.clickedButton="save",this.iframeC
177onsentDomains=[]),this.saveSettings())},onDeclineButtonClicked:function(e){this.clickedButton="decline",this.iframeConsentDomains=[],this.revokeAllPrivileges(),this.saveSettings()},onDismissButtonClicked:function(e){this.dismissTemporarily()},onActionButtonClicked:function(e){var t=(e=e||window.event).currentTarget||e.target,n={enableEverything:this.grantAllPrivileges,disableEverything:this.revokeAllPrivileges},t=t.dataset.ccmAction
178"function"==typeof n[t]&&n[t].call(this,!0)},onJumpTargetClicked:function(e){var t=e.currentTarget
179this.jumpTo(t.dataset.jumpTo,e)},onModalTargetClicked:function(e){var t=e.currentTarget
180this.loadModal(t.dataset.ccmModal,{jumpTo:t.dataset.jumpTo})},onSelectedLanguageChanged:function(e){var t=e.currentTarget
181this.switchLocale(t.value)},onTreeNodeToggleClicked:function(e){for(var n,t=(e=e||window.event).currentTarget||e.target,i=t.parentElement;i&&0==i.classList.contains("ccm--tree-node");)i=i.parentElement
182i&&(this.prefetchDetails(),n=p.toggleClass(i,"ccm--tree-node--open"),t.ariaExpanded=n,h(i.querySelectorAll(".ccm--collapsable")).forEach(function(e){for(var t=e.parentElement;t&&0==t.classList.contains("ccm--tree-node");)t=t.parentElement
183t===i&&e.setAttribute("aria-hidden",n?"false":"true")}))},onSwitchStateChanged:function(e){var t,n=e.target,i=h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group]')),o=(h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group-parent]')),i.filter(function(e){return e.dataset.switchGroup==n.dataset.switchGroup})),s=i.filter(function(e){var t=n.dataset.switchGroupParent
184return t&&e.dataset.switchGroup==t}),r=i.filter(function(e){var t=n.dataset.switchGroupParent
185return t&&e.dataset.switchGroupParent==t}),i=i.filter(function(e){var t=n.dataset.switchGroup
186return e.dataset.switchGroupParent==t}),c=n.checked,a=(function(e){var t=e.dataset.consentStateCategory
187this.consentState[t]&&e.value in this.consentState[t]&&(this.consentState[t][e.value]=e.checked)}).bind(this),l=(function(n){var i=this
188n.dataset.consentStateCategoryGroups.split(",").forEach(function(e){if(i.consentState[e])for(var t in i.consentState[e])i.consentState[e][t]=n.checked})}).bind(this)
189o.forEach(function(e){e.checked=c,e.indeterminate=!1,e.dataset.consentStateCategory&&a(e),e.dataset.consentStateCategoryGroups&&l(e)}),0<s.length&&(t=r.reduce(function(e,t){return!0===e?t.checked||"partial":t.checked?"partial":e},c),s.forEach(function(e){e.checked=!!t,e.indeterminate="partial"==t})),i.forEach(function(e){e.checked=c,e.indeterminate=!1,a(e)}),this.updateConsentState()},onPurposeToggled:function(e){var t=e.target,n=t.dataset.purpose,i=t.checked,o=this
190this.repository.forEach(function(e){e.purpose==n&&(e.consent=i||e.mandatory,o.selectEmbedding(e))})},onEmbeddingToggled:function(e){var t=e.target,n=this.repository[t.dataset.embedding]
191n&&(n.consent=t.checked||n.mandatory,this.selectEmbedding(n))},onTcfDescriptionExpandKeyPress:function(e){"Enter"!=e.key&&"Spacebar"!=e.key&&" "!=e.key&&"NumpadEnter"!=e.key||(e.preventDefault(),e.stopPropagation())},onTcfDescriptionExpandClicked:function(e){function t(e,t){for(var n,i,t=t.trim().split("\n"),o=0;o<t.length;++o)t[o]?"*"===t[o][0]&&" "===t[o][1]?((n=n&&"ul"!=n.tagName.toLowerCase()?null:n)||(n=document.createElement("ul"),e.appendChild(n)),(i=document.createElement("li")).innerText=t[o].substr(2),n.appendChild(i)):(n&&("p"==n.tagName.toLowerCase()?n.appendChild(document.createElement("br")):n=null),n||(n=document.createElement("p"),e.appendChild(n)),n.appendChild(document.createTextNode(t[o]))):n=null}var n=e.currentTarget||e.target,i=n.parentNode,o=i.getAttribute("data-ccm-tcf").split(":")
192if(i.classList.toggle("ccm-expanded"),i.classList.contains("ccm-expanded"))if(r=i.getElementsByClassName("ccm-tcf-description")[0])n.ariaExpanded=!0,r.classList.remove("ccm--hidden")
193else{for(var s=h(i.getElementsByClassName("ccm--hidden")),r=document.createElement("div"),c=i.parentNode;c.parentNode&&!c.id;)c=c.parentNode
194for(var a="ccm-pdesc--"+c.id.replace(/[^a-zA-Z0-9-]/g,"-")+"--"+i.getAttribute("data-ccm-tcf").replace(/[^a-zA-Z0-9-]/g,"-"),a=(r.className="ccm-tcf-description",r.id=a,n.setAttribute("aria-controls",a),document.createElement("div")),l=0;l<s.length;++l)s[l].classList.remove("ccm--hidden"),r.appendChild(s[l])
195r.appendChild(a)
196var d=document.getElementById("ccm-tcf-descriptions"),d=JSON.parse(d.innerHTML)[o[0]][o[1]]
197t(a,d.desc),d.legal&&t(a,d.legal),n.ariaExpanded=!0,i.appendChild(r)}else{n.ariaExpanded=!1
198o=i.getElementsByClassName("ccm-tcf-description")[0]
199o&&o.classList.add("ccm--hidden")}},onTcfExtendedDisclosureExpandClicked:function(e){var i=e.currentTarget||e.target,o=i.parentNode,t=parseInt(o.getAttribute("data-ccm-tcf"))
200o.classList.toggle("ccm-expanded"),o.classList.contains("ccm-expanded")?(t=this.tcfData.disclosureUrlTemplate.replace(":VENDOR",t).replace(":LANG",this.locale),this.ajax(t,{method:"GET",success:function(e){var t=document.createElement("div"),n="ccm-extdiscl--"+o.getAttribute("data-ccm-tcf").replace(/[^a-zA-Z0-9-]/g,"-")
201t.className="ccm-tcf-description",t.id=n,i.setAttribute("aria-controls",n),t.innerHTML=e,i.ariaExpanded=!0,o.appendChild(t)},failure:function(){o.classList.remove("ccm-expanded"),i.ariaExpanded=!1}})):0<(t=h(o.getElementsByClassName("ccm-tcf-description"))).length?(i.ariaExpanded=!1,t.forEach(function(e){o.removeChild(e)})):o.classList.add("ccm-expanded")},onTcfPermissionVendorListExpandClicked:function(e){var t=e.currentTarget||e.target,n=t.parentNode,i=n.getAttribute("data-ccm-tcf").replace(/[^a-zA-Z0-9_:-]/g,"")
202if(n.classList.toggle("ccm-expanded"),n.classList.contains("ccm-expanded")){if(o=n.parentNode.getElementsByClassName("ccm--tcf-vendors-list")[0])o.classList.remove("ccm--hidden")
203else{for(var o=document.createElement("ul"),s="ccm-vlist--"+n.getAttribute("data-ccm-tcf").replace(/[^a-zA-Z0-9-]/g,"-"),r=(o.id=s,t.setAttribute("aria-controls",s),o.classList.add("ccm--tcf-vendors-list"),h(document.getElementById("ccm-details").querySelectorAll('.ccm-details--embedding--tcf li[data-ccm-tcf="'+i+'"]'))),c=0;c<r.length;++c){var a,l,d,u=function(){for(var e=r[c];e=e.parentNode;)if("classList"in e&&(e.classList.contains("ccm-details--content--item")||e.classList.contains("ccm-details--content--cookie")))return e
204return e}()
205u&&(u=(a=u.getElementsByClassName("ccm-details--content--cookie--title")[0])?u.querySelector("data.ccm--tcf-vendor").value.replace(/^[0-9]*:/,""):(a=u).querySelector(".ccm--tcf-permission--title").innerText.trim(),l=document.createElement("li"),(d=document.createElement("a")).href="#"+a.id,d.innerText=u,l.appendChild(d),o.appendChild(l))}n.appendChild(o)}t.ariaExpanded=!0}else{t.ariaExpanded=!1
206s=n.getElementsByClassName("ccm--tcf-vendors-list")[0]
207s&&s.classList.add("ccm--hidden")}},presetConsentState:function(){var e,t=this.consentGiven()
208if(this.optInModeHidden){if(this.forceOpenWidget=!1,this.requiresConsentUpdate=!1,!t||this.requiresConsentUpdate)return this.clickedButton="decline",this.iframeC
208onsentDomains=[],this.revokeAllPrivileges(),this.selectAllTcfLegIntPurposes(),this.selectAllTcfLegIntVendors(),void this.saveSettings()
209t=!0}t?(this.presetPurposesAndEmbeddings(),this.presetTcfPurposes(),this.presetTcfLegIntPurposes(),this.presetTcfSpecialFeatures(),this.presetTcfVendors(),this.presetTcfLegIntVendors(),this.presetGoogleProviders()):this.isConsentRequired()?(this.revokeAllPrivileges(),this.selectAllTcfLegIntPurposes(),this.selectAllTcfLegIntVendors()):(this.grantAllPrivileges(),this.forceOpenWidget||(e=t=!this.optOutMode,this.optOutMode&&(this.forceOpenWidget=!0,this.runMandatoryEmbeddingsWithoutConsent=!0),this.saveSettings(e,t)))},updateConsentState:function(){this.updatePurposesAndEmbeddings(),this.updateTcfPurposes(),this.updateTcfLegIntPurposes(),this.updateTcfSpecialFeatures(),this.updateTcfVendors(),this.updateTcfLegIntVendors(),this.updateGoogleProviders()},setEmbeddingConsentState:function(e,t){var n,i=this,o=(t="boolean"!=typeof t||t,!1)
210for(n in e){var s,r=this.repository[n]
211r&&(s=!!e[n]||r.mandatory,r.consent!==s)&&(r.consent=s,this.selectEmbedding(r),o=!0)}return t&&o&&(this.clickedButton="save",this.saveSettings(),this.callAsSoonAsSavingSettingsIsDone(function(){i.callAsSoonAsTcfApiIsAvailableOrIfDisabled(function(){p.triggerCustomEvent(window,"ccm19WidgetClosed")})})),o},presetPurposesAndEmbeddings:function(){var e=this.getConsentStorage().embeddings||[]
212this.setPurposesAndEmbeddings(e)},updatePurposesAndEmbeddings:function(){var e=this.repository.filter(function(e){return e.consent}).map(function(e){return e.id})
213this.setPurposesAndEmbeddings(e)},setPurposesAndEmbeddings:function(t){var n=this
214this.repository.forEach(function(e){e.consent=t.includes(e.id)||e.mandatory,n.container&&n.selectEmbedding(e)})},setAllPurposes:function(e){var t=(e="boolean"==typeof e&&e)?this.repository.map(function(e){return e.id}):[]
215this.setPurposesAndEmbeddings(t)},captureFocus:function(){var e,t
216this._focusCaptured||(this._focusCaptured=!0,(e=document.createElement("div")).style.position="fixed",e.style.left="0",e.style.right="0",e.style.height="0",e.style.maxHeight="0",e.background="transparent",e.border="0 none transparent",e.ariaHidden=!0,e.tabIndex=0,t=e.cloneNode(),e.style.top="0",e.id="ccm-focus-helper--top",document.body.insertBefore(e,document.body.firstChild),t.style.bottom="0",t.id="ccm-focus-helper--bottom",document.body.appendChild(t),document.body.addEventListener("focusin",this.onFocusIn,{capture:!0,passive:!1}),document.body.addEventListener("keydown",this.onTabKeyDown,{capture:!0,passive:!0}))},endCaptureFocus:function(){var e,t
217this._focusCaptured&&(this._focusCaptured=!1,e=document.getElementById("ccm-focus-helper--top"),t=document.getElementById("ccm-focus-helper--bottom"),e&&e.parentNode.removeChild(e),t&&t.parentNode.removeChild(t),document.body.removeEventListener("focusin",this.onFocusIn,{capture:!0,passive:!1}),document.body.removeEventListener("keydown",this.onTabKeyDown,{capture:!0,passive:!0}))},consentGiven:function(){var e
218return!this.requiresConsentUpdate&&(e=this.getConsentStorage()).consent&&2==e.gen||!1},isFullConsentGiven:function(){var e,t
219return!!this.consentGiven()&&("acceptAll"===this.clickedButton||(e=this.getConsentStorage(),t=this.getTcfConsentInfo(),0==p.diff(Object.keys(this.repository),e.embeddings||[]).length&&0==p.diff(Object.keys(this.consentState.googleAdTechProviders).map(function(e){return parseInt(e)}),t.gad).length&&0==p.diff(Object.keys(this.consentState.tcfPurposes).map(function(e){return parseInt(e)}),t.p).length&&0==p.diff(Object.keys(this.consentState.tcfLegIntPurposes).map(function(e){return parseInt(e)}),t.lip).length&&0==p.diff(Object.keys(this.consentState.tcfSpecialFeatures).map(function(e){return parseInt(e)}),t.sf).length&&0==p.diff(Object.keys(this.consentState.tcfVendors).map(function(e){return parseInt(e)}),t.v).length&&0==p.diff(Object.keys(this.consentState.tcfLegIntVendors).map(function(e){return parseInt(e)}),t.liv).length))},registerControls:function(){var n=this,i=[]
220h(this.container.querySelectorAll(".ccm-settings-summoner > .ccm-settings-summoner--link")).forEach(function(t){t.classList.contains("ccm--ctrl-init")||(i.push(t),n.addHighPriorityEventListener("click",t,n.onSettingsIconClicked),t.parentNode.addEventListener("focus",function(e){e.relatedTarget&&e.relatedTarget.classList.contains("ccm-settings-summoner--link")||t.focus()}))}),h(this.container.querySelectorAll("[data-jump-to]")).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("click",n.onJumpTargetClicked))}),h(this.container.querySelectorAll("[data-ccm-modal]")).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("click",n.onModalTargetClicked),e.classList.contains("ccm-info-button")&&(e.addEventListener("mouseenter",n.prefetchDetails,{passive:!0,once:!0}),e.addEventListener("focus",n.prefetchDetails,{passive:!0,once:!0})))}),h(this.container.querySelectorAll("button[data-ccm-action], .button[data-ccm-action]")).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("click",n.onActionButtonClicked))}),h(this.container.querySelectorAll(".ccm--tree-node .ccm--tree-node-toggle")).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.ariaExpanded=!1,e.addEventListener("click",n.onTreeNodeToggleClicked))}),h(this.container.getElementsByClassName("ccm-modal--close")).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("click",n.onModalCloseButtonClicked))}),h(this.container.getElementsByClassName("ccm--save-settings")).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("click",n.onConsentButtonClicked))}
220),h(this.container.getElementsByClassName("ccm--decline-cookies")).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("click",n.onDeclineButtonClicked))}),h(this.container.getElementsByClassName("ccm-widget--language-select")).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("change",n.onSelectedLanguageChanged))}),h(this.container.getElementsByClassName("ccm-dismiss-button")).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("click",n.onDismissButtonClicked))}),h(this.container.querySelectorAll('input[type="checkbox"][data-switch-group]')).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("change",n.onSwitchStateChanged))}),h(this.container.querySelectorAll("li[data-ccm-tcf] > span")).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("click",n.onTcfDescriptionExpandClicked),e.addEventListener("keypress",n.onTcfDescriptionExpandKeyPress),e.ariaExpanded=!1,e.role="button")}),h(this.container.querySelectorAll("div[data-ccm-tcf] > strong")).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("click",n.onTcfExtendedDisclosureExpandClicked),e.addEventListener("keypress",n.onTcfDescriptionExpandKeyPress),e.ariaExpanded=!1,e.role="button")}),h(this.container.querySelectorAll(".ccm--tcf-vendors[data-ccm-tcf] > span")).forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("click",n.onTcfPermissionVendorListExpandClicked),e.addEventListener("keypress",n.onTcfDescriptionExpandKeyPress),e.ariaExpanded=!1,e.role="button")}),this.getPurposeCheckboxes().forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("change",n.onPurposeToggled))}),this.getEmbeddingCheckboxes().forEach(function(e){e.classList.contains("ccm--ctrl-init")||(i.push(e),e.addEventListener("change",n.onEmbeddingToggled))}),h(this.container.querySelectorAll("button")).forEach(function(e){var t
221e.ariaLabel||e.hasAttribute("aria-labelledby")||(e.title?e.ariaLabel=e.title:(t=e.textContent.trim())&&(e.ariaLabel=t))}
221),i.forEach(function(e){e.classList.add("ccm--ctrl-init")})},useRemoteConsent:function(e,t,n,i,o,s,r,c,a){this.ucid=e,this.domainId===o?(this.clickedButton="save",this.saveSettingsInternal(e,t,n,i,"permanent",r),this.reloadOnConsentSettingsSaved&&window.location.reload()):this.accountWideConsentSharing&&("decline"===c?"decline"===this.clickedButton&&!this.requiresConsentUpdate||(this.clickedButton="decline",this.iframeConsentDomains=[],this.revokeAllPrivileges(),this.saveSettings()):"acceptAll"!==c||"acceptAll"===this.clickedButton&&!this.requiresConsentUpdate||(this.clickedButton="acceptAll",this.grantAllPrivileges(),this.saveSettings())),a&&this.callAsSoonAsSavingSettingsIsDone(a)},urlIsExempt:function(i){var o=i.replace(/#.*$/,"")
222return this.exemptUrls.reduce(function(e,t){0===t.indexOf("//")?t=location.protocol+t:0===t.indexOf("/")&&(t=location.protocol+"//"+location.host+t)
223var n="*"==t.charAt(t.length-1)
224return(t=n?t.substr(0,t.length-1):t).includes("#")?e||0==i.indexOf(t)&&(n||i.length==t.length):e||0==o.indexOf(t)&&(n||o.length==t.length)||0===i.indexOf(t+"#")},!1)},isEachEmbeddingReachable:function(){return this.repository.reduce(function(e,t){return e&&(t.mandatory||t.reachableOutsideBanner)},!0)},shouldHideBanner:function(){return this.urlIsExempt(window.location.href)||this.optInModeHidden},isConsentRequired:function(e){var t=!this.behavior.noConsentRequired,n=!(e="boolean"==typeof e&&e)&&this.behavior.respectDoNotTrack&&this.isDoNotTrackEnabledInBrowser()
225return t||n},build:function(t){var n=this
226function a(e){t&&t.call(n,e),p.triggerCustomEvent(window,"ccm19WidgetLoaded")}this.widgetUrl||(this.widgetUrl=this.widgetUrls[this.locale])
227var l=function(){!(function(){var e,t,n,i,o,s,r=this,c=!this.widgetInitialized
228c&&!p.isDocumentReady()?window.requestAnimationFrame(l):(this.widgetInitialized=!0,this.insertCookieDeclaration(),this.closeAllModals(),this.registerControls(),this.registerJavaScriptApiHandlers(),this.presetConsentState(),s=p.now/1e3/60|0,e=!!this.urlConsent&&p.objectValues(this.accountWideConsentType).includes(this.urlConsent[5]),t=!1,this.initPlatformDependentComponents(),p.isTopLevel()||(n=[],["parent","top","opener"].forEach(function(e){try{null===(i=window[e])||n.includes(i)||(i.postMessage({realm:"CCM19",type:"ConsentSharing",action:"requestConsent"},"*"),n.push(i))}catch(t){}})),c&&(this.dispatchInternalEvent("widgetInitialized"),this.wrapHistoryApi(),window.addEventListener("popstate",r.onHistoryStateChanged),(o=document.getElementById("ccm-focus-helper--bottom"))?document.body.insertBefore(this.container,o):document.body.appendChild(this.container)),(this.consentCrossDomain&&!e||this.accountWideConsentSharing&&e)&&this.urlConsent&&Math.abs(parseInt(this.urlConsent[2],36)-s)<30&&(o=10*(parseInt(this.urlConsent[3],36)+1609459200),(s=this.getConsentStorage())&&"updated"in s&&!(o>s.updated)||(s=e?"1"===this.urlConsent[5]?["*"]:[]:this.urlConsent[5].split("|"),this.useRemoteConsent(this.urlConsent[4],!0,s,null,e?null:this.domainId,"URL",o,e?"1"===this.urlConsent[5]?"acceptAll":"decline":"save",function(){a.call(r,c)}),t=!0)),t||a.call(this,c))}).call(n)},e=function(){!(function(){p.isDocumentReady()?(this.closeAllModals(),this.container.innerHTML='<div class="ccm-widget">Error while loading resource, please try again later.</div>'):window.requestAnimationFrame(e)}).call(n)}
229this.ajax(this.widgetUrl,{method:"GET",success:function(e){this.container.innerHTML=e,this.modals.controlPanel=this.container.querySelector("#ccm-control-panel"),this.modals.cookieDeclarationTable=null,this.modals.details=null,this.modals.widget=this.container.querySelector("#ccm-widget"),this.callAsSoonAsSavingSettingsIsDone(l)},failure:e})},restoreIframe:function(e){var t=(this.iframeConsentSwitchMap[e.ccm19IframeConsentSwitchId]||{}).checkbox||null,t=(t&&(t.checked=!0),e.ccm19IframePlaceholder||e)
230null!==t.parentElement&&(e.ccm19OriginalIframe?(e.ccm19OriginalIframe.ccm19ConsentGranted=!0,e.ccm19OriginalIframe.src=e.ccm19OriginalIframe.dataset.ccmSrc,delete e.ccm19OriginalIframe.dataset.ccmLoaderGroup,delete e.ccm19OriginalIframe.dataset.ccmLoaderSrc,delete e.ccm19OriginalIframe.dataset.ccmSrc,t.parentElement.insertBefore(e.ccm19OriginalIframe,t),t.parentElement.removeChild(t),p.isSafari()&&p.skipAnimationFrame(function(){e.ccm19OriginalIframe.contentWindow.location.replace(e.ccm19OriginalIframe.src)})):""!==e.dataset.ccmSrc&&(e.ccm19ConsentGranted=!0,e.src=e.dataset.ccmSrc,e.dataset.ccmSrc="",t="true"==e.dataset.initialHeightInline,e.style.height=t?e.dataset.initialHeight:e.dataset.initialHeight+"px",e.style.maxHeight="",e.dataset.initialHeightInline="",e.dataset.initialHeight="",0==t)&&window.requestAnimationFrame(function(){e.style.height=""}))},blockIframe:function(e){this.processIframeForBlocking(e,!0)},blockOrRestoreIframesForEmbedding:function(t){var n=this
231this.iframes.forEach(function(e){e.ccm19BlockedByEmbeddings[0]==t.id&&(t.consent?n.restoreIframe(e):n.blockIframe(e.ccm19OriginalIframe))})},findExistingIframeClone:function(n){return this.iframes.includes(n)?n:this.iframes.reduce(function(e,t){return t.ccm19OriginalIframe===n?t:e},null)},appendConsentSwitchToIframe:function(e,t){t="boolean"==typeof t&&t
232var n,i,o,s=this,r=this.findExistingIframeClone(e),c=this.iframeConsentSwitchMap[r.ccm19IframeConsentSwitchId]?this.iframeConsentSwitchMap[r.ccm19IframeConsentSwitchId].container:null,a=(c||(n="ccm--consent-switch-"+p.hash(String(p.now)+String(Math.random()||Math.random()).slice(1)),r.ccm19IframeConsentSwitchId=n,(c=document.createElement("DIV")).classList.add("ccm--consent-switch"),(i=document.createElement("INPUT")).id=n,i.type="checkbox",i.addEventListener("change",s.onIframeConsentSwitchStateChanged),(a=document.createElement("LABEL")).setAttribute("for",n),a.textContent=this.getLocalizedString("blockedContentShowExternalContent"),c.appendChild(i),c.appendChild(a),(o=this.repository[r.ccm19BlockedByEmbeddings[0]])&&(a.textContent=this.getLocalizedString("blockedContentAllowEmbedding").replace(":embedding",o.name),(a=document.createElement("A")).href="javascript:",a.textContent="("+this.getLocalizedString("blockedContentProviderDetails")+")",a.addEventListener("click",function(){s.loadModal("ccm-details",{jumpTo:"ccm-cookie-details-"+o.id})}
232),c.appendChild(a)),this.iframeConsentSwitchMap[n]={original:e,clone:r,checkbox:i,container:c}),(this.iframeConsentSwitchMap[r.ccm19IframeConsentSwitchId].checkbox.checked=t)?e:r.ccm19IframePlaceholder||r)
233c.previousElementSibling!==a&&(a.nextElementSibling?a.parentElement.insertBefore(c,a):a.parentElement.appendChild(c))},onIframeConsentSwitchStateChanged:function(e){var t,n=e.currentTarget||e.target,i=this.iframeConsentSwitchMap[n.id].clone,o=this.iframeConsentSwitchMap[n.id].original,s=this.repository[i.ccm19BlockedByEmbeddings[0]]
234s?(s.consent=n.checked||s.mandatory,this.selectEmbedding(s),this.saveSettings(!0,!1)):(n.checked?this.restoreIframe(i):this.blockIframe(o),t=o.dataset.ccmDomain,this.iframeConsentDomains=this.iframeConsentDomains.filter(function(e){return e!==t}),n.checked&&this.iframeConsentDomains.push(t))},restoreImage:function(e){var t=e.dataset.ccmLoaderSrc,t=(t&&e.setAttribute("src",t),e.dataset.ccmLoaderAlt)
235t&&e.setAttribute("alt",t),e.removeAttribute("data-ccm-loader-alt"),e.removeAttribute("data-ccm-loader-group"),e.removeAttribute("data-ccm-loader-src")},onPostMessage:function(e){if("object"==typeof e.data&&"CCM19"===e.data.realm)switch(e.stopImmediatePropagation(),e.data.type){case"ContentBlocker":return this.onMessageFromContentBlocker(e)
236case"ConsentSharing":return this.onMessageFromConsentSharing(e)}},onMessageFromContentBlocker:function(n){var t=this,e=p.getOrigin(this.origin)||this.origin
237if(n.origin==e){var i=this.iframes.reduce(function(e,t){return n.source===t.contentWindow?t:e},null)
238if(null!=i){var o,s="string"==typeof n.data.action?n.data.action:""
239switch(s){case"updateHeight":if("number"==typeof n.data.innerHeight){if(i.ccm19ConsentGranted)return
240n.data.initialUpdate&&(i.dataset.initialHeightInline=i.style.height?"true":"false",i.dataset.initialHeight=i.style.height||i.clientHeight,i.dataset.initialClientHeight=i.clientHeight),i.style.height=Math.max(n.data.innerHeight,parseInt(i.dataset.initialClientHeight)||parseInt(i.dataset.initialHeight)||0)+"px",i.style.maxHeight="100%"}break
241case"resourceDomain":var r=i.dataset.ccmDomain,c=(i.contentWindow.postMessage({realm:"CCM19",type:"ContentBlocker",action:s,domain:r},e),this.repository[i.ccm19BlockedByEmbeddings[0]])
242c&&c.dispatchLoadEventForIframes&&p.triggerCustomEvent(i.ccm19OriginalIframe,"load")
243break
244case"showEmbeddingInfo":(o=n.data.embedding)in this.repository&&this.showEmbeddingDetails(o)
245break
246case"consentToEmbedding":(o=n.data.embedding)in this.repository&&((c={})[o]=!0,this.setEmbeddingConsentState(c))
247break
248case"thirdPartyContentConsentGranted":r=i.dataset.ccmDomain,this.restoreIframe(i),this.iframes.forEach(function(e){e.dataset.ccmDomain==r&&t.restoreIframe(e)}),0==this.iframeConsentDomains.includes(r)&&(this.iframeConsentDomains.push(r),this.saveSettings(!0,!1))}}}},onMessageFromConsentSharing:function(e){if(!this.dynamicStorageNamespace){var t=this.getCategorizedBaseDomain(e.origin.replace(/^[^:\/]*:\/\//,"").replace(/:[0-9]+$/,""))
249if(e.origin===window.origin||t.sameAccount){var n=this,i=e.data
250switch(i.action){case"requestConsent":var o=this.consentGiven(),s=o?this.getConsentStorage():{}
251e.source.postMessage({realm:"CCM19",type:"ConsentSharing",action:"consent",ucid:this.getUniqueCookieId(),updated:"updated"in s?s.updated:null,consent:o,embeddings:"embeddings"in s?s.embeddings:[],tcf:"tcf"in s?s.tcf:null,domain:this.domainId,clickedButton:this.clickedButton},e.origin),this.consentShareChannels.push({channel:e.source,origin:e.origin})
252break
253case"consent":if(i.consent?("number"!=typeof(s=this.getConsentStorage()).updated||"number"==typeof i.updated&&i.updated>s.updated)&&this.useRemoteConsent(i.ucid,i.consent,i.embeddings,i.tcf,i.domain,e.origin,i.updated,i.clickedButton,function(){n.consentGiven()&&n.closeAllModals()}):n.closeAllModals(),i.domain==this.domainId)try{e.source!==window.parent&&e.source!==window.top||this.hideSettingsIcon()}catch(r){console.debug("[CCM19] Failed to check consent source window. Sandbox?",r)}}}}},getAllowedEmbeddingIds:function(){return!this.requiresConsentUpdate&&this.getConsentStorage().embeddings||[]},getAllowedAndMandatoryEmbeddingIds:function(){if(0==this.consentGiven()&&0==this.runMandatoryEmbeddingsWithoutConsent)return[]
254var e,t=this.getAllowedEmbeddingIds()
255for(e in this.repository){var n=this.repository[e]
2560==t.includes(n.id)&&n.mandatory&&t.push(n.id)}return t},shouldBlockScriptAccordingToBlacklist:function(n){var i
257return!(0==this.checkIsBlockableScript(n)&&"text/x-ccm-loader"!=n.type.toLowerCase()||n.hasAttribute("data-ccm-injected"))&&(i=String(n.outerHTML),this.deniedScriptMarkers.reduce(function(e,t){return e||i.includes(t)||n.src.includes(t)},!1))},shouldBlockScript:function(e){var t,n
258return!!this.shouldBlockScriptAccordingToBlacklist(e)||!(this.inEval||!this.checkIsBlockableScript(e)||e.hasAttribute("data-ccm-injected"))&&((t="text/x-ccm-loader"==e.type&&e.dataset.ccmLoaderSrc||e.src)?this.blockSameDomainScripts||this.checkIsExternal(t):(n=String(e.outerHTML),!this.allowedScriptMarkers.reduce(function(e,t){return e||n.includes(t)},!1)&&this.blockInlineScripts))},embeddingsBlockingScript:function(e,t){if("text/x-ccm-loader"==e.type){var n=e.dataset.ccmLoaderGroup
259if(n)return this.getEmbeddingsWithScriptLoaderGroup(n).filter(function(e){return!t.includes(e.id)}).map(function(e){return e.id})}return!this.blockEmbeddingScriptMarkers||this.inEval||!this.checkIsBlockableScript(e)||e.hasAttribute("data-ccm-injected")?[]:(n=String(e.outerHTML),this.getEmbeddingsWithScriptFilterMatch(n,e).filter(function(e){return!t.includes(e.id)}).map(function(e){return e.id}))},processScriptForBlocking:function(e){var t=this,n=!1,i=t.getAllowedAndMandatoryEmbeddingIds(),o=[],s=[],r=!0
260try{o=t.embeddingsBlockingScript(e,i),s=t.embeddingsBlockingScript(e,[])}catch(h){r=!1}var c,a,l,d,u,i=t.shouldBlockScript(e)
261!o.length&&!i||e.hasAttribute("data-ccm-injected")||(c=(c="text/x-ccm-loader"==e.type&&e.dataset.ccmLoaderSrc||e.src)?String(c).trim().replace(/#.*$/i,"").replace(/\?.*/i,"?").replace(/\/(intl\/|releases\/|viewthroughconversion\/|www-widgetapi-)[^\/]+\//,"/$1…/"):String(e.innerHTML).trim().substring(1,1024).replace(/\s+/gi," "),e.id&&(c+="#"+e.id.trim()),e.className&&(c+="."+e.className.trim()),e["async"]&&(c+=":async"),e.defer&&(c+=":defer"),"text/x-ccm-loader"==e.type&&(c+=":loader"),t.checkIsCloakedScript(e)&&(c+=":cloaked"),c=p.hash(c),a=this.shouldBlockScriptAccordingToBlacklist(e),l=t.allowedScripts.includes(c),d=t.deniedScripts.includes(c),(o.length||!l||a)&&((u=e.cloneNode(!0))["async"]=e["async"],u.ccm_id=c,t.blockableScripts.push(u),t.blockNewScripts||d||t.isActive&&o.length||a)&&(e.setAttribute("data-ccm-id",c),e.setAttribute("data-ccm-type",e.type),e.type="text/x-blocked-script",n=!0,o.length&&!(i&&this.blockNewScripts&&!l||a)?(o.forEach(function(e){t.repository[e]}),u.ccmEmbeddings=o,u.ccmOriginalNode=e):s.length)),"text/x-ccm-loader"!=e.type&&!this.checkIsCloakedScript(e)||!r||n||(this.scriptLoaderQueue.push(e),this.executeScriptLoaderQueue())},processIframeForBlocking:function(n,e){if(e="boolean"==typeof e&&e,0!=this.blockIframes&&(n.getAttribute("src")||n.dataset.ccmLoaderSrc)&&p.isVisibleDOMNode(n)&&(!n.ccm19ConsentGranted||e)){var i=this,t="whitelist"==this.iframeBlockMode,o=(o=this.contentBlockedUrl).replace(/&lang=[^&]+/,"&lang="+encodeURIComponent(this.locale)),s=!!n.dataset.ccmSrc&&0==n.src.toLowerCase().indexOf(o.toLowerCase().split("?",1)[0]),r=s&&0!=n.src.toLowerCase().indexOf(o.toLowerCase())
262if(s&&0==this.iframes.includes(n)?(s=!1,n.src=n.dataset.ccmSrc):r&&this.iframes.includes(n)&&(u=o+"&url="+encodeURIComponent(n.dataset.ccmSrc.replace(/[#].*$/,"")),"origin"in window&&"null"!==window.origin&&(u+="&origin="+encodeURIComponent(p.getOrigin(window.origin))),0<(n.ccm19BlockedByEmbeddings||[]).length&&(u+="&embedding="+encodeURIComponent(n.ccm19BlockedByEmbeddings[0])),n.src=u),!s){var c,a=String(n.outerHTML),r=[],s=!1,l=!1,d=n.dataset.ccmLoaderGroup,l=(d?0==(r=this.repository.filter(function(e){return e.scriptLoaderGroup==d}).filter(function(e){return i.isEmbeddingActiveForCurrentLocation(e)}).map(function(e){return e.id})).length&&(l=!0):r=this.repository.filter(function(e){return e.iframeBlockingStrings.reduce(function(e,t){return e||a.includes(t)||n.src.includes(t)},!1)}).filter(function(e){return i.isEmbeddingActiveForCurrentLocation(e)}).map(function(e){return e.id}),0<r.length?(c=this.getAllowedAndMandatoryEmbeddingIds(),t=r.reduce(function(e,t){return e||0==c.includes(t)},!1),s=r.reduce(function(e,t){return e||i.repository[t].hideIframesUntilConsent},s)):0==this.isConsentRequired()?t=!1:l?t=!0:0<this.iframeMarkers.length&&(l=this.iframeMarkers.reduce(function(e,t){return e||a.includes(t)||n.src.includes(t)},!1),t="whitelist"==this.iframeBlockMode?!l:l),n.src||n.dataset.ccmLoaderSrc),u=(("data:"==l.substring(0,5)||"about:"==l.substring(0,6)||this.rememberIframeConsent&&this.iframeC
262onsentDomains.includes(p.extractDomain(l)))&&(t=!1),e&&(t=!0),delete n.ccm19ConsentGranted,n.dataset.ccmSrc=l,n.dataset.ccmDomain=p.extractDomain(l),o+"&url="+encodeURIComponent(l.replace(/[#].*$/,""))),o=("origin"in window&&"null"!==window.origin&&(u+="&origin="+encodeURIComponent(p.getOrigin(window.origin))),0<r.length&&(u+="&embedding="+encodeURIComponent(r[0])),this.findExistingIframeClone(n)),h=null
263if(o){if(o.dataset.ccmSrc=l,o.dataset.ccmDomain=p.extractDomain(l),o.src=u,h=o.ccm19IframePlaceholder||o,t&&o===n)return}else{var f=n.cloneNode(),f=(f.src=u,f.setAttribute("scrolling","auto"),f.style.opacity="",f.style.visibility="",f.cloneNode())
264f.ccm19BlockedByEmbeddings=r,f.ccm19OriginalIframe=n,h=s?((r=document.createElement("SPAN")).classList.add("ccm--iframe-placeholder"),f.ccm19IframePlaceholder=r):f,this.iframes=this.iframes.filter(function(e){return e!==n}),this.iframes.push(f),o=f}t?(n.src=u,this.blockIframes=!1,n.parentElement.insertBefore(h,n),n.parentElement.removeChild(n),this.blockIframes=!0):(delete n.dataset.ccmLoaderGroup,delete n.dataset.ccmLoaderSrc,delete n.dataset.ccmSrc,n.ccm19ConsentGranted=!0,n.src||(n.src=l,n.parentElement.insertBefore(n,n.nextElementSibling))),this.appendConsentSwitchToIframes&&this.appendConsentSwitchToIframe(n,!t)}}},processImageForBlocking:function(e){if(e.dataset.ccmLoaderSrc&&!this.blockedImages.includes(e)){var t=[]
265try{t=e.dataset.ccmLoaderGroup?this.getEmbeddingsWithScriptLoaderGroup(e.dataset.ccmLoaderGroup):this.getEmbeddingsWithScriptFilterMatch(e.outerHTML,e)}catch(i){}var n=this.getAllowedAndMandatoryEmbeddingIds()
2660<(t=t.filter(function(e){return!n.includes(e.id)}
266)).length?(e.ccm19BlockedByEmbeddings=t.map(function(e){return e.id}),this.blockedImages.push(e)):this.restoreImage(e)}},preprocessMacroUrl:function(e){return this.tcfData.adTagsAutoAppend&&e.match(/https?:\/\/www\.awin1\.com\/[cpa][a-z]{4,9}\.php\?/i)&&(e+="&gdpr=${GDPR}&gdpr_consent=${GDPR_CONSENT_907}"),e},processLinkForMacros:function(e){var t,n,i,o,s
267"ccmHref"in e.dataset||(t=this.preprocessMacroUrl(e.href)).includes("${GDPR")&&(n="__tcfapi"in window?window.__tcfapi:function(e,t,n,i){n(null,!1)},o=[],(i=t.match(/\$\{GDPR_CONSENT_[0-9]{1,10}\}/g))&&(o=i.map(function(e){return parseInt(e.substr(15))})),s=this,e.dataset.ccmHref=t,n("getTCData",2,function(n){e.href=n?t.replace(/\$\{GDPR(_CONSENT_[0-9]{1,10})?\}/g,function(e,t){return t?n.tcString:n.gdprApplies?"0":"1"}):t.replace(/\$\{GDPR(_CONSENT_([0-9]{1,10}))?\}/g,function(e,t){return t?"":s.behavior.noConsentRequired?"0":"1"})},o))},processImageForMacros:function(e){var t,n,i,o,s
268"ccmSrc"in e.dataset||(t=this.preprocessMacroUrl(e.src)).includes("${GDPR")&&(n="__tcfapi"in window?window.__tcfapi:function(e,t,n,i){n(null,!1)},o=[],(i=t.match(/\$\{GDPR_CONSENT_[0-9]{1,10}\}/g))&&(o=i.map(function(e){return parseInt(e.substr(15))})),s=this,e.dataset.ccmSrc=t,n("getTCData",2,function(n){n?e.href=t.replace(/\$\{GDPR(_CONSENT_[0-9]{1,10})?\}/g,function(e,t){return t?n.tcString:n.gdprApplies?"0":"1"}):s.tcfData.enabled?e.src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E":e.src=t.replace(/\$\{GDPR(_CONSENT_([0-9]{1,10}))?\}/g,function(e,t){return t?"":s.behavior.noConsentRequired?"0":"1"})},o))},performBlockingActionsOnNode:function(e){if(e instanceof HTMLIFrameElement)this.processIframeForBlocking(e)
269else if(e instanceof HTMLScriptElement)this.processScriptForBlocking(e)
270else if(e instanceof HTMLImageElement)this.processImageForBlocking(e)
271else if("classList"in e&&e.classList.contains("ccm-cookie-declaration")&&0==e.children.length)this.insertCookieDeclaration()
272else{this.tcfData.adTags&&(e instanceof HTMLImageElement?this.processImageForMacros(e):e instanceof HTMLAnchorElement&&e.hasAttribute("href")&&this.processLinkForMacros(e)),e.nodeType==Node.ELEMENT_NODE&&this.registerJavaScriptApiHandler(e)
273for(var t=("children"in e?e.children:e.childNodes),n=0;n<t.length;n++)this.performBlockingActionsOnNode(t[n])}},observeDocument:function(){var o,e
274!this.domWatcher&&((this.blockNewScripts||this.deniedScripts||this.blockEmbeddingScriptMarkers)&&window.addEventListener("beforescriptexecute",function(e){var t=e.target
275"text/x-blocked-script"==t.type&&(t.setAttribute("data-ccm-type",t.type),e.preventDefault())},!0),(o=this).domWatcher=new MutationObserver(function(e,t){e.forEach(function(e){"attributes"==e.type&&e.target instanceof HTMLIFrameElement&&"src"==e.attributeName&&o.processIframeForBlocking(e.target),h(e.addedNodes).forEach(function(e){var t
276o.performBlockingActionsOnNode(e),(e instanceof HTMLHtmlElement||e instanceof HTMLBodyElement)&&o.widgetInitialized&&(o.ownHeadElements.forEach(function(e){document.head&&e.parentElement!==document.head&&document.head.appendChild(e)}),document.body)&&o.container&&o.container.parentElement!==document.body&&(document.body.appendChild(o.container),t=document.getElementById("ccm-focus-helper--bottom"))&&document.body.appendChild(t),e.nodeType==Node.ELEMENT_NODE&&(h(e.querySelectorAll("[data-ccm-orig-inert]")).forEach(function(e){e.inert=!!+e.getAttribute("data-ccm-orig-inert"),e.removeAttribute("data-ccm-orig-inert")}),o.dispatchInternalEvent("domElementNodeAdded",e))}),h(e.removedNodes).forEach(function(t){o.container&&t===o.container?window.setTimeout(function(){var e
277t.parentElement!==document.body&&(h(document.body.getElementsByClassName("ccm-root")).forEac
277h(function(e){e.parentNode.removeChild(e)}),document.body.appendChild(t),e=document.getElementById("ccm-focus-helper--bottom"))&&document.body.appendChild(e)},1e3):o.ownHeadElements.includes(t)&&t.parentElement!==document.head&&document.head.appendChild(t)})})}),this.domWatcher.observe(document,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),window.addEventListener("message",o.onPostMessage),this.consentCrossDomain||this.accountWideConsentSharing)&&(document.addEventListener("click",function(e){for(var t=("composedPath"in e?e.composedPath():[e.target]),n=t[0],i=0;i<t.length;++i)if("href"in t[i]){n=t[i]
278break}for(;n&&"href"in n==0;)n=n.parentElement
279n&&o.appendCrossDomainConsent(n)},!0),document.addEventListener("submit",function(e){"action"in e.target&&o.appendCrossDomainConsent(e.target)},!0),e=HTMLFormElement.prototype.submit,Object.defineProperty(HTMLFormElement.prototype,"submit",{configurable:!0,enumerable:!1,writable:!0,value:function(){o.appendCrossDomainConsent(this),e.call(this)}}))},handleHistoryStateChange:function(){this.callAsSoonAsSavingSettingsIsDone((function(){var e,t
2800==this.isActive||this.partOfAdAndTrackingFreeNetwork||this.isBotBrowser()||this.consentGiven()||(e=this.isModalActive(),t=this.shouldHideBanner(),e&&t?(this.closeAllModals(),this.revokeAllPrivileges()):e||t||0!=this.settingsSavedOnce||this.openWidget())}).bind(this))},onHistoryStateChanged:function(e){this.handleHistoryStateChange()},checkDomainMatch:function(e){var e=e.replace(/\.$/,""),t=this.mainMatchDomain.replace(/^https?:\/\//,"").replace(/[/ ?].*/,"").replace(/\.$/,"").replace(/^www\./,"")
281return e.replace(/^www\./,"")==t||null!==this.getBaseDomain(e)},init:function(){if(!this.initialized){this.consentState={googleAdTechProviders:this.tcfData.enabled?p.mapObject(this.tcfData.googleATPs,function(){return!1}):{},tcfLegIntPurposes:this.tcfData.enabled?p.mapObject(this.tcfData.legIntPurposes,function(){return!1}):{},tcfLegIntVendors:this.tcfData.enabled&&this.tcfData.legIntEnabled?p.mapObject(p.filterObject(this.tcfData.vendor,function(e){return 0<e.pL.length}),function(){return!1}):{},tcfPurposes:this.tcfData.enabled?p.mapObject(this.tcfData.purposes,function(){return!1}):{},tcfSpecialFeatures:this.tcfData.enabled?p.mapObject(this.tcfData.specialFeatures,function(){return!1}):{},tcfVendors:this.tcfData.enabled?p.mapObject(this.tcfData.vendor,function(){return!1}):{}},this.onActionButtonClicked=p.bindThis(this,this.onActionButtonClicked),this.onConsentButtonClicked=p.bindThis(this,this.onConsentButtonClicked),this.onDeclineButtonClicked=p.bindThis(this,this.onDeclineButtonClicked),this.onDismissButtonClicked=p.bindThis(this,this.onDismissButtonClicked),this.onEmbeddingToggled=p.bindThis(this,this.onEmbeddingToggled),this.onFocusIn=p.bindThis(this,this.onFocusIn),this.onHistoryStateChanged=p.bindThis(this,this.onHistoryStateChanged),this.onIframeConsentSwitchStateChanged=p.bindThis(this,this.onIframeConsentSwitchStateChanged),this.onJumpTargetClicked=p.bindThis(this,this.onJumpTargetClicked),this.onMessageFromContentBlocker=p.bindThis(this,this.onMessageFromContentBlocker),this.onMessageFromConsentSharing=p.bindThis(this,this.onMessageFromConsentSharing),this.onModalCloseButtonClicked=p.bindThis(this,this.onModalCloseButtonClicked),this.onModalTargetClicked=p.bindThis(this,this.onModalTargetClicked),this.onPostMessage=p.bindThis(this,this.onPostMessage),this.onPurposeToggled=p.bindThis(this,this.onPurposeToggled),this.onSelectedLanguageChanged=p.bindThis(this,this.onSelectedLanguageChanged),this.onSettingsIconClicked=p.bindThis(this,this.onSettingsIconClicked),this.onSwitchStateChanged=p.bindThis(this,this.onSwitchStateChanged),this.onTabKeyDown=p.bindThis(this,this.onTabKeyDown),this.onTabKeyDownOnce=p.bindThis(this,this.onTabKeyDownOnce),this.onTcfDescriptionExpandClicked=p.bindThis(this,this.onTcfDescriptionExpandClicked),this.onTcfDescriptionExpandKeyPress=p.bindThis(this,this.onTcfDescriptionExpandKeyPress),this.onTcfExtendedDisclosureExpandClicked=p.bindThis(this,this.onTcfExtendedDisclosureExpandClicked),this.onTcfPermissionVendorListExpandClicked=p.bindThis(this,this.onTcfPermissionVendorListExpandClicked),this.onTreeNodeToggleClicked=p.bindThis(this,this.onTreeNodeToggleClicked),this.onWindowResize=p.bindThis(this,this.onWindowResize),this.onJavaScriptApiLinkClicked=p.bindThis(this,this.onJavaScriptApiLinkClicked),this.prefetchDetails=p.bindThis(this,this.prefetchDetails)
282var e=Math.random(),o=(this.shouldReport=0!==this.reportProbability&&e<=this.reportProbability,this.shouldReport&&this.wrapCookieSetter(),this),e=undefined
283if(this.isActive&&this.mustMatchDomains&&!this.isPreview&&!(e=this.checkDomainMatch(location.hostname))&&(this.shouldReport=!1,this.isActive=!1),["filter","forEach","map","reduce"].forEach(function(t){Object.defineProperty(o.repository,t,{configurable:!1,enumerable:!1,writable:!1,value:function(){var e=p.objectValues(o.repository)
284if(t in e&&"function"==typeof e[t])return e[t].apply(e,arguments)}})}),this.container=document.createElement("DIV"),this.container.classList.add("ccm-root"),p.toggleClass(this.container,"ccm--tcf-enabled",this.tcfData.enabled),p.toggleClass(this.container,"ccm--is-ie",p.isIE()),this.container.addEventListener("keyup",function(e){if(!(e.shiftKey||e.metaKey||e.ctrlKey||e.altKey||e.isComposing))if(" "==e.key&&"BUTTON"!==e.target.tagName&&"INPUT"!==e.target.tagName&&"button"==e.target.role&&(e.preventDefault(),e.target.click()),"Enter"==e.key&&"A"!==e.target.tagName&&"BUTTON"!==e.target.tagName&&"INPUT"!==e.target.tagName&&"button"==e.target.role)e.preventDefault(),e.target.click()
285else if("Escape"==e.key){for(var t,n=e.target;n&&"dialog"!=n.role;){if(n==o.container)return
286n=n.parentNode}n&&(t=(t=n.getElementsByClassName("ccm-modal--close")[0])||n.getElementsByClassName("ccm-dismiss-button")[0])&&!t.disabled&&(e.preventDefault(),e.stopPropagation(),t.click())}}),0==this.isActive)!1===e?console.info("[CCM19] Frontend widget is not active on this domain (%s).",window.location.hostname):this.show
286FrontendWidgetOnlyIfEmbeddingsExist&&this.nonCmpEmbeddingCount?console.info("[CCM19] Frontend widget has no relevant embeddings."):console.info("[CCM19] Frontend widget is disabled."),this.initialized=!0
287else{this.locale||(this.prioritizeLangAttribute?this.setLocaleUsingLangAttribute():this.setLocaleFromBrowserPreference(),this.locale)||(this.locale=this.fallbackLocale,this.widgetUrl=this.widgetUrls[this.fallbackLocale],this.widgetUrl===undefined&&(this.locale=Object.keys(this.widgetUrls)[0],this.widgetUrl=this.widgetUrls[this.locale])),this.optOutMode=this.behavior.noConsentRequired&&this.behavior.showBannerForOptOut,this.optInModeHidden=!this.optOutMode&&this.hideIfEmbeddingsReachable&&this.isEachEmbeddingReachable(),this.setStorageNamespaceUsingUrlParameter()
288e=this.getConsentStorage()
289if(!1===e.consent&&2===e.gen&&0<(e.embeddings||[]).length&&!this.optOutMode&&this.saveSettingsInternal(this.getUniqueCookieId(),!1,[]),this.presetConsentState(),this.clickedButton=e.clickedButton||null,this.iframeConsentDomains="object"==typeof e.iframeConsentDomains&&e.iframeConsentDomains instanceof Array?e.iframeConsentDomains:[],this.observeDocument(),this.wrapElementInsertion(),this.protectNativeFunctions(),this.initHighPriorityEventListeners(),!p.hasGTMLayer("consent")&&!0!==window._ccm19gtm_gcmDefaultsConfigured)for(var t in this.repository)if(this.repository[t].gcm){p.sendGTag("consent","default",{ad_storage:"denied",analytics_storage:"denied",functionality_storage:"denied",personalization_storage:"denied",security_storage:"denied",ad_personalization:"denied",ad_user_data:"denied",wait_for_update:1e3})
290break}if(!p.hasMsUETLayer("consent"))for(var t in this.repository)if(this.repository[t].mscm){this.tcfData.enabled&&p.sendMsUet("config","tcf",{enabled:"true"}),p.sendMsUet("consent","default",{ad_storage:"denied"})
291break}var n=this.gatherMatomoInfo([]),n=(!1===n.consent&&p.sendMatomoConfig("requireConsent"),!1===n.cookieConsent&&p.sendMatomoConfig("requireCookieConsent"),this.injectCss(),this.injectJs(),this.initTcfStub(),this.injectPlugins(),Math.round((e.updated||0)/10)),e=this.consentCookieReset,i=null===this.consentLifetimeForPartialConsent||this.consentLifetimeForPartialConsent===this.consentLifetime||this.isFullConsentGiven()?this.consentLifetime:this.consentLifetimeForPartialConsent
292this.consentGiven()&&!this.urlIsExempt(window.location.href)&&((0<i&&p.now/1e3-n)>86400*i||n<e&&e<=p.now/1e3)&&(this.forceOpenWidget=!0,this.requiresConsentUpdate=!0),this.optInModeHidden&&(this.forceOpenWidget=!1),this.optOutMode&&(this.requiresConsentUpdate=!1),this.partOfAdAndTrackingFreeNetwork&&(this.forceOpenWidget=!1,0!=this.consentGiven()&&!this.requiresConsentUpdate||this.callAsSoonAsTcfApiIsAvailableOrIfDisabled(function(){p.triggerCustomEvent(window,"ccm19WidgetOpened"),o.logOpenData()})),this.settingsSavedOnce=this.consentGiven(),o.build(function(e){var t=!1,n=!1,i=(this.forceOpenWidget?(this.forceOpenWidget=!1,n=t=!0):this.isBotBrowser()||this.urlIsExempt(location.href)&&!this.consentGiven()?(this.revokeAllPrivileges(),this.settingsIconTarget="main"):this.behavior.noConsentRequired||this.partOfAdAndTrackingFreeNetwork?this.presetConsentState():0==this.consentGiven()&&(n=t=!0),p.isTopLevel()?undefined:-1)
293n&&(e?this.openOrDelayWidget(i):this.openWidget(i)),document.body?this.loadScripts(t):window.addEventListener("DOMContentLoaded",function(){o.loadScripts(t)})}),o.callUrl&&o.sendBeacon(o.callUrl,new URLSearchParams),o.initialized=!0}}},pageCheckReport:function(){var n={},e=(n.c=this.getCookies().map(function(e){return e.name}),document.getElementsByTagName("script"))
294n.s=[]
295for(var t=0;t<e.length;++t){var i=e[t]
296this.checkIsExternal(i.src)&&!i.hasAttribute("data-ccm-injected")&&n.s.push(i.src)}var o=document.getElementsByTagName("object")
297for(n.o=[],t=0;t<o.length;++t){var s=o[t]
298this.checkIsExternal(s.data)&&n.o.push(s.data)}for(o=document.getElementsByTagName("embed"),t=0;t<o.length;++t)s=o[t],this.checkIsExternal(s.src)&&n.o.push(s.src)
299for(var r,o=document.getElementsByTagName("iframe"),t=0;t<o.length;
299++t)s=o[t],this.checkIsExternal(s.src)&&n.o.push(s.src)
300try{n.ls=[]
301for(var c=window.localStorage,t=0;t<c.length;++t)n.ls.push(c.key(t))}catch(a){}try{for(n.ss=[],c=window.sessionStorage,t=0;t<c.length;++t)n.ss.push(c.key(t))}catch(a){}try{n.as={},this.scripTracker&&(r=this.foundScriptCookies,this.blockableScripts.forEach(function(e){var t
302"text/x-ccm-loader"==e.type&&e.dataset.ccmLoaderGroup||(t=e.ccm_id,n.as[t]={s:btoa(e.outerHTML.trim().replace(/\s+\n/g,"\n").replace(/\n\n+/g,"\n\n").substring(0,500)),c:e.src in r?Object.keys(r[e.src]):[]})}))}catch(a){}n.url=location.href.replace(/[?#].*$/,""),this.ajax(this.pageCheckUrl,{contentType:"application/json",body:n,method:"POST"})},triggerCron:function(){this.ajax(this.cronUrl,{method:"POST"})},cleanUpClientStorage:function(e){e="boolean"==typeof e&&e
303var t,o=this,i={cookies:{},localStorage:{},sessionStorage:{}},s={cookies:{},localStorage:{},sessionStorage:{}},r=this.getCookies().map(function(e){return e.name}),c=Object.getOwnPropertyNames(window.localStorage),a=Object.getOwnPropertyNames(window.sessionStorage),l=!1
304function n(e,i){e.assets.forEach(function(t){var e=[],n=null
305switch(t.type){case o.consts.TYPE_COOKIE:e=r,n="cookies"
306break
307case o.consts.TYPE_LOCAL_STORAGE:e=c,n="localStorage"
308break
309case o.consts.TYPE_SESSION_STORAGE:e=a,n="sessionStorage"}n&&(t.glob?e.forEach(function(e){p.fnmatch(t.name,e)&&(i[n][e]=t.name)}):i[n][t.name]=t.name)})}for(t in this.repository)n(this.repository[t],i)
310e?this.getEmbeddingsWithConsent().forEach(function(e){n(e,s)}):s=i,s.cookies.ccm_login_session="ccm_login_session",s.cookies.ccm_consent="ccm_consent",s.localStorage.ccm_consent="ccm_consent",s.sessionStorage.ccm_consent="ccm_consent"
311var d=[window.location.hostname],u=window.location.hostname.match(/\.([^.]+\.[^.]+)$/)
312u&&d.push(u[1]),r.forEach(function(t){var e=!!s.cookies[t],n=!i.cookies[t]
313if(e||n&&0==o.deleteAllCookiesConfig)return!1
314d.forEach(function(e){document.cookie=t+"=;domain="+e+";path=/;expires=Thu, 01 Jan 1970 00:00:00 UTC"}),document.cookie=t+"=;path=/;expires=Thu, 01 Jan 1970 00:00:00 UTC",l=!0}),c.forEach(function(e){var t=!!s.localStorage[e],n=!i.localStorage[e]
315if(t||n&&0==o.deleteAllCookiesConfig)return!1
316window.localStorage.removeItem(e),l=!0}),a.forEach(function(e){var t=!!s.sessionStorage[e],n=!i.sessionStorage[e]
317if(t||n&&0==o.deleteAllCookiesConfig)return!1
318window.sessionStorage.removeItem(e),l=!0}),this.deleteAllCookiesReload&&l&&window.location.reload(!0)},wrapElementInsertion:function(){var n=this,t=Node.prototype.appendChild,i=Node.prototype.insertBefore
319Node.prototype.appendChild=function(e){return n.performBlockingActionsOnNode(e),t.call(this,e)},Node.prototype.insertBefore=function(e,t){return n.performBlockingActionsOnNode(e),i.call(this,e,t)},["after","before","append","prepend"].filter(function(e){return e in Element.prototype&&"function"==typeof Element.prototype[e]}).forEach(function(e){var t=Element.prototype[e]
320Element.prototype[e]=function(){return h(arguments).filter(function(e){return e instanceof Node}).forEach(function(e){n.performBlockingActionsOnNode(e)}),t.apply(this,arguments)}})},wrapCookieSetter:function(){var r=this
321"getOwnPropertyDescriptor"in Object&&"stack"in Error.prototype&&p.wrapProperty(HTMLDocument.prototype,"cookie",{set:function(e,t){try{var n,i=e.split("=",1)[0],o=(new Error).stack.trim().split("\n")
322o.shift(),1<o.length&&/\/(js|jquery)\.cookie[._]/.test(o[0])&&o.shift(),0<o.length&&(n=o[0].match(/\b((?:https?|data):.*):[0-9]+:[0-9]+\b/))&&(n[1]in r.foundScriptCookies||(r.foundScriptCookies[n[1]]={}),r.foundScriptCookies[n[1]][i]=i)}catch(s){console.error("[CCM19] Error while tracing cookie in script: %s",s)}return t.call(this,e)}})},wrapHistoryApi:function(){var t=this,e=function(e){e.apply(this,h(arguments).slice(1)),t.handleHistoryStateChange()}
323p.wrapProperty(History.prototype,"pushState",{value:e}),p.wrapProperty(History.prototype,"replaceState",{value:e})},protectNativeFunctions:function(){[{object:Array.prototype,properties:["reduce"]}].forEach(function(n){n.properties.forEach(function(e){var t=Object.getOwnPropertyDescriptor(n.object,e)
324t&&t.configurable&&(t.configurable=!1,t.writable=!1,Object.defineProperty(n.object,e,t))})})},initHighPriorityEventListeners:function(){var t=this
325function n(n){var e=n.type
326t.checkIsManipulatedClick(n)||(t.highPriorityEventHandlers[e]||[]).forEac
326h(function(e){for(var t=n.target;t&&t!==e.target;)t=t.parentElement
327t===e.target&&e.handler(n,t)})}["click"].forEach(function(e){t.highPriorityEventHandlers[e]=[],document.addEventListener(e,n,{capture:!0})})},addHighPriorityEventListener:function(e,t,n){if(!(e in this.highPriorityEventHandlers))throw new Error("High priority event not available: "+e)
328this.hasHighPriorityEventListener(e,t,n)||this.highPriorityEventHandlers[e].push({handler:n,target:t})},hasHighPriorityEventListener:function(e,t,n){return(this.highPriorityEventHandlers[e]||[]).some(function(e){return e.handler===n&&e.target===t})},_updateCookieDeclarationInner:function(e,n){n=n||navigator.language
329var i=this.getConsentStorage()
330h(e.querySelectorAll(".ccm-cookie-declaration--consent-id")).forEach(function(e){e.textContent="ucid"in i?i.ucid:"—"}),h(e.querySelectorAll(".ccm-cookie-declaration--consent-date")).forEach(function(e){var t
331"updated"in i?(t=new Date(100*i.updated),e.dateTime=t.toISOString(),e.textContent=t.toLocaleString(n)):e.textContent="—"}),h(e.querySelectorAll(".ccm-cookie-declaration--consent-state")).forEach(function(e){h(e.querySelectorAll("span[data-ccm-state]")).forEach(function(e){(i.clickedButton||"none")===e.getAttribute("data-ccm-state")?(e.hidden=!1,e.style.display="inline"):(e.hidden=!0,e.style.display="none")})}),h(e.querySelectorAll(".ccm-cookie-declaration--change-consent a[data-ccm-action]")).forEach(function(t){if("withdrawConsent"===t.dataset.ccmAction){let e=t.closest("li")
332e&&1==e.children.length&&e.firstElementChild===t?1==e.parentElement.children.length&&(e=e.parentElement):e=t
333var n="decline"===i.clickedButton
334e.hidden=n,e.style.display=n?"none":""}})},updateCookieDeclaration:function(){var t=this
335h(document.getElementsByClassName("ccm-cookie-declaration")).forEach(function(e){t._updateCookieDeclarationInner(e,e.getAttribute("lang"))})},registerCookieDeclarationControls:function(e){h(e.querySelectorAll(".ccm-cookie-declaration--change-consent a[data-ccm-action]")).forEach(e=>{switch(e.dataset.ccmAction){case"changeConsent":e.addEventListener("click",this.onSettingsIconClicked)
336break
337case"withdrawConsent":e.addEventListener("click",this.onDeclineButtonClicked)}})},insertCookieDeclaration:function(){var a,e,n,i,o,s
338this.tasksRunning.insertCookieDeclaration||(a=this,(e=h(document.getElementsByClassName("ccm-cookie-declaration"))).length&&(this.tasksRunning.insertCookieDeclaration=!0,n=(e=e.map(function(e){var t
339return e instanceof HTMLParagraphElement?(t=document.createElement("DIV"),p.applyAttributes(t,e),e.parentElement.insertBefore(t,e),e.parentElement.removeChild(e),t):e})).reduce(function(e,t){var n=t.getAttribute("data-lang")
340return(n=n?n.replace("-","_"):a.locale)in e?e[n].push(t):e[n]=[t],e},Object.create(null)),i=this.cookieDeclarationUrl+"&lang=",o=Object.keys(n),s=0,o.forEach(function(e){var c=n[e],t=i+encodeURIComponent(e)
341a.ajax(t,{method:"GET",success:function(e,t,n){var i=n.getResponseHeader("Content-Language")
342try{var o=document.createRange(),s=(o.selectNode(c[0]),o.createContextualFragment(e))
343a._updateCookieDeclarationInner(s,i)}catch(r){console.error("[CCM19] Failed to insert current consent state to cookie declaration table",r)}c.forEach(function(e){e.setAttribute("lang",i),e.classList.remove("ccm-cookie-declaration--error"),e.classList.add("ccm-cookie-declaration--loaded"),e.innerHTML="",e.appendChild(s.cloneNode(!0)),a.registerCookieDeclarationControls(e)})},failure:function(){c.forEach(function(e){e.classList.remove("ccm-cookie-declaration--loaded"),e.classList.add("ccm-cookie-declaration--error")}),console.error("[CCM19] Cooke declaration table for locale '%s' could not be loaded",e)},done:function(){++s==o.length&&(this.tasksRunning.insertCookieDeclaration=!1,0<document.querySelectorAll('.ccm-cookie-declaration:not([class*="ccm-cookie-declaration--"])').length)&&this.insertCookieDeclaration()}})})))},triggerTagManagerEvent:function(e,t){var n=this.gtmVarName
344n!==undefined&&""!==n&&((t=t||{}).event=e,window[n]=window[n]||[],window[n].push(t))},prefetchDetails:function(){if(this.prefetchedForLocale!==this.locale){var e=[{id:"ccm-prefetch--detail-dialog",url:this.detailsUrls[this.locale]},{id:"ccm-prefetch--declaration-dialog",url:this.cookieDeclarationUrls[this.locale]}]
345const n=this
346e.forEach(function(t){if(t.url)if("fetch"in window)window.fetch(t.url,{cache:"force-cache",credentials:"omit",priority:"low",redirect:"manual"})
347else{let e=document.getElementById(t.id)
348if(e){if(e.href==t.url)return
349e.parentNode.removeChild(e)}else e=document.createElement("LINK")
350n.nonce&&e.setAttribute("nonce",n.nonce),e.crossOrigin="anonymous",e.href=t.url,e.id=t.id,e.rel="prefetch",document.head.appendChild(e)}}),this.prefetchedForLocale=this.locale}}},window.CCM===undefined&&(0<=window.location.hash.indexOf("CCM19consent=")&&(t=(t=(t=(n=/(^#?|&)CCM19consent=([0-9a-z]+)\|([0-9a-z]+)\|([0-9a-f]+)\|([0-9a-f|]*)/).exec(window.location.hash))||n.exec(decodeURI(window.location.hash)))||n.exec(decodeURI(decodeURI(window.location.hash))))&&((n=p.getUrl(window.location,!0)).hash=n.hash.replace(/(^#?|&)CCM19consent=[a-z0-9A-F%|]*/,""),""==n.hash&&"replaceState"in history?history.replaceState(history.state,"",window.location.pathname+window.location.search):window.location.replace(n.href)),(o=new i({"versionId":"5667dd38f3d0a31688e3d576b3621040760a5d26","versionName":"2026.08.14","domainId":"bcdea62","widgetUrls":{"de_DE":"https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/widget?apiKey=5e7629d72764cdcbfaa932652f41daffc0d85dd2a2b2f3ee&domain=bcdea62&gen=2&theme=5e9e723&lang=de_DE&v=1786714142"},"detailsUrls":{"de_DE":"https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/widget/detail
350s?apiKey=5e7629d72764cdcbfaa932652f41daffc0d85dd2a2b2f3ee&domain=bcdea62&gen=2&theme=5e9e723&lang=de_DE&v=1786714142"},"cookieDeclarationUrls":{"de_DE":"https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/widget/cookie-declaration?apiKey=5e7629d72764cdcbfaa932652f41daffc0d85dd2a2b2f3ee&domain=bcdea62&gen=2&theme=5e9e723&lang=de_DE&v=1786714142"},"locale":null,"fallbackLocale":"de_DE","prioritizeLangAttribute":true,"langAliases":{"nb":"no","nn":"no","tw":"ak","id":"ms","fil":"tl","ckb":"ku","sdh":"ku","kmr":"ku","mo":"ro","in":"id","ji":"yi"},"l10n":{"de_DE":{"blockedContentAllowEmbedding":"Inhalt für \":embedding\" zulassen","blockedContentProviderDetails":"Details zum Anbieter","blockedContentShowExternalContent":"Externe Inhalte anzeigen"}},"statisticsUrl":"https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/statistics/consent?apiKey=5e7629d72764cdcbfaa932652f41daffc0d85dd2a2b2f3ee&domain=bcdea62&gen=2&theme=5e9e723","callUrl":null,"pageCheckUrl":"https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/page_check/report?apiKey=5e7629d72764cdcbfaa932652f41daffc0d85dd2a2b2f3ee&domain=bcdea62&gen=2&theme=5e9e723","cronUrl":"https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/cron?apiKey=5e7629d72764cdcbfaa932652f41daffc0d85dd2a2b2f3ee&domain=bcdea62&gen=2&theme=5e9e723","origin":"https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php","jsFiles":[],"cssFiles":["https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/app.css?apiKey=5e7629d72764cdcbfaa932652f41daffc0d85dd2a2b2f3ee&domain=bcdea62&gen=2&theme=5e9e723&v=1786714142"],"plugins":[{"name":"Ccm19ScriptPlaceholder","script":"https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/plugins/Ccm19ScriptPlaceholder/module.js?apiKey=5e7629d72764cdcbfaa932652f41daffc0d85dd2a2b2f3ee&domain=bcdea62&gen=2&theme=5e9e723&lang=de_DE&v=1786714142"}],"isActive":true,"isPreview":false,"triggeringExtGtmEvents":true,"widgetDelayInMilliseconds":0,"widgetDelayUntilEvents":[],"reloadOnConsentSettingsSaved":false,"deleteAllCookiesConfig":false,"deleteAllCookiesReload":false,"runMandatoryEmbeddingsWithoutConsent":true,"cookieLifetime":365,"cookieUseSecure":true,"consentStorageMethod":"localStorage","consentShareDomains":[],"consentCrossDomain":false,"accountWideConsentSharingDomains":[],"accountWideConsentSharing":false,"cookieDeclarationUrl":"https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/cookie-declaration?apiKey=5e7629d72764cdcbfaa932652f41daffc0d85dd2a2b2f3ee&domain=bcdea62&gen=2&theme=5e9e723","storageNamespace":"/","storageNamespaceUrlParameter":"","settingsIconEnabled":false,"settingsIconTarget":"main","repository":{"91d7ec0":{"id":"91d7ec0","name":"YouTube","vendor":"YouTube","code":"","iframeBlockingStrings":["youtube"],"hideIframesUntilConsent":false,"dispatchLoadEventForIframes":true,"scriptLoaderGroup":"","excludeUrls":[],"excludeUrlsMode":"blacklist","purpose":"6cd2721","mandatory":false,"reachableOutsideBanner":false,"assets":[{"id":"6293646","name":"GPS","type":"cookie","glob":false,"lifetime":"1 Tag","hours":24},{"id":"476718e","name":"PREF","type":"cookie","glob":false,"lifetime":"5 Jahre","hours":43800},{"id":"64d8b53","name":"VISITOR_INFO1_LIVE","type":"cookie","glob":false,"lifetime":"VISITOR_INFO1_LIVE","hours":null},{"id":"17fc970","name":"ysc","type":"cookie","glob":false,"lifetime":"Session","hours":null},{"id":"41e0cb1","name":"VISITOR_INFO1_LIVE","type":"cookie","glob":false,"lifetime":"6 Monate","hours":4392},{"id":"5280f31","name":"yt.innertube::nextId","type":"localStorage","glob":false,"lifetime":"Persistent","hours":null},{"id":"6d4ea27","name":"yt.innertube::requests","type":"localStorage","glob":false,"lifetime":"Persistent","hours":null},{"id":"74c2bce","name":"ytidb::LAST_RESULT_ENTRY_KEY","type":"localStorage","glob":false,"lifetime":"Persistent","hours":null},{"id":"94c09eb","name":"yt-remote-cast-available","type":"localStorage","glob":false,"lifetime":"Session","hours":null},{"id":"aa864c6","name":"yt-remote-cast-installed","type":"localStorage","glob":false,"lifetime":"Session","hours":null},{"id":"f5f95ec","name":"yt-remote-connected-devices","type":"localStorage","glob":false,"lifetime":"Persistent","hours":null}
350,{"id":"19cef01","name":"yt-remote-device-id","type":"localStorage","glob":false,"lifetime":"Persistent","hours":null},{"id":"a6477a7","name":"yt-remote-fast-check-period","type":"localStorage","glob":false,"lifetime":"Session","hours":null},{"id":"4f50e1f","name":"yt-remote-session-app","type":"localStorage","glob":false,"lifetime":"Session","hours":null},{"id":"3c8d9d5","name":"yt-remote-session-name","type":"localStorage","glob":false,"lifetime":"Session","hours":null}],"tcf":null},"73f1ac6":{"id":"73f1ac6","name":"Soundcloud","vendor":"SoundCloud Global Limited & Co. KG","code":"","iframeBlockingStrings":["soundcloud.com"],"hideIframesUntilConsent":false,"dispatchLoadEventForIframes":true,"scriptLoaderGroup":"","excludeUrls":[],"excludeUrlsMode":"blacklist","purpose":"a717ff5","mandatory":false,"reachableOutsideBanner":false,"assets":[{"id":"7163474","name":"sc_anonymous_id","type":"cookie","glob":false,"lifetime":"10 Jahre","hours":87600},{"id":"c3a1cc3","name":"Sclocale","type":"cookie","glob":false,"lifetime":"1 Jahr","hours":8760},{"id":"983fbc6","name":"_soundcloud_session","type":"cookie","glob":false,"lifetime":"0","hours":null},{"id":"17d28a4","name":"_session_auth_key","type":"cookie","glob":false,"lifetime":"10 Jahre","hours":87600}],"tcf":null},"82254e6":{"id":"82254e6","name":"Meta Pixel","vendor":"Meta Platforms Ireland Ltd.","code":"","iframeBlockingStrings":["connect.facebook.net","facebook.net"],"hideIframesUntilConsent":false,"dispatchLoadEventForIframes":false,"scriptLoaderGroup":"","excludeUrls":[],"excludeUrlsMode":"blacklist","purpose":"a717ff5","mandatory":false,"reachableOutsideBanner":false,"assets":[{"id":"82f0280","name":"_fbp","type":"cookie","glob":false,"lifetime":"3 Monate","hours":2196},{"id":"b7a994c","name":"act","type":"cookie","glob":false,"lifetime":"1 Jahr","hours":8760},{"id":"1baeaaa","name":"c_user","type":"cookie","glob":false,"lifetime":"1 Jahr","hours":8760},{"id":"564b607","name":"datr","type":"cookie","glob":false,"lifetime":"1 Jahr","hours":8760},{"id":"8a33e02","name":"fr","type":"cookie","glob":false,"lifetime":"1 Jahr","hours":8760},{"id":"2e6167d","name":"m_pixel_ration","type":"cookie","glob":false,"lifetime":"1 Jahr","hours":8760},{"id":"8a626c6","name":"pl","type":"cookie","glob":false,"lifetime":"1 Jahr","hours":8760},{"id":"77d9e9e","name":"presence","type":"cookie","glob":false,"lifetime":"1 Jahr","hours":8760},{"id":"80f09d1","name":"sb","type":"cookie","glob":false,"lifetime":"1 Jahr","hours":8760},{"id":"6afffa0","name":"spin","type":"cookie","glob":false,"lifetime":"1 Jahr","hours":8760},{"id":"ef898e9","name":"wd","type":"cookie","glob":false,"lifetime":"1 Jahr","hours":8760},{"id":"c64bff3","name":"xs","type":"cookie","glob":false,"lifetime":"1 Jahr","hours":8760},{"id":"3951837","name":"AA003","type":"cookie","glob":false,"lifetime":"3 Monate","hours":2196},{"id":"9f58f85","name":"ATN","type":"cookie","glob":false,"lifetime":"2 Jahre","hours":17520},{"id":"bbd50bb","name":"lastExternalReferrer","type":"localStorage","glob":false,"lifetime":"Session","hours":null},{"id":"5f9403c","name":"lastExternalReferrerTime","type":"localStorage","glob":false,"lifetime":"Session","hours":null}],"tcf":null},"ecffc03":{"id":"ecffc03","name":"Matomo","vendor":"Komm.ONE","code":"","iframeBlockingStrings":[],"hideIframesUntilConsent":false,"dispatchLoadEventForIframes":true,"scriptLoaderGroup":"","excludeUrls":[],"excludeUrlsMode":"blacklist","purpose":"a717ff5","mandatory":false,"reachableOutsideBanner":false,"assets":[{"id":"b613289","name":"_pk_id.*","type":"cookie","glob":true,"lifetime":"7 Tage","hours":168},{"id":"fad8fb1","name":"_pk_ses.*","type":"cookie","glob":true,"lifetime":"Sitzungsende","hours":null},{"id":"00744b5","name":"_pk_ref.*","type":"cookie","glob":true,"lifetime":"7 Tage","hours":168},{"id":"73fc4e0","name":"_pk_hsr.*","type":"cookie","glob":true,"lifetime":"30 Minuten","hours":1}],"tcf":null},"c2697d2":{"id":"c2697d2","name":"Issuu","vendor":"Issuu Inc","code":"","iframeBlockingStrings":[],"hideIframesUntilConsent":false,"dispatchLoadEventForIframes":true,"scriptLoaderGroup":"","excludeUrls":[],"excludeUrlsMode":"blackl
350ist","purpose":"41ba25c","mandatory":true,"reachableOutsideBanner":false,"assets":[{"id":"829d0dd","name":"__qca","type":"cookie","glob":false,"lifetime":"31557600","hours":null},{"id":"f0eff50","name":"iutk","type":"cookie","glob":false,"lifetime":"15465600","hours":null},{"id":"71fc2c7","name":"sessionPageNumbers","type":"cookie","glob":false,"lifetime":"","hours":null},{"id":"1fad945","name":"sessionStartTime","type":"cookie","glob":false,"lifetime":"","hours":null}],"tcf":null},"34a6a51":{"id":"34a6a51","name":"Instagram Content","vendor":"Facebook Ireland Limited","code":"","iframeBlockingStrings":["instagram"],"hideIframesUntilConsent":false,"dispatchLoadEventForIframes":true,"scriptLoaderGroup":"","excludeUrls":[],"excludeUrlsMode":"blacklist","purpose":"6cd2721","mandatory":false,"reachableOutsideBanner":false,"assets":[{"id":"d6b410c","name":"pigeon_state","type":"cookie","glob":false,"lifetime":"","hours":null}],"tcf":null},"c920bff":{"id":"c920bff","name":"Google Maps","vendor":"Google Ireland Limited","code":"","iframeBlockingStrings":["maps"],"hideIframesUntilConsent":false,"dispatchLoadEventForIframes":true,"scriptLoaderGroup":"","excludeUrls":[],"excludeUrlsMode":"blacklist","purpose":"15c61c3","mandatory":false,"reachableOutsideBanner":false,"assets":[{"id":"62da168","name":"NID","type":"cookie","glob":false,"lifetime":"6 Monate","hours":4392},{"id":"8681caa","name":"goog_pem_mod","type":"localStorage","glob":false,"lifetime":"persistent","hours":null}],"tcf":null},"af00a56":{"id":"af00a56","name":"Fundraisingbox","vendor":"Wikando GmbH","code":"","iframeBlockingStrings":[],"hideIframesUntilConsent":false,"dispatchLoadEventForIframes":true,"scriptLoaderGroup":"","excludeUrls":[],"excludeUrlsMode":"blacklist","purpose":"a717ff5","mandatory":false,"reachableOutsideBanner":false,"assets":[{"id":"05b30c6","name":"AWSALBCORS","type":"cookie","glob":false,"lifetime":"","hours":null},{"id":"6fb36f7","name":"box","type":"cookie","glob":false,"lifetime":"","hours":null}],"tcf":null},"adde2f2":{"id":"adde2f2","name":"Cookie Consent Manager CCM19","vendor":"Komm.ONE","code":"","iframeBlockingStrings":[],"hideIframesUntilConsent":false,"dispatchLoadEventForIframes":true,"scriptLoaderGroup":"","excludeUrls":[],"excludeUrlsMode":"blacklist","purpose":"41ba25c","mandatory":true,"reachableOutsideBanner":false,"assets":[{"id":"2e9e4bd","name":"ccm_consent","type":"localStorage","glob":true,"lifetime":"1 Jahr","hours":8760}],"tcf":null},"c066731":{"id":"c066731","name":"CMS","vendor":"Komm.ONE","code":"","iframeBlockingStrings":[],"hideIframesUntilConsent":false,"dispatchLoadEventForIframes":true,"scriptLoaderGroup":"","excludeUrls":[],"excludeUrlsMode":"blacklist","purpose":"41ba25c","mandatory":true,"reachableOutsideBanner":false,"assets":[{"id":"8983f3e","name":"JSESSIONID","type":"cookie","glob":false,"lifetime":"Sitzungsende","hours":null}],"tcf":null}},"tcfData":{"enabled":false,"legIntEnabled":false,"compatVersion":"2.2","purposes":[],"legIntPurposes":[],"specialFeatures":[],"stacks":[],"vendor":[],"gvlVersion":3,"vlVersion":177,"tcfVersion":5,"googleACMode":false,"googleATPs":[],"disclosureUrlTemplate":"https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/tcf-disclosure/:VENDOR?apiKey=5e7629d72764cdcbfaa932652f41daffc0d85dd2a2b2f3ee&domain=bcdea62&gen=2&theme=5e9e723&lang=:LANG","adTags":false,"adTagsAutoAppend":false,"googleAdvertiserConsentMode":true},"behavior":{"respectDoNotTrack":false,"showBannerForOptOut":false,"noConsentRequired":false},"partOfAdAndTrackingFreeNetwork":false,"jsApiFeatures":{"embeddingConsentState":false},"evalInlineScripts":false,"blockIframes":true,"rememberIframeConsent":true,"appendConsentSwitchToIframes":true,"iframeBlockMode":"whitelist","blockNewScripts":false,"blockSameDomainScripts":false,"blockInlineScripts":false,"blockEmbeddingScriptMarkers":{"91d7ec0":["YouTube"],"73f1ac6":["soundcloud.com"],"82254e6":["connect.facebook.net","facebook.net"],"ecffc03":["piwik.js","matomo.js"],"34a6a51":["instagram.com"],"c920bff":["maps.googleapis.com","maps.google.com"],"af00a56":[]},"deniedScripts":[],"allowedScripts":[],"allowedScriptMarkers":[],"deniedScriptMarkers":[],"iframeMarkers":["fundraisingbox"],"country":"DE","exemptUrls":[],"hideIfEmbeddingsReachable":false,"scripTracker":false,"mustMatchDomains":false,"mainMatchDomain":"www.theaterkonstanz.de","detectCloakedScripts":false,"selfUrlPattern":"https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/app.js*","consts":{"MODE_WHITELIST":"whitelist","TYPE_COOKIE":"cookie","TYPE_LOCAL_STORAGE":"localStorage","TYPE_SESSION_STORAGE":"sessionStorage"},"contentBlockedUrl":"https://www.theaterkonstanz.de/ccm19os/os19ccm/public/index.php/x-content-blocked.html?apiKey=5e7629d72764cdcbfaa932652f41daffc0d85dd2a2b2f3ee&domain=bcdea62&gen=2&theme=5e9e723&lang=de_DE&v=1786714142","cronProbability":0.34,"reportProbability":0.25,"manipulationPrevention":true,"showFrontendWidgetOnlyIfEmbeddingsExist":false,"nonCmpEmbeddingCount":9,"consentCookieReset":1763642178,"consentLifetime":0,"consentLifetimeForParti
350alConsent":null,"gtmVarName":"dataLayer","showPoweredBy":true},t,p.currentScript())).isActive&&(o.cleanUpClientStorage(),window.addEventListener("ccm19WidgetLoaded",function(){o.cleanUpClientStorage(!0)}),n={version:{get:function(){return o.versionName},enumerable:!0},consent:{get:function(){return o.consentGiven()},enumerable:!0},fullConsentGiven:{get:function(){return o.isFullConsentGiven()},enumerable:!0},ucid:{get:function(){return this.consent?o.getUniqueCookieId():null},enumerable:!0},acceptedCookies:{get:function(){var n=[]
351return o.getAllowedEmbeddingIds().forEach(function(e){var t=o.repository[e]
352t&&t.assets.forEach(function(e){n.includes(e.name)||"cookie"==e.type&&n.push(e.name)})}),this.consent?n:[]},enumerable:!0},acceptedEmbeddings:{get:function(){var n=[]
353return o.getAllowedEmbeddingIds().forEach(function(e){var t=o.repository[e]
354t&&n.push(Object.create({},{id:{value:t.id,writable:!0,enumerable:!0},name:{value:t.name,writable:!0,enumerable:!0},_tcf:{value:t.tcf,writable:!0,enumerable:!1}}))}),o.optOutMode||this.consent?n:[]},enumerable:!0},consentLanguage:{get:function(){return o.getConsentLanguage()}},primaryCountry:{get:function(){return o.country}},crossDomainConsentString:{get:function(){return o.consentGiven()?o.buildCrossDomainConsent():""},enumerable:!0},consentRequired:{get:function(){return!o.behavior.noConsentRequired},enumerable:!0},openWidget:{value:function(){o.openWidget()},enumerable:!0},closeWidget:{value:function(){o.closeWidget()},enumerable:!0},openControlPanel:{value:function(){o.openControlPanel()},enumerable:!0},closeControlPanel:{value:function(){o.closeControlPanel()},enumerable:!0},openCookieDeclarationTable:{value:function(){o.openCookieDeclarationTable()},enumerable:!0},closeCookieDeclarationTable:{value:function(){o.closeCookieDeclarationTable()},enumerable:!0},openDetailsWindowAtEmbedding:{value:function(e){if("string"!=typeof e)throw new TypeError("embeddingId is not a string")
355if(!(e in o.repository))throw new Error('Embedding "'+e+'" does not exist')
356o.showEmbeddingDetails(e)},enumerable:!0},openDetailsWindowAtPurpose:{value:function(e){var t=p.uniqueValues(o.repository.map(function(e){return e.purpose}))
357if("string"!=typeof e)throw new TypeError("purposeId is not a string")
358if(!t.includes(e))throw new Error('Purpose "'+e+"\" either does not exist or isn't available in this configuration")
359o.showPurposeDetails(e)},enumerable:!0},openDetailsWindow:{value:function(){o.openDetailsWindow()},enumerable:!0},closeDetailsWindow:{value:function(){o.closeDetailsWindow()},enumerable:!0},navigate:{value:function(e,t,n){e=o.withCrossDomainConsent(e)
360var i=(n?window.top:window).location
361t?i.replace(e):i.assign(e)},enumerable:!0},availableLocales:{value:function(){return Object.keys(o.widgetUrls)},enumerable:!0},switchLocale:{value:function(e){o.switchLocale(e)},enumerable:!0},_tcfInfo:{get:function(){return{consent:o.getTcfConsentInfo(),repository:o.tcfData}}},toString:{value:function(){return"[namespace CCM]"}}},o.partOfAdAndTrackingFreeNetwork&&p.assign(n,{denyAllPrivileges:{value:function(){this.revokeAllPrivileges()},enumerable:!0},grantAllPrivileges:{value:function(){o.clickedButton="acceptAll",o.grantAllPrivileges(),o.saveSettings(),o.callAsSoonAsSavingSettingsIsDone(function(){o.callAsSoonAsTcfApiIsAvailableOrIfDisabled(function(){p.triggerCustomEvent(window,"ccm19WidgetClosed")})})},enumerable:!0},revokeAllPrivileges:{value:function(){o.clickedButton="decline",o.iframeConsentDomains=[],o.revokeAllPrivileges(),o.saveSettings(),o.callAsSoonAsSavingSettingsIsDone(function(){o.callAsSoonAsTcfApiIsAvailableOrIfDisabled(function(){p.triggerCustomEvent(window,"ccm19WidgetClosed")})})},enumerable:!0},requiresConsentUpdate:{get:function(){return 0==this.consent||o.requiresConsentUpdate},enumerable:!0},embeddings:{enumerable:!0,get:function(){return o.repository.map(function(e){var t={id:e.id,name:e.name,vendor:e.vendor,l10n:JSON.parse(JSON.stringify(e.l10n)),assets:e.assets.map(function(e){return{name:e.name,type:e.type,l10n:JSON.parse(JSON.stringify(e.l10n))}})}
362return t.l10n._=t.l10n[o.fallbackLocale],t.assets.forEach(function(e){e.l10n._=e.l10n[o.fallbackLocale]}),t})}},tcf:{value:Object.create(null,{enabled:{enumerable:!0,value:o.tcfData.enabled},stacks:{enumerable:!0,get:function(){return 0==this.enabled?[]:o.tcfData.stacks}},vendors:{enumerable:!0,get:function(){return 0==this.enabled?[]:Object.keys(o.tcfData.vendor).map(function(e){var t=o.tcfData.vendor[e]
363return{id:parseInt(e),name:t.n,flexiblePurposes:t.pF,legitimateInterestPurposes:t.pL,purposes:t.p,specialPurposes:t.sp}},[])}},customVendors:{enumerable:!0,get:function(){return p.uniqueValues(o.repository.reduce(function(e,t){return t.tcf||e.push(t.vendor),e},[])).sort(function(e,t){return e.localeCompare(t)})}}}),enumerable:!0}}),o.jsApiFeatures.embeddingConsentState&&p.assign(n,{setEmbeddingConsentState:{value:function(e){o.setEmbeddingConsentState(e)},enumerable:!0}}),window.CCM=Object.create(null,n),"clickskeksLegacy"in o)&&(window.Clickskeks=Object.create(null,{getInfo:{value:function(){return window.CCM.version},enumerable:!0},showConsent:{value:function(){window.CCM.openWidget()},enumerable:!0},acceptCategories:{value:function(e){var n={statistics:"a717ff5",preference:"7c19e32",marketing:"6cd2721",unclassified:"15c61c3"}
364e.forEach(function(e){var t=n[e]||null
365t&&o.selectPurpose(t,!0)}),o.saveSettings(),o.callAsSoonAsSavingSettingsIsDone(function(){o.callAsSoonAsTcfApiIsAvailableOrIfDisabled(function(){p.triggerCustomEvent(window,"ccm19WidgetClosed")})})},enumerable:!0},getCurrentAllowedConfig:{value:function(){var e=function(n){return 0!=o.repository.reduce(function(e,t){return e||t.purpose==n},!1)&&o.repository.reduce(function(e,t){return e&&(t.purpose!=n||t.consent)},!0)}
366return{necessary:!0,statistics:e("a717ff5"),preference:e("7c19e32"),marketing:e("6cd2721"),unclassified:e("15c61c3")}},enumerable:!0},optOut:{value:function(){o.iframeConsentDomains=[],o.revokeAllPrivileges(),o.saveSettings(),o.callAsSoonAsSavingSettingsIsDone(function(){o.callAsSoonAsTcfApiIsAvailableOrIfDisabled(function(){p.triggerCustomEvent(window,"ccm19WidgetClosed")})})},enumerable:!0},buildDisclaimer:{value:function(e){var t=document.getElementById(e)
367t&&(t.classList.add("ccm-cookie-declaration"),o.insertCookieDeclaration())},enumerable:!0},buildDisclaimerWithClass:{value:function(e){var t=h(document.getElementsByClassName(e))
3680<t.length&&(t.forEach(function(e){e.classList.add("ccm-cookie-declaration")}),o.insertCookieDeclaration())},enumerable:!0},addAllowedConfigChangedCallback:{value:function(e,t){"function"!=typeof e?console.error("Invalid argument, callback function expected"):(t&&e(this.getCurrentAllowedConfig()),o.clickskeksLegacy.allowedConfigChangeCallbacks.push(e))},enumerable:!0},setAllowedConfigChangedCallback:{value:function(e,t){"function"!=typeof e?console.error("Invalid argument, callback function expected"):(this.removeAllAllowedConfigChangedCallbacks(),o.clickskeksLegacy.allowedConfigChangeCallbacks.push(e))},enumerable:!0},removeAllowedConfigChangedCallback:{value:function(t){o.clickskeksLegacy.allowedConfigChangeCallbacks=o.clickskeksLegacy.allowedConfigChangeCallbacks.filter(function(e){return e!==t})},enumerable:!0},removeAllAllowedConfigChangedCallbacks:{value:function(){o.clickskeksLegacy.allowedConfigChangeCallbacks=[]},enumerable:!0},toString:{value:function(){return"[namespace Clickskeks]"}}})),0<o.cronProbability&&Math.random()<=o.cronProbability&&o.triggerCron(),o.shouldReport)&&window.addEventListener("load",function(){window.setTimeout(function(){o.pageCheckReport()},501)})}()

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.