(()=>{var e;(e=jQuery)("body").on("wc_fragments_loaded added_to_cart",(function(){e(document).ajaxSuccess((function(t,a,d){-1!==d.url.indexOf("?wc-ajax=add_to_cart")&&(e(this.activeElement).hide(),e(this.activeElement).next().addClass("add_to_cart_button wp-element-button"))}))})),document.body.addEventListener("wc-blocks_added_to_cart",(()=>{e(document.body).trigger("wc_fragment_refresh")})),document.getElementsByClassName("site-header-cart").length>0&&document.getElementsByClassName("site-header-cart")[0].addEventListener("mouseleave",(function(){this.className=this.className.replace(" focus","")}))})();