'use strict';(c=>{const d=()=>{c.body.on("change",".tb_pro_add_to_cart input",function(){let a;const b=null==(a=this.closest(".tb_pro_add_to_cart"))?void 0:a.getElementsByClassName("button")[0];b&&b.setAttribute("data-quantity",parseInt(this.value))}).on("click",".tbp_remove_from_cart_button",function(a){"undefined"!==typeof wc_add_to_cart_params&&(a.preventDefault(),this.classList.remove("tf_close"),this.classList.add("tf_loader"))});c.on("builder_load_module_partial",(a,b,e)=>{if(c.is_builder_active)for(a=
c.selectWithParent("single_add_to_cart_button",a),b=a.length-1;-1<b;--b)a[b].classList.add("disabled")})};window.loaded?d():window.addEventListener("load",d,{once:!0,passive:!0})})(Themify);
