(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window.wp.domReady;t.n(e)()(function(){if("undefined"!=typeof EBPointerNoticesData){var t=EBPointerNoticesData,e=t.pointers,n=t.ajaxurl,o=t.nonce;Object.keys(e).forEach(function(t){!function(t,e){var n=jQuery(e.target||"body");if(0!==n.length){var o=e.content||"";e.buttonText&&e.buttonLink&&(o+='<p style="margin-top: 15px;"><a href="'+e.buttonLink+'" class="button button-primary" target="_blank" rel="noopener">'+e.buttonText+"</a></p>");var i={content:o,position:{edge:e.edge||"top",align:e.align||"center"},close:function(){r(t)}};e.options&&jQuery.extend(!0,i,e.options),n.pointer(i).pointer("open"),e.timeout&&setTimeout(function(){n.pointer("close"),r(t)},1e3*e.timeout)}}(t,e[t])}),window.EBCreatePointerContent=function(t,e,n,o){var r="<h3>"+t+"</h3>";return r+="<p>"+e+"</p>",n&&o&&(r+='<p><a href="'+o+'" class="button button-primary" target="_blank">'+n+"</a></p>"),r}}function r(t){jQuery.ajax({url:n,type:"POST",data:{action:"eb_dismiss_pointer",pointer_id:t,nonce:o},success:function(t){t.success?console.log("Essential Blocks: Pointer dismissed successfully"):console.error("Essential Blocks: Failed to dismiss pointer",t.data)},error:function(t,e,n){console.error("Essential Blocks: AJAX error dismissing pointer",{xhr:t,status:e,error:n})}})}})})();