import { html } from "lit";
const renderDisplayWrapper = ({ props })=>{
    const { display, listClasses } = props;
    if ('table' === display) return (children)=>renderListWrapper({
            props
        })(children);
    return (children)=>renderListWrapper({
            props: {
                listClasses
            }
        })(renderListRoot({
            props: {
                listClasses
            }
        })(children));
};
const renderListWrapper = ({ props })=>{
    const { listClasses } = props;
    return (children)=>html`<div class="list-wrapper ${listClasses}">${children}</div>`;
};
const renderListRoot = ({ props })=>{
    const { listClasses } = props;
    return (children)=>html`<div class="list-root ${listClasses}" part="result-list">
      ${children}
    </div>`;
};
export { renderDisplayWrapper };
