velocity-animate
Advanced tools
Comparing version 1.5.1 to 2.0.1
@@ -0,0 +0,0 @@ The MIT License |
{ | ||
"name": "velocity-animate", | ||
"version": "1.5.1", | ||
"version": "2.0.1", | ||
"description": "Accelerated JavaScript animation.", | ||
@@ -31,2 +31,3 @@ "keywords": [ | ||
"main": "velocity.js", | ||
"types": "index.d.ts", | ||
"repository": "julianshapiro/velocity", | ||
@@ -40,6 +41,12 @@ "files": [ | ||
"devDependencies": { | ||
"grunt": "^1.0.1", | ||
"@types/qunit": "^2.0.31", | ||
"grunt": "^1.0.2", | ||
"grunt-contrib-jshint": "~1.1.0", | ||
"grunt-contrib-uglify": "~2.2.0" | ||
"grunt-contrib-uglify": "~3.3.0", | ||
"grunt-contrib-watch": "^1.0.0", | ||
"grunt-load-options": "^1.0.0", | ||
"grunt-ts": "^6.0.0-beta.17", | ||
"load-grunt-tasks": "^3.5.2", | ||
"typescript": "^2.7.1" | ||
} | ||
} |
@@ -1,5 +0,7 @@ | ||
# Velocity 1.5.1 | ||
# Velocity 2.0.1 beta | ||
# This is a public beta - files are *not* available on CDN | ||
## Docs | ||
[http://VelocityJS.org](http://velocityjs.org) | ||
[https://github.com/julianshapiro/velocity/wiki](https://github.com/julianshapiro/velocity/wiki) | ||
@@ -17,4 +19,4 @@ ## News | ||
```html | ||
<script src="//cdn.jsdelivr.net/npm/velocity-animate@1.5/velocity.min.js"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/velocity/1.5.1/velocity.min.js"></script> | ||
<script src="//cdn.jsdelivr.net/velocity/2.0/velocity.min.js"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/velocity/2.0.0/velocity.min.js"></script> | ||
``` | ||
@@ -24,7 +26,7 @@ | ||
```html | ||
<script src="//cdn.jsdelivr.net/npm/velocity-animate@1.5/velocity.ui.min.js"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/velocity/1.5.1/velocity.ui.min.js"></script> | ||
<script src="//cdn.jsdelivr.net/velocity/2.0/velocity.ui.min.js"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/velocity/2.0.0/velocity.ui.min.js"></script> | ||
``` | ||
> Please note that JSDelivr will automatically supply the latest release, while CloudFlare needs to ask for a specific version. | ||
> Please note that JSDelivr can automatically supply the latest release, while CloudFlare needs to ask for a specific version. | ||
@@ -39,2 +41,3 @@ ### Package managers: | ||
## Updates | ||
- **[2.0](https://github.com/julianshapiro/velocity/compare/1.5.0...2.0.0)**: Typescript update and complete refactoring. | ||
- **[1.5](https://github.com/julianshapiro/velocity/compare/1.4.0...1.5.0)**: Bugfixes, IE9 compatibility fixes. | ||
@@ -61,6 +64,9 @@ - **[1.4](https://github.com/julianshapiro/velocity/compare/1.3.0...1.4.0)**: Pause / Resume (per element or global).<br> | ||
==== | ||
## License | ||
[MIT License](LICENSE.md). © Julian Shapiro (http://twitter.com/shapiro). | ||
[MIT License](LICENSE.md). © Julian Shapiro (http://twitter.com/shapiro).<br> | ||
[Stripe](https://stripe.com/blog/stripe-open-source-retreat) sponsors Velocity's development.<br> | ||
[BrowserStack](http://www.browserstack.com/) provides testing services. | ||
## Sponsors | ||
[![Kiss My Button](https://presskit.kissmybutton.gr/logos/kissmybutton-logo-small.png)](https://kissmybutton.gr) sponsors Velocity's development. | ||
[![BrowserStack](https://raw.githubusercontent.com/julianshapiro/velocity/master/.github/browserstack-logo-182x96.png)](https://browserstack.com/) provides browser testing services for Velocity. |
@@ -1,4 +0,2 @@ | ||
/*! VelocityJS.org (1.5.0). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */ | ||
/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */ | ||
!function(a){"use strict";function b(a){var b=a.length,d=c.type(a);return"function"!==d&&!c.isWindow(a)&&(!(1!==a.nodeType||!b)||("array"===d||0===b||"number"==typeof b&&b>0&&b-1 in a))}if(!a.jQuery){var c=function(a,b){return new c.fn.init(a,b)};c.isWindow=function(a){return a&&a===a.window},c.type=function(a){return a?"object"==typeof a||"function"==typeof a?e[g.call(a)]||"object":typeof a:a+""},c.isArray=Array.isArray||function(a){return"array"===c.type(a)},c.isPlainObject=function(a){var b;if(!a||"object"!==c.type(a)||a.nodeType||c.isWindow(a))return!1;try{if(a.constructor&&!f.call(a,"constructor")&&!f.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(d){return!1}for(b in a);return b===undefined||f.call(a,b)},c.each=function(a,c,d){var e=0,f=a.length,g=b(a);if(d){if(g)for(;e<f&&!1!==c.apply(a[e],d);e++);else for(e in a)if(a.hasOwnProperty(e)&&!1===c.apply(a[e],d))break}else if(g)for(;e<f&&!1!==c.call(a[e],e,a[e]);e++);else for(e in a)if(a.hasOwnProperty(e)&&!1===c.call(a[e],e,a[e]))break;return a},c.data=function(a,b,e){if(e===undefined){var f=a[c.expando],g=f&&d[f];if(b===undefined)return g;if(g&&b in g)return g[b]}else if(b!==undefined){var h=a[c.expando]||(a[c.expando]=++c.uuid);return d[h]=d[h]||{},d[h][b]=e,e}},c.removeData=function(a,b){var e=a[c.expando],f=e&&d[e];f&&(b?c.each(b,function(a,b){delete f[b]}):delete d[e])},c.extend=function(){var a,b,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;for("boolean"==typeof h&&(k=h,h=arguments[i]||{},i++),"object"!=typeof h&&"function"!==c.type(h)&&(h={}),i===j&&(h=this,i--);i<j;i++)if(f=arguments[i])for(e in f)f.hasOwnProperty(e)&&(a=h[e],d=f[e],h!==d&&(k&&d&&(c.isPlainObject(d)||(b=c.isArray(d)))?(b?(b=!1,g=a&&c.isArray(a)?a:[]):g=a&&c.isPlainObject(a)?a:{},h[e]=c.extend(k,g,d)):d!==undefined&&(h[e]=d)));return h},c.queue=function(a,d,e){if(a){d=(d||"fx")+"queue";var f=c.data(a,d);return e?(!f||c.isArray(e)?f=c.data(a,d,function(a,c){var d=c||[];return a&&(b(Object(a))?function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;)a[e++]=b[d++];if(c!==c)for(;b[d]!==undefined;)a[e++]=b[d++];a.length=e}(d,"string"==typeof a?[a]:a):[].push.call(d,a)),d}(e)):f.push(e),f):f||[]}},c.dequeue=function(a,b){c.each(a.nodeType?[a]:a,function(a,d){b=b||"fx";var e=c.queue(d,b),f=e.shift();"inprogress"===f&&(f=e.shift()),f&&("fx"===b&&e.unshift("inprogress"),f.call(d,function(){c.dequeue(d,b)}))})},c.fn=c.prototype={init:function(a){if(a.nodeType)return this[0]=a,this;throw new Error("Not a DOM node.")},offset:function(){var b=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:b.top+(a.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:b.left+(a.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var a=this[0],b=function(a){for(var b=a.offsetParent;b&&"html"!==b.nodeName.toLowerCase()&&b.style&&"static"===b.style.position.toLowerCase();)b=b.offsetParent;return b||document}(a),d=this.offset(),e=/^(?:body|html)$/i.test(b.nodeName)?{top:0,left:0}:c(b).offset();return d.top-=parseFloat(a.style.marginTop)||0,d.left-=parseFloat(a.style.marginLeft)||0,b.style&&(e.top+=parseFloat(b.style.borderTopWidth)||0,e.left+=parseFloat(b.style.borderLeftWidth)||0),{top:d.top-e.top,left:d.left-e.left}}};var d={};c.expando="velocity"+(new Date).getTime(),c.uuid=0;for(var e={},f=e.hasOwnProperty,g=e.toString,h="Boolean Number String Function Array Date RegExp Object Error".split(" "),i=0;i<h.length;i++)e["[object "+h[i]+"]"]=h[i].toLowerCase();c.fn.init.prototype=c.fn,a.Velocity={Utilities:c}}}(window),function(a){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a():"function"==typeof define&&define.amd?define(a):a()}(function(){"use strict";return function(a,b,c,d){function e(a){for(var b=-1,c=a?a.length:0,d=[];++b<c;){var e=a[b];e&&d.push(e)}return d}function f(a){return u.isWrapped(a)?a=s.call(a):u.isNode(a)&&(a=[a]),a}function g(a){var b=o.data(a,"velocity");return null===b?d:b}function h(a,b){var c=g(a);c&&c.delayTimer&&!c.delayPaused&&(c.delayRemaining=c.delay-b+c.delayBegin,c.delayPaused=!0,clearTimeout(c.delayTimer.setTimeout))}function i(a,b){var c=g(a);c&&c.delayTimer&&c.delayPaused&&(c.delayPaused=!1,c.delayTimer.setTimeout=setTimeout(c.delayTimer.next,c.delayRemaining))}function j(a){return function(b){return Math.round(b*a)*(1/a)}}function k(a,c,d,e){function f(a,b){return 1-3*b+3*a}function g(a,b){return 3*b-6*a}function h(a){return 3*a}function i(a,b,c){return((f(b,c)*a+g(b,c))*a+h(b))*a}function j(a,b,c){return 3*f(b,c)*a*a+2*g(b,c)*a+h(b)}function k(b,c){for(var e=0;e<p;++e){var f=j(c,a,d);if(0===f)return c;c-=(i(c,a,d)-b)/f}return c}function l(){for(var b=0;b<t;++b)x[b]=i(b*u,a,d)}function m(b,c,e){var f,g,h=0;do{g=c+(e-c)/2,f=i(g,a,d)-b,f>0?e=g:c=g}while(Math.abs(f)>r&&++h<s);return g}function n(b){for(var c=0,e=1,f=t-1;e!==f&&x[e]<=b;++e)c+=u;--e;var g=(b-x[e])/(x[e+1]-x[e]),h=c+g*u,i=j(h,a,d);return i>=q?k(b,h):0===i?h:m(b,c,c+u)}function o(){y=!0,a===c&&d===e||l()}var p=4,q=.001,r=1e-7,s=10,t=11,u=1/(t-1),v="Float32Array"in b;if(4!==arguments.length)return!1;for(var w=0;w<4;++w)if("number"!=typeof arguments[w]||isNaN(arguments[w])||!isFinite(arguments[w]))return!1;a=Math.min(a,1),d=Math.min(d,1),a=Math.max(a,0),d=Math.max(d,0);var x=v?new Float32Array(t):new Array(t),y=!1,z=function(b){return y||o(),a===c&&d===e?b:0===b?0:1===b?1:i(n(b),c,e)};z.getControlPoints=function(){return[{x:a,y:c},{x:d,y:e}]};var A="generateBezier("+[a,c,d,e]+")";return z.toString=function(){return A},z}function l(a,b){var c=a;return u.isString(a)?y.Easings[a]||(c=!1):c=u.isArray(a)&&1===a.length?j.apply(null,a):u.isArray(a)&&2===a.length?z.apply(null,a.concat([b])):!(!u.isArray(a)||4!==a.length)&&k.apply(null,a),!1===c&&(c=y.Easings[y.defaults.easing]?y.defaults.easing:x),c}function m(a){if(a){var b=y.timestamp&&!0!==a?a:r.now(),c=y.State.calls.length;c>1e4&&(y.State.calls=e(y.State.calls),c=y.State.calls.length);for(var f=0;f<c;f++)if(y.State.calls[f]){var h=y.State.calls[f],i=h[0],j=h[2],k=h[3],l=!k,q=null,s=h[5],t=h[6];if(k||(k=y.State.calls[f][3]=b-16),s){if(!0!==s.resume)continue;k=h[3]=Math.round(b-t-16),h[5]=null}t=h[6]=b-k;for(var v=Math.min(t/j.duration,1),w=0,x=i.length;w<x;w++){var z=i[w],B=z.element;if(g(B)){var D=!1;if(j.display!==d&&null!==j.display&&"none"!==j.display){if("flex"===j.display){var E=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];o.each(E,function(a,b){A.setPropertyValue(B,"display",b)})}A.setPropertyValue(B,"display",j.display)}j.visibility!==d&&"hidden"!==j.visibility&&A.setPropertyValue(B,"visibility",j.visibility);for(var F in z)if(z.hasOwnProperty(F)&&"element"!==F){var G,H=z[F],I=u.isString(H.easing)?y.Easings[H.easing]:H.easing;if(u.isString(H.pattern)){var J=1===v?function(a,b,c){var d=H.endValue[b];return c?Math.round(d):d}:function(a,b,c){var d=H.startValue[b],e=H.endValue[b]-d,f=d+e*I(v,j,e);return c?Math.round(f):f};G=H.pattern.replace(/{(\d+)(!)?}/g,J)}else if(1===v)G=H.endValue;else{var K=H.endValue-H.startValue;G=H.startValue+K*I(v,j,K)}if(!l&&G===H.currentValue)continue;if(H.currentValue=G,"tween"===F)q=G;else{var L;if(A.Hooks.registered[F]){L=A.Hooks.getRoot(F);var M=g(B).rootPropertyValueCache[L];M&&(H.rootPropertyValue=M)}var N=A.setPropertyValue(B,F,H.currentValue+(p<9&&0===parseFloat(G)?"":H.unitType),H.rootPropertyValue,H.scrollData);A.Hooks.registered[F]&&(A.Normalizations.registered[L]?g(B).rootPropertyValueCache[L]=A.Normalizations.registered[L]("extract",null,N[1]):g(B).rootPropertyValueCache[L]=N[1]),"transform"===N[0]&&(D=!0)}}j.mobileHA&&g(B).transformCache.translate3d===d&&(g(B).transformCache.translate3d="(0px, 0px, 0px)",D=!0),D&&A.flushTransformCache(B)}}j.display!==d&&"none"!==j.display&&(y.State.calls[f][2].display=!1),j.visibility!==d&&"hidden"!==j.visibility&&(y.State.calls[f][2].visibility=!1),j.progress&&j.progress.call(h[1],h[1],v,Math.max(0,k+j.duration-b),k,q),1===v&&n(f)}}y.State.isTicking&&C(m)}function n(a,b){if(!y.State.calls[a])return!1;for(var c=y.State.calls[a][0],e=y.State.calls[a][1],f=y.State.calls[a][2],h=y.State.calls[a][4],i=!1,j=0,k=c.length;j<k;j++){var l=c[j].element;b||f.loop||("none"===f.display&&A.setPropertyValue(l,"display",f.display),"hidden"===f.visibility&&A.setPropertyValue(l,"visibility",f.visibility));var m=g(l);if(!0!==f.loop&&(o.queue(l)[1]===d||!/\.velocityQueueEntryFlag/i.test(o.queue(l)[1]))&&m){m.isAnimating=!1,m.rootPropertyValueCache={};var n=!1;o.each(A.Lists.transforms3D,function(a,b){var c=/^scale/.test(b)?1:0,e=m.transformCache[b];m.transformCache[b]!==d&&new RegExp("^\\("+c+"[^.]").test(e)&&(n=!0,delete m.transformCache[b])}),f.mobileHA&&(n=!0,delete m.transformCache.translate3d),n&&A.flushTransformCache(l),A.Values.removeClass(l,"velocity-animating")}if(!b&&f.complete&&!f.loop&&j===k-1)try{f.complete.call(e,e)}catch(r){setTimeout(function(){throw r},1)}h&&!0!==f.loop&&h(e),m&&!0===f.loop&&!b&&(o.each(m.tweensContainer,function(a,b){if(/^rotate/.test(a)&&(parseFloat(b.startValue)-parseFloat(b.endValue))%360==0){var c=b.startValue;b.startValue=b.endValue,b.endValue=c}/^backgroundPosition/.test(a)&&100===parseFloat(b.endValue)&&"%"===b.unitType&&(b.endValue=0,b.startValue=100)}),y(l,"reverse",{loop:!0,delay:f.delay})),!1!==f.queue&&o.dequeue(l,f.queue)}y.State.calls[a]=!1;for(var p=0,q=y.State.calls.length;p<q;p++)if(!1!==y.State.calls[p]){i=!0;break}!1===i&&(y.State.isTicking=!1,delete y.State.calls,y.State.calls=[])}var o,p=function(){if(c.documentMode)return c.documentMode;for(var a=7;a>4;a--){var b=c.createElement("div");if(b.innerHTML="\x3c!--[if IE "+a+"]><span></span><![endif]--\x3e",b.getElementsByTagName("span").length)return b=null,a}return d}(),q=function(){var a=0;return b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||function(b){var c,d=(new Date).getTime();return c=Math.max(0,16-(d-a)),a=d+c,setTimeout(function(){b(d+c)},c)}}(),r=function(){var a=b.performance||{};if("function"!=typeof a.now){var c=a.timing&&a.timing.navigationStart?a.timing.navigationStart:(new Date).getTime();a.now=function(){return(new Date).getTime()-c}}return a}(),s=function(){var a=Array.prototype.slice;try{return a.call(c.documentElement),a}catch(b){return function(b,c){var d=this.length;if("number"!=typeof b&&(b=0),"number"!=typeof c&&(c=d),this.slice)return a.call(this,b,c);var e,f=[],g=b>=0?b:Math.max(0,d+b),h=c<0?d+c:Math.min(c,d),i=h-g;if(i>0)if(f=new Array(i),this.charAt)for(e=0;e<i;e++)f[e]=this.charAt(g+e);else for(e=0;e<i;e++)f[e]=this[g+e];return f}}}(),t=function(){return Array.prototype.includes?function(a,b){return a.includes(b)}:Array.prototype.indexOf?function(a,b){return a.indexOf(b)>=0}:function(a,b){for(var c=0;c<a.length;c++)if(a[c]===b)return!0;return!1}},u={isNumber:function(a){return"number"==typeof a},isString:function(a){return"string"==typeof a},isArray:Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)},isFunction:function(a){return"[object Function]"===Object.prototype.toString.call(a)},isNode:function(a){return a&&a.nodeType},isWrapped:function(a){return a&&a!==b&&u.isNumber(a.length)&&!u.isString(a)&&!u.isFunction(a)&&!u.isNode(a)&&(0===a.length||u.isNode(a[0]))},isSVG:function(a){return b.SVGElement&&a instanceof b.SVGElement},isEmptyObject:function(a){for(var b in a)if(a.hasOwnProperty(b))return!1;return!0}},v=!1;if(a.fn&&a.fn.jquery?(o=a,v=!0):o=b.Velocity.Utilities,p<=8&&!v)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(p<=7)return void(jQuery.fn.velocity=jQuery.fn.animate);var w=400,x="swing",y={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(b.navigator.userAgent),isAndroid:/Android/i.test(b.navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(b.navigator.userAgent),isChrome:b.chrome,isFirefox:/Firefox/i.test(b.navigator.userAgent),prefixElement:c.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:o,Redirects:{},Easings:{},Promise:b.Promise,defaults:{queue:"",duration:w,easing:x,begin:d,complete:d,progress:d,display:d,visibility:d,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(a){o.data(a,"velocity",{isSVG:u.isSVG(a),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:1},debug:!1,timestamp:!0,pauseAll:function(a){var b=(new Date).getTime();o.each(y.State.calls,function(b,c){if(c){if(a!==d&&(c[2].queue!==a||!1===c[2].queue))return!0;c[5]={resume:!1}}}),o.each(y.State.delayedElements,function(a,c){c&&h(c,b)})},resumeAll:function(a){var b=(new Date).getTime();o.each(y.State.calls,function(b,c){if(c){if(a!==d&&(c[2].queue!==a||!1===c[2].queue))return!0;c[5]&&(c[5].resume=!0)}}),o.each(y.State.delayedElements,function(a,c){c&&i(c,b)})}};b.pageYOffset!==d?(y.State.scrollAnchor=b,y.State.scrollPropertyLeft="pageXOffset",y.State.scrollPropertyTop="pageYOffset"):(y.State.scrollAnchor=c.documentElement||c.body.parentNode||c.body,y.State.scrollPropertyLeft="scrollLeft",y.State.scrollPropertyTop="scrollTop");var z=function(){function a(a){return-a.tension*a.x-a.friction*a.v}function b(b,c,d){var e={x:b.x+d.dx*c,v:b.v+d.dv*c,tension:b.tension,friction:b.friction};return{dx:e.v,dv:a(e)}}function c(c,d){var e={dx:c.v,dv:a(c)},f=b(c,.5*d,e),g=b(c,.5*d,f),h=b(c,d,g),i=1/6*(e.dx+2*(f.dx+g.dx)+h.dx),j=1/6*(e.dv+2*(f.dv+g.dv)+h.dv);return c.x=c.x+i*d,c.v=c.v+j*d,c}return function d(a,b,e){var f,g,h,i={x:-1,v:0,tension:null,friction:null},j=[0],k=0;for(a=parseFloat(a)||500,b=parseFloat(b)||20,e=e||null,i.tension=a,i.friction=b,f=null!==e,f?(k=d(a,b),g=k/e*.016):g=.016;;)if(h=c(h||i,g),j.push(1+h.x),k+=16,!(Math.abs(h.x)>1e-4&&Math.abs(h.v)>1e-4))break;return f?function(a){return j[a*(j.length-1)|0]}:k}}();y.Easings={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},spring:function(a){return 1-Math.cos(4.5*a*Math.PI)*Math.exp(6*-a)}},o.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(a,b){y.Easings[b[0]]=k.apply(null,b[1])});var A=y.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var a=0;a<A.Lists.colors.length;a++){var b="color"===A.Lists.colors[a]?"0 0 0 1":"255 255 255 1";A.Hooks.templates[A.Lists.colors[a]]=["Red Green Blue Alpha",b]}var c,d,e;if(p)for(c in A.Hooks.templates)if(A.Hooks.templates.hasOwnProperty(c)){d=A.Hooks.templates[c],e=d[0].split(" ");var f=d[1].match(A.RegEx.valueSplit);"Color"===e[0]&&(e.push(e.shift()),f.push(f.shift()),A.Hooks.templates[c]=[e.join(" "),f.join(" ")])}for(c in A.Hooks.templates)if(A.Hooks.templates.hasOwnProperty(c)){d=A.Hooks.templates[c],e=d[0].split(" ");for(var g in e)if(e.hasOwnProperty(g)){var h=c+e[g],i=g;A.Hooks.registered[h]=[c,i]}}},getRoot:function(a){var b=A.Hooks.registered[a];return b?b[0]:a},getUnit:function(a,b){var c=(a.substr(b||0,5).match(/^[a-z%]+/)||[])[0]||"";return c&&t(A.Lists.units,c)?c:""},fixColors:function(a){return a.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,function(a,b,c){return A.Lists.colorNames.hasOwnProperty(c)?(b||"rgba(")+A.Lists.colorNames[c]+(b?"":",1)"):b+c})},cleanRootPropertyValue:function(a,b){return A.RegEx.valueUnwrap.test(b)&&(b=b.match(A.RegEx.valueUnwrap)[1]),A.Values.isCSSNullValue(b)&&(b=A.Hooks.templates[a][1]),b},extractValue:function(a,b){var c=A.Hooks.registered[a];if(c){var d=c[0],e=c[1];return b=A.Hooks.cleanRootPropertyValue(d,b),b.toString().match(A.RegEx.valueSplit)[e]}return b},injectValue:function(a,b,c){var d=A.Hooks.registered[a];if(d){var e,f=d[0],g=d[1];return c=A.Hooks.cleanRootPropertyValue(f,c),e=c.toString().match(A.RegEx.valueSplit),e[g]=b,e.join(" ")}return c}},Normalizations:{registered:{clip:function(a,b,c){switch(a){case"name":return"clip";case"extract":var d;return A.RegEx.wrappedValueAlreadyExtracted.test(c)?d=c:(d=c.toString().match(A.RegEx.valueUnwrap),d=d?d[1].replace(/,(\s+)?/g," "):c),d;case"inject":return"rect("+c+")"}},blur:function(a,b,c){switch(a){case"name":return y.State.isFirefox?"filter":"-webkit-filter";case"extract":var d=parseFloat(c);if(!d&&0!==d){var e=c.toString().match(/blur\(([0-9]+[A-z]+)\)/i);d=e?e[1]:0}return d;case"inject":return parseFloat(c)?"blur("+c+")":"none"}},opacity:function(a,b,c){if(p<=8)switch(a){case"name":return"filter";case"extract":var d=c.toString().match(/alpha\(opacity=(.*)\)/i);return c=d?d[1]/100:1;case"inject":return b.style.zoom=1,parseFloat(c)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(c),10)+")"}else switch(a){case"name":return"opacity";case"extract":case"inject":return c}}},register:function(){function a(a,b,c){if("border-box"===A.getPropertyValue(b,"boxSizing").toString().toLowerCase()===(c||!1)){var d,e,f=0,g="width"===a?["Left","Right"]:["Top","Bottom"],h=["padding"+g[0],"padding"+g[1],"border"+g[0]+"Width","border"+g[1]+"Width"];for(d=0;d<h.length;d++)e=parseFloat(A.getPropertyValue(b,h[d])),isNaN(e)||(f+=e);return c?-f:f}return 0}function b(b,c){return function(d,e,f){switch(d){case"name":return b;case"extract":return parseFloat(f)+a(b,e,c);case"inject":return parseFloat(f)-a(b,e,c)+"px"}}}p&&!(p>9)||y.State.isGingerbread||(A.Lists.transformsBase=A.Lists.transformsBase.concat(A.Lists.transforms3D));for(var c=0;c<A.Lists.transformsBase.length;c++)!function(){var a=A.Lists.transformsBase[c];A.Normalizations.registered[a]=function(b,c,e){switch(b){case"name":return"transform";case"extract":return g(c)===d||g(c).transformCache[a]===d?/^scale/i.test(a)?1:0:g(c).transformCache[a].replace(/[()]/g,"");case"inject":var f=!1;switch(a.substr(0,a.length-1)){case"translate":f=!/(%|px|em|rem|vw|vh|\d)$/i.test(e);break;case"scal":case"scale":y.State.isAndroid&&g(c).transformCache[a]===d&&e<1&&(e=1),f=!/(\d)$/i.test(e);break;case"skew":case"rotate":f=!/(deg|\d)$/i.test(e)}return f||(g(c).transformCache[a]="("+e+")"),g(c).transformCache[a]}}}();for(var e=0;e<A.Lists.colors.length;e++)!function(){var a=A.Lists.colors[e];A.Normalizations.registered[a]=function(b,c,e){switch(b){case"name":return a;case"extract":var f;if(A.RegEx.wrappedValueAlreadyExtracted.test(e))f=e;else{var g,h={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(e)?g=h[e]!==d?h[e]:h.black:A.RegEx.isHex.test(e)?g="rgb("+A.Values.hexToRgb(e).join(" ")+")":/^rgba?\(/i.test(e)||(g=h.black),f=(g||e).toString().match(A.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return(!p||p>8)&&3===f.split(" ").length&&(f+=" 1"),f;case"inject":return/^rgb/.test(e)?e:(p<=8?4===e.split(" ").length&&(e=e.split(/\s+/).slice(0,3).join(" ")):3===e.split(" ").length&&(e+=" 1"),(p<=8?"rgb":"rgba")+"("+e.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();A.Normalizations.registered.innerWidth=b("width",!0),A.Normalizations.registered.innerHeight=b("height",!0),A.Normalizations.registered.outerWidth=b("width"),A.Normalizations.registered.outerHeight=b("height")}},Names:{camelCase:function(a){return a.replace(/-(\w)/g,function(a,b){return b.toUpperCase()})},SVGAttribute:function(a){var b="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(p||y.State.isAndroid&&!y.State.isChrome)&&(b+="|transform"),new RegExp("^("+b+")$","i").test(a)},prefixCheck:function(a){if(y.State.prefixMatches[a])return[y.State.prefixMatches[a],!0];for(var b=["","Webkit","Moz","ms","O"],c=0,d=b.length;c<d;c++){var e;if(e=0===c?a:b[c]+a.replace(/^\w/,function(a){return a.toUpperCase()}),u.isString(y.State.prefixElement.style[e]))return y.State.prefixMatches[a]=e,[e,!0]}return[a,!1]}},Values:{hexToRgb:function(a){var b,c=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,d=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return a=a.replace(c,function(a,b,c,d){return b+b+c+c+d+d}),b=d.exec(a),b?[parseInt(b[1],16),parseInt(b[2],16),parseInt(b[3],16)]:[0,0,0]},isCSSNullValue:function(a){return!a||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(a)},getUnitType:function(a){return/^(rotate|skew)/i.test(a)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(a)?"":"px"},getDisplayType:function(a){var b=a&&a.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(b)?"inline":/^(li)$/i.test(b)?"list-item":/^(tr)$/i.test(b)?"table-row":/^(table)$/i.test(b)?"table":/^(tbody)$/i.test(b)?"table-row-group":"block"},addClass:function(a,b){if(a)if(a.classList)a.classList.add(b);else if(u.isString(a.className))a.className+=(a.className.length?" ":"")+b;else{var c=a.getAttribute(p<=7?"className":"class")||"";a.setAttribute("class",c+(c?" ":"")+b)}},removeClass:function(a,b){if(a)if(a.classList)a.classList.remove(b);else if(u.isString(a.className))a.className=a.className.toString().replace(new RegExp("(^|\\s)"+b.split(" ").join("|")+"(\\s|$)","gi")," ");else{var c=a.getAttribute(p<=7?"className":"class")||"";a.setAttribute("class",c.replace(new RegExp("(^|s)"+b.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(a,c,e,f){function h(a,c){var e=0;if(p<=8)e=o.css(a,c);else{var i=!1;/^(width|height)$/.test(c)&&0===A.getPropertyValue(a,"display")&&(i=!0,A.setPropertyValue(a,"display",A.Values.getDisplayType(a)));var j=function(){i&&A.setPropertyValue(a,"display","none")};if(!f){if("height"===c&&"border-box"!==A.getPropertyValue(a,"boxSizing").toString().toLowerCase()){var k=a.offsetHeight-(parseFloat(A.getPropertyValue(a,"borderTopWidth"))||0)-(parseFloat(A.getPropertyValue(a,"borderBottomWidth"))||0)-(parseFloat(A.getPropertyValue(a,"paddingTop"))||0)-(parseFloat(A.getPropertyValue(a,"paddingBottom"))||0);return j(),k}if("width"===c&&"border-box"!==A.getPropertyValue(a,"boxSizing").toString().toLowerCase()){var l=a.offsetWidth-(parseFloat(A.getPropertyValue(a,"borderLeftWidth"))||0)-(parseFloat(A.getPropertyValue(a,"borderRightWidth"))||0)-(parseFloat(A.getPropertyValue(a,"paddingLeft"))||0)-(parseFloat(A.getPropertyValue(a,"paddingRight"))||0);return j(),l}}var m;m=g(a)===d?b.getComputedStyle(a,null):g(a).computedStyle?g(a).computedStyle:g(a).computedStyle=b.getComputedStyle(a,null),"borderColor"===c&&(c="borderTopColor"),e=9===p&&"filter"===c?m.getPropertyValue(c):m[c],""!==e&&null!==e||(e=a.style[c]),j()}if("auto"===e&&/^(top|right|bottom|left)$/i.test(c)){var n=h(a,"position");("fixed"===n||"absolute"===n&&/top|left/i.test(c))&&(e=o(a).position()[c]+"px")}return e}var i;if(A.Hooks.registered[c]){var j=c,k=A.Hooks.getRoot(j);e===d&&(e=A.getPropertyValue(a,A.Names.prefixCheck(k)[0])),A.Normalizations.registered[k]&&(e=A.Normalizations.registered[k]("extract",a,e)),i=A.Hooks.extractValue(j,e)}else if(A.Normalizations.registered[c]){var l,m;l=A.Normalizations.registered[c]("name",a),"transform"!==l&&(m=h(a,A.Names.prefixCheck(l)[0]),A.Values.isCSSNullValue(m)&&A.Hooks.templates[c]&&(m=A.Hooks.templates[c][1])),i=A.Normalizations.registered[c]("extract",a,m)}if(!/^[\d-]/.test(i)){var n=g(a);if(n&&n.isSVG&&A.Names.SVGAttribute(c))if(/^(height|width)$/i.test(c))try{i=a.getBBox()[c]}catch(q){i=0}else i=a.getAttribute(c);else i=h(a,A.Names.prefixCheck(c)[0])}return A.Values.isCSSNullValue(i)&&(i=0),y.debug>=2&&console.log("Get "+c+": "+i),i},setPropertyValue:function(a,c,d,e,f){var h=c;if("scroll"===c)f.container?f.container["scroll"+f.direction]=d:"Left"===f.direction?b.scrollTo(d,f.alternateValue):b.scrollTo(f.alternateValue,d);else if(A.Normalizations.registered[c]&&"transform"===A.Normalizations.registered[c]("name",a))A.Normalizations.registered[c]("inject",a,d),h="transform",d=g(a).transformCache[c];else{if(A.Hooks.registered[c]){var i=c,j=A.Hooks.getRoot(c);e=e||A.getPropertyValue(a,j),d=A.Hooks.injectValue(i,d,e),c=j}if(A.Normalizations.registered[c]&&(d=A.Normalizations.registered[c]("inject",a,d),c=A.Normalizations.registered[c]("name",a)),h=A.Names.prefixCheck(c)[0],p<=8)try{a.style[h]=d}catch(l){y.debug&&console.log("Browser does not support ["+d+"] for ["+h+"]")}else{var k=g(a);k&&k.isSVG&&A.Names.SVGAttribute(c)?a.setAttribute(c,d):a.style[h]=d}y.debug>=2&&console.log("Set "+c+" ("+h+"): "+d)}return[h,d]},flushTransformCache:function(a){var b="",c=g(a);if((p||y.State.isAndroid&&!y.State.isChrome)&&c&&c.isSVG){var d=function(b){return parseFloat(A.getPropertyValue(a,b))},e={translate:[d("translateX"),d("translateY")],skewX:[d("skewX")],skewY:[d("skewY")],scale:1!==d("scale")?[d("scale"),d("scale")]:[d("scaleX"),d("scaleY")],rotate:[d("rotateZ"),0,0]};o.each(g(a).transformCache,function(a){/^translate/i.test(a)?a="translate":/^scale/i.test(a)?a="scale":/^rotate/i.test(a)&&(a="rotate"),e[a]&&(b+=a+"("+e[a].join(" ")+") ",delete e[a])})}else{var f,h;o.each(g(a).transformCache,function(c){if(f=g(a).transformCache[c],"transformPerspective"===c)return h=f,!0;9===p&&"rotateZ"===c&&(c="rotate"),b+=c+f+" "}),h&&(b="perspective"+h+" "+b)}A.setPropertyValue(a,"transform",b)}};A.Hooks.register(),A.Normalizations.register(),y.hook=function(a,b,c){var e;return a=f(a),o.each(a,function(a,f){if(g(f)===d&&y.init(f),c===d)e===d&&(e=A.getPropertyValue(f,b));else{var h=A.setPropertyValue(f,b,c);"transform"===h[0]&&y.CSS.flushTransformCache(f),e=h}}),e};var B=function(){function a(){return k?z.promise||null:p}function e(a,e){function f(f){var k,n;if(i.begin&&0===D)try{i.begin.call(r,r)}catch(V){setTimeout(function(){throw V},1)}if("scroll"===G){var p,q,w,x=/^x$/i.test(i.axis)?"Left":"Top",B=parseFloat(i.offset)||0;i.container?u.isWrapped(i.container)||u.isNode(i.container)?(i.container=i.container[0]||i.container,p=i.container["scroll"+x],w=p+o(a).position()[x.toLowerCase()]+B):i.container=null:(p=y.State.scrollAnchor[y.State["scrollProperty"+x]],q=y.State.scrollAnchor[y.State["scrollProperty"+("Left"===x?"Top":"Left")]],w=o(a).offset()[x.toLowerCase()]+B),j={scroll:{rootPropertyValue:!1,startValue:p,currentValue:p,endValue:w,unitType:"",easing:i.easing,scrollData:{container:i.container,direction:x,alternateValue:q}},element:a},y.debug&&console.log("tweensContainer (scroll): ",j.scroll,a)}else if("reverse"===G){if(!(k=g(a)))return;if(!k.tweensContainer)return void o.dequeue(a,i.queue);"none"===k.opts.display&&(k.opts.display="auto"),"hidden"===k.opts.visibility&&(k.opts.visibility="visible"),k.opts.loop=!1,k.opts.begin=null,k.opts.complete=null,v.easing||delete i.easing,v.duration||delete i.duration,i=o.extend({},k.opts,i),n=o.extend(!0,{},k?k.tweensContainer:null);for(var E in n)if(n.hasOwnProperty(E)&&"element"!==E){var F=n[E].startValue;n[E].startValue=n[E].currentValue=n[E].endValue,n[E].endValue=F,u.isEmptyObject(v)||(n[E].easing=i.easing),y.debug&&console.log("reverse tweensContainer ("+E+"): "+JSON.stringify(n[E]),a)}j=n}else if("start"===G){k=g(a),k&&k.tweensContainer&&!0===k.isAnimating&&(n=k.tweensContainer);var H=function(e,f){var g,l=A.Hooks.getRoot(e),m=!1,p=f[0],q=f[1],r=f[2] | ||
;if(!(k&&k.isSVG||"tween"===l||!1!==A.Names.prefixCheck(l)[1]||A.Normalizations.registered[l]!==d))return void(y.debug&&console.log("Skipping ["+l+"] due to a lack of browser support."));(i.display!==d&&null!==i.display&&"none"!==i.display||i.visibility!==d&&"hidden"!==i.visibility)&&/opacity|filter/.test(e)&&!r&&0!==p&&(r=0),i._cacheValues&&n&&n[e]?(r===d&&(r=n[e].endValue+n[e].unitType),m=k.rootPropertyValueCache[l]):A.Hooks.registered[e]?r===d?(m=A.getPropertyValue(a,l),r=A.getPropertyValue(a,e,m)):m=A.Hooks.templates[l][1]:r===d&&(r=A.getPropertyValue(a,e));var s,t,v,w=!1,x=function(a,b){var c,d;return d=(b||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(a){return c=a,""}),c||(c=A.Values.getUnitType(a)),[d,c]};if(r!==p&&u.isString(r)&&u.isString(p)){g="";var z=0,B=0,C=[],D=[],E=0,F=0,G=0;for(r=A.Hooks.fixColors(r),p=A.Hooks.fixColors(p);z<r.length&&B<p.length;){var H=r[z],I=p[B];if(/[\d\.-]/.test(H)&&/[\d\.-]/.test(I)){for(var J=H,K=I,L=".",N=".";++z<r.length;){if((H=r[z])===L)L="..";else if(!/\d/.test(H))break;J+=H}for(;++B<p.length;){if((I=p[B])===N)N="..";else if(!/\d/.test(I))break;K+=I}var O=A.Hooks.getUnit(r,z),P=A.Hooks.getUnit(p,B);if(z+=O.length,B+=P.length,O===P)J===K?g+=J+O:(g+="{"+C.length+(F?"!":"")+"}"+O,C.push(parseFloat(J)),D.push(parseFloat(K)));else{var Q=parseFloat(J),R=parseFloat(K);g+=(E<5?"calc":"")+"("+(Q?"{"+C.length+(F?"!":"")+"}":"0")+O+" + "+(R?"{"+(C.length+(Q?1:0))+(F?"!":"")+"}":"0")+P+")",Q&&(C.push(Q),D.push(0)),R&&(C.push(0),D.push(R))}}else{if(H!==I){E=0;break}g+=H,z++,B++,0===E&&"c"===H||1===E&&"a"===H||2===E&&"l"===H||3===E&&"c"===H||E>=4&&"("===H?E++:(E&&E<5||E>=4&&")"===H&&--E<5)&&(E=0),0===F&&"r"===H||1===F&&"g"===H||2===F&&"b"===H||3===F&&"a"===H||F>=3&&"("===H?(3===F&&"a"===H&&(G=1),F++):G&&","===H?++G>3&&(F=G=0):(G&&F<(G?5:4)||F>=(G?4:3)&&")"===H&&--F<(G?5:4))&&(F=G=0)}}z===r.length&&B===p.length||(y.debug&&console.error('Trying to pattern match mis-matched strings ["'+p+'", "'+r+'"]'),g=d),g&&(C.length?(y.debug&&console.log('Pattern found "'+g+'" -> ',C,D,"["+r+","+p+"]"),r=C,p=D,t=v=""):g=d)}g||(s=x(e,r),r=s[0],v=s[1],s=x(e,p),p=s[0].replace(/^([+-\/*])=/,function(a,b){return w=b,""}),t=s[1],r=parseFloat(r)||0,p=parseFloat(p)||0,"%"===t&&(/^(fontSize|lineHeight)$/.test(e)?(p/=100,t="em"):/^scale/.test(e)?(p/=100,t=""):/(Red|Green|Blue)$/i.test(e)&&(p=p/100*255,t="")));if(/[\/*]/.test(w))t=v;else if(v!==t&&0!==r)if(0===p)t=v;else{h=h||function(){var d={myParent:a.parentNode||c.body,position:A.getPropertyValue(a,"position"),fontSize:A.getPropertyValue(a,"fontSize")},e=d.position===M.lastPosition&&d.myParent===M.lastParent,f=d.fontSize===M.lastFontSize;M.lastParent=d.myParent,M.lastPosition=d.position,M.lastFontSize=d.fontSize;var g={};if(f&&e)g.emToPx=M.lastEmToPx,g.percentToPxWidth=M.lastPercentToPxWidth,g.percentToPxHeight=M.lastPercentToPxHeight;else{var h=k&&k.isSVG?c.createElementNS("http://www.w3.org/2000/svg","rect"):c.createElement("div");y.init(h),d.myParent.appendChild(h),o.each(["overflow","overflowX","overflowY"],function(a,b){y.CSS.setPropertyValue(h,b,"hidden")}),y.CSS.setPropertyValue(h,"position",d.position),y.CSS.setPropertyValue(h,"fontSize",d.fontSize),y.CSS.setPropertyValue(h,"boxSizing","content-box"),o.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(a,b){y.CSS.setPropertyValue(h,b,"100%")}),y.CSS.setPropertyValue(h,"paddingLeft","100em"),g.percentToPxWidth=M.lastPercentToPxWidth=(parseFloat(A.getPropertyValue(h,"width",null,!0))||1)/100,g.percentToPxHeight=M.lastPercentToPxHeight=(parseFloat(A.getPropertyValue(h,"height",null,!0))||1)/100,g.emToPx=M.lastEmToPx=(parseFloat(A.getPropertyValue(h,"paddingLeft"))||1)/100,d.myParent.removeChild(h)}return null===M.remToPx&&(M.remToPx=parseFloat(A.getPropertyValue(c.body,"fontSize"))||16),null===M.vwToPx&&(M.vwToPx=parseFloat(b.innerWidth)/100,M.vhToPx=parseFloat(b.innerHeight)/100),g.remToPx=M.remToPx,g.vwToPx=M.vwToPx,g.vhToPx=M.vhToPx,y.debug>=1&&console.log("Unit ratios: "+JSON.stringify(g),a),g}();var S=/margin|padding|left|right|width|text|word|letter/i.test(e)||/X$/.test(e)||"x"===e?"x":"y";switch(v){case"%":r*="x"===S?h.percentToPxWidth:h.percentToPxHeight;break;case"px":break;default:r*=h[v+"ToPx"]}switch(t){case"%":r*=1/("x"===S?h.percentToPxWidth:h.percentToPxHeight);break;case"px":break;default:r*=1/h[t+"ToPx"]}}switch(w){case"+":p=r+p;break;case"-":p=r-p;break;case"*":p*=r;break;case"/":p=r/p}j[e]={rootPropertyValue:m,startValue:r,currentValue:r,endValue:p,unitType:t,easing:q},g&&(j[e].pattern=g),y.debug&&console.log("tweensContainer ("+e+"): "+JSON.stringify(j[e]),a)};for(var I in s)if(s.hasOwnProperty(I)){var J=A.Names.camelCase(I),K=function(b,c){var d,f,g;return u.isFunction(b)&&(b=b.call(a,e,C)),u.isArray(b)?(d=b[0],!u.isArray(b[1])&&/^[\d-]/.test(b[1])||u.isFunction(b[1])||A.RegEx.isHex.test(b[1])?g=b[1]:u.isString(b[1])&&!A.RegEx.isHex.test(b[1])&&y.Easings[b[1]]||u.isArray(b[1])?(f=c?b[1]:l(b[1],i.duration),g=b[2]):g=b[1]||b[2]):d=b,c||(f=f||i.easing),u.isFunction(d)&&(d=d.call(a,e,C)),u.isFunction(g)&&(g=g.call(a,e,C)),[d||0,f,g]}(s[I]);if(t(A.Lists.colors,J)){var L=K[0],O=K[1],P=K[2];if(A.RegEx.isHex.test(L)){for(var Q=["Red","Green","Blue"],R=A.Values.hexToRgb(L),S=P?A.Values.hexToRgb(P):d,T=0;T<Q.length;T++){var U=[R[T]];O&&U.push(O),S!==d&&U.push(S[T]),H(J+Q[T],U)}continue}}H(J,K)}j.element=a}j.element&&(A.Values.addClass(a,"velocity-animating"),N.push(j),k=g(a),k&&(""===i.queue&&(k.tweensContainer=j,k.opts=i),k.isAnimating=!0),D===C-1?(y.State.calls.push([N,r,i,null,z.resolver,null,0]),!1===y.State.isTicking&&(y.State.isTicking=!0,m())):D++)}var h,i=o.extend({},y.defaults,v),j={};switch(g(a)===d&&y.init(a),parseFloat(i.delay)&&!1!==i.queue&&o.queue(a,i.queue,function(b,c){if(!0===c)return!0;y.velocityQueueEntryFlag=!0;var d=y.State.delayedElements.count++;y.State.delayedElements[d]=a;var e=function(a){return function(){y.State.delayedElements[a]=!1,b()}}(d);g(a).delayBegin=(new Date).getTime(),g(a).delay=parseFloat(i.delay),g(a).delayTimer={setTimeout:setTimeout(b,parseFloat(i.delay)),next:e}}),i.duration.toString().toLowerCase()){case"fast":i.duration=200;break;case"normal":i.duration=w;break;case"slow":i.duration=600;break;default:i.duration=parseFloat(i.duration)||1}if(!1!==y.mock&&(!0===y.mock?i.duration=i.delay=1:(i.duration*=parseFloat(y.mock)||1,i.delay*=parseFloat(y.mock)||1)),i.easing=l(i.easing,i.duration),i.begin&&!u.isFunction(i.begin)&&(i.begin=null),i.progress&&!u.isFunction(i.progress)&&(i.progress=null),i.complete&&!u.isFunction(i.complete)&&(i.complete=null),i.display!==d&&null!==i.display&&(i.display=i.display.toString().toLowerCase(),"auto"===i.display&&(i.display=y.CSS.Values.getDisplayType(a))),i.visibility!==d&&null!==i.visibility&&(i.visibility=i.visibility.toString().toLowerCase()),i.mobileHA=i.mobileHA&&y.State.isMobile&&!y.State.isGingerbread,!1===i.queue)if(i.delay){var k=y.State.delayedElements.count++;y.State.delayedElements[k]=a;var n=function(a){return function(){y.State.delayedElements[a]=!1,f()}}(k);g(a).delayBegin=(new Date).getTime(),g(a).delay=parseFloat(i.delay),g(a).delayTimer={setTimeout:setTimeout(f,parseFloat(i.delay)),next:n}}else f();else o.queue(a,i.queue,function(a,b){if(!0===b)return z.promise&&z.resolver(r),!0;y.velocityQueueEntryFlag=!0,f(a)});""!==i.queue&&"fx"!==i.queue||"inprogress"===o.queue(a)[0]||o.dequeue(a)}var j,k,p,q,r,s,v,x=arguments[0]&&(arguments[0].p||o.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||u.isString(arguments[0].properties));u.isWrapped(this)?(k=!1,q=0,r=this,p=this):(k=!0,q=1,r=x?arguments[0].elements||arguments[0].e:arguments[0]);var z={promise:null,resolver:null,rejecter:null};if(k&&y.Promise&&(z.promise=new y.Promise(function(a,b){z.resolver=a,z.rejecter=b})),x?(s=arguments[0].properties||arguments[0].p,v=arguments[0].options||arguments[0].o):(s=arguments[q],v=arguments[q+1]),!(r=f(r)))return void(z.promise&&(s&&v&&!1===v.promiseRejectEmpty?z.resolver():z.rejecter()));var C=r.length,D=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(s)&&!o.isPlainObject(v)){var E=q+1;v={};for(var F=E;F<arguments.length;F++)u.isArray(arguments[F])||!/^(fast|normal|slow)$/i.test(arguments[F])&&!/^\d/.test(arguments[F])?u.isString(arguments[F])||u.isArray(arguments[F])?v.easing=arguments[F]:u.isFunction(arguments[F])&&(v.complete=arguments[F]):v.duration=arguments[F]}var G;switch(s){case"scroll":G="scroll";break;case"reverse":G="reverse";break;case"pause":var H=(new Date).getTime();return o.each(r,function(a,b){h(b,H)}),o.each(y.State.calls,function(a,b){var c=!1;b&&o.each(b[1],function(a,e){var f=v===d?"":v;return!0!==f&&b[2].queue!==f&&(v!==d||!1!==b[2].queue)||(o.each(r,function(a,d){if(d===e)return b[5]={resume:!1},c=!0,!1}),!c&&void 0)})}),a();case"resume":return o.each(r,function(a,b){i(b,H)}),o.each(y.State.calls,function(a,b){var c=!1;b&&o.each(b[1],function(a,e){var f=v===d?"":v;return!0!==f&&b[2].queue!==f&&(v!==d||!1!==b[2].queue)||(!b[5]||(o.each(r,function(a,d){if(d===e)return b[5].resume=!0,c=!0,!1}),!c&&void 0))})}),a();case"finish":case"finishAll":case"stop":o.each(r,function(a,b){g(b)&&g(b).delayTimer&&(clearTimeout(g(b).delayTimer.setTimeout),g(b).delayTimer.next&&g(b).delayTimer.next(),delete g(b).delayTimer),"finishAll"!==s||!0!==v&&!u.isString(v)||(o.each(o.queue(b,u.isString(v)?v:""),function(a,b){u.isFunction(b)&&b()}),o.queue(b,u.isString(v)?v:"",[]))});var I=[];return o.each(y.State.calls,function(a,b){b&&o.each(b[1],function(c,e){var f=v===d?"":v;if(!0!==f&&b[2].queue!==f&&(v!==d||!1!==b[2].queue))return!0;o.each(r,function(c,d){if(d===e)if((!0===v||u.isString(v))&&(o.each(o.queue(d,u.isString(v)?v:""),function(a,b){u.isFunction(b)&&b(null,!0)}),o.queue(d,u.isString(v)?v:"",[])),"stop"===s){var h=g(d);h&&h.tweensContainer&&!1!==f&&o.each(h.tweensContainer,function(a,b){b.endValue=b.currentValue}),I.push(a)}else"finish"!==s&&"finishAll"!==s||(b[2].duration=1)})})}),"stop"===s&&(o.each(I,function(a,b){n(b,!0)}),z.promise&&z.resolver(r)),a();default:if(!o.isPlainObject(s)||u.isEmptyObject(s)){if(u.isString(s)&&y.Redirects[s]){j=o.extend({},v);var J=j.duration,K=j.delay||0;return!0===j.backwards&&(r=o.extend(!0,[],r).reverse()),o.each(r,function(a,b){parseFloat(j.stagger)?j.delay=K+parseFloat(j.stagger)*a:u.isFunction(j.stagger)&&(j.delay=K+j.stagger.call(b,a,C)),j.drag&&(j.duration=parseFloat(J)||(/^(callout|transition)/.test(s)?1e3:w),j.duration=Math.max(j.duration*(j.backwards?1-a/C:(a+1)/C),.75*j.duration,200)),y.Redirects[s].call(b,b,j||{},a,C,r,z.promise?z:d)}),a()}var L="Velocity: First argument ("+s+") was not a property map, a known action, or a registered redirect. Aborting.";return z.promise?z.rejecter(new Error(L)):b.console&&console.log(L),a()}G="start"}var M={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},N=[];o.each(r,function(a,b){u.isNode(b)&&e(b,a)}),j=o.extend({},y.defaults,v),j.loop=parseInt(j.loop,10);var O=2*j.loop-1;if(j.loop)for(var P=0;P<O;P++){var Q={delay:j.delay,progress:j.progress};P===O-1&&(Q.display=j.display,Q.visibility=j.visibility,Q.complete=j.complete),B(r,"reverse",Q)}return a()};y=o.extend(B,y),y.animate=B;var C=b.requestAnimationFrame||q;if(!y.State.isMobile&&c.hidden!==d){var D=function(){c.hidden?(C=function(a){return setTimeout(function(){a(!0)},16)},m()):C=b.requestAnimationFrame||q};D(),c.addEventListener("visibilitychange",D)}return a.Velocity=y,a!==b&&(a.fn.velocity=B,a.fn.velocity.defaults=y.defaults),o.each(["Down","Up"],function(a,b){y.Redirects["slide"+b]=function(a,c,e,f,g,h){var i=o.extend({},c),j=i.begin,k=i.complete,l={},m={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};i.display===d&&(i.display="Down"===b?"inline"===y.CSS.Values.getDisplayType(a)?"inline-block":"block":"none"),i.begin=function(){0===e&&j&&j.call(g,g);for(var c in m)if(m.hasOwnProperty(c)){l[c]=a.style[c];var d=A.getPropertyValue(a,c);m[c]="Down"===b?[d,0]:[0,d]}l.overflow=a.style.overflow,a.style.overflow="hidden"},i.complete=function(){for(var b in l)l.hasOwnProperty(b)&&(a.style[b]=l[b]);e===f-1&&(k&&k.call(g,g),h&&h.resolver(g))},y(a,m,i)}}),o.each(["In","Out"],function(a,b){y.Redirects["fade"+b]=function(a,c,e,f,g,h){var i=o.extend({},c),j=i.complete,k={opacity:"In"===b?1:0};0!==e&&(i.begin=null),i.complete=e!==f-1?null:function(){j&&j.call(g,g),h&&h.resolver(g)},i.display===d&&(i.display="In"===b?"auto":"none"),y(this,k,i)}}),y}(window.jQuery||window.Zepto||window,window,window?window.document:undefined)}); | ||
/*! velocity-animate v2.0.1 (Sunday 11th February 2018, 11:42:49 AM) */ | ||
!function(e,t){"function"==typeof define&&define.amd?define("Velocity",[],function(){return e.Velocity=t()}):"object"==typeof module&&module.exports?module.exports=t():e.Velocity=t()}(this,function(){var e=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t=["version","RegisterEffect","style","patch","timestamp"],n=400,r=/[\d\.-]/,i={fast:200,normal:400,slow:600};function a(e){return!0===e||!1===e}function o(e){return"number"==typeof e}function s(e){return!isNaN(+e)}function l(e){return"string"==typeof e}function u(e){return"[object Function]"===Object.prototype.toString.call(e)}function c(e){return!(!e||!e.nodeType)}function f(e){return e&&o(e.length)&&u(e.velocity)}function d(e){return e&&e!==window&&o(e.length)&&!l(e)&&!u(e)&&!c(e)&&(0===e.length||c(e[0]))}function g(e){if(!e||"object"!=typeof e||e.nodeType||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return!t||t.hasOwnProperty("constructor")&&t.constructor===Object}function p(e,t,n){e&&Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n})}var v,m,h,y,b,S,w,E,x,C,N,A,_,O,k,T,P,q,M,j,I,R,V,z,L,F,H,D,B,$,G,Q,W,U,J,Z,K,Y,X,ee,te,ne,re,ie,ae,oe=Date.now?Date.now:function(){return(new Date).getTime()};function se(e,t){for(var n=0;n<e.length;)if(e[n++]===t)return!0;return!1}function le(e){for(var t=0,n=arguments;t<n.length;t++){var r=n[t];if(void 0!==r&&r==r)return r}}function ue(e,t){e instanceof Element&&(e.classList?e.classList.remove(t):e.className=(""+e.className).replace(RegExp("(^|\\s)"+t+"(\\s|$)","gi")," "))}function ce(e){var t=e.velocityData;if(t)return t;for(var n=0,r=0,i=ae.constructors;r<i.length;r++)e instanceof i[r]&&(n|=1<<r);var a={types:n,count:0,computedStyle:null,cache:Object.create(null),queueList:Object.create(null),lastAnimationList:Object.create(null),lastFinishList:Object.create(null)};return Object.defineProperty(e,"velocityData",{value:a}),a}function fe(e,t){return o(e)?e:l(e)?i[e.toLowerCase()]||parseFloat(e.replace("ms","").replace("s","000")):null==t?void 0:fe(t)}function de(e){if(a(e))return e}function ge(e){if(u(e))return e}function pe(e,t){if(u(e))return e}function ve(e){var t=fe(e);if(!isNaN(t))return t}function me(e,t){var n=fe(e);if(!isNaN(n)&&n>=0)return n}function he(e,t,n){var r=ae.Easing;if(l(e))return r.Easings[e];if(u(e))return e;if(Array.isArray(e)){if(1===e.length)return r.generateStep(e[0]);if(2===e.length)return r.generateSpringRK4(e[0],e[1],t);if(4===e.length)return r.generateBezier.apply(null,e)||!1}}function ye(e){if(!1===e)return 0;var t=parseInt(e,10);return!isNaN(t)&&t>=0?Math.min(t,60):void 0}function be(e){if(!1===e)return 0;if(!0===e)return!0;var t=parseInt(e,10);return!isNaN(t)&&t>=0?t:void 0}function Se(e,t){if(!1===e||l(e))return e}function we(e){if(!1===e)return 0;if(!0===e)return!0;var t=parseInt(e,10);return!isNaN(t)&&t>=0?t:void 0}function Ee(e){if(o(e))return e}function xe(e){if(a(e))return e}function Ce(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r,i,o,s,v,m,h=ae.defaults,y=arguments,b=y[0],S=g(b)&&(b.p||g(b.properties)&&!b.properties.names||l(b.properties)),w=0;c(this)?n=[this]:d(this)?(n=Object.assign([],this),f(this)&&(o=this.velocity.animations)):S?(n=Object.assign([],b.elements||b.e),w++):c(b)?(n=Object.assign([],[b]),w++):d(b)&&(n=Object.assign([],b),w++),n&&(p(n,"velocity",Ce.bind(n)),o&&p(n.velocity,"animations",o));var E="reverse"===(r=S?le(b.properties,b.p):y[w++]),x=!E&&l(r),C=S?le(b.options,b.o):y[w];g(C)&&(i=C),Promise&&le(i&&i.promise,h.promise)&&(s=new Promise(function(e,t){m=t,v=function(t){if(f(t)){var n=t&&t.then;n&&(t.then=void 0),e(t),n&&(t.then=n)}else e(t)}}),n&&(p(n,"then",s.then.bind(s)),p(n,"catch",s.catch.bind(s)),s.finally&&p(n,"finally",s.finally.bind(s))));var N=le(i&&i.promiseRejectEmpty,h.promiseRejectEmpty);if(s&&(n||x?r||(N?m("Velocity: No properties supplied, if that is deliberate then pass `promiseRejectEmpty:false` as an option. Aborting."):v()):N?m("Velocity: No elements supplied, if that is deliberate then pass `promiseRejectEmpty:false` as an option. Aborting."):v()),!n&&!x||!r)return s;if(x){for(var A=[],_=s&&{_promise:s,_resolver:v,_rejecter:m};w<y.length;)A.push(y[w++]);var O=r.replace(/\..*$/,""),k=ae.Actions[O]||ae.Actions.default;if(k){var T=k(A,n,_,r);if(void 0!==T)return T}}else if(g(r)||E){var P={},q=h.sync;if(s&&(p(P,"_promise",s),p(P,"_rejecter",m),p(P,"_resolver",v)),p(P,"_ready",0),p(P,"_started",0),p(P,"_completed",0),p(P,"_total",0),g(i)){P.duration=le(me(i.duration),h.duration),P.delay=le(ve(i.delay),h.delay),P.easing=he(le(i.easing,h.easing),P.duration)||he(h.easing,P.duration),P.loop=le(be(i.loop),h.loop),P.repeat=P.repeatAgain=le(we(i.repeat),h.repeat),null!=i.speed&&(P.speed=le(Ee(i.speed),1)),a(i.promise)&&(P.promise=i.promise),P.queue=le(Se(i.queue),h.queue),i.mobileHA&&!ae.State.isGingerbread&&(P.mobileHA=!0),E||(null!=i.display&&(r.display=i.display),null!=i.visibility&&(r.visibility=i.visibility));var M=ge(i.begin),j=pe(i.complete),I=function(e){if(u(e))return e}(i.progress),R=xe(i.sync);null!=M&&(P.begin=M),null!=j&&(P.complete=j),null!=I&&(P.progress=I),null!=R&&(q=R)}else if(!S){var V=me(y[w]),z=0;if(void 0!==V&&(z++,P.duration=V),!u(y[w+z])){var L=he(y[w+z],le(P&&me(P.duration),h.duration));void 0!==L&&(z++,P.easing=L)}var F=pe(y[w+z]);void 0!==F&&(P.complete=F),P.loop=h.loop,P.repeat=P.repeatAgain=h.repeat}if(E&&!1===P.queue)throw Error("VelocityJS: Cannot reverse a queue:false animation.");var H={_prev:void 0,_next:void 0,_flags:q?32:0,options:P,percentComplete:0,elements:n,ellapsedTime:0,timeStart:0};o=[];for(var D=0;D<n.length;D++){var B=n[D],$=0;if(c(B)){if(E){var G=ce(B).lastAnimationList[P.queue];if(!(r=G&&G.tweens))continue;$|=64&~(64&G._flags)}var Q=Object.assign({element:B,tweens:Object.create(null)},H);P._total++,Q._flags|=$,o.push(Q),E?Q.tweens=r:ae.expandProperties(Q,r),ae.queue(B,Q,P.queue)}}!1===ae.State.isTicking&&ae.tick(),o&&p(n.velocity,"animations",o)}return n||s}if(function(e){function t(t,n){var r=t[0],i=t[1];l(r)&&u(i)&&(e.Actions[r]&&!Object.prototype.propertyIsEnumerable.call(e.Actions,r)||(!0===n?p(e.Actions,r,i):e.Actions[r]=i))}e.Actions=Object.create(null),e.registerAction=t,t(["registerAction",t],!0)}(ae||(ae={})),function(t){t.registerAction(["default",function(r,i,a,o){if(l(o)&&t.Redirects[o]){var s=g(r[0])?r[0]:{},c=e({},s),f=parseFloat(s.duration),d=parseFloat(s.delay)||0;!0===c.backwards&&(i=i.reverse()),i.forEach(function(e,r){parseFloat(c.stagger)?c.delay=d+parseFloat(c.stagger)*r:u(c.stagger)&&(c.delay=d+c.stagger.call(e,r,i.length)),c.drag&&(c.duration=f||(/^(callout|transition)/.test(o)?1e3:n),c.duration=Math.max(c.duration*(c.backwards?1-r/i.length:(r+1)/i.length),.75*c.duration,200)),t.Redirects[o].call(e,e,c,r,i.length,i,a&&a._resolver)})}else{var p="Velocity: First argument ("+o+") was not a property map, a known action, or a registered redirect. Aborting.";a?a._rejecter(Error(p)):window}}],!0)}(ae||(ae={})),function(e){function t(t,n,r){if(e.validateTweens(t),void 0===n||n===le(t.queue,t.options.queue,r)){if(!(4&t._flags)){var i=t.options;0==i._started++&&(i._first=t,i.begin&&(e.callBegin(t),i.begin=void 0)),t._flags|=4}for(var a in t.tweens){var o=t.tweens[a],s=o[3],l="",u=0;if(s)for(;u<s.length;u++){var c=o[0][u];l+=null==c?s[u]:c}e.CSS.setPropertyValue(t.element,a,l)}e.completeCall(t)}}e.registerAction(["finish",function(n,r,i){var a=Se(n[0],!0),o=e.defaults.queue,s=!0===n[void 0===a?0:1];if(f(r)&&r.velocity.animations)for(var l=0,u=r.velocity.animations;l<u.length;l++)t(u[l],a,o);else{for(var c=e.State.first,d=void 0;c=e.State.firstNew;)e.validateTweens(c);for(c=e.State.first;c&&(s||c!==e.State.firstNew);c=d||e.State.firstNew)d=c._next,r&&!se(r,c.element)||t(c,a,o)}i&&(f(r)&&r.velocity.animations&&r.then?r.then(i._resolver):i._resolver(r))}],!0)}(ae||(ae={})),function(e){var t={isExpanded:1,isReady:2,isStarted:4,isStopped:8,isPaused:16,isSync:32,isReverse:64};e.registerAction(["option",function(n,r,i,a){var o,s,l=n[0],u=a.indexOf(".")>=0?a.replace(/^.*\./,""):void 0,c="false"!==u&&Se(u,!0),d=n[1];if(!l)return null;if(f(r)&&r.velocity.animations)o=r.velocity.animations;else{o=[];for(var g=e.State.first;g;g=g._next)r.indexOf(g.element)>=0&&le(g.queue,g.options.queue)===c&&o.push(g);if(r.length>1&&o.length>1){for(var p=1,v=o[0].options;p<o.length;)if(o[p++].options!==v){v=null;break}v&&(o=[o[0]])}}if(void 0===d){var m=[],h=t[l];for(p=0;p<o.length;p++)m.push(void 0===h?le(o[p][l],o[p].options[l]):0==(o[p]._flags&h));return 1===r.length&&1===o.length?m[0]:m}switch(l){case"cache":d=de(d);break;case"begin":d=ge(d);break;case"complete":d=pe(d);break;case"delay":d=ve(d);break;case"duration":d=me(d);break;case"fpsLimit":d=ye(d);break;case"loop":d=be(d);break;case"percentComplete":s=!0,d=parseFloat(d);break;case"repeat":case"repeatAgain":d=we(d);break;default:if("_"!==l[0]){var y=parseFloat(d);d==y&&(d=y);break}case"queue":case"promise":case"promiseRejectEmpty":case"easing":case"started":return}if(void 0===d||d!=d)return null;for(p=0;p<o.length;p++){var b=o[p];s?b.timeStart=e.lastTick-le(b.duration,b.options.duration,e.defaults.duration)*d:b[l]=d}i&&(f(r)&&r.velocity.animations&&r.then?r.then(i._resolver):i._resolver(r))}],!0)}(ae||(ae={})),function(e){function t(e,t,n,r){void 0!==t&&t!==le(e.queue,e.options.queue,n)||(r?e._flags|=16:e._flags&=-17)}function n(n,r,i,a){var o=0===a.indexOf("pause"),s="false"!==(a.indexOf(".")>=0?a.replace(/^.*\./,""):void 0)&&Se(n[0]),l=e.defaults.queue;if(f(r)&&r.velocity.animations)for(var u=0,c=r.velocity.animations;u<c.length;u++)t(c[u],s,l,o);else for(var d=e.State.first;d;)r&&!se(r,d.element)||t(d,s,l,o),d=d._next;i&&(f(r)&&r.velocity.animations&&r.then?r.then(i._resolver):i._resolver(r))}e.registerAction(["pause",n],!0),e.registerAction(["resume",n],!0)}(ae||(ae={})),(ae||(ae={})).registerAction(["reverse",function(e,t,n,r){throw new SyntaxError("VelocityJS: The 'reverse' action is private.")}],!0),function(e){function t(t,n,r){e.validateTweens(t),void 0!==n&&n!==le(t.queue,t.options.queue,r)||(t._flags|=8,e.completeCall(t))}e.registerAction(["stop",function(n,r,i,a){var o=Se(n[0],!0),s=e.defaults.queue,l=!0===n[void 0===o?0:1];if(f(r)&&r.velocity.animations)for(var u=0,c=r.velocity.animations;u<c.length;u++)t(c[u],o,s);else{for(var d=e.State.first,g=void 0;d=e.State.firstNew;)e.validateTweens(d);for(d=e.State.first;d&&(l||d!==e.State.firstNew);d=g||e.State.firstNew)g=d._next,r&&!se(r,d.element)||t(d,o,s)}i&&(f(r)&&r.velocity.animations&&r.then?r.then(i._resolver):i._resolver(r))}],!0)}(ae||(ae={})),function(e){function t(t,n,r,i){var a,s=t[0],u=t[1];if(!s)return null;if(void 0===u&&!g(s)){if(1===n.length)return e.CSS.getPropertyValue(n[0],s);for(var c=[],d=0;d<n.length;d++)c.push(e.CSS.getPropertyValue(n[d],s));return c}if(g(s))for(var p in s)for(d=0;d<n.length;d++){var v=s[p];l(v)||o(v)?e.CSS.setPropertyValue(n[d],p,s[p]):a=(a?a+", ":"")+"Cannot set a property '"+p+"' to an unknown type: "+typeof v}else if(l(u)||o(u))for(d=0;d<n.length;d++)e.CSS.setPropertyValue(n[d],s,u+"");else a="Cannot set a property '"+s+"' to an unknown type: "+typeof u;r&&(a?r._rejecter(a):f(n)&&n.velocity.animations&&n.then?n.then(r._resolver):r._resolver(n))}e.style=function(e,n,r){return t([n,r],e)},e.registerAction(["style",t],!0)}(ae||(ae={})),function(e){function t(t,n,r,i){var a;if(n){if(1!==n.length)throw Error("VelocityJS: Cannot tween more than one element!")}else{if(!t.length)return null;n=[document.body],a=!0}var s,u=t[0],c={elements:n,element:n[0],queue:!1,options:{duration:1e3},tweens:null},f={},d=t[1],p=t[2],v=0;if(l(t[1])?(s=!0,(h={})[t[1]]=t[2],d=h,p=t[3]):Array.isArray(t[1])&&(s=!0,d={tween:t[1]},p=t[2]),!o(u)||u<0||u>1)throw Error("VelocityJS: Must tween a percentage from 0 to 1!");if(!g(d))throw Error("VelocityJS: Cannot tween an invalid property!");if(a)for(var m in d)if(d.hasOwnProperty(m)&&(!Array.isArray(d[m])||d[m].length<2))throw Error("VelocityJS: When not supplying an element you must force-feed values: "+m);var h,y=he(le(p,e.defaults.easing),1e3);for(var m in e.expandProperties(c,d),c.tweens){var b=c.tweens[m],S=b[1]||y,w=b[3],E=b[4],x="";if(v++,w)for(var C=0;C<w.length;C++){var N=b[2][C];if(null==N)x+=w[C];else{var A=S(u,N,b[0][C],m);x+=E&&E[C]?Math.round(A):A}}f[m]=x}if(s&&1===v)for(var m in f)if(f.hasOwnProperty(m))return f[m];return f}e.tween=function(e,n,r,i,a){return t(arguments,e)},e.registerAction(["tween",t],!0)}(ae||(ae={})),v=ae||(ae={}),(m=v.State||(v.State={})).isClient=window&&window===window.window,m.isMobile=m.isClient&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),m.isAndroid=m.isClient&&/Android/i.test(navigator.userAgent),m.isGingerbread=m.isClient&&/Android 2\.3\.[3-7]/i.test(navigator.userAgent),m.isChrome=m.isClient&&window.chrome,m.isFirefox=m.isClient&&/Firefox/i.test(navigator.userAgent),m.prefixElement=m.isClient&&document.createElement("div"),m.windowScrollAnchor=m.isClient&&void 0!==window.pageYOffset,m.scrollAnchor=m.windowScrollAnchor?window:!m.isClient||document.documentElement||document.body.parentNode||document.body,m.scrollPropertyLeft=m.windowScrollAnchor?"pageXOffset":"scrollLeft",m.scrollPropertyTop=m.windowScrollAnchor?"pageYOffset":"scrollTop",m.className="velocity-animating",m.isTicking=!1,b=ae||(ae={}),h=b.CSS||(b.CSS={}),y=Object.create(null),h.camelCase=function(e){var t=y[e];return t||(y[e]=e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()}))},function(e){function t(e,t,n,r){return"rgba("+parseInt(t,16)+","+parseInt(n,16)+","+parseInt(r,16)+",1)"}e.ColorNames=Object.create(null);var n=/#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})/gi,r=/#([a-f\d])([a-f\d])([a-f\d])/gi,i=/(rgba?\(\s*)?(\b[a-z]+\b)/g,a=/rgba?\([^\)]+\)/gi,o=/\s+/g;e.fixColors=function(s){return s.replace(n,t).replace(r,function(e,n,r,i){return t(0,n+n,r+r,i+i)}).replace(i,function(t,n,r){return e.ColorNames[r]?(n||"rgba(")+e.ColorNames[r]+(n?"":",1)"):t}).replace(a,function(e){return e.replace(o,"")})}}((S=ae||(ae={})).CSS||(S.CSS={})),function(e){var t={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgrey:11119017,darkgreen:25600,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,grey:8421504,green:32768,greenyellow:11403055,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgrey:13882323,lightgreen:9498256,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];e.ColorNames[n]=Math.floor(r/65536)+","+Math.floor(r/256%256)+","+r%256}}((w=ae||(ae={})).CSS||(w.CSS={})),function(e){function t(t,r){var i=ce(t),a=i&&i.computedStyle?i.computedStyle:window.getComputedStyle(t,null),o=0;if(i&&!i.computedStyle&&(i.computedStyle=a),"width"===r||"height"===r){var s="none"===n(t,"display");return s&&e.setPropertyValue(t,"display","auto"),o=E.augmentDimension(t,r,!0),s&&e.setPropertyValue(t,"display","none"),o+""}if((o=a[r])||(o=t.style[r]),"auto"===o)switch(r){case"top":case"left":var l=!0;case"right":case"bottom":var u=n(t,"position");if("fixed"===u||l&&"absolute"===u){o=t.getBoundingClientRect[r]+"px";break}default:o="0px"}return o?o+"":""}function n(e,n,r,i){var a,o=ce(e);if(E.NoCacheNormalizations.has(n)&&(i=!0),!i&&o&&null!=o.cache[n])return a=o.cache[n];for(var s=o.types,l=void 0,u=0;s;s>>=1,u++)1&s&&(l=E.Normalizations[u][n]||l);return a=l?l(e):t(e,n),o&&(o.cache[n]=a),a}e.computePropertyValue=t,e.getPropertyValue=n}((E=ae||(ae={})).CSS||(E.CSS={})),N=ae||(ae={}),x=N.CSS||(N.CSS={}),C=["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],x.getUnit=function(e,t){if(e[t=t||0]&&" "!==e[t])for(var n=0,r=C;n<r.length;n++){var i=r[n],a=0;do{if(a>=i.length)return i;if(i[a]!==e[t+a])break}while(++a)}return""},((A=ae||(ae={})).CSS||(A.CSS={})).RegEx={isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},((_=ae||(ae={})).CSS||(_.CSS={})).setPropertyValue=function(e,t,n){var r=ce(e);if(l(n)&&"c"===n[0]&&"a"===n[1]&&"l"===n[2]&&"c"===n[3]&&"("===n[4]&&"0"===n[5]&&(n=n.replace(/^calc\(0[^\d]* \+ ([^\(\)]+)\)$/,"$1")),r&&r.cache[t]!==n){r.cache[t]=n||void 0;for(var i=r.types,a=void 0,o=0;i;i>>=1,o++)1&i&&(a=_.Normalizations[o][t]||a);a&&a(e,n)||(e.style[t]=n)}},function(e){function t(t){var n=t[0],r=t[1];l(n)&&u(r)&&(e.Easings[n]||(e.Easings[n]=r))}e.Easings=Object.create(null),e.registerEasing=t,t(["linear",function(e,t,n){return t+e*(n-t)}]),t(["swing",function(e,t,n){return t+(.5-Math.cos(e*Math.PI)/2)*(n-t)}]),t(["spring",function(e,t,n){return t+(1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e))*(n-t)}])}((O=ae||(ae={})).Easing||(O.Easing={})),function(e){function t(e){return Math.min(Math.max(e,0),1)}function n(e,t){return 1-3*t+3*e}function r(e,t){return 3*t-6*e}function i(e){return 3*e}function a(e,t,a){return((n(t,a)*e+r(t,a))*e+i(t))*e}function o(e,t,a){return 3*n(t,a)*e*e+2*r(t,a)*e+i(t)}function s(e,n,r,i){var s=4,l=.001,u=1e-7,c=10,f=11,d=1/(f-1),g="Float32Array"in window;if(4===arguments.length){for(var p=0;p<4;++p)if("number"!=typeof arguments[p]||isNaN(arguments[p])||!isFinite(arguments[p]))return;e=t(e),r=t(r);var v=g?new Float32Array(f):Array(f),m=!1,h=function(t,o,s,l){return m||S(),0===t?o:1===t?s:e===n&&r===i?o+t*(s-o):o+a(b(t),n,i)*(s-o)};h.getControlPoints=function(){return[{x:e,y:n},{x:r,y:i}]};var y="generateBezier("+[e,n,r,i]+")";return h.toString=function(){return y},h}function b(t){for(var n=0,i=1,g=f-1;i!==g&&v[i]<=t;++i)n+=d;var p=n+(t-v[--i])/(v[i+1]-v[i])*d,m=o(p,e,r);return m>=l?function(t,n){for(var i=0;i<s;++i){var l=o(n,e,r);if(0===l)return n;n-=(a(n,e,r)-t)/l}return n}(t,p):0===m?p:function(t,n,i){var o,s,l=0;do{(o=a(s=n+(i-n)/2,e,r)-t)>0?i=s:n=s}while(Math.abs(o)>u&&++l<c);return s}(t,n,n+d)}function S(){m=!0,e===n&&r===i||function(){for(var t=0;t<f;++t)v[t]=a(t*d,e,r)}()}}e.generateBezier=s;var l=s(.42,0,1,1),u=s(0,0,.58,1),c=s(.42,0,.58,1);e.registerEasing(["ease",s(.25,.1,.25,1)]),e.registerEasing(["easeIn",l]),e.registerEasing(["ease-in",l]),e.registerEasing(["easeOut",u]),e.registerEasing(["ease-out",u]),e.registerEasing(["easeInOut",c]),e.registerEasing(["ease-in-out",c]),e.registerEasing(["easeInSine",s(.47,0,.745,.715)]),e.registerEasing(["easeOutSine",s(.39,.575,.565,1)]),e.registerEasing(["easeInOutSine",s(.445,.05,.55,.95)]),e.registerEasing(["easeInQuad",s(.55,.085,.68,.53)]),e.registerEasing(["easeOutQuad",s(.25,.46,.45,.94)]),e.registerEasing(["easeInOutQuad",s(.455,.03,.515,.955)]),e.registerEasing(["easeInCubic",s(.55,.055,.675,.19)]),e.registerEasing(["easeOutCubic",s(.215,.61,.355,1)]),e.registerEasing(["easeInOutCubic",s(.645,.045,.355,1)]),e.registerEasing(["easeInQuart",s(.895,.03,.685,.22)]),e.registerEasing(["easeOutQuart",s(.165,.84,.44,1)]),e.registerEasing(["easeInOutQuart",s(.77,0,.175,1)]),e.registerEasing(["easeInQuint",s(.755,.05,.855,.06)]),e.registerEasing(["easeOutQuint",s(.23,1,.32,1)]),e.registerEasing(["easeInOutQuint",s(.86,0,.07,1)]),e.registerEasing(["easeInExpo",s(.95,.05,.795,.035)]),e.registerEasing(["easeOutExpo",s(.19,1,.22,1)]),e.registerEasing(["easeInOutExpo",s(1,0,0,1)]),e.registerEasing(["easeInCirc",s(.6,.04,.98,.335)]),e.registerEasing(["easeOutCirc",s(.075,.82,.165,1)]),e.registerEasing(["easeInOutCirc",s(.785,.135,.15,.86)])}((k=ae||(ae={})).Easing||(k.Easing={})),function(e){function t(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function n(e){return 1-t(1-e)}e.registerEasing(["easeInBounce",function(e,t,r){return 0===e?t:1===e?r:n(e)*(r-t)}]),e.registerEasing(["easeOutBounce",function(e,n,r){return 0===e?n:1===e?r:t(e)*(r-n)}]),e.registerEasing(["easeInOutBounce",function(e,r,i){return 0===e?r:1===e?i:(e<.5?.5*n(2*e):.5*t(2*e-1)+.5)*(i-r)}])}((T=ae||(ae={})).Easing||(T.Easing={})),function(e){var t=2*Math.PI;function n(n,r,i){e.registerEasing([n,function(e,n,a){return 0===e?n:1===e?a:-r*Math.pow(2,10*(e-=1))*Math.sin((e-i/t*Math.asin(1/r))*t/i)*(a-n)}])}function r(n,r,i){e.registerEasing([n,function(e,n,a){return 0===e?n:1===e?a:(r*Math.pow(2,-10*e)*Math.sin((e-i/t*Math.asin(1/r))*t/i)+1)*(a-n)}])}function i(n,r,i){e.registerEasing([n,function(e,n,a){if(0===e)return n;if(1===e)return a;var o=i/t*Math.asin(1/r);return(e=2*e-1)<0?r*Math.pow(2,10*e)*Math.sin((e-o)*t/i)*-.5:r*Math.pow(2,-10*e)*Math.sin((e-o)*t/i)*.5+1}])}e.registerElasticIn=n,e.registerElasticOut=r,e.registerElasticInOut=i,n("easeInElastic",1,.3),r("easeOutElastic",1,.3),i("easeInOutElastic",1,.3*1.5)}((P=ae||(ae={})).Easing||(P.Easing={})),q=ae||(ae={}),function(e){function t(e){return-e.tension*e.x-e.friction*e.v}function n(e,n,r){var i={x:e.x+r.dx*n,v:e.v+r.dv*n,tension:e.tension,friction:e.friction};return{dx:i.v,dv:t(i)}}(q.Easing||(q.Easing={})).generateSpringRK4=function e(r,i,a){var o,s,l,u,c,f,d,g,p,v={x:-1,v:0,tension:parseFloat(r)||500,friction:parseFloat(i)||20},m=[0],h=0,y=null!=a;for(o=y?(h=e(v.tension,v.friction))/a*.016:.016;u=o,c={dx:(l=s||v).v,dv:t(l)},f=n(l,.5*u,c),d=n(l,.5*u,f),g=n(l,u,d),p=1/6*(c.dv+2*(f.dv+d.dv)+g.dv),l.x=l.x+1/6*(c.dx+2*(f.dx+d.dx)+g.dx)*u,l.v=l.v+p*u,m.push(1+(s=l).x),h+=16,Math.abs(s.x)>1e-4&&Math.abs(s.v)>1e-4;);return y?function(e,t,n){return 0===e?t:1===e?n:t+m[e*(m.length-1)|0]*(n-t)}:h}}(),I=ae||(ae={}),M=I.Easing||(I.Easing={}),j={},M.generateStep=function(e){var t=j[e];return t||(j[e]=function(t,n,r){return 0===t?n:1===t?r:n+Math.round(t*e)*(1/e)*(r-n)})},R=ae||(ae={}),(V=R.Easing||(R.Easing={})).registerEasing(["at-start",function(e,t,n){return 0===e?t:n}]),V.registerEasing(["during",function(e,t,n){return 0===e||1===e?t:n}]),V.registerEasing(["at-end",function(e,t,n){return 1===e?n:t}]),function(e){function t(t){var n=t[0],r=t[1],i=t[2];if(!l(n)&&n instanceof Object)if(l(r))if(u(i)){var a=e.constructors.indexOf(n);a<0&&(a=e.constructors.push(n)-1,e.Normalizations[a]=Object.create(null)),e.Normalizations[a][r]=i,!1===t[3]&&e.NoCacheNormalizations.add(r)}else;else;else;}e.Normalizations=[],e.NoCacheNormalizations=new Set,e.constructors=[],e.registerNormalization=t,e.registerAction(["registerNormalization",t])}(ae||(ae={})),function(e){function t(e){return function(t,n){return void 0===n?t.getAttribute(e):(t.setAttribute(e,n),!0)}}var n=document.createElement("div"),r=/^SVG(.*)Element$/,i=/Element$/;Object.getOwnPropertyNames(window).forEach(function(e){var a=r.exec(e);if(a){var o=document.createElementNS("http://www.w3.org/2000/svg",(a[1]||"svg").toLowerCase()),s=o.constructor;for(var c in o){var f=o[c];!l(c)||"o"===c[0]&&"n"===c[1]||c===c.toUpperCase()||i.test(c)||c in n||u(f)||z.registerNormalization([s,c,t(c)])}}})}((z=ae||(ae={})).CSS||(z.CSS={})),function(e){function t(e){return function(t,n){if(void 0===n)try{return t.getBBox()[e]+"px"}catch(e){return"0px"}return t.setAttribute(e,n),!0}}L.registerNormalization([SVGElement,"width",t("width")]),L.registerNormalization([SVGElement,"height",t("height")])}((L=ae||(ae={})).CSS||(L.CSS={})),function(e){function t(t,n,r){if("border-box"===(""+e.CSS.getPropertyValue(t,"boxSizing")).toLowerCase()===r){var i="width"===n?["Left","Right"]:["Top","Bottom"],a=["padding"+i[0],"padding"+i[1],"border"+i[0]+"Width","border"+i[1]+"Width"],o=void 0,s=void 0,l=0;for(o=0;o<a.length;o++)s=parseFloat(e.CSS.getPropertyValue(t,a[o])),isNaN(s)||(l+=s);return r?-l:l}return 0}function n(n,r){return function(i,a){return void 0===a?t(i,n,r)+"px":(e.CSS.setPropertyValue(i,n,parseFloat(a)-t(i,n,r)+"px"),!0)}}e.augmentDimension=t,e.registerNormalization([Element,"innerWidth",n("width",!0)]),e.registerNormalization([Element,"innerHeight",n("height",!0)]),e.registerNormalization([Element,"outerWidth",n("width",!1)]),e.registerNormalization([Element,"outerHeight",n("height",!1)])}(ae||(ae={})),function(e){e.inlineRx=/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|let|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i,e.listItemRx=/^(li)$/i,e.tableRowRx=/^(tr)$/i,e.tableRx=/^(table)$/i,e.tableRowGroupRx=/^(tbody)$/i,e.registerNormalization([Element,"display",function(t,n){var r=t.style;if(void 0===n)return e.CSS.computePropertyValue(t,"display");if("auto"===n){var i=t&&t.nodeName,a=ce(t);n=e.inlineRx.test(i)?"inline":e.listItemRx.test(i)?"list-item":e.tableRowRx.test(i)?"table-row":e.tableRx.test(i)?"table":e.tableRowGroupRx.test(i)?"table-row-group":"block",a.cache.display=n}return r.display=n,!0}])}(ae||(ae={})),function(e){e.registerNormalization([Element,"textShadow",function(t,n){if(void 0===n){var r=(n=e.CSS.getPropertyValue(t,"textShadow")).split(/\s/g),i=r[0],a="";if(e.CSS.ColorNames[i])r.shift(),r.push(i),a=r.join(" ");else if(i.match(/^#|^hsl|^rgb|-gradient/)){var o=n.match(/(hsl.*\)|#[\da-fA-F]+|rgb.*\)|.*gradient.*\))\s/g)[0];a=n.replace(o,"")+" "+o.trim()}else a=n;return a}return!1}])}(ae||(ae={})),function(e){e.registerNormalization([HTMLElement,"scrollTop",function(t,n){if(null==n)return e.CSS.getPropertyValue(t,"clientHeight",!1,!0),e.CSS.getPropertyValue(t,"scrollHeight",!1,!0),e.CSS.getPropertyValue(t,"scrollTop",!1,!0),t.scrollTop+"px";var r=parseFloat(n);switch(n.replace(r+"","")){case"":case"px":t.scrollTop=r;break;case"%":var i=parseFloat(e.CSS.getPropertyValue(t,"clientHeight")),a=parseFloat(e.CSS.getPropertyValue(t,"scrollHeight"));t.scrollTop=Math.max(0,a-i)*r/100}return!1},!1]),e.registerNormalization([HTMLElement,"scrollWidth",function(e,t){return null==t&&e.scrollWidth+"px"}]),e.registerNormalization([HTMLElement,"clientWidth",function(e,t){return null==t&&e.clientWidth+"px"}]),e.registerNormalization([HTMLElement,"scrollHeight",function(e,t){return null==t&&e.scrollHeight+"px"}]),e.registerNormalization([HTMLElement,"clientHeight",function(e,t){return null==t&&e.clientHeight+"px"}])}(ae||(ae={})),function(e){function t(t,n){return function(r,i){return void 0===i?r.style[n]:(e.CSS.setPropertyValue(r,t,i),!0)}}var n=[/^webkit[A-Z]/,/^moz[A-Z]/,/^ms[A-Z]/,/^o[A-Z]/],r=e.State.prefixElement;for(var i in r.style)for(var a=0;a<n.length;a++)if(n[a].test(i)){var o=i.replace(/^[a-z]+([A-Z])/,function(e,t){return t.toLowerCase()});e.registerNormalization([Element,o,t(i,o)])}}(ae||(ae={})),function(e){e.completeCall=function(t){var n=t.options,r=le(t.queue,n.queue),i=le(t.loop,n.loop,e.defaults.loop),a=le(t.repeat,n.repeat,e.defaults.repeat),o=8&t._flags;if(o||!i&&!a){var s=t.element,l=ce(s);if(--l.count||o||ue(s,e.State.className),n&&++n._completed===n._total){!o&&n.complete&&(function(e){try{var t=e.elements;e.options.complete.call(t,t,e)}catch(e){setTimeout(function(){throw e},1)}}(t),n.complete=null);var u=n._resolver;u&&(u(t.elements),delete n._resolver)}!1!==r&&(o||(l.lastFinishList[r]=t.timeStart+le(t.duration,n.duration,e.defaults.duration)),e.dequeue(s,r)),e.freeAnimationCall(t)}else a&&!0!==a?t.repeat=a-1:i&&!0!==i&&(t.loop=i-1,t.repeat=le(t.repeatAgain,n.repeatAgain,e.defaults.repeatAgain)),i&&(t._flags^=64),!1!==r&&(ce(t.element).lastFinishList[r]=t.timeStart+le(t.duration,n.duration,e.defaults.duration)),t.timeStart=t.ellapsedTime=t.percentComplete=0,t._flags&=-5}}(ae||(ae={})),(ae||(ae={})).debug=!1,(F=ae||(ae={})).defaults={mobileHA:!0},Object.defineProperties(F.defaults,{reset:{enumerable:!0,value:function(){H=!0,D=void 0,B=void 0,$=0,G=n,Q=he("swing",n),W=60,U=0,J=980/60,Z=!0,K=!0,Y="",X=0,ee=1,te=!0}},cache:{enumerable:!0,get:function(){return H},set:function(e){void 0!==(e=de(e))&&(H=e)}},begin:{enumerable:!0,get:function(){return D},set:function(e){void 0!==(e=ge(e))&&(D=e)}},complete:{enumerable:!0,get:function(){return B},set:function(e){void 0!==(e=pe(e))&&(B=e)}},delay:{enumerable:!0,get:function(){return $},set:function(e){void 0!==(e=ve(e))&&($=e)}},duration:{enumerable:!0,get:function(){return G},set:function(e){void 0!==(e=me(e))&&(G=e)}},easing:{enumerable:!0,get:function(){return Q},set:function(e){void 0!==(e=he(e,G))&&(Q=e)}},fpsLimit:{enumerable:!0,get:function(){return W},set:function(e){void 0!==(e=ye(e))&&(W=e,J=980/e)}},loop:{enumerable:!0,get:function(){return U},set:function(e){void 0!==(e=be(e))&&(U=e)}},minFrameTime:{enumerable:!0,get:function(){return J}},promise:{enumerable:!0,get:function(){return Z},set:function(e){void 0!==(e=function(e){if(a(e))return e}(e))&&(Z=e)}},promiseRejectEmpty:{enumerable:!0,get:function(){return K},set:function(e){void 0!==(e=function(e){if(a(e))return e}(e))&&(K=e)}},queue:{enumerable:!0,get:function(){return Y},set:function(e){void 0!==(e=Se(e))&&(Y=e)}},repeat:{enumerable:!0,get:function(){return X},set:function(e){void 0!==(e=we(e))&&(X=e)}},speed:{enumerable:!0,get:function(){return ee},set:function(e){void 0!==(e=Ee(e))&&(ee=e)}},sync:{enumerable:!0,get:function(){return te},set:function(e){void 0!==(e=xe(e))&&(te=e)}}}),F.defaults.reset(),(ae||(ae={})).mock=!1,function(e){(ae||(ae={})).patch=function(e,t){try{p(e,(t?"V":"v")+"elocity",Ce)}catch(e){}}}(),function(e){function t(t){var n=e.State.last;t._prev=n,t._next=void 0,n?n._next=t:e.State.first=t,e.State.last=t,e.State.firstNew||(e.State.firstNew=t);var r,i,a=t.element;ce(a).count++||(i=e.State.className,(r=a)instanceof Element&&(r.classList?r.classList.add(i):(ue(r,i),r.className+=(r.className.length?" ":"")+i)))}e.queue=function(e,n,r){var i=ce(e);if(!1!==r&&(i.lastAnimationList[r]=n),!1===r)t(n);else{l(r)||(r="");var a=i.queueList[r];if(a){for(;a._next;)a=a._next;a._next=n,n._prev=a}else null===a?i.queueList[r]=n:(i.queueList[r]=null,t(n))}},e.dequeue=function(e,n,r){if(!1!==n){l(n)||(n="");var i=ce(e),a=i.queueList[n];return a?(i.queueList[n]=a._next||null,r||t(a)):null===a&&delete i.queueList[n],a}},e.freeAnimationCall=function(t){var n=t._next,r=t._prev,i=null==t.queue?t.options.queue:t.queue;e.State.firstNew===t&&(e.State.firstNew=n),e.State.first===t?e.State.first=n:r&&(r._next=n),e.State.last===t?e.State.last=r:n&&(n._prev=r),i&&ce(t.element)&&(t._next=t._prev=void 0)}}(ae||(ae={})),(ne=ae||(ae={})).Redirects={},["Down","Up"].forEach(function(t){ne.Redirects["slide"+t]=function(n,r,i,a,o,s){var l=e({},r),u=l.begin,c=l.complete,f={},d={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};if(void 0===l.display){var g=ne.inlineRx.test(n.nodeName.toLowerCase());l.display="Down"===t?g?"inline-block":"block":"none"}l.begin=function(){for(var e in 0===i&&u&&u.call(o,o),d)if(d.hasOwnProperty(e)){f[e]=n.style[e];var r=ne.CSS.getPropertyValue(n,e);d[e]="Down"===t?[r,0]:[0,r]}f.overflow=n.style.overflow,n.style.overflow="hidden"},l.complete=function(){for(var e in f)f.hasOwnProperty(e)&&(n.style[e]=f[e]);i===a-1&&(c&&c.call(o,o),s&&s(o))},Ce(n,d,l)}}),["In","Out"].forEach(function(t){ne.Redirects["fade"+t]=function(n,r,i,a,o,s){var l=e({},r),u=l.complete,c={opacity:"In"===t?1:0};0!==i&&(l.begin=null),l.complete=i!==a-1?null:function(){u&&u.call(o,o),s&&s.resolver(o)},void 0===l.display&&(l.display="In"===t?"auto":"none"),Ce(this,c,l)}}),function(e){e.RegisterEffect=function(t,n){return e.Redirects[t]=function(r,i,a,o,s,l,u){var c=a===o-1,f=0;u=u||n.loop,n.defaultDuration="function"==typeof n.defaultDuration?n.defaultDuration.call(s,s):parseFloat(n.defaultDuration);for(var d=0;d<n.calls.length;d++){var g=n.calls[d][1];"number"==typeof g&&(f+=g)}var p=f>=1?0:n.calls.length?(1-f)/n.calls.length:1,v=function(f){var d=n.calls[f],g=d[0],v=1e3,m=d[1],h=d[2]||{},y={};if(void 0!==i.duration?v=i.duration:void 0!==n.defaultDuration&&(v=n.defaultDuration),y.duration=v*("number"==typeof m?m:p),y.queue=i.queue||"",y.easing=h.easing||"ease",y.delay=parseFloat(h.delay)||0,y.loop=!n.loop&&h.loop,y.cache=h.cache||!0,0===f&&(y.delay+=parseFloat(i.delay)||0,0===a&&(y.begin=function(){i.begin&&i.begin.call(s,s);var n,r,a,o,l,u,c=t.match(/(In|Out)$/);c&&"In"===c[0]&&void 0!==g.opacity&&(s.nodeType?[s]:s).forEach(function(t){e.CSS.setPropertyValue(t,"opacity",0)}),i.animateParentHeight&&c&&(r=c[0],a=v+y.delay,o=i.stagger,u=0,((n=s).nodeType?[n]:n).forEach(function(t,n){o&&(a+=n*o),l=t.parentNode;var r=["height","paddingTop","paddingBottom","marginTop","marginBottom"];"border-box"===(""+e.CSS.getPropertyValue(t,"boxSizing")).toLowerCase()&&(r=["height"]),r.forEach(function(n){u+=parseFloat(e.CSS.getPropertyValue(t,n))})}),Ce(l,{height:("In"===r?"+":"-")+"="+u},{queue:!1,easing:"ease-in-out",duration:a*("In"===r?.6:1)}))}),i.visibility&&"hidden"!==i.visibility&&(y.visibility=i.visibility)),f===n.calls.length-1){var b=function(){void 0!==i.display&&"none"!==i.display||!/Out$/.test(t)||(s.nodeType?[s]:s).forEach(function(t){e.CSS.setPropertyValue(t,"display","none")}),i.complete&&i.complete.call(s,s),l&&l(s||r)};y.complete=function(){if(u&&e.Redirects[t](r,i,a,o,s,l,!0===u||Math.max(0,u-1)),n.reset){for(var f in n.reset)n.reset.hasOwnProperty(f);var d={duration:0,queue:!1};c&&(d.complete=b),Ce(r,n.reset,d)}else c&&b()},"hidden"===i.visibility&&(y.visibility=i.visibility)}Ce(r,g,y)};for(d=0;d<n.calls.length;d++)v(d)},Ce}}(ae||(ae={})),function(t){(ae||(ae={})).RunSequence=function(t){var n=function e(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var i,a=Object(t),o=Object.prototype.hasOwnProperty;i=n.shift();)if(null!=i)for(var s in i)if(o.call(i,s)){var l=i[s];Array.isArray(l)?e(a[s]=[],l):g(l)?e(a[s]={},l):a[s]=l}return a}([],t);n.length>1&&(n.reverse().forEach(function(t,r){var i=n[r+1];if(i){var a=t.o||t.options,o=i.o||i.options,s=a&&!1===a.sequenceQueue?"begin":"complete",l=o&&o[s],u={};u[s]=function(){var e=i.e||i.elements,n=e.nodeType?[e]:e;l&&l.call(n,n),Ce(t)},i.o?i.o=e({},o,u):i.options=e({},o,u)}}),n.reverse()),Ce(n[0])}}(),function(e){function t(e){try{var t=e.elements;e.options.begin.call(t,t,e)}catch(e){setTimeout(function(){throw e},1)}}function n(t,n){try{var r=t.elements,i=t.percentComplete,a=t.options,o=t.tween;t.options.progress.call(r,r,i,Math.max(0,t.timeStart+(null!=t.duration?t.duration:null!=a.duration?a.duration:e.defaults.duration)-n),void 0!==o?o:100*i+"",t)}catch(e){setTimeout(function(){throw e},1)}}var r,i;function a(){var t,a;for(t=r;t;t=a)a=t._nextProgress,n(t,e.lastTick);for(t=i;t;t=a)a=t._nextComplete,e.completeCall(t)}e.callBegin=t;var o,s=1e3/60,l=function(){var e=window.performance||{};if("function"!=typeof e.now){var t=e.timing&&e.timing.navigationStart?e.timing.navigationStart:oe();e.now=function(){return oe()-t}}return e}(),u=function(t){return setTimeout(function(){t(l.now())},Math.max(0,s-(l.now()-e.lastTick)))},c=window.requestAnimationFrame||u,f=document.hidden?u:c;function d(n){if(!o){if(o=!0,n){var u=n&&!0!==n?n:l.now(),c=e.lastTick?u-e.lastTick:s,g=e.defaults.speed,p=e.defaults.easing,v=e.defaults.duration,m=void 0,h=void 0,y=void 0,b=void 0;if(r=null,i=null,c>=e.defaults.minFrameTime||!e.lastTick){for(e.lastTick=u;m=e.State.firstNew;)e.validateTweens(m);for(m=e.State.first;m&&m!==e.State.firstNew;m=m._next){var S=m.element,w=void 0;if(S.parentNode&&(w=ce(S))){var E=m.options,x=m._flags;if(!(A=m.timeStart)){var C=null!=m.queue?m.queue:E.queue;A=u-c,!1!==C&&(A=Math.max(A,w.lastFinishList[C]||0)),m.timeStart=A}16&x?m.timeStart+=c:2&x||(m._flags|=2,E._ready++)}else e.freeAnimationCall(m)}for(m=e.State.first;m&&m!==e.State.firstNew;m=h){if(h=m._next,2&(x=m._flags)&&!(16&x)){E=m.options;if(32&x&&E._ready<E._total)m.timeStart+=c;else{var N=null!=m.speed?m.speed:null!=E.speed?E.speed:g,A=m.timeStart;if(!(4&x)){var _=null!=m.delay?m.delay:E.delay;if(_){if(A+_/N>u)continue;m.timeStart=A+=_/(_>0?N:1)}m._flags|=4,0==E._started++&&(E._first=m,E.begin&&(t(m),E.begin=void 0))}if(1!==N)m.timeStart=A+=Math.min(c,u-A)*(1-N);E._first===m&&E.progress&&(m._nextProgress=void 0,y?y._nextProgress=y=m:r=y=m);var O=null!=m.easing?m.easing:null!=E.easing?E.easing:p,k=m.ellapsedTime=u-A,T=m.percentComplete=e.mock?1:Math.min(k/(null!=m.duration?m.duration:null!=E.duration?E.duration:v),1),P=m.tweens,q=64&x;for(var M in 1===T&&(m._nextComplete=void 0,b?b._nextComplete=b=m:i=b=m),P){var j=P[M],I=j[1]||O,R=j[3],V=j[4],z="",L=0;if(R){for(;L<R.length;L++){var F=j[2][L];if(null==F)z+=R[L];else{var H=I(q?1-T:T,F,j[0][L],M);z+=V&&V[L]?Math.round(H):H}}"tween"!==M?e.CSS.setPropertyValue(m.element,M,z):m.tween=z}else delete P[M]}}}}(r||i)&&setTimeout(a,1)}}e.State.first?(e.State.isTicking=!0,f(d)):(e.State.isTicking=!1,e.lastTick=0),o=!1}}e.lastTick=0,e.State.isMobile||void 0===document.hidden||document.addEventListener("visibilitychange",function(e){var t=document.hidden;f=t?u:c,e&&setTimeout(d,2e3),d()}),e.tick=d}(ae||(ae={})),(ae||(ae={})).timestamp=!0,(ie=re||(re={}))[ie.END=0]="END",ie[ie.EASING=1]="EASING",ie[ie.START=2]="START",ie[ie.PATTERN=3]="PATTERN",ie[ie.ROUNDING=4]="ROUNDING",ie[ie.length=5]="length",function(e){var t=new Map;t.set("function",function(e,t,n,r){return e.call(t,r,n.length)}),t.set("number",function(e,t,r,a,o){return e+(t instanceof HTMLElement?function(e){if(se(n,e))return"deg";if(se(i,e))return"";return"px"}(o):"")}),t.set("string",function(t,n,r,i,a){return e.CSS.fixColors(t)}),t.set("undefined",function(t,n,r,i,a){return e.CSS.fixColors(e.CSS.getPropertyValue(n,a)||"")});var n=[],i=["borderImageSlice","columnCount","counterIncrement","counterReset","flex","flexGrow","flexShrink","floodOpacity","fontSizeAdjust","fontWeight","lineHeight","opacity","order","orphans","shapeImageThreshold","tabSize","widows","zIndex"];function a(t,n,i,a){var o=n[0],u=n[2];if(l(o)&&l(u)){var c=!1;do{c=!1;for(var f=n[2]=[null],d=n[0]=[null],g=n[3]=[""],p=n[1],v=void 0,m=0,h=0,y=0,b=0,S=0,w=void 0,E=function(){var t=u[m],i=o[h];if(r.test(t)&&r.test(i)){for(var p=t,E=i,x=".",C=".";++m<u.length;){if((t=u[m])===x)x="..";else if(!s(t))break;p+=t}for(;++h<o.length;){if((i=o[h])===C)C="..";else if(!s(i))break;E+=i}var N=e.CSS.getUnit(u,m),A=e.CSS.getUnit(o,h);m+=N.length,h+=A.length,0===A.length?A=N:0===N.length&&(N=A),N===A?p===E?g[g.length-1]+=p+N:(b&&(v||(v=n[4]=[]),v[f.length]=!0),g.push(0,N),f.push(parseFloat(p),null),d.push(parseFloat(E),null)):(g[g.length-1]+=y?"+ (":"calc(",g.push(0,N+" + ",0,A+")"),f.push(parseFloat(p)||0,null,0,null),d.push(0,null,parseFloat(E)||0,null))}else if(t===i)g[g.length-1]+=t,m++,h++,0===y&&"c"===t||1===y&&"a"===t||2===y&&"l"===t||3===y&&"c"===t||y>=4&&"("===t?y++:(y&&y<5||y>=4&&")"===t&&--y<5)&&(y=0),0===b&&"r"===t||1===b&&"g"===t||2===b&&"b"===t||3===b&&"a"===t||b>=3&&"("===t?(3===b&&"a"===t&&(S=1),b++):S&&","===t?++S>3&&(b=S=0):(S&&b<(S?5:4)||b>=(S?4:3)&&")"===t&&--b<(S?5:4))&&(b=S=0);else if(t||i){for(w=!0,l(f[f.length-1])||(1!==g.length||g[0]?(g.push(""),f.push(""),d.push("")):f[0]=d[0]="");m<u.length&&" "!==(t=u[m++])&&!r.test(t);)f[f.length-1]+=t;for(;h<o.length&&" "!==(i=o[h++])&&!r.test(i);)d[d.length-1]+=i}if(!a&&m===u.length!=(h===o.length)){var _=u.match(/\d\.?\d*/g)||["0"],O=_.length,k=0;return u=o.replace(/\d+\.?\d*/g,function(){return _[k++%O]}),c=a=!0,"break"}};m<u.length&&h<o.length;){if("break"===E())break}c||(""===g[0]&&null==d[0]&&(g.shift(),f.shift(),d.shift()),""===g[g.length]&&null==d[d.length]&&(g.pop(),f.pop(),d.pop()),"display"===t?/^(at-start|at-end|during)$/.test(p)||(p="none"===o?"at-end":"at-start"):"visibility"===t?/^(at-start|at-end|during)$/.test(p)||(p="hidden"===o?"at-end":"at-start"):w&&"at-start"!==p&&"during"!==p&&"at-end"!==p&&p!==e.Easing.Easings["at-Start"]&&p!==e.Easing.Easings.during&&p!==e.Easing.Easings["at-end"]&&(p="at-start"),n[1]=he(p,i))}while(c)}}e.expandProperties=function(n,r){var i=n.tweens=Object.create(null),s=n.elements,c=n.element,f=s.indexOf(c),d=ce(c),g=le(n.queue,n.options.queue),p=le(n.options.duration,e.defaults.duration);for(var v in r){for(var m=e.CSS.camelCase(v),h=r[v],y=d.types,b="tween"===m,S=0;y&&!b;y>>=1,S++)b=!!(1&y&&e.Normalizations[S][m]);if((b||e.State.prefixElement&&l(e.State.prefixElement.style[m]))&&null!=h){var w=i[m]=Array(5),E=void 0,x=void 0;if(u(h)&&(h=h.call(c,f,s.length,s)),Array.isArray(h)){var C=h[1],N=h[2];E=h[0],l(C)&&(/^[\d-]/.test(C)||e.CSS.RegEx.isHex.test(C))||u(C)||o(C)?x=C:l(C)&&e.Easing.Easings[C]||Array.isArray(C)?(w[1]=C,x=N):x=C||N}else E=h;w[0]=t.get(typeof E)(E,c,s,f,m),null==x&&!1!==g&&void 0!==d.queueList[g]||(w[2]=t.get(typeof x)(x,c,s,f,m)),a(m,w,p,!!x)}}},e.validateTweens=function(t){if(e.State.firstNew===t&&(e.State.firstNew=t._next),!(1&t._flags)){var n=t.tweens,r=le(t.options.duration,e.defaults.duration);for(var i in n){var o=n[i];if(null==o[2]){var s=e.CSS.getPropertyValue(t.element,i);l(s)&&(o[2]=e.CSS.fixColors(s),a(i,o,r))}}t._flags|=1}}}(ae||(ae={})),(ae||(ae={})).version="2.0.1",function(){if(document.documentMode)return document.documentMode;for(var e=7;e>4;e--){var t=document.createElement("div");if(t.innerHTML="\x3c!--[if IE "+e+"]><span></span><![endif]--\x3e",t.getElementsByTagName("span").length)return t=null,e}}()<=8)throw Error("VelocityJS cannot run on Internet Explorer 8 or earlier");if(window===this){var Ne=ae.patch,Ae=window.jQuery,_e=window.Zepto;Ne(window,!0),Ne(Element&&Element.prototype),Ne(NodeList&&NodeList.prototype),Ne(HTMLCollection&&HTMLCollection.prototype),Ne(Ae,!0),Ne(Ae&&Ae.fn),Ne(_e,!0),Ne(_e&&_e.fn)}var Oe=function(e){Object.defineProperty(Ce,e,{enumerable:t.indexOf(e)>=0,get:function(){return ae[e]}})};for(var ke in ae)Oe(ke);return Ce}); |
1251
velocity.ui.js
@@ -19,5 +19,6 @@ /********************** | ||
} | ||
}(function() { | ||
}(function(requiredVelocity) { | ||
"use strict"; | ||
return function(global, window, document, undefined) { | ||
return function(window, undefined) { | ||
var Velocity = requiredVelocity || (this || window).Velocity; | ||
@@ -27,5 +28,4 @@ /************* | ||
*************/ | ||
var Velocity = global.Velocity; | ||
if (!Velocity || !Velocity.Utilities) { | ||
if (!Velocity) { | ||
if (window.console) { | ||
@@ -36,229 +36,3 @@ console.log("Velocity UI Pack: Velocity must be loaded first. Aborting."); | ||
} | ||
var $ = Velocity.Utilities; | ||
var velocityVersion = Velocity.version, | ||
requiredVersion = {major: 1, minor: 1, patch: 0}; | ||
function greaterSemver(primary, secondary) { | ||
var versionInts = []; | ||
if (!primary || !secondary) { | ||
return false; | ||
} | ||
$.each([primary, secondary], function(i, versionObject) { | ||
var versionIntsComponents = []; | ||
$.each(versionObject, function(component, value) { | ||
while (value.toString().length < 5) { | ||
value = "0" + value; | ||
} | ||
versionIntsComponents.push(value); | ||
}); | ||
versionInts.push(versionIntsComponents.join("")); | ||
}); | ||
return (parseFloat(versionInts[0]) > parseFloat(versionInts[1])); | ||
} | ||
if (greaterSemver(requiredVersion, velocityVersion)) { | ||
var abortError = "Velocity UI Pack: You need to update Velocity (velocity.js) to a newer version. Visit http://github.com/julianshapiro/velocity."; | ||
alert(abortError); | ||
throw new Error(abortError); | ||
} | ||
/************************ | ||
Effect Registration | ||
************************/ | ||
/* Note: RegisterUI is a legacy name. */ | ||
Velocity.RegisterEffect = Velocity.RegisterUI = function(effectName, properties) { | ||
/* Animate the expansion/contraction of the elements' parent's height for In/Out effects. */ | ||
function animateParentHeight(elements, direction, totalDuration, stagger) { | ||
var totalHeightDelta = 0, | ||
parentNode; | ||
/* Sum the total height (including padding and margin) of all targeted elements. */ | ||
$.each(elements.nodeType ? [elements] : elements, function(i, element) { | ||
if (stagger) { | ||
/* Increase the totalDuration by the successive delay amounts produced by the stagger option. */ | ||
totalDuration += i * stagger; | ||
} | ||
parentNode = element.parentNode; | ||
var propertiesToSum = ["height", "paddingTop", "paddingBottom", "marginTop", "marginBottom"]; | ||
/* If box-sizing is border-box, the height already includes padding and margin */ | ||
if (Velocity.CSS.getPropertyValue(element, "boxSizing").toString().toLowerCase() === "border-box") { | ||
propertiesToSum = ["height"]; | ||
} | ||
$.each(propertiesToSum, function(i, property) { | ||
totalHeightDelta += parseFloat(Velocity.CSS.getPropertyValue(element, property)); | ||
}); | ||
}); | ||
/* Animate the parent element's height adjustment (with a varying duration multiplier for aesthetic benefits). */ | ||
Velocity.animate( | ||
parentNode, | ||
{height: (direction === "In" ? "+" : "-") + "=" + totalHeightDelta}, | ||
{queue: false, easing: "ease-in-out", duration: totalDuration * (direction === "In" ? 0.6 : 1)} | ||
); | ||
} | ||
/* Register a custom redirect for each effect. */ | ||
Velocity.Redirects[effectName] = function(element, redirectOptions, elementsIndex, elementsSize, elements, promiseData, loop) { | ||
var finalElement = (elementsIndex === elementsSize - 1), | ||
totalDuration = 0; | ||
loop = loop || properties.loop; | ||
if (typeof properties.defaultDuration === "function") { | ||
properties.defaultDuration = properties.defaultDuration.call(elements, elements); | ||
} else { | ||
properties.defaultDuration = parseFloat(properties.defaultDuration); | ||
} | ||
/* Get the total duration used, so we can share it out with everything that doesn't have a duration */ | ||
for (var callIndex = 0; callIndex < properties.calls.length; callIndex++) { | ||
durationPercentage = properties.calls[callIndex][1]; | ||
if (typeof durationPercentage === "number") { | ||
totalDuration += durationPercentage; | ||
} | ||
} | ||
var shareDuration = totalDuration >= 1 ? 0 : properties.calls.length ? (1 - totalDuration) / properties.calls.length : 1; | ||
/* Iterate through each effect's call array. */ | ||
for (callIndex = 0; callIndex < properties.calls.length; callIndex++) { | ||
var call = properties.calls[callIndex], | ||
propertyMap = call[0], | ||
redirectDuration = 1000, | ||
durationPercentage = call[1], | ||
callOptions = call[2] || {}, | ||
opts = {}; | ||
if (redirectOptions.duration !== undefined) { | ||
redirectDuration = redirectOptions.duration; | ||
} else if (properties.defaultDuration !== undefined) { | ||
redirectDuration = properties.defaultDuration; | ||
} | ||
/* Assign the whitelisted per-call options. */ | ||
opts.duration = redirectDuration * (typeof durationPercentage === "number" ? durationPercentage : shareDuration); | ||
opts.queue = redirectOptions.queue || ""; | ||
opts.easing = callOptions.easing || "ease"; | ||
opts.delay = parseFloat(callOptions.delay) || 0; | ||
opts.loop = !properties.loop && callOptions.loop; | ||
opts._cacheValues = callOptions._cacheValues || true; | ||
/* Special processing for the first effect call. */ | ||
if (callIndex === 0) { | ||
/* If a delay was passed into the redirect, combine it with the first call's delay. */ | ||
opts.delay += (parseFloat(redirectOptions.delay) || 0); | ||
if (elementsIndex === 0) { | ||
opts.begin = function() { | ||
/* Only trigger a begin callback on the first effect call with the first element in the set. */ | ||
if (redirectOptions.begin) { | ||
redirectOptions.begin.call(elements, elements); | ||
} | ||
var direction = effectName.match(/(In|Out)$/); | ||
/* Make "in" transitioning elements invisible immediately so that there's no FOUC between now | ||
and the first RAF tick. */ | ||
if ((direction && direction[0] === "In") && propertyMap.opacity !== undefined) { | ||
$.each(elements.nodeType ? [elements] : elements, function(i, element) { | ||
Velocity.CSS.setPropertyValue(element, "opacity", 0); | ||
}); | ||
} | ||
/* Only trigger animateParentHeight() if we're using an In/Out transition. */ | ||
if (redirectOptions.animateParentHeight && direction) { | ||
animateParentHeight(elements, direction[0], redirectDuration + opts.delay, redirectOptions.stagger); | ||
} | ||
}; | ||
} | ||
/* If the user isn't overriding the display option, default to "auto" for "In"-suffixed transitions. */ | ||
if (redirectOptions.display !== null) { | ||
if (redirectOptions.display !== undefined && redirectOptions.display !== "none") { | ||
opts.display = redirectOptions.display; | ||
} else if (/In$/.test(effectName)) { | ||
/* Inline elements cannot be subjected to transforms, so we switch them to inline-block. */ | ||
var defaultDisplay = Velocity.CSS.Values.getDisplayType(element); | ||
opts.display = (defaultDisplay === "inline") ? "inline-block" : defaultDisplay; | ||
} | ||
} | ||
if (redirectOptions.visibility && redirectOptions.visibility !== "hidden") { | ||
opts.visibility = redirectOptions.visibility; | ||
} | ||
} | ||
/* Special processing for the last effect call. */ | ||
if (callIndex === properties.calls.length - 1) { | ||
/* Append promise resolving onto the user's redirect callback. */ | ||
var injectFinalCallbacks = function() { | ||
if ((redirectOptions.display === undefined || redirectOptions.display === "none") && /Out$/.test(effectName)) { | ||
$.each(elements.nodeType ? [elements] : elements, function(i, element) { | ||
Velocity.CSS.setPropertyValue(element, "display", "none"); | ||
}); | ||
} | ||
if (redirectOptions.complete) { | ||
redirectOptions.complete.call(elements, elements); | ||
} | ||
if (promiseData) { | ||
promiseData.resolver(elements || element); | ||
} | ||
}; | ||
opts.complete = function() { | ||
if (loop) { | ||
Velocity.Redirects[effectName](element, redirectOptions, elementsIndex, elementsSize, elements, promiseData, loop === true ? true : Math.max(0, loop - 1)); | ||
} | ||
if (properties.reset) { | ||
for (var resetProperty in properties.reset) { | ||
if (!properties.reset.hasOwnProperty(resetProperty)) { | ||
continue; | ||
} | ||
var resetValue = properties.reset[resetProperty]; | ||
/* Format each non-array value in the reset property map to [ value, value ] so that changes apply | ||
immediately and DOM querying is avoided (via forcefeeding). */ | ||
/* Note: Don't forcefeed hooks, otherwise their hook roots will be defaulted to their null values. */ | ||
if (Velocity.CSS.Hooks.registered[resetProperty] === undefined && (typeof resetValue === "string" || typeof resetValue === "number")) { | ||
properties.reset[resetProperty] = [properties.reset[resetProperty], properties.reset[resetProperty]]; | ||
} | ||
} | ||
/* So that the reset values are applied instantly upon the next rAF tick, use a zero duration and parallel queueing. */ | ||
var resetOptions = {duration: 0, queue: false}; | ||
/* Since the reset option uses up the complete callback, we trigger the user's complete callback at the end of ours. */ | ||
if (finalElement) { | ||
resetOptions.complete = injectFinalCallbacks; | ||
} | ||
Velocity.animate(element, properties.reset, resetOptions); | ||
/* Only trigger the user's complete callback on the last effect call with the last element in the set. */ | ||
} else if (finalElement) { | ||
injectFinalCallbacks(); | ||
} | ||
}; | ||
if (redirectOptions.visibility === "hidden") { | ||
opts.visibility = redirectOptions.visibility; | ||
} | ||
} | ||
Velocity.animate(element, propertyMap, opts); | ||
} | ||
}; | ||
/* Return the Velocity object so that RegisterUI calls can be chained. */ | ||
return Velocity; | ||
}; | ||
/********************* | ||
@@ -270,539 +44,492 @@ Packaged Effects | ||
/* Support: <=IE8: Callouts will have no effect, and transitions will simply fade in/out. IE9/Android 2.3: Most effects are fully supported, the rest fade in/out. All other browsers: full support. */ | ||
Velocity.RegisterEffect.packagedEffects = | ||
{ | ||
/* Animate.css */ | ||
"callout.bounce": { | ||
defaultDuration: 550, | ||
calls: [ | ||
[{translateY: -30}, 0.25], | ||
[{translateY: 0}, 0.125], | ||
[{translateY: -15}, 0.125], | ||
[{translateY: 0}, 0.25] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"callout.shake": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{translateX: -11}], | ||
[{translateX: 11}], | ||
[{translateX: -11}], | ||
[{translateX: 11}], | ||
[{translateX: -11}], | ||
[{translateX: 11}], | ||
[{translateX: -11}], | ||
[{translateX: 0}] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"callout.flash": { | ||
defaultDuration: 1100, | ||
calls: [ | ||
[{opacity: [0, "easeInOutQuad", 1]}], | ||
[{opacity: [1, "easeInOutQuad"]}], | ||
[{opacity: [0, "easeInOutQuad"]}], | ||
[{opacity: [1, "easeInOutQuad"]}] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"callout.pulse": { | ||
defaultDuration: 825, | ||
calls: [ | ||
[{scaleX: 1.1, scaleY: 1.1}, 0.50, {easing: "easeInExpo"}], | ||
[{scaleX: 1, scaleY: 1}, 0.50] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"callout.swing": { | ||
defaultDuration: 950, | ||
calls: [ | ||
[{rotateZ: 15}], | ||
[{rotateZ: -10}], | ||
[{rotateZ: 5}], | ||
[{rotateZ: -5}], | ||
[{rotateZ: 0}] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"callout.tada": { | ||
defaultDuration: 1000, | ||
calls: [ | ||
[{scaleX: 0.9, scaleY: 0.9, rotateZ: -3}, 0.10], | ||
[{scaleX: 1.1, scaleY: 1.1, rotateZ: 3}, 0.10], | ||
[{scaleX: 1.1, scaleY: 1.1, rotateZ: -3}, 0.10], | ||
["reverse", 0.125], | ||
["reverse", 0.125], | ||
["reverse", 0.125], | ||
["reverse", 0.125], | ||
["reverse", 0.125], | ||
[{scaleX: 1, scaleY: 1, rotateZ: 0}, 0.20] | ||
] | ||
}, | ||
"transition.fadeIn": { | ||
defaultDuration: 500, | ||
calls: [ | ||
[{opacity: [1, 0]}] | ||
] | ||
}, | ||
"transition.fadeOut": { | ||
defaultDuration: 500, | ||
calls: [ | ||
[{opacity: [0, 1]}] | ||
] | ||
}, | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipXIn": { | ||
defaultDuration: 700, | ||
calls: [ | ||
[{opacity: [1, 0], transformPerspective: [800, 800], rotateY: [0, -55]}] | ||
], | ||
reset: {transformPerspective: 0} | ||
}, | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipXOut": { | ||
defaultDuration: 700, | ||
calls: [ | ||
[{opacity: [0, 1], transformPerspective: [800, 800], rotateY: 55}] | ||
], | ||
reset: {transformPerspective: 0, rotateY: 0} | ||
}, | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipYIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], transformPerspective: [800, 800], rotateX: [0, -45]}] | ||
], | ||
reset: {transformPerspective: 0} | ||
}, | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipYOut": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [0, 1], transformPerspective: [800, 800], rotateX: 25}] | ||
], | ||
reset: {transformPerspective: 0, rotateX: 0} | ||
}, | ||
/* Animate.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipBounceXIn": { | ||
defaultDuration: 900, | ||
calls: [ | ||
[{opacity: [0.725, 0], transformPerspective: [400, 400], rotateY: [-10, 90]}, 0.50], | ||
[{opacity: 0.80, rotateY: 10}, 0.25], | ||
[{opacity: 1, rotateY: 0}, 0.25] | ||
], | ||
reset: {transformPerspective: 0} | ||
}, | ||
/* Animate.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipBounceXOut": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [0.9, 1], transformPerspective: [400, 400], rotateY: -10}], | ||
[{opacity: 0, rotateY: 90}] | ||
], | ||
reset: {transformPerspective: 0, rotateY: 0} | ||
}, | ||
/* Animate.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipBounceYIn": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [0.725, 0], transformPerspective: [400, 400], rotateX: [-10, 90]}, 0.50], | ||
[{opacity: 0.80, rotateX: 10}, 0.25], | ||
[{opacity: 1, rotateX: 0}, 0.25] | ||
], | ||
reset: {transformPerspective: 0} | ||
}, | ||
/* Animate.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipBounceYOut": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [0.9, 1], transformPerspective: [400, 400], rotateX: -15}], | ||
[{opacity: 0, rotateX: 90}] | ||
], | ||
reset: {transformPerspective: 0, rotateX: 0} | ||
}, | ||
/* Magic.css */ | ||
"transition.swoopIn": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [1, 0], transformOriginX: ["100%", "50%"], transformOriginY: ["100%", "100%"], scaleX: [1, 0], scaleY: [1, 0], translateX: [0, -700], translateZ: 0}] | ||
], | ||
reset: {transformOriginX: "50%", transformOriginY: "50%"} | ||
}, | ||
/* Magic.css */ | ||
"transition.swoopOut": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [0, 1], transformOriginX: ["50%", "100%"], transformOriginY: ["100%", "100%"], scaleX: 0, scaleY: 0, translateX: -700, translateZ: 0}] | ||
], | ||
reset: {transformOriginX: "50%", transformOriginY: "50%", scaleX: 1, scaleY: 1, translateX: 0} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3. (Fades and scales only.) */ | ||
"transition.whirlIn": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [1, 0], transformOriginX: ["50%", "50%"], transformOriginY: ["50%", "50%"], scaleX: [1, 0], scaleY: [1, 0], rotateY: [0, 160]}, 1, {easing: "easeInOutSine"}] | ||
] | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3. (Fades and scales only.) */ | ||
"transition.whirlOut": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{opacity: [0, "easeInOutQuint", 1], transformOriginX: ["50%", "50%"], transformOriginY: ["50%", "50%"], scaleX: 0, scaleY: 0, rotateY: 160}, 1, {easing: "swing"}] | ||
], | ||
reset: {scaleX: 1, scaleY: 1, rotateY: 0} | ||
}, | ||
"transition.shrinkIn": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{opacity: [1, 0], transformOriginX: ["50%", "50%"], transformOriginY: ["50%", "50%"], scaleX: [1, 1.5], scaleY: [1, 1.5], translateZ: 0}] | ||
] | ||
}, | ||
"transition.shrinkOut": { | ||
defaultDuration: 600, | ||
calls: [ | ||
[{opacity: [0, 1], transformOriginX: ["50%", "50%"], transformOriginY: ["50%", "50%"], scaleX: 1.3, scaleY: 1.3, translateZ: 0}] | ||
], | ||
reset: {scaleX: 1, scaleY: 1} | ||
}, | ||
"transition.expandIn": { | ||
defaultDuration: 700, | ||
calls: [ | ||
[{opacity: [1, 0], transformOriginX: ["50%", "50%"], transformOriginY: ["50%", "50%"], scaleX: [1, 0.625], scaleY: [1, 0.625], translateZ: 0}] | ||
] | ||
}, | ||
"transition.expandOut": { | ||
defaultDuration: 700, | ||
calls: [ | ||
[{opacity: [0, 1], transformOriginX: ["50%", "50%"], transformOriginY: ["50%", "50%"], scaleX: 0.5, scaleY: 0.5, translateZ: 0}] | ||
], | ||
reset: {scaleX: 1, scaleY: 1} | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], scaleX: [1.05, 0.3], scaleY: [1.05, 0.3]}, 0.35], | ||
[{scaleX: 0.9, scaleY: 0.9, translateZ: 0}, 0.20], | ||
[{scaleX: 1, scaleY: 1}, 0.45] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceOut": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{scaleX: 0.95, scaleY: 0.95}, 0.35], | ||
[{scaleX: 1.1, scaleY: 1.1, translateZ: 0}, 0.35], | ||
[{opacity: [0, 1], scaleX: 0.3, scaleY: 0.3}, 0.30] | ||
], | ||
reset: {scaleX: 1, scaleY: 1} | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceUpIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], translateY: [-30, 1000]}, 0.60, {easing: "easeOutCirc"}], | ||
[{translateY: 10}, 0.20], | ||
[{translateY: 0}, 0.20] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceUpOut": { | ||
defaultDuration: 1000, | ||
calls: [ | ||
[{translateY: 20}, 0.20], | ||
[{opacity: [0, "easeInCirc", 1], translateY: -1000}, 0.80] | ||
], | ||
reset: {translateY: 0} | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceDownIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], translateY: [30, -1000]}, 0.60, {easing: "easeOutCirc"}], | ||
[{translateY: -10}, 0.20], | ||
[{translateY: 0}, 0.20] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceDownOut": { | ||
defaultDuration: 1000, | ||
calls: [ | ||
[{translateY: -20}, 0.20], | ||
[{opacity: [0, "easeInCirc", 1], translateY: 1000}, 0.80] | ||
], | ||
reset: {translateY: 0} | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceLeftIn": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{opacity: [1, 0], translateX: [30, -1250]}, 0.60, {easing: "easeOutCirc"}], | ||
[{translateX: -10}, 0.20], | ||
[{translateX: 0}, 0.20] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceLeftOut": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{translateX: 30}, 0.20], | ||
[{opacity: [0, "easeInCirc", 1], translateX: -1250}, 0.80] | ||
], | ||
reset: {translateX: 0} | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceRightIn": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{opacity: [1, 0], translateX: [-30, 1250]}, 0.60, {easing: "easeOutCirc"}], | ||
[{translateX: 10}, 0.20], | ||
[{translateX: 0}, 0.20] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceRightOut": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{translateX: -30}, 0.20], | ||
[{opacity: [0, "easeInCirc", 1], translateX: 1250}, 0.80] | ||
], | ||
reset: {translateX: 0} | ||
}, | ||
"transition.slideUpIn": { | ||
defaultDuration: 900, | ||
calls: [ | ||
[{opacity: [1, 0], translateY: [0, 20], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideUpOut": { | ||
defaultDuration: 900, | ||
calls: [ | ||
[{opacity: [0, 1], translateY: -20, translateZ: 0}] | ||
], | ||
reset: {translateY: 0} | ||
}, | ||
"transition.slideDownIn": { | ||
defaultDuration: 900, | ||
calls: [ | ||
[{opacity: [1, 0], translateY: [0, -20], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideDownOut": { | ||
defaultDuration: 900, | ||
calls: [ | ||
[{opacity: [0, 1], translateY: 20, translateZ: 0}] | ||
], | ||
reset: {translateY: 0} | ||
}, | ||
"transition.slideLeftIn": { | ||
defaultDuration: 1000, | ||
calls: [ | ||
[{opacity: [1, 0], translateX: [0, -20], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideLeftOut": { | ||
defaultDuration: 1050, | ||
calls: [ | ||
[{opacity: [0, 1], translateX: -20, translateZ: 0}] | ||
], | ||
reset: {translateX: 0} | ||
}, | ||
"transition.slideRightIn": { | ||
defaultDuration: 1000, | ||
calls: [ | ||
[{opacity: [1, 0], translateX: [0, 20], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideRightOut": { | ||
defaultDuration: 1050, | ||
calls: [ | ||
[{opacity: [0, 1], translateX: 20, translateZ: 0}] | ||
], | ||
reset: {translateX: 0} | ||
}, | ||
"transition.slideUpBigIn": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [1, 0], translateY: [0, 75], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideUpBigOut": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [0, 1], translateY: -75, translateZ: 0}] | ||
], | ||
reset: {translateY: 0} | ||
}, | ||
"transition.slideDownBigIn": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [1, 0], translateY: [0, -75], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideDownBigOut": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [0, 1], translateY: 75, translateZ: 0}] | ||
], | ||
reset: {translateY: 0} | ||
}, | ||
"transition.slideLeftBigIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], translateX: [0, -75], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideLeftBigOut": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{opacity: [0, 1], translateX: -75, translateZ: 0}] | ||
], | ||
reset: {translateX: 0} | ||
}, | ||
"transition.slideRightBigIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], translateX: [0, 75], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideRightBigOut": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{opacity: [0, 1], translateX: 75, translateZ: 0}] | ||
], | ||
reset: {translateX: 0} | ||
}, | ||
/* Magic.css */ | ||
"transition.perspectiveUpIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], transformPerspective: [800, 800], transformOriginX: [0, 0], transformOriginY: ["100%", "100%"], rotateX: [0, -180]}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%"} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveUpOut": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [0, 1], transformPerspective: [800, 800], transformOriginX: [0, 0], transformOriginY: ["100%", "100%"], rotateX: -180}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%", rotateX: 0} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveDownIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], transformPerspective: [800, 800], transformOriginX: [0, 0], transformOriginY: [0, 0], rotateX: [0, 180]}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%"} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveDownOut": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [0, 1], transformPerspective: [800, 800], transformOriginX: [0, 0], transformOriginY: [0, 0], rotateX: 180}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%", rotateX: 0} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveLeftIn": { | ||
defaultDuration: 950, | ||
calls: [ | ||
[{opacity: [1, 0], transformPerspective: [2000, 2000], transformOriginX: [0, 0], transformOriginY: [0, 0], rotateY: [0, -180]}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%"} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveLeftOut": { | ||
defaultDuration: 950, | ||
calls: [ | ||
[{opacity: [0, 1], transformPerspective: [2000, 2000], transformOriginX: [0, 0], transformOriginY: [0, 0], rotateY: -180}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%", rotateY: 0} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveRightIn": { | ||
defaultDuration: 950, | ||
calls: [ | ||
[{opacity: [1, 0], transformPerspective: [2000, 2000], transformOriginX: ["100%", "100%"], transformOriginY: [0, 0], rotateY: [0, 180]}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%"} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveRightOut": { | ||
defaultDuration: 950, | ||
calls: [ | ||
[{opacity: [0, 1], transformPerspective: [2000, 2000], transformOriginX: ["100%", "100%"], transformOriginY: [0, 0], rotateY: 180}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%", rotateY: 0} | ||
} | ||
}; | ||
var packagedEffects = { | ||
/* Animate.css */ | ||
"callout.bounce": { | ||
defaultDuration: 550, | ||
calls: [ | ||
[{translateY: -30}, 0.25], | ||
[{translateY: 0}, 0.125], | ||
[{translateY: -15}, 0.125], | ||
[{translateY: 0}, 0.25] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"callout.shake": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{translateX: -11}], | ||
[{translateX: 11}], | ||
[{translateX: -11}], | ||
[{translateX: 11}], | ||
[{translateX: -11}], | ||
[{translateX: 11}], | ||
[{translateX: -11}], | ||
[{translateX: 0}] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"callout.flash": { | ||
defaultDuration: 1100, | ||
calls: [ | ||
[{opacity: [0, "easeInOutQuad", 1]}], | ||
[{opacity: [1, "easeInOutQuad"]}], | ||
[{opacity: [0, "easeInOutQuad"]}], | ||
[{opacity: [1, "easeInOutQuad"]}] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"callout.pulse": { | ||
defaultDuration: 825, | ||
calls: [ | ||
[{scaleX: 1.1, scaleY: 1.1}, 0.50, {easing: "easeInExpo"}], | ||
[{scaleX: 1, scaleY: 1}, 0.50] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"callout.swing": { | ||
defaultDuration: 950, | ||
calls: [ | ||
[{rotateZ: 15}], | ||
[{rotateZ: -10}], | ||
[{rotateZ: 5}], | ||
[{rotateZ: -5}], | ||
[{rotateZ: 0}] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"callout.tada": { | ||
defaultDuration: 1000, | ||
calls: [ | ||
[{scaleX: 0.9, scaleY: 0.9, rotateZ: -3}, 0.10], | ||
[{scaleX: 1.1, scaleY: 1.1, rotateZ: 3}, 0.10], | ||
[{scaleX: 1.1, scaleY: 1.1, rotateZ: -3}, 0.10], | ||
["reverse", 0.125], | ||
["reverse", 0.125], | ||
["reverse", 0.125], | ||
["reverse", 0.125], | ||
["reverse", 0.125], | ||
[{scaleX: 1, scaleY: 1, rotateZ: 0}, 0.20] | ||
] | ||
}, | ||
"transition.fadeIn": { | ||
defaultDuration: 500, | ||
calls: [ | ||
[{opacity: [1, 0]}] | ||
] | ||
}, | ||
"transition.fadeOut": { | ||
defaultDuration: 500, | ||
calls: [ | ||
[{opacity: [0, 1]}] | ||
] | ||
}, | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipXIn": { | ||
defaultDuration: 700, | ||
calls: [ | ||
[{opacity: [1, 0], transformPerspective: [800, 800], rotateY: [0, -55]}] | ||
], | ||
reset: {transformPerspective: 0} | ||
}, | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipXOut": { | ||
defaultDuration: 700, | ||
calls: [ | ||
[{opacity: [0, 1], transformPerspective: [800, 800], rotateY: 55}] | ||
], | ||
reset: {transformPerspective: 0, rotateY: 0} | ||
}, | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipYIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], transformPerspective: [800, 800], rotateX: [0, -45]}] | ||
], | ||
reset: {transformPerspective: 0} | ||
}, | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipYOut": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [0, 1], transformPerspective: [800, 800], rotateX: 25}] | ||
], | ||
reset: {transformPerspective: 0, rotateX: 0} | ||
}, | ||
/* Animate.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipBounceXIn": { | ||
defaultDuration: 900, | ||
calls: [ | ||
[{opacity: [0.725, 0], transformPerspective: [400, 400], rotateY: [-10, 90]}, 0.50], | ||
[{opacity: 0.80, rotateY: 10}, 0.25], | ||
[{opacity: 1, rotateY: 0}, 0.25] | ||
], | ||
reset: {transformPerspective: 0} | ||
}, | ||
/* Animate.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipBounceXOut": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [0.9, 1], transformPerspective: [400, 400], rotateY: -10}], | ||
[{opacity: 0, rotateY: 90}] | ||
], | ||
reset: {transformPerspective: 0, rotateY: 0} | ||
}, | ||
/* Animate.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipBounceYIn": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [0.725, 0], transformPerspective: [400, 400], rotateX: [-10, 90]}, 0.50], | ||
[{opacity: 0.80, rotateX: 10}, 0.25], | ||
[{opacity: 1, rotateX: 0}, 0.25] | ||
], | ||
reset: {transformPerspective: 0} | ||
}, | ||
/* Animate.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.flipBounceYOut": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [0.9, 1], transformPerspective: [400, 400], rotateX: -15}], | ||
[{opacity: 0, rotateX: 90}] | ||
], | ||
reset: {transformPerspective: 0, rotateX: 0} | ||
}, | ||
/* Magic.css */ | ||
"transition.swoopIn": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [1, 0], transformOriginX: ["100%", "50%"], transformOriginY: ["100%", "100%"], scaleX: [1, 0], scaleY: [1, 0], translateX: [0, -700], translateZ: 0}] | ||
], | ||
reset: {transformOriginX: "50%", transformOriginY: "50%"} | ||
}, | ||
/* Magic.css */ | ||
"transition.swoopOut": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [0, 1], transformOriginX: ["50%", "100%"], transformOriginY: ["100%", "100%"], scaleX: 0, scaleY: 0, translateX: -700, translateZ: 0}] | ||
], | ||
reset: {transformOriginX: "50%", transformOriginY: "50%", scaleX: 1, scaleY: 1, translateX: 0} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3. (Fades and scales only.) */ | ||
"transition.whirlIn": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [1, 0], transformOriginX: ["50%", "50%"], transformOriginY: ["50%", "50%"], scaleX: [1, 0], scaleY: [1, 0], rotateY: [0, 160]}, 1, {easing: "easeInOutSine"}] | ||
] | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3. (Fades and scales only.) */ | ||
"transition.whirlOut": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{opacity: [0, "easeInOutQuint", 1], transformOriginX: ["50%", "50%"], transformOriginY: ["50%", "50%"], scaleX: 0, scaleY: 0, rotateY: 160}, 1, {easing: "swing"}] | ||
], | ||
reset: {scaleX: 1, scaleY: 1, rotateY: 0} | ||
}, | ||
"transition.shrinkIn": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{opacity: [1, 0], transformOriginX: ["50%", "50%"], transformOriginY: ["50%", "50%"], scaleX: [1, 1.5], scaleY: [1, 1.5], translateZ: 0}] | ||
] | ||
}, | ||
"transition.shrinkOut": { | ||
defaultDuration: 600, | ||
calls: [ | ||
[{opacity: [0, 1], transformOriginX: ["50%", "50%"], transformOriginY: ["50%", "50%"], scaleX: 1.3, scaleY: 1.3, translateZ: 0}] | ||
], | ||
reset: {scaleX: 1, scaleY: 1} | ||
}, | ||
"transition.expandIn": { | ||
defaultDuration: 700, | ||
calls: [ | ||
[{opacity: [1, 0], transformOriginX: ["50%", "50%"], transformOriginY: ["50%", "50%"], scaleX: [1, 0.625], scaleY: [1, 0.625], translateZ: 0}] | ||
] | ||
}, | ||
"transition.expandOut": { | ||
defaultDuration: 700, | ||
calls: [ | ||
[{opacity: [0, 1], transformOriginX: ["50%", "50%"], transformOriginY: ["50%", "50%"], scaleX: 0.5, scaleY: 0.5, translateZ: 0}] | ||
], | ||
reset: {scaleX: 1, scaleY: 1} | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], scaleX: [1.05, 0.3], scaleY: [1.05, 0.3]}, 0.35], | ||
[{scaleX: 0.9, scaleY: 0.9, translateZ: 0}, 0.20], | ||
[{scaleX: 1, scaleY: 1}, 0.45] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceOut": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{scaleX: 0.95, scaleY: 0.95}, 0.35], | ||
[{scaleX: 1.1, scaleY: 1.1, translateZ: 0}, 0.35], | ||
[{opacity: [0, 1], scaleX: 0.3, scaleY: 0.3}, 0.30] | ||
], | ||
reset: {scaleX: 1, scaleY: 1} | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceUpIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], translateY: [-30, 1000]}, 0.60, {easing: "easeOutCirc"}], | ||
[{translateY: 10}, 0.20], | ||
[{translateY: 0}, 0.20] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceUpOut": { | ||
defaultDuration: 1000, | ||
calls: [ | ||
[{translateY: 20}, 0.20], | ||
[{opacity: [0, "easeInCirc", 1], translateY: -1000}, 0.80] | ||
], | ||
reset: {translateY: 0} | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceDownIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], translateY: [30, -1000]}, 0.60, {easing: "easeOutCirc"}], | ||
[{translateY: -10}, 0.20], | ||
[{translateY: 0}, 0.20] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceDownOut": { | ||
defaultDuration: 1000, | ||
calls: [ | ||
[{translateY: -20}, 0.20], | ||
[{opacity: [0, "easeInCirc", 1], translateY: 1000}, 0.80] | ||
], | ||
reset: {translateY: 0} | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceLeftIn": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{opacity: [1, 0], translateX: [30, -1250]}, 0.60, {easing: "easeOutCirc"}], | ||
[{translateX: -10}, 0.20], | ||
[{translateX: 0}, 0.20] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceLeftOut": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{translateX: 30}, 0.20], | ||
[{opacity: [0, "easeInCirc", 1], translateX: -1250}, 0.80] | ||
], | ||
reset: {translateX: 0} | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceRightIn": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{opacity: [1, 0], translateX: [-30, 1250]}, 0.60, {easing: "easeOutCirc"}], | ||
[{translateX: 10}, 0.20], | ||
[{translateX: 0}, 0.20] | ||
] | ||
}, | ||
/* Animate.css */ | ||
"transition.bounceRightOut": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{translateX: -30}, 0.20], | ||
[{opacity: [0, "easeInCirc", 1], translateX: 1250}, 0.80] | ||
], | ||
reset: {translateX: 0} | ||
}, | ||
"transition.slideUpIn": { | ||
defaultDuration: 900, | ||
calls: [ | ||
[{opacity: [1, 0], translateY: [0, 20], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideUpOut": { | ||
defaultDuration: 900, | ||
calls: [ | ||
[{opacity: [0, 1], translateY: -20, translateZ: 0}] | ||
], | ||
reset: {translateY: 0} | ||
}, | ||
"transition.slideDownIn": { | ||
defaultDuration: 900, | ||
calls: [ | ||
[{opacity: [1, 0], translateY: [0, -20], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideDownOut": { | ||
defaultDuration: 900, | ||
calls: [ | ||
[{opacity: [0, 1], translateY: 20, translateZ: 0}] | ||
], | ||
reset: {translateY: 0} | ||
}, | ||
"transition.slideLeftIn": { | ||
defaultDuration: 1000, | ||
calls: [ | ||
[{opacity: [1, 0], translateX: [0, -20], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideLeftOut": { | ||
defaultDuration: 1050, | ||
calls: [ | ||
[{opacity: [0, 1], translateX: -20, translateZ: 0}] | ||
], | ||
reset: {translateX: 0} | ||
}, | ||
"transition.slideRightIn": { | ||
defaultDuration: 1000, | ||
calls: [ | ||
[{opacity: [1, 0], translateX: [0, 20], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideRightOut": { | ||
defaultDuration: 1050, | ||
calls: [ | ||
[{opacity: [0, 1], translateX: 20, translateZ: 0}] | ||
], | ||
reset: {translateX: 0} | ||
}, | ||
"transition.slideUpBigIn": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [1, 0], translateY: [0, 75], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideUpBigOut": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [0, 1], translateY: -75, translateZ: 0}] | ||
], | ||
reset: {translateY: 0} | ||
}, | ||
"transition.slideDownBigIn": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [1, 0], translateY: [0, -75], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideDownBigOut": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [0, 1], translateY: 75, translateZ: 0}] | ||
], | ||
reset: {translateY: 0} | ||
}, | ||
"transition.slideLeftBigIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], translateX: [0, -75], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideLeftBigOut": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{opacity: [0, 1], translateX: -75, translateZ: 0}] | ||
], | ||
reset: {translateX: 0} | ||
}, | ||
"transition.slideRightBigIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], translateX: [0, 75], translateZ: 0}] | ||
] | ||
}, | ||
"transition.slideRightBigOut": { | ||
defaultDuration: 750, | ||
calls: [ | ||
[{opacity: [0, 1], translateX: 75, translateZ: 0}] | ||
], | ||
reset: {translateX: 0} | ||
}, | ||
/* Magic.css */ | ||
"transition.perspectiveUpIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], transformPerspective: [800, 800], transformOriginX: [0, 0], transformOriginY: ["100%", "100%"], rotateX: [0, -180]}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%"} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveUpOut": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [0, 1], transformPerspective: [800, 800], transformOriginX: [0, 0], transformOriginY: ["100%", "100%"], rotateX: -180}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%", rotateX: 0} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveDownIn": { | ||
defaultDuration: 800, | ||
calls: [ | ||
[{opacity: [1, 0], transformPerspective: [800, 800], transformOriginX: [0, 0], transformOriginY: [0, 0], rotateX: [0, 180]}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%"} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveDownOut": { | ||
defaultDuration: 850, | ||
calls: [ | ||
[{opacity: [0, 1], transformPerspective: [800, 800], transformOriginX: [0, 0], transformOriginY: [0, 0], rotateX: 180}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%", rotateX: 0} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveLeftIn": { | ||
defaultDuration: 950, | ||
calls: [ | ||
[{opacity: [1, 0], transformPerspective: [2000, 2000], transformOriginX: [0, 0], transformOriginY: [0, 0], rotateY: [0, -180]}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%"} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveLeftOut": { | ||
defaultDuration: 950, | ||
calls: [ | ||
[{opacity: [0, 1], transformPerspective: [2000, 2000], transformOriginX: [0, 0], transformOriginY: [0, 0], rotateY: -180}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%", rotateY: 0} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveRightIn": { | ||
defaultDuration: 950, | ||
calls: [ | ||
[{opacity: [1, 0], transformPerspective: [2000, 2000], transformOriginX: ["100%", "100%"], transformOriginY: [0, 0], rotateY: [0, 180]}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%"} | ||
}, | ||
/* Magic.css */ | ||
/* Support: Loses rotation in IE9/Android 2.3 (fades only). */ | ||
"transition.perspectiveRightOut": { | ||
defaultDuration: 950, | ||
calls: [ | ||
[{opacity: [0, 1], transformPerspective: [2000, 2000], transformOriginX: ["100%", "100%"], transformOriginY: [0, 0], rotateY: 180}] | ||
], | ||
reset: {transformPerspective: 0, transformOriginX: "50%", transformOriginY: "50%", rotateY: 0} | ||
} | ||
}; | ||
/* Register the packaged effects. */ | ||
for (var effectName in Velocity.RegisterEffect.packagedEffects) { | ||
if (Velocity.RegisterEffect.packagedEffects.hasOwnProperty(effectName)) { | ||
Velocity.RegisterEffect(effectName, Velocity.RegisterEffect.packagedEffects[effectName]); | ||
for (var effectName in packagedEffects) { | ||
if (packagedEffects.hasOwnProperty(effectName)) { | ||
Velocity.RegisterEffect(effectName, packagedEffects[effectName]); | ||
} | ||
} | ||
/********************* | ||
Sequence Running | ||
**********************/ | ||
/* Note: Sequence calls must use Velocity's single-object arguments syntax. */ | ||
Velocity.RunSequence = function(originalSequence) { | ||
var sequence = $.extend(true, [], originalSequence); | ||
if (sequence.length > 1) { | ||
$.each(sequence.reverse(), function(i, currentCall) { | ||
var nextCall = sequence[i + 1]; | ||
if (nextCall) { | ||
/* Parallel sequence calls (indicated via sequenceQueue:false) are triggered | ||
in the previous call's begin callback. Otherwise, chained calls are normally triggered | ||
in the previous call's complete callback. */ | ||
var currentCallOptions = currentCall.o || currentCall.options, | ||
nextCallOptions = nextCall.o || nextCall.options; | ||
var timing = (currentCallOptions && currentCallOptions.sequenceQueue === false) ? "begin" : "complete", | ||
callbackOriginal = nextCallOptions && nextCallOptions[timing], | ||
options = {}; | ||
options[timing] = function() { | ||
var nextCallElements = nextCall.e || nextCall.elements; | ||
var elements = nextCallElements.nodeType ? [nextCallElements] : nextCallElements; | ||
if (callbackOriginal) { | ||
callbackOriginal.call(elements, elements); | ||
} | ||
Velocity(currentCall); | ||
}; | ||
if (nextCall.o) { | ||
nextCall.o = $.extend({}, nextCallOptions, options); | ||
} else { | ||
nextCall.options = $.extend({}, nextCallOptions, options); | ||
} | ||
} | ||
}); | ||
sequence.reverse(); | ||
} | ||
Velocity(sequence[0]); | ||
}; | ||
}((window.jQuery || window.Zepto || window), window, (window ? window.document : undefined)); | ||
}(window); | ||
})); |
@@ -1,1 +0,2 @@ | ||
!function(a){"use strict";"function"==typeof require&&"object"==typeof exports?module.exports=a():"function"==typeof define&&define.amd?define(["velocity"],a):a()}(function(){"use strict";return function(a,b,c,d){var e=a.Velocity;if(!e||!e.Utilities)return void(b.console&&console.log("Velocity UI Pack: Velocity must be loaded first. Aborting."));var f=e.Utilities,g=e.version,h={major:1,minor:1,patch:0};if(function(a,b){var c=[];return!(!a||!b)&&(f.each([a,b],function(a,b){var d=[];f.each(b,function(a,b){for(;b.toString().length<5;)b="0"+b;d.push(b)}),c.push(d.join(""))}),parseFloat(c[0])>parseFloat(c[1]))}(h,g)){var i="Velocity UI Pack: You need to update Velocity (velocity.js) to a newer version. Visit http://github.com/julianshapiro/velocity.";throw alert(i),new Error(i)}e.RegisterEffect=e.RegisterUI=function(a,b){function c(a,b,c,d){var g,h=0;f.each(a.nodeType?[a]:a,function(a,b){d&&(c+=a*d),g=b.parentNode;var i=["height","paddingTop","paddingBottom","marginTop","marginBottom"];"border-box"===e.CSS.getPropertyValue(b,"boxSizing").toString().toLowerCase()&&(i=["height"]),f.each(i,function(a,c){h+=parseFloat(e.CSS.getPropertyValue(b,c))})}),e.animate(g,{height:("In"===b?"+":"-")+"="+h},{queue:!1,easing:"ease-in-out",duration:c*("In"===b?.6:1)})}return e.Redirects[a]=function(d,g,h,i,j,k,l){var m=h===i-1,n=0;l=l||b.loop,"function"==typeof b.defaultDuration?b.defaultDuration=b.defaultDuration.call(j,j):b.defaultDuration=parseFloat(b.defaultDuration);for(var o=0;o<b.calls.length;o++)"number"==typeof(t=b.calls[o][1])&&(n+=t);var p=n>=1?0:b.calls.length?(1-n)/b.calls.length:1;for(o=0;o<b.calls.length;o++){var q=b.calls[o],r=q[0],s=1e3,t=q[1],u=q[2]||{},v={};if(void 0!==g.duration?s=g.duration:void 0!==b.defaultDuration&&(s=b.defaultDuration),v.duration=s*("number"==typeof t?t:p),v.queue=g.queue||"",v.easing=u.easing||"ease",v.delay=parseFloat(u.delay)||0,v.loop=!b.loop&&u.loop,v._cacheValues=u._cacheValues||!0,0===o){if(v.delay+=parseFloat(g.delay)||0,0===h&&(v.begin=function(){g.begin&&g.begin.call(j,j);var b=a.match(/(In|Out)$/);b&&"In"===b[0]&&void 0!==r.opacity&&f.each(j.nodeType?[j]:j,function(a,b){e.CSS.setPropertyValue(b,"opacity",0)}),g.animateParentHeight&&b&&c(j,b[0],s+v.delay,g.stagger)}),null!==g.display)if(void 0!==g.display&&"none"!==g.display)v.display=g.display;else if(/In$/.test(a)){var w=e.CSS.Values.getDisplayType(d);v.display="inline"===w?"inline-block":w}g.visibility&&"hidden"!==g.visibility&&(v.visibility=g.visibility)}if(o===b.calls.length-1){var x=function(){void 0!==g.display&&"none"!==g.display||!/Out$/.test(a)||f.each(j.nodeType?[j]:j,function(a,b){e.CSS.setPropertyValue(b,"display","none")}),g.complete&&g.complete.call(j,j),k&&k.resolver(j||d)};v.complete=function(){if(l&&e.Redirects[a](d,g,h,i,j,k,!0===l||Math.max(0,l-1)),b.reset){for(var c in b.reset)if(b.reset.hasOwnProperty(c)){var f=b.reset[c];void 0!==e.CSS.Hooks.registered[c]||"string"!=typeof f&&"number"!=typeof f||(b.reset[c]=[b.reset[c],b.reset[c]])}var n={duration:0,queue:!1};m&&(n.complete=x),e.animate(d,b.reset,n)}else m&&x()},"hidden"===g.visibility&&(v.visibility=g.visibility)}e.animate(d,r,v)}},e},e.RegisterEffect.packagedEffects={"callout.bounce":{defaultDuration:550,calls:[[{translateY:-30},.25],[{translateY:0},.125],[{translateY:-15},.125],[{translateY:0},.25]]},"callout.shake":{defaultDuration:800,calls:[[{translateX:-11}],[{translateX:11}],[{translateX:-11}],[{translateX:11}],[{translateX:-11}],[{translateX:11}],[{translateX:-11}],[{translateX:0}]]},"callout.flash":{defaultDuration:1100,calls:[[{opacity:[0,"easeInOutQuad",1]}],[{opacity:[1,"easeInOutQuad"]}],[{opacity:[0,"easeInOutQuad"]}],[{opacity:[1,"easeInOutQuad"]}]]},"callout.pulse":{defaultDuration:825,calls:[[{scaleX:1.1,scaleY:1.1},.5,{easing:"easeInExpo"}],[{scaleX:1,scaleY:1},.5]]},"callout.swing":{defaultDuration:950,calls:[[{rotateZ:15}],[{rotateZ:-10}],[{rotateZ:5}],[{rotateZ:-5}],[{rotateZ:0}]]},"callout.tada":{defaultDuration:1e3,calls:[[{scaleX:.9,scaleY:.9,rotateZ:-3},.1],[{scaleX:1.1,scaleY:1.1,rotateZ:3},.1],[{scaleX:1.1,scaleY:1.1,rotateZ:-3},.1],["reverse",.125],["reverse",.125],["reverse",.125],["reverse",.125],["reverse",.125],[{scaleX:1,scaleY:1,rotateZ:0},.2]]},"transition.fadeIn":{defaultDuration:500,calls:[[{opacity:[1,0]}]]},"transition.fadeOut":{defaultDuration:500,calls:[[{opacity:[0,1]}]]},"transition.flipXIn":{defaultDuration:700,calls:[[{opacity:[1,0],transformPerspective:[800,800],rotateY:[0,-55]}]],reset:{transformPerspective:0}},"transition.flipXOut":{defaultDuration:700,calls:[[{opacity:[0,1],transformPerspective:[800,800],rotateY:55}]],reset:{transformPerspective:0,rotateY:0}},"transition.flipYIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],rotateX:[0,-45]}]],reset:{transformPerspective:0}},"transition.flipYOut":{defaultDuration:800,calls:[[{opacity:[0,1],transformPerspective:[800,800],rotateX:25}]],reset:{transformPerspective:0,rotateX:0}},"transition.flipBounceXIn":{defaultDuration:900,calls:[[{opacity:[.725,0],transformPerspective:[400,400],rotateY:[-10,90]},.5],[{opacity:.8,rotateY:10},.25],[{opacity:1,rotateY:0},.25]],reset:{transformPerspective:0}},"transition.flipBounceXOut":{defaultDuration:800,calls:[[{opacity:[.9,1],transformPerspective:[400,400],rotateY:-10}],[{opacity:0,rotateY:90}]],reset:{transformPerspective:0,rotateY:0}},"transition.flipBounceYIn":{defaultDuration:850,calls:[[{opacity:[.725,0],transformPerspective:[400,400],rotateX:[-10,90]},.5],[{opacity:.8,rotateX:10},.25],[{opacity:1,rotateX:0},.25]],reset:{transformPerspective:0}},"transition.flipBounceYOut":{defaultDuration:800,calls:[[{opacity:[.9,1],transformPerspective:[400,400],rotateX:-15}],[{opacity:0,rotateX:90}]],reset:{transformPerspective:0,rotateX:0}},"transition.swoopIn":{defaultDuration:850,calls:[[{opacity:[1,0],transformOriginX:["100%","50%"],transformOriginY:["100%","100%"],scaleX:[1,0],scaleY:[1,0],translateX:[0,-700],translateZ:0}]],reset:{transformOriginX:"50%",transformOriginY:"50%"}},"transition.swoopOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformOriginX:["50%","100%"],transformOriginY:["100%","100%"],scaleX:0,scaleY:0,translateX:-700,translateZ:0}]],reset:{transformOriginX:"50%",transformOriginY:"50%",scaleX:1,scaleY:1,translateX:0}},"transition.whirlIn":{defaultDuration:850,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,0],scaleY:[1,0],rotateY:[0,160]},1,{easing:"easeInOutSine"}]]},"transition.whirlOut":{defaultDuration:750,calls:[[{opacity:[0,"easeInOutQuint",1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:0,scaleY:0,rotateY:160},1,{easing:"swing"}]],reset:{scaleX:1,scaleY:1,rotateY:0}},"transition.shrinkIn":{defaultDuration:750,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,1.5],scaleY:[1,1.5],translateZ:0}]]},"transition.shrinkOut":{defaultDuration:600,calls:[[{opacity:[0,1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:1.3,scaleY:1.3,translateZ:0}]],reset:{scaleX:1,scaleY:1}},"transition.expandIn":{defaultDuration:700,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,.625],scaleY:[1,.625],translateZ:0}]]},"transition.expandOut":{defaultDuration:700,calls:[[{opacity:[0,1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:.5,scaleY:.5,translateZ:0}]],reset:{scaleX:1,scaleY:1}},"transition.bounceIn":{defaultDuration:800,calls:[[{opacity:[1,0],scaleX:[1.05,.3],scaleY:[1.05,.3]},.35],[{scaleX:.9,scaleY:.9,translateZ:0},.2],[{scaleX:1,scaleY:1},.45]]},"transition.bounceOut":{defaultDuration:800,calls:[[{scaleX:.95,scaleY:.95},.35],[{scaleX:1.1,scaleY:1.1,translateZ:0},.35],[{opacity:[0,1],scaleX:.3,scaleY:.3},.3]],reset:{scaleX:1,scaleY:1}},"transition.bounceUpIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateY:[-30,1e3]},.6,{easing:"easeOutCirc"}],[{translateY:10},.2],[{translateY:0},.2]]},"transition.bounceUpOut":{defaultDuration:1e3,calls:[[{translateY:20},.2],[{opacity:[0,"easeInCirc",1],translateY:-1e3},.8]],reset:{translateY:0}},"transition.bounceDownIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateY:[30,-1e3]},.6,{easing:"easeOutCirc"}],[{translateY:-10},.2],[{translateY:0},.2]]},"transition.bounceDownOut":{defaultDuration:1e3,calls:[[{translateY:-20},.2],[{opacity:[0,"easeInCirc",1],translateY:1e3},.8]],reset:{translateY:0}},"transition.bounceLeftIn":{defaultDuration:750,calls:[[{opacity:[1,0],translateX:[30,-1250]},.6,{easing:"easeOutCirc"}],[{translateX:-10},.2],[{translateX:0},.2]]},"transition.bounceLeftOut":{defaultDuration:750,calls:[[{translateX:30},.2],[{opacity:[0,"easeInCirc",1],translateX:-1250},.8]],reset:{translateX:0}},"transition.bounceRightIn":{defaultDuration:750,calls:[[{opacity:[1,0],translateX:[-30,1250]},.6,{easing:"easeOutCirc"}],[{translateX:10},.2],[{translateX:0},.2]]},"transition.bounceRightOut":{defaultDuration:750,calls:[[{translateX:-30},.2],[{opacity:[0,"easeInCirc",1],translateX:1250},.8]],reset:{translateX:0}},"transition.slideUpIn":{defaultDuration:900,calls:[[{opacity:[1,0],translateY:[0,20],translateZ:0}]]},"transition.slideUpOut":{defaultDuration:900,calls:[[{opacity:[0,1],translateY:-20,translateZ:0}]],reset:{translateY:0}},"transition.slideDownIn":{defaultDuration:900,calls:[[{opacity:[1,0],translateY:[0,-20],translateZ:0}]]},"transition.slideDownOut":{defaultDuration:900,calls:[[{opacity:[0,1],translateY:20,translateZ:0}]],reset:{translateY:0}},"transition.slideLeftIn":{defaultDuration:1e3,calls:[[{opacity:[1,0],translateX:[0,-20],translateZ:0}]]},"transition.slideLeftOut":{defaultDuration:1050,calls:[[{opacity:[0,1],translateX:-20,translateZ:0}]],reset:{translateX:0}},"transition.slideRightIn":{defaultDuration:1e3,calls:[[{opacity:[1,0],translateX:[0,20],translateZ:0}]]},"transition.slideRightOut":{defaultDuration:1050,calls:[[{opacity:[0,1],translateX:20,translateZ:0}]],reset:{translateX:0}},"transition.slideUpBigIn":{defaultDuration:850,calls:[[{opacity:[1,0],translateY:[0,75],translateZ:0}]]},"transition.slideUpBigOut":{defaultDuration:800,calls:[[{opacity:[0,1],translateY:-75,translateZ:0}]],reset:{translateY:0}},"transition.slideDownBigIn":{defaultDuration:850,calls:[[{opacity:[1,0],translateY:[0,-75],translateZ:0}]]},"transition.slideDownBigOut":{defaultDuration:800,calls:[[{opacity:[0,1],translateY:75,translateZ:0}]],reset:{translateY:0}},"transition.slideLeftBigIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateX:[0,-75],translateZ:0}]]},"transition.slideLeftBigOut":{defaultDuration:750,calls:[[{opacity:[0,1],translateX:-75,translateZ:0}]],reset:{translateX:0}},"transition.slideRightBigIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateX:[0,75],translateZ:0}]]},"transition.slideRightBigOut":{defaultDuration:750,calls:[[{opacity:[0,1],translateX:75,translateZ:0}]],reset:{translateX:0}},"transition.perspectiveUpIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:["100%","100%"],rotateX:[0,-180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveUpOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:["100%","100%"],rotateX:-180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateX:0}},"transition.perspectiveDownIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:[0,0],rotateX:[0,180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveDownOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:[0,0],rotateX:180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateX:0}},"transition.perspectiveLeftIn":{defaultDuration:950,calls:[[{opacity:[1,0],transformPerspective:[2e3,2e3],transformOriginX:[0,0],transformOriginY:[0,0],rotateY:[0,-180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveLeftOut":{defaultDuration:950,calls:[[{opacity:[0,1],transformPerspective:[2e3,2e3],transformOriginX:[0,0],transformOriginY:[0,0],rotateY:-180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateY:0}},"transition.perspectiveRightIn":{defaultDuration:950,calls:[[{opacity:[1,0],transformPerspective:[2e3,2e3],transformOriginX:["100%","100%"],transformOriginY:[0,0],rotateY:[0,180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveRightOut":{defaultDuration:950,calls:[[{opacity:[0,1],transformPerspective:[2e3,2e3],transformOriginX:["100%","100%"],transformOriginY:[0,0],rotateY:180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateY:0}}};for(var j in e.RegisterEffect.packagedEffects)e.RegisterEffect.packagedEffects.hasOwnProperty(j)&&e.RegisterEffect(j,e.RegisterEffect.packagedEffects[j]);e.RunSequence=function(a){var b=f.extend(!0,[],a);b.length>1&&(f.each(b.reverse(),function(a,c){var d=b[a+1];if(d){var g=c.o||c.options,h=d.o||d.options,i=g&&!1===g.sequenceQueue?"begin":"complete",j=h&&h[i],k={};k[i]=function(){var a=d.e||d.elements,b=a.nodeType?[a]:a;j&&j.call(b,b),e(c)},d.o?d.o=f.extend({},h,k):d.options=f.extend({},h,k)}}),b.reverse()),e(b[0])}}(window.jQuery||window.Zepto||window,window,window?window.document:undefined)}); | ||
/*! velocity-animate v2.0.1 (Sunday 11th February 2018, 11:42:49 AM) */ | ||
!function(t){"use strict";"function"==typeof require&&"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define(["velocity"],t):t()}(function(t){"use strict";return function(a,r){var e=t||(this||a).Velocity;if(e){var n={"callout.bounce":{defaultDuration:550,calls:[[{translateY:-30},.25],[{translateY:0},.125],[{translateY:-15},.125],[{translateY:0},.25]]},"callout.shake":{defaultDuration:800,calls:[[{translateX:-11}],[{translateX:11}],[{translateX:-11}],[{translateX:11}],[{translateX:-11}],[{translateX:11}],[{translateX:-11}],[{translateX:0}]]},"callout.flash":{defaultDuration:1100,calls:[[{opacity:[0,"easeInOutQuad",1]}],[{opacity:[1,"easeInOutQuad"]}],[{opacity:[0,"easeInOutQuad"]}],[{opacity:[1,"easeInOutQuad"]}]]},"callout.pulse":{defaultDuration:825,calls:[[{scaleX:1.1,scaleY:1.1},.5,{easing:"easeInExpo"}],[{scaleX:1,scaleY:1},.5]]},"callout.swing":{defaultDuration:950,calls:[[{rotateZ:15}],[{rotateZ:-10}],[{rotateZ:5}],[{rotateZ:-5}],[{rotateZ:0}]]},"callout.tada":{defaultDuration:1e3,calls:[[{scaleX:.9,scaleY:.9,rotateZ:-3},.1],[{scaleX:1.1,scaleY:1.1,rotateZ:3},.1],[{scaleX:1.1,scaleY:1.1,rotateZ:-3},.1],["reverse",.125],["reverse",.125],["reverse",.125],["reverse",.125],["reverse",.125],[{scaleX:1,scaleY:1,rotateZ:0},.2]]},"transition.fadeIn":{defaultDuration:500,calls:[[{opacity:[1,0]}]]},"transition.fadeOut":{defaultDuration:500,calls:[[{opacity:[0,1]}]]},"transition.flipXIn":{defaultDuration:700,calls:[[{opacity:[1,0],transformPerspective:[800,800],rotateY:[0,-55]}]],reset:{transformPerspective:0}},"transition.flipXOut":{defaultDuration:700,calls:[[{opacity:[0,1],transformPerspective:[800,800],rotateY:55}]],reset:{transformPerspective:0,rotateY:0}},"transition.flipYIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],rotateX:[0,-45]}]],reset:{transformPerspective:0}},"transition.flipYOut":{defaultDuration:800,calls:[[{opacity:[0,1],transformPerspective:[800,800],rotateX:25}]],reset:{transformPerspective:0,rotateX:0}},"transition.flipBounceXIn":{defaultDuration:900,calls:[[{opacity:[.725,0],transformPerspective:[400,400],rotateY:[-10,90]},.5],[{opacity:.8,rotateY:10},.25],[{opacity:1,rotateY:0},.25]],reset:{transformPerspective:0}},"transition.flipBounceXOut":{defaultDuration:800,calls:[[{opacity:[.9,1],transformPerspective:[400,400],rotateY:-10}],[{opacity:0,rotateY:90}]],reset:{transformPerspective:0,rotateY:0}},"transition.flipBounceYIn":{defaultDuration:850,calls:[[{opacity:[.725,0],transformPerspective:[400,400],rotateX:[-10,90]},.5],[{opacity:.8,rotateX:10},.25],[{opacity:1,rotateX:0},.25]],reset:{transformPerspective:0}},"transition.flipBounceYOut":{defaultDuration:800,calls:[[{opacity:[.9,1],transformPerspective:[400,400],rotateX:-15}],[{opacity:0,rotateX:90}]],reset:{transformPerspective:0,rotateX:0}},"transition.swoopIn":{defaultDuration:850,calls:[[{opacity:[1,0],transformOriginX:["100%","50%"],transformOriginY:["100%","100%"],scaleX:[1,0],scaleY:[1,0],translateX:[0,-700],translateZ:0}]],reset:{transformOriginX:"50%",transformOriginY:"50%"}},"transition.swoopOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformOriginX:["50%","100%"],transformOriginY:["100%","100%"],scaleX:0,scaleY:0,translateX:-700,translateZ:0}]],reset:{transformOriginX:"50%",transformOriginY:"50%",scaleX:1,scaleY:1,translateX:0}},"transition.whirlIn":{defaultDuration:850,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,0],scaleY:[1,0],rotateY:[0,160]},1,{easing:"easeInOutSine"}]]},"transition.whirlOut":{defaultDuration:750,calls:[[{opacity:[0,"easeInOutQuint",1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:0,scaleY:0,rotateY:160},1,{easing:"swing"}]],reset:{scaleX:1,scaleY:1,rotateY:0}},"transition.shrinkIn":{defaultDuration:750,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,1.5],scaleY:[1,1.5],translateZ:0}]]},"transition.shrinkOut":{defaultDuration:600,calls:[[{opacity:[0,1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:1.3,scaleY:1.3,translateZ:0}]],reset:{scaleX:1,scaleY:1}},"transition.expandIn":{defaultDuration:700,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,.625],scaleY:[1,.625],translateZ:0}]]},"transition.expandOut":{defaultDuration:700,calls:[[{opacity:[0,1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:.5,scaleY:.5,translateZ:0}]],reset:{scaleX:1,scaleY:1}},"transition.bounceIn":{defaultDuration:800,calls:[[{opacity:[1,0],scaleX:[1.05,.3],scaleY:[1.05,.3]},.35],[{scaleX:.9,scaleY:.9,translateZ:0},.2],[{scaleX:1,scaleY:1},.45]]},"transition.bounceOut":{defaultDuration:800,calls:[[{scaleX:.95,scaleY:.95},.35],[{scaleX:1.1,scaleY:1.1,translateZ:0},.35],[{opacity:[0,1],scaleX:.3,scaleY:.3},.3]],reset:{scaleX:1,scaleY:1}},"transition.bounceUpIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateY:[-30,1e3]},.6,{easing:"easeOutCirc"}],[{translateY:10},.2],[{translateY:0},.2]]},"transition.bounceUpOut":{defaultDuration:1e3,calls:[[{translateY:20},.2],[{opacity:[0,"easeInCirc",1],translateY:-1e3},.8]],reset:{translateY:0}},"transition.bounceDownIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateY:[30,-1e3]},.6,{easing:"easeOutCirc"}],[{translateY:-10},.2],[{translateY:0},.2]]},"transition.bounceDownOut":{defaultDuration:1e3,calls:[[{translateY:-20},.2],[{opacity:[0,"easeInCirc",1],translateY:1e3},.8]],reset:{translateY:0}},"transition.bounceLeftIn":{defaultDuration:750,calls:[[{opacity:[1,0],translateX:[30,-1250]},.6,{easing:"easeOutCirc"}],[{translateX:-10},.2],[{translateX:0},.2]]},"transition.bounceLeftOut":{defaultDuration:750,calls:[[{translateX:30},.2],[{opacity:[0,"easeInCirc",1],translateX:-1250},.8]],reset:{translateX:0}},"transition.bounceRightIn":{defaultDuration:750,calls:[[{opacity:[1,0],translateX:[-30,1250]},.6,{easing:"easeOutCirc"}],[{translateX:10},.2],[{translateX:0},.2]]},"transition.bounceRightOut":{defaultDuration:750,calls:[[{translateX:-30},.2],[{opacity:[0,"easeInCirc",1],translateX:1250},.8]],reset:{translateX:0}},"transition.slideUpIn":{defaultDuration:900,calls:[[{opacity:[1,0],translateY:[0,20],translateZ:0}]]},"transition.slideUpOut":{defaultDuration:900,calls:[[{opacity:[0,1],translateY:-20,translateZ:0}]],reset:{translateY:0}},"transition.slideDownIn":{defaultDuration:900,calls:[[{opacity:[1,0],translateY:[0,-20],translateZ:0}]]},"transition.slideDownOut":{defaultDuration:900,calls:[[{opacity:[0,1],translateY:20,translateZ:0}]],reset:{translateY:0}},"transition.slideLeftIn":{defaultDuration:1e3,calls:[[{opacity:[1,0],translateX:[0,-20],translateZ:0}]]},"transition.slideLeftOut":{defaultDuration:1050,calls:[[{opacity:[0,1],translateX:-20,translateZ:0}]],reset:{translateX:0}},"transition.slideRightIn":{defaultDuration:1e3,calls:[[{opacity:[1,0],translateX:[0,20],translateZ:0}]]},"transition.slideRightOut":{defaultDuration:1050,calls:[[{opacity:[0,1],translateX:20,translateZ:0}]],reset:{translateX:0}},"transition.slideUpBigIn":{defaultDuration:850,calls:[[{opacity:[1,0],translateY:[0,75],translateZ:0}]]},"transition.slideUpBigOut":{defaultDuration:800,calls:[[{opacity:[0,1],translateY:-75,translateZ:0}]],reset:{translateY:0}},"transition.slideDownBigIn":{defaultDuration:850,calls:[[{opacity:[1,0],translateY:[0,-75],translateZ:0}]]},"transition.slideDownBigOut":{defaultDuration:800,calls:[[{opacity:[0,1],translateY:75,translateZ:0}]],reset:{translateY:0}},"transition.slideLeftBigIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateX:[0,-75],translateZ:0}]]},"transition.slideLeftBigOut":{defaultDuration:750,calls:[[{opacity:[0,1],translateX:-75,translateZ:0}]],reset:{translateX:0}},"transition.slideRightBigIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateX:[0,75],translateZ:0}]]},"transition.slideRightBigOut":{defaultDuration:750,calls:[[{opacity:[0,1],translateX:75,translateZ:0}]],reset:{translateX:0}},"transition.perspectiveUpIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:["100%","100%"],rotateX:[0,-180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveUpOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:["100%","100%"],rotateX:-180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateX:0}},"transition.perspectiveDownIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:[0,0],rotateX:[0,180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveDownOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:[0,0],rotateX:180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateX:0}},"transition.perspectiveLeftIn":{defaultDuration:950,calls:[[{opacity:[1,0],transformPerspective:[2e3,2e3],transformOriginX:[0,0],transformOriginY:[0,0],rotateY:[0,-180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveLeftOut":{defaultDuration:950,calls:[[{opacity:[0,1],transformPerspective:[2e3,2e3],transformOriginX:[0,0],transformOriginY:[0,0],rotateY:-180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateY:0}},"transition.perspectiveRightIn":{defaultDuration:950,calls:[[{opacity:[1,0],transformPerspective:[2e3,2e3],transformOriginX:["100%","100%"],transformOriginY:[0,0],rotateY:[0,180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveRightOut":{defaultDuration:950,calls:[[{opacity:[0,1],transformPerspective:[2e3,2e3],transformOriginX:["100%","100%"],transformOriginY:[0,0],rotateY:180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateY:0}}};for(var s in n)n.hasOwnProperty(s)&&e.RegisterEffect(s,n[s])}}(window)}); |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69
279027
9
4887
1