(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[16],{157:function(t,e,c){"use strict";var n=c(0),o=c(102),s=c(86);const r=t=>{const e=t.indexOf("</p>");return-1===e?t:t.substr(0,e+4)},u=t=>t.replace(/<\/?[a-z][^>]*?>/gi,""),a=(t,e)=>t.replace(/[\s|\.\,]+$/i,"")+e,l=function(t,e){let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"&hellip;";const n=u(t),o=n.split(" ").splice(0,e).join(" ");return Object(s.autop)(a(o,c))},i=function(t,e){let c=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&hellip;";const o=u(t),r=o.slice(0,e);if(c)return Object(s.autop)(a(r,n));const l=r.match(/([\s]+)/g),i=l?l.length:0,p=o.slice(0,e+i);return Object(s.autop)(a(p,n))};e.a=t=>{let{source:e,maxLength:c=15,countType:u="words",className:a=""}=t;const p=Object(n.useMemo)(()=>function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"words";const n=Object(s.autop)(t),u=Object(o.count)(n,c);if(u<=e)return n;const a=r(n),p=Object(o.count)(a,c);return p<=e?a:"words"===c?l(a,e):i(a,e,"characters_including_spaces"===c)}(e,c,u),[e,c,u]);return Object(n.createElement)(n.RawHTML,{className:a},p)}},321:function(t,e){},361:function(t,e,c){"use strict";c.r(e);var n=c(0),o=(c(8),c(5)),s=c.n(o),r=c(157),u=c(84),a=c(65),l=c(134);c(321),e.default=Object(l.withProductDataContext)(t=>{let{className:e}=t;const{parentClassName:c}=Object(a.useInnerBlockLayoutContext)(),{product:o}=Object(a.useProductDataContext)();if(!o)return Object(n.createElement)("div",{className:s()(e,"wc-block-components-product-summary",{[c+"__product-summary"]:c})});const l=o.short_description?o.short_description:o.description;return l?Object(n.createElement)(r.a,{className:s()(e,"wc-block-components-product-summary",{[c+"__product-summary"]:c}),source:l,maxLength:150,countType:u.n.wordCountType||"words"}):null})}}]);