"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;
    }
});
var getPlacement = function getPlacement(placement) {
    return "".concat(placement, "-start");
};
var getPlacements = function getPlacements(placements) {
    var placeStartByDefault = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true;
    if (!placements) {
        return;
    }
    var isArray = Array.isArray(placements);
    if (!isArray) {
        return placeStartByDefault ? getPlacement(placements) : placements;
    }
    return (placements || []).map(function(placement) {
        return getPlacement(placement);
    });
};
