!function(e,n,t){var a={},o={};function l(e,n,t){n.addEventListener?n.addEventListener(e,t,!1):n.attachEvent("on"+e,t)}function c(){t.ajax({url:daau_app.this_url,type:"POST",dataType:"JSON",cache:!1,data:{action:"get_daau_settings",nonce:daau_app.nonces.get_plugin_data},success:function(e){!function(e){a.wrapper=e["adunblocker-file-name"]+"-wrapper",a.container=e["adunblocker-file-name"]+"-container",a.blanket=e["adunblocker-file-name"]+"-blanket",a.scroll=e["adunblocker-file-name"]+"-disable-scroll"}(e),function(e){o.blanket=n.createElement("div"),o.wrapper=n.createElement("div"),o.container=n.createElement("div"),o.h2=n.createElement("h2"),o.p=n.createElement("p"),"dismissible"==e["adunblocker-type"]&&(o.close_button=n.createElement("button"),o.close_button.classList="dashicons dashicons-no-alt")}(e),function(e){"dismissible"==e["adunblocker-type"]&&l("click",o.close_button,i)}(e),function(e){o.h2.innerHTML=e["adunblocker-title"],o.p.innerHTML=e["adunblocker-content"]}(e),function(e){o.blanket.id=a.blanket,o.blanket.style.background=function(e,n){return e=e.replace("#",""),r=parseInt(e.substring(0,2),16),g=parseInt(e.substring(2,4),16),b=parseInt(e.substring(4,6),16),result="rgba("+r+","+g+","+b+","+n/100+")",result}(e["adunblocker-overlay-color"],95),o.h2.style.color=e["adunblocker-title-color"],o.p.style.color=e["adunblocker-text-color"],o.container.style.background=e["adunblocker-bg-color"]}(e),function(e){o.container.appendChild(o.h2),o.container.appendChild(o.p),o.wrapper.appendChild(o.container),o.blanket.appendChild(o.wrapper),"dismissible"==e["adunblocker-type"]&&o.container.appendChild(o.close_button)}(e),n.body.appendChild(o.blanket),setTimeout(function(){n.body.className+=" "+a.scroll},1e3),function(e){if("temp"==e["adunblocker-type"]){var n=e["adunblocker-delay"];setTimeout(i,n)}}(e)},error:function(e,n,t){console.log(" Error: "+n)}})}function i(){n.body.classList.remove(a.scroll);var e=document.getElementById(o.blanket.id);e.parentNode.removeChild(e)}l("load",e,function(){"undefined"==typeof adsbygoogle?c():adsbygoogle.loaded||c()})}(window,document,jQuery);