(function($){$('.easy-sticky-sidebar a, .wordpress-cta-pro-gdpr .gdpr-content a').on('click',function(e){sticky_id=$(this).closest('[data-id]').data('id');if(!sticky_id){return}
$.ajaxSetup({async:!1});$.post(wordpress_cta_pro.ajax_url,{action:'wordpress_cta_pro_get_click',sticky_id});$.ajaxSetup({async:!0})})
$('.wordpress-cta-pro-gdpr .gdpr-footer a:not([href])').on('click',function(e){e.preventDefault();$(this).closest('.wordpress-cta-pro-gdpr').hide().remove();cookie_days=$(this).data('days');if(cookie_days<=0){cookie_days=90000}
$.cookie('wordpress-cta-pro-gdpr',!0,{expires:cookie_days})});$('.easy-sticky-sidebar.vertical-cta').each(function(){button_height=$(this).find('.sticky-sidebar-button').outerHeight();$(this).closest('.easy-sticky-sidebar.vertical-cta.sticky-cta').css('--buttonHeight',button_height+'px')})})(jQuery)
;