(self.webpackChunkwebpackWcBlocksFrontendJsonp=self.webpackChunkwebpackWcBlocksFrontendJsonp||[]).push([[9870],{8675:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>d});var l=o(9196),s=o(5736),n=o(7608),r=o.n(n),a=o(2864),c=o(721),i=o(947);o(6357);const u=({parentClassName:e,sku:t,className:o,style:n})=>(0,l.createElement)("div",{className:r()(o,{[`${e}__product-sku`]:e}),style:n},(0,s.__)("SKU:","woocommerce")," ",(0,l.createElement)("strong",null,t)),d=(0,c.withProductDataContext)((e=>{const{className:t}=e,o=(0,i.F)(e),{parentClassName:s}=(0,a.useInnerBlockLayoutContext)(),{product:n}=(0,a.useProductDataContext)(),c=n.sku;return e.isDescendentOfSingleProductTemplate?(0,l.createElement)(u,{parentClassName:s,className:t,sku:"Product SKU"}):c?(0,l.createElement)(u,{className:t,parentClassName:s,sku:c,...e.isDescendantOfAllProducts&&{className:r()(t,"wc-block-components-product-sku wp-block-woocommerce-product-sku",o.className),style:{...o.style}}}):null}))},947:(e,t,o)=>{"use strict";o.d(t,{F:()=>c});var l=o(7608),s=o.n(l),n=o(6946),r=o(3392),a=o(172);const c=e=>{const t=(e=>{const t=(0,n.isObject)(e)?e:{style:{}};let o=t.style;return(0,n.isString)(o)&&(o=JSON.parse(o)||{}),(0,n.isObject)(o)||(o={}),{...t,style:o}})(e),o=(0,a.vc)(t),l=(0,a.l8)(t),c=(0,a.su)(t),i=(0,r.f)(t);return{className:s()(i.className,o.className,l.className,c.className),style:{...i.style,...o.style,...l.style,...c.style}}}},3392:(e,t,o)=>{"use strict";o.d(t,{f:()=>s});var l=o(6946);const s=e=>{const t=(0,l.isObject)(e.style.typography)?e.style.typography:{},o=(0,l.isString)(t.fontFamily)?t.fontFamily:"";return{className:e.fontFamily?`has-${e.fontFamily}-font-family`:o,style:{fontSize:e.fontSize?`var(--wp--preset--font-size--${e.fontSize})`:t.fontSize,fontStyle:t.fontStyle,fontWeight:t.fontWeight,letterSpacing:t.letterSpacing,lineHeight:t.lineHeight,textDecoration:t.textDecoration,textTransform:t.textTransform}}}},172:(e,t,o)=>{"use strict";o.d(t,{l8:()=>d,su:()=>m,vc:()=>u});var l=o(7608),s=o.n(l),n=o(7427),r=o(2289),a=o(6946);function c(e={}){const t={};return(0,r.getCSSRules)(e,{selector:""}).forEach((e=>{t[e.key]=e.value})),t}function i(e,t){return e&&t?`has-${(0,n.o)(t)}-${e}`:""}function u(e){var t,o,l,n,r,u,d;const{backgroundColor:m,textColor:y,gradient:v,style:f}=e,p=i("background-color",m),k=i("color",y),g=function(e){if(e)return`has-${e}-gradient-background`}(v),b=g||(null==f||null===(t=f.color)||void 0===t?void 0:t.gradient);return{className:s()(k,g,{[p]:!b&&!!p,"has-text-color":y||(null==f||null===(o=f.color)||void 0===o?void 0:o.text),"has-background":m||(null==f||null===(l=f.color)||void 0===l?void 0:l.background)||v||(null==f||null===(n=f.color)||void 0===n?void 0:n.gradient),"has-link-color":(0,a.isObject)(null==f||null===(r=f.elements)||void 0===r?void 0:r.link)?null==f||null===(u=f.elements)||void 0===u||null===(d=u.link)||void 0===d?void 0:d.color:void 0}),style:c({color:(null==f?void 0:f.color)||{}})}}function d(e){var t;const o=(null===(t=e.style)||void 0===t?void 0:t.border)||{};return{className:function(e){var t;const{borderColor:o,style:l}=e,n=o?i("border-color",o):"";return s()({"has-border-color":!!o||!(null==l||null===(t=l.border)||void 0===t||!t.color),[n]:!!n})}(e),style:c({border:o})}}function m(e){var t;return{className:void 0,style:c({spacing:(null===(t=e.style)||void 0===t?void 0:t.spacing)||{}})}}},6357:()=>{}}]);