// Ease and Wizz 2.5.0 : Curvaceous : outSine : all keyframes
// Ian Haigh (http://aescripts.com/ease-and-wizz/)
// Last built: 2016-11-16T17:06:15+11:00
	
function easeAndWizz() {
	
	function easeandwizz_outSine(t, b, c, d) {
		return c * Math.sin(t/d * (Math.PI/2)) + b;
	}
	
	var n = 0;
	if (numKeys > 0) {
		n = nearestKey(time).index;
		if (key(n).time > time) { n-- }
	}

	try {
		var key1 = key(n);
		var key2 = key(n+1);
	} catch(e) {
		return null;
	}
	
	t = time - key1.time;
	d = key2.time - key1.time;

	sX = key1.time;
	eX = key2.time - key1.time;


	if ((time < key1.time) || (time > key2.time)) {
		return null;
	} else {
		return valueAtTime(easeandwizz_outSine(t, sX, eX, d));
	}
}

(easeAndWizz() || value);

