window.addEventListener("load",function(t){astrawpWooQuantityButtons()});const astraminiCarttargetNode=document.getElementById("ast-site-header-cart");if(null!=astraminiCarttargetNode){const b={attributes:!1,childList:!0,subtree:!0},c=()=>{astrawpWooQuantityButtons()},d=new MutationObserver(c);d.observe(astraminiCarttargetNode,b)}function astrawpWooQuantityButtons(d){document.querySelector(".woocommerce div.product form.cart");d=d||".qty",$quantityBoxesWrap=document.querySelectorAll("div.quantity:not(.elementor-widget-woocommerce-cart .quantity):not(.buttons_added), td.quantity:not(.elementor-widget-woocommerce-cart .quantity):not(.buttons_added)");for(var t=0;t<$quantityBoxesWrap.length;t++){var e=$quantityBoxesWrap[t],a=e.querySelector(d);if(a&&"date"!==a.getAttribute("type")&&"hidden"!==a.getAttribute("type")){switch(($qty_parent=a.parentElement).classList.add("buttons_added"),astra_qty_btn.style_type){case"no-internal-border":a.classList.add("ast-no-internal-border"),$qty_parent.insertAdjacentHTML("afterbegin",'-'),$qty_parent.insertAdjacentHTML("beforeend",'+ ');break;case"vertical-icon":$qty_parent.classList.add("ast-vertical-style-applied"),a.classList.add("vertical-icons-applied"),$qty_parent.insertAdjacentHTML("beforeend",'+-');break;default:$qty_parent.insertAdjacentHTML("afterbegin",'-'),$qty_parent.insertAdjacentHTML("beforeend",'+')}$quantityEach=document.querySelectorAll("input"+d+":not(.product-quantity)");for(var n=0;n<$quantityEach.length;n++){var r=$quantityEach[n],s=r.getAttribute("min");s&&0