import { bm as _baseFlatten } from "./index.js";
var baseFlatten = _baseFlatten;
var INFINITY = 1 / 0;
function flattenDeep(array) {
  var length = array == null ? 0 : array.length;
  return length ? baseFlatten(array, INFINITY) : [];
}
var flattenDeep_1 = flattenDeep;
export { flattenDeep_1 as f };
