"use strict";Liferay.Loader.define("change-tracking-web$react-transition-group@4.4.1/cjs/ReplaceTransition",["module","exports","require","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","liferay!frontend-js-react-web$react-dom","./TransitionGroup"],(function(e,n,r){window;{n.__esModule=!0,n.default=void 0,a(r("liferay!frontend-js-react-web$prop-types"));var t=a(r("liferay!frontend-js-react-web$react")),o=a(r("liferay!frontend-js-react-web$react-dom")),i=a(r("./TransitionGroup"));function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var n,r;function a(){for(var n,r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return(n=e.call.apply(e,[this].concat(t))||this).handleEnter=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return n.handleLifecycle("onEnter",0,r)},n.handleEntering=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return n.handleLifecycle("onEntering",0,r)},n.handleEntered=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return n.handleLifecycle("onEntered",0,r)},n.handleExit=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return n.handleLifecycle("onExit",1,r)},n.handleExiting=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return n.handleLifecycle("onExiting",1,r)},n.handleExited=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return n.handleLifecycle("onExited",1,r)},n}r=e,(n=a).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r;var l=a.prototype;return l.handleLifecycle=function(e,n,r){var i,a=this.props.children,l=t.default.Children.toArray(a)[n];if(l.props[e]&&(i=l.props)[e].apply(i,r),this.props[e]){var d=l.props.nodeRef?void 0:o.default.findDOMNode(this);this.props[e](d)}},l.render=function(){var e=this.props,n=e.children,r=e.in,o=function(e,n){if(null==e)return{};var r,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)r=i[t],n.indexOf(r)>=0||(o[r]=e[r]);return o}(e,["children","in"]),a=t.default.Children.toArray(n),l=a[0],d=a[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,t.default.createElement(i.default,o,r?t.default.cloneElement(l,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):t.default.cloneElement(d,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(t.default.Component);l.propTypes={};var d=l;n.default=d,e.exports=n.default}}));
//# sourceMappingURL=ReplaceTransition.js.map