import{jsx as r,Fragment as t,jsxs as e}from"react/jsx-runtime";import m from"react";import{If as o}from"@gem-sdk/system";import a from"./Separator.js";import i from"./BlankSpace.js";let PriceLayout=({components:p,showPrice:l,showSeparator:n,separator:s})=>{let c=o(n,r(a,{separator:s}),o(p.length>1,r(i,{}),r(t,{})));return e(t,{children:[c,l&&p.map((t,o)=>e(m.Fragment,{children:[t,o<p.length-1&&r(i,{})]},o))]})};export{PriceLayout as default};
