'use client';
import{jsx as r}from"react/jsx-runtime";import{filterToolbarPreview as s}from"@gem-sdk/core";import{Children as m,isValidElement as o}from"react";import{createClass as t,createStyle as e,createAttr as a}from"@gem-sdk/system";import{getClasses as c,getContainerClasses as i}from"../common/classes.js";import{getContainerStyle as l}from"../common/styles.js";import{getAttr as p}from"../common/attrs.js";let PostPurchaseAdvancedList=({styles:n={},style:d,builderAttrs:f,builderProps:u,children:h})=>{let{align:y,horizontalSpacing:j,verticalSpacing:P}=n,g=t({...c(u?.uid,y)}),v=t({...i()}),k=e({...l(P)}),x=a({...p({builderAttrs:f})});return r("div",{...x,className:g,style:{...d},children:r("ul",{className:v,style:k,children:m.map(s(h),s=>o(s)?r(s.type,{...s.props,horizontalSpacing:j}):null)})})};export{PostPurchaseAdvancedList as default};
