1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["javascript/chunks/consent-manager.dd357273.js","javascript/application.c7cadb36.js"])))=>i.map(i=>d[i]); 2var E=Object.defineProperty;var m=(n,t,e)=>t in n?E(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var o=(n,t,e)=>m(n,typeof t!="symbol"?t+"":t,e);import{C as p,b as r,T as i,m as g,_ as f,r as v,g as w,e as H,f as b,h as _}from"../application.c7cadb36.js";const c=/skipConsent=(1|true)/;function d(n){const t=(n.dataset.consentCategory||"").split(/\s*,\s*/);for(const e of t)if(!H(e))return;b(n,e=>(e.removeAttribute("data-consent-target"),e.removeAttribute("data-consent-category"),e))}class l extends p{constructor(){super(...arguments);o(this,"consentElement",null)}initialize(){this.consentUpdatedHandler=this.consentUpdatedHandler.bind(this),this.consentManagerCloseHandler=this.consentManagerCloseHandler.bind(this),this.turboRenderHandler=this.turboRenderHandler.bind(this)}connect(){window.addEventListener(r,this.consentUpdatedHandler),window.addEventListener(i,this.turboRenderHandler),this.openIfChoiceNotMade()}openIfChoiceNotMade(){if(window.location.search.match(c)){window.history.replaceState(null,null,window.location.search.replace(c,"skipConsent=false"));return}g()||this.open({triggerInteractionEvent:!0})}async open({params:e={},triggerInteractionEvent:s=!1}={}){const{choices:h}=e,{default:u}=await f(async()=>{const{default:C}=await import("./consent-manager.dd357273.js");return{default:C}},__vite__mapDeps([0,1]));this.remove();const a=document.createElement("div");a.setAttribute("id",`consent-${v(10)}`),document.body.prepend(a),this.consentElement=a,this.consentElement.innerHTML=await u({manageChoices:h,cookiePolicyLink:this.cookiePolicyLinkValue,cookieCategories:w(),onClose:()=>{this.consentManagerCloseHandler({triggerInteractionEvent:s})}})}disconnect(){window.removeEventListener(r,this.consentUpdatedHandler),window.removeEventListener(i,this.turboRenderHandler),this.remove()}consentUpdatedHandler(){this.scriptTargets.forEach(d)}consentManagerCloseHandler({triggerInteractionEvent:e=!1}={}){if(e){const s=new CustomEvent(_);window.dispatchEvent(s)}this.remove()}turboRenderHandler(){this.openIfChoiceNotMade()}remove(){const{consentElement:e}=this;e&&(e.parentNode.removeChild(e),this.consentElement=null)}scriptTargetConnected(e){d(e)}}o(l,"targets",["script"]),o(l,"values",{cookiePolicyLink:String});export{l as default};
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.