(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[66],{121:function(t,o,c){"use strict";c.d(o,"a",(function(){return r}));var n=c(45),e=c(18);const r=t=>Object(n.a)(t)?JSON.parse(t)||{}:Object(e.a)(t)?t:{}},18:function(t,o,c){"use strict";c.d(o,"a",(function(){return n})),c.d(o,"b",(function(){return e}));const n=t=>!(t=>null===t)(t)&&t instanceof Object&&t.constructor===Object;function e(t,o){return n(t)&&o in t}},200:function(t,o,c){"use strict";c.d(o,"a",(function(){return e})),c(103);var n=c(48);const e=()=>n.m>1},252:function(t,o,c){"use strict";c.d(o,"a",(function(){return r}));var n=c(18),e=c(121);const r=t=>{const o=Object(n.a)(t)?t:{},c=Object(e.a)(o.style),r=Object(n.a)(c.typography)?c.typography:{};return{style:{fontSize:o.fontSize?`var(--wp--preset--font-size--${o.fontSize})`:r.fontSize,lineHeight:r.lineHeight,fontWeight:r.fontWeight,textTransform:r.textTransform,fontFamily:o.fontFamily}}}},272:function(t,o,c){"use strict";c.d(o,"a",(function(){return a}));var n=c(114),e=c(200),r=c(18),s=c(121);const a=t=>{if(!Object(e.a)())return{className:"",style:{}};const o=Object(r.a)(t)?t:{},c=Object(s.a)(o.style);return Object(n.__experimentalUseColorProps)({...o,style:c})}},360:function(t,o){},409:function(t,o,c){"use strict";c.r(o);var n=c(0),e=c(1),r=c(4),s=c.n(r),a=c(47),i=c(272),u=c(252),l=c(119);c(360);o.default=Object(l.withProductDataContext)(t=>{const{className:o}=t,{parentClassName:c}=Object(a.useInnerBlockLayoutContext)(),{product:r}=Object(a.useProductDataContext)(),l=Object(i.a)(t),b=Object(u.a)(t);if(!r.id||!r.is_purchasable)return null;const d=!!r.is_in_stock,f=r.low_stock_remaining,p=r.is_on_backorder;return Object(n.createElement)("div",{className:s()(o,l.className,"wc-block-components-product-stock-indicator",{[c+"__stock-indicator"]:c,"wc-block-components-product-stock-indicator--in-stock":d,"wc-block-components-product-stock-indicator--out-of-stock":!d,"wc-block-components-product-stock-indicator--low-stock":!!f,"wc-block-components-product-stock-indicator--available-on-backorder":!!p}),style:{...l.style,...b.style}},f?(t=>Object(e.sprintf)(
/* translators: %d stock amount (number of items in stock for product) */
Object(e.__)("%d left in stock","woocommerce"),t))(f):((t,o)=>o?Object(e.__)("Available on backorder","woocommerce"):t?Object(e.__)("In Stock","woocommerce"):Object(e.__)("Out of Stock","woocommerce"))(d,p))})}}]);