1(()=>{"use strict";(0,window.wp.hooks.addAction)("experimental__woocommerce_blocks-cart-remove-item","my-plugin",(({product:e})=>{if(e.extensions.datalayer_for_woocommerce_fields.impressions[0].quantity=e.quantity,"GA4"===RenderDatalayer.datalayerOption){let r=e.extensions.datalayer_for_woocommerce_fields.impressions[0].price*e.quantity;(isNaN(r)||void 0===r)&&(r=e.extensions.datalayer_for_woocommerce_fields.impressions[0].price),dataLayer.push({ecommerce:null}),dataLayer.push({event:"remove_from_cart",event_id:RenderDatalayer.eventId,ecommerce:{currency:RenderDatalayer.currencyCode,value:r,items:e.extensions.datalayer_for_woocommerce_fields.impressions}})}}))})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.