"use strict";(globalThis.webpackChunkwebpackWcBlocksStylingJsonp=globalThis.webpackChunkwebpackWcBlocksStylingJsonp||[]).push([[319],{15076:(t,e,o)=>{o.d(e,{p:()=>c});var s=o(4921),n=o(73993),r=o(88270),l=o(5154);const c=t=>{const e=(t=>{const e=(0,n.isObject)(t)?t:{style:{}};let o=e.style;return(0,n.isString)(o)&&(o=JSON.parse(o)||{}),(0,n.isObject)(o)||(o={}),{...e,style:o}})(t),o=(0,l.BK)(e),c=(0,l.aR)(e),a=(0,l.fo)(e),i=(0,r.x)(e);return{className:(0,s.A)(i.className,o.className,c.className,a.className),style:{...i.style,...o.style,...c.style,...a.style}}}},88270:(t,e,o)=>{o.d(e,{x:()=>n});var s=o(73993);const n=t=>{const e=(0,s.isObject)(t.style.typography)?t.style.typography:{},o=(0,s.isString)(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}}}},5154:(t,e,o)=>{o.d(e,{BK:()=>i,aR:()=>y,fo:()=>u});var s=o(4921),n=o(67356),r=o(49786),l=o(73993);function c(t={}){const e={};return(0,r.getCSSRules)(t,{selector:""}).forEach(t=>{e[t.key]=t.value}),e}function a(t,e){return t&&e?`has-${(0,n.c)(e)}-${t}`:""}function i(t){const{backgroundColor:e,textColor:o,gradient:n,style:r}=t,i=a("background-color",e),y=a("color",o),u=function(t){if(t)return`has-${t}-gradient-background`}(n),f=u||r?.color?.gradient;return{className:(0,s.A)(y,u,{[i]:!f&&!!i,"has-text-color":o||r?.color?.text,"has-background":e||r?.color?.background||n||r?.color?.gradient,"has-link-color":(0,l.isObject)(r?.elements?.link)?r?.elements?.link?.color:void 0}),style:c({color:r?.color||{}})}}function y(t){const e=t.style?.border||{};return{className:function(t){const{borderColor:e,style:o}=t,n=e?a("border-color",e):"";return(0,s.A)({"has-border-color":!!e||!!o?.border?.color,[n]:!!n})}(t),style:c({border:e})}}function u(t){return{className:void 0,style:c({spacing:t.style?.spacing||{}})}}},89174:(t,e,o)=>{o.r(e),o.d(e,{default:()=>a});var s=o(74058),n=o(4921),r=o(27723),l=o(15076),c=o(10790);const a=t=>{const{cartItemsCount:e}=(0,s.V)(),o=(0,l.p)(t);return(0,c.jsx)("span",{className:(0,n.A)(t.className,o.className),style:o.style,children:(0,r.sprintf)((0,r._n)("(%d item)","(%d items)",e,"woocommerce"),e)})}}}]);