{"version":3,"file":"num.cjs","sources":["../../../../../../../../../.yarn/berry/cache/chroma-js-npm-3.2.0-d5c39f5077-10c0.zip/node_modules/chroma-js/src/interpolator/num.js"],"sourcesContent":["import '../io/num/index.js';\nimport index from './index.js';\n\nimport Color from '../Color.js';\n\nconst num = (col1, col2, f) => {\n    const c1 = col1.num();\n    const c2 = col2.num();\n    return new Color(c1 + f * (c2 - c1), 'num');\n};\n\n// register interpolator\nindex.num = num;\n\nexport default num;\n"],"names":[],"mappings":";;;;AAKA,MAAM,MAAM,CAAC,MAAM,MAAM,MAAM;AAC3B,QAAM,KAAK,KAAK,IAAG;AACnB,QAAM,KAAK,KAAK,IAAG;AACnB,SAAO,IAAI,MAAM,KAAK,KAAK,KAAK,KAAK,KAAK;AAC9C;AAGA,MAAM,MAAM;","x_google_ignoreList":[0]}