(self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[]).push([[9870],{8675:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>d});var n=o(9196),r=o(5736),s=o(3849),l=o.n(s),c=o(2864),a=o(721),i=o(947);o(6357);const u=({parentClassName:t,sku:e,className:o,style:s})=>(0,n.createElement)("div",{className:l()(o,{[`${t}__product-sku`]:t}),style:s},(0,r.__)("SKU:","woocommerce")," ",(0,n.createElement)("strong",null,e)),d=(0,a.withProductDataContext)((t=>{const{className:e}=t,o=(0,i.F)(t),{parentClassName:r}=(0,c.useInnerBlockLayoutContext)(),{product:s}=(0,c.useProductDataContext)(),a=s.sku;return t.isDescendentOfSingleProductTemplate?(0,n.createElement)(u,{parentClassName:r,className:e,sku:"Product SKU"}):a?(0,n.createElement)(u,{className:e,parentClassName:r,sku:a,...t.isDescendantOfAllProducts&&{className:l()(e,"wc-block-components-product-sku wp-block-woocommerce-product-sku",o.className),style:{...o.style}}}):null}))},947:(t,e,o)=>{"use strict";o.d(e,{F:()=>i});var n=o(3849),r=o.n(n),s=o(7998),l=o(3243),c=o(3392),a=o(172);const i=t=>{const e=(t=>{const e=(0,s.Kn)(t)?t:{style:{}};let o=e.style;return(0,l.H)(o)&&(o=JSON.parse(o)||{}),(0,s.Kn)(o)||(o={}),{...e,style:o}})(t),o=(0,a.vc)(e),n=(0,a.l8)(e),i=(0,a.su)(e),u=(0,c.f)(e);return{className:r()(u.className,o.className,n.className,i.className),style:{...u.style,...o.style,...n.style,...i.style}}}},3392:(t,e,o)=>{"use strict";o.d(e,{f:()=>s});var n=o(7998),r=o(3243);const s=t=>{const e=(0,n.Kn)(t.style.typography)?t.style.typography:{},o=(0,r.H)(e.fontFamily)?e.fontFamily:"";return{className:t.fontFamily?`has-${t.fontFamily}-font-family`:o,style:{fontSize:t.fontSize?`var(--wp--preset--font-size--${t.fontSize})`:e.fontSize,fontStyle:e.fontStyle,fontWeight:e.fontWeight,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,textDecoration:e.textDecoration,textTransform:e.textTransform}}}},172:(t,e,o)=>{"use strict";o.d(e,{l8:()=>d,su:()=>f,vc:()=>u});var n=o(3849),r=o.n(n),s=o(7427),l=o(2289),c=o(7998);function a(t={}){const e={};return(0,l.getCSSRules)(t,{selector:""}).forEach((t=>{e[t.key]=t.value})),e}function i(t,e){return t&&e?`has-${(0,s.o)(e)}-${t}`:""}function u(t){var e,o,n,s,l,u,d;const{backgroundColor:f,textColor:p,gradient:v,style:m}=t,y=i("background-color",f),g=i("color",p),k=function(t){if(t)return`has-${t}-gradient-background`}(v),h=k||(null==m||null===(e=m.color)||void 0===e?void 0:e.gradient);return{className:r()(g,k,{[y]:!h&&!!y,"has-text-color":p||(null==m||null===(o=m.color)||void 0===o?void 0:o.text),"has-background":f||(null==m||null===(n=m.color)||void 0===n?void 0:n.background)||v||(null==m||null===(s=m.color)||void 0===s?void 0:s.gradient),"has-link-color":(0,c.Kn)(null==m||null===(l=m.elements)||void 0===l?void 0:l.link)?null==m||null===(u=m.elements)||void 0===u||null===(d=u.link)||void 0===d?void 0:d.color:void 0}),style:a({color:(null==m?void 0:m.color)||{}})}}function d(t){var e;const o=(null===(e=t.style)||void 0===e?void 0:e.border)||{};return{className:function(t){var e;const{borderColor:o,style:n}=t,s=o?i("border-color",o):"";return r()({"has-border-color":!!o||!(null==n||null===(e=n.border)||void 0===e||!e.color),[s]:!!s})}(t),style:a({border:o})}}function f(t){var e;return{className:void 0,style:a({spacing:(null===(e=t.style)||void 0===e?void 0:e.spacing)||{}})}}},2893:(t,e,o)=>{"use strict";o.d(e,{F:()=>n});const n=t=>null===t},7998:(t,e,o)=>{"use strict";o.d(e,{$n:()=>s,Kn:()=>r});var n=o(2893);const r=t=>!(0,n.F)(t)&&t instanceof Object&&t.constructor===Object;function s(t,e){return r(t)&&e in t}},3243:(t,e,o)=>{"use strict";o.d(e,{H:()=>n});const n=t=>"string"==typeof t},112:(t,e,o)=>{"use strict";o.d(e,{$:()=>s});var n=o(3112),r=o(7090);function s(t,e){return void 0===e&&(e={}),(0,r.B)(t,(0,n.pi)({delimiter:"."},e))}},6357:()=>{},3569:(t,e,o)=>{"use strict";function n(t){return t.toLowerCase()}o.d(e,{U:()=>n})},7090:(t,e,o)=>{"use strict";o.d(e,{B:()=>l});var n=o(3569),r=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],s=/[^A-Z0-9]+/gi;function l(t,e){void 0===e&&(e={});for(var o=e.splitRegexp,l=void 0===o?r:o,a=e.stripRegexp,i=void 0===a?s:a,u=e.transform,d=void 0===u?n.U:u,f=e.delimiter,p=void 0===f?" ":f,v=c(c(t,l,"$1\0$2"),i,"\0"),m=0,y=v.length;"\0"===v.charAt(m);)m++;for(;"\0"===v.charAt(y-1);)y--;return v.slice(m,y).split("\0").map(d).join(p)}function c(t,e,o){return e instanceof RegExp?t.replace(e,o):e.reduce((function(t,e){return t.replace(e,o)}),t)}},7427:(t,e,o)=>{"use strict";o.d(e,{o:()=>s});var n=o(3112),r=o(112);function s(t,e){return void 0===e&&(e={}),(0,r.$)(t,(0,n.pi)({delimiter:"-"},e))}},3112:(t,e,o)=>{"use strict";o.d(e,{pi:()=>n});var n=function(){return n=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},n.apply(this,arguments)};Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError}}]);