1/*! For license information please see edithconsent.entry.ts.fd8339445e3b989e0547.js.LICENSE.txt */ 2"use strict";(self.webpackChunkedith6=self.webpackChunkedith6||[]).push([[2093],{82849(t,e,s){var n=s(12618),i=s(25707),o=s(86781);class r{constructor(){this.content=[],this.consent=null}}var a,h=function(t,e,s,n){var i,o=arguments.length,r=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,s):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(r=(o<3?i(r):o>3?i(e,s,r):i(e,s))||r);return o>3&&r&&Object.defineProperty(e,s,r),r},c=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let l=class extends n.WF{static{this.styles=n.AH` 3 :host { 4 position: var(--edithconsent-position, fixed); 5 top: var(--edithconsent-top, 50%); 6 right: var(--edithconsent-right, revert); 7 bottom: var(--edithconsent-bottom, revert); 8 left: var(--edithconsent-left, 50%); 9 width: var( 10 --edithconsent-width, 11 clamp(200px, fit-content, min(1200px, 100vw)) 12 ); 13 height: var( 14 --edithconsent-height, 15 clamp(300px, fit-content, min(800px, 100vh)) 16 ); 17 transform: var(--edithconsent-transform, translate(-50%, -50%)); 18 background: var(--edithconsent-background, white); 19 z-index: var(--edithconsent-z-index, 1100); 20 box-shadow: var(--edithconsent-box-shadow, 0 0 16px 0px #3d3d3d); 21 color: var(--edithconsent-text-color, revert); 22 font-size: var(--edithconsent-text-font-size, revert); 23 } 24 25 .wrapper { 26 padding: 1rem; 27 } 28 29 .wrapper *:focus-visible { 30 outline: 3px black solid; 31 outline-offset: 3px; 32 box-shadow: 0 0 0 4px white; 33 } 34 35 .settings { 36 max-height: 25dvh; 37 overflow-y: auto; 38 } 39 40 .edithconsent_info { 41 margin-bottom: 1rem; 42 } 43 44 .consent-type { 45 display: flex; 46 flex-direction: column; 47 margin-bottom: 0.75rem; 48 } 49 50 .consent-type_header { 51 display: flex; 52 gap: 0.75rem; 53 } 54 55 .consent-type_name { 56 font-weight: bold; 57 } 58 59 .consent-type_name .technisch_notwendig { 60 font-size: 0.85rem; 61 margin-left: 0.5rem; 62 } 63 64 .buttons { 65 display: flex; 66 gap: 0.75rem; 67 margin: 1.25rem 0 0.5rem 0; 68 } 69 70 @media screen and (max-width: 575px) { 71 .buttons { 72 flex-direction: column; 73 } 74 } 75 76 button { 77 color: var(--edithconsent-button-text-color, revert); 78 height: var(--edithconsent-button-height, revert); 79 background: var(--edithconsent-button-background, revert); 80 border: var(--edithconsent-button-border, revert); 81 border-radius: var(--edithconsent-button-border-radius, revert); 82 font-size: var(--edithconsent-button-font-size, revert); 83 font-weight: var(--edithconsent-button-font-weight, revert); 84 cursor: pointer; 85 flex: 1; 86 padding: 0.75rem; 87 display: flex; 88 align-items: center; 89 justify-content: center; 90 text-align: center; 91 line-height: 1.2; 92 height: auto; 93 } 94 95 .consent-id { 96 font-size: 0.85rem; 97 display: none; 98 } 99 `}updated(t){if(super.updated(t),t.has("settings")&&(this.consentState=new Map(this.settings.consent)),!this.hasSavedConsent)for(const t of this.settings.content)this.consentState.set(t.key,t.vorausgewaehlt)}render(){return n.qy` 100 <div class="wrapper"> 101 <div class="settings"> 102 <div class="edithconsent_info">${(0,o._)(this.settings.info)}</div> 103 <div> 104 ${this.settings.content.map(t=>n.qy` 105 <div class="consent-type"> 106 <div class="consent-type_header"> 107 <input 108 id="consent-type_checkbox_${t.key}" 109 type="checkbox" 110 ?checked="${this.hasSavedConsent?this.settings.consent.get(t.key):t.vorausgewaehlt}" 111 @change="${e=>this.setConsent(t.key,e.target.checked)}" 112 /> 113 <label 114 class="consent-type_name" 115 for="consent-type_checkbox_${t.key}" 116 > 117 ${t.name} 118 ${t.technisch_notwendig?n.qy` <span class="technisch_notwendig"> 119 technisch notwendig 120 </span>`:n.s6} 121 </label> 122 </div> 123 <div class="consent-type_body">
124 <span class="consent-type_text">${(0,o._)(t.text)}</span> 125 </div> 126 </div> 127 `)} 128 </div> 129 </div> 130 <div class="buttons"> 131 <button 132 @click="${this.saveNecessary}" 133 title="${this.settings.labels?.btnAllowNecessaryOnlyTooltip??n.s6}" 134 > 135 ${this.settings.labels?.btnAllowNecessaryOnly??"Nur notwendige akzeptieren"} 136 </button> 137 <button 138 @click="${this.save}" 139 title="${this.settings.labels?.btnSaveSelectionTooltip??n.s6}" 140 > 141 ${this.settings.labels?.btnSaveSelection??"Auswahl Speichern"} 142 </button> 143 <button 144 @click="${this.saveAll}" 145 title="${this.settings.labels?.btnAllowAllTooltip??n.s6}" 146 > 147 ${this.settings.labels?.btnAllowAll??"Alles akzeptieren"} 148 </button> 149 </div> 150 <span class="consent-id">Consent-ID: ${this.consentId}</span> 151 </div> 152 `}setConsent(t,e){this.consentState.set(t,e)}save(){this.dispatchEvent(new CustomEvent("edithconsentdialog.save",{detail:{consent:this.consentState}}))}saveAll(){for(const t of this.settings.content)this.consentState.set(t.key,!0);this.save()}saveNecessary(){for(const t of this.settings.content)this.consentState.set(t.key,t.technisch_notwendig);this.save()}};h([(0,i.MZ)(),c("design:type","function"==typeof(a=void 0!==r&&r)?a:Object)],l.prototype,"settings",void 0),h([(0,i.MZ)(),c("design:type",String)],l.prototype,"consentId",void 0),h([(0,i.MZ)(),c("design:type",Boolean)],l.prototype,"hasSavedConsent",void 0),l=h([(0,i.EM)("edithconsent-dialog")],l);const d=l;function p(t){for(var e=1;e<arguments.length;e++){var s=arguments[e];for(var n in s)"__proto__"!==n&&(t[n]=s[n])}return t}var u=function t(e,s){function n(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=p({},s,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var r in i)i[r]&&(o+="; "+r,!0!==i[r]&&(o+="="+i[r].split(";")[0]));return document.cookie=t+"="+e.write(n,t)+o}}return Object.create({set:n,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var s=document.cookie?document.cookie.split("; "):[],n={},i=0;i<s.length;i++){var o=s[i].split("="),r=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(a in n||(n[a]=e.read(r,a)),t===a)break}catch(t){}}return t?n[t]:n}},remove:function(t,e){n(t,"",p({},e,{expires:-1}))},withAttributes:function(e){return t(this.converter,p({},this.attributes,e))},withConverter:function(e){return t(p({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(s)},converter:{value:Object.freeze(e)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});class g{constructor(){this.consentedKeys=[]}}class f{constructor(){this.COOKIE_NAME="edithconsent",this.COOKIE_EXPIRES=180}getData(){const t=u.get(this.COOKIE_NAME);if(t)try{return JSON.parse(t)}catch(t){console.error("Error parsing consent cookie",t)}return new g}setData(t){u.set(this.COOKIE_NAME,JSON.stringify(t),{expires:this.COOKIE_EXPIRES})}getConsent(t){return this.getData().consentedKeys.includes(t)}saveConsent(t){const e=this.getData();e.consentedKeys.includes(t)||(e.consentedKeys.push(t),this.setData(e))}deleteConsent(t){const e=this.getData();e.consentedKeys.includes(t)&&(e.consentedKeys.splice(e.consentedKeys.indexOf(t),1),this.setData(e))}setConsentId(t){const e=this.getData();e.consentId=t,this.setData(e)}getConsentId(){return this.getData().consentId}setContentHash(t){const e=this.getData();e.contentHash=t,this.setData(e)}getContentHash(){return this.getData().contentHash}cleanup(){u.remove(this.COOKIE_NAME,{expires:this.COOKIE_EXPIRES})}}var v=s(49612),$=s(94067);window.EDITHConsent=new class{constructor(){this.dialogInstance=null,this.dialogSettings=null,this.storage=new f,this.alreadyLoadedOptionalScripts=[],this.lastTriggerElement=null,console.log("EDITHConsent Loaded"),this.consentId=this.storage.getConsentId(),this.consentId||(this.consentId=(0,v.A)())}async initialize(t){if(this.dialogSettings=t,void 0===this.dialogSettings.consent||null===this.dialogSettings.consent){await this.loadConsentFromStorage();for(const t of this.getConsentedKeys())this.addOptionalScript(t),this.enableScriptsOfType(t)}document.querySelectorAll(".openEDITHConsentSettings").forEach(t=>{t.addEventListener("click",t=>{this.lastTriggerElement=t.currentTarget,this.showConsentDialog(!0)})}),document.dispatchEvent(new CustomEvent("edithconsent.initialized"))}showConsentDialog(t=!1){this.dialogInstance?.remove(),this.dialogInstance=new d,this.dialogInstance.settings=this.dialogSettings,this.dialogInstance.consentId=this.consentId,this.dialogInstance.hasSavedConsent=void 0!==this.storage.getConsentId(),document.body.appendChild(this.dialogInstance),this.dialogInstance.setAttribute("role","dialog"),this.dialogInstance.setAttribute("aria-label","Cookie-Einstellungen"),t&&(this.dialogInstance.setAttribute("tabindex","-1"),this.dialogInstance.focus()),this.dialogInstance.addEventListener("edithconsentdialog.save",t=>{this.onSaveConsent(t.detail),this.hideConsentDialog()})}async showConsentDialogIfRequired(){return!this.storage.getConsentId()&&(this.showConsentDialog(),!0)}hideConsentDialog(){this.dialogInstance?.remove(),this.dialogInstance=null,this.lastTriggerElement?.focus()}getConsentedKeys(){return[...this.dialogSettings.consent].filter(([t,e])=>e).map(([t,e])=>t)}async loadConsentFromStorage(){this.storage.getContentHash()!==await this.createContentHash(this.dialogSettings.content)&&this.storage.cleanup(),this.dialogSettings.consent=new Map,this.dialogSettings.content.forEach(t=>{this.dialogSettings.consent.set(t.key,this.storage.getConsent(t.key))})}onSaveConsent(t){this.storage.setConsentId(this.consentId),this.createContentHash(this.dialogSettings.content).then(t=>{this.storage.setContentHash(t)}),t.consent.forEach((t,e)=>{t?(this.storage.saveConsent(e),this.addOptionalScript(e),this.enableScriptsOfType(e)):this.storage.deleteConsent(e)}),this.dialogSettings.consent=t.consent,window.frontend.getHttpModule().postJsonAsync(window.frontend.getUrlModule(
152).generateUrlToFrontendRoute("ajax",{ctr:"consent_ctr_edithconsentajaxctr",action:"logConsent"}),{consentId:this.consentId,selection:Object.fromEntries(t.consent)}),document.dispatchEvent(new CustomEvent("edithconsent.consentsaved"))}addOptionalScript(t){if(this.alreadyLoadedOptionalScripts.includes(t))return;const e=this.dialogSettings.content.find(e=>e.key===t);if(e.script){const s=document.createElement("div");s.innerHTML=e.script,(0,$.A)(s),this.alreadyLoadedOptionalScripts.push(t)}}enableScriptsOfType(t){document.querySelectorAll(`script[type="text/x-edithconsent-loader"][data-datenschutz-typ="${t}"]`).forEach(t=>{t.type="text/javascript",t.dataset.src&&(t.src=t.dataset.src),t.replaceWith(t)})}async createContentHash(t){return new Promise((e,s)=>{"subtle"in crypto?crypto.subtle.digest("SHA-256",(new TextEncoder).encode(JSON.stringify(t))).then(t=>{const s=Array.from(new Uint8Array(t)).map(t=>t.toString(16).padStart(2,"0")).join("");e(s)}).catch(t=>s(t)):e("")})}}},86505(t,e,s){s.d(e,["E",0,t=>(e,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}])},75694(t,e,s){s.d(e,{M:()=>r});var n=s(50842);const i={attribute:!0,type:String,converter:n.W3,reflect:!1,hasChanged:n.Ec},o=(t=i,e,s)=>{const{kind:n,metadata:o}=s;let r=globalThis.litPropertyMetadata.get(o);if(void 0===r&&globalThis.litPropertyMetadata.set(o,r=new Map),"setter"===n&&((t=Object.create(t)).wrapped=!0),r.set(s.name,t),"accessor"===n){const{name:n}=s;return{set(s){const i=e.get.call(this);e.set.call(this,s),this.requestUpdate(n,i,t,!0,s)},init(e){return void 0!==e&&this.C(n,void 0,t,e),e}}}if("setter"===n){const{name:n}=s;return function(s){const i=this[n];e.call(this,s),this.requestUpdate(n,i,t,!0,s)}}throw Error("Unsupported decorator location: "+n)};function r(t){return(e,s)=>"object"==typeof s?o(t,e,s):((t,e,s)=>{const n=e.hasOwnProperty(s);return e.constructor.createProperty(s,t),n?Object.getOwnPropertyDescriptor(e,s):void 0})(t,e,s)}},44290(t,e,s){s.d(e,{w:()=>i});var n=s(75694);function i(t){return(0,n.M)({...t,state:!0,attribute:!1})}},50842(t,e,s){s.d(e,{mN:()=>w,AH:()=>h,W3:()=>b,Ec:()=>E});const n=globalThis,i=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),r=new WeakMap;class a{constructor(t,e,s){if(this._$cssResult$=!0,s!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(i&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&r.set(e,t))}return t}toString(){return this.cssText}}const h=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[n+1],t[0]);return new a(s,t,o)},c=(t,e)=>{if(i)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),i=n.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=s.cssText,t.appendChild(e)}},l=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,o))(e)})(t):t,{is:d,defineProperty:p,getOwnPropertyDescriptor:u,getOwnPropertyNames:g,getOwnPropertySymbols:f,getPrototypeOf:v}=Object,$=globalThis,_=$.trustedTypes,y=_?_.emptyScript:"",m=$.reactiveElementPolyfillSupport,A=(t,e)=>t,b={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},E=(t,e)=>!d(t,e),S={attribute:!0,type:String,converter:b,reflect:!1,useDefault:!1,hasChanged:E};Symbol.metadata??=Symbol("metadata"),$.litPropertyMetadata??=new WeakMap;class w extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),n=this.getPropertyDescriptor(t,s,e);void 0!==n&&p(this.prototype,t,n)}}static getPropertyDescriptor(t,e,s){const{get:n,set:i}=u(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:n,set(e){const o=n?.call(this);i?.call(this,e),this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??S}static _$Ei(){if(this.hasOwnProperty(A("elementProperties")))return;const t=v(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(A("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(A("properties"))){const t=this.properties,e=[...g(t),...f(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];
vendor: 4,104 bytes, line 152
152if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(l(t))}else void 0!==t&&e.push(l(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return c(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(void 0!==n&&!0===s.reflect){const i=(void 0!==s.converter?.toAttribute?s.converter:b).toAttribute(e,s.type);this._$Em=t,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$Em=null}}_$AK(t,e){const s=this.constructor,n=s._$Eh.get(t);if(void 0!==n&&this._$Em!==n){const t=s.getPropertyOptions(n),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:b;this._$Em=n;const o=i.fromAttribute(e,t.type);this[n]=o??this._$Ej?.get(n)??o,this._$Em=null}}requestUpdate(t,e,s,n=!1,i){if(void 0!==t){const o=this.constructor;if(!1===n&&(i=this[t]),s??=o.getPropertyOptions(t),!((s.hasChanged??E)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(o._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:n,wrapped:i},o){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,o??e??this[t]),!0!==i||void 0!==o)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===n&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,n=this[e];!0!==t||this._$AL.has(e)||void 0===n||this.C(e,void 0,s,n)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[A("elementProperties")]=new Map,w[A("finalized")]=new Map,m?.({ReactiveElement:w}),($.reactiveElementVersions??=[]).push("2.1.2")},7804(t,e,s){s.d(e,{WL:()=>n});class n{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}s.d(e,["OA",0,{ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},"u$",0,t=>(...e)=>({_$litDirective$:t,values:e})])},36752(t,e,s){const n=globalThis,i=t=>
vendor: 8,818 bytes, lines 152-153
152t,o=n.trustedTypes,r=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,a="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,c="?"+h,l=`<${c}>`,d=document,p=()=>d.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,g=Array.isArray,f=t=>g(t)||"function"==typeof t?.[Symbol.iterator],v="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,y=/>/g,m=RegExp(`>|${v}(?:([^\\s"'>=/]+)(${v}*=${v}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),A=/'/g,b=/"/g,E=/^(?:script|style|textarea|title)$/i,S=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),w=S(1),C=(S(2),S(3),Symbol.for("lit-noChange")),x=Symbol.for("lit-nothing"),O=new WeakMap,I=d.createTreeWalker(d,129);function T(t,e){if(!g(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==r?r.createHTML(e):e}const P=(t,e)=>{const s=t.length-1,n=[];let i,o=2===e?"<svg>":3===e?"<math>":"",r=$;for(let e=0;e<s;e++){const s=t[e];let c,d,p=-1,u=0;for(;u<s.length&&(r.lastIndex=u,d=r.exec(s),null!==d);)u=r.lastIndex,r===$?"!--"===d[1]?r=_:void 0!==d[1]?r=y:void 0!==d[2]?(E.test(d[2])&&(i=RegExp("</"+d[2],"g")),r=m):void 0!==d[3]&&(r=m):r===m?">"===d[0]?(r=i??$,p=-1):void 0===d[1]?p=-2:(p=r.lastIndex-d[2].length,c=d[1],r=void 0===d[3]?m:'"'===d[3]?b:A):r===b||r===A?r=m:r===_||r===y?r=$:(r=m,i=void 0);const g=r===m&&t[e+1].startsWith("/>")?" ":"";o+=r===$?s+l:p>=0?(n.push(c),s.slice(0,p)+a+s.slice(p)+h+g):s+h+(-2===p?e:g)}return[T(t,o+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),n]};class U{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let i=0,r=0;const l=t.length-1,d=this.parts,[u,g]=P(t,e);if(this.el=U.createElement(u,s),I.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=I.nextNode())&&d.length<l;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(a)){const e=g[r++],s=n.getAttribute(t).split(h),o=/([.?@])?(.*)/.exec(e);d.push({type:1,index:i,name:o[2],strings:s,ctor:"."===o[1]?R:"?"===o[1]?D:"@"===o[1]?j:N}),n.removeAttribute(t)}else t.startsWith(h)&&(d.push({type:6,index:i}),n.removeAttribute(t));if(E.test(n.tagName)){const t=n.textContent.split(h),e=t.length-1;if(e>0){n.textContent=o?o.emptyScript:"";for(let s=0;s<e;s++)n.append(t[s],p()),I.nextNode(),d.push({type:2,index:++i});n.append(t[e],p())}}}else if(8===n.nodeType)if(n.data===c)d.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(h,t+1));)d.push({type:7,index:i}),t+=h.length-1}i++}}static createElement(t,e){const s=d.createElement("template");return s.innerHTML=t,s}}function M(t,e,s=t,n){if(e===C)return e;let i=void 0!==n?s._$Co?.[n]:s._$Cl;const o=u(e)?void 0:e._$litDirective$;return i?.constructor!==o&&(i?._$AO?.(!1),void 0===o?i=void 0:(i=new o(t),i._$AT(t,s,n)),void 0!==n?(s._$Co??=[])[n]=i:s._$Cl=i),void 0!==i&&(e=M(t,i._$AS(t,e.values),i,n)),e}class H{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,n=(t?.creationScope??d).importNode(e,!0);I.currentNode=n;let i=I.nextNode(),o=0,r=0,a=s[0];for(;void 0!==a;){if(o===a.index){let e;2===a.type?e=new k(i,i.nextSibling,this,t):1===a.type?e=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(e=new z(i,this,t)),this._$AV.push(e),a=s[++r]}o!==a?.index&&(i=I.nextNode(),o++)}return I.currentNode=d,n}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class k{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,n){this.type=2,this._$AH=x,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=M(this,t,e),u(t)?t===x||null==t||""===t?(this._$AH!==x&&this._$AR(),this._$AH=x):t!==this._$AH&&t!==C&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):f(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==x&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,n="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=U.createElement(T(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(e);else{const t=new H(n,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=O.get(t.strings);return void 0===e&&O.set(t.strings,e=new U(t)),e}k(t){g(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,n=0;for(const i of t)n===e.length?e.push(s=new k(this.O(p()),this.O(p()),this,this.options)):s=e[n],s._$AI(i),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=i(t).nextSibling;i(t).remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class N{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,n,i){this.type=1,this._$AH=x,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=i,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=x}_$AI(t,e=this,s,n){const i=this.strings;let o=!1;if(void 0===i)t=M(this,t,e,0),o=!u(t)||t!==this._$AH&&t!==C,o&&(this._$AH=t);else{const n=t;let r,a;for(t=i[0],r=0;r<i.length-1;r++)a=M(this,n[s+r],e,r),a===C&&(a=this._$AH[r]),o||=!u(a)||a!==this._$AH[r],a===x?t=x:t!==x&&(t+=(a??"")+i[r+1]),this._$AH[r]=a}o&&!n&&this.j(t)}j(t){t===x?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class R extends N{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===x?void 0:t}}class D extends N{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==x)}}class j extends N{constructor(t,e,s,n,i){super(t,e,s,n,i),this.type=5}_$AI(t,e=this){if((t=M(this,t,e,0)??x)===C)return;const s=this._$AH,n=t===x&&s!==x||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==x&&(s===x||n);n&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class z{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const L={M:a,P:h,A:c,C:1,L:P,R:H,D:f,V:M,I:k,H:N,N:D,U:j,B:R,F:z},B=n.litHtmlPolyfillSupport;B?.(U,k),(n.litHtmlVersions??=[]).push("3.3.3");s.d(e,["XX",0,(t,e,s)=>{const n=s?.renderBefore??e;let i=n._$litPart$;if(void 0===i){const t=s?.renderBefore??null;n._$litPart$=i=new k(e.insertBefore(p(),t),t,void 0,s??{})}return i._$AI(t),i},"c0",0,C,"ge",0,L,"qy",0,w,"s6",0,x])},25707(t,e,s){s.d(e,{EM:()=>n.E,MZ:()=>i.M,wk:()=>o.w});var n=s(86505),i=s(75694),o=s(44290)},86781(t,e,s){s.d(e,{_:()=>r});var n=s(36752),i=s(7804);class o extends i.WL{constructor(t){if(super(t),this.it=n.s6,t.type!==i.OA.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===n.s6||null==t)return this._t=void 0,this.it=t;if(t===n.c0)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}o.directiveName="unsafeHTML",o.resultType=1;const r=(0,i.u$)(o)},12618(t,e,s){s.d(e,{WF:()=>r,AH:()=>n.AH,qy:()=>i.qy,s6:()=>i.s6,XX:()=>i.XX});var n=s(50842),i=s(36752);const o=globalThis;class r extends n.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,i.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return i.c0}}r._$litElement$=!0,r.finalized=!0,o.litElementHydrateSupport?.({LitElement:r});const a=o.litElementPolyfillSupport;a?.({LitElement:r});(o.litElementVersions??=[]).push("4.2.2")}},t=>{t.O(0,[3416,2138],()=>{return e=82849,t(t.s=e);var e});t.O()}]); 153//# sourceMappingURL=edithconsent.entry.ts.fd8339445e3b989e0547.js.map
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.