(()=>{"use strict";var i,n,e=function(i){var n=".rtsb-shipping-method";i(n).length&&i(document.body).on("updated_checkout",function(){!function(i,n){setTimeout(function(){i(n).addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var e=i(".rtsb-checkout-order-review").find(".woocommerce-shipping-totals.shipping");null!=e&&e.length&&(console.log("html",e),i(n).find(".woocommerce-shipping-totals").replaceWith(e)),i(n).removeClass("processing").unblock()},200)}(i,n)})};i=jQuery,window.RTSB&&window.RTSB._initialized&&(null===(n=RTSB.modules.register("shippingMethod",function(){var n=(window.RTSB||{}).cache,o=null==n?void 0:n.create("shippingMethod");return{name:"shippingMethod",version:"1.0.0",init:function(){return e(i),o.set("initialized",!0),this},refresh:function(){e(i)},destroy:function(){o.clear("shippingMethod")}}}))||void 0===n||n.init())})();