'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("@gem-sdk/core"),s=require("react"),t=require("@gem-sdk/system"),l=require("../common/classes.js"),a=require("../common/styles.js"),i=require("../common/attrs.js");exports.default=({styles:c={},style:o,builderAttrs:n,builderProps:u,children:m})=>{let{align:d,horizontalSpacing:y,verticalSpacing:j}=c,p=t.createClass({...l.getClasses(u?.uid,d)}),g=t.createClass({...l.getContainerClasses()}),q=t.createStyle({...a.getContainerStyle(j)}),C=t.createAttr({...i.getAttr({builderAttrs:n})});return e.jsx("div",{...C,className:p,style:{...o},children:e.jsx("ul",{className:g,style:q,children:s.Children.map(r.filterToolbarPreview(m),r=>s.isValidElement(r)?e.jsx(r.type,{...r.props,horizontalSpacing:y}):null)})})};
