(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[15],{243:function(t,c,e){"use strict";e.d(c,"a",(function(){return n})),e(163);var o=e(65);const n=()=>o.m>1},260:function(t,c,e){"use strict";e.d(c,"b",(function(){return a})),e.d(c,"c",(function(){return i})),e.d(c,"a",(function(){return l}));var o=e(162),n=e(243),s=e(35);const r=t=>Object(s.d)(t)?JSON.parse(t)||{}:Object(s.c)(t)?t:{},a=t=>{if(!Object(n.a)()||"function"!=typeof o.__experimentalGetSpacingClassesAndStyles)return{style:{}};const c=Object(s.c)(t)?t:{},e=r(c.style);return Object(o.__experimentalGetSpacingClassesAndStyles)({...c,style:e})},i=t=>{const c=Object(s.c)(t)?t:{},e=r(c.style),o=Object(s.c)(e.typography)?e.typography:{};return{style:{fontSize:c.fontSize||o.fontSize,lineHeight:o.lineHeight,fontWeight:o.fontWeight,textTransform:o.textTransform,fontFamily:c.fontFamily}}},l=t=>{if(!Object(n.a)())return{className:"",style:{}};const c=Object(s.c)(t)?t:{},e=r(c.style);return Object(o.__experimentalUseColorProps)({...c,style:e})}},323:function(t,c){},371:function(t,c,e){"use strict";e.r(c);var o=e(0),n=e(1),s=(e(8),e(4)),r=e.n(s),a=e(49),i=e(110),l=(e(323),e(260));c.default=Object(i.withProductDataContext)(t=>{const{className:c}=t,{parentClassName:e}=Object(a.useInnerBlockLayoutContext)(),{product:s}=Object(a.useProductDataContext)(),i=Object(l.a)(t),u=Object(l.c)(t);if(!s.id||!s.is_purchasable)return null;const b=!!s.is_in_stock,p=s.low_stock_remaining,d=s.is_on_backorder;return Object(o.createElement)("div",{className:r()(c,i.className,"wc-block-components-product-stock-indicator",{[e+"__stock-indicator"]:e,"wc-block-components-product-stock-indicator--in-stock":b,"wc-block-components-product-stock-indicator--out-of-stock":!b,"wc-block-components-product-stock-indicator--low-stock":!!p,"wc-block-components-product-stock-indicator--available-on-backorder":!!d}),style:{...i.style,...u.style}},p?(t=>Object(n.sprintf)(
/* translators: %d stock amount (number of items in stock for product) */
Object(n.__)("%d left in stock",'woocommerce'),t))(p):((t,c)=>c?Object(n.__)("Available on backorder",'woocommerce'):t?Object(n.__)("In Stock",'woocommerce'):Object(n.__)("Out of Stock",'woocommerce'))(b,d))})}}]);