node_modules/@jaames/iro/dist/iro.es.js
/**
 * @desc Parse a css unit string - either regular int or a percentage number
 * @param {String} str input string
 * @param {String} max max number for converting percentages
 * @returns {Number} 
 */
@desc Parse a css unit string - either regular int or a percentage number
@param {String} str input string
@param {String} max max number for converting percentages
@returns {Number}
@desc Parse a css unit string - either regular int or a percentage number @param { String } str input string @param { String } max max number for converting percentages @returns { Number }
function parseUnit(str, max) {
  var isPercentage = str.indexOf('%') > -1;
  var num = parseFloat(str);
  return isPercentage ? (max / 100) * num : num;
}
function parseUnit ( str , max ) { var isPercentage = str . indexOf ( '%' ) > - 1 ; var num = parseFloat ( str ) ; return isPercentage ? ( max / 100 ) * num : num ; }
@desc Parse a css unit string - either regular int or a percentage number
 @param {String} str input string
 @param {String} max max number for converting percentages
 @returns {Number}
@desc Parse a css unit string - either regular int or a percentage number @param { String } str input string @param { String } max max number for converting percentages @returns { Number }