!function(){var e="displayCookieConsent",t="cookieChoiceInfo",n="cookieChoiceDismiss",c="cookieChoiceDismissIcon",o=["top","bottom"],a=["light","dark","minimal","card"];function i(e,t,n){for(var c=0;c<t.length;c++)if(t[c]===e)return e;return n}function d(){var e=window._wfCookieConsentSettings;if(void 0!==e&&void 0!==e.wf_linkhref){var t={position:i(e.wf_position,o,"bottom"),style:i(e.wf_style,a,"light"),autoDark:!!e.wf_auto_dark};p(v(e.wf_cookietext),v(e.wf_dismisstext),v(e.wf_linktext),e.wf_linkhref,t,!1)}}function r(e,n,o,a,i){var d,r=document.createElement("div"),l=document.createElement("div");return l.className="wf-cc__inner",r.id=t,r.className="wf-cc wf-cc--"+i.position+" wf-cc--theme-"+i.style+(i.autoDark?" wf-cc--auto-dark":""),l.appendChild(m(e)),o&&a&&l.appendChild(u(o,a)),l.appendChild(s(n)),r.appendChild(l),r.appendChild(((d=document.createElement("a")).id=c,d.href="#",d.className="wf-cc__close",d)),r}function l(e,t){"textContent"in document.body?e.textContent=t:e.innerText=t}function m(e){var t=document.createElement("span");return l(t,e),t}function s(e){var t=document.createElement("a");return l(t,e),t.id=n,t.href="#",t.className="wf-cc__dismiss",t}function u(e,t){var n=document.createElement("a");return l(n,e),n.href=t,n.target="_blank",n.rel="noopener",n.className="wf-cc__link",n}function f(){var t;return(t=new Date).setFullYear(t.getFullYear()+1),document.cookie=e+"=y;path=/; expires="+t.toGMTString(),h(),!1}function p(o,a,i,d,l,p){if(!document.cookie.match(new RegExp(e+"=([^;]+)"))){h();var v=p?function(e,n,c,o){var a=document.createElement("div");a.id=t,a.className="wf-cc";var i=document.createElement("div");i.className="wf-cc__glass";var d=document.createElement("div");d.className="wf-cc__content";var r=document.createElement("div");r.className="wf-cc__dialog";var l=s(n);return l.className+=" wf-cc__dismiss--block",d.appendChild(m(e)),c&&o&&d.appendChild(u(c,o)),d.appendChild(l),r.appendChild(d),a.appendChild(i),a.appendChild(r),a}(o,a,i,d):r(o,a,i,d,l),_=document.createDocumentFragment();_.appendChild(v),document.body.appendChild(_.cloneNode(!0)),document.getElementById(n).onclick=f,document.getElementById(c).onclick=f}}function h(){var e=document.getElementById(t);null!=e&&e.parentNode.removeChild(e)}function v(e){var t=document.createElement("textarea");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}document.addEventListener?document.addEventListener("DOMContentLoaded",d):document.attachEvent("onreadystatechange",function(e){"complete"===document.readyState&&d()})}();