"use strict";(self.blocksyJsonP=self.blocksyJsonP||[]).push([[574],{574:function(t,a,c){c.r(a),c.d(a,{mount:function(){return o}});var s=c(194),e=c.n(s);let n=null;const o=function(t){var a=e()(t).attr("name").replace(/cart\[([\w]+)\]\[qty\]/g,"$1"),c=e()(t).val(),s=parseFloat(c);n&&(n.abort(),n=null);const o=t.closest(".woocommerce-mini-cart-item");o&&o.classList.add("processing"),n=e().ajax({type:"POST",url:ct_localizations.ajax_url,data:{action:"blocksy_update_qty_cart",hash:a,quantity:s},success:function(t){jQuery("body").trigger("updated_wc_div"),ctEvents.trigger("ct:header:update")}})}}}]);