1/* 2 CookieConsent v1.2 3 https://www.github.com/orestbida/cookieconsent 4 Author Orest Bida 5 Released under the MIT License 6*/ 7(function(H){function S(){function I(a){document.cookie=a+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"}function w(a){return(a=document.cookie.match("(^|;)\\s*"+a+"\\s*=\\s*([^;]+)"))?a.pop():""}function T(){x(document.getElementById("cc__modal__accept__btn"),"click",function(){n.hide();J()})}function K(a,c){if(b.B){var d=document.createElement("link");d.rel="stylesheet";d.type="text/css";d.href=a;document.getElementsByTagName("head")[0].appendChild(d);d.onload?d.onload=c():c()}else c()}function J(){var a= 8document.querySelectorAll("#cc__policy__content > .ccp_section input.sc_toggle"),c="basic",d=[];if("number"===typeof a.length){c="";for(var f=0;f<a.length;f++)a[f].checked?c+='"'+a[f].value+'",':d.push(a[f].value);c=c.slice(0,-1);if(b.A){a=b.a[b.c].b.v;f=a.length;for(var h=0;h<f;h++){var k=a[h];if(k.hasOwnProperty("ccb_cookies_table")&&k.hasOwnProperty("ccb_switch")&&(0<d.length&&n.inArray(d,k.f.value)&&(k.f.enabled=!1),!k.f.enabled))for(var g=v(b.a[b.c].b.m[0])[0],e=k.j.length,l=0;l<e;l++){var m= 9k.j[l];""!=w(m[g])&&I(m[g])}}}}d=b.h;c='{"status": "accepted", "level": ['+c+"]}";a=new Date;a.setTime(a.getTime()+864E5*b.D);a="; expires="+a.toUTCString();document.cookie="https:"===location.protocol?d+"="+(c||"")+a+"; path=/; SameSite=Lax; Secure":d+"="+(c||"")+a+"; path=/; SameSite=Lax";"function"===typeof b.l&&(c=w(b.h),b.l(JSON.parse(""!=c?c:"null")))}function L(a){var c=b.a[b.c].b.v,d=c.length,f=document.getElementById("cc__policy__content");document.getElementById("cc__policy__title").innerHTML= 10b.a[b.c].b.O;for(var h=0;h<d;++h){var k=document.createElement("div"),g=document.createElement("div"),e=document.createElement("h2"),l=document.createElement("p");p(k,"ccp_section");p(e,"section_title");p(l,"section_desc");e.innerHTML=c[h].M;l.innerHTML=c[h].L;g.appendChild(e);if("undefined"!==typeof c[h].f){e=document.createElement("label");var m=document.createElement("input"),q=document.createElement("span");p(e,"sc_container_checkbox");p(m,"sc_toggle");p(q,"sc_checkmark");m.setAttribute("type", 11"checkbox");m.setAttribute("value",c[h].f.value);a?n.inArray(JSON.parse(w("cc_cookie")).level,c[h].f.value)&&(m.checked=!0):c[h].f.enabled&&(m.checked=!0);c[h].f.P&&(m.disabled="disabled",m.readOnly=!0,p(q,"sc_readonly"));e.appendChild(m);e.appendChild(q);g.appendChild(e)}k.appendChild(g);k.appendChild(l);if("undefined"!==typeof c[h].j){g=document.createElement("table");q=document.createElement("thead");var t=document.createElement("tr");l=b.a[b.c].b.m;for(var r=0;r<l.length;++r){var u=document.createElement("th"); 12e=v(l[r])[0];m=l[r][e];u.innerHTML=m;t.appendChild(u)}q.appendChild(t);g.appendChild(t);q=document.createElement("tbody");for(t=0;t<c[h].j.length;t++){r=document.createElement("tr");for(u=0;u<l.length;++u){var C=document.createElement("td");e=v(l[u])[0];m=c[h].j[t][e];C.innerHTML=m;C.setAttribute("data-column",l[u][e]);r.appendChild(C)}q.appendChild(r)}g.appendChild(q);k.appendChild(g)}f.appendChild(k)}a=document.createElement("button");a.setAttribute("type","button");a.id="cc__policy__save__btn"; 13p(a,"cc_button");a.innerHTML=b.a[b.c].b.N;x(a,"click",function(){n.hide_policy();n.hide();J()});f.appendChild(a)}function M(){var a=document.createElement("div"),c=document.createElement("div"),d=document.createElement("div"),f=document.createElement("div"),h=document.createElement("h1"),k=document.createElement("div"),g=document.createElement("button"),e=document.createElement("div");g.setAttribute("type","button");a.id="cc__policy__container";c.id="cc__valign";d.id="cc__policy";h.id="cc__policy__title"; 14f.id="cc__policy__inner";k.id="cc__policy__header";e.id="cc__policy__content";g.id="cc__policy__close__btn";g.innerHTML="x";p(g,"cc_button");k.appendChild(h);k.appendChild(g);f.appendChild(k);f.appendChild(e);d.appendChild(f);c.appendChild(d);a.appendChild(c);y&&x(document.getElementById("cc__modal__more__btn"),"click",function(){n.show_policy(0)});x(g,"click",function(){n.hide_policy()});a.style.visibility="hidden";D||N();document.getElementById("cc__modal__container").appendChild(a);z=a;E=!0}function N(){var a= 15document.createElement("div");a.setAttribute("cc_data","cc_cookie_main");a.style.position="fixed";a.style.zIndex="1000000";a.innerHTML='\x3c!--[if lt IE 9 ]><div id="cc__modal__container" class="ie"></div><![endif]--\x3e\x3c!--[if (gt IE 8)|!(IE)]>\x3c!--\x3e<div id="cc__modal__container"></div>\x3c!--<![endif]--\x3e';
15"string"===typeof b.s&&("#"!=b.s[0]?document.body.appendChild(a):document.getElementById(b.s.substr(1)).appendChild(a));D=!0}function O(){var a=navigator.language||navigator.browserLanguage; 162<a.length&&(a=a[0]+a[1]);return a.toLowerCase()}function F(a){if(b.a.hasOwnProperty(a))return a;if(0<v(b.a).length)return b.a.hasOwnProperty(b.c)?b.c:v(b.a)[0];throw Error("No language defined!");}function P(){for(var a=document.querySelectorAll('a[data-cc="cc_policy"], button[data-cc="cc_policy"]'),c=0;c<a.length;c++)x(a[c],"click",function(d){d.preventDefault?d.preventDefault():d.returnValue=!1;n.show_policy()})}function Q(a,c){a.classList?a.classList.remove(c):a.className=a.className.replace(new RegExp("(\\s|^)"+ 17c+"(\\s|$)")," ")}function p(a,c){a.classList?a.classList.add(c):a.className+=" "+c}function v(a){if("object"===typeof a){var c=[],d=0;for(c[d++]in a);return c}throw new TypeError("Parameter is not an object!");}function x(a,c,d,f){f=f||!1;if(a.addEventListener)f?a.addEventListener(c,d,{capture:!0,passive:!0}):a.addEventListener(c,d,!1);else{if("click"==c||"focus"==c)c="onclick";a.attachEvent(c,d)}}function R(a){try{if("undefined"!==typeof a&&null!=a){"boolean"===typeof a.cc_enable_verbose&&(b.I= 18a.cc_enable_verbose);"boolean"===typeof a.cc_auto_language&&(b.o=a.cc_auto_language);"string"===typeof a.cc_theme_css&&(b.u=a.cc_theme_css);"boolean"===typeof a.cc_autoload_css&&(b.B=a.cc_autoload_css);"number"===typeof a.cc_cookie_expiration&&0<a.cc_cookie_expiration&&(b.D=a.cc_cookie_expiration);"number"===typeof a.cc_delay&&(0<=a.cc_delay?b.F=a.cc_delay:!1);"boolean"===typeof a.cc_autorun&&(b.C=a.cc_autorun);"string"===typeof a.cc_policy_url&&(b.i=a.cc_policy_url);"function"===typeof a.cc_accept_callback&& 19(b.l=a.cc_accept_callback);"boolean"===typeof a.cc_autoclear_cookies&&(b.A=a.cc_autoclear_cookies);if("object"===typeof a.cc_languages&&0<a.cc_languages.length)for(var c=0;c<a.cc_languages.length;c++){var d=a.cc_languages[c].lang,f=a.cc_languages[c];if(!b.a.hasOwnProperty(d)){b.a[d]={};b.a[d].g={};b.a[d].g.K=f.modal.cc_title;b.a[d].g.H=f.modal.cc_description;b.a[d].g.G=f.modal.cc_accept_text;b.a[d].g.J=f.modal.cc_more_text;b.a[d].b={};b.a[d].b.v=[];b.a[d].b.O=f.policy.ccp_title;b.a[d].b.N=f.policy.ccp_save_text; 20var h=f.policy.ccp_blocks;if(f.policy.hasOwnProperty("ccb_table_headers")){b.a[d].b.m=[];for(var k=f.policy.ccb_table_headers,g=[],e=0;e<k.length;++e){var l={};var m=v(k[e]);l[m[0]]=k[e][m[0]];g.push(l)}b.a[d].b.m=g}for(g=0;g<h.length;g++){e={};e.M=h[g].ccb_title;e.L=h[g].ccb_description;if(h[g].hasOwnProperty("ccb_cookies_table")){e.j=[];var q=h[g].ccb_cookies_table;k=b.a[d].b.m;for(l=0;l<q.length;l++){for(var t={},r=0;r<k.length;++r)m=v(k[r]),t[m[0]]=q[l][m[0]];e.j.push(t)}}h[g].hasOwnProperty("ccb_switch")&& 21(l={},l.value=h[g].ccb_switch.value,l.enabled=h[g].ccb_switch.enabled,l.P=h[g].ccb_switch.readonly,e.f=l);b.a[d].b.v.push(e)}}}b.o?b.c=F(O()):"string"===typeof a.cc_current_lang&&(b.c=a.cc_current_lang)}else b.o&&(b.c=F(O()))}catch(u){}}var n={},A=!0,B=!0,y=!1,E=!1,D=!1,G=null,z=null,b={s:"body",c:"en",R:"en",C:!0,F:0,i:null,I:!0,o:!1,D:182,h:"cc_cookie",A:!0,B:!0,u:null,a:{}};n.inArray=function(a,c){for(var d=a.length,f=0;f<d;f++)if(a[f]==c)return!0;return!1};n.run=function(a){if(!document.getElementById("cc__modal__container")){var c= 22w(b.h);""===c||"undefined"===typeof c?(R(a,!0),K(b.u,function(){var d=document.createElement("div"),f=document.createElement("h1"),h=document.createElement("p"),k=document.createElement("div"),g=document.createElement("button");if(null!=b.i&&"string"===typeof b.i){var e=document.createElement("a");e.href=b.i}else e=document.createElement("button"),e.setAttribute("type","button");d.id="cc__modal";f.id="cc__modal__title";h.id="cc__modal__text";k.id="cc__modal__btns";g.id="cc__modal__accept__btn";e.id= 23"cc__modal__more__btn";g.setAttribute("type","button");p(g,"cc_button");p(e,"cc__link");d.style.visibility="hidden";d.insertAdjacentElement("beforeend",f);d.insertAdjacentElement("beforeend",h);k.insertAdjacentElement("beforeend",g);k.insertAdjacentElement("beforeend",e);d.insertAdjacentElement("beforeend",k);D||N();document.getElementById("cc__modal__container").appendChild(d);G=d;y=!0;d=F(b.c);document.getElementById("cc__modal__title").innerHTML=b.a[d].g.K;document.getElementById("cc__modal__text").innerHTML= 24b.a[d].g.H;document.getElementById("cc__modal__accept__btn").innerHTML=b.a[d].g.G;document.getElementById("cc__modal__more__btn").innerHTML=b.a[d].g.J;y=!0;"string"!=typeof b.i&&(M(),L(),P());T();b.C&&n.show(b.F)})):(R(a,!1),K(b.u,function(){"string"!=typeof b.i&&(M(),L(!0),P())}),"function"===typeof b.l&&b.l(JSON.parse(w(b.h))))}};n.show_policy=function(a){E&&setTimeout(function(){B&&(p(z,"cc__anim"),p(z,"cc__show"),B=!1)},"number"===typeof a&&0<a?a:0)};n.show=function(a){y&&setTimeout(function(){A&& 25(p(G,"cc__anim"),p(G,"cc__show"),A=!1)},"number"==typeof a&&100<a?a:100)};n.hide=function(){y&&!A&&(Q(document.getElementById("cc__modal"),"cc__show"),A=!0)};n.hide_policy=function(){E&&!B&&(Q(z,"cc__show"),B=!0)};n.clearCookies=function(){var a=w(b.h);"string"===typeof a&&""!=a&&I(b.h)};return n}"undefined"===typeof H.initCookieConsent&&(H.initCookieConsent=function(){return S()})})(window);
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.