var r = 20;
function t() {
  var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, e = n / a * 100;
  return isNaN(e) && (e = 0), e = Math.max(e, r), e = Math.min(e, n / 2), Math.floor(e);
}
export {
  t as getSpinSize
};
