(()=>{"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 a in n)t.o(n,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:n[a]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window.jQuery;var n=t.n(e);const a=window.wcPPCP.actions,o=new(t.n(a)());o.addAction("payment_element_ready",t=>{const e=t.gateway;n()(`#wfacp_smart_button_${e.id}`).show()}),o.addAction("payment_unavailable",t=>{const e=t.gateway;n()(`#wfacp_smart_button_${e.id}`).hide()}),o.addAction("updated_checkout",()=>{const t=parseInt(wfacp_frontend.smart_button_hide_timeout||100)+50;setTimeout(()=>{const t=n()(".wfacp_smart_button_container").filter(":visible").length;n()(".wfacp_smart_button_outer_buttons").attr("count",Math.min(t,3))},t)}),(this.wcPPCP=this.wcPPCP||{})["wc-ppcp-funnelkit-checkout"]={}})();
//# sourceMappingURL=wc-ppcp-funnelkit-checkout.js.map