/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */
System.register(["./p-c34d8902.system.js","./p-612e8acd.system.js","./p-808e924f.system.js","./p-389a3e58.system.js"],(function(e){"use strict";var n,t;return{setters:[function(e){n=e.c},function(e){t=e.g},function(){},function(){}],execute:function(){var a=e("mdTransitionAnimation",(function(e,a){var i="40px";var r="0px";var o=a.direction==="back";var s=a.enteringEl;var c=a.leavingEl;var l=t(s);var u=l.querySelector("ion-toolbar");var d=n();d.addElement(l).fill("both").beforeRemoveClass("ion-page-invisible");if(o){d.duration(a.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)")}else{d.duration(a.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(".concat(i,")"),"translateY(".concat(r,")")).fromTo("opacity",.01,1)}if(u){var f=n();f.addElement(u);d.addAnimation(f)}if(c&&o){d.duration(a.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var m=n();m.addElement(t(c)).onFinish((function(e){if(e===1&&m.elements.length>0){m.elements[0].style.setProperty("display","none")}})).fromTo("transform","translateY(".concat(r,")"),"translateY(".concat(i,")")).fromTo("opacity",1,0);d.addAnimation(m)}return d}))}}}));