Liferay.Loader.define("commerce-dashboard-web$d3-hierarchy@1.1.8/src/hierarchy/leaves", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    export default function () {
      var leaves = [];
      this.eachBefore(function (node) {
        if (!node.children) {
          leaves.push(node);
        }
      });
      return leaves;
    }
  }
});
//# sourceMappingURL=leaves.js.map