!function(o){o(document).on("click","#oc_cb_btn",function(e){e.preventDefault();return o.ajax({url:oc_constants.ajaxurl,type:"POST",data:{action:"oc_cb_cookie_consent"},dataType:"JSON",error:function(e,t,n){console.log(e.status+" "+e.statusText+"---"+t),o("#oc_cb_wrapper").hide().remove()},success:function(e){o("#oc_cb_wrapper").hide().remove()},statusCode:{200:function(){},404:function(){o("#onme_errors").html("").html("Something went wrong; can't find request URL!")},500:function(){o("#onme_errors").html("").html("Something went wrong; internal server error while processing the request!")}}}),!1})}(jQuery);