(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[61],{492:function(e,c,t){"use strict";t.r(c);var a=t(0),n=t(72);c.default=({children:e,className:c})=>{const{cartItems:t,cartIsLoading:s}=Object(n.a)(),l=Object(a.useRef)(null);return Object(a.useEffect)((()=>{var e;0!==t.length||s||null===(e=l.current)||void 0===e||e.focus()}),[t,s]),s||t.length>0?null:Object(a.createElement)("div",{tabIndex:-1,ref:l,className:c},Object(a.createElement)("div",{className:"wc-block-mini-cart__empty-cart-wrapper"},e))}}}]);