text: !function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","jquery"],e):"object"==typeof exports?exports["foundation.util.motion"]=e(require("./foundation.core"),require("jquery")):(n.__FOUNDATION_EXTERNAL__=n.__FOUNDATION_EXTERNAL__||{},n.__FOUNDATION_EXTERNAL__["foundation.util.motion"]=e(n.__FOUNDATION_EXTERNAL__["foundation.core"],n.jQuery))}(window,function(t, o){return u={},i.m=r={"./foundation.core":function(n, e){n.exports=t},"./js/entries/plugins/foundation.util.motion.js":function(n, e, t){"use strict";t.r(e);var o=t("./foundation.core");t.d(e,"Foundation",function(){return o.Foundation});var i=t("./js/foundation.util.motion.js");t.d(e,"Motion",function(){return i.Motion}),t.d(e,"Move",function(){return i.Move}),o.Foundation.Motion=i.Motion,o.Foundation.Move=i.Move},"./js/foundation.util.motion.js":function(n, e, t){"use strict";t.r(e),t.d(e,"Move",function(){return r}),t.d(e,"Motion",function(){return i});var o=t("jquery"),a=t.n(o),f=t("./foundation.core"),c=["mui-enter","mui-leave"],d=["mui-enter-active","mui-leave-active"],i={animateIn:function(n, e, t){u(!0,n,e,t)},animateOut:function(n, e, t){u(!1,n,e,t)}};function r(t, o, i){var r,u,a=null;if(0===t)return i.apply(o),void o.trigger("finished.zf.animate",[o]).triggerHandler("finished.zf.animate",[o]);r=window.requestAnimationFrame(function n(e){u=e-(a=a||e),i.apply(o),u<t?r=window.requestAnimationFrame(n,o):(window.cancelAnimationFrame(r),o.trigger("finished.zf.animate",[o]).triggerHandler("finished.zf.animate",[o]))})}function u(n, e, t, o){if((e=a()(e).eq(0)).length){var i=n?c[0]:c[1],r=n?d[0]:d[1];u(),e.addClass(t).css("transition","none"),requestAnimationFrame(function(){e.addClass(i),n&&e.show()}),requestAnimationFrame(function(){e.css("transition","").addClass(r)}),e.one(Object(f.transitionend)(e),function(){n||e.hide();u(),o&&o.apply(e)})}function u(){e[0].style.transitionDuration=0,e.removeClass("".concat(i," ").concat(r," ").concat(t))}}},25:function(n, e, t){n.exports=t("./js/entries/plugins/foundation.util.motion.js")},jquery:function(n, e){n.exports=o}},i.c=u,i.d=function(n, e, t){i.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:t})},i.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i.t=function(e, n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)i.d(t,o,function(n){return e[n]}.bind(null,o));return t},i.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(e,"a",e),e},i.o=function(n, e){return Object.prototype.hasOwnProperty.call(n,e)},i.p="",i(i.s=25);function i(n){if(u[n])return u[n].exports;var e=u[n]={i:n,l:!1,exports:{}};return r[n].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var r,u});
  //# sourceMappingURL=foundation.util.motion.min.js.map
  