'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),Text=require("../../text/components/Text.js");const CartTotalItem=({styles:e,builderProps:t})=>{let{data:r}=core.useCartData(),s=r?.lineItems.reduce((e,t)=>e+t.quantity,0);return jsxRuntime.jsx(Text.default,{builderProps:t,styles:e,setting:{text:s}})};exports.default=CartTotalItem;
