(self.webpackChunkwebpackWcBlocksMainJsonp=self.webpackChunkwebpackWcBlocksMainJsonp||[]).push([[2724],{3975:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>u});var l=o(1609),s=o(7723),n=o(851),r=o(2796),a=o(1616),c=o(3566);o(7663);const i=({parentClassName:e,sku:t,className:o,style:r})=>(0,l.createElement)("div",{className:(0,n.A)(o,{[`${e}__product-sku`]:e}),style:r},(0,s.__)("SKU:","woocommerce")," ",(0,l.createElement)("strong",null,t)),u=(0,a.withProductDataContext)((e=>{const{className:t}=e,o=(0,c.p)(e),{parentClassName:s}=(0,r.useInnerBlockLayoutContext)(),{product:a}=(0,r.useProductDataContext)(),u=a.sku;return e.isDescendentOfSingleProductTemplate?(0,l.createElement)(i,{parentClassName:s,className:t,sku:"Product SKU"}):u?(0,l.createElement)(i,{className:t,parentClassName:s,sku:u,...e.isDescendantOfAllProducts&&{className:(0,n.A)(t,"wc-block-components-product-sku wp-block-woocommerce-product-sku",o.className),style:{...o.style}}}):null}))},3566:(e,t,o)=>{"use strict";o.d(t,{p:()=>a});var l=o(851),s=o(3993),n=o(92),r=o(6032);const a=e=>{const t=(e=>{const t=(0,s.isObject)(e)?e:{style:{}};let o=t.style;return(0,s.isString)(o)&&(o=JSON.parse(o)||{}),(0,s.isObject)(o)||(o={}),{...t,style:o}})(e),o=(0,r.BK)(t),a=(0,r.aR)(t),c=(0,r.fo)(t),i=(0,n.x)(t);return{className:(0,l.A)(i.className,o.className,a.className,c.className),style:{...i.style,...o.style,...a.style,...c.style}}}},92:(e,t,o)=>{"use strict";o.d(t,{x:()=>s});var l=o(3993);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}}}},6032:(e,t,o)=>{"use strict";o.d(t,{BK:()=>i,aR:()=>u,fo:()=>d});var l=o(851),s=o(1194),n=o(9786),r=o(3993);function a(e={}){const t={};return(0,n.getCSSRules)(e,{selector:""}).forEach((e=>{t[e.key]=e.value})),t}function c(e,t){return e&&t?`has-${(0,s.c)(t)}-${e}`:""}function i(e){var t,o,s,n,i,u,d;const{backgroundColor:m,textColor:y,gradient:f,style:v}=e,p=c("background-color",m),k=c("color",y),g=function(e){if(e)return`has-${e}-gradient-background`}(f),b=g||(null==v||null===(t=v.color)||void 0===t?void 0:t.gradient);return{className:(0,l.A)(k,g,{[p]:!b&&!!p,"has-text-color":y||(null==v||null===(o=v.color)||void 0===o?void 0:o.text),"has-background":m||(null==v||null===(s=v.color)||void 0===s?void 0:s.background)||f||(null==v||null===(n=v.color)||void 0===n?void 0:n.gradient),"has-link-color":(0,r.isObject)(null==v||null===(i=v.elements)||void 0===i?void 0:i.link)?null==v||null===(u=v.elements)||void 0===u||null===(d=u.link)||void 0===d?void 0:d.color:void 0}),style:a({color:(null==v?void 0:v.color)||{}})}}function u(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:s}=e,n=o?c("border-color",o):"";return(0,l.A)({"has-border-color":!!o||!(null==s||null===(t=s.border)||void 0===t||!t.color),[n]:!!n})}(e),style:a({border:o})}}function d(e){var t;return{className:void 0,style:a({spacing:(null===(t=e.style)||void 0===t?void 0:t.spacing)||{}})}}},7663:()=>{}}]);