"use strict";(self.webpackChunkwebpackWcBlocksFrontendJsonp=self.webpackChunkwebpackWcBlocksFrontendJsonp||[]).push([[319],{3566:(o,t,e)=>{e.d(t,{p:()=>c});var l=e(9019),n=e.n(l),r=e(3993),s=e(92),a=e(6032);const c=o=>{const t=(o=>{const t=(0,r.isObject)(o)?o:{style:{}};let e=t.style;return(0,r.isString)(e)&&(e=JSON.parse(e)||{}),(0,r.isObject)(e)||(e={}),{...t,style:e}})(o),e=(0,a.BK)(t),l=(0,a.aR)(t),c=(0,a.fo)(t),i=(0,s.x)(t);return{className:n()(i.className,e.className,l.className,c.className),style:{...i.style,...e.style,...l.style,...c.style}}}},92:(o,t,e)=>{e.d(t,{x:()=>n});var l=e(3993);const n=o=>{const t=(0,l.isObject)(o.style.typography)?o.style.typography:{},e=(0,l.isString)(t.fontFamily)?t.fontFamily:"";return{className:o.fontFamily?`has-${o.fontFamily}-font-family`:e,style:{fontSize:o.fontSize?`var(--wp--preset--font-size--${o.fontSize})`:t.fontSize,fontStyle:t.fontStyle,fontWeight:t.fontWeight,letterSpacing:t.letterSpacing,lineHeight:t.lineHeight,textDecoration:t.textDecoration,textTransform:t.textTransform}}}},6032:(o,t,e)=>{e.d(t,{BK:()=>u,aR:()=>d,fo:()=>f});var l=e(9019),n=e.n(l),r=e(1194),s=e(9786),a=e(3993);function c(o={}){const t={};return(0,s.getCSSRules)(o,{selector:""}).forEach((o=>{t[o.key]=o.value})),t}function i(o,t){return o&&t?`has-${(0,r.c)(t)}-${o}`:""}function u(o){var t,e,l,r,s,u,d;const{backgroundColor:f,textColor:y,gradient:v,style:m}=o,g=i("background-color",f),p=i("color",y),b=function(o){if(o)return`has-${o}-gradient-background`}(v),h=b||(null==m||null===(t=m.color)||void 0===t?void 0:t.gradient);return{className:n()(p,b,{[g]:!h&&!!g,"has-text-color":y||(null==m||null===(e=m.color)||void 0===e?void 0:e.text),"has-background":f||(null==m||null===(l=m.color)||void 0===l?void 0:l.background)||v||(null==m||null===(r=m.color)||void 0===r?void 0:r.gradient),"has-link-color":(0,a.isObject)(null==m||null===(s=m.elements)||void 0===s?void 0:s.link)?null==m||null===(u=m.elements)||void 0===u||null===(d=u.link)||void 0===d?void 0:d.color:void 0}),style:c({color:(null==m?void 0:m.color)||{}})}}function d(o){var t;const e=(null===(t=o.style)||void 0===t?void 0:t.border)||{};return{className:function(o){var t;const{borderColor:e,style:l}=o,r=e?i("border-color",e):"";return n()({"has-border-color":!!e||!(null==l||null===(t=l.border)||void 0===t||!t.color),[r]:!!r})}(o),style:c({border:e})}}function f(o){var t;return{className:void 0,style:c({spacing:(null===(t=o.style)||void 0===t?void 0:t.spacing)||{}})}}},2500:(o,t,e)=>{e.r(t),e.d(t,{default:()=>i});var l=e(1609),n=e(8605),r=e(9019),s=e.n(r),a=e(7723),c=e(3566);const i=o=>{const{cartItemsCount:t}=(0,n.V)(),e=(0,c.p)(o);return(0,l.createElement)("span",{className:s()(o.className,e.className),style:e.style},(0,a.sprintf)(/* translators: %d is the count of items in the cart. */ /* translators: %d is the count of items in the cart. */
(0,a._n)("(%d item)","(%d items)",t,"woocommerce"),t))}}}]);