-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdist.min.js
5 lines (4 loc) · 4.88 KB
/
dist.min.js
1
2
3
4
5
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Ez = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
"use strict";function easeInQuad(e,t,n,a){return n*(e/=a)*e+t}function easeOutQuad(e,t,n,a){return-n*(e/=a)*(e-2)+t}function easeInOutQuad(e,t,n,a){return(e/=a/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}function easeInCubic(e,t,n,a){return n*(e/=a)*e*e+t}function easeOutCubic(e,t,n,a){return n*((e=e/a-1)*e*e+1)+t}function easeInOutCubic(e,t,n,a){return(e/=a/2)<1?n/2*e*e*e+t:n/2*((e-=2)*e*e+2)+t}function easeInQuart(e,t,n,a){return n*(e/=a)*e*e*e+t}function easeOutQuart(e,t,n,a){return-n*((e=e/a-1)*e*e*e-1)+t}function easeInOutQuart(e,t,n,a){return(e/=a/2)<1?n/2*e*e*e*e+t:-n/2*((e-=2)*e*e*e-2)+t}function easeInQuint(e,t,n,a){return n*(e/=a)*e*e*e*e+t}function easeOutQuint(e,t,n,a){return n*((e=e/a-1)*e*e*e*e+1)+t}function easeInOutQuint(e,t,n,a){return(e/=a/2)<1?n/2*e*e*e*e*e+t:n/2*((e-=2)*e*e*e*e+2)+t}function easeInSine(e,t,n,a){return-n*Math.cos(e/a*(Math.PI/2))+n+t}function easeOutSine(e,t,n,a){return n*Math.sin(e/a*(Math.PI/2))+t}function easeInOutSine(e,t,n,a){return-n/2*(Math.cos(Math.PI*e/a)-1)+t}function easeInExpo(e,t,n,a){return 0==e?t:n*Math.pow(2,10*(e/a-1))+t}function easeOutExpo(e,t,n,a){return e==a?t+n:n*(-Math.pow(2,-10*e/a)+1)+t}function easeInOutExpo(e,t,n,a){return 0==e?t:e==a?t+n:(e/=a/2)<1?n/2*Math.pow(2,10*(e-1))+t:n/2*(-Math.pow(2,-10*--e)+2)+t}function easeInCirc(e,t,n,a){return-n*(Math.sqrt(1-(e/=a)*e)-1)+t}function easeOutCirc(e,t,n,a){return n*Math.sqrt(1-(e=e/a-1)*e)+t}function easeInOutCirc(e,t,n,a){return(e/=a/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+t:n/2*(Math.sqrt(1-(e-=2)*e)+1)+t}function easeInElastic(e,t,n,a){var u=1.70158,s=0,r=n;if(0==e)return t;if(1==(e/=a))return t+n;if(s||(s=.3*a),r<Math.abs(n)){r=n;var u=s/4}else var u=s/(2*Math.PI)*Math.asin(n/r);return-(r*Math.pow(2,10*(e-=1))*Math.sin((e*a-u)*(2*Math.PI)/s))+t}function easeOutElastic(e,t,n,a){var u=1.70158,s=0,r=n;if(0==e)return t;if(1==(e/=a))return t+n;if(s||(s=.3*a),r<Math.abs(n)){r=n;var u=s/4}else var u=s/(2*Math.PI)*Math.asin(n/r);return r*Math.pow(2,-10*e)*Math.sin((e*a-u)*(2*Math.PI)/s)+n+t}function easeInOutElastic(e,t,n,a){var u=1.70158,s=0,r=n;if(0==e)return t;if(2==(e/=a/2))return t+n;if(s||(s=a*(.3*1.5)),r<Math.abs(n)){r=n;var u=s/4}else var u=s/(2*Math.PI)*Math.asin(n/r);return 1>e?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e*a-u)*(2*Math.PI)/s))+t:r*Math.pow(2,-10*(e-=1))*Math.sin((e*a-u)*(2*Math.PI)/s)*.5+n+t}function easeInBack(e,t,n,a,u){return void 0==u&&(u=1.70158),n*(e/=a)*e*((u+1)*e-u)+t}function easeOutBack(e,t,n,a,u){return void 0==u&&(u=1.70158),n*((e=e/a-1)*e*((u+1)*e+u)+1)+t}function easeInOutBack(e,t,n,a,u){return void 0==u&&(u=1.70158),(e/=a/2)<1?n/2*(e*e*(((u*=1.525)+1)*e-u))+t:n/2*((e-=2)*e*(((u*=1.525)+1)*e+u)+2)+t}function easeInBounce(e,t,n,a){return n-easeOutBounce(a-e,0,n,a)+t}function easeOutBounce(e,t,n,a){return(e/=a)<1/2.75?n*(7.5625*e*e)+t:2/2.75>e?n*(7.5625*(e-=1.5/2.75)*e+.75)+t:2.5/2.75>e?n*(7.5625*(e-=2.25/2.75)*e+.9375)+t:n*(7.5625*(e-=2.625/2.75)*e+.984375)+t}function easeInOutBounce(e,t,n,a){return a/2>e?.5*easeInBounce(2*e,0,n,a)+t:.5*easeOutBounce(2*e-a,0,n,a)+.5*n+t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.easeInQuad=easeInQuad,exports.easeOutQuad=easeOutQuad,exports.easeInOutQuad=easeInOutQuad,exports.easeInCubic=easeInCubic,exports.easeOutCubic=easeOutCubic,exports.easeInOutCubic=easeInOutCubic,exports.easeInQuart=easeInQuart,exports.easeOutQuart=easeOutQuart,exports.easeInOutQuart=easeInOutQuart,exports.easeInQuint=easeInQuint,exports.easeOutQuint=easeOutQuint,exports.easeInOutQuint=easeInOutQuint,exports.easeInSine=easeInSine,exports.easeOutSine=easeOutSine,exports.easeInOutSine=easeInOutSine,exports.easeInExpo=easeInExpo,exports.easeOutExpo=easeOutExpo,exports.easeInOutExpo=easeInOutExpo,exports.easeInCirc=easeInCirc,exports.easeOutCirc=easeOutCirc,exports.easeInOutCirc=easeInOutCirc,exports.easeInElastic=easeInElastic,exports.easeOutElastic=easeOutElastic,exports.easeInOutElastic=easeInOutElastic,exports.easeInBack=easeInBack,exports.easeOutBack=easeOutBack,exports.easeInOutBack=easeInOutBack,exports.easeInBounce=easeInBounce,exports.easeOutBounce=easeOutBounce,exports.easeInOutBounce=easeInOutBounce;
},{}]},{},[1])(1)
});