import { c2 , pow } from '../internal' ; export const easeInOutBack = ( x ) : number => x < 0.5 ? ( pow ( 2 * x , 2 ) * ( ( c2 + 1 ) * 2 * x - c2 ) ) / 2 : ( pow ( 2 * x - 2 , 2 ) * ( ( c2 + 1 ) * ( x * 2 - 2 ) + c2 ) + 2 ) / 2 ;