"use strict";(self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp=self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp||[]).push([[6945],{9962:(e,t,c)=>{c.r(t),c.d(t,{default:()=>h});var r=c(1609),s=c(8639),a=c(910),n=c(8509),l=c(2663),o=c(4656),u=c(5703),p=c(8531),i=c(7143);const h=({className:e})=>{const{cartTotals:t,cartNeedsShipping:c}=(0,n.V)(),{isEditor:h}=(0,l.m)();if(!c)return null;const k=(0,i.select)("wc/store/cart").getShippingRates();if(!(0,p.T4)(k)&&h)return null;const C=(0,a.getCurrencyFromPriceResponse)(t);return(0,r.createElement)(o.TotalsWrapper,{className:e},(0,r.createElement)(s.w7,{showCalculator:(0,u.getSetting)("isShippingCalculatorEnabled",!0),showRateSelector:!0,values:t,currency:C}))}}}]);