Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-react-popup

Package Overview
Dependencies
Maintainers
1
Versions
1235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-react-popup - npm Package Compare versions

Comparing version 0.5.1-dev.201804061416 to 0.5.1

2

dist/cdn/js/kendo-react-popup.js

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom"),require("react-transition-group"),require("react-dom/server")):"function"==typeof define&&define.amd?define(["react","react-dom","react-transition-group","react-dom/server"],e):"object"==typeof exports?exports.KendoReactPopup=e(require("react"),require("react-dom"),require("react-transition-group"),require("react-dom/server")):t.KendoReactPopup=e(t.React,t.ReactDOM,t.ReactTransitionGroup,t.ReactDOMServer)}(window,function(t,e,n,o){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=27)}([function(t,e,n){t.exports=n(19)()},function(e,n){e.exports=t},function(t,e,n){"use strict";n.r(e);var o,i=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.filter(function(t){return!0!==t&&!!t}).map(function(t){return Array.isArray(t)?i.apply(void 0,t):"object"==typeof t?Object.keys(t).map(function(e,n){return t[n]||t[e]&&e||null}).filter(function(t){return null!==t}).join(" "):t}).filter(function(t){return!!t}).join(" ")},r=function(){var t,e,n="";for(t=0;t<32;t++)e=16*Math.random()|0,8!==t&&12!==t&&16!==t&&20!==t||(n+="-"),n+=(12===t?4:16===t?3&e|8:e).toString(16);return n},a=function(){},l=n(1),c=n(4),p=(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e){var n=t.call(this,e)||this;return n.handleFocus=function(t){n.setState({focused:!0})},n.handleBlur=function(t){n.setState({focused:!1})},n.state={focused:!1},n}return p(e,t),e.prototype.render=function(){var t=this.props,e=t.label,n=t.id,o=t.className,r=t.value,a=t.placeholder,c=t.valid,p=t.style,s=i({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(r||a),"k-state-invalid":!c&&void 0!==c},o);return l.createElement("span",{className:s,onFocus:this.handleFocus,onBlur:this.handleBlur,style:p},this.props.children,e?n?l.createElement("label",{htmlFor:n,className:"k-label"},e):l.createElement("span",{className:"k-label"},e):null)},e.propTypes={label:c.string,id:c.string,value:c.string,placeholder:c.string,valid:c.bool},e}(l.Component);n.d(e,"classNames",function(){return i}),n.d(e,"guid",function(){return r}),n.d(e,"noop",function(){return a}),n.d(e,"FloatingLabel",function(){return s})},function(t,n){t.exports=e},function(t,e,n){t.exports=n(15)()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(7);e.eitherRect=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},e.replaceOffset=function(t,e){return e?{height:t.height,left:e.left,top:e.top,width:t.width}:t},e.removeStackingOffset=function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t},e.isDifferentOffset=function(t,e){var n=t.left,o=t.top,i=e.left,r=e.top;return Math.abs(n-i)>=1||Math.abs(o-r)>=1},e.isDocumentAvailable=function(){return"undefined"!=typeof document&&!!document.body},e.isWindowAvailable=function(){return"undefined"!=typeof window},e.hasBoundingRect=function(t){return!!t.getBoundingClientRect},e.OVERFLOW_REGEXP=/auto|scroll/;var i=function(t){var e=window.getComputedStyle(t);return""+e.overflow+e.overflowX+e.overflowY};e.scrollableParents=function(t){var n=[];if(!e.isDocumentAvailable()||!e.isWindowAvailable())return n;for(var o=t.parentElement;o;)e.OVERFLOW_REGEXP.test(i(o))&&n.push(o),o=o.parentElement;return n.push(window),n},e.FRAME_DURATION=1e3/60,e.hasRelativeStackingContext=function(){if(!e.isDocumentAvailable())return!1;var t=document.createElement("div");t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML='<div style="position: fixed; top: 10px;">child</div>',document.body.appendChild(t);var n=10!==t.children[0].getBoundingClientRect().top;return document.body.removeChild(t),n},e.HAS_RELATIVE_STACKING_CONTEXT=e.hasRelativeStackingContext(),e.zIndex=function(t,n){if(!t||!e.isDocumentAvailable()||!e.isWindowAvailable())return null;var i=o.siblingContainer(t,n);if(!i)return null;var r=[t].concat(o.parents(t,i)).reduce(function(t,e){var n=e.style.zIndex||window.getComputedStyle(e).zIndex,o=parseInt(n,10);return o>t?o:t},0);return r?r+1:null},e.CollisionType={fit:"fit",flip:"flip"},e.AlignPoint={left:"left",center:"center",right:"right",bottom:"bottom",top:"top"},e.throttle=function(t,e,n){var o,i,r,a;void 0===n&&(n={});var l=0;n=n||{};var c=function(){l=!1===n.leading?0:(new Date).getTime(),o=null,a=t.apply(i,r),o||(i=r=null)};return function(){var p=(new Date).getTime();l||!1!==n.leading||(l=p);var s=e-(p-l);return i=this,r=arguments,s<=0||s>e?(o&&(clearTimeout(o),o=null),l=p,a=t.apply(i,r),o||(i=r=null)):o||!1===n.trailing||(o=setTimeout(c,s)),a}}},function(t,e){t.exports=n},function(t,e,n){"use strict";n.r(e);var o={bottom:"bottom",center:"center",middle:"middle",left:"left",right:"right",top:"top"},i=function(t){var e=t.anchorRect,n=t.anchorAlign,i=t.elementRect,r=t.elementAlign,a=t.margin;void 0===a&&(a={});var l=n.horizontal,c=n.vertical,p=r.horizontal,s=r.vertical,u=a.horizontal||0,f=a.vertical||0,d=e.top,h=e.left;return c===o.bottom&&(d+=e.height),c!==o.center&&c!==o.middle||(d+=Math.round(e.height/2)),s===o.bottom&&(d-=i.height,f*=-1),s!==o.center&&s!==o.middle||(d-=Math.round(i.height/2),f*=-1),l===o.right&&(h+=e.width),l!==o.center&&l!==o.middle||(h+=Math.round(e.width/2)),p===o.right&&(h-=i.width,u*=-1),p!==o.center&&p!==o.middle||(h-=Math.round(i.width/2),u*=-1),{top:d+f,left:h+u}};function r(t,e){return{top:t.top+e.y,left:t.left+e.x,height:t.height,width:t.width}}function a(t,e,n){var o=t.top,i=t.left;return n&&(i=0,o=0),{top:o+e.top,left:i+e.left,height:t.height,width:t.width}}var l=function(t){if(!t.getBoundingClientRect)return{bottom:t.innerHeight,left:0,right:t.innerWidth,top:0};var e=t.getBoundingClientRect();return{bottom:e.bottom,left:e.left,right:e.right,top:e.top}},c=function(t){return t.ownerDocument.documentElement},p=function(t){for(var e=t.offsetParent;e&&"static"===e.style.position;)e=e.offsetParent;return e||c(t)},s=function(t){return p(t)===t.ownerDocument.body},u=function(t){var e=t.getBoundingClientRect(),n=e.left,o=e.top;return e.height||e.width||(e=function(t){var e=t.style,n=e.display,o=e.left,i=e.position;t.style.display="",t.style.left="-10000px",t.style.position="absolute";var r=t.getBoundingClientRect();return t.style.display=n,t.style.left=o,t.style.position=i,r}(t)),{top:o,left:n,height:e.height,width:e.width}},f=function(t,e){for(var n=[],o=t.parentNode;o&&(n.push(o),o!==e);)o=o.parentNode;return n},d=function(t){return t.ownerDocument.defaultView};function h(t){var e=c(t),n=d(t);return{x:n.pageXOffset||e.scrollLeft||0,y:n.pageYOffset||e.scrollTop||0}}var m=function(t){return t===(t.ownerDocument||{}).body?h(t):{x:t.scrollLeft,y:t.scrollTop}};function v(t){var e=p(t);return e?m(e):{x:0,y:0}}var y=function(t,e){var n=d(t),o=n.getComputedStyle(t),i=u(t),r=e||p(t),a=t.ownerDocument,l=r!==a.body&&r!==a.documentElement,c={top:0,left:0};if("fixed"!==o.position&&l){var s=n.getComputedStyle(r);(c=u(r)).top+=parseInt(s.borderTopWidth,10),c.left+=parseInt(s.borderLeftWidth,10)}return{top:i.top-c.top-parseInt(o.marginTop,10),left:i.left-c.left-parseInt(o.marginLeft,10),height:i.height,width:i.width}},g=function(t,e){var n=e?p(e):null,o=y(t,n),i=o.top,r=o.left,a=o.height,l=o.width,c=function(t,e){return t?m(t):v(e)}(n,t),s=c.x;return{top:i+c.y,left:r+s,height:a,width:l}};function x(t,e){return{top:t.top-e.y,left:t.left-e.x,height:t.height,width:t.width}}var O={fit:"fit",flip:"flip"},b=function(t,e,n){var o=0;return t+e>n&&(o=n-(t+e)),t<0&&(o=-t),o},w=function(t){var e=t.offset,n=t.size,i=t.anchorSize,r=t.viewPortSize,a=t.anchorAlignPoint,l=t.elementAlignPoint,c=t.margin,p=0;return l!==a&&!(l===o.center||l===o.middle)&&!(a===o.center||a===o.middle)&&e>-1&&(e+n>r&&(p+=-(i+n+2*c)),e+p<0&&(p=0)),p},E=function(t){var e=t.anchorRect,n=t.anchorAlign,o=t.elementRect,i=t.elementAlign,r=t.collisions,a=t.viewPort,l=t.margin;void 0===l&&(l={});var c=o.top,p=o.left,s=o.height,u=o.width,f=a.height,d=a.width,h=l.horizontal||0,m=l.vertical||0,v=0,y=0,g=r.horizontal===O.flip,x=r.vertical===O.flip;r.vertical===O.fit&&(y+=b(c,s,f)),r.horizontal===O.fit&&(v+=b(p,u,d)),x&&(y+=w({margin:m,offset:c,size:s,anchorSize:e.height,viewPortSize:f,anchorAlignPoint:n.vertical,elementAlignPoint:i.vertical})),g&&(v+=w({margin:h,offset:p,size:u,anchorSize:e.width,viewPortSize:d,anchorAlignPoint:n.horizontal,elementAlignPoint:i.horizontal}));var E=g&&0!==v,_=x&&0!==y;return{flipped:E||_,flip:{horizontal:E,vertical:_},offset:{left:v,top:y}}},_=function(t){for(var e=[],n=t.parentNode.firstElementChild;n;)n!==t&&e.push(n),n=n.nextElementSibling;return e},P=function(t,e){for(var n,o,i=f(t),r=e;r&&(n=_(r),!(o=i.reduce(function(t,e){return t.concat(n.filter(function(t){return t===e}))},[])[0]));)r=r.parentElement;return o};function k(t){var e=d(t);return{height:e.innerHeight,width:e.innerWidth}}n.d(e,"align",function(){return i}),n.d(e,"addScroll",function(){return r}),n.d(e,"applyLocationOffset",function(){return a}),n.d(e,"boundingOffset",function(){return l}),n.d(e,"isBodyOffset",function(){return s}),n.d(e,"offsetParent",function(){return p}),n.d(e,"offset",function(){return u}),n.d(e,"parents",function(){return f}),n.d(e,"parentScrollPosition",function(){return v}),n.d(e,"position",function(){return y}),n.d(e,"positionWithScroll",function(){return g}),n.d(e,"removeScroll",function(){return x}),n.d(e,"restrictToView",function(){return E}),n.d(e,"scrollPosition",function(){return h}),n.d(e,"siblingContainer",function(){return P}),n.d(e,"siblings",function(){return _}),n.d(e,"getDocumentElement",function(){return c}),n.d(e,"getWindow",function(){return d}),n.d(e,"getWindowViewPort",function(){return k}),n.d(e,"AlignPoint",function(){return o}),n.d(e,"Collision",function(){return O})},function(t,e,n){"use strict";n.r(e);var o,i=n(1),r=n(0),a=n(2),l=n(6),c={outerHeight:function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop),o=parseFloat(e.marginBottom);return t.offsetHeight+n+o},outerWidth:function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginLeft),o=parseFloat(e.marginRight);return t.offsetWidth+n+o},styles:{"animation-container":"k-animation-container","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"}},p=(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},u=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},f=c.styles,d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.render=function(){var t=this,e=this.props,n=e.children,o=e.style,r=e.appear,c=e.enter,p=e.exit,d=e.transitionName,h=e.transitionEnterDuration,m=e.transitionExitDuration,v=e.className,y=e.onEnter,g=e.onEntering,x=e.onEntered,O=e.onExit,b=e.onExiting,w=e.onExited,E=e.mountOnEnter,_=e.unmountOnExit,P=e.animationEnteringStyle,k=e.animationEnteredStyle,S=e.animationExitingStyle,C=e.animationExitedStyle,R=u(e,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),T=Object(a.classNames)(v,f["child-animation-container"]),A=s({transitionDelay:"0ms"},o),j={entering:s({transitionDuration:h+"ms"},P),entered:s({},k),exiting:s({transitionDuration:m+"ms"},S),exited:s({},C)},z={in:this.props.in,appear:r,enter:c,exit:p,mountOnEnter:E,unmountOnExit:_,timeout:{enter:h,exit:m},onEnter:function(e){y&&y.call(void 0,{animatedElement:e,target:t})},onEntering:function(e){g&&g.call(void 0,{animatedElement:e,target:t})},onEntered:function(e){x&&x.call(void 0,{animatedElement:e,target:t})},onExit:function(e){O&&O.call(void 0,{animatedElement:e,target:t})},onExiting:function(e){b&&b.call(void 0,{animatedElement:e,target:t})},onExited:function(e){w&&w.call(void 0,{animatedElement:e,target:t})},classNames:{appear:f[d+"-appear"]||d+"-appear",appearActive:f[d+"-appear-active"]||d+"-appear-active",enter:f[d+"-enter"]||d+"-enter",enterActive:f[d+"-enter-active"]||d+"-enter-active",exit:f[d+"-exit"]||d+"-exit",exitActive:f[d+"-exit-active"]||d+"-exit-active"}};return i.createElement(l.CSSTransition,s({},z,R),function(e){return i.createElement("div",{style:s({},A,j[e]),className:T,ref:function(e){t._element=e}},n)})},e.propTypes={in:r.bool,children:r.oneOfType([r.arrayOf(r.node),r.node]),transitionName:r.string.isRequired,className:r.string,appear:r.bool,enter:r.bool,exit:r.bool,transitionEnterDuration:r.number.isRequired,transitionExitDuration:r.number.isRequired,mountOnEnter:r.bool,unmountOnExit:r.bool,animationEnteringStyle:r.object,animationEnteredStyle:r.object,animationExitingStyle:r.object,animationExitedStyle:r.object},e.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:a.noop,onEntering:a.noop,onEntered:a.noop,onExit:a.noop,onExiting:a.noop,onExited:a.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},e}(i.Component),h=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},v=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},y=c.styles,g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=t.childFactory,o=t.className,r=t.component,c=t.id,p=t.style,s=t.stackChildren,u=t.componentChildClassName,f=t.componentChildStyle,h=v(t,["children","childFactory","className","component","id","style","stackChildren","componentChildClassName","componentChildStyle"]),g={childFactory:n,className:Object(a.classNames)(y["animation-container"],o),component:r,id:c,style:p},x=m({position:s?"absolute":"initial"},f),O=i.Children.map(e,function(t){return i.createElement(d,m({},h,{style:x,className:u}),t)});return i.createElement(l.TransitionGroup,m({},g),O)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,component:r.string,id:r.string,style:r.any,transitionName:r.string.isRequired,appear:r.bool.isRequired,enter:r.bool.isRequired,exit:r.bool.isRequired,transitionEnterDuration:r.number.isRequired,transitionExitDuration:r.number.isRequired},e.defaultProps={component:"div"},e}(i.Component),x=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),O=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},b=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return x(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=b(t,["children"]);return i.createElement(g,O({},{transitionName:"fade"},n),e)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,component:r.string,id:r.string,style:r.any},e.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},e}(i.Component),E=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),_=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},P=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return E(e,t),e.prototype.render=function(){var t=this.props,e=t.direction,n=t.children,o=P(t,["direction","children"]),r={transitionName:"expand-"+e};return i.createElement(g,_({},r,o),n)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,direction:r.oneOf(["horizontal","vertical"]),component:r.string,id:r.string,style:r.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},e}(i.Component),S=n(3),C=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),R=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},T=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},A=function(t){function e(e){var n=t.call(this,e)||this;return n.componentWillEnter=function(t){var e=n.props.onEnter;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.componentDidEnter=function(t){var e=n.props.onEntered;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.updateContainerDimensions=function(t){void 0===t&&(t=a.noop);var e,o=S.findDOMNode(n).firstChild;n.props.stackChildren&&o&&(e={height:c.outerHeight(o)+"px",width:c.outerWidth(o)+"px"});n.setState({style:e},t)},n.state={style:null},n}return C(e,t),e.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},e.prototype.componentDidMount=function(){this.updateContainerDimensions()},e.prototype.render=function(){var t=this.props,e=t.children,n=t.direction,o=t.style,r=T(t,["children","direction","style"]);return i.createElement(g,R({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:R({style:o},this.state.style)}),e)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,direction:r.oneOf(["up","down","left","right"]),component:r.string,id:r.string,style:r.any,stackChildren:r.bool},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},e}(i.Component),j=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),z=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},D=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return j(e,t),e.prototype.render=function(){var t=this.props,e=t.direction,n=t.children,o=D(t,["direction","children"]),r={transitionName:"slide-"+e};return i.createElement(g,z({},r,o),n)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,direction:r.oneOf(["up","down","left","right"]),component:r.string,id:r.string,style:r.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},e}(i.Component),W=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),F=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},M=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},I=function(t){function e(e){var n=t.call(this,e)||this;return n.componentWillEnter=function(t){var e=n.props.onEnter;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.componentDidEnter=function(t){var e=n.props.onEntered;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.updateContainerDimensions=function(t){void 0===t&&(t=a.noop);var e,o=S.findDOMNode(n).firstChild;n.props.stackChildren&&o&&(e={height:c.outerHeight(o)+"px",width:c.outerWidth(o)+"px"});n.setState({style:e},t)},n.state={style:null},n}return W(e,t),e.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},e.prototype.componentDidMount=function(){this.updateContainerDimensions()},e.prototype.render=function(){var t=this.props,e=t.children,n=t.direction,o=t.style,r=M(t,["children","direction","style"]);return i.createElement(g,F({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:F({style:o},this.state.style)}),e)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,direction:r.oneOf(["in","out"]),component:r.string,id:r.string,style:r.any,stackChildren:r.bool},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},e}(i.Component),L=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),H=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},V=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},q=function(t){function e(e){var n=t.call(this,e)||this;return n.componentWillEnter=function(t){var e=n.props.onEnter;n.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},n.componentIsEntering=function(t){var e=n.props.onEntering;n.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},n.componentWillExit=function(t){var e=n.props.onExit;n.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},n.updateContainerDimensions=function(t,e){void 0===e&&(e=a.noop);var o=S.findDOMNode(t).firstChild;if(o){var i=c.outerHeight(o),r=c.outerWidth(o);n.setState({maxHeight:i,maxWidth:r},e)}},n.state={maxHeight:void 0,maxWidth:void 0},n}return L(e,t),e.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(S.findDOMNode(this),a.noop)},e.prototype.render=function(){var t,e=this.props,n=e.direction,o=e.children,r=e.childFactory,a=V(e,["direction","children","childFactory"]),l=this.state,c=l.maxHeight,p=l.maxWidth,s={maxHeight:(t="vertical"===n?{maxHeight:c?c+"px":null}:{maxWidth:p?p+"px":null}).maxHeight,maxWidth:t.maxWidth};return i.createElement(g,H({},a,{childFactory:r||function(e){return e.props.in?e:i.cloneElement(e,H({},e.props,{style:H({},e.props.style,{maxHeight:t.maxHeight,maxWidth:t.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:s,transitionName:"reveal-"+n}),o)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,direction:r.oneOf(["horizontal","vertical"]),component:r.string,id:r.string,style:r.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},e}(i.Component);n.d(e,"Animation",function(){return g}),n.d(e,"AnimationChild",function(){return d}),n.d(e,"Fade",function(){return w}),n.d(e,"Expand",function(){return k}),n.d(e,"Push",function(){return A}),n.d(e,"Slide",function(){return N}),n.d(e,"Zoom",function(){return I}),n.d(e,"Reveal",function(){return q})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(5),i=function(){function t(t){this._dom=t}return t.prototype.positionElement=function(t){var e=t.anchor,n=t.currentLocation,i=t.element,r=t.anchorAlign,a=t.elementAlign,l=t.collisions,c=this._dom,p=t.viewPort||c.stackingElementViewPort(i)||c.windowViewPort(i),s=o.eitherRect(c.offset(e),n),u=o.replaceOffset(c.staticOffset(i),n),f=this.elementRect(i,u),d=c.restrictToView({anchorAlign:r,anchorRect:s,collisions:l,elementAlign:a,elementRect:f,viewPort:p});return{flipped:d.flipped,offset:c.addOffset(u,d.offset)}},t.prototype.elementRect=function(t,e){return this._dom.removeScroll(e,this._dom.scrollPosition(t))},t}();e.PositionService=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(7),i=n(5),r=function(){function t(){}return t.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},t.prototype.align=function(t){return o.align(t)},t.prototype.boundingOffset=function(t){return o.boundingOffset(t)},t.prototype.getWindow=function(){return i.isWindowAvailable()?window:null},t.prototype.isBodyOffset=function(t){return o.isBodyOffset(t)},t.prototype.hasOffsetParent=function(t){if(!t)return!1;var e=t.offsetParent;return e&&!("BODY"===e.nodeName&&"static"===window.getComputedStyle(e).position)},t.prototype.offset=function(t){return t?o.offset(t):null},t.prototype.staticOffset=function(t){if(!t)return null;var e=t.style,n=e.left,i=e.top;t.style.left="0px",t.style.top="0px";var r=o.offset(t);return t.style.left=n,t.style.top=i,r},t.prototype.position=function(t,e){if(!t||!e)return null;var n=o.siblingContainer(t,e);return o.positionWithScroll(t,n)},t.prototype.relativeOffset=function(t,e){return o.applyLocationOffset(this.offset(t),e,this.isBodyOffset(t))},t.prototype.addScroll=function(t,e){return o.addScroll(t,e)},t.prototype.removeScroll=function(t,e){return o.removeScroll(t,e)},t.prototype.restrictToView=function(t){return o.restrictToView(t)},t.prototype.scrollPosition=function(t){return o.scrollPosition(t)},t.prototype.scrollableParents=function(t){return i.scrollableParents(t)},t.prototype.stackingElementOffset=function(t){var e=this.getRelativeContextElement(t);return e?o.offset(e):null},t.prototype.stackingElementScroll=function(t){var e=this.getRelativeContextElement(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},t.prototype.stackingElementViewPort=function(t){var e=this.getRelativeContextElement(t);return e?{height:e.scrollHeight,width:e.scrollWidth}:null},t.prototype.getRelativeContextElement=function(t){if(!t||!i.HAS_RELATIVE_STACKING_CONTEXT)return null;for(var e=t.parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},t.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},t.prototype.windowViewPort=function(t){return o.getWindowViewPort(t)},t.prototype.zIndex=function(t,e){return i.zIndex(t,e)},t.prototype.zoomLevel=function(){return i.isDocumentAvailable()&&i.isWindowAvailable()?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},t.prototype.isZoomed=function(){return this.zoomLevel()>1},t}();e.DOMService=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(5),i=function(){function t(t){this._dom=t}return t.prototype.alignElement=function(t){var e=t.anchor,n=t.element,o=t.anchorAlign,i=t.elementAlign,r=t.offset,a=!this._dom.hasOffsetParent(n)?this.absoluteRect(e,n,r):this.relativeRect(e,n,r);return this._dom.align({anchorAlign:o,anchorRect:a,elementAlign:i,elementRect:this._dom.offset(n)})},t.prototype.absoluteRect=function(t,e,n){var i=this._dom,r=o.eitherRect(i.offset(t),n),a=i.stackingElementOffset(e),l=o.removeStackingOffset(r,a),c=i.stackingElementScroll(e),p=i.addScroll(l,c),s=this.elementScrollPosition(t,e),u=i.removeScroll(p,s);return u.left+=window.scrollX||window.pageXOffset,u.top+=window.scrollY||window.pageYOffset,u},t.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},t.prototype.relativeRect=function(t,e,n){return o.eitherRect(this._dom.position(t,e),n)},t}();e.AlignService=i},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";var o=function(t){};t.exports=function(t,e,n,i,r,a,l,c){if(o(e),!t){var p;if(void 0===e)p=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,i,r,a,l,c],u=0;(p=new Error(e.replace(/%s/g,function(){return s[u++]}))).name="Invariant Violation"}throw p.framesToPop=1,p}}},function(t,e,n){"use strict";function o(t){return function(){return t}}var i=function(){};i.thatReturns=o,i.thatReturnsFalse=o(!1),i.thatReturnsTrue=o(!0),i.thatReturnsNull=o(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e,n){"use strict";var o=n(14),i=n(13),r=n(12);t.exports=function(){function t(t,e,n,o,a,l){l!==r&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=o,n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";var o=function(t){};t.exports=function(t,e,n,i,r,a,l,c){if(o(e),!t){var p;if(void 0===e)p=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,i,r,a,l,c],u=0;(p=new Error(e.replace(/%s/g,function(){return s[u++]}))).name="Invariant Violation"}throw p.framesToPop=1,p}}},function(t,e,n){"use strict";function o(t){return function(){return t}}var i=function(){};i.thatReturns=o,i.thatReturnsFalse=o(!1),i.thatReturnsTrue=o(!0),i.thatReturnsNull=o(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e,n){"use strict";var o=n(18),i=n(17),r=n(16);t.exports=function(){function t(t,e,n,o,a,l){l!==r&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=o,n.PropTypes=n,n}},function(t,e){t.exports=o},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";var o=function(t){};t.exports=function(t,e,n,i,r,a,l,c){if(o(e),!t){var p;if(void 0===e)p=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,i,r,a,l,c],u=0;(p=new Error(e.replace(/%s/g,function(){return s[u++]}))).name="Invariant Violation"}throw p.framesToPop=1,p}}},function(t,e,n){"use strict";function o(t){return function(){return t}}var i=function(){};i.thatReturns=o,i.thatReturnsFalse=o(!1),i.thatReturnsTrue=o(!0),i.thatReturnsNull=o(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e,n){"use strict";var o=n(23),i=n(22),r=n(21);t.exports=function(){function t(t,e,n,o,a,l){l!==r&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=o,n.PropTypes=n,n}},function(t,e,n){t.exports=n(24)()},function(t,e,n){"use strict";var o,i=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),r=this&&this.__assign||Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t};Object.defineProperty(e,"__esModule",{value:!0});var a=n(1),l=n(3),c=n(25),p=n(20),s=n(8),u=n(2),f=n(5),d=n(11),h=n(10),m=n(9),v={left:-1e3,top:0},y="k-animation-container-shown",g=function(t){return l.findDOMNode(t)},x=function(t){function e(e){var n=t.call(this,e)||this;return n._exitingAnimation=!1,n.onOpened=function(){var t=g(n);n.props.show&&t.classList.add(y),n.attachRepositionHandlers(t),n.props.open&&n.props.open.call(void 0,{target:n})},n.onClosing=function(){n.props.show||g(n).classList.remove(y);n.detachRepositionHandlers()},n.onClosed=function(){n._exitingAnimation&&(n._exitingAnimation=!1,n.forceUpdate()),n.props.close&&n.props.close.call(void 0,{target:n})},n.position=function(t,e,o){var i=t.anchorAlign,r=t.popupAlign,a=t.collision,l=t.offset,c=n._alignService.alignElement({anchor:e,element:o,elementAlign:r,anchorAlign:i,offset:l});return n._positionService.positionElement({anchor:e,anchorAlign:i,collisions:a,element:o,currentLocation:c,elementAlign:r})},n._flipped=!1,n._offset=n.props.offset,n._appendTo=document?document.body:null,n._domService=new h.DOMService,n._alignService=new d.AlignService(n._domService),n._positionService=new m.PositionService(n._domService),n.onOpened=n.onOpened.bind(n),n.onClosing=n.onClosing.bind(n),n.reposition=f.throttle(n.reposition.bind(n),f.FRAME_DURATION),n}return i(e,t),e.prototype.componentWillReceiveProps=function(t){this.getDomElements(t),this._exitingAnimation=t.animate&&this.props.show&&!t.show},e.prototype.componentWillMount=function(){this.getDomElements(this.props)},e.prototype.componentWillUnmount=function(){this.detachRepositionHandlers(),delete this._anchorElement,delete this._appendTo},e.prototype.render=function(){var t=this.props,e=t.animate,n=t.children,o=t.className,i=t.popupClass,c=t.show,p=t.id;if(c){var f=this.calculatePosition(this._anchorElement,this.props);this._offset=f.offset,this._flipped=!!f.flipped}var d=this._flipped&&c?"up":"down",h=e?void 0:0,m=Object.assign({},this.props.style||{},r({},this._offset));if((c||this._exitingAnimation)&&this._appendTo){var v=a.createElement(s.Slide,{componentChildClassName:u.classNames(i,"k-popup"),className:u.classNames(o),id:p,onEntered:this.onOpened,onExiting:this.onClosing,onExited:this.onClosed,direction:d,style:m,transitionEnterDuration:h,transitionExitDuration:h,appear:!0},c?n:null);return l.createPortal(v,this._appendTo)}return null},e.prototype.calculatePosition=function(t,e){if(!this._appendTo)return{flipped:!1,offset:this.props.offset};var n=document.createElement("div");this._appendTo.appendChild(n);var o=Object.assign({},e.style||{},r({visibility:"hidden"},v)),i={className:u.classNames(e.popupClass,"k-popup","k-child-animation-container")},l=a.createElement("div",{className:u.classNames("k-animation-container",y,e.className),style:o},a.Children.map(e.children,function(t,e){return a.createElement("div",r({key:e},i),t)}));n.innerHTML=p.renderToStaticMarkup(l);var c=this.position(e,t,n.firstChild);return n.parentNode.removeChild(n),c},e.prototype.attachRepositionHandlers=function(t){var e=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this._anchorElement||t),this._scrollableParents.map(function(t){return t.addEventListener("scroll",e.reposition)}),window.addEventListener("resize",this.reposition)},e.prototype.detachRepositionHandlers=function(){var t=this;this._scrollableParents&&(this._scrollableParents.map(function(e){return e.removeEventListener("scroll",t.reposition)}),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},e.prototype.reposition=function(){this.forceUpdate()},e.prototype.getDomElements=function(t){this._appendTo=g(t.appendTo)||(document?document.body:null),this._anchorElement=g(t.anchor)},e.propTypes={anchor:function(t){var e=t.anchor;if(e&&"number"!=typeof e.nodeType&&!e.isReactComponent)return new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed.")},appendTo:function(t){var e=t.appendTo;if(e&&"number"!=typeof e.nodeType&&!e.isReactComponent)return new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed.")},className:c.string,id:c.string,popupClass:c.string,collision:c.shape({horizontal:c.oneOf([f.CollisionType.fit,f.CollisionType.flip]),vertical:c.oneOf([f.CollisionType.fit,f.CollisionType.flip])}),anchorAlign:c.shape({horizontal:c.oneOf([f.AlignPoint.left,f.AlignPoint.center,f.AlignPoint.right]),vertical:c.oneOf([f.AlignPoint.top,f.AlignPoint.center,f.AlignPoint.bottom])}),popupAlign:c.shape({horizontal:c.oneOf([f.AlignPoint.left,f.AlignPoint.center,f.AlignPoint.right]),vertical:c.oneOf([f.AlignPoint.top,f.AlignPoint.center,f.AlignPoint.bottom])}),offset:c.shape({left:c.number,top:c.number}),children:c.oneOfType([c.element,c.node]),show:c.bool,animate:c.bool},e.defaultProps={collision:{horizontal:f.CollisionType.fit,vertical:f.CollisionType.flip},anchorAlign:{horizontal:f.AlignPoint.left,vertical:f.AlignPoint.bottom},popupAlign:{horizontal:f.AlignPoint.left,vertical:f.AlignPoint.top},offset:v,animate:!0,show:!1},e}(a.Component);e.default=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(26);e.Popup=o.default}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("prop-types"),require("react"),require("react-dom"),require("react-transition-group"),require("react-dom/server")):"function"==typeof define&&define.amd?define(["prop-types","react","react-dom","react-transition-group","react-dom/server"],e):"object"==typeof exports?exports.KendoReactPopup=e(require("prop-types"),require("react"),require("react-dom"),require("react-transition-group"),require("react-dom/server")):t.KendoReactPopup=e(t["prop-types"],t.React,t.ReactDOM,t.ReactTransitionGroup,t.ReactDOMServer)}(window,function(t,e,n,o,i){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=13)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";n.r(e);var o,i=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.filter(function(t){return!0!==t&&!!t}).map(function(t){return Array.isArray(t)?i.apply(void 0,t):"object"==typeof t?Object.keys(t).map(function(e,n){return t[n]||t[e]&&e||null}).filter(function(t){return null!==t}).join(" "):t}).filter(function(t){return!!t}).join(" ")},r=function(){var t,e,n="";for(t=0;t<32;t++)e=16*Math.random()|0,8!==t&&12!==t&&16!==t&&20!==t||(n+="-"),n+=(12===t?4:16===t?3&e|8:e).toString(16);return n},a=function(){},l=n(1),p=n(0),c=(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e){var n=t.call(this,e)||this;return n.handleFocus=function(t){n.setState({focused:!0})},n.handleBlur=function(t){n.setState({focused:!1})},n.state={focused:!1},n}return c(e,t),e.prototype.render=function(){var t=this.props,e=t.label,n=t.id,o=t.className,r=t.value,a=t.placeholder,p=t.valid,c=t.style,s=i({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(r||a),"k-state-invalid":!p&&void 0!==p},o);return l.createElement("span",{className:s,onFocus:this.handleFocus,onBlur:this.handleBlur,style:c},this.props.children,e?n?l.createElement("label",{htmlFor:n,className:"k-label"},e):l.createElement("span",{className:"k-label"},e):null)},e.propTypes={label:p.string,id:p.string,value:p.string,placeholder:p.string,valid:p.bool},e}(l.Component);n.d(e,"classNames",function(){return i}),n.d(e,"guid",function(){return r}),n.d(e,"noop",function(){return a}),n.d(e,"FloatingLabel",function(){return s})},function(t,e){t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(6);e.eitherRect=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},e.replaceOffset=function(t,e){return e?{height:t.height,left:e.left,top:e.top,width:t.width}:t},e.removeStackingOffset=function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t},e.isDifferentOffset=function(t,e){var n=t.left,o=t.top,i=e.left,r=e.top;return Math.abs(n-i)>=1||Math.abs(o-r)>=1},e.isDocumentAvailable=function(){return"undefined"!=typeof document&&!!document.body},e.isWindowAvailable=function(){return"undefined"!=typeof window},e.hasBoundingRect=function(t){return!!t.getBoundingClientRect},e.OVERFLOW_REGEXP=/auto|scroll/;var i=function(t){var e=window.getComputedStyle(t);return""+e.overflow+e.overflowX+e.overflowY};e.scrollableParents=function(t){var n=[];if(!e.isDocumentAvailable()||!e.isWindowAvailable())return n;for(var o=t.parentElement;o;)e.OVERFLOW_REGEXP.test(i(o))&&n.push(o),o=o.parentElement;return n.push(window),n},e.FRAME_DURATION=1e3/60,e.hasRelativeStackingContext=function(){if(!e.isDocumentAvailable())return!1;var t=document.createElement("div");t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML='<div style="position: fixed; top: 10px;">child</div>',document.body.appendChild(t);var n=10!==t.children[0].getBoundingClientRect().top;return document.body.removeChild(t),n},e.HAS_RELATIVE_STACKING_CONTEXT=e.hasRelativeStackingContext(),e.zIndex=function(t,n){if(!t||!e.isDocumentAvailable()||!e.isWindowAvailable())return null;var i=o.siblingContainer(t,n);if(!i)return null;var r=[t].concat(o.parents(t,i)).reduce(function(t,e){var n=e.style.zIndex||window.getComputedStyle(e).zIndex,o=parseInt(n,10);return o>t?o:t},0);return r?r+1:null},e.CollisionType={fit:"fit",flip:"flip"},e.AlignPoint={left:"left",center:"center",right:"right",bottom:"bottom",top:"top"},e.throttle=function(t,e,n){var o,i,r,a;void 0===n&&(n={});var l=0;n=n||{};var p=function(){l=!1===n.leading?0:(new Date).getTime(),o=null,a=t.apply(i,r),o||(i=r=null)};return function(){var c=(new Date).getTime();l||!1!==n.leading||(l=c);var s=e-(c-l);return i=this,r=arguments,s<=0||s>e?(o&&(clearTimeout(o),o=null),l=c,a=t.apply(i,r),o||(i=r=null)):o||!1===n.trailing||(o=setTimeout(p,s)),a}}},function(t,e){t.exports=o},function(t,e,n){"use strict";n.r(e);var o={bottom:"bottom",center:"center",middle:"middle",left:"left",right:"right",top:"top"},i=function(t){var e=t.anchorRect,n=t.anchorAlign,i=t.elementRect,r=t.elementAlign,a=t.margin;void 0===a&&(a={});var l=n.horizontal,p=n.vertical,c=r.horizontal,s=r.vertical,u=a.horizontal||0,f=a.vertical||0,d=e.top,h=e.left;return p===o.bottom&&(d+=e.height),p!==o.center&&p!==o.middle||(d+=Math.round(e.height/2)),s===o.bottom&&(d-=i.height,f*=-1),s!==o.center&&s!==o.middle||(d-=Math.round(i.height/2),f*=-1),l===o.right&&(h+=e.width),l!==o.center&&l!==o.middle||(h+=Math.round(e.width/2)),c===o.right&&(h-=i.width,u*=-1),c!==o.center&&c!==o.middle||(h-=Math.round(i.width/2),u*=-1),{top:d+f,left:h+u}};function r(t,e){return{top:t.top+e.y,left:t.left+e.x,height:t.height,width:t.width}}function a(t,e,n){var o=t.top,i=t.left;return n&&(i=0,o=0),{top:o+e.top,left:i+e.left,height:t.height,width:t.width}}var l=function(t){if(!t.getBoundingClientRect)return{bottom:t.innerHeight,left:0,right:t.innerWidth,top:0};var e=t.getBoundingClientRect();return{bottom:e.bottom,left:e.left,right:e.right,top:e.top}},p=function(t){return t.ownerDocument.documentElement},c=function(t){for(var e=t.offsetParent;e&&"static"===e.style.position;)e=e.offsetParent;return e||p(t)},s=function(t){return c(t)===t.ownerDocument.body},u=function(t){var e=t.getBoundingClientRect(),n=e.left,o=e.top;return e.height||e.width||(e=function(t){var e=t.style,n=e.display,o=e.left,i=e.position;t.style.display="",t.style.left="-10000px",t.style.position="absolute";var r=t.getBoundingClientRect();return t.style.display=n,t.style.left=o,t.style.position=i,r}(t)),{top:o,left:n,height:e.height,width:e.width}},f=function(t,e){for(var n=[],o=t.parentNode;o&&(n.push(o),o!==e);)o=o.parentNode;return n},d=function(t){return t.ownerDocument.defaultView};function h(t){var e=p(t),n=d(t);return{x:n.pageXOffset||e.scrollLeft||0,y:n.pageYOffset||e.scrollTop||0}}var m=function(t){return t===(t.ownerDocument||{}).body?h(t):{x:t.scrollLeft,y:t.scrollTop}};function v(t){var e=c(t);return e?m(e):{x:0,y:0}}var y=function(t,e){var n=d(t),o=n.getComputedStyle(t),i=u(t),r=e||c(t),a=t.ownerDocument,l=r!==a.body&&r!==a.documentElement,p={top:0,left:0};if("fixed"!==o.position&&l){var s=n.getComputedStyle(r);(p=u(r)).top+=parseInt(s.borderTopWidth,10),p.left+=parseInt(s.borderLeftWidth,10)}return{top:i.top-p.top-parseInt(o.marginTop,10),left:i.left-p.left-parseInt(o.marginLeft,10),height:i.height,width:i.width}},g=function(t,e){var n=e?c(e):null,o=y(t,n),i=o.top,r=o.left,a=o.height,l=o.width,p=function(t,e){return t?m(t):v(e)}(n,t),s=p.x;return{top:i+p.y,left:r+s,height:a,width:l}};function x(t,e){return{top:t.top-e.y,left:t.left-e.x,height:t.height,width:t.width}}var O={fit:"fit",flip:"flip"},w=function(t,e,n){var o=0;return t+e>n&&(o=n-(t+e)),t<0&&(o=-t),o},b=function(t){var e=t.offset,n=t.size,i=t.anchorSize,r=t.viewPortSize,a=t.anchorAlignPoint,l=t.elementAlignPoint,p=t.margin,c=0;return l!==a&&!(l===o.center||l===o.middle)&&!(a===o.center||a===o.middle)&&e>-1&&(e+n>r&&(c+=-(i+n+2*p)),e+c<0&&(c=0)),c},E=function(t){var e=t.anchorRect,n=t.anchorAlign,o=t.elementRect,i=t.elementAlign,r=t.collisions,a=t.viewPort,l=t.margin;void 0===l&&(l={});var p=o.top,c=o.left,s=o.height,u=o.width,f=a.height,d=a.width,h=l.horizontal||0,m=l.vertical||0,v=0,y=0,g=r.horizontal===O.flip,x=r.vertical===O.flip;r.vertical===O.fit&&(y+=w(p,s,f)),r.horizontal===O.fit&&(v+=w(c,u,d)),x&&(y+=b({margin:m,offset:p,size:s,anchorSize:e.height,viewPortSize:f,anchorAlignPoint:n.vertical,elementAlignPoint:i.vertical})),g&&(v+=b({margin:h,offset:c,size:u,anchorSize:e.width,viewPortSize:d,anchorAlignPoint:n.horizontal,elementAlignPoint:i.horizontal}));var E=g&&0!==v,_=x&&0!==y;return{flipped:E||_,flip:{horizontal:E,vertical:_},offset:{left:v,top:y}}},_=function(t){for(var e=[],n=t.parentNode.firstElementChild;n;)n!==t&&e.push(n),n=n.nextElementSibling;return e},P=function(t,e){for(var n,o,i=f(t),r=e;r&&(n=_(r),!(o=i.reduce(function(t,e){return t.concat(n.filter(function(t){return t===e}))},[])[0]));)r=r.parentElement;return o};function k(t){var e=d(t);return{height:e.innerHeight,width:e.innerWidth}}n.d(e,"align",function(){return i}),n.d(e,"addScroll",function(){return r}),n.d(e,"applyLocationOffset",function(){return a}),n.d(e,"boundingOffset",function(){return l}),n.d(e,"isBodyOffset",function(){return s}),n.d(e,"offsetParent",function(){return c}),n.d(e,"offset",function(){return u}),n.d(e,"parents",function(){return f}),n.d(e,"parentScrollPosition",function(){return v}),n.d(e,"position",function(){return y}),n.d(e,"positionWithScroll",function(){return g}),n.d(e,"removeScroll",function(){return x}),n.d(e,"restrictToView",function(){return E}),n.d(e,"scrollPosition",function(){return h}),n.d(e,"siblingContainer",function(){return P}),n.d(e,"siblings",function(){return _}),n.d(e,"getDocumentElement",function(){return p}),n.d(e,"getWindow",function(){return d}),n.d(e,"getWindowViewPort",function(){return k}),n.d(e,"AlignPoint",function(){return o}),n.d(e,"Collision",function(){return O})},function(t,e,n){"use strict";n.r(e);var o,i=n(1),r=n(0),a=n(2),l=n(5),p={outerHeight:function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop),o=parseFloat(e.marginBottom);return t.offsetHeight+n+o},outerWidth:function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginLeft),o=parseFloat(e.marginRight);return t.offsetWidth+n+o},styles:{"animation-container":"k-animation-container","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"}},c=(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},u=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},f=p.styles,d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),e.prototype.render=function(){var t=this,e=this.props,n=e.children,o=e.style,r=e.appear,p=e.enter,c=e.exit,d=e.transitionName,h=e.transitionEnterDuration,m=e.transitionExitDuration,v=e.className,y=e.onEnter,g=e.onEntering,x=e.onEntered,O=e.onExit,w=e.onExiting,b=e.onExited,E=e.mountOnEnter,_=e.unmountOnExit,P=e.animationEnteringStyle,k=e.animationEnteredStyle,C=e.animationExitingStyle,S=e.animationExitedStyle,A=u(e,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),j=Object(a.classNames)(v,f["child-animation-container"]),z=s({transitionDelay:"0ms"},o),D={entering:s({transitionDuration:h+"ms"},P),entered:s({},k),exiting:s({transitionDuration:m+"ms"},C),exited:s({},S)},R={in:this.props.in,appear:r,enter:p,exit:c,mountOnEnter:E,unmountOnExit:_,timeout:{enter:h,exit:m},onEnter:function(e){y&&y.call(void 0,{animatedElement:e,target:t})},onEntering:function(e){g&&g.call(void 0,{animatedElement:e,target:t})},onEntered:function(e){x&&x.call(void 0,{animatedElement:e,target:t})},onExit:function(e){O&&O.call(void 0,{animatedElement:e,target:t})},onExiting:function(e){w&&w.call(void 0,{animatedElement:e,target:t})},onExited:function(e){b&&b.call(void 0,{animatedElement:e,target:t})},classNames:{appear:f[d+"-appear"]||d+"-appear",appearActive:f[d+"-appear-active"]||d+"-appear-active",enter:f[d+"-enter"]||d+"-enter",enterActive:f[d+"-enter-active"]||d+"-enter-active",exit:f[d+"-exit"]||d+"-exit",exitActive:f[d+"-exit-active"]||d+"-exit-active"}};return i.createElement(l.CSSTransition,s({},R,A),function(e){return i.createElement("div",{style:s({},z,D[e]),className:j,ref:function(e){t._element=e}},n)})},e.propTypes={in:r.bool,children:r.oneOfType([r.arrayOf(r.node),r.node]),transitionName:r.string.isRequired,className:r.string,appear:r.bool,enter:r.bool,exit:r.bool,transitionEnterDuration:r.number.isRequired,transitionExitDuration:r.number.isRequired,mountOnEnter:r.bool,unmountOnExit:r.bool,animationEnteringStyle:r.object,animationEnteredStyle:r.object,animationExitingStyle:r.object,animationExitedStyle:r.object},e.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:a.noop,onEntering:a.noop,onEntered:a.noop,onExit:a.noop,onExiting:a.noop,onExited:a.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},e}(i.Component),h=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},v=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},y=p.styles,g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=t.childFactory,o=t.className,r=t.component,p=t.id,c=t.style,s=t.stackChildren,u=t.componentChildClassName,f=t.componentChildStyle,h=v(t,["children","childFactory","className","component","id","style","stackChildren","componentChildClassName","componentChildStyle"]),g={childFactory:n,className:Object(a.classNames)(y["animation-container"],o),component:r,id:p,style:c},x=m({position:s?"absolute":"initial"},f),O=i.Children.map(e,function(t){return i.createElement(d,m({},h,{style:x,className:u}),t)});return i.createElement(l.TransitionGroup,m({},g),O)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,component:r.string,id:r.string,style:r.any,transitionName:r.string.isRequired,appear:r.bool.isRequired,enter:r.bool.isRequired,exit:r.bool.isRequired,transitionEnterDuration:r.number.isRequired,transitionExitDuration:r.number.isRequired},e.defaultProps={component:"div"},e}(i.Component),x=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),O=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},w=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return x(e,t),e.prototype.render=function(){var t=this.props,e=t.children,n=w(t,["children"]);return i.createElement(g,O({},{transitionName:"fade"},n),e)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,component:r.string,id:r.string,style:r.any},e.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},e}(i.Component),E=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),_=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},P=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return E(e,t),e.prototype.render=function(){var t=this.props,e=t.direction,n=t.children,o=P(t,["direction","children"]),r={transitionName:"expand-"+e};return i.createElement(g,_({},r,o),n)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,direction:r.oneOf(["horizontal","vertical"]),component:r.string,id:r.string,style:r.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},e}(i.Component),C=n(3),S=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),A=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},j=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},z=function(t){function e(e){var n=t.call(this,e)||this;return n.componentWillEnter=function(t){var e=n.props.onEnter;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.componentDidEnter=function(t){var e=n.props.onEntered;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.updateContainerDimensions=function(t){void 0===t&&(t=a.noop);var e,o=C.findDOMNode(n).firstChild;n.props.stackChildren&&o&&(e={height:p.outerHeight(o)+"px",width:p.outerWidth(o)+"px"});n.setState({style:e},t)},n.state={style:null},n}return S(e,t),e.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},e.prototype.componentDidMount=function(){this.updateContainerDimensions()},e.prototype.render=function(){var t=this.props,e=t.children,n=t.direction,o=t.style,r=j(t,["children","direction","style"]);return i.createElement(g,A({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"push-"+n,style:A({style:o},this.state.style)}),e)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,direction:r.oneOf(["up","down","left","right"]),component:r.string,id:r.string,style:r.any,stackChildren:r.bool},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},e}(i.Component),D=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),R=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},T=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return D(e,t),e.prototype.render=function(){var t=this.props,e=t.direction,n=t.children,o=T(t,["direction","children"]),r={transitionName:"slide-"+e};return i.createElement(g,R({},r,o),n)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,direction:r.oneOf(["up","down","left","right"]),component:r.string,id:r.string,style:r.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},e}(i.Component),W=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),M=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},F=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},H=function(t){function e(e){var n=t.call(this,e)||this;return n.componentWillEnter=function(t){var e=n.props.onEnter;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.componentDidEnter=function(t){var e=n.props.onEntered;n.updateContainerDimensions(function(){e&&e.call(void 0,t)})},n.updateContainerDimensions=function(t){void 0===t&&(t=a.noop);var e,o=C.findDOMNode(n).firstChild;n.props.stackChildren&&o&&(e={height:p.outerHeight(o)+"px",width:p.outerWidth(o)+"px"});n.setState({style:e},t)},n.state={style:null},n}return W(e,t),e.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions()},e.prototype.componentDidMount=function(){this.updateContainerDimensions()},e.prototype.render=function(){var t=this.props,e=t.children,n=t.direction,o=t.style,r=F(t,["children","direction","style"]);return i.createElement(g,M({},r,{onEnter:this.componentWillEnter,onEntered:this.componentDidEnter,transitionName:"zoom-"+n,style:M({style:o},this.state.style)}),e)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,direction:r.oneOf(["in","out"]),component:r.string,id:r.string,style:r.any,stackChildren:r.bool},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},e}(i.Component),L=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),I=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},q=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&(n[o[i]]=t[o[i]])}return n},V=function(t){function e(e){var n=t.call(this,e)||this;return n.componentWillEnter=function(t){var e=n.props.onEnter;n.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},n.componentIsEntering=function(t){var e=n.props.onEntering;n.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},n.componentWillExit=function(t){var e=n.props.onExit;n.updateContainerDimensions(t.animatedElement,function(){e&&e.call(void 0,t)})},n.updateContainerDimensions=function(t,e){void 0===e&&(e=a.noop);var o=C.findDOMNode(t).firstChild;if(o){var i=p.outerHeight(o),r=p.outerWidth(o);n.setState({maxHeight:i,maxWidth:r},e)}},n.state={maxHeight:void 0,maxWidth:void 0},n}return L(e,t),e.prototype.componentWillReceiveProps=function(){this.updateContainerDimensions(C.findDOMNode(this),a.noop)},e.prototype.render=function(){var t,e=this.props,n=e.direction,o=e.children,r=e.childFactory,a=q(e,["direction","children","childFactory"]),l=this.state,p=l.maxHeight,c=l.maxWidth,s={maxHeight:(t="vertical"===n?{maxHeight:p?p+"px":null}:{maxWidth:c?c+"px":null}).maxHeight,maxWidth:t.maxWidth};return i.createElement(g,I({},a,{childFactory:r||function(e){return e.props.in?e:i.cloneElement(e,I({},e.props,{style:I({},e.props.style,{maxHeight:t.maxHeight,maxWidth:t.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:s,transitionName:"reveal-"+n}),o)},e.propTypes={children:r.oneOfType([r.arrayOf(r.node),r.node]),childFactory:r.any,className:r.string,direction:r.oneOf(["horizontal","vertical"]),component:r.string,id:r.string,style:r.any},e.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},e}(i.Component);n.d(e,"Animation",function(){return g}),n.d(e,"AnimationChild",function(){return d}),n.d(e,"Fade",function(){return b}),n.d(e,"Expand",function(){return k}),n.d(e,"Push",function(){return z}),n.d(e,"Slide",function(){return N}),n.d(e,"Zoom",function(){return H}),n.d(e,"Reveal",function(){return V})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),i=function(){function t(t){this._dom=t}return t.prototype.positionElement=function(t){var e=t.anchor,n=t.currentLocation,i=t.element,r=t.anchorAlign,a=t.elementAlign,l=t.collisions,p=this._dom,c=t.viewPort||p.stackingElementViewPort(i)||p.windowViewPort(i),s=o.eitherRect(p.offset(e),n),u=o.replaceOffset(p.staticOffset(i),n),f=this.elementRect(i,u),d=p.restrictToView({anchorAlign:r,anchorRect:s,collisions:l,elementAlign:a,elementRect:f,viewPort:c});return{flipped:d.flipped,offset:p.addOffset(u,d.offset)}},t.prototype.elementRect=function(t,e){return this._dom.removeScroll(e,this._dom.scrollPosition(t))},t}();e.PositionService=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(6),i=n(4),r=function(){function t(){}return t.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},t.prototype.align=function(t){return o.align(t)},t.prototype.boundingOffset=function(t){return o.boundingOffset(t)},t.prototype.getWindow=function(){return i.isWindowAvailable()?window:null},t.prototype.isBodyOffset=function(t){return o.isBodyOffset(t)},t.prototype.hasOffsetParent=function(t){if(!t)return!1;var e=t.offsetParent;return e&&!("BODY"===e.nodeName&&"static"===window.getComputedStyle(e).position)},t.prototype.offset=function(t){return t?o.offset(t):null},t.prototype.staticOffset=function(t){if(!t)return null;var e=t.style,n=e.left,i=e.top;t.style.left="0px",t.style.top="0px";var r=o.offset(t);return t.style.left=n,t.style.top=i,r},t.prototype.position=function(t,e){if(!t||!e)return null;var n=o.siblingContainer(t,e);return o.positionWithScroll(t,n)},t.prototype.relativeOffset=function(t,e){return o.applyLocationOffset(this.offset(t),e,this.isBodyOffset(t))},t.prototype.addScroll=function(t,e){return o.addScroll(t,e)},t.prototype.removeScroll=function(t,e){return o.removeScroll(t,e)},t.prototype.restrictToView=function(t){return o.restrictToView(t)},t.prototype.scrollPosition=function(t){return o.scrollPosition(t)},t.prototype.scrollableParents=function(t){return i.scrollableParents(t)},t.prototype.stackingElementOffset=function(t){var e=this.getRelativeContextElement(t);return e?o.offset(e):null},t.prototype.stackingElementScroll=function(t){var e=this.getRelativeContextElement(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},t.prototype.stackingElementViewPort=function(t){var e=this.getRelativeContextElement(t);return e?{height:e.scrollHeight,width:e.scrollWidth}:null},t.prototype.getRelativeContextElement=function(t){if(!t||!i.HAS_RELATIVE_STACKING_CONTEXT)return null;for(var e=t.parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},t.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},t.prototype.windowViewPort=function(t){return o.getWindowViewPort(t)},t.prototype.zIndex=function(t,e){return i.zIndex(t,e)},t.prototype.zoomLevel=function(){return i.isDocumentAvailable()&&i.isWindowAvailable()?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},t.prototype.isZoomed=function(){return this.zoomLevel()>1},t}();e.DOMService=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),i=function(){function t(t){this._dom=t}return t.prototype.alignElement=function(t){var e=t.anchor,n=t.element,o=t.anchorAlign,i=t.elementAlign,r=t.offset,a=!this._dom.hasOffsetParent(n)?this.absoluteRect(e,n,r):this.relativeRect(e,n,r);return this._dom.align({anchorAlign:o,anchorRect:a,elementAlign:i,elementRect:this._dom.offset(n)})},t.prototype.absoluteRect=function(t,e,n){var i=this._dom,r=o.eitherRect(i.offset(t),n),a=i.stackingElementOffset(e),l=o.removeStackingOffset(r,a),p=i.stackingElementScroll(e),c=i.addScroll(l,p),s=this.elementScrollPosition(t,e),u=i.removeScroll(c,s);return u.left+=window.scrollX||window.pageXOffset,u.top+=window.scrollY||window.pageYOffset,u},t.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},t.prototype.relativeRect=function(t,e,n){return o.eitherRect(this._dom.position(t,e),n)},t}();e.AlignService=i},function(t,e){t.exports=i},function(t,e,n){"use strict";var o,i=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),r=this&&this.__assign||Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t};Object.defineProperty(e,"__esModule",{value:!0});var a=n(1),l=n(3),p=n(0),c=n(11),s=n(7),u=n(2),f=n(4),d=n(10),h=n(9),m=n(8),v={left:-1e3,top:0},y="k-animation-container-shown",g=function(t){return l.findDOMNode(t)},x=function(t){function e(e){var n=t.call(this,e)||this;return n._exitingAnimation=!1,n.onOpened=function(){var t=g(n);n.props.show&&t.classList.add(y),n.attachRepositionHandlers(t),n.props.open&&n.props.open.call(void 0,{target:n})},n.onClosing=function(){n.props.show||g(n).classList.remove(y);n.detachRepositionHandlers()},n.onClosed=function(){n._exitingAnimation&&(n._exitingAnimation=!1,n.forceUpdate()),n.props.close&&n.props.close.call(void 0,{target:n})},n.position=function(t,e,o){var i=t.anchorAlign,r=t.popupAlign,a=t.collision,l=t.offset,p=n._alignService.alignElement({anchor:e,element:o,elementAlign:r,anchorAlign:i,offset:l});return n._positionService.positionElement({anchor:e,anchorAlign:i,collisions:a,element:o,currentLocation:p,elementAlign:r})},n._flipped=!1,n._offset=n.props.offset,n._appendTo=document?document.body:null,n._domService=new h.DOMService,n._alignService=new d.AlignService(n._domService),n._positionService=new m.PositionService(n._domService),n.onOpened=n.onOpened.bind(n),n.onClosing=n.onClosing.bind(n),n.reposition=f.throttle(n.reposition.bind(n),f.FRAME_DURATION),n}return i(e,t),e.prototype.componentWillReceiveProps=function(t){this.getDomElements(t),this._exitingAnimation=t.animate&&this.props.show&&!t.show},e.prototype.componentWillMount=function(){this.getDomElements(this.props)},e.prototype.componentWillUnmount=function(){this.detachRepositionHandlers(),delete this._anchorElement,delete this._appendTo},e.prototype.render=function(){var t=this.props,e=t.animate,n=t.children,o=t.className,i=t.popupClass,p=t.show,c=t.id;if(p){var f=this.calculatePosition(this._anchorElement,this.props);this._offset=f.offset,this._flipped=!!f.flipped}var d=this._flipped&&p?"up":"down",h=e?void 0:0,m=Object.assign({},this.props.style||{},r({},this._offset));if((p||this._exitingAnimation)&&this._appendTo){var v=a.createElement(s.Slide,{componentChildClassName:u.classNames(i,"k-popup"),className:u.classNames(o),id:c,onEntered:this.onOpened,onExiting:this.onClosing,onExited:this.onClosed,direction:d,style:m,transitionEnterDuration:h,transitionExitDuration:h,appear:!0},p?n:null);return l.createPortal(v,this._appendTo)}return null},e.prototype.calculatePosition=function(t,e){if(!this._appendTo)return{flipped:!1,offset:this.props.offset};var n=document.createElement("div");this._appendTo.appendChild(n);var o=Object.assign({},e.style||{},r({visibility:"hidden"},v)),i={className:u.classNames(e.popupClass,"k-popup","k-child-animation-container")},l=a.createElement("div",{className:u.classNames("k-animation-container",y,e.className),style:o},a.Children.map(e.children,function(t,e){return a.createElement("div",r({key:e},i),t)}));n.innerHTML=c.renderToStaticMarkup(l);var p=this.position(e,t,n.firstChild);return n.parentNode.removeChild(n),p},e.prototype.attachRepositionHandlers=function(t){var e=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this._anchorElement||t),this._scrollableParents.map(function(t){return t.addEventListener("scroll",e.reposition)}),window.addEventListener("resize",this.reposition)},e.prototype.detachRepositionHandlers=function(){var t=this;this._scrollableParents&&(this._scrollableParents.map(function(e){return e.removeEventListener("scroll",t.reposition)}),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},e.prototype.reposition=function(){this.forceUpdate()},e.prototype.getDomElements=function(t){this._appendTo=g(t.appendTo)||(document?document.body:null),this._anchorElement=g(t.anchor)},e.propTypes={anchor:function(t){var e=t.anchor;if(e&&"number"!=typeof e.nodeType&&!e.isReactComponent)return new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed.")},appendTo:function(t){var e=t.appendTo;if(e&&"number"!=typeof e.nodeType&&!e.isReactComponent)return new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed.")},className:p.string,id:p.string,popupClass:p.string,collision:p.shape({horizontal:p.oneOf([f.CollisionType.fit,f.CollisionType.flip]),vertical:p.oneOf([f.CollisionType.fit,f.CollisionType.flip])}),anchorAlign:p.shape({horizontal:p.oneOf([f.AlignPoint.left,f.AlignPoint.center,f.AlignPoint.right]),vertical:p.oneOf([f.AlignPoint.top,f.AlignPoint.center,f.AlignPoint.bottom])}),popupAlign:p.shape({horizontal:p.oneOf([f.AlignPoint.left,f.AlignPoint.center,f.AlignPoint.right]),vertical:p.oneOf([f.AlignPoint.top,f.AlignPoint.center,f.AlignPoint.bottom])}),offset:p.shape({left:p.number,top:p.number}),children:p.oneOfType([p.element,p.node]),show:p.bool,animate:p.bool},e.defaultProps={collision:{horizontal:f.CollisionType.fit,vertical:f.CollisionType.flip},anchorAlign:{horizontal:f.AlignPoint.left,vertical:f.AlignPoint.bottom},popupAlign:{horizontal:f.AlignPoint.left,vertical:f.AlignPoint.top},offset:v,animate:!0,show:!1},e}(a.Component);e.default=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(12);e.Popup=o.default}])});

@@ -1,1 +0,1 @@

System.register("@progress/kendo-react-popup",["react","@progress/kendo-react-animation","react-dom","@progress/kendo-react-common","prop-types","react-dom/server","@progress/kendo-popup-common"],function(i){var n,o,r,l,s,a,p;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){n=e(t)},function(t){o=e(t)},function(t){r=e(t)},function(t){l=e(t)},function(t){s=e(t)},function(t){a=e(t)},function(t){p=e(t)}],execute:function(){!function(n){var o={};function i(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}i.m=n,i.c=o,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=12)}([function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i=e(1);r.eitherRect=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},r.replaceOffset=function(t,e){return e?{height:t.height,left:e.left,top:e.top,width:t.width}:t},r.removeStackingOffset=function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t},r.isDifferentOffset=function(t,e){var n=t.left,o=t.top,i=e.left,r=e.top;return 1<=Math.abs(n-i)||1<=Math.abs(o-r)},r.isDocumentAvailable=function(){return"undefined"!=typeof document&&!!document.body},r.isWindowAvailable=function(){return"undefined"!=typeof window},r.hasBoundingRect=function(t){return!!t.getBoundingClientRect},r.OVERFLOW_REGEXP=/auto|scroll/;r.scrollableParents=function(t){var e,n,o=[];if(!r.isDocumentAvailable()||!r.isWindowAvailable())return o;for(var i=t.parentElement;i;)r.OVERFLOW_REGEXP.test((e=i,void 0,""+(n=window.getComputedStyle(e)).overflow+n.overflowX+n.overflowY))&&o.push(i),i=i.parentElement;return o.push(window),o},r.FRAME_DURATION=1e3/60,r.hasRelativeStackingContext=function(){if(!r.isDocumentAvailable())return!1;var t=document.createElement("div");t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML='<div style="position: fixed; top: 10px;">child</div>',document.body.appendChild(t);var e=10!==t.children[0].getBoundingClientRect().top;return document.body.removeChild(t),e},r.HAS_RELATIVE_STACKING_CONTEXT=r.hasRelativeStackingContext(),r.zIndex=function(t,e){if(!t||!r.isDocumentAvailable()||!r.isWindowAvailable())return null;var n=i.siblingContainer(t,e);if(!n)return null;var o=[t].concat(i.parents(t,n)).reduce(function(t,e){var n=e.style.zIndex||window.getComputedStyle(e).zIndex,o=parseInt(n,10);return t<o?o:t},0);return o?o+1:null},r.CollisionType={fit:"fit",flip:"flip"},r.AlignPoint={left:"left",center:"center",right:"right",bottom:"bottom",top:"top"},r.throttle=function(n,o,i){var r,l,s,a;void 0===i&&(i={});var p=0;i=i||{};var c=function(){p=!1===i.leading?0:(new Date).getTime(),r=null,a=n.apply(l,s),r||(l=s=null)};return function(){var t=(new Date).getTime();p||!1!==i.leading||(p=t);var e=o-(t-p);return l=this,s=arguments,e<=0||o<e?(r&&(clearTimeout(r),r=null),p=t,a=n.apply(l,s),r||(l=s=null)):r||!1===i.trailing||(r=setTimeout(c,e)),a}}},function(t,e){t.exports=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var d=n(0),o=function(){function t(t){this._dom=t}return t.prototype.positionElement=function(t){var e=t.anchor,n=t.currentLocation,o=t.element,i=t.anchorAlign,r=t.elementAlign,l=t.collisions,s=this._dom,a=t.viewPort||s.stackingElementViewPort(o)||s.windowViewPort(o),p=d.eitherRect(s.offset(e),n),c=d.replaceOffset(s.staticOffset(o),n),f=this.elementRect(o,c),u=s.restrictToView({anchorAlign:i,anchorRect:p,collisions:l,elementAlign:r,elementRect:f,viewPort:a});return{flipped:u.flipped,offset:s.addOffset(c,u.offset)}},t.prototype.elementRect=function(t,e){return this._dom.removeScroll(e,this._dom.scrollPosition(t))},t}();e.PositionService=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=n(0),i=function(){function t(){}return t.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},t.prototype.align=function(t){return r.align(t)},t.prototype.boundingOffset=function(t){return r.boundingOffset(t)},t.prototype.getWindow=function(){return o.isWindowAvailable()?window:null},t.prototype.isBodyOffset=function(t){return r.isBodyOffset(t)},t.prototype.hasOffsetParent=function(t){if(!t)return!1;var e=t.offsetParent;return e&&!("BODY"===e.nodeName&&"static"===window.getComputedStyle(e).position)},t.prototype.offset=function(t){return t?r.offset(t):null},t.prototype.staticOffset=function(t){if(!t)return null;var e=t.style,n=e.left,o=e.top;t.style.left="0px",t.style.top="0px";var i=r.offset(t);return t.style.left=n,t.style.top=o,i},t.prototype.position=function(t,e){if(!t||!e)return null;var n=r.siblingContainer(t,e);return r.positionWithScroll(t,n)},t.prototype.relativeOffset=function(t,e){return r.applyLocationOffset(this.offset(t),e,this.isBodyOffset(t))},t.prototype.addScroll=function(t,e){return r.addScroll(t,e)},t.prototype.removeScroll=function(t,e){return r.removeScroll(t,e)},t.prototype.restrictToView=function(t){return r.restrictToView(t)},t.prototype.scrollPosition=function(t){return r.scrollPosition(t)},t.prototype.scrollableParents=function(t){return o.scrollableParents(t)},t.prototype.stackingElementOffset=function(t){var e=this.getRelativeContextElement(t);return e?r.offset(e):null},t.prototype.stackingElementScroll=function(t){var e=this.getRelativeContextElement(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},t.prototype.stackingElementViewPort=function(t){var e=this.getRelativeContextElement(t);return e?{height:e.scrollHeight,width:e.scrollWidth}:null},t.prototype.getRelativeContextElement=function(t){if(!t||!o.HAS_RELATIVE_STACKING_CONTEXT)return null;for(var e=t.parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},t.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},t.prototype.windowViewPort=function(t){return r.getWindowViewPort(t)},t.prototype.zIndex=function(t,e){return o.zIndex(t,e)},t.prototype.zoomLevel=function(){return o.isDocumentAvailable()&&o.isWindowAvailable()?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},t.prototype.isZoomed=function(){return 1<this.zoomLevel()},t}();e.DOMService=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var f=n(0),o=function(){function t(t){this._dom=t}return t.prototype.alignElement=function(t){var e=t.anchor,n=t.element,o=t.anchorAlign,i=t.elementAlign,r=t.offset,l=this._dom.hasOffsetParent(n)?this.relativeRect(e,n,r):this.absoluteRect(e,n,r);return this._dom.align({anchorAlign:o,anchorRect:l,elementAlign:i,elementRect:this._dom.offset(n)})},t.prototype.absoluteRect=function(t,e,n){var o=this._dom,i=f.eitherRect(o.offset(t),n),r=o.stackingElementOffset(e),l=f.removeStackingOffset(i,r),s=o.stackingElementScroll(e),a=o.addScroll(l,s),p=this.elementScrollPosition(t,e),c=o.removeScroll(a,p);return c.left+=window.scrollX||window.pageXOffset,c.top+=window.scrollY||window.pageYOffset,c},t.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},t.prototype.relativeRect=function(t,e,n){return f.eitherRect(this._dom.position(t,e),n)},t}();e.AlignService=o},function(t,e){t.exports=l},function(t,e){t.exports=o},function(t,e){t.exports=a},function(t,e){t.exports=s},function(t,e){t.exports=r},function(t,e){t.exports=n},function(t,e,n){"use strict";var o,i=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=this&&this.__assign||Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t};Object.defineProperty(e,"__esModule",{value:!0});var d=n(10),h=n(9),r=n(8),s=n(7),m=n(6),v=n(5),l=n(0),p=n(4),c=n(3),f=n(2),a={left:-1e3,top:0},g="k-animation-container-shown",y=function(t){return h.findDOMNode(t)},_=function(e){function t(t){var a=e.call(this,t)||this;return a._exitingAnimation=!1,a.onOpened=function(){var t=y(a);a.props.show&&t.classList.add(g),a.attachRepositionHandlers(t),a.props.open&&a.props.open.call(void 0,{target:a})},a.onClosing=function(){a.props.show||y(a).classList.remove(g),a.detachRepositionHandlers()},a.onClosed=function(){a._exitingAnimation&&(a._exitingAnimation=!1,a.forceUpdate()),a.props.close&&a.props.close.call(void 0,{target:a})},a.position=function(t,e,n){var o=t.anchorAlign,i=t.popupAlign,r=t.collision,l=t.offset,s=a._alignService.alignElement({anchor:e,element:n,elementAlign:i,anchorAlign:o,offset:l});return a._positionService.positionElement({anchor:e,anchorAlign:o,collisions:r,element:n,currentLocation:s,elementAlign:i})},a._flipped=!1,a._offset=a.props.offset,a._appendTo=document?document.body:null,a._domService=new c.DOMService,a._alignService=new p.AlignService(a._domService),a._positionService=new f.PositionService(a._domService),a.onOpened=a.onOpened.bind(a),a.onClosing=a.onClosing.bind(a),a.reposition=l.throttle(a.reposition.bind(a),l.FRAME_DURATION),a}return i(t,e),t.prototype.componentWillReceiveProps=function(t){this.getDomElements(t),this._exitingAnimation=t.animate&&this.props.show&&!t.show},t.prototype.componentWillMount=function(){this.getDomElements(this.props)},t.prototype.componentWillUnmount=function(){this.detachRepositionHandlers(),delete this._anchorElement,delete this._appendTo},t.prototype.render=function(){var t=this.props,e=t.animate,n=t.children,o=t.className,i=t.popupClass,r=t.show,l=t.id;if(r){var s=this.calculatePosition(this._anchorElement,this.props);this._offset=s.offset,this._flipped=!!s.flipped}var a=this._flipped&&r?"up":"down",p=e?void 0:0,c=Object.assign({},this.props.style||{},u({},this._offset));if((r||this._exitingAnimation)&&this._appendTo){var f=d.createElement(m.Slide,{componentChildClassName:v.classNames(i,"k-popup"),className:v.classNames(o),id:l,onEntered:this.onOpened,onExiting:this.onClosing,onExited:this.onClosed,direction:a,style:c,transitionEnterDuration:p,transitionExitDuration:p,appear:!0},r?n:null);return h.createPortal(f,this._appendTo)}return null},t.prototype.calculatePosition=function(t,e){if(!this._appendTo)return{flipped:!1,offset:this.props.offset};var n=document.createElement("div");this._appendTo.appendChild(n);var o=Object.assign({},e.style||{},u({visibility:"hidden"},a)),i={className:v.classNames(e.popupClass,"k-popup","k-child-animation-container")},r=d.createElement("div",{className:v.classNames("k-animation-container",g,e.className),style:o},d.Children.map(e.children,function(t,e){return d.createElement("div",u({key:e},i),t)}));n.innerHTML=s.renderToStaticMarkup(r);var l=this.position(e,t,n.firstChild);return n.parentNode.removeChild(n),l},t.prototype.attachRepositionHandlers=function(t){var e=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this._anchorElement||t),this._scrollableParents.map(function(t){return t.addEventListener("scroll",e.reposition)}),window.addEventListener("resize",this.reposition)},t.prototype.detachRepositionHandlers=function(){var e=this;this._scrollableParents&&(this._scrollableParents.map(function(t){return t.removeEventListener("scroll",e.reposition)}),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},t.prototype.reposition=function(){this.forceUpdate()},t.prototype.getDomElements=function(t){this._appendTo=y(t.appendTo)||(document?document.body:null),this._anchorElement=y(t.anchor)},t.propTypes={anchor:function(t){var e=t.anchor;if(e&&"number"!=typeof e.nodeType&&!e.isReactComponent)return new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed.")},appendTo:function(t){var e=t.appendTo;if(e&&"number"!=typeof e.nodeType&&!e.isReactComponent)return new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed.")},className:r.string,id:r.string,popupClass:r.string,collision:r.shape({horizontal:r.oneOf([l.CollisionType.fit,l.CollisionType.flip]),vertical:r.oneOf([l.CollisionType.fit,l.CollisionType.flip])}),anchorAlign:r.shape({horizontal:r.oneOf([l.AlignPoint.left,l.AlignPoint.center,l.AlignPoint.right]),vertical:r.oneOf([l.AlignPoint.top,l.AlignPoint.center,l.AlignPoint.bottom])}),popupAlign:r.shape({horizontal:r.oneOf([l.AlignPoint.left,l.AlignPoint.center,l.AlignPoint.right]),vertical:r.oneOf([l.AlignPoint.top,l.AlignPoint.center,l.AlignPoint.bottom])}),offset:r.shape({left:r.number,top:r.number}),children:r.oneOfType([r.element,r.node]),show:r.bool,animate:r.bool},t.defaultProps={collision:{horizontal:l.CollisionType.fit,vertical:l.CollisionType.flip},anchorAlign:{horizontal:l.AlignPoint.left,vertical:l.AlignPoint.bottom},popupAlign:{horizontal:l.AlignPoint.left,vertical:l.AlignPoint.top},offset:a,animate:!0,show:!1},t}(d.Component);e.default=_},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(11);e.Popup=o.default,function(t){for(var e in t)i(e,t[e])}(e)}])}}});
System.register("@progress/kendo-react-popup",["react","@progress/kendo-react-animation","react-dom","prop-types","@progress/kendo-react-common","react-dom/server","@progress/kendo-popup-common"],function(i){var n,o,r,l,s,a,p;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){n=e(t)},function(t){o=e(t)},function(t){r=e(t)},function(t){l=e(t)},function(t){s=e(t)},function(t){a=e(t)},function(t){p=e(t)}],execute:function(){!function(n){var o={};function i(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}i.m=n,i.c=o,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=12)}([function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i=e(1);r.eitherRect=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},r.replaceOffset=function(t,e){return e?{height:t.height,left:e.left,top:e.top,width:t.width}:t},r.removeStackingOffset=function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t},r.isDifferentOffset=function(t,e){var n=t.left,o=t.top,i=e.left,r=e.top;return 1<=Math.abs(n-i)||1<=Math.abs(o-r)},r.isDocumentAvailable=function(){return"undefined"!=typeof document&&!!document.body},r.isWindowAvailable=function(){return"undefined"!=typeof window},r.hasBoundingRect=function(t){return!!t.getBoundingClientRect},r.OVERFLOW_REGEXP=/auto|scroll/;r.scrollableParents=function(t){var e,n,o=[];if(!r.isDocumentAvailable()||!r.isWindowAvailable())return o;for(var i=t.parentElement;i;)r.OVERFLOW_REGEXP.test((e=i,void 0,""+(n=window.getComputedStyle(e)).overflow+n.overflowX+n.overflowY))&&o.push(i),i=i.parentElement;return o.push(window),o},r.FRAME_DURATION=1e3/60,r.hasRelativeStackingContext=function(){if(!r.isDocumentAvailable())return!1;var t=document.createElement("div");t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML='<div style="position: fixed; top: 10px;">child</div>',document.body.appendChild(t);var e=10!==t.children[0].getBoundingClientRect().top;return document.body.removeChild(t),e},r.HAS_RELATIVE_STACKING_CONTEXT=r.hasRelativeStackingContext(),r.zIndex=function(t,e){if(!t||!r.isDocumentAvailable()||!r.isWindowAvailable())return null;var n=i.siblingContainer(t,e);if(!n)return null;var o=[t].concat(i.parents(t,n)).reduce(function(t,e){var n=e.style.zIndex||window.getComputedStyle(e).zIndex,o=parseInt(n,10);return t<o?o:t},0);return o?o+1:null},r.CollisionType={fit:"fit",flip:"flip"},r.AlignPoint={left:"left",center:"center",right:"right",bottom:"bottom",top:"top"},r.throttle=function(n,o,i){var r,l,s,a;void 0===i&&(i={});var p=0;i=i||{};var c=function(){p=!1===i.leading?0:(new Date).getTime(),r=null,a=n.apply(l,s),r||(l=s=null)};return function(){var t=(new Date).getTime();p||!1!==i.leading||(p=t);var e=o-(t-p);return l=this,s=arguments,e<=0||o<e?(r&&(clearTimeout(r),r=null),p=t,a=n.apply(l,s),r||(l=s=null)):r||!1===i.trailing||(r=setTimeout(c,e)),a}}},function(t,e){t.exports=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var d=n(0),o=function(){function t(t){this._dom=t}return t.prototype.positionElement=function(t){var e=t.anchor,n=t.currentLocation,o=t.element,i=t.anchorAlign,r=t.elementAlign,l=t.collisions,s=this._dom,a=t.viewPort||s.stackingElementViewPort(o)||s.windowViewPort(o),p=d.eitherRect(s.offset(e),n),c=d.replaceOffset(s.staticOffset(o),n),f=this.elementRect(o,c),u=s.restrictToView({anchorAlign:i,anchorRect:p,collisions:l,elementAlign:r,elementRect:f,viewPort:a});return{flipped:u.flipped,offset:s.addOffset(c,u.offset)}},t.prototype.elementRect=function(t,e){return this._dom.removeScroll(e,this._dom.scrollPosition(t))},t}();e.PositionService=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=n(0),i=function(){function t(){}return t.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},t.prototype.align=function(t){return r.align(t)},t.prototype.boundingOffset=function(t){return r.boundingOffset(t)},t.prototype.getWindow=function(){return o.isWindowAvailable()?window:null},t.prototype.isBodyOffset=function(t){return r.isBodyOffset(t)},t.prototype.hasOffsetParent=function(t){if(!t)return!1;var e=t.offsetParent;return e&&!("BODY"===e.nodeName&&"static"===window.getComputedStyle(e).position)},t.prototype.offset=function(t){return t?r.offset(t):null},t.prototype.staticOffset=function(t){if(!t)return null;var e=t.style,n=e.left,o=e.top;t.style.left="0px",t.style.top="0px";var i=r.offset(t);return t.style.left=n,t.style.top=o,i},t.prototype.position=function(t,e){if(!t||!e)return null;var n=r.siblingContainer(t,e);return r.positionWithScroll(t,n)},t.prototype.relativeOffset=function(t,e){return r.applyLocationOffset(this.offset(t),e,this.isBodyOffset(t))},t.prototype.addScroll=function(t,e){return r.addScroll(t,e)},t.prototype.removeScroll=function(t,e){return r.removeScroll(t,e)},t.prototype.restrictToView=function(t){return r.restrictToView(t)},t.prototype.scrollPosition=function(t){return r.scrollPosition(t)},t.prototype.scrollableParents=function(t){return o.scrollableParents(t)},t.prototype.stackingElementOffset=function(t){var e=this.getRelativeContextElement(t);return e?r.offset(e):null},t.prototype.stackingElementScroll=function(t){var e=this.getRelativeContextElement(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},t.prototype.stackingElementViewPort=function(t){var e=this.getRelativeContextElement(t);return e?{height:e.scrollHeight,width:e.scrollWidth}:null},t.prototype.getRelativeContextElement=function(t){if(!t||!o.HAS_RELATIVE_STACKING_CONTEXT)return null;for(var e=t.parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},t.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},t.prototype.windowViewPort=function(t){return r.getWindowViewPort(t)},t.prototype.zIndex=function(t,e){return o.zIndex(t,e)},t.prototype.zoomLevel=function(){return o.isDocumentAvailable()&&o.isWindowAvailable()?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},t.prototype.isZoomed=function(){return 1<this.zoomLevel()},t}();e.DOMService=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var f=n(0),o=function(){function t(t){this._dom=t}return t.prototype.alignElement=function(t){var e=t.anchor,n=t.element,o=t.anchorAlign,i=t.elementAlign,r=t.offset,l=this._dom.hasOffsetParent(n)?this.relativeRect(e,n,r):this.absoluteRect(e,n,r);return this._dom.align({anchorAlign:o,anchorRect:l,elementAlign:i,elementRect:this._dom.offset(n)})},t.prototype.absoluteRect=function(t,e,n){var o=this._dom,i=f.eitherRect(o.offset(t),n),r=o.stackingElementOffset(e),l=f.removeStackingOffset(i,r),s=o.stackingElementScroll(e),a=o.addScroll(l,s),p=this.elementScrollPosition(t,e),c=o.removeScroll(a,p);return c.left+=window.scrollX||window.pageXOffset,c.top+=window.scrollY||window.pageYOffset,c},t.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},t.prototype.relativeRect=function(t,e,n){return f.eitherRect(this._dom.position(t,e),n)},t}();e.AlignService=o},function(t,e){t.exports=s},function(t,e){t.exports=o},function(t,e){t.exports=a},function(t,e){t.exports=l},function(t,e){t.exports=r},function(t,e){t.exports=n},function(t,e,n){"use strict";var o,i=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=this&&this.__assign||Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t};Object.defineProperty(e,"__esModule",{value:!0});var d=n(10),h=n(9),r=n(8),s=n(7),m=n(6),v=n(5),l=n(0),p=n(4),c=n(3),f=n(2),a={left:-1e3,top:0},g="k-animation-container-shown",y=function(t){return h.findDOMNode(t)},_=function(e){function t(t){var a=e.call(this,t)||this;return a._exitingAnimation=!1,a.onOpened=function(){var t=y(a);a.props.show&&t.classList.add(g),a.attachRepositionHandlers(t),a.props.open&&a.props.open.call(void 0,{target:a})},a.onClosing=function(){a.props.show||y(a).classList.remove(g),a.detachRepositionHandlers()},a.onClosed=function(){a._exitingAnimation&&(a._exitingAnimation=!1,a.forceUpdate()),a.props.close&&a.props.close.call(void 0,{target:a})},a.position=function(t,e,n){var o=t.anchorAlign,i=t.popupAlign,r=t.collision,l=t.offset,s=a._alignService.alignElement({anchor:e,element:n,elementAlign:i,anchorAlign:o,offset:l});return a._positionService.positionElement({anchor:e,anchorAlign:o,collisions:r,element:n,currentLocation:s,elementAlign:i})},a._flipped=!1,a._offset=a.props.offset,a._appendTo=document?document.body:null,a._domService=new c.DOMService,a._alignService=new p.AlignService(a._domService),a._positionService=new f.PositionService(a._domService),a.onOpened=a.onOpened.bind(a),a.onClosing=a.onClosing.bind(a),a.reposition=l.throttle(a.reposition.bind(a),l.FRAME_DURATION),a}return i(t,e),t.prototype.componentWillReceiveProps=function(t){this.getDomElements(t),this._exitingAnimation=t.animate&&this.props.show&&!t.show},t.prototype.componentWillMount=function(){this.getDomElements(this.props)},t.prototype.componentWillUnmount=function(){this.detachRepositionHandlers(),delete this._anchorElement,delete this._appendTo},t.prototype.render=function(){var t=this.props,e=t.animate,n=t.children,o=t.className,i=t.popupClass,r=t.show,l=t.id;if(r){var s=this.calculatePosition(this._anchorElement,this.props);this._offset=s.offset,this._flipped=!!s.flipped}var a=this._flipped&&r?"up":"down",p=e?void 0:0,c=Object.assign({},this.props.style||{},u({},this._offset));if((r||this._exitingAnimation)&&this._appendTo){var f=d.createElement(m.Slide,{componentChildClassName:v.classNames(i,"k-popup"),className:v.classNames(o),id:l,onEntered:this.onOpened,onExiting:this.onClosing,onExited:this.onClosed,direction:a,style:c,transitionEnterDuration:p,transitionExitDuration:p,appear:!0},r?n:null);return h.createPortal(f,this._appendTo)}return null},t.prototype.calculatePosition=function(t,e){if(!this._appendTo)return{flipped:!1,offset:this.props.offset};var n=document.createElement("div");this._appendTo.appendChild(n);var o=Object.assign({},e.style||{},u({visibility:"hidden"},a)),i={className:v.classNames(e.popupClass,"k-popup","k-child-animation-container")},r=d.createElement("div",{className:v.classNames("k-animation-container",g,e.className),style:o},d.Children.map(e.children,function(t,e){return d.createElement("div",u({key:e},i),t)}));n.innerHTML=s.renderToStaticMarkup(r);var l=this.position(e,t,n.firstChild);return n.parentNode.removeChild(n),l},t.prototype.attachRepositionHandlers=function(t){var e=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this._anchorElement||t),this._scrollableParents.map(function(t){return t.addEventListener("scroll",e.reposition)}),window.addEventListener("resize",this.reposition)},t.prototype.detachRepositionHandlers=function(){var e=this;this._scrollableParents&&(this._scrollableParents.map(function(t){return t.removeEventListener("scroll",e.reposition)}),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},t.prototype.reposition=function(){this.forceUpdate()},t.prototype.getDomElements=function(t){this._appendTo=y(t.appendTo)||(document?document.body:null),this._anchorElement=y(t.anchor)},t.propTypes={anchor:function(t){var e=t.anchor;if(e&&"number"!=typeof e.nodeType&&!e.isReactComponent)return new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed.")},appendTo:function(t){var e=t.appendTo;if(e&&"number"!=typeof e.nodeType&&!e.isReactComponent)return new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed.")},className:r.string,id:r.string,popupClass:r.string,collision:r.shape({horizontal:r.oneOf([l.CollisionType.fit,l.CollisionType.flip]),vertical:r.oneOf([l.CollisionType.fit,l.CollisionType.flip])}),anchorAlign:r.shape({horizontal:r.oneOf([l.AlignPoint.left,l.AlignPoint.center,l.AlignPoint.right]),vertical:r.oneOf([l.AlignPoint.top,l.AlignPoint.center,l.AlignPoint.bottom])}),popupAlign:r.shape({horizontal:r.oneOf([l.AlignPoint.left,l.AlignPoint.center,l.AlignPoint.right]),vertical:r.oneOf([l.AlignPoint.top,l.AlignPoint.center,l.AlignPoint.bottom])}),offset:r.shape({left:r.number,top:r.number}),children:r.oneOfType([r.element,r.node]),show:r.bool,animate:r.bool},t.defaultProps={collision:{horizontal:l.CollisionType.fit,vertical:l.CollisionType.flip},anchorAlign:{horizontal:l.AlignPoint.left,vertical:l.AlignPoint.bottom},popupAlign:{horizontal:l.AlignPoint.left,vertical:l.AlignPoint.top},offset:a,animate:!0,show:!1},t}(d.Component);e.default=_},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(11);e.Popup=o.default,function(t){for(var e in t)i(e,t[e])}(e)}])}}});
{
"name": "@progress/kendo-react-popup",
"description": "Kendo UI for React Popup package",
"version": "0.5.1-dev.201804061416",
"version": "0.5.1",
"repository": {

@@ -31,4 +31,4 @@ "type": "git",

"@progress/kendo-popup-common": "^1.2.2",
"@progress/kendo-react-animation": "0.5.1-dev.201804061416",
"@progress/kendo-react-common": "0.5.1-dev.201804061416",
"@progress/kendo-react-animation": "0.5.1",
"@progress/kendo-react-common": "0.5.1",
"prop-types": "^15.6.0"

@@ -35,0 +35,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc