const t={interpolate(t,n,r){if(t.length!==2||n.length!==2){throw new Error("inputRange and outputRange must be an array of length 2")}const e=t[0]||0;const o=t[1]||0;const a=n[0]||0;const s=n[1]||0;if(r<e){return a}if(r>o){return s}return(s-a)/(o-e)*(r-e)+a}};export{t as M};
//# sourceMappingURL=p-wMYIvr92.js.map