import { jsx as _jsx, Fragment as _Fragment } from "@emotion/react/jsx-runtime";
export function getSlots(slotsMap, slot) {
    return ((slotsMap === null || slotsMap === void 0 ? void 0 : slotsMap.get(slot)) || []).map(({ component: ImplWrapper, id }) => (_jsx(ImplWrapper, {}, id)));
}
const Slot = ({ slotsMap, slot, }) => {
    return _jsx(_Fragment, { children: getSlots(slotsMap, slot) }, void 0);
};
export default Slot;
//# sourceMappingURL=Slot.js.map