"use strict";function nearest(e,r){return e.reduce(function(e,t){return Math.abs(e-r)