!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{var g;g="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,g.arrival=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;oduration&&(longest=node,duration=total)}),longest}var style=getComputedStyle,transitionend=require("transitionend-property");module.exports=function(els,callback,childSelector){childSelector=childSelector||"*",els=els.length?[].slice.call(els):[els];var target=getLongestTransitionElement(els,childSelector);return target?void target.addEventListener(transitionend,function end(){callback(),target.removeEventListener(transitionend,end)}):callback()}},{"transitionend-property":2}],2:[function(require,module,exports){var map={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"},el=document.createElement("p");for(var transition in map)if(null!=el.style[transition]){module.exports=map[transition];break}},{}]},{},[1])(1)});