(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[15],{325:function(o,c){},365:function(o,c,t){"use strict";t.r(c);var e=t(0),n=t(1),s=(t(8),t(5)),r=t.n(s),a=t(65),i=t(134);t(325);c.default=Object(i.withProductDataContext)(o=>{let{className:c}=o;const{parentClassName:t}=Object(a.useInnerBlockLayoutContext)(),{product:s}=Object(a.useProductDataContext)();if(!s.id||!s.is_purchasable)return null;const i=!!s.is_in_stock,k=s.low_stock_remaining,b=s.is_on_backorder;return Object(e.createElement)("div",{className:r()(c,"wc-block-components-product-stock-indicator",{[t+"__stock-indicator"]:t,"wc-block-components-product-stock-indicator--in-stock":i,"wc-block-components-product-stock-indicator--out-of-stock":!i,"wc-block-components-product-stock-indicator--low-stock":!!k,"wc-block-components-product-stock-indicator--available-on-backorder":!!b})},k?(o=>Object(n.sprintf)(
/* translators: %d stock amount (number of items in stock for product) */
Object(n.__)("%d left in stock",'woocommerce'),o))(k):((o,c)=>c?Object(n.__)("Available on backorder",'woocommerce'):o?Object(n.__)("In Stock",'woocommerce'):Object(n.__)("Out of Stock",'woocommerce'))(i,b))})}}]);