(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[13],{161:function(e,t,n){"use strict";var c=n(12),o=n.n(c),r=n(17),a=n.n(r),i=n(24),l=n(3),s=n.n(l),u=(n(186),["className","disabled","name","permalink"]);t.a=function(e){var t=e.className,n=void 0===t?"":t,c=e.disabled,r=void 0!==c&&c,l=e.name,p=e.permalink,b=void 0===p?"":p,d=a()(e,u),f=s()("wc-block-components-product-name",n);return r?React.createElement("span",o()({className:f},d,{dangerouslySetInnerHTML:{__html:Object(i.decodeEntities)(l)}})):React.createElement("a",o()({className:f,href:b},d,{dangerouslySetInnerHTML:{__html:Object(i.decodeEntities)(l)}}))}},184:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var c=function(e,t){var n=[];return Object.keys(e).forEach((function(c){if(void 0!==t[c])switch(e[c].type){case"boolean":n[c]="false"!==t[c]&&!1!==t[c];break;case"number":n[c]=parseInt(t[c],10);break;case"array":case"object":n[c]=JSON.parse(t[c]);break;default:n[c]=t[c]}else n[c]=e[c].default})),n}},186:function(e,t){},318:function(e,t,n){"use strict";var c=n(12),o=n.n(c),r=n(184);t.a=function(e){return function(t){return function(n){var c=Object(r.a)(e,n);return React.createElement(t,o()({},n,c))}}}},323:function(e,t){},344:function(e,t,n){"use strict";n.r(t);var c=n(318),o=n(5),r=n.n(o),a=(n(8),n(3)),i=n.n(a),l=n(98),s=n(245),u=n(14),p=function(e){var t=e.color,n=e.fontSize;return Object(u.p)()?{color:t,fontSize:n}:{}},b=n(244),d=n(161),f=n(55),m=(n(323),Object(b.withProductDataContext)((function(e){var t,n,c,o=e.className,a=e.headingLevel,b=void 0===a?2:a,m=e.productLink,O=void 0===m||m,j=e.align,y=e.color,v=e.customColor,k=e.fontSize,g=e.customFontSize,w=Object(l.useInnerBlockLayoutContext)().parentClassName,h=Object(l.useProductDataContext)().product,S=Object(f.a)().dispatchStoreEvent,E="h".concat(b),N=Object(s.getColorClassName)("color",y),z=Object(s.getFontSizeClass)(k),C=i()((t={"has-text-color":y||v,"has-font-size":k||g},r()(t,N,N),r()(t,z,z),t));return h.id?React.createElement(E,{className:i()(o,"wc-block-components-product-title",(n={},r()(n,"".concat(w,"__product-title"),w),r()(n,"wc-block-components-product-title--align-".concat(j),j&&Object(u.p)()),n))},React.createElement(d.a,{className:i()(r()({},C,Object(u.p)())),disabled:!O,name:h.name,permalink:h.permalink,rel:O?"nofollow":null,style:p({color:v,fontSize:g}),onClick:function(){S("product-view-link",{product:h})}})):React.createElement(E,{className:i()(o,"wc-block-components-product-title",(c={},r()(c,"".concat(w,"__product-title"),w),r()(c,"wc-block-components-product-title--align-".concat(j),j&&Object(u.p)()),r()(c,C,Object(u.p)()),c)),style:p({color:v,fontSize:g})})})));function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y={headingLevel:{type:"number",default:2},productLink:{type:"boolean",default:!0},productId:{type:"number",default:0}};Object(u.p)()&&(y=j(j({},y),{},{align:{type:"string"},color:{type:"string"},customColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"}}));var v=y;t.default=Object(c.a)(v)(m)}}]);