(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.jQuery;var n=e.n(t);const o=window.lodash,i=window.wcPPCP.actions;let d=new(e.n(i)());d.addAction("after_populate_checkout_fields",e=>{if(e.needsShipping()&&e.context.isExpressCheckout()&&n()('[name="bill_to_different_address"]').length>0){const t=e.getCartFullAddress("billing",!0),i=e.getCartFullAddress("shipping",!0);(0,o.isEqual)(t,i)||"different_from_shipping"!==n()('[name="bill_to_different_address"]:checked').val()&&n()('[name="bill_to_different_address"][value="different_from_shipping"]').prop("checked",!0),window.location.hash="#cfw-payment-method"}}),d.addAction("ppcp_fastlane_payment_tokenized",()=>{window.location.hash="#cfw-payment-method"}),(this.wcPPCP=this.wcPPCP||{}).checkout={}})();
//# sourceMappingURL=checkout.js.map