cal/packages/core/getAggregatedAvailability
..
date-range-utils/mergeOverlappingDateRanges
index.ts