"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 getPlacement () {
        return getPlacement;
    },
    get getPlacements () {
        return getPlacements;
    }
});
const getPlacement = (placement)=>{
    return `${placement}-start`;
};
const getPlacements = (placements, placeStartByDefault = true)=>{
    if (!placements) {
        return;
    }
    const isArray = Array.isArray(placements);
    if (!isArray) {
        return placeStartByDefault ? getPlacement(placements) : placements;
    }
    return (placements || []).map((placement)=>getPlacement(placement));
};
