🚀 Socket Launch Week 🚀 Day 2: Introducing Repository Labels and Security Policies.Learn More

@progress/kendo-react-progressbars

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version

to
3.18.0-dev.202010151243

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

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("prop-types"),require("react"),require("react-transition-group")):"function"==typeof define&&define.amd?define(["prop-types","react","react-transition-group"],t):"object"==typeof exports?exports.KendoReactProgressbars=t(require("prop-types"),require("react"),require("react-transition-group")):e.KendoReactProgressbars=t(e.PropTypes,e.React,e.ReactTransitionGroup)}(window,(function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"classNames",(function(){return r})),n.d(t,"useAsyncFocusBlur",(function(){return P})),n.d(t,"guid",(function(){return o})),n.d(t,"Keys",(function(){return i})),n.d(t,"noop",(function(){return a})),n.d(t,"FormComponent",(function(){return u})),n.d(t,"dispatchEvent",(function(){return s})),n.d(t,"canUseDOM",(function(){return c})),n.d(t,"Draggable",(function(){return k})),n.d(t,"focusFirstFocusableChild",(function(){return E})),n.d(t,"useDir",(function(){return w})),n.d(t,"useRtl",(function(){return N})),n.d(t,"useDraggable",(function(){return j})),n.d(t,"getter",(function(){return z})),n.d(t,"setter",(function(){return R})),n.d(t,"clone",(function(){return F})),n.d(t,"cloneArray",(function(){return q})),n.d(t,"cloneValue",(function(){return H})),n.d(t,"cloneObject",(function(){return I})),n.d(t,"cloneDate",(function(){return M})),n.d(t,"getTabIndex",(function(){return B}));var r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?r.apply(void 0,e):"object"==typeof e?Object.keys(e).map((function(t,n){return e[n]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},o=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},i={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},a=function(){},u=function(){};function s(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}var c=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),p=n(1),l=n(0),d=function(e,t){return function(n){return t(e(n))}},f=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},v=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},m=function(){},h=function(e){return e.preventDefault()},y=/touch/;function g(e){return e.type.match(y)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var b=function(e){var t=this,n=e.press;void 0===n&&(n=m);var r=e.drag;void 0===r&&(r=m);var o=e.release;void 0===o&&(o=m);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=d(g,n),this._dragHandler=d(g,r),this._releaseHandler=d(g,o),this._ignoreMouse=!1,this._mouseOnly=i,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(f(document,"mousemove",t._mousemove),f(document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){v(document,"mousemove",t._mousemove),v(document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(f(document,"pointermove",t._pointermove),f(document,"pointerup",t._pointerup),f(document,"pointercancel",t._pointerup),f(document,"contextmenu",h),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(v(document,"pointermove",t._pointermove),v(document,"pointerup",t._pointerup),v(document,"pointercancel",t._pointerup),v(document,"contextmenu",h),t._releaseHandler(e))}};b.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},b.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},b.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?f(e,"pointerdown",this._pointerdown):(f(e,"mousedown",this._mousedown),this._mouseOnly||(f(e,"touchstart",this._touchstart),f(e,"touchmove",this._touchmove),f(e,"touchend",this._touchend)))},b.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return v(e,"pointerdown",this._pointerdown),v(document,"pointermove",this._pointermove),v(document,"pointerup",this._pointerup),v(document,"contextmenu",h),void v(document,"pointercancel",this._pointerup);v(e,"mousedown",this._mousedown),this._mouseOnly||(v(e,"touchstart",this._touchstart),v(e,"touchmove",this._touchmove),v(e,"touchend",this._touchend))},b.prototype._usePointers=function(){return!this._mouseOnly&&b.supportPointerEvent()},b.prototype.update=function(e){var t=e.press;void 0===t&&(t=m);var n=e.drag;void 0===n&&(n=m);var r=e.release;void 0===r&&(r=m);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=d(g,t),this._dragHandler=d(g,n),this._releaseHandler=d(g,r),this._mouseOnly=o},b.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},b.default=b;var x,O=b,_=(x=function(e,t){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.element=null,t.draggable=new O({press:function(e){t.element&&t.props.onPress&&t.props.onPress.call(void 0,{target:t,event:e,element:t.element})},drag:function(e){t.element&&t.props.onDrag&&t.props.onDrag.call(void 0,{target:t,event:e,element:t.element})},release:function(e){t.element&&t.props.onRelease&&t.props.onRelease.call(void 0,{target:t,event:e})}}),t.assingRef=function(e){t.element=e},t}return _(t,e),t.prototype.componentDidMount=function(){this.element&&this.draggable.bindTo(this.element)},t.prototype.componentWillUnmount=function(){this.draggable.destroy()},t.prototype.render=function(){return p.cloneElement(p.Children.only(this.props.children),{ref:this.assingRef})},t.propTypes={children:l.element.isRequired},t}(p.Component),E=function(e){if(e){if((e instanceof HTMLInputElement||-1!==e.tabIndex)&&e.focus)return void e.focus();var t=e.querySelector('input, [tabindex]:not([tabindex="-1"])');t&&t.focus&&t.focus()}};function w(e,t,n){var r=p.useState(t),o=r[0],i=r[1];return p.useEffect((function(){if(!o&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),o}function P(e){var t=e.onFocus,n=e.onBlur,r=p.useRef(0),o=p.useCallback((function(e){clearTimeout(r.current),r.current=setTimeout((function(){return e()}))}),[r]);return{onFocus:p.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(r.current),t&&t.call.apply(t,[void 0].concat(e))}),[t,r]),onBlur:p.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];o((function(){n&&n.call.apply(n,[void 0].concat(e))}))}),[o])}}function j(e,t){var n=t.onPress,r=t.onDrag,o=t.onRelease,i=p.useMemo((function(){return new O({press:n,drag:r,release:o})}),[]);p.useEffect((function(){var t=e.current;if(t)return i.bindTo(t),function(){i.destroy()}}),[]),p.useEffect((function(){i.update({press:n,drag:r,release:o})}),[n,r,o])}function N(e,t,n){var r=p.useState(t),o=r[0],i=r[1];return p.useEffect((function(){if(!o&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),o}var C=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function S(e){var t=[];return e.replace(C,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}var T={};function z(e){if(T[e])return T[e];var t=S(e);return T[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},T[e]}T.undefined=function(){};var D={undefined:function(e){return e}},A=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function R(e){if(D[e])return D[e];var t=S(e);return D[e]=function(e,n,r){for(var o=e,i=t.length-1,a=0;a<i&&o;a++)o=o[t[a]]=o[t[a]]||A(t[a+1],r);o[t[i]]=n},D[e]}var M=function(e){return e?new Date(e.getTime()):null};function F(e){var t={};return I(e,t),t}function I(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=H(r,t[n])}}function H(e,t){if(Array.isArray(e))return q(e);if(e instanceof Date)return M(e);if(e&&"object"==typeof e){var n=t||{};return I(e,n),n}return e}function q(e){return e.map((function(e){return H(e,void 0)}))}var B=function(e,t,n){var r="string"==typeof e?parseInt(e,void 0):e;if(NaN!==r)return void 0!==r?r:t?n?void 0:-1:0}},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.truncateNumber=function(e){var t=e.toString().split(".");return 1===t.length?""+t[0]:t[0]+"."+t[1].substr(0,r.LABEL_DECIMALS)},t.calculatePercentage=function(e,t,n){var r=Math.abs((t-e)/100);return Math.abs((n-e)/r)},t.updateProgress=function(e,t,n,r){var o=Math.max(n,.01),i=100/o*100;e.current.style.width=r?"100%":o+"%",t.current.style.width=r?"100%":i+"%",e.current.style.height=r?o+"%":"100%",t.current.style.height=r?i+"%":"100%"},t.calculateRatio=function(e,t,n){return Math.max((n-e)/(t-e),r.MIN_RATIO)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_RATIO=1e-5,t.LABEL_DECIMALS=3,t.DEFAULT_ANIMATION_DURATION=400,t.NO_ANIMATION=0},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(7)),r(n(8))},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),a=n(2),u=n(4);t.ChunkProgressBar=o.forwardRef((function(e,t){var n=e.chunkCount,i=void 0===n?s.chunkCount:n,c=e.className,p=e.disabled,l=e.orientation,d=e.min,f=void 0===d?s.min:d,v=e.max,m=void 0===v?s.max:v,h=e.reverse,y=void 0===h?s.reverse:h,g=e.style,b=e.tabIndex,x=e.emptyStyle,O=e.emptyClassName,_=e.progressStyle,k=e.progressClassName,E=o.useRef(null),w=o.useCallback((function(){E.current&&E.current.focus()}),[]);o.useImperativeHandle(t,(function(){return{element:E,focus:w}}));var P=e.value||s.value,j=null===e.value,N=a.useRtl(E,e.dir),C="vertical"===l,S={className:a.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!C,"k-progressbar-vertical":C,"k-progressbar-reverse":y,"k-progressbar-indeterminate":j,"k-state-disabled":p},c),ref:E,dir:N,tabIndex:a.getTabIndex(b,p),role:"progressbar","aria-valuemin":f,"aria-valuemax":m,"aria-valuenow":j?void 0:P,"aria-disabled":p,style:g};return o.createElement("div",r({},S),o.createElement("ul",{className:"k-reset"},o.createElement((function(e){for(var t=e.count,n=[],i=100/t+"%",s=u.calculateRatio(f,m,P),c=Math.floor(s*t),p=Array(t).fill(!1),l=C&&!y||!C&&y,d=0;d<c;d++)p[d]=!0;l&&p.reverse();for(d=0;d<t;++d){var v=p[d],h=v?k:O,g=r({},{width:C?void 0:i,height:C?i:void 0},v?_:x);n.push(o.createElement("li",{key:d,className:a.classNames("k-item",{"k-first":0===d,"k-last":d===t-1,"k-state-selected":v},h),style:g}))}return o.createElement(o.Fragment,null,n)}),{count:i||s.chunkCount})))})),t.ChunkProgressBar.propTypes={chunkCount:i.number,disabled:i.bool,reverse:i.bool,max:i.number,min:i.number,value:i.number,tabIndex:i.number,emptyStyle:i.object,emptyClassName:i.string,progressStyle:i.object,progressClassName:i.string};var s={chunkCount:5,min:0,max:100,value:0,disabled:!1,reverse:!1};t.ChunkProgressBar.defaultProps=s,t.ChunkProgressBar.displayName="KendoChunkProgressBar"},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),a=n(10),u=n(2),s=n(4),c=n(9),p=n(5);t.ProgressBar=o.forwardRef((function(e,t){var n=e.animation,i=e.disabled,d=e.reverse,f=void 0===d?l.reverse:d,v=e.orientation,m=e.labelVisible,h=e.labelPlacement,y=e.max,g=void 0===y?l.max:y,b=e.min,x=void 0===b?l.min:b,O=e.tabIndex,_=e.className,k=e.style,E=e.emptyStyle,w=e.emptyClassName,P=e.progressStyle,j=e.progressClassName,N=o.useRef(null),C=o.useRef(null),S=o.useRef(null),T=o.useCallback((function(){N.current&&N.current.focus()}),[]);o.useImperativeHandle(t,(function(){return{element:N,progressStatusRef:C,progressStatusWrapRef:S,focus:T}}));var z=e.value||l.value,D=c.usePrevious(z),A=null===e.value,R=u.useRtl(N,e.dir),M="vertical"===v,F=s.truncateNumber(z),I={value:z},H=m?e.label?o.createElement("span",{className:"k-progress-status"},o.createElement(e.label,r({},I))):o.createElement("span",{className:"k-progress-status"},F):void 0,q={className:u.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!M,"k-progressbar-vertical":M,"k-progressbar-reverse":f,"k-progressbar-indeterminate":A,"k-state-disabled":i},_),ref:N,dir:R,tabIndex:u.getTabIndex(O,i),role:"progressbar","aria-valuemin":x,"aria-valuemax":g,"aria-valuenow":A?void 0:z,"aria-disabled":i,style:k},B=u.classNames("k-progress-status-wrap",{"k-progress-start":"start"===h,"k-progress-center":"center"===h,"k-progress-end":"end"===h||void 0===h}),W="boolean"!=typeof n&&void 0!==n?n.duration:n?p.DEFAULT_ANIMATION_DURATION:p.NO_ANIMATION,L=o.useCallback((function(){var e=s.calculatePercentage(x,g,D);s.updateProgress(C,S,e,M)}),[D]),K=o.useCallback((function(e){var t=s.calculatePercentage(x,g,D+(z-D)*e);s.updateProgress(C,S,t,M)}),[z,D]),U=o.useCallback((function(){var e=s.calculatePercentage(x,g,z);s.updateProgress(C,S,e,M)}),[z]);return a.useAnimation({duration:W,onStart:L,onUpdate:K,onEnd:U},[z,W]),o.createElement("div",r({},q),o.createElement("span",{className:B+(w?" "+w:""),style:E},H),o.createElement("div",{className:"k-state-selected",style:P,ref:C},o.createElement("span",{className:B+(j?" "+j:""),ref:S},H)))})),t.ProgressBar.propTypes={animation:i.any,disabled:i.bool,reverse:i.bool,label:i.any,labelVisible:i.bool,labelPlacement:i.oneOf(["start","center","end"]),max:i.number,min:i.number,value:i.number,tabIndex:i.number,emptyStyle:i.object,emptyClassName:i.string,progressStyle:i.object,progressClassName:i.string};var l={animation:!1,min:0,max:100,value:0,disabled:!1,reverse:!1,labelVisible:!0};t.ProgressBar.defaultProps=l,t.ProgressBar.displayName="KendoProgressBar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.usePrevious=function(e){var t=r.useRef();return r.useEffect((function(){t.current=e})),t.current}},function(e,t,n){"use strict";n.r(t),n.d(t,"Animation",(function(){return x})),n.d(t,"AnimationChild",(function(){return m})),n.d(t,"Fade",(function(){return E})),n.d(t,"Expand",(function(){return N})),n.d(t,"Push",(function(){return D})),n.d(t,"Slide",(function(){return F})),n.d(t,"Zoom",(function(){return W})),n.d(t,"Reveal",(function(){return X})),n.d(t,"useAnimation",(function(){return Y}));var r,o=n(1),i=n(0),a=n(2),u=n(3),s=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),r=parseFloat(t.marginBottom);return e.offsetHeight+n+r},c=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),r=parseFloat(t.marginRight);return e.offsetWidth+n+r},p={"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","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"},l=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(){return(d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},v=p,m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.style,i=t.appear,s=t.enter,c=t.exit,p=t.transitionName,l=t.transitionEnterDuration,m=t.transitionExitDuration,h=t.className,y=t.onEnter,g=t.onEntering,b=t.onEntered,x=t.onExit,O=t.onExiting,_=t.onExited,k=t.mountOnEnter,E=t.unmountOnExit,w=t.animationEnteringStyle,P=t.animationEnteredStyle,j=t.animationExitingStyle,N=t.animationExitedStyle,C=f(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),S=Object(a.classNames)(h,v["child-animation-container"]),T=d({transitionDelay:"0ms"},r),z={entering:d({transitionDuration:l+"ms"},w),entered:d({},P),exiting:d({transitionDuration:m+"ms"},j),exited:d({},N)},D={in:this.props.in,appear:i,enter:s,exit:c,mountOnEnter:k,unmountOnExit:E,timeout:{enter:l,exit:m},onEnter:function(t){y&&y.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){g&&g.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){b&&b.call(void 0,{animatedElement:t,target:e})},onExit:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){O&&O.call(void 0,{animatedElement:t,target:e})},onExited:function(t){_&&_.call(void 0,{animatedElement:t,target:e})},classNames:{appear:v[p+"-appear"]||p+"-appear",appearActive:v[p+"-appear-active"]||p+"-appear-active",enter:v[p+"-enter"]||p+"-enter",enterActive:v[p+"-enter-active"]||p+"-enter-active",exit:v[p+"-exit"]||p+"-exit",exitActive:v[p+"-exit-active"]||p+"-exit-active"}};return o.createElement(u.CSSTransition,d({},D,C),(function(t){return o.createElement("div",{style:d({},T,z[t]),className:S,ref:function(t){e._element=t}},n)}))},t.propTypes={in:i.bool,children:i.oneOfType([i.arrayOf(i.node),i.node]),transitionName:i.string.isRequired,className:i.string,appear:i.bool,enter:i.bool,exit:i.bool,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired,mountOnEnter:i.bool,unmountOnExit:i.bool,animationEnteringStyle:i.object,animationEnteredStyle:i.object,animationExitingStyle:i.object,animationExitedStyle:i.object},t.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:{}},t}(o.Component),h=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y=function(){return(y=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},b=p,x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,r=e.children,i=e.component,s=e.className,c=e.childFactory,p=(e.stackChildren,e.componentChildStyle),l=e.componentChildClassName,d=g(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),f={id:t,style:n,component:i,childFactory:c,className:Object(a.classNames)(b["animation-container"],b["animation-container-relative"],s)},v=o.Children.map(r||null,(function(e){return o.createElement(m,y({},d,{style:p,className:l}),e)}));return o.createElement(u.TransitionGroup,y({},f),v)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,component:i.string,id:i.string,style:i.any,transitionName:i.string.isRequired,appear:i.bool.isRequired,enter:i.bool.isRequired,exit:i.bool.isRequired,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired},t.defaultProps={component:"div"},t}(o.Component),O=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(){return(_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=k(e,["children"]);return o.createElement(x,_({},{transitionName:"fade"},n),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(o.Component),w=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),P=function(){return(P=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=j(e,["direction","children"]),i={transitionName:"expand-"+t};return o.createElement(x,P({},i,r),n)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["horizontal","vertical"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(o.Component),C=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(){return(S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},z={position:"absolute",top:"0",left:"0"},D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=T(e,["children","direction"]);return o.createElement(x,S({},r,{transitionName:"push-"+n,animationExitingStyle:this.props.stackChildren?z:void 0}),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["up","down","left","right"]),component:i.string,id:i.string,style:i.any,stackChildren:i.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(o.Component),A=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),R=function(){return(R=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=M(e,["direction","children"]),i={transitionName:"slide-"+t};return o.createElement(x,R({},i,r),n)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["up","down","left","right"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t}(o.Component),I=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),H=function(){return(H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},q=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},B={position:"absolute",top:"0",left:"0"},W=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return I(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=q(e,["children","direction"]);return o.createElement(x,H({},r,{transitionName:"zoom-"+n,animationExitingStyle:this.props.stackChildren?B:void 0}),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["in","out"]),component:i.string,id:i.string,style:i.any,stackChildren:i.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(o.Component),L=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),K=function(){return(K=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},U=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},X=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={maxHeight:void 0,maxWidth:void 0},t.componentWillEnter=function(e){var n=t.props.onEnter;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.componentIsEntering=function(e){var n=t.props.onEntering;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.componentWillExit=function(e){var n=t.props.onExit;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.updateContainerDimensions=function(e,n){void 0===n&&(n=a.noop);var r=e.firstChild;if(r){var o=s(r),i=c(r);t.setState({maxHeight:o,maxWidth:i},n)}},t}return L(t,e),t.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.children,i=t.childFactory,a=U(t,["direction","children","childFactory"]),u=this.state,s=u.maxHeight,c=u.maxWidth,p={maxHeight:(e="vertical"===n?{maxHeight:s?s+"px":null}:{maxWidth:c?c+"px":null}).maxHeight,maxWidth:e.maxWidth};return o.createElement(x,K({},a,{childFactory:i||function(t){return t.props.in?t:o.cloneElement(t,K({},t.props,{style:K({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:p,transitionName:"reveal-"+n}),r)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["horizontal","vertical"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(o.Component),Y=function(e,t){var n=o.useRef(0),r=o.useRef(!1),i=o.useRef();o.useEffect((function(){return function(e){var t,r=e.duration,o=n.current&&1-n.current;e.onStart&&e.onStart();var a=function(u){t||(t=u);var s=(u-t+1)/r+o;s<=1?(e.onUpdate&&e.onUpdate(s),i.current=window.requestAnimationFrame(a),n.current=s):(e.onEnd&&e.onEnd(1),n.current=0)};i.current=window.requestAnimationFrame(a)}(e),function(){i.current&&window.cancelAnimationFrame(i.current)}}),t),o.useEffect((function(){r.current=!0}),[])}}])}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("prop-types"),require("react"),require("react-transition-group")):"function"==typeof define&&define.amd?define(["prop-types","react","react-transition-group"],t):"object"==typeof exports?exports.KendoReactProgressbars=t(require("prop-types"),require("react"),require("react-transition-group")):e.KendoReactProgressbars=t(e.PropTypes,e.React,e.ReactTransitionGroup)}(window,(function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"classNames",(function(){return r})),n.d(t,"useAsyncFocusBlur",(function(){return P})),n.d(t,"guid",(function(){return o})),n.d(t,"Keys",(function(){return i})),n.d(t,"noop",(function(){return a})),n.d(t,"FormComponent",(function(){return u})),n.d(t,"dispatchEvent",(function(){return s})),n.d(t,"canUseDOM",(function(){return c})),n.d(t,"Draggable",(function(){return k})),n.d(t,"focusFirstFocusableChild",(function(){return w})),n.d(t,"useDir",(function(){return E})),n.d(t,"useRtl",(function(){return N})),n.d(t,"useDraggable",(function(){return j})),n.d(t,"getter",(function(){return T})),n.d(t,"setter",(function(){return M})),n.d(t,"clone",(function(){return I})),n.d(t,"cloneArray",(function(){return B})),n.d(t,"cloneValue",(function(){return H})),n.d(t,"cloneObject",(function(){return F})),n.d(t,"cloneDate",(function(){return A})),n.d(t,"getTabIndex",(function(){return q})),n.d(t,"Icon",(function(){return U})),n.d(t,"SvgIcon",(function(){return G}));var r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?r.apply(void 0,e):"object"==typeof e?Object.keys(e).map((function(t,n){return e[n]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},o=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},i={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},a=function(){},u=function(){};function s(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}var c=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),l=n(1),p=n(0),f=function(e,t){return function(n){return t(e(n))}},d=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},m=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},v=function(){},h=function(e){return e.preventDefault()},y=/touch/;function g(e){return e.type.match(y)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var b=function(e){var t=this,n=e.press;void 0===n&&(n=v);var r=e.drag;void 0===r&&(r=v);var o=e.release;void 0===o&&(o=v);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=f(g,n),this._dragHandler=f(g,r),this._releaseHandler=f(g,o),this._ignoreMouse=!1,this._mouseOnly=i,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(d(document,"mousemove",t._mousemove),d(document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){m(document,"mousemove",t._mousemove),m(document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(d(document,"pointermove",t._pointermove),d(document,"pointerup",t._pointerup),d(document,"pointercancel",t._pointerup),d(document,"contextmenu",h),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(m(document,"pointermove",t._pointermove),m(document,"pointerup",t._pointerup),m(document,"pointercancel",t._pointerup),m(document,"contextmenu",h),t._releaseHandler(e))}};b.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},b.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},b.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?d(e,"pointerdown",this._pointerdown):(d(e,"mousedown",this._mousedown),this._mouseOnly||(d(e,"touchstart",this._touchstart),d(e,"touchmove",this._touchmove),d(e,"touchend",this._touchend)))},b.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return m(e,"pointerdown",this._pointerdown),m(document,"pointermove",this._pointermove),m(document,"pointerup",this._pointerup),m(document,"contextmenu",h),void m(document,"pointercancel",this._pointerup);m(e,"mousedown",this._mousedown),this._mouseOnly||(m(e,"touchstart",this._touchstart),m(e,"touchmove",this._touchmove),m(e,"touchend",this._touchend))},b.prototype._usePointers=function(){return!this._mouseOnly&&b.supportPointerEvent()},b.prototype.update=function(e){var t=e.press;void 0===t&&(t=v);var n=e.drag;void 0===n&&(n=v);var r=e.release;void 0===r&&(r=v);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=f(g,t),this._dragHandler=f(g,n),this._releaseHandler=f(g,r),this._mouseOnly=o},b.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},b.default=b;var x,O=b,_=(x=function(e,t){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.element=null,t.draggable=new O({press:function(e){t.element&&t.props.onPress&&t.props.onPress.call(void 0,{target:t,event:e,element:t.element})},drag:function(e){t.element&&t.props.onDrag&&t.props.onDrag.call(void 0,{target:t,event:e,element:t.element})},release:function(e){t.element&&t.props.onRelease&&t.props.onRelease.call(void 0,{target:t,event:e})}}),t.assingRef=function(e){t.element=e},t}return _(t,e),t.prototype.componentDidMount=function(){this.element&&this.draggable.bindTo(this.element)},t.prototype.componentWillUnmount=function(){this.draggable.destroy()},t.prototype.render=function(){return l.cloneElement(l.Children.only(this.props.children),{ref:this.assingRef})},t.propTypes={children:p.element.isRequired},t}(l.Component),w=function(e){if(e){if((e instanceof HTMLInputElement||-1!==e.tabIndex)&&e.focus)return void e.focus();var t=e.querySelector('input, [tabindex]:not([tabindex="-1"])');t&&t.focus&&t.focus()}};function E(e,t,n){var r=l.useState(t),o=r[0],i=r[1];return l.useEffect((function(){if(!o&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),o}function P(e){var t=e.onFocus,n=e.onBlur,r=l.useRef(0),o=l.useCallback((function(e){clearTimeout(r.current),r.current=setTimeout((function(){return e()}))}),[r]);return{onFocus:l.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(r.current),t&&t.call.apply(t,[void 0].concat(e))}),[t,r]),onBlur:l.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];o((function(){n&&n.call.apply(n,[void 0].concat(e))}))}),[o])}}function j(e,t){var n=t.onPress,r=t.onDrag,o=t.onRelease,i=l.useMemo((function(){return new O({press:n,drag:r,release:o})}),[]);l.useEffect((function(){var t=e.current;if(t)return i.bindTo(t),function(){i.destroy()}}),[]),l.useEffect((function(){i.update({press:n,drag:r,release:o})}),[n,r,o])}function N(e,t,n){var r=l.useState(t),o=r[0],i=r[1];return l.useEffect((function(){if(!o&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),o}var C=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function S(e){var t=[];return e.replace(C,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}var z={};function T(e){if(z[e])return z[e];var t=S(e);return z[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},z[e]}z.undefined=function(){};var D={undefined:function(e){return e}},R=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function M(e){if(D[e])return D[e];var t=S(e);return D[e]=function(e,n,r){for(var o=e,i=t.length-1,a=0;a<i&&o;a++)o=o[t[a]]=o[t[a]]||R(t[a+1],r);o[t[i]]=n},D[e]}var A=function(e){return e?new Date(e.getTime()):null};function I(e){var t={};return F(e,t),t}function F(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=H(r,t[n])}}function H(e,t){if(Array.isArray(e))return B(e);if(e instanceof Date)return A(e);if(e&&"object"==typeof e){var n=t||{};return F(e,n),n}return e}function B(e){return e.map((function(e){return H(e,void 0)}))}var q=function(e,t,n){var r="string"==typeof e?parseInt(e,void 0):e;if(NaN!==r)return void 0!==r?r:t?n?void 0:-1:0},L={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},W=function(){return(W=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},U=l.forwardRef((function(e,t){var n=e.className,o=e.name,i=e.themeColor,a=e.size,u=e.flip,s=e.style,c=K(e,["className","name","themeColor","size","flip","style"]),p=l.useRef(null);l.useImperativeHandle(t,(function(){return{element:p.current}}));var f=l.useMemo((function(){return i||X.themeColor}),[i]),d=l.useMemo((function(){return a||X.size}),[a]),m=l.useMemo((function(){return u||X.flip}),[u]),v=l.useMemo((function(){return r("k-icon","k-i-"+o,"k-color-"+f,{"k-flip-h":"horizontal"===m||"both"===m,"k-flip-v":"vertical"===m||"both"===m},L[d],n)}),[o,f,d,m,n]);return l.createElement("span",W({className:v,style:s,ref:p,role:"presentation"},c))}));U.propTypes={style:p.object,classNames:p.string,name:p.string,themeColor:p.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:p.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:p.oneOf(["default","horizontal","vertical","both"])};var X={size:"default",themeColor:"inherit",flip:"default"};U.displayName="KendoIcon";var Y=function(){return(Y=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},G=l.forwardRef((function(e,t){var n=e.children,o=e.className,i=e.svgClassName,a=e.icon,u=e.flip,s=e.size,c=e.style,p=e.svgStyle,f=e.themeColor,d=e.viewBox,m=V(e,["children","className","svgClassName","icon","flip","size","style","svgStyle","themeColor","viewBox"]),v=l.useRef(null);l.useImperativeHandle(t,(function(){return{element:v.current}}));var h=l.useMemo((function(){return a?a.name:Z.icon}),[a]),y=l.useMemo((function(){return f||Z.themeColor}),[f]),g=l.useMemo((function(){return s||Z.size}),[s]),b=l.useMemo((function(){return u||Z.flip}),[u]),x=l.useMemo((function(){return d||Z.viewBox}),[d]),O=l.useMemo((function(){return r("k-svg-icon","k-color-"+y,"k-svg-i-"+h,{"k-flip-h":"horizontal"===b||"both"===b,"k-flip-v":"vertical"===b||"both"===b},L[g],o)}),[h,y,g,b,o]),_=l.useMemo((function(){return e.width&&e.height?Y({width:e.width,height:e.height},c):e.width?Y({width:e.width,height:e.width},c):e.height?Y({width:e.height,height:e.height},c):Y({},c)}),[e.width,e.height,c]);return l.createElement("span",{className:O,style:_,ref:v},l.createElement("svg",Y({className:i,style:p,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:a?a.viewBox:x,dangerouslySetInnerHTML:a?{__html:a.content}:void 0},m),a?void 0:n))}));G.propTypes={style:p.object,classNames:p.string,children:p.any,icon:p.object,themeColor:p.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:p.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:p.oneOf(["default","horizontal","vertical","both"])};var Z={size:"default",themeColor:"inherit",flip:"default",icon:"",viewBox:"0 0 24 24"};G.displayName="KendoSvgIcon"},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.truncateNumber=function(e){var t=e.toString().split(".");return 1===t.length?""+t[0]:t[0]+"."+t[1].substr(0,r.LABEL_DECIMALS)},t.calculatePercentage=function(e,t,n){var r=Math.abs((t-e)/100);return Math.abs((n-e)/r)},t.updateProgress=function(e,t,n,r){var o=Math.max(n,.01),i=100/o*100;e.current.style.width=r?"100%":o+"%",t.current.style.width=r?"100%":i+"%",e.current.style.height=r?o+"%":"100%",t.current.style.height=r?i+"%":"100%"},t.calculateRatio=function(e,t,n){return Math.max((n-e)/(t-e),r.MIN_RATIO)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_RATIO=1e-5,t.LABEL_DECIMALS=3,t.DEFAULT_ANIMATION_DURATION=400,t.NO_ANIMATION=0},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(7)),r(n(8))},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),a=n(2),u=n(4);t.ChunkProgressBar=o.forwardRef((function(e,t){var n=e.chunkCount,i=void 0===n?s.chunkCount:n,c=e.className,l=e.disabled,p=e.orientation,f=e.min,d=void 0===f?s.min:f,m=e.max,v=void 0===m?s.max:m,h=e.reverse,y=void 0===h?s.reverse:h,g=e.style,b=e.tabIndex,x=e.emptyStyle,O=e.emptyClassName,_=e.progressStyle,k=e.progressClassName,w=o.useRef(null),E=o.useCallback((function(){w.current&&w.current.focus()}),[]);o.useImperativeHandle(t,(function(){return{element:w,focus:E}}));var P=e.value||s.value,j=null===e.value,N=a.useRtl(w,e.dir),C="vertical"===p,S={className:a.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!C,"k-progressbar-vertical":C,"k-progressbar-reverse":y,"k-progressbar-indeterminate":j,"k-state-disabled":l},c),ref:w,dir:N,tabIndex:a.getTabIndex(b,l),role:"progressbar","aria-valuemin":d,"aria-valuemax":v,"aria-valuenow":j?void 0:P,"aria-disabled":l,style:g};return o.createElement("div",r({},S),o.createElement("ul",{className:"k-reset"},o.createElement((function(e){for(var t=e.count,n=[],i=100/t+"%",s=u.calculateRatio(d,v,P),c=Math.floor(s*t),l=Array(t).fill(!1),p=C&&!y||!C&&y,f=0;f<c;f++)l[f]=!0;p&&l.reverse();for(f=0;f<t;++f){var m=l[f],h=m?k:O,g=r({},{width:C?void 0:i,height:C?i:void 0},m?_:x);n.push(o.createElement("li",{key:f,className:a.classNames("k-item",{"k-first":0===f,"k-last":f===t-1,"k-state-selected":m},h),style:g}))}return o.createElement(o.Fragment,null,n)}),{count:i||s.chunkCount})))})),t.ChunkProgressBar.propTypes={chunkCount:i.number,disabled:i.bool,reverse:i.bool,max:i.number,min:i.number,value:i.number,tabIndex:i.number,emptyStyle:i.object,emptyClassName:i.string,progressStyle:i.object,progressClassName:i.string};var s={chunkCount:5,min:0,max:100,value:0,disabled:!1,reverse:!1};t.ChunkProgressBar.defaultProps=s,t.ChunkProgressBar.displayName="KendoChunkProgressBar"},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),a=n(10),u=n(2),s=n(4),c=n(9),l=n(5);t.ProgressBar=o.forwardRef((function(e,t){var n=e.animation,i=e.disabled,f=e.reverse,d=void 0===f?p.reverse:f,m=e.orientation,v=e.labelVisible,h=e.labelPlacement,y=e.max,g=void 0===y?p.max:y,b=e.min,x=void 0===b?p.min:b,O=e.tabIndex,_=e.className,k=e.style,w=e.emptyStyle,E=e.emptyClassName,P=e.progressStyle,j=e.progressClassName,N=o.useRef(null),C=o.useRef(null),S=o.useRef(null),z=o.useCallback((function(){N.current&&N.current.focus()}),[]);o.useImperativeHandle(t,(function(){return{element:N,progressStatusRef:C,progressStatusWrapRef:S,focus:z}}));var T=e.value||p.value,D=c.usePrevious(T),R=null===e.value,M=u.useRtl(N,e.dir),A="vertical"===m,I=s.truncateNumber(T),F={value:T},H=v?e.label?o.createElement("span",{className:"k-progress-status"},o.createElement(e.label,r({},F))):o.createElement("span",{className:"k-progress-status"},I):void 0,B={className:u.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!A,"k-progressbar-vertical":A,"k-progressbar-reverse":d,"k-progressbar-indeterminate":R,"k-state-disabled":i},_),ref:N,dir:M,tabIndex:u.getTabIndex(O,i),role:"progressbar","aria-valuemin":x,"aria-valuemax":g,"aria-valuenow":R?void 0:T,"aria-disabled":i,style:k},q=u.classNames("k-progress-status-wrap",{"k-progress-start":"start"===h,"k-progress-center":"center"===h,"k-progress-end":"end"===h||void 0===h}),L="boolean"!=typeof n&&void 0!==n?n.duration:n?l.DEFAULT_ANIMATION_DURATION:l.NO_ANIMATION,W=o.useCallback((function(){var e=s.calculatePercentage(x,g,D);s.updateProgress(C,S,e,A)}),[D]),K=o.useCallback((function(e){var t=s.calculatePercentage(x,g,D+(T-D)*e);s.updateProgress(C,S,t,A)}),[T,D]),U=o.useCallback((function(){var e=s.calculatePercentage(x,g,T);s.updateProgress(C,S,e,A)}),[T]);return a.useAnimation({duration:L,onStart:W,onUpdate:K,onEnd:U},[T,L]),o.createElement("div",r({},B),o.createElement("span",{className:q+(E?" "+E:""),style:w},H),o.createElement("div",{className:"k-state-selected",style:P,ref:C},o.createElement("span",{className:q+(j?" "+j:""),ref:S},H)))})),t.ProgressBar.propTypes={animation:i.any,disabled:i.bool,reverse:i.bool,label:i.any,labelVisible:i.bool,labelPlacement:i.oneOf(["start","center","end"]),max:i.number,min:i.number,value:i.number,tabIndex:i.number,emptyStyle:i.object,emptyClassName:i.string,progressStyle:i.object,progressClassName:i.string};var p={animation:!1,min:0,max:100,value:0,disabled:!1,reverse:!1,labelVisible:!0};t.ProgressBar.defaultProps=p,t.ProgressBar.displayName="KendoProgressBar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.usePrevious=function(e){var t=r.useRef();return r.useEffect((function(){t.current=e})),t.current}},function(e,t,n){"use strict";n.r(t),n.d(t,"Animation",(function(){return x})),n.d(t,"AnimationChild",(function(){return v})),n.d(t,"Fade",(function(){return w})),n.d(t,"Expand",(function(){return N})),n.d(t,"Push",(function(){return D})),n.d(t,"Slide",(function(){return I})),n.d(t,"Zoom",(function(){return L})),n.d(t,"Reveal",(function(){return X})),n.d(t,"useAnimation",(function(){return Y}));var r,o=n(1),i=n(0),a=n(2),u=n(3),s=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),r=parseFloat(t.marginBottom);return e.offsetHeight+n+r},c=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),r=parseFloat(t.marginRight);return e.offsetWidth+n+r},l={"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","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=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},m=l,v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.style,i=t.appear,s=t.enter,c=t.exit,l=t.transitionName,p=t.transitionEnterDuration,v=t.transitionExitDuration,h=t.className,y=t.onEnter,g=t.onEntering,b=t.onEntered,x=t.onExit,O=t.onExiting,_=t.onExited,k=t.mountOnEnter,w=t.unmountOnExit,E=t.animationEnteringStyle,P=t.animationEnteredStyle,j=t.animationExitingStyle,N=t.animationExitedStyle,C=d(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),S=Object(a.classNames)(h,m["child-animation-container"]),z=f({transitionDelay:"0ms"},r),T={entering:f({transitionDuration:p+"ms"},E),entered:f({},P),exiting:f({transitionDuration:v+"ms"},j),exited:f({},N)},D={in:this.props.in,appear:i,enter:s,exit:c,mountOnEnter:k,unmountOnExit:w,timeout:{enter:p,exit:v},onEnter:function(t){y&&y.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){g&&g.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){b&&b.call(void 0,{animatedElement:t,target:e})},onExit:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){O&&O.call(void 0,{animatedElement:t,target:e})},onExited:function(t){_&&_.call(void 0,{animatedElement:t,target:e})},classNames:{appear:m[l+"-appear"]||l+"-appear",appearActive:m[l+"-appear-active"]||l+"-appear-active",enter:m[l+"-enter"]||l+"-enter",enterActive:m[l+"-enter-active"]||l+"-enter-active",exit:m[l+"-exit"]||l+"-exit",exitActive:m[l+"-exit-active"]||l+"-exit-active"}};return o.createElement(u.CSSTransition,f({},D,C),(function(t){return o.createElement("div",{style:f({},z,T[t]),className:S,ref:function(t){e._element=t}},n)}))},t.propTypes={in:i.bool,children:i.oneOfType([i.arrayOf(i.node),i.node]),transitionName:i.string.isRequired,className:i.string,appear:i.bool,enter:i.bool,exit:i.bool,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired,mountOnEnter:i.bool,unmountOnExit:i.bool,animationEnteringStyle:i.object,animationEnteredStyle:i.object,animationExitingStyle:i.object,animationExitedStyle:i.object},t.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:{}},t}(o.Component),h=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y=function(){return(y=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},b=l,x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,r=e.children,i=e.component,s=e.className,c=e.childFactory,l=(e.stackChildren,e.componentChildStyle),p=e.componentChildClassName,f=g(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),d={id:t,style:n,component:i,childFactory:c,className:Object(a.classNames)(b["animation-container"],b["animation-container-relative"],s)},m=o.Children.map(r||null,(function(e){return o.createElement(v,y({},f,{style:l,className:p}),e)}));return o.createElement(u.TransitionGroup,y({},d),m)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,component:i.string,id:i.string,style:i.any,transitionName:i.string.isRequired,appear:i.bool.isRequired,enter:i.bool.isRequired,exit:i.bool.isRequired,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired},t.defaultProps={component:"div"},t}(o.Component),O=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(){return(_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=k(e,["children"]);return o.createElement(x,_({},{transitionName:"fade"},n),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(o.Component),E=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),P=function(){return(P=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=j(e,["direction","children"]),i={transitionName:"expand-"+t};return o.createElement(x,P({},i,r),n)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["horizontal","vertical"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(o.Component),C=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(){return(S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},T={position:"absolute",top:"0",left:"0"},D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=z(e,["children","direction"]);return o.createElement(x,S({},r,{transitionName:"push-"+n,animationExitingStyle:this.props.stackChildren?T:void 0}),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["up","down","left","right"]),component:i.string,id:i.string,style:i.any,stackChildren:i.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(o.Component),R=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M=function(){return(M=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=A(e,["direction","children"]),i={transitionName:"slide-"+t};return o.createElement(x,M({},i,r),n)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["up","down","left","right"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t}(o.Component),F=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),H=function(){return(H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},B=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},q={position:"absolute",top:"0",left:"0"},L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return F(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=B(e,["children","direction"]);return o.createElement(x,H({},r,{transitionName:"zoom-"+n,animationExitingStyle:this.props.stackChildren?q:void 0}),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["in","out"]),component:i.string,id:i.string,style:i.any,stackChildren:i.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(o.Component),W=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),K=function(){return(K=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},U=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},X=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={maxHeight:void 0,maxWidth:void 0},t.componentWillEnter=function(e){var n=t.props.onEnter;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.componentIsEntering=function(e){var n=t.props.onEntering;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.componentWillExit=function(e){var n=t.props.onExit;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.updateContainerDimensions=function(e,n){void 0===n&&(n=a.noop);var r=e.firstChild;if(r){var o=s(r),i=c(r);t.setState({maxHeight:o,maxWidth:i},n)}},t}return W(t,e),t.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.children,i=t.childFactory,a=U(t,["direction","children","childFactory"]),u=this.state,s=u.maxHeight,c=u.maxWidth,l={maxHeight:(e="vertical"===n?{maxHeight:s?s+"px":null}:{maxWidth:c?c+"px":null}).maxHeight,maxWidth:e.maxWidth};return o.createElement(x,K({},a,{childFactory:i||function(t){return t.props.in?t:o.cloneElement(t,K({},t.props,{style:K({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:l,transitionName:"reveal-"+n}),r)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["horizontal","vertical"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(o.Component),Y=function(e,t){var n=o.useRef(0),r=o.useRef(!1),i=o.useRef();o.useEffect((function(){return function(e){var t,r=e.duration,o=n.current&&1-n.current;e.onStart&&e.onStart();var a=function(u){t||(t=u);var s=(u-t+1)/r+o;s<=1?(e.onUpdate&&e.onUpdate(s),i.current=window.requestAnimationFrame(a),n.current=s):(e.onEnd&&e.onEnd(1),n.current=0)};i.current=window.requestAnimationFrame(a)}(e),function(){i.current&&window.cancelAnimationFrame(i.current)}}),t),o.useEffect((function(){r.current=!0}),[])}}])}));
{
"name": "@progress/kendo-react-progressbars",
"description": "KendoReact ProgressBars package",
"version": "3.18.0-dev.202010141309",
"version": "3.18.0-dev.202010151243",
"repository": {

@@ -41,11 +41,11 @@ "type": "git",

"@progress/kendo-drawing": "^1.8.0",
"@progress/kendo-react-animation": "3.18.0-dev.202010141309",
"@progress/kendo-react-buttons": "3.18.0-dev.202010141309",
"@progress/kendo-react-dropdowns": "3.18.0-dev.202010141309",
"@progress/kendo-react-form": "3.18.0-dev.202010141309",
"@progress/kendo-react-inputs": "3.18.0-dev.202010141309",
"@progress/kendo-react-intl": "3.18.0-dev.202010141309"
"@progress/kendo-react-animation": "3.18.0-dev.202010151243",
"@progress/kendo-react-buttons": "3.18.0-dev.202010151243",
"@progress/kendo-react-dropdowns": "3.18.0-dev.202010151243",
"@progress/kendo-react-form": "3.18.0-dev.202010151243",
"@progress/kendo-react-inputs": "3.18.0-dev.202010151243",
"@progress/kendo-react-intl": "3.18.0-dev.202010151243"
},
"dependencies": {
"@progress/kendo-react-common": "3.18.0-dev.202010141309",
"@progress/kendo-react-common": "3.18.0-dev.202010151243",
"prop-types": "^15.6.0"

@@ -52,0 +52,0 @@ },