import { INTERSECTION_THRESHOLD_DEFAULT } from '../tokens/intersection-threshold' ; export function thresholdFactory ( threshold ) { return threshold ? threshold . split ( ',' ) . map ( parseFloat ) : INTERSECTION_THRESHOLD_DEFAULT ; }