"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get addSeparator () {
        return addSeparator;
    },
    get convertIconSize () {
        return convertIconSize;
    }
});
const convertIconSize = (size)=>{
    switch(size){
        case 's':
        case 'xs':
            return 'xs';
        default:
            return 's';
    }
};
const addSeparator = (items, renderSeparator)=>{
    return items.flatMap((item, idx)=>idx < items.length - 1 ? [
            item,
            renderSeparator
        ] : [
            item
        ]);
};
