'use client';
import{jsx as r,jsxs as e}from"react/jsx-runtime";import"react";import{useCartData as t,CartLineProvider as i,isEmptyChildren as m}from"@gem-sdk/core";import"next/head";import o from"../../grid/components/ChildrenDroppable.js";import"next/image";import"@gem-sdk/system";import"next/link";import"react-youtube";import d from"../../grid/components/col/Col.js";let n=({builderProps:n,advanced:l,setting:p,styles:a,children:s,...c})=>{let{data:h,error:u}=t();return r("div",{"data-id":n?.uid,...c,children:u?e("div",{children:["Error: ",u.message]}):h?r(d,{styles:a,children:h.lineItems.map(e=>e?r(i,{line:e,children:m(s)?r(o,{}):s},e.id):null)}):r("div",{children:"Cart Empty"})})};export{n as default};
