System.register(["../../common/NoticesPlugin-legacy.6c1e76d1.js","../../common/sanitize-legacy.f0efe7e6.js","../../common/index-legacy.6e3fc819.js"],function(t,e){"use strict";var o,c,n,a,i,s,l;return{setters:[t=>{o=t.i,c=t.r,n=t.a,a=t.A},t=>{i=t.a,s=t.W,l=t.b},null],execute:function(){const{addAction:t}=wp.hooks;o(),c(),n();const e=()=>{const{dummyUpdateCart:t}=acfwfObj.wc,{debounce:e,hasBOGOCoupon:o}=acfwfObj.utils;o()&&e(()=>{t()},750)()};t("experimental__woocommerce_blocks-cart-set-item-quantity","acfwf",({product:t={},quantity:o=1})=>e()),t("experimental__woocommerce_blocks-cart-remove-item","acfwf",({product:t={},quantity:o=1})=>e());let u=[];i(()=>{var t,o;const c=l(s),n=(null!==(t=null==c||null===(o=c.getCartData)||void 0===o||null===(o=o.call(c))||void 0===o?void 0:o.coupons)&&void 0!==t?t:[]).filter(t=>t.discount_type===a).map(t=>t.code),i=n.some(t=>!u.includes(t));u=n,i&&e()},s)}}});
