UNPKG

@progress/kendo-react-animation

Version:

React Animation component assists with animating HTML elements. KendoReact Animation package

1 lines • 66.2 kB
!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)}(self,(function(e,t,n,r){return(()=>{"use strict";var o={134:function(e,t,n){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");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},i.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&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Animation=void 0;var c=n(899),l=n(189),u=n(955),s=n(255),p=n(144),f=n(955),d=n(363),v=n(779).default.styles,h=function(e){function t(t){var n=e.call(this,t)||this;return(0,f.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,f=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:f,className:(0,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(p.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},255:function(e,t,n){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");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},i.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&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationChild=void 0;var c=n(899),l=n(189),u=n(955),s=n(144),p=n(779).default.styles,f=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:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.style,o=t.appear,l=t.enter,f=t.exit,d=t.transitionName,v=t.transitionEnterDuration,h=t.transitionExitDuration,m=t.className,y=t.onEnter,g=t.onEntering,b=t.onEntered,O=t.onExit,x=t.onExiting,E=t.onExited,k=t.onAfterExited,w=t.mountOnEnter,C=t.unmountOnExit,_=t.animationEnteringStyle,D=t.animationEnteredStyle,j=t.animationExitingStyle,P=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"]),N=(0,u.classNames)(m,p["child-animation-container"]),T=i({transitionDelay:"0ms"},r),R={entering:i({transitionDuration:"".concat(v,"ms")},_),entered:i({},D),exiting:i({transitionDuration:"".concat(h,"ms")},j),exited:i({},P)},M={in:this.props.in,appear:o,enter:l,exit:f,mountOnEnter:w,unmountOnExit:C,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(){b&&b.call(void 0,{animatedElement:e.element,target:e})},onExit:function(){O&&O.call(void 0,{animatedElement:e.element,target:e})},onExiting:function(){x&&x.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:p["".concat(d,"-appear")]||"".concat(d,"-appear"),appearActive:p["".concat(d,"-appear-active")]||"".concat(d,"-appear-active"),enter:p["".concat(d,"-enter")]||"".concat(d,"-enter"),enterActive:p["".concat(d,"-enter-active")]||"".concat(d,"-enter-active"),exit:p["".concat(d,"-exit")]||"".concat(d,"-exit"),exitActive:p["".concat(d,"-exit-active")]||"".concat(d,"-exit-active")}};return c.createElement(s.CSSTransition,i({},M,S,{nodeRef:this.elementRef}),(function(t){return c.createElement("div",{style:i(i({},T),R[t]),className:N,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=f},632:function(e,t,n){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");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},i.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&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Expand=void 0;var c=n(899),l=n(189),u=n(134),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-".concat(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},767:function(e,t,n){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");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},i.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&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Fade=void 0;var c=n(899),l=n(189),u=n(134),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},540:function(e,t,n){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");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},i.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&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Push=void 0;var c=n(899),l=n(189),u=n(134),s={position:"absolute",top:"0",left:"0"},p=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-".concat(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=p},343:function(e,t,n){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");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},i.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&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Reveal=void 0;var c=n(899),l=n(189),u=n(134),s=n(955),p=n(779),f=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=p.default.outerHeight(r),i=p.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,p=s.maxHeight,f=s.maxWidth,d={maxHeight:(e="vertical"===n?{maxHeight:p?"".concat(p,"px"):""}:{maxWidth:f?"".concat(f,"px"):""}).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(i({},n.props),{style:i(i({},n.props.style),{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:d,transitionName:"reveal-".concat(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=f},652:function(e,t,n){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");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},i.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&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Slide=void 0;var c=n(899),l=n(189),u=n(134),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-".concat(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},908:function(e,t,n){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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");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},i.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&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Zoom=void 0;var c=n(899),l=n(189),u=n(134),s={position:"absolute",top:"0",left:"0"},p=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-".concat(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=p},399:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useAnimation=void 0;var r=n(899);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}),[])}},363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1678867279,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"}},779:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={outerHeight:function(e){if(!e||!e.ownerDocument.defaultView)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||!e.ownerDocument.defaultView)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"}};t.default=n},955:(e,t,n)=>{n.r(t),n.d(t,{AsyncFocusBlur:()=>Y,BrowserSupportService:()=>c,COLLECTION_ACTION:()=>Q,DragAndDrop:()=>Ie,Draggable:()=>Ge,Droppable:()=>$e,FOCUSABLE_ELEMENTS:()=>tt,FormComponent:()=>y,Icon:()=>pe,IconWrap:()=>ge,IconsContext:()=>me,Keys:()=>w,Navigation:()=>nt,SvgIcon:()=>ve,Typography:()=>Pe,ZIndexContext:()=>o,canUseDOM:()=>l,canUseRef:()=>u,classNames:()=>s,clone:()=>f,cloneArray:()=>h,cloneDate:()=>p,cloneObject:()=>d,cloneValue:()=>v,createPropsContext:()=>G,dispatchEvent:()=>W,extendDataItem:()=>L,focusFirstFocusableChild:()=>m,getItemPath:()=>z,getScrollbarWidth:()=>_,getTabIndex:()=>g,getter:()=>E,guid:()=>k,hasRelativeStackingContext:()=>H,kendoThemeMaps:()=>Je,mapTree:()=>A,mapTreeItem:()=>I,memoizeOne:()=>et,noop:()=>C,setScrollbarWidth:()=>D,setter:()=>S,svgIconPropType:()=>ue,toIconClass:()=>le,toIconName:()=>ce,useAsyncFocusBlur:()=>X,useCollection:()=>ne,useCustomComponent:()=>te,useDir:()=>$,useDocument:()=>re,useDraggable:()=>Ve,useDroppable:()=>Ze,useMouse:()=>ee,usePropsContext:()=>q,useRtl:()=>J,useWindow:()=>oe,useZIndexContext:()=>i,validatePackage:()=>F,withPropsContext:()=>Z});var r=n(899),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(){this.scrollbar=0}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:!1,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 e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?r(e):function(e){return"object"==typeof e?Object.keys(e).forEach((function(t){n[t]=e[t]})):n[e]=!0}(e)}))};return r(e),Object.keys(n).map((function(e){return n[e]&&e||null})).filter((function(e){return null!==e})).join(" ")},p=function(e){return e?new Date(e.getTime()):null};function f(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 p(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},b=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function O(e){var t=[];return e.replace(b,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}var x={};function E(e){if(x[e])return x[e];var t=O(e);return x[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},x[e]}x.undefined=function(){};var 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},w={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},C=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","".concat(e,"px"))},j={undefined:function(e){return e}},P=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function S(e){if(j[e])return j[e];var t=O(e);return j[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]]||P(t[a+1],r);o[t[i]]=n},j[e]}var N=function(){return N=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},N.apply(this,arguments)},T=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function R(e,t,n){var r;return n?N(N({},e),((r={})[t]=n.length?T([],n,!0):void 0,r)):e&&e[t]?T([],e[t],!0):[]}function M(e,t,n){if(e[t]){var r=R(e,t).map((function(e){return M(e,t,n)}));return n(R(e,t,r))}return n(e)}var A=function(e,t,n){return T([],e.map((function(e){return M(e,t,n)})),!0)},I=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||{})},z=function(e,t,n){var r=[],o=T([],t,!0);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},U=n(302);function F(e){if(void 0!==U)U.validatePackage(e);else{var t="License activation failed for ".concat(e.name,"\n");t+="The @progress/kendo-licensing script is not loaded.\n",t+="See ".concat(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)";var r=t.createElement("div");r.appendChild(t.createTextNode("child")),r.style.position="fixed",r.style.top="10px",n.appendChild(r),t.body.appendChild(n);var o=10!==r.getBoundingClientRect().top;return t.body.removeChild(n),o};function W(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}var K=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function X(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(void 0,e[0]),a.current||(a.current=!0,t&&t.call.apply(t,K([void 0],e,!1)))}),[a,t,o]),s=r.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i&&i.call(void 0,e[0]),l((function(){a.current&&n&&(a.current=!1,n.call.apply(n,K([void 0],e,!1)))}))}),[a,l,n,i]);return r.useEffect((function(){return function(){clearTimeout(c.current)}}),[]),{onFocus:u,onBlur:s}}var B=function(){return B=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},B.apply(this,arguments)},Y=function(e){var t=e.children,n=X({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return r.createElement(r.Fragment,null,t.call(void 0,B({},n)))},q=function(e,t){return r.useContext(e)(t)},V=function(){return V=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},V.apply(this,arguments)},G=function(){return r.createContext((function(e){return e}))},Z=function(e,t){return r.forwardRef((function(n,o){var i=q(e,n);return r.createElement(t,V({},i,{ref:o}))}))};function $(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 J(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 Q,ee=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])}},te=function(e){return[e,{}]};!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(Q||(Q={}));var ne=function(e){void 0===e&&(e=[]);var t=r.useRef(e),n=r.useCallback((function(e){switch(e.type){case Q.add:t.current.push(e.item);break;case Q.remove:var n=t.current.indexOf(e.item);t.current.splice(n,1)}}),[]);return[t.current,n]},re=function(e){var t=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]);return r.useCallback((function(){var e=t();return e&&e.ownerDocument||document}),[t])},oe=function(e){var t=re(e);return r.useCallback((function(){var e=t();return e&&e.defaultView||window}),[t])},ie=n(189),ae={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},ce=function(e){return e.replace(/^k-i-/,"")},le=function(e){return"k-i-"+e},ue=ie.shape({name:ie.string.isRequired,content:ie.string.isRequired,viewBox:ie.string.isRequired}),se=function(){return se=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},se.apply(this,arguments)},pe=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=e.id,p=e.tabIndex,f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","name","themeColor","size","flip","style","id","tabIndex"]),d=r.useRef(null),v=r.useRef(null);r.useImperativeHandle(d,(function(){return{element:v.current}})),r.useImperativeHandle(t,(function(){return d.current}));var h=r.useMemo((function(){return a||fe.size}),[a]),m=r.useMemo((function(){return c||fe.flip}),[c]),y=r.useMemo((function(){var e;return s("k-icon",o&&le(o),((e={})["k-color-".concat(i)]=i,e["k-flip-h"]="horizontal"===m||"both"===m,e["k-flip-v"]="vertical"===m||"both"===m,e),ae[h],n)}),[o,i,h,m,n]),g=ee(e,d);return r.createElement("span",se({ref:v},f,g,{className:y,id:u,tabIndex:p,style:l,role:"presentation"}))}));pe.propTypes={style:ie.object,classNames:ie.string,name:ie.string,themeColor:ie.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:ie.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:ie.oneOf(["default","horizontal","vertical","both"])};var fe={size:"default",flip:"default"};pe.displayName="KendoIcon";var de=function(){return de=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},de.apply(this,arguments)},ve=r.forwardRef((function(e,t){var n=e.children,o=e.className,i=e.svgClassName,a=e.icon,c=e.flip,l=e.id,u=e.tabIndex,p=e.size,f=e.style,d=e.svgStyle,v=e.themeColor,h=e.viewBox,m=(e.name,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&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children","className","svgClassName","icon","flip","id","tabIndex","size","style","svgStyle","themeColor","viewBox","name"])),y=r.useRef(null);r.useImperativeHandle(t,(function(){return{element:y.current}}));var g=r.useMemo((function(){return a?a.name:he.icon}),[a]),b=r.useMemo((function(){return p||he.size}),[p]),O=r.useMemo((function(){return c||he.flip}),[c]),x=r.useMemo((function(){return h||he.viewBox}),[h]),E=r.useMemo((function(){var e;return s("k-svg-icon","k-svg-i-"+g,((e={})["k-color-".concat(v)]=v,e["k-flip-h"]="horizontal"===O||"both"===O,e["k-flip-v"]="vertical"===O||"both"===O,e),ae[b],o)}),[g,v,b,O,o]),k=r.useMemo((function(){return e.width&&e.height?de({width:e.width,height:e.height},f):e.width?de({width:e.width,height:e.width},f):e.height?de({width:e.height,height:e.height},f):de({},f)}),[e.width,e.height,f]);return r.createElement("span",{className:E,style:k,ref:y},r.createElement("svg",de({id:l,className:i,style:d,"aria-hidden":!0,tabIndex:u,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:a?a.viewBox:x,dangerouslySetInnerHTML:a?{__html:a.content}:void 0},m),a?void 0:n))}));ve.propTypes={style:ie.object,classNames:ie.string,children:ie.any,icon:ie.object,themeColor:ie.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:ie.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:ie.oneOf(["default","horizontal","vertical","both"])};var he={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};ve.displayName="KendoSvgIcon";var me=r.createContext({type:"font"});me.displayName="KendoReactIconsContext";var ye=function(){return ye=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},ye.apply(this,arguments)},ge=r.forwardRef((function(e,t){var n,o=r.useContext(me),i=o.type,a=o.icons,c=e.icon,l=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&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["icon"]),u=(null===(n=e.icon)||void 0===n?void 0:n.name)||e.name,s=u&&a&&a[u]&&"string"!=typeof a[u]?a[u]:c;return u=u&&a&&a[u]&&"string"==typeof a[u]?a[u]:u,"svg"===i&&s?r.createElement(ve,ye({},e,{icon:s,ref:t})):r.createElement(pe,ye({},l,{name:u,ref:t}))}));ge.displayName="KendoIconWrap";var be={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},Oe={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},xe={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"},Ee={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},ke={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},we={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},Ce={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},_e={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"},De=function(){return De=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},De.apply(this,arguments)},je=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,p=t.themeColor,f=t.margin,d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(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;return r.createElement(m,De({id:o,ref:h,className:["k-".concat("p"===e?"paragraph":e),be[c],Oe[l],we[u],Ce[s],_e[p],function(){if(void 0!==f){if("string"==typeof f)return[xe[f]];if("number"==typeof f&&f>=0&&f<=24)return["k-m-".concat(f)];if("object"==typeof f){var e=[];return Object.keys(f).forEach((function(t){var n,r,o;null!==f[t]&&void 0!==f[t]&&e.push((n=t,o="string"==typeof(r=f[t])?Ee[r]:r,"".concat(ke[n]).concat(o)))})),e.join(" ")}}}(),a].filter((function(e){return void 0!==e})).join(" "),style:i},d),t.children)}));return t.propTypes={style:ie.object,className:ie.string,fontSize:ie.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:ie.oneOf(["light","normal","bold"]),margin:ie.oneOfType([ie.number,ie.object,ie.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:ie.oneOf(["left","right","center","justify"]),textTransform:ie.oneOf(["lowercase","uppercase","capitalize"]),themeColor:ie.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName="KendoReactTypography".concat(e.toUpperCase()),t},Pe={h1:je("h1"),h2:je("h2"),h3:je("h3"),h4:je("h4"),h5:je("h5"),h6:je("h6"),p:je("p"),code:je("code"),pre:je("pre")},Se=function(){return Se=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},Se.apply(this,arguments)},Ne=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,Se(Se({},t),{value:e}))}),[n,a])]},Te=r.createContext([void 0,C]),Re=r.createContext([void 0,C]),Me=r.createContext([[],C,C]),Ae=r.createContext([[],C,C]),Ie=function(e){var t=Ne(null,void 0),n=t[0],o=t[1],i=Ne(null,void 0),a=i[0],c=i[1],l=ne([]),u=l[0],s=l[1],p=ne([]),f=p[0],d=p[1];return r.createElement(Te.Provider,{value:[n,o]},r.createElement(Re.Provider,{value:[a,c]},r.createElement(Me.Provider,{value:[u,function(e){s({type:Q.add,item:e})},function(e){s({type:Q.remove,item:e})}]},r.createElement(Ae.Provider,{value:[f,function(e){d({type:Q.add,item:e})},function(e){d({type:Q.remove,item:e})}]},e.children))))};Ie.displayName="KendoReactDragAndDrop";var Le,ze=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},Ue=function(e){return e&&e.ownerDocument||window.document},Fe=function(e){var t=ze(),n=Ue(e);return t.edge||t.safari?n.body:n.documentElement},He=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},We=function(e){var t=Fe(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&&n.nodeType!==Node.DOCUMENT_NODE&&!He(n);)n=n.parentNode;return!n||n!==document.body&&n.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?n:t};!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"}(Le||(Le={}));var Ke=function(){},Xe=function(e,t,n){void 0===n&&(n={});var r,o,i,a,c,l=n.onIsPressedChange,u=void 0===l?Ke:l,s=n.onIsScrollingChange,p=void 0===s?Ke:s,f=n.onVelocityChange,d=void 0===f?Ke:f,v=n.onOffsetChange,h=void 0===v?Ke:v,m=n.onPageOffsetChange,y=void 0===m?Ke:m,g=n.onClientOffsetChange,b=void 0===g?Ke:g,O=n.onScrollOffsetChange,x=void 0===O?Ke:O,E=n.onInitialScrollOffsetChange,k=void 0===E?Ke:E,w=t.payload,C=w.element,_=w.hint,D=e.autoScrollDirection,j=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 Le.POINTER_DOWN:if(P.type===Le.POINTER_DOWN&&(!P.originalEvent.isPrimary||0!==P.originalEvent.button))break;case Le.MOUSE_DOWN:if(P.type===Le.MOUSE_DOWN&&P.originalEvent.which&&P.originalEvent.which>1||e.ignoreMouse)break;case Le.TOUCH_START:if(P.type===Le.TOUCH_START&&1!==P.originalEvent.touches.length)break;case Le.START:var S=j||We(t.payload.element);k(S instanceof Window?{x:S.scrollX,y:S.scrollY}:{x:S.scrollLeft,y:S.scrollTop}),b({x:P.clientX,y:P.clientY}),y({x:P.pageX,y:P.pageY}),h({x:P.offsetX,y:P.offsetY}),u(!0),w.onPress&&w.onPress(P);break;case Le.SCROLL:if(P.type===Le.SCROLL&&!e.pressed)break;var N=j||We(C),T=N instanceof Window?{x:N.scrollX,y:N.scrollY}:{x:N.scrollLeft,y:N.scrollTop};P.scrollX=T.x-e.initialScrollOffset.x,P.scrollY=T.y-e.initialScrollOffset.y,x({x:P.scrollX,y:P.scrollY});case Le.POINTER_MOVE:if(P.type===Le.POINTER_MOVE&&!P.originalEvent.isPrimary)break;case Le.MOUSE_MOVE:case Le.TOUCH_MOVE:if(P.type===Le.TOUCH_MOVE&&1!==P.originalEvent.touches.length)break;case Le.MOVE:if(e.pressed){if(e.autoScroll&&"scroll