(()=>{"use strict";var e;(e=jQuery)(window).on("load",function(){let n=null;e("body").on("click.onWrapperLink","[data-elementify-wrapper-link]",function(t){n&&clearTimeout(n);const o=e(this),r=o.data("elementify-wrapper-link");if(r?.url){try{new URL(r.url)}catch(e){return}n=setTimeout(()=>{o.data("id")||Date.now();const e=document.createElement("a");e.href=r.url,e.target=r.is_external?"_blank":"_self",e.rel=r.nofollow?"nofollow noreferrer":"noopener",e.style.display="none",document.body.appendChild(e),e.click(),setTimeout(()=>{e.parentNode&&document.body.removeChild(e)},100)},10)}})})})();