(()=>{"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),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t);const n=window.jQuery;var o=e.n(n);const i=window.lodash,d=window.wcPPCP.actions;var r=new(e.n(d)());r.addAction("after_populate_checkout_fields",(function(e){if(e.needsShipping()&&e.context.isExpressCheckout()&&o()('[name="bill_to_different_address"]').length>0){var t=e.getCartFullAddress("billing",!0),n=e.getCartFullAddress("shipping",!0);(0,i.isEqual)(t,n)||"different_from_shipping"!==o()('[name="bill_to_different_address"]:checked').val()&&o()('[name="bill_to_different_address"][value="different_from_shipping"]').prop("checked",!0),window.location.hash="#cfw-payment-method"}})),r.addAction("ppcp_fastlane_payment_tokenized",(function(){window.location.hash="#cfw-payment-method"})),(this.wcPPCP=this.wcPPCP||{}).checkout=t})();
//# sourceMappingURL=checkout.js.map