{"version":3,"sources":["woocommerce-product-addons.js"],"names":["jQuery","document","ready","$","fn","init_addon_totals","$cart","this","$variation_input","hasClass","find","on","each","element","is","prop","val","trigger","attr","value","remaining","length","next","text","after","woocommerce_addons_params","i18n_remaining","event","variation","$variation_form","$totals","data","display_price","price_html","product_price","replace","currency_format_symbol","currency_format_thousand_sep","currency_format_decimal_sep","parseFloat","custom_gift_card_amount","group","subs","simple","total","total_raw","product_id","product_type","qty","addon_cost","addon_cost_raw","isNaN","closest","show","Math","ceil","hide","product_total_price","subscription_details","formatted_addon_total","accounting","formatMoney","symbol","decimal","thousand","precision","trim_trailing_zeros","currency_format_num_decimals","format","currency_format","formatted_sub_total","parent","clone","wrap","html","i18n_addon_total","price_display_suffix","sub_total_string","i18n_sub_total","indexOf","ajax","type","url","ajax_url","action","add_on_total","add_on_total_raw","success","result","formatted_price_including_tax","price_including_tax","formatted_price_excluding_tax","price_excluding_tax","error","empty","change"],"mappings":"AAAAA,OAAAC,UAAAC,MAAA,SAAAC,GAEAA,EAAAC,GAAAC,kBAAA,WA6CA,IAAAC,EAAAH,EAAAI,MACAC,IAAAF,EAAAG,SAAA,oBAAAH,EAAAI,KAAA,kDAGAP,EAAAI,MAAAI,GAAA,QAAA,oBAAA,WAEAR,EAAAS,KAAAN,EAAAI,KAAA,kBAAA,WACA,IAAAG,EAAAV,EAAAI,MAAAG,KAAA,WAEAG,EAAAC,GAAA,cAAAD,EAAAC,GAAA,YACAD,EAAAE,KAAA,WAAA,GAGAF,EAAAC,GAAA,WACAD,EAAAE,KAAA,gBAAA,IAGAF,EAAAC,GAAA,UAAAD,EAAAC,GAAA,aAAAD,EAAAC,GAAA,yBAAAD,EAAAC,GAAA,wBACAD,EAAAG,IAAA,MAIAV,EAAAW,QAAA,uCAIAd,EAAAI,MAAAI,GAAA,UAAA,qBAAA,WACAR,EAAAI,MAAAU,QAAA,uCAGAd,EAAAI,MAAAI,GAAA,eAAA,gDAAA,WAEA,GAAA,EAAAR,EAAAI,MAA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