"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.calcPxFromPct = calcPxFromPct;
var _constants = require("../../media-single/constants");
function calcPxFromPct(pct, lineLength) {
  var maxWidth = lineLength + _constants.MEDIA_SINGLE_GUTTER_SIZE;
  return maxWidth * pct - _constants.MEDIA_SINGLE_GUTTER_SIZE;
}