"use strict";(self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[]).push([[8513],{396:(e,c,a)=>{a.r(c),a.d(c,{default:()=>n});var s=a(9196),t=a(9659),l=a(9307);const n=({children:e,className:c})=>{const{cartItems:a,cartIsLoading:n}=(0,t.b)(),r=(0,l.useRef)(null);return(0,l.useEffect)((()=>{var e;0!==a.length||n||null===(e=r.current)||void 0===e||e.focus()}),[a,n]),n||a.length>0?null:(0,s.createElement)("div",{tabIndex:-1,ref:r,className:c},(0,s.createElement)("div",{className:"wc-block-mini-cart__empty-cart-wrapper"},e))}}}]);