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