"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function getSimplePadding(padding, minPadding) {
    if (minPadding === void 0) { minPadding = 0; }
    var _a, _b, _c, _d;
    if (typeof padding === 'number') {
        var adjustedPadding = Math.max(minPadding, padding);
        return {
            inner: adjustedPadding,
            outer: adjustedPadding,
        };
    }
    return {
        inner: Math.max(minPadding, (_b = (_a = padding) === null || _a === void 0 ? void 0 : _a.inner, (_b !== null && _b !== void 0 ? _b : 0))),
        outer: Math.max(minPadding, (_d = (_c = padding) === null || _c === void 0 ? void 0 : _c.outer, (_d !== null && _d !== void 0 ? _d : 0))),
    };
}
exports.getSimplePadding = getSimplePadding;
//# sourceMappingURL=dimensions.js.map