(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[17],{386:function(t,e,o){"use strict";var c=o(8),n=o.n(c),r=o(5);function a(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);e&&(c=c.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,c)}return o}function l(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?a(Object(o),!0).forEach((function(e){n()(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var i={headingLevel:{type:"number",default:2},productLink:{type:"boolean",default:!0},productId:{type:"number",default:0}};Object(r.W)()&&(i=l(l({},i),{},{align:{type:"string"},color:{type:"string"},customColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"}})),e.a=i},394:function(t,e,o){"use strict";var c=o(8),n=o.n(c),r=o(0),a=(o(2),o(7)),l=o.n(a),i=o(33),s=o(44),u=o(14),p=o(5),b=function(t){var e=t.color,o=t.fontSize;return Object(p.W)()?{color:e,fontSize:o}:{}},O=o(72);o(545),e.a=Object(O.withProductDataContext)((function(t){var e,o,c,a=t.className,O=t.headingLevel,f=void 0===O?2:O,j=t.productLink,d=void 0===j||j,m=t.align,y=t.color,g=t.customColor,w=t.fontSize,v=t.customFontSize,k=Object(s.useInnerBlockLayoutContext)().parentClassName,h=Object(s.useProductDataContext)().product,S="h".concat(f),z=Object(u.getColorClassName)("color",y),P=Object(u.getFontSizeClass)(w),C=l()((e={"has-text-color":y||g,"has-font-size":w||v},n()(e,z,z),n()(e,P,P),e));if(!h.id)return Object(r.createElement)(S,{className:l()(a,"wc-block-components-product-title",(c={},n()(c,"".concat(k,"__product-title"),k),n()(c,"wc-block-components-product-title--align-".concat(m),m&&Object(p.W)()),n()(c,C,Object(p.W)()),c)),style:b({color:g,fontSize:v})});var W=Object(i.decodeEntities)(h.name);return Object(r.createElement)(S,{className:l()(a,"wc-block-components-product-title",(o={},n()(o,"".concat(k,"__product-title"),k),n()(o,"wc-block-components-product-title--align-".concat(m),m&&Object(p.W)()),o))},d?Object(r.createElement)("a",{href:h.permalink,rel:"nofollow",className:l()(n()({},C,Object(p.W)())),style:b({color:g,fontSize:v})},W):Object(r.createElement)("span",{className:l()(n()({},C,Object(p.W)())),style:b({color:g,fontSize:v})},W))}))},545:function(t,e){},940:function(t,e,o){"use strict";o.r(e);var c=o(25),n=o(938),r=o(394),a=o(386);e.default=Object(c.compose)(Object(n.a)(a.a))(r.a)}}]);