!function(e){if(e.cookieChoices)return e.cookieChoices;var t=e.document,n="textContent"in t.body,i=function(){function e(e,n,i,o){var d="position: fixed; width: 100%; background-color: #464646;margin: 0px; left: 0px; bottom: 0px; padding: 4px; z-index: 10000; text-align: center;color: #ddd;",l=t.createElement("div");return l.id=k,l.style.cssText=d,l.appendChild(r(e)),i&&o&&l.appendChild(c(i,o)),l.appendChild(a(n)),l}function i(e,n,i,o){var d="position:fixed;width:100%;height:100%;z-index:999;top:0;left:0;opacity:0.5;filter:alpha(opacity=50);background-color:#ccc;",l="z-index:1000;position:fixed;left:50%;top:50%",p="position:relative;left:-50%;margin-top:-25%;background-color:#fff;padding:20px;box-shadow:4px 4px 25px #888;",s=t.createElement("div");s.id=k;var u=t.createElement("div");u.style.cssText=d;var f=t.createElement("div");f.style.cssText=p;var h=t.createElement("div");h.style.cssText=l;var x=a(n);return x.style.display="block",x.style.textAlign="right",x.style.marginTop="8px",f.appendChild(r(e)),i&&o&&f.appendChild(c(i,o)),f.appendChild(x),h.appendChild(f),s.appendChild(u),s.appendChild(h),s}function o(e,t){n?e.textContent=t:e.innerText=t}function r(e){var n=t.createElement("span");return o(n,e),n}function a(e){var n=t.createElement("a");return o(n,e),n.id=m,n.href="#",n.style.marginLeft="24px",n.style.fontWeight="bold",n.style.color="#ddd",n}function c(e,n){var i=t.createElement("a");return o(i,"("+e+")"),i.href=n,i.target="_blank",i.style.marginLeft="8px",i.style.color="#ddd",i.style.textDecoration="underline",i}function d(){return f(),u(),!1}function l(n,o,r,a,c){if(g())C(),f();else if(h()){x(),u();var l=c?i(n,o,r,a):e(n,o,r,a),p=t.createDocumentFragment();p.appendChild(l),t.body.appendChild(p.cloneNode(!0)),t.getElementById(m).onclick=d}}function p(e,t,n,i){l(e,t,n,i,!1)}function s(e,t,n,i){l(e,t,n,i,!0)}function u(){var e=t.getElementById(k);null!==e&&e.parentNode.removeChild(e)}function f(){var e=new Date;e.setFullYear(e.getFullYear()+1),t.cookie=y+"=y; expires="+e.toGMTString()}function h(){return!t.cookie.match(new RegExp(y+"=([^;]+)"))}function x(){var e=new Date;e.setHours(e.getHours()+1),t.cookie="siteVisitedCookie=y; expires="+e.toGMTString()}function C(){t.cookie="siteVisitedCookie=;expires=Thu, 01 Jan 1970 00:00:01 GMT"}function g(){return t.cookie.match(new RegExp("siteVisitedCookie=([^;]+)"))}var y="displayCookieConsent",k="cookieChoiceInfo",m="cookieChoiceDismiss",v={};return v.showCookieConsentBar=p,v.showCookieConsentDialog=s,v}();return e.cookieChoices=i,i}(this);