//#region ../../node_modules/d3-hierarchy/src/hierarchy/sum.js
function e(e) {
	return this.eachAfter(function(t) {
		for (var n = +e(t.data) || 0, r = t.children, i = r && r.length; --i >= 0;) n += r[i].value;
		t.value = n;
	});
}
//#endregion
export { e as default };
