@progress/kendo-react-progressbars 4.13.0-dev.202112021130 → 4.13.1-dev.202112140947

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types"),require("react-transition-group"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["react","prop-types","react-transition-group","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoReactProgressbars=t(require("react"),require("prop-types"),require("react-transition-group"),require("@progress/kendo-licensing")):e.KendoReactProgressbars=t(e.React,e.PropTypes,e.ReactTransitionGroup,e.KendoLicensing)}(window,(function(e,t,n,r){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=8)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"ZIndexContext",(function(){return o})),n.d(t,"useZIndexContext",(function(){return i})),n.d(t,"BrowserSupportService",(function(){return c})),n.d(t,"canUseDOM",(function(){return l})),n.d(t,"canUseRef",(function(){return u})),n.d(t,"classNames",(function(){return s})),n.d(t,"cloneDate",(function(){return f})),n.d(t,"clone",(function(){return p})),n.d(t,"cloneObject",(function(){return d})),n.d(t,"cloneValue",(function(){return v})),n.d(t,"cloneArray",(function(){return m})),n.d(t,"focusFirstFocusableChild",(function(){return h})),n.d(t,"FormComponent",(function(){return y})),n.d(t,"getTabIndex",(function(){return g})),n.d(t,"getter",(function(){return k})),n.d(t,"guid",(function(){return E})),n.d(t,"Keys",(function(){return C})),n.d(t,"noop",(function(){return w})),n.d(t,"getScrollbarWidth",(function(){return D})),n.d(t,"setScrollbarWidth",(function(){return P})),n.d(t,"setter",(function(){return S})),n.d(t,"mapTree",(function(){return R})),n.d(t,"mapTreeItem",(function(){return T})),n.d(t,"extendDataItem",(function(){return L})),n.d(t,"getItemPath",(function(){return I})),n.d(t,"validatePackage",(function(){return z})),n.d(t,"hasRelativeStackingContext",(function(){return U})),n.d(t,"dispatchEvent",(function(){return H})),n.d(t,"AsyncFocusBlur",(function(){return K})),n.d(t,"createPropsContext",(function(){return Y})),n.d(t,"withPropsContext",(function(){return V})),n.d(t,"useDir",(function(){return q})),n.d(t,"useAsyncFocusBlur",(function(){return B})),n.d(t,"useRtl",(function(){return G})),n.d(t,"useMouse",(function(){return $})),n.d(t,"useCustomComponent",(function(){return J})),n.d(t,"usePropsContext",(function(){return W})),n.d(t,"COLLECTION_ACTION",(function(){return Z})),n.d(t,"useCollection",(function(){return Q})),n.d(t,"Icon",(function(){return oe})),n.d(t,"SvgIcon",(function(){return le})),n.d(t,"Typography",(function(){return ke})),n.d(t,"DragAndDrop",(function(){return Be})),n.d(t,"Draggable",(function(){return Fe})),n.d(t,"Droppable",(function(){return Ke})),n.d(t,"useDraggable",(function(){return Ae})),n.d(t,"useDroppable",(function(){return ze}));var r=n(0),o=r.createContext(0),i=function(){return r.useContext(o)};o.displayName="KendoReactZIndexContext";var a=function(){return"undefined"!=typeof document?document:{}},c=function(){function e(){}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=a();if(!this.scrollbar&&e&&e.createElement){var t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!0,configurable:!0}),e}(),l=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),u=function(e){return"string"!=typeof Comment&&(function(e){return Boolean("function"==typeof e&&!!e.prototype.isReactComponent)}(e)||function(e){return Boolean(e.$$typeof&&"function"==typeof e.render)}(e))},s=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)?s.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(" ")},f=function(e){return e?new Date(e.getTime()):null};function p(e){var t={};return d(e,t),t}function d(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=v(r,t[n])}}function v(e,t){if(Array.isArray(e))return m(e);if(e instanceof Date)return f(e);if(r.isValidElement(e))return r.cloneElement(e,e.props);if(e&&"object"==typeof e){var n=t||{};return d(e,n),n}return e}function m(e){return e.map((function(e){return v(e,void 0)}))}var h=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()}},y=function(){},g=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},b=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function O(e){var t=[];return e.replace(b,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}var x={};function k(e){if(x[e])return x[e];var t=O(e);return x[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},x[e]}x.undefined=function(){};var E=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},C={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},w=function(){},D=function(){return!(!l||!document.body)&&(new c).scrollbarWidth},P=function(){if(!l||!document.body)return!1;var e=(new c).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",e+"px")},_={undefined:function(e){return e}},N=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function S(e){if(_[e])return _[e];var t=O(e);return _[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]]||N(t[a+1],r);o[t[i]]=n},_[e]}var j=function(){return(j=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)};function M(e,t,n){var r;return n?j({},e,((r={})[t]=n.length?n.slice():void 0,r)):e&&e[t]?e[t].slice():[]}var R=function(e,t,n){return e.map((function(e){return function e(t,n,r){if(t[n]){var o=M(t,n).map((function(t){return e(t,n,r)}));return r(M(t,n,o))}return r(t)}(e,t,n)})).slice()},T=function(e,t,n,r){for(var o=e,i=[],a=0;a<t.length;a++)o=o[t[a]],o=Array.isArray(o)?o:o[n],i.push(o);var c=i.length>1?i[i.length-2]:e,l=t[t.length-1],u=r(c[l]);c.splice(l,1,u)},L=function(e,t,n){var r;return Object.assign({},e,e[t]?((r={})[t]=e[t].slice(),r):{},n||{})},I=function(e,t,n){var r=[],o=t.slice();if(o.length){var i=e[o.shift()||0];for(r.push(i);o.length&&n;)i=i[n][o.shift()||0],r.push(i)}return r},A=n(4);function z(e){if(void 0!==A)A.validatePackage(e);else{var t="License activation failed for "+e.name+"\n";t+="The @progress/kendo-licensing script is not loaded.\n",t+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(t)}}var U=function(e){if(!l)return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)",n.innerHTML='<div style="position: fixed; top: 10px;">child</div>',t.body.appendChild(n);var r=10!==n.children[0].getBoundingClientRect().top;return t.body.removeChild(n),r};function H(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}function B(e){var t=e.onFocus,n=e.onBlur,o=e.onSyncFocus,i=e.onSyncBlur,a=r.useRef(!1),c=r.useRef(0),l=r.useCallback((function(e){clearTimeout(c.current),c.current=window.setTimeout((function(){return e()}))}),[c]),u=r.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(c.current),o&&o.call.apply(o,[void 0].concat(e)),a.current||(a.current=!0,t&&t.call.apply(t,[void 0].concat(e)))}),[a,t,o]),s=r.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i&&i.call.apply(i,[void 0].concat(e)),l((function(){a.current&&n&&(a.current=!1,n.call.apply(n,[void 0].concat(e)))}))}),[a,l,n,i]);return r.useEffect((function(){return function(){clearTimeout(c.current)}}),[]),{onFocus:u,onBlur:s}}var 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)},K=function(e){var t=e.children,n=B({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return t.call(void 0,F({},n))},W=function(e,t){return r.useContext(e)(t)},X=function(){return(X=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)},Y=function(){return r.createContext((function(e){return e}))},V=function(e,t){return r.forwardRef((function(n,o){var i=W(e,n);return r.createElement(t,X({},i,{ref:o}))}))};function q(e,t,n){var o=r.useState(t),i=o[0],a=o[1];return r.useEffect((function(){if(!i&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&a(t)}}),n),i}function G(e,t,n){var o=r.useState(t),i=o[0],a=o[1];return r.useEffect((function(){if(!i&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&a(t)}}),n),i}var Z,$=function(e,t,n){void 0===n&&(n={});var o=r.useCallback((function(r){n.onMouseDown&&n.onMouseDown.call(void 0,r),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseDown,e.onMouseDown,t]),i=r.useCallback((function(r){n.onMouseUp&&n.onMouseUp.call(void 0,r),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseUp,e.onMouseUp,t]);return{onClick:r.useCallback((function(r){n.onClick&&n.onClick.call(void 0,r),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onClick,e.onClick,t]),onMouseUp:i,onMouseDown:o,onDoubleClick:r.useCallback((function(r){n.onDoubleClick&&n.onDoubleClick.call(void 0,r),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onDoubleClick,e.onDoubleClick,t]),onMouseEnter:r.useCallback((function(r){n.onMouseEnter&&n.onMouseEnter.call(void 0,r),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseEnter,e.onMouseEnter,t]),onMouseLeave:r.useCallback((function(r){n.onMouseLeave&&n.onMouseLeave.call(void 0,r),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseLeave,e.onMouseLeave,t]),onMouseMove:r.useCallback((function(r){n.onMouseMove&&n.onMouseMove.call(void 0,r),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseMove,e.onMouseMove,t]),onMouseOut:r.useCallback((function(r){n.onMouseOut&&n.onMouseOut.call(void 0,r),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOut,e.onMouseOut,t]),onMouseOver:r.useCallback((function(r){n.onMouseOver&&n.onMouseOver.call(void 0,r),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOver,e.onMouseOver,t])}},J=function(e){return r.isValidElement(e)?[e.type,e.props]:[e,{}]};!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(Z||(Z={}));var Q=function(e){void 0===e&&(e=[]);var t=r.useRef(e),n=r.useCallback((function(e){switch(e.type){case Z.add:t.current.push(e.item);break;case Z.remove:var n=t.current.indexOf(e.item);t.current.splice(n,1)}}),[]);return[t.current,n]},ee=n(1),te={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},ne=function(){return(ne=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)},re=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},oe=r.forwardRef((function(e,t){var n=e.className,o=e.name,i=e.themeColor,a=e.size,c=e.flip,l=e.style,u=re(e,["className","name","themeColor","size","flip","style"]),f=r.useRef(null),p=r.useRef(null);r.useImperativeHandle(f,(function(){return{element:p.current}})),r.useImperativeHandle(t,(function(){return f.current}));var d=r.useMemo((function(){return i||ie.themeColor}),[i]),v=r.useMemo((function(){return a||ie.size}),[a]),m=r.useMemo((function(){return c||ie.flip}),[c]),h=r.useMemo((function(){return s("k-icon","k-i-"+o,"k-color-"+d,{"k-flip-h":"horizontal"===m||"both"===m,"k-flip-v":"vertical"===m||"both"===m},te[v],n)}),[o,d,v,m,n]),y=$(e,f);return r.createElement("span",ne({ref:p},u,y,{className:h,style:l,role:"presentation"}))}));oe.propTypes={style:ee.object,classNames:ee.string,name:ee.string,themeColor:ee.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:ee.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:ee.oneOf(["default","horizontal","vertical","both"])};var ie={size:"default",themeColor:"inherit",flip:"default"};oe.displayName="KendoIcon";var ae=function(){return(ae=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)},ce=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},le=r.forwardRef((function(e,t){var n=e.children,o=e.className,i=e.svgClassName,a=e.icon,c=e.flip,l=e.size,u=e.style,f=e.svgStyle,p=e.themeColor,d=e.viewBox,v=ce(e,["children","className","svgClassName","icon","flip","size","style","svgStyle","themeColor","viewBox"]),m=r.useRef(null);r.useImperativeHandle(t,(function(){return{element:m.current}}));var h=r.useMemo((function(){return a?a.name:ue.icon}),[a]),y=r.useMemo((function(){return p||ue.themeColor}),[p]),g=r.useMemo((function(){return l||ue.size}),[l]),b=r.useMemo((function(){return c||ue.flip}),[c]),O=r.useMemo((function(){return d||ue.viewBox}),[d]),x=r.useMemo((function(){return s("k-svg-icon","k-color-"+y,"k-svg-i-"+h,{"k-flip-h":"horizontal"===b||"both"===b,"k-flip-v":"vertical"===b||"both"===b},te[g],o)}),[h,y,g,b,o]),k=r.useMemo((function(){return e.width&&e.height?ae({width:e.width,height:e.height},u):e.width?ae({width:e.width,height:e.width},u):e.height?ae({width:e.height,height:e.height},u):ae({},u)}),[e.width,e.height,u]);return r.createElement("span",{className:x,style:k,ref:m},r.createElement("svg",ae({className:i,style:f,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:a?a.viewBox:O,dangerouslySetInnerHTML:a?{__html:a.content}:void 0},v),a?void 0:n))}));le.propTypes={style:ee.object,classNames:ee.string,children:ee.any,icon:ee.object,themeColor:ee.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:ee.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:ee.oneOf(["default","horizontal","vertical","both"])};var ue={size:"default",themeColor:"inherit",flip:"default",icon:"",viewBox:"0 0 24 24"};le.displayName="KendoSvgIcon";var se,fe={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},pe={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},de={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},ve={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},me={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},he={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},ye={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},ge={inherit:"k-color-inherit",primary:"k-color-primary",secondary:"k-color-secondary",tertiary:"k-color-tertiary",info:"k-color-info",success:"k-color-success",warning:"k-color-warning",error:"k-color-error",dark:"k-color-dark",light:"k-color-light",inverse:"k-color-inverse"},be=function(){return(be=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)},Oe=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},xe=function(e){var t=r.forwardRef((function(t,n){var o=t.className,i=t.fontSize,a=t.fontWeight,c=t.textAlign,l=t.textTransform,u=t.themeColor,s=t.margin,f=Oe(t,["className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),p=r.useRef(null),d=r.useRef(null);r.useImperativeHandle(p,(function(){return{element:d.current,props:t}})),r.useImperativeHandle(n,(function(){return p.current}));var v=e,m=function(){if(void 0!==s){if("string"==typeof s)return[de[s]];if("number"==typeof s&&s>=0&&s<=24)return["k-m-"+s];if("object"==typeof s){var e=[];return Object.keys(s).forEach((function(t){var n,r;null!==s[t]&&void 0!==s[t]&&e.push((n=t,r=s[t],""+me[n]+("string"==typeof r?ve[r]:r)))})),e.join(" ")}}};return r.createElement(v,be({ref:d,className:["k-"+("p"===e?"paragraph":e),fe[i],pe[a],he[c],ye[l],ge[u],m(),o].filter((function(e){return void 0!==e})).join(" ")},f),t.children)}));return t.propTypes={style:ee.object,className:ee.string,fontSize:ee.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:ee.oneOf(["light","normal","bold"]),margin:ee.oneOfType([ee.number,ee.object,ee.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:ee.oneOf(["left","right","center","justify"]),textTransform:ee.oneOf(["lowercase","uppercase","capitalize"]),themeColor:ee.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName="KendoReactTypography"+e.toUpperCase(),t},ke={h1:xe("h1"),h2:xe("h2"),h3:xe("h3"),h4:xe("h4"),h5:xe("h5"),h6:xe("h6"),p:xe("p"),code:xe("code"),pre:xe("pre")},Ee=function(e,t){var n=0,r=null;return t.forEach((function(t){if(t&&e){var o=function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=Math.max(r.top,n.top),i=Math.max(r.left,n.left),a=Math.min(r.left+r.width,n.left+n.width),c=Math.min(r.top+r.height,n.top+n.height),l=a-i,u=c-o;if(i<a&&o<c){var s=r.width*r.height,f=n.width*n.height,p=l*u;return Number((p/(s+f-p)).toFixed(4))}return 0}(e,t);o>n&&(n=o,r=t)}})),r},Ce=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var t=!1,n=[],r={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var o in r)if(r.hasOwnProperty(o)&&(n=e.match(r[o]))){(t={})[o]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.DOCUMENT_NODE||n[2],10);break}return t},we=function(e){return e&&e.ownerDocument||window.document},De=function(e){var t=Ce(),n=we(e);return t.edge||t.safari?n.body:n.documentElement},Pe=function(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=window.getComputedStyle(e,"overflow").overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},_e=function(e){var t=De(e);if(!e||e===document.body||e===document.documentElement)return t;for(var n=e;n&&!Pe(n)&&n!==document.body;)n=n.parentNode;return n===document.body?t:n};!function(e){e.POINTER_DOWN="pointerdown",e.POINTER_MOVE="pointermove",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.MOUSE_DOWN="mousedown",e.MOUSE_MOVE="mousemove",e.MOUSE_UP="mouseup",e.CONTEXT_MENU="contextmenu",e.TOUCH_START="touchstart",e.TOUCH_MOVE="touchmove",e.TOUCH_END="touchend",e.TOUCH_CANCEL="touchcancel",e.SCROLL="scroll",e.START="KENDO_DRAG_AND_DROP_START",e.MOVE="KENDO_DRAG_AND_DROP_MOVE",e.END="KENDO_DRAG_AND_DROP_END",e.CANCEL="KENDO_DRAG_AND_DROP_CANCEL"}(se||(se={}));var Ne=function(){},Se=function(e,t,n){void 0===n&&(n={});var r,o,i,a,c=n.onIsPressedChange,l=void 0===c?Ne:c,u=n.onIsScrollingChange,s=void 0===u?Ne:u,f=n.onVelocityChange,p=void 0===f?Ne:f,d=n.onOffsetChange,v=void 0===d?Ne:d,m=n.onPageOffsetChange,h=void 0===m?Ne:m,y=n.onClientOffsetChange,g=void 0===y?Ne:y,b=n.onScrollOffsetChange,O=void 0===b?Ne:b,x=n.onInitialScrollOffsetChange,k=void 0===x?Ne:x,E=t.payload,C=E.element,w=E.hint,D=e.autoScrollDirection,P=e.scrollableParent,_=function(e,t){return function(e){return/^touch/.test(e.type)}(e)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,isTouch:!0,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:function(e){return/^(scroll)/.test(e.type)}(e)?{pageX:t.pageOffset.x,pageY:t.pageOffset.y,clientX:t.clientOffset.x,clientY:t.clientOffset.y,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}}(t.event,e);switch(_.type){case se.POINTER_DOWN:if(_.type===se.POINTER_DOWN&&(!_.originalEvent.isPrimary||0!==_.originalEvent.button))break;case se.MOUSE_DOWN:if(_.type===se.MOUSE_DOWN&&_.originalEvent.which&&_.originalEvent.which>1||e.ignoreMouse)break;case se.TOUCH_START:if(_.type===se.TOUCH_START&&1!==_.originalEvent.touches.length)break;case se.START:var N=P||_e(t.payload.element);k(N instanceof Window?{x:N.scrollX,y:N.scrollY}:{x:N.scrollLeft,y:N.scrollTop}),g({x:_.clientX,y:_.clientY}),h({x:_.pageX,y:_.pageY}),v({x:_.offsetX,y:_.offsetY}),l(!0),E.onPress&&E.onPress(_);break;case se.SCROLL:if(_.type===se.SCROLL&&!e.pressed)break;var S=P||_e(C),j=S instanceof Window?{x:S.scrollX,y:S.scrollY}:{x:S.scrollLeft,y:S.scrollTop};_.scrollX=j.x-e.initialScrollOffset.x,_.scrollY=j.y-e.initialScrollOffset.y,O({x:_.scrollX,y:_.scrollY});case se.POINTER_MOVE:if(_.type===se.POINTER_MOVE&&!_.originalEvent.isPrimary)break;case se.MOUSE_MOVE:case se.TOUCH_MOVE:if(_.type===se.TOUCH_MOVE&&1!==_.originalEvent.touches.length)break;case se.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==_.originalEvent.type&&C){var M=we(C),R=P||_e(M.elementFromPoint(_.clientX,_.clientY)),T=function(e,t,n){var r={x:0,y:0};return e-n.left<50?r.x=-(50-(e-n.left)):n.right-e<50&&(r.x=50-(n.right-e)),t-n.top<50?r.y=-(50-(t-n.top)):n.bottom-t<50&&(r.y=50-(n.bottom-t)),r}(_.pageX,_.pageY,function(e,t){var n=De(e);if(e===n)return{top:n.scrollTop,left:n.scrollLeft,bottom:n.scrollTop+t.innerHeight,right:n.scrollLeft+t.innerWidth};var r=e.getBoundingClientRect();return{bottom:r.top+r.height,right:r.left+r.width,left:r.left,top:r.top}}(R,function(e){var t=we(e);return t&&t.defaultView||window}(C)));p({x:D&&!1===D.horizontal?0:T.x,y:D&&!1===D.vertical?0:T.y}),s(0!==T.y||0!==T.x)}!e.drag&&E.onDragStart&&E.onDragStart(_),E.onDrag&&E.onDrag(_);var L=Ee(w||C,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(w||C)}))),I=e.drops.find((function(e){return e.element===L}));I&&L&&(r=_.clientX,o=_.clientY,i=P||_e(L),(a=i.getBoundingClientRect()).top<=o&&a.left<=r&&o<=a.bottom&&r<=a.right)&&L!==C?(e.drop&&e.drop.element)!==L?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(_),I.onDragEnter&&I.onDragEnter(_)):I.onDragOver&&I.onDragOver(_):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(_)}g({x:_.clientX,y:_.clientY}),h({x:_.pageX,y:_.pageY});break;case se.POINTER_UP:if(_.type===se.POINTER_UP&&!_.originalEvent.isPrimary)break;case se.MOUSE_UP:case se.TOUCH_END:if(_.type===se.TOUCH_END&&1!==_.originalEvent.touches.length)break;case se.END:l(!1),s(!1),E.onRelease&&E.onRelease(_),e.drop&&e.drop.onDrop&&e.drop.onDrop(_),E.onDragEnd&&E.onDragEnd(_);break;case se.POINTER_CANCEL:case se.CONTEXT_MENU:case se.TOUCH_CANCEL:case se.CANCEL:l(!1),s(!1),E.onDragEnd&&E.onDragEnd(_),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(_)}},je=function(e,t){if(e){var n,r;e===De(e)?(n=document.body.scrollHeight>window.innerHeight,r=document.body.scrollWidth>window.innerWidth):(n=e.offsetHeight<=e.scrollHeight,r=e.offsetWidth<=e.scrollWidth);var o=e.scrollTop+t.y,i=n&&o>0&&o<e.scrollHeight,a=e.scrollLeft+t.x,c=r&&a>0&&a<e.scrollWidth;i?e.scrollTop+=t.y:n&&o<0&&(e.scrollTop=0),c?e.scrollLeft+=t.x:r&&a<0&&(e.scrollLeft=0)}},Me=function(e,t){var n=r.useContext(e),o=n[0],i=n[1],a=r.useState(t),c=a[0],l=a[1];return[void 0!==o?o:c,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];void 0!==o?i.apply(void 0,e):l(e[0])}]},Re=r.createContext([void 0,w]),Te=r.createContext([void 0,w]),Le=r.createContext([[],w,w]),Ie=r.createContext([[],w,w]);function Ae(e,t,n){void 0===n&&(n={});var o=t.onPress,i=void 0===o?w:o,a=t.onRelease,c=void 0===a?w:a,l=t.onDragStart,u=void 0===l?w:l,s=t.onDrag,f=void 0===s?w:s,p=t.onDragEnd,d=void 0===p?w:p,v=n.hint,m=void 0===v?null:v,h=n.mouseOnly,y=void 0!==h&&h,g=n.autoScroll,b=void 0===g||g,O=n.scrollContainer,x=void 0===O?null:O,k=r.useState(!1),E=k[0],C=k[1],D=r.useState(!1),P=D[0],_=D[1],N=Me(Te)[0],S=Me(Re),j=S[0],M=S[1],R=r.useContext(Ie)[0],T=r.useContext(Le),L=T[0],I=T[1],A=T[2],z=r.useRef({x:0,y:0}),U=r.useRef(),H=r.useRef(!1),B=r.useRef(),F=r.useRef(!1),K=r.useRef({x:0,y:0}),W=r.useRef({x:0,y:0}),X=r.useRef({x:0,y:0}),Y=r.useRef({x:0,y:0}),V=r.useRef({x:0,y:0}),q=r.useRef({x:0,y:0}),G=Boolean(window&&"undefined"!=typeof window&&window.PointerEvent),Z=!y&&G,$=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),J=r.useCallback((function(){return m&&m.current&&m.current.element?m.current.element:m?m.current:null}),[m]),Q=r.useCallback((function(){return x&&x.current&&x.current.element?x.current.element:x?x.current:null}),[x]),ee=r.useCallback((function(){return"object"==typeof b&&b.boundaryElementRef&&b.boundaryElementRef.current&&b.boundaryElementRef.current.element?b.boundaryElementRef.current.element:"object"==typeof b&&b.boundaryElementRef&&b.boundaryElementRef.current?b.boundaryElementRef.current:null}),[b]),te=r.useRef(null);r.useImperativeHandle(te,(function(){return{element:$(),hint:J(),onPress:ve,onDragStart:he,onDrag:ye,onDragEnd:ge,onRelease:me,data:e.current}}));var ne=r.useCallback((function(){var e=$();return e&&e.ownerDocument||document}),[$]),re=r.useCallback((function(){var e=ne();return e&&e.defaultView||window}),[ne]),oe=r.useCallback((function(){return{drag:j?j.current:null,drop:N?N.current:null,drags:L.map((function(e){return e.current})),drops:R.map((function(e){return e.current})),pressed:E,ignoreMouse:H.current,scrollOffset:V.current,offset:K.current,pageOffset:W.current,initialScrollOffset:q.current,clientOffset:X.current,initialClientOffset:Y.current,velocity:z.current,autoScroll:Boolean("object"==typeof b?!1!==b.enabled:b),scrollableParent:ee(),autoScrollDirection:"object"==typeof b?b.direction:{horizontal:!0,vertical:!0},isScrolling:P}}),[j,N,L,R,E,b,ee,P]),ie=r.useCallback((function(e){C(e)}),[]),ae=r.useCallback((function(e){_(e)}),[]),ce=r.useCallback((function(e){z.current=e}),[]),le=r.useCallback((function(e){K.current=e}),[]),ue=r.useCallback((function(e){X.current=e}),[]),se=r.useCallback((function(e){W.current=e}),[]),fe=r.useCallback((function(e){Y.current=e}),[]),pe=r.useCallback((function(e){V.current=e}),[]),de=r.useCallback((function(e){q.current=e}),[]),ve=r.useCallback((function(e){i(e)}),[i]),me=r.useCallback((function(e){c(e)}),[c]),he=r.useCallback((function(t){M(te,{target:e.current,event:t}),u(t)}),[M,e,u]),ye=r.useCallback((function(e){f(e)}),[f]),ge=r.useCallback((function(t){F.current||(M(null,{target:e.current,event:t}),d(t))}),[d,M,e]),be=r.useCallback((function(e){Se(oe(),{event:e,payload:te.current},{onVelocityChange:ce,onOffsetChange:le,onClientOffsetChange:ue,onPageOffsetChange:se,onInitialClientOffsetChange:fe,onScrollOffsetChange:pe,onInitialScrollOffsetChange:de,onIsPressedChange:ie,onIsScrollingChange:ae})}),[oe,ce,le,se,ue,fe,de,ie,pe,ae]),Oe=r.useCallback((function(e){be(e)}),[be]),xe=r.useCallback((function(e){be(e)}),[be]),ke=r.useCallback((function(e){be(e)}),[be]),Ee=r.useCallback((function(e){be(e)}),[be]),Ce=r.useCallback((function(e){be(e)}),[be]),we=r.useCallback((function(e){be(e)}),[be]),De=r.useCallback((function(e){be(e)}),[be]),Pe=r.useCallback((function(e){e.preventDefault(),be(e)}),[be]),Ne=r.useCallback((function(e){e.preventDefault(),be(e)}),[be]),Ae=r.useCallback((function(e){e.preventDefault(),be(e)}),[be]),ze=r.useCallback((function(e){if(0===e.touches.length&&1===e.changedTouches.length){var t=re();H.current=!0,B.current=t.setTimeout((function(){H.current=!1}),2e3)}be(e)}),[be,re]),Ue=r.useCallback((function(e){be(e)}),[be]),He=r.useCallback((function(){var e=$();if(e){var t=e.style.touchAction;return e.style.touchAction="none",function(){e.style.touchAction=t}}}),[$]),Be=r.useCallback((function(){return I(te),function(){A(te)}}),[A,I]);r.useEffect((function(){var e=re();if(P){var t=Q()||_e(document.elementFromPoint(X.current.x,X.current.y));e.clearInterval(U.current),U.current=e.setInterval((function(){je(t,{x:z.current.x,y:z.current.y})}),50)}return function(){e.clearInterval(U.current)}}),[$,Q,re,P]),r.useEffect(He,[He]),r.useEffect((function(){var e=re(),t=$(),n=ne();if(Z){if(t)_e(t).addEventListener("scroll",Ue,{passive:!0}),t.addEventListener("pointerdown",Oe,{passive:!0});E&&(n.addEventListener("pointermove",xe),n.addEventListener("pointerup",Ee,!0),n.addEventListener("contextmenu",Pe),n.addEventListener("pointercancel",ke,{passive:!0}))}else e.addEventListener("touchmove",w,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",Ce,{passive:!0}),y||(t.addEventListener("touchstart",Ne,{passive:!0}),E&&(t.addEventListener("touchmove",Ae,{passive:!0}),t.addEventListener("touchend",ze,{passive:!0})))),E&&(n.addEventListener("mousemove",we,{passive:!0}),n.addEventListener("mouseup",De,{passive:!0}));return function(){if(t){var r=_e(t);r&&r.removeEventListener("scroll",Ue),t.removeEventListener("pointerdown",Oe),t.removeEventListener("mousedown",Ce),t.removeEventListener("touchstart",Ne),t.removeEventListener("touchmove",Ae),t.removeEventListener("touchend",ze)}n.removeEventListener("pointermove",xe),n.removeEventListener("pointerup",Ee,!0),n.removeEventListener("contextmenu",Pe),n.removeEventListener("pointercancel",ke),n.removeEventListener("mousemove",we),n.removeEventListener("mouseup",De),e.removeEventListener("touchmove",w),e.clearTimeout(B.current)}}),[E,re,$,ne,y,Z,Pe,Ce,we,De,ke,Oe,xe,Ee,ze,Ae,Ne,Ue]),r.useEffect((function(){return function(){F.current=!0}}),[]),r.useLayoutEffect(Be,[Be])}function ze(e,t){void 0===t&&(t={onDragEnter:w,onDragOver:w,onDragLeave:w,onDrop:w});var n=t.onDragEnter,o=void 0===n?w:n,i=t.onDragOver,a=void 0===i?w:i,c=t.onDragLeave,l=void 0===c?w:c,u=t.onDrop,s=void 0===u?w:u,f=Me(Te)[1],p=r.useContext(Ie),d=p[1],v=p[2],m=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),h=r.useRef(null);r.useImperativeHandle(h,(function(){return{element:m(),onDragEnter:y,onDragOver:g,onDragLeave:b,onDrop:O,data:e.current}}));var y=r.useCallback((function(t){f(h,{target:e.current,event:t}),o(t)}),[f,e,o]),g=r.useCallback((function(e){a(e)}),[a]),b=r.useCallback((function(t){f(null,{target:e.current,event:t}),l(t)}),[f,e,l]),O=r.useCallback((function(t){f(null,{target:e.current,event:t}),s(t)}),[f,e,s]),x=r.useCallback((function(){return d(h),function(){v(h)}}),[v,d]);r.useLayoutEffect(x,[x])}var Ue=function(){return(Ue=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)},He=function(e,t,n){var o=r.useState(t||e),i=o[0],a=o[1];return[void 0!==t?t:i,r.useCallback((function(e,t){a(e),n&&n.call(void 0,Ue({},t,{value:e}))}),[n,a])]},Be=function(e){var t=He(null,void 0),n=t[0],o=t[1],i=He(null,void 0),a=i[0],c=i[1],l=Q([]),u=l[0],s=l[1],f=Q([]),p=f[0],d=f[1];return r.createElement(Re.Provider,{value:[n,o]},r.createElement(Te.Provider,{value:[a,c]},r.createElement(Le.Provider,{value:[u,function(e){s({type:Z.add,item:e})},function(e){s({type:Z.remove,item:e})}]},r.createElement(Ie.Provider,{value:[p,function(e){d({type:Z.add,item:e})},function(e){d({type:Z.remove,item:e})}]},e.children))))};Be.displayName="KendoReactDragAndDrop";var Fe=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null),i=r.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);r.useImperativeHandle(o,(function(){return{element:i()||null}})),r.useImperativeHandle(t,(function(){return o.current})),r.useImperativeHandle(e.childRef,(function(){return n.current}));var a=r.useCallback((function(t){e.onPress&&e.onPress({element:i(),target:o.current,event:t})}),[i,e.onPress]),c=r.useCallback((function(t){e.onRelease&&e.onRelease({element:i(),target:o.current,event:t})}),[i,e.onRelease]),l=r.useCallback((function(t){e.onDragStart&&e.onDragStart({element:i(),target:o.current,event:t})}),[e,i]),u=r.useCallback((function(t){e.onDrag&&e.onDrag({element:i(),target:o.current,event:t})}),[i,e.onDrag]),s=r.useCallback((function(t){e.onDragEnd&&e.onDragEnd({element:i(),target:o.current,event:t})}),[i,e.onDragEnd]);return Ae(n,{onPress:a,onRelease:c,onDragStart:l,onDrag:u,onDragEnd:s},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null}));Fe.displayName="KendoReactDraggable";var Ke=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null),i=r.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);r.useImperativeHandle(o,(function(){return{element:i()||void 0}})),r.useImperativeHandle(t,(function(){return o.current})),r.useImperativeHandle(e.childRef,(function(){return n.current}));var a=r.useCallback((function(t){e.onDragEnter&&e.onDragEnter({element:i(),target:o.current,event:t})}),[e.onDragEnter,i]),c=r.useCallback((function(t){e.onDragOver&&e.onDragOver({element:i(),target:o.current,event:t})}),[i,e.onDragOver]),l=r.useCallback((function(t){e.onDragLeave&&e.onDragLeave({element:i(),target:o.current,event:t})}),[e.onDragLeave,i]),u=r.useCallback((function(t){e.onDrop&&e.onDrop({element:i(),target:o.current,event:t})}),[e.onDrop,i]);return ze(n,{onDragEnter:a,onDragOver:c,onDragLeave:l,onDrop:u}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null}));Ke.displayName="KendoReactDroppable"},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6);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&&t.current&&(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";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-progressbars",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1638443507,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},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(9)),r(n(10))},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(0),i=n(1),a=n(2),c=n(5),l=n(2),u=n(7);t.ChunkProgressBar=o.forwardRef((function(e,t){l.validatePackage(u.packageMetadata);var n=e.chunkCount,i=void 0===n?s.chunkCount:n,f=e.className,p=e.disabled,d=e.orientation,v=e.min,m=void 0===v?s.min:v,h=e.max,y=void 0===h?s.max:h,g=e.reverse,b=void 0===g?s.reverse:g,O=e.style,x=e.tabIndex,k=e.emptyStyle,E=e.emptyClassName,C=e.progressStyle,w=e.progressClassName,D=o.useRef(null),P=o.useCallback((function(){D.current&&D.current.focus()}),[]);o.useImperativeHandle(t,(function(){return{element:D.current,focus:P}}));var _=e.value||s.value,N=null===e.value,S=a.useRtl(D,e.dir),j="vertical"===d,M={className:a.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!j,"k-progressbar-vertical":j,"k-progressbar-reverse":b,"k-progressbar-indeterminate":N,"k-state-disabled":p},f),ref:D,dir:S,tabIndex:a.getTabIndex(x,p),role:"progressbar","aria-valuemin":m,"aria-valuemax":y,"aria-valuenow":N?void 0:_,"aria-disabled":p,style:O};return o.createElement("div",r({},M),o.createElement("ul",{className:"k-reset"},o.createElement((function(e){for(var t=e.count,n=[],i=100/t+"%",l=c.calculateRatio(m,y,_),u=Math.floor(l*t),s=Array(t).fill(!1),f=j&&!b||!j&&b,p=0;p<u;p++)s[p]=!0;f&&s.reverse();for(p=0;p<t;++p){var d=s[p],v=d?w:E,h=r({},{width:j?void 0:i,height:j?i:void 0},d?C:k);n.push(o.createElement("li",{key:p,className:a.classNames("k-item",{"k-first":0===p,"k-last":p===t-1,"k-state-selected":d},v),style:h}))}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(0),i=n(1),a=n(12),c=n(2),l=n(5),u=n(11),s=n(6),f=n(2),p=n(7);t.ProgressBar=o.forwardRef((function(e,t){f.validatePackage(p.packageMetadata);var n=e.animation,i=e.disabled,v=e.reverse,m=void 0===v?d.reverse:v,h=e.orientation,y=e.labelVisible,g=e.labelPlacement,b=e.max,O=void 0===b?d.max:b,x=e.min,k=void 0===x?d.min:x,E=e.tabIndex,C=e.className,w=e.style,D=e.emptyStyle,P=e.emptyClassName,_=e.progressStyle,N=e.progressClassName,S=o.useRef(null),j=o.useRef(null),M=o.useRef(null),R=o.useCallback((function(){S.current&&S.current.focus()}),[]);o.useImperativeHandle(t,(function(){return{element:S.current,progressStatusElement:j.current,progressStatusWrapElement:M.current,focus:R}}));var T=e.value||d.value,L=u.usePrevious(T),I=null===e.value,A=c.useRtl(S,e.dir),z="vertical"===h,U=l.truncateNumber(T),H={value:T},B=y?e.label?o.createElement("span",{className:"k-progress-status"},o.createElement(e.label,r({},H))):o.createElement("span",{className:"k-progress-status"},U):void 0,F={className:c.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!z,"k-progressbar-vertical":z,"k-progressbar-reverse":m,"k-progressbar-indeterminate":I,"k-state-disabled":i},C),ref:S,dir:A,tabIndex:c.getTabIndex(E,i),role:"progressbar","aria-valuemin":k,"aria-valuemax":O,"aria-valuenow":I?void 0:T,"aria-disabled":i,style:w},K=c.classNames("k-progress-status-wrap",{"k-progress-start":"start"===g,"k-progress-center":"center"===g,"k-progress-end":"end"===g||void 0===g}),W="boolean"!=typeof n&&void 0!==n?n.duration:n?s.DEFAULT_ANIMATION_DURATION:s.NO_ANIMATION,X=o.useCallback((function(){var e=l.calculatePercentage(k,O,L);l.updateProgress(j,M,e,z)}),[z,O,k,L]),Y=o.useCallback((function(e){var t=l.calculatePercentage(k,O,L+(T-L)*e);l.updateProgress(j,M,t,z)}),[k,O,L,T,z]),V=o.useCallback((function(){var e=l.calculatePercentage(k,O,T);l.updateProgress(j,M,e,z)}),[z,O,k,T]);return a.useAnimation({duration:W,onStart:X,onUpdate:Y,onEnd:V},[T,W]),o.createElement("div",r({},F),o.createElement("span",{className:K+(P?" "+P:""),style:D},B),o.createElement("div",{className:"k-state-selected",style:_,ref:j},o.createElement("span",{className:K+(N?" "+N:""),ref:M},B)))})),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 d={animation:!1,min:0,max:100,value:0,disabled:!1,reverse:!1,labelVisible:!0};t.ProgressBar.defaultProps=d,t.ProgressBar.displayName="KendoProgressBar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);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 w})),n.d(t,"Expand",(function(){return N})),n.d(t,"Push",(function(){return T})),n.d(t,"Slide",(function(){return z})),n.d(t,"Zoom",(function(){return K})),n.d(t,"Reveal",(function(){return V})),n.d(t,"useAnimation",(function(){return q}));var r,o=n(0),i=n(1),a=n(2),c=n(3),l=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},u=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},s={"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"},f=(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)}),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)},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},v=s,m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(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,l=t.enter,u=t.exit,s=t.transitionName,f=t.transitionEnterDuration,m=t.transitionExitDuration,h=t.className,y=t.onEnter,g=t.onEntering,b=t.onEntered,O=t.onExit,x=t.onExiting,k=t.onExited,E=t.onAfterExited,C=t.mountOnEnter,w=t.unmountOnExit,D=t.animationEnteringStyle,P=t.animationEnteredStyle,_=t.animationExitingStyle,N=t.animationExitedStyle,S=d(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","onAfterExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),j=Object(a.classNames)(h,v["child-animation-container"]),M=p({transitionDelay:"0ms"},r),R={entering:p({transitionDuration:f+"ms"},D),entered:p({},P),exiting:p({transitionDuration:m+"ms"},_),exited:p({},N)},T={in:this.props.in,appear:i,enter:l,exit:u,mountOnEnter:C,unmountOnExit:w,timeout:{enter:f,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){O&&O.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onExited:function(t){E&&E.call(void 0,{animatedElement:t,target:e}),k&&k.call(void 0,{animatedElement:t,target:e})},classNames:{appear:v[s+"-appear"]||s+"-appear",appearActive:v[s+"-appear-active"]||s+"-appear-active",enter:v[s+"-enter"]||s+"-enter",enterActive:v[s+"-enter-active"]||s+"-enter-active",exit:v[s+"-exit"]||s+"-exit",exitActive:v[s+"-exit-active"]||s+"-exit-active"}};return o.createElement(c.CSSTransition,p({},T,S),(function(t){return o.createElement("div",{style:p({},M,R[t]),className:j,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,onAfterExited:a.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t}(o.Component),h={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1638442938,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},y=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)}}(),g=function(){return(g=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},O=s,x=function(e){function t(t){var n=e.call(this,t)||this;return Object(a.validatePackage)(h),n}return y(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,r=e.children,i=e.component,l=e.className,u=e.childFactory,s=(e.stackChildren,e.componentChildStyle),f=e.componentChildClassName,p=b(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),d={id:t,style:n,component:i,childFactory:u,className:Object(a.classNames)(O["animation-container"],O["animation-container-relative"],l)},v=o.Children.map(r||null,(function(e){return o.createElement(m,g({},p,{style:s,className:f}),e)}));return o.createElement(c.TransitionGroup,g({},d),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),k=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)}}(),E=function(){return(E=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)},C=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 k(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=C(e,["children"]);return o.createElement(x,E({},{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),D=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)},_=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 D(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=_(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),S=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)}}(),j=function(){return(j=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},R={position:"absolute",top:"0",left:"0"},T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=M(e,["children","direction"]);return o.createElement(x,j({},r,{transitionName:"push-"+n,animationExitingStyle:this.props.stackChildren?R: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),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)}}(),I=function(){return(I=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},z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return L(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,I({},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),U=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},F={position:"absolute",top:"0",left:"0"},K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return U(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?F: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)}}(),X=function(){return(X=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)},Y=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=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,r=n.onEnter,o=n.onBeforeEnter;o&&o.call(void 0,e),t.updateContainerDimensions(e.animatedElement,(function(){r&&r.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=l(r),i=u(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=Y(t,["direction","children","childFactory"]),c=this.state,l=c.maxHeight,u=c.maxWidth,s={maxHeight:(e="vertical"===n?{maxHeight:l?l+"px":null}:{maxWidth:u?u+"px":null}).maxHeight,maxWidth:e.maxWidth};return o.createElement(x,X({},a,{childFactory:function(t){var n=i?i(t):t;return n.props.in?n:o.cloneElement(n,X({},n.props,{style:X({},n.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:s,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),q=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(c){t||(t=c);var l=(c-t+1)/r+o;l<=1?(e.onUpdate&&e.onUpdate(l),i.current=window.requestAnimationFrame(a),n.current=l):(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}),[])}}])}));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types"),require("react-transition-group"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["react","prop-types","react-transition-group","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoReactProgressbars=t(require("react"),require("prop-types"),require("react-transition-group"),require("@progress/kendo-licensing")):e.KendoReactProgressbars=t(e.React,e.PropTypes,e.ReactTransitionGroup,e.KendoLicensing)}(window,(function(e,t,n,r){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=8)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"ZIndexContext",(function(){return o})),n.d(t,"useZIndexContext",(function(){return i})),n.d(t,"BrowserSupportService",(function(){return c})),n.d(t,"canUseDOM",(function(){return l})),n.d(t,"canUseRef",(function(){return u})),n.d(t,"classNames",(function(){return s})),n.d(t,"cloneDate",(function(){return f})),n.d(t,"clone",(function(){return p})),n.d(t,"cloneObject",(function(){return d})),n.d(t,"cloneValue",(function(){return v})),n.d(t,"cloneArray",(function(){return m})),n.d(t,"focusFirstFocusableChild",(function(){return h})),n.d(t,"FormComponent",(function(){return y})),n.d(t,"getTabIndex",(function(){return g})),n.d(t,"getter",(function(){return k})),n.d(t,"guid",(function(){return E})),n.d(t,"Keys",(function(){return C})),n.d(t,"noop",(function(){return w})),n.d(t,"getScrollbarWidth",(function(){return D})),n.d(t,"setScrollbarWidth",(function(){return P})),n.d(t,"setter",(function(){return S})),n.d(t,"mapTree",(function(){return R})),n.d(t,"mapTreeItem",(function(){return T})),n.d(t,"extendDataItem",(function(){return L})),n.d(t,"getItemPath",(function(){return I})),n.d(t,"validatePackage",(function(){return z})),n.d(t,"hasRelativeStackingContext",(function(){return U})),n.d(t,"dispatchEvent",(function(){return H})),n.d(t,"AsyncFocusBlur",(function(){return K})),n.d(t,"createPropsContext",(function(){return Y})),n.d(t,"withPropsContext",(function(){return V})),n.d(t,"useDir",(function(){return q})),n.d(t,"useAsyncFocusBlur",(function(){return B})),n.d(t,"useRtl",(function(){return G})),n.d(t,"useMouse",(function(){return $})),n.d(t,"useCustomComponent",(function(){return J})),n.d(t,"usePropsContext",(function(){return W})),n.d(t,"COLLECTION_ACTION",(function(){return Z})),n.d(t,"useCollection",(function(){return Q})),n.d(t,"Icon",(function(){return oe})),n.d(t,"SvgIcon",(function(){return le})),n.d(t,"Typography",(function(){return ke})),n.d(t,"DragAndDrop",(function(){return Be})),n.d(t,"Draggable",(function(){return Fe})),n.d(t,"Droppable",(function(){return Ke})),n.d(t,"useDraggable",(function(){return Ae})),n.d(t,"useDroppable",(function(){return ze}));var r=n(0),o=r.createContext(0),i=function(){return r.useContext(o)};o.displayName="KendoReactZIndexContext";var a=function(){return"undefined"!=typeof document?document:{}},c=function(){function e(){}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=a();if(!this.scrollbar&&e&&e.createElement){var t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!0,configurable:!0}),e}(),l=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),u=function(e){return"string"!=typeof Comment&&(function(e){return Boolean("function"==typeof e&&!!e.prototype.isReactComponent)}(e)||function(e){return Boolean(e.$$typeof&&"function"==typeof e.render)}(e))},s=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)?s.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(" ")},f=function(e){return e?new Date(e.getTime()):null};function p(e){var t={};return d(e,t),t}function d(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=v(r,t[n])}}function v(e,t){if(Array.isArray(e))return m(e);if(e instanceof Date)return f(e);if(r.isValidElement(e))return r.cloneElement(e,e.props);if(e&&"object"==typeof e){var n=t||{};return d(e,n),n}return e}function m(e){return e.map((function(e){return v(e,void 0)}))}var h=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()}},y=function(){},g=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},b=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function O(e){var t=[];return e.replace(b,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}var x={};function k(e){if(x[e])return x[e];var t=O(e);return x[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},x[e]}x.undefined=function(){};var E=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},C={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},w=function(){},D=function(){return!(!l||!document.body)&&(new c).scrollbarWidth},P=function(){if(!l||!document.body)return!1;var e=(new c).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",e+"px")},_={undefined:function(e){return e}},N=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function S(e){if(_[e])return _[e];var t=O(e);return _[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]]||N(t[a+1],r);o[t[i]]=n},_[e]}var j=function(){return(j=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)};function M(e,t,n){var r;return n?j({},e,((r={})[t]=n.length?n.slice():void 0,r)):e&&e[t]?e[t].slice():[]}var R=function(e,t,n){return e.map((function(e){return function e(t,n,r){if(t[n]){var o=M(t,n).map((function(t){return e(t,n,r)}));return r(M(t,n,o))}return r(t)}(e,t,n)})).slice()},T=function(e,t,n,r){for(var o=e,i=[],a=0;a<t.length;a++)o=o[t[a]],o=Array.isArray(o)?o:o[n],i.push(o);var c=i.length>1?i[i.length-2]:e,l=t[t.length-1],u=r(c[l]);c.splice(l,1,u)},L=function(e,t,n){var r;return Object.assign({},e,e[t]?((r={})[t]=e[t].slice(),r):{},n||{})},I=function(e,t,n){var r=[],o=t.slice();if(o.length){var i=e[o.shift()||0];for(r.push(i);o.length&&n;)i=i[n][o.shift()||0],r.push(i)}return r},A=n(4);function z(e){if(void 0!==A)A.validatePackage(e);else{var t="License activation failed for "+e.name+"\n";t+="The @progress/kendo-licensing script is not loaded.\n",t+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(t)}}var U=function(e){if(!l)return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)",n.innerHTML='<div style="position: fixed; top: 10px;">child</div>',t.body.appendChild(n);var r=10!==n.children[0].getBoundingClientRect().top;return t.body.removeChild(n),r};function H(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}function B(e){var t=e.onFocus,n=e.onBlur,o=e.onSyncFocus,i=e.onSyncBlur,a=r.useRef(!1),c=r.useRef(0),l=r.useCallback((function(e){clearTimeout(c.current),c.current=window.setTimeout((function(){return e()}))}),[c]),u=r.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(c.current),o&&o.call.apply(o,[void 0].concat(e)),a.current||(a.current=!0,t&&t.call.apply(t,[void 0].concat(e)))}),[a,t,o]),s=r.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i&&i.call.apply(i,[void 0].concat(e)),l((function(){a.current&&n&&(a.current=!1,n.call.apply(n,[void 0].concat(e)))}))}),[a,l,n,i]);return r.useEffect((function(){return function(){clearTimeout(c.current)}}),[]),{onFocus:u,onBlur:s}}var 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)},K=function(e){var t=e.children,n=B({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return t.call(void 0,F({},n))},W=function(e,t){return r.useContext(e)(t)},X=function(){return(X=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)},Y=function(){return r.createContext((function(e){return e}))},V=function(e,t){return r.forwardRef((function(n,o){var i=W(e,n);return r.createElement(t,X({},i,{ref:o}))}))};function q(e,t,n){var o=r.useState(t),i=o[0],a=o[1];return r.useEffect((function(){if(!i&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&a(t)}}),n),i}function G(e,t,n){var o=r.useState(t),i=o[0],a=o[1];return r.useEffect((function(){if(!i&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&a(t)}}),n),i}var Z,$=function(e,t,n){void 0===n&&(n={});var o=r.useCallback((function(r){n.onMouseDown&&n.onMouseDown.call(void 0,r),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseDown,e.onMouseDown,t]),i=r.useCallback((function(r){n.onMouseUp&&n.onMouseUp.call(void 0,r),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseUp,e.onMouseUp,t]);return{onClick:r.useCallback((function(r){n.onClick&&n.onClick.call(void 0,r),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onClick,e.onClick,t]),onMouseUp:i,onMouseDown:o,onDoubleClick:r.useCallback((function(r){n.onDoubleClick&&n.onDoubleClick.call(void 0,r),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onDoubleClick,e.onDoubleClick,t]),onMouseEnter:r.useCallback((function(r){n.onMouseEnter&&n.onMouseEnter.call(void 0,r),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseEnter,e.onMouseEnter,t]),onMouseLeave:r.useCallback((function(r){n.onMouseLeave&&n.onMouseLeave.call(void 0,r),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseLeave,e.onMouseLeave,t]),onMouseMove:r.useCallback((function(r){n.onMouseMove&&n.onMouseMove.call(void 0,r),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseMove,e.onMouseMove,t]),onMouseOut:r.useCallback((function(r){n.onMouseOut&&n.onMouseOut.call(void 0,r),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOut,e.onMouseOut,t]),onMouseOver:r.useCallback((function(r){n.onMouseOver&&n.onMouseOver.call(void 0,r),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOver,e.onMouseOver,t])}},J=function(e){return r.isValidElement(e)?[e.type,e.props]:[e,{}]};!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(Z||(Z={}));var Q=function(e){void 0===e&&(e=[]);var t=r.useRef(e),n=r.useCallback((function(e){switch(e.type){case Z.add:t.current.push(e.item);break;case Z.remove:var n=t.current.indexOf(e.item);t.current.splice(n,1)}}),[]);return[t.current,n]},ee=n(1),te={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},ne=function(){return(ne=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)},re=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},oe=r.forwardRef((function(e,t){var n=e.className,o=e.name,i=e.themeColor,a=e.size,c=e.flip,l=e.style,u=re(e,["className","name","themeColor","size","flip","style"]),f=r.useRef(null),p=r.useRef(null);r.useImperativeHandle(f,(function(){return{element:p.current}})),r.useImperativeHandle(t,(function(){return f.current}));var d=r.useMemo((function(){return i||ie.themeColor}),[i]),v=r.useMemo((function(){return a||ie.size}),[a]),m=r.useMemo((function(){return c||ie.flip}),[c]),h=r.useMemo((function(){return s("k-icon","k-i-"+o,"k-color-"+d,{"k-flip-h":"horizontal"===m||"both"===m,"k-flip-v":"vertical"===m||"both"===m},te[v],n)}),[o,d,v,m,n]),y=$(e,f);return r.createElement("span",ne({ref:p},u,y,{className:h,style:l,role:"presentation"}))}));oe.propTypes={style:ee.object,classNames:ee.string,name:ee.string,themeColor:ee.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:ee.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:ee.oneOf(["default","horizontal","vertical","both"])};var ie={size:"default",themeColor:"inherit",flip:"default"};oe.displayName="KendoIcon";var ae=function(){return(ae=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)},ce=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},le=r.forwardRef((function(e,t){var n=e.children,o=e.className,i=e.svgClassName,a=e.icon,c=e.flip,l=e.size,u=e.style,f=e.svgStyle,p=e.themeColor,d=e.viewBox,v=ce(e,["children","className","svgClassName","icon","flip","size","style","svgStyle","themeColor","viewBox"]),m=r.useRef(null);r.useImperativeHandle(t,(function(){return{element:m.current}}));var h=r.useMemo((function(){return a?a.name:ue.icon}),[a]),y=r.useMemo((function(){return p||ue.themeColor}),[p]),g=r.useMemo((function(){return l||ue.size}),[l]),b=r.useMemo((function(){return c||ue.flip}),[c]),O=r.useMemo((function(){return d||ue.viewBox}),[d]),x=r.useMemo((function(){return s("k-svg-icon","k-color-"+y,"k-svg-i-"+h,{"k-flip-h":"horizontal"===b||"both"===b,"k-flip-v":"vertical"===b||"both"===b},te[g],o)}),[h,y,g,b,o]),k=r.useMemo((function(){return e.width&&e.height?ae({width:e.width,height:e.height},u):e.width?ae({width:e.width,height:e.width},u):e.height?ae({width:e.height,height:e.height},u):ae({},u)}),[e.width,e.height,u]);return r.createElement("span",{className:x,style:k,ref:m},r.createElement("svg",ae({className:i,style:f,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:a?a.viewBox:O,dangerouslySetInnerHTML:a?{__html:a.content}:void 0},v),a?void 0:n))}));le.propTypes={style:ee.object,classNames:ee.string,children:ee.any,icon:ee.object,themeColor:ee.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:ee.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:ee.oneOf(["default","horizontal","vertical","both"])};var ue={size:"default",themeColor:"inherit",flip:"default",icon:"",viewBox:"0 0 24 24"};le.displayName="KendoSvgIcon";var se,fe={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},pe={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},de={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},ve={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},me={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},he={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},ye={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},ge={inherit:"k-color-inherit",primary:"k-color-primary",secondary:"k-color-secondary",tertiary:"k-color-tertiary",info:"k-color-info",success:"k-color-success",warning:"k-color-warning",error:"k-color-error",dark:"k-color-dark",light:"k-color-light",inverse:"k-color-inverse"},be=function(){return(be=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)},Oe=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},xe=function(e){var t=r.forwardRef((function(t,n){var o=t.className,i=t.fontSize,a=t.fontWeight,c=t.textAlign,l=t.textTransform,u=t.themeColor,s=t.margin,f=Oe(t,["className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),p=r.useRef(null),d=r.useRef(null);r.useImperativeHandle(p,(function(){return{element:d.current,props:t}})),r.useImperativeHandle(n,(function(){return p.current}));var v=e,m=function(){if(void 0!==s){if("string"==typeof s)return[de[s]];if("number"==typeof s&&s>=0&&s<=24)return["k-m-"+s];if("object"==typeof s){var e=[];return Object.keys(s).forEach((function(t){var n,r;null!==s[t]&&void 0!==s[t]&&e.push((n=t,r=s[t],""+me[n]+("string"==typeof r?ve[r]:r)))})),e.join(" ")}}};return r.createElement(v,be({ref:d,className:["k-"+("p"===e?"paragraph":e),fe[i],pe[a],he[c],ye[l],ge[u],m(),o].filter((function(e){return void 0!==e})).join(" ")},f),t.children)}));return t.propTypes={style:ee.object,className:ee.string,fontSize:ee.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:ee.oneOf(["light","normal","bold"]),margin:ee.oneOfType([ee.number,ee.object,ee.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:ee.oneOf(["left","right","center","justify"]),textTransform:ee.oneOf(["lowercase","uppercase","capitalize"]),themeColor:ee.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName="KendoReactTypography"+e.toUpperCase(),t},ke={h1:xe("h1"),h2:xe("h2"),h3:xe("h3"),h4:xe("h4"),h5:xe("h5"),h6:xe("h6"),p:xe("p"),code:xe("code"),pre:xe("pre")},Ee=function(e,t){var n=0,r=null;return t.forEach((function(t){if(t&&e){var o=function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=Math.max(r.top,n.top),i=Math.max(r.left,n.left),a=Math.min(r.left+r.width,n.left+n.width),c=Math.min(r.top+r.height,n.top+n.height),l=a-i,u=c-o;if(i<a&&o<c){var s=r.width*r.height,f=n.width*n.height,p=l*u;return Number((p/(s+f-p)).toFixed(4))}return 0}(e,t);o>n&&(n=o,r=t)}})),r},Ce=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var t=!1,n=[],r={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var o in r)if(r.hasOwnProperty(o)&&(n=e.match(r[o]))){(t={})[o]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.DOCUMENT_NODE||n[2],10);break}return t},we=function(e){return e&&e.ownerDocument||window.document},De=function(e){var t=Ce(),n=we(e);return t.edge||t.safari?n.body:n.documentElement},Pe=function(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=window.getComputedStyle(e,"overflow").overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},_e=function(e){var t=De(e);if(!e||e===document.body||e===document.documentElement)return t;for(var n=e;n&&!Pe(n)&&n!==document.body;)n=n.parentNode;return n===document.body?t:n};!function(e){e.POINTER_DOWN="pointerdown",e.POINTER_MOVE="pointermove",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.MOUSE_DOWN="mousedown",e.MOUSE_MOVE="mousemove",e.MOUSE_UP="mouseup",e.CONTEXT_MENU="contextmenu",e.TOUCH_START="touchstart",e.TOUCH_MOVE="touchmove",e.TOUCH_END="touchend",e.TOUCH_CANCEL="touchcancel",e.SCROLL="scroll",e.START="KENDO_DRAG_AND_DROP_START",e.MOVE="KENDO_DRAG_AND_DROP_MOVE",e.END="KENDO_DRAG_AND_DROP_END",e.CANCEL="KENDO_DRAG_AND_DROP_CANCEL"}(se||(se={}));var Ne=function(){},Se=function(e,t,n){void 0===n&&(n={});var r,o,i,a,c=n.onIsPressedChange,l=void 0===c?Ne:c,u=n.onIsScrollingChange,s=void 0===u?Ne:u,f=n.onVelocityChange,p=void 0===f?Ne:f,d=n.onOffsetChange,v=void 0===d?Ne:d,m=n.onPageOffsetChange,h=void 0===m?Ne:m,y=n.onClientOffsetChange,g=void 0===y?Ne:y,b=n.onScrollOffsetChange,O=void 0===b?Ne:b,x=n.onInitialScrollOffsetChange,k=void 0===x?Ne:x,E=t.payload,C=E.element,w=E.hint,D=e.autoScrollDirection,P=e.scrollableParent,_=function(e,t){return function(e){return/^touch/.test(e.type)}(e)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,isTouch:!0,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:function(e){return/^(scroll)/.test(e.type)}(e)?{pageX:t.pageOffset.x,pageY:t.pageOffset.y,clientX:t.clientOffset.x,clientY:t.clientOffset.y,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}}(t.event,e);switch(_.type){case se.POINTER_DOWN:if(_.type===se.POINTER_DOWN&&(!_.originalEvent.isPrimary||0!==_.originalEvent.button))break;case se.MOUSE_DOWN:if(_.type===se.MOUSE_DOWN&&_.originalEvent.which&&_.originalEvent.which>1||e.ignoreMouse)break;case se.TOUCH_START:if(_.type===se.TOUCH_START&&1!==_.originalEvent.touches.length)break;case se.START:var N=P||_e(t.payload.element);k(N instanceof Window?{x:N.scrollX,y:N.scrollY}:{x:N.scrollLeft,y:N.scrollTop}),g({x:_.clientX,y:_.clientY}),h({x:_.pageX,y:_.pageY}),v({x:_.offsetX,y:_.offsetY}),l(!0),E.onPress&&E.onPress(_);break;case se.SCROLL:if(_.type===se.SCROLL&&!e.pressed)break;var S=P||_e(C),j=S instanceof Window?{x:S.scrollX,y:S.scrollY}:{x:S.scrollLeft,y:S.scrollTop};_.scrollX=j.x-e.initialScrollOffset.x,_.scrollY=j.y-e.initialScrollOffset.y,O({x:_.scrollX,y:_.scrollY});case se.POINTER_MOVE:if(_.type===se.POINTER_MOVE&&!_.originalEvent.isPrimary)break;case se.MOUSE_MOVE:case se.TOUCH_MOVE:if(_.type===se.TOUCH_MOVE&&1!==_.originalEvent.touches.length)break;case se.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==_.originalEvent.type&&C){var M=we(C),R=P||_e(M.elementFromPoint(_.clientX,_.clientY)),T=function(e,t,n){var r={x:0,y:0};return e-n.left<50?r.x=-(50-(e-n.left)):n.right-e<50&&(r.x=50-(n.right-e)),t-n.top<50?r.y=-(50-(t-n.top)):n.bottom-t<50&&(r.y=50-(n.bottom-t)),r}(_.pageX,_.pageY,function(e,t){var n=De(e);if(e===n)return{top:n.scrollTop,left:n.scrollLeft,bottom:n.scrollTop+t.innerHeight,right:n.scrollLeft+t.innerWidth};var r=e.getBoundingClientRect();return{bottom:r.top+r.height,right:r.left+r.width,left:r.left,top:r.top}}(R,function(e){var t=we(e);return t&&t.defaultView||window}(C)));p({x:D&&!1===D.horizontal?0:T.x,y:D&&!1===D.vertical?0:T.y}),s(0!==T.y||0!==T.x)}!e.drag&&E.onDragStart&&E.onDragStart(_),E.onDrag&&E.onDrag(_);var L=Ee(w||C,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(w||C)}))),I=e.drops.find((function(e){return e.element===L}));I&&L&&(r=_.clientX,o=_.clientY,i=P||_e(L),(a=i.getBoundingClientRect()).top<=o&&a.left<=r&&o<=a.bottom&&r<=a.right)&&L!==C?(e.drop&&e.drop.element)!==L?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(_),I.onDragEnter&&I.onDragEnter(_)):I.onDragOver&&I.onDragOver(_):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(_)}g({x:_.clientX,y:_.clientY}),h({x:_.pageX,y:_.pageY});break;case se.POINTER_UP:if(_.type===se.POINTER_UP&&!_.originalEvent.isPrimary)break;case se.MOUSE_UP:case se.TOUCH_END:if(_.type===se.TOUCH_END&&1!==_.originalEvent.touches.length)break;case se.END:l(!1),s(!1),E.onRelease&&E.onRelease(_),e.drop&&e.drop.onDrop&&e.drop.onDrop(_),E.onDragEnd&&E.onDragEnd(_);break;case se.POINTER_CANCEL:case se.CONTEXT_MENU:case se.TOUCH_CANCEL:case se.CANCEL:l(!1),s(!1),E.onDragEnd&&E.onDragEnd(_),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(_)}},je=function(e,t){if(e){var n,r;e===De(e)?(n=document.body.scrollHeight>window.innerHeight,r=document.body.scrollWidth>window.innerWidth):(n=e.offsetHeight<=e.scrollHeight,r=e.offsetWidth<=e.scrollWidth);var o=e.scrollTop+t.y,i=n&&o>0&&o<e.scrollHeight,a=e.scrollLeft+t.x,c=r&&a>0&&a<e.scrollWidth;i?e.scrollTop+=t.y:n&&o<0&&(e.scrollTop=0),c?e.scrollLeft+=t.x:r&&a<0&&(e.scrollLeft=0)}},Me=function(e,t){var n=r.useContext(e),o=n[0],i=n[1],a=r.useState(t),c=a[0],l=a[1];return[void 0!==o?o:c,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];void 0!==o?i.apply(void 0,e):l(e[0])}]},Re=r.createContext([void 0,w]),Te=r.createContext([void 0,w]),Le=r.createContext([[],w,w]),Ie=r.createContext([[],w,w]);function Ae(e,t,n){void 0===n&&(n={});var o=t.onPress,i=void 0===o?w:o,a=t.onRelease,c=void 0===a?w:a,l=t.onDragStart,u=void 0===l?w:l,s=t.onDrag,f=void 0===s?w:s,p=t.onDragEnd,d=void 0===p?w:p,v=n.hint,m=void 0===v?null:v,h=n.mouseOnly,y=void 0!==h&&h,g=n.autoScroll,b=void 0===g||g,O=n.scrollContainer,x=void 0===O?null:O,k=r.useState(!1),E=k[0],C=k[1],D=r.useState(!1),P=D[0],_=D[1],N=Me(Te)[0],S=Me(Re),j=S[0],M=S[1],R=r.useContext(Ie)[0],T=r.useContext(Le),L=T[0],I=T[1],A=T[2],z=r.useRef({x:0,y:0}),U=r.useRef(),H=r.useRef(!1),B=r.useRef(),F=r.useRef(!1),K=r.useRef({x:0,y:0}),W=r.useRef({x:0,y:0}),X=r.useRef({x:0,y:0}),Y=r.useRef({x:0,y:0}),V=r.useRef({x:0,y:0}),q=r.useRef({x:0,y:0}),G=Boolean(window&&"undefined"!=typeof window&&window.PointerEvent),Z=!y&&G,$=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),J=r.useCallback((function(){return m&&m.current&&m.current.element?m.current.element:m?m.current:null}),[m]),Q=r.useCallback((function(){return x&&x.current&&x.current.element?x.current.element:x?x.current:null}),[x]),ee=r.useCallback((function(){return"object"==typeof b&&b.boundaryElementRef&&b.boundaryElementRef.current&&b.boundaryElementRef.current.element?b.boundaryElementRef.current.element:"object"==typeof b&&b.boundaryElementRef&&b.boundaryElementRef.current?b.boundaryElementRef.current:null}),[b]),te=r.useRef(null);r.useImperativeHandle(te,(function(){return{element:$(),hint:J(),onPress:ve,onDragStart:he,onDrag:ye,onDragEnd:ge,onRelease:me,data:e.current}}));var ne=r.useCallback((function(){var e=$();return e&&e.ownerDocument||document}),[$]),re=r.useCallback((function(){var e=ne();return e&&e.defaultView||window}),[ne]),oe=r.useCallback((function(){return{drag:j?j.current:null,drop:N?N.current:null,drags:L.map((function(e){return e.current})),drops:R.map((function(e){return e.current})),pressed:E,ignoreMouse:H.current,scrollOffset:V.current,offset:K.current,pageOffset:W.current,initialScrollOffset:q.current,clientOffset:X.current,initialClientOffset:Y.current,velocity:z.current,autoScroll:Boolean("object"==typeof b?!1!==b.enabled:b),scrollableParent:ee(),autoScrollDirection:"object"==typeof b?b.direction:{horizontal:!0,vertical:!0},isScrolling:P}}),[j,N,L,R,E,b,ee,P]),ie=r.useCallback((function(e){C(e)}),[]),ae=r.useCallback((function(e){_(e)}),[]),ce=r.useCallback((function(e){z.current=e}),[]),le=r.useCallback((function(e){K.current=e}),[]),ue=r.useCallback((function(e){X.current=e}),[]),se=r.useCallback((function(e){W.current=e}),[]),fe=r.useCallback((function(e){Y.current=e}),[]),pe=r.useCallback((function(e){V.current=e}),[]),de=r.useCallback((function(e){q.current=e}),[]),ve=r.useCallback((function(e){i(e)}),[i]),me=r.useCallback((function(e){c(e)}),[c]),he=r.useCallback((function(t){M(te,{target:e.current,event:t}),u(t)}),[M,e,u]),ye=r.useCallback((function(e){f(e)}),[f]),ge=r.useCallback((function(t){F.current||(M(null,{target:e.current,event:t}),d(t))}),[d,M,e]),be=r.useCallback((function(e){Se(oe(),{event:e,payload:te.current},{onVelocityChange:ce,onOffsetChange:le,onClientOffsetChange:ue,onPageOffsetChange:se,onInitialClientOffsetChange:fe,onScrollOffsetChange:pe,onInitialScrollOffsetChange:de,onIsPressedChange:ie,onIsScrollingChange:ae})}),[oe,ce,le,se,ue,fe,de,ie,pe,ae]),Oe=r.useCallback((function(e){be(e)}),[be]),xe=r.useCallback((function(e){be(e)}),[be]),ke=r.useCallback((function(e){be(e)}),[be]),Ee=r.useCallback((function(e){be(e)}),[be]),Ce=r.useCallback((function(e){be(e)}),[be]),we=r.useCallback((function(e){be(e)}),[be]),De=r.useCallback((function(e){be(e)}),[be]),Pe=r.useCallback((function(e){e.preventDefault(),be(e)}),[be]),Ne=r.useCallback((function(e){e.preventDefault(),be(e)}),[be]),Ae=r.useCallback((function(e){e.preventDefault(),be(e)}),[be]),ze=r.useCallback((function(e){if(0===e.touches.length&&1===e.changedTouches.length){var t=re();H.current=!0,B.current=t.setTimeout((function(){H.current=!1}),2e3)}be(e)}),[be,re]),Ue=r.useCallback((function(e){be(e)}),[be]),He=r.useCallback((function(){var e=$();if(e){var t=e.style.touchAction;return e.style.touchAction="none",function(){e.style.touchAction=t}}}),[$]),Be=r.useCallback((function(){return I(te),function(){A(te)}}),[A,I]);r.useEffect((function(){var e=re();if(P){var t=Q()||_e(document.elementFromPoint(X.current.x,X.current.y));e.clearInterval(U.current),U.current=e.setInterval((function(){je(t,{x:z.current.x,y:z.current.y})}),50)}return function(){e.clearInterval(U.current)}}),[$,Q,re,P]),r.useEffect(He,[He]),r.useEffect((function(){var e=re(),t=$(),n=ne();if(Z){if(t)_e(t).addEventListener("scroll",Ue,{passive:!0}),t.addEventListener("pointerdown",Oe,{passive:!0});E&&(n.addEventListener("pointermove",xe),n.addEventListener("pointerup",Ee,!0),n.addEventListener("contextmenu",Pe),n.addEventListener("pointercancel",ke,{passive:!0}))}else e.addEventListener("touchmove",w,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",Ce,{passive:!0}),y||(t.addEventListener("touchstart",Ne,{passive:!0}),E&&(t.addEventListener("touchmove",Ae,{passive:!0}),t.addEventListener("touchend",ze,{passive:!0})))),E&&(n.addEventListener("mousemove",we,{passive:!0}),n.addEventListener("mouseup",De,{passive:!0}));return function(){if(t){var r=_e(t);r&&r.removeEventListener("scroll",Ue),t.removeEventListener("pointerdown",Oe),t.removeEventListener("mousedown",Ce),t.removeEventListener("touchstart",Ne),t.removeEventListener("touchmove",Ae),t.removeEventListener("touchend",ze)}n.removeEventListener("pointermove",xe),n.removeEventListener("pointerup",Ee,!0),n.removeEventListener("contextmenu",Pe),n.removeEventListener("pointercancel",ke),n.removeEventListener("mousemove",we),n.removeEventListener("mouseup",De),e.removeEventListener("touchmove",w),e.clearTimeout(B.current)}}),[E,re,$,ne,y,Z,Pe,Ce,we,De,ke,Oe,xe,Ee,ze,Ae,Ne,Ue]),r.useEffect((function(){return function(){F.current=!0}}),[]),r.useLayoutEffect(Be,[Be])}function ze(e,t){void 0===t&&(t={onDragEnter:w,onDragOver:w,onDragLeave:w,onDrop:w});var n=t.onDragEnter,o=void 0===n?w:n,i=t.onDragOver,a=void 0===i?w:i,c=t.onDragLeave,l=void 0===c?w:c,u=t.onDrop,s=void 0===u?w:u,f=Me(Te)[1],p=r.useContext(Ie),d=p[1],v=p[2],m=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),h=r.useRef(null);r.useImperativeHandle(h,(function(){return{element:m(),onDragEnter:y,onDragOver:g,onDragLeave:b,onDrop:O,data:e.current}}));var y=r.useCallback((function(t){f(h,{target:e.current,event:t}),o(t)}),[f,e,o]),g=r.useCallback((function(e){a(e)}),[a]),b=r.useCallback((function(t){f(null,{target:e.current,event:t}),l(t)}),[f,e,l]),O=r.useCallback((function(t){f(null,{target:e.current,event:t}),s(t)}),[f,e,s]),x=r.useCallback((function(){return d(h),function(){v(h)}}),[v,d]);r.useLayoutEffect(x,[x])}var Ue=function(){return(Ue=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)},He=function(e,t,n){var o=r.useState(t||e),i=o[0],a=o[1];return[void 0!==t?t:i,r.useCallback((function(e,t){a(e),n&&n.call(void 0,Ue({},t,{value:e}))}),[n,a])]},Be=function(e){var t=He(null,void 0),n=t[0],o=t[1],i=He(null,void 0),a=i[0],c=i[1],l=Q([]),u=l[0],s=l[1],f=Q([]),p=f[0],d=f[1];return r.createElement(Re.Provider,{value:[n,o]},r.createElement(Te.Provider,{value:[a,c]},r.createElement(Le.Provider,{value:[u,function(e){s({type:Z.add,item:e})},function(e){s({type:Z.remove,item:e})}]},r.createElement(Ie.Provider,{value:[p,function(e){d({type:Z.add,item:e})},function(e){d({type:Z.remove,item:e})}]},e.children))))};Be.displayName="KendoReactDragAndDrop";var Fe=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null),i=r.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);r.useImperativeHandle(o,(function(){return{element:i()||null}})),r.useImperativeHandle(t,(function(){return o.current})),r.useImperativeHandle(e.childRef,(function(){return n.current}));var a=r.useCallback((function(t){e.onPress&&e.onPress({element:i(),target:o.current,event:t})}),[i,e.onPress]),c=r.useCallback((function(t){e.onRelease&&e.onRelease({element:i(),target:o.current,event:t})}),[i,e.onRelease]),l=r.useCallback((function(t){e.onDragStart&&e.onDragStart({element:i(),target:o.current,event:t})}),[e,i]),u=r.useCallback((function(t){e.onDrag&&e.onDrag({element:i(),target:o.current,event:t})}),[i,e.onDrag]),s=r.useCallback((function(t){e.onDragEnd&&e.onDragEnd({element:i(),target:o.current,event:t})}),[i,e.onDragEnd]);return Ae(n,{onPress:a,onRelease:c,onDragStart:l,onDrag:u,onDragEnd:s},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null}));Fe.displayName="KendoReactDraggable";var Ke=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null),i=r.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);r.useImperativeHandle(o,(function(){return{element:i()||void 0}})),r.useImperativeHandle(t,(function(){return o.current})),r.useImperativeHandle(e.childRef,(function(){return n.current}));var a=r.useCallback((function(t){e.onDragEnter&&e.onDragEnter({element:i(),target:o.current,event:t})}),[e.onDragEnter,i]),c=r.useCallback((function(t){e.onDragOver&&e.onDragOver({element:i(),target:o.current,event:t})}),[i,e.onDragOver]),l=r.useCallback((function(t){e.onDragLeave&&e.onDragLeave({element:i(),target:o.current,event:t})}),[e.onDragLeave,i]),u=r.useCallback((function(t){e.onDrop&&e.onDrop({element:i(),target:o.current,event:t})}),[e.onDrop,i]);return ze(n,{onDragEnter:a,onDragOver:c,onDragLeave:l,onDrop:u}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null}));Ke.displayName="KendoReactDroppable"},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6);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&&t.current&&(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";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-progressbars",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1639474227,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},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(9)),r(n(10))},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(0),i=n(1),a=n(2),c=n(5),l=n(2),u=n(7);t.ChunkProgressBar=o.forwardRef((function(e,t){l.validatePackage(u.packageMetadata);var n=e.chunkCount,i=void 0===n?s.chunkCount:n,f=e.className,p=e.disabled,d=e.orientation,v=e.min,m=void 0===v?s.min:v,h=e.max,y=void 0===h?s.max:h,g=e.reverse,b=void 0===g?s.reverse:g,O=e.style,x=e.tabIndex,k=e.emptyStyle,E=e.emptyClassName,C=e.progressStyle,w=e.progressClassName,D=o.useRef(null),P=o.useCallback((function(){D.current&&D.current.focus()}),[]);o.useImperativeHandle(t,(function(){return{element:D.current,focus:P}}));var _=e.value||s.value,N=null===e.value,S=a.useRtl(D,e.dir),j="vertical"===d,M={className:a.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!j,"k-progressbar-vertical":j,"k-progressbar-reverse":b,"k-progressbar-indeterminate":N,"k-state-disabled":p},f),ref:D,dir:S,tabIndex:a.getTabIndex(x,p),role:"progressbar","aria-valuemin":m,"aria-valuemax":y,"aria-valuenow":N?void 0:_,"aria-disabled":p,style:O};return o.createElement("div",r({},M),o.createElement("ul",{className:"k-reset"},o.createElement((function(e){for(var t=e.count,n=[],i=100/t+"%",l=c.calculateRatio(m,y,_),u=Math.floor(l*t),s=Array(t).fill(!1),f=j&&!b||!j&&b,p=0;p<u;p++)s[p]=!0;f&&s.reverse();for(p=0;p<t;++p){var d=s[p],v=d?w:E,h=r({},{width:j?void 0:i,height:j?i:void 0},d?C:k);n.push(o.createElement("li",{key:p,className:a.classNames("k-item",{"k-first":0===p,"k-last":p===t-1,"k-state-selected":d},v),style:h}))}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(0),i=n(1),a=n(12),c=n(2),l=n(5),u=n(11),s=n(6),f=n(2),p=n(7);t.ProgressBar=o.forwardRef((function(e,t){f.validatePackage(p.packageMetadata);var n=e.animation,i=e.disabled,v=e.reverse,m=void 0===v?d.reverse:v,h=e.orientation,y=e.labelVisible,g=e.labelPlacement,b=e.max,O=void 0===b?d.max:b,x=e.min,k=void 0===x?d.min:x,E=e.tabIndex,C=e.className,w=e.style,D=e.emptyStyle,P=e.emptyClassName,_=e.progressStyle,N=e.progressClassName,S=o.useRef(null),j=o.useRef(null),M=o.useRef(null),R=o.useCallback((function(){S.current&&S.current.focus()}),[]);o.useImperativeHandle(t,(function(){return{element:S.current,progressStatusElement:j.current,progressStatusWrapElement:M.current,focus:R}}));var T=e.value||d.value,L=u.usePrevious(T),I=null===e.value,A=c.useRtl(S,e.dir),z="vertical"===h,U=l.truncateNumber(T),H={value:T},B=y?e.label?o.createElement("span",{className:"k-progress-status"},o.createElement(e.label,r({},H))):o.createElement("span",{className:"k-progress-status"},U):void 0,F={className:c.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!z,"k-progressbar-vertical":z,"k-progressbar-reverse":m,"k-progressbar-indeterminate":I,"k-state-disabled":i},C),ref:S,dir:A,tabIndex:c.getTabIndex(E,i),role:"progressbar","aria-valuemin":k,"aria-valuemax":O,"aria-valuenow":I?void 0:T,"aria-disabled":i,style:w},K=c.classNames("k-progress-status-wrap",{"k-progress-start":"start"===g,"k-progress-center":"center"===g,"k-progress-end":"end"===g||void 0===g}),W="boolean"!=typeof n&&void 0!==n?n.duration:n?s.DEFAULT_ANIMATION_DURATION:s.NO_ANIMATION,X=o.useCallback((function(){var e=l.calculatePercentage(k,O,L);l.updateProgress(j,M,e,z)}),[z,O,k,L]),Y=o.useCallback((function(e){var t=l.calculatePercentage(k,O,L+(T-L)*e);l.updateProgress(j,M,t,z)}),[k,O,L,T,z]),V=o.useCallback((function(){var e=l.calculatePercentage(k,O,T);l.updateProgress(j,M,e,z)}),[z,O,k,T]);return a.useAnimation({duration:W,onStart:X,onUpdate:Y,onEnd:V},[T,W]),o.createElement("div",r({},F),o.createElement("span",{className:K+(P?" "+P:""),style:D},B),o.createElement("div",{className:"k-state-selected",style:_,ref:j},o.createElement("span",{className:K+(N?" "+N:""),ref:M},B)))})),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 d={animation:!1,min:0,max:100,value:0,disabled:!1,reverse:!1,labelVisible:!0};t.ProgressBar.defaultProps=d,t.ProgressBar.displayName="KendoProgressBar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);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 w})),n.d(t,"Expand",(function(){return N})),n.d(t,"Push",(function(){return T})),n.d(t,"Slide",(function(){return z})),n.d(t,"Zoom",(function(){return K})),n.d(t,"Reveal",(function(){return V})),n.d(t,"useAnimation",(function(){return q}));var r,o=n(0),i=n(1),a=n(2),c=n(3),l=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},u=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},s={"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"},f=(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)}),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)},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},v=s,m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(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,l=t.enter,u=t.exit,s=t.transitionName,f=t.transitionEnterDuration,m=t.transitionExitDuration,h=t.className,y=t.onEnter,g=t.onEntering,b=t.onEntered,O=t.onExit,x=t.onExiting,k=t.onExited,E=t.onAfterExited,C=t.mountOnEnter,w=t.unmountOnExit,D=t.animationEnteringStyle,P=t.animationEnteredStyle,_=t.animationExitingStyle,N=t.animationExitedStyle,S=d(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","onAfterExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),j=Object(a.classNames)(h,v["child-animation-container"]),M=p({transitionDelay:"0ms"},r),R={entering:p({transitionDuration:f+"ms"},D),entered:p({},P),exiting:p({transitionDuration:m+"ms"},_),exited:p({},N)},T={in:this.props.in,appear:i,enter:l,exit:u,mountOnEnter:C,unmountOnExit:w,timeout:{enter:f,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){O&&O.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onExited:function(t){E&&E.call(void 0,{animatedElement:t,target:e}),k&&k.call(void 0,{animatedElement:t,target:e})},classNames:{appear:v[s+"-appear"]||s+"-appear",appearActive:v[s+"-appear-active"]||s+"-appear-active",enter:v[s+"-enter"]||s+"-enter",enterActive:v[s+"-enter-active"]||s+"-enter-active",exit:v[s+"-exit"]||s+"-exit",exitActive:v[s+"-exit-active"]||s+"-exit-active"}};return o.createElement(c.CSSTransition,p({},T,S),(function(t){return o.createElement("div",{style:p({},M,R[t]),className:j,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,onAfterExited:a.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t}(o.Component),h={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1639473694,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},y=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)}}(),g=function(){return(g=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},O=s,x=function(e){function t(t){var n=e.call(this,t)||this;return Object(a.validatePackage)(h),n}return y(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,r=e.children,i=e.component,l=e.className,u=e.childFactory,s=(e.stackChildren,e.componentChildStyle),f=e.componentChildClassName,p=b(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),d={id:t,style:n,component:i,childFactory:u,className:Object(a.classNames)(O["animation-container"],O["animation-container-relative"],l)},v=o.Children.map(r||null,(function(e){return o.createElement(m,g({},p,{style:s,className:f}),e)}));return o.createElement(c.TransitionGroup,g({},d),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),k=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)}}(),E=function(){return(E=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)},C=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 k(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=C(e,["children"]);return o.createElement(x,E({},{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),D=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)},_=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 D(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=_(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),S=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)}}(),j=function(){return(j=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},R={position:"absolute",top:"0",left:"0"},T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=M(e,["children","direction"]);return o.createElement(x,j({},r,{transitionName:"push-"+n,animationExitingStyle:this.props.stackChildren?R: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),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)}}(),I=function(){return(I=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},z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return L(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,I({},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),U=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},F={position:"absolute",top:"0",left:"0"},K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return U(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?F: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)}}(),X=function(){return(X=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)},Y=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=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,r=n.onEnter,o=n.onBeforeEnter;o&&o.call(void 0,e),t.updateContainerDimensions(e.animatedElement,(function(){r&&r.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=l(r),i=u(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=Y(t,["direction","children","childFactory"]),c=this.state,l=c.maxHeight,u=c.maxWidth,s={maxHeight:(e="vertical"===n?{maxHeight:l?l+"px":null}:{maxWidth:u?u+"px":null}).maxHeight,maxWidth:e.maxWidth};return o.createElement(x,X({},a,{childFactory:function(t){var n=i?i(t):t;return n.props.in?n:o.cloneElement(n,X({},n.props,{style:X({},n.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:s,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),q=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(c){t||(t=c);var l=(c-t+1)/r+o;l<=1?(e.onUpdate&&e.onUpdate(l),i.current=window.requestAnimationFrame(a),n.current=l):(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}),[])}}])}));
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-progressbars',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1638443507,
8
+ publishDate: 1639474227,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
11
11
  };
@@ -7,7 +7,7 @@ exports.packageMetadata = {
7
7
  name: '@progress/kendo-react-progressbars',
8
8
  productName: 'KendoReact',
9
9
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
10
- publishDate: 1638443507,
10
+ publishDate: 1639474227,
11
11
  version: '',
12
12
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
13
13
  };
@@ -1 +1 @@
1
- System.register("@progress/kendo-react-progressbars",["react","prop-types","@progress/kendo-react-common","@progress/kendo-react-animation"],function(s){var o,u,l,i;function r(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=r(e)},function(e){u=r(e)},function(e){l=r(e)},function(e){i=r(e)}],execute:function(){function n(e){if(a[e])return a[e].exports;var r=a[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,n),r.l=!0,r.exports}var t,a;a={},n.m=t=[function(e,r){e.exports=l},function(e,r){e.exports=o},function(e,r){e.exports=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=t(4);r.truncateNumber=function(e){e=e.toString().split(".");return 1===e.length?""+e[0]:e[0]+"."+e[1].substr(0,a.LABEL_DECIMALS)},r.calculatePercentage=function(e,r,t){r=Math.abs((r-e)/100);return Math.abs((t-e)/r)},r.updateProgress=function(e,r,t,a){var n=Math.max(t,.01),t=100/n*100;e.current&&r.current&&(e.current.style.width=a?"100%":n+"%",r.current.style.width=a?"100%":t+"%",e.current.style.height=a?n+"%":"100%",r.current.style.height=a?t+"%":"100%")},r.calculateRatio=function(e,r,t){return Math.max((t-e)/(r-e),a.MIN_RATIO)}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.MIN_RATIO=1e-5,r.LABEL_DECIMALS=3,r.DEFAULT_ANIMATION_DURATION=400,r.NO_ANIMATION=0},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.packageMetadata={name:"@progress/kendo-react-progressbars",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1638443507,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},function(e,t,r){"use strict";function a(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),a(r(7)),a(r(8)),function(e){for(var r in e)s(r,e[r])}(t)},function(e,r,t){"use strict";var k=this&&this.__assign||function(){return(k=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e}).apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0});var N=t(1),a=t(2),h=t(0),P=t(3),_=t(0),O=t(5);r.ChunkProgressBar=N.forwardRef(function(e,r){_.validatePackage(O.packageMetadata);var t=e.chunkCount,a=void 0===t?x.chunkCount:t,n=e.className,s=e.disabled,o=e.orientation,u=e.min,c=void 0===u?x.min:u,t=e.max,d=void 0===t?x.max:t,u=e.reverse,p=void 0===u?x.reverse:u,t=e.style,u=e.tabIndex,m=e.emptyStyle,f=e.emptyClassName,b=e.progressStyle,v=e.progressClassName,l=N.useRef(null),i=N.useCallback(function(){l.current&&l.current.focus()},[]);N.useImperativeHandle(r,function(){return{element:l.current,focus:i}});var g=e.value||x.value,r=null===e.value,e=h.useRtl(l,e.dir),y="vertical"===o,t={className:h.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!y,"k-progressbar-vertical":y,"k-progressbar-reverse":p,"k-progressbar-indeterminate":r,"k-state-disabled":s},n),ref:l,dir:e,tabIndex:h.getTabIndex(u,s),role:"progressbar","aria-valuemin":c,"aria-valuemax":d,"aria-valuenow":r?void 0:g,"aria-disabled":s,style:t};return N.createElement("div",k({},t),N.createElement("ul",{className:"k-reset"},N.createElement(function(e){for(var r=e.count,t=[],a=100/r+"%",e=P.calculateRatio(c,d,g),n=Math.floor(e*r),s=Array(r).fill(!1),e=y&&!p||!y&&p,o=0;o<n;o++)s[o]=!0;for(e&&s.reverse(),o=0;o<r;++o){var u=s[o],l=u?v:f,i=k({},{width:y?void 0:a,height:y?a:void 0},u?b:m);t.push(N.createElement("li",{key:o,className:h.classNames("k-item",{"k-first":0===o,"k-last":o===r-1,"k-state-selected":u},l),style:i}))}return N.createElement(N.Fragment,null,t)},{count:a||x.chunkCount})))});var x={chunkCount:5,min:0,max:100,value:0,disabled:!(r.ChunkProgressBar.propTypes={chunkCount:a.number,disabled:a.bool,reverse:a.bool,max:a.number,min:a.number,value:a.number,tabIndex:a.number,emptyStyle:a.object,emptyClassName:a.string,progressStyle:a.object,progressClassName:a.string}),reverse:!1};r.ChunkProgressBar.defaultProps=x,r.ChunkProgressBar.displayName="KendoChunkProgressBar"},function(e,r,t){"use strict";var x=this&&this.__assign||function(){return(x=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e}).apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0});var C=t(1),a=t(2),I=t(9),M=t(0),E=t(3),j=t(10),A=t(4),S=t(0),w=t(5);r.ProgressBar=C.forwardRef(function(e,r){S.validatePackage(w.packageMetadata);var t=e.animation,a=e.disabled,n=e.reverse,s=void 0===n?T.reverse:n,o=e.orientation,u=e.labelVisible,l=e.labelPlacement,i=e.max,c=void 0===i?T.max:i,d=e.min,p=void 0===d?T.min:d,m=e.tabIndex,f=e.className,b=e.style,v=e.emptyStyle,g=e.emptyClassName,n=e.progressStyle,i=e.progressClassName,y=C.useRef(null),k=C.useRef(null),N=C.useRef(null),h=C.useCallback(function(){y.current&&y.current.focus()},[]);C.useImperativeHandle(r,function(){return{element:y.current,progressStatusElement:k.current,progressStatusWrapElement:N.current,focus:h}});var P=e.value||T.value,_=j.usePrevious(P),d=null===e.value,r=M.useRtl(y,e.dir),O="vertical"===o,o=E.truncateNumber(P),o=u?e.label?C.createElement("span",{className:"k-progress-status"},C.createElement(e.label,x({},{value:P}))):C.createElement("span",{className:"k-progress-status"},o):void 0,m={className:M.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!O,"k-progressbar-vertical":O,"k-progressbar-reverse":s,"k-progressbar-indeterminate":d,"k-state-disabled":a},f),ref:y,dir:r,tabIndex:M.getTabIndex(m,a),role:"progressbar","aria-valuemin":p,"aria-valuemax":c,"aria-valuenow":d?void 0:P,"aria-disabled":a,style:b},d=M.classNames("k-progress-status-wrap",{"k-progress-start":"start"===l,"k-progress-center":"center"===l,"k-progress-end":"end"===l||void 0===l}),a="boolean"!=typeof t&&void 0!==t?t.duration:t?A.DEFAULT_ANIMATION_DURATION:A.NO_ANIMATION,b=C.useCallback(function(){var e=E.calculatePercentage(p,c,_);E.updateProgress(k,N,e,O)},[O,c,p,_]),l=C.useCallback(function(e){e=E.calculatePercentage(p,c,_+(P-_)*e);E.updateProgress(k,N,e,O)},[p,c,_,P,O]),t=C.useCallback(function(){var e=E.calculatePercentage(p,c,P);E.updateProgress(k,N,e,O)},[O,c,p,P]);return I.useAnimation({duration:a,onStart:b,onUpdate:l,onEnd:t},[P,a]),C.createElement("div",x({},m),C.createElement("span",{className:d+(g?" "+g:""),style:v},o),C.createElement("div",{className:"k-state-selected",style:n,ref:k},C.createElement("span",{className:d+(i?" "+i:""),ref:N},o)))});var T={animation:!(r.ProgressBar.propTypes={animation:a.any,disabled:a.bool,reverse:a.bool,label:a.any,labelVisible:a.bool,labelPlacement:a.oneOf(["start","center","end"]),max:a.number,min:a.number,value:a.number,tabIndex:a.number,emptyStyle:a.object,emptyClassName:a.string,progressStyle:a.object,progressClassName:a.string}),min:0,max:100,value:0,disabled:!1,reverse:!1,labelVisible:!0};r.ProgressBar.defaultProps=T,r.ProgressBar.displayName="KendoProgressBar"},function(e,r){e.exports=i},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=t(1);r.usePrevious=function(e){var r=a.useRef();return a.useEffect(function(){r.current=e}),r.current}}],n.c=a,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},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(r,e){if(1&e&&(r=n(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var a in r)n.d(t,a,function(e){return r[e]}.bind(null,a));return t},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="",n(n.s=6)}}});
1
+ System.register("@progress/kendo-react-progressbars",["react","prop-types","@progress/kendo-react-common","@progress/kendo-react-animation"],function(s){var o,u,l,i;function r(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=r(e)},function(e){u=r(e)},function(e){l=r(e)},function(e){i=r(e)}],execute:function(){function n(e){if(a[e])return a[e].exports;var r=a[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,n),r.l=!0,r.exports}var t,a;a={},n.m=t=[function(e,r){e.exports=l},function(e,r){e.exports=o},function(e,r){e.exports=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=t(4);r.truncateNumber=function(e){e=e.toString().split(".");return 1===e.length?""+e[0]:e[0]+"."+e[1].substr(0,a.LABEL_DECIMALS)},r.calculatePercentage=function(e,r,t){r=Math.abs((r-e)/100);return Math.abs((t-e)/r)},r.updateProgress=function(e,r,t,a){var n=Math.max(t,.01),t=100/n*100;e.current&&r.current&&(e.current.style.width=a?"100%":n+"%",r.current.style.width=a?"100%":t+"%",e.current.style.height=a?n+"%":"100%",r.current.style.height=a?t+"%":"100%")},r.calculateRatio=function(e,r,t){return Math.max((t-e)/(r-e),a.MIN_RATIO)}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.MIN_RATIO=1e-5,r.LABEL_DECIMALS=3,r.DEFAULT_ANIMATION_DURATION=400,r.NO_ANIMATION=0},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.packageMetadata={name:"@progress/kendo-react-progressbars",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1639474227,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},function(e,t,r){"use strict";function a(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),a(r(7)),a(r(8)),function(e){for(var r in e)s(r,e[r])}(t)},function(e,r,t){"use strict";var k=this&&this.__assign||function(){return(k=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e}).apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0});var N=t(1),a=t(2),h=t(0),P=t(3),_=t(0),O=t(5);r.ChunkProgressBar=N.forwardRef(function(e,r){_.validatePackage(O.packageMetadata);var t=e.chunkCount,a=void 0===t?x.chunkCount:t,n=e.className,s=e.disabled,o=e.orientation,u=e.min,c=void 0===u?x.min:u,t=e.max,d=void 0===t?x.max:t,u=e.reverse,p=void 0===u?x.reverse:u,t=e.style,u=e.tabIndex,m=e.emptyStyle,f=e.emptyClassName,b=e.progressStyle,v=e.progressClassName,l=N.useRef(null),i=N.useCallback(function(){l.current&&l.current.focus()},[]);N.useImperativeHandle(r,function(){return{element:l.current,focus:i}});var g=e.value||x.value,r=null===e.value,e=h.useRtl(l,e.dir),y="vertical"===o,t={className:h.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!y,"k-progressbar-vertical":y,"k-progressbar-reverse":p,"k-progressbar-indeterminate":r,"k-state-disabled":s},n),ref:l,dir:e,tabIndex:h.getTabIndex(u,s),role:"progressbar","aria-valuemin":c,"aria-valuemax":d,"aria-valuenow":r?void 0:g,"aria-disabled":s,style:t};return N.createElement("div",k({},t),N.createElement("ul",{className:"k-reset"},N.createElement(function(e){for(var r=e.count,t=[],a=100/r+"%",e=P.calculateRatio(c,d,g),n=Math.floor(e*r),s=Array(r).fill(!1),e=y&&!p||!y&&p,o=0;o<n;o++)s[o]=!0;for(e&&s.reverse(),o=0;o<r;++o){var u=s[o],l=u?v:f,i=k({},{width:y?void 0:a,height:y?a:void 0},u?b:m);t.push(N.createElement("li",{key:o,className:h.classNames("k-item",{"k-first":0===o,"k-last":o===r-1,"k-state-selected":u},l),style:i}))}return N.createElement(N.Fragment,null,t)},{count:a||x.chunkCount})))});var x={chunkCount:5,min:0,max:100,value:0,disabled:!(r.ChunkProgressBar.propTypes={chunkCount:a.number,disabled:a.bool,reverse:a.bool,max:a.number,min:a.number,value:a.number,tabIndex:a.number,emptyStyle:a.object,emptyClassName:a.string,progressStyle:a.object,progressClassName:a.string}),reverse:!1};r.ChunkProgressBar.defaultProps=x,r.ChunkProgressBar.displayName="KendoChunkProgressBar"},function(e,r,t){"use strict";var x=this&&this.__assign||function(){return(x=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e}).apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0});var C=t(1),a=t(2),I=t(9),M=t(0),E=t(3),j=t(10),A=t(4),S=t(0),w=t(5);r.ProgressBar=C.forwardRef(function(e,r){S.validatePackage(w.packageMetadata);var t=e.animation,a=e.disabled,n=e.reverse,s=void 0===n?T.reverse:n,o=e.orientation,u=e.labelVisible,l=e.labelPlacement,i=e.max,c=void 0===i?T.max:i,d=e.min,p=void 0===d?T.min:d,m=e.tabIndex,f=e.className,b=e.style,v=e.emptyStyle,g=e.emptyClassName,n=e.progressStyle,i=e.progressClassName,y=C.useRef(null),k=C.useRef(null),N=C.useRef(null),h=C.useCallback(function(){y.current&&y.current.focus()},[]);C.useImperativeHandle(r,function(){return{element:y.current,progressStatusElement:k.current,progressStatusWrapElement:N.current,focus:h}});var P=e.value||T.value,_=j.usePrevious(P),d=null===e.value,r=M.useRtl(y,e.dir),O="vertical"===o,o=E.truncateNumber(P),o=u?e.label?C.createElement("span",{className:"k-progress-status"},C.createElement(e.label,x({},{value:P}))):C.createElement("span",{className:"k-progress-status"},o):void 0,m={className:M.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!O,"k-progressbar-vertical":O,"k-progressbar-reverse":s,"k-progressbar-indeterminate":d,"k-state-disabled":a},f),ref:y,dir:r,tabIndex:M.getTabIndex(m,a),role:"progressbar","aria-valuemin":p,"aria-valuemax":c,"aria-valuenow":d?void 0:P,"aria-disabled":a,style:b},d=M.classNames("k-progress-status-wrap",{"k-progress-start":"start"===l,"k-progress-center":"center"===l,"k-progress-end":"end"===l||void 0===l}),a="boolean"!=typeof t&&void 0!==t?t.duration:t?A.DEFAULT_ANIMATION_DURATION:A.NO_ANIMATION,b=C.useCallback(function(){var e=E.calculatePercentage(p,c,_);E.updateProgress(k,N,e,O)},[O,c,p,_]),l=C.useCallback(function(e){e=E.calculatePercentage(p,c,_+(P-_)*e);E.updateProgress(k,N,e,O)},[p,c,_,P,O]),t=C.useCallback(function(){var e=E.calculatePercentage(p,c,P);E.updateProgress(k,N,e,O)},[O,c,p,P]);return I.useAnimation({duration:a,onStart:b,onUpdate:l,onEnd:t},[P,a]),C.createElement("div",x({},m),C.createElement("span",{className:d+(g?" "+g:""),style:v},o),C.createElement("div",{className:"k-state-selected",style:n,ref:k},C.createElement("span",{className:d+(i?" "+i:""),ref:N},o)))});var T={animation:!(r.ProgressBar.propTypes={animation:a.any,disabled:a.bool,reverse:a.bool,label:a.any,labelVisible:a.bool,labelPlacement:a.oneOf(["start","center","end"]),max:a.number,min:a.number,value:a.number,tabIndex:a.number,emptyStyle:a.object,emptyClassName:a.string,progressStyle:a.object,progressClassName:a.string}),min:0,max:100,value:0,disabled:!1,reverse:!1,labelVisible:!0};r.ProgressBar.defaultProps=T,r.ProgressBar.displayName="KendoProgressBar"},function(e,r){e.exports=i},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=t(1);r.usePrevious=function(e){var r=a.useRef();return a.useEffect(function(){r.current=e}),r.current}}],n.c=a,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},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(r,e){if(1&e&&(r=n(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var a in r)n.d(t,a,function(e){return r[e]}.bind(null,a));return t},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="",n(n.s=6)}}});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-progressbars",
3
3
  "description": "KendoReact ProgressBars package",
4
- "version": "4.13.0-dev.202112021130",
4
+ "version": "4.13.1-dev.202112140947",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-react.git"
@@ -39,15 +39,15 @@
39
39
  "devDependencies": {
40
40
  "@progress/kendo-drawing": "^1.8.0",
41
41
  "@progress/kendo-licensing": "^1.0.1",
42
- "@progress/kendo-react-animation": "4.13.0-dev.202112021130",
43
- "@progress/kendo-react-buttons": "4.13.0-dev.202112021130",
44
- "@progress/kendo-react-dropdowns": "4.13.0-dev.202112021130",
45
- "@progress/kendo-react-form": "4.13.0-dev.202112021130",
46
- "@progress/kendo-react-inputs": "4.13.0-dev.202112021130",
47
- "@progress/kendo-react-intl": "4.13.0-dev.202112021130"
42
+ "@progress/kendo-react-animation": "4.13.1-dev.202112140947",
43
+ "@progress/kendo-react-buttons": "4.13.1-dev.202112140947",
44
+ "@progress/kendo-react-dropdowns": "4.13.1-dev.202112140947",
45
+ "@progress/kendo-react-form": "4.13.1-dev.202112140947",
46
+ "@progress/kendo-react-inputs": "4.13.1-dev.202112140947",
47
+ "@progress/kendo-react-intl": "4.13.1-dev.202112140947"
48
48
  },
49
49
  "dependencies": {
50
- "@progress/kendo-react-common": "4.13.0-dev.202112021130",
50
+ "@progress/kendo-react-common": "4.13.1-dev.202112140947",
51
51
  "prop-types": "^15.6.0"
52
52
  },
53
53
  "@progress": {