!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.FlipMove=t(require("react"),require("react-dom")):e.FlipMove=t(e.React,e.ReactDOM)}(this,function(e,t){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=4)}([function(e,t,n){"use strict";function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};return Object.keys(e).forEach(function(i){-1===t.indexOf(i)&&(n[i]=e[i])}),n}function r(e,t){if(e===t)return!0;var n=!Array.isArray(e)||!Array.isArray(t),i=e.length!==t.length;return!n&&!i&&e.every(function(e,n){return e===t[n]})}Object.defineProperty(t,"__esModule",{value:!0}),t.omit=i,t.arraysEqual=r;t.isElementAnSFC=function(e){return!("string"==typeof e.type||e.type.prototype.isReactComponent)},t.hyphenate=function(e){var t={};return function(n){return t[n]||(t[n]=e(n)),t[n]}}(function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()})},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";function i(e){var t=!1;return function(){t||(console.warn(e),t=!0)}}Object.defineProperty(t,"__esModule",{value:!0});t.statelessFunctionalComponentSupplied=i("\n>> Error, via react-flip-move <<\n\nYou provided a stateless functional component as a child to <FlipMove>. Unfortunately, SFCs aren't supported, because Flip Move needs access to the backing instances via refs, and SFCs don't have a public instance that holds that info.\n\nPlease wrap your components in a native element (eg. <div>), or a non-functional component.\n"),t.primitiveNodeSupplied=i("\n>> Error, via react-flip-move <<\n\nYou provided a primitive (text or number) node as a child to <FlipMove>. Flip Move needs containers with unique keys to move children around.\n\nPlease wrap your value in a native element (eg. <span>), or a component.\n"),t.invalidTypeForTimingProp=function(e){return console.error("\n>> Error, via react-flip-move <<\n\nThe prop you provided for '"+e.prop+"' is invalid. It needs to be a positive integer, or a string that can be resolved to a number. The value you provided is '"+e.value+"'.\n\nAs a result,  the default value for this parameter will be used, which is '"+e.defaultValue+"'.\n")},t.deprecatedDisableAnimations=i("\n>> Warning, via react-flip-move <<\n\nThe 'disableAnimations' prop you provided is deprecated. Please switch to use 'disableAllAnimations'.\n\nThis will become a silent error in future versions of react-flip-move.\n"),t.invalidEnterLeavePreset=function(e){return console.error("\n>> Error, via react-flip-move <<\n\nThe enter/leave preset you provided is invalid. We don't currently have a '"+e.value+" preset.'\n\nAcceptable values are "+e.acceptableValues+". The default value of '"+e.defaultValue+"' will be used.\n")},t.parentNodePositionStatic=i("\n>> Warning, via react-flip-move <<\n\nWhen using \"wrapperless\" mode (by supplying 'typeName' of 'null'), strange things happen when the direct parent has the default \"static\" position.\n\nFlipMove has added 'position: relative' to this node, to ensure Flip Move animates correctly.\n\nTo avoid seeing this warning, simply apply a non-static position to that parent node.\n"),t.childIsDisabled=i("\n>> Warning, via react-flip-move <<\n\nOne or more of Flip Move's child elements have the html attribute 'disabled' set to true.\n\nPlease note that this will cause animations to break in Internet Explorer 11 and below. Either remove the disabled attribute or set 'animation' to false.\n")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(5),r=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=r.default,e.exports=t.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){return e.key||""}function s(e){return p.Children.toArray(e)}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(i=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&l.return&&l.return()}finally{if(r)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),p=n(1),f=n(2),h=i(f),m=n(3);n(6);var v=n(7),y=i(v),g=n(9),b=n(0),A=(0,g.whichTransitionEvent)(),P=!A,D=function(e){function t(){var e,n,i,a;r(this,t);for(var d=arguments.length,p=Array(d),f=0;f<d;f++)p[f]=arguments[f];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(p))),i.state={children:s(i.props?i.props.children:[]).map(function(e){return c({},e,{element:e,appearing:!0})})},i.childrenData={},i.parentData={domNode:null,boundingBox:null},i.heightPlaceholderData={domNode:null},i.remainingAnimations=0,i.childrenToAnimate=[],i.findDOMContainer=function(){var e=h.default.findDOMNode(i),t=e&&e.parentNode;t&&t instanceof HTMLElement&&("static"===window.getComputedStyle(t).position&&(t.style.position="relative",(0,m.parentNodePositionStatic)()),i.parentData.domNode=t)},i.runAnimation=function(){var e=i.state.children.filter(i.doesChildNeedToBeAnimated),t=e.map(function(e){return i.computeInitialStyles(e)});e.forEach(function(e,n){i.remainingAnimations+=1,i.childrenToAnimate.push(l(e)),i.animateChild(e,n,t[n])}),"function"==typeof i.props.onStartAll&&i.callChildrenHook(i.props.onStartAll)},i.doesChildNeedToBeAnimated=function(e){if(!l(e))return!1;var t=i.getChildData(l(e)),n=t.domNode,r=t.boundingBox,o=i.parentData.boundingBox;if(!n)return!1;var a=i.props,s=a.appearAnimation,c=a.enterAnimation,d=a.leaveAnimation,p=a.getPosition,f=e.appearing&&s,h=e.entering&&c,m=e.leaving&&d;if(f||h||m)return!0;var v=(0,g.getPositionDelta)({childDomNode:n,childBoundingBox:r,parentBoundingBox:o,getPosition:p}),y=u(v,2),b=y[0],A=y[1];return 0!==b||0!==A},a=n,o(i,a)}return a(t,e),d(t,[{key:"componentDidMount",value:function(){null===this.props.typeName&&this.findDOMContainer(),this.props.appearAnimation&&!this.isAnimationDisabled(this.props)&&(this.prepForAnimation(),this.runAnimation())}},{key:"componentWillReceiveProps",value:function(e){this.updateBoundingBoxCaches();var t=s(e.children);this.setState({children:this.isAnimationDisabled(e)?t.map(function(e){return c({},e,{element:e})}):this.calculateNextSetOfChildren(t)})}},{key:"componentDidUpdate",value:function(e){null===this.props.typeName&&this.findDOMContainer();var t=s(this.props.children).map(function(e){return e.key}),n=s(e.children).map(function(e){return e.key});!(0,b.arraysEqual)(t,n)&&!this.isAnimationDisabled(this.props)&&(this.prepForAnimation(),this.runAnimation())}},{key:"calculateNextSetOfChildren",value:function(e){var t=this,n=e.map(function(e){var n=t.findChildByKey(e.key),i=!n||n.leaving;return c({},e,{element:e,entering:i})}),i=0;return this.state.children.forEach(function(r,o){if(!e.find(function(e){return e.key===l(r)})&&t.props.leaveAnimation){var a=c({},r,{leaving:!0}),s=o+i;n.splice(s,0,a),i+=1}}),n}},{key:"prepForAnimation",value:function(){var e=this,t=this.props,n=t.leaveAnimation,i=t.maintainContainerHeight,r=t.getPosition;if(n){this.state.children.filter(function(e){return e.leaving}).forEach(function(t){var n=e.getChildData(l(t));!e.isAnimationDisabled(e.props)&&n.domNode&&n.domNode.disabled&&(0,m.childIsDisabled)(),n.boundingBox&&(0,g.removeNodeFromDOMFlow)(n,e.props.verticalAlignment)}),i&&this.heightPlaceholderData.domNode&&(0,g.updateHeightPlaceholder)({domNode:this.heightPlaceholderData.domNode,parentData:this.parentData,getPosition:r})}this.state.children.forEach(function(t){var n=e.getChildData(l(t)),i=n.domNode;i&&(t.entering||t.leaving||(0,g.applyStylesToDOMNode)({domNode:i,styles:{transition:""}}))})}},{key:"animateChild",value:function(e,t,n){var i=this,r=this.getChildData(l(e)),o=r.domNode;o&&((0,g.applyStylesToDOMNode)({domNode:o,styles:n}),this.props.onStart&&this.props.onStart(e,o),requestAnimationFrame(function(){requestAnimationFrame(function(){var n={transition:(0,g.createTransitionString)(t,i.props),transform:"",opacity:""};e.appearing&&i.props.appearAnimation?n=c({},n,i.props.appearAnimation.to):e.entering&&i.props.enterAnimation?n=c({},n,i.props.enterAnimation.to):e.leaving&&i.props.leaveAnimation&&(n=c({},n,i.props.leaveAnimation.to)),(0,g.applyStylesToDOMNode)({domNode:o,styles:n})})}),this.bindTransitionEndHandler(e))}},{key:"bindTransitionEndHandler",value:function(e){var t=this,n=this.getChildData(l(e)),i=n.domNode;if(i){var r=function n(r){r.target===i&&(i.style.transition="",t.triggerFinishHooks(e,i),i.removeEventListener(A,n),e.leaving&&t.removeChildData(l(e)))};i.addEventListener(A,r)}}},{key:"triggerFinishHooks",value:function(e,t){var n=this;if(this.props.onFinish&&this.props.onFinish(e,t),this.remainingAnimations-=1,0===this.remainingAnimations){var i=this.state.children.filter(function(e){return!e.leaving}).map(function(e){return c({},e,{element:e.element,appearing:!1,entering:!1})});this.setState({children:i},function(){"function"==typeof n.props.onFinishAll&&n.callChildrenHook(n.props.onFinishAll),n.childrenToAnimate=[]}),this.heightPlaceholderData.domNode&&(this.heightPlaceholderData.domNode.style.height="0")}}},{key:"callChildrenHook",value:function(e){var t=this,n=[],i=[];this.childrenToAnimate.forEach(function(e){var r=t.findChildByKey(e);r&&(n.push(r),t.hasChildData(e)&&i.push(t.getChildData(e).domNode))}),e(n,i)}},{key:"updateBoundingBoxCaches",value:function(){var e=this,t=this.parentData.domNode;if(t){this.parentData.boundingBox=this.props.getPosition(t);var n=[];this.state.children.forEach(function(i){var r=l(i);if(!r)return void n.push(null);if(!e.hasChildData(r))return void n.push(null);var o=e.getChildData(r);if(!o.domNode||!i)return void n.push(null);n.push((0,g.getRelativeBoundingBox)({childDomNode:o.domNode,parentDomNode:t,getPosition:e.props.getPosition}))}),this.state.children.forEach(function(t,i){var r=l(t),o=n[i];r&&e.setChildData(r,{boundingBox:o})})}}},{key:"computeInitialStyles",value:function(e){if(e.appearing)return this.props.appearAnimation?this.props.appearAnimation.from:{};if(e.entering)return this.props.enterAnimation?c({position:"",top:"",left:"",right:"",bottom:""},this.props.enterAnimation.from):{};if(e.leaving)return this.props.leaveAnimation?this.props.leaveAnimation.from:{};var t=this.getChildData(l(e)),n=t.domNode,i=t.boundingBox,r=this.parentData.boundingBox;if(!n)return{};var o=(0,g.getPositionDelta)({childDomNode:n,childBoundingBox:i,parentBoundingBox:r,getPosition:this.props.getPosition}),a=u(o,2);return{transform:"translate("+a[0]+"px, "+a[1]+"px)"}}},{key:"isAnimationDisabled",value:function(e){return P||e.disableAllAnimations||0===e.duration&&0===e.delay&&0===e.staggerDurationBy&&0===e.staggerDelayBy}},{key:"findChildByKey",value:function(e){return this.state.children.find(function(t){return l(t)===e})}},{key:"hasChildData",value:function(e){return Object.prototype.hasOwnProperty.call(this.childrenData,e)}},{key:"getChildData",value:function(e){return this.hasChildData(e)?this.childrenData[e]:{}}},{key:"setChildData",value:function(e,t){this.childrenData[e]=c({},this.getChildData(e),t)}},{key:"removeChildData",value:function(e){delete this.childrenData[e],this.setState(function(t){return c({},t,{children:t.children.filter(function(t){return t.element.key!==e})})})}},{key:"createHeightPlaceholder",value:function(){var e=this,t=this.props.typeName,n="ul"===t||"ol"===t,i=n?"li":"div";return(0,p.createElement)(i,{key:"height-placeholder",ref:function(t){e.heightPlaceholderData.domNode=t},style:{visibility:"hidden",height:0}})}},{key:"childrenWithRefs",value:function(){var e=this;return this.state.children.map(function(t){return(0,p.cloneElement)(t.element,{ref:function(n){if(n){var i=(0,g.getNativeNode)(n);e.setChildData(l(t),{domNode:i})}}})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.typeName,i=t.delegated,r=t.leaveAnimation,o=t.maintainContainerHeight,a=this.childrenWithRefs();if(r&&o&&a.push(this.createHeightPlaceholder()),!n)return a;var l=c({},i,{children:a,ref:function(t){e.parentData.domNode=t}});return(0,p.createElement)(n,l)}}]),t}(p.Component);t.default=(0,y.default)(D),e.exports=t.default},function(e,t,n){"use strict";Array.prototype.find||(Array.prototype.find=function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t=Object(this),n=t.length>>>0,i=arguments[1],r=void 0,o=0;o<n;o++)if(r=t[o],e.call(i,r,o,t))return r}),Array.prototype.every||(Array.prototype.every=function(e,t){var n,i;if(null==this)throw new TypeError("this is null or not defined");var r=Object(this),o=r.length>>>0;if("function"!=typeof e)throw new TypeError;for(arguments.length>1&&(n=t),i=0;i<o;){var a;if(i in r){a=r[i];if(!e.call(n,a,i,r))return!1}i++}return!0}),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)})},function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(){try{return!0}catch(e){return!1}}function l(e){var t,n;return n=t=function(t){function n(){return i(this,n),r(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return o(n,t),c(n,[{key:"checkChildren",value:function(e){a()||d.Children.forEach(e,function(e){if(null!=e&&"boolean"!=typeof e)return"object"!==(void 0===e?"undefined":u(e))?void(0,f.primitiveNodeSupplied)():void((0,m.isElementAnSFC)(e)&&null!=e.key&&(0,f.statelessFunctionalComponentSupplied)())})}},{key:"convertProps",value:function(e){var t={children:e.children,easing:e.easing,onStart:e.onStart,onFinish:e.onFinish,onStartAll:e.onStartAll,onFinishAll:e.onFinishAll,typeName:e.typeName,disableAllAnimations:e.disableAllAnimations,getPosition:e.getPosition,maintainContainerHeight:e.maintainContainerHeight,verticalAlignment:e.verticalAlignment,duration:this.convertTimingProp("duration"),delay:this.convertTimingProp("delay"),staggerDurationBy:this.convertTimingProp("staggerDurationBy"),staggerDelayBy:this.convertTimingProp("staggerDelayBy"),appearAnimation:this.convertAnimationProp(e.appearAnimation,h.appearPresets),enterAnimation:this.convertAnimationProp(e.enterAnimation,h.enterPresets),leaveAnimation:this.convertAnimationProp(e.leaveAnimation,h.leavePresets),delegated:{}};this.checkChildren(t.children),void 0!==e.disableAnimations&&(t.disableAllAnimations=e.disableAnimations,a()||(0,f.deprecatedDisableAnimations)());var n=Object.keys(t),i=(0,m.omit)(this.props,n);return i.style=s({position:"relative"},i.style),t.delegated=i,t}},{key:"convertTimingProp",value:function(e){var t=this.props[e],i="number"==typeof t?t:parseInt(t,10);if(isNaN(i)){var r=n.defaultProps[e];return a()||(0,f.invalidTypeForTimingProp)({prop:e,value:t,defaultValue:r}),r}return i}},{key:"convertAnimationProp",value:function(e,t){switch(void 0===e?"undefined":u(e)){case"boolean":return t[e?h.defaultPreset:h.disablePreset];case"string":var n=Object.keys(t);return-1===n.indexOf(e)?(a()||(0,f.invalidEnterLeavePreset)({value:e,acceptableValues:n.filter(function(e){return-1===e.indexOf("accordian")}).join(", "),defaultValue:h.defaultPreset}),t[h.defaultPreset]):t[e];default:return e}}},{key:"render",value:function(){return p.default.createElement(e,this.convertProps(this.props))}}]),n}(d.Component),t.defaultProps={easing:"ease-in-out",duration:350,delay:0,staggerDurationBy:0,staggerDelayBy:0,typeName:"div",enterAnimation:h.defaultPreset,leaveAnimation:h.defaultPreset,disableAllAnimations:!1,getPosition:function(e){return e.getBoundingClientRect()},maintainContainerHeight:!1,verticalAlignment:"top"},n}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),d=n(1),p=function(e){return e&&e.__esModule?e:{default:e}}(d),f=n(3),h=n(8),m=n(0);t.default=l,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=t.enterPresets={elevator:{from:{transform:"scale(0)",opacity:"0"},to:{transform:"",opacity:""}},fade:{from:{opacity:"0"},to:{opacity:""}},accordionVertical:{from:{transform:"scaleY(0)",transformOrigin:"center top"},to:{transform:"",transformOrigin:"center top"}},accordionHorizontal:{from:{transform:"scaleX(0)",transformOrigin:"left center"},to:{transform:"",transformOrigin:"left center"}},none:null},r=t.leavePresets={elevator:{from:{transform:"scale(1)",opacity:"1"},to:{transform:"scale(0)",opacity:"0"}},fade:{from:{opacity:"1"},to:{opacity:"0"}},accordionVertical:{from:{transform:"scaleY(1)",transformOrigin:"center top"},to:{transform:"scaleY(0)",transformOrigin:"center top"}},accordionHorizontal:{from:{transform:"scaleX(1)",transformOrigin:"left center"},to:{transform:"scaleX(0)",transformOrigin:"left center"}},none:null};t.appearPresets=i;i.accordianVertical=i.accordionVertical,i.accordianHorizontal=i.accordionHorizontal,r.accordianVertical=r.accordionVertical,r.accordianHorizontal=r.accordionHorizontal;t.defaultPreset="elevator",t.disablePreset="none"},function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){var t=e.domNode,n=e.styles;Object.keys(n).forEach(function(e){t.style.setProperty((0,s.hyphenate)(e),n[e])})}function o(){var e={transition:"transitionend","-o-transition":"oTransitionEnd","-moz-transition":"transitionend","-webkit-transition":"webkitTransitionEnd"};if("undefined"==typeof document)return"";var t=document.createElement("fakeelement"),n=Object.keys(e).find(function(e){return void 0!==t.style.getPropertyValue(e)});return n?e[n]:""}Object.defineProperty(t,"__esModule",{value:!0}),t.createTransitionString=t.getNativeNode=t.updateHeightPlaceholder=t.removeNodeFromDOMFlow=t.getPositionDelta=t.getRelativeBoundingBox=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};t.applyStylesToDOMNode=r,t.whichTransitionEvent=o;var l=n(2),s=n(0);t.getRelativeBoundingBox=function(e){var t=e.childDomNode,n=e.parentDomNode,i=e.getPosition,r=i(n),o=i(t),a=o.top,l=o.left,s=o.right,u=o.bottom,c=o.width,d=o.height;return{top:a-r.top,left:l-r.left,right:r.right-s,bottom:r.bottom-u,width:c,height:d}},t.getPositionDelta=function(e){var t=e.childDomNode,n=e.childBoundingBox,i=e.parentBoundingBox,r=e.getPosition,o={top:0,left:0,right:0,bottom:0,height:0,width:0},a=n||o,l=i||o,s=r(t),u={top:s.top-l.top,left:s.left-l.left};return[a.left-u.left,a.top-u.top]},t.removeNodeFromDOMFlow=function(e,t){var n=e.domNode,o=e.boundingBox;if(n&&o){var l=window.getComputedStyle(n),s=["margin-top","margin-left","margin-right"],u=s.reduce(function(e,t){var n=l.getPropertyValue(t);return a({},e,i({},t,Number(n.replace("px",""))))},{});r({domNode:n,styles:{position:"absolute",top:("bottom"===t?o.top-o.height:o.top)-u["margin-top"]+"px",left:o.left-u["margin-left"]+"px",right:o.right-u["margin-right"]+"px"}})}},t.updateHeightPlaceholder=function(e){var t=e.domNode,n=e.parentData,i=e.getPosition,o=n.domNode,a=n.boundingBox;if(o&&a){r({domNode:t,styles:{height:"0"}});var l=a.height,s=i(o).height,u=l-s;r({domNode:t,styles:{height:u>0?u+"px":"0"}})}},t.getNativeNode=function(e){if("undefined"==typeof HTMLElement)return null;if(e instanceof HTMLElement)return e;var t=(0,l.findDOMNode)(e);return t&&t.nodeType===Node.TEXT_NODE?null:t},t.createTransitionString=function(e,t){var n=t.delay,i=t.duration,r=t.staggerDurationBy,o=t.staggerDelayBy,a=t.easing;return n+=e*o,i+=e*r,["transform","opacity"].map(function(e){return e+" "+i+"ms "+a+" "+n+"ms"}).join(", ")}}])});