(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[17],{373:function(t,e,o){"use strict";var c=o(7),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 i(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 l={headingLevel:{type:"number",default:2},productLink:{type:"boolean",default:!0},productId:{type:"number",default:0}};Object(r.T)()&&(l=i(i({},l),{},{align:{type:"string"},color:{type:"string"},customColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"}})),e.a=l},378:function(t,e,o){"use strict";var c=o(7),n=o.n(c),r=o(0),a=(o(2),o(8)),i=o.n(a),l=o(33),s=o(42),u=o(14),p=o(5),b=function(t){var e=t.color,o=t.fontSize;return Object(p.T)()?{color:e,fontSize:o}:{}},O=o(71);o(527),e.a=Object(O.withProductDataContext)((function(t){var e,o,c,a=t.className,O=t.headingLevel,f=void 0===O?2:O,d=t.productLink,j=void 0===d||d,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=i()((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:i()(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.T)()),n()(c,C,Object(p.T)()),c)),style:b({color:g,fontSize:v})});var D=Object(l.decodeEntities)(h.name);return Object(r.createElement)(S,{className:i()(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.T)()),o))},j?Object(r.createElement)("a",{href:h.permalink,rel:"nofollow",className:i()(n()({},C,Object(p.T)())),style:b({color:g,fontSize:v})},D):D)}))},527:function(t,e){},933:function(t,e,o){"use strict";o.r(e);var c=o(25),n=o(931),r=o(378),a=o(373);e.default=Object(c.compose)(Object(n.a)(a.a))(r.a)}}]);
