jQuery(document).ready(function(i){i(document).on("input change",".sifency-pc-input",function(){var t=i(this).closest(".sifency-pc-wrapper"),n=t.find(".sifency-pc-input"),c=t.find(".sifency-total"),e=parseFloat(t.data("base-price"))||0;n.each(function(){var t=i(this),n=parseFloat(t.data("cost"))||0,c=t.data("type"),a=parseFloat(t.val())||0;"slider"===c&&t.closest(".sifency-pricing-calculator-item").find(".sifency-val").text(a),"slider"===c||"number"===c?e+=a*n:"switch"===c&&t.is(":checked")&&(e+=n)}),c.text(e.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:2}))}),i(document).find(".sifency-pc-input").trigger("change")});