(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[13],{195:function(e,t,c){"use strict";c.d(t,"a",(function(){return o}));var o=function(e,t){var c=[];return Object.keys(e).forEach((function(o){if(void 0!==t[o])switch(e[o].type){case"boolean":c[o]="false"!==t[o]&&!1!==t[o];break;case"number":c[o]=parseInt(t[o],10);break;case"array":case"object":c[o]=JSON.parse(t[o]);break;default:c[o]=t[o]}else c[o]=e[o].default})),c}},300:function(e,t,c){"use strict";var o=c(11),n=c.n(o),r=c(195);t.a=function(e){return function(t){return function(c){var o=Object(r.a)(e,c);return React.createElement(t,n()({},c,o))}}}},304:function(e,t){},324:function(e,t,c){"use strict";c.r(t);var o=c(300),n=c(7),r=c.n(n),a=(c(3),c(5)),i=c.n(a),s=c(25),l=c(79),u=c(207),p=c(9),b=function(e){var t=e.color,c=e.fontSize;return Object(p.F)()?{color:t,fontSize:c}:{}},f=c(206),O=(c(304),Object(f.withProductDataContext)((function(e){var t,c,o,n=e.className,a=e.headingLevel,f=void 0===a?2:a,O=e.productLink,d=void 0===O||O,m=e.align,j=e.color,y=e.customColor,g=e.fontSize,v=e.customFontSize,w=Object(l.useInnerBlockLayoutContext)().parentClassName,k=Object(l.useProductDataContext)().product,h="h".concat(f),S=Object(u.getColorClassName)("color",j),z=Object(u.getFontSizeClass)(g),F=i()((t={"has-text-color":j||y,"has-font-size":g||v},r()(t,S,S),r()(t,z,z),t));if(!k.id)return React.createElement(h,{className:i()(n,"wc-block-components-product-title",(o={},r()(o,"".concat(w,"__product-title"),w),r()(o,"wc-block-components-product-title--align-".concat(m),m&&Object(p.F)()),r()(o,F,Object(p.F)()),o)),style:b({color:y,fontSize:v})});var P=Object(s.decodeEntities)(k.name);return React.createElement(h,{className:i()(n,"wc-block-components-product-title",(c={},r()(c,"".concat(w,"__product-title"),w),r()(c,"wc-block-components-product-title--align-".concat(m),m&&Object(p.F)()),c))},d?React.createElement("a",{href:k.permalink,rel:"nofollow",className:i()(r()({},F,Object(p.F)())),style:b({color:y,fontSize:v})},P):React.createElement("span",{className:i()(r()({},F,Object(p.F)())),style:b({color:y,fontSize:v})},P))})));function d(e,t){var c=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),c.push.apply(c,o)}return c}function m(e){for(var t=1;t<arguments.length;t++){var c=null!=arguments[t]?arguments[t]:{};t%2?d(Object(c),!0).forEach((function(t){r()(e,t,c[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(c)):d(Object(c)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(c,t))}))}return e}var j={headingLevel:{type:"number",default:2},productLink:{type:"boolean",default:!0},productId:{type:"number",default:0}};Object(p.F)()&&(j=m(m({},j),{},{align:{type:"string"},color:{type:"string"},customColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"}}));var y=j;t.default=Object(o.a)(y)(O)}}]);