@progress/kendo-react-inputs 5.6.0-dev.202208090643 → 5.6.0-dev.202208090813

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("@progress/kendo-drawing"),require("@progress/kendo-react-intl"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-licensing","@progress/kendo-drawing","@progress/kendo-react-intl","react-dom"],t):"object"==typeof exports?exports.KendoReactInputs=t(require("react"),require("prop-types"),require("@progress/kendo-licensing"),require("@progress/kendo-drawing"),require("@progress/kendo-react-intl"),require("react-dom")):e.KendoReactInputs=t(e.React,e.PropTypes,e.KendoLicensing,e.KendoDrawing,e.KendoReactIntl,e.ReactDOM)}(self,(function(e,t,n,r,o,a){return(()=>{"use strict";var i={9357:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=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.Checkbox=t.CheckboxPropsContext=void 0;var a=n(3899),i=n(189),l=n(3859),s=n(3859),c=n(7363),u=n(499),d=n(3364);t.CheckboxPropsContext=(0,l.createPropsContext)(),t.Checkbox=a.forwardRef((function(e,n){var i;(0,s.validatePackage)(c.packageMetadata);var p=(0,l.usePropsContext)(t.CheckboxPropsContext,e),f=p,h=f.ariaDescribedBy,v=f.ariaLabelledBy,m=f.checked,g=f.className,b=f.children,y=f.defaultChecked,k=f.disabled,C=f.defaultValue,x=f.id,O=f.size,w=f.rounded,E=f.label,P=f.labelPlacement,_=f.name,S=f.labelOptional,N=f.onChange,R=f.onFocus,I=f.onBlur,M=f.tabIndex,D=f.value,T=f.required,A=f.valid,L=f.validationMessage,j=f.validityStyles,B=(f.visited,f.touched,f.modified,o(f,["ariaDescribedBy","ariaLabelledBy","checked","className","children","defaultChecked","disabled","defaultValue","id","size","rounded","label","labelPlacement","name","labelOptional","onChange","onFocus","onBlur","tabIndex","value","required","valid","validationMessage","validityStyles","visited","touched","modified"])),V=a.useRef(null),F=a.useCallback((function(){V.current&&V.current.focus()}),[]),z=a.useCallback((function(){return{element:V.current,focus:F,get name(){return V.current&&V.current.name}}}),[F]);a.useImperativeHandle(n,z);var G=a.useState(y),K=G[0],H=G[1],U=a.useState(C),W=U[0],q=U[1],X="boolean"==typeof D||null===D,Y=void 0!==m,Z=X,$=Z?D:W,J=Y?m:Z?void 0:K,Q=void 0===J&&$,ee=Q?$:J,te=Q||Z?null===D?D:void 0:D||$,ne=null===ee||null===te,re=a.useMemo((function(){return(0,l.guid)()}),[]),oe=(0,u.useLocalization)(),ae=function(e){return oe.toLanguageString(e,d.messages[e])},ie=ae(d.checkboxValidation),le=ae(d.checkboxOptionalText),se=void 0!==A?A:!T||!!J;a.useEffect((function(){V.current&&V.current.setCustomValidity&&V.current.setCustomValidity(se?"":L||ie)}),[se,L,ie]);var ce=a.useCallback((function(e,t){Z||k||(q(t),Y||k||H(t)),N&&!k&&(0,l.dispatchEvent)(N,e,r(r({},z()),{value:t}),{value:t})}),[Y,k,N,Z,z]),ue=a.useCallback((function(e){var t=e.target.checked;ce(e,t)}),[ce,D]),de=a.useCallback((function(e){if(!k){var t=e.keyCode,n=e.currentTarget.checked;t===l.Keys.space&&(e.preventDefault(),e.stopPropagation(),ce(e,!n))}}),[k,ce]),pe=a.useCallback((function(e){k||e.keyCode===l.Keys.space&&e.preventDefault()}),[k]),fe=a.useCallback((function(e){R&&!k&&(0,l.dispatchEvent)(R,e,z(),void 0)}),[R,k,z]),he=a.useCallback((function(e){I&&!k&&(0,l.dispatchEvent)(I,e,z(),void 0)}),[I,k,z]),ve=(0,l.useDir)(V,p.dir),me=(0,l.classNames)({"k-disabled":k},g),ge=r(r({type:"checkbox",className:(0,l.classNames)("k-checkbox",(i={},i["k-checkbox-".concat(l.kendoThemeMaps.sizeMap[O]||O)]=O,i["k-rounded-".concat(l.kendoThemeMaps.roundedMap[w]||w)]=w,i["k-indeterminate"]=ne,i["k-invalid k-invalid"]=!(se||void 0!==j||!0===j),i)),ref:V,name:_,id:x||re,"aria-labelledby":v,"aria-describedby":h,checked:Boolean(ee),disabled:k,tabIndex:(0,l.getTabIndex)(M,k),role:"checkbox",required:void 0!==T&&T,"aria-checked":!(!J&&!ee)||!!ne&&"mixed","aria-disabled":k||void 0},B),{onChange:ue,onKeyDown:de,onKeyUp:pe,onFocus:fe,onBlur:he}),be=a.createElement(a.Fragment,null,void 0===te?a.createElement("input",r({},ge)):a.createElement("input",r({},ge,{value:X?void 0:null===te?"":te}))),ye=a.createElement(a.Fragment,null,void 0!==E?a.createElement("label",{className:"k-checkbox-label",htmlFor:x||re,style:{userSelect:"none"}},E,S&&a.createElement("span",{className:"k-label-optional"},le)):null);return a.createElement(a.Fragment,null,"before"===P?a.createElement("span",{className:me,dir:"rtl"},be,ye,b):a.createElement("span",{className:me,dir:ve},be,ye,b))})),t.Checkbox.propTypes={checked:i.bool,className:i.string,defaultChecked:i.bool,defaultValue:i.any,dir:i.string,disabled:i.bool,id:i.string,size:i.oneOf([null,"small","medium","large"]),rounded:i.oneOf([null,"small","medium","large"]),ariaLabelledBy:i.string,ariaDescribedBy:i.string,label:i.any,labelPlacement:i.string,labelOptional:i.bool,name:i.string,tabIndex:i.number,value:i.any,validationMessage:i.string,required:i.bool,validate:i.bool,valid:i.bool,onChange:i.func,onFocus:i.func,onBlur:i.func},t.Checkbox.defaultProps={size:"medium",rounded:"medium"},t.Checkbox.displayName="KendoCheckbox"},8485:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},623:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},338:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},4997: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)});Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastLabels=void 0;var a=n(3899),i=n(499),l=n(3364),s=n(7029),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=(0,i.provideLocalizationService)(this),t=e.toLanguageString(l.colorGradientContrastRatio,l.messages[l.colorGradientContrastRatio]),n=e.toLanguageString(l.colorGradientAALevel,l.messages[l.colorGradientAALevel]),r=e.toLanguageString(l.colorGradientAAALevel,l.messages[l.colorGradientAAALevel]),o=e.toLanguageString(l.colorGradientPass,l.messages[l.colorGradientPass]),c=e.toLanguageString(l.colorGradientFail,l.messages[l.colorGradientFail]),u=(0,s.getContrastFromTwoRGBAs)(this.props.rgba,this.props.bgColor),d=4.5.toFixed(1),p=7..toFixed(1),f="".concat(t,": ").concat(u.toFixed(2)),h="".concat(n,": ").concat(d),v="".concat(r,": ").concat(p),m=a.createElement("span",{className:"k-contrast-validation k-text-success"},o," ",a.createElement("span",{className:"k-icon k-i-check"})),g=a.createElement("span",{className:"k-contrast-validation k-text-error"},c," ",a.createElement("span",{className:"k-icon k-i-close"}));return a.createElement("div",{className:"k-vbox k-colorgradient-color-contrast"},a.createElement("div",{className:"k-contrast-ratio"},a.createElement("span",{className:"k-contrast-ratio-text"},f),u>=4.5?a.createElement("span",{className:"k-contrast-validation k-text-success"},a.createElement("span",{className:"k-icon k-i-check"}),u>=7&&a.createElement("span",{className:"k-icon k-i-check"})):a.createElement("span",{className:"k-contrast-validation k-text-error"},a.createElement("span",{className:"k-icon k-i-close"}))),a.createElement("div",null,a.createElement("span",null,h),u>=4.5?m:g),a.createElement("div",null,a.createElement("span",null,v),u>=7?m:g))},t}(a.Component);t.ColorContrastLabels=c,(0,i.registerForLocalization)(c)},3028: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)});Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastSvg=void 0;var a=n(3899),i=n(1694),l=n(7029),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.renderSvgCurveLine=function(){var e=this,t=this.props.metrics,n=function(r,o,a,i,s){var c=(a+i)/2,u=Object.assign({},e.props.hsva,{s:o/t.width,v:1-c/t.height}),d=(0,l.getContrastFromTwoRGBAs)((0,l.getRGBA)((0,l.getColorFromHSV)(u)),(0,l.getRGBA)(e.props.backgroundColor||""));return a+.5>i?d<r+1&&d>r-1?c:null:s(d,r)?n(r,o,a,i-(i-a)/2,s):n(r,o,a+(i-a)/2,i,s)},r=function(e,r,o){void 0===o&&(o=!1);for(var a=[],i=0;i<=t.width;i+=t.width/r){var l=n(e,i,0,t.height,o?function(e,t){return e<t}:function(e,t){return e>t});null!==l&&a.push([i,l])}return a},o=(0,i.bezierCommand)((0,i.controlPoint)(i.line));return(0,i.svgPath)(r(4.5,16),o)+(0,i.svgPath)(r(4.5,16,!0),o)+(0,i.svgPath)(r(7,16),o)+(0,i.svgPath)(r(7,16,!0),o)},t.prototype.shouldComponentUpdate=function(e){return e.hsva.h!==this.props.hsva.h||e.hsva.a!==this.props.hsva.a||this.props.backgroundColor!==e.backgroundColor},t.prototype.render=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"k-color-contrast-svg",dangerouslySetInnerHTML:{__html:this.renderSvgCurveLine()},style:{position:"absolute",overflow:"visible",pointerEvents:"none",left:0,top:0,zIndex:3}})},t}(a.Component);t.ColorContrastSvg=s},9070: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)});Object.defineProperty(t,"__esModule",{value:!0}),t.ColorGradient=t.ColorGradientPropsContext=t.ColorGradientWithoutContext=void 0;var a=n(3899),i=n(189),l=n(3859),s=n(3859),c=n(7363),u=n(468),d=n(6608),p=n(7029),f=n(4735),h=n(1503),v=n(4997),m=n(3028),g=n(499),b=n(3364),y="rgba(255, 255, 255, 1)",k=function(e){function t(n){var r=e.call(this,n)||this;r.wrapper=null,r.onHexChange=function(e,t,n){if(r.isUncontrolled){var o=(0,p.getHSV)(t);r.setState({hsva:o,backgroundColor:(0,p.getColorFromHue)(o.h),rgba:(0,p.getRGBA)(t),hex:e})}else(0,f.cacheHex)(r.state.guid,t,e);r.dispatchChangeEvent(t,n,n.nativeEvent)},r.onRgbaChange=function(e,t){var n=(0,p.getColorFromRGBA)(e);if(r.isUncontrolled){var o=(0,p.getHSV)(n),a=(0,p.parseColor)(n,"hex");r.setState({hsva:o,backgroundColor:(0,p.getColorFromHue)(o.h),rgba:e,hex:a})}else(0,f.cacheRgba)(r.state.guid,n,e);r.dispatchChangeEvent(n,t.syntheticEvent,t.nativeEvent)},r.onAlphaSliderChange=function(e){r.handleHsvaChange(Object.assign({},r.state.hsva,{a:e.value/100}),e.syntheticEvent,e.nativeEvent)},r.onHueSliderChange=function(e){r.handleHsvaChange(Object.assign({},r.state.hsva,{h:e.value}),e.syntheticEvent,e.nativeEvent)},r.onDrag=function(e){r.gradientWrapper.classList.add("k-dragging"),r.changePosition(e.event)},r.onRelease=function(){r.gradientWrapper.classList.remove("k-dragging")},r.onGradientWrapperClick=function(e){r.changePosition(e)},r.changePosition=function(e){var t=r.getGradientRectMetrics(),n=e.clientX-t.left,o=e.clientY-t.top,a=(0,d.fitIntoBounds)(n,0,t.width),i=(0,d.fitIntoBounds)(o,0,t.height),l=Object.assign({},r.state.hsva,{s:a/t.width,v:1-i/t.height});r.handleHsvaChange(l,e,e.nativeEvent)},r.onFocus=function(e){r.props.onFocus&&r.props.onFocus.call(void 0,{nativeEvent:e,target:r})},r.focus=function(){(0,l.focusFirstFocusableChild)(r.wrapper)},(0,s.validatePackage)(c.packageMetadata);var o=n.value||n.defaultValue||(0,p.parseColor)(y,"rgba");return r.state=Object.assign({},t.getStateFromValue(o),{isFirstRender:!0,guid:(0,l.guid)()}),r}return o(t,e),t.getDerivedStateFromProps=function(e,n){return e.value&&!n.isFirstRender?t.getStateFromValue(e.value,n.guid):null},t.prototype.componentDidMount=function(){this.setAlphaSliderBackground(this.state.backgroundColor),this.state.isFirstRender&&this.setState({isFirstRender:!1})},t.prototype.componentWillUnmount=function(){(0,f.removeCachedColor)(this.state.guid)},t.prototype.componentDidUpdate=function(e,t){t.backgroundColor!==this.state.backgroundColor&&this.setAlphaSliderBackground(this.state.backgroundColor)},t.prototype.renderRectangleDragHandle=function(){var e={};if(!this.state.isFirstRender){var t=this.getGradientRectMetrics(),n=(1-this.state.hsva.v)*t.height,r=this.state.hsva.s*t.width;e.top="".concat(n,"px"),e.left="".concat(r,"px")}return a.createElement("div",{className:"k-hsv-draghandle k-draghandle",style:e})},t.prototype.handleHsvaChange=function(e,t,n){var r=(0,p.getColorFromHSV)(e);if(this.isUncontrolled){var o=(0,p.parseColor)(r,"hex");this.setState({hsva:e,backgroundColor:(0,p.getColorFromHue)(e.h),rgba:(0,p.getRGBA)(r),hex:o})}else(0,f.cacheHsva)(this.state.guid,r,e);this.dispatchChangeEvent(r,t,n)},t.prototype.dispatchChangeEvent=function(e,t,n){this.props.onChange&&this.props.onChange.call(void 0,{syntheticEvent:t,nativeEvent:n,target:this,value:e})},t.getStateFromValue=function(e,t){(0,d.isPresent)((0,p.parseColor)(e,"hex"))||(e=y);var n=(0,f.getCachedHsva)(t,e)||(0,p.getHSV)(e),r=(0,f.getCachedRgba)(t,e)||(0,p.getRGBA)(e),o=(0,f.getCachedHex)(t,e)||(0,p.parseColor)(e,"hex");return{hsva:n,backgroundColor:(0,p.getColorFromHue)(n.h),rgba:r,hex:o}},t.prototype.setAlphaSliderBackground=function(e){this.props.opacity&&this.alphaSlider&&this.alphaSlider.sliderTrack&&(this.alphaSlider.sliderTrack.style.background="linear-gradient(to top, transparent, ".concat(e,")"))},Object.defineProperty(t.prototype,"isUncontrolled",{get:function(){return void 0===this.props.value},enumerable:!1,configurable:!0}),t.prototype.getGradientRectMetrics=function(){return this.gradientWrapper.getBoundingClientRect()},t.prototype.render=function(){var e=this,t=(0,g.provideLocalizationService)(this),n=(0,l.classNames)("k-colorgradient",{"k-disabled":this.props.disabled});return a.createElement("div",{id:this.props.id,className:n,"aria-disabled":this.props.disabled?"true":void 0,style:this.props.style,ref:function(t){return e.wrapper=t},tabIndex:(0,l.getTabIndex)(this.props.tabIndex,this.props.disabled),"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,onFocus:this.onFocus},a.createElement("div",{className:"k-colorgradient-canvas k-hstack"},a.createElement("div",{className:"k-hsv-rectangle",style:{background:this.state.backgroundColor}},a.createElement(l.Draggable,{onDrag:this.onDrag,onRelease:this.onRelease,ref:function(t){return e.gradientWrapper=t?t.element:void 0}},a.createElement("div",{className:"k-hsv-gradient",style:{touchAction:"none"},onClick:this.onGradientWrapperClick},this.renderRectangleDragHandle())),this.props.backgroundColor&&!this.state.isFirstRender&&a.createElement(m.ColorContrastSvg,{metrics:this.gradientWrapper?this.getGradientRectMetrics():void 0,hsva:this.state.hsva,backgroundColor:this.props.backgroundColor})),a.createElement("div",{className:"k-hsv-controls k-hstack"},a.createElement(u.Slider,{value:this.state.hsva.h,buttons:!1,vertical:!0,min:0,max:360,step:5,onChange:this.onHueSliderChange,className:"k-hue-slider k-colorgradient-slider",disabled:this.props.disabled,ariaLabel:t.toLanguageString(b.colorGradientHueSliderLabel,b.messages[b.colorGradientHueSliderLabel])}),this.props.opacity&&a.createElement(u.Slider,{value:(0,d.isPresent)(this.state.hsva.a)?100*this.state.hsva.a:100,buttons:!1,vertical:!0,min:0,max:100,step:1,ariaLabel:t.toLanguageString(b.colorGradientAlphaSliderLabel,b.messages[b.colorGradientAlphaSliderLabel]),onChange:this.onAlphaSliderChange,className:"k-alpha-slider k-colorgradient-slider",disabled:this.props.disabled,ref:function(t){return e.alphaSlider=t}}))),a.createElement(h.default,{rgba:this.state.rgba,onRgbaChange:this.onRgbaChange,hex:this.state.hex,onHexChange:this.onHexChange,opacity:this.props.opacity,disabled:this.props.disabled}),this.props.backgroundColor&&a.createElement(v.ColorContrastLabels,{bgColor:(0,p.getRGBA)(this.props.backgroundColor),rgba:this.state.rgba}))},t.displayName="ColorGradient",t.propTypes={defaultValue:i.string,value:i.string,onChange:i.func,onFocus:i.func,opacity:i.bool,backgroundColor:i.string,disabled:i.bool,style:i.any,id:i.string,ariaLabelledBy:i.string,ariaDescribedBy:i.string},t.defaultProps={opacity:!0},t}(a.Component);t.ColorGradientWithoutContext=k,t.ColorGradientPropsContext=(0,l.createPropsContext)(),t.ColorGradient=(0,l.withPropsContext)(t.ColorGradientPropsContext,k),t.ColorGradient.displayName="KendoReactColorGradient"},1503: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)}),a=this&&this.__assign||function(){return a=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},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3899),l=n(468),s=n(6073),c=n(784),u=n(5935),d=n(499),p=n(3364),f=["rgba","rgb","hex"],h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={inputMode:f[1]},t.onRgbaRChange=function(e){t.dispatchRgbaChange({r:e.value},e)},t.onRgbaGChange=function(e){t.dispatchRgbaChange({g:e.value},e)},t.onRgbaBChange=function(e){t.dispatchRgbaChange({b:e.value},e)},t.onRgbaAChange=function(e){t.dispatchRgbaChange({a:e.value},e)},t}return o(t,e),t.prototype.render=function(){var e=(0,d.provideLocalizationService)(this),t=e.toLanguageString(p.colorGradientR,p.messages[p.colorGradientHex]),n=e.toLanguageString(p.colorGradientR,p.messages[p.colorGradientR]),r=e.toLanguageString(p.colorGradientR,p.messages[p.colorGradientG]),o=e.toLanguageString(p.colorGradientR,p.messages[p.colorGradientB]),a=e.toLanguageString(p.colorGradientR,p.messages[p.colorGradientA]),f=e.toLanguageString(p.colorGradientToggleInputsButton,p.messages[p.colorGradientToggleInputsButton]);return i.createElement("div",{className:"k-colorgradient-inputs k-hstack"},i.createElement("div",{className:"k-vstack"},i.createElement(c.Button,{"aria-label":f,fillMode:"flat",icon:"arrows-kpi",className:"k-colorgradient-toggle-mode k-icon-button",onClick:this.onToggleModeChange.bind(this)})),"hex"===this.state.inputMode&&i.createElement("div",{className:"k-vstack k-flex-1"},i.createElement("span",{className:"k-hex-value k-textbox k-input"},i.createElement(s.default,{hex:this.props.hex,onHexChange:this.props.onHexChange,disabled:this.props.disabled})),i.createElement(u.Label,{className:"k-colorgradient-input-label"},t)),("rgb"===this.state.inputMode||"rgba"===this.state.inputMode)&&i.createElement(i.Fragment,null,i.createElement("div",{className:"k-vstack"},i.createElement(l.NumericTextBox,{inputType:"number",value:this.props.rgba.r,ariaLabel:String(this.props.rgba.r),min:0,max:255,spinners:!1,format:"n",onChange:this.onRgbaRChange,disabled:this.props.disabled}),i.createElement(u.Label,{className:"k-colorgradient-input-label"},n)),i.createElement("div",{className:"k-vstack"},i.createElement(l.NumericTextBox,{inputType:"number",value:this.props.rgba.g,ariaLabel:String(this.props.rgba.g),min:0,max:255,spinners:!1,format:"n",onChange:this.onRgbaGChange,disabled:this.props.disabled}),i.createElement(u.Label,{className:"k-colorgradient-input-label"},r)),i.createElement("div",{className:"k-vstack"},i.createElement(l.NumericTextBox,{inputType:"number",value:this.props.rgba.b,ariaLabel:String(this.props.rgba.b),min:0,max:255,spinners:!1,format:"n",onChange:this.onRgbaBChange,disabled:this.props.disabled}),i.createElement(u.Label,{className:"k-colorgradient-input-label"},o))),"rgba"===this.state.inputMode&&i.createElement("div",{className:"k-vstack"},this.props.opacity&&i.createElement(l.NumericTextBox,{inputType:"number",value:this.props.rgba.a,ariaLabel:String(this.props.rgba.a),min:0,max:1,step:.01,spinners:!1,format:"n2",onChange:this.onRgbaAChange,disabled:this.props.disabled}),this.props.opacity&&i.createElement(u.Label,{className:"k-colorgradient-input-label"},a)))},t.prototype.dispatchRgbaChange=function(e,t){var n=a({},this.props.rgba);void 0!==e.r&&(n.r=e.r),void 0!==e.g&&(n.g=e.g),void 0!==e.b&&(n.b=e.b),void 0!==e.a&&(n.a=e.a),this.props.onRgbaChange(n,t)},t.prototype.onToggleModeChange=function(){var e=f.length-1===f.indexOf(this.state.inputMode)?0:f.indexOf(this.state.inputMode)+1;if(this.props.opacity)this.setState({inputMode:f[e]});else{var t="rgba"===f[e]?e+1:e;this.setState({inputMode:f[t]})}},t}(i.Component);t.default=h,(0,d.registerForIntl)(h),(0,d.registerForLocalization)(h)},2480: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)});Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPalette=t.ColorPalettePropsContext=t.ColorPaletteWithoutContext=t.DEFAULT_PRESET=t.DEFAULT_COLUMNS_COUNT=t.DEFAULT_TILE_SIZE=void 0;var a=n(3899),i=n(189),l=n(3586),s=n(3859),c=n(3859),u=n(7363),d=n(1510),p=n(6608),f=n(7029);t.DEFAULT_TILE_SIZE=24,t.DEFAULT_COLUMNS_COUNT=10,t.DEFAULT_PRESET="office";var h=function(e){function n(t){var n=e.call(this,t)||this;return n.wrapper=null,n.paletteService=null,n.guid=(0,s.guid)(),n.focus=function(){n.wrapper&&n.wrapper.focus()},n.onKeyDown=function(e){switch(e.keyCode){case s.Keys.down:n.handleCellNavigation(0,1);break;case s.Keys.up:n.handleCellNavigation(0,-1);break;case s.Keys.right:n.handleCellNavigation(1,0);break;case s.Keys.left:n.handleCellNavigation(-1,0);break;case s.Keys.enter:n.handleEnter(e);break;default:return}e.preventDefault()},n.onColorClick=function(e,t){n.isUncontrolled?n.setState({selectedColor:e,focusedColor:e}):n.setState({focusedColor:e}),n.dispatchChangeEvent(e,t)},n.onFocus=function(e){n.paletteService&&(n.setState({focusedColor:n.state.selectedColor||n.paletteService.colorRows[0][0]}),n.props.onFocus&&n.props.onFocus.call(void 0,e))},n.onBlur=function(){n.setState({focusedColor:void 0})},(0,c.validatePackage)(u.packageMetadata),n.state={selectedColor:void 0!==n.props.value?n.props.value:n.props.defaultValue,isFirstRender:!0},n}return o(n,e),n.prototype.render=function(){var e=this,t=this.getPaletteInfo(),n=this.paletteService=new l.ColorPaletteService;n.setColorMatrix(t.colors,t.columns);var r=n.getCellCoordsFor(this.state.selectedColor),o=n.getCellCoordsFor(this.state.focusedColor),i=(0,s.classNames)("k-colorpalette",{"k-disabled":this.props.disabled});return t.colors.length?a.createElement("div",{id:this.props.id,className:i,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,"aria-disabled":this.props.disabled?"true":void 0,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,tabIndex:(0,s.getTabIndex)(this.props.tabIndex,this.props.disabled),ref:function(t){return e.wrapper=t}},a.createElement("div",{className:"k-colorpalette-table-wrap",role:"grid"},a.createElement("table",{className:"k-colorpalette-table k-palette",role:"presentation"},a.createElement("tbody",{role:"rowgroup"},this.renderRows(n.colorRows,r,o))))):""},n.getDerivedStateFromProps=function(e,t){if(t.isFirstRender||void 0===e.value){if(t.isFirstRender)return{isFirstRender:!1}}else{if(""===e.value&&void 0!==t.selectedColor)return{selectedColor:void 0};if(""!==e.value&&e.value!==t.selectedColor)return{selectedColor:e.value}}return null},n.prototype.handleCellNavigation=function(e,t){if(this.paletteService)if(this.focusedColorCooridanates){var n=this.paletteService.getNextCell(this.focusedColorCooridanates,e,t);this.setState({focusedColor:this.paletteService.getColorAt(n)})}else this.setState({focusedColor:this.paletteService.colorRows[0][0]})},n.prototype.handleEnter=function(e){this.isUncontrolled&&this.setState({selectedColor:this.state.focusedColor}),this.dispatchChangeEvent(this.state.focusedColor,e)},n.prototype.dispatchChangeEvent=function(e,t){(0,s.dispatchEvent)(this.props.onChange,t,this,{value:e,rgbaValue:(0,f.parseColor)(e,"rgba")})},Object.defineProperty(n.prototype,"focusedColorCooridanates",{get:function(){return this.state.focusedColor&&this.paletteService?this.paletteService.getCellCoordsFor(this.state.focusedColor):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isUncontrolled",{get:function(){return void 0===this.props.value},enumerable:!1,configurable:!0}),n.prototype.getPaletteInfo=function(){if("string"==typeof this.props.palette){var e=d.PALETTEPRESETS[this.props.palette];return(0,p.isPresent)(e)?{colors:e.colors,columns:this.props.columns||e.columns||t.DEFAULT_COLUMNS_COUNT}:{colors:[],columns:0}}return{colors:this.props.palette||[],columns:this.props.columns||t.DEFAULT_COLUMNS_COUNT}},n.prototype.renderRows=function(e,t,n){var r=this;return e.map((function(e,o){return a.createElement("tr",{role:"row",key:o},r.renderColumns(e,o,t,n))}))},n.prototype.renderColumns=function(e,t,n,r){var o=this,i=void 0!==n&&n.row===t,l=n&&n.col,c=void 0!==r&&r.row===t,u=r&&r.col,d="number"!=typeof this.props.tileSize?this.props.tileSize:{width:this.props.tileSize,height:this.props.tileSize},p=d.width+"px",f=d.height+"px";return e.map((function(e,n){var r=i&&l===n,d=(0,s.classNames)("k-colorpalette-tile",{"k-selected":r,"k-focus":c&&u===n});return a.createElement("td",{role:"gridcell",className:d,"aria-label":e,"aria-selected":!!r||!!o.props.disabled&&void 0,style:{backgroundColor:e,width:p,height:f,minWidth:p},onClick:function(t){return o.onColorClick(e,t)},id:o.createCellId({row:t,col:n}),key:n})}))},n.prototype.createCellId=function(e){return"".concat(this.guid,"_").concat(e.row,"_").concat(e.col)},n.displayName="ColorPalette",n.propTypes={palette:i.oneOfType([i.arrayOf(i.string.isRequired),i.string]),columns:i.number,tileSize:i.any,defaultValue:i.string,value:i.string,disabled:i.bool,tabIndex:i.number,onChange:i.func,onFocus:i.func,id:i.string,ariaLabelledBy:i.string,ariaDescribedBy:i.string},n.defaultProps={palette:t.DEFAULT_PRESET,tileSize:t.DEFAULT_TILE_SIZE},n}(a.Component);t.ColorPaletteWithoutContext=h,t.ColorPalettePropsContext=(0,s.createPropsContext)(),t.ColorPalette=(0,s.withPropsContext)(t.ColorPalettePropsContext,h),t.ColorPalette.displayName="KendoReactColorPalette"},2286:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPicker=t.ColorPickerPropsContext=void 0;var o=n(3899),a=n(189),i=n(3859),l=n(3859),s=n(7363),c=n(1007),u=n(9070),d=n(2480),p=n(784),f=n(3364),h=n(499),v={palette:d.DEFAULT_PRESET,tileSize:d.DEFAULT_TILE_SIZE},m=function(e){return void 0!==e};t.ColorPickerPropsContext=(0,i.createPropsContext)(),t.ColorPicker=o.forwardRef((function(e,n){var a,v;(0,l.validatePackage)(s.packageMetadata);var b=(0,i.usePropsContext)(t.ColorPickerPropsContext,e),y=(0,h.useLocalization)(),k=b.size,C=void 0===k?g.size:k,x=b.rounded,O=void 0===x?g.rounded:x,w=b.fillMode,E=void 0===w?g.fillMode:w,P=b.popupSettings,_=b.gradientSettings,S=b.paletteSettings,N=b.valid,R=b.disabled,I=b.tabIndex,M=b.view,D=b.icon,T=b.iconClassName,A=b.onChange,L=b.onFocus,j=b.onBlur,B=b.onActiveColorClick,V=o.useRef(null),F=o.useRef(null),z=o.useRef(null),G=o.useRef(),K=o.useRef(null),H=o.useCallback((function(){V.current&&V.current.focus()}),[]);o.useImperativeHandle(n,(function(){return{element:V.current,actionElement:K.current,focus:H}}));var U=o.useState(!1),W=U[0],q=U[1],X=o.useState(b.defaultValue),Y=X[0],Z=X[1],$=o.useState(!1),J=$[0],Q=$[1],ee=m(b.value),te=m(b.open),ne=ee?b.value:Y,re=te?b.open:J,oe=o.useCallback((function(e,t){te||(!e&&!t&&V&&V.current&&V.current.focus(),Q(e))}),[te]),ae=o.useCallback((function(e){var t=e.altKey,n=e.keyCode;if(n!==i.Keys.esc)return n!==i.Keys.enter||te?void(!t||n!==i.Keys.up&&n!==i.Keys.down||(e.preventDefault(),e.stopPropagation(),n===i.Keys.up&&V&&V.current&&(V.current.focus(),oe(!1)),n===i.Keys.down&&oe(!0))):(e.preventDefault(),e.stopPropagation(),void oe(!re));oe(!1)}),[re,te]),ie=o.useCallback((function(){te||(F.current?F.current.focus():z.current&&z.current.focus())}),[te]),le=o.useCallback((function(){oe(!re,!0)}),[re]),se=o.useCallback((function(e){B&&B.call(void 0,{syntheticEvent:e,nativeEvent:e.nativeEvent,value:ne})}),[B,ne]),ce=o.useCallback((function(e){G.current?(clearTimeout(G.current),G.current=void 0):q(!0),L&&L.call(void 0,{nativeEvent:e.nativeEvent,syntheticEvent:e})}),[L]),ue=o.useCallback((function(){oe(!1,!0),q(!1),G.current=void 0}),[]),de=o.useCallback((function(e){clearTimeout(G.current),G.current=window.setTimeout(ue),j&&j.call(void 0,{nativeEvent:e.nativeEvent,syntheticEvent:e})}),[j]),pe=o.useCallback((function(e,t){var n=t?e.rgbaValue:e.value;ee||Z(n),t&&oe(!1),A&&A.call(void 0,{value:n,nativeEvent:e.nativeEvent,syntheticEvent:e.syntheticEvent})}),[ee,A]),fe=o.useCallback((function(e){return pe(e,!0)}),[m,pe]),he=(0,i.useDir)(V,b.dir),ve=!1!==N;return o.createElement("span",{id:b.id,"aria-labelledby":b.ariaLabelledBy,"aria-describedby":b.ariaDescribedBy,className:(0,i.classNames)("k-colorpicker","k-picker","k-icon-picker",(a={},a["k-picker-".concat(i.kendoThemeMaps.sizeMap[C]||C)]=C,a["k-picker-".concat(E)]=E,a["k-rounded-".concat(i.kendoThemeMaps.roundedMap[O]||O)]=O,a["k-invalid"]=!ve,a["k-disabled"]=R,a["k-focus"]=W,a)),ref:V,tabIndex:(0,i.getTabIndex)(I,R),title:b.title,onKeyDown:ae,onFocus:ce,onBlur:de,dir:he},o.createElement(c.Picker,{dir:he,open:re,onOpen:ie,popupAnchor:V.current||void 0,popupSettings:r({},P),input:o.createElement("span",{onClick:se,className:"k-input-inner"},o.createElement("span",{className:(0,i.classNames)("k-value-icon","k-color-preview",{"k-no-color":!ne,"k-icon-color-preview":D||T})},(T||D)&&o.createElement("span",{className:(0,i.classNames)("k-color-preview-icon",T,(v={},v["k-icon k-i-".concat(D)]=D&&!T,v))}),o.createElement("span",{className:"k-color-preview-mask",style:{backgroundColor:ne}}))),button:o.createElement(p.Button,{tabIndex:-1,type:"button",onClick:le,className:"k-input-button",rounded:null,icon:"arrow-s","aria-label":y.toLanguageString(f.colorPickerDropdownButtonAriaLabel,f.messages[f.colorPickerDropdownButtonAriaLabel])}),content:o.createElement(o.Fragment,null,("combo"===M||"gradient"===M)&&o.createElement(u.ColorGradient,r({},_,{tabIndex:0,ref:F,value:ne,onChange:pe})),("combo"===M||"palette"===M)&&o.createElement(d.ColorPalette,r({},S,{ref:z,value:ne,onChange:fe})))}))})),t.ColorPicker.propTypes={value:a.string,defaultValue:a.string,disabled:a.bool,view:a.oneOf(["gradient","palette","combo"]),dir:a.string,id:a.string,ariaLabelledBy:a.string,ariaDescribedBy:a.string,size:a.oneOf([null,"small","medium","large"]),rounded:a.oneOf([null,"small","medium","large","full"]),fillMode:a.oneOf([null,"solid","flat","outline"])};var g={size:"medium",rounded:"medium",fillMode:"solid",view:"palette",gradientSettings:{opacity:!0},paletteSettings:v};t.ColorPicker.defaultProps=g,t.ColorPicker.displayName="KendoColorPicker"},4624:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FlatColorPicker=void 0;var r=n(3899),o=n(189),a=n(3859),i=n(784),l=n(468),s=n(7363),c=n(3364);t.FlatColorPicker=r.forwardRef((function(e,t){(0,a.validatePackage)(s.packageMetadata);var n=r.useRef(null),o=r.useRef(null),u=r.useRef(null),p=r.useState("ColorGradient"===(e.view||"ColorGradient")),f=p[0],h=p[1],v=r.useState("rgba(255, 255, 255, 1)"),m=v[0],g=v[1],b=r.useState("rgba(255, 255, 255, 1)"),y=b[0],k=b[1],C=r.useCallback((function(){n.current&&n.current.focus()}),[n]);r.useImperativeHandle(n,(function(){return{element:o.current,focus:C,props:e}})),r.useImperativeHandle(t,(function(){return n.current}));var x=r.useCallback((function(e){("ColorGradient"===e&&!f||"ColorPalette"===e&&f)&&h(!f)}),[f]),O=r.useCallback((function(){g("rgba(255, 255, 255, 1)")}),[]),w=r.useCallback((function(e){g(e.value)}),[]),E=r.useCallback((function(){k(m)}),[m]),P=r.useCallback((function(){k("rgba(255, 255, 255, 1)")}),[]),_=r.useCallback((function(){g(y)}),[y]),S=r.useCallback((function(){o.current&&o.current.focus()}),[o]),N=r.useCallback((function(){k(m)}),[m]);return r.createElement("div",{id:e.id,style:e.style,ref:o,tabIndex:(0,a.getTabIndex)(e.tabIndex,e.disabled),className:(0,a.classNames)("k-flatcolorpicker k-coloreditor",{"k-disabled":e.disabled},e.className),onBlur:N},r.createElement(r.Fragment,null,e.header||r.createElement("div",{className:"k-coloreditor-header k-hstack"},r.createElement("div",{className:"k-coloreditor-header-actions k-hstack"},r.createElement(i.ButtonGroup,null,r.createElement(i.Button,{type:"button",togglable:!0,fillMode:"flat",selected:f,onClick:function(){return x("ColorGradient")}},r.createElement("span",{className:"k-icon k-i-color-canvas"})),r.createElement(i.Button,{type:"button",togglable:!0,fillMode:"flat",selected:!f,onClick:function(){return x("ColorPalette")}},r.createElement("span",{className:"k-icon k-i-palette"})))),r.createElement("div",{className:"k-spacer"}),r.createElement("div",{className:"k-coloreditor-header-actions k-hstack"},e.showClearButton&&d.showClearButton&&r.createElement(i.Button,{type:"button",fillMode:"flat",onClick:O},r.createElement("span",{className:"k-icon k-i-reset-color"})),e.showPreview&&d.showPreview&&r.createElement("div",{className:"k-coloreditor-preview k-vstack"},r.createElement("span",{className:"k-coloreditor-preview-color k-color-preview",style:{background:m}}),r.createElement("span",{className:"k-coloreditor-current-color k-color-preview",style:{background:y},onClick:_})))),r.createElement("div",{className:"k-coloreditor-views k-vstack"},f?r.createElement(l.ColorGradient,{ref:u,value:m,onChange:w,onFocus:S}):r.createElement(l.ColorPalette,{value:m,onChange:w,onFocus:S})),e.showButtons&&d.showButtons&&r.createElement("div",{className:"k-coloreditor-footer k-actions k-actions-end"},r.createElement(i.Button,{type:"button",className:"k-coloreditor-cancel",onClick:P},c.messages[c.flatColorPickerCancelBtn]),r.createElement(i.Button,{type:"button",className:"k-coloreditor-apply k-primary",onClick:E},c.messages[c.flatColorPickerApplyBtn]))))}));var u={id:o.string,value:o.string,view:o.string,header:o.elementType,showClearButton:o.bool,showPreview:o.bool,showButtons:o.bool},d={showClearButton:!0,showPreview:!0,showButtons:!0};t.FlatColorPicker.displayName="KendoFlatColorPicker",t.FlatColorPicker.propTypes=u,t.FlatColorPicker.defaultProps=d},6073: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)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(3899),i=n(7029),l=n(6608),s=n(3315),c=function(e){function t(t){var n=e.call(this,t)||this;return n.onChange=function(e){var t=e.target.value,r=(0,i.parseColor)(t,"rgba");n.setState({hex:t}),(0,l.isPresent)(r)&&n.props.onHexChange(t,r,e)},n.onBlur=function(){(0,l.isPresent)((0,i.parseColor)(n.state.hex,"rgba"))||n.setState({hex:n.state.originalHex})},n.state={hex:n.props.hex,originalHex:n.props.hex},n}return o(t,e),t.prototype.render=function(){return a.createElement(s.Input,{value:this.state.hex,onChange:this.onChange,onBlur:this.onBlur,disabled:this.props.disabled})},t.getDerivedStateFromProps=function(e,t){return e.hex!==t.originalHex?{hex:e.hex,originalHex:e.hex}:null},t}(a.Component);t.default=c},1007:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Picker=void 0;var o=n(3899),a=n(5362),i=n(3859);t.Picker=function(e){var t=e.popupSettings||{},n="rtl"===e.dir?"right":"left",l=o.useMemo((function(){return{horizontal:n,vertical:"bottom"}}),[n]),s=o.useMemo((function(){return{horizontal:n,vertical:"top"}}),[n]);return o.createElement(o.Fragment,null,e.input,e.button,o.createElement(a.Popup,r({style:r(r({},(t||{}).style),{direction:e.dir})},t,{anchor:e.popupAnchor,anchorAlign:l,popupAlign:s,show:e.open,onOpen:e.onOpen,onClose:e.onClose,className:(0,i.classNames)("k-reset",t.className)}),e.content))},t.Picker.displayName="KendoPickerComponent"},5485:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},2066:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},7193:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},2687:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},3439:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},6940:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},5387:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},3107:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},1831:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},2405:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},8412:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},1510:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PALETTEPRESETS=void 0,t.PALETTEPRESETS={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4"," ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}}},4735:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getCachedRgba=t.getCachedHsva=t.getCachedHex=t.removeCachedColor=t.cacheHex=t.cacheRgba=t.cacheHsva=void 0;var n={};t.cacheHsva=function(e,t,r){n[e]={value:t,hsva:r}},t.cacheRgba=function(e,t,r){n[e]={value:t,rgba:r}},t.cacheHex=function(e,t,r){n[e]={value:t,hex:r}},t.removeCachedColor=function(e){delete n[e]},t.getCachedHex=function(e,t){if(e){var r=n[e];return r&&r.value===t?r.hex:void 0}},t.getCachedHsva=function(e,t){if(e){var r=n[e];return r&&r.value===t?r.hsva:void 0}},t.getCachedRgba=function(e,t){if(e){var r=n[e];return r&&r.value===t?r.rgba:void 0}}},3586:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPaletteService=void 0;var r=n(6608),o=n(4407),a=function(){function e(){this.colorRows=[]}return e.prototype.setColorMatrix=function(e,t){if(this.colorRows=[],(0,r.isPresent)(e)&&e.length){t=t||e.length;for(var n=0;n<e.length;n+=t){var o=e.slice(n,t+n);this.colorRows.push(o)}}},e.prototype.getCellCoordsFor=function(e){var t=this;if((0,r.isPresent)(e)){var n=e?(0,o.parseColor)(e,!0):e,a=[e];(0,r.isPresent)(n)&&a.push(n.toCss(),n.toCssRgba());for(var i=function(e){for(var n=function(n){if(a.some((function(r){return r===t.colorRows[e][n]})))return{value:{row:e,col:n}}},r=0;r<l.colorRows[e].length;r++){var o=n(r);if("object"==typeof o)return o}},l=this,s=0;s<this.colorRows.length;s++){var c=i(s);if("object"==typeof c)return c.value}}},e.prototype.getColorAt=function(e){if((0,r.isPresent)(e)&&(0,r.isPresent)(this.colorRows[e.row]))return this.colorRows[e.row][e.col]},e.prototype.getNextCell=function(e,t,n){if(!((0,r.isPresent)(e)&&(0,r.isPresent)(e.row)&&(0,r.isPresent)(e.col)))return{row:0,col:0};var o=this.clampIndex(e.row+n,this.colorRows.length-1);return{row:o,col:this.clampIndex(e.col+t,this.colorRows[o].length-1)}},e.prototype.clampIndex=function(e,t){return e<0?0:e>t?t:e},e}();t.ColorPaletteService=a},7029:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getContrastFromTwoRGBAs=t.getContrast=t.getLuminance=t.getRGBFromRGBA=t.getColorFromRGBA=t.getColorFromHue=t.getColorFromHSV=t.getRGBA=t.getHSV=t.parseColor=void 0;var r=n(4407),o=n(6608);t.parseColor=function(e,t,n){if(void 0===n&&(n=!0),-1===["hex","rgba"].indexOf(t))throw new Error("Unsupported color output format '".concat(t,"'. The available options are 'hex' or 'rgba'."));if((0,o.isPresent)(e)){var a=(0,r.parseColor)(e.trim(),n);if((0,o.isPresent)(a))return"hex"===t?a.toCss():a.toCssRgba()}},t.getHSV=function(e,t){void 0===t&&(t=!0);var n=(0,r.parseColor)(e,t);return(0,o.isPresent)(n)?n.toHSV():{}},t.getRGBA=function(e,t){void 0===t&&(t=!0);var n=(0,r.parseColor)(e,t);return(0,o.isPresent)(n)?n.toBytes():{}},t.getColorFromHSV=function(e){var t=(0,o.fitIntoBounds)(e.h,0,359.9),n=(0,o.fitIntoBounds)(e.s,0,1),a=(0,o.fitIntoBounds)(e.v,0,1),i=(0,o.fitIntoBounds)(e.a,0,1);return r.Color.fromHSV(t,n,a,i).toCssRgba()},t.getColorFromHue=function(e){return(0,t.getColorFromHSV)({h:e,s:1,v:1,a:1})},t.getColorFromRGBA=function(e){var t=(0,o.fitIntoBounds)(e.r,0,255),n=(0,o.fitIntoBounds)(e.g,0,255),a=(0,o.fitIntoBounds)(e.b,0,255),i=(0,o.fitIntoBounds)(e.a,0,1);return r.Color.fromBytes(t,n,a,i).toCssRgba()},t.getRGBFromRGBA=function(e,t){var n=(0,o.fitIntoBounds)(e.r,0,255),r=(0,o.fitIntoBounds)(e.g,0,255),a=(0,o.fitIntoBounds)(e.b,0,255),i=(0,o.fitIntoBounds)(e.a,0,1),l=(0,o.fitIntoBounds)(t.r,0,255),s=(0,o.fitIntoBounds)(t.g,0,255),c=(0,o.fitIntoBounds)(t.b,0,255);return{r:Math.round((1-i)*l+i*n),g:Math.round((1-i)*s+i*r),b:Math.round((1-i)*c+i*a)}},t.getLuminance=function(e){var t=[e.r||0,e.g||0,e.b||0].map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*t[0]+.7152*t[1]+.0722*t[2]},t.getContrast=function(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)},t.getContrastFromTwoRGBAs=function(e,n){return(0,t.getContrast)((0,t.getLuminance)((0,t.getRGBFromRGBA)(e,n)),(0,t.getLuminance)((0,t.getRGBFromRGBA)(n,{r:0,g:0,b:0,a:1})))}},6608:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fitIntoBounds=t.isPresent=void 0,t.isPresent=function(e){return null!=e},t.fitIntoBounds=function(e,n,r){return!(0,t.isPresent)(e)||isNaN(e)||e<=n?n:e>=r?r:e}},1694:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.bezierCommand=t.controlPoint=t.line=t.svgPath=void 0,t.svgPath=function(e,t){if(0===e.length)return"";var n=e.reduce((function(e,n,r,o){return 0===r?"M ".concat(n[0],",").concat(n[1]):"".concat(e," ").concat(t(n,r,o))}),"");return'<path d="'.concat(n,'" fill="none" stroke="white" stroke-width="1"/>')},t.line=function(e,t){var n=t[0]-e[0],r=t[1]-e[1];return{length:Math.sqrt(Math.pow(n,2)+Math.pow(r,2)),angle:Math.atan2(r,n)}},t.controlPoint=function(e){return function(t,n,r,o){var a=e(n||t,r||t),i=a.angle+(o?Math.PI:0),l=.1*a.length;return[t[0]+Math.cos(i)*l,t[1]+Math.sin(i)*l]}},t.bezierCommand=function(e){return function(t,n,r){var o=e(r[n-1],r[n-2],t),a=o[0],i=o[1],l=e(t,r[n-1],r[n+1],!0),s=l[0],c=l[1];return"C ".concat(a,",").concat(i," ").concat(s,",").concat(c," ").concat(t[0],",").concat(t[1])}}},3315: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)}),a=this&&this.__assign||function(){return a=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},a.apply(this,arguments)},i=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.Input=t.InputPropsContext=t.InputWithoutContext=void 0;var l=n(3899),s=n(189),c=n(3859),u=n(5935),d=n(3859),p=n(7363),f=function(e){function t(n){var r=e.call(this,n)||this;return r._input=null,r._inputId=(0,c.guid)(),r.focus=function(){r._input&&r._input.focus()},r.isInvalid=function(e){var t=!1;for(var n in e)e.hasOwnProperty(n)&&(t=t||Boolean(e[n]));return t},r.setValidity=function(){r._input&&r._input.setCustomValidity&&(r.validity.valid||!r.validityStyles?r._input.classList.remove("k-invalid"):r._input.classList.add("k-invalid"),r._input.setCustomValidity(r.validity.valid?"":r.props.validationMessage||""))},r.handleChange=function(e){r.setState({value:e.target.value}),r.valueDuringOnChange=e.target.value,r.props.onChange&&r.props.onChange.call(void 0,{syntheticEvent:e,nativeEvent:e.nativeEvent,value:e.target.value,target:r}),r.valueDuringOnChange=void 0},r.handleAutoFill=function(e){if("autoFillStart"===e.animationName){var t=e.target.parentNode;t&&t.classList.contains("k-empty")&&t.classList.remove("k-empty")}},(0,d.validatePackage)(p.packageMetadata),r.state={value:r.props.defaultValue||t.defaultProps.defaultValue},r}return o(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._input},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.props.value?this.props.value:this.state.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e={badInput:!!this._input&&this._input.validity.badInput,patternMismatch:!!this._input&&this._input.validity.patternMismatch,rangeOverflow:!!this._input&&this._input.validity.rangeOverflow,rangeUnderflow:!!this._input&&this._input.validity.rangeUnderflow,stepMismatch:!!this._input&&this._input.validity.stepMismatch,tooLong:!!this._input&&this._input.validity.tooLong,typeMismatch:!!this._input&&this._input.validity.typeMismatch,valueMissing:!!this._input&&this._input.validity.valueMissing};return a(a({},e),{customError:void 0!==this.props.validationMessage,valid:void 0!==this.props.valid?this.props.valid:!this._input||!this.isInvalid(e)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.forceUpdate()},t.prototype.componentDidUpdate=function(){this.setValidity()},t.prototype.render=function(){var e=this,t=this.props,n=t.className,r=t.label,o=t.id,s=(t.validationMessage,t.defaultValue,t.valid,t.visited,t.touched,t.modified,t.ariaLabelledBy),d=t.ariaDescribedBy,p=(t.validityStyles,t.style),f=t.ariaLabel,h=i(t,["className","label","id","validationMessage","defaultValue","valid","visited","touched","modified","ariaLabelledBy","ariaDescribedBy","validityStyles","style","ariaLabel"]),v=o||this._inputId,m=!this.validityStyles||this.validity.valid,g=(0,c.classNames)(n,"k-input k-input-md k-rounded-md k-input-solid"),b=l.createElement("input",a({"aria-labelledby":s,"aria-describedby":d,"aria-disabled":this.props.disabled||void 0,"aria-invalid":!m||void 0,"aria-label":f||void 0},h,{style:r?void 0:p,value:this.value,id:v,className:g,onChange:this.handleChange,onAnimationStart:this.handleAutoFill,ref:function(t){e._input=t}}));return r?l.createElement(u.FloatingLabel,{label:r,editorId:v,editorValue:String(this.value),editorValid:m,editorDisabled:h.disabled,editorPlaceholder:h.placeholder,children:b,style:p,dir:h.dir}):b},t.displayName="Input",t.propTypes={label:s.string,validationMessage:s.string,required:s.bool,validate:s.bool,id:s.string,ariaLabelledBy:s.string,ariaDescribedBy:s.string,ariaLabel:s.string},t.defaultProps={defaultValue:"",required:!1,validityStyles:!0},t}(l.Component);t.InputWithoutContext=f,t.InputPropsContext=(0,c.createPropsContext)(),t.Input=(0,c.withPropsContext)(t.InputPropsContext,f),t.Input.displayName="KendoReactInput"},7695:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},468:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.SwitchPropsContext=t.Switch=t.SliderPropsContext=t.Slider=t.MaskedTextBoxPropsContext=t.MaskedTextBox=t.InputPropsContext=t.Input=t.ColorPalettePropsContext=t.ColorPalette=t.ColorGradientPropsContext=t.ColorGradient=void 0;var a=n(9070);Object.defineProperty(t,"ColorGradient",{enumerable:!0,get:function(){return a.ColorGradient}}),Object.defineProperty(t,"ColorGradientPropsContext",{enumerable:!0,get:function(){return a.ColorGradientPropsContext}});var i=n(2480);Object.defineProperty(t,"ColorPalette",{enumerable:!0,get:function(){return i.ColorPalette}}),Object.defineProperty(t,"ColorPalettePropsContext",{enumerable:!0,get:function(){return i.ColorPalettePropsContext}}),o(n(2286),t),o(n(5485),t),o(n(2066),t),o(n(7193),t),o(n(2687),t),o(n(3439),t),o(n(6940),t),o(n(5387),t),o(n(3107),t),o(n(1831),t),o(n(2405),t),o(n(8412),t),o(n(4624),t);var l=n(3315);Object.defineProperty(t,"Input",{enumerable:!0,get:function(){return l.Input}}),Object.defineProperty(t,"InputPropsContext",{enumerable:!0,get:function(){return l.InputPropsContext}});var s=n(6015);Object.defineProperty(t,"MaskedTextBox",{enumerable:!0,get:function(){return s.MaskedTextBox}}),Object.defineProperty(t,"MaskedTextBoxPropsContext",{enumerable:!0,get:function(){return s.MaskedTextBoxPropsContext}}),o(n(1855),t),o(n(9896),t),o(n(9206),t),o(n(9429),t),o(n(1715),t),o(n(5306),t),o(n(4206),t);var c=n(6153);Object.defineProperty(t,"Slider",{enumerable:!0,get:function(){return c.Slider}}),Object.defineProperty(t,"SliderPropsContext",{enumerable:!0,get:function(){return c.SliderPropsContext}}),o(n(8510),t),o(n(716),t),o(n(7695),t);var u=n(9363);Object.defineProperty(t,"Switch",{enumerable:!0,get:function(){return u.Switch}}),Object.defineProperty(t,"SwitchPropsContext",{enumerable:!0,get:function(){return u.SwitchPropsContext}}),o(n(338),t),o(n(8485),t),o(n(623),t),o(n(9357),t),o(n(5809),t),o(n(6254),t),o(n(1018),t),o(n(7756),t),o(n(9192),t),o(n(7197),t),o(n(1442),t),o(n(4594),t),o(n(6767),t),o(n(1293),t),o(n(590),t),o(n(2850),t),o(n(5287),t),o(n(9458),t),o(n(3552),t)},6015: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)}),a=this&&this.__assign||function(){return a=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},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.MaskedTextBox=t.MaskedTextBoxPropsContext=t.MaskedTextBoxWithoutContext=void 0;var i=n(3899),l=n(189),s=n(9894),c=n(1789),u=n(3859),d=n(5935),p=n(3859),f=n(7363),h=function(e){function t(t){var n=e.call(this,t)||this;return n.state={},n._inputId="k-".concat((0,u.guid)()),n._service=new s.MaskingService,n._isPasted=!1,n._selection=[null,null],n._input=null,n.focus=function(){n._input&&n._input.focus()},n.pasteHandler=function(e){var t=e.target,r=t.selectionStart,o=t.selectionEnd;o!==r&&(n._isPasted=!0,n._selection=[r||0,o||0])},n.onChangeHandler=function(e){var t=e.currentTarget,r=t.value,o=n._selection[0]||0,a=n._selection[1]||0;if(!n.props.mask)return n._isPasted=!1,n._selection=[null,null],void n.triggerOnChange(r,e);var i,l=n.value;if(n._isPasted){n._isPasted=!1;var s=l.length-a,c=r.length-s;i=n._service.maskInRange(r.slice(o,c),l,o,a)}else i=n._service.maskInput(r,l,t.selectionStart||0);n._selection=[i.selection,i.selection],n.triggerOnChange(i.value,e)},n.focusHandler=function(e){n.state.focused||(n.setState({focused:!0}),n.props.onFocus&&n.props.onFocus.call(void 0,{target:n,syntheticEvent:e,nativeEvent:e.nativeEvent}))},n.blurHandler=function(e){n.state.focused&&(n.setState({focused:!1}),n.props.onBlur&&n.props.onBlur.call(void 0,{target:n,syntheticEvent:e,nativeEvent:e.nativeEvent}))},n.setValidity=function(){n.element&&n.element.setCustomValidity(n.validity.valid?"":n.props.validationMessage||"")},(0,p.validatePackage)(f.packageMetadata),n}return o(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._input},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this._valueDuringOnChange?this._valueDuringOnChange:void 0!==this.props.value?this.props.value:void 0!==this.state.value?this.state.value:void 0!==this.props.defaultValue?this.props.defaultValue:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rawValue",{get:function(){return this._service.rawValue(this.value)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=this.value,t=this._service.validationValue(e);return{customError:void 0!==this.props.validationMessage,valid:void 0!==this.props.valid?this.props.valid:!(this.required&&!t||this.props.maskValidation&&this.props.prompt&&-1!==e.indexOf(this.props.prompt)),valueMissing:!t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){if(this.element&&this.state.focused&&t.focused){var n=this._selection,r=n[0],o=n[1],a=e.selection,i=this.props.selection;(!a&&i||a&&i&&(a.start!==i.start||a.end!==i.end))&&(r=i.start,o=i.end),null!==r&&null!==o&&this.element.setSelectionRange(r,o)}(0,c.maskingChanged)(e,this.props)&&this.updateService(),this.setValidity()},t.prototype.componentDidMount=function(){this.updateService(),this.setValidity()},t.prototype.render=function(){var e,n=this,r=this.props,o=r.size,l=void 0===o?t.defaultProps.size:o,s=r.fillMode,p=void 0===s?t.defaultProps.fillMode:s,f=r.rounded,h=void 0===f?t.defaultProps.rounded:f,v=this.props.id||this._inputId,m=!this.validityStyles||this.validity.valid,g=this.props.style||{},b=i.createElement("span",{dir:this.props.dir,className:(0,u.classNames)("k-maskedtextbox k-input",(e={},e["k-input-".concat(u.kendoThemeMaps.sizeMap[l]||l)]=l,e["k-input-".concat(p)]=p,e["k-rounded-".concat(u.kendoThemeMaps.roundedMap[h]||h)]=h,e["k-invalid"]=!m,e["k-required"]=this.required,e["k-disabled"]=this.props.disabled,e),this.props.className),style:this.props.label?g:a({width:this.props.width},g)},i.createElement("input",{type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,className:"k-input-inner",value:this.value,id:v,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,name:this.props.name,tabIndex:(0,u.getTabIndex)(this.props.tabIndex,this.props.disabled,!0),accessKey:this.props.accessKey,title:this.props.title,disabled:this.props.disabled||void 0,readOnly:this.props.readonly||void 0,placeholder:this.props.placeholder,ref:function(e){return n._input=e},onChange:this.onChangeHandler,onPaste:this.pasteHandler,onFocus:this.focusHandler,onBlur:this.blurHandler,onDragStart:c.returnFalse,onDrop:c.returnFalse}));return this.props.label?i.createElement(d.FloatingLabel,{label:this.props.label,editorId:v,editorValue:this.value,editorValid:m,editorDisabled:this.props.disabled,editorPlaceholder:this.props.placeholder,children:b,style:{width:this.props.width},dir:this.props.dir}):b},t.prototype.triggerOnChange=function(e,t){if(this.setState({value:e}),this.props.onChange){this._valueDuringOnChange=e;var n={syntheticEvent:t,nativeEvent:t.nativeEvent,selectionStart:this._selection[0],selectionEnd:this._selection[1],target:this,value:this.value};this.props.onChange.call(void 0,n),this._valueDuringOnChange=void 0}},t.prototype.updateService=function(e){var t=Object.assign({includeLiterals:this.props.includeLiterals,mask:this.props.mask,prompt:this.props.prompt,promptPlaceholder:this.props.promptPlaceholder,rules:this.rules},e);this._service.update(t)},Object.defineProperty(t.prototype,"rules",{get:function(){return Object.assign({},c.defaultRules,this.props.rules)},enumerable:!1,configurable:!0}),t.displayName="MaskedTextBox",t.propTypes={value:l.string,defaultValue:l.string,placeholder:l.string,title:l.string,dir:l.string,id:l.string,style:l.object,className:l.string,ariaLabelledBy:l.string,ariaDescribedBy:l.string,width:l.oneOfType([l.string,l.number]),tabIndex:l.number,accessKey:l.string,disabled:l.bool,readonly:l.bool,prompt:l.string,promptPlaceholder:l.string,includeLiterals:l.bool,maskValidation:l.bool,mask:l.string,rules:function(e,t,n){var r=e.rules;return void 0===r||Object.entries(r).some((function(e){return"string"!=typeof e||!(r[e]instanceof RegExp)}))?null:new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Validation failed.")},selection:l.shape({start:l.number.isRequired,end:l.number.isRequired}),name:l.string,label:l.string,validationMessage:l.string,required:l.bool,valid:l.bool,validityStyles:l.bool,onChange:l.func,size:l.oneOf([null,"small","medium","large"]),rounded:l.oneOf([null,"small","medium","large","full"]),fillMode:l.oneOf([null,"solid","flat","outline"])},t.defaultProps={prompt:"_",promptPlaceholder:" ",includeLiterals:!1,maskValidation:!0,rules:c.defaultRules,required:!1,validityStyles:!0,size:"medium",rounded:"medium",fillMode:"solid"},t}(i.Component);t.MaskedTextBoxWithoutContext=h,t.MaskedTextBoxPropsContext=(0,u.createPropsContext)(),t.MaskedTextBox=(0,u.withPropsContext)(t.MaskedTextBoxPropsContext,h),t.MaskedTextBox.displayName="KendoReactMaskedTextBox"},1855:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},9894:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MaskingService=void 0;var r=n(7797),o=n(9014),a=function(){function e(){this.rules={},this.prompt="_",this.mask="",this.promptPlaceholder=" ",this.includeLiterals=!1,this.maskTokens=[],this.unmaskTokens=[],this.rawTokens=[],this.validationTokens=[]}return e.prototype.update=function(e){var t=e.mask,n=void 0===t?"":t,r=e.prompt,o=void 0===r?"":r,a=e.promptPlaceholder,i=void 0===a?" ":a,l=e.rules,s=void 0===l?{}:l,c=e.includeLiterals,u=void 0!==c&&c;this.mask=n,this.prompt=o,this.promptPlaceholder=i,this.rules=s,this.includeLiterals=u,this.tokenize()},e.prototype.validationValue=function(e){void 0===e&&(e="");var t=e;return(0,r.sequence)(this.validationTokens).run(e).fold((function(e){t=e.join("")})),t},e.prototype.rawValue=function(e){void 0===e&&(e="");var t=e;return this.rawTokens.length?((0,r.sequence)(this.rawTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskRaw=function(e){void 0===e&&(e="");var t=e;return this.maskTokens.length?((0,r.sequence)(this.maskTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskInput=function(e,t,n){return e.length<t.length?this.maskRemoved(e,t,n):this.maskInserted(e,t,n)},e.prototype.maskInRange=function(e,t,n,o){var a="",i=o,l=t.split("").slice(0,n),s=t.split("").slice(o);return(0,r.sequence)(this.maskTokens.slice(n,o)).run(e).fold((function(e){a=l.concat(e).concat(s).join("")})),{selection:i,value:a}},e.prototype.maskRemoved=function(e,t,n){var o=this,a="",i=n,l=e.split("").slice(n),s=e.split("").slice(0,n).join(""),c=this.maskTokens.length-(e.length-n);return(0,r.sequence)(this.maskTokens.slice(0,c)).run(s,t).fold((function(e){i=o.adjustPosition(e,i),a=e.concat(l).join("")})),{selection:i,value:a}},e.prototype.adjustPosition=function(e,t){var n=e[t];return this.maskTokens[t].isLiteral(n)||n===this.prompt?t:t+1},e.prototype.maskInserted=function(e,t,n){var o=this,a="",i=n,l=e.slice(0,n);return(0,r.sequence)(this.unmaskTokens).run(l,t).chain((function(e){i=e.join("").length;var n=t.slice(i);return(0,r.sequence)(o.maskTokens).run(e.join("")+n,t)})).fold((function(e){a=e.join("")})),{selection:i,value:a}},Object.defineProperty(e.prototype,"maskTokenCreator",{get:function(){var e=this.prompt,t=this.promptPlaceholder;return{literal:function(e){return(0,o.literal)(e)},mask:function(n){return(0,o.mask)({prompt:e,promptPlaceholder:t})(n)}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unmaskTokenCreator",{get:function(){var e=this;return{literal:function(e){return(0,o.unliteral)(e)},mask:function(t){return(0,o.unmask)(e.prompt)(t)}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rawTokenCreator",{get:function(){var e=this,t=e.prompt,n=e.promptPlaceholder,r=e.includeLiterals;return{literal:function(e){return(0,o.rawLiteral)(r)},mask:function(e){return(0,o.rawMask)({prompt:t,promptPlaceholder:n})}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"validationTokenCreator",{get:function(){var e=this.prompt;return{literal:function(e){return(0,o.rawLiteral)(!1)},mask:function(t){return(0,o.rawMask)({prompt:e,promptPlaceholder:""})}}},enumerable:!1,configurable:!0}),e.prototype.tokenize=function(){var e=this;(0,r.greedy)((0,o.token)(this.rules,this.maskTokenCreator)).run(this.mask).fold((function(t,n){e.maskTokens=t})),(0,r.greedy)((0,o.token)(this.rules,this.unmaskTokenCreator)).run(this.mask).fold((function(t,n){e.unmaskTokens=t})),(0,r.greedy)((0,o.token)(this.rules,this.rawTokenCreator)).run(this.mask).fold((function(t,n){e.rawTokens=t})),(0,r.greedy)((0,o.token)(this.rules,this.validationTokenCreator)).run(this.mask).fold((function(t,n){e.validationTokens=t}))},e}();t.MaskingService=a},7797:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.greedy=t.sequence=void 0;var r=n(9014),o=n(1934);t.sequence=function(e){return e.reduce((function(e,t){return n=t,e.chain((function(e){return n.map((function(t){return e.concat([t])}))}));var n}),(t=[],new r.Parser((function(e){return new o.Result(t,e)}))));var t},t.greedy=function(e){return new r.Parser((function(t){for(var n=new o.Result([],t);!t.eof();)n=n.concat(e.run(t));return n}))}},9014:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.rawLiteral=t.rawMask=t.token=t.unliteral=t.unmask=t.literal=t.mask=t.Parser=void 0;var r=n(1934),o=n(5923),a=function(e){return(e||"").split("")},i=function(){function e(e){this.parse=e}return e.prototype.run=function(e,t){return void 0===t&&(t=""),e instanceof o.Stream?this.parse(e):this.parse(new o.Stream(a(e),a(t)))},e.prototype.map=function(t){var n=this;return new e((function(e){return n.parse(e).map(t)}))},e.prototype.chain=function(t){var n=this;return new e((function(e){return n.parse(e).chain((function(e,n){return t(e).run(n)}))}))},e.prototype.isLiteral=function(e){return this.run(e).type===r.ResultType.Literal},e}();t.Parser=i,t.mask=function(e){return function(t){return new i((function(n){for(var o=e.prompt,a=e.promptPlaceholder;!n.eof();){var i=n.peek(),l=i.char,s=i.control;if(l===s&&s===o)return n.eat(),new r.Result(o,n,r.ResultType.Mask);if(t.test(l))return n.eat(),new r.Result(l,n,r.ResultType.Mask);if(l===a)return n.eat(),new r.Result(o,n,r.ResultType.Mask);n.eat_input()}return n.eat(),new r.Result(o,n,r.ResultType.Mask)}))}},t.literal=function(e){return new i((function(t){return t.peek().char===e?(t.eat(),new r.Result(e,t,r.ResultType.Literal)):new r.Result(e,t,r.ResultType.Literal)}))},t.unmask=function(e){return function(t){return new i((function(n){for(;!n.eof();){var o=n.peek(),a=o.char,i=o.control;if(a===e&&i===e)return n.eat(),new r.Result(a,n);if(t.test(a))return n.eat(),new r.Result(a,n);n.eat_input()}return n.eat(),new r.Result("",n)}))}},t.unliteral=function(e){return new i((function(t){return t.eof()?new r.Result("",t):(t.peek().char===e&&t.eat(),new r.Result(e,t))}))},t.token=function(e,t){return new i((function(n){var o=n.next().char,a=e[o];return"\\"===o?(o=n.next().char,new r.Result(t.literal(o),n)):a?new r.Result(t.mask(a),n):new r.Result(t.literal(o),n)}))},t.rawMask=function(e){return new i((function(t){var n=e.prompt,o=e.promptPlaceholder,a=t.next().char;return a===n?new r.Result(o,t):new r.Result(a,t)}))},t.rawLiteral=function(e){return new i((function(t){var n=t.next().char;return e?new r.Result(n,t):new r.Result("",t)}))}},1934:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Result=t.ResultType=void 0,function(e){e[e.Literal=0]="Literal",e[e.Mask=1]="Mask",e[e.Undefined=2]="Undefined"}(n=t.ResultType||(t.ResultType={}));var r=function(){function e(e,t,r){void 0===r&&(r=n.Undefined),this.value=e,this.rest=t,this.type=r}return e.prototype.map=function(t){return new e(t(this.value),this.rest)},e.prototype.chain=function(e){return e(this.value,this.rest)},e.prototype.fold=function(e,t){return e(this.value,this.rest)},e.prototype.concat=function(e){return this.map((function(t,n){return e.chain((function(e,n){return t.concat([e])}))}))},e.prototype.toString=function(){return"Result({ value: '".concat(this.value,"', rest: ").concat(this.rest," })")},e}();t.Result=r},5923:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Stream=void 0;var n=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]),this.input=e,this.control=t,this.inputCursor=0,this.controlCursor=0}return e.prototype.eof=function(){return this.inputCursor>=this.input.length},e.prototype.next=function(){return{char:this.input[this.inputCursor++],control:this.control[this.controlCursor++]}},e.prototype.peek=function(){return{char:this.input[this.inputCursor],control:this.control[this.controlCursor]}},e.prototype.eat_input=function(){this.inputCursor++},e.prototype.eat_control=function(){this.controlCursor++},e.prototype.eat=function(){this.inputCursor++,this.controlCursor++},e}();t.Stream=n},1789:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.returnFalse=t.maskingChanged=t.defaultRules=void 0,t.defaultRules={"#":/[\d\s\+\-]/,"&":/[\S]/,0:/[\d]/,9:/[\d\s]/,"?":/[a-zA-Z\s]/,A:/[a-zA-Z0-9]/,C:/./,L:/[a-zA-Z]/,a:/[a-zA-Z0-9\s]/},t.returnFalse=function(){return!1},t.maskingChanged=function(e,t){return e.includeLiterals!==t.includeLiterals||e.mask!==t.mask||e.prompt!==t.prompt||e.promptPlaceholder!==t.promptPlaceholder||!n(e.rules,t.rules)};var n=function(e,t){if(!!e!=!!t)return!1;if(e===t||!e||!t)return!0;var n=!0;for(var r in e)if(e[r]!==t[r]){n=!1;break}if(n)for(var r in t)if(!e.hasOwnProperty(r)){n=!1;break}return n}},3364:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.messages=t.ratingAriaLabel=t.colorPickerDropdownButtonAriaLabel=t.switchValidation=t.radioButtonValidation=t.checkboxOptionalText=t.checkboxValidation=t.flatColorPickerApplyBtn=t.flatColorPickerCancelBtn=t.colorGradientToggleInputsButton=t.colorGradientAlphaSliderLabel=t.colorGradientHueSliderLabel=t.colorGradientFail=t.colorGradientPass=t.colorGradientAAALevel=t.colorGradientAALevel=t.colorGradientContrastRatio=t.colorGradientHex=t.colorGradientA=t.colorGradientB=t.colorGradientG=t.colorGradientR=t.sliderDragTitle=t.sliderDecreaseValue=t.sliderIncreaseValue=t.numericDecreaseValue=t.numericIncreaseValue=void 0,t.numericIncreaseValue="numerictextbox.increment",t.numericDecreaseValue="numerictextbox.decrement",t.sliderIncreaseValue="slider.increment",t.sliderDecreaseValue="slider.decrement",t.sliderDragTitle="slider.dragTitle",t.colorGradientR="colorGradient.r",t.colorGradientG="colorGradient.g",t.colorGradientB="colorGradient.b",t.colorGradientA="colorGradient.a",t.colorGradientHex="colorGradient.hex",t.colorGradientContrastRatio="colorGradient.contrastRatio",t.colorGradientAALevel="colorGradient.colorGradientAALevel",t.colorGradientAAALevel="colorGradient.colorGradientAAALevel",t.colorGradientPass="colorGradient.colorGradientPass",t.colorGradientFail="colorGradient.colorGradientFail",t.colorGradientHueSliderLabel="colorGradient.hueSliderLabel",t.colorGradientAlphaSliderLabel="colorGradient.alphaSliderLabel",t.colorGradientToggleInputsButton="colorGradient.toggleInputsButton",t.flatColorPickerCancelBtn="flatColorPicker.cancelBtn",t.flatColorPickerApplyBtn="flatColorPicker.applyBtn",t.checkboxValidation="checkbox.validation",t.checkboxOptionalText="checkbox.optionalText",t.radioButtonValidation="radioButton.validation",t.switchValidation="switch.validation",t.colorPickerDropdownButtonAriaLabel="colorPicker.dropdownButtonAriaLabel",t.ratingAriaLabel="rating.ariaLabel",t.messages=((n={})[t.numericIncreaseValue]="Increase value",n[t.numericDecreaseValue]="Decrease value",n[t.sliderIncreaseValue]="Increase",n[t.sliderDecreaseValue]="Decrease",n[t.sliderDragTitle]="Drag",n[t.colorGradientR]="r",n[t.colorGradientG]="g",n[t.colorGradientB]="b",n[t.colorGradientA]="a",n[t.colorGradientHex]="hex",n[t.colorGradientContrastRatio]="Contrast ratio",n[t.colorGradientAALevel]="AA",n[t.colorGradientAAALevel]="AAA",n[t.colorGradientPass]="Pass",n[t.colorGradientFail]="Fail",n[t.colorGradientHueSliderLabel]="Hue slider",n[t.colorGradientAlphaSliderLabel]="Alpha slider",n[t.colorGradientToggleInputsButton]="Toggle colorgradient inputs",n[t.flatColorPickerCancelBtn]="Cancel",n[t.flatColorPickerApplyBtn]="Apply",n[t.checkboxValidation]="Please check this box if you want to proceed!",n[t.checkboxOptionalText]="(Optional)",n[t.radioButtonValidation]="Please select option if you want to proceed!",n[t.switchValidation]="Please turn on if you want to proceed!",n[t.colorPickerDropdownButtonAriaLabel]="Select",n[t.ratingAriaLabel]="Rating",n)},9896:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.NumericTextBox=t.NumericTextBoxPropsContext=void 0;var o=n(3899),a=n(189),i=n(499),l=n(3859),s=n(5935),c=n(3859),u=n(7363),d=n(3364),p=n(61),f=n(784);t.NumericTextBoxPropsContext=(0,l.createPropsContext)(),t.NumericTextBox=o.forwardRef((function(e,n){var a;(0,c.validatePackage)(u.packageMetadata);var h=(0,l.usePropsContext)(t.NumericTextBoxPropsContext,e),v=o.useMemo((function(){return(0,l.guid)()}),[]),m=h.id||v,g=(0,i.useInternationalization)(),b=(0,i.useLocalization)(),y=o.useRef(null),k=o.useRef(),C=o.useState(!1),x=C[0],O=C[1],w=o.useRef((0,p.getInitialState)()),E=o.useRef(!1),P=o.useRef(),_=o.useRef(h.defaultValue),S=(0,p.formatValue)(w.current.focused&&!h.disabled?w.current.currentLooseValue:(0,p.getStateOrPropsValue)(h.value,_.current),h.format,g);P.current=S,o.useEffect((function(){y.current&&y.current.setCustomValidity&&y.current.setCustomValidity(D().valid?"":h.validationMessage||"Please enter a valid value!")}));var N=o.useCallback((function(){y.current&&y.current.focus()}),[]),R=o.useCallback((function(){return void 0!==k.current?k.current:(0,p.getStateOrPropsValue)(h.value,_.current)}),[h.value]),I=o.useCallback((function(){return h.name}),[h.name]),M=o.useCallback((function(){return h.required}),[h.required]),D=o.useCallback((function(){var e=void 0!==h.validationMessage,t=R();return{customError:e,valid:void 0!==h.valid?h.valid:!(w.current.valueIsOutOfRange||M()&&null==t),valueMissing:null==t}}),[h.validationMessage,h.valid,R,M]),T=o.useCallback((function(){return h.validityStyles}),[h.validityStyles]),A=o.useCallback((function(){return h}),[h]),L=o.useCallback((function(){var e={element:y.current,focus:N};return Object.defineProperty(e,"name",{get:I}),Object.defineProperty(e,"value",{get:R}),Object.defineProperty(e,"validity",{get:D}),Object.defineProperty(e,"validityStyles",{get:T}),Object.defineProperty(e,"required",{get:M}),Object.defineProperty(e,"props",{get:A}),e}),[I,R,D,T,M,N,A]);o.useImperativeHandle(n,L);var j=o.useCallback((function(){return{eventValue:(0,p.getStateOrPropsValue)(h.value,_.current),prevLooseValue:P.current,currentLooseValue:y.current.value,selectionStart:y.current.selectionStart,selectionEnd:y.current.selectionEnd,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1,isPaste:E.current,focused:w.current.focused}}),[h.value]),B=o.useCallback((function(e,t){if(!h.disabled){k.current=t.eventValue,_.current=t.eventValue;var n=(0,p.formatValue)((0,p.rangeValue)(t.eventValue,h.min,h.max),h.format,g),r=(0,p.rangeValue)(g.parseNumber(n,h.format),h.min,h.max);r!==t.eventValue&&(t.valueIsOutOfRange=!0,t.eventValue=r,_.current=r),h.value!==t.eventValue&&(0,l.dispatchEvent)(h.onChange,e,L(),{value:t.eventValue}),k.current=void 0,w.current=t,O((function(e){return!e}))}}),[h.value,h.onChange,h.disabled,O,L]),V=o.useCallback((function(e){var t=j();E.current=!1,B(e,(0,p.sanitizeNumber)(t,h.format,g))}),[h.format,h.onChange,g,B,j]),F=o.useCallback((function(e){var t=j(),n=g.parseNumber(String(t.currentLooseValue),h.format);if(t.selectionEnd>t.selectionStart&&t.selectionEnd-t.selectionStart===String(t.currentLooseValue).length)E.current=!0;else{switch(e.keyCode){case 38:(0,p.increaseValue)(n,t,h.step,h.min,h.max,h.format,g);break;case 40:(0,p.decreaseValue)(n,t,h.step,h.min,h.max,h.format,g);break;case 13:if(!1===h.rangeOnEnter)return;var r=(0,p.formatValue)((0,p.rangeValue)(n,h.min,h.max),h.format,g),o=(0,p.rangeValue)(g.parseNumber(r,h.format),h.min,h.max);t.eventValue=o,t.currentLooseValue=(0,p.formatValue)(o,h.format,g),t.selectionStart=t.selectionEnd=t.currentLooseValue.length;break;case 110:var a=y.current,i=g.numberSymbols();a&&(t.currentLooseValue=t.currentLooseValue.slice(0,t.selectionStart)+i.decimal+t.currentLooseValue.slice(t.selectionEnd),t.selectionStart=t.selectionEnd=t.selectionStart+1,t=(0,p.sanitizeNumber)(t,h.format,g));break;default:return}e.preventDefault(),B(e,t)}}),[h.format,h.min,h.max,h.step,h.onChange,h.rangeOnEnter,B,j]),z=o.useCallback((function(){E.current=!0}),[]),G=o.useCallback((function(e){if(!h.readOnly&&!h.disabled){var t=j();(0,p.increaseValue)(g.parseNumber(String(t.currentLooseValue),h.format),t,h.step,h.min,h.max,h.format,g),B(e,t)}}),[h.format,h.min,h.max,h.step,h.onChange,h.readOnly,h.disabled,B,j]),K=o.useCallback((function(e){if(!h.readOnly&&!h.disabled){var t=j();(0,p.decreaseValue)(g.parseNumber(String(t.currentLooseValue),h.format),t,h.step,h.min,h.max,h.format,g),B(e,t)}}),[h.format,h.min,h.max,h.step,h.onChange,h.readOnly,h.disabled,B,j]),H=o.useCallback((function(e){document&&document.activeElement===y.current&&y.current&&!h.readOnly&&!h.disabled&&(e.nativeEvent.deltaY<0&&G(e),e.nativeEvent.deltaY>0&&K(e))}),[G,K,h.disabled,h.readOnly]),U=o.useCallback((function(e){w.current.currentLooseValue=P.current,w.current.focused=!0,(0,l.dispatchEvent)(h.onFocus,e,L(),{}),O((function(e){return!e}))}),[h.onFocus,O,L]),W=o.useCallback((function(e){w.current=(0,p.getInitialState)(),(0,l.dispatchEvent)(h.onBlur,e,L(),{}),O((function(e){return!e}))}),[h.onBlur,O,L]),q=o.useCallback((function(e){document&&y.current&&(e.preventDefault(),document.activeElement!==y.current&&y.current.focus())}),[]);o.useLayoutEffect((function(){y.current&&void 0!==w.current.selectionStart&&void 0!==w.current.selectionEnd&&(y.current.selectionStart=w.current.selectionStart,y.current.selectionEnd=w.current.selectionEnd,w.current.selectionStart=void 0,w.current.selectionEnd=void 0)}),[x]);var X=!T()||D().valid,Y=o.createElement("span",{dir:h.dir,style:h.label?h.style:r({width:h.width},h.style),className:(0,l.classNames)("k-input","k-numerictextbox",(a={},a["k-input-".concat(l.kendoThemeMaps.sizeMap[h.size]||h.size)]=h.size,a["k-input-".concat(h.fillMode)]=h.fillMode,a["k-rounded-".concat(l.kendoThemeMaps.roundedMap[h.rounded]||h.rounded)]=h.rounded,a["k-invalid"]=!X,a["k-required"]=h.required,a["k-disabled"]=h.disabled,a),h.className),"aria-disabled":h.disabled?"true":void 0},o.createElement("input",{value:null===S?"":S,tabIndex:(0,l.getTabIndex)(h.tabIndex,h.disabled),accessKey:h.accessKey,disabled:h.disabled,title:h.title,"aria-valuemin":h.min,"aria-valuemax":h.max,"aria-label":h.ariaLabel,"aria-labelledby":h.ariaLabelledBy,"aria-describedby":h.ariaDescribedBy,placeholder:h.placeholder,spellCheck:!1,autoComplete:"off",autoCorrect:"off",type:h.inputType||"tel",className:"k-input-inner",id:m,name:h.name,readOnly:h.readOnly,style:h.inputStyle,onChange:V,onFocus:U,onBlur:W,onKeyDown:F,onPaste:z,onWheel:H,ref:y}),h.children,h.spinners&&o.createElement("span",{className:"k-input-spinner k-spin-button",onMouseDown:q},o.createElement(f.Button,{tabIndex:-1,type:"button",icon:"arrow-n",rounded:null,className:"k-spinner-increase","aria-label":b.toLanguageString(d.numericIncreaseValue,d.messages[d.numericIncreaseValue]),title:b.toLanguageString(d.numericIncreaseValue,d.messages[d.numericIncreaseValue]),onClick:G}),o.createElement(f.Button,{tabIndex:-1,type:"button",icon:"arrow-s",rounded:null,className:"k-spinner-decrease","aria-label":b.toLanguageString(d.numericDecreaseValue,d.messages[d.numericDecreaseValue]),title:b.toLanguageString(d.numericDecreaseValue,d.messages[d.numericDecreaseValue]),onClick:K})));return h.label?o.createElement(s.FloatingLabel,{label:h.label,editorId:m,editorValue:null===S?"":S,editorValid:X,editorDisabled:h.disabled,editorPlaceholder:h.placeholder,children:Y,style:{width:h.width},dir:h.dir}):Y})),t.NumericTextBox.propTypes={value:a.number,defaultValue:a.number,step:a.number,format:a.oneOfType([a.string,a.shape({style:a.oneOf(["decimal","currency","percent","scientific","accounting"]),currency:a.string,currencyDisplay:a.oneOf(["symbol","code","name"]),useGrouping:a.bool,minimumIntegerDigits:a.number,minimumFractionDigits:a.number,maximumFractionDigits:a.number})]),width:a.oneOfType([a.string,a.number]),tabIndex:a.number,accessKey:a.string,title:a.string,placeholder:a.string,min:a.number,max:a.number,spinners:a.bool,disabled:a.bool,readOnly:a.bool,dir:a.string,name:a.string,label:a.string,validationMessage:a.string,required:a.bool,id:a.string,rangeOnEnter:a.bool,ariaLabelledBy:a.string,ariaDescribedBy:a.string,ariaLabel:a.string,onChange:a.func,onFocus:a.func,onBlur:a.func,size:a.oneOf([null,"small","medium","large"]),rounded:a.oneOf([null,"small","medium","large","full"]),fillMode:a.oneOf([null,"solid","flat","outline"])},t.NumericTextBox.displayName="KendoNumericTextBox",t.NumericTextBox.defaultProps={step:1,spinners:!0,disabled:!1,required:!1,validityStyles:!0,rangeOnEnter:!0,onChange:function(e){},onFocus:function(e){},onBlur:function(e){},size:"medium",rounded:"medium",fillMode:"solid"}},1715:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},9429:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},5306:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},9206:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},4206:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},61:function(e,t){var n=this&&this.__assign||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)};Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeNumber=t.changeBasedSelection=t.getDecimalCount=t.getFirstNumberIndex=t.getSuffix=t.getPrefix=t.getLastNumberIndex=t.reverseString=t.getInitialPosition=t.getFormatSymbols=t.getFormatPrefixSufix=t.isDecimalDuplicated=t.isMinusSymbolRemoved=t.isMinusSymbolAdded=t.setInvalid=t.setSelection=t.rangeSelection=t.getMinCursorPosition=t.getMaxCursorPosition=t.rangeValue=t.decreaseValue=t.increaseValue=t.toFixedPrecision=t.limitPrecision=t.fractionLength=t.formatValue=t.getStateOrPropsValue=t.getInitialState=void 0;var r=1111111.1111111,o=/\d/;t.getInitialState=function(){return{eventValue:null,prevLooseValue:"",currentLooseValue:"",focused:!1,selectionStart:void 0,selectionEnd:void 0,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1}},t.getStateOrPropsValue=function(e,t){return void 0!==e?e:t},t.formatValue=function(e,t,n){return null===e&&void 0===e?"":"string"==typeof e?e:n.formatNumber(e,t)},t.fractionLength=function(e){return(String(e).split(".")[1]||"").length};var a=function(e,n){return Math.max((0,t.fractionLength)(e),(0,t.fractionLength)(n))};t.limitPrecision=function(e){return Math.min(e,15)},t.toFixedPrecision=function(e,n){var r=(0,t.limitPrecision)(n);return parseFloat(e.toFixed(r))},t.increaseValue=function(e,n,r,i,l,s,c){var u=a(e||0,r||0),d=(0,t.rangeValue)((0,t.toFixedPrecision)((e||0)+(r||0),u),i,l);n.eventValue=d,n.currentLooseValue=(0,t.formatValue)(d,s,c),n.selectionStart=n.selectionEnd=(0,t.getLastNumberIndex)(n.currentLooseValue,o)},t.decreaseValue=function(e,n,r,i,l,s,c){var u=a(e||0,r||0),d=(0,t.rangeValue)((0,t.toFixedPrecision)((e||0)-(r||0),u),i,l);n.eventValue=d,n.currentLooseValue=(0,t.formatValue)(d,s,c),n.selectionStart=n.selectionEnd=(0,t.getLastNumberIndex)(n.currentLooseValue,o)},t.rangeValue=function(e,t,n){return null==e?e:e>1||e<1||1===e?void 0!==n&&void 0!==t&&n<t?null:(void 0!==n&&e>n&&(e=n),void 0!==t&&e<t&&(e=t),e):null},t.getMaxCursorPosition=function(e,t){var n=t.findIndex((function(t){t[0];var n=t[1];return Boolean(n)&&e.indexOf(n)===e.length-n.length}));if(-1===n)return-1;var r=t[n][1];return e.length-r.length},t.getMinCursorPosition=function(e,t){var n=t.findIndex((function(t){var n=t[0];return t[1],Boolean(n)&&0===e.indexOf(n)}));return-1===n?-1:t[n][0].length},t.rangeSelection=function(e,n,r){var o=(0,t.getMaxCursorPosition)(e,n);if(-1!==o&&r.selectionStart>o)r.selectionStart=r.selectionEnd=o;else{r.selectionStart>e.length&&(r.selectionStart=r.selectionEnd=e.length);var a=(0,t.getMinCursorPosition)(e,n);-1!==a&&r.selectionStart<a&&(r.selectionStart=r.selectionEnd=a),-1===r.selectionStart&&(r.selectionStart=r.selectionEnd=0)}},t.setSelection=function(e,n,r,o){e.selectionStart=e.selectionEnd=n,(0,t.rangeSelection)(r,o,e)},t.setInvalid=function(e,n,r,o){e.eventValue=o.parseNumber(e.prevLooseValue,n),e.currentLooseValue=e.prevLooseValue,e.valueIsCorrected=!0,(0,t.setSelection)(e,e.selectionStart,e.currentLooseValue,r)},t.isMinusSymbolAdded=function(e,t){var n=String(e.currentLooseValue),r=String(e.prevLooseValue);return n.split(t.minusSign).length!==r.split(t.minusSign).length&&n.length===r.length+t.minusSign.length},t.isMinusSymbolRemoved=function(e,t){var n=String(e.currentLooseValue),r=String(e.prevLooseValue);return-1===n.indexOf(t.minusSign)&&-1!==r.indexOf(t.minusSign)},t.isDecimalDuplicated=function(e,t){return String(e.currentLooseValue).split(t.decimal).length>2},t.getFormatPrefixSufix=function(e,n){var o=n.formatNumber(r,e),a=n.formatNumber(-r,e),i=n.formatNumber(0,e),l=n.formatNumber(1,e),s=(0,t.getPrefix)(o),c=(0,t.getPrefix)(a),u=(0,t.getPrefix)(i),d=(0,t.getPrefix)(l);return{positiveInfo:[s,(0,t.getSuffix)(o)],negativeInfo:[c,(0,t.getSuffix)(a)],zeroInfo:[u,(0,t.getSuffix)(i)],oneInfo:[d,(0,t.getSuffix)(l)]}},t.getFormatSymbols=function(e,t){var n=t.formatNumber(r,e),o=t.formatNumber(-r,e),a=t.formatNumber(0,e),i=t.formatNumber(1,e),l=t.numberSymbols(),s=new RegExp("[\\d\\".concat(l.decimal).concat(l.group,"]"),"g");return[n,o,a,i].map((function(e){return e.replace(s,"")})).join("").split("").filter((function(e,t,n){return n.indexOf(e)===t})).join("")},t.getInitialPosition=function(e,n){var r=e.indexOf(n.decimal);return r>-1?r:(0,t.getLastNumberIndex)(e,o)},t.reverseString=function(e){return e.split("").reverse().join("")},t.getLastNumberIndex=function(e,n){return e.length-(0,t.reverseString)(e).search(n)},t.getPrefix=function(e){return e.split(e[e.search(o)])[0]},t.getSuffix=function(e){var n=(0,t.reverseString)(e);return(0,t.reverseString)(n.split(n[n.search(o)])[0])},t.getFirstNumberIndex=function(e,t){return e.search(t)},t.getDecimalCount=function(e,t){var n=e.indexOf(t);return n>-1?e.length-n-1:0},t.changeBasedSelection=function(e,t,n,r,a){var i="0"===e.replace(a,"")[0],l="0"===t.replace(a,"")[0];if(i&&!l)return n-1;if(l&&r)return n+1;for(var s=0,c=0;c<n;c++)o.test(e.charAt(c))&&s++;for(var u=0;s>0&&t.length>u;)o.test(t.charAt(u))&&s--,u++;return u},t.sanitizeNumber=function(e,r,a){var i=n({},e),l=i.prevLooseValue,s=a.numberSymbols(),c=(0,t.getFormatSymbols)(r,a),u=String(i.currentLooseValue),d=String(l),p=new RegExp("[^\\d\\".concat(s.decimal,"]"),"g"),f=new RegExp("[^\\d\\".concat(s.decimal,"\\").concat(s.group,"]"),"g"),h=new RegExp("[\\d\\".concat(s.decimal,"\\").concat(s.group,"]")),v=u.replace(p,""),m=(0,t.getFirstNumberIndex)(u,o),g=-1===m?-1:(0,t.getLastNumberIndex)(u,o),b=u.indexOf(s.decimal),y=(u.substring(0,m)+u.substring(m,g).replace(f,"")+u.substring(g,u.length)).split("").filter((function(e){return-1!==c.indexOf(e)||-1!==e.search(h)})).join(""),k=a.formatNumber(.31111111111111117,r).replace(p,""),C=k.indexOf(s.decimal),x=C>-1?k.length-C-1:0,O=a.formatNumber(1,r).replace(p,""),w=O.indexOf(s.decimal),E=w>-1?O.length-w-1:0,P=(0,t.getFormatPrefixSufix)(r,a),_=[P.positiveInfo,P.negativeInfo,P.zeroInfo,P.oneInfo],S=1!==_.findIndex((function(e){return-1!==e.findIndex((function(e){return Boolean(e)}))})),N=u.length>0&&u.length<d.length,R="string"==typeof r&&"p"===r[0]&&u&&-1===u.indexOf(s.percentSign);if(!i.isPaste){if(""===u)return i.eventValue=null,i.currentLooseValue="",i;if(i.currentLooseValue===s.minusSign&&a.formatNumber(-0,r)!==d)return i.eventValue=-0,i.currentLooseValue=(0,t.formatValue)(i.eventValue,r,a),(0,t.setSelection)(i,(0,t.getInitialPosition)(i.currentLooseValue,s),i.currentLooseValue,_),i;if((0,t.isMinusSymbolAdded)(i,s)){var I=a.parseNumber(l,r);i.eventValue=-(null!==I?I:0),i.currentLooseValue=(0,t.formatValue)(i.eventValue,r,a);var M=(0,t.getFirstNumberIndex)(i.currentLooseValue,o),D=(0,t.getFirstNumberIndex)(d,o);return(0,t.setSelection)(i,i.selectionEnd-1+(M-D),i.currentLooseValue,_),i}if((0,t.isMinusSymbolRemoved)(i,s))return i.eventValue=a.parseNumber(i.currentLooseValue,r),(0,t.setSelection)(i,i.selectionStart,i.currentLooseValue,_),i;if(i.currentLooseValue===s.decimal){i.eventValue=0;var T=(0,t.formatValue)(i.eventValue,r,a);if(0===E&&x>0){var A=(0,t.getLastNumberIndex)(T,o);i.currentLooseValue=T.substring(0,A)+s.decimal+T.substring(A)}else i.currentLooseValue=T;return(0,t.setSelection)(i,(0,t.getInitialPosition)(i.currentLooseValue,s)+1,i.currentLooseValue,_),i}if((0,t.isDecimalDuplicated)(i,s))return(0,t.setInvalid)(i,r,_,a),i;if(R)return i.eventValue=a.parseNumber(u,r)/100,i.currentLooseValue=(0,t.formatValue)(i.eventValue,r,a),i;if(String(i.currentLooseValue).replace(/[^\d]/g,"").length>15)return(0,t.setInvalid)(i,r,_,a),i;if(v!==u&&u&&S){var L=_.findIndex((function(e){var t=e[0],n=e[1],r=u.indexOf(t),o=u.indexOf(n),a=0===r,i=o===u.length-n.length,l=r+t.length!==m&&-1!==m&&u[r+t.length]!==s.decimal,c=o!==g&&-1!==g&&u[o-1]!==s.decimal;return t&&n?!l&&!c&&a&&i:t?!l&&a:!!n&&!c&&i}));if(-1===L)return(0,t.setInvalid)(i,r,_,a),i}if(v[v.length-1]===s.decimal&&x>0)return i.eventValue=a.parseNumber(u,r),i.currentLooseValue=y,i;if(i.currentLooseValue&&l&&(c+s.decimal+s.group).split("").findIndex((function(e){return u.split("").filter((function(t){return t===e})).length<d.split("").filter((function(t){return t===e})).length&&u.length+1===d.length&&(e!==s.decimal||0!==(0,t.getDecimalCount)(d.replace(p,""),s.decimal))}))>-1)return i.eventValue=a.parseNumber(e.prevLooseValue,r),i.currentLooseValue=e.prevLooseValue,i;var j=(0,t.getDecimalCount)(v,s.decimal),B="0"===v[v.length-1];if(N&&B&&j<E)return i.eventValue=a.parseNumber(i.currentLooseValue,r),i.currentLooseValue=(0,t.formatValue)(i.eventValue,r,a),i;if(j>0){var V=u.substring(0,b);if(B&&(!V||0!==d.indexOf(V))){i.eventValue=a.parseNumber(i.currentLooseValue,r);var F=(0,t.formatValue)(i.eventValue,r,a);return(0,t.setSelection)(i,(0,t.changeBasedSelection)(u,F,i.selectionEnd,N,p),F,_),i.currentLooseValue=F,i}if(j>x){var z=u.indexOf(s.decimal),G=u.substring(0,z)+u.substring(z,z+1+x)+u.substring(g,String(i.currentLooseValue).length);return i.eventValue=a.parseNumber(G,r),i.currentLooseValue=G,(0,t.setSelection)(i,i.selectionStart,G,_),i}if(E!==x&&j<=x&&B)return i.eventValue=a.parseNumber(i.currentLooseValue,r),i.currentLooseValue=y,i;if(j<E)return i.eventValue=a.parseNumber(i.currentLooseValue,r),i.currentLooseValue=(0,t.formatValue)(i.eventValue,r,a),i}}return i.eventValue=a.parseNumber(i.currentLooseValue,r),R&&(i.eventValue=i.eventValue/100),"number"==typeof i.eventValue?(F=(0,t.formatValue)(i.eventValue,r,a),1===u.length?(0,t.setSelection)(i,(0,t.getInitialPosition)(F,s),F,_):(0,t.setSelection)(i,(0,t.changeBasedSelection)(u,F,i.selectionEnd,N,p),F,_),i.currentLooseValue=F):i.currentLooseValue=(0,t.formatValue)(a.parseNumber(v),r,a),i}},7363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-inputs",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1660026228,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"}},9192:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=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.RadioButton=t.RadioButtonPropsContext=void 0;var a=n(3899),i=n(189),l=n(3859),s=n(3859),c=n(7363);t.RadioButtonPropsContext=(0,l.createPropsContext)(),t.RadioButton=a.forwardRef((function(e,n){var i;(0,s.validatePackage)(c.packageMetadata);var u=(0,l.usePropsContext)(t.RadioButtonPropsContext,e),d=u.ariaDescribedBy,p=u.checked,f=u.children,h=u.className,v=u.disabled,m=u.id,g=u.size,b=u.label,y=u.labelPlacement,k=u.name,C=u.style,x=u.tabIndex,O=u.value,w=u.valid,E=u.onChange,P=u.onFocus,_=u.onBlur,S=o(u,["ariaDescribedBy","checked","children","className","disabled","id","size","label","labelPlacement","name","style","tabIndex","value","valid","onChange","onFocus","onBlur"]),N=a.useRef(null),R=a.useCallback((function(){N.current&&N.current.focus()}),[]),I=a.useCallback((function(){return{element:N.current,focus:R}}),[R]);a.useImperativeHandle(n,I);var M=a.useMemo((function(){return(0,l.guid)()}),[]),D=a.useCallback((function(e){(0,l.dispatchEvent)(E,e,I(),{value:O})}),[E,O,v]),T=a.useCallback((function(e){P&&!v&&(0,l.dispatchEvent)(P,e,I(),void 0)}),[P,v]),A=a.useCallback((function(e){_&&!v&&(0,l.dispatchEvent)(_,e,I(),void 0)}),[_,v]),L=r({type:"radio",id:m||M,name:k,className:(0,l.classNames)("k-radio",(i={},i["k-radio-".concat(l.kendoThemeMaps.sizeMap[g]||g)]=g,i["k-invalid"]=!1===w,i),h),ref:N,disabled:v,tabIndex:(0,l.getTabIndex)(x,v),checked:p,style:C,"aria-describedby":d,value:O,onChange:D,onFocus:T,onBlur:A},S),j=a.createElement(a.Fragment,null,void 0!==b?a.createElement("label",{className:"k-radio-label",htmlFor:m||M,style:{userSelect:"none"},"aria-label":b},b):null),B=a.createElement("input",r({},L));return"before"===y?a.createElement(a.Fragment,null,j,B,f):a.createElement(a.Fragment,null,B,j,f)})),t.RadioButton.propTypes={ariaDescribedBy:i.string,checked:i.bool,className:i.string,disabled:i.bool,id:i.string,size:i.oneOf([null,"small","medium","large"]),label:i.string,labelPlacement:i.string,name:i.string,style:i.object,tabIndex:i.number,value:i.any,valid:i.bool,onChange:i.func,onFocus:i.func,onBlur:i.func},t.RadioButton.displayName="KendoRadioButton",t.RadioButton.defaultProps={size:"medium"}},5809:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.RadioGroup=t.RadioGroupPropsContext=void 0;var o=n(3899),a=n(189),i=n(9192),l=n(3859),s=n(3859),c=n(7363);t.RadioGroupPropsContext=(0,l.createPropsContext)(),t.RadioGroup=o.forwardRef((function(e,n){(0,s.validatePackage)(c.packageMetadata);var a=(0,l.usePropsContext)(t.RadioGroupPropsContext,e),d=a.ariaLabelledBy,p=a.ariaDescribedBy,f=a.className,h=a.data,v=a.defaultValue,m=a.disabled,g=a.name,b=a.labelPlacement,y=a.layout,k=a.style,C=a.value,x=a.valid,O=a.item,w=void 0===O?u.item:O,E=a.onChange,P=a.onFocus,_=o.useRef(null),S=o.useCallback((function(){_.current&&(0,l.focusFirstFocusableChild)(_.current)}),[]),N=o.useCallback((function(){return{element:_.current,focus:S}}),[S]);o.useImperativeHandle(n,N);var R=o.useState(v),I=R[0],M=R[1],D=void 0!==C,T=D?C:I,A=o.useCallback((function(e){var t=e.value;D||m||M(t),E&&!m&&(0,l.dispatchEvent)(E,e.syntheticEvent,N(),{value:t})}),[M,E,m]),L=o.useCallback((function(e){P&&!m&&(0,l.dispatchEvent)(P,e.syntheticEvent,N(),void 0)}),[P,m]),j=o.useMemo((function(){return(0,l.guid)()}),[]),B=(0,l.classNames)("k-radio-list",{"k-list-horizontal":"horizontal"===y,"k-list-vertical":"vertical"===y||void 0===y},f),V=(0,l.useRtl)(_,a.dir),F=h&&h.map((function(e,t){var n=T===e.value,a=null==T,s=r(r({},e),{valid:x,checked:n,disabled:!(!e.disabled&&!m),labelPlacement:e.labelPlacement?e.labelPlacement:b,tabIndex:e.tabIndex?e.tabIndex:a&&0===t||n?0:-1,index:t,name:g||j,onChange:A,onFocus:L});return o.createElement(w,{className:(0,l.classNames)("k-radio-item",{"k-disabled":s.disabled||m}),key:t,role:"radio"},o.createElement(i.RadioButton,r({},s)))}));return o.createElement("ul",{role:"radiogroup",className:B,ref:_,dir:V,style:k,"aria-labelledby":d,"aria-describedby":p},F)}));var u={item:function(e){return o.createElement("li",r({},e))}};t.RadioGroup.propTypes={ariaLabelledBy:a.string,ariaDescribedBy:a.string,className:a.string,data:a.arrayOf(a.object),defaultValue:a.any,dir:a.string,disabled:a.bool,labelPlacement:a.string,layout:a.string,name:a.string,style:a.object,value:a.any,onChange:a.func,onFocus:a.func},t.RadioGroup.defaultProps=u,t.RadioGroup.displayName="KendoRadioGroup"},1442:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},4594:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},7197:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},1018:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},7756:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},6254:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},716:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.RangeSlider=t.RangeSliderPropsContext=void 0;var o=n(3899),a=n(189),i=n(3859),l=n(3364),s=n(499),c=n(956),u=n(3859),d=n(7363);t.RangeSliderPropsContext=(0,i.createPropsContext)(),t.RangeSlider=o.forwardRef((function(e,n){var a,p;(0,u.validatePackage)(d.packageMetadata);var h=(0,i.usePropsContext)(t.RangeSliderPropsContext,e),v=o.useRef(null),m=o.useRef(null),g=o.useRef(null),b=o.useRef(null),y=o.useRef(null),k=o.useCallback((function(){b.current&&b.current.focus()}),[b]);o.useImperativeHandle(v,(function(){return{element:m.current,focus:k,props:h}})),o.useImperativeHandle(n,(function(){return v.current}));var C=o.useMemo((function(){return h.min}),[h.min]),x=o.useMemo((function(){return h.max}),[h.max]),O=o.useMemo((function(){return void 0!==h.step?h.step:f.step}),[h.step,f.step]),w=(0,i.useDir)(m,h.dir),E=o.useState(""),P=E[0],_=E[1],S=function(e,t,n){var a=o.useState(e),i=a[0],l=a[1],s=o.useCallback((function(e){var o=(0,c.rangeReducer)(t.state||i,r(r({},e),t));n&&n(o,e.event),l(o)}),[t,n]);return[i,s]}(h.defaultValue||f.defaultValue,{min:C,max:x,step:O,state:h.value},(function(e,t){h.onChange&&v.current&&h.onChange.call(void 0,{value:e,target:v.current,syntheticEvent:t})})),N=S[0],R=S[1],I=o.useMemo((function(){return h.value||N}),[h.value,N]),M=o.useRef(null),D=o.useRef(null),T=o.useMemo((function(){return(I.start-C)/(x-C)*100}),[I.start,C,x]),A=o.useMemo((function(){return(I.end-C)/(x-C)*100}),[I.end,C,x]),L=o.useMemo((function(){return h.vertical?{paddingTop:0,height:"100%"}:{}}),[h.vertical]),j=o.useMemo((function(){return h.vertical?{marginTop:"0.5rem",marginBottom:"0.5rem"}:{marginLeft:"0.5rem",marginRight:"0.5rem"}}),[h.vertical]),B=(0,s.useLocalization)(),V=o.useCallback((function(e){if(D.current){var t=D.current.getBoundingClientRect(),n=h.vertical?t.bottom-e.clientY:"rtl"===w?t.right-e.clientX:e.clientX-t.left,r=h.vertical?t.height:t.width;return C+n/r*(x-C)}}),[D,h.vertical,w,C,x,N.start,N.end,h.value&&h.value.start,h.value&&h.value.end]),F=o.useCallback((function(e){return e<=I.start?"start":e>=I.end?"end":2*e<I.end+I.start?"start":"end"}),[N.start,N.end,h.value&&h.value.start,h.value&&h.value.end]),z=o.useCallback((function(e){switch(e.keyCode){case i.Keys.right:e.preventDefault(),R({type:"rtl"===w?c.RANGE_ACTION.decrease:c.RANGE_ACTION.increase,key:"start",event:e});break;case i.Keys.up:e.preventDefault(),R({type:c.RANGE_ACTION.increase,key:"start",event:e});break;case i.Keys.left:e.preventDefault(),R({type:"rtl"===w?c.RANGE_ACTION.increase:c.RANGE_ACTION.decrease,key:"start",event:e});break;case i.Keys.down:e.preventDefault(),R({type:c.RANGE_ACTION.decrease,key:"start",event:e});break;case i.Keys.home:e.preventDefault(),R({type:c.RANGE_ACTION.min,key:"start",event:e});break;case i.Keys.end:e.preventDefault(),R({type:c.RANGE_ACTION.max,key:"start",event:e})}}),[R]),G=o.useCallback((function(e){switch(e.keyCode){case i.Keys.right:e.preventDefault(),R({type:"rtl"===w?c.RANGE_ACTION.decrease:c.RANGE_ACTION.increase,key:"end",event:e});break;case i.Keys.up:e.preventDefault(),R({type:c.RANGE_ACTION.increase,key:"end",event:e});break;case i.Keys.left:e.preventDefault(),R({type:"rtl"===w?c.RANGE_ACTION.increase:c.RANGE_ACTION.decrease,key:"end",event:e});break;case i.Keys.down:e.preventDefault(),R({type:c.RANGE_ACTION.decrease,key:"end",event:e});break;case i.Keys.home:e.preventDefault(),R({type:c.RANGE_ACTION.min,key:"end",event:e});break;case i.Keys.end:e.preventDefault(),R({type:c.RANGE_ACTION.max,key:"end",event:e})}}),[R,w]),K=o.useCallback((function(e){var t=V(e),n=F(t);_(n),"end"===n?y.current.focus():b.current.focus();var r="end"===n?c.RANGE_ACTION.end:c.RANGE_ACTION.start;R({type:r,payload:t,event:e})}),[h.vertical,C,x,R]);return(0,i.useDraggable)(D,{onPress:K,onDrag:function(e){var t=V(e),n="end"===P?c.RANGE_ACTION.end:c.RANGE_ACTION.start;R({type:n,payload:t,event:e})},onRelease:function(e){var t=V(e),n="end"===P?c.RANGE_ACTION.end:c.RANGE_ACTION.start;R({type:n,payload:t,event:e}),_("")}}),o.createElement("div",{id:h.id,style:h.style,ref:m,dir:w,className:(0,i.classNames)("k-widget k-slider",{"k-rtl":"rtl"===w,"k-disabled":h.disabled,"k-slider-vertical":h.vertical,"k-slider-horizontal":!h.vertical},h.className)},o.createElement("div",{ref:D,className:"k-slider-track-wrap",style:r({flexGrow:1,position:"relative",touchAction:"none"},j)},h.children&&o.createElement("ul",{className:"k-reset k-slider-items",style:r({},L)},o.Children.map(h.children,(function(e){return e&&o.cloneElement(e,{position:100*(e.props.position-h.min)/(h.max-h.min),vertical:h.vertical},e.props.children)}))),o.createElement("div",{ref:M,className:"k-slider-track",style:h.vertical?{bottom:0,height:"100%"}:(a={},a["rtl"===w?"right":"left"]=0,a.width="100%",a)},null!==T&&null!==A&&o.createElement("div",{"data-selection":!0,ref:g,title:"".concat(I.start," - ").concat(I.end),className:"k-slider-selection",style:h.vertical?{height:A-T+"%",bottom:T+"%"}:(p={},p["rtl"===w?"right":"left"]=T+"%",p.width=A-T+"%",p)}),o.createElement("span",{ref:b,role:"slider",tabIndex:(0,i.getTabIndex)(h.startTabIndex,h.disabled,void 0),"aria-valuemin":C,"aria-valuemax":Math.max(x,I.end),"aria-valuenow":I.start,"aria-disabled":h.disabled?"true":void 0,"aria-valuetext":"".concat(I.start," - ").concat(I.end),className:"k-draghandle",title:B.toLanguageString(l.sliderDragTitle,l.messages[l.sliderDragTitle]),style:h.vertical?{bottom:"calc("+T+"%)",zIndex:1}:"rtl"===w?{right:"calc("+T+"% - 13px)",zIndex:1}:{left:"calc("+T+"%)",zIndex:1},onKeyDown:z}),o.createElement("span",{ref:y,role:"slider",tabIndex:(0,i.getTabIndex)(h.endTabIndex,h.disabled,void 0),"aria-valuemin":Math.min(C,I.start),"aria-valuemax":x,"aria-valuenow":I.end,"aria-disabled":h.disabled?"true":void 0,"aria-valuetext":"".concat(I.start," - ").concat(I.end),className:"k-draghandle",title:B.toLanguageString(l.sliderDragTitle,l.messages[l.sliderDragTitle]),style:h.vertical?{bottom:"calc("+A+"%)",zIndex:1}:"rtl"===w?{right:"calc("+A+"% - 13px)",zIndex:1}:{left:"calc("+A+"%)",zIndex:1},onKeyDown:G}))))}));var p={value:function(e,t,n){if(e.value){var r=e.value.start,o=e.value.end,a=e.min,i=e.max;if(r>o||r>i||r<a||o>i||o<a||o<r)return new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n The { start, end } value must be between the min & max value and { start, end } must be start < end.\n "))}return null},defaultValue:function(e,t,n){if(e.defaultValue){var r=e.defaultValue.start,o=e.defaultValue.end,a=e.min,i=e.max;if(r>o||r>i||r<a||o>i||o<a||o<r)return new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n The { start, end } value must be between the min & max value and { start, end } must be start < end.\n "))}return null},onChange:a.func,step:a.number,min:function(e,t,n){var r=e[t],o=e.min,a=e.max;return void 0===o?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be undefined.\n ")):r&&o>=a?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be equal to or bigger than the max value.\n ")):null},max:function(e,t,n){var r=e[t],o=e.min,a=e.max;return void 0===a?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be undefined.\n ")):r&&a<=o?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be equal to or smaller than the min value.\n ")):null},vertical:a.bool,disabled:a.bool,dir:a.oneOf(["ltr","rtl"])},f={step:1,defaultValue:{start:0,end:0},vertical:!1,disabled:!1};t.RangeSlider.displayName="KendoReactRangeSlider",t.RangeSlider.propTypes=p,t.RangeSlider.defaultProps=f},956:function(e,t){var n,r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.rangeReducer=t.RANGE_ACTION=void 0,function(e){e.start="start",e.end="end",e.min="min",e.max="max",e.increase="increase",e.decrease="decrease"}(n=t.RANGE_ACTION||(t.RANGE_ACTION={})),t.rangeReducer=function(e,t){var o,a;switch(t.type){case n.start:if(void 0===t.payload)return e;o={start:t.payload>e.end?e.end:Math.max(t.payload,t.min),end:e.end};break;case n.end:if(void 0===t.payload)return e;o={start:e.start,end:t.payload<e.start?e.start:Math.min(t.payload,t.max)};break;case n.min:o="start"===t.key?r(r({},e),{start:t.min}):r(r({},e),{end:Math.max(t.min,e.start)});break;case n.max:o="start"===t.key?r(r({},e),{start:Math.min(t.max,e.end)}):r(r({},e),{end:t.max});break;case n.increase:if(void 0===t.step||void 0===t.key)return e;a=e[t.key]+t.step,o="start"===t.key?a<t.min?r(r({},e),{start:t.min}):r(r({},e),{start:Math.min(a,e.end)}):a>t.max?r(r({},e),{end:t.max}):r(r({},e),{end:Math.max(a,e.start)});break;case n.decrease:if(void 0===t.step||void 0===t.key)return e;a=e[t.key]-t.step,o="start"===t.key?a<t.min?r(r({},e),{start:t.min}):r(r({},e),{start:Math.min(a,e.end)}):a>t.max?r(r({},e),{end:t.max}):r(r({},e),{end:Math.max(a,e.start)});break;default:o=e}return o}},5287:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Rating=t.RatingPropsContext=void 0;var o=n(3899),a=n(189),i=n(3859),l=n(9458),s=n(944),c=n(9002),u=n(3364),d=n(499),p=function(e,t,n){var a=o.useState(e),i=a[0],l=a[1];return[i,function(e){var o=(0,s.ratingReducer)(t.state||i,r(r({},e),t));n&&n(o,e.event),l(o)}]};t.RatingPropsContext=(0,i.createPropsContext)(),t.Rating=o.forwardRef((function(e,n){var r,a,l,f,v=(0,i.usePropsContext)(t.RatingPropsContext,e),m=(0,d.useLocalization)(),g=o.useRef(null),b=o.useRef(null),y=(0,i.useDir)(b,v.dir);o.useImperativeHandle(g,(function(){return{element:b.current,props:v}})),o.useImperativeHandle(n,(function(){return g.current}));for(var k=o.useCallback((function(e,t){v.onChange&&g.current&&v.onChange.call(void 0,{value:e,target:g.current,syntheticEvent:t})}),[v.onChange]),C=o.useMemo((function(){return void 0!==v.min?v.min:h.min}),[v.min]),x=o.useMemo((function(){return void 0!==v.max?v.max:h.max}),[v.max]),O=o.useMemo((function(){return v.precision||h.precision}),[v.precision]),w=o.useMemo((function(){return void 0!==v.step?v.step:h.step}),[v.step]),E=o.useMemo((function(){return v.readonly||h.readonly}),[v.readonly]),P=o.useMemo((function(){return v.disabled||h.disabled}),[v.disabled]),_=o.useMemo((function(){return v.item||h.item}),[v.item]),S=p(v.defaultValue||h.defaultValue,{state:v.value,min:C,max:x,step:"half"===O?w/2:w},k),N=S[0],R=S[1],I=p(null,{state:v.value,min:C,max:x,step:"half"===O?w/2:w,precision:O}),M=I[0],D=I[1],T=o.useMemo((function(){return v.value||N}),[v.value,N]),A=o.useMemo((function(){return M}),[M]),L=o.useMemo((function(){return v.selection||h.selection}),[v.selection]),j=o.useMemo((function(){return w/("half"===O?2:1)}),[w,O]),B=o.useCallback((function(e){if(e.target&&e.target.element&&!E&&!P){if("half"===O){var t=e.target.element.getBoundingClientRect(),n=(0,c.calcIsFirstHalf)(y||"ltr",t,e.syntheticEvent.clientX)?(0,c.toRound)(e.target.value-w/2,j):e.target.value;R({type:s.RATING_ACTION.select,payload:n,event:e.syntheticEvent})}else R({type:s.RATING_ACTION.select,payload:e.target.value,event:e.syntheticEvent});if(v.onClick){var r={value:T,target:g.current,syntheticEvent:e.syntheticEvent};v.onClick.call(void 0,r)}}}),[v.onClick,R,T]),V=o.useCallback((function(e){if(!E&&!P){switch(e.keyCode){case i.Keys.right:e.preventDefault(),R({type:"rtl"===y?s.RATING_ACTION.decrease:s.RATING_ACTION.increase,event:e});break;case i.Keys.left:e.preventDefault(),R({type:"rtl"===y?s.RATING_ACTION.increase:s.RATING_ACTION.decrease,event:e});break;case i.Keys.home:e.preventDefault(),R({type:"rtl"===y?s.RATING_ACTION.min:s.RATING_ACTION.max,event:e});break;case i.Keys.end:e.preventDefault(),R({type:"rtl"===y?s.RATING_ACTION.max:s.RATING_ACTION.min,event:e});break;case i.Keys.esc:e.preventDefault(),R({type:s.RATING_ACTION.deselect,event:e})}v.onKeyDown&&v.onKeyDown.call(void 0,{value:T,target:g.current,syntheticEvent:e})}}),[v.onKeyDown,R,T]),F=o.useCallback((function(e){if(v.onFocus){var t={target:g.current,syntheticEvent:e};v.onFocus.call(void 0,t)}}),[v.onFocus]),z=o.useCallback((function(e){if(v.onBlur){var t={target:g.current,syntheticEvent:e};v.onBlur.call(void 0,t)}}),[v.onBlur]),G=o.useCallback((function(e){if(e.target&&e.target.element)if("half"===O){var t=e.target.element.getBoundingClientRect(),n=(0,c.calcIsFirstHalf)(y||"ltr",t,e.syntheticEvent.clientX)?e.target.value-w/2:e.target.value;D({type:s.RATING_ACTION.select,payload:n,event:e.syntheticEvent})}else D({type:s.RATING_ACTION.select,payload:e.target.value,event:e.syntheticEvent})}),[O,w,y]),K=o.useCallback((function(e){D({type:s.RATING_ACTION.reset,event:e.syntheticEvent})}),[]),H=[],U=(0,c.getRemainder)((0,c.toRound)(x-C,j),w),W=C;W<=x;W=(0,c.toRound)(W+w,j)){var q=(0,c.toRound)(W+U,j),X="half"===O&&(0,c.isHalf)(q,null!==A?A:null!==T?T:0,w),Y=(0,c.isSelected)(q,T,w,L),Z=(0,c.isSelected)(q,null!==A?A:T,w,L),$=(0,c.isSelected)(q,A,w,L);H.push(o.createElement(_,{key:q,value:q,dir:y,title:String(X?(0,c.toRound)(q-w/2,j):q),icon:v.icon,half:X,selected:Y||Z,hovered:$,onClick:B,onMouseMove:G,onMouseLeave:K},X&&o.createElement("span",{className:"k-rating-precision-complement",style:(r={width:"12px"},r["rtl"===y?"right":"left"]="50%",r)},o.createElement("span",{className:(0,i.classNames)("k-icon",(a={"k-i-star-outline":!v.icon},a["".concat(v.icon,"-outline")]=v.icon,a))})),X&&o.createElement("span",{className:"k-rating-precision-part",style:{width:"12px"}},o.createElement("span",{className:(0,i.classNames)("k-icon",(l={"k-i-star":!v.icon},l["".concat(v.icon)]=v.icon,l))})),X&&o.createElement("span",{style:{width:"24px",height:"24px",display:"block"}}),!X&&o.createElement("span",{className:(0,i.classNames)("k-icon",(f={"k-i-star":!v.icon&&($||Z&&!$),"k-i-star-outline":!v.icon&&!$},f["".concat(v.icon)]=v.icon&&($||Z&&!$),f["".concat(v.icon,"-outline")]=v.icon&&!$,f))})))}return o.createElement("span",{id:v.id,style:v.style,ref:b,role:"slider",dir:y,tabIndex:(0,i.getTabIndex)(v.tabIndex,v.disabled,void 0),className:(0,i.classNames)("k-rating k-widget",{"k-rtl":"rtl"===y,"k-state-readonly":E,"k-disabled":P},v.className),onKeyDown:V,onFocus:F,onBlur:z,"aria-valuemin":C,"aria-valuemax":x,"aria-valuenow":null!==T?T:void 0,"aria-disabled":P?"true":void 0,"aria-label":m.toLanguageString(u.ratingAriaLabel,u.messages[u.ratingAriaLabel]),"aria-labelledby":v.ariaLabelledBy,"aria-describedby":v.ariaDescribedBy},o.createElement("input",{id:"rating",className:"k-hidden",readOnly:E,disabled:P}),o.createElement("span",{className:"k-rating-container"},H),v.label&&o.createElement("span",{className:"k-rating-label"},v.label))}));var f={id:a.string,dir:a.oneOf(["ltr","rtl"]),selection:a.oneOf(["continues","single"]),precision:a.oneOf(["item","half"]),value:function(e,t,n){return e.value&&e.min&&e.max&&e.step&&!("half"===e.precision?(0,c.isCorrectValue)(e.min,e.max,e.step/2,e.value):(0,c.isCorrectValue)(e.min,e.max,e.step,e.value))&&"half"===e.precision?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n The value of the { value } property is not correct, please check your values.\n ")):null},defaultValue:a.number,min:a.number,max:a.number,step:function(e,t,n){return void 0!==e.step&&e.step<=0?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,'.\n The value of the { step } property is cannot be equal or less than "0", please check your values.\n ')):null},hovered:a.number,label:a.string,readonly:a.bool,disabled:a.bool,half:a.bool,icon:a.string,ariaDescribedBy:a.string},h={dir:"ltr",min:1,max:5,step:1,item:l.RatingItem,defaultValue:null,readonly:!1,disabled:!1,selection:"continues",precision:"item"};t.Rating.displayName="KendoReactRating",t.Rating.propTypes=f,t.Rating.defaultProps=h},9458:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RatingItem=void 0;var r=n(3899),o=n(189),a=n(3859);t.RatingItem=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null),i=(0,a.useDir)(o,e.dir);r.useImperativeHandle(n,(function(){return{element:o.current,props:e,value:e.value}})),r.useImperativeHandle(t,(function(){return n.current}));var l=r.useCallback((function(t){e.onClick&&e.onClick.call(void 0,{value:e.value,target:n.current,syntheticEvent:t})}),[e.onClick,e.value]),s=r.useCallback((function(t){e.onKeyDown&&e.onKeyDown.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onKeyDown]),c=r.useCallback((function(t){e.onFocus&&e.onFocus.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onFocus]),u=r.useCallback((function(t){e.onBlur&&e.onBlur.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onBlur]),d=r.useCallback((function(t){e.onMouseMove&&e.onMouseMove.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onMouseMove]),p=r.useCallback((function(t){e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onMouseEnter]),f=r.useCallback((function(t){e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onMouseLeave]);return r.createElement("span",{id:e.id,ref:o,dir:i,"data-half":e.half,tabIndex:e.tabIndex,title:e.title,style:e.style,className:(0,a.classNames)("k-rating-item",{"k-rtl":"rtl"===i,"k-selected":e.selected,"k-hover":e.hovered},e.className),onClick:l,onKeyDown:s,onFocus:c,onBlur:u,onMouseEnter:p,onMouseLeave:f,onMouseMove:d},e.children)}));var i={id:o.string,icon:o.any,dir:o.oneOf(["ltr","rtl"]),title:o.string,value:o.number,half:o.bool,selected:o.bool,hovered:o.bool};t.RatingItem.displayName="KendoReactRatingItem",t.RatingItem.propTypes=i,t.RatingItem.defaultProps={dir:"ltr"}},3552:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},944:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ratingReducer=t.RATING_ACTION=void 0;var r,o=n(9002);!function(e){e.select="select",e.deselect="deselect",e.increase="increase",e.decrease="decrease",e.min="min",e.max="max",e.reset="reset"}(r=t.RATING_ACTION||(t.RATING_ACTION={})),t.ratingReducer=function(e,t){switch(t.type){case r.select:return void 0===t.payload||void 0===t.step?e:t.payload===e?null:t.payload>=t.min?t.payload<t.max?(0,o.toRound)(t.payload,t.step):t.max:t.min;case r.deselect:return null;case r.increase:return void 0===t.step?e:e<t.min?t.min:e+t.step<t.max?(0,o.toRound)(e+t.step,t.step):t.max;case r.decrease:return void 0===t.step?e:(0,o.toRound)(e-t.step,t.step)>=t.min?(0,o.toRound)(e-t.step,t.step):t.min;case r.min:return void 0===t.step?e:t.min;case r.max:return t.max;case r.reset:return null;default:return e}}},9002:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isCorrectValue=t.calcIsFirstHalf=t.isSelected=t.isHalf=t.getRemainder=t.toRound=void 0,t.toRound=function(e,t){if(e%1){var n=Math.pow(10,(t.toString().split(".")[1]||t.toString().split(".")[0]).length);return Math.round(e*n)/n}return e},t.getRemainder=function(e,t){return e-t*Math.floor(e/t)},t.isHalf=function(e,n,r){return(0,t.toRound)(e-r,r)<n&&n<e},t.isSelected=function(e,n,r,o){return null!==n&&("continues"===o?(0,t.isHalf)(e,n,r)?(0,t.toRound)(e-r/2,r/2)<=n:e<=n:"single"===o&&((0,t.isHalf)(e,n,r)?(0,t.toRound)(e-r/2,r/2)===n:e===n))},t.calcIsFirstHalf=function(e,t,n){return"ltr"===e?n<t.x+t.width/2:n>t.x+t.width/2},t.isCorrectValue=function(e,t,n,r){for(var o=e;o<=t;o+=n)if(r===o)return!0;return!1}},6153: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)}),a=this&&this.__assign||function(){return a=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},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=t.SliderPropsContext=t.SliderWithoutContext=void 0;var i=n(3899),l=n(189),s=n(3859),c=n(499),u=n(3364),d=n(8510),p=n(3859),f=n(7363),h=n(784),v=function(e){function t(t){var n=e.call(this,t)||this;return n.state={value:void 0===n.props.defaultValue?n.props.min:n.props.defaultValue,focused:!1,dir:n.props.dir},n._sliderTrack=null,n._element=null,n.buttons=function(e){return e.enabled?i.createElement(i.Fragment,null,i.createElement(h.Button,{className:"k-button-decrease k-rounded-full",icon:n.props.vertical?"arrow-s":"arrow-w",title:e.decrementTitle,onClick:e.decrement}),e.children,i.createElement(h.Button,{className:"k-button-increase k-rounded-full",icon:n.props.vertical?"arrow-n":"arrow-e",title:e.incrementTitle,onClick:e.increment})):e.children},n.focus=function(){n._element&&n._element.focus()},n.isLabel=function(e){for(var t=e;t;){if(Boolean(t.getAttribute(d.SLIDER_LABEL_ATTRIBUTE)))return!0;t=t.parentElement}return!1},n.onFocus=function(){n.setState({focused:!0})},n.onBlur=function(){n.setState({focused:!1})},n.onKeyDown=function(e){var t=void 0;e.keyCode===s.Keys.left||e.keyCode===s.Keys.down?t=n.state.value-(n.props.step||0):e.keyCode===s.Keys.right||e.keyCode===s.Keys.up?t=n.state.value+(n.props.step||0):e.keyCode===s.Keys.home?t=n.props.min:e.keyCode===s.Keys.end&&(t=n.props.max),void 0!==t&&(e.preventDefault(),n.change(e,t))},n.decrement=function(e){e.preventDefault(),n.change(e,n.state.value-(n.props.step||0))},n.increment=function(e){e.preventDefault(),n.change(e,n.state.value+(n.props.step||0))},n.dragStart=function(e){n.isLabel(e.event.originalEvent.target)||(e.event.isTouch&&e.event.originalEvent.preventDefault(),n.drag(e))},n.dragOver=function(e){e.event.originalEvent.preventDefault(),n.drag(e)},n.drag=function(e){var t=e.element.getBoundingClientRect(),r=(n.props.vertical?t.bottom-e.event.clientY:"rtl"===n.state.dir?t.right-e.event.clientX:e.event.clientX-t.left)/(n.props.vertical?t.height:t.width);n.change(e,n.props.min+r*(n.props.max-n.props.min))},(0,p.validatePackage)(f.packageMetadata),n}return o(t,e),t.getDerivedStateFromProps=function(e,t){var n=void 0!==e.value?e.value:t.value,r=e.min,o=e.max;return void 0===n?null:{value:Math.min(Math.max(n,r),o)}},t.prototype.componentDidMount=function(){if(!this.state.dir&&window&&this._element){var e=window.getComputedStyle(this._element).direction;e&&this.setState({dir:e})}},t.prototype.render=function(){var e,t=this,n=(0,c.provideLocalizationService)(this),r=(this.state.value-this.props.min)/(this.props.max-this.props.min)*100,o=this.props.vertical?{marginTop:"0.5rem",marginBottom:"0.5rem"}:{marginLeft:"0.5rem",marginRight:"0.5rem"},l=this.props.vertical?{paddingTop:0,height:"100%"}:{};return i.createElement("div",{ref:function(e){return t._element=e},dir:this.state.dir,id:this.props.id,style:a({gap:0},this.props.style),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,className:(0,s.classNames)("k-slider k-widget",{"k-focus":this.state.focused,"k-disabled":this.props.disabled,"k-slider-horizontal":!this.props.vertical,"k-slider-vertical":this.props.vertical},this.props.className)},i.createElement(this.buttons,{enabled:this.props.buttons,decrement:this.decrement,increment:this.increment,incrementTitle:n.toLanguageString(u.sliderIncreaseValue,u.messages[u.sliderIncreaseValue]),decrementTitle:n.toLanguageString(u.sliderDecreaseValue,u.messages[u.sliderDecreaseValue])},i.createElement(s.Draggable,{onDrag:this.dragOver,onPress:this.dragStart},i.createElement("div",{className:"k-slider-track-wrap",style:a({flexGrow:1,position:"relative",touchAction:"none"},o)},this.props.children&&i.createElement("ul",{className:"k-reset k-slider-items",style:a({margin:0},l)},i.Children.map(this.props.children,(function(e){return e&&i.cloneElement(e,{position:100*(e.props.position-t.props.min)/(t.props.max-t.props.min),vertical:t.props.vertical},e.props.children)}))),i.createElement("div",{className:"k-slider-track",style:this.props.vertical?{bottom:0,height:"100%"}:(e={},e["rtl"===this.state.dir?"right":"left"]=0,e.width="100%",e),ref:function(e){return t._sliderTrack=e}},i.createElement("div",{className:"k-slider-selection",style:this.props.vertical?{height:r+"%"}:{width:r+"%"}}),i.createElement("span",{role:"slider","aria-valuemin":this.props.min,"aria-valuemax":this.props.max,"aria-valuenow":this.state.value,"aria-valuetext":String(this.state.value),"aria-orientation":this.props.vertical?"vertical":void 0,"aria-disabled":this.props.disabled?"true":void 0,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,"aria-label":this.props.ariaLabel,tabIndex:(0,s.getTabIndex)(this.props.tabIndex,this.props.disabled,void 0),className:"k-draghandle",title:n.toLanguageString(u.sliderDragTitle,u.messages[u.sliderDragTitle]),style:this.props.vertical?{bottom:"calc("+r+"%)",zIndex:1}:"rtl"===this.state.dir?{right:"calc("+r+"% - 13px)",zIndex:1}:{left:"calc("+r+"%)",zIndex:1}}))))))},Object.defineProperty(t.prototype,"sliderTrack",{get:function(){return this._sliderTrack},enumerable:!1,configurable:!0}),t.prototype.change=function(e,t){t=Math.min(Math.max(t,this.props.min),this.props.max),this.setState({value:t}),(0,s.dispatchEvent)(this.props.onChange,e,this,{value:t})},t.displayName="Slider",t.propTypes={min:l.number.isRequired,max:l.number.isRequired,value:l.number,vertical:l.bool,id:l.string,ariaLabelledBy:l.string,ariaDescribedBy:l.string,ariaLabel:l.string},t}(i.Component);t.SliderWithoutContext=v,t.SliderPropsContext=(0,s.createPropsContext)(),t.Slider=(0,s.withPropsContext)(t.SliderPropsContext,v),t.Slider.displayName="KendoReactSlider",(0,c.registerForLocalization)(v)},8510:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SliderLabel=t.SLIDER_LABEL_ATTRIBUTE=void 0;var o=n(3899),a=n(3859);t.SLIDER_LABEL_ATTRIBUTE="data-slider-label",t.SliderLabel=function(e){var n,i,l=o.useRef(null),s=(0,a.useDir)(l),c=e.vertical?{bottom:"".concat(e.position,"%")}:((n={})["rtl"===s?"right":"left"]="".concat(e.position,"%"),n),u=e.vertical?"k-tick-vertical":"k-tick-horizontal";return o.createElement("li",{ref:l,className:"k-tick k-tick-large ".concat(u),title:e.title,style:r({zIndex:1,position:"absolute"},c)},o.createElement("span",r({},((i={})[t.SLIDER_LABEL_ATTRIBUTE]=!0,i),{className:"k-label",onClick:e.onClick}),e.children))}},9363: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)}),a=this&&this.__assign||function(){return a=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},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Switch=t.SwitchPropsContext=t.SwitchWithoutContext=void 0;var i=n(3899),l=n(189),s=n(3859),c=n(499),u=n(3364),d=n(3859),p=n(7363),f=function(e){function t(n){var r=e.call(this,n)||this;return r.setValidity=function(){r._input&&r._input.setCustomValidity&&r._input.setCustomValidity(r.validity.valid?"":r.props.validationMessage||r.defaultValidationMessage.toLanguageString(u.switchValidation,u.messages[u.switchValidation]))},r.limit=function(e,t,n){var r=n.offsetWidth,o=t.offsetWidth;return e<0?0:e>r-o?r-o:e},r.toggle=function(e,t){r.setState({checked:e}),r.valueDuringOnChange=e,(0,s.dispatchEvent)(r.props.onChange,t,r,{value:e}),r.valueDuringOnChange=void 0},r._element=null,r._wrapper=null,r._input=null,r._id=(0,s.guid)(),r.defaultValidationMessage=(0,c.provideLocalizationService)(r),r.focus=function(){r._element&&r._element.focus()},r.dummyInput=function(e){return i.createElement("input",{type:"checkbox",checked:r.props.checked,ref:function(e){r._input=e},tabIndex:-1,"aria-hidden":!0,value:e,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"},onChange:s.noop})},r.handleClick=function(e){r.eventTimeStamp!==e.timeStamp&&(r.eventTimeStamp=e.timeStamp,r.toggle(!r.value,e))},r.handleKeyDown=function(e){if(!r.props.disabled){var t=e.keyCode;t!==s.Keys.space&&t!==s.Keys.enter||(r.toggle(!r.value,e),e.preventDefault())}},r.handleWrapperFocus=function(e){if(!r.props.disabled){r.setState({focused:!0});var t=r.props.onFocus;t&&t.call(void 0,e)}},r.handleWrapperBlur=function(e){if(!r.props.disabled){r.setState({focused:!1});var t=r.props.onBlur;t&&t.call(void 0,e)}},(0,d.validatePackage)(p.packageMetadata),r.state={checked:n.defaultChecked||t.defaultProps.defaultChecked,focused:!1},r}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.props.checked?this.props.checked:this.state.checked},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionElement",{get:function(){return this._wrapper},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=void 0!==this.props.valid?this.props.valid:!this.props.required||!!this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.setValidity(),this.forceUpdate()},t.prototype.componentDidUpdate=function(){this.setValidity()},t.prototype.render=function(){var e,t,n,r=this,o=this.state.focused,l=this.props,c=l.dir,u=l.disabled,d=l.trackRounded,p=l.thumbRounded,f=l.size,h=l.id,v=l.offLabel,m=l.onLabel,g=l.tabIndex;this.dir=c||this._wrapper&&getComputedStyle(this._wrapper).direction||void 0;var b=!this.validityStyles||this.validity.valid,y=(0,s.classNames)("k-switch",((e={})["k-switch-".concat(s.kendoThemeMaps.sizeMap[f]||f)]=f,e["k-rounded-".concat(s.kendoThemeMaps.roundedMap[d]||d)]=d,e["k-switch-on"]=this.value,e["k-switch-off"]=!this.value,e["k-focus"]=o,e["k-disabled"]=u,e["k-invalid"]=!b,e),this.props.className),k={"aria-checked":this.value,"aria-disabled":u||void 0};return i.createElement("span",{ref:function(e){r._wrapper=e},className:y,dir:this.dir,onKeyDown:this.handleKeyDown,onClick:this.handleClick,onBlur:this.handleWrapperBlur,onFocus:this.handleWrapperFocus},i.createElement("span",a({className:(0,s.classNames)("k-switch-track",(t={},t["k-rounded-".concat(s.kendoThemeMaps.roundedMap[d]||d)]=d,t)),id:h||this._id,role:"switch"},k,{"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,ref:function(e){r._element=e},tabIndex:(0,s.getTabIndex)(g,u,void 0),accessKey:this.props.accessKey}),this.dummyInput(this.value),i.createElement("span",{className:"k-switch-label-on"},m),i.createElement("span",{className:"k-switch-label-off"},v),i.createElement("span",{className:"k-switch-thumb-wrap"},i.createElement("span",{className:(0,s.classNames)("k-switch-thumb",(n={},n["k-rounded-".concat(p)]=p,n))}))))},t.displayName="Switch",t.propTypes={accessKey:l.string,checked:l.bool,className:l.string,disabled:l.bool,defaultChecked:l.bool,size:l.oneOf([null,"small","medium","large"]),trackRounded:l.oneOf([null,"small","medium","large","full"]),thumbRounded:l.oneOf([null,"small","medium","large","full"]),dir:l.string,id:l.string,ariaLabelledBy:l.string,ariaDescribedBy:l.string,offLabel:l.string,required:l.bool,tabIndex:l.number,valid:l.bool,validate:l.bool,validationMessage:l.string,onBlur:l.any,onChange:l.any,onFocus:l.any,onLabel:l.string},t.defaultProps={disabled:!1,defaultChecked:!1,size:"medium",trackRounded:"full",thumbRounded:"full",offLabel:"OFF",onBlur:s.noop,onFocus:s.noop,onLabel:"ON",required:!1,validityStyles:!0},t}(i.Component);t.SwitchWithoutContext=f,t.SwitchPropsContext=(0,s.createPropsContext)(),t.Switch=(0,s.withPropsContext)(t.SwitchPropsContext,f),t.Switch.displayName="KendoReactSwitch"},6767:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=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.TextArea=t.TextAreaPropsContext=void 0;var a=n(3899),i=n(189),l=n(3859);t.TextAreaPropsContext=(0,l.createPropsContext)(),t.TextArea=a.forwardRef((function(e,n){var i,s=(0,l.usePropsContext)(t.TextAreaPropsContext,e),c=s,u=c.size,d=c.rounded,p=c.fillMode,f=c.ariaDescribedBy,h=c.ariaLabelledBy,v=c.autoSize,m=c.className,g=c.defaultValue,b=c.disabled,y=c.readOnly,k=c.required,C=c.rows,x=c.id,O=c.name,w=c.placeholder,E=c.style,P=c.tabIndex,_=c.value,S=c.valid,N=c.validationMessage,R=c.validityStyles,I=c.onChange,M=c.onFocus,D=c.onBlur,T=(c.visited,c.touched,c.modified,o(c,["size","rounded","fillMode","ariaDescribedBy","ariaLabelledBy","autoSize","className","defaultValue","disabled","readOnly","required","rows","id","name","placeholder","style","tabIndex","value","valid","validationMessage","validityStyles","onChange","onFocus","onBlur","visited","touched","modified"])),A=a.useRef(null),L=a.useCallback((function(){A.current&&A.current.focus()}),[]),j=a.useState(g),B=j[0],V=j[1],F=void 0!==_,z=F?_:B,G=a.useCallback((function(){return{element:A,focus:L,get value(){return z},get name(){return A.current&&A.current.name}}}),[L,z]);a.useImperativeHandle(n,G);var K=a.useState("auto"),H=K[0],U=K[1],W=a.useMemo((function(){return(0,l.guid)()}),[]),q=(0,l.useDir)(A,s.dir),X=void 0!==S?S:!k||!!z;a.useEffect((function(){A.current&&A.current.setCustomValidity&&A.current.setCustomValidity(X?"":N||"")}),[X,N]),a.useLayoutEffect((function(){A.current&&U("".concat(A.current.scrollHeight,"px"))}),[z]);var Y=a.useCallback((function(e){var t=e.target.value;F||b||(U("auto"),V(t)),I&&!b&&(0,l.dispatchEvent)(I,e,r(r({},G()),{value:t}),{value:t})}),[V,I,b,F]),Z=a.useCallback((function(e){M&&!b&&(0,l.dispatchEvent)(M,e,G(),void 0)}),[M,b]),$=a.useCallback((function(e){D&&!b&&(0,l.dispatchEvent)(D,e,G(),void 0)}),[D,b]),J=r(r({id:x||W,name:O,className:"k-input-inner !k-overflow-auto",ref:A,disabled:b,rows:C,placeholder:w,readOnly:y,required:k,tabIndex:(0,l.getTabIndex)(P,b),style:v?{resize:"none",overflow:"hidden",height:H}:{},"aria-labelledby":h,"aria-describedby":f,"aria-multiline":!0,"aria-disabled":b||void 0,value:F?_:B},T),{onChange:Y,onFocus:Z,onBlur:$});return a.createElement("span",{className:(0,l.classNames)("k-input","k-textarea",(i={},i["k-input-".concat(l.kendoThemeMaps.sizeMap[u]||u)]=u,i["k-input-".concat(p)]=p,i["k-rounded-".concat(l.kendoThemeMaps.roundedMap[d]||d)]=d,i["k-invalid"]=!(X||void 0!==R||!0===R),i["k-required"]=k,i["k-disabled"]=b,i),m),style:E,dir:q},a.createElement("textarea",r({},J)))})),t.TextArea.propTypes={ariaDescribedBy:i.string,ariaLabelledBy:i.string,autoSize:i.bool,className:i.string,defaultValue:i.string,dir:i.string,disabled:i.bool,readOnly:i.bool,rows:i.number,id:i.string,name:i.string,placeholder:i.string,style:i.object,tabIndex:i.number,value:i.oneOfType([i.string,i.arrayOf(i.string),i.number]),onChange:i.func,onFocus:i.func,onBlur:i.func,size:i.oneOf([null,"small","medium","large"]),rounded:i.oneOf([null,"small","medium","large","full"]),fillMode:i.oneOf([null,"solid","flat","outline"])},t.TextArea.displayName="KendoTextArea",t.TextArea.defaultProps={size:"medium",rounded:"medium",fillMode:"solid"}},590:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},2850:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},1293:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},784:(e,t,n)=>{n.r(t),n.d(t,{Button:()=>p,ButtonGroup:()=>y,Chip:()=>se,ChipList:()=>oe,DropDownButton:()=>L,DropDownButtonItem:()=>D,FloatingActionButton:()=>be,FloatingActionButtonItem:()=>pe,SplitButton:()=>I,SplitButtonItem:()=>E,Toolbar:()=>V,ToolbarItem:()=>z,ToolbarSeparator:()=>K,ToolbarSpacer:()=>H,toolbarButtons:()=>v});var r,o=n(3899),a=n(189),i=n(8047),l=n(2697),s=n(4006),c={name:"@progress/kendo-react-buttons",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1660025982,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"},u=(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)}),d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)},p=function(e){function t(t){var n=e.call(this,t)||this;return n._element=null,n.handleClick=function(e){n.toggleIfApplicable(),n.props.onClick&&n.props.onClick.call(void 0,e)},(0,s.s)(c),n.state={selected:!0===n.props.togglable&&!0===n.props.selected},n}return u(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return void 0!==this._selectedTemp?this._selectedTemp:this.state.selected},enumerable:!1,configurable:!0}),t.getDerivedStateFromProps=function(e,t){return e.togglable&&void 0!==e.selected&&e.selected!==t.selected?{selected:e.selected}:null},t.prototype.render=function(){var e,n=this,r=this.props,a=r.children,s=r.togglable,c=r.icon,u=r.iconClass,p=r.imageUrl,f=r.imageAlt,h=(r.className,r.onClick,r.size),v=void 0===h?t.defaultProps.size:h,m=r.shape,g=void 0===m?t.defaultProps.shape:m,b=r.rounded,y=void 0===b?t.defaultProps.rounded:b,k=r.fillMode,C=void 0===k?t.defaultProps.fillMode:k,x=r.themeColor,O=void 0===x?t.defaultProps.themeColor:x,w=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}(r,["children","togglable","icon","iconClass","imageUrl","imageAlt","className","onClick","size","shape","rounded","fillMode","themeColor"]),E=void 0!==c||void 0!==u||void 0!==p,P=void 0!==a,_=function(e){var t=e.imageUrl,n=e.icon,r=e.iconClass,a=e.imageAlt;if(t)return o.createElement("img",{role:"presentation",className:"k-button-icon",alt:a,src:t});if(n){var l=(0,i.A)("k-button-icon k-icon","k-i-"+n);return o.createElement("span",{role:"presentation",className:l})}return r?o.createElement("span",{role:"presentation",className:(0,i.A)("k-button-icon",r)}):null}({icon:c,iconClass:u,imageUrl:p,imageAlt:f});return o.createElement("button",d({ref:function(e){return n._element=e},"aria-pressed":s?this.state.selected:void 0},w,{onClick:this.handleClick,className:(0,i.A)("k-button",(e={},e["k-button-".concat(l.G.sizeMap[v]||v)]=v,e["k-button-".concat(g)]=g,e["k-button-".concat(C)]=C,e["k-button-".concat(C,"-").concat(O)]=Boolean(C&&O),e["k-rounded-".concat(l.G.roundedMap[y]||y)]=y,e["k-icon-button"]=!P&&E,e["k-disabled"]=this.props.disabled,e["k-selected"]=this.state.selected,e["k-rtl"]="rtl"===this.props.dir,e),this.props.className)}),_,a&&o.createElement("span",{className:"k-button-text"},a))},t.prototype.toggleIfApplicable=function(){var e=this;if(this.props.togglable&&void 0===this.props.selected){var t=!this.state.selected;this._selectedTemp=t,this.setState({selected:t},(function(){return e._selectedTemp=void 0}))}},t.propTypes={children:a.node,selected:a.bool,togglable:a.bool,icon:a.string,iconClass:a.string,imageUrl:a.string,imageAlt:a.string,size:a.oneOf([null,"small","medium","large"]),shape:a.oneOf([null,"rectangle","square"]),rounded:a.oneOf([null,"small","medium","large","full"]),fillMode:a.oneOf([null,"flat","link","outline","solid"]),themeColor:a.oneOf([null,"base","primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"])},t.defaultProps={togglable:!1,size:"medium",shape:"rectangle",rounded:"medium",fillMode:"solid",themeColor:"base"},t}(o.Component),f=':not(.k-disabled):not([disabled]):not([disabled="true"])',h=":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)",v=["button"+f+h,".k-button-group > button"+f+h,".k-dropdownlist"+f,".k-colorpicker"+f];var m=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(){return g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)},b={button:"k-button",flat:"k-flat",outline:"k-outline",clear:"k-button-clear",primary:"k-primary","state-selected":"k-selected","button-icon":"k-button-icon","button-icontext":"k-button-icontext","state-disabled":"k-disabled","group-start":"k-group-start","group-end":"k-group-end","button-group":"k-button-group","button-group-stretched":"k-button-group-stretched",ltr:"k-ltr",rtl:"k-rtl"},y=function(e){function t(t){var n=e.call(this,t)||this;return n._element=null,(0,s.s)(c),n}return m(t,e),t.prototype.render=function(){var e,t=this,n=this.mapButtons(this.props.children),r=(0,i.A)([b["button-group"]],((e={})["k-disabled"]=this.props.disabled,e[b["button-group-stretched"]]=!!this.props.width,e),this.props.className),a={className:r,style:{width:"".concat(this.props.width)},dir:this.props.dir,role:"group","aria-disabled":this.props.disabled};return o.createElement("div",g({ref:function(e){t._element=e}},a,{className:r}),n)},t.prototype.mapButtons=function(e){var t=this,n=o.Children.count(e),r=void 0!==this.props.dir?"rtl"===this.props.dir:this._element&&"rtl"===getComputedStyle(this._element).direction||!1;return o.Children.map(e,(function(e,a){return o.isValidElement(e)?t.renderButton(e,a,a===n-1,r):e}))},t.prototype.renderButton=function(e,t,n,r){var a,l=(0,i.A)(e.props.className,((a={})[b["group-start"]]=r?n:0===t,a[b["group-end"]]=r?0===t:n,a)),s=g(g({},this.props.width?{width:this.props.width}:{}),e.props.style||{}),c=this.props.disabled||e.props.disabled,u=g(g(g(g({},e.props),l?{className:l}:{}),Object.keys(s).length?{style:s}:{}),void 0!==c?{disabled:c}:{});return o.Children.count(e.props.children)>0?o.cloneElement(e,u,e.props.children):o.cloneElement(e,u)},t.propTypes={children:a.oneOfType([a.arrayOf(a.element),a.element]),className:a.string,disabled:a.bool,width:a.string,dir:a.string},t}(o.Component),k=n(3198),C=n(3493),x=n(5407),O=function(e){var t,n=o.useCallback((function(t){e.onClick(t,e.index)}),[e]),r=e.dataItem.render||e.item||(void 0===e.item?e.render:null),a=void 0!==e.dataItem.text?e.dataItem.text:e.textField?e.dataItem[e.textField]:e.dataItem,l=o.createElement("li",{id:e.id,className:(0,i.A)("k-item",e.className,{"k-focus":e.focused}),tabIndex:-1,onClick:n,onMouseDown:e.onDown,onPointerDown:e.onDown,role:"menuitem","aria-disabled":e.dataItem.disabled||void 0},o.createElement("span",{tabIndex:-1,className:(0,i.A)("k-link k-menu-link",{"k-selected":e.dataItem.selected,"k-disabled":e.dataItem.disabled}),key:"icon"},r?o.createElement(r,{item:e.dataItem,itemIndex:e.index}):o.createElement(o.Fragment,null,(e.dataItem.icon||e.dataItem.iconClass)&&o.createElement("span",{className:(0,i.A)("k-icon",(t={},t["k-i-".concat(e.dataItem.icon)]=e.dataItem.icon,t["".concat(e.dataItem.iconClass)]=e.dataItem.iconClass,t))}),e.dataItem.imageUrl&&o.createElement("img",{role:"presentation",alt:"",src:e.dataItem.imageUrl,className:"k-icon"}),a&&o.createElement("span",{className:"k-menu-link-text"},a))));return void 0!==e.item&&void 0!==e.render?e.render.call(void 0,l,e):l};O.displayName="KendoReactButtonItem";var w=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(t,e),t.prototype.render=function(){return null},t.propTypes={text:a.string,icon:a.string,iconClass:a.string,imageUrl:a.string,disabled:a.bool,render:a.any},t}(o.Component),P=function(e,t,n,r){if(n)return e;var o=Math.min(r-1,Math.max(0,e));switch(t){case C.R.enter:case C.R.space:case C.R.esc:return-1;case C.R.up:case C.R.left:return o-1<0?r-1:o-1;case C.R.down:case C.R.right:return o+1>=r?0:o+1;case C.R.home:return 0;case C.R.end:return r-1;default:return e}},_=n(9222);function S(e){var t={horizontal:"left",vertical:"bottom"};return e&&(t.horizontal="right"),t}function N(e){var t={horizontal:"left",vertical:"top"};return e&&(t.horizontal="right"),t}var R=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),I=function(e){function t(t){var n=e.call(this,t)||this;return n.state={focused:!1,focusedIndex:-1,opened:!1},n.wrapper=null,n.mainButton=null,n.list=null,n.guid=(0,k.M)(),n.skipFocus=!1,n.buttonsData=[],n.onKeyDown=function(e){var t=n.state.focusedIndex;if(e.altKey)n.opened||e.keyCode!==C.R.down?n.opened&&e.keyCode===C.R.up&&(n.dispatchPopupEvent(e,!1),n.setState({focusedIndex:-1,opened:!1})):(n.dispatchPopupEvent(e,!0),n.setState({focusedIndex:0,opened:!0}));else{var r=void 0;if(e.keyCode===C.R.enter||e.keyCode===C.R.space?(e.preventDefault(),n.dispatchClickEvent(e,t),t>=0&&(r={focusedIndex:n.opened?-1:0,opened:!n.opened},n.dispatchPopupEvent(e,r.opened))):n.opened&&e.keyCode===C.R.esc&&(r={focusedIndex:-1,opened:!1},n.dispatchPopupEvent(e,r.opened)),n.opened){var o=P(t,e.keyCode,e.altKey,n.buttonsData.length);o!==t&&((r=r||{}).focusedIndex=o);var a=e.keyCode===C.R.up||e.keyCode===C.R.down||e.keyCode===C.R.left||e.keyCode===C.R.right;e.altKey||!a&&e.keyCode!==C.R.home&&e.keyCode!==C.R.end||e.preventDefault()}r&&n.setState(r)}},n.switchFocus=function(e){n.skipFocus=!0,e(),window.setTimeout((function(){return n.skipFocus=!1}),0)},n.onFocus=function(e){n.skipFocus||((0,x.N)(n.props.onFocus,e,n,void 0),n.setState({focused:!0}))},n.onItemClick=function(e,t){var r=n.opened;r&&n.setState({focusedIndex:0,opened:!1}),n.dispatchClickEvent(e,t),r&&n.dispatchPopupEvent(e,!1)},n.onBlur=function(e){n.skipFocus||(n.setState({focused:!1,focusedIndex:-1,opened:!1}),(0,x.N)(n.props.onBlur,e,n,void 0),n.opened&&n.dispatchPopupEvent(e,!1))},n.onPopupClose=function(){n.state.focused&&n.switchFocus((function(){n.element&&(n.element.removeAttribute("tabindex"),n.element.focus({preventScroll:!0}))}))},n.listRef=function(e){n.list=e,e&&n.state.focused&&n.switchFocus((function(){e.focus({preventScroll:!0}),n.element&&(n.element.tabIndex=-1)}))},n.onSplitPartClick=function(e){if(n.buttonsData.length){var t=!n.opened;n.dispatchPopupEvent(e,t),n.setState({focusedIndex:t?0:-1,opened:t,focused:!0})}},n.onDownSplitPart=function(e){e.preventDefault(),n.element&&document.activeElement!==n.element&&document.activeElement!==n.list&&n.element.focus()},n.onItemDown=function(e){document.activeElement===n.list&&e.preventDefault()},n.dispatchPopupEvent=function(e,t){(0,x.N)(t?n.props.onOpen:n.props.onClose,e,n,void 0)},(0,s.s)(c),n}return R(t,e),Object.defineProperty(t.prototype,"opened",{get:function(){return void 0===this.props.opened?this.state.opened:this.props.opened},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;this.buttonsData=this.props.items||o.Children.toArray(this.props.children).filter((function(e){return e&&e.type===E})).map((function(e){return e.props}));var t=this.isRtl(),n=t?"rtl":void 0,r=this.props,a=r.id,s=r.style,c=r.tabIndex,u=r.disabled;return o.createElement("div",{id:a,style:s,className:(0,i.A)("k-split-button","k-button-group",{"k-focus":this.state.focused},"k-rounded-".concat(l.G.roundedMap[this.props.rounded||"medium"]),this.props.className),onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,dir:n,ref:function(t){return e.wrapper=t}},o.createElement(p,{ref:function(t){return e.mainButton=t&&t.element},type:"button",size:this.props.size,rounded:this.props.rounded,fillMode:this.props.fillMode,themeColor:this.props.themeColor,onClick:function(t){return e.onItemClick(t,-1)},disabled:u||void 0,tabIndex:c,accessKey:this.props.accessKey,className:this.props.buttonClass,icon:this.props.icon,iconClass:this.props.iconClass,imageUrl:this.props.imageUrl,dir:n,"aria-disabled":u,"aria-haspopup":!0,"aria-expanded":this.opened||void 0,"aria-label":this.props.ariaLabel,"aria-controls":this.opened?this.guid:void 0,id:"button-"+this.guid,title:this.props.title},this.props.text),o.createElement(p,{type:"button",size:this.props.size,rounded:this.props.rounded,fillMode:this.props.fillMode,themeColor:this.props.themeColor,icon:"arrow-s",className:"k-split-button-arrow",disabled:u||void 0,tabIndex:-1,onClick:this.onSplitPartClick,onMouseDown:this.onDownSplitPart,onPointerDown:this.onDownSplitPart,dir:n,"aria-label":"menu toggling button"}),this.renderPopup(t))},t.prototype.componentDidMount=function(){(void 0===this.props.dir&&this.isRtl()||this.opened)&&this.forceUpdate()},Object.defineProperty(t.prototype,"element",{get:function(){return this.mainButton},enumerable:!1,configurable:!0}),t.prototype.dispatchClickEvent=function(e,t){this.isItemDisabled(t)||(-1===t?(0,x.N)(this.props.onButtonClick,e,this,void 0):(0,x.N)(this.props.onItemClick,e,this,{item:this.buttonsData[t],itemIndex:t}))},t.prototype.renderPopup=function(e){var t,n=this.props.popupSettings,r=void 0===n?{}:n,a=this.state.focusedIndex;return o.createElement(_.G,{anchor:this.wrapper,show:this.opened,animate:r.animate,popupClass:(0,i.A)("k-menu-popup",r.popupClass),anchorAlign:r.anchorAlign||S(e),popupAlign:r.popupAlign||N(e),style:e?{direction:"rtl"}:void 0,onClose:this.onPopupClose},o.createElement("ul",{role:"menu",id:this.guid,"aria-labelledby":"button-"+this.guid,tabIndex:-1,ref:this.listRef,"aria-activedescendant":a>=0?"".concat(this.guid,"-").concat(a):void 0,className:(0,i.A)("k-group k-menu-group k-reset",(t={},t["k-menu-group-".concat(l.G.sizeMap[this.props.size]||this.props.size)]=this.props.size,t))},this.renderChildItems()))},t.prototype.renderChildItems=function(){var e=this,t=this.props,n=t.item,r=t.itemRender,a=t.textField;return this.buttonsData.length>0?this.buttonsData.map((function(t,i){return o.createElement(O,{className:"k-menu-item",dataItem:t,textField:a,focused:e.state.focusedIndex===i,onClick:e.onItemClick,onDown:e.onItemDown,render:r,item:n,key:i,index:i,id:"".concat(e.guid,"-").concat(i)})})):null},t.prototype.isItemDisabled=function(e){return this.buttonsData[e]?this.buttonsData[e].disabled:this.props.disabled},t.prototype.isRtl=function(){return void 0!==this.props.dir?"rtl"===this.props.dir:!!this.wrapper&&"rtl"===getComputedStyle(this.wrapper).direction},t.propTypes={accessKey:a.string,ariaLabel:a.string,title:a.string,onButtonClick:a.func,onFocus:a.func,onBlur:a.func,onItemClick:a.func,onOpen:a.func,onClose:a.func,text:a.string,items:a.arrayOf(a.any),textField:a.string,tabIndex:a.number,disabled:a.bool,icon:a.string,iconClass:a.string,imageUrl:a.string,popupSettings:a.object,itemRender:a.any,item:a.func,className:a.string,buttonClass:a.string,dir:a.string},t.defaultProps={size:"medium",rounded:"medium",shape:"rectangle",fillMode:"solid",themeColor:"base"},t}(o.Component),M=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){return null},t.propTypes={text:a.string,icon:a.string,iconClass:a.string,imageUrl:a.string,selected:a.bool,disabled:a.bool,render:a.any},t}(o.Component),T=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=function(){return A=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},A.apply(this,arguments)},L=function(e){function t(t){var n=e.call(this,t)||this;return n.state={opened:!1,focused:!1,focusedIndex:-1},n.wrapper=null,n.mainButton=null,n.list=null,n.skipFocus=!1,n.guid=(0,k.M)(),n.buttonsData=[],n.onKeyDown=function(e){var t=n.state.focusedIndex;if(e.altKey)n.opened||e.keyCode!==C.R.down?n.opened&&e.keyCode===C.R.up&&(n.dispatchPopupEvent(e,!1),n.setState({focusedIndex:-1,opened:!1})):(n.dispatchPopupEvent(e,!0),n.setState({focusedIndex:0,opened:!0}));else{var r=A({},n.state);if(e.keyCode===C.R.enter||e.keyCode===C.R.space?(t>=0&&n.dispatchClickEvent(e,t),e.preventDefault(),r.focusedIndex=n.opened?-1:0,r.opened=!n.opened,n.dispatchPopupEvent(e,r.opened)):n.opened&&e.keyCode===C.R.esc&&(r.focusedIndex=-1,r.opened=!1,n.dispatchPopupEvent(e,r.opened)),n.opened){var o=P(t,e.keyCode,e.altKey,n.buttonsData.length);r.focusedIndex=o;var a=e.keyCode===C.R.up||e.keyCode===C.R.down||e.keyCode===C.R.left||e.keyCode===C.R.right;e.altKey||!a&&e.keyCode!==C.R.home&&e.keyCode!==C.R.end||e.preventDefault()}n.setState(r)}},n.switchFocus=function(e){n.skipFocus=!0,e(),window.setTimeout((function(){return n.skipFocus=!1}),0)},n.handleFocus=function(e){n.skipFocus||(n.setState({focused:!0,focusedIndex:n.opened?0:-1}),(0,x.N)(n.props.onFocus,e,n,void 0))},n.handleBlur=function(e){n.skipFocus||(n.setState({focused:!1,opened:!1,focusedIndex:-1}),(0,x.N)(n.props.onBlur,e,n,void 0),n.opened&&n.dispatchPopupEvent(e,!1))},n.onItemClick=function(e,t){n.setState({focusedIndex:-1,opened:!1}),n.dispatchClickEvent(e,t),n.dispatchPopupEvent(e,!1)},n.onItemDown=function(e){document.activeElement===n.list&&e.preventDefault()},n.mouseDown=function(e){e.preventDefault(),n.element&&document.activeElement!==n.element&&document.activeElement!==n.list&&n.element.focus()},n.onPopupClose=function(){n.state.focused&&n.switchFocus((function(){n.element&&(n.element.removeAttribute("tabindex"),n.element.focus({preventScroll:!0}))}))},n.listRef=function(e){n.list=e,e&&n.state.focused&&n.switchFocus((function(){e.focus({preventScroll:!0}),n.element&&(n.element.tabIndex=-1)}))},n.onClickMainButton=function(e){if(n.buttonsData.length){var t=!n.opened;n.setState({opened:t,focused:!0,focusedIndex:t?0:-1}),n.dispatchPopupEvent(e,t)}},n.dispatchPopupEvent=function(e,t){(0,x.N)(t?n.props.onOpen:n.props.onClose,e,n,void 0)},(0,s.s)(c),n}return T(t,e),Object.defineProperty(t.prototype,"opened",{get:function(){return void 0===this.props.opened?this.state.opened:this.props.opened},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.isRtl(),n=t?"rtl":void 0,r=this.props,a=r.id,l=r.style,s=r.tabIndex,c=r.disabled;return this.buttonsData=this.props.items||o.Children.toArray(this.props.children).filter((function(e){return e&&e.type===D})).map((function(e){return e.props})),o.createElement("div",{id:a,style:l,className:(0,i.A)("k-dropdown-button",{"k-focus":this.state.focused},this.props.className),onKeyDown:this.onKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,dir:n,ref:function(t){return e.wrapper=t}},o.createElement(p,{size:this.props.size,shape:this.props.shape,rounded:this.props.rounded,fillMode:this.props.fillMode,themeColor:this.props.themeColor,onClick:this.onClickMainButton,onMouseDown:this.mouseDown,disabled:c||void 0,tabIndex:s,accessKey:this.props.accessKey,icon:this.props.icon,iconClass:this.props.iconClass,className:this.props.buttonClass,imageUrl:this.props.imageUrl,dir:n,ref:function(t){return e.mainButton=t&&t.element},type:"button","aria-haspopup":!0,"aria-expanded":this.opened||void 0,"aria-label":this.props.ariaLabel,"aria-controls":this.opened?this.guid:void 0,id:"button-"+this.guid,title:this.props.title},this.props.text),this.renderPopup(t))},t.prototype.componentDidMount=function(){(void 0===this.props.dir&&this.isRtl()||this.opened)&&this.forceUpdate()},Object.defineProperty(t.prototype,"element",{get:function(){return this.mainButton},enumerable:!1,configurable:!0}),t.prototype.dispatchClickEvent=function(e,t){this.isItemDisabled(t)||(0,x.N)(this.props.onItemClick,e,this,{item:this.buttonsData[t],itemIndex:t})},t.prototype.renderPopup=function(e){var t,n=this.props.popupSettings,r=void 0===n?{}:n,a=this.state.focusedIndex;return o.createElement(_.G,{anchor:this.wrapper,show:this.opened,animate:r.animate,popupClass:(0,i.A)("k-menu-popup",r.popupClass),anchorAlign:r.anchorAlign||S(e),popupAlign:r.popupAlign||N(e),style:e?{direction:"rtl"}:void 0,onClose:this.onPopupClose},o.createElement("ul",{role:"menu",id:this.guid,"aria-labelledby":"button-"+this.guid,tabIndex:-1,"aria-activedescendant":a>=0?"".concat(this.guid,"-").concat(a):void 0,ref:this.listRef,className:(0,i.A)("k-group k-menu-group k-reset",(t={},t["k-menu-group-".concat(l.G.sizeMap[this.props.size]||this.props.size)]=this.props.size,t))},this.renderChildItems()))},t.prototype.renderChildItems=function(){var e=this,t=this.props,n=t.item,r=t.itemRender,a=t.textField;return this.buttonsData.length>0?this.buttonsData.map((function(t,i){return o.createElement(O,{className:"k-menu-item",dataItem:t,textField:a,focused:e.state.focusedIndex===i,onClick:e.onItemClick,onDown:e.onItemDown,render:r,item:n,index:i,key:i,id:"".concat(e.guid,"-").concat(i)})})):null},t.prototype.isItemDisabled=function(e){return this.buttonsData[e]?this.buttonsData[e].disabled:this.props.disabled},t.prototype.isRtl=function(){return void 0!==this.props.dir?"rtl"===this.props.dir:!!this.wrapper&&"rtl"===getComputedStyle(this.wrapper).direction},t.propTypes={accessKey:a.string,ariaLabel:a.string,title:a.string,onFocus:a.func,onBlur:a.func,onItemClick:a.func,onOpen:a.func,onClose:a.func,items:a.arrayOf(a.any),textField:a.string,tabIndex:a.number,disabled:a.bool,icon:a.string,iconClass:a.string,imageUrl:a.string,popupSettings:a.object,itemRender:a.func,item:a.func,className:a.string,buttonClass:a.string,dir:a.string},t.defaultProps={size:"medium",rounded:"medium",shape:"rectangle",fillMode:"solid",themeColor:"base"},t}(o.Component),j=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),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)},V=function(e){function t(n){var r=e.call(this,n)||this;return r._element=null,r.offsetHeight=0,r.offsetWidth=0,r.buttons=[],r.focusedSelector=r.selectors.map((function(e){return e+":focus"})).join(","),r.setTabIndex=function(e){var n=r.props.tabIndex,o=void 0===n?t.defaultProps.tabIndex:n;r.buttons.forEach((function(t,n){t.tabIndex=n===e?o:-1}))},r.onKeyDown=function(e){var t=e.target;if((e.keyCode===C.R.left||e.keyCode===C.R.right)&&!e.defaultPrevented&&-1!==r.buttons.findIndex((function(e){return e===t}))){var n=r.focusedIndex;e.keyCode===C.R.left?r.focusButton(n,n-1):r.focusButton(n,n+1)}},r.onWindowResize=function(e){var t=r.element;if(t){var n=t.offsetWidth,o=t.offsetHeight;if(r.offsetWidth!==n||r.offsetHeight!==o){r.offsetWidth=n,r.offsetHeight=o;var a={offsetWidth:r.offsetWidth,offsetHeight:r.offsetHeight};r.props.onResize&&r.props.onResize.call(void 0,B(B({target:r},a),{nativeEvent:e}))}}},(0,s.s)(c),r}return j(t,e),Object.defineProperty(t.prototype,"selectors",{get:function(){return this.props.buttons||v},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"focusedIndex",{get:function(){var e=this.element&&this.element.querySelector(this.focusedSelector);return Math.max(0,this.buttons.findIndex((function(t){return t===e})))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.onWindowResize);var e=this.element;e&&(this.offsetWidth=e.offsetWidth,this.offsetHeight=e.offsetHeight,!1!==this.props.keyboardNavigation&&(this.buttons=Array.from(e.querySelectorAll(this.selectors.join(","))),this.setTabIndex(0)))},t.prototype.componentDidUpdate=function(){var e=this.element;e&&!1!==this.props.keyboardNavigation&&(this.buttons=Array.from(e.querySelectorAll(this.selectors.join(","))),this.setTabIndex(this.focusedIndex))},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.onWindowResize),this.buttons.length=0},t.prototype.render=function(){var e=this;return o.createElement("div",{id:this.props.id,className:(0,i.A)("k-widget k-toolbar",this.props.className),style:this.props.style,role:void 0!==this.props.role?this.props.role||void 0:"toolbar",dir:this.props.dir,ref:function(t){return e._element=t},onKeyDown:!1!==this.props.keyboardNavigation?this.onKeyDown:void 0},this.props.children)},t.prototype.focusButton=function(e,n){var r=this.props.tabIndex,o=void 0===r?t.defaultProps.tabIndex:r,a=this.buttons[n];if(a){a.tabIndex=o,a.focus();var i=this.buttons[e];i&&(i.tabIndex=-1)}},t.propTypes={tabIndex:a.number,dir:a.string,keyboardNavigation:a.bool,style:a.object,className:a.string,role:a.string,onResize:a.func,buttons:a.arrayOf(a.string)},t.defaultProps={tabIndex:0},t}(o.Component),F=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._element=null,t}return F(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return o.createElement("span",{id:this.props.id,className:this.props.className,style:this.props.style,ref:function(t){return e._element=t}},this.props.children)},t.propTypes={className:a.string},t}(o.PureComponent),G=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return G(t,e),t.prototype.render=function(){return o.createElement(z,{className:"k-separator"})},t}(o.PureComponent),H=o.forwardRef((function(e,t){var n=o.useRef(null),r=o.useRef(null);o.useImperativeHandle(r,(function(){return{element:n.current}})),o.useImperativeHandle(t,(function(){return{element:n.current}}));var a=o.useMemo((function(){return(0,i.A)("k-spacer",e.className)}),[e.className]);return o.createElement("span",{ref:n,className:a})}));H.displayName="KendoReactToolbarSpacer",H.propTypes={className:a.string};var U,W,q,X,Y=n(8199),Z=n(9659),$=n(3322),J=n(4703),Q=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;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(e){e.single="single",e.multiple="multiple",e.none="none"}(U||(U={})),function(e){e.toggle="toggle",e.remove="remove"}(W||(W={})),function(e){e.next="next",e.prev="prev",e.current="current",e.reset="reset"}(q||(q={})),function(e){e.remove="remove",e.add="add",e.reorder="reorder"}(X||(X={}));var 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},ee.apply(this,arguments)},te=o.createContext([null,function(e){}]),ne=o.createContext([null,function(e){}]),re=o.createContext([null,function(e){}]),oe=o.forwardRef((function(e,t){var n;(0,s.s)(c);var r=o.useRef(null),a=o.useRef(null),u=(0,Y.n)(a,e.dir),d=e.chip,p=e.id,f=e.style,h=e.tabIndex,v=e.disabled,m=e.size,g=e.className,b=e.ariaDescribedBy,y=e.ariaLabelledBy,k=e.selection,C=void 0===k?ie.selection:k,x=e.value,O=void 0===x?ie.defaultValue:x,w=e.defaultData,E=void 0===w?ie.defaultData:w,P=e.valueField,_=void 0===P?ie.valueField:P,S=e.textField,N=void 0===S?ie.textField:S,R=e.onChange,I=e.onDataChange,M=o.useMemo((function(){return d||se}),[d,se]);o.useImperativeHandle(r,(function(){return{element:a.current,props:e}})),o.useImperativeHandle(t,(function(){return r.current}));var D=o.useCallback((function(e,t){R&&r.current&&R.call(void 0,{value:e,target:r.current,syntheticEvent:t})}),[R]),T=function(e,t,n){var r=o.useState(e),a=r[0],i=r[1];return[a,function(e){var r=function(e,t){switch(t.selection){case U.single:switch(t.type){case W.toggle:if(!Array.isArray(e)||null===e)return t.payload===e?null:t.payload;throw new Error("State cannot be an array in single selection");case W.remove:return t.payload===e?null:e;default:return e}case U.multiple:switch(t.type){case W.toggle:if(Array.isArray(e))return e.some((function(e){return e===t.payload}))?e.filter((function(e){return e!==t.payload})):Q(Q([],e,!0),[t.payload],!1);if(null===e)return[t.payload];throw new Error("State cannot be non-array in multiple selection");case W.remove:return Array.isArray(e)?e.some((function(e){return e===t.payload}))?e.filter((function(e){return e!==t.payload})):Q(Q([],e,!0),[t.payload],!1):e;default:return e}case U.none:return null;default:return e}}(t.state||a,ee(ee({},e),t));n&&n(r,e.event),i(r)}]}(O,{selection:C,state:O},D),A=T[0],L=T[1],j=o.useCallback((function(e,t){I&&r.current&&I.call(void 0,{value:e,target:r.current,syntheticEvent:t})}),[I]),B=function(e,t,n){var r=o.useState(e),a=r[0],i=r[1];return[a,function(e){var r=function(e,t){switch(t.type){case X.add:break;case X.remove:return e.filter((function(e){return e[t.valueField]!==t.payload}));case X.reorder:break;default:return e}}(t.state||a,ee(ee({},e),t));n&&n(r,e.event),i(r)}]}(e.data||E,{state:e.data,valueField:_},j),V=B[0],F=B[1],z=o.useCallback((function(e,t){return e.push(t[_]),e}),[_]),G=o.useMemo((function(){return e.data||V}),[e.data,V]),K=o.useMemo((function(){return O||A}),[O,A]),H=o.useMemo((function(){return G.reduce(z,[])}),[G,z]),oe=o.useCallback((function(e){return(0,Z.Y)(_)(e)}),[_]),ae=o.useCallback((function(e){return(0,Z.Y)(N)(e)}),[N]),le=function(e){var t=o.useState(null),n=t[0],r=t[1];return[n,function(t){var n=function(e,t){var n=t.items.findIndex((function(t){return t===e}));switch(t.type){case q.next:return n===t.items.length-1?e:t.items[n+1];case q.prev:return 0===n?e:t.items[n-1];case q.current:return t.payload;case q.reset:return null;default:return e}}(t.payload,ee(ee({},t),e));r(n)}]}({items:H}),ce=le[0],ue=le[1],de=(0,$.i)(e,r);return o.createElement(te.Provider,{value:[K,L]},o.createElement(ne.Provider,{value:[ce,ue]},o.createElement(re.Provider,{value:[G,F]},o.createElement("div",ee({ref:a},de,{role:"listbox",id:p,dir:u,style:f,tabIndex:(0,J.p)(h,v,void 0),className:(0,i.A)("k-chip-list",(n={"k-rtl":"rtl"===u,"k-disabled":v},n["k-chip-list-".concat(l.G.sizeMap[m]||m)]=m,n),g),"aria-labelledby":y,"aria-describedby":b}),G.map((function(e,t){return o.createElement(M,{role:"option",dataItem:e,size:m,key:[oe(e),t].join("-"),text:ae(e),value:oe(e)})}))))))})),ae={id:a.string,className:a.string,tabIndex:a.number,data:a.any,defaultData:a.arrayOf(a.any),onDataChange:a.func,value:a.oneOfType([a.any,a.arrayOf(a.any)]),defaultValue:a.oneOfType([a.any,a.arrayOf(a.any)]),onChange:a.func,selection:a.oneOf(["single","none","multiple"]),textField:a.string,valueField:a.string,disabled:a.bool,dir:a.oneOf(["ltr","rtl"]),ariaLabelledBy:a.string,ariaDescribedBy:a.string,size:a.oneOf([null,"small","medium","large"])},ie={chip:se,size:"medium",disabled:!1,defaultValue:null,defaultData:[],dir:"ltr",selection:"none",textField:"text",valueField:"value",removable:"removable"};oe.displayName="KendoReactChipList",oe.propTypes=ae,oe.defaultProps=ie;var le=function(){return le=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},le.apply(this,arguments)},se=o.forwardRef((function(e,t){var n;(0,s.s)(c);var r=o.useRef(null),a=o.useRef(null),u=(0,Y.n)(a,e.dir);o.useImperativeHandle(r,(function(){return{element:a.current,props:e}})),o.useImperativeHandle(t,(function(){return r.current}));var d=o.useContext(te),p=d[0],f=d[1],h=o.useContext(ne),v=h[0],m=h[1],g=o.useContext(re)[1],b=o.useMemo((function(){return e.selected||(Array.isArray(p)?p.some((function(t){return t===e.value})):p===e.value)}),[e.selected,e.value,p]),y=o.useMemo((function(){return v===e.value}),[e.value,v]);o.useEffect((function(){y&&a.current&&a.current.focus()}),[y]);var k=o.useCallback((function(t){f({type:W.toggle,payload:e.value,event:t})}),[f,e.value]),x=o.useCallback((function(t){e.removable&&(g({type:X.remove,payload:e.value,event:t}),m({type:q.reset,payload:e.value,event:t}),f({type:W.remove,payload:e.value,event:t}),e.onRemove&&e.onRemove.call(void 0,{target:r.current,syntheticEvent:t}))}),[e.onRemove,e.value,e.removable,g,m,f]),O=o.useCallback((function(t){switch(t.keyCode){case C.R.left:m({type:q.prev,payload:e.value,event:t});break;case C.R.right:m({type:q.next,payload:e.value,event:t});break;case C.R.enter:f({type:W.toggle,payload:e.value,event:t});break;case C.R.delete:x(t)}e.onKeyDown&&e.onKeyDown.call(void 0,{target:r.current,syntheticEvent:t})}),[e.onKeyDown,e.value,m,f,x]),w=o.useCallback((function(t){m({payload:e.value,type:q.current,event:t}),e.onFocus&&e.onFocus.call(void 0,{target:r.current,syntheticEvent:t})}),[e.onFocus,e.value,m]),E=o.useCallback((function(t){e.onBlur&&e.onBlur.call(void 0,{target:r.current,syntheticEvent:t})}),[e.onBlur]),P=(0,$.i)(e,r,{onClick:k});return o.createElement("div",le({},P,{role:e.role,id:e.value,style:e.style,ref:a,dir:u,tabIndex:(0,J.p)(e.tabIndex,e.disabled,void 0),className:(0,i.A)("k-chip",(n={"k-rtl":"rtl"===u,"k-disabled":e.disabled,"k-selected":b,"k-focus":y},n["k-chip-".concat(l.G.sizeMap[e.size]||e.size)]=e.size,n["k-rounded-".concat(l.G.roundedMap[e.rounded]||e.rounded)]=e.rounded,n["k-chip-".concat(e.fillMode)]=e.fillMode,n["k-chip-".concat(e.fillMode,"-").concat(e.themeColor)]=Boolean(e.fillMode&&e.themeColor),n),e.className),"aria-checked":b,"aria-disabled":e.disabled,"aria-describedby":e.ariaDescribedBy,onFocus:w,onBlur:E,onKeyDown:O}),b&&e.selectedIcon&&o.createElement("span",{className:(0,i.A)("k-chip-icon","k-icon",e.selectedIcon)}),e.icon&&o.createElement("span",{className:(0,i.A)("k-chip-icon","k-icon",e.icon)}),o.createElement("span",{className:"k-chip-content"},void 0!==e.children?e.children:e.text&&o.createElement("span",{"aria-label":e.text,className:"k-chip-label"},e.text)),e.removable&&o.createElement("span",{className:"k-chip-actions"},o.createElement("span",{className:"k-chip-action"},o.createElement("span",{className:(0,i.A)("k-chip-remove-action","k-icon",e.removeIcon),onClick:x}))))})),ce={id:a.string,text:a.string,value:a.any,dir:a.oneOf(["ltr","rtl"]),removable:a.bool,removeIcon:a.string,disabled:a.bool,icon:a.string,selectedIcon:a.string,onRemove:a.func,dataItem:a.any,selected:a.bool,ariaDescribedBy:a.string,size:a.oneOf([null,"small","medium","large"]),rounded:a.oneOf([null,"small","medium","large","full"]),fillMode:a.oneOf([null,"outline","solid"]),themeColor:a.oneOf([null,"base","info","success","warning","error"])};se.displayName="KendoReactChip",se.propTypes=ce,se.defaultProps={disabled:!1,removable:!1,removeIcon:"k-i-x-circle",dir:"ltr",size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base"};var ue=n(8259),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)},pe=o.forwardRef((function(e,t){var n=e.className,r=e.disabled,a=e.text,l=e.icon,s=e.style,c=e.id,u=e.focused,d=e.tabIndex,p=e.index,f=e.dataItem,h=e.item,v=e.onDown,m=e.onClick,g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","disabled","text","icon","style","id","focused","tabIndex","index","dataItem","item","onDown","onClick"]),b=o.useRef(null),y=o.useCallback((function(){b.current&&b.current.focus()}),[]),k=o.useCallback((function(){return{element:b.current,focus:y}}),[y]);o.useImperativeHandle(t,k);var C=o.useCallback((function(e){m&&void 0!==p&&!r&&m(e,p)}),[m,p]),x=o.useMemo((function(){return(0,i.A)("k-fab-item",{"k-focus":u,"k-disabled":r},n)}),[n,r,u]),O=h;return o.createElement("li",de({ref:b,id:c,className:x,style:s,role:"menuitem",tabIndex:(0,J.p)(d,r),"aria-disabled":r,"aria-label":"".concat(a||""," floatingactionbutton item"),onClick:C,onMouseDown:v,onPointerDown:v},g),O?o.createElement(O,{itemIndex:p,item:f}):o.createElement(o.Fragment,null,a&&o.createElement("span",{className:"k-fab-item-text"},a),l&&o.createElement("span",{className:(0,i.A)("k-fab-item-icon k-icon k-i-".concat(l))})))}));pe.propTypes={className:a.string,style:a.object,children:a.any,disabled:a.bool,focused:a.bool,index:a.number,icon:a.string,text:a.string,tabIndex:a.number,customProp:a.any},pe.displayName="KendoFloatingActionButtonItem";var fe="16px",he=function(e){return"number"==typeof e?e+"px":e},ve=function(e,t){var n={horizontal:t?"right":"left",vertical:"bottom"};return"end"===e.horizontal&&(n.horizontal=t?"left":"right"),n},me=function(e,t){var n={horizontal:t?"right":"left",vertical:"top"};return"end"===e.horizontal&&(n.horizontal=t?"left":"right"),n},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},ge.apply(this,arguments)},be=o.forwardRef((function(e,t){(0,s.s)(c);var n=e.align,r=void 0===n?ye.align:n,a=e.alignOffset,u=e.className,d=e.disabled,p=e.icon,f=e.iconClass,h=e.id,v=e.items,m=e.item,g=e.text,b=e.positionMode,y=void 0===b?ye.positionMode:b,O=e.shape,w=void 0===O?ye.shape:O,E=e.size,P=void 0===E?ye.size:E,S=e.style,N=e.rounded,R=void 0===N?ye.rounded:N,I=e.themeColor,M=void 0===I?ye.themeColor:I,D=e.overlayStyle,T=e.tabIndex,A=e.accessKey,L=e.popupSettings,j=void 0===L?{}:L,B=e.modal,V=e.onClick,F=e.onItemClick,z=e.onFocus,G=e.onBlur,K=e.onKeyDown,H=e.onOpen,U=e.onClose,W=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,["align","alignOffset","className","disabled","icon","iconClass","id","items","item","text","positionMode","shape","size","style","rounded","themeColor","overlayStyle","tabIndex","accessKey","popupSettings","modal","onClick","onItemClick","onFocus","onBlur","onKeyDown","onOpen","onClose"]),q=(0,ue.u)(),X=q?q+2:100,Z=o.useRef(null),$=o.useRef(null),Q=o.useRef(null),ee=o.useRef(null),te=o.useCallback((function(){$.current&&$.current.focus()}),[]),ne=o.useCallback((function(){return{element:$.current,focus:te}}),[te]);o.useImperativeHandle(Z,ne),o.useImperativeHandle(t,(function(){return Z.current}));var re=o.useState(!1),oe=re[0],ae=re[1],ie=o.useState(!1),le=ie[0],se=ie[1],ce=o.useState(-1),de=ce[0],be=ce[1],ke=o.useMemo((function(){return(0,k.M)()}),[]),Ce=(0,Y.n)($,e.dir),xe="rtl"===Ce,Oe=o.useMemo((function(){return(0,k.M)()}),[]);o.useEffect((function(){!function(e,t,n,r){var o=t.horizontal,a=t.vertical;if(e.current){var i=n&&void 0!==n.x?he(n.x):fe,l=n&&void 0!==n.x?"calc(50% + ".concat(he(n.x),")"):"50%",s=n&&void 0!==n.y?he(n.y):fe,c=n&&void 0!==n.y?"calc(50% + ".concat(he(n.y),")"):"50%";e.current.style.setProperty(function(e,t){return{end:t?"left":"right",center:"left",start:t?"right":"left"}[e.horizontal||"end"]}(t,r),"center"===o?l:i),e.current.style.setProperty(function(e){return{top:"top",middle:"top",bottom:"bottom"}[e.vertical||"bottom"]}(t),"middle"===a?c:s),r&&("top"!==a&&"bottom"!==a||"start"!==o||e.current.style.setProperty("left","unset"),"middle"===a&&"end"===o&&e.current.style.setProperty("right","unset"),"middle"===a&&"start"===o&&e.current.style.setProperty("left","unset"))}}($,r,a,xe)}),[$,r,a,xe]),o.useEffect((function(){le&&$&&$.current&&$.current.focus()}),[le,$]);var we=o.useCallback((function(e,t){v&&(0,x.N)(t?H:U,e,ne(),void 0)}),[H,U,v]),Ee=o.useCallback((function(e){e.target&&!d&&(!v&&V?(0,x.N)(V,e,ne(),void 0):(ae(!oe),se(!0),be(oe?-1:0),we(e,!oe)))}),[ae,se,be,V,we,oe,v,d]),Pe=o.useCallback((function(e){se(!0),be(oe?0:-1),z&&(0,x.N)(z,e,ne(),void 0)}),[z,se,be]),_e=o.useCallback((function(e){se(!1),ae(!1),be(-1),(0,x.N)(G,e,ne(),void 0),oe&&we(e,!1)}),[G,se,ae,be,we]),Se=o.useCallback((function(e){e.preventDefault()}),[]),Ne=o.useCallback((function(e,t){v&&(v[t].disabled||(0,x.N)(F,e,ne(),{itemProps:v[t],itemIndex:t}))}),[F]),Re=o.useCallback((function(e,t){e.target&&v&&(be(t),ae(!1),Ne(e,t),we(e,!1))}),[be,ae,Ne,we]),Ie=o.useCallback((function(e){document.activeElement===$.current&&e.preventDefault()}),[$,document.activeElement]),Me=o.useCallback((function(e){var t=de,n=v?v.length-1:-1,o="bottom"===r.vertical;switch(e.keyCode){case C.R.enter:case C.R.space:t>=0&&Ne(e,t),e.preventDefault(),ae(!oe),be(oe?-1:0);break;case C.R.esc:e.preventDefault(),ae(!1),be(-1);break;case C.R.home:e.preventDefault(),be(0);break;case C.R.end:e.preventDefault(),be(n);break;case C.R.down:case C.R.right:e.preventDefault(),t<n&&!o&&be(t+1),t>0&&o&&be(t-1);break;case C.R.up:case C.R.left:e.preventDefault(),t>0&&!o&&be(t-1),t<n&&o&&be(t+1)}(0,x.N)(K,e,ne(),void 0)}),[K,de,be,xe,ae]),De=o.useMemo((function(){var e;return(0,i.A)("k-fab k-fab-solid",((e={})["k-fab-".concat(w)]=w,e["k-fab-sm"]="small"===P,e["k-fab-md"]="medium"===P,e["k-fab-lg"]="large"===P,e["k-disabled"]=d,e["k-pos-absolute"]="absolute"===y,e["k-pos-fixed"]="fixed"===y,e["k-focus"]=le,e["k-rounded-".concat(l.G.roundedMap[R]||R)]=R,e["k-fab-solid-".concat(M)]=M,e),"k-".concat(r.vertical,"-").concat(r.horizontal),u)}),[M,P,R,w,d,y,r,le,u]),Te=v&&v.map((function(e,t){return o.createElement(pe,ge({},e,{key:t,index:t,id:"".concat(Oe,"-").concat(t),disabled:d||e.disabled,focused:de===t,dataItem:e,item:m,className:(0,i.A)(e.className,(n=Ce||"ltr",a=r.horizontal,{rtl:{end:"k-text-left",start:"k-text-right"},ltr:{start:"k-text-left",end:"k-text-right"}}[n]["end"===a?"end":"start"])),onClick:Re,onDown:Ie}));var n,a})),Ae=p&&!g,Le=($.current?$.current.offsetWidth:0)/2-16;return o.createElement(ue.$.Provider,{value:X},o.createElement(o.Fragment,null,o.createElement("button",ge({ref:$,id:h||ke,role:v?"menubutton":"button",type:"button","aria-disabled":d,"aria-expanded":v?oe:void 0,"aria-haspopup":!!v,"aria-label":"".concat(g||""," floatingactionbutton"),"aria-owns":v?Oe:void 0,"aria-activedescendant":de>=0&&v?"".concat(Oe,"-").concat(de):void 0,tabIndex:(0,J.p)(T,d),accessKey:A,dir:Ce,disabled:d,className:De,style:S,onClick:Ee,onMouseDown:Se,onFocus:Pe,onBlur:_e,onKeyDown:Me},W),p?o.createElement("span",{role:"presentation",className:(0,i.A)("k-fab-icon k-icon k-i-".concat(p))}):f?o.createElement("span",{role:"presentation",className:f}):null,g&&o.createElement("span",{className:"k-fab-text"},g)),B&&oe&&o.createElement("div",{className:"k-overlay",style:ge({zIndex:X},D)}),o.createElement(_.G,{ref:ee,anchor:$.current,show:oe,animate:j.animate,popupClass:(0,i.A)("k-popup-transparent k-fab-popup",j.popupClass),anchorAlign:j.anchorAlign||ve(r,xe),popupAlign:j.popupAlign||me(r,xe),style:{boxShadow:"none"}},o.createElement("ul",{ref:Q,role:"menu","aria-labelledby":h,id:Oe,className:(0,i.A)("k-fab-items",{"k-fab-items-bottom":"bottom"!==r.vertical,"k-fab-items-top":"bottom"===r.vertical}),style:{paddingLeft:Ae?Le:void 0,paddingRight:Ae?Le:void 0}},Te))))}));be.propTypes={className:a.string,style:a.object,id:a.string,dir:a.string,tabIndex:a.number,accessKey:a.string,disabled:a.bool,icon:a.string,iconClass:a.string,text:a.string,alignOffset:a.shape({x:a.oneOfType([a.number,a.string]),y:a.oneOfType([a.number,a.string])}),align:a.shape({vertical:a.oneOf(["top","middle","bottom"]),horizontal:a.oneOf(["start","center","end"])}),positionMode:a.oneOf(["absolute","fixed"]),shape:a.oneOf([null,"rectangle","square"]),size:a.oneOf([null,"small","medium","large"]),rounded:a.oneOf([null,"small","medium","large","full"]),themeColor:a.oneOf([null,"primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"]),modal:a.bool,overlayStyle:a.object};var ye={align:{vertical:"bottom",horizontal:"end"},shape:"rectangle",size:"medium",rounded:"full",themeColor:"primary",positionMode:"fixed"};be.displayName="KendoFloatingActionButton"},5935:(e,t,n)=>{n.r(t),n.d(t,{Error:()=>f,FloatingLabel:()=>g,Hint:()=>h,Label:()=>p});var r,o=n(3899),a=n(189),i=n(8047),l="labels.optional",s=((r={})[l]="(Optional)",r),c=n(499),u=n(4006),d={name:"@progress/kendo-react-labels",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1660026091,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"},p=function(e){(0,u.s)(d);var t=e.id,n=e.editorId,r=e.editorRef,a=e.editorDisabled,p=e.children,f=e.editorValid,h=e.style,v=e.className,m=e.optional,g=(0,c.useLocalization)(),b=m?g.toLanguageString(l,s[l]):"",y=b&&o.createElement("span",{className:"k-label-optional"},b),k=o.useCallback((function(e){if(r&&r.current&&!a){r.current.focus&&(e.preventDefault(),r.current.focus());var t=r.current.actionElement;t&&(e.preventDefault(),t.click())}}),[r]),C=(0,i.A)({"k-label":!0,"k-label-empty":!p,"k-text-error":!1===f,"k-text-disabled":!0===a},v);return o.createElement("label",{id:t,htmlFor:n,onClick:k,style:h,className:C},p,y)};p.propTypes={id:a.string,editorId:a.string,editorRef:a.oneOfType([a.func,a.shape({current:a.any})]),editorValid:a.bool,editorDisabled:a.bool,style:a.object,className:a.string,optional:a.bool},p.displayName="KendoReactLabel";var f=function(e){(0,u.s)(d);var t=(0,i.A)({"k-form-error":!0,"k-text-start":"start"===e.direction,"k-text-end":"end"===e.direction},e.className);return o.createElement("div",{id:e.id,role:"alert",style:e.style,className:t},e.children)};f.propTypes={id:a.string,direction:a.oneOf(["start","end"]),children:a.oneOfType([a.element,a.node]),style:a.object,className:a.string},f.defaultProps={direction:"start"},f.displayName="KendoReactError";var h=function(e){(0,u.s)(d);var t=(0,i.A)({"k-form-hint":!0,"k-text-start":"start"===e.direction,"k-text-end":"end"===e.direction,"k-text-disabled":!0===e.editorDisabled},e.className);return o.createElement("div",{id:e.id,style:e.style,className:t},e.children)};h.propTypes={id:a.string,direction:a.oneOf(["start","end"]),children:a.oneOfType([a.element,a.node]),style:a.object,className:a.string,editorDisabled:a.bool},h.defaultProps={direction:"start"},h.displayName="KendoReactHint";var v,m=(v=function(e,t){return v=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])},v(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}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=function(e){function t(t){var n=e.call(this,t)||this;return n.state={focused:!1},n.handleFocus=function(e){n.setState({focused:!0})},n.handleBlur=function(e){n.setState({focused:!1})},(0,u.s)(d),n}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.editorId,r=e.className,a=e.editorValue,u=e.editorPlaceholder,d=e.editorValid,p=e.editorDisabled,f=e.style,h=e.id,v=e.optional,m=(0,c.provideLocalizationService)(this),g=v?m.toLanguageString(l,s[l]):"",b=g&&o.createElement("span",{className:"k-label-optional"},g),y=(0,i.A)({"k-floating-label-container":!0,"k-focus":this.state.focused,"k-empty":!u&&!a&&0!==a,"k-text-disabled":p,"k-rtl":"rtl"===this.props.dir},r),k=(0,i.A)({"k-label":!0,"k-text-error":!1===d,"k-text-disabled":p});return o.createElement("span",{id:this.props.id,className:y,onFocus:this.handleFocus,onBlur:this.handleBlur,style:f,dir:this.props.dir},this.props.children,t?n?o.createElement("label",{id:h,htmlFor:n,className:k},t,b):o.createElement("span",{id:h,className:k},t,b):null)},t.propTypes={label:a.string,editorId:a.string,editorValue:a.oneOfType([a.string,a.bool,a.number]),editorPlaceholder:a.string,editorValid:a.bool,editorDisabled:a.bool,id:a.string,style:a.object,className:a.string,optional:a.bool},t}(o.Component);(0,c.registerForLocalization)(g)},9222:(e,t,n)=>{n.d(t,{G:()=>le,v:()=>ie});var r=n(3899),o=n(994),a=n(189),i=function(e){e.style.transitionDuration="",Array.from(e.classList).forEach((function(t){t.startsWith("k-slide-")&&e.classList.remove(t)}))},l="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent),s=n(4006),c=n(7827),u=n(8259),d=n(8047);const p="bottom",f="center",h="middle",v="left",m="right",g="top",b="fit",y="flip",k="none";var C,x,O,w=function(e,t,n){var r=0;return e+t>n&&(r=n-(e+t)),e<0&&(r=-e),r},E=function(e){var t=e.offset,n=e.size,r=e.anchorSize,o=e.viewPortSize,a=e.anchorAlignPoint,i=e.elementAlignPoint,l=0,s=2*e.margin;if(i!==a&&i!==f&&i!==h&&a!==f&&a!==h){var c=a===g||a===v;t<0&&c?t+(l=n+r+s)+n>o&&(l=0):t>=0&&!c&&(t+n>o&&(l+=-(r+n+s)),t+l<0&&(l=0))}return l},P=(C=function(e){if(!_())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},O=!1,function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return O||(x=C.apply(void 0,e),O=!0),x}),_=function(){return Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)};const S={eitherRect:function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},scaleRect:function(e,t){return e&&1!==t?{height:e.height/t,left:e.left/t,top:e.top/t,width:e.width/t}:e},removeStackingOffset:function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e},hasRelativeStackingContext:P,canUseDOM:_};function N(e){return e.ownerDocument||e.document||e}const R=function(e){return N(e).defaultView},I=function(e){return N(e).documentElement};var M=0;function D(){if(!M&&"undefined"!=typeof document){var e=document.createElement("div");e.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML="&nbsp;",document.body.appendChild(e),M=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)}return M}function T(e){var t=R(e),n=I(e),r={height:t.innerHeight,width:t.innerWidth};return n.scrollHeight-n.clientHeight>0&&(r.width-=D()),r}function A(e){var t=I(e),n=R(e);return{x:n.pageXOffset||t.scrollLeft||0,y:n.pageYOffset||t.scrollTop||0}}const L=function(e){var t=e.getBoundingClientRect(),n=t.left,r=t.top;return t.height||t.width||(t=function(e){var t=e.style,n=t.display,r=t.left,o=t.position;e.style.display="",e.style.left="-10000px",e.style.position="absolute";var a=e.getBoundingClientRect();return e.style.display=n,e.style.left=r,e.style.position=o,a}(e)),{top:r,left:n,height:t.height,width:t.width}};function j(e){return e===(e.ownerDocument||{}).body?A(e):{x:e.scrollLeft,y:e.scrollTop}}const B=function(e){for(var t=e.offsetParent;t&&"static"===t.style.position;)t=t.offsetParent;return t||I(e)};function V(e,t){for(var n=[],r=e.parentNode;r&&(n.push(r),r!==t);)r=r.parentNode;return n}function F(e){for(var t=[],n=e.parentNode.firstElementChild;n;)n!==e&&t.push(n),n=n.nextElementSibling;return t}var z=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],G=function(){return S.canUseDOM()?window:null},K=/auto|scroll/,H=function(e){return function(e){return""+e.style.overflow+e.style.overflowX+e.style.overflowY}(e)||function(e){var t=window.getComputedStyle(e);return""+t.overflow+t.overflowX+t.overflowY}(e)},U=function(e){if(!e||!S.hasRelativeStackingContext())return null;for(var t=e.parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null},W=function(){return S.canUseDOM()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},q={addOffset:function(e,t){return{left:e.left+t.left,top:e.top+t.top}},addScroll:function(e,t){return{top:e.top+t.y,left:e.left+t.x,height:e.height,width:e.width}},align:function(e){var t=e.anchorRect,n=e.anchorAlign,r=e.elementRect,o=e.elementAlign,a=e.margin;void 0===a&&(a={});var i=n.horizontal,l=n.vertical,s=o.horizontal,c=o.vertical,u=a.horizontal||0,d=a.vertical||0,v=t.top,g=t.left;return l===p&&(v+=t.height),l!==f&&l!==h||(v+=Math.round(t.height/2)),c===p&&(v-=r.height,d*=-1),c!==f&&c!==h||(v-=Math.round(r.height/2),d*=-1),i===m&&(g+=t.width),i!==f&&i!==h||(g+=Math.round(t.width/2)),s===m&&(g-=r.width,u*=-1),s!==f&&s!==h||(g-=Math.round(r.width/2),u*=-1),{top:v+d,left:g+u}},boundingOffset:function(e){if(!e.getBoundingClientRect){var t=T(e);return{bottom:t.height,left:0,right:t.width,top:0}}var n=e.getBoundingClientRect();return{bottom:n.bottom,left:n.left,right:n.right,top:n.top}},getFontStyles:function(e){var t=G();if(!t||!e)return[];var n=t.getComputedStyle(e);return z.map((function(e){return{key:e,value:n[e]}}))},getWindow:G,hasOffsetParent:function(e){return!!e&&Boolean(e.offsetParent)},offset:function(e){return e?L(e):null},offsetAtPoint:function(e,t){if(!e)return null;var n=e.style,r=n.left,o=n.top,a=n.transition;e.style.transition="none",e.style.left=t.left+"px",e.style.top=t.top+"px";var i=L(e);return e.style.left=r,e.style.top=o,e.offsetHeight,e.style.transition=a,i},position:function(e,t,n){return e&&t?function(e,t,n){void 0===n&&(n=1);var r=t?B(t):null,o=function(e,t){var n=R(e),r=n.getComputedStyle(e),o=L(e),a=t||B(e),i=e.ownerDocument,l=a!==i.body&&a!==i.documentElement,s={top:0,left:0};if("fixed"!==r.position&&l){var c=n.getComputedStyle(a);(s=L(a)).top+=parseInt(c.borderTopWidth,10),s.left+=parseInt(c.borderLeftWidth,10)}return{top:o.top-s.top,left:o.left-s.left,height:o.height,width:o.width}}(e,r),a=o.top,i=o.left,l=o.height,s=o.width,c=function(e,t){return e?j(e):function(e){var t=B(e);return t?j(t):{x:0,y:0}}(t)}(r,e),u=c.x,d=c.y,p=e.ownerDocument,f=r===p.body||r===p.documentElement?1:n;return{top:a+d*f,left:i+u*f,height:l,width:s}}(e,t,n||1):null},removeScroll:function(e,t){return{top:e.top-t.y,left:e.left-t.x,height:e.height,width:e.width}},restrictToView:function(e){var t=e.anchorRect,n=e.anchorAlign,r=e.elementRect,o=e.elementAlign,a=e.collisions,i=e.viewPort,l=e.margin;void 0===l&&(l={});var s=r.top,c=r.left,u=r.height,d=r.width,p=i.height,f=i.width,h=l.horizontal||0,v=l.vertical||0,m=0,g=0,k=a.vertical===b,C=a.horizontal===b,x=a.vertical===y,O=a.horizontal===y;k&&(g+=w(s,u,p)),C&&(m+=w(c,d,f)),x&&(g+=E({margin:v,offset:s,size:u,anchorSize:t.height,viewPortSize:p,anchorAlignPoint:n.vertical,elementAlignPoint:o.vertical})),O&&(m+=E({margin:h,offset:c,size:d,anchorSize:t.width,viewPortSize:f,anchorAlignPoint:n.horizontal,elementAlignPoint:o.horizontal}));var P=x&&0!==g,_=O&&0!==m,S=k&&0!==g,N=C&&0!==m;return{flipped:_||P,fitted:S||N,flip:{horizontal:_,vertical:P},fit:{horizontal:N,vertical:S},offset:{left:m,top:g}}},scrollPosition:A,scrollableParents:function(e){var t=[];if(!S.canUseDOM())return t;for(var n=e.parentElement;n;)(K.test(H(n))||n.hasAttribute("data-scrollable"))&&t.push(n),n=n.parentElement;return t.push(window),t},getRelativeContextElement:U,stackingElementOffset:function(e){var t=U(e);return t?L(t):null},stackingElementScroll:function(e){var t=U(e);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},stackingElementViewPort:function(e){var t=U(e);return t?{height:t.scrollHeight,width:t.scrollWidth}:null},useRelativePosition:function(e){return Boolean(U(e))},windowViewPort:T,zoomLevel:W,isZoomed:function(){return W()>1},zIndex:function(e,t){if(!e||!S.canUseDOM())return null;var n=function(e,t){for(var n,r,o=V(e),a=t;a&&(n=F(a),!(r=o.reduce((function(e,t){return e.concat(n.filter((function(e){return e===t})))}),[])[0]));)a=a.parentElement;return r}(e,t);if(!n)return null;var r=[e].concat(V(e,n)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,r=parseInt(n,10);return r>e?r:e}),0);return r?r+1:null}};const X=q;const Y=function(e){var t=e.anchor,n=e.element,r=e.anchorAlign,o=e.elementAlign,a=e.margin,i=e.offset,l=e.positionMode,s=e.scale||1,c="fixed"!==l&&X.hasOffsetParent(n)?function(e,t,n,r){var o=S.eitherRect(X.position(e,t,r),n);return S.scaleRect(o,r)}(t,n,i,s):function(e,t,n,r){var o=function(e,t){return e?{x:0,y:0}:X.scrollPosition(t)}(e,t),a=S.eitherRect(X.offset(e),n),i=2*r,l=X.stackingElementScroll(t);1!==r&&l&&(l.x/=i,l.y/=i);var s=X.stackingElementOffset(t);return 1!==r&&s&&(s.left/=i,s.top/=i),X.removeScroll(X.addScroll(S.removeStackingOffset(S.scaleRect(a,r),s),l),o)}(t,n,i,s),u=S.scaleRect(X.offset(n),s);return X.align({anchorAlign:r,anchorRect:c,elementAlign:o,elementRect:u,margin:a})};var Z,$={name:"@progress/kendo-react-popup",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1660025959,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"},J=(Z=function(e,t){return Z=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])},Z(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}Z(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Q=function(){return Q=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},Q.apply(this,arguments)};function ee(e,t){if(e===t)return!0;if(!!e!=!!t)return!1;var n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyNames(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++){var a=n[o];if(e[a]!==t[a])return!1}return!0}var te,ne={left:-1e3,top:0};!function(e){e.hiding="hiding",e.hidden="hidden",e.showing="showing",e.shown="shown",e.reposition="reposition"}(te||(te={}));var re="k-animation-container-shown",oe=function(e){function t(t){var n=e.call(this,t)||this;return n.context=0,n.state={current:te.hidden,previous:te.hidden,props:{}},n._popup=null,n.show=function(e){n.setPosition(e),n.animate(e.firstChild,"enter",n.onOpened),n.setState({current:te.shown,previous:n.state.current})},n.setPosition=function(e){var t=n.props,r=t.anchorAlign,o=t.popupAlign,a=t.collision,i=t.offset,l=t.anchor,s=t.margin,c=t.scale,u=t.positionMode,d=function(e){var t=e.anchor,n=e.currentLocation,r=e.element,o=e.anchorAlign,a=e.elementAlign,i=e.collisions,l=e.margin,s=e.scale||1,c=X.offsetAtPoint(r,n),u=S.scaleRect(c,s),d=S.scaleRect(X.offset(t),s),p=S.eitherRect(d,n),f=e.viewPort||X.windowViewPort(r);f.width=f.width/s,f.height=f.height/s;var h=X.restrictToView({anchorAlign:o,anchorRect:p,collisions:i,elementAlign:a,elementRect:u,margin:l,viewPort:f}),v=X.addOffset(n,h.offset);return{flip:h.flip,flipped:h.flipped,offset:v}}({anchor:l,anchorAlign:r,element:e,elementAlign:o,collisions:a,currentLocation:Y({anchor:l,anchorAlign:r,element:e,elementAlign:o,offset:i,margin:s,positionMode:u,scale:c}),margin:n.props.margin});if(e.style.top=d.offset.top+"px",e.style.left=d.offset.left+"px",n._collisions={fit:d.fit,fitted:d.fitted,flip:d.flip,flipped:d.flipped},n.props.onPosition){var p={target:n,flipped:d.flipped,fitted:d.fitted};n.props.onPosition.call(void 0,p)}},n.onOpened=function(){var e=n._popup;e&&(n.props.show&&e.classList.add(re),n.attachRepositionHandlers(e),n.props.onOpen&&n.props.onOpen.call(void 0,{target:n}))},n.animate=function(e,t,r){if(n.props.popupAlign){var o,a=n.props.popupAlign,s=a.horizontal,c=a.vertical;o="left"===s&&"center"===c?"right":"right"===s&&"center"===c?"left":"top"===c?"down":"up",n._collisions&&n._collisions.flipped&&(o={down:"up",up:"down",left:"right",right:"left"}[o]),function(e,t,n,r,o){if(0===n)return o();var a="k-slide-"+t+"-"+r,s=a+"-active",c=function(t){t.target===e&&(e.removeEventListener("transitionend",c),i(e),"exit"===r&&(e.style.display="none"),o())};e.addEventListener("transitionend",c);var u=e.ownerDocument;if(u){var d=u.defaultView;if(d){var p=function(){i(e),e.classList.add(a),d.requestAnimationFrame((function(){e.style.transitionDuration=n+"ms",e.classList.add(s)}))};l?d.requestAnimationFrame(p):p()}}}(e,o,n.animationDuration[t],t,r)}},n.onClosing=function(e){n.props.show||e.classList.remove(re),n.detachRepositionHandlers()},n.onClosed=function(){n.state.current===te.hiding&&n.state.previous===te.shown&&n.setState({current:te.hidden,previous:n.state.current}),n.props.onClose&&n.props.onClose.call(void 0,{target:n})},n.getCurrentZIndex=function(){return n.context?n.context+1:100},(0,s.s)($),n.reposition=function(e,t,n){var r,o,a,i;void 0===n&&(n={});var l=0;n=n||{};var s=function(){l=!1===n.leading?0:(new Date).getTime(),r=void 0,i=e.apply(o,a),r||(o=a=null)};return function(){var c=(new Date).getTime();l||!1!==n.leading||(l=c);var u=t-(c-l);return o=void 0,a=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=void 0),l=c,i=e.apply(o,a),r||(o=a=null)):r||!1===n.trailing||(r=window.setTimeout(s,u)),i}}(n.reposition.bind(n),16.666666666666668),n}return J(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._popup},enumerable:!1,configurable:!0}),t.getDerivedStateFromProps=function(e,t){var n=e.show,r=e.anchor,o=e.anchorAlign,a=e.appendTo,i=e.collision,l=e.popupAlign,s=e.className,c=e.popupClass,u=e.style,d=e.offset,p=e.contentKey,f=Q(Q({},t),{props:{show:n,anchor:r,anchorAlign:o,appendTo:a,collision:i,popupAlign:l,className:s,popupClass:c,style:u,offset:d,contentKey:p}});return e.show?t.current===te.hidden||t.current===te.hiding?Q(Q({},f),{current:te.showing,previous:t.current}):t.current===te.showing?Q(Q({},f),{current:te.shown,previous:t.current}):t.current!==te.shown||ee(d,t.props.offset)&&ee(o,t.props.anchorAlign)&&ee(a,t.props.appendTo)&&ee(i,t.props.collision)&&ee(l,t.props.popupAlign)&&ee(u,t.props.style)&&r===t.props.anchor&&c===t.props.popupClass&&s===t.props.className?f:Q(Q({},f),{current:te.reposition,previous:t.current}):t.current===te.hiding||t.current===te.hidden?Q(Q({},f),{current:te.hidden,previous:t.current}):Q(Q({},f),{current:te.hiding,previous:t.current})},t.prototype.componentDidUpdate=function(e){this.state.current===te.showing&&this._popup?this.show(this._popup):this.state.current===te.hiding&&this._popup?(this.onClosing(this._popup),this.animate(this._popup.firstChild,"exit",this.onClosed)):this.state.current===te.reposition&&this.state.previous===te.shown?this.setState({current:te.shown,previous:this.state.current}):this.state.current===te.shown&&e.contentKey!==this.props.contentKey&&this._popup&&this.setPosition(this._popup)},t.prototype.componentDidMount=function(){this.state.current===te.showing&&this._popup&&this.show(this._popup)},t.prototype.componentWillUnmount=function(){this.detachRepositionHandlers()},t.prototype.render=function(){var e=this,t=this.props,n=t.children,a=t.className,i=t.popupClass,l=t.show,s=t.id,p=t.positionMode,f=this.props.appendTo?this.props.appendTo:c.N?this.props.anchor&&this.props.anchor.ownerDocument?this.props.anchor.ownerDocument.body:document.body:void 0;this.state.current===te.reposition&&this.state.previous===te.shown&&this._popup&&this.setPosition(this._popup);var h=Object.assign({},{position:p,top:0,left:-1e4},this.props.style||{}),v=this.state.current===te.hiding;if((l||v)&&f){var m=this.getCurrentZIndex(),g=r.createElement(u.$.Provider,{value:m},r.createElement("div",{className:(0,d.A)("k-animation-container","k-animation-container-relative",a),id:s,ref:function(t){return e._popup=t},style:Q({zIndex:m},h)},r.createElement("div",{className:(0,d.A)("k-popup",i,"k-child-animation-container"),style:{transitionDelay:"0ms"}},n)));return null!==this.props.appendTo?o.createPortal(g,f):g}return null},Object.defineProperty(t.prototype,"animationDuration",{get:function(){var e=this.props.animate,t=0,n=0;return e&&(!0===e?t=n=300:(t=e.openDuration||0,n=e.closeDuration||0)),{enter:t,exit:n}},enumerable:!1,configurable:!0}),t.prototype.attachRepositionHandlers=function(e){var t=this;this.detachRepositionHandlers(),this._scrollableParents=X.scrollableParents(this.props.anchor||e),this._scrollableParents&&this._scrollableParents.map((function(e){return e.addEventListener("scroll",t.reposition)})),window.addEventListener("resize",this.reposition)},t.prototype.detachRepositionHandlers=function(){var e=this;this._scrollableParents&&(this._scrollableParents.map((function(t){return t.removeEventListener("scroll",e.reposition)})),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},t.prototype.reposition=function(){this.setState({current:te.reposition,previous:this.state.current})},t.propTypes={anchor:function(e){var t=e.anchor;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed."):null},appendTo:function(e){var t=e.appendTo;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed."):null},className:a.oneOfType([a.string,a.arrayOf(a.string),a.object]),id:a.string,popupClass:a.oneOfType([a.string,a.arrayOf(a.string),a.object]),collision:a.shape({horizontal:a.oneOf([b,y,k]),vertical:a.oneOf([b,y,k])}),anchorAlign:a.shape({horizontal:a.oneOf([v,f,m]),vertical:a.oneOf([g,f,p])}),popupAlign:a.shape({horizontal:a.oneOf([v,f,m]),vertical:a.oneOf([g,f,p])}),offset:a.shape({left:a.number,top:a.number}),children:a.oneOfType([a.element,a.node]),show:a.bool,animate:a.oneOfType([a.bool,a.shape({openDuration:a.number,closeDuration:a.number})]),margin:a.shape({horizontal:a.number,vertical:a.number}),positionMode:a.oneOf(["fixed","absolute"]),scale:a.number,style:a.object,onClose:a.func,onPosition:a.func,onOpen:a.func},t.defaultProps={collision:{horizontal:b,vertical:y},anchorAlign:{horizontal:v,vertical:p},popupAlign:{horizontal:v,vertical:g},offset:ne,animate:!0,show:!1,margin:{horizontal:0,vertical:0},positionMode:"absolute"},t.contextType=u.$,t.displayName="PopupComponent",t}(r.Component),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},ae.apply(this,arguments)},ie=r.createContext((function(e){return e})),le=r.forwardRef((function(e,t){var n=r.useContext(ie).call(void 0,e);return r.createElement(oe,ae({ref:t},n))}));le.displayName="Popup"},5362:(e,t,n)=>{n.r(t),n.d(t,{Popup:()=>r.G,PopupPropsContext:()=>r.v});var r=n(9222)},7827:(e,t,n)=>{n.d(t,{N:()=>r});var r=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)},8047:(e,t,n)=>{n.d(t,{A:()=>r});var r=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(" ")}},8259:(e,t,n)=>{n.d(t,{$:()=>o,u:()=>a});var r=n(3899),o=r.createContext(0),a=function(){return r.useContext(o)};o.displayName="KendoReactZIndexContext"},5407:(e,t,n)=>{function r(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}n.d(t,{N:()=>r})},4100:(e,t,n)=>{n.d(t,{E:()=>o});var r=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function o(e){var t=[];return e.replace(r,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}},4703:(e,t,n)=>{n.d(t,{p:()=>r});var r=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}},9659:(e,t,n)=>{n.d(t,{Y:()=>a});var r=n(4100),o={};function a(e){if(o[e])return o[e];var t=(0,r.E)(e);return o[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},o[e]}o.undefined=function(){}},3198:(e,t,n)=>{n.d(t,{M:()=>r});var r=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}},8199:(e,t,n)=>{n.d(t,{n:()=>o});var r=n(3899);function o(e,t,n){var o=r.useState(t),a=o[0],i=o[1];return r.useEffect((function(){if(!a&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),a}},3322:(e,t,n)=>{n.d(t,{i:()=>o});var r=n(3899),o=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]),a=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:a,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])}}},3493:(e,t,n)=>{n.d(t,{R:()=>r});var r={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}},3859:(e,t,n)=>{n.r(t),n.d(t,{AsyncFocusBlur:()=>G,BrowserSupportService:()=>a,COLLECTION_ACTION:()=>Y,DragAndDrop:()=>Pe,Draggable:()=>Be,Droppable:()=>Fe,FormComponent:()=>m,Icon:()=>oe,Keys:()=>k.R,SvgIcon:()=>le,Typography:()=>ye,ZIndexContext:()=>r.$,canUseDOM:()=>i.N,canUseRef:()=>l,classNames:()=>s.A,clone:()=>d,cloneArray:()=>h,cloneDate:()=>u,cloneObject:()=>p,cloneValue:()=>f,createPropsContext:()=>U,dispatchEvent:()=>B.N,extendDataItem:()=>T,focusFirstFocusableChild:()=>v,getItemPath:()=>A,getScrollbarWidth:()=>x,getTabIndex:()=>g.p,getter:()=>b.Y,guid:()=>y.M,hasRelativeStackingContext:()=>j,kendoThemeMaps:()=>ze.G,mapTree:()=>M,mapTreeItem:()=>D,noop:()=>C,setScrollbarWidth:()=>O,setter:()=>_,useAsyncFocusBlur:()=>F,useCollection:()=>J,useCustomComponent:()=>$,useDir:()=>q.n,useDocument:()=>Q,useDraggable:()=>je,useDroppable:()=>Ve,useMouse:()=>Z.i,usePropsContext:()=>K,useRtl:()=>X,useWindow:()=>ee,useZIndexContext:()=>r.u,validatePackage:()=>L.s,withPropsContext:()=>W});var r=n(8259),o=function(){return"undefined"!=typeof document?document:{}},a=function(){function e(){this.scrollbar=0}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=o();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}(),i=n(7827),l=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=n(8047),c=n(3899),u=function(e){return e?new Date(e.getTime()):null};function d(e){var t={};return p(e,t),t}function p(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=f(r,t[n])}}function f(e,t){if(Array.isArray(e))return h(e);if(e instanceof Date)return u(e);if(c.isValidElement(e))return c.cloneElement(e,e.props);if(e&&"object"==typeof e){var n=t||{};return p(e,n),n}return e}function h(e){return e.map((function(e){return f(e,void 0)}))}var v=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()}},m=function(){},g=n(4703),b=n(9659),y=n(3198),k=n(3493),C=function(){},x=function(){return!(!i.N||!document.body)&&(new a).scrollbarWidth},O=function(){if(!i.N||!document.body)return!1;var e=(new a).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width","".concat(e,"px"))},w=n(4100),E={undefined:function(e){return e}},P=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function _(e){if(E[e])return E[e];var t=(0,w.E)(e);return E[e]=function(e,n,r){for(var o=e,a=t.length-1,i=0;i<a&&o;i++)o=o[t[i]]=o[t[i]]||P(t[i+1],r);o[t[a]]=n},E[e]}var S=function(){return S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},S.apply(this,arguments)},N=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;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?S(S({},e),((r={})[t]=n.length?N([],n,!0):void 0,r)):e&&e[t]?N([],e[t],!0):[]}function I(e,t,n){if(e[t]){var r=R(e,t).map((function(e){return I(e,t,n)}));return n(R(e,t,r))}return n(e)}var M=function(e,t,n){return N([],e.map((function(e){return I(e,t,n)})),!0)},D=function(e,t,n,r){for(var o=e,a=[],i=0;i<t.length;i++)o=o[t[i]],o=Array.isArray(o)?o:o[n],a.push(o);var l=a.length>1?a[a.length-2]:e,s=t[t.length-1],c=r(l[s]);l.splice(s,1,c)},T=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=N([],t,!0);if(o.length){var a=e[o.shift()||0];for(r.push(a);o.length&&n;)a=a[n][o.shift()||0],r.push(a)}return r},L=n(4006),j=function(e){if(!i.N)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},B=n(5407),V=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;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 F(e){var t=e.onFocus,n=e.onBlur,r=e.onSyncFocus,o=e.onSyncBlur,a=c.useRef(!1),i=c.useRef(0),l=c.useCallback((function(e){clearTimeout(i.current),i.current=window.setTimeout((function(){return e()}))}),[i]),s=c.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(i.current),r&&r.call(void 0,e[0]),a.current||(a.current=!0,t&&t.call.apply(t,V([void 0],e,!1)))}),[a,t,r]),u=c.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];o&&o.call(void 0,e[0]),l((function(){a.current&&n&&(a.current=!1,n.call.apply(n,V([void 0],e,!1)))}))}),[a,l,n,o]);return c.useEffect((function(){return function(){clearTimeout(i.current)}}),[]),{onFocus:s,onBlur:u}}var z=function(){return z=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},z.apply(this,arguments)},G=function(e){var t=e.children,n=F({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return c.createElement(c.Fragment,null,t.call(void 0,z({},n)))},K=function(e,t){return c.useContext(e)(t)},H=function(){return H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},H.apply(this,arguments)},U=function(){return c.createContext((function(e){return e}))},W=function(e,t){return c.forwardRef((function(n,r){var o=K(e,n);return c.createElement(t,H({},o,{ref:r}))}))},q=n(8199);function X(e,t,n){var r=c.useState(t),o=r[0],a=r[1];return c.useEffect((function(){if(!o&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&a(t)}}),n),o}var Y,Z=n(3322),$=function(e){return[e,{}]};!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(Y||(Y={}));var J=function(e){void 0===e&&(e=[]);var t=c.useRef(e),n=c.useCallback((function(e){switch(e.type){case Y.add:t.current.push(e.item);break;case Y.remove:var n=t.current.indexOf(e.item);t.current.splice(n,1)}}),[]);return[t.current,n]},Q=function(e){var t=c.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]);return c.useCallback((function(){var e=t();return e&&e.ownerDocument||document}),[t])},ee=function(e){var t=Q(e);return c.useCallback((function(){var e=t();return e&&e.defaultView||window}),[t])},te=n(189),ne={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},re=function(){return re=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},re.apply(this,arguments)},oe=c.forwardRef((function(e,t){var n=e.className,r=e.name,o=e.themeColor,a=e.size,i=e.flip,l=e.style,u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","name","themeColor","size","flip","style"]),d=c.useRef(null),p=c.useRef(null);c.useImperativeHandle(d,(function(){return{element:p.current}})),c.useImperativeHandle(t,(function(){return d.current}));var f=c.useMemo((function(){return o||ae.themeColor}),[o]),h=c.useMemo((function(){return a||ae.size}),[a]),v=c.useMemo((function(){return i||ae.flip}),[i]),m=c.useMemo((function(){return(0,s.A)("k-icon","k-i-"+r,"k-color-"+f,{"k-flip-h":"horizontal"===v||"both"===v,"k-flip-v":"vertical"===v||"both"===v},ne[h],n)}),[r,f,h,v,n]),g=(0,Z.i)(e,d);return c.createElement("span",re({ref:p},u,g,{className:m,style:l,role:"presentation"}))}));oe.propTypes={style:te.object,classNames:te.string,name:te.string,themeColor:te.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:te.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:te.oneOf(["default","horizontal","vertical","both"])};var ae={size:"default",themeColor:"inherit",flip:"default"};oe.displayName="KendoIcon";var ie=function(){return ie=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},ie.apply(this,arguments)},le=c.forwardRef((function(e,t){var n=e.children,r=e.className,o=e.svgClassName,a=e.icon,i=e.flip,l=e.size,u=e.style,d=e.svgStyle,p=e.themeColor,f=e.viewBox,h=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","size","style","svgStyle","themeColor","viewBox"]),v=c.useRef(null);c.useImperativeHandle(t,(function(){return{element:v.current}}));var m=c.useMemo((function(){return a?a.name:se.icon}),[a]),g=c.useMemo((function(){return p||se.themeColor}),[p]),b=c.useMemo((function(){return l||se.size}),[l]),y=c.useMemo((function(){return i||se.flip}),[i]),k=c.useMemo((function(){return f||se.viewBox}),[f]),C=c.useMemo((function(){return(0,s.A)("k-svg-icon","k-color-"+g,"k-svg-i-"+m,{"k-flip-h":"horizontal"===y||"both"===y,"k-flip-v":"vertical"===y||"both"===y},ne[b],r)}),[m,g,b,y,r]),x=c.useMemo((function(){return e.width&&e.height?ie({width:e.width,height:e.height},u):e.width?ie({width:e.width,height:e.width},u):e.height?ie({width:e.height,height:e.height},u):ie({},u)}),[e.width,e.height,u]);return c.createElement("span",{className:C,style:x,ref:v},c.createElement("svg",ie({className:o,style:d,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:a?a.viewBox:k,dangerouslySetInnerHTML:a?{__html:a.content}:void 0},h),a?void 0:n))}));le.propTypes={style:te.object,classNames:te.string,children:te.any,icon:te.object,themeColor:te.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:te.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:te.oneOf(["default","horizontal","vertical","both"])};var se={size:"default",themeColor:"inherit",flip:"default",icon:"",viewBox:"0 0 24 24"};le.displayName="KendoSvgIcon";var ce={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},ue={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},de={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},pe={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},fe={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"},ve={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},me={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},ge.apply(this,arguments)},be=function(e){var t=c.forwardRef((function(t,n){var r=t.id,o=t.style,a=t.className,i=t.fontSize,l=t.fontWeight,s=t.textAlign,u=t.textTransform,d=t.themeColor,p=t.margin,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}(t,["id","style","className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),h=c.useRef(null),v=c.useRef(null);c.useImperativeHandle(h,(function(){return{element:v.current,props:t}})),c.useImperativeHandle(n,(function(){return h.current}));var m=e;return c.createElement(m,ge({id:r,ref:v,className:["k-".concat("p"===e?"paragraph":e),ce[i],ue[l],he[s],ve[u],me[d],function(){if(void 0!==p){if("string"==typeof p)return[de[p]];if("number"==typeof p&&p>=0&&p<=24)return["k-m-".concat(p)];if("object"==typeof p){var e=[];return Object.keys(p).forEach((function(t){var n,r,o;null!==p[t]&&void 0!==p[t]&&e.push((n=t,o="string"==typeof(r=p[t])?pe[r]:r,"".concat(fe[n]).concat(o)))})),e.join(" ")}}}(),a].filter((function(e){return void 0!==e})).join(" "),style:o},f),t.children)}));return t.propTypes={style:te.object,className:te.string,fontSize:te.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:te.oneOf(["light","normal","bold"]),margin:te.oneOfType([te.number,te.object,te.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:te.oneOf(["left","right","center","justify"]),textTransform:te.oneOf(["lowercase","uppercase","capitalize"]),themeColor:te.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName="KendoReactTypography".concat(e.toUpperCase()),t},ye={h1:be("h1"),h2:be("h2"),h3:be("h3"),h4:be("h4"),h5:be("h5"),h6:be("h6"),p:be("p"),code:be("code"),pre:be("pre")},ke=function(){return ke=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},ke.apply(this,arguments)},Ce=function(e,t,n){var r=c.useState(t||e),o=r[0],a=r[1];return[void 0!==t?t:o,c.useCallback((function(e,t){a(e),n&&n.call(void 0,ke(ke({},t),{value:e}))}),[n,a])]},xe=c.createContext([void 0,C]),Oe=c.createContext([void 0,C]),we=c.createContext([[],C,C]),Ee=c.createContext([[],C,C]),Pe=function(e){var t=Ce(null,void 0),n=t[0],r=t[1],o=Ce(null,void 0),a=o[0],i=o[1],l=J([]),s=l[0],u=l[1],d=J([]),p=d[0],f=d[1];return c.createElement(xe.Provider,{value:[n,r]},c.createElement(Oe.Provider,{value:[a,i]},c.createElement(we.Provider,{value:[s,function(e){u({type:Y.add,item:e})},function(e){u({type:Y.remove,item:e})}]},c.createElement(Ee.Provider,{value:[p,function(e){f({type:Y.add,item:e})},function(e){f({type:Y.remove,item:e})}]},e.children))))};Pe.displayName="KendoReactDragAndDrop";var _e,Se=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},Ne=function(e){return e&&e.ownerDocument||window.document},Re=function(e){var t=Se(),n=Ne(e);return t.edge||t.safari?n.body:n.documentElement},Ie=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},Me=function(e){var t=Re(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&&!Ie(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"}(_e||(_e={}));var De=function(){},Te=function(e,t,n){void 0===n&&(n={});var r,o,a,i,l,s=n.onIsPressedChange,c=void 0===s?De:s,u=n.onIsScrollingChange,d=void 0===u?De:u,p=n.onVelocityChange,f=void 0===p?De:p,h=n.onOffsetChange,v=void 0===h?De:h,m=n.onPageOffsetChange,g=void 0===m?De:m,b=n.onClientOffsetChange,y=void 0===b?De:b,k=n.onScrollOffsetChange,C=void 0===k?De:k,x=n.onInitialScrollOffsetChange,O=void 0===x?De:x,w=t.payload,E=w.element,P=w.hint,_=e.autoScrollDirection,S=e.scrollableParent,N=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(N.type){case _e.POINTER_DOWN:if(N.type===_e.POINTER_DOWN&&(!N.originalEvent.isPrimary||0!==N.originalEvent.button))break;case _e.MOUSE_DOWN:if(N.type===_e.MOUSE_DOWN&&N.originalEvent.which&&N.originalEvent.which>1||e.ignoreMouse)break;case _e.TOUCH_START:if(N.type===_e.TOUCH_START&&1!==N.originalEvent.touches.length)break;case _e.START:var R=S||Me(t.payload.element);O(R instanceof Window?{x:R.scrollX,y:R.scrollY}:{x:R.scrollLeft,y:R.scrollTop}),y({x:N.clientX,y:N.clientY}),g({x:N.pageX,y:N.pageY}),v({x:N.offsetX,y:N.offsetY}),c(!0),w.onPress&&w.onPress(N);break;case _e.SCROLL:if(N.type===_e.SCROLL&&!e.pressed)break;var I=S||Me(E),M=I instanceof Window?{x:I.scrollX,y:I.scrollY}:{x:I.scrollLeft,y:I.scrollTop};N.scrollX=M.x-e.initialScrollOffset.x,N.scrollY=M.y-e.initialScrollOffset.y,C({x:N.scrollX,y:N.scrollY});case _e.POINTER_MOVE:if(N.type===_e.POINTER_MOVE&&!N.originalEvent.isPrimary)break;case _e.MOUSE_MOVE:case _e.TOUCH_MOVE:if(N.type===_e.TOUCH_MOVE&&1!==N.originalEvent.touches.length)break;case _e.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==N.originalEvent.type&&E){var D=Ne(E),T=S||Me(D.elementFromPoint(N.clientX,N.clientY)),A=(r=N.clientX,o=N.clientY,a=function(e,t){var n=Re(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}}(T,function(e){var t=Ne(e);return t&&t.defaultView||window}(E)),i={x:0,y:0},l=50,r-a.left<l?i.x=-(l-(r-a.left)):a.right-r<l&&(i.x=l-(a.right-r)),o-a.top<l?i.y=-(l-(o-a.top)):a.bottom-o<l&&(i.y=l-(a.bottom-o)),i);f({x:_&&!1===_.horizontal?0:A.x,y:_&&!1===_.vertical?0:A.y}),d(0!==A.y||0!==A.x)}!e.drag&&w.onDragStart&&w.onDragStart(N),w.onDrag&&w.onDrag(N);var L=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),a=Math.max(r.left,n.left),i=Math.min(r.left+r.width,n.left+n.width),l=Math.min(r.top+r.height,n.top+n.height),s=i-a,c=l-o;if(a<i&&o<l){var u=r.width*r.height,d=n.width*n.height,p=s*c;return Number((p/(u+d-p)).toFixed(4))}return 0}(e,t);o>n&&(n=o,r=t)}})),r}(P||E,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(P||E)}))),j=e.drops.find((function(e){return e.element===L}));j&&L&&function(e,t,n){var r=n.getBoundingClientRect();return r.top<=t&&r.left<=e&&t<=r.bottom&&e<=r.right}(N.clientX,N.clientY,S||Me(L))&&L!==E?(e.drop&&e.drop.element)!==L?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(N),j.onDragEnter&&j.onDragEnter(N)):j.onDragOver&&j.onDragOver(N):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(N)}y({x:N.clientX,y:N.clientY}),g({x:N.pageX,y:N.pageY});break;case _e.POINTER_UP:if(N.type===_e.POINTER_UP&&!N.originalEvent.isPrimary)break;case _e.MOUSE_UP:case _e.TOUCH_END:if(N.type===_e.TOUCH_END&&1!==N.originalEvent.touches.length)break;case _e.END:c(!1),d(!1),C({x:0,y:0}),w.onRelease&&w.onRelease(N),e.drop&&e.drop.onDrop&&e.drop.onDrop(N),w.onDragEnd&&w.onDragEnd(N);break;case _e.POINTER_CANCEL:case _e.CONTEXT_MENU:case _e.TOUCH_CANCEL:case _e.CANCEL:c(!1),d(!1),C({x:0,y:0}),w.onDragEnd&&w.onDragEnd(N),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(N)}},Ae=function(e,t){if(e){var n,r;e===Re(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,a=n&&o>0&&o<e.scrollHeight,i=e.scrollLeft+t.x,l=r&&i>0&&i<e.scrollWidth;a?e.scrollTop+=t.y:n&&o<0&&(e.scrollTop=0),l?e.scrollLeft+=t.x:r&&i<0&&(e.scrollLeft=0)}},Le=function(e,t){var n=c.useContext(e),r=n[0],o=n[1],a=c.useState(t),i=a[0],l=a[1];return[void 0!==r?r:i,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];void 0!==r?o.apply(void 0,e):l(e[0])}]};function je(e,t,n){void 0===n&&(n={});var r=t.onPress,o=void 0===r?C:r,a=t.onRelease,i=void 0===a?C:a,l=t.onDragStart,s=void 0===l?C:l,u=t.onDrag,d=void 0===u?C:u,p=t.onDragEnd,f=void 0===p?C:p,h=n.hint,v=void 0===h?null:h,m=n.mouseOnly,g=void 0!==m&&m,b=n.autoScroll,y=void 0===b||b,k=n.scrollContainer,x=void 0===k?null:k,O=c.useState(!1),w=O[0],E=O[1],P=c.useState(!1),_=P[0],S=P[1],N=Le(Oe)[0],R=Le(xe),I=R[0],M=R[1],D=c.useContext(Ee)[0],T=c.useContext(we),A=T[0],L=T[1],j=T[2],B=c.useRef({x:0,y:0}),V=c.useRef(),F=c.useRef(!1),z=c.useRef(),G=c.useRef(null),K=c.useRef(!1),H=c.useRef({x:0,y:0}),U=c.useRef({x:0,y:0}),W=c.useRef({x:0,y:0}),q=c.useRef({x:0,y:0}),X=c.useRef({x:0,y:0}),Y=c.useRef({x:0,y:0}),Z=Boolean("undefined"!=typeof window&&window.PointerEvent),$=!g&&Z,J=c.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),Q=c.useCallback((function(){return v&&v.current&&v.current.element?v.current.element:v?v.current:null}),[v]),ee=c.useCallback((function(){return x&&x.current&&x.current.element?x.current.element:x?x.current:null}),[x]),te=c.useCallback((function(){return"object"==typeof y&&y.boundaryElementRef&&y.boundaryElementRef.current&&y.boundaryElementRef.current.element?y.boundaryElementRef.current.element:"object"==typeof y&&y.boundaryElementRef&&y.boundaryElementRef.current?y.boundaryElementRef.current:null}),[y]),ne=c.useRef(null);c.useImperativeHandle(ne,(function(){return{element:J(),hint:Q(),onPress:ve,onDragStart:ge,onDrag:be,onDragEnd:ye,onRelease:me,data:e.current}}));var re=c.useCallback((function(){var e=J();return e&&e.ownerDocument||document}),[J]),oe=c.useCallback((function(){var e=re();return e&&e.defaultView||window}),[re]),ae=c.useCallback((function(){return{drag:I?I.current:null,drop:N?N.current:null,drags:A.map((function(e){return e.current})),drops:D.map((function(e){return e.current})),pressed:w,ignoreMouse:F.current,scrollOffset:X.current,offset:H.current,pageOffset:U.current,initialScrollOffset:Y.current,clientOffset:W.current,initialClientOffset:q.current,velocity:B.current,autoScroll:Boolean("object"==typeof y?!1!==y.enabled:y),scrollableParent:te(),autoScrollDirection:"object"==typeof y?y.direction:{horizontal:!0,vertical:!0},isScrolling:_}}),[I,N,A,D,w,y,te,_]),ie=c.useCallback((function(e){E(e)}),[]),le=c.useCallback((function(e){S(e)}),[]),se=c.useCallback((function(e){B.current=e}),[]),ce=c.useCallback((function(e){H.current=e}),[]),ue=c.useCallback((function(e){W.current=e}),[]),de=c.useCallback((function(e){U.current=e}),[]),pe=c.useCallback((function(e){q.current=e}),[]),fe=c.useCallback((function(e){X.current=e}),[]),he=c.useCallback((function(e){Y.current=e}),[]),ve=c.useCallback((function(e){o(e)}),[o]),me=c.useCallback((function(e){i(e)}),[i]),ge=c.useCallback((function(t){M(ne,{target:e.current,event:t}),s(t)}),[M,e,s]),be=c.useCallback((function(e){d(e)}),[d]),ye=c.useCallback((function(t){K.current||(M(null,{target:e.current,event:t}),f(t))}),[f,M,e]),ke=c.useCallback((function(e){Te(ae(),{event:e,payload:ne.current},{onVelocityChange:se,onOffsetChange:ce,onClientOffsetChange:ue,onPageOffsetChange:de,onInitialClientOffsetChange:pe,onScrollOffsetChange:fe,onInitialScrollOffsetChange:he,onIsPressedChange:ie,onIsScrollingChange:le})}),[ae,se,ce,de,ue,pe,he,ie,fe,le]),Ce=c.useCallback((function(e){ke(e)}),[ke]),Pe=c.useCallback((function(e){ke(e)}),[ke]),_e=c.useCallback((function(e){ke(e)}),[ke]),Se=c.useCallback((function(e){ke(e)}),[ke]),Ne=c.useCallback((function(e){ke(e)}),[ke]),Re=c.useCallback((function(e){ke(e)}),[ke]),Ie=c.useCallback((function(e){ke(e)}),[ke]),De=c.useCallback((function(e){e.preventDefault(),ke(e)}),[ke]),je=c.useCallback((function(e){e.preventDefault(),ke(e)}),[ke]),Be=c.useCallback((function(e){e.preventDefault(),ke(e)}),[ke]),Ve=c.useCallback((function(e){if(0===e.touches.length&&1===e.changedTouches.length){var t=oe();F.current=!0,z.current=t.setTimeout((function(){F.current=!1}),2e3)}ke(e)}),[ke,oe]),Fe=c.useCallback((function(e){ke(e)}),[ke]),ze=c.useCallback((function(){var e=J();if(e){var t=e.style.touchAction;return e.style.touchAction="none",function(){e.style.touchAction=t}}}),[J]),Ge=c.useCallback((function(){return L(ne),function(){j(ne)}}),[j,L]);c.useEffect((function(){var e=oe();if(_){var t=ee()||Me(document.elementFromPoint(W.current.x,W.current.y));e.clearInterval(V.current),V.current=e.setInterval((function(){Ae(t,{x:B.current.x,y:B.current.y})}),50)}return function(){e.clearInterval(V.current)}}),[J,ee,oe,_]),c.useEffect(ze,[ze]),c.useEffect((function(){var e=oe(),t=J(),n=re();return $?(t&&(G.current=Me(t),G.current&&G.current.addEventListener("scroll",Fe,{passive:!0}),t.addEventListener("pointerdown",Ce,{passive:!0})),w&&(n.addEventListener("pointermove",Pe),n.addEventListener("pointerup",Se,!0),n.addEventListener("contextmenu",De),n.addEventListener("pointercancel",_e,{passive:!0}))):(e.addEventListener("touchmove",C,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",Ne,{passive:!0}),g||(t.addEventListener("touchstart",je,{passive:!0}),w&&(t.addEventListener("touchmove",Be,{passive:!0}),t.addEventListener("touchend",Ve,{passive:!0})))),w&&(n.addEventListener("mousemove",Re,{passive:!0}),n.addEventListener("mouseup",Ie,{passive:!0}))),function(){G.current&&G.current.removeEventListener("scroll",Fe),t&&(t.removeEventListener("pointerdown",Ce),t.removeEventListener("mousedown",Ne),t.removeEventListener("touchstart",je),t.removeEventListener("touchmove",Be),t.removeEventListener("touchend",Ve)),n.removeEventListener("pointermove",Pe),n.removeEventListener("pointerup",Se,!0),n.removeEventListener("contextmenu",De),n.removeEventListener("pointercancel",_e),n.removeEventListener("mousemove",Re),n.removeEventListener("mouseup",Ie),e.removeEventListener("touchmove",C),e.clearTimeout(z.current)}}),[w,oe,J,re,g,$,De,Ne,Re,Ie,_e,Ce,Pe,Se,Ve,Be,je,Fe]),c.useEffect((function(){return function(){K.current=!0}}),[]),c.useLayoutEffect(Ge,[Ge])}var Be=c.forwardRef((function(e,t){var n=c.useRef(null),r=c.useRef(null),o=c.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);c.useImperativeHandle(r,(function(){return{element:o()||null}})),c.useImperativeHandle(t,(function(){return r.current})),c.useImperativeHandle(e.childRef,(function(){return n.current}));var a=c.useCallback((function(t){e.onPress&&e.onPress({element:o(),target:r.current,event:t})}),[o,e.onPress]),i=c.useCallback((function(t){e.onRelease&&e.onRelease({element:o(),target:r.current,event:t})}),[o,e.onRelease]),l=c.useCallback((function(t){e.onDragStart&&e.onDragStart({element:o(),target:r.current,event:t})}),[e,o]),s=c.useCallback((function(t){e.onDrag&&e.onDrag({element:o(),target:r.current,event:t})}),[o,e.onDrag]),u=c.useCallback((function(t){e.onDragEnd&&e.onDragEnd({element:o(),target:r.current,event:t})}),[o,e.onDragEnd]);return je(n,{onPress:a,onRelease:i,onDragStart:l,onDrag:s,onDragEnd:u},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?c.cloneElement(c.Children.only(e.children),{ref:n}):null}));function Ve(e,t){void 0===t&&(t={onDragEnter:C,onDragOver:C,onDragLeave:C,onDrop:C});var n=t.onDragEnter,r=void 0===n?C:n,o=t.onDragOver,a=void 0===o?C:o,i=t.onDragLeave,l=void 0===i?C:i,s=t.onDrop,u=void 0===s?C:s,d=Le(Oe)[1],p=c.useContext(Ee),f=p[1],h=p[2],v=c.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),m=c.useRef(null);c.useImperativeHandle(m,(function(){return{element:v(),onDragEnter:g,onDragOver:b,onDragLeave:y,onDrop:k,data:e.current}}));var g=c.useCallback((function(t){d(m,{target:e.current,event:t}),r(t)}),[d,e,r]),b=c.useCallback((function(e){a(e)}),[a]),y=c.useCallback((function(t){d(null,{target:e.current,event:t}),l(t)}),[d,e,l]),k=c.useCallback((function(t){d(null,{target:e.current,event:t}),u(t)}),[d,e,u]),x=c.useCallback((function(){return f(m),function(){h(m)}}),[h,f]);c.useLayoutEffect(x,[x])}Be.displayName="KendoReactDraggable";var Fe=c.forwardRef((function(e,t){var n=c.useRef(null),r=c.useRef(null),o=c.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);c.useImperativeHandle(r,(function(){return{element:o()||void 0}})),c.useImperativeHandle(t,(function(){return r.current})),c.useImperativeHandle(e.childRef,(function(){return n.current}));var a=c.useCallback((function(t){e.onDragEnter&&e.onDragEnter({element:o(),target:r.current,event:t})}),[e.onDragEnter,o]),i=c.useCallback((function(t){e.onDragOver&&e.onDragOver({element:o(),target:r.current,event:t})}),[o,e.onDragOver]),l=c.useCallback((function(t){e.onDragLeave&&e.onDragLeave({element:o(),target:r.current,event:t})}),[e.onDragLeave,o]),s=c.useCallback((function(t){e.onDrop&&e.onDrop({element:o(),target:r.current,event:t})}),[e.onDrop,o]);return Ve(n,{onDragEnter:a,onDragOver:i,onDragLeave:l,onDrop:s}),e.children?c.cloneElement(c.Children.only(e.children),{ref:n}):null}));Fe.displayName="KendoReactDroppable";var ze=n(2697)},2697:(e,t,n)=>{n.d(t,{G:()=>r});var r={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},4006:(e,t,n)=>{n.d(t,{s:()=>o});var r=n(9302);function o(e){if(void 0!==r)r.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)}}},4407:e=>{e.exports=r},9302:e=>{e.exports=n},499:e=>{e.exports=o},189:e=>{e.exports=t},3899:t=>{t.exports=e},994:e=>{e.exports=a}},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}};return i[e].call(n.exports,n,n.exports,s),n.exports}return s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s(468)})()}));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types"),require("@progress/kendo-licensing"),require("@progress/kendo-drawing"),require("@progress/kendo-react-intl"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-licensing","@progress/kendo-drawing","@progress/kendo-react-intl","react-dom"],t):"object"==typeof exports?exports.KendoReactInputs=t(require("react"),require("prop-types"),require("@progress/kendo-licensing"),require("@progress/kendo-drawing"),require("@progress/kendo-react-intl"),require("react-dom")):e.KendoReactInputs=t(e.React,e.PropTypes,e.KendoLicensing,e.KendoDrawing,e.KendoReactIntl,e.ReactDOM)}(self,(function(e,t,n,r,o,a){return(()=>{"use strict";var i={9357:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=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.Checkbox=t.CheckboxPropsContext=void 0;var a=n(3899),i=n(189),l=n(3859),s=n(3859),c=n(7363),u=n(499),d=n(3364);t.CheckboxPropsContext=(0,l.createPropsContext)(),t.Checkbox=a.forwardRef((function(e,n){var i;(0,s.validatePackage)(c.packageMetadata);var p=(0,l.usePropsContext)(t.CheckboxPropsContext,e),f=p,h=f.ariaDescribedBy,v=f.ariaLabelledBy,m=f.checked,g=f.className,b=f.children,y=f.defaultChecked,k=f.disabled,C=f.defaultValue,x=f.id,O=f.size,w=f.rounded,E=f.label,P=f.labelPlacement,_=f.name,S=f.labelOptional,N=f.onChange,R=f.onFocus,I=f.onBlur,M=f.tabIndex,D=f.value,T=f.required,A=f.valid,L=f.validationMessage,j=f.validityStyles,B=(f.visited,f.touched,f.modified,o(f,["ariaDescribedBy","ariaLabelledBy","checked","className","children","defaultChecked","disabled","defaultValue","id","size","rounded","label","labelPlacement","name","labelOptional","onChange","onFocus","onBlur","tabIndex","value","required","valid","validationMessage","validityStyles","visited","touched","modified"])),V=a.useRef(null),F=a.useCallback((function(){V.current&&V.current.focus()}),[]),z=a.useCallback((function(){return{element:V.current,focus:F,get name(){return V.current&&V.current.name}}}),[F]);a.useImperativeHandle(n,z);var G=a.useState(y),K=G[0],H=G[1],U=a.useState(C),W=U[0],q=U[1],X="boolean"==typeof D||null===D,Y=void 0!==m,Z=X,$=Z?D:W,J=Y?m:Z?void 0:K,Q=void 0===J&&$,ee=Q?$:J,te=Q||Z?null===D?D:void 0:D||$,ne=null===ee||null===te,re=a.useMemo((function(){return(0,l.guid)()}),[]),oe=(0,u.useLocalization)(),ae=function(e){return oe.toLanguageString(e,d.messages[e])},ie=ae(d.checkboxValidation),le=ae(d.checkboxOptionalText),se=void 0!==A?A:!T||!!J;a.useEffect((function(){V.current&&V.current.setCustomValidity&&V.current.setCustomValidity(se?"":L||ie)}),[se,L,ie]);var ce=a.useCallback((function(e,t){Z||k||(q(t),Y||k||H(t)),N&&!k&&(0,l.dispatchEvent)(N,e,r(r({},z()),{value:t}),{value:t})}),[Y,k,N,Z,z]),ue=a.useCallback((function(e){var t=e.target.checked;ce(e,t)}),[ce,D]),de=a.useCallback((function(e){if(!k){var t=e.keyCode,n=e.currentTarget.checked;t===l.Keys.space&&(e.preventDefault(),e.stopPropagation(),ce(e,!n))}}),[k,ce]),pe=a.useCallback((function(e){k||e.keyCode===l.Keys.space&&e.preventDefault()}),[k]),fe=a.useCallback((function(e){R&&!k&&(0,l.dispatchEvent)(R,e,z(),void 0)}),[R,k,z]),he=a.useCallback((function(e){I&&!k&&(0,l.dispatchEvent)(I,e,z(),void 0)}),[I,k,z]),ve=(0,l.useDir)(V,p.dir),me=(0,l.classNames)({"k-disabled":k},g),ge=r(r({type:"checkbox",className:(0,l.classNames)("k-checkbox",(i={},i["k-checkbox-".concat(l.kendoThemeMaps.sizeMap[O]||O)]=O,i["k-rounded-".concat(l.kendoThemeMaps.roundedMap[w]||w)]=w,i["k-indeterminate"]=ne,i["k-invalid k-invalid"]=!(se||void 0!==j||!0===j),i)),ref:V,name:_,id:x||re,"aria-labelledby":v,"aria-describedby":h,checked:Boolean(ee),disabled:k,tabIndex:(0,l.getTabIndex)(M,k),role:"checkbox",required:void 0!==T&&T,"aria-checked":!(!J&&!ee)||!!ne&&"mixed","aria-disabled":k||void 0},B),{onChange:ue,onKeyDown:de,onKeyUp:pe,onFocus:fe,onBlur:he}),be=a.createElement(a.Fragment,null,void 0===te?a.createElement("input",r({},ge)):a.createElement("input",r({},ge,{value:X?void 0:null===te?"":te}))),ye=a.createElement(a.Fragment,null,void 0!==E?a.createElement("label",{className:"k-checkbox-label",htmlFor:x||re,style:{userSelect:"none"}},E,S&&a.createElement("span",{className:"k-label-optional"},le)):null);return a.createElement(a.Fragment,null,"before"===P?a.createElement("span",{className:me,dir:"rtl"},be,ye,b):a.createElement("span",{className:me,dir:ve},be,ye,b))})),t.Checkbox.propTypes={checked:i.bool,className:i.string,defaultChecked:i.bool,defaultValue:i.any,dir:i.string,disabled:i.bool,id:i.string,size:i.oneOf([null,"small","medium","large"]),rounded:i.oneOf([null,"small","medium","large"]),ariaLabelledBy:i.string,ariaDescribedBy:i.string,label:i.any,labelPlacement:i.string,labelOptional:i.bool,name:i.string,tabIndex:i.number,value:i.any,validationMessage:i.string,required:i.bool,validate:i.bool,valid:i.bool,onChange:i.func,onFocus:i.func,onBlur:i.func},t.Checkbox.defaultProps={size:"medium",rounded:"medium"},t.Checkbox.displayName="KendoCheckbox"},8485:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},623:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},338:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},4997: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)});Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastLabels=void 0;var a=n(3899),i=n(499),l=n(3364),s=n(7029),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=(0,i.provideLocalizationService)(this),t=e.toLanguageString(l.colorGradientContrastRatio,l.messages[l.colorGradientContrastRatio]),n=e.toLanguageString(l.colorGradientAALevel,l.messages[l.colorGradientAALevel]),r=e.toLanguageString(l.colorGradientAAALevel,l.messages[l.colorGradientAAALevel]),o=e.toLanguageString(l.colorGradientPass,l.messages[l.colorGradientPass]),c=e.toLanguageString(l.colorGradientFail,l.messages[l.colorGradientFail]),u=(0,s.getContrastFromTwoRGBAs)(this.props.rgba,this.props.bgColor),d=4.5.toFixed(1),p=7..toFixed(1),f="".concat(t,": ").concat(u.toFixed(2)),h="".concat(n,": ").concat(d),v="".concat(r,": ").concat(p),m=a.createElement("span",{className:"k-contrast-validation k-text-success"},o," ",a.createElement("span",{className:"k-icon k-i-check"})),g=a.createElement("span",{className:"k-contrast-validation k-text-error"},c," ",a.createElement("span",{className:"k-icon k-i-close"}));return a.createElement("div",{className:"k-vbox k-colorgradient-color-contrast"},a.createElement("div",{className:"k-contrast-ratio"},a.createElement("span",{className:"k-contrast-ratio-text"},f),u>=4.5?a.createElement("span",{className:"k-contrast-validation k-text-success"},a.createElement("span",{className:"k-icon k-i-check"}),u>=7&&a.createElement("span",{className:"k-icon k-i-check"})):a.createElement("span",{className:"k-contrast-validation k-text-error"},a.createElement("span",{className:"k-icon k-i-close"}))),a.createElement("div",null,a.createElement("span",null,h),u>=4.5?m:g),a.createElement("div",null,a.createElement("span",null,v),u>=7?m:g))},t}(a.Component);t.ColorContrastLabels=c,(0,i.registerForLocalization)(c)},3028: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)});Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastSvg=void 0;var a=n(3899),i=n(1694),l=n(7029),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.renderSvgCurveLine=function(){var e=this,t=this.props.metrics,n=function(r,o,a,i,s){var c=(a+i)/2,u=Object.assign({},e.props.hsva,{s:o/t.width,v:1-c/t.height}),d=(0,l.getContrastFromTwoRGBAs)((0,l.getRGBA)((0,l.getColorFromHSV)(u)),(0,l.getRGBA)(e.props.backgroundColor||""));return a+.5>i?d<r+1&&d>r-1?c:null:s(d,r)?n(r,o,a,i-(i-a)/2,s):n(r,o,a+(i-a)/2,i,s)},r=function(e,r,o){void 0===o&&(o=!1);for(var a=[],i=0;i<=t.width;i+=t.width/r){var l=n(e,i,0,t.height,o?function(e,t){return e<t}:function(e,t){return e>t});null!==l&&a.push([i,l])}return a},o=(0,i.bezierCommand)((0,i.controlPoint)(i.line));return(0,i.svgPath)(r(4.5,16),o)+(0,i.svgPath)(r(4.5,16,!0),o)+(0,i.svgPath)(r(7,16),o)+(0,i.svgPath)(r(7,16,!0),o)},t.prototype.shouldComponentUpdate=function(e){return e.hsva.h!==this.props.hsva.h||e.hsva.a!==this.props.hsva.a||this.props.backgroundColor!==e.backgroundColor},t.prototype.render=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"k-color-contrast-svg",dangerouslySetInnerHTML:{__html:this.renderSvgCurveLine()},style:{position:"absolute",overflow:"visible",pointerEvents:"none",left:0,top:0,zIndex:3}})},t}(a.Component);t.ColorContrastSvg=s},9070: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)});Object.defineProperty(t,"__esModule",{value:!0}),t.ColorGradient=t.ColorGradientPropsContext=t.ColorGradientWithoutContext=void 0;var a=n(3899),i=n(189),l=n(3859),s=n(3859),c=n(7363),u=n(468),d=n(6608),p=n(7029),f=n(4735),h=n(1503),v=n(4997),m=n(3028),g=n(499),b=n(3364),y="rgba(255, 255, 255, 1)",k=function(e){function t(n){var r=e.call(this,n)||this;r.wrapper=null,r.onHexChange=function(e,t,n){if(r.isUncontrolled){var o=(0,p.getHSV)(t);r.setState({hsva:o,backgroundColor:(0,p.getColorFromHue)(o.h),rgba:(0,p.getRGBA)(t),hex:e})}else(0,f.cacheHex)(r.state.guid,t,e);r.dispatchChangeEvent(t,n,n.nativeEvent)},r.onRgbaChange=function(e,t){var n=(0,p.getColorFromRGBA)(e);if(r.isUncontrolled){var o=(0,p.getHSV)(n),a=(0,p.parseColor)(n,"hex");r.setState({hsva:o,backgroundColor:(0,p.getColorFromHue)(o.h),rgba:e,hex:a})}else(0,f.cacheRgba)(r.state.guid,n,e);r.dispatchChangeEvent(n,t.syntheticEvent,t.nativeEvent)},r.onAlphaSliderChange=function(e){r.handleHsvaChange(Object.assign({},r.state.hsva,{a:e.value/100}),e.syntheticEvent,e.nativeEvent)},r.onHueSliderChange=function(e){r.handleHsvaChange(Object.assign({},r.state.hsva,{h:e.value}),e.syntheticEvent,e.nativeEvent)},r.onDrag=function(e){r.gradientWrapper.classList.add("k-dragging"),r.changePosition(e.event)},r.onRelease=function(){r.gradientWrapper.classList.remove("k-dragging")},r.onGradientWrapperClick=function(e){r.changePosition(e)},r.changePosition=function(e){var t=r.getGradientRectMetrics(),n=e.clientX-t.left,o=e.clientY-t.top,a=(0,d.fitIntoBounds)(n,0,t.width),i=(0,d.fitIntoBounds)(o,0,t.height),l=Object.assign({},r.state.hsva,{s:a/t.width,v:1-i/t.height});r.handleHsvaChange(l,e,e.nativeEvent)},r.onFocus=function(e){r.props.onFocus&&r.props.onFocus.call(void 0,{nativeEvent:e,target:r})},r.focus=function(){(0,l.focusFirstFocusableChild)(r.wrapper)},(0,s.validatePackage)(c.packageMetadata);var o=n.value||n.defaultValue||(0,p.parseColor)(y,"rgba");return r.state=Object.assign({},t.getStateFromValue(o),{isFirstRender:!0,guid:(0,l.guid)()}),r}return o(t,e),t.getDerivedStateFromProps=function(e,n){return e.value&&!n.isFirstRender?t.getStateFromValue(e.value,n.guid):null},t.prototype.componentDidMount=function(){this.setAlphaSliderBackground(this.state.backgroundColor),this.state.isFirstRender&&this.setState({isFirstRender:!1})},t.prototype.componentWillUnmount=function(){(0,f.removeCachedColor)(this.state.guid)},t.prototype.componentDidUpdate=function(e,t){t.backgroundColor!==this.state.backgroundColor&&this.setAlphaSliderBackground(this.state.backgroundColor)},t.prototype.renderRectangleDragHandle=function(){var e={};if(!this.state.isFirstRender){var t=this.getGradientRectMetrics(),n=(1-this.state.hsva.v)*t.height,r=this.state.hsva.s*t.width;e.top="".concat(n,"px"),e.left="".concat(r,"px")}return a.createElement("div",{className:"k-hsv-draghandle k-draghandle",style:e})},t.prototype.handleHsvaChange=function(e,t,n){var r=(0,p.getColorFromHSV)(e);if(this.isUncontrolled){var o=(0,p.parseColor)(r,"hex");this.setState({hsva:e,backgroundColor:(0,p.getColorFromHue)(e.h),rgba:(0,p.getRGBA)(r),hex:o})}else(0,f.cacheHsva)(this.state.guid,r,e);this.dispatchChangeEvent(r,t,n)},t.prototype.dispatchChangeEvent=function(e,t,n){this.props.onChange&&this.props.onChange.call(void 0,{syntheticEvent:t,nativeEvent:n,target:this,value:e})},t.getStateFromValue=function(e,t){(0,d.isPresent)((0,p.parseColor)(e,"hex"))||(e=y);var n=(0,f.getCachedHsva)(t,e)||(0,p.getHSV)(e),r=(0,f.getCachedRgba)(t,e)||(0,p.getRGBA)(e),o=(0,f.getCachedHex)(t,e)||(0,p.parseColor)(e,"hex");return{hsva:n,backgroundColor:(0,p.getColorFromHue)(n.h),rgba:r,hex:o}},t.prototype.setAlphaSliderBackground=function(e){this.props.opacity&&this.alphaSlider&&this.alphaSlider.sliderTrack&&(this.alphaSlider.sliderTrack.style.background="linear-gradient(to top, transparent, ".concat(e,")"))},Object.defineProperty(t.prototype,"isUncontrolled",{get:function(){return void 0===this.props.value},enumerable:!1,configurable:!0}),t.prototype.getGradientRectMetrics=function(){return this.gradientWrapper.getBoundingClientRect()},t.prototype.render=function(){var e=this,t=(0,g.provideLocalizationService)(this),n=(0,l.classNames)("k-colorgradient",{"k-disabled":this.props.disabled});return a.createElement("div",{id:this.props.id,className:n,"aria-disabled":this.props.disabled?"true":void 0,style:this.props.style,ref:function(t){return e.wrapper=t},tabIndex:(0,l.getTabIndex)(this.props.tabIndex,this.props.disabled),"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,onFocus:this.onFocus},a.createElement("div",{className:"k-colorgradient-canvas k-hstack"},a.createElement("div",{className:"k-hsv-rectangle",style:{background:this.state.backgroundColor}},a.createElement(l.Draggable,{onDrag:this.onDrag,onRelease:this.onRelease,ref:function(t){return e.gradientWrapper=t?t.element:void 0}},a.createElement("div",{className:"k-hsv-gradient",style:{touchAction:"none"},onClick:this.onGradientWrapperClick},this.renderRectangleDragHandle())),this.props.backgroundColor&&!this.state.isFirstRender&&a.createElement(m.ColorContrastSvg,{metrics:this.gradientWrapper?this.getGradientRectMetrics():void 0,hsva:this.state.hsva,backgroundColor:this.props.backgroundColor})),a.createElement("div",{className:"k-hsv-controls k-hstack"},a.createElement(u.Slider,{value:this.state.hsva.h,buttons:!1,vertical:!0,min:0,max:360,step:5,onChange:this.onHueSliderChange,className:"k-hue-slider k-colorgradient-slider",disabled:this.props.disabled,ariaLabel:t.toLanguageString(b.colorGradientHueSliderLabel,b.messages[b.colorGradientHueSliderLabel])}),this.props.opacity&&a.createElement(u.Slider,{value:(0,d.isPresent)(this.state.hsva.a)?100*this.state.hsva.a:100,buttons:!1,vertical:!0,min:0,max:100,step:1,ariaLabel:t.toLanguageString(b.colorGradientAlphaSliderLabel,b.messages[b.colorGradientAlphaSliderLabel]),onChange:this.onAlphaSliderChange,className:"k-alpha-slider k-colorgradient-slider",disabled:this.props.disabled,ref:function(t){return e.alphaSlider=t}}))),a.createElement(h.default,{rgba:this.state.rgba,onRgbaChange:this.onRgbaChange,hex:this.state.hex,onHexChange:this.onHexChange,opacity:this.props.opacity,disabled:this.props.disabled}),this.props.backgroundColor&&a.createElement(v.ColorContrastLabels,{bgColor:(0,p.getRGBA)(this.props.backgroundColor),rgba:this.state.rgba}))},t.displayName="ColorGradient",t.propTypes={defaultValue:i.string,value:i.string,onChange:i.func,onFocus:i.func,opacity:i.bool,backgroundColor:i.string,disabled:i.bool,style:i.any,id:i.string,ariaLabelledBy:i.string,ariaDescribedBy:i.string},t.defaultProps={opacity:!0},t}(a.Component);t.ColorGradientWithoutContext=k,t.ColorGradientPropsContext=(0,l.createPropsContext)(),t.ColorGradient=(0,l.withPropsContext)(t.ColorGradientPropsContext,k),t.ColorGradient.displayName="KendoReactColorGradient"},1503: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)}),a=this&&this.__assign||function(){return a=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},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3899),l=n(468),s=n(6073),c=n(784),u=n(5935),d=n(499),p=n(3364),f=["rgba","rgb","hex"],h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={inputMode:f[1]},t.onRgbaRChange=function(e){t.dispatchRgbaChange({r:e.value},e)},t.onRgbaGChange=function(e){t.dispatchRgbaChange({g:e.value},e)},t.onRgbaBChange=function(e){t.dispatchRgbaChange({b:e.value},e)},t.onRgbaAChange=function(e){t.dispatchRgbaChange({a:e.value},e)},t}return o(t,e),t.prototype.render=function(){var e=(0,d.provideLocalizationService)(this),t=e.toLanguageString(p.colorGradientR,p.messages[p.colorGradientHex]),n=e.toLanguageString(p.colorGradientR,p.messages[p.colorGradientR]),r=e.toLanguageString(p.colorGradientR,p.messages[p.colorGradientG]),o=e.toLanguageString(p.colorGradientR,p.messages[p.colorGradientB]),a=e.toLanguageString(p.colorGradientR,p.messages[p.colorGradientA]),f=e.toLanguageString(p.colorGradientToggleInputsButton,p.messages[p.colorGradientToggleInputsButton]);return i.createElement("div",{className:"k-colorgradient-inputs k-hstack"},i.createElement("div",{className:"k-vstack"},i.createElement(c.Button,{"aria-label":f,fillMode:"flat",icon:"arrows-kpi",className:"k-colorgradient-toggle-mode k-icon-button",onClick:this.onToggleModeChange.bind(this)})),"hex"===this.state.inputMode&&i.createElement("div",{className:"k-vstack k-flex-1"},i.createElement("span",{className:"k-hex-value k-textbox k-input"},i.createElement(s.default,{hex:this.props.hex,onHexChange:this.props.onHexChange,disabled:this.props.disabled})),i.createElement(u.Label,{className:"k-colorgradient-input-label"},t)),("rgb"===this.state.inputMode||"rgba"===this.state.inputMode)&&i.createElement(i.Fragment,null,i.createElement("div",{className:"k-vstack"},i.createElement(l.NumericTextBox,{inputType:"number",value:this.props.rgba.r,ariaLabel:String(this.props.rgba.r),min:0,max:255,spinners:!1,format:"n",onChange:this.onRgbaRChange,disabled:this.props.disabled}),i.createElement(u.Label,{className:"k-colorgradient-input-label"},n)),i.createElement("div",{className:"k-vstack"},i.createElement(l.NumericTextBox,{inputType:"number",value:this.props.rgba.g,ariaLabel:String(this.props.rgba.g),min:0,max:255,spinners:!1,format:"n",onChange:this.onRgbaGChange,disabled:this.props.disabled}),i.createElement(u.Label,{className:"k-colorgradient-input-label"},r)),i.createElement("div",{className:"k-vstack"},i.createElement(l.NumericTextBox,{inputType:"number",value:this.props.rgba.b,ariaLabel:String(this.props.rgba.b),min:0,max:255,spinners:!1,format:"n",onChange:this.onRgbaBChange,disabled:this.props.disabled}),i.createElement(u.Label,{className:"k-colorgradient-input-label"},o))),"rgba"===this.state.inputMode&&i.createElement("div",{className:"k-vstack"},this.props.opacity&&i.createElement(l.NumericTextBox,{inputType:"number",value:this.props.rgba.a,ariaLabel:String(this.props.rgba.a),min:0,max:1,step:.01,spinners:!1,format:"n2",onChange:this.onRgbaAChange,disabled:this.props.disabled}),this.props.opacity&&i.createElement(u.Label,{className:"k-colorgradient-input-label"},a)))},t.prototype.dispatchRgbaChange=function(e,t){var n=a({},this.props.rgba);void 0!==e.r&&(n.r=e.r),void 0!==e.g&&(n.g=e.g),void 0!==e.b&&(n.b=e.b),void 0!==e.a&&(n.a=e.a),this.props.onRgbaChange(n,t)},t.prototype.onToggleModeChange=function(){var e=f.length-1===f.indexOf(this.state.inputMode)?0:f.indexOf(this.state.inputMode)+1;if(this.props.opacity)this.setState({inputMode:f[e]});else{var t="rgba"===f[e]?e+1:e;this.setState({inputMode:f[t]})}},t}(i.Component);t.default=h,(0,d.registerForIntl)(h),(0,d.registerForLocalization)(h)},2480: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)});Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPalette=t.ColorPalettePropsContext=t.ColorPaletteWithoutContext=t.DEFAULT_PRESET=t.DEFAULT_COLUMNS_COUNT=t.DEFAULT_TILE_SIZE=void 0;var a=n(3899),i=n(189),l=n(3586),s=n(3859),c=n(3859),u=n(7363),d=n(1510),p=n(6608),f=n(7029);t.DEFAULT_TILE_SIZE=24,t.DEFAULT_COLUMNS_COUNT=10,t.DEFAULT_PRESET="office";var h=function(e){function n(t){var n=e.call(this,t)||this;return n.wrapper=null,n.paletteService=null,n.guid=(0,s.guid)(),n.focus=function(){n.wrapper&&n.wrapper.focus()},n.onKeyDown=function(e){switch(e.keyCode){case s.Keys.down:n.handleCellNavigation(0,1);break;case s.Keys.up:n.handleCellNavigation(0,-1);break;case s.Keys.right:n.handleCellNavigation(1,0);break;case s.Keys.left:n.handleCellNavigation(-1,0);break;case s.Keys.enter:n.handleEnter(e);break;default:return}e.preventDefault()},n.onColorClick=function(e,t){n.isUncontrolled?n.setState({selectedColor:e,focusedColor:e}):n.setState({focusedColor:e}),n.dispatchChangeEvent(e,t)},n.onFocus=function(e){n.paletteService&&(n.setState({focusedColor:n.state.selectedColor||n.paletteService.colorRows[0][0]}),n.props.onFocus&&n.props.onFocus.call(void 0,e))},n.onBlur=function(){n.setState({focusedColor:void 0})},(0,c.validatePackage)(u.packageMetadata),n.state={selectedColor:void 0!==n.props.value?n.props.value:n.props.defaultValue,isFirstRender:!0},n}return o(n,e),n.prototype.render=function(){var e=this,t=this.getPaletteInfo(),n=this.paletteService=new l.ColorPaletteService;n.setColorMatrix(t.colors,t.columns);var r=n.getCellCoordsFor(this.state.selectedColor),o=n.getCellCoordsFor(this.state.focusedColor),i=(0,s.classNames)("k-colorpalette",{"k-disabled":this.props.disabled});return t.colors.length?a.createElement("div",{id:this.props.id,className:i,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,"aria-disabled":this.props.disabled?"true":void 0,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,tabIndex:(0,s.getTabIndex)(this.props.tabIndex,this.props.disabled),ref:function(t){return e.wrapper=t}},a.createElement("div",{className:"k-colorpalette-table-wrap",role:"grid"},a.createElement("table",{className:"k-colorpalette-table k-palette",role:"presentation"},a.createElement("tbody",{role:"rowgroup"},this.renderRows(n.colorRows,r,o))))):""},n.getDerivedStateFromProps=function(e,t){if(t.isFirstRender||void 0===e.value){if(t.isFirstRender)return{isFirstRender:!1}}else{if(""===e.value&&void 0!==t.selectedColor)return{selectedColor:void 0};if(""!==e.value&&e.value!==t.selectedColor)return{selectedColor:e.value}}return null},n.prototype.handleCellNavigation=function(e,t){if(this.paletteService)if(this.focusedColorCooridanates){var n=this.paletteService.getNextCell(this.focusedColorCooridanates,e,t);this.setState({focusedColor:this.paletteService.getColorAt(n)})}else this.setState({focusedColor:this.paletteService.colorRows[0][0]})},n.prototype.handleEnter=function(e){this.isUncontrolled&&this.setState({selectedColor:this.state.focusedColor}),this.dispatchChangeEvent(this.state.focusedColor,e)},n.prototype.dispatchChangeEvent=function(e,t){(0,s.dispatchEvent)(this.props.onChange,t,this,{value:e,rgbaValue:(0,f.parseColor)(e,"rgba")})},Object.defineProperty(n.prototype,"focusedColorCooridanates",{get:function(){return this.state.focusedColor&&this.paletteService?this.paletteService.getCellCoordsFor(this.state.focusedColor):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isUncontrolled",{get:function(){return void 0===this.props.value},enumerable:!1,configurable:!0}),n.prototype.getPaletteInfo=function(){if("string"==typeof this.props.palette){var e=d.PALETTEPRESETS[this.props.palette];return(0,p.isPresent)(e)?{colors:e.colors,columns:this.props.columns||e.columns||t.DEFAULT_COLUMNS_COUNT}:{colors:[],columns:0}}return{colors:this.props.palette||[],columns:this.props.columns||t.DEFAULT_COLUMNS_COUNT}},n.prototype.renderRows=function(e,t,n){var r=this;return e.map((function(e,o){return a.createElement("tr",{role:"row",key:o},r.renderColumns(e,o,t,n))}))},n.prototype.renderColumns=function(e,t,n,r){var o=this,i=void 0!==n&&n.row===t,l=n&&n.col,c=void 0!==r&&r.row===t,u=r&&r.col,d="number"!=typeof this.props.tileSize?this.props.tileSize:{width:this.props.tileSize,height:this.props.tileSize},p=d.width+"px",f=d.height+"px";return e.map((function(e,n){var r=i&&l===n,d=(0,s.classNames)("k-colorpalette-tile",{"k-selected":r,"k-focus":c&&u===n});return a.createElement("td",{role:"gridcell",className:d,"aria-label":e,"aria-selected":!!r||!!o.props.disabled&&void 0,style:{backgroundColor:e,width:p,height:f,minWidth:p},onClick:function(t){return o.onColorClick(e,t)},id:o.createCellId({row:t,col:n}),key:n})}))},n.prototype.createCellId=function(e){return"".concat(this.guid,"_").concat(e.row,"_").concat(e.col)},n.displayName="ColorPalette",n.propTypes={palette:i.oneOfType([i.arrayOf(i.string.isRequired),i.string]),columns:i.number,tileSize:i.any,defaultValue:i.string,value:i.string,disabled:i.bool,tabIndex:i.number,onChange:i.func,onFocus:i.func,id:i.string,ariaLabelledBy:i.string,ariaDescribedBy:i.string},n.defaultProps={palette:t.DEFAULT_PRESET,tileSize:t.DEFAULT_TILE_SIZE},n}(a.Component);t.ColorPaletteWithoutContext=h,t.ColorPalettePropsContext=(0,s.createPropsContext)(),t.ColorPalette=(0,s.withPropsContext)(t.ColorPalettePropsContext,h),t.ColorPalette.displayName="KendoReactColorPalette"},2286:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPicker=t.ColorPickerPropsContext=void 0;var o=n(3899),a=n(189),i=n(3859),l=n(3859),s=n(7363),c=n(1007),u=n(9070),d=n(2480),p=n(784),f=n(3364),h=n(499),v={palette:d.DEFAULT_PRESET,tileSize:d.DEFAULT_TILE_SIZE},m=function(e){return void 0!==e};t.ColorPickerPropsContext=(0,i.createPropsContext)(),t.ColorPicker=o.forwardRef((function(e,n){var a,v;(0,l.validatePackage)(s.packageMetadata);var b=(0,i.usePropsContext)(t.ColorPickerPropsContext,e),y=(0,h.useLocalization)(),k=b.size,C=void 0===k?g.size:k,x=b.rounded,O=void 0===x?g.rounded:x,w=b.fillMode,E=void 0===w?g.fillMode:w,P=b.popupSettings,_=b.gradientSettings,S=b.paletteSettings,N=b.valid,R=b.disabled,I=b.tabIndex,M=b.view,D=b.icon,T=b.iconClassName,A=b.onChange,L=b.onFocus,j=b.onBlur,B=b.onActiveColorClick,V=o.useRef(null),F=o.useRef(null),z=o.useRef(null),G=o.useRef(),K=o.useRef(null),H=o.useCallback((function(){V.current&&V.current.focus()}),[]);o.useImperativeHandle(n,(function(){return{element:V.current,actionElement:K.current,focus:H}}));var U=o.useState(!1),W=U[0],q=U[1],X=o.useState(b.defaultValue),Y=X[0],Z=X[1],$=o.useState(!1),J=$[0],Q=$[1],ee=m(b.value),te=m(b.open),ne=ee?b.value:Y,re=te?b.open:J,oe=o.useCallback((function(e,t){te||(!e&&!t&&V&&V.current&&V.current.focus(),Q(e))}),[te]),ae=o.useCallback((function(e){var t=e.altKey,n=e.keyCode;if(n!==i.Keys.esc)return n!==i.Keys.enter||te?void(!t||n!==i.Keys.up&&n!==i.Keys.down||(e.preventDefault(),e.stopPropagation(),n===i.Keys.up&&V&&V.current&&(V.current.focus(),oe(!1)),n===i.Keys.down&&oe(!0))):(e.preventDefault(),e.stopPropagation(),void oe(!re));oe(!1)}),[re,te]),ie=o.useCallback((function(){te||(F.current?F.current.focus():z.current&&z.current.focus())}),[te]),le=o.useCallback((function(){oe(!re,!0)}),[re]),se=o.useCallback((function(e){B&&B.call(void 0,{syntheticEvent:e,nativeEvent:e.nativeEvent,value:ne})}),[B,ne]),ce=o.useCallback((function(e){G.current?(clearTimeout(G.current),G.current=void 0):q(!0),L&&L.call(void 0,{nativeEvent:e.nativeEvent,syntheticEvent:e})}),[L]),ue=o.useCallback((function(){oe(!1,!0),q(!1),G.current=void 0}),[]),de=o.useCallback((function(e){clearTimeout(G.current),G.current=window.setTimeout(ue),j&&j.call(void 0,{nativeEvent:e.nativeEvent,syntheticEvent:e})}),[j]),pe=o.useCallback((function(e,t){var n=t?e.rgbaValue:e.value;ee||Z(n),t&&oe(!1),A&&A.call(void 0,{value:n,nativeEvent:e.nativeEvent,syntheticEvent:e.syntheticEvent})}),[ee,A]),fe=o.useCallback((function(e){return pe(e,!0)}),[m,pe]),he=(0,i.useDir)(V,b.dir),ve=!1!==N;return o.createElement("span",{id:b.id,"aria-labelledby":b.ariaLabelledBy,"aria-describedby":b.ariaDescribedBy,className:(0,i.classNames)("k-colorpicker","k-picker","k-icon-picker",(a={},a["k-picker-".concat(i.kendoThemeMaps.sizeMap[C]||C)]=C,a["k-picker-".concat(E)]=E,a["k-rounded-".concat(i.kendoThemeMaps.roundedMap[O]||O)]=O,a["k-invalid"]=!ve,a["k-disabled"]=R,a["k-focus"]=W,a)),ref:V,tabIndex:(0,i.getTabIndex)(I,R),title:b.title,onKeyDown:ae,onFocus:ce,onBlur:de,dir:he},o.createElement(c.Picker,{dir:he,open:re,onOpen:ie,popupAnchor:V.current||void 0,popupSettings:r({},P),input:o.createElement("span",{onClick:se,className:"k-input-inner"},o.createElement("span",{className:(0,i.classNames)("k-value-icon","k-color-preview",{"k-no-color":!ne,"k-icon-color-preview":D||T})},(T||D)&&o.createElement("span",{className:(0,i.classNames)("k-color-preview-icon",T,(v={},v["k-icon k-i-".concat(D)]=D&&!T,v))}),o.createElement("span",{className:"k-color-preview-mask",style:{backgroundColor:ne}}))),button:o.createElement(p.Button,{tabIndex:-1,type:"button",onClick:le,className:"k-input-button",rounded:null,icon:"arrow-s","aria-label":y.toLanguageString(f.colorPickerDropdownButtonAriaLabel,f.messages[f.colorPickerDropdownButtonAriaLabel])}),content:o.createElement(o.Fragment,null,("combo"===M||"gradient"===M)&&o.createElement(u.ColorGradient,r({},_,{tabIndex:0,ref:F,value:ne,onChange:pe})),("combo"===M||"palette"===M)&&o.createElement(d.ColorPalette,r({},S,{ref:z,value:ne,onChange:fe})))}))})),t.ColorPicker.propTypes={value:a.string,defaultValue:a.string,disabled:a.bool,view:a.oneOf(["gradient","palette","combo"]),dir:a.string,id:a.string,ariaLabelledBy:a.string,ariaDescribedBy:a.string,size:a.oneOf([null,"small","medium","large"]),rounded:a.oneOf([null,"small","medium","large","full"]),fillMode:a.oneOf([null,"solid","flat","outline"])};var g={size:"medium",rounded:"medium",fillMode:"solid",view:"palette",gradientSettings:{opacity:!0},paletteSettings:v};t.ColorPicker.defaultProps=g,t.ColorPicker.displayName="KendoColorPicker"},4624:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FlatColorPicker=void 0;var r=n(3899),o=n(189),a=n(3859),i=n(784),l=n(468),s=n(7363),c=n(3364);t.FlatColorPicker=r.forwardRef((function(e,t){(0,a.validatePackage)(s.packageMetadata);var n=r.useRef(null),o=r.useRef(null),u=r.useRef(null),p=r.useState("ColorGradient"===(e.view||"ColorGradient")),f=p[0],h=p[1],v=r.useState("rgba(255, 255, 255, 1)"),m=v[0],g=v[1],b=r.useState("rgba(255, 255, 255, 1)"),y=b[0],k=b[1],C=r.useCallback((function(){n.current&&n.current.focus()}),[n]);r.useImperativeHandle(n,(function(){return{element:o.current,focus:C,props:e}})),r.useImperativeHandle(t,(function(){return n.current}));var x=r.useCallback((function(e){("ColorGradient"===e&&!f||"ColorPalette"===e&&f)&&h(!f)}),[f]),O=r.useCallback((function(){g("rgba(255, 255, 255, 1)")}),[]),w=r.useCallback((function(e){g(e.value)}),[]),E=r.useCallback((function(){k(m)}),[m]),P=r.useCallback((function(){k("rgba(255, 255, 255, 1)")}),[]),_=r.useCallback((function(){g(y)}),[y]),S=r.useCallback((function(){o.current&&o.current.focus()}),[o]),N=r.useCallback((function(){k(m)}),[m]);return r.createElement("div",{id:e.id,style:e.style,ref:o,tabIndex:(0,a.getTabIndex)(e.tabIndex,e.disabled),className:(0,a.classNames)("k-flatcolorpicker k-coloreditor",{"k-disabled":e.disabled},e.className),onBlur:N},r.createElement(r.Fragment,null,e.header||r.createElement("div",{className:"k-coloreditor-header k-hstack"},r.createElement("div",{className:"k-coloreditor-header-actions k-hstack"},r.createElement(i.ButtonGroup,null,r.createElement(i.Button,{type:"button",togglable:!0,fillMode:"flat",selected:f,onClick:function(){return x("ColorGradient")}},r.createElement("span",{className:"k-icon k-i-color-canvas"})),r.createElement(i.Button,{type:"button",togglable:!0,fillMode:"flat",selected:!f,onClick:function(){return x("ColorPalette")}},r.createElement("span",{className:"k-icon k-i-palette"})))),r.createElement("div",{className:"k-spacer"}),r.createElement("div",{className:"k-coloreditor-header-actions k-hstack"},e.showClearButton&&d.showClearButton&&r.createElement(i.Button,{type:"button",fillMode:"flat",onClick:O},r.createElement("span",{className:"k-icon k-i-reset-color"})),e.showPreview&&d.showPreview&&r.createElement("div",{className:"k-coloreditor-preview k-vstack"},r.createElement("span",{className:"k-coloreditor-preview-color k-color-preview",style:{background:m}}),r.createElement("span",{className:"k-coloreditor-current-color k-color-preview",style:{background:y},onClick:_})))),r.createElement("div",{className:"k-coloreditor-views k-vstack"},f?r.createElement(l.ColorGradient,{ref:u,value:m,onChange:w,onFocus:S}):r.createElement(l.ColorPalette,{value:m,onChange:w,onFocus:S})),e.showButtons&&d.showButtons&&r.createElement("div",{className:"k-coloreditor-footer k-actions k-actions-end"},r.createElement(i.Button,{type:"button",className:"k-coloreditor-cancel",onClick:P},c.messages[c.flatColorPickerCancelBtn]),r.createElement(i.Button,{type:"button",className:"k-coloreditor-apply k-primary",onClick:E},c.messages[c.flatColorPickerApplyBtn]))))}));var u={id:o.string,value:o.string,view:o.string,header:o.elementType,showClearButton:o.bool,showPreview:o.bool,showButtons:o.bool},d={showClearButton:!0,showPreview:!0,showButtons:!0};t.FlatColorPicker.displayName="KendoFlatColorPicker",t.FlatColorPicker.propTypes=u,t.FlatColorPicker.defaultProps=d},6073: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)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(3899),i=n(7029),l=n(6608),s=n(3315),c=function(e){function t(t){var n=e.call(this,t)||this;return n.onChange=function(e){var t=e.target.value,r=(0,i.parseColor)(t,"rgba");n.setState({hex:t}),(0,l.isPresent)(r)&&n.props.onHexChange(t,r,e)},n.onBlur=function(){(0,l.isPresent)((0,i.parseColor)(n.state.hex,"rgba"))||n.setState({hex:n.state.originalHex})},n.state={hex:n.props.hex,originalHex:n.props.hex},n}return o(t,e),t.prototype.render=function(){return a.createElement(s.Input,{value:this.state.hex,onChange:this.onChange,onBlur:this.onBlur,disabled:this.props.disabled})},t.getDerivedStateFromProps=function(e,t){return e.hex!==t.originalHex?{hex:e.hex,originalHex:e.hex}:null},t}(a.Component);t.default=c},1007:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Picker=void 0;var o=n(3899),a=n(5362),i=n(3859);t.Picker=function(e){var t=e.popupSettings||{},n="rtl"===e.dir?"right":"left",l=o.useMemo((function(){return{horizontal:n,vertical:"bottom"}}),[n]),s=o.useMemo((function(){return{horizontal:n,vertical:"top"}}),[n]);return o.createElement(o.Fragment,null,e.input,e.button,o.createElement(a.Popup,r({style:r(r({},(t||{}).style),{direction:e.dir})},t,{anchor:e.popupAnchor,anchorAlign:l,popupAlign:s,show:e.open,onOpen:e.onOpen,onClose:e.onClose,className:(0,i.classNames)("k-reset",t.className)}),e.content))},t.Picker.displayName="KendoPickerComponent"},5485:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},2066:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},7193:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},2687:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},3439:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},6940:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},5387:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},3107:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},1831:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},2405:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},8412:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},1510:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PALETTEPRESETS=void 0,t.PALETTEPRESETS={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4"," ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}}},4735:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getCachedRgba=t.getCachedHsva=t.getCachedHex=t.removeCachedColor=t.cacheHex=t.cacheRgba=t.cacheHsva=void 0;var n={};t.cacheHsva=function(e,t,r){n[e]={value:t,hsva:r}},t.cacheRgba=function(e,t,r){n[e]={value:t,rgba:r}},t.cacheHex=function(e,t,r){n[e]={value:t,hex:r}},t.removeCachedColor=function(e){delete n[e]},t.getCachedHex=function(e,t){if(e){var r=n[e];return r&&r.value===t?r.hex:void 0}},t.getCachedHsva=function(e,t){if(e){var r=n[e];return r&&r.value===t?r.hsva:void 0}},t.getCachedRgba=function(e,t){if(e){var r=n[e];return r&&r.value===t?r.rgba:void 0}}},3586:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPaletteService=void 0;var r=n(6608),o=n(4407),a=function(){function e(){this.colorRows=[]}return e.prototype.setColorMatrix=function(e,t){if(this.colorRows=[],(0,r.isPresent)(e)&&e.length){t=t||e.length;for(var n=0;n<e.length;n+=t){var o=e.slice(n,t+n);this.colorRows.push(o)}}},e.prototype.getCellCoordsFor=function(e){var t=this;if((0,r.isPresent)(e)){var n=e?(0,o.parseColor)(e,!0):e,a=[e];(0,r.isPresent)(n)&&a.push(n.toCss(),n.toCssRgba());for(var i=function(e){for(var n=function(n){if(a.some((function(r){return r===t.colorRows[e][n]})))return{value:{row:e,col:n}}},r=0;r<l.colorRows[e].length;r++){var o=n(r);if("object"==typeof o)return o}},l=this,s=0;s<this.colorRows.length;s++){var c=i(s);if("object"==typeof c)return c.value}}},e.prototype.getColorAt=function(e){if((0,r.isPresent)(e)&&(0,r.isPresent)(this.colorRows[e.row]))return this.colorRows[e.row][e.col]},e.prototype.getNextCell=function(e,t,n){if(!((0,r.isPresent)(e)&&(0,r.isPresent)(e.row)&&(0,r.isPresent)(e.col)))return{row:0,col:0};var o=this.clampIndex(e.row+n,this.colorRows.length-1);return{row:o,col:this.clampIndex(e.col+t,this.colorRows[o].length-1)}},e.prototype.clampIndex=function(e,t){return e<0?0:e>t?t:e},e}();t.ColorPaletteService=a},7029:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getContrastFromTwoRGBAs=t.getContrast=t.getLuminance=t.getRGBFromRGBA=t.getColorFromRGBA=t.getColorFromHue=t.getColorFromHSV=t.getRGBA=t.getHSV=t.parseColor=void 0;var r=n(4407),o=n(6608);t.parseColor=function(e,t,n){if(void 0===n&&(n=!0),-1===["hex","rgba"].indexOf(t))throw new Error("Unsupported color output format '".concat(t,"'. The available options are 'hex' or 'rgba'."));if((0,o.isPresent)(e)){var a=(0,r.parseColor)(e.trim(),n);if((0,o.isPresent)(a))return"hex"===t?a.toCss():a.toCssRgba()}},t.getHSV=function(e,t){void 0===t&&(t=!0);var n=(0,r.parseColor)(e,t);return(0,o.isPresent)(n)?n.toHSV():{}},t.getRGBA=function(e,t){void 0===t&&(t=!0);var n=(0,r.parseColor)(e,t);return(0,o.isPresent)(n)?n.toBytes():{}},t.getColorFromHSV=function(e){var t=(0,o.fitIntoBounds)(e.h,0,359.9),n=(0,o.fitIntoBounds)(e.s,0,1),a=(0,o.fitIntoBounds)(e.v,0,1),i=(0,o.fitIntoBounds)(e.a,0,1);return r.Color.fromHSV(t,n,a,i).toCssRgba()},t.getColorFromHue=function(e){return(0,t.getColorFromHSV)({h:e,s:1,v:1,a:1})},t.getColorFromRGBA=function(e){var t=(0,o.fitIntoBounds)(e.r,0,255),n=(0,o.fitIntoBounds)(e.g,0,255),a=(0,o.fitIntoBounds)(e.b,0,255),i=(0,o.fitIntoBounds)(e.a,0,1);return r.Color.fromBytes(t,n,a,i).toCssRgba()},t.getRGBFromRGBA=function(e,t){var n=(0,o.fitIntoBounds)(e.r,0,255),r=(0,o.fitIntoBounds)(e.g,0,255),a=(0,o.fitIntoBounds)(e.b,0,255),i=(0,o.fitIntoBounds)(e.a,0,1),l=(0,o.fitIntoBounds)(t.r,0,255),s=(0,o.fitIntoBounds)(t.g,0,255),c=(0,o.fitIntoBounds)(t.b,0,255);return{r:Math.round((1-i)*l+i*n),g:Math.round((1-i)*s+i*r),b:Math.round((1-i)*c+i*a)}},t.getLuminance=function(e){var t=[e.r||0,e.g||0,e.b||0].map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*t[0]+.7152*t[1]+.0722*t[2]},t.getContrast=function(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)},t.getContrastFromTwoRGBAs=function(e,n){return(0,t.getContrast)((0,t.getLuminance)((0,t.getRGBFromRGBA)(e,n)),(0,t.getLuminance)((0,t.getRGBFromRGBA)(n,{r:0,g:0,b:0,a:1})))}},6608:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fitIntoBounds=t.isPresent=void 0,t.isPresent=function(e){return null!=e},t.fitIntoBounds=function(e,n,r){return!(0,t.isPresent)(e)||isNaN(e)||e<=n?n:e>=r?r:e}},1694:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.bezierCommand=t.controlPoint=t.line=t.svgPath=void 0,t.svgPath=function(e,t){if(0===e.length)return"";var n=e.reduce((function(e,n,r,o){return 0===r?"M ".concat(n[0],",").concat(n[1]):"".concat(e," ").concat(t(n,r,o))}),"");return'<path d="'.concat(n,'" fill="none" stroke="white" stroke-width="1"/>')},t.line=function(e,t){var n=t[0]-e[0],r=t[1]-e[1];return{length:Math.sqrt(Math.pow(n,2)+Math.pow(r,2)),angle:Math.atan2(r,n)}},t.controlPoint=function(e){return function(t,n,r,o){var a=e(n||t,r||t),i=a.angle+(o?Math.PI:0),l=.1*a.length;return[t[0]+Math.cos(i)*l,t[1]+Math.sin(i)*l]}},t.bezierCommand=function(e){return function(t,n,r){var o=e(r[n-1],r[n-2],t),a=o[0],i=o[1],l=e(t,r[n-1],r[n+1],!0),s=l[0],c=l[1];return"C ".concat(a,",").concat(i," ").concat(s,",").concat(c," ").concat(t[0],",").concat(t[1])}}},3315: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)}),a=this&&this.__assign||function(){return a=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},a.apply(this,arguments)},i=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.Input=t.InputPropsContext=t.InputWithoutContext=void 0;var l=n(3899),s=n(189),c=n(3859),u=n(5935),d=n(3859),p=n(7363),f=function(e){function t(n){var r=e.call(this,n)||this;return r._input=null,r._inputId=(0,c.guid)(),r.focus=function(){r._input&&r._input.focus()},r.isInvalid=function(e){var t=!1;for(var n in e)e.hasOwnProperty(n)&&(t=t||Boolean(e[n]));return t},r.setValidity=function(){r._input&&r._input.setCustomValidity&&(r.validity.valid||!r.validityStyles?r._input.classList.remove("k-invalid"):r._input.classList.add("k-invalid"),r._input.setCustomValidity(r.validity.valid?"":r.props.validationMessage||""))},r.handleChange=function(e){r.setState({value:e.target.value}),r.valueDuringOnChange=e.target.value,r.props.onChange&&r.props.onChange.call(void 0,{syntheticEvent:e,nativeEvent:e.nativeEvent,value:e.target.value,target:r}),r.valueDuringOnChange=void 0},r.handleAutoFill=function(e){if("autoFillStart"===e.animationName){var t=e.target.parentNode;t&&t.classList.contains("k-empty")&&t.classList.remove("k-empty")}},(0,d.validatePackage)(p.packageMetadata),r.state={value:r.props.defaultValue||t.defaultProps.defaultValue},r}return o(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._input},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.props.value?this.props.value:this.state.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e={badInput:!!this._input&&this._input.validity.badInput,patternMismatch:!!this._input&&this._input.validity.patternMismatch,rangeOverflow:!!this._input&&this._input.validity.rangeOverflow,rangeUnderflow:!!this._input&&this._input.validity.rangeUnderflow,stepMismatch:!!this._input&&this._input.validity.stepMismatch,tooLong:!!this._input&&this._input.validity.tooLong,typeMismatch:!!this._input&&this._input.validity.typeMismatch,valueMissing:!!this._input&&this._input.validity.valueMissing};return a(a({},e),{customError:void 0!==this.props.validationMessage,valid:void 0!==this.props.valid?this.props.valid:!this._input||!this.isInvalid(e)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.forceUpdate()},t.prototype.componentDidUpdate=function(){this.setValidity()},t.prototype.render=function(){var e=this,t=this.props,n=t.className,r=t.label,o=t.id,s=(t.validationMessage,t.defaultValue,t.valid,t.visited,t.touched,t.modified,t.ariaLabelledBy),d=t.ariaDescribedBy,p=(t.validityStyles,t.style),f=t.ariaLabel,h=i(t,["className","label","id","validationMessage","defaultValue","valid","visited","touched","modified","ariaLabelledBy","ariaDescribedBy","validityStyles","style","ariaLabel"]),v=o||this._inputId,m=!this.validityStyles||this.validity.valid,g=(0,c.classNames)(n,"k-input k-input-md k-rounded-md k-input-solid"),b=l.createElement("input",a({"aria-labelledby":s,"aria-describedby":d,"aria-disabled":this.props.disabled||void 0,"aria-invalid":!m||void 0,"aria-label":f||void 0},h,{style:r?void 0:p,value:this.value,id:v,className:g,onChange:this.handleChange,onAnimationStart:this.handleAutoFill,ref:function(t){e._input=t}}));return r?l.createElement(u.FloatingLabel,{label:r,editorId:v,editorValue:String(this.value),editorValid:m,editorDisabled:h.disabled,editorPlaceholder:h.placeholder,children:b,style:p,dir:h.dir}):b},t.displayName="Input",t.propTypes={label:s.string,validationMessage:s.string,required:s.bool,validate:s.bool,id:s.string,ariaLabelledBy:s.string,ariaDescribedBy:s.string,ariaLabel:s.string},t.defaultProps={defaultValue:"",required:!1,validityStyles:!0},t}(l.Component);t.InputWithoutContext=f,t.InputPropsContext=(0,c.createPropsContext)(),t.Input=(0,c.withPropsContext)(t.InputPropsContext,f),t.Input.displayName="KendoReactInput"},7695:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},468:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.SwitchPropsContext=t.Switch=t.SliderPropsContext=t.Slider=t.MaskedTextBoxPropsContext=t.MaskedTextBox=t.InputPropsContext=t.Input=t.ColorPalettePropsContext=t.ColorPalette=t.ColorGradientPropsContext=t.ColorGradient=void 0;var a=n(9070);Object.defineProperty(t,"ColorGradient",{enumerable:!0,get:function(){return a.ColorGradient}}),Object.defineProperty(t,"ColorGradientPropsContext",{enumerable:!0,get:function(){return a.ColorGradientPropsContext}});var i=n(2480);Object.defineProperty(t,"ColorPalette",{enumerable:!0,get:function(){return i.ColorPalette}}),Object.defineProperty(t,"ColorPalettePropsContext",{enumerable:!0,get:function(){return i.ColorPalettePropsContext}}),o(n(2286),t),o(n(5485),t),o(n(2066),t),o(n(7193),t),o(n(2687),t),o(n(3439),t),o(n(6940),t),o(n(5387),t),o(n(3107),t),o(n(1831),t),o(n(2405),t),o(n(8412),t),o(n(4624),t);var l=n(3315);Object.defineProperty(t,"Input",{enumerable:!0,get:function(){return l.Input}}),Object.defineProperty(t,"InputPropsContext",{enumerable:!0,get:function(){return l.InputPropsContext}});var s=n(6015);Object.defineProperty(t,"MaskedTextBox",{enumerable:!0,get:function(){return s.MaskedTextBox}}),Object.defineProperty(t,"MaskedTextBoxPropsContext",{enumerable:!0,get:function(){return s.MaskedTextBoxPropsContext}}),o(n(1855),t),o(n(9896),t),o(n(9206),t),o(n(9429),t),o(n(1715),t),o(n(5306),t),o(n(4206),t);var c=n(6153);Object.defineProperty(t,"Slider",{enumerable:!0,get:function(){return c.Slider}}),Object.defineProperty(t,"SliderPropsContext",{enumerable:!0,get:function(){return c.SliderPropsContext}}),o(n(8510),t),o(n(716),t),o(n(7695),t);var u=n(9363);Object.defineProperty(t,"Switch",{enumerable:!0,get:function(){return u.Switch}}),Object.defineProperty(t,"SwitchPropsContext",{enumerable:!0,get:function(){return u.SwitchPropsContext}}),o(n(338),t),o(n(8485),t),o(n(623),t),o(n(9357),t),o(n(5809),t),o(n(6254),t),o(n(1018),t),o(n(7756),t),o(n(9192),t),o(n(7197),t),o(n(1442),t),o(n(4594),t),o(n(6767),t),o(n(1293),t),o(n(590),t),o(n(2850),t),o(n(5287),t),o(n(9458),t),o(n(3552),t)},6015: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)}),a=this&&this.__assign||function(){return a=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},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.MaskedTextBox=t.MaskedTextBoxPropsContext=t.MaskedTextBoxWithoutContext=void 0;var i=n(3899),l=n(189),s=n(9894),c=n(1789),u=n(3859),d=n(5935),p=n(3859),f=n(7363),h=function(e){function t(t){var n=e.call(this,t)||this;return n.state={},n._inputId="k-".concat((0,u.guid)()),n._service=new s.MaskingService,n._isPasted=!1,n._selection=[null,null],n._input=null,n.focus=function(){n._input&&n._input.focus()},n.pasteHandler=function(e){var t=e.target,r=t.selectionStart,o=t.selectionEnd;o!==r&&(n._isPasted=!0,n._selection=[r||0,o||0])},n.onChangeHandler=function(e){var t=e.currentTarget,r=t.value,o=n._selection[0]||0,a=n._selection[1]||0;if(!n.props.mask)return n._isPasted=!1,n._selection=[null,null],void n.triggerOnChange(r,e);var i,l=n.value;if(n._isPasted){n._isPasted=!1;var s=l.length-a,c=r.length-s;i=n._service.maskInRange(r.slice(o,c),l,o,a)}else i=n._service.maskInput(r,l,t.selectionStart||0);n._selection=[i.selection,i.selection],n.triggerOnChange(i.value,e)},n.focusHandler=function(e){n.state.focused||(n.setState({focused:!0}),n.props.onFocus&&n.props.onFocus.call(void 0,{target:n,syntheticEvent:e,nativeEvent:e.nativeEvent}))},n.blurHandler=function(e){n.state.focused&&(n.setState({focused:!1}),n.props.onBlur&&n.props.onBlur.call(void 0,{target:n,syntheticEvent:e,nativeEvent:e.nativeEvent}))},n.setValidity=function(){n.element&&n.element.setCustomValidity(n.validity.valid?"":n.props.validationMessage||"")},(0,p.validatePackage)(f.packageMetadata),n}return o(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._input},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this._valueDuringOnChange?this._valueDuringOnChange:void 0!==this.props.value?this.props.value:void 0!==this.state.value?this.state.value:void 0!==this.props.defaultValue?this.props.defaultValue:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rawValue",{get:function(){return this._service.rawValue(this.value)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=this.value,t=this._service.validationValue(e);return{customError:void 0!==this.props.validationMessage,valid:void 0!==this.props.valid?this.props.valid:!(this.required&&!t||this.props.maskValidation&&this.props.prompt&&-1!==e.indexOf(this.props.prompt)),valueMissing:!t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){if(this.element&&this.state.focused&&t.focused){var n=this._selection,r=n[0],o=n[1],a=e.selection,i=this.props.selection;(!a&&i||a&&i&&(a.start!==i.start||a.end!==i.end))&&(r=i.start,o=i.end),null!==r&&null!==o&&this.element.setSelectionRange(r,o)}(0,c.maskingChanged)(e,this.props)&&this.updateService(),this.setValidity()},t.prototype.componentDidMount=function(){this.updateService(),this.setValidity()},t.prototype.render=function(){var e,n=this,r=this.props,o=r.size,l=void 0===o?t.defaultProps.size:o,s=r.fillMode,p=void 0===s?t.defaultProps.fillMode:s,f=r.rounded,h=void 0===f?t.defaultProps.rounded:f,v=this.props.id||this._inputId,m=!this.validityStyles||this.validity.valid,g=this.props.style||{},b=i.createElement("span",{dir:this.props.dir,className:(0,u.classNames)("k-maskedtextbox k-input",(e={},e["k-input-".concat(u.kendoThemeMaps.sizeMap[l]||l)]=l,e["k-input-".concat(p)]=p,e["k-rounded-".concat(u.kendoThemeMaps.roundedMap[h]||h)]=h,e["k-invalid"]=!m,e["k-required"]=this.required,e["k-disabled"]=this.props.disabled,e),this.props.className),style:this.props.label?g:a({width:this.props.width},g)},i.createElement("input",{type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,className:"k-input-inner",value:this.value,id:v,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,name:this.props.name,tabIndex:(0,u.getTabIndex)(this.props.tabIndex,this.props.disabled,!0),accessKey:this.props.accessKey,title:this.props.title,disabled:this.props.disabled||void 0,readOnly:this.props.readonly||void 0,placeholder:this.props.placeholder,ref:function(e){return n._input=e},onChange:this.onChangeHandler,onPaste:this.pasteHandler,onFocus:this.focusHandler,onBlur:this.blurHandler,onDragStart:c.returnFalse,onDrop:c.returnFalse}));return this.props.label?i.createElement(d.FloatingLabel,{label:this.props.label,editorId:v,editorValue:this.value,editorValid:m,editorDisabled:this.props.disabled,editorPlaceholder:this.props.placeholder,children:b,style:{width:this.props.width},dir:this.props.dir}):b},t.prototype.triggerOnChange=function(e,t){if(this.setState({value:e}),this.props.onChange){this._valueDuringOnChange=e;var n={syntheticEvent:t,nativeEvent:t.nativeEvent,selectionStart:this._selection[0],selectionEnd:this._selection[1],target:this,value:this.value};this.props.onChange.call(void 0,n),this._valueDuringOnChange=void 0}},t.prototype.updateService=function(e){var t=Object.assign({includeLiterals:this.props.includeLiterals,mask:this.props.mask,prompt:this.props.prompt,promptPlaceholder:this.props.promptPlaceholder,rules:this.rules},e);this._service.update(t)},Object.defineProperty(t.prototype,"rules",{get:function(){return Object.assign({},c.defaultRules,this.props.rules)},enumerable:!1,configurable:!0}),t.displayName="MaskedTextBox",t.propTypes={value:l.string,defaultValue:l.string,placeholder:l.string,title:l.string,dir:l.string,id:l.string,style:l.object,className:l.string,ariaLabelledBy:l.string,ariaDescribedBy:l.string,width:l.oneOfType([l.string,l.number]),tabIndex:l.number,accessKey:l.string,disabled:l.bool,readonly:l.bool,prompt:l.string,promptPlaceholder:l.string,includeLiterals:l.bool,maskValidation:l.bool,mask:l.string,rules:function(e,t,n){var r=e.rules;return void 0===r||Object.entries(r).some((function(e){return"string"!=typeof e||!(r[e]instanceof RegExp)}))?null:new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Validation failed.")},selection:l.shape({start:l.number.isRequired,end:l.number.isRequired}),name:l.string,label:l.string,validationMessage:l.string,required:l.bool,valid:l.bool,validityStyles:l.bool,onChange:l.func,size:l.oneOf([null,"small","medium","large"]),rounded:l.oneOf([null,"small","medium","large","full"]),fillMode:l.oneOf([null,"solid","flat","outline"])},t.defaultProps={prompt:"_",promptPlaceholder:" ",includeLiterals:!1,maskValidation:!0,rules:c.defaultRules,required:!1,validityStyles:!0,size:"medium",rounded:"medium",fillMode:"solid"},t}(i.Component);t.MaskedTextBoxWithoutContext=h,t.MaskedTextBoxPropsContext=(0,u.createPropsContext)(),t.MaskedTextBox=(0,u.withPropsContext)(t.MaskedTextBoxPropsContext,h),t.MaskedTextBox.displayName="KendoReactMaskedTextBox"},1855:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},9894:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MaskingService=void 0;var r=n(7797),o=n(9014),a=function(){function e(){this.rules={},this.prompt="_",this.mask="",this.promptPlaceholder=" ",this.includeLiterals=!1,this.maskTokens=[],this.unmaskTokens=[],this.rawTokens=[],this.validationTokens=[]}return e.prototype.update=function(e){var t=e.mask,n=void 0===t?"":t,r=e.prompt,o=void 0===r?"":r,a=e.promptPlaceholder,i=void 0===a?" ":a,l=e.rules,s=void 0===l?{}:l,c=e.includeLiterals,u=void 0!==c&&c;this.mask=n,this.prompt=o,this.promptPlaceholder=i,this.rules=s,this.includeLiterals=u,this.tokenize()},e.prototype.validationValue=function(e){void 0===e&&(e="");var t=e;return(0,r.sequence)(this.validationTokens).run(e).fold((function(e){t=e.join("")})),t},e.prototype.rawValue=function(e){void 0===e&&(e="");var t=e;return this.rawTokens.length?((0,r.sequence)(this.rawTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskRaw=function(e){void 0===e&&(e="");var t=e;return this.maskTokens.length?((0,r.sequence)(this.maskTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskInput=function(e,t,n){return e.length<t.length?this.maskRemoved(e,t,n):this.maskInserted(e,t,n)},e.prototype.maskInRange=function(e,t,n,o){var a="",i=o,l=t.split("").slice(0,n),s=t.split("").slice(o);return(0,r.sequence)(this.maskTokens.slice(n,o)).run(e).fold((function(e){a=l.concat(e).concat(s).join("")})),{selection:i,value:a}},e.prototype.maskRemoved=function(e,t,n){var o=this,a="",i=n,l=e.split("").slice(n),s=e.split("").slice(0,n).join(""),c=this.maskTokens.length-(e.length-n);return(0,r.sequence)(this.maskTokens.slice(0,c)).run(s,t).fold((function(e){i=o.adjustPosition(e,i),a=e.concat(l).join("")})),{selection:i,value:a}},e.prototype.adjustPosition=function(e,t){var n=e[t];return this.maskTokens[t].isLiteral(n)||n===this.prompt?t:t+1},e.prototype.maskInserted=function(e,t,n){var o=this,a="",i=n,l=e.slice(0,n);return(0,r.sequence)(this.unmaskTokens).run(l,t).chain((function(e){i=e.join("").length;var n=t.slice(i);return(0,r.sequence)(o.maskTokens).run(e.join("")+n,t)})).fold((function(e){a=e.join("")})),{selection:i,value:a}},Object.defineProperty(e.prototype,"maskTokenCreator",{get:function(){var e=this.prompt,t=this.promptPlaceholder;return{literal:function(e){return(0,o.literal)(e)},mask:function(n){return(0,o.mask)({prompt:e,promptPlaceholder:t})(n)}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unmaskTokenCreator",{get:function(){var e=this;return{literal:function(e){return(0,o.unliteral)(e)},mask:function(t){return(0,o.unmask)(e.prompt)(t)}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rawTokenCreator",{get:function(){var e=this,t=e.prompt,n=e.promptPlaceholder,r=e.includeLiterals;return{literal:function(e){return(0,o.rawLiteral)(r)},mask:function(e){return(0,o.rawMask)({prompt:t,promptPlaceholder:n})}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"validationTokenCreator",{get:function(){var e=this.prompt;return{literal:function(e){return(0,o.rawLiteral)(!1)},mask:function(t){return(0,o.rawMask)({prompt:e,promptPlaceholder:""})}}},enumerable:!1,configurable:!0}),e.prototype.tokenize=function(){var e=this;(0,r.greedy)((0,o.token)(this.rules,this.maskTokenCreator)).run(this.mask).fold((function(t,n){e.maskTokens=t})),(0,r.greedy)((0,o.token)(this.rules,this.unmaskTokenCreator)).run(this.mask).fold((function(t,n){e.unmaskTokens=t})),(0,r.greedy)((0,o.token)(this.rules,this.rawTokenCreator)).run(this.mask).fold((function(t,n){e.rawTokens=t})),(0,r.greedy)((0,o.token)(this.rules,this.validationTokenCreator)).run(this.mask).fold((function(t,n){e.validationTokens=t}))},e}();t.MaskingService=a},7797:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.greedy=t.sequence=void 0;var r=n(9014),o=n(1934);t.sequence=function(e){return e.reduce((function(e,t){return n=t,e.chain((function(e){return n.map((function(t){return e.concat([t])}))}));var n}),(t=[],new r.Parser((function(e){return new o.Result(t,e)}))));var t},t.greedy=function(e){return new r.Parser((function(t){for(var n=new o.Result([],t);!t.eof();)n=n.concat(e.run(t));return n}))}},9014:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.rawLiteral=t.rawMask=t.token=t.unliteral=t.unmask=t.literal=t.mask=t.Parser=void 0;var r=n(1934),o=n(5923),a=function(e){return(e||"").split("")},i=function(){function e(e){this.parse=e}return e.prototype.run=function(e,t){return void 0===t&&(t=""),e instanceof o.Stream?this.parse(e):this.parse(new o.Stream(a(e),a(t)))},e.prototype.map=function(t){var n=this;return new e((function(e){return n.parse(e).map(t)}))},e.prototype.chain=function(t){var n=this;return new e((function(e){return n.parse(e).chain((function(e,n){return t(e).run(n)}))}))},e.prototype.isLiteral=function(e){return this.run(e).type===r.ResultType.Literal},e}();t.Parser=i,t.mask=function(e){return function(t){return new i((function(n){for(var o=e.prompt,a=e.promptPlaceholder;!n.eof();){var i=n.peek(),l=i.char,s=i.control;if(l===s&&s===o)return n.eat(),new r.Result(o,n,r.ResultType.Mask);if(t.test(l))return n.eat(),new r.Result(l,n,r.ResultType.Mask);if(l===a)return n.eat(),new r.Result(o,n,r.ResultType.Mask);n.eat_input()}return n.eat(),new r.Result(o,n,r.ResultType.Mask)}))}},t.literal=function(e){return new i((function(t){return t.peek().char===e?(t.eat(),new r.Result(e,t,r.ResultType.Literal)):new r.Result(e,t,r.ResultType.Literal)}))},t.unmask=function(e){return function(t){return new i((function(n){for(;!n.eof();){var o=n.peek(),a=o.char,i=o.control;if(a===e&&i===e)return n.eat(),new r.Result(a,n);if(t.test(a))return n.eat(),new r.Result(a,n);n.eat_input()}return n.eat(),new r.Result("",n)}))}},t.unliteral=function(e){return new i((function(t){return t.eof()?new r.Result("",t):(t.peek().char===e&&t.eat(),new r.Result(e,t))}))},t.token=function(e,t){return new i((function(n){var o=n.next().char,a=e[o];return"\\"===o?(o=n.next().char,new r.Result(t.literal(o),n)):a?new r.Result(t.mask(a),n):new r.Result(t.literal(o),n)}))},t.rawMask=function(e){return new i((function(t){var n=e.prompt,o=e.promptPlaceholder,a=t.next().char;return a===n?new r.Result(o,t):new r.Result(a,t)}))},t.rawLiteral=function(e){return new i((function(t){var n=t.next().char;return e?new r.Result(n,t):new r.Result("",t)}))}},1934:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Result=t.ResultType=void 0,function(e){e[e.Literal=0]="Literal",e[e.Mask=1]="Mask",e[e.Undefined=2]="Undefined"}(n=t.ResultType||(t.ResultType={}));var r=function(){function e(e,t,r){void 0===r&&(r=n.Undefined),this.value=e,this.rest=t,this.type=r}return e.prototype.map=function(t){return new e(t(this.value),this.rest)},e.prototype.chain=function(e){return e(this.value,this.rest)},e.prototype.fold=function(e,t){return e(this.value,this.rest)},e.prototype.concat=function(e){return this.map((function(t,n){return e.chain((function(e,n){return t.concat([e])}))}))},e.prototype.toString=function(){return"Result({ value: '".concat(this.value,"', rest: ").concat(this.rest," })")},e}();t.Result=r},5923:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Stream=void 0;var n=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]),this.input=e,this.control=t,this.inputCursor=0,this.controlCursor=0}return e.prototype.eof=function(){return this.inputCursor>=this.input.length},e.prototype.next=function(){return{char:this.input[this.inputCursor++],control:this.control[this.controlCursor++]}},e.prototype.peek=function(){return{char:this.input[this.inputCursor],control:this.control[this.controlCursor]}},e.prototype.eat_input=function(){this.inputCursor++},e.prototype.eat_control=function(){this.controlCursor++},e.prototype.eat=function(){this.inputCursor++,this.controlCursor++},e}();t.Stream=n},1789:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.returnFalse=t.maskingChanged=t.defaultRules=void 0,t.defaultRules={"#":/[\d\s\+\-]/,"&":/[\S]/,0:/[\d]/,9:/[\d\s]/,"?":/[a-zA-Z\s]/,A:/[a-zA-Z0-9]/,C:/./,L:/[a-zA-Z]/,a:/[a-zA-Z0-9\s]/},t.returnFalse=function(){return!1},t.maskingChanged=function(e,t){return e.includeLiterals!==t.includeLiterals||e.mask!==t.mask||e.prompt!==t.prompt||e.promptPlaceholder!==t.promptPlaceholder||!n(e.rules,t.rules)};var n=function(e,t){if(!!e!=!!t)return!1;if(e===t||!e||!t)return!0;var n=!0;for(var r in e)if(e[r]!==t[r]){n=!1;break}if(n)for(var r in t)if(!e.hasOwnProperty(r)){n=!1;break}return n}},3364:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.messages=t.ratingAriaLabel=t.colorPickerDropdownButtonAriaLabel=t.switchValidation=t.radioButtonValidation=t.checkboxOptionalText=t.checkboxValidation=t.flatColorPickerApplyBtn=t.flatColorPickerCancelBtn=t.colorGradientToggleInputsButton=t.colorGradientAlphaSliderLabel=t.colorGradientHueSliderLabel=t.colorGradientFail=t.colorGradientPass=t.colorGradientAAALevel=t.colorGradientAALevel=t.colorGradientContrastRatio=t.colorGradientHex=t.colorGradientA=t.colorGradientB=t.colorGradientG=t.colorGradientR=t.sliderDragTitle=t.sliderDecreaseValue=t.sliderIncreaseValue=t.numericDecreaseValue=t.numericIncreaseValue=void 0,t.numericIncreaseValue="numerictextbox.increment",t.numericDecreaseValue="numerictextbox.decrement",t.sliderIncreaseValue="slider.increment",t.sliderDecreaseValue="slider.decrement",t.sliderDragTitle="slider.dragTitle",t.colorGradientR="colorGradient.r",t.colorGradientG="colorGradient.g",t.colorGradientB="colorGradient.b",t.colorGradientA="colorGradient.a",t.colorGradientHex="colorGradient.hex",t.colorGradientContrastRatio="colorGradient.contrastRatio",t.colorGradientAALevel="colorGradient.colorGradientAALevel",t.colorGradientAAALevel="colorGradient.colorGradientAAALevel",t.colorGradientPass="colorGradient.colorGradientPass",t.colorGradientFail="colorGradient.colorGradientFail",t.colorGradientHueSliderLabel="colorGradient.hueSliderLabel",t.colorGradientAlphaSliderLabel="colorGradient.alphaSliderLabel",t.colorGradientToggleInputsButton="colorGradient.toggleInputsButton",t.flatColorPickerCancelBtn="flatColorPicker.cancelBtn",t.flatColorPickerApplyBtn="flatColorPicker.applyBtn",t.checkboxValidation="checkbox.validation",t.checkboxOptionalText="checkbox.optionalText",t.radioButtonValidation="radioButton.validation",t.switchValidation="switch.validation",t.colorPickerDropdownButtonAriaLabel="colorPicker.dropdownButtonAriaLabel",t.ratingAriaLabel="rating.ariaLabel",t.messages=((n={})[t.numericIncreaseValue]="Increase value",n[t.numericDecreaseValue]="Decrease value",n[t.sliderIncreaseValue]="Increase",n[t.sliderDecreaseValue]="Decrease",n[t.sliderDragTitle]="Drag",n[t.colorGradientR]="r",n[t.colorGradientG]="g",n[t.colorGradientB]="b",n[t.colorGradientA]="a",n[t.colorGradientHex]="hex",n[t.colorGradientContrastRatio]="Contrast ratio",n[t.colorGradientAALevel]="AA",n[t.colorGradientAAALevel]="AAA",n[t.colorGradientPass]="Pass",n[t.colorGradientFail]="Fail",n[t.colorGradientHueSliderLabel]="Hue slider",n[t.colorGradientAlphaSliderLabel]="Alpha slider",n[t.colorGradientToggleInputsButton]="Toggle colorgradient inputs",n[t.flatColorPickerCancelBtn]="Cancel",n[t.flatColorPickerApplyBtn]="Apply",n[t.checkboxValidation]="Please check this box if you want to proceed!",n[t.checkboxOptionalText]="(Optional)",n[t.radioButtonValidation]="Please select option if you want to proceed!",n[t.switchValidation]="Please turn on if you want to proceed!",n[t.colorPickerDropdownButtonAriaLabel]="Select",n[t.ratingAriaLabel]="Rating",n)},9896:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.NumericTextBox=t.NumericTextBoxPropsContext=void 0;var o=n(3899),a=n(189),i=n(499),l=n(3859),s=n(5935),c=n(3859),u=n(7363),d=n(3364),p=n(61),f=n(784);t.NumericTextBoxPropsContext=(0,l.createPropsContext)(),t.NumericTextBox=o.forwardRef((function(e,n){var a;(0,c.validatePackage)(u.packageMetadata);var h=(0,l.usePropsContext)(t.NumericTextBoxPropsContext,e),v=o.useMemo((function(){return(0,l.guid)()}),[]),m=h.id||v,g=(0,i.useInternationalization)(),b=(0,i.useLocalization)(),y=o.useRef(null),k=o.useRef(),C=o.useState(!1),x=C[0],O=C[1],w=o.useRef((0,p.getInitialState)()),E=o.useRef(!1),P=o.useRef(),_=o.useRef(h.defaultValue),S=(0,p.formatValue)(w.current.focused&&!h.disabled?w.current.currentLooseValue:(0,p.getStateOrPropsValue)(h.value,_.current),h.format,g);P.current=S,o.useEffect((function(){y.current&&y.current.setCustomValidity&&y.current.setCustomValidity(D().valid?"":h.validationMessage||"Please enter a valid value!")}));var N=o.useCallback((function(){y.current&&y.current.focus()}),[]),R=o.useCallback((function(){return void 0!==k.current?k.current:(0,p.getStateOrPropsValue)(h.value,_.current)}),[h.value]),I=o.useCallback((function(){return h.name}),[h.name]),M=o.useCallback((function(){return h.required}),[h.required]),D=o.useCallback((function(){var e=void 0!==h.validationMessage,t=R();return{customError:e,valid:void 0!==h.valid?h.valid:!(w.current.valueIsOutOfRange||M()&&null==t),valueMissing:null==t}}),[h.validationMessage,h.valid,R,M]),T=o.useCallback((function(){return h.validityStyles}),[h.validityStyles]),A=o.useCallback((function(){return h}),[h]),L=o.useCallback((function(){var e={element:y.current,focus:N};return Object.defineProperty(e,"name",{get:I}),Object.defineProperty(e,"value",{get:R}),Object.defineProperty(e,"validity",{get:D}),Object.defineProperty(e,"validityStyles",{get:T}),Object.defineProperty(e,"required",{get:M}),Object.defineProperty(e,"props",{get:A}),e}),[I,R,D,T,M,N,A]);o.useImperativeHandle(n,L);var j=o.useCallback((function(){return{eventValue:(0,p.getStateOrPropsValue)(h.value,_.current),prevLooseValue:P.current,currentLooseValue:y.current.value,selectionStart:y.current.selectionStart,selectionEnd:y.current.selectionEnd,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1,isPaste:E.current,focused:w.current.focused}}),[h.value]),B=o.useCallback((function(e,t){if(!h.disabled){k.current=t.eventValue,_.current=t.eventValue;var n=(0,p.formatValue)((0,p.rangeValue)(t.eventValue,h.min,h.max),h.format,g),r=(0,p.rangeValue)(g.parseNumber(n,h.format),h.min,h.max);r!==t.eventValue&&(t.valueIsOutOfRange=!0,t.eventValue=r,_.current=r),h.value!==t.eventValue&&(0,l.dispatchEvent)(h.onChange,e,L(),{value:t.eventValue}),k.current=void 0,w.current=t,O((function(e){return!e}))}}),[h.value,h.onChange,h.disabled,O,L]),V=o.useCallback((function(e){var t=j();E.current=!1,B(e,(0,p.sanitizeNumber)(t,h.format,g))}),[h.format,h.onChange,g,B,j]),F=o.useCallback((function(e){var t=j(),n=g.parseNumber(String(t.currentLooseValue),h.format);if(t.selectionEnd>t.selectionStart&&t.selectionEnd-t.selectionStart===String(t.currentLooseValue).length)E.current=!0;else{switch(e.keyCode){case 38:(0,p.increaseValue)(n,t,h.step,h.min,h.max,h.format,g);break;case 40:(0,p.decreaseValue)(n,t,h.step,h.min,h.max,h.format,g);break;case 13:if(!1===h.rangeOnEnter)return;var r=(0,p.formatValue)((0,p.rangeValue)(n,h.min,h.max),h.format,g),o=(0,p.rangeValue)(g.parseNumber(r,h.format),h.min,h.max);t.eventValue=o,t.currentLooseValue=(0,p.formatValue)(o,h.format,g),t.selectionStart=t.selectionEnd=t.currentLooseValue.length;break;case 110:var a=y.current,i=g.numberSymbols();a&&(t.currentLooseValue=t.currentLooseValue.slice(0,t.selectionStart)+i.decimal+t.currentLooseValue.slice(t.selectionEnd),t.selectionStart=t.selectionEnd=t.selectionStart+1,t=(0,p.sanitizeNumber)(t,h.format,g));break;default:return}e.preventDefault(),B(e,t)}}),[h.format,h.min,h.max,h.step,h.onChange,h.rangeOnEnter,B,j]),z=o.useCallback((function(){E.current=!0}),[]),G=o.useCallback((function(e){if(!h.readOnly&&!h.disabled){var t=j();(0,p.increaseValue)(g.parseNumber(String(t.currentLooseValue),h.format),t,h.step,h.min,h.max,h.format,g),B(e,t)}}),[h.format,h.min,h.max,h.step,h.onChange,h.readOnly,h.disabled,B,j]),K=o.useCallback((function(e){if(!h.readOnly&&!h.disabled){var t=j();(0,p.decreaseValue)(g.parseNumber(String(t.currentLooseValue),h.format),t,h.step,h.min,h.max,h.format,g),B(e,t)}}),[h.format,h.min,h.max,h.step,h.onChange,h.readOnly,h.disabled,B,j]),H=o.useCallback((function(e){document&&document.activeElement===y.current&&y.current&&!h.readOnly&&!h.disabled&&(e.nativeEvent.deltaY<0&&G(e),e.nativeEvent.deltaY>0&&K(e))}),[G,K,h.disabled,h.readOnly]),U=o.useCallback((function(e){w.current.currentLooseValue=P.current,w.current.focused=!0,(0,l.dispatchEvent)(h.onFocus,e,L(),{}),O((function(e){return!e}))}),[h.onFocus,O,L]),W=o.useCallback((function(e){w.current=(0,p.getInitialState)(),(0,l.dispatchEvent)(h.onBlur,e,L(),{}),O((function(e){return!e}))}),[h.onBlur,O,L]),q=o.useCallback((function(e){document&&y.current&&(e.preventDefault(),document.activeElement!==y.current&&y.current.focus())}),[]);o.useLayoutEffect((function(){y.current&&void 0!==w.current.selectionStart&&void 0!==w.current.selectionEnd&&(y.current.selectionStart=w.current.selectionStart,y.current.selectionEnd=w.current.selectionEnd,w.current.selectionStart=void 0,w.current.selectionEnd=void 0)}),[x]);var X=!T()||D().valid,Y=o.createElement("span",{dir:h.dir,style:h.label?h.style:r({width:h.width},h.style),className:(0,l.classNames)("k-input","k-numerictextbox",(a={},a["k-input-".concat(l.kendoThemeMaps.sizeMap[h.size]||h.size)]=h.size,a["k-input-".concat(h.fillMode)]=h.fillMode,a["k-rounded-".concat(l.kendoThemeMaps.roundedMap[h.rounded]||h.rounded)]=h.rounded,a["k-invalid"]=!X,a["k-required"]=h.required,a["k-disabled"]=h.disabled,a),h.className),"aria-disabled":h.disabled?"true":void 0},o.createElement("input",{value:null===S?"":S,tabIndex:(0,l.getTabIndex)(h.tabIndex,h.disabled),accessKey:h.accessKey,disabled:h.disabled,title:h.title,"aria-valuemin":h.min,"aria-valuemax":h.max,"aria-label":h.ariaLabel,"aria-labelledby":h.ariaLabelledBy,"aria-describedby":h.ariaDescribedBy,placeholder:h.placeholder,spellCheck:!1,autoComplete:"off",autoCorrect:"off",type:h.inputType||"tel",className:"k-input-inner",id:m,name:h.name,readOnly:h.readOnly,style:h.inputStyle,onChange:V,onFocus:U,onBlur:W,onKeyDown:F,onPaste:z,onWheel:H,ref:y}),h.children,h.spinners&&o.createElement("span",{className:"k-input-spinner k-spin-button",onMouseDown:q},o.createElement(f.Button,{tabIndex:-1,type:"button",icon:"arrow-n",rounded:null,className:"k-spinner-increase","aria-label":b.toLanguageString(d.numericIncreaseValue,d.messages[d.numericIncreaseValue]),title:b.toLanguageString(d.numericIncreaseValue,d.messages[d.numericIncreaseValue]),onClick:G}),o.createElement(f.Button,{tabIndex:-1,type:"button",icon:"arrow-s",rounded:null,className:"k-spinner-decrease","aria-label":b.toLanguageString(d.numericDecreaseValue,d.messages[d.numericDecreaseValue]),title:b.toLanguageString(d.numericDecreaseValue,d.messages[d.numericDecreaseValue]),onClick:K})));return h.label?o.createElement(s.FloatingLabel,{label:h.label,editorId:m,editorValue:null===S?"":S,editorValid:X,editorDisabled:h.disabled,editorPlaceholder:h.placeholder,children:Y,style:{width:h.width},dir:h.dir}):Y})),t.NumericTextBox.propTypes={value:a.number,defaultValue:a.number,step:a.number,format:a.oneOfType([a.string,a.shape({style:a.oneOf(["decimal","currency","percent","scientific","accounting"]),currency:a.string,currencyDisplay:a.oneOf(["symbol","code","name"]),useGrouping:a.bool,minimumIntegerDigits:a.number,minimumFractionDigits:a.number,maximumFractionDigits:a.number})]),width:a.oneOfType([a.string,a.number]),tabIndex:a.number,accessKey:a.string,title:a.string,placeholder:a.string,min:a.number,max:a.number,spinners:a.bool,disabled:a.bool,readOnly:a.bool,dir:a.string,name:a.string,label:a.string,validationMessage:a.string,required:a.bool,id:a.string,rangeOnEnter:a.bool,ariaLabelledBy:a.string,ariaDescribedBy:a.string,ariaLabel:a.string,onChange:a.func,onFocus:a.func,onBlur:a.func,size:a.oneOf([null,"small","medium","large"]),rounded:a.oneOf([null,"small","medium","large","full"]),fillMode:a.oneOf([null,"solid","flat","outline"])},t.NumericTextBox.displayName="KendoNumericTextBox",t.NumericTextBox.defaultProps={step:1,spinners:!0,disabled:!1,required:!1,validityStyles:!0,rangeOnEnter:!0,onChange:function(e){},onFocus:function(e){},onBlur:function(e){},size:"medium",rounded:"medium",fillMode:"solid"}},1715:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},9429:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},5306:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},9206:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},4206:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},61:function(e,t){var n=this&&this.__assign||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)};Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeNumber=t.changeBasedSelection=t.getDecimalCount=t.getFirstNumberIndex=t.getSuffix=t.getPrefix=t.getLastNumberIndex=t.reverseString=t.getInitialPosition=t.getFormatSymbols=t.getFormatPrefixSufix=t.isDecimalDuplicated=t.isMinusSymbolRemoved=t.isMinusSymbolAdded=t.setInvalid=t.setSelection=t.rangeSelection=t.getMinCursorPosition=t.getMaxCursorPosition=t.rangeValue=t.decreaseValue=t.increaseValue=t.toFixedPrecision=t.limitPrecision=t.fractionLength=t.formatValue=t.getStateOrPropsValue=t.getInitialState=void 0;var r=1111111.1111111,o=/\d/;t.getInitialState=function(){return{eventValue:null,prevLooseValue:"",currentLooseValue:"",focused:!1,selectionStart:void 0,selectionEnd:void 0,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1}},t.getStateOrPropsValue=function(e,t){return void 0!==e?e:t},t.formatValue=function(e,t,n){return null===e&&void 0===e?"":"string"==typeof e?e:n.formatNumber(e,t)},t.fractionLength=function(e){return(String(e).split(".")[1]||"").length};var a=function(e,n){return Math.max((0,t.fractionLength)(e),(0,t.fractionLength)(n))};t.limitPrecision=function(e){return Math.min(e,15)},t.toFixedPrecision=function(e,n){var r=(0,t.limitPrecision)(n);return parseFloat(e.toFixed(r))},t.increaseValue=function(e,n,r,i,l,s,c){var u=a(e||0,r||0),d=(0,t.rangeValue)((0,t.toFixedPrecision)((e||0)+(r||0),u),i,l);n.eventValue=d,n.currentLooseValue=(0,t.formatValue)(d,s,c),n.selectionStart=n.selectionEnd=(0,t.getLastNumberIndex)(n.currentLooseValue,o)},t.decreaseValue=function(e,n,r,i,l,s,c){var u=a(e||0,r||0),d=(0,t.rangeValue)((0,t.toFixedPrecision)((e||0)-(r||0),u),i,l);n.eventValue=d,n.currentLooseValue=(0,t.formatValue)(d,s,c),n.selectionStart=n.selectionEnd=(0,t.getLastNumberIndex)(n.currentLooseValue,o)},t.rangeValue=function(e,t,n){return null==e?e:e>1||e<1||1===e?void 0!==n&&void 0!==t&&n<t?null:(void 0!==n&&e>n&&(e=n),void 0!==t&&e<t&&(e=t),e):null},t.getMaxCursorPosition=function(e,t){var n=t.findIndex((function(t){t[0];var n=t[1];return Boolean(n)&&e.indexOf(n)===e.length-n.length}));if(-1===n)return-1;var r=t[n][1];return e.length-r.length},t.getMinCursorPosition=function(e,t){var n=t.findIndex((function(t){var n=t[0];return t[1],Boolean(n)&&0===e.indexOf(n)}));return-1===n?-1:t[n][0].length},t.rangeSelection=function(e,n,r){var o=(0,t.getMaxCursorPosition)(e,n);if(-1!==o&&r.selectionStart>o)r.selectionStart=r.selectionEnd=o;else{r.selectionStart>e.length&&(r.selectionStart=r.selectionEnd=e.length);var a=(0,t.getMinCursorPosition)(e,n);-1!==a&&r.selectionStart<a&&(r.selectionStart=r.selectionEnd=a),-1===r.selectionStart&&(r.selectionStart=r.selectionEnd=0)}},t.setSelection=function(e,n,r,o){e.selectionStart=e.selectionEnd=n,(0,t.rangeSelection)(r,o,e)},t.setInvalid=function(e,n,r,o){e.eventValue=o.parseNumber(e.prevLooseValue,n),e.currentLooseValue=e.prevLooseValue,e.valueIsCorrected=!0,(0,t.setSelection)(e,e.selectionStart,e.currentLooseValue,r)},t.isMinusSymbolAdded=function(e,t){var n=String(e.currentLooseValue),r=String(e.prevLooseValue);return n.split(t.minusSign).length!==r.split(t.minusSign).length&&n.length===r.length+t.minusSign.length},t.isMinusSymbolRemoved=function(e,t){var n=String(e.currentLooseValue),r=String(e.prevLooseValue);return-1===n.indexOf(t.minusSign)&&-1!==r.indexOf(t.minusSign)},t.isDecimalDuplicated=function(e,t){return String(e.currentLooseValue).split(t.decimal).length>2},t.getFormatPrefixSufix=function(e,n){var o=n.formatNumber(r,e),a=n.formatNumber(-r,e),i=n.formatNumber(0,e),l=n.formatNumber(1,e),s=(0,t.getPrefix)(o),c=(0,t.getPrefix)(a),u=(0,t.getPrefix)(i),d=(0,t.getPrefix)(l);return{positiveInfo:[s,(0,t.getSuffix)(o)],negativeInfo:[c,(0,t.getSuffix)(a)],zeroInfo:[u,(0,t.getSuffix)(i)],oneInfo:[d,(0,t.getSuffix)(l)]}},t.getFormatSymbols=function(e,t){var n=t.formatNumber(r,e),o=t.formatNumber(-r,e),a=t.formatNumber(0,e),i=t.formatNumber(1,e),l=t.numberSymbols(),s=new RegExp("[\\d\\".concat(l.decimal).concat(l.group,"]"),"g");return[n,o,a,i].map((function(e){return e.replace(s,"")})).join("").split("").filter((function(e,t,n){return n.indexOf(e)===t})).join("")},t.getInitialPosition=function(e,n){var r=e.indexOf(n.decimal);return r>-1?r:(0,t.getLastNumberIndex)(e,o)},t.reverseString=function(e){return e.split("").reverse().join("")},t.getLastNumberIndex=function(e,n){return e.length-(0,t.reverseString)(e).search(n)},t.getPrefix=function(e){return e.split(e[e.search(o)])[0]},t.getSuffix=function(e){var n=(0,t.reverseString)(e);return(0,t.reverseString)(n.split(n[n.search(o)])[0])},t.getFirstNumberIndex=function(e,t){return e.search(t)},t.getDecimalCount=function(e,t){var n=e.indexOf(t);return n>-1?e.length-n-1:0},t.changeBasedSelection=function(e,t,n,r,a){var i="0"===e.replace(a,"")[0],l="0"===t.replace(a,"")[0];if(i&&!l)return n-1;if(l&&r)return n+1;for(var s=0,c=0;c<n;c++)o.test(e.charAt(c))&&s++;for(var u=0;s>0&&t.length>u;)o.test(t.charAt(u))&&s--,u++;return u},t.sanitizeNumber=function(e,r,a){var i=n({},e),l=i.prevLooseValue,s=a.numberSymbols(),c=(0,t.getFormatSymbols)(r,a),u=String(i.currentLooseValue),d=String(l),p=new RegExp("[^\\d\\".concat(s.decimal,"]"),"g"),f=new RegExp("[^\\d\\".concat(s.decimal,"\\").concat(s.group,"]"),"g"),h=new RegExp("[\\d\\".concat(s.decimal,"\\").concat(s.group,"]")),v=u.replace(p,""),m=(0,t.getFirstNumberIndex)(u,o),g=-1===m?-1:(0,t.getLastNumberIndex)(u,o),b=u.indexOf(s.decimal),y=(u.substring(0,m)+u.substring(m,g).replace(f,"")+u.substring(g,u.length)).split("").filter((function(e){return-1!==c.indexOf(e)||-1!==e.search(h)})).join(""),k=a.formatNumber(.31111111111111117,r).replace(p,""),C=k.indexOf(s.decimal),x=C>-1?k.length-C-1:0,O=a.formatNumber(1,r).replace(p,""),w=O.indexOf(s.decimal),E=w>-1?O.length-w-1:0,P=(0,t.getFormatPrefixSufix)(r,a),_=[P.positiveInfo,P.negativeInfo,P.zeroInfo,P.oneInfo],S=1!==_.findIndex((function(e){return-1!==e.findIndex((function(e){return Boolean(e)}))})),N=u.length>0&&u.length<d.length,R="string"==typeof r&&"p"===r[0]&&u&&-1===u.indexOf(s.percentSign);if(!i.isPaste){if(""===u)return i.eventValue=null,i.currentLooseValue="",i;if(i.currentLooseValue===s.minusSign&&a.formatNumber(-0,r)!==d)return i.eventValue=-0,i.currentLooseValue=(0,t.formatValue)(i.eventValue,r,a),(0,t.setSelection)(i,(0,t.getInitialPosition)(i.currentLooseValue,s),i.currentLooseValue,_),i;if((0,t.isMinusSymbolAdded)(i,s)){var I=a.parseNumber(l,r);i.eventValue=-(null!==I?I:0),i.currentLooseValue=(0,t.formatValue)(i.eventValue,r,a);var M=(0,t.getFirstNumberIndex)(i.currentLooseValue,o),D=(0,t.getFirstNumberIndex)(d,o);return(0,t.setSelection)(i,i.selectionEnd-1+(M-D),i.currentLooseValue,_),i}if((0,t.isMinusSymbolRemoved)(i,s))return i.eventValue=a.parseNumber(i.currentLooseValue,r),(0,t.setSelection)(i,i.selectionStart,i.currentLooseValue,_),i;if(i.currentLooseValue===s.decimal){i.eventValue=0;var T=(0,t.formatValue)(i.eventValue,r,a);if(0===E&&x>0){var A=(0,t.getLastNumberIndex)(T,o);i.currentLooseValue=T.substring(0,A)+s.decimal+T.substring(A)}else i.currentLooseValue=T;return(0,t.setSelection)(i,(0,t.getInitialPosition)(i.currentLooseValue,s)+1,i.currentLooseValue,_),i}if((0,t.isDecimalDuplicated)(i,s))return(0,t.setInvalid)(i,r,_,a),i;if(R)return i.eventValue=a.parseNumber(u,r)/100,i.currentLooseValue=(0,t.formatValue)(i.eventValue,r,a),i;if(String(i.currentLooseValue).replace(/[^\d]/g,"").length>15)return(0,t.setInvalid)(i,r,_,a),i;if(v!==u&&u&&S){var L=_.findIndex((function(e){var t=e[0],n=e[1],r=u.indexOf(t),o=u.indexOf(n),a=0===r,i=o===u.length-n.length,l=r+t.length!==m&&-1!==m&&u[r+t.length]!==s.decimal,c=o!==g&&-1!==g&&u[o-1]!==s.decimal;return t&&n?!l&&!c&&a&&i:t?!l&&a:!!n&&!c&&i}));if(-1===L)return(0,t.setInvalid)(i,r,_,a),i}if(v[v.length-1]===s.decimal&&x>0)return i.eventValue=a.parseNumber(u,r),i.currentLooseValue=y,i;if(i.currentLooseValue&&l&&(c+s.decimal+s.group).split("").findIndex((function(e){return u.split("").filter((function(t){return t===e})).length<d.split("").filter((function(t){return t===e})).length&&u.length+1===d.length&&(e!==s.decimal||0!==(0,t.getDecimalCount)(d.replace(p,""),s.decimal))}))>-1)return i.eventValue=a.parseNumber(e.prevLooseValue,r),i.currentLooseValue=e.prevLooseValue,i;var j=(0,t.getDecimalCount)(v,s.decimal),B="0"===v[v.length-1];if(N&&B&&j<E)return i.eventValue=a.parseNumber(i.currentLooseValue,r),i.currentLooseValue=(0,t.formatValue)(i.eventValue,r,a),i;if(j>0){var V=u.substring(0,b);if(B&&(!V||0!==d.indexOf(V))){i.eventValue=a.parseNumber(i.currentLooseValue,r);var F=(0,t.formatValue)(i.eventValue,r,a);return(0,t.setSelection)(i,(0,t.changeBasedSelection)(u,F,i.selectionEnd,N,p),F,_),i.currentLooseValue=F,i}if(j>x){var z=u.indexOf(s.decimal),G=u.substring(0,z)+u.substring(z,z+1+x)+u.substring(g,String(i.currentLooseValue).length);return i.eventValue=a.parseNumber(G,r),i.currentLooseValue=G,(0,t.setSelection)(i,i.selectionStart,G,_),i}if(E!==x&&j<=x&&B)return i.eventValue=a.parseNumber(i.currentLooseValue,r),i.currentLooseValue=y,i;if(j<E)return i.eventValue=a.parseNumber(i.currentLooseValue,r),i.currentLooseValue=(0,t.formatValue)(i.eventValue,r,a),i}}return i.eventValue=a.parseNumber(i.currentLooseValue,r),R&&(i.eventValue=i.eventValue/100),"number"==typeof i.eventValue?(F=(0,t.formatValue)(i.eventValue,r,a),1===u.length?(0,t.setSelection)(i,(0,t.getInitialPosition)(F,s),F,_):(0,t.setSelection)(i,(0,t.changeBasedSelection)(u,F,i.selectionEnd,N,p),F,_),i.currentLooseValue=F):i.currentLooseValue=(0,t.formatValue)(a.parseNumber(v),r,a),i}},7363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-inputs",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1660031562,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"}},9192:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=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.RadioButton=t.RadioButtonPropsContext=void 0;var a=n(3899),i=n(189),l=n(3859),s=n(3859),c=n(7363);t.RadioButtonPropsContext=(0,l.createPropsContext)(),t.RadioButton=a.forwardRef((function(e,n){var i;(0,s.validatePackage)(c.packageMetadata);var u=(0,l.usePropsContext)(t.RadioButtonPropsContext,e),d=u.ariaDescribedBy,p=u.checked,f=u.children,h=u.className,v=u.disabled,m=u.id,g=u.size,b=u.label,y=u.labelPlacement,k=u.name,C=u.style,x=u.tabIndex,O=u.value,w=u.valid,E=u.onChange,P=u.onFocus,_=u.onBlur,S=o(u,["ariaDescribedBy","checked","children","className","disabled","id","size","label","labelPlacement","name","style","tabIndex","value","valid","onChange","onFocus","onBlur"]),N=a.useRef(null),R=a.useCallback((function(){N.current&&N.current.focus()}),[]),I=a.useCallback((function(){return{element:N.current,focus:R}}),[R]);a.useImperativeHandle(n,I);var M=a.useMemo((function(){return(0,l.guid)()}),[]),D=a.useCallback((function(e){(0,l.dispatchEvent)(E,e,I(),{value:O})}),[E,O,v]),T=a.useCallback((function(e){P&&!v&&(0,l.dispatchEvent)(P,e,I(),void 0)}),[P,v]),A=a.useCallback((function(e){_&&!v&&(0,l.dispatchEvent)(_,e,I(),void 0)}),[_,v]),L=r({type:"radio",id:m||M,name:k,className:(0,l.classNames)("k-radio",(i={},i["k-radio-".concat(l.kendoThemeMaps.sizeMap[g]||g)]=g,i["k-invalid"]=!1===w,i),h),ref:N,disabled:v,tabIndex:(0,l.getTabIndex)(x,v),checked:p,style:C,"aria-describedby":d,value:O,onChange:D,onFocus:T,onBlur:A},S),j=a.createElement(a.Fragment,null,void 0!==b?a.createElement("label",{className:"k-radio-label",htmlFor:m||M,style:{userSelect:"none"},"aria-label":b},b):null),B=a.createElement("input",r({},L));return"before"===y?a.createElement(a.Fragment,null,j,B,f):a.createElement(a.Fragment,null,B,j,f)})),t.RadioButton.propTypes={ariaDescribedBy:i.string,checked:i.bool,className:i.string,disabled:i.bool,id:i.string,size:i.oneOf([null,"small","medium","large"]),label:i.string,labelPlacement:i.string,name:i.string,style:i.object,tabIndex:i.number,value:i.any,valid:i.bool,onChange:i.func,onFocus:i.func,onBlur:i.func},t.RadioButton.displayName="KendoRadioButton",t.RadioButton.defaultProps={size:"medium"}},5809:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.RadioGroup=t.RadioGroupPropsContext=void 0;var o=n(3899),a=n(189),i=n(9192),l=n(3859),s=n(3859),c=n(7363);t.RadioGroupPropsContext=(0,l.createPropsContext)(),t.RadioGroup=o.forwardRef((function(e,n){(0,s.validatePackage)(c.packageMetadata);var a=(0,l.usePropsContext)(t.RadioGroupPropsContext,e),d=a.ariaLabelledBy,p=a.ariaDescribedBy,f=a.className,h=a.data,v=a.defaultValue,m=a.disabled,g=a.name,b=a.labelPlacement,y=a.layout,k=a.style,C=a.value,x=a.valid,O=a.item,w=void 0===O?u.item:O,E=a.onChange,P=a.onFocus,_=o.useRef(null),S=o.useCallback((function(){_.current&&(0,l.focusFirstFocusableChild)(_.current)}),[]),N=o.useCallback((function(){return{element:_.current,focus:S}}),[S]);o.useImperativeHandle(n,N);var R=o.useState(v),I=R[0],M=R[1],D=void 0!==C,T=D?C:I,A=o.useCallback((function(e){var t=e.value;D||m||M(t),E&&!m&&(0,l.dispatchEvent)(E,e.syntheticEvent,N(),{value:t})}),[M,E,m]),L=o.useCallback((function(e){P&&!m&&(0,l.dispatchEvent)(P,e.syntheticEvent,N(),void 0)}),[P,m]),j=o.useMemo((function(){return(0,l.guid)()}),[]),B=(0,l.classNames)("k-radio-list",{"k-list-horizontal":"horizontal"===y,"k-list-vertical":"vertical"===y||void 0===y},f),V=(0,l.useRtl)(_,a.dir),F=h&&h.map((function(e,t){var n=T===e.value,a=null==T,s=r(r({},e),{valid:x,checked:n,disabled:!(!e.disabled&&!m),labelPlacement:e.labelPlacement?e.labelPlacement:b,tabIndex:e.tabIndex?e.tabIndex:a&&0===t||n?0:-1,index:t,name:g||j,onChange:A,onFocus:L});return o.createElement(w,{className:(0,l.classNames)("k-radio-item",{"k-disabled":s.disabled||m}),key:t,role:"radio"},o.createElement(i.RadioButton,r({},s)))}));return o.createElement("ul",{role:"radiogroup",className:B,ref:_,dir:V,style:k,"aria-labelledby":d,"aria-describedby":p},F)}));var u={item:function(e){return o.createElement("li",r({},e))}};t.RadioGroup.propTypes={ariaLabelledBy:a.string,ariaDescribedBy:a.string,className:a.string,data:a.arrayOf(a.object),defaultValue:a.any,dir:a.string,disabled:a.bool,labelPlacement:a.string,layout:a.string,name:a.string,style:a.object,value:a.any,onChange:a.func,onFocus:a.func},t.RadioGroup.defaultProps=u,t.RadioGroup.displayName="KendoRadioGroup"},1442:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},4594:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},7197:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},1018:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},7756:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},6254:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},716:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.RangeSlider=t.RangeSliderPropsContext=void 0;var o=n(3899),a=n(189),i=n(3859),l=n(3364),s=n(499),c=n(956),u=n(3859),d=n(7363);t.RangeSliderPropsContext=(0,i.createPropsContext)(),t.RangeSlider=o.forwardRef((function(e,n){var a,p;(0,u.validatePackage)(d.packageMetadata);var h=(0,i.usePropsContext)(t.RangeSliderPropsContext,e),v=o.useRef(null),m=o.useRef(null),g=o.useRef(null),b=o.useRef(null),y=o.useRef(null),k=o.useCallback((function(){b.current&&b.current.focus()}),[b]);o.useImperativeHandle(v,(function(){return{element:m.current,focus:k,props:h}})),o.useImperativeHandle(n,(function(){return v.current}));var C=o.useMemo((function(){return h.min}),[h.min]),x=o.useMemo((function(){return h.max}),[h.max]),O=o.useMemo((function(){return void 0!==h.step?h.step:f.step}),[h.step,f.step]),w=(0,i.useDir)(m,h.dir),E=o.useState(""),P=E[0],_=E[1],S=function(e,t,n){var a=o.useState(e),i=a[0],l=a[1],s=o.useCallback((function(e){var o=(0,c.rangeReducer)(t.state||i,r(r({},e),t));n&&n(o,e.event),l(o)}),[t,n]);return[i,s]}(h.defaultValue||f.defaultValue,{min:C,max:x,step:O,state:h.value},(function(e,t){h.onChange&&v.current&&h.onChange.call(void 0,{value:e,target:v.current,syntheticEvent:t})})),N=S[0],R=S[1],I=o.useMemo((function(){return h.value||N}),[h.value,N]),M=o.useRef(null),D=o.useRef(null),T=o.useMemo((function(){return(I.start-C)/(x-C)*100}),[I.start,C,x]),A=o.useMemo((function(){return(I.end-C)/(x-C)*100}),[I.end,C,x]),L=o.useMemo((function(){return h.vertical?{paddingTop:0,height:"100%"}:{}}),[h.vertical]),j=o.useMemo((function(){return h.vertical?{marginTop:"0.5rem",marginBottom:"0.5rem"}:{marginLeft:"0.5rem",marginRight:"0.5rem"}}),[h.vertical]),B=(0,s.useLocalization)(),V=o.useCallback((function(e){if(D.current){var t=D.current.getBoundingClientRect(),n=h.vertical?t.bottom-e.clientY:"rtl"===w?t.right-e.clientX:e.clientX-t.left,r=h.vertical?t.height:t.width;return C+n/r*(x-C)}}),[D,h.vertical,w,C,x,N.start,N.end,h.value&&h.value.start,h.value&&h.value.end]),F=o.useCallback((function(e){return e<=I.start?"start":e>=I.end?"end":2*e<I.end+I.start?"start":"end"}),[N.start,N.end,h.value&&h.value.start,h.value&&h.value.end]),z=o.useCallback((function(e){switch(e.keyCode){case i.Keys.right:e.preventDefault(),R({type:"rtl"===w?c.RANGE_ACTION.decrease:c.RANGE_ACTION.increase,key:"start",event:e});break;case i.Keys.up:e.preventDefault(),R({type:c.RANGE_ACTION.increase,key:"start",event:e});break;case i.Keys.left:e.preventDefault(),R({type:"rtl"===w?c.RANGE_ACTION.increase:c.RANGE_ACTION.decrease,key:"start",event:e});break;case i.Keys.down:e.preventDefault(),R({type:c.RANGE_ACTION.decrease,key:"start",event:e});break;case i.Keys.home:e.preventDefault(),R({type:c.RANGE_ACTION.min,key:"start",event:e});break;case i.Keys.end:e.preventDefault(),R({type:c.RANGE_ACTION.max,key:"start",event:e})}}),[R]),G=o.useCallback((function(e){switch(e.keyCode){case i.Keys.right:e.preventDefault(),R({type:"rtl"===w?c.RANGE_ACTION.decrease:c.RANGE_ACTION.increase,key:"end",event:e});break;case i.Keys.up:e.preventDefault(),R({type:c.RANGE_ACTION.increase,key:"end",event:e});break;case i.Keys.left:e.preventDefault(),R({type:"rtl"===w?c.RANGE_ACTION.increase:c.RANGE_ACTION.decrease,key:"end",event:e});break;case i.Keys.down:e.preventDefault(),R({type:c.RANGE_ACTION.decrease,key:"end",event:e});break;case i.Keys.home:e.preventDefault(),R({type:c.RANGE_ACTION.min,key:"end",event:e});break;case i.Keys.end:e.preventDefault(),R({type:c.RANGE_ACTION.max,key:"end",event:e})}}),[R,w]),K=o.useCallback((function(e){var t=V(e),n=F(t);_(n),"end"===n?y.current.focus():b.current.focus();var r="end"===n?c.RANGE_ACTION.end:c.RANGE_ACTION.start;R({type:r,payload:t,event:e})}),[h.vertical,C,x,R]);return(0,i.useDraggable)(D,{onPress:K,onDrag:function(e){var t=V(e),n="end"===P?c.RANGE_ACTION.end:c.RANGE_ACTION.start;R({type:n,payload:t,event:e})},onRelease:function(e){var t=V(e),n="end"===P?c.RANGE_ACTION.end:c.RANGE_ACTION.start;R({type:n,payload:t,event:e}),_("")}}),o.createElement("div",{id:h.id,style:h.style,ref:m,dir:w,className:(0,i.classNames)("k-widget k-slider",{"k-rtl":"rtl"===w,"k-disabled":h.disabled,"k-slider-vertical":h.vertical,"k-slider-horizontal":!h.vertical},h.className)},o.createElement("div",{ref:D,className:"k-slider-track-wrap",style:r({flexGrow:1,position:"relative",touchAction:"none"},j)},h.children&&o.createElement("ul",{className:"k-reset k-slider-items",style:r({},L)},o.Children.map(h.children,(function(e){return e&&o.cloneElement(e,{position:100*(e.props.position-h.min)/(h.max-h.min),vertical:h.vertical},e.props.children)}))),o.createElement("div",{ref:M,className:"k-slider-track",style:h.vertical?{bottom:0,height:"100%"}:(a={},a["rtl"===w?"right":"left"]=0,a.width="100%",a)},null!==T&&null!==A&&o.createElement("div",{"data-selection":!0,ref:g,title:"".concat(I.start," - ").concat(I.end),className:"k-slider-selection",style:h.vertical?{height:A-T+"%",bottom:T+"%"}:(p={},p["rtl"===w?"right":"left"]=T+"%",p.width=A-T+"%",p)}),o.createElement("span",{ref:b,role:"slider",tabIndex:(0,i.getTabIndex)(h.startTabIndex,h.disabled,void 0),"aria-valuemin":C,"aria-valuemax":Math.max(x,I.end),"aria-valuenow":I.start,"aria-disabled":h.disabled?"true":void 0,"aria-valuetext":"".concat(I.start," - ").concat(I.end),className:"k-draghandle",title:B.toLanguageString(l.sliderDragTitle,l.messages[l.sliderDragTitle]),style:h.vertical?{bottom:"calc("+T+"%)",zIndex:1}:"rtl"===w?{right:"calc("+T+"% - 13px)",zIndex:1}:{left:"calc("+T+"%)",zIndex:1},onKeyDown:z}),o.createElement("span",{ref:y,role:"slider",tabIndex:(0,i.getTabIndex)(h.endTabIndex,h.disabled,void 0),"aria-valuemin":Math.min(C,I.start),"aria-valuemax":x,"aria-valuenow":I.end,"aria-disabled":h.disabled?"true":void 0,"aria-valuetext":"".concat(I.start," - ").concat(I.end),className:"k-draghandle",title:B.toLanguageString(l.sliderDragTitle,l.messages[l.sliderDragTitle]),style:h.vertical?{bottom:"calc("+A+"%)",zIndex:1}:"rtl"===w?{right:"calc("+A+"% - 13px)",zIndex:1}:{left:"calc("+A+"%)",zIndex:1},onKeyDown:G}))))}));var p={value:function(e,t,n){if(e.value){var r=e.value.start,o=e.value.end,a=e.min,i=e.max;if(r>o||r>i||r<a||o>i||o<a||o<r)return new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n The { start, end } value must be between the min & max value and { start, end } must be start < end.\n "))}return null},defaultValue:function(e,t,n){if(e.defaultValue){var r=e.defaultValue.start,o=e.defaultValue.end,a=e.min,i=e.max;if(r>o||r>i||r<a||o>i||o<a||o<r)return new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n The { start, end } value must be between the min & max value and { start, end } must be start < end.\n "))}return null},onChange:a.func,step:a.number,min:function(e,t,n){var r=e[t],o=e.min,a=e.max;return void 0===o?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be undefined.\n ")):r&&o>=a?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be equal to or bigger than the max value.\n ")):null},max:function(e,t,n){var r=e[t],o=e.min,a=e.max;return void 0===a?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be undefined.\n ")):r&&a<=o?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n ").concat(t," value can not be equal to or smaller than the min value.\n ")):null},vertical:a.bool,disabled:a.bool,dir:a.oneOf(["ltr","rtl"])},f={step:1,defaultValue:{start:0,end:0},vertical:!1,disabled:!1};t.RangeSlider.displayName="KendoReactRangeSlider",t.RangeSlider.propTypes=p,t.RangeSlider.defaultProps=f},956:function(e,t){var n,r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.rangeReducer=t.RANGE_ACTION=void 0,function(e){e.start="start",e.end="end",e.min="min",e.max="max",e.increase="increase",e.decrease="decrease"}(n=t.RANGE_ACTION||(t.RANGE_ACTION={})),t.rangeReducer=function(e,t){var o,a;switch(t.type){case n.start:if(void 0===t.payload)return e;o={start:t.payload>e.end?e.end:Math.max(t.payload,t.min),end:e.end};break;case n.end:if(void 0===t.payload)return e;o={start:e.start,end:t.payload<e.start?e.start:Math.min(t.payload,t.max)};break;case n.min:o="start"===t.key?r(r({},e),{start:t.min}):r(r({},e),{end:Math.max(t.min,e.start)});break;case n.max:o="start"===t.key?r(r({},e),{start:Math.min(t.max,e.end)}):r(r({},e),{end:t.max});break;case n.increase:if(void 0===t.step||void 0===t.key)return e;a=e[t.key]+t.step,o="start"===t.key?a<t.min?r(r({},e),{start:t.min}):r(r({},e),{start:Math.min(a,e.end)}):a>t.max?r(r({},e),{end:t.max}):r(r({},e),{end:Math.max(a,e.start)});break;case n.decrease:if(void 0===t.step||void 0===t.key)return e;a=e[t.key]-t.step,o="start"===t.key?a<t.min?r(r({},e),{start:t.min}):r(r({},e),{start:Math.min(a,e.end)}):a>t.max?r(r({},e),{end:t.max}):r(r({},e),{end:Math.max(a,e.start)});break;default:o=e}return o}},5287:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Rating=t.RatingPropsContext=void 0;var o=n(3899),a=n(189),i=n(3859),l=n(9458),s=n(944),c=n(9002),u=n(3364),d=n(499),p=function(e,t,n){var a=o.useState(e),i=a[0],l=a[1];return[i,function(e){var o=(0,s.ratingReducer)(t.state||i,r(r({},e),t));n&&n(o,e.event),l(o)}]};t.RatingPropsContext=(0,i.createPropsContext)(),t.Rating=o.forwardRef((function(e,n){var r,a,l,f,v=(0,i.usePropsContext)(t.RatingPropsContext,e),m=(0,d.useLocalization)(),g=o.useRef(null),b=o.useRef(null),y=(0,i.useDir)(b,v.dir);o.useImperativeHandle(g,(function(){return{element:b.current,props:v}})),o.useImperativeHandle(n,(function(){return g.current}));for(var k=o.useCallback((function(e,t){v.onChange&&g.current&&v.onChange.call(void 0,{value:e,target:g.current,syntheticEvent:t})}),[v.onChange]),C=o.useMemo((function(){return void 0!==v.min?v.min:h.min}),[v.min]),x=o.useMemo((function(){return void 0!==v.max?v.max:h.max}),[v.max]),O=o.useMemo((function(){return v.precision||h.precision}),[v.precision]),w=o.useMemo((function(){return void 0!==v.step?v.step:h.step}),[v.step]),E=o.useMemo((function(){return v.readonly||h.readonly}),[v.readonly]),P=o.useMemo((function(){return v.disabled||h.disabled}),[v.disabled]),_=o.useMemo((function(){return v.item||h.item}),[v.item]),S=p(v.defaultValue||h.defaultValue,{state:v.value,min:C,max:x,step:"half"===O?w/2:w},k),N=S[0],R=S[1],I=p(null,{state:v.value,min:C,max:x,step:"half"===O?w/2:w,precision:O}),M=I[0],D=I[1],T=o.useMemo((function(){return v.value||N}),[v.value,N]),A=o.useMemo((function(){return M}),[M]),L=o.useMemo((function(){return v.selection||h.selection}),[v.selection]),j=o.useMemo((function(){return w/("half"===O?2:1)}),[w,O]),B=o.useCallback((function(e){if(e.target&&e.target.element&&!E&&!P){if("half"===O){var t=e.target.element.getBoundingClientRect(),n=(0,c.calcIsFirstHalf)(y||"ltr",t,e.syntheticEvent.clientX)?(0,c.toRound)(e.target.value-w/2,j):e.target.value;R({type:s.RATING_ACTION.select,payload:n,event:e.syntheticEvent})}else R({type:s.RATING_ACTION.select,payload:e.target.value,event:e.syntheticEvent});if(v.onClick){var r={value:T,target:g.current,syntheticEvent:e.syntheticEvent};v.onClick.call(void 0,r)}}}),[v.onClick,R,T]),V=o.useCallback((function(e){if(!E&&!P){switch(e.keyCode){case i.Keys.right:e.preventDefault(),R({type:"rtl"===y?s.RATING_ACTION.decrease:s.RATING_ACTION.increase,event:e});break;case i.Keys.left:e.preventDefault(),R({type:"rtl"===y?s.RATING_ACTION.increase:s.RATING_ACTION.decrease,event:e});break;case i.Keys.home:e.preventDefault(),R({type:"rtl"===y?s.RATING_ACTION.min:s.RATING_ACTION.max,event:e});break;case i.Keys.end:e.preventDefault(),R({type:"rtl"===y?s.RATING_ACTION.max:s.RATING_ACTION.min,event:e});break;case i.Keys.esc:e.preventDefault(),R({type:s.RATING_ACTION.deselect,event:e})}v.onKeyDown&&v.onKeyDown.call(void 0,{value:T,target:g.current,syntheticEvent:e})}}),[v.onKeyDown,R,T]),F=o.useCallback((function(e){if(v.onFocus){var t={target:g.current,syntheticEvent:e};v.onFocus.call(void 0,t)}}),[v.onFocus]),z=o.useCallback((function(e){if(v.onBlur){var t={target:g.current,syntheticEvent:e};v.onBlur.call(void 0,t)}}),[v.onBlur]),G=o.useCallback((function(e){if(e.target&&e.target.element)if("half"===O){var t=e.target.element.getBoundingClientRect(),n=(0,c.calcIsFirstHalf)(y||"ltr",t,e.syntheticEvent.clientX)?e.target.value-w/2:e.target.value;D({type:s.RATING_ACTION.select,payload:n,event:e.syntheticEvent})}else D({type:s.RATING_ACTION.select,payload:e.target.value,event:e.syntheticEvent})}),[O,w,y]),K=o.useCallback((function(e){D({type:s.RATING_ACTION.reset,event:e.syntheticEvent})}),[]),H=[],U=(0,c.getRemainder)((0,c.toRound)(x-C,j),w),W=C;W<=x;W=(0,c.toRound)(W+w,j)){var q=(0,c.toRound)(W+U,j),X="half"===O&&(0,c.isHalf)(q,null!==A?A:null!==T?T:0,w),Y=(0,c.isSelected)(q,T,w,L),Z=(0,c.isSelected)(q,null!==A?A:T,w,L),$=(0,c.isSelected)(q,A,w,L);H.push(o.createElement(_,{key:q,value:q,dir:y,title:String(X?(0,c.toRound)(q-w/2,j):q),icon:v.icon,half:X,selected:Y||Z,hovered:$,onClick:B,onMouseMove:G,onMouseLeave:K},X&&o.createElement("span",{className:"k-rating-precision-complement",style:(r={width:"12px"},r["rtl"===y?"right":"left"]="50%",r)},o.createElement("span",{className:(0,i.classNames)("k-icon",(a={"k-i-star-outline":!v.icon},a["".concat(v.icon,"-outline")]=v.icon,a))})),X&&o.createElement("span",{className:"k-rating-precision-part",style:{width:"12px"}},o.createElement("span",{className:(0,i.classNames)("k-icon",(l={"k-i-star":!v.icon},l["".concat(v.icon)]=v.icon,l))})),X&&o.createElement("span",{style:{width:"24px",height:"24px",display:"block"}}),!X&&o.createElement("span",{className:(0,i.classNames)("k-icon",(f={"k-i-star":!v.icon&&($||Z&&!$),"k-i-star-outline":!v.icon&&!$},f["".concat(v.icon)]=v.icon&&($||Z&&!$),f["".concat(v.icon,"-outline")]=v.icon&&!$,f))})))}return o.createElement("span",{id:v.id,style:v.style,ref:b,role:"slider",dir:y,tabIndex:(0,i.getTabIndex)(v.tabIndex,v.disabled,void 0),className:(0,i.classNames)("k-rating k-widget",{"k-rtl":"rtl"===y,"k-state-readonly":E,"k-disabled":P},v.className),onKeyDown:V,onFocus:F,onBlur:z,"aria-valuemin":C,"aria-valuemax":x,"aria-valuenow":null!==T?T:void 0,"aria-disabled":P?"true":void 0,"aria-label":m.toLanguageString(u.ratingAriaLabel,u.messages[u.ratingAriaLabel]),"aria-labelledby":v.ariaLabelledBy,"aria-describedby":v.ariaDescribedBy},o.createElement("input",{id:"rating",className:"k-hidden",readOnly:E,disabled:P}),o.createElement("span",{className:"k-rating-container"},H),v.label&&o.createElement("span",{className:"k-rating-label"},v.label))}));var f={id:a.string,dir:a.oneOf(["ltr","rtl"]),selection:a.oneOf(["continues","single"]),precision:a.oneOf(["item","half"]),value:function(e,t,n){return e.value&&e.min&&e.max&&e.step&&!("half"===e.precision?(0,c.isCorrectValue)(e.min,e.max,e.step/2,e.value):(0,c.isCorrectValue)(e.min,e.max,e.step,e.value))&&"half"===e.precision?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,".\n The value of the { value } property is not correct, please check your values.\n ")):null},defaultValue:a.number,min:a.number,max:a.number,step:function(e,t,n){return void 0!==e.step&&e.step<=0?new Error("Invalid prop + ".concat(t," supplied to ").concat(n,'.\n The value of the { step } property is cannot be equal or less than "0", please check your values.\n ')):null},hovered:a.number,label:a.string,readonly:a.bool,disabled:a.bool,half:a.bool,icon:a.string,ariaDescribedBy:a.string},h={dir:"ltr",min:1,max:5,step:1,item:l.RatingItem,defaultValue:null,readonly:!1,disabled:!1,selection:"continues",precision:"item"};t.Rating.displayName="KendoReactRating",t.Rating.propTypes=f,t.Rating.defaultProps=h},9458:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RatingItem=void 0;var r=n(3899),o=n(189),a=n(3859);t.RatingItem=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useRef(null),i=(0,a.useDir)(o,e.dir);r.useImperativeHandle(n,(function(){return{element:o.current,props:e,value:e.value}})),r.useImperativeHandle(t,(function(){return n.current}));var l=r.useCallback((function(t){e.onClick&&e.onClick.call(void 0,{value:e.value,target:n.current,syntheticEvent:t})}),[e.onClick,e.value]),s=r.useCallback((function(t){e.onKeyDown&&e.onKeyDown.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onKeyDown]),c=r.useCallback((function(t){e.onFocus&&e.onFocus.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onFocus]),u=r.useCallback((function(t){e.onBlur&&e.onBlur.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onBlur]),d=r.useCallback((function(t){e.onMouseMove&&e.onMouseMove.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onMouseMove]),p=r.useCallback((function(t){e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onMouseEnter]),f=r.useCallback((function(t){e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:n.current,syntheticEvent:t})}),[e.onMouseLeave]);return r.createElement("span",{id:e.id,ref:o,dir:i,"data-half":e.half,tabIndex:e.tabIndex,title:e.title,style:e.style,className:(0,a.classNames)("k-rating-item",{"k-rtl":"rtl"===i,"k-selected":e.selected,"k-hover":e.hovered},e.className),onClick:l,onKeyDown:s,onFocus:c,onBlur:u,onMouseEnter:p,onMouseLeave:f,onMouseMove:d},e.children)}));var i={id:o.string,icon:o.any,dir:o.oneOf(["ltr","rtl"]),title:o.string,value:o.number,half:o.bool,selected:o.bool,hovered:o.bool};t.RatingItem.displayName="KendoReactRatingItem",t.RatingItem.propTypes=i,t.RatingItem.defaultProps={dir:"ltr"}},3552:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},944:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ratingReducer=t.RATING_ACTION=void 0;var r,o=n(9002);!function(e){e.select="select",e.deselect="deselect",e.increase="increase",e.decrease="decrease",e.min="min",e.max="max",e.reset="reset"}(r=t.RATING_ACTION||(t.RATING_ACTION={})),t.ratingReducer=function(e,t){switch(t.type){case r.select:return void 0===t.payload||void 0===t.step?e:t.payload===e?null:t.payload>=t.min?t.payload<t.max?(0,o.toRound)(t.payload,t.step):t.max:t.min;case r.deselect:return null;case r.increase:return void 0===t.step?e:e<t.min?t.min:e+t.step<t.max?(0,o.toRound)(e+t.step,t.step):t.max;case r.decrease:return void 0===t.step?e:(0,o.toRound)(e-t.step,t.step)>=t.min?(0,o.toRound)(e-t.step,t.step):t.min;case r.min:return void 0===t.step?e:t.min;case r.max:return t.max;case r.reset:return null;default:return e}}},9002:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isCorrectValue=t.calcIsFirstHalf=t.isSelected=t.isHalf=t.getRemainder=t.toRound=void 0,t.toRound=function(e,t){if(e%1){var n=Math.pow(10,(t.toString().split(".")[1]||t.toString().split(".")[0]).length);return Math.round(e*n)/n}return e},t.getRemainder=function(e,t){return e-t*Math.floor(e/t)},t.isHalf=function(e,n,r){return(0,t.toRound)(e-r,r)<n&&n<e},t.isSelected=function(e,n,r,o){return null!==n&&("continues"===o?(0,t.isHalf)(e,n,r)?(0,t.toRound)(e-r/2,r/2)<=n:e<=n:"single"===o&&((0,t.isHalf)(e,n,r)?(0,t.toRound)(e-r/2,r/2)===n:e===n))},t.calcIsFirstHalf=function(e,t,n){return"ltr"===e?n<t.x+t.width/2:n>t.x+t.width/2},t.isCorrectValue=function(e,t,n,r){for(var o=e;o<=t;o+=n)if(r===o)return!0;return!1}},6153: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)}),a=this&&this.__assign||function(){return a=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},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=t.SliderPropsContext=t.SliderWithoutContext=void 0;var i=n(3899),l=n(189),s=n(3859),c=n(499),u=n(3364),d=n(8510),p=n(3859),f=n(7363),h=n(784),v=function(e){function t(t){var n=e.call(this,t)||this;return n.state={value:void 0===n.props.defaultValue?n.props.min:n.props.defaultValue,focused:!1,dir:n.props.dir},n._sliderTrack=null,n._element=null,n.buttons=function(e){return e.enabled?i.createElement(i.Fragment,null,i.createElement(h.Button,{className:"k-button-decrease k-rounded-full",icon:n.props.vertical?"arrow-s":"arrow-w",title:e.decrementTitle,onClick:e.decrement}),e.children,i.createElement(h.Button,{className:"k-button-increase k-rounded-full",icon:n.props.vertical?"arrow-n":"arrow-e",title:e.incrementTitle,onClick:e.increment})):e.children},n.focus=function(){n._element&&n._element.focus()},n.isLabel=function(e){for(var t=e;t;){if(Boolean(t.getAttribute(d.SLIDER_LABEL_ATTRIBUTE)))return!0;t=t.parentElement}return!1},n.onFocus=function(){n.setState({focused:!0})},n.onBlur=function(){n.setState({focused:!1})},n.onKeyDown=function(e){var t=void 0;e.keyCode===s.Keys.left||e.keyCode===s.Keys.down?t=n.state.value-(n.props.step||0):e.keyCode===s.Keys.right||e.keyCode===s.Keys.up?t=n.state.value+(n.props.step||0):e.keyCode===s.Keys.home?t=n.props.min:e.keyCode===s.Keys.end&&(t=n.props.max),void 0!==t&&(e.preventDefault(),n.change(e,t))},n.decrement=function(e){e.preventDefault(),n.change(e,n.state.value-(n.props.step||0))},n.increment=function(e){e.preventDefault(),n.change(e,n.state.value+(n.props.step||0))},n.dragStart=function(e){n.isLabel(e.event.originalEvent.target)||(e.event.isTouch&&e.event.originalEvent.preventDefault(),n.drag(e))},n.dragOver=function(e){e.event.originalEvent.preventDefault(),n.drag(e)},n.drag=function(e){var t=e.element.getBoundingClientRect(),r=(n.props.vertical?t.bottom-e.event.clientY:"rtl"===n.state.dir?t.right-e.event.clientX:e.event.clientX-t.left)/(n.props.vertical?t.height:t.width);n.change(e,n.props.min+r*(n.props.max-n.props.min))},(0,p.validatePackage)(f.packageMetadata),n}return o(t,e),t.getDerivedStateFromProps=function(e,t){var n=void 0!==e.value?e.value:t.value,r=e.min,o=e.max;return void 0===n?null:{value:Math.min(Math.max(n,r),o)}},t.prototype.componentDidMount=function(){if(!this.state.dir&&window&&this._element){var e=window.getComputedStyle(this._element).direction;e&&this.setState({dir:e})}},t.prototype.render=function(){var e,t=this,n=(0,c.provideLocalizationService)(this),r=(this.state.value-this.props.min)/(this.props.max-this.props.min)*100,o=this.props.vertical?{marginTop:"0.5rem",marginBottom:"0.5rem"}:{marginLeft:"0.5rem",marginRight:"0.5rem"},l=this.props.vertical?{paddingTop:0,height:"100%"}:{};return i.createElement("div",{ref:function(e){return t._element=e},dir:this.state.dir,id:this.props.id,style:a({gap:0},this.props.style),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,className:(0,s.classNames)("k-slider k-widget",{"k-focus":this.state.focused,"k-disabled":this.props.disabled,"k-slider-horizontal":!this.props.vertical,"k-slider-vertical":this.props.vertical},this.props.className)},i.createElement(this.buttons,{enabled:this.props.buttons,decrement:this.decrement,increment:this.increment,incrementTitle:n.toLanguageString(u.sliderIncreaseValue,u.messages[u.sliderIncreaseValue]),decrementTitle:n.toLanguageString(u.sliderDecreaseValue,u.messages[u.sliderDecreaseValue])},i.createElement(s.Draggable,{onDrag:this.dragOver,onPress:this.dragStart},i.createElement("div",{className:"k-slider-track-wrap",style:a({flexGrow:1,position:"relative",touchAction:"none"},o)},this.props.children&&i.createElement("ul",{className:"k-reset k-slider-items",style:a({margin:0},l)},i.Children.map(this.props.children,(function(e){return e&&i.cloneElement(e,{position:100*(e.props.position-t.props.min)/(t.props.max-t.props.min),vertical:t.props.vertical},e.props.children)}))),i.createElement("div",{className:"k-slider-track",style:this.props.vertical?{bottom:0,height:"100%"}:(e={},e["rtl"===this.state.dir?"right":"left"]=0,e.width="100%",e),ref:function(e){return t._sliderTrack=e}},i.createElement("div",{className:"k-slider-selection",style:this.props.vertical?{height:r+"%"}:{width:r+"%"}}),i.createElement("span",{role:"slider","aria-valuemin":this.props.min,"aria-valuemax":this.props.max,"aria-valuenow":this.state.value,"aria-valuetext":String(this.state.value),"aria-orientation":this.props.vertical?"vertical":void 0,"aria-disabled":this.props.disabled?"true":void 0,"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,"aria-label":this.props.ariaLabel,tabIndex:(0,s.getTabIndex)(this.props.tabIndex,this.props.disabled,void 0),className:"k-draghandle",title:n.toLanguageString(u.sliderDragTitle,u.messages[u.sliderDragTitle]),style:this.props.vertical?{bottom:"calc("+r+"%)",zIndex:1}:"rtl"===this.state.dir?{right:"calc("+r+"% - 13px)",zIndex:1}:{left:"calc("+r+"%)",zIndex:1}}))))))},Object.defineProperty(t.prototype,"sliderTrack",{get:function(){return this._sliderTrack},enumerable:!1,configurable:!0}),t.prototype.change=function(e,t){t=Math.min(Math.max(t,this.props.min),this.props.max),this.setState({value:t}),(0,s.dispatchEvent)(this.props.onChange,e,this,{value:t})},t.displayName="Slider",t.propTypes={min:l.number.isRequired,max:l.number.isRequired,value:l.number,vertical:l.bool,id:l.string,ariaLabelledBy:l.string,ariaDescribedBy:l.string,ariaLabel:l.string},t}(i.Component);t.SliderWithoutContext=v,t.SliderPropsContext=(0,s.createPropsContext)(),t.Slider=(0,s.withPropsContext)(t.SliderPropsContext,v),t.Slider.displayName="KendoReactSlider",(0,c.registerForLocalization)(v)},8510:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SliderLabel=t.SLIDER_LABEL_ATTRIBUTE=void 0;var o=n(3899),a=n(3859);t.SLIDER_LABEL_ATTRIBUTE="data-slider-label",t.SliderLabel=function(e){var n,i,l=o.useRef(null),s=(0,a.useDir)(l),c=e.vertical?{bottom:"".concat(e.position,"%")}:((n={})["rtl"===s?"right":"left"]="".concat(e.position,"%"),n),u=e.vertical?"k-tick-vertical":"k-tick-horizontal";return o.createElement("li",{ref:l,className:"k-tick k-tick-large ".concat(u),title:e.title,style:r({zIndex:1,position:"absolute"},c)},o.createElement("span",r({},((i={})[t.SLIDER_LABEL_ATTRIBUTE]=!0,i),{className:"k-label",onClick:e.onClick}),e.children))}},9363: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)}),a=this&&this.__assign||function(){return a=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},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Switch=t.SwitchPropsContext=t.SwitchWithoutContext=void 0;var i=n(3899),l=n(189),s=n(3859),c=n(499),u=n(3364),d=n(3859),p=n(7363),f=function(e){function t(n){var r=e.call(this,n)||this;return r.setValidity=function(){r._input&&r._input.setCustomValidity&&r._input.setCustomValidity(r.validity.valid?"":r.props.validationMessage||r.defaultValidationMessage.toLanguageString(u.switchValidation,u.messages[u.switchValidation]))},r.limit=function(e,t,n){var r=n.offsetWidth,o=t.offsetWidth;return e<0?0:e>r-o?r-o:e},r.toggle=function(e,t){r.setState({checked:e}),r.valueDuringOnChange=e,(0,s.dispatchEvent)(r.props.onChange,t,r,{value:e}),r.valueDuringOnChange=void 0},r._element=null,r._wrapper=null,r._input=null,r._id=(0,s.guid)(),r.defaultValidationMessage=(0,c.provideLocalizationService)(r),r.focus=function(){r._element&&r._element.focus()},r.dummyInput=function(e){return i.createElement("input",{type:"checkbox",checked:r.props.checked,ref:function(e){r._input=e},tabIndex:-1,"aria-hidden":!0,value:e,style:{opacity:0,width:1,border:0,zIndex:-1,position:"absolute",left:"50%"},onChange:s.noop})},r.handleClick=function(e){r.eventTimeStamp!==e.timeStamp&&(r.eventTimeStamp=e.timeStamp,r.toggle(!r.value,e))},r.handleKeyDown=function(e){if(!r.props.disabled){var t=e.keyCode;t!==s.Keys.space&&t!==s.Keys.enter||(r.toggle(!r.value,e),e.preventDefault())}},r.handleWrapperFocus=function(e){if(!r.props.disabled){r.setState({focused:!0});var t=r.props.onFocus;t&&t.call(void 0,e)}},r.handleWrapperBlur=function(e){if(!r.props.disabled){r.setState({focused:!1});var t=r.props.onBlur;t&&t.call(void 0,e)}},(0,d.validatePackage)(p.packageMetadata),r.state={checked:n.defaultChecked||t.defaultProps.defaultChecked,focused:!1},r}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.props.checked?this.props.checked:this.state.checked},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionElement",{get:function(){return this._wrapper},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validity",{get:function(){var e=void 0!==this.props.validationMessage,t=void 0!==this.props.valid?this.props.valid:!this.props.required||!!this.value;return{customError:e,valid:void 0!==this.props.valid?this.props.valid:t,valueMissing:null===this.value}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validityStyles",{get:function(){return void 0!==this.props.validityStyles?this.props.validityStyles:t.defaultProps.validityStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return void 0!==this.props.required?this.props.required:t.defaultProps.required},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.setValidity(),this.forceUpdate()},t.prototype.componentDidUpdate=function(){this.setValidity()},t.prototype.render=function(){var e,t,n,r=this,o=this.state.focused,l=this.props,c=l.dir,u=l.disabled,d=l.trackRounded,p=l.thumbRounded,f=l.size,h=l.id,v=l.offLabel,m=l.onLabel,g=l.tabIndex;this.dir=c||this._wrapper&&getComputedStyle(this._wrapper).direction||void 0;var b=!this.validityStyles||this.validity.valid,y=(0,s.classNames)("k-switch",((e={})["k-switch-".concat(s.kendoThemeMaps.sizeMap[f]||f)]=f,e["k-rounded-".concat(s.kendoThemeMaps.roundedMap[d]||d)]=d,e["k-switch-on"]=this.value,e["k-switch-off"]=!this.value,e["k-focus"]=o,e["k-disabled"]=u,e["k-invalid"]=!b,e),this.props.className),k={"aria-checked":this.value,"aria-disabled":u||void 0};return i.createElement("span",{ref:function(e){r._wrapper=e},className:y,dir:this.dir,onKeyDown:this.handleKeyDown,onClick:this.handleClick,onBlur:this.handleWrapperBlur,onFocus:this.handleWrapperFocus},i.createElement("span",a({className:(0,s.classNames)("k-switch-track",(t={},t["k-rounded-".concat(s.kendoThemeMaps.roundedMap[d]||d)]=d,t)),id:h||this._id,role:"switch"},k,{"aria-labelledby":this.props.ariaLabelledBy,"aria-describedby":this.props.ariaDescribedBy,ref:function(e){r._element=e},tabIndex:(0,s.getTabIndex)(g,u,void 0),accessKey:this.props.accessKey}),this.dummyInput(this.value),i.createElement("span",{className:"k-switch-label-on"},m),i.createElement("span",{className:"k-switch-label-off"},v),i.createElement("span",{className:"k-switch-thumb-wrap"},i.createElement("span",{className:(0,s.classNames)("k-switch-thumb",(n={},n["k-rounded-".concat(p)]=p,n))}))))},t.displayName="Switch",t.propTypes={accessKey:l.string,checked:l.bool,className:l.string,disabled:l.bool,defaultChecked:l.bool,size:l.oneOf([null,"small","medium","large"]),trackRounded:l.oneOf([null,"small","medium","large","full"]),thumbRounded:l.oneOf([null,"small","medium","large","full"]),dir:l.string,id:l.string,ariaLabelledBy:l.string,ariaDescribedBy:l.string,offLabel:l.string,required:l.bool,tabIndex:l.number,valid:l.bool,validate:l.bool,validationMessage:l.string,onBlur:l.any,onChange:l.any,onFocus:l.any,onLabel:l.string},t.defaultProps={disabled:!1,defaultChecked:!1,size:"medium",trackRounded:"full",thumbRounded:"full",offLabel:"OFF",onBlur:s.noop,onFocus:s.noop,onLabel:"ON",required:!1,validityStyles:!0},t}(i.Component);t.SwitchWithoutContext=f,t.SwitchPropsContext=(0,s.createPropsContext)(),t.Switch=(0,s.withPropsContext)(t.SwitchPropsContext,f),t.Switch.displayName="KendoReactSwitch"},6767:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=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.TextArea=t.TextAreaPropsContext=void 0;var a=n(3899),i=n(189),l=n(3859);t.TextAreaPropsContext=(0,l.createPropsContext)(),t.TextArea=a.forwardRef((function(e,n){var i,s=(0,l.usePropsContext)(t.TextAreaPropsContext,e),c=s,u=c.size,d=c.rounded,p=c.fillMode,f=c.ariaDescribedBy,h=c.ariaLabelledBy,v=c.autoSize,m=c.className,g=c.defaultValue,b=c.disabled,y=c.readOnly,k=c.required,C=c.rows,x=c.id,O=c.name,w=c.placeholder,E=c.style,P=c.tabIndex,_=c.value,S=c.valid,N=c.validationMessage,R=c.validityStyles,I=c.onChange,M=c.onFocus,D=c.onBlur,T=(c.visited,c.touched,c.modified,o(c,["size","rounded","fillMode","ariaDescribedBy","ariaLabelledBy","autoSize","className","defaultValue","disabled","readOnly","required","rows","id","name","placeholder","style","tabIndex","value","valid","validationMessage","validityStyles","onChange","onFocus","onBlur","visited","touched","modified"])),A=a.useRef(null),L=a.useCallback((function(){A.current&&A.current.focus()}),[]),j=a.useState(g),B=j[0],V=j[1],F=void 0!==_,z=F?_:B,G=a.useCallback((function(){return{element:A,focus:L,get value(){return z},get name(){return A.current&&A.current.name}}}),[L,z]);a.useImperativeHandle(n,G);var K=a.useState("auto"),H=K[0],U=K[1],W=a.useMemo((function(){return(0,l.guid)()}),[]),q=(0,l.useDir)(A,s.dir),X=void 0!==S?S:!k||!!z;a.useEffect((function(){A.current&&A.current.setCustomValidity&&A.current.setCustomValidity(X?"":N||"")}),[X,N]),a.useLayoutEffect((function(){A.current&&U("".concat(A.current.scrollHeight,"px"))}),[z]);var Y=a.useCallback((function(e){var t=e.target.value;F||b||(U("auto"),V(t)),I&&!b&&(0,l.dispatchEvent)(I,e,r(r({},G()),{value:t}),{value:t})}),[V,I,b,F]),Z=a.useCallback((function(e){M&&!b&&(0,l.dispatchEvent)(M,e,G(),void 0)}),[M,b]),$=a.useCallback((function(e){D&&!b&&(0,l.dispatchEvent)(D,e,G(),void 0)}),[D,b]),J=r(r({id:x||W,name:O,className:"k-input-inner !k-overflow-auto",ref:A,disabled:b,rows:C,placeholder:w,readOnly:y,required:k,tabIndex:(0,l.getTabIndex)(P,b),style:v?{resize:"none",overflow:"hidden",height:H}:{},"aria-labelledby":h,"aria-describedby":f,"aria-multiline":!0,"aria-disabled":b||void 0,value:F?_:B},T),{onChange:Y,onFocus:Z,onBlur:$});return a.createElement("span",{className:(0,l.classNames)("k-input","k-textarea",(i={},i["k-input-".concat(l.kendoThemeMaps.sizeMap[u]||u)]=u,i["k-input-".concat(p)]=p,i["k-rounded-".concat(l.kendoThemeMaps.roundedMap[d]||d)]=d,i["k-invalid"]=!(X||void 0!==R||!0===R),i["k-required"]=k,i["k-disabled"]=b,i),m),style:E,dir:q},a.createElement("textarea",r({},J)))})),t.TextArea.propTypes={ariaDescribedBy:i.string,ariaLabelledBy:i.string,autoSize:i.bool,className:i.string,defaultValue:i.string,dir:i.string,disabled:i.bool,readOnly:i.bool,rows:i.number,id:i.string,name:i.string,placeholder:i.string,style:i.object,tabIndex:i.number,value:i.oneOfType([i.string,i.arrayOf(i.string),i.number]),onChange:i.func,onFocus:i.func,onBlur:i.func,size:i.oneOf([null,"small","medium","large"]),rounded:i.oneOf([null,"small","medium","large","full"]),fillMode:i.oneOf([null,"solid","flat","outline"])},t.TextArea.displayName="KendoTextArea",t.TextArea.defaultProps={size:"medium",rounded:"medium",fillMode:"solid"}},590:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},2850:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},1293:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},784:(e,t,n)=>{n.r(t),n.d(t,{Button:()=>p,ButtonGroup:()=>y,Chip:()=>se,ChipList:()=>oe,DropDownButton:()=>L,DropDownButtonItem:()=>D,FloatingActionButton:()=>be,FloatingActionButtonItem:()=>pe,SplitButton:()=>I,SplitButtonItem:()=>E,Toolbar:()=>V,ToolbarItem:()=>z,ToolbarSeparator:()=>K,ToolbarSpacer:()=>H,toolbarButtons:()=>v});var r,o=n(3899),a=n(189),i=n(8047),l=n(2697),s=n(4006),c={name:"@progress/kendo-react-buttons",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1660031260,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"},u=(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)}),d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)},p=function(e){function t(t){var n=e.call(this,t)||this;return n._element=null,n.handleClick=function(e){n.toggleIfApplicable(),n.props.onClick&&n.props.onClick.call(void 0,e)},(0,s.s)(c),n.state={selected:!0===n.props.togglable&&!0===n.props.selected},n}return u(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return void 0!==this._selectedTemp?this._selectedTemp:this.state.selected},enumerable:!1,configurable:!0}),t.getDerivedStateFromProps=function(e,t){return e.togglable&&void 0!==e.selected&&e.selected!==t.selected?{selected:e.selected}:null},t.prototype.render=function(){var e,n=this,r=this.props,a=r.children,s=r.togglable,c=r.icon,u=r.iconClass,p=r.imageUrl,f=r.imageAlt,h=(r.className,r.onClick,r.size),v=void 0===h?t.defaultProps.size:h,m=r.shape,g=void 0===m?t.defaultProps.shape:m,b=r.rounded,y=void 0===b?t.defaultProps.rounded:b,k=r.fillMode,C=void 0===k?t.defaultProps.fillMode:k,x=r.themeColor,O=void 0===x?t.defaultProps.themeColor:x,w=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}(r,["children","togglable","icon","iconClass","imageUrl","imageAlt","className","onClick","size","shape","rounded","fillMode","themeColor"]),E=void 0!==c||void 0!==u||void 0!==p,P=void 0!==a,_=function(e){var t=e.imageUrl,n=e.icon,r=e.iconClass,a=e.imageAlt;if(t)return o.createElement("img",{role:"presentation",className:"k-button-icon",alt:a,src:t});if(n){var l=(0,i.A)("k-button-icon k-icon","k-i-"+n);return o.createElement("span",{role:"presentation",className:l})}return r?o.createElement("span",{role:"presentation",className:(0,i.A)("k-button-icon",r)}):null}({icon:c,iconClass:u,imageUrl:p,imageAlt:f});return o.createElement("button",d({ref:function(e){return n._element=e},"aria-pressed":s?this.state.selected:void 0},w,{onClick:this.handleClick,className:(0,i.A)("k-button",(e={},e["k-button-".concat(l.G.sizeMap[v]||v)]=v,e["k-button-".concat(g)]=g,e["k-button-".concat(C)]=C,e["k-button-".concat(C,"-").concat(O)]=Boolean(C&&O),e["k-rounded-".concat(l.G.roundedMap[y]||y)]=y,e["k-icon-button"]=!P&&E,e["k-disabled"]=this.props.disabled,e["k-selected"]=this.state.selected,e["k-rtl"]="rtl"===this.props.dir,e),this.props.className)}),_,a&&o.createElement("span",{className:"k-button-text"},a))},t.prototype.toggleIfApplicable=function(){var e=this;if(this.props.togglable&&void 0===this.props.selected){var t=!this.state.selected;this._selectedTemp=t,this.setState({selected:t},(function(){return e._selectedTemp=void 0}))}},t.propTypes={children:a.node,selected:a.bool,togglable:a.bool,icon:a.string,iconClass:a.string,imageUrl:a.string,imageAlt:a.string,size:a.oneOf([null,"small","medium","large"]),shape:a.oneOf([null,"rectangle","square"]),rounded:a.oneOf([null,"small","medium","large","full"]),fillMode:a.oneOf([null,"flat","link","outline","solid"]),themeColor:a.oneOf([null,"base","primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"])},t.defaultProps={togglable:!1,size:"medium",shape:"rectangle",rounded:"medium",fillMode:"solid",themeColor:"base"},t}(o.Component),f=':not(.k-disabled):not([disabled]):not([disabled="true"])',h=":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)",v=["button"+f+h,".k-button-group > button"+f+h,".k-dropdownlist"+f,".k-colorpicker"+f];var m=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(){return g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)},b={button:"k-button",flat:"k-flat",outline:"k-outline",clear:"k-button-clear",primary:"k-primary","state-selected":"k-selected","button-icon":"k-button-icon","button-icontext":"k-button-icontext","state-disabled":"k-disabled","group-start":"k-group-start","group-end":"k-group-end","button-group":"k-button-group","button-group-stretched":"k-button-group-stretched",ltr:"k-ltr",rtl:"k-rtl"},y=function(e){function t(t){var n=e.call(this,t)||this;return n._element=null,(0,s.s)(c),n}return m(t,e),t.prototype.render=function(){var e,t=this,n=this.mapButtons(this.props.children),r=(0,i.A)([b["button-group"]],((e={})["k-disabled"]=this.props.disabled,e[b["button-group-stretched"]]=!!this.props.width,e),this.props.className),a={className:r,style:{width:"".concat(this.props.width)},dir:this.props.dir,role:"group","aria-disabled":this.props.disabled};return o.createElement("div",g({ref:function(e){t._element=e}},a,{className:r}),n)},t.prototype.mapButtons=function(e){var t=this,n=o.Children.count(e),r=void 0!==this.props.dir?"rtl"===this.props.dir:this._element&&"rtl"===getComputedStyle(this._element).direction||!1;return o.Children.map(e,(function(e,a){return o.isValidElement(e)?t.renderButton(e,a,a===n-1,r):e}))},t.prototype.renderButton=function(e,t,n,r){var a,l=(0,i.A)(e.props.className,((a={})[b["group-start"]]=r?n:0===t,a[b["group-end"]]=r?0===t:n,a)),s=g(g({},this.props.width?{width:this.props.width}:{}),e.props.style||{}),c=this.props.disabled||e.props.disabled,u=g(g(g(g({},e.props),l?{className:l}:{}),Object.keys(s).length?{style:s}:{}),void 0!==c?{disabled:c}:{});return o.Children.count(e.props.children)>0?o.cloneElement(e,u,e.props.children):o.cloneElement(e,u)},t.propTypes={children:a.oneOfType([a.arrayOf(a.element),a.element]),className:a.string,disabled:a.bool,width:a.string,dir:a.string},t}(o.Component),k=n(3198),C=n(3493),x=n(5407),O=function(e){var t,n=o.useCallback((function(t){e.onClick(t,e.index)}),[e]),r=e.dataItem.render||e.item||(void 0===e.item?e.render:null),a=void 0!==e.dataItem.text?e.dataItem.text:e.textField?e.dataItem[e.textField]:e.dataItem,l=o.createElement("li",{id:e.id,className:(0,i.A)("k-item",e.className,{"k-focus":e.focused}),tabIndex:-1,onClick:n,onMouseDown:e.onDown,onPointerDown:e.onDown,role:"menuitem","aria-disabled":e.dataItem.disabled||void 0},o.createElement("span",{tabIndex:-1,className:(0,i.A)("k-link k-menu-link",{"k-selected":e.dataItem.selected,"k-disabled":e.dataItem.disabled}),key:"icon"},r?o.createElement(r,{item:e.dataItem,itemIndex:e.index}):o.createElement(o.Fragment,null,(e.dataItem.icon||e.dataItem.iconClass)&&o.createElement("span",{className:(0,i.A)("k-icon",(t={},t["k-i-".concat(e.dataItem.icon)]=e.dataItem.icon,t["".concat(e.dataItem.iconClass)]=e.dataItem.iconClass,t))}),e.dataItem.imageUrl&&o.createElement("img",{role:"presentation",alt:"",src:e.dataItem.imageUrl,className:"k-icon"}),a&&o.createElement("span",{className:"k-menu-link-text"},a))));return void 0!==e.item&&void 0!==e.render?e.render.call(void 0,l,e):l};O.displayName="KendoReactButtonItem";var w=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(t,e),t.prototype.render=function(){return null},t.propTypes={text:a.string,icon:a.string,iconClass:a.string,imageUrl:a.string,disabled:a.bool,render:a.any},t}(o.Component),P=function(e,t,n,r){if(n)return e;var o=Math.min(r-1,Math.max(0,e));switch(t){case C.R.enter:case C.R.space:case C.R.esc:return-1;case C.R.up:case C.R.left:return o-1<0?r-1:o-1;case C.R.down:case C.R.right:return o+1>=r?0:o+1;case C.R.home:return 0;case C.R.end:return r-1;default:return e}},_=n(9222);function S(e){var t={horizontal:"left",vertical:"bottom"};return e&&(t.horizontal="right"),t}function N(e){var t={horizontal:"left",vertical:"top"};return e&&(t.horizontal="right"),t}var R=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),I=function(e){function t(t){var n=e.call(this,t)||this;return n.state={focused:!1,focusedIndex:-1,opened:!1},n.wrapper=null,n.mainButton=null,n.list=null,n.guid=(0,k.M)(),n.skipFocus=!1,n.buttonsData=[],n.onKeyDown=function(e){var t=n.state.focusedIndex;if(e.altKey)n.opened||e.keyCode!==C.R.down?n.opened&&e.keyCode===C.R.up&&(n.dispatchPopupEvent(e,!1),n.setState({focusedIndex:-1,opened:!1})):(n.dispatchPopupEvent(e,!0),n.setState({focusedIndex:0,opened:!0}));else{var r=void 0;if(e.keyCode===C.R.enter||e.keyCode===C.R.space?(e.preventDefault(),n.dispatchClickEvent(e,t),t>=0&&(r={focusedIndex:n.opened?-1:0,opened:!n.opened},n.dispatchPopupEvent(e,r.opened))):n.opened&&e.keyCode===C.R.esc&&(r={focusedIndex:-1,opened:!1},n.dispatchPopupEvent(e,r.opened)),n.opened){var o=P(t,e.keyCode,e.altKey,n.buttonsData.length);o!==t&&((r=r||{}).focusedIndex=o);var a=e.keyCode===C.R.up||e.keyCode===C.R.down||e.keyCode===C.R.left||e.keyCode===C.R.right;e.altKey||!a&&e.keyCode!==C.R.home&&e.keyCode!==C.R.end||e.preventDefault()}r&&n.setState(r)}},n.switchFocus=function(e){n.skipFocus=!0,e(),window.setTimeout((function(){return n.skipFocus=!1}),0)},n.onFocus=function(e){n.skipFocus||((0,x.N)(n.props.onFocus,e,n,void 0),n.setState({focused:!0}))},n.onItemClick=function(e,t){var r=n.opened;r&&n.setState({focusedIndex:0,opened:!1}),n.dispatchClickEvent(e,t),r&&n.dispatchPopupEvent(e,!1)},n.onBlur=function(e){n.skipFocus||(n.setState({focused:!1,focusedIndex:-1,opened:!1}),(0,x.N)(n.props.onBlur,e,n,void 0),n.opened&&n.dispatchPopupEvent(e,!1))},n.onPopupClose=function(){n.state.focused&&n.switchFocus((function(){n.element&&(n.element.removeAttribute("tabindex"),n.element.focus({preventScroll:!0}))}))},n.listRef=function(e){n.list=e,e&&n.state.focused&&n.switchFocus((function(){e.focus({preventScroll:!0}),n.element&&(n.element.tabIndex=-1)}))},n.onSplitPartClick=function(e){if(n.buttonsData.length){var t=!n.opened;n.dispatchPopupEvent(e,t),n.setState({focusedIndex:t?0:-1,opened:t,focused:!0})}},n.onDownSplitPart=function(e){e.preventDefault(),n.element&&document.activeElement!==n.element&&document.activeElement!==n.list&&n.element.focus()},n.onItemDown=function(e){document.activeElement===n.list&&e.preventDefault()},n.dispatchPopupEvent=function(e,t){(0,x.N)(t?n.props.onOpen:n.props.onClose,e,n,void 0)},(0,s.s)(c),n}return R(t,e),Object.defineProperty(t.prototype,"opened",{get:function(){return void 0===this.props.opened?this.state.opened:this.props.opened},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;this.buttonsData=this.props.items||o.Children.toArray(this.props.children).filter((function(e){return e&&e.type===E})).map((function(e){return e.props}));var t=this.isRtl(),n=t?"rtl":void 0,r=this.props,a=r.id,s=r.style,c=r.tabIndex,u=r.disabled;return o.createElement("div",{id:a,style:s,className:(0,i.A)("k-split-button","k-button-group",{"k-focus":this.state.focused},"k-rounded-".concat(l.G.roundedMap[this.props.rounded||"medium"]),this.props.className),onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,dir:n,ref:function(t){return e.wrapper=t}},o.createElement(p,{ref:function(t){return e.mainButton=t&&t.element},type:"button",size:this.props.size,rounded:this.props.rounded,fillMode:this.props.fillMode,themeColor:this.props.themeColor,onClick:function(t){return e.onItemClick(t,-1)},disabled:u||void 0,tabIndex:c,accessKey:this.props.accessKey,className:this.props.buttonClass,icon:this.props.icon,iconClass:this.props.iconClass,imageUrl:this.props.imageUrl,dir:n,"aria-disabled":u,"aria-haspopup":!0,"aria-expanded":this.opened||void 0,"aria-label":this.props.ariaLabel,"aria-controls":this.opened?this.guid:void 0,id:"button-"+this.guid,title:this.props.title},this.props.text),o.createElement(p,{type:"button",size:this.props.size,rounded:this.props.rounded,fillMode:this.props.fillMode,themeColor:this.props.themeColor,icon:"arrow-s",className:"k-split-button-arrow",disabled:u||void 0,tabIndex:-1,onClick:this.onSplitPartClick,onMouseDown:this.onDownSplitPart,onPointerDown:this.onDownSplitPart,dir:n,"aria-label":"menu toggling button"}),this.renderPopup(t))},t.prototype.componentDidMount=function(){(void 0===this.props.dir&&this.isRtl()||this.opened)&&this.forceUpdate()},Object.defineProperty(t.prototype,"element",{get:function(){return this.mainButton},enumerable:!1,configurable:!0}),t.prototype.dispatchClickEvent=function(e,t){this.isItemDisabled(t)||(-1===t?(0,x.N)(this.props.onButtonClick,e,this,void 0):(0,x.N)(this.props.onItemClick,e,this,{item:this.buttonsData[t],itemIndex:t}))},t.prototype.renderPopup=function(e){var t,n=this.props.popupSettings,r=void 0===n?{}:n,a=this.state.focusedIndex;return o.createElement(_.G,{anchor:this.wrapper,show:this.opened,animate:r.animate,popupClass:(0,i.A)("k-menu-popup",r.popupClass),anchorAlign:r.anchorAlign||S(e),popupAlign:r.popupAlign||N(e),style:e?{direction:"rtl"}:void 0,onClose:this.onPopupClose},o.createElement("ul",{role:"menu",id:this.guid,"aria-labelledby":"button-"+this.guid,tabIndex:-1,ref:this.listRef,"aria-activedescendant":a>=0?"".concat(this.guid,"-").concat(a):void 0,className:(0,i.A)("k-group k-menu-group k-reset",(t={},t["k-menu-group-".concat(l.G.sizeMap[this.props.size]||this.props.size)]=this.props.size,t))},this.renderChildItems()))},t.prototype.renderChildItems=function(){var e=this,t=this.props,n=t.item,r=t.itemRender,a=t.textField;return this.buttonsData.length>0?this.buttonsData.map((function(t,i){return o.createElement(O,{className:"k-menu-item",dataItem:t,textField:a,focused:e.state.focusedIndex===i,onClick:e.onItemClick,onDown:e.onItemDown,render:r,item:n,key:i,index:i,id:"".concat(e.guid,"-").concat(i)})})):null},t.prototype.isItemDisabled=function(e){return this.buttonsData[e]?this.buttonsData[e].disabled:this.props.disabled},t.prototype.isRtl=function(){return void 0!==this.props.dir?"rtl"===this.props.dir:!!this.wrapper&&"rtl"===getComputedStyle(this.wrapper).direction},t.propTypes={accessKey:a.string,ariaLabel:a.string,title:a.string,onButtonClick:a.func,onFocus:a.func,onBlur:a.func,onItemClick:a.func,onOpen:a.func,onClose:a.func,text:a.string,items:a.arrayOf(a.any),textField:a.string,tabIndex:a.number,disabled:a.bool,icon:a.string,iconClass:a.string,imageUrl:a.string,popupSettings:a.object,itemRender:a.any,item:a.func,className:a.string,buttonClass:a.string,dir:a.string},t.defaultProps={size:"medium",rounded:"medium",shape:"rectangle",fillMode:"solid",themeColor:"base"},t}(o.Component),M=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){return null},t.propTypes={text:a.string,icon:a.string,iconClass:a.string,imageUrl:a.string,selected:a.bool,disabled:a.bool,render:a.any},t}(o.Component),T=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=function(){return A=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},A.apply(this,arguments)},L=function(e){function t(t){var n=e.call(this,t)||this;return n.state={opened:!1,focused:!1,focusedIndex:-1},n.wrapper=null,n.mainButton=null,n.list=null,n.skipFocus=!1,n.guid=(0,k.M)(),n.buttonsData=[],n.onKeyDown=function(e){var t=n.state.focusedIndex;if(e.altKey)n.opened||e.keyCode!==C.R.down?n.opened&&e.keyCode===C.R.up&&(n.dispatchPopupEvent(e,!1),n.setState({focusedIndex:-1,opened:!1})):(n.dispatchPopupEvent(e,!0),n.setState({focusedIndex:0,opened:!0}));else{var r=A({},n.state);if(e.keyCode===C.R.enter||e.keyCode===C.R.space?(t>=0&&n.dispatchClickEvent(e,t),e.preventDefault(),r.focusedIndex=n.opened?-1:0,r.opened=!n.opened,n.dispatchPopupEvent(e,r.opened)):n.opened&&e.keyCode===C.R.esc&&(r.focusedIndex=-1,r.opened=!1,n.dispatchPopupEvent(e,r.opened)),n.opened){var o=P(t,e.keyCode,e.altKey,n.buttonsData.length);r.focusedIndex=o;var a=e.keyCode===C.R.up||e.keyCode===C.R.down||e.keyCode===C.R.left||e.keyCode===C.R.right;e.altKey||!a&&e.keyCode!==C.R.home&&e.keyCode!==C.R.end||e.preventDefault()}n.setState(r)}},n.switchFocus=function(e){n.skipFocus=!0,e(),window.setTimeout((function(){return n.skipFocus=!1}),0)},n.handleFocus=function(e){n.skipFocus||(n.setState({focused:!0,focusedIndex:n.opened?0:-1}),(0,x.N)(n.props.onFocus,e,n,void 0))},n.handleBlur=function(e){n.skipFocus||(n.setState({focused:!1,opened:!1,focusedIndex:-1}),(0,x.N)(n.props.onBlur,e,n,void 0),n.opened&&n.dispatchPopupEvent(e,!1))},n.onItemClick=function(e,t){n.setState({focusedIndex:-1,opened:!1}),n.dispatchClickEvent(e,t),n.dispatchPopupEvent(e,!1)},n.onItemDown=function(e){document.activeElement===n.list&&e.preventDefault()},n.mouseDown=function(e){e.preventDefault(),n.element&&document.activeElement!==n.element&&document.activeElement!==n.list&&n.element.focus()},n.onPopupClose=function(){n.state.focused&&n.switchFocus((function(){n.element&&(n.element.removeAttribute("tabindex"),n.element.focus({preventScroll:!0}))}))},n.listRef=function(e){n.list=e,e&&n.state.focused&&n.switchFocus((function(){e.focus({preventScroll:!0}),n.element&&(n.element.tabIndex=-1)}))},n.onClickMainButton=function(e){if(n.buttonsData.length){var t=!n.opened;n.setState({opened:t,focused:!0,focusedIndex:t?0:-1}),n.dispatchPopupEvent(e,t)}},n.dispatchPopupEvent=function(e,t){(0,x.N)(t?n.props.onOpen:n.props.onClose,e,n,void 0)},(0,s.s)(c),n}return T(t,e),Object.defineProperty(t.prototype,"opened",{get:function(){return void 0===this.props.opened?this.state.opened:this.props.opened},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.isRtl(),n=t?"rtl":void 0,r=this.props,a=r.id,l=r.style,s=r.tabIndex,c=r.disabled;return this.buttonsData=this.props.items||o.Children.toArray(this.props.children).filter((function(e){return e&&e.type===D})).map((function(e){return e.props})),o.createElement("div",{id:a,style:l,className:(0,i.A)("k-dropdown-button",{"k-focus":this.state.focused},this.props.className),onKeyDown:this.onKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,dir:n,ref:function(t){return e.wrapper=t}},o.createElement(p,{size:this.props.size,shape:this.props.shape,rounded:this.props.rounded,fillMode:this.props.fillMode,themeColor:this.props.themeColor,onClick:this.onClickMainButton,onMouseDown:this.mouseDown,disabled:c||void 0,tabIndex:s,accessKey:this.props.accessKey,icon:this.props.icon,iconClass:this.props.iconClass,className:this.props.buttonClass,imageUrl:this.props.imageUrl,dir:n,ref:function(t){return e.mainButton=t&&t.element},type:"button","aria-haspopup":!0,"aria-expanded":this.opened||void 0,"aria-label":this.props.ariaLabel,"aria-controls":this.opened?this.guid:void 0,id:"button-"+this.guid,title:this.props.title},this.props.text),this.renderPopup(t))},t.prototype.componentDidMount=function(){(void 0===this.props.dir&&this.isRtl()||this.opened)&&this.forceUpdate()},Object.defineProperty(t.prototype,"element",{get:function(){return this.mainButton},enumerable:!1,configurable:!0}),t.prototype.dispatchClickEvent=function(e,t){this.isItemDisabled(t)||(0,x.N)(this.props.onItemClick,e,this,{item:this.buttonsData[t],itemIndex:t})},t.prototype.renderPopup=function(e){var t,n=this.props.popupSettings,r=void 0===n?{}:n,a=this.state.focusedIndex;return o.createElement(_.G,{anchor:this.wrapper,show:this.opened,animate:r.animate,popupClass:(0,i.A)("k-menu-popup",r.popupClass),anchorAlign:r.anchorAlign||S(e),popupAlign:r.popupAlign||N(e),style:e?{direction:"rtl"}:void 0,onClose:this.onPopupClose},o.createElement("ul",{role:"menu",id:this.guid,"aria-labelledby":"button-"+this.guid,tabIndex:-1,"aria-activedescendant":a>=0?"".concat(this.guid,"-").concat(a):void 0,ref:this.listRef,className:(0,i.A)("k-group k-menu-group k-reset",(t={},t["k-menu-group-".concat(l.G.sizeMap[this.props.size]||this.props.size)]=this.props.size,t))},this.renderChildItems()))},t.prototype.renderChildItems=function(){var e=this,t=this.props,n=t.item,r=t.itemRender,a=t.textField;return this.buttonsData.length>0?this.buttonsData.map((function(t,i){return o.createElement(O,{className:"k-menu-item",dataItem:t,textField:a,focused:e.state.focusedIndex===i,onClick:e.onItemClick,onDown:e.onItemDown,render:r,item:n,index:i,key:i,id:"".concat(e.guid,"-").concat(i)})})):null},t.prototype.isItemDisabled=function(e){return this.buttonsData[e]?this.buttonsData[e].disabled:this.props.disabled},t.prototype.isRtl=function(){return void 0!==this.props.dir?"rtl"===this.props.dir:!!this.wrapper&&"rtl"===getComputedStyle(this.wrapper).direction},t.propTypes={accessKey:a.string,ariaLabel:a.string,title:a.string,onFocus:a.func,onBlur:a.func,onItemClick:a.func,onOpen:a.func,onClose:a.func,items:a.arrayOf(a.any),textField:a.string,tabIndex:a.number,disabled:a.bool,icon:a.string,iconClass:a.string,imageUrl:a.string,popupSettings:a.object,itemRender:a.func,item:a.func,className:a.string,buttonClass:a.string,dir:a.string},t.defaultProps={size:"medium",rounded:"medium",shape:"rectangle",fillMode:"solid",themeColor:"base"},t}(o.Component),j=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),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)},V=function(e){function t(n){var r=e.call(this,n)||this;return r._element=null,r.offsetHeight=0,r.offsetWidth=0,r.buttons=[],r.focusedSelector=r.selectors.map((function(e){return e+":focus"})).join(","),r.setTabIndex=function(e){var n=r.props.tabIndex,o=void 0===n?t.defaultProps.tabIndex:n;r.buttons.forEach((function(t,n){t.tabIndex=n===e?o:-1}))},r.onKeyDown=function(e){var t=e.target;if((e.keyCode===C.R.left||e.keyCode===C.R.right)&&!e.defaultPrevented&&-1!==r.buttons.findIndex((function(e){return e===t}))){var n=r.focusedIndex;e.keyCode===C.R.left?r.focusButton(n,n-1):r.focusButton(n,n+1)}},r.onWindowResize=function(e){var t=r.element;if(t){var n=t.offsetWidth,o=t.offsetHeight;if(r.offsetWidth!==n||r.offsetHeight!==o){r.offsetWidth=n,r.offsetHeight=o;var a={offsetWidth:r.offsetWidth,offsetHeight:r.offsetHeight};r.props.onResize&&r.props.onResize.call(void 0,B(B({target:r},a),{nativeEvent:e}))}}},(0,s.s)(c),r}return j(t,e),Object.defineProperty(t.prototype,"selectors",{get:function(){return this.props.buttons||v},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"focusedIndex",{get:function(){var e=this.element&&this.element.querySelector(this.focusedSelector);return Math.max(0,this.buttons.findIndex((function(t){return t===e})))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.onWindowResize);var e=this.element;e&&(this.offsetWidth=e.offsetWidth,this.offsetHeight=e.offsetHeight,!1!==this.props.keyboardNavigation&&(this.buttons=Array.from(e.querySelectorAll(this.selectors.join(","))),this.setTabIndex(0)))},t.prototype.componentDidUpdate=function(){var e=this.element;e&&!1!==this.props.keyboardNavigation&&(this.buttons=Array.from(e.querySelectorAll(this.selectors.join(","))),this.setTabIndex(this.focusedIndex))},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.onWindowResize),this.buttons.length=0},t.prototype.render=function(){var e=this;return o.createElement("div",{id:this.props.id,className:(0,i.A)("k-widget k-toolbar",this.props.className),style:this.props.style,role:void 0!==this.props.role?this.props.role||void 0:"toolbar",dir:this.props.dir,ref:function(t){return e._element=t},onKeyDown:!1!==this.props.keyboardNavigation?this.onKeyDown:void 0},this.props.children)},t.prototype.focusButton=function(e,n){var r=this.props.tabIndex,o=void 0===r?t.defaultProps.tabIndex:r,a=this.buttons[n];if(a){a.tabIndex=o,a.focus();var i=this.buttons[e];i&&(i.tabIndex=-1)}},t.propTypes={tabIndex:a.number,dir:a.string,keyboardNavigation:a.bool,style:a.object,className:a.string,role:a.string,onResize:a.func,buttons:a.arrayOf(a.string)},t.defaultProps={tabIndex:0},t}(o.Component),F=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._element=null,t}return F(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return o.createElement("span",{id:this.props.id,className:this.props.className,style:this.props.style,ref:function(t){return e._element=t}},this.props.children)},t.propTypes={className:a.string},t}(o.PureComponent),G=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return G(t,e),t.prototype.render=function(){return o.createElement(z,{className:"k-separator"})},t}(o.PureComponent),H=o.forwardRef((function(e,t){var n=o.useRef(null),r=o.useRef(null);o.useImperativeHandle(r,(function(){return{element:n.current}})),o.useImperativeHandle(t,(function(){return{element:n.current}}));var a=o.useMemo((function(){return(0,i.A)("k-spacer",e.className)}),[e.className]);return o.createElement("span",{ref:n,className:a})}));H.displayName="KendoReactToolbarSpacer",H.propTypes={className:a.string};var U,W,q,X,Y=n(8199),Z=n(9659),$=n(3322),J=n(4703),Q=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;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(e){e.single="single",e.multiple="multiple",e.none="none"}(U||(U={})),function(e){e.toggle="toggle",e.remove="remove"}(W||(W={})),function(e){e.next="next",e.prev="prev",e.current="current",e.reset="reset"}(q||(q={})),function(e){e.remove="remove",e.add="add",e.reorder="reorder"}(X||(X={}));var 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},ee.apply(this,arguments)},te=o.createContext([null,function(e){}]),ne=o.createContext([null,function(e){}]),re=o.createContext([null,function(e){}]),oe=o.forwardRef((function(e,t){var n;(0,s.s)(c);var r=o.useRef(null),a=o.useRef(null),u=(0,Y.n)(a,e.dir),d=e.chip,p=e.id,f=e.style,h=e.tabIndex,v=e.disabled,m=e.size,g=e.className,b=e.ariaDescribedBy,y=e.ariaLabelledBy,k=e.selection,C=void 0===k?ie.selection:k,x=e.value,O=void 0===x?ie.defaultValue:x,w=e.defaultData,E=void 0===w?ie.defaultData:w,P=e.valueField,_=void 0===P?ie.valueField:P,S=e.textField,N=void 0===S?ie.textField:S,R=e.onChange,I=e.onDataChange,M=o.useMemo((function(){return d||se}),[d,se]);o.useImperativeHandle(r,(function(){return{element:a.current,props:e}})),o.useImperativeHandle(t,(function(){return r.current}));var D=o.useCallback((function(e,t){R&&r.current&&R.call(void 0,{value:e,target:r.current,syntheticEvent:t})}),[R]),T=function(e,t,n){var r=o.useState(e),a=r[0],i=r[1];return[a,function(e){var r=function(e,t){switch(t.selection){case U.single:switch(t.type){case W.toggle:if(!Array.isArray(e)||null===e)return t.payload===e?null:t.payload;throw new Error("State cannot be an array in single selection");case W.remove:return t.payload===e?null:e;default:return e}case U.multiple:switch(t.type){case W.toggle:if(Array.isArray(e))return e.some((function(e){return e===t.payload}))?e.filter((function(e){return e!==t.payload})):Q(Q([],e,!0),[t.payload],!1);if(null===e)return[t.payload];throw new Error("State cannot be non-array in multiple selection");case W.remove:return Array.isArray(e)?e.some((function(e){return e===t.payload}))?e.filter((function(e){return e!==t.payload})):Q(Q([],e,!0),[t.payload],!1):e;default:return e}case U.none:return null;default:return e}}(t.state||a,ee(ee({},e),t));n&&n(r,e.event),i(r)}]}(O,{selection:C,state:O},D),A=T[0],L=T[1],j=o.useCallback((function(e,t){I&&r.current&&I.call(void 0,{value:e,target:r.current,syntheticEvent:t})}),[I]),B=function(e,t,n){var r=o.useState(e),a=r[0],i=r[1];return[a,function(e){var r=function(e,t){switch(t.type){case X.add:break;case X.remove:return e.filter((function(e){return e[t.valueField]!==t.payload}));case X.reorder:break;default:return e}}(t.state||a,ee(ee({},e),t));n&&n(r,e.event),i(r)}]}(e.data||E,{state:e.data,valueField:_},j),V=B[0],F=B[1],z=o.useCallback((function(e,t){return e.push(t[_]),e}),[_]),G=o.useMemo((function(){return e.data||V}),[e.data,V]),K=o.useMemo((function(){return O||A}),[O,A]),H=o.useMemo((function(){return G.reduce(z,[])}),[G,z]),oe=o.useCallback((function(e){return(0,Z.Y)(_)(e)}),[_]),ae=o.useCallback((function(e){return(0,Z.Y)(N)(e)}),[N]),le=function(e){var t=o.useState(null),n=t[0],r=t[1];return[n,function(t){var n=function(e,t){var n=t.items.findIndex((function(t){return t===e}));switch(t.type){case q.next:return n===t.items.length-1?e:t.items[n+1];case q.prev:return 0===n?e:t.items[n-1];case q.current:return t.payload;case q.reset:return null;default:return e}}(t.payload,ee(ee({},t),e));r(n)}]}({items:H}),ce=le[0],ue=le[1],de=(0,$.i)(e,r);return o.createElement(te.Provider,{value:[K,L]},o.createElement(ne.Provider,{value:[ce,ue]},o.createElement(re.Provider,{value:[G,F]},o.createElement("div",ee({ref:a},de,{role:"listbox",id:p,dir:u,style:f,tabIndex:(0,J.p)(h,v,void 0),className:(0,i.A)("k-chip-list",(n={"k-rtl":"rtl"===u,"k-disabled":v},n["k-chip-list-".concat(l.G.sizeMap[m]||m)]=m,n),g),"aria-labelledby":y,"aria-describedby":b}),G.map((function(e,t){return o.createElement(M,{role:"option",dataItem:e,size:m,key:[oe(e),t].join("-"),text:ae(e),value:oe(e)})}))))))})),ae={id:a.string,className:a.string,tabIndex:a.number,data:a.any,defaultData:a.arrayOf(a.any),onDataChange:a.func,value:a.oneOfType([a.any,a.arrayOf(a.any)]),defaultValue:a.oneOfType([a.any,a.arrayOf(a.any)]),onChange:a.func,selection:a.oneOf(["single","none","multiple"]),textField:a.string,valueField:a.string,disabled:a.bool,dir:a.oneOf(["ltr","rtl"]),ariaLabelledBy:a.string,ariaDescribedBy:a.string,size:a.oneOf([null,"small","medium","large"])},ie={chip:se,size:"medium",disabled:!1,defaultValue:null,defaultData:[],dir:"ltr",selection:"none",textField:"text",valueField:"value",removable:"removable"};oe.displayName="KendoReactChipList",oe.propTypes=ae,oe.defaultProps=ie;var le=function(){return le=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},le.apply(this,arguments)},se=o.forwardRef((function(e,t){var n;(0,s.s)(c);var r=o.useRef(null),a=o.useRef(null),u=(0,Y.n)(a,e.dir);o.useImperativeHandle(r,(function(){return{element:a.current,props:e}})),o.useImperativeHandle(t,(function(){return r.current}));var d=o.useContext(te),p=d[0],f=d[1],h=o.useContext(ne),v=h[0],m=h[1],g=o.useContext(re)[1],b=o.useMemo((function(){return e.selected||(Array.isArray(p)?p.some((function(t){return t===e.value})):p===e.value)}),[e.selected,e.value,p]),y=o.useMemo((function(){return v===e.value}),[e.value,v]);o.useEffect((function(){y&&a.current&&a.current.focus()}),[y]);var k=o.useCallback((function(t){f({type:W.toggle,payload:e.value,event:t})}),[f,e.value]),x=o.useCallback((function(t){e.removable&&(g({type:X.remove,payload:e.value,event:t}),m({type:q.reset,payload:e.value,event:t}),f({type:W.remove,payload:e.value,event:t}),e.onRemove&&e.onRemove.call(void 0,{target:r.current,syntheticEvent:t}))}),[e.onRemove,e.value,e.removable,g,m,f]),O=o.useCallback((function(t){switch(t.keyCode){case C.R.left:m({type:q.prev,payload:e.value,event:t});break;case C.R.right:m({type:q.next,payload:e.value,event:t});break;case C.R.enter:f({type:W.toggle,payload:e.value,event:t});break;case C.R.delete:x(t)}e.onKeyDown&&e.onKeyDown.call(void 0,{target:r.current,syntheticEvent:t})}),[e.onKeyDown,e.value,m,f,x]),w=o.useCallback((function(t){m({payload:e.value,type:q.current,event:t}),e.onFocus&&e.onFocus.call(void 0,{target:r.current,syntheticEvent:t})}),[e.onFocus,e.value,m]),E=o.useCallback((function(t){e.onBlur&&e.onBlur.call(void 0,{target:r.current,syntheticEvent:t})}),[e.onBlur]),P=(0,$.i)(e,r,{onClick:k});return o.createElement("div",le({},P,{role:e.role,id:e.value,style:e.style,ref:a,dir:u,tabIndex:(0,J.p)(e.tabIndex,e.disabled,void 0),className:(0,i.A)("k-chip",(n={"k-rtl":"rtl"===u,"k-disabled":e.disabled,"k-selected":b,"k-focus":y},n["k-chip-".concat(l.G.sizeMap[e.size]||e.size)]=e.size,n["k-rounded-".concat(l.G.roundedMap[e.rounded]||e.rounded)]=e.rounded,n["k-chip-".concat(e.fillMode)]=e.fillMode,n["k-chip-".concat(e.fillMode,"-").concat(e.themeColor)]=Boolean(e.fillMode&&e.themeColor),n),e.className),"aria-checked":b,"aria-disabled":e.disabled,"aria-describedby":e.ariaDescribedBy,onFocus:w,onBlur:E,onKeyDown:O}),b&&e.selectedIcon&&o.createElement("span",{className:(0,i.A)("k-chip-icon","k-icon",e.selectedIcon)}),e.icon&&o.createElement("span",{className:(0,i.A)("k-chip-icon","k-icon",e.icon)}),o.createElement("span",{className:"k-chip-content"},void 0!==e.children?e.children:e.text&&o.createElement("span",{"aria-label":e.text,className:"k-chip-label"},e.text)),e.removable&&o.createElement("span",{className:"k-chip-actions"},o.createElement("span",{className:"k-chip-action"},o.createElement("span",{className:(0,i.A)("k-chip-remove-action","k-icon",e.removeIcon),onClick:x}))))})),ce={id:a.string,text:a.string,value:a.any,dir:a.oneOf(["ltr","rtl"]),removable:a.bool,removeIcon:a.string,disabled:a.bool,icon:a.string,selectedIcon:a.string,onRemove:a.func,dataItem:a.any,selected:a.bool,ariaDescribedBy:a.string,size:a.oneOf([null,"small","medium","large"]),rounded:a.oneOf([null,"small","medium","large","full"]),fillMode:a.oneOf([null,"outline","solid"]),themeColor:a.oneOf([null,"base","info","success","warning","error"])};se.displayName="KendoReactChip",se.propTypes=ce,se.defaultProps={disabled:!1,removable:!1,removeIcon:"k-i-x-circle",dir:"ltr",size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base"};var ue=n(8259),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)},pe=o.forwardRef((function(e,t){var n=e.className,r=e.disabled,a=e.text,l=e.icon,s=e.style,c=e.id,u=e.focused,d=e.tabIndex,p=e.index,f=e.dataItem,h=e.item,v=e.onDown,m=e.onClick,g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","disabled","text","icon","style","id","focused","tabIndex","index","dataItem","item","onDown","onClick"]),b=o.useRef(null),y=o.useCallback((function(){b.current&&b.current.focus()}),[]),k=o.useCallback((function(){return{element:b.current,focus:y}}),[y]);o.useImperativeHandle(t,k);var C=o.useCallback((function(e){m&&void 0!==p&&!r&&m(e,p)}),[m,p]),x=o.useMemo((function(){return(0,i.A)("k-fab-item",{"k-focus":u,"k-disabled":r},n)}),[n,r,u]),O=h;return o.createElement("li",de({ref:b,id:c,className:x,style:s,role:"menuitem",tabIndex:(0,J.p)(d,r),"aria-disabled":r,"aria-label":"".concat(a||""," floatingactionbutton item"),onClick:C,onMouseDown:v,onPointerDown:v},g),O?o.createElement(O,{itemIndex:p,item:f}):o.createElement(o.Fragment,null,a&&o.createElement("span",{className:"k-fab-item-text"},a),l&&o.createElement("span",{className:(0,i.A)("k-fab-item-icon k-icon k-i-".concat(l))})))}));pe.propTypes={className:a.string,style:a.object,children:a.any,disabled:a.bool,focused:a.bool,index:a.number,icon:a.string,text:a.string,tabIndex:a.number,customProp:a.any},pe.displayName="KendoFloatingActionButtonItem";var fe="16px",he=function(e){return"number"==typeof e?e+"px":e},ve=function(e,t){var n={horizontal:t?"right":"left",vertical:"bottom"};return"end"===e.horizontal&&(n.horizontal=t?"left":"right"),n},me=function(e,t){var n={horizontal:t?"right":"left",vertical:"top"};return"end"===e.horizontal&&(n.horizontal=t?"left":"right"),n},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},ge.apply(this,arguments)},be=o.forwardRef((function(e,t){(0,s.s)(c);var n=e.align,r=void 0===n?ye.align:n,a=e.alignOffset,u=e.className,d=e.disabled,p=e.icon,f=e.iconClass,h=e.id,v=e.items,m=e.item,g=e.text,b=e.positionMode,y=void 0===b?ye.positionMode:b,O=e.shape,w=void 0===O?ye.shape:O,E=e.size,P=void 0===E?ye.size:E,S=e.style,N=e.rounded,R=void 0===N?ye.rounded:N,I=e.themeColor,M=void 0===I?ye.themeColor:I,D=e.overlayStyle,T=e.tabIndex,A=e.accessKey,L=e.popupSettings,j=void 0===L?{}:L,B=e.modal,V=e.onClick,F=e.onItemClick,z=e.onFocus,G=e.onBlur,K=e.onKeyDown,H=e.onOpen,U=e.onClose,W=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,["align","alignOffset","className","disabled","icon","iconClass","id","items","item","text","positionMode","shape","size","style","rounded","themeColor","overlayStyle","tabIndex","accessKey","popupSettings","modal","onClick","onItemClick","onFocus","onBlur","onKeyDown","onOpen","onClose"]),q=(0,ue.u)(),X=q?q+2:100,Z=o.useRef(null),$=o.useRef(null),Q=o.useRef(null),ee=o.useRef(null),te=o.useCallback((function(){$.current&&$.current.focus()}),[]),ne=o.useCallback((function(){return{element:$.current,focus:te}}),[te]);o.useImperativeHandle(Z,ne),o.useImperativeHandle(t,(function(){return Z.current}));var re=o.useState(!1),oe=re[0],ae=re[1],ie=o.useState(!1),le=ie[0],se=ie[1],ce=o.useState(-1),de=ce[0],be=ce[1],ke=o.useMemo((function(){return(0,k.M)()}),[]),Ce=(0,Y.n)($,e.dir),xe="rtl"===Ce,Oe=o.useMemo((function(){return(0,k.M)()}),[]);o.useEffect((function(){!function(e,t,n,r){var o=t.horizontal,a=t.vertical;if(e.current){var i=n&&void 0!==n.x?he(n.x):fe,l=n&&void 0!==n.x?"calc(50% + ".concat(he(n.x),")"):"50%",s=n&&void 0!==n.y?he(n.y):fe,c=n&&void 0!==n.y?"calc(50% + ".concat(he(n.y),")"):"50%";e.current.style.setProperty(function(e,t){return{end:t?"left":"right",center:"left",start:t?"right":"left"}[e.horizontal||"end"]}(t,r),"center"===o?l:i),e.current.style.setProperty(function(e){return{top:"top",middle:"top",bottom:"bottom"}[e.vertical||"bottom"]}(t),"middle"===a?c:s),r&&("top"!==a&&"bottom"!==a||"start"!==o||e.current.style.setProperty("left","unset"),"middle"===a&&"end"===o&&e.current.style.setProperty("right","unset"),"middle"===a&&"start"===o&&e.current.style.setProperty("left","unset"))}}($,r,a,xe)}),[$,r,a,xe]),o.useEffect((function(){le&&$&&$.current&&$.current.focus()}),[le,$]);var we=o.useCallback((function(e,t){v&&(0,x.N)(t?H:U,e,ne(),void 0)}),[H,U,v]),Ee=o.useCallback((function(e){e.target&&!d&&(!v&&V?(0,x.N)(V,e,ne(),void 0):(ae(!oe),se(!0),be(oe?-1:0),we(e,!oe)))}),[ae,se,be,V,we,oe,v,d]),Pe=o.useCallback((function(e){se(!0),be(oe?0:-1),z&&(0,x.N)(z,e,ne(),void 0)}),[z,se,be]),_e=o.useCallback((function(e){se(!1),ae(!1),be(-1),(0,x.N)(G,e,ne(),void 0),oe&&we(e,!1)}),[G,se,ae,be,we]),Se=o.useCallback((function(e){e.preventDefault()}),[]),Ne=o.useCallback((function(e,t){v&&(v[t].disabled||(0,x.N)(F,e,ne(),{itemProps:v[t],itemIndex:t}))}),[F]),Re=o.useCallback((function(e,t){e.target&&v&&(be(t),ae(!1),Ne(e,t),we(e,!1))}),[be,ae,Ne,we]),Ie=o.useCallback((function(e){document.activeElement===$.current&&e.preventDefault()}),[$,document.activeElement]),Me=o.useCallback((function(e){var t=de,n=v?v.length-1:-1,o="bottom"===r.vertical;switch(e.keyCode){case C.R.enter:case C.R.space:t>=0&&Ne(e,t),e.preventDefault(),ae(!oe),be(oe?-1:0);break;case C.R.esc:e.preventDefault(),ae(!1),be(-1);break;case C.R.home:e.preventDefault(),be(0);break;case C.R.end:e.preventDefault(),be(n);break;case C.R.down:case C.R.right:e.preventDefault(),t<n&&!o&&be(t+1),t>0&&o&&be(t-1);break;case C.R.up:case C.R.left:e.preventDefault(),t>0&&!o&&be(t-1),t<n&&o&&be(t+1)}(0,x.N)(K,e,ne(),void 0)}),[K,de,be,xe,ae]),De=o.useMemo((function(){var e;return(0,i.A)("k-fab k-fab-solid",((e={})["k-fab-".concat(w)]=w,e["k-fab-sm"]="small"===P,e["k-fab-md"]="medium"===P,e["k-fab-lg"]="large"===P,e["k-disabled"]=d,e["k-pos-absolute"]="absolute"===y,e["k-pos-fixed"]="fixed"===y,e["k-focus"]=le,e["k-rounded-".concat(l.G.roundedMap[R]||R)]=R,e["k-fab-solid-".concat(M)]=M,e),"k-".concat(r.vertical,"-").concat(r.horizontal),u)}),[M,P,R,w,d,y,r,le,u]),Te=v&&v.map((function(e,t){return o.createElement(pe,ge({},e,{key:t,index:t,id:"".concat(Oe,"-").concat(t),disabled:d||e.disabled,focused:de===t,dataItem:e,item:m,className:(0,i.A)(e.className,(n=Ce||"ltr",a=r.horizontal,{rtl:{end:"k-text-left",start:"k-text-right"},ltr:{start:"k-text-left",end:"k-text-right"}}[n]["end"===a?"end":"start"])),onClick:Re,onDown:Ie}));var n,a})),Ae=p&&!g,Le=($.current?$.current.offsetWidth:0)/2-16;return o.createElement(ue.$.Provider,{value:X},o.createElement(o.Fragment,null,o.createElement("button",ge({ref:$,id:h||ke,role:v?"menubutton":"button",type:"button","aria-disabled":d,"aria-expanded":v?oe:void 0,"aria-haspopup":!!v,"aria-label":"".concat(g||""," floatingactionbutton"),"aria-owns":v?Oe:void 0,"aria-activedescendant":de>=0&&v?"".concat(Oe,"-").concat(de):void 0,tabIndex:(0,J.p)(T,d),accessKey:A,dir:Ce,disabled:d,className:De,style:S,onClick:Ee,onMouseDown:Se,onFocus:Pe,onBlur:_e,onKeyDown:Me},W),p?o.createElement("span",{role:"presentation",className:(0,i.A)("k-fab-icon k-icon k-i-".concat(p))}):f?o.createElement("span",{role:"presentation",className:f}):null,g&&o.createElement("span",{className:"k-fab-text"},g)),B&&oe&&o.createElement("div",{className:"k-overlay",style:ge({zIndex:X},D)}),o.createElement(_.G,{ref:ee,anchor:$.current,show:oe,animate:j.animate,popupClass:(0,i.A)("k-popup-transparent k-fab-popup",j.popupClass),anchorAlign:j.anchorAlign||ve(r,xe),popupAlign:j.popupAlign||me(r,xe),style:{boxShadow:"none"}},o.createElement("ul",{ref:Q,role:"menu","aria-labelledby":h,id:Oe,className:(0,i.A)("k-fab-items",{"k-fab-items-bottom":"bottom"!==r.vertical,"k-fab-items-top":"bottom"===r.vertical}),style:{paddingLeft:Ae?Le:void 0,paddingRight:Ae?Le:void 0}},Te))))}));be.propTypes={className:a.string,style:a.object,id:a.string,dir:a.string,tabIndex:a.number,accessKey:a.string,disabled:a.bool,icon:a.string,iconClass:a.string,text:a.string,alignOffset:a.shape({x:a.oneOfType([a.number,a.string]),y:a.oneOfType([a.number,a.string])}),align:a.shape({vertical:a.oneOf(["top","middle","bottom"]),horizontal:a.oneOf(["start","center","end"])}),positionMode:a.oneOf(["absolute","fixed"]),shape:a.oneOf([null,"rectangle","square"]),size:a.oneOf([null,"small","medium","large"]),rounded:a.oneOf([null,"small","medium","large","full"]),themeColor:a.oneOf([null,"primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"]),modal:a.bool,overlayStyle:a.object};var ye={align:{vertical:"bottom",horizontal:"end"},shape:"rectangle",size:"medium",rounded:"full",themeColor:"primary",positionMode:"fixed"};be.displayName="KendoFloatingActionButton"},5935:(e,t,n)=>{n.r(t),n.d(t,{Error:()=>f,FloatingLabel:()=>g,Hint:()=>h,Label:()=>p});var r,o=n(3899),a=n(189),i=n(8047),l="labels.optional",s=((r={})[l]="(Optional)",r),c=n(499),u=n(4006),d={name:"@progress/kendo-react-labels",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1660031375,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"},p=function(e){(0,u.s)(d);var t=e.id,n=e.editorId,r=e.editorRef,a=e.editorDisabled,p=e.children,f=e.editorValid,h=e.style,v=e.className,m=e.optional,g=(0,c.useLocalization)(),b=m?g.toLanguageString(l,s[l]):"",y=b&&o.createElement("span",{className:"k-label-optional"},b),k=o.useCallback((function(e){if(r&&r.current&&!a){r.current.focus&&(e.preventDefault(),r.current.focus());var t=r.current.actionElement;t&&(e.preventDefault(),t.click())}}),[r]),C=(0,i.A)({"k-label":!0,"k-label-empty":!p,"k-text-error":!1===f,"k-text-disabled":!0===a},v);return o.createElement("label",{id:t,htmlFor:n,onClick:k,style:h,className:C},p,y)};p.propTypes={id:a.string,editorId:a.string,editorRef:a.oneOfType([a.func,a.shape({current:a.any})]),editorValid:a.bool,editorDisabled:a.bool,style:a.object,className:a.string,optional:a.bool},p.displayName="KendoReactLabel";var f=function(e){(0,u.s)(d);var t=(0,i.A)({"k-form-error":!0,"k-text-start":"start"===e.direction,"k-text-end":"end"===e.direction},e.className);return o.createElement("div",{id:e.id,role:"alert",style:e.style,className:t},e.children)};f.propTypes={id:a.string,direction:a.oneOf(["start","end"]),children:a.oneOfType([a.element,a.node]),style:a.object,className:a.string},f.defaultProps={direction:"start"},f.displayName="KendoReactError";var h=function(e){(0,u.s)(d);var t=(0,i.A)({"k-form-hint":!0,"k-text-start":"start"===e.direction,"k-text-end":"end"===e.direction,"k-text-disabled":!0===e.editorDisabled},e.className);return o.createElement("div",{id:e.id,style:e.style,className:t},e.children)};h.propTypes={id:a.string,direction:a.oneOf(["start","end"]),children:a.oneOfType([a.element,a.node]),style:a.object,className:a.string,editorDisabled:a.bool},h.defaultProps={direction:"start"},h.displayName="KendoReactHint";var v,m=(v=function(e,t){return v=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])},v(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}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=function(e){function t(t){var n=e.call(this,t)||this;return n.state={focused:!1},n.handleFocus=function(e){n.setState({focused:!0})},n.handleBlur=function(e){n.setState({focused:!1})},(0,u.s)(d),n}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.editorId,r=e.className,a=e.editorValue,u=e.editorPlaceholder,d=e.editorValid,p=e.editorDisabled,f=e.style,h=e.id,v=e.optional,m=(0,c.provideLocalizationService)(this),g=v?m.toLanguageString(l,s[l]):"",b=g&&o.createElement("span",{className:"k-label-optional"},g),y=(0,i.A)({"k-floating-label-container":!0,"k-focus":this.state.focused,"k-empty":!u&&!a&&0!==a,"k-text-disabled":p,"k-rtl":"rtl"===this.props.dir},r),k=(0,i.A)({"k-label":!0,"k-text-error":!1===d,"k-text-disabled":p});return o.createElement("span",{id:this.props.id,className:y,onFocus:this.handleFocus,onBlur:this.handleBlur,style:f,dir:this.props.dir},this.props.children,t?n?o.createElement("label",{id:h,htmlFor:n,className:k},t,b):o.createElement("span",{id:h,className:k},t,b):null)},t.propTypes={label:a.string,editorId:a.string,editorValue:a.oneOfType([a.string,a.bool,a.number]),editorPlaceholder:a.string,editorValid:a.bool,editorDisabled:a.bool,id:a.string,style:a.object,className:a.string,optional:a.bool},t}(o.Component);(0,c.registerForLocalization)(g)},9222:(e,t,n)=>{n.d(t,{G:()=>le,v:()=>ie});var r=n(3899),o=n(994),a=n(189),i=function(e){e.style.transitionDuration="",Array.from(e.classList).forEach((function(t){t.startsWith("k-slide-")&&e.classList.remove(t)}))},l="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent),s=n(4006),c=n(7827),u=n(8259),d=n(8047);const p="bottom",f="center",h="middle",v="left",m="right",g="top",b="fit",y="flip",k="none";var C,x,O,w=function(e,t,n){var r=0;return e+t>n&&(r=n-(e+t)),e<0&&(r=-e),r},E=function(e){var t=e.offset,n=e.size,r=e.anchorSize,o=e.viewPortSize,a=e.anchorAlignPoint,i=e.elementAlignPoint,l=0,s=2*e.margin;if(i!==a&&i!==f&&i!==h&&a!==f&&a!==h){var c=a===g||a===v;t<0&&c?t+(l=n+r+s)+n>o&&(l=0):t>=0&&!c&&(t+n>o&&(l+=-(r+n+s)),t+l<0&&(l=0))}return l},P=(C=function(e){if(!_())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},O=!1,function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return O||(x=C.apply(void 0,e),O=!0),x}),_=function(){return Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)};const S={eitherRect:function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},scaleRect:function(e,t){return e&&1!==t?{height:e.height/t,left:e.left/t,top:e.top/t,width:e.width/t}:e},removeStackingOffset:function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e},hasRelativeStackingContext:P,canUseDOM:_};function N(e){return e.ownerDocument||e.document||e}const R=function(e){return N(e).defaultView},I=function(e){return N(e).documentElement};var M=0;function D(){if(!M&&"undefined"!=typeof document){var e=document.createElement("div");e.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML="&nbsp;",document.body.appendChild(e),M=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)}return M}function T(e){var t=R(e),n=I(e),r={height:t.innerHeight,width:t.innerWidth};return n.scrollHeight-n.clientHeight>0&&(r.width-=D()),r}function A(e){var t=I(e),n=R(e);return{x:n.pageXOffset||t.scrollLeft||0,y:n.pageYOffset||t.scrollTop||0}}const L=function(e){var t=e.getBoundingClientRect(),n=t.left,r=t.top;return t.height||t.width||(t=function(e){var t=e.style,n=t.display,r=t.left,o=t.position;e.style.display="",e.style.left="-10000px",e.style.position="absolute";var a=e.getBoundingClientRect();return e.style.display=n,e.style.left=r,e.style.position=o,a}(e)),{top:r,left:n,height:t.height,width:t.width}};function j(e){return e===(e.ownerDocument||{}).body?A(e):{x:e.scrollLeft,y:e.scrollTop}}const B=function(e){for(var t=e.offsetParent;t&&"static"===t.style.position;)t=t.offsetParent;return t||I(e)};function V(e,t){for(var n=[],r=e.parentNode;r&&(n.push(r),r!==t);)r=r.parentNode;return n}function F(e){for(var t=[],n=e.parentNode.firstElementChild;n;)n!==e&&t.push(n),n=n.nextElementSibling;return t}var z=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],G=function(){return S.canUseDOM()?window:null},K=/auto|scroll/,H=function(e){return function(e){return""+e.style.overflow+e.style.overflowX+e.style.overflowY}(e)||function(e){var t=window.getComputedStyle(e);return""+t.overflow+t.overflowX+t.overflowY}(e)},U=function(e){if(!e||!S.hasRelativeStackingContext())return null;for(var t=e.parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null},W=function(){return S.canUseDOM()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},q={addOffset:function(e,t){return{left:e.left+t.left,top:e.top+t.top}},addScroll:function(e,t){return{top:e.top+t.y,left:e.left+t.x,height:e.height,width:e.width}},align:function(e){var t=e.anchorRect,n=e.anchorAlign,r=e.elementRect,o=e.elementAlign,a=e.margin;void 0===a&&(a={});var i=n.horizontal,l=n.vertical,s=o.horizontal,c=o.vertical,u=a.horizontal||0,d=a.vertical||0,v=t.top,g=t.left;return l===p&&(v+=t.height),l!==f&&l!==h||(v+=Math.round(t.height/2)),c===p&&(v-=r.height,d*=-1),c!==f&&c!==h||(v-=Math.round(r.height/2),d*=-1),i===m&&(g+=t.width),i!==f&&i!==h||(g+=Math.round(t.width/2)),s===m&&(g-=r.width,u*=-1),s!==f&&s!==h||(g-=Math.round(r.width/2),u*=-1),{top:v+d,left:g+u}},boundingOffset:function(e){if(!e.getBoundingClientRect){var t=T(e);return{bottom:t.height,left:0,right:t.width,top:0}}var n=e.getBoundingClientRect();return{bottom:n.bottom,left:n.left,right:n.right,top:n.top}},getFontStyles:function(e){var t=G();if(!t||!e)return[];var n=t.getComputedStyle(e);return z.map((function(e){return{key:e,value:n[e]}}))},getWindow:G,hasOffsetParent:function(e){return!!e&&Boolean(e.offsetParent)},offset:function(e){return e?L(e):null},offsetAtPoint:function(e,t){if(!e)return null;var n=e.style,r=n.left,o=n.top,a=n.transition;e.style.transition="none",e.style.left=t.left+"px",e.style.top=t.top+"px";var i=L(e);return e.style.left=r,e.style.top=o,e.offsetHeight,e.style.transition=a,i},position:function(e,t,n){return e&&t?function(e,t,n){void 0===n&&(n=1);var r=t?B(t):null,o=function(e,t){var n=R(e),r=n.getComputedStyle(e),o=L(e),a=t||B(e),i=e.ownerDocument,l=a!==i.body&&a!==i.documentElement,s={top:0,left:0};if("fixed"!==r.position&&l){var c=n.getComputedStyle(a);(s=L(a)).top+=parseInt(c.borderTopWidth,10),s.left+=parseInt(c.borderLeftWidth,10)}return{top:o.top-s.top,left:o.left-s.left,height:o.height,width:o.width}}(e,r),a=o.top,i=o.left,l=o.height,s=o.width,c=function(e,t){return e?j(e):function(e){var t=B(e);return t?j(t):{x:0,y:0}}(t)}(r,e),u=c.x,d=c.y,p=e.ownerDocument,f=r===p.body||r===p.documentElement?1:n;return{top:a+d*f,left:i+u*f,height:l,width:s}}(e,t,n||1):null},removeScroll:function(e,t){return{top:e.top-t.y,left:e.left-t.x,height:e.height,width:e.width}},restrictToView:function(e){var t=e.anchorRect,n=e.anchorAlign,r=e.elementRect,o=e.elementAlign,a=e.collisions,i=e.viewPort,l=e.margin;void 0===l&&(l={});var s=r.top,c=r.left,u=r.height,d=r.width,p=i.height,f=i.width,h=l.horizontal||0,v=l.vertical||0,m=0,g=0,k=a.vertical===b,C=a.horizontal===b,x=a.vertical===y,O=a.horizontal===y;k&&(g+=w(s,u,p)),C&&(m+=w(c,d,f)),x&&(g+=E({margin:v,offset:s,size:u,anchorSize:t.height,viewPortSize:p,anchorAlignPoint:n.vertical,elementAlignPoint:o.vertical})),O&&(m+=E({margin:h,offset:c,size:d,anchorSize:t.width,viewPortSize:f,anchorAlignPoint:n.horizontal,elementAlignPoint:o.horizontal}));var P=x&&0!==g,_=O&&0!==m,S=k&&0!==g,N=C&&0!==m;return{flipped:_||P,fitted:S||N,flip:{horizontal:_,vertical:P},fit:{horizontal:N,vertical:S},offset:{left:m,top:g}}},scrollPosition:A,scrollableParents:function(e){var t=[];if(!S.canUseDOM())return t;for(var n=e.parentElement;n;)(K.test(H(n))||n.hasAttribute("data-scrollable"))&&t.push(n),n=n.parentElement;return t.push(window),t},getRelativeContextElement:U,stackingElementOffset:function(e){var t=U(e);return t?L(t):null},stackingElementScroll:function(e){var t=U(e);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},stackingElementViewPort:function(e){var t=U(e);return t?{height:t.scrollHeight,width:t.scrollWidth}:null},useRelativePosition:function(e){return Boolean(U(e))},windowViewPort:T,zoomLevel:W,isZoomed:function(){return W()>1},zIndex:function(e,t){if(!e||!S.canUseDOM())return null;var n=function(e,t){for(var n,r,o=V(e),a=t;a&&(n=F(a),!(r=o.reduce((function(e,t){return e.concat(n.filter((function(e){return e===t})))}),[])[0]));)a=a.parentElement;return r}(e,t);if(!n)return null;var r=[e].concat(V(e,n)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,r=parseInt(n,10);return r>e?r:e}),0);return r?r+1:null}};const X=q;const Y=function(e){var t=e.anchor,n=e.element,r=e.anchorAlign,o=e.elementAlign,a=e.margin,i=e.offset,l=e.positionMode,s=e.scale||1,c="fixed"!==l&&X.hasOffsetParent(n)?function(e,t,n,r){var o=S.eitherRect(X.position(e,t,r),n);return S.scaleRect(o,r)}(t,n,i,s):function(e,t,n,r){var o=function(e,t){return e?{x:0,y:0}:X.scrollPosition(t)}(e,t),a=S.eitherRect(X.offset(e),n),i=2*r,l=X.stackingElementScroll(t);1!==r&&l&&(l.x/=i,l.y/=i);var s=X.stackingElementOffset(t);return 1!==r&&s&&(s.left/=i,s.top/=i),X.removeScroll(X.addScroll(S.removeStackingOffset(S.scaleRect(a,r),s),l),o)}(t,n,i,s),u=S.scaleRect(X.offset(n),s);return X.align({anchorAlign:r,anchorRect:c,elementAlign:o,elementRect:u,margin:a})};var Z,$={name:"@progress/kendo-react-popup",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1660031236,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"},J=(Z=function(e,t){return Z=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])},Z(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}Z(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Q=function(){return Q=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},Q.apply(this,arguments)};function ee(e,t){if(e===t)return!0;if(!!e!=!!t)return!1;var n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyNames(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++){var a=n[o];if(e[a]!==t[a])return!1}return!0}var te,ne={left:-1e3,top:0};!function(e){e.hiding="hiding",e.hidden="hidden",e.showing="showing",e.shown="shown",e.reposition="reposition"}(te||(te={}));var re="k-animation-container-shown",oe=function(e){function t(t){var n=e.call(this,t)||this;return n.context=0,n.state={current:te.hidden,previous:te.hidden,props:{}},n._popup=null,n.show=function(e){n.setPosition(e),n.animate(e.firstChild,"enter",n.onOpened),n.setState({current:te.shown,previous:n.state.current})},n.setPosition=function(e){var t=n.props,r=t.anchorAlign,o=t.popupAlign,a=t.collision,i=t.offset,l=t.anchor,s=t.margin,c=t.scale,u=t.positionMode,d=function(e){var t=e.anchor,n=e.currentLocation,r=e.element,o=e.anchorAlign,a=e.elementAlign,i=e.collisions,l=e.margin,s=e.scale||1,c=X.offsetAtPoint(r,n),u=S.scaleRect(c,s),d=S.scaleRect(X.offset(t),s),p=S.eitherRect(d,n),f=e.viewPort||X.windowViewPort(r);f.width=f.width/s,f.height=f.height/s;var h=X.restrictToView({anchorAlign:o,anchorRect:p,collisions:i,elementAlign:a,elementRect:u,margin:l,viewPort:f}),v=X.addOffset(n,h.offset);return{flip:h.flip,flipped:h.flipped,offset:v}}({anchor:l,anchorAlign:r,element:e,elementAlign:o,collisions:a,currentLocation:Y({anchor:l,anchorAlign:r,element:e,elementAlign:o,offset:i,margin:s,positionMode:u,scale:c}),margin:n.props.margin});if(e.style.top=d.offset.top+"px",e.style.left=d.offset.left+"px",n._collisions={fit:d.fit,fitted:d.fitted,flip:d.flip,flipped:d.flipped},n.props.onPosition){var p={target:n,flipped:d.flipped,fitted:d.fitted};n.props.onPosition.call(void 0,p)}},n.onOpened=function(){var e=n._popup;e&&(n.props.show&&e.classList.add(re),n.attachRepositionHandlers(e),n.props.onOpen&&n.props.onOpen.call(void 0,{target:n}))},n.animate=function(e,t,r){if(n.props.popupAlign){var o,a=n.props.popupAlign,s=a.horizontal,c=a.vertical;o="left"===s&&"center"===c?"right":"right"===s&&"center"===c?"left":"top"===c?"down":"up",n._collisions&&n._collisions.flipped&&(o={down:"up",up:"down",left:"right",right:"left"}[o]),function(e,t,n,r,o){if(0===n)return o();var a="k-slide-"+t+"-"+r,s=a+"-active",c=function(t){t.target===e&&(e.removeEventListener("transitionend",c),i(e),"exit"===r&&(e.style.display="none"),o())};e.addEventListener("transitionend",c);var u=e.ownerDocument;if(u){var d=u.defaultView;if(d){var p=function(){i(e),e.classList.add(a),d.requestAnimationFrame((function(){e.style.transitionDuration=n+"ms",e.classList.add(s)}))};l?d.requestAnimationFrame(p):p()}}}(e,o,n.animationDuration[t],t,r)}},n.onClosing=function(e){n.props.show||e.classList.remove(re),n.detachRepositionHandlers()},n.onClosed=function(){n.state.current===te.hiding&&n.state.previous===te.shown&&n.setState({current:te.hidden,previous:n.state.current}),n.props.onClose&&n.props.onClose.call(void 0,{target:n})},n.getCurrentZIndex=function(){return n.context?n.context+1:100},(0,s.s)($),n.reposition=function(e,t,n){var r,o,a,i;void 0===n&&(n={});var l=0;n=n||{};var s=function(){l=!1===n.leading?0:(new Date).getTime(),r=void 0,i=e.apply(o,a),r||(o=a=null)};return function(){var c=(new Date).getTime();l||!1!==n.leading||(l=c);var u=t-(c-l);return o=void 0,a=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=void 0),l=c,i=e.apply(o,a),r||(o=a=null)):r||!1===n.trailing||(r=window.setTimeout(s,u)),i}}(n.reposition.bind(n),16.666666666666668),n}return J(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._popup},enumerable:!1,configurable:!0}),t.getDerivedStateFromProps=function(e,t){var n=e.show,r=e.anchor,o=e.anchorAlign,a=e.appendTo,i=e.collision,l=e.popupAlign,s=e.className,c=e.popupClass,u=e.style,d=e.offset,p=e.contentKey,f=Q(Q({},t),{props:{show:n,anchor:r,anchorAlign:o,appendTo:a,collision:i,popupAlign:l,className:s,popupClass:c,style:u,offset:d,contentKey:p}});return e.show?t.current===te.hidden||t.current===te.hiding?Q(Q({},f),{current:te.showing,previous:t.current}):t.current===te.showing?Q(Q({},f),{current:te.shown,previous:t.current}):t.current!==te.shown||ee(d,t.props.offset)&&ee(o,t.props.anchorAlign)&&ee(a,t.props.appendTo)&&ee(i,t.props.collision)&&ee(l,t.props.popupAlign)&&ee(u,t.props.style)&&r===t.props.anchor&&c===t.props.popupClass&&s===t.props.className?f:Q(Q({},f),{current:te.reposition,previous:t.current}):t.current===te.hiding||t.current===te.hidden?Q(Q({},f),{current:te.hidden,previous:t.current}):Q(Q({},f),{current:te.hiding,previous:t.current})},t.prototype.componentDidUpdate=function(e){this.state.current===te.showing&&this._popup?this.show(this._popup):this.state.current===te.hiding&&this._popup?(this.onClosing(this._popup),this.animate(this._popup.firstChild,"exit",this.onClosed)):this.state.current===te.reposition&&this.state.previous===te.shown?this.setState({current:te.shown,previous:this.state.current}):this.state.current===te.shown&&e.contentKey!==this.props.contentKey&&this._popup&&this.setPosition(this._popup)},t.prototype.componentDidMount=function(){this.state.current===te.showing&&this._popup&&this.show(this._popup)},t.prototype.componentWillUnmount=function(){this.detachRepositionHandlers()},t.prototype.render=function(){var e=this,t=this.props,n=t.children,a=t.className,i=t.popupClass,l=t.show,s=t.id,p=t.positionMode,f=this.props.appendTo?this.props.appendTo:c.N?this.props.anchor&&this.props.anchor.ownerDocument?this.props.anchor.ownerDocument.body:document.body:void 0;this.state.current===te.reposition&&this.state.previous===te.shown&&this._popup&&this.setPosition(this._popup);var h=Object.assign({},{position:p,top:0,left:-1e4},this.props.style||{}),v=this.state.current===te.hiding;if((l||v)&&f){var m=this.getCurrentZIndex(),g=r.createElement(u.$.Provider,{value:m},r.createElement("div",{className:(0,d.A)("k-animation-container","k-animation-container-relative",a),id:s,ref:function(t){return e._popup=t},style:Q({zIndex:m},h)},r.createElement("div",{className:(0,d.A)("k-popup",i,"k-child-animation-container"),style:{transitionDelay:"0ms"}},n)));return null!==this.props.appendTo?o.createPortal(g,f):g}return null},Object.defineProperty(t.prototype,"animationDuration",{get:function(){var e=this.props.animate,t=0,n=0;return e&&(!0===e?t=n=300:(t=e.openDuration||0,n=e.closeDuration||0)),{enter:t,exit:n}},enumerable:!1,configurable:!0}),t.prototype.attachRepositionHandlers=function(e){var t=this;this.detachRepositionHandlers(),this._scrollableParents=X.scrollableParents(this.props.anchor||e),this._scrollableParents&&this._scrollableParents.map((function(e){return e.addEventListener("scroll",t.reposition)})),window.addEventListener("resize",this.reposition)},t.prototype.detachRepositionHandlers=function(){var e=this;this._scrollableParents&&(this._scrollableParents.map((function(t){return t.removeEventListener("scroll",e.reposition)})),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},t.prototype.reposition=function(){this.setState({current:te.reposition,previous:this.state.current})},t.propTypes={anchor:function(e){var t=e.anchor;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed."):null},appendTo:function(e){var t=e.appendTo;return t&&"number"!=typeof t.nodeType?new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed."):null},className:a.oneOfType([a.string,a.arrayOf(a.string),a.object]),id:a.string,popupClass:a.oneOfType([a.string,a.arrayOf(a.string),a.object]),collision:a.shape({horizontal:a.oneOf([b,y,k]),vertical:a.oneOf([b,y,k])}),anchorAlign:a.shape({horizontal:a.oneOf([v,f,m]),vertical:a.oneOf([g,f,p])}),popupAlign:a.shape({horizontal:a.oneOf([v,f,m]),vertical:a.oneOf([g,f,p])}),offset:a.shape({left:a.number,top:a.number}),children:a.oneOfType([a.element,a.node]),show:a.bool,animate:a.oneOfType([a.bool,a.shape({openDuration:a.number,closeDuration:a.number})]),margin:a.shape({horizontal:a.number,vertical:a.number}),positionMode:a.oneOf(["fixed","absolute"]),scale:a.number,style:a.object,onClose:a.func,onPosition:a.func,onOpen:a.func},t.defaultProps={collision:{horizontal:b,vertical:y},anchorAlign:{horizontal:v,vertical:p},popupAlign:{horizontal:v,vertical:g},offset:ne,animate:!0,show:!1,margin:{horizontal:0,vertical:0},positionMode:"absolute"},t.contextType=u.$,t.displayName="PopupComponent",t}(r.Component),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},ae.apply(this,arguments)},ie=r.createContext((function(e){return e})),le=r.forwardRef((function(e,t){var n=r.useContext(ie).call(void 0,e);return r.createElement(oe,ae({ref:t},n))}));le.displayName="Popup"},5362:(e,t,n)=>{n.r(t),n.d(t,{Popup:()=>r.G,PopupPropsContext:()=>r.v});var r=n(9222)},7827:(e,t,n)=>{n.d(t,{N:()=>r});var r=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)},8047:(e,t,n)=>{n.d(t,{A:()=>r});var r=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(" ")}},8259:(e,t,n)=>{n.d(t,{$:()=>o,u:()=>a});var r=n(3899),o=r.createContext(0),a=function(){return r.useContext(o)};o.displayName="KendoReactZIndexContext"},5407:(e,t,n)=>{function r(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}n.d(t,{N:()=>r})},4100:(e,t,n)=>{n.d(t,{E:()=>o});var r=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function o(e){var t=[];return e.replace(r,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}},4703:(e,t,n)=>{n.d(t,{p:()=>r});var r=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}},9659:(e,t,n)=>{n.d(t,{Y:()=>a});var r=n(4100),o={};function a(e){if(o[e])return o[e];var t=(0,r.E)(e);return o[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},o[e]}o.undefined=function(){}},3198:(e,t,n)=>{n.d(t,{M:()=>r});var r=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}},8199:(e,t,n)=>{n.d(t,{n:()=>o});var r=n(3899);function o(e,t,n){var o=r.useState(t),a=o[0],i=o[1];return r.useEffect((function(){if(!a&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),a}},3322:(e,t,n)=>{n.d(t,{i:()=>o});var r=n(3899),o=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]),a=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:a,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])}}},3493:(e,t,n)=>{n.d(t,{R:()=>r});var r={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}},3859:(e,t,n)=>{n.r(t),n.d(t,{AsyncFocusBlur:()=>G,BrowserSupportService:()=>a,COLLECTION_ACTION:()=>Y,DragAndDrop:()=>Pe,Draggable:()=>Be,Droppable:()=>Fe,FormComponent:()=>m,Icon:()=>oe,Keys:()=>k.R,SvgIcon:()=>le,Typography:()=>ye,ZIndexContext:()=>r.$,canUseDOM:()=>i.N,canUseRef:()=>l,classNames:()=>s.A,clone:()=>d,cloneArray:()=>h,cloneDate:()=>u,cloneObject:()=>p,cloneValue:()=>f,createPropsContext:()=>U,dispatchEvent:()=>B.N,extendDataItem:()=>T,focusFirstFocusableChild:()=>v,getItemPath:()=>A,getScrollbarWidth:()=>x,getTabIndex:()=>g.p,getter:()=>b.Y,guid:()=>y.M,hasRelativeStackingContext:()=>j,kendoThemeMaps:()=>ze.G,mapTree:()=>M,mapTreeItem:()=>D,noop:()=>C,setScrollbarWidth:()=>O,setter:()=>_,useAsyncFocusBlur:()=>F,useCollection:()=>J,useCustomComponent:()=>$,useDir:()=>q.n,useDocument:()=>Q,useDraggable:()=>je,useDroppable:()=>Ve,useMouse:()=>Z.i,usePropsContext:()=>K,useRtl:()=>X,useWindow:()=>ee,useZIndexContext:()=>r.u,validatePackage:()=>L.s,withPropsContext:()=>W});var r=n(8259),o=function(){return"undefined"!=typeof document?document:{}},a=function(){function e(){this.scrollbar=0}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=o();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}(),i=n(7827),l=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=n(8047),c=n(3899),u=function(e){return e?new Date(e.getTime()):null};function d(e){var t={};return p(e,t),t}function p(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=f(r,t[n])}}function f(e,t){if(Array.isArray(e))return h(e);if(e instanceof Date)return u(e);if(c.isValidElement(e))return c.cloneElement(e,e.props);if(e&&"object"==typeof e){var n=t||{};return p(e,n),n}return e}function h(e){return e.map((function(e){return f(e,void 0)}))}var v=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()}},m=function(){},g=n(4703),b=n(9659),y=n(3198),k=n(3493),C=function(){},x=function(){return!(!i.N||!document.body)&&(new a).scrollbarWidth},O=function(){if(!i.N||!document.body)return!1;var e=(new a).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width","".concat(e,"px"))},w=n(4100),E={undefined:function(e){return e}},P=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function _(e){if(E[e])return E[e];var t=(0,w.E)(e);return E[e]=function(e,n,r){for(var o=e,a=t.length-1,i=0;i<a&&o;i++)o=o[t[i]]=o[t[i]]||P(t[i+1],r);o[t[a]]=n},E[e]}var S=function(){return S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},S.apply(this,arguments)},N=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;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?S(S({},e),((r={})[t]=n.length?N([],n,!0):void 0,r)):e&&e[t]?N([],e[t],!0):[]}function I(e,t,n){if(e[t]){var r=R(e,t).map((function(e){return I(e,t,n)}));return n(R(e,t,r))}return n(e)}var M=function(e,t,n){return N([],e.map((function(e){return I(e,t,n)})),!0)},D=function(e,t,n,r){for(var o=e,a=[],i=0;i<t.length;i++)o=o[t[i]],o=Array.isArray(o)?o:o[n],a.push(o);var l=a.length>1?a[a.length-2]:e,s=t[t.length-1],c=r(l[s]);l.splice(s,1,c)},T=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=N([],t,!0);if(o.length){var a=e[o.shift()||0];for(r.push(a);o.length&&n;)a=a[n][o.shift()||0],r.push(a)}return r},L=n(4006),j=function(e){if(!i.N)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},B=n(5407),V=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;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 F(e){var t=e.onFocus,n=e.onBlur,r=e.onSyncFocus,o=e.onSyncBlur,a=c.useRef(!1),i=c.useRef(0),l=c.useCallback((function(e){clearTimeout(i.current),i.current=window.setTimeout((function(){return e()}))}),[i]),s=c.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(i.current),r&&r.call(void 0,e[0]),a.current||(a.current=!0,t&&t.call.apply(t,V([void 0],e,!1)))}),[a,t,r]),u=c.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];o&&o.call(void 0,e[0]),l((function(){a.current&&n&&(a.current=!1,n.call.apply(n,V([void 0],e,!1)))}))}),[a,l,n,o]);return c.useEffect((function(){return function(){clearTimeout(i.current)}}),[]),{onFocus:s,onBlur:u}}var z=function(){return z=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},z.apply(this,arguments)},G=function(e){var t=e.children,n=F({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return c.createElement(c.Fragment,null,t.call(void 0,z({},n)))},K=function(e,t){return c.useContext(e)(t)},H=function(){return H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},H.apply(this,arguments)},U=function(){return c.createContext((function(e){return e}))},W=function(e,t){return c.forwardRef((function(n,r){var o=K(e,n);return c.createElement(t,H({},o,{ref:r}))}))},q=n(8199);function X(e,t,n){var r=c.useState(t),o=r[0],a=r[1];return c.useEffect((function(){if(!o&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&a(t)}}),n),o}var Y,Z=n(3322),$=function(e){return[e,{}]};!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(Y||(Y={}));var J=function(e){void 0===e&&(e=[]);var t=c.useRef(e),n=c.useCallback((function(e){switch(e.type){case Y.add:t.current.push(e.item);break;case Y.remove:var n=t.current.indexOf(e.item);t.current.splice(n,1)}}),[]);return[t.current,n]},Q=function(e){var t=c.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]);return c.useCallback((function(){var e=t();return e&&e.ownerDocument||document}),[t])},ee=function(e){var t=Q(e);return c.useCallback((function(){var e=t();return e&&e.defaultView||window}),[t])},te=n(189),ne={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},re=function(){return re=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},re.apply(this,arguments)},oe=c.forwardRef((function(e,t){var n=e.className,r=e.name,o=e.themeColor,a=e.size,i=e.flip,l=e.style,u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","name","themeColor","size","flip","style"]),d=c.useRef(null),p=c.useRef(null);c.useImperativeHandle(d,(function(){return{element:p.current}})),c.useImperativeHandle(t,(function(){return d.current}));var f=c.useMemo((function(){return o||ae.themeColor}),[o]),h=c.useMemo((function(){return a||ae.size}),[a]),v=c.useMemo((function(){return i||ae.flip}),[i]),m=c.useMemo((function(){return(0,s.A)("k-icon","k-i-"+r,"k-color-"+f,{"k-flip-h":"horizontal"===v||"both"===v,"k-flip-v":"vertical"===v||"both"===v},ne[h],n)}),[r,f,h,v,n]),g=(0,Z.i)(e,d);return c.createElement("span",re({ref:p},u,g,{className:m,style:l,role:"presentation"}))}));oe.propTypes={style:te.object,classNames:te.string,name:te.string,themeColor:te.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:te.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:te.oneOf(["default","horizontal","vertical","both"])};var ae={size:"default",themeColor:"inherit",flip:"default"};oe.displayName="KendoIcon";var ie=function(){return ie=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},ie.apply(this,arguments)},le=c.forwardRef((function(e,t){var n=e.children,r=e.className,o=e.svgClassName,a=e.icon,i=e.flip,l=e.size,u=e.style,d=e.svgStyle,p=e.themeColor,f=e.viewBox,h=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","size","style","svgStyle","themeColor","viewBox"]),v=c.useRef(null);c.useImperativeHandle(t,(function(){return{element:v.current}}));var m=c.useMemo((function(){return a?a.name:se.icon}),[a]),g=c.useMemo((function(){return p||se.themeColor}),[p]),b=c.useMemo((function(){return l||se.size}),[l]),y=c.useMemo((function(){return i||se.flip}),[i]),k=c.useMemo((function(){return f||se.viewBox}),[f]),C=c.useMemo((function(){return(0,s.A)("k-svg-icon","k-color-"+g,"k-svg-i-"+m,{"k-flip-h":"horizontal"===y||"both"===y,"k-flip-v":"vertical"===y||"both"===y},ne[b],r)}),[m,g,b,y,r]),x=c.useMemo((function(){return e.width&&e.height?ie({width:e.width,height:e.height},u):e.width?ie({width:e.width,height:e.width},u):e.height?ie({width:e.height,height:e.height},u):ie({},u)}),[e.width,e.height,u]);return c.createElement("span",{className:C,style:x,ref:v},c.createElement("svg",ie({className:o,style:d,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:a?a.viewBox:k,dangerouslySetInnerHTML:a?{__html:a.content}:void 0},h),a?void 0:n))}));le.propTypes={style:te.object,classNames:te.string,children:te.any,icon:te.object,themeColor:te.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:te.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:te.oneOf(["default","horizontal","vertical","both"])};var se={size:"default",themeColor:"inherit",flip:"default",icon:"",viewBox:"0 0 24 24"};le.displayName="KendoSvgIcon";var ce={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},ue={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},de={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},pe={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},fe={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"},ve={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},me={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},ge.apply(this,arguments)},be=function(e){var t=c.forwardRef((function(t,n){var r=t.id,o=t.style,a=t.className,i=t.fontSize,l=t.fontWeight,s=t.textAlign,u=t.textTransform,d=t.themeColor,p=t.margin,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}(t,["id","style","className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),h=c.useRef(null),v=c.useRef(null);c.useImperativeHandle(h,(function(){return{element:v.current,props:t}})),c.useImperativeHandle(n,(function(){return h.current}));var m=e;return c.createElement(m,ge({id:r,ref:v,className:["k-".concat("p"===e?"paragraph":e),ce[i],ue[l],he[s],ve[u],me[d],function(){if(void 0!==p){if("string"==typeof p)return[de[p]];if("number"==typeof p&&p>=0&&p<=24)return["k-m-".concat(p)];if("object"==typeof p){var e=[];return Object.keys(p).forEach((function(t){var n,r,o;null!==p[t]&&void 0!==p[t]&&e.push((n=t,o="string"==typeof(r=p[t])?pe[r]:r,"".concat(fe[n]).concat(o)))})),e.join(" ")}}}(),a].filter((function(e){return void 0!==e})).join(" "),style:o},f),t.children)}));return t.propTypes={style:te.object,className:te.string,fontSize:te.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:te.oneOf(["light","normal","bold"]),margin:te.oneOfType([te.number,te.object,te.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:te.oneOf(["left","right","center","justify"]),textTransform:te.oneOf(["lowercase","uppercase","capitalize"]),themeColor:te.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName="KendoReactTypography".concat(e.toUpperCase()),t},ye={h1:be("h1"),h2:be("h2"),h3:be("h3"),h4:be("h4"),h5:be("h5"),h6:be("h6"),p:be("p"),code:be("code"),pre:be("pre")},ke=function(){return ke=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},ke.apply(this,arguments)},Ce=function(e,t,n){var r=c.useState(t||e),o=r[0],a=r[1];return[void 0!==t?t:o,c.useCallback((function(e,t){a(e),n&&n.call(void 0,ke(ke({},t),{value:e}))}),[n,a])]},xe=c.createContext([void 0,C]),Oe=c.createContext([void 0,C]),we=c.createContext([[],C,C]),Ee=c.createContext([[],C,C]),Pe=function(e){var t=Ce(null,void 0),n=t[0],r=t[1],o=Ce(null,void 0),a=o[0],i=o[1],l=J([]),s=l[0],u=l[1],d=J([]),p=d[0],f=d[1];return c.createElement(xe.Provider,{value:[n,r]},c.createElement(Oe.Provider,{value:[a,i]},c.createElement(we.Provider,{value:[s,function(e){u({type:Y.add,item:e})},function(e){u({type:Y.remove,item:e})}]},c.createElement(Ee.Provider,{value:[p,function(e){f({type:Y.add,item:e})},function(e){f({type:Y.remove,item:e})}]},e.children))))};Pe.displayName="KendoReactDragAndDrop";var _e,Se=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},Ne=function(e){return e&&e.ownerDocument||window.document},Re=function(e){var t=Se(),n=Ne(e);return t.edge||t.safari?n.body:n.documentElement},Ie=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},Me=function(e){var t=Re(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&&!Ie(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"}(_e||(_e={}));var De=function(){},Te=function(e,t,n){void 0===n&&(n={});var r,o,a,i,l,s=n.onIsPressedChange,c=void 0===s?De:s,u=n.onIsScrollingChange,d=void 0===u?De:u,p=n.onVelocityChange,f=void 0===p?De:p,h=n.onOffsetChange,v=void 0===h?De:h,m=n.onPageOffsetChange,g=void 0===m?De:m,b=n.onClientOffsetChange,y=void 0===b?De:b,k=n.onScrollOffsetChange,C=void 0===k?De:k,x=n.onInitialScrollOffsetChange,O=void 0===x?De:x,w=t.payload,E=w.element,P=w.hint,_=e.autoScrollDirection,S=e.scrollableParent,N=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(N.type){case _e.POINTER_DOWN:if(N.type===_e.POINTER_DOWN&&(!N.originalEvent.isPrimary||0!==N.originalEvent.button))break;case _e.MOUSE_DOWN:if(N.type===_e.MOUSE_DOWN&&N.originalEvent.which&&N.originalEvent.which>1||e.ignoreMouse)break;case _e.TOUCH_START:if(N.type===_e.TOUCH_START&&1!==N.originalEvent.touches.length)break;case _e.START:var R=S||Me(t.payload.element);O(R instanceof Window?{x:R.scrollX,y:R.scrollY}:{x:R.scrollLeft,y:R.scrollTop}),y({x:N.clientX,y:N.clientY}),g({x:N.pageX,y:N.pageY}),v({x:N.offsetX,y:N.offsetY}),c(!0),w.onPress&&w.onPress(N);break;case _e.SCROLL:if(N.type===_e.SCROLL&&!e.pressed)break;var I=S||Me(E),M=I instanceof Window?{x:I.scrollX,y:I.scrollY}:{x:I.scrollLeft,y:I.scrollTop};N.scrollX=M.x-e.initialScrollOffset.x,N.scrollY=M.y-e.initialScrollOffset.y,C({x:N.scrollX,y:N.scrollY});case _e.POINTER_MOVE:if(N.type===_e.POINTER_MOVE&&!N.originalEvent.isPrimary)break;case _e.MOUSE_MOVE:case _e.TOUCH_MOVE:if(N.type===_e.TOUCH_MOVE&&1!==N.originalEvent.touches.length)break;case _e.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==N.originalEvent.type&&E){var D=Ne(E),T=S||Me(D.elementFromPoint(N.clientX,N.clientY)),A=(r=N.clientX,o=N.clientY,a=function(e,t){var n=Re(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}}(T,function(e){var t=Ne(e);return t&&t.defaultView||window}(E)),i={x:0,y:0},l=50,r-a.left<l?i.x=-(l-(r-a.left)):a.right-r<l&&(i.x=l-(a.right-r)),o-a.top<l?i.y=-(l-(o-a.top)):a.bottom-o<l&&(i.y=l-(a.bottom-o)),i);f({x:_&&!1===_.horizontal?0:A.x,y:_&&!1===_.vertical?0:A.y}),d(0!==A.y||0!==A.x)}!e.drag&&w.onDragStart&&w.onDragStart(N),w.onDrag&&w.onDrag(N);var L=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),a=Math.max(r.left,n.left),i=Math.min(r.left+r.width,n.left+n.width),l=Math.min(r.top+r.height,n.top+n.height),s=i-a,c=l-o;if(a<i&&o<l){var u=r.width*r.height,d=n.width*n.height,p=s*c;return Number((p/(u+d-p)).toFixed(4))}return 0}(e,t);o>n&&(n=o,r=t)}})),r}(P||E,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(P||E)}))),j=e.drops.find((function(e){return e.element===L}));j&&L&&function(e,t,n){var r=n.getBoundingClientRect();return r.top<=t&&r.left<=e&&t<=r.bottom&&e<=r.right}(N.clientX,N.clientY,S||Me(L))&&L!==E?(e.drop&&e.drop.element)!==L?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(N),j.onDragEnter&&j.onDragEnter(N)):j.onDragOver&&j.onDragOver(N):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(N)}y({x:N.clientX,y:N.clientY}),g({x:N.pageX,y:N.pageY});break;case _e.POINTER_UP:if(N.type===_e.POINTER_UP&&!N.originalEvent.isPrimary)break;case _e.MOUSE_UP:case _e.TOUCH_END:if(N.type===_e.TOUCH_END&&1!==N.originalEvent.touches.length)break;case _e.END:c(!1),d(!1),C({x:0,y:0}),w.onRelease&&w.onRelease(N),e.drop&&e.drop.onDrop&&e.drop.onDrop(N),w.onDragEnd&&w.onDragEnd(N);break;case _e.POINTER_CANCEL:case _e.CONTEXT_MENU:case _e.TOUCH_CANCEL:case _e.CANCEL:c(!1),d(!1),C({x:0,y:0}),w.onDragEnd&&w.onDragEnd(N),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(N)}},Ae=function(e,t){if(e){var n,r;e===Re(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,a=n&&o>0&&o<e.scrollHeight,i=e.scrollLeft+t.x,l=r&&i>0&&i<e.scrollWidth;a?e.scrollTop+=t.y:n&&o<0&&(e.scrollTop=0),l?e.scrollLeft+=t.x:r&&i<0&&(e.scrollLeft=0)}},Le=function(e,t){var n=c.useContext(e),r=n[0],o=n[1],a=c.useState(t),i=a[0],l=a[1];return[void 0!==r?r:i,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];void 0!==r?o.apply(void 0,e):l(e[0])}]};function je(e,t,n){void 0===n&&(n={});var r=t.onPress,o=void 0===r?C:r,a=t.onRelease,i=void 0===a?C:a,l=t.onDragStart,s=void 0===l?C:l,u=t.onDrag,d=void 0===u?C:u,p=t.onDragEnd,f=void 0===p?C:p,h=n.hint,v=void 0===h?null:h,m=n.mouseOnly,g=void 0!==m&&m,b=n.autoScroll,y=void 0===b||b,k=n.scrollContainer,x=void 0===k?null:k,O=c.useState(!1),w=O[0],E=O[1],P=c.useState(!1),_=P[0],S=P[1],N=Le(Oe)[0],R=Le(xe),I=R[0],M=R[1],D=c.useContext(Ee)[0],T=c.useContext(we),A=T[0],L=T[1],j=T[2],B=c.useRef({x:0,y:0}),V=c.useRef(),F=c.useRef(!1),z=c.useRef(),G=c.useRef(null),K=c.useRef(!1),H=c.useRef({x:0,y:0}),U=c.useRef({x:0,y:0}),W=c.useRef({x:0,y:0}),q=c.useRef({x:0,y:0}),X=c.useRef({x:0,y:0}),Y=c.useRef({x:0,y:0}),Z=Boolean("undefined"!=typeof window&&window.PointerEvent),$=!g&&Z,J=c.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),Q=c.useCallback((function(){return v&&v.current&&v.current.element?v.current.element:v?v.current:null}),[v]),ee=c.useCallback((function(){return x&&x.current&&x.current.element?x.current.element:x?x.current:null}),[x]),te=c.useCallback((function(){return"object"==typeof y&&y.boundaryElementRef&&y.boundaryElementRef.current&&y.boundaryElementRef.current.element?y.boundaryElementRef.current.element:"object"==typeof y&&y.boundaryElementRef&&y.boundaryElementRef.current?y.boundaryElementRef.current:null}),[y]),ne=c.useRef(null);c.useImperativeHandle(ne,(function(){return{element:J(),hint:Q(),onPress:ve,onDragStart:ge,onDrag:be,onDragEnd:ye,onRelease:me,data:e.current}}));var re=c.useCallback((function(){var e=J();return e&&e.ownerDocument||document}),[J]),oe=c.useCallback((function(){var e=re();return e&&e.defaultView||window}),[re]),ae=c.useCallback((function(){return{drag:I?I.current:null,drop:N?N.current:null,drags:A.map((function(e){return e.current})),drops:D.map((function(e){return e.current})),pressed:w,ignoreMouse:F.current,scrollOffset:X.current,offset:H.current,pageOffset:U.current,initialScrollOffset:Y.current,clientOffset:W.current,initialClientOffset:q.current,velocity:B.current,autoScroll:Boolean("object"==typeof y?!1!==y.enabled:y),scrollableParent:te(),autoScrollDirection:"object"==typeof y?y.direction:{horizontal:!0,vertical:!0},isScrolling:_}}),[I,N,A,D,w,y,te,_]),ie=c.useCallback((function(e){E(e)}),[]),le=c.useCallback((function(e){S(e)}),[]),se=c.useCallback((function(e){B.current=e}),[]),ce=c.useCallback((function(e){H.current=e}),[]),ue=c.useCallback((function(e){W.current=e}),[]),de=c.useCallback((function(e){U.current=e}),[]),pe=c.useCallback((function(e){q.current=e}),[]),fe=c.useCallback((function(e){X.current=e}),[]),he=c.useCallback((function(e){Y.current=e}),[]),ve=c.useCallback((function(e){o(e)}),[o]),me=c.useCallback((function(e){i(e)}),[i]),ge=c.useCallback((function(t){M(ne,{target:e.current,event:t}),s(t)}),[M,e,s]),be=c.useCallback((function(e){d(e)}),[d]),ye=c.useCallback((function(t){K.current||(M(null,{target:e.current,event:t}),f(t))}),[f,M,e]),ke=c.useCallback((function(e){Te(ae(),{event:e,payload:ne.current},{onVelocityChange:se,onOffsetChange:ce,onClientOffsetChange:ue,onPageOffsetChange:de,onInitialClientOffsetChange:pe,onScrollOffsetChange:fe,onInitialScrollOffsetChange:he,onIsPressedChange:ie,onIsScrollingChange:le})}),[ae,se,ce,de,ue,pe,he,ie,fe,le]),Ce=c.useCallback((function(e){ke(e)}),[ke]),Pe=c.useCallback((function(e){ke(e)}),[ke]),_e=c.useCallback((function(e){ke(e)}),[ke]),Se=c.useCallback((function(e){ke(e)}),[ke]),Ne=c.useCallback((function(e){ke(e)}),[ke]),Re=c.useCallback((function(e){ke(e)}),[ke]),Ie=c.useCallback((function(e){ke(e)}),[ke]),De=c.useCallback((function(e){e.preventDefault(),ke(e)}),[ke]),je=c.useCallback((function(e){e.preventDefault(),ke(e)}),[ke]),Be=c.useCallback((function(e){e.preventDefault(),ke(e)}),[ke]),Ve=c.useCallback((function(e){if(0===e.touches.length&&1===e.changedTouches.length){var t=oe();F.current=!0,z.current=t.setTimeout((function(){F.current=!1}),2e3)}ke(e)}),[ke,oe]),Fe=c.useCallback((function(e){ke(e)}),[ke]),ze=c.useCallback((function(){var e=J();if(e){var t=e.style.touchAction;return e.style.touchAction="none",function(){e.style.touchAction=t}}}),[J]),Ge=c.useCallback((function(){return L(ne),function(){j(ne)}}),[j,L]);c.useEffect((function(){var e=oe();if(_){var t=ee()||Me(document.elementFromPoint(W.current.x,W.current.y));e.clearInterval(V.current),V.current=e.setInterval((function(){Ae(t,{x:B.current.x,y:B.current.y})}),50)}return function(){e.clearInterval(V.current)}}),[J,ee,oe,_]),c.useEffect(ze,[ze]),c.useEffect((function(){var e=oe(),t=J(),n=re();return $?(t&&(G.current=Me(t),G.current&&G.current.addEventListener("scroll",Fe,{passive:!0}),t.addEventListener("pointerdown",Ce,{passive:!0})),w&&(n.addEventListener("pointermove",Pe),n.addEventListener("pointerup",Se,!0),n.addEventListener("contextmenu",De),n.addEventListener("pointercancel",_e,{passive:!0}))):(e.addEventListener("touchmove",C,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",Ne,{passive:!0}),g||(t.addEventListener("touchstart",je,{passive:!0}),w&&(t.addEventListener("touchmove",Be,{passive:!0}),t.addEventListener("touchend",Ve,{passive:!0})))),w&&(n.addEventListener("mousemove",Re,{passive:!0}),n.addEventListener("mouseup",Ie,{passive:!0}))),function(){G.current&&G.current.removeEventListener("scroll",Fe),t&&(t.removeEventListener("pointerdown",Ce),t.removeEventListener("mousedown",Ne),t.removeEventListener("touchstart",je),t.removeEventListener("touchmove",Be),t.removeEventListener("touchend",Ve)),n.removeEventListener("pointermove",Pe),n.removeEventListener("pointerup",Se,!0),n.removeEventListener("contextmenu",De),n.removeEventListener("pointercancel",_e),n.removeEventListener("mousemove",Re),n.removeEventListener("mouseup",Ie),e.removeEventListener("touchmove",C),e.clearTimeout(z.current)}}),[w,oe,J,re,g,$,De,Ne,Re,Ie,_e,Ce,Pe,Se,Ve,Be,je,Fe]),c.useEffect((function(){return function(){K.current=!0}}),[]),c.useLayoutEffect(Ge,[Ge])}var Be=c.forwardRef((function(e,t){var n=c.useRef(null),r=c.useRef(null),o=c.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);c.useImperativeHandle(r,(function(){return{element:o()||null}})),c.useImperativeHandle(t,(function(){return r.current})),c.useImperativeHandle(e.childRef,(function(){return n.current}));var a=c.useCallback((function(t){e.onPress&&e.onPress({element:o(),target:r.current,event:t})}),[o,e.onPress]),i=c.useCallback((function(t){e.onRelease&&e.onRelease({element:o(),target:r.current,event:t})}),[o,e.onRelease]),l=c.useCallback((function(t){e.onDragStart&&e.onDragStart({element:o(),target:r.current,event:t})}),[e,o]),s=c.useCallback((function(t){e.onDrag&&e.onDrag({element:o(),target:r.current,event:t})}),[o,e.onDrag]),u=c.useCallback((function(t){e.onDragEnd&&e.onDragEnd({element:o(),target:r.current,event:t})}),[o,e.onDragEnd]);return je(n,{onPress:a,onRelease:i,onDragStart:l,onDrag:s,onDragEnd:u},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?c.cloneElement(c.Children.only(e.children),{ref:n}):null}));function Ve(e,t){void 0===t&&(t={onDragEnter:C,onDragOver:C,onDragLeave:C,onDrop:C});var n=t.onDragEnter,r=void 0===n?C:n,o=t.onDragOver,a=void 0===o?C:o,i=t.onDragLeave,l=void 0===i?C:i,s=t.onDrop,u=void 0===s?C:s,d=Le(Oe)[1],p=c.useContext(Ee),f=p[1],h=p[2],v=c.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),m=c.useRef(null);c.useImperativeHandle(m,(function(){return{element:v(),onDragEnter:g,onDragOver:b,onDragLeave:y,onDrop:k,data:e.current}}));var g=c.useCallback((function(t){d(m,{target:e.current,event:t}),r(t)}),[d,e,r]),b=c.useCallback((function(e){a(e)}),[a]),y=c.useCallback((function(t){d(null,{target:e.current,event:t}),l(t)}),[d,e,l]),k=c.useCallback((function(t){d(null,{target:e.current,event:t}),u(t)}),[d,e,u]),x=c.useCallback((function(){return f(m),function(){h(m)}}),[h,f]);c.useLayoutEffect(x,[x])}Be.displayName="KendoReactDraggable";var Fe=c.forwardRef((function(e,t){var n=c.useRef(null),r=c.useRef(null),o=c.useCallback((function(){return n.current&&n.current.element?n.current.element:n.current}),[n]);c.useImperativeHandle(r,(function(){return{element:o()||void 0}})),c.useImperativeHandle(t,(function(){return r.current})),c.useImperativeHandle(e.childRef,(function(){return n.current}));var a=c.useCallback((function(t){e.onDragEnter&&e.onDragEnter({element:o(),target:r.current,event:t})}),[e.onDragEnter,o]),i=c.useCallback((function(t){e.onDragOver&&e.onDragOver({element:o(),target:r.current,event:t})}),[o,e.onDragOver]),l=c.useCallback((function(t){e.onDragLeave&&e.onDragLeave({element:o(),target:r.current,event:t})}),[e.onDragLeave,o]),s=c.useCallback((function(t){e.onDrop&&e.onDrop({element:o(),target:r.current,event:t})}),[e.onDrop,o]);return Ve(n,{onDragEnter:a,onDragOver:i,onDragLeave:l,onDrop:s}),e.children?c.cloneElement(c.Children.only(e.children),{ref:n}):null}));Fe.displayName="KendoReactDroppable";var ze=n(2697)},2697:(e,t,n)=>{n.d(t,{G:()=>r});var r={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},4006:(e,t,n)=>{n.d(t,{s:()=>o});var r=n(9302);function o(e){if(void 0!==r)r.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)}}},4407:e=>{e.exports=r},9302:e=>{e.exports=n},499:e=>{e.exports=o},189:e=>{e.exports=t},3899:t=>{t.exports=e},994:e=>{e.exports=a}},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}};return i[e].call(n.exports,n,n.exports,s),n.exports}return s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s(468)})()}));