var __vicmp=(function(){return typeof(__vicmp)=="function"?__vicmp:function(d){var a=arguments;if(!a.length){return __vicmp.a}else{if(d=="__vicmp"){return false}else{if(typeof __vicmp.a==="undefined"){__vicmp.a=[]}__vicmp.a.push([].slice.apply(a));if(typeof __vicmp.execute!="undefined"){__vicmp.execute(a)}}}}})();function wp_insert_vi_consent_onload_cmp(){if(typeof __vicmp.execute==="undefined"){__vicmp.execute=function(c){var f={};if(typeof c!="undefined"){if(c[0]=="getUserConsentStatus"){var d=wp_insert_vi_consent_popup_get_cookie("Viconsent");var g=false;if(document.getElementById("wp_insert_vi_consent_popup_is_eu").value=="1"){g=true}if(d!=""){var e=wp_insert_vi_consent_popup_decode_cookie_content(d);f={gdprApplies:g,hasGlobalScope:false,consent:e.PurposeAllowed[1],}}else{f={gdprApplies:g,hasGlobalScope:false,consent:false,}}}c[2](f,true)}};if(__vicmp.a&&typeof func==="undefined"){for(var a=0;a<__vicmp.a.length;a++){__vicmp.execute(__vicmp.a[a])}}}}wp_insert_vi_consent_onload_cmp();function wp_insert_vi_consent_popup_disagree(){var c=wp_insert_vi_consent_popup_create_cookie_content("000000000000000000000000");wp_insert_vi_consent_popup_set_cookie("Viconsent",c);var a=document.createElement("iframe");a.src=document.getElementById("wp_insert_vi_consent_popup_url").value+"?wp_insert_vi_consent="+document.getElementById("wp_insert_vi_consent_popup_auth").value;a.style.display="none";document.getElementById("wp_insert_vi_consent_popup_wrapper").appendChild(a);document.getElementById("wp_insert_vi_consent_popup_wrapper").style.display="none";var b=document.getElementById("wp_insert_vi_consent_popup_settings_button");if(b){b.style.display="block"}}function wp_insert_vi_consent_popup_agree(){var d=document.getElementById("wp_insert_vi_consent_popup_vendor_list_purposes").value;var c=wp_insert_vi_consent_popup_create_cookie_content(d);wp_insert_vi_consent_popup_set_cookie("Viconsent",c);var a=document.createElement("iframe");a.src=document.getElementById("wp_insert_vi_consent_popup_url").value+"?wp_insert_vi_consent="+document.getElementById("wp_insert_vi_consent_popup_auth").value;a.style.display="none";document.getElementById("wp_insert_vi_consent_popup_wrapper").appendChild(a);document.getElementById("wp_insert_vi_consent_popup_wrapper").style.display="none";var b=document.getElementById("wp_insert_vi_consent_popup_settings_button");if(b){b.style.display="block"}}function wp_insert_vi_consent_popup_create_cookie_content(c){cookieConsentTimeStamp=Math.round((new Date()).getTime()/100);var a=new Object();a.Version=wp_insert_vi_consent_popup_create_binary_string(1,6);a.Created=wp_insert_vi_consent_popup_create_binary_string(cookieConsentTimeStamp,36);a.LastUpdated=wp_insert_vi_consent_popup_create_binary_string(cookieConsentTimeStamp,36);a.CMPId=wp_insert_vi_consent_popup_create_binary_string(999,12);a.CMPVersion=wp_insert_vi_consent_popup_create_binary_string(0,6);a.ConsentScreen=wp_insert_vi_consent_popup_create_binary_string(0,6);a.ConsentLanguage=wp_insert_vi_consent_popup_create_binary_string(4,6)+wp_insert_vi_consent_popup_create_binary_string(13,6);var b=parseInt(document.getElementById("wp_insert_vi_consent_popup_vendor_list_version").value);a.VendorListVersion=wp_insert_vi_consent_popup_create_binary_string(b,12);a.PurposeAllowed=c;return window.btoa(a.Version+a.Created+a.LastUpdated+a.CMPId+a.CMPVersion+a.ConsentScreen+a.ConsentLanguage+a.VendorListVersion+a.PurposeAllowed)}function wp_insert_vi_consent_popup_decode_cookie_content(c){if(c!=""){var e=atob(c);var b=new Object();b.Version=parseInt(e.substring(0,6),2);b.Created=parseInt(e.substring(6,42),2);b.LastUpdated=parseInt(e.substring(42,78),2);b.CMPId=parseInt(e.substring(78,90),2);b.CMPVersion=parseInt(e.substring(90,96),2);b.ConsentScreen=parseInt(e.substring(96,102),2);b.ConsentLanguage=parseInt(e.substring(102,108),2)+""+parseInt(e.substring(106,114),2);b.VendorListVersion=parseInt(e.substring(114,126),2);b.PurposeAllowed=e.substring(126,150);var a=new Object();for(var d=24;d>0;d--){if(b.PurposeAllowed.substring(d-1,d)=="1"){a[(24-d)+1]=true}else{a[(24-d)+1]=false}}b.PurposeAllowed=a;return b}return false}function wp_insert_vi_consent_popup_create_binary_string(b,c){var a="";if(c<=32){while(c--){a+=(b>>c)&1}}else{a=b.toString(2);while(a.length