(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[12],{184:function(t,e,n){"use strict";var c=n(0),o=n(71),s=n(378),r=n(135);const i=t=>{const e=t.indexOf("</p>");return-1===e?t:t.substr(0,e+4)};e.a=t=>{let{source:e,maxLength:n=15,countType:u="words",className:l="",style:a={}}=t;const p=Object(c.useMemo)(()=>function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"words";const c=Object(o.autop)(t),u=Object(r.count)(c,n);if(u<=e)return c;const l=i(c),a=Object(r.count)(l,n);return a<=e?l:"words"===n?Object(s.b)(l,e):Object(s.a)(l,e,"characters_including_spaces"===n)}(e,n,u),[e,n,u]);return Object(c.createElement)(c.RawHTML,{style:a,className:l},p)}},378:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}));var c=n(71);const o=t=>t.replace(/<\/?[a-z][^>]*?>/gi,""),s=(t,e)=>t.replace(/[\s|\.\,]+$/i,"")+e,r=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"&hellip;",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const i=o(t),u=i.split(" ").splice(0,e).join(" ");return u===i?r?Object(c.autop)(i):i:r?Object(c.autop)(s(u,n)):s(u,n)},i=function(t,e){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&hellip;",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];const u=o(t),l=u.slice(0,e);if(l===u)return i?Object(c.autop)(u):u;if(n)return Object(c.autop)(s(l,r));const a=l.match(/([\s]+)/g),p=a?a.length:0,b=u.slice(0,e+p);return i?Object(c.autop)(s(b,r)):s(b,r)}}}]);