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