@progress/kendo-react-animation 5.3.0-dev.202205051350 → 5.3.0-dev.202205091336

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("@progress/kendo-licensing"),require("react-transition-group")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-licensing","react-transition-group"],t):"object"==typeof exports?exports.KendoReactAnimation=t(require("react"),require("prop-types"),require("@progress/kendo-licensing"),require("react-transition-group")):e.KendoReactAnimation=t(e.React,e.PropTypes,e.KendoLicensing,e.ReactTransitionGroup)}(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=9)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(3),s=n(7),f=n(8),p=n(3),d=n(10),v=n(4).default.styles,h=function(e){function t(t){var n=e.call(this,t)||this;return p.validatePackage(d.packageMetadata),n}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,r=e.children,o=e.component,l=e.className,p=e.childFactory,d=(e.stackChildren,e.componentChildStyle),h=e.componentChildClassName,m=a(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),y={id:t,style:n,component:o,childFactory:p,className:u.classNames(v["animation-container"],v["animation-container-relative"],l)},g=c.Children.map(r||null,(function(e){return c.createElement(s.AnimationChild,i({},m,{style:d,className:h}),e)}));return c.createElement(f.TransitionGroup,i({},y),g)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,component:l.string,id:l.string,style:l.any,transitionName:l.string.isRequired,appear:l.bool.isRequired,enter:l.bool.isRequired,exit:l.bool.isRequired,transitionEnterDuration:l.number.isRequired,transitionExitDuration:l.number.isRequired},t.defaultProps={component:"div"},t}(c.Component);t.Animation=h},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 h})),n.d(t,"focusFirstFocusableChild",(function(){return m})),n.d(t,"FormComponent",(function(){return y})),n.d(t,"getTabIndex",(function(){return g})),n.d(t,"getter",(function(){return E})),n.d(t,"guid",(function(){return k})),n.d(t,"Keys",(function(){return C})),n.d(t,"noop",(function(){return w})),n.d(t,"getScrollbarWidth",(function(){return _})),n.d(t,"setScrollbarWidth",(function(){return D})),n.d(t,"setter",(function(){return S})),n.d(t,"mapTree",(function(){return N})),n.d(t,"mapTreeItem",(function(){return T})),n.d(t,"extendDataItem",(function(){return L})),n.d(t,"getItemPath",(function(){return A})),n.d(t,"validatePackage",(function(){return I})),n.d(t,"hasRelativeStackingContext",(function(){return H})),n.d(t,"dispatchEvent",(function(){return U})),n.d(t,"AsyncFocusBlur",(function(){return K})),n.d(t,"createPropsContext",(function(){return B})),n.d(t,"withPropsContext",(function(){return q})),n.d(t,"useDir",(function(){return V})),n.d(t,"useAsyncFocusBlur",(function(){return F})),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 X})),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 be})),n.d(t,"DragAndDrop",(function(){return Pe})),n.d(t,"Draggable",(function(){return Fe})),n.d(t,"Droppable",(function(){return Ke})),n.d(t,"useDraggable",(function(){return Ue})),n.d(t,"useDroppable",(function(){return We})),n.d(t,"kendoThemeMaps",(function(){return Xe}));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];var n={},r=function(e){return"object"==typeof e?Object.keys(e).forEach((function(t){n[t]=e[t]})):n[e]=!0},o=function(e){return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?o(e):r(e)}))};return o(e),Object.keys(n).map((function(e){return n[e]&&e||null})).filter((function(e){return null!==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 h(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 h(e){return e.map((function(e){return v(e,void 0)}))}var m=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},O=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function x(e){var t=[];return e.replace(O,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}var b={};function E(e){if(b[e])return b[e];var t=x(e);return b[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},b[e]}b.undefined=function(){};var k=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(){},_=function(){return!(!l||!document.body)&&(new c).scrollbarWidth},D=function(){if(!l||!document.body)return!1;var e=(new c).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",e+"px")},P={undefined:function(e){return e}},j=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function S(e){if(P[e])return P[e];var t=x(e);return P[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]]||j(t[a+1],r);o[t[i]]=n},P[e]}var M=function(){return(M=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function R(e,t,n){var r;return n?M({},e,((r={})[t]=n.length?n.slice():void 0,r)):e&&e[t]?e[t].slice():[]}var N=function(e,t,n){return e.map((function(e){return function e(t,n,r){if(t[n]){var o=R(t,n).map((function(t){return e(t,n,r)}));return r(R(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||{})},A=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},z=n(5);function I(e){if(void 0!==z)z.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 H=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 U(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}function F(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 W=function(){return(W=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},K=function(e){var t=e.children,n=F({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return t.call(void 0,W({},n))},X=function(e,t){return r.useContext(e)(t)},Y=function(){return(Y=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},B=function(){return r.createContext((function(e){return e}))},q=function(e,t){return r.forwardRef((function(n,o){var i=X(e,n);return r.createElement(t,Y({},i,{ref:o}))}))};function V(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]),h=r.useMemo((function(){return c||ie.flip}),[c]),m=r.useMemo((function(){return s("k-icon","k-i-"+o,"k-color-"+d,{"k-flip-h":"horizontal"===h||"both"===h,"k-flip-v":"vertical"===h||"both"===h},te[v],n)}),[o,d,v,h,n]),y=$(e,f);return r.createElement("span",ne({ref:p},u,y,{className:m,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"]),h=r.useRef(null);r.useImperativeHandle(t,(function(){return{element:h.current}}));var m=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]),O=r.useMemo((function(){return c||ue.flip}),[c]),x=r.useMemo((function(){return d||ue.viewBox}),[d]),b=r.useMemo((function(){return s("k-svg-icon","k-color-"+y,"k-svg-i-"+m,{"k-flip-h":"horizontal"===O||"both"===O,"k-flip-v":"vertical"===O||"both"===O},te[g],o)}),[m,y,g,O,o]),E=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:b,style:E,ref:h},r.createElement("svg",ae({className:i,style:f,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:a?a.viewBox:x,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={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},fe={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},pe={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"},de={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},ve={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"},me={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},ye={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"},ge=function(){return(ge=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.id,i=t.style,a=t.className,c=t.fontSize,l=t.fontWeight,u=t.textAlign,s=t.textTransform,f=t.themeColor,p=t.margin,d=Oe(t,["id","style","className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),v=r.useRef(null),h=r.useRef(null);r.useImperativeHandle(v,(function(){return{element:h.current,props:t}})),r.useImperativeHandle(n,(function(){return v.current}));var m=e,y=function(){if(void 0!==p){if("string"==typeof p)return[pe[p]];if("number"==typeof p&&p>=0&&p<=24)return["k-m-"+p];if("object"==typeof p){var e=[];return Object.keys(p).forEach((function(t){var n,r;null!==p[t]&&void 0!==p[t]&&e.push((n=t,r=p[t],""+ve[n]+("string"==typeof r?de[r]:r)))})),e.join(" ")}}};return r.createElement(m,ge({id:o,ref:h,className:["k-"+("p"===e?"paragraph":e),se[c],fe[l],he[u],me[s],ye[f],y(),a].filter((function(e){return void 0!==e})).join(" "),style:i},d),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},be={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(){return(Ee=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)},ke=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,Ee({},t,{value:e}))}),[n,a])]},Ce=r.createContext([void 0,w]),we=r.createContext([void 0,w]),_e=r.createContext([[],w,w]),De=r.createContext([[],w,w]),Pe=function(e){var t=ke(null,void 0),n=t[0],o=t[1],i=ke(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(Ce.Provider,{value:[n,o]},r.createElement(we.Provider,{value:[a,c]},r.createElement(_e.Provider,{value:[u,function(e){s({type:Z.add,item:e})},function(e){s({type:Z.remove,item:e})}]},r.createElement(De.Provider,{value:[p,function(e){d({type:Z.add,item:e})},function(e){d({type:Z.remove,item:e})}]},e.children))))};Pe.displayName="KendoReactDragAndDrop";var je,Se=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},Me=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},Re=function(e){return e&&e.ownerDocument||window.document},Ne=function(e){var t=Me(),n=Re(e);return t.edge||t.safari?n.body:n.documentElement},Te=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},Le=function(e){var t=Ne(e);if(!e||e===document.body||e===document.documentElement)return t;for(var n=e;n&&n!==document.body&&n.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&!Te(n);)n=n.parentNode;return n===document.body||n.nodeType===Node.DOCUMENT_FRAGMENT_NODE?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"}(je||(je={}));var Ae=function(){},ze=function(e,t,n){void 0===n&&(n={});var r,o,i,a,c=n.onIsPressedChange,l=void 0===c?Ae:c,u=n.onIsScrollingChange,s=void 0===u?Ae:u,f=n.onVelocityChange,p=void 0===f?Ae:f,d=n.onOffsetChange,v=void 0===d?Ae:d,h=n.onPageOffsetChange,m=void 0===h?Ae:h,y=n.onClientOffsetChange,g=void 0===y?Ae:y,O=n.onScrollOffsetChange,x=void 0===O?Ae:O,b=n.onInitialScrollOffsetChange,E=void 0===b?Ae:b,k=t.payload,C=k.element,w=k.hint,_=e.autoScrollDirection,D=e.scrollableParent,P=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(P.type){case je.POINTER_DOWN:if(P.type===je.POINTER_DOWN&&(!P.originalEvent.isPrimary||0!==P.originalEvent.button))break;case je.MOUSE_DOWN:if(P.type===je.MOUSE_DOWN&&P.originalEvent.which&&P.originalEvent.which>1||e.ignoreMouse)break;case je.TOUCH_START:if(P.type===je.TOUCH_START&&1!==P.originalEvent.touches.length)break;case je.START:var j=D||Le(t.payload.element);E(j instanceof Window?{x:j.scrollX,y:j.scrollY}:{x:j.scrollLeft,y:j.scrollTop}),g({x:P.clientX,y:P.clientY}),m({x:P.pageX,y:P.pageY}),v({x:P.offsetX,y:P.offsetY}),l(!0),k.onPress&&k.onPress(P);break;case je.SCROLL:if(P.type===je.SCROLL&&!e.pressed)break;var S=D||Le(C),M=S instanceof Window?{x:S.scrollX,y:S.scrollY}:{x:S.scrollLeft,y:S.scrollTop};P.scrollX=M.x-e.initialScrollOffset.x,P.scrollY=M.y-e.initialScrollOffset.y,x({x:P.scrollX,y:P.scrollY});case je.POINTER_MOVE:if(P.type===je.POINTER_MOVE&&!P.originalEvent.isPrimary)break;case je.MOUSE_MOVE:case je.TOUCH_MOVE:if(P.type===je.TOUCH_MOVE&&1!==P.originalEvent.touches.length)break;case je.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==P.originalEvent.type&&C){var R=Re(C),N=D||Le(R.elementFromPoint(P.clientX,P.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}(P.pageX,P.pageY,function(e,t){var n=Ne(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}}(N,function(e){var t=Re(e);return t&&t.defaultView||window}(C)));p({x:_&&!1===_.horizontal?0:T.x,y:_&&!1===_.vertical?0:T.y}),s(0!==T.y||0!==T.x)}!e.drag&&k.onDragStart&&k.onDragStart(P),k.onDrag&&k.onDrag(P);var L=Se(w||C,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(w||C)}))),A=e.drops.find((function(e){return e.element===L}));A&&L&&(r=P.clientX,o=P.clientY,i=D||Le(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(P),A.onDragEnter&&A.onDragEnter(P)):A.onDragOver&&A.onDragOver(P):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(P)}g({x:P.clientX,y:P.clientY}),m({x:P.pageX,y:P.pageY});break;case je.POINTER_UP:if(P.type===je.POINTER_UP&&!P.originalEvent.isPrimary)break;case je.MOUSE_UP:case je.TOUCH_END:if(P.type===je.TOUCH_END&&1!==P.originalEvent.touches.length)break;case je.END:l(!1),s(!1),k.onRelease&&k.onRelease(P),e.drop&&e.drop.onDrop&&e.drop.onDrop(P),k.onDragEnd&&k.onDragEnd(P);break;case je.POINTER_CANCEL:case je.CONTEXT_MENU:case je.TOUCH_CANCEL:case je.CANCEL:l(!1),s(!1),k.onDragEnd&&k.onDragEnd(P),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(P)}},Ie=function(e,t){if(e){var n,r;e===Ne(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)}},He=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])}]};function Ue(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,h=void 0===v?null:v,m=n.mouseOnly,y=void 0!==m&&m,g=n.autoScroll,O=void 0===g||g,x=n.scrollContainer,b=void 0===x?null:x,E=r.useState(!1),k=E[0],C=E[1],_=r.useState(!1),D=_[0],P=_[1],j=He(we)[0],S=He(Ce),M=S[0],R=S[1],N=r.useContext(De)[0],T=r.useContext(_e),L=T[0],A=T[1],z=T[2],I=r.useRef({x:0,y:0}),H=r.useRef(),U=r.useRef(!1),F=r.useRef(),W=r.useRef(null),K=r.useRef(!1),X=r.useRef({x:0,y:0}),Y=r.useRef({x:0,y:0}),B=r.useRef({x:0,y:0}),q=r.useRef({x:0,y:0}),V=r.useRef({x:0,y:0}),G=r.useRef({x:0,y:0}),Z=Boolean("undefined"!=typeof window&&window.PointerEvent),$=!y&&Z,J=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),Q=r.useCallback((function(){return h&&h.current&&h.current.element?h.current.element:h?h.current:null}),[h]),ee=r.useCallback((function(){return b&&b.current&&b.current.element?b.current.element:b?b.current:null}),[b]),te=r.useCallback((function(){return"object"==typeof O&&O.boundaryElementRef&&O.boundaryElementRef.current&&O.boundaryElementRef.current.element?O.boundaryElementRef.current.element:"object"==typeof O&&O.boundaryElementRef&&O.boundaryElementRef.current?O.boundaryElementRef.current:null}),[O]),ne=r.useRef(null);r.useImperativeHandle(ne,(function(){return{element:J(),hint:Q(),onPress:he,onDragStart:ye,onDrag:ge,onDragEnd:Oe,onRelease:me,data:e.current}}));var re=r.useCallback((function(){var e=J();return e&&e.ownerDocument||document}),[J]),oe=r.useCallback((function(){var e=re();return e&&e.defaultView||window}),[re]),ie=r.useCallback((function(){return{drag:M?M.current:null,drop:j?j.current:null,drags:L.map((function(e){return e.current})),drops:N.map((function(e){return e.current})),pressed:k,ignoreMouse:U.current,scrollOffset:V.current,offset:X.current,pageOffset:Y.current,initialScrollOffset:G.current,clientOffset:B.current,initialClientOffset:q.current,velocity:I.current,autoScroll:Boolean("object"==typeof O?!1!==O.enabled:O),scrollableParent:te(),autoScrollDirection:"object"==typeof O?O.direction:{horizontal:!0,vertical:!0},isScrolling:D}}),[M,j,L,N,k,O,te,D]),ae=r.useCallback((function(e){C(e)}),[]),ce=r.useCallback((function(e){P(e)}),[]),le=r.useCallback((function(e){I.current=e}),[]),ue=r.useCallback((function(e){X.current=e}),[]),se=r.useCallback((function(e){B.current=e}),[]),fe=r.useCallback((function(e){Y.current=e}),[]),pe=r.useCallback((function(e){q.current=e}),[]),de=r.useCallback((function(e){V.current=e}),[]),ve=r.useCallback((function(e){G.current=e}),[]),he=r.useCallback((function(e){i(e)}),[i]),me=r.useCallback((function(e){c(e)}),[c]),ye=r.useCallback((function(t){R(ne,{target:e.current,event:t}),u(t)}),[R,e,u]),ge=r.useCallback((function(e){f(e)}),[f]),Oe=r.useCallback((function(t){K.current||(R(null,{target:e.current,event:t}),d(t))}),[d,R,e]),xe=r.useCallback((function(e){ze(ie(),{event:e,payload:ne.current},{onVelocityChange:le,onOffsetChange:ue,onClientOffsetChange:se,onPageOffsetChange:fe,onInitialClientOffsetChange:pe,onScrollOffsetChange:de,onInitialScrollOffsetChange:ve,onIsPressedChange:ae,onIsScrollingChange:ce})}),[ie,le,ue,fe,se,pe,ve,ae,de,ce]),be=r.useCallback((function(e){xe(e)}),[xe]),Ee=r.useCallback((function(e){xe(e)}),[xe]),ke=r.useCallback((function(e){xe(e)}),[xe]),Pe=r.useCallback((function(e){xe(e)}),[xe]),je=r.useCallback((function(e){xe(e)}),[xe]),Se=r.useCallback((function(e){xe(e)}),[xe]),Me=r.useCallback((function(e){xe(e)}),[xe]),Re=r.useCallback((function(e){e.preventDefault(),xe(e)}),[xe]),Ne=r.useCallback((function(e){e.preventDefault(),xe(e)}),[xe]),Te=r.useCallback((function(e){e.preventDefault(),xe(e)}),[xe]),Ae=r.useCallback((function(e){if(0===e.touches.length&&1===e.changedTouches.length){var t=oe();U.current=!0,F.current=t.setTimeout((function(){U.current=!1}),2e3)}xe(e)}),[xe,oe]),Ue=r.useCallback((function(e){xe(e)}),[xe]),Fe=r.useCallback((function(){var e=J();if(e){var t=e.style.touchAction;return e.style.touchAction="none",function(){e.style.touchAction=t}}}),[J]),We=r.useCallback((function(){return A(ne),function(){z(ne)}}),[z,A]);r.useEffect((function(){var e=oe();if(D){var t=ee()||Le(document.elementFromPoint(B.current.x,B.current.y));e.clearInterval(H.current),H.current=e.setInterval((function(){Ie(t,{x:I.current.x,y:I.current.y})}),50)}return function(){e.clearInterval(H.current)}}),[J,ee,oe,D]),r.useEffect(Fe,[Fe]),r.useEffect((function(){var e=oe(),t=J(),n=re();return $?(t&&(W.current=Le(t),W.current&&W.current.addEventListener("scroll",Ue,{passive:!0}),t.addEventListener("pointerdown",be,{passive:!0})),k&&(n.addEventListener("pointermove",Ee),n.addEventListener("pointerup",Pe,!0),n.addEventListener("contextmenu",Re),n.addEventListener("pointercancel",ke,{passive:!0}))):(e.addEventListener("touchmove",w,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",je,{passive:!0}),y||(t.addEventListener("touchstart",Ne,{passive:!0}),k&&(t.addEventListener("touchmove",Te,{passive:!0}),t.addEventListener("touchend",Ae,{passive:!0})))),k&&(n.addEventListener("mousemove",Se,{passive:!0}),n.addEventListener("mouseup",Me,{passive:!0}))),function(){W.current&&W.current.removeEventListener("scroll",Ue),t&&(t.removeEventListener("pointerdown",be),t.removeEventListener("mousedown",je),t.removeEventListener("touchstart",Ne),t.removeEventListener("touchmove",Te),t.removeEventListener("touchend",Ae)),n.removeEventListener("pointermove",Ee),n.removeEventListener("pointerup",Pe,!0),n.removeEventListener("contextmenu",Re),n.removeEventListener("pointercancel",ke),n.removeEventListener("mousemove",Se),n.removeEventListener("mouseup",Me),e.removeEventListener("touchmove",w),e.clearTimeout(F.current)}}),[k,oe,J,re,y,$,Re,je,Se,Me,ke,be,Ee,Pe,Ae,Te,Ne,Ue]),r.useEffect((function(){return function(){K.current=!0}}),[]),r.useLayoutEffect(We,[We])}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 Ue(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}));function We(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=He(we)[1],p=r.useContext(De),d=p[1],v=p[2],h=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),m=r.useRef(null);r.useImperativeHandle(m,(function(){return{element:h(),onDragEnter:y,onDragOver:g,onDragLeave:O,onDrop:x,data:e.current}}));var y=r.useCallback((function(t){f(m,{target:e.current,event:t}),o(t)}),[f,e,o]),g=r.useCallback((function(e){a(e)}),[a]),O=r.useCallback((function(t){f(null,{target:e.current,event:t}),l(t)}),[f,e,l]),x=r.useCallback((function(t){f(null,{target:e.current,event:t}),s(t)}),[f,e,s]),b=r.useCallback((function(){return d(m),function(){v(m)}}),[v,d]);r.useLayoutEffect(b,[b])}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 We(n,{onDragEnter:a,onDragOver:c,onDragLeave:l,onDrop:u}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null}));Ke.displayName="KendoReactDroppable";var Xe={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={outerHeight: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},outerWidth: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},styles:{"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"}}},function(e,t){e.exports=n},,function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(3),s=n(8),f=n(4).default.styles,p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elementRef=c.createRef(),t}return o(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this.elementRef.current},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.style,o=t.appear,l=t.enter,p=t.exit,d=t.transitionName,v=t.transitionEnterDuration,h=t.transitionExitDuration,m=t.className,y=t.onEnter,g=t.onEntering,O=t.onEntered,x=t.onExit,b=t.onExiting,E=t.onExited,k=t.onAfterExited,C=t.mountOnEnter,w=t.unmountOnExit,_=t.animationEnteringStyle,D=t.animationEnteredStyle,P=t.animationExitingStyle,j=t.animationExitedStyle,S=a(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","onAfterExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),M=u.classNames(m,f["child-animation-container"]),R=i({transitionDelay:"0ms"},r),N={entering:i({transitionDuration:v+"ms"},_),entered:i({},D),exiting:i({transitionDuration:h+"ms"},P),exited:i({},j)},T={in:this.props.in,appear:o,enter:l,exit:p,mountOnEnter:C,unmountOnExit:w,timeout:{enter:v,exit:h},onEnter:function(){y&&y.call(void 0,{animatedElement:e.element,target:e})},onEntering:function(){g&&g.call(void 0,{animatedElement:e.element,target:e})},onEntered:function(){O&&O.call(void 0,{animatedElement:e.element,target:e})},onExit:function(){x&&x.call(void 0,{animatedElement:e.element,target:e})},onExiting:function(){b&&b.call(void 0,{animatedElement:e.element,target:e})},onExited:function(){k&&k.call(void 0,{animatedElement:e.element,target:e}),E&&E.call(void 0,{animatedElement:e.element,target:e})},classNames:{appear:f[d+"-appear"]||d+"-appear",appearActive:f[d+"-appear-active"]||d+"-appear-active",enter:f[d+"-enter"]||d+"-enter",enterActive:f[d+"-enter-active"]||d+"-enter-active",exit:f[d+"-exit"]||d+"-exit",exitActive:f[d+"-exit-active"]||d+"-exit-active"}};return c.createElement(s.CSSTransition,i({},T,S,{nodeRef:this.elementRef}),(function(t){return c.createElement("div",{style:i({},R,N[t]),className:M,ref:e.elementRef},n)}))},t.propTypes={in:l.bool,children:l.oneOfType([l.arrayOf(l.node),l.node]),transitionName:l.string.isRequired,className:l.string,appear:l.bool,enter:l.bool,exit:l.bool,transitionEnterDuration:l.number.isRequired,transitionExitDuration:l.number.isRequired,mountOnEnter:l.bool,unmountOnExit:l.bool,animationEnteringStyle:l.object,animationEnteredStyle:l.object,animationExitingStyle:l.object,animationExitedStyle:l.object},t.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:u.noop,onEntering:u.noop,onEntered:u.noop,onExit:u.noop,onExiting:u.noop,onExited:u.noop,onAfterExited:u.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t}(c.Component);t.AnimationChild=p},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);t.Animation=r.Animation;var o=n(7);t.AnimationChild=o.AnimationChild;var i=n(11);t.Fade=i.Fade;var a=n(12);t.Expand=a.Expand;var c=n(13);t.Push=c.Push;var l=n(14);t.Slide=l.Slide;var u=n(15);t.Zoom=u.Zoom;var s=n(16);t.Reveal=s.Reveal;var f=n(17);t.useAnimation=f.useAnimation},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1651757289,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";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(2),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=a(e,["children"]);return c.createElement(u.Animation,i({},{transitionName:"fade"},n),t)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,component:l.string,id:l.string,style:l.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(c.Component);t.Fade=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(2),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=a(e,["direction","children"]),o={transitionName:"expand-"+t};return c.createElement(u.Animation,i({},o,r),n)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,direction:l.oneOf(["horizontal","vertical"]),component:l.string,id:l.string,style:l.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(c.Component);t.Expand=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(2),s={position:"absolute",top:"0",left:"0"},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=a(e,["children","direction"]);return c.createElement(u.Animation,i({},r,{transitionName:"push-"+n,animationExitingStyle:this.props.stackChildren?s:void 0}),t)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,direction:l.oneOf(["up","down","left","right"]),component:l.string,id:l.string,style:l.any,stackChildren:l.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(c.Component);t.Push=f},function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(2),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=a(e,["direction","children"]),o={transitionName:"slide-"+t};return c.createElement(u.Animation,i({},o,r),n)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,direction:l.oneOf(["up","down","left","right"]),component:l.string,id:l.string,style:l.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t}(c.Component);t.Slide=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(2),s={position:"absolute",top:"0",left:"0"},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=a(e,["children","direction"]);return c.createElement(u.Animation,i({},r,{transitionName:"zoom-"+n,animationExitingStyle:this.props.stackChildren?s:void 0}),t)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,direction:l.oneOf(["in","out"]),component:l.string,id:l.string,style:l.any,stackChildren:l.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(c.Component);t.Zoom=f},function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(2),s=n(3),f=n(4),p=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=s.noop);var r=e.firstChild;if(r){var o=f.default.outerHeight(r),i=f.default.outerWidth(r);t.setState({maxHeight:o,maxWidth:i},n)}},t}return o(t,e),t.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.children,o=t.childFactory,l=a(t,["direction","children","childFactory"]),s=this.state,f=s.maxHeight,p=s.maxWidth,d={maxHeight:(e="vertical"===n?{maxHeight:f?f+"px":null}:{maxWidth:p?p+"px":null}).maxHeight,maxWidth:e.maxWidth};return c.createElement(u.Animation,i({},l,{childFactory:function(t){var n=o?o(t):t;return n.props.in?n:c.cloneElement(n,i({},n.props,{style:i({},n.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:d,transitionName:"reveal-"+n}),r)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,direction:l.oneOf(["horizontal","vertical"]),component:l.string,id:l.string,style:l.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(c.Component);t.Reveal=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.useAnimation=function(e,t){var n=r.useRef(0),o=r.useRef(!1),i=r.useRef();r.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),r.useEffect((function(){o.current=!0}),[])}}])}));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types"),require("@progress/kendo-licensing"),require("react-transition-group")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-licensing","react-transition-group"],t):"object"==typeof exports?exports.KendoReactAnimation=t(require("react"),require("prop-types"),require("@progress/kendo-licensing"),require("react-transition-group")):e.KendoReactAnimation=t(e.React,e.PropTypes,e.KendoLicensing,e.ReactTransitionGroup)}(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=9)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(3),s=n(7),f=n(8),p=n(3),d=n(10),v=n(4).default.styles,h=function(e){function t(t){var n=e.call(this,t)||this;return p.validatePackage(d.packageMetadata),n}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,r=e.children,o=e.component,l=e.className,p=e.childFactory,d=(e.stackChildren,e.componentChildStyle),h=e.componentChildClassName,m=a(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),y={id:t,style:n,component:o,childFactory:p,className:u.classNames(v["animation-container"],v["animation-container-relative"],l)},g=c.Children.map(r||null,(function(e){return c.createElement(s.AnimationChild,i({},m,{style:d,className:h}),e)}));return c.createElement(f.TransitionGroup,i({},y),g)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,component:l.string,id:l.string,style:l.any,transitionName:l.string.isRequired,appear:l.bool.isRequired,enter:l.bool.isRequired,exit:l.bool.isRequired,transitionEnterDuration:l.number.isRequired,transitionExitDuration:l.number.isRequired},t.defaultProps={component:"div"},t}(c.Component);t.Animation=h},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 h})),n.d(t,"focusFirstFocusableChild",(function(){return m})),n.d(t,"FormComponent",(function(){return y})),n.d(t,"getTabIndex",(function(){return g})),n.d(t,"getter",(function(){return E})),n.d(t,"guid",(function(){return k})),n.d(t,"Keys",(function(){return C})),n.d(t,"noop",(function(){return w})),n.d(t,"getScrollbarWidth",(function(){return _})),n.d(t,"setScrollbarWidth",(function(){return D})),n.d(t,"setter",(function(){return S})),n.d(t,"mapTree",(function(){return N})),n.d(t,"mapTreeItem",(function(){return T})),n.d(t,"extendDataItem",(function(){return L})),n.d(t,"getItemPath",(function(){return A})),n.d(t,"validatePackage",(function(){return I})),n.d(t,"hasRelativeStackingContext",(function(){return H})),n.d(t,"dispatchEvent",(function(){return U})),n.d(t,"AsyncFocusBlur",(function(){return K})),n.d(t,"createPropsContext",(function(){return B})),n.d(t,"withPropsContext",(function(){return q})),n.d(t,"useDir",(function(){return V})),n.d(t,"useAsyncFocusBlur",(function(){return F})),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 X})),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 be})),n.d(t,"DragAndDrop",(function(){return Pe})),n.d(t,"Draggable",(function(){return Fe})),n.d(t,"Droppable",(function(){return Ke})),n.d(t,"useDraggable",(function(){return Ue})),n.d(t,"useDroppable",(function(){return We})),n.d(t,"kendoThemeMaps",(function(){return Xe}));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];var n={},r=function(e){return"object"==typeof e?Object.keys(e).forEach((function(t){n[t]=e[t]})):n[e]=!0},o=function(e){return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?o(e):r(e)}))};return o(e),Object.keys(n).map((function(e){return n[e]&&e||null})).filter((function(e){return null!==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 h(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 h(e){return e.map((function(e){return v(e,void 0)}))}var m=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},O=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function x(e){var t=[];return e.replace(O,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}var b={};function E(e){if(b[e])return b[e];var t=x(e);return b[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},b[e]}b.undefined=function(){};var k=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(){},_=function(){return!(!l||!document.body)&&(new c).scrollbarWidth},D=function(){if(!l||!document.body)return!1;var e=(new c).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",e+"px")},P={undefined:function(e){return e}},j=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function S(e){if(P[e])return P[e];var t=x(e);return P[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]]||j(t[a+1],r);o[t[i]]=n},P[e]}var M=function(){return(M=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function R(e,t,n){var r;return n?M({},e,((r={})[t]=n.length?n.slice():void 0,r)):e&&e[t]?e[t].slice():[]}var N=function(e,t,n){return e.map((function(e){return function e(t,n,r){if(t[n]){var o=R(t,n).map((function(t){return e(t,n,r)}));return r(R(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||{})},A=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},z=n(5);function I(e){if(void 0!==z)z.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 H=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 U(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}function F(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 W=function(){return(W=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},K=function(e){var t=e.children,n=F({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return t.call(void 0,W({},n))},X=function(e,t){return r.useContext(e)(t)},Y=function(){return(Y=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},B=function(){return r.createContext((function(e){return e}))},q=function(e,t){return r.forwardRef((function(n,o){var i=X(e,n);return r.createElement(t,Y({},i,{ref:o}))}))};function V(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]),h=r.useMemo((function(){return c||ie.flip}),[c]),m=r.useMemo((function(){return s("k-icon","k-i-"+o,"k-color-"+d,{"k-flip-h":"horizontal"===h||"both"===h,"k-flip-v":"vertical"===h||"both"===h},te[v],n)}),[o,d,v,h,n]),y=$(e,f);return r.createElement("span",ne({ref:p},u,y,{className:m,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"]),h=r.useRef(null);r.useImperativeHandle(t,(function(){return{element:h.current}}));var m=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]),O=r.useMemo((function(){return c||ue.flip}),[c]),x=r.useMemo((function(){return d||ue.viewBox}),[d]),b=r.useMemo((function(){return s("k-svg-icon","k-color-"+y,"k-svg-i-"+m,{"k-flip-h":"horizontal"===O||"both"===O,"k-flip-v":"vertical"===O||"both"===O},te[g],o)}),[m,y,g,O,o]),E=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:b,style:E,ref:h},r.createElement("svg",ae({className:i,style:f,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:a?a.viewBox:x,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={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},fe={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},pe={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"},de={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},ve={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"},me={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},ye={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"},ge=function(){return(ge=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.id,i=t.style,a=t.className,c=t.fontSize,l=t.fontWeight,u=t.textAlign,s=t.textTransform,f=t.themeColor,p=t.margin,d=Oe(t,["id","style","className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),v=r.useRef(null),h=r.useRef(null);r.useImperativeHandle(v,(function(){return{element:h.current,props:t}})),r.useImperativeHandle(n,(function(){return v.current}));var m=e,y=function(){if(void 0!==p){if("string"==typeof p)return[pe[p]];if("number"==typeof p&&p>=0&&p<=24)return["k-m-"+p];if("object"==typeof p){var e=[];return Object.keys(p).forEach((function(t){var n,r;null!==p[t]&&void 0!==p[t]&&e.push((n=t,r=p[t],""+ve[n]+("string"==typeof r?de[r]:r)))})),e.join(" ")}}};return r.createElement(m,ge({id:o,ref:h,className:["k-"+("p"===e?"paragraph":e),se[c],fe[l],he[u],me[s],ye[f],y(),a].filter((function(e){return void 0!==e})).join(" "),style:i},d),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},be={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(){return(Ee=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)},ke=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,Ee({},t,{value:e}))}),[n,a])]},Ce=r.createContext([void 0,w]),we=r.createContext([void 0,w]),_e=r.createContext([[],w,w]),De=r.createContext([[],w,w]),Pe=function(e){var t=ke(null,void 0),n=t[0],o=t[1],i=ke(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(Ce.Provider,{value:[n,o]},r.createElement(we.Provider,{value:[a,c]},r.createElement(_e.Provider,{value:[u,function(e){s({type:Z.add,item:e})},function(e){s({type:Z.remove,item:e})}]},r.createElement(De.Provider,{value:[p,function(e){d({type:Z.add,item:e})},function(e){d({type:Z.remove,item:e})}]},e.children))))};Pe.displayName="KendoReactDragAndDrop";var je,Se=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},Me=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},Re=function(e){return e&&e.ownerDocument||window.document},Ne=function(e){var t=Me(),n=Re(e);return t.edge||t.safari?n.body:n.documentElement},Te=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},Le=function(e){var t=Ne(e);if(!e||e===document.body||e===document.documentElement)return t;for(var n=e;n&&n!==document.body&&n.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&!Te(n);)n=n.parentNode;return n===document.body||n.nodeType===Node.DOCUMENT_FRAGMENT_NODE?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"}(je||(je={}));var Ae=function(){},ze=function(e,t,n){void 0===n&&(n={});var r,o,i,a,c=n.onIsPressedChange,l=void 0===c?Ae:c,u=n.onIsScrollingChange,s=void 0===u?Ae:u,f=n.onVelocityChange,p=void 0===f?Ae:f,d=n.onOffsetChange,v=void 0===d?Ae:d,h=n.onPageOffsetChange,m=void 0===h?Ae:h,y=n.onClientOffsetChange,g=void 0===y?Ae:y,O=n.onScrollOffsetChange,x=void 0===O?Ae:O,b=n.onInitialScrollOffsetChange,E=void 0===b?Ae:b,k=t.payload,C=k.element,w=k.hint,_=e.autoScrollDirection,D=e.scrollableParent,P=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(P.type){case je.POINTER_DOWN:if(P.type===je.POINTER_DOWN&&(!P.originalEvent.isPrimary||0!==P.originalEvent.button))break;case je.MOUSE_DOWN:if(P.type===je.MOUSE_DOWN&&P.originalEvent.which&&P.originalEvent.which>1||e.ignoreMouse)break;case je.TOUCH_START:if(P.type===je.TOUCH_START&&1!==P.originalEvent.touches.length)break;case je.START:var j=D||Le(t.payload.element);E(j instanceof Window?{x:j.scrollX,y:j.scrollY}:{x:j.scrollLeft,y:j.scrollTop}),g({x:P.clientX,y:P.clientY}),m({x:P.pageX,y:P.pageY}),v({x:P.offsetX,y:P.offsetY}),l(!0),k.onPress&&k.onPress(P);break;case je.SCROLL:if(P.type===je.SCROLL&&!e.pressed)break;var S=D||Le(C),M=S instanceof Window?{x:S.scrollX,y:S.scrollY}:{x:S.scrollLeft,y:S.scrollTop};P.scrollX=M.x-e.initialScrollOffset.x,P.scrollY=M.y-e.initialScrollOffset.y,x({x:P.scrollX,y:P.scrollY});case je.POINTER_MOVE:if(P.type===je.POINTER_MOVE&&!P.originalEvent.isPrimary)break;case je.MOUSE_MOVE:case je.TOUCH_MOVE:if(P.type===je.TOUCH_MOVE&&1!==P.originalEvent.touches.length)break;case je.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==P.originalEvent.type&&C){var R=Re(C),N=D||Le(R.elementFromPoint(P.clientX,P.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}(P.pageX,P.pageY,function(e,t){var n=Ne(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}}(N,function(e){var t=Re(e);return t&&t.defaultView||window}(C)));p({x:_&&!1===_.horizontal?0:T.x,y:_&&!1===_.vertical?0:T.y}),s(0!==T.y||0!==T.x)}!e.drag&&k.onDragStart&&k.onDragStart(P),k.onDrag&&k.onDrag(P);var L=Se(w||C,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(w||C)}))),A=e.drops.find((function(e){return e.element===L}));A&&L&&(r=P.clientX,o=P.clientY,i=D||Le(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(P),A.onDragEnter&&A.onDragEnter(P)):A.onDragOver&&A.onDragOver(P):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(P)}g({x:P.clientX,y:P.clientY}),m({x:P.pageX,y:P.pageY});break;case je.POINTER_UP:if(P.type===je.POINTER_UP&&!P.originalEvent.isPrimary)break;case je.MOUSE_UP:case je.TOUCH_END:if(P.type===je.TOUCH_END&&1!==P.originalEvent.touches.length)break;case je.END:l(!1),s(!1),k.onRelease&&k.onRelease(P),e.drop&&e.drop.onDrop&&e.drop.onDrop(P),k.onDragEnd&&k.onDragEnd(P);break;case je.POINTER_CANCEL:case je.CONTEXT_MENU:case je.TOUCH_CANCEL:case je.CANCEL:l(!1),s(!1),k.onDragEnd&&k.onDragEnd(P),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(P)}},Ie=function(e,t){if(e){var n,r;e===Ne(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)}},He=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])}]};function Ue(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,h=void 0===v?null:v,m=n.mouseOnly,y=void 0!==m&&m,g=n.autoScroll,O=void 0===g||g,x=n.scrollContainer,b=void 0===x?null:x,E=r.useState(!1),k=E[0],C=E[1],_=r.useState(!1),D=_[0],P=_[1],j=He(we)[0],S=He(Ce),M=S[0],R=S[1],N=r.useContext(De)[0],T=r.useContext(_e),L=T[0],A=T[1],z=T[2],I=r.useRef({x:0,y:0}),H=r.useRef(),U=r.useRef(!1),F=r.useRef(),W=r.useRef(null),K=r.useRef(!1),X=r.useRef({x:0,y:0}),Y=r.useRef({x:0,y:0}),B=r.useRef({x:0,y:0}),q=r.useRef({x:0,y:0}),V=r.useRef({x:0,y:0}),G=r.useRef({x:0,y:0}),Z=Boolean("undefined"!=typeof window&&window.PointerEvent),$=!y&&Z,J=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),Q=r.useCallback((function(){return h&&h.current&&h.current.element?h.current.element:h?h.current:null}),[h]),ee=r.useCallback((function(){return b&&b.current&&b.current.element?b.current.element:b?b.current:null}),[b]),te=r.useCallback((function(){return"object"==typeof O&&O.boundaryElementRef&&O.boundaryElementRef.current&&O.boundaryElementRef.current.element?O.boundaryElementRef.current.element:"object"==typeof O&&O.boundaryElementRef&&O.boundaryElementRef.current?O.boundaryElementRef.current:null}),[O]),ne=r.useRef(null);r.useImperativeHandle(ne,(function(){return{element:J(),hint:Q(),onPress:he,onDragStart:ye,onDrag:ge,onDragEnd:Oe,onRelease:me,data:e.current}}));var re=r.useCallback((function(){var e=J();return e&&e.ownerDocument||document}),[J]),oe=r.useCallback((function(){var e=re();return e&&e.defaultView||window}),[re]),ie=r.useCallback((function(){return{drag:M?M.current:null,drop:j?j.current:null,drags:L.map((function(e){return e.current})),drops:N.map((function(e){return e.current})),pressed:k,ignoreMouse:U.current,scrollOffset:V.current,offset:X.current,pageOffset:Y.current,initialScrollOffset:G.current,clientOffset:B.current,initialClientOffset:q.current,velocity:I.current,autoScroll:Boolean("object"==typeof O?!1!==O.enabled:O),scrollableParent:te(),autoScrollDirection:"object"==typeof O?O.direction:{horizontal:!0,vertical:!0},isScrolling:D}}),[M,j,L,N,k,O,te,D]),ae=r.useCallback((function(e){C(e)}),[]),ce=r.useCallback((function(e){P(e)}),[]),le=r.useCallback((function(e){I.current=e}),[]),ue=r.useCallback((function(e){X.current=e}),[]),se=r.useCallback((function(e){B.current=e}),[]),fe=r.useCallback((function(e){Y.current=e}),[]),pe=r.useCallback((function(e){q.current=e}),[]),de=r.useCallback((function(e){V.current=e}),[]),ve=r.useCallback((function(e){G.current=e}),[]),he=r.useCallback((function(e){i(e)}),[i]),me=r.useCallback((function(e){c(e)}),[c]),ye=r.useCallback((function(t){R(ne,{target:e.current,event:t}),u(t)}),[R,e,u]),ge=r.useCallback((function(e){f(e)}),[f]),Oe=r.useCallback((function(t){K.current||(R(null,{target:e.current,event:t}),d(t))}),[d,R,e]),xe=r.useCallback((function(e){ze(ie(),{event:e,payload:ne.current},{onVelocityChange:le,onOffsetChange:ue,onClientOffsetChange:se,onPageOffsetChange:fe,onInitialClientOffsetChange:pe,onScrollOffsetChange:de,onInitialScrollOffsetChange:ve,onIsPressedChange:ae,onIsScrollingChange:ce})}),[ie,le,ue,fe,se,pe,ve,ae,de,ce]),be=r.useCallback((function(e){xe(e)}),[xe]),Ee=r.useCallback((function(e){xe(e)}),[xe]),ke=r.useCallback((function(e){xe(e)}),[xe]),Pe=r.useCallback((function(e){xe(e)}),[xe]),je=r.useCallback((function(e){xe(e)}),[xe]),Se=r.useCallback((function(e){xe(e)}),[xe]),Me=r.useCallback((function(e){xe(e)}),[xe]),Re=r.useCallback((function(e){e.preventDefault(),xe(e)}),[xe]),Ne=r.useCallback((function(e){e.preventDefault(),xe(e)}),[xe]),Te=r.useCallback((function(e){e.preventDefault(),xe(e)}),[xe]),Ae=r.useCallback((function(e){if(0===e.touches.length&&1===e.changedTouches.length){var t=oe();U.current=!0,F.current=t.setTimeout((function(){U.current=!1}),2e3)}xe(e)}),[xe,oe]),Ue=r.useCallback((function(e){xe(e)}),[xe]),Fe=r.useCallback((function(){var e=J();if(e){var t=e.style.touchAction;return e.style.touchAction="none",function(){e.style.touchAction=t}}}),[J]),We=r.useCallback((function(){return A(ne),function(){z(ne)}}),[z,A]);r.useEffect((function(){var e=oe();if(D){var t=ee()||Le(document.elementFromPoint(B.current.x,B.current.y));e.clearInterval(H.current),H.current=e.setInterval((function(){Ie(t,{x:I.current.x,y:I.current.y})}),50)}return function(){e.clearInterval(H.current)}}),[J,ee,oe,D]),r.useEffect(Fe,[Fe]),r.useEffect((function(){var e=oe(),t=J(),n=re();return $?(t&&(W.current=Le(t),W.current&&W.current.addEventListener("scroll",Ue,{passive:!0}),t.addEventListener("pointerdown",be,{passive:!0})),k&&(n.addEventListener("pointermove",Ee),n.addEventListener("pointerup",Pe,!0),n.addEventListener("contextmenu",Re),n.addEventListener("pointercancel",ke,{passive:!0}))):(e.addEventListener("touchmove",w,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",je,{passive:!0}),y||(t.addEventListener("touchstart",Ne,{passive:!0}),k&&(t.addEventListener("touchmove",Te,{passive:!0}),t.addEventListener("touchend",Ae,{passive:!0})))),k&&(n.addEventListener("mousemove",Se,{passive:!0}),n.addEventListener("mouseup",Me,{passive:!0}))),function(){W.current&&W.current.removeEventListener("scroll",Ue),t&&(t.removeEventListener("pointerdown",be),t.removeEventListener("mousedown",je),t.removeEventListener("touchstart",Ne),t.removeEventListener("touchmove",Te),t.removeEventListener("touchend",Ae)),n.removeEventListener("pointermove",Ee),n.removeEventListener("pointerup",Pe,!0),n.removeEventListener("contextmenu",Re),n.removeEventListener("pointercancel",ke),n.removeEventListener("mousemove",Se),n.removeEventListener("mouseup",Me),e.removeEventListener("touchmove",w),e.clearTimeout(F.current)}}),[k,oe,J,re,y,$,Re,je,Se,Me,ke,be,Ee,Pe,Ae,Te,Ne,Ue]),r.useEffect((function(){return function(){K.current=!0}}),[]),r.useLayoutEffect(We,[We])}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 Ue(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}));function We(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=He(we)[1],p=r.useContext(De),d=p[1],v=p[2],h=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),m=r.useRef(null);r.useImperativeHandle(m,(function(){return{element:h(),onDragEnter:y,onDragOver:g,onDragLeave:O,onDrop:x,data:e.current}}));var y=r.useCallback((function(t){f(m,{target:e.current,event:t}),o(t)}),[f,e,o]),g=r.useCallback((function(e){a(e)}),[a]),O=r.useCallback((function(t){f(null,{target:e.current,event:t}),l(t)}),[f,e,l]),x=r.useCallback((function(t){f(null,{target:e.current,event:t}),s(t)}),[f,e,s]),b=r.useCallback((function(){return d(m),function(){v(m)}}),[v,d]);r.useLayoutEffect(b,[b])}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 We(n,{onDragEnter:a,onDragOver:c,onDragLeave:l,onDrop:u}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null}));Ke.displayName="KendoReactDroppable";var Xe={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={outerHeight: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},outerWidth: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},styles:{"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"}}},function(e,t){e.exports=n},,function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(3),s=n(8),f=n(4).default.styles,p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elementRef=c.createRef(),t}return o(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this.elementRef.current},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.style,o=t.appear,l=t.enter,p=t.exit,d=t.transitionName,v=t.transitionEnterDuration,h=t.transitionExitDuration,m=t.className,y=t.onEnter,g=t.onEntering,O=t.onEntered,x=t.onExit,b=t.onExiting,E=t.onExited,k=t.onAfterExited,C=t.mountOnEnter,w=t.unmountOnExit,_=t.animationEnteringStyle,D=t.animationEnteredStyle,P=t.animationExitingStyle,j=t.animationExitedStyle,S=a(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","onAfterExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),M=u.classNames(m,f["child-animation-container"]),R=i({transitionDelay:"0ms"},r),N={entering:i({transitionDuration:v+"ms"},_),entered:i({},D),exiting:i({transitionDuration:h+"ms"},P),exited:i({},j)},T={in:this.props.in,appear:o,enter:l,exit:p,mountOnEnter:C,unmountOnExit:w,timeout:{enter:v,exit:h},onEnter:function(){y&&y.call(void 0,{animatedElement:e.element,target:e})},onEntering:function(){g&&g.call(void 0,{animatedElement:e.element,target:e})},onEntered:function(){O&&O.call(void 0,{animatedElement:e.element,target:e})},onExit:function(){x&&x.call(void 0,{animatedElement:e.element,target:e})},onExiting:function(){b&&b.call(void 0,{animatedElement:e.element,target:e})},onExited:function(){k&&k.call(void 0,{animatedElement:e.element,target:e}),E&&E.call(void 0,{animatedElement:e.element,target:e})},classNames:{appear:f[d+"-appear"]||d+"-appear",appearActive:f[d+"-appear-active"]||d+"-appear-active",enter:f[d+"-enter"]||d+"-enter",enterActive:f[d+"-enter-active"]||d+"-enter-active",exit:f[d+"-exit"]||d+"-exit",exitActive:f[d+"-exit-active"]||d+"-exit-active"}};return c.createElement(s.CSSTransition,i({},T,S,{nodeRef:this.elementRef}),(function(t){return c.createElement("div",{style:i({},R,N[t]),className:M,ref:e.elementRef},n)}))},t.propTypes={in:l.bool,children:l.oneOfType([l.arrayOf(l.node),l.node]),transitionName:l.string.isRequired,className:l.string,appear:l.bool,enter:l.bool,exit:l.bool,transitionEnterDuration:l.number.isRequired,transitionExitDuration:l.number.isRequired,mountOnEnter:l.bool,unmountOnExit:l.bool,animationEnteringStyle:l.object,animationEnteredStyle:l.object,animationExitingStyle:l.object,animationExitedStyle:l.object},t.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:u.noop,onEntering:u.noop,onEntered:u.noop,onExit:u.noop,onExiting:u.noop,onExited:u.noop,onAfterExited:u.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t}(c.Component);t.AnimationChild=p},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);t.Animation=r.Animation;var o=n(7);t.AnimationChild=o.AnimationChild;var i=n(11);t.Fade=i.Fade;var a=n(12);t.Expand=a.Expand;var c=n(13);t.Push=c.Push;var l=n(14);t.Slide=l.Slide;var u=n(15);t.Zoom=u.Zoom;var s=n(16);t.Reveal=s.Reveal;var f=n(17);t.useAnimation=f.useAnimation},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1652102137,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";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(2),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=a(e,["children"]);return c.createElement(u.Animation,i({},{transitionName:"fade"},n),t)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,component:l.string,id:l.string,style:l.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(c.Component);t.Fade=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(2),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=a(e,["direction","children"]),o={transitionName:"expand-"+t};return c.createElement(u.Animation,i({},o,r),n)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,direction:l.oneOf(["horizontal","vertical"]),component:l.string,id:l.string,style:l.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(c.Component);t.Expand=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(2),s={position:"absolute",top:"0",left:"0"},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=a(e,["children","direction"]);return c.createElement(u.Animation,i({},r,{transitionName:"push-"+n,animationExitingStyle:this.props.stackChildren?s:void 0}),t)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,direction:l.oneOf(["up","down","left","right"]),component:l.string,id:l.string,style:l.any,stackChildren:l.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(c.Component);t.Push=f},function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(2),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=a(e,["direction","children"]),o={transitionName:"slide-"+t};return c.createElement(u.Animation,i({},o,r),n)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,direction:l.oneOf(["up","down","left","right"]),component:l.string,id:l.string,style:l.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t}(c.Component);t.Slide=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(2),s={position:"absolute",top:"0",left:"0"},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=a(e,["children","direction"]);return c.createElement(u.Animation,i({},r,{transitionName:"zoom-"+n,animationExitingStyle:this.props.stackChildren?s:void 0}),t)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,direction:l.oneOf(["in","out"]),component:l.string,id:l.string,style:l.any,stackChildren:l.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(c.Component);t.Zoom=f},function(e,t,n){"use strict";var r,o=this&&this.__extends||(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)}),i=this&&this.__assign||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=this&&this.__rest||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};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(1),u=n(2),s=n(3),f=n(4),p=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=s.noop);var r=e.firstChild;if(r){var o=f.default.outerHeight(r),i=f.default.outerWidth(r);t.setState({maxHeight:o,maxWidth:i},n)}},t}return o(t,e),t.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.children,o=t.childFactory,l=a(t,["direction","children","childFactory"]),s=this.state,f=s.maxHeight,p=s.maxWidth,d={maxHeight:(e="vertical"===n?{maxHeight:f?f+"px":null}:{maxWidth:p?p+"px":null}).maxHeight,maxWidth:e.maxWidth};return c.createElement(u.Animation,i({},l,{childFactory:function(t){var n=o?o(t):t;return n.props.in?n:c.cloneElement(n,i({},n.props,{style:i({},n.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:d,transitionName:"reveal-"+n}),r)},t.propTypes={children:l.oneOfType([l.arrayOf(l.node),l.node]),childFactory:l.any,className:l.string,direction:l.oneOf(["horizontal","vertical"]),component:l.string,id:l.string,style:l.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(c.Component);t.Reveal=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.useAnimation=function(e,t){var n=r.useRef(0),o=r.useRef(!1),i=r.useRef();r.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),r.useEffect((function(){o.current=!0}),[])}}])}));
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-animation',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1651757289,
8
+ publishDate: 1652102137,
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-animation',
8
8
  productName: 'KendoReact',
9
9
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
10
- publishDate: 1651757289,
10
+ publishDate: 1652102137,
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-animation",["prop-types","react-transition-group","react","@progress/kendo-react-common"],function(a){var o,p,c,s;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){p=t(e)},function(e){c=t(e)},function(e){s=t(e)}],execute:function(){function r(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,i;n=[function(e,t){e.exports=c},function(e,t){e.exports=o},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__assign||function(){return(l=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},u=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},d=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),a=n(1),f=n(3),h=n(5),v=n(6),p=n(3),c=n(8),m=n(4).default.styles,n=(r=d.Component,o(s,r),s.prototype.render=function(){var e=this.props,t=e.id,n=e.style,i=e.children,r=e.component,o=e.className,a=e.childFactory,p=(e.stackChildren,e.componentChildStyle),c=e.componentChildClassName,s=u(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),e={id:t,style:n,component:r,childFactory:a,className:f.classNames(m["animation-container"],m["animation-container-relative"],o)},t=d.Children.map(i||null,function(e){return d.createElement(h.AnimationChild,l({},s,{style:p,className:c}),e)});return d.createElement(v.TransitionGroup,l({},e),t)},s.propTypes={children:a.oneOfType([a.arrayOf(a.node),a.node]),childFactory:a.any,className:a.string,component:a.string,id:a.string,style:a.any,transitionName:a.string.isRequired,appear:a.bool.isRequired,enter:a.bool.isRequired,exit:a.bool.isRequired,transitionEnterDuration:a.number.isRequired,transitionExitDuration:a.number.isRequired},s.defaultProps={component:"div"},s);function s(e){e=r.call(this,e)||this;return p.validatePackage(c.packageMetadata),e}t.Animation=n},function(e,t){e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={outerHeight:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),t=parseFloat(t.marginBottom);return e.offsetHeight+n+t},outerWidth:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),t=parseFloat(t.marginRight);return e.offsetWidth+n+t},styles:{"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"}}},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),P=this&&this.__assign||function(){return(P=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},S=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},z=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),a=n(1),C=n(3),A=n(6),D=n(4).default.styles,n=(r=z.Component,o(p,r),Object.defineProperty(p.prototype,"element",{get:function(){return this.elementRef.current},enumerable:!0,configurable:!0}),p.prototype.render=function(){var t=this,e=this.props,n=e.children,i=e.style,r=e.appear,o=e.enter,a=e.exit,p=e.transitionName,c=e.transitionEnterDuration,s=e.transitionExitDuration,l=e.className,u=e.onEnter,d=e.onEntering,f=e.onEntered,h=e.onExit,v=e.onExiting,m=e.onExited,y=e.onAfterExited,x=e.mountOnEnter,O=e.unmountOnExit,g=e.animationEnteringStyle,_=e.animationEnteredStyle,b=e.animationExitingStyle,E=e.animationExitedStyle,e=S(e,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","onAfterExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),k=C.classNames(l,D["child-animation-container"]),w=P({transitionDelay:"0ms"},i),j={entering:P({transitionDuration:c+"ms"},g),entered:P({},_),exiting:P({transitionDuration:s+"ms"},b),exited:P({},E)},l={in:this.props.in,appear:r,enter:o,exit:a,mountOnEnter:x,unmountOnExit:O,timeout:{enter:c,exit:s},onEnter:function(){u&&u.call(void 0,{animatedElement:t.element,target:t})},onEntering:function(){d&&d.call(void 0,{animatedElement:t.element,target:t})},onEntered:function(){f&&f.call(void 0,{animatedElement:t.element,target:t})},onExit:function(){h&&h.call(void 0,{animatedElement:t.element,target:t})},onExiting:function(){v&&v.call(void 0,{animatedElement:t.element,target:t})},onExited:function(){y&&y.call(void 0,{animatedElement:t.element,target:t}),m&&m.call(void 0,{animatedElement:t.element,target:t})},classNames:{appear:D[p+"-appear"]||p+"-appear",appearActive:D[p+"-appear-active"]||p+"-appear-active",enter:D[p+"-enter"]||p+"-enter",enterActive:D[p+"-enter-active"]||p+"-enter-active",exit:D[p+"-exit"]||p+"-exit",exitActive:D[p+"-exit-active"]||p+"-exit-active"}};return z.createElement(A.CSSTransition,P({},l,e,{nodeRef:this.elementRef}),function(e){return z.createElement("div",{style:P({},w,j[e]),className:k,ref:t.elementRef},n)})},p.propTypes={in:a.bool,children:a.oneOfType([a.arrayOf(a.node),a.node]),transitionName:a.string.isRequired,className:a.string,appear:a.bool,enter:a.bool,exit:a.bool,transitionEnterDuration:a.number.isRequired,transitionExitDuration:a.number.isRequired,mountOnEnter:a.bool,unmountOnExit:a.bool,animationEnteringStyle:a.object,animationEnteredStyle:a.object,animationExitingStyle:a.object,animationExitedStyle:a.object},p.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:C.noop,onEntering:C.noop,onEntered:C.noop,onExit:C.noop,onExiting:C.noop,onExited:C.noop,onAfterExited:C.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},p);function p(){var e=null!==r&&r.apply(this,arguments)||this;return e.elementRef=z.createRef(),e}t.AnimationChild=n},function(e,t){e.exports=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(2),r=(t.Animation=r.Animation,n(5)),r=(t.AnimationChild=r.AnimationChild,n(9)),r=(t.Fade=r.Fade,n(10)),r=(t.Expand=r.Expand,n(11)),r=(t.Push=r.Push,n(12)),r=(t.Slide=r.Slide,n(13)),r=(t.Zoom=r.Zoom,n(14)),r=(t.Reveal=r.Reveal,n(15)),o=(t.useAnimation=r.useAnimation,t);for(i in o)a(i,o[i])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1651757289,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";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),s=n(1),l=n(2),n=(r=c.Component,o(u,r),u.prototype.render=function(){var e=this.props,t=e.children,e=p(e,["children"]);return c.createElement(l.Animation,a({},{transitionName:"fade"},e),t)},u.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,component:s.string,id:s.string,style:s.any},u.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},u);function u(){return null!==r&&r.apply(this,arguments)||this}t.Fade=n},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),s=n(1),l=n(2),n=(r=c.Component,o(u,r),u.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,e=p(e,["direction","children"]);return c.createElement(l.Animation,a({},{transitionName:"expand-"+t},e),n)},u.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["horizontal","vertical"]),component:s.string,id:s.string,style:s.any},u.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},u);function u(){return null!==r&&r.apply(this,arguments)||this}t.Expand=n},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),s=n(1),l=n(2),u={position:"absolute",top:"0",left:"0"},n=(r=c.Component,o(d,r),d.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,e=p(e,["children","direction"]);return c.createElement(l.Animation,a({},e,{transitionName:"push-"+n,animationExitingStyle:this.props.stackChildren?u:void 0}),t)},d.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,id:s.string,style:s.any,stackChildren:s.bool},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},d);function d(){return null!==r&&r.apply(this,arguments)||this}t.Push=n},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),s=n(1),l=n(2),n=(r=c.Component,o(u,r),u.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,e=p(e,["direction","children"]);return c.createElement(l.Animation,a({},{transitionName:"slide-"+t},e),n)},u.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,id:s.string,style:s.any},u.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},u);function u(){return null!==r&&r.apply(this,arguments)||this}t.Slide=n},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),s=n(1),l=n(2),u={position:"absolute",top:"0",left:"0"},n=(r=c.Component,o(d,r),d.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,e=p(e,["children","direction"]);return c.createElement(l.Animation,a({},e,{transitionName:"zoom-"+n,animationExitingStyle:this.props.stackChildren?u:void 0}),t)},d.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["in","out"]),component:s.string,id:s.string,style:s.any,stackChildren:s.bool},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},d);function d(){return null!==r&&r.apply(this,arguments)||this}t.Zoom=n},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=this&&this.__assign||function(){return(p=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},c=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},s=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),a=n(1),l=n(2),u=n(3),d=n(4),n=(r=s.Component,o(f,r),f.prototype.render=function(){var t,e=this.props,n=e.direction,i=e.children,r=e.childFactory,e=c(e,["direction","children","childFactory"]),o=this.state,a=o.maxHeight,o=o.maxWidth,a={maxHeight:(t="vertical"===n?{maxHeight:a?a+"px":null}:{maxWidth:o?o+"px":null}).maxHeight,maxWidth:t.maxWidth};return s.createElement(l.Animation,p({},e,{childFactory:function(e){e=r?r(e):e;return e.props.in?e:s.cloneElement(e,p({},e.props,{style:p({},e.props.style,{maxHeight:t.maxHeight,maxWidth:t.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:a,transitionName:"reveal-"+n}),i)},f.propTypes={children:a.oneOfType([a.arrayOf(a.node),a.node]),childFactory:a.any,className:a.string,direction:a.oneOf(["horizontal","vertical"]),component:a.string,id:a.string,style:a.any},f.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},f);function f(){var i=null!==r&&r.apply(this,arguments)||this;return i.state={maxHeight:void 0,maxWidth:void 0},i.componentWillEnter=function(e){var t=i.props,n=t.onEnter,t=t.onBeforeEnter;t&&t.call(void 0,e),i.updateContainerDimensions(e.animatedElement,function(){n&&n.call(void 0,e)})},i.componentIsEntering=function(e){var t=i.props.onEntering;i.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},i.componentWillExit=function(e){var t=i.props.onExit;i.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},i.updateContainerDimensions=function(e,t){void 0===t&&(t=u.noop);var n,e=e.firstChild;e&&(n=d.default.outerHeight(e),e=d.default.outerWidth(e),i.setState({maxHeight:n,maxWidth:e},t))},i}t.Reveal=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);t.useAnimation=function(e,t){var a=i.useRef(0),n=i.useRef(!1),p=i.useRef();i.useEffect(function(){var t=e;function n(e){(e=(e-(i=i||e)+1)/r+o)<=1?(t.onUpdate&&t.onUpdate(e),p.current=window.requestAnimationFrame(n),a.current=e):(t.onEnd&&t.onEnd(1),a.current=0)}var i,r=t.duration,o=a.current&&1-a.current;return t.onStart&&t.onStart(),p.current=window.requestAnimationFrame(n),function(){p.current&&window.cancelAnimationFrame(p.current)}},t),i.useEffect(function(){n.current=!0},[])}}],i={},r.m=n,r.c=i,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}}});
1
+ System.register("@progress/kendo-react-animation",["react","prop-types","@progress/kendo-react-common","react-transition-group"],function(a){var o,p,c,s;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){p=t(e)},function(e){c=t(e)},function(e){s=t(e)}],execute:function(){function r(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,i;n=[function(e,t){e.exports=o},function(e,t){e.exports=p},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__assign||function(){return(l=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},u=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},d=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),a=n(1),f=n(3),h=n(5),v=n(6),p=n(3),c=n(8),m=n(4).default.styles,n=(r=d.Component,o(s,r),s.prototype.render=function(){var e=this.props,t=e.id,n=e.style,i=e.children,r=e.component,o=e.className,a=e.childFactory,p=(e.stackChildren,e.componentChildStyle),c=e.componentChildClassName,s=u(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),e={id:t,style:n,component:r,childFactory:a,className:f.classNames(m["animation-container"],m["animation-container-relative"],o)},t=d.Children.map(i||null,function(e){return d.createElement(h.AnimationChild,l({},s,{style:p,className:c}),e)});return d.createElement(v.TransitionGroup,l({},e),t)},s.propTypes={children:a.oneOfType([a.arrayOf(a.node),a.node]),childFactory:a.any,className:a.string,component:a.string,id:a.string,style:a.any,transitionName:a.string.isRequired,appear:a.bool.isRequired,enter:a.bool.isRequired,exit:a.bool.isRequired,transitionEnterDuration:a.number.isRequired,transitionExitDuration:a.number.isRequired},s.defaultProps={component:"div"},s);function s(e){e=r.call(this,e)||this;return p.validatePackage(c.packageMetadata),e}t.Animation=n},function(e,t){e.exports=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={outerHeight:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),t=parseFloat(t.marginBottom);return e.offsetHeight+n+t},outerWidth:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),t=parseFloat(t.marginRight);return e.offsetWidth+n+t},styles:{"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"}}},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),P=this&&this.__assign||function(){return(P=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},S=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},z=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),a=n(1),C=n(3),A=n(6),D=n(4).default.styles,n=(r=z.Component,o(p,r),Object.defineProperty(p.prototype,"element",{get:function(){return this.elementRef.current},enumerable:!0,configurable:!0}),p.prototype.render=function(){var t=this,e=this.props,n=e.children,i=e.style,r=e.appear,o=e.enter,a=e.exit,p=e.transitionName,c=e.transitionEnterDuration,s=e.transitionExitDuration,l=e.className,u=e.onEnter,d=e.onEntering,f=e.onEntered,h=e.onExit,v=e.onExiting,m=e.onExited,y=e.onAfterExited,x=e.mountOnEnter,O=e.unmountOnExit,g=e.animationEnteringStyle,_=e.animationEnteredStyle,b=e.animationExitingStyle,E=e.animationExitedStyle,e=S(e,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","onAfterExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),k=C.classNames(l,D["child-animation-container"]),w=P({transitionDelay:"0ms"},i),j={entering:P({transitionDuration:c+"ms"},g),entered:P({},_),exiting:P({transitionDuration:s+"ms"},b),exited:P({},E)},l={in:this.props.in,appear:r,enter:o,exit:a,mountOnEnter:x,unmountOnExit:O,timeout:{enter:c,exit:s},onEnter:function(){u&&u.call(void 0,{animatedElement:t.element,target:t})},onEntering:function(){d&&d.call(void 0,{animatedElement:t.element,target:t})},onEntered:function(){f&&f.call(void 0,{animatedElement:t.element,target:t})},onExit:function(){h&&h.call(void 0,{animatedElement:t.element,target:t})},onExiting:function(){v&&v.call(void 0,{animatedElement:t.element,target:t})},onExited:function(){y&&y.call(void 0,{animatedElement:t.element,target:t}),m&&m.call(void 0,{animatedElement:t.element,target:t})},classNames:{appear:D[p+"-appear"]||p+"-appear",appearActive:D[p+"-appear-active"]||p+"-appear-active",enter:D[p+"-enter"]||p+"-enter",enterActive:D[p+"-enter-active"]||p+"-enter-active",exit:D[p+"-exit"]||p+"-exit",exitActive:D[p+"-exit-active"]||p+"-exit-active"}};return z.createElement(A.CSSTransition,P({},l,e,{nodeRef:this.elementRef}),function(e){return z.createElement("div",{style:P({},w,j[e]),className:k,ref:t.elementRef},n)})},p.propTypes={in:a.bool,children:a.oneOfType([a.arrayOf(a.node),a.node]),transitionName:a.string.isRequired,className:a.string,appear:a.bool,enter:a.bool,exit:a.bool,transitionEnterDuration:a.number.isRequired,transitionExitDuration:a.number.isRequired,mountOnEnter:a.bool,unmountOnExit:a.bool,animationEnteringStyle:a.object,animationEnteredStyle:a.object,animationExitingStyle:a.object,animationExitedStyle:a.object},p.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:C.noop,onEntering:C.noop,onEntered:C.noop,onExit:C.noop,onExiting:C.noop,onExited:C.noop,onAfterExited:C.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},p);function p(){var e=null!==r&&r.apply(this,arguments)||this;return e.elementRef=z.createRef(),e}t.AnimationChild=n},function(e,t){e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(2),r=(t.Animation=r.Animation,n(5)),r=(t.AnimationChild=r.AnimationChild,n(9)),r=(t.Fade=r.Fade,n(10)),r=(t.Expand=r.Expand,n(11)),r=(t.Push=r.Push,n(12)),r=(t.Slide=r.Slide,n(13)),r=(t.Zoom=r.Zoom,n(14)),r=(t.Reveal=r.Reveal,n(15)),o=(t.useAnimation=r.useAnimation,t);for(i in o)a(i,o[i])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1652102137,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";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),s=n(1),l=n(2),n=(r=c.Component,o(u,r),u.prototype.render=function(){var e=this.props,t=e.children,e=p(e,["children"]);return c.createElement(l.Animation,a({},{transitionName:"fade"},e),t)},u.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,component:s.string,id:s.string,style:s.any},u.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},u);function u(){return null!==r&&r.apply(this,arguments)||this}t.Fade=n},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),s=n(1),l=n(2),n=(r=c.Component,o(u,r),u.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,e=p(e,["direction","children"]);return c.createElement(l.Animation,a({},{transitionName:"expand-"+t},e),n)},u.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["horizontal","vertical"]),component:s.string,id:s.string,style:s.any},u.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},u);function u(){return null!==r&&r.apply(this,arguments)||this}t.Expand=n},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),s=n(1),l=n(2),u={position:"absolute",top:"0",left:"0"},n=(r=c.Component,o(d,r),d.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,e=p(e,["children","direction"]);return c.createElement(l.Animation,a({},e,{transitionName:"push-"+n,animationExitingStyle:this.props.stackChildren?u:void 0}),t)},d.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,id:s.string,style:s.any,stackChildren:s.bool},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},d);function d(){return null!==r&&r.apply(this,arguments)||this}t.Push=n},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),s=n(1),l=n(2),n=(r=c.Component,o(u,r),u.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,e=p(e,["direction","children"]);return c.createElement(l.Animation,a({},{transitionName:"slide-"+t},e),n)},u.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["up","down","left","right"]),component:s.string,id:s.string,style:s.any},u.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},u);function u(){return null!==r&&r.apply(this,arguments)||this}t.Slide=n},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),s=n(1),l=n(2),u={position:"absolute",top:"0",left:"0"},n=(r=c.Component,o(d,r),d.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,e=p(e,["children","direction"]);return c.createElement(l.Animation,a({},e,{transitionName:"zoom-"+n,animationExitingStyle:this.props.stackChildren?u:void 0}),t)},d.propTypes={children:s.oneOfType([s.arrayOf(s.node),s.node]),childFactory:s.any,className:s.string,direction:s.oneOf(["in","out"]),component:s.string,id:s.string,style:s.any,stackChildren:s.bool},d.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},d);function d(){return null!==r&&r.apply(this,arguments)||this}t.Zoom=n},function(e,t,n){"use strict";var i,r,o=this&&this.__extends||(i=function(e,t){return(i=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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=this&&this.__assign||function(){return(p=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},c=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n},s=(Object.defineProperty(t,"__esModule",{value:!0}),n(0)),a=n(1),l=n(2),u=n(3),d=n(4),n=(r=s.Component,o(f,r),f.prototype.render=function(){var t,e=this.props,n=e.direction,i=e.children,r=e.childFactory,e=c(e,["direction","children","childFactory"]),o=this.state,a=o.maxHeight,o=o.maxWidth,a={maxHeight:(t="vertical"===n?{maxHeight:a?a+"px":null}:{maxWidth:o?o+"px":null}).maxHeight,maxWidth:t.maxWidth};return s.createElement(l.Animation,p({},e,{childFactory:function(e){e=r?r(e):e;return e.props.in?e:s.cloneElement(e,p({},e.props,{style:p({},e.props.style,{maxHeight:t.maxHeight,maxWidth:t.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:a,transitionName:"reveal-"+n}),i)},f.propTypes={children:a.oneOfType([a.arrayOf(a.node),a.node]),childFactory:a.any,className:a.string,direction:a.oneOf(["horizontal","vertical"]),component:a.string,id:a.string,style:a.any},f.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},f);function f(){var i=null!==r&&r.apply(this,arguments)||this;return i.state={maxHeight:void 0,maxWidth:void 0},i.componentWillEnter=function(e){var t=i.props,n=t.onEnter,t=t.onBeforeEnter;t&&t.call(void 0,e),i.updateContainerDimensions(e.animatedElement,function(){n&&n.call(void 0,e)})},i.componentIsEntering=function(e){var t=i.props.onEntering;i.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},i.componentWillExit=function(e){var t=i.props.onExit;i.updateContainerDimensions(e.animatedElement,function(){t&&t.call(void 0,e)})},i.updateContainerDimensions=function(e,t){void 0===t&&(t=u.noop);var n,e=e.firstChild;e&&(n=d.default.outerHeight(e),e=d.default.outerWidth(e),i.setState({maxHeight:n,maxWidth:e},t))},i}t.Reveal=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);t.useAnimation=function(e,t){var a=i.useRef(0),n=i.useRef(!1),p=i.useRef();i.useEffect(function(){var t=e;function n(e){(e=(e-(i=i||e)+1)/r+o)<=1?(t.onUpdate&&t.onUpdate(e),p.current=window.requestAnimationFrame(n),a.current=e):(t.onEnd&&t.onEnd(1),a.current=0)}var i,r=t.duration,o=a.current&&1-a.current;return t.onStart&&t.onStart(),p.current=window.requestAnimationFrame(n),function(){p.current&&window.cancelAnimationFrame(p.current)}},t),i.useEffect(function(){n.current=!0},[])}}],i={},r.m=n,r.c=i,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}}});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-animation",
3
3
  "description": "KendoReact Animation package",
4
- "version": "5.3.0-dev.202205051350",
4
+ "version": "5.3.0-dev.202205091336",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-react.git"
@@ -35,7 +35,7 @@
35
35
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
36
36
  },
37
37
  "dependencies": {
38
- "@progress/kendo-react-common": "5.3.0-dev.202205051350",
38
+ "@progress/kendo-react-common": "5.3.0-dev.202205091336",
39
39
  "prop-types": "^15.6.0",
40
40
  "react-transition-group": "^4.4.2"
41
41
  },