Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-react-scrollview

Package Overview
Dependencies
Maintainers
1
Versions
570
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 5.0.2-dev.202201241503 to 5.0.2-dev.202201241659

2

dist/cdn/js/kendo-react-scrollview.js

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

!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react"),require("prop-types"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-licensing"],n):"object"==typeof exports?exports.KendoReactScrollview=n(require("react"),require("prop-types"),require("@progress/kendo-licensing")):e.KendoReactScrollview=n(e.React,e.PropTypes,e.KendoLicensing)}(window,(function(e,n,t){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=5)}([function(n,t){n.exports=e},function(e,t){e.exports=n},function(e,n){e.exports=t},,function(e,n,t){"use strict";t.r(n),t.d(n,"ZIndexContext",(function(){return o})),t.d(n,"useZIndexContext",(function(){return a})),t.d(n,"BrowserSupportService",(function(){return u})),t.d(n,"canUseDOM",(function(){return l})),t.d(n,"canUseRef",(function(){return c})),t.d(n,"classNames",(function(){return s})),t.d(n,"cloneDate",(function(){return f})),t.d(n,"clone",(function(){return d})),t.d(n,"cloneObject",(function(){return v})),t.d(n,"cloneValue",(function(){return p})),t.d(n,"cloneArray",(function(){return m})),t.d(n,"focusFirstFocusableChild",(function(){return g})),t.d(n,"FormComponent",(function(){return h})),t.d(n,"getTabIndex",(function(){return y})),t.d(n,"getter",(function(){return O})),t.d(n,"guid",(function(){return w})),t.d(n,"Keys",(function(){return E})),t.d(n,"noop",(function(){return x})),t.d(n,"getScrollbarWidth",(function(){return D})),t.d(n,"setScrollbarWidth",(function(){return M})),t.d(n,"setter",(function(){return S})),t.d(n,"mapTree",(function(){return L})),t.d(n,"mapTreeItem",(function(){return _})),t.d(n,"extendDataItem",(function(){return j})),t.d(n,"getItemPath",(function(){return I})),t.d(n,"validatePackage",(function(){return U})),t.d(n,"hasRelativeStackingContext",(function(){return K})),t.d(n,"dispatchEvent",(function(){return H})),t.d(n,"AsyncFocusBlur",(function(){return Y})),t.d(n,"createPropsContext",(function(){return W})),t.d(n,"withPropsContext",(function(){return F})),t.d(n,"useDir",(function(){return q})),t.d(n,"useAsyncFocusBlur",(function(){return V})),t.d(n,"useRtl",(function(){return G})),t.d(n,"useMouse",(function(){return $})),t.d(n,"useCustomComponent",(function(){return J})),t.d(n,"usePropsContext",(function(){return z})),t.d(n,"COLLECTION_ACTION",(function(){return Z})),t.d(n,"useCollection",(function(){return Q})),t.d(n,"Icon",(function(){return oe})),t.d(n,"SvgIcon",(function(){return le})),t.d(n,"Typography",(function(){return ke})),t.d(n,"DragAndDrop",(function(){return Re})),t.d(n,"Draggable",(function(){return Ve})),t.d(n,"Droppable",(function(){return Ye})),t.d(n,"useDraggable",(function(){return He})),t.d(n,"useDroppable",(function(){return Xe})),t.d(n,"kendoThemeMaps",(function(){return ze}));var r=t(0),o=r.createContext(0),a=function(){return r.useContext(o)};o.displayName="KendoReactZIndexContext";var i=function(){return"undefined"!=typeof document?document:{}},u=function(){function e(){}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=i();if(!this.scrollbar&&e&&e.createElement){var n=e.createElement("div");n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML="&nbsp;",e.body.appendChild(n),this.scrollbar=n.offsetWidth-n.scrollWidth,e.body.removeChild(n)}return this.scrollbar},enumerable:!0,configurable:!0}),e}(),l=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),c=function(e){return"string"!=typeof Comment&&(function(e){return Boolean("function"==typeof e&&!!e.prototype.isReactComponent)}(e)||function(e){return Boolean(e.$$typeof&&"function"==typeof e.render)}(e))},s=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t={},r=function(e){return"object"==typeof e?Object.keys(e).forEach((function(n){t[n]=e[n]})):t[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(t).map((function(e){return t[e]&&e||null})).filter((function(e){return null!==e})).join(" ")},f=function(e){return e?new Date(e.getTime()):null};function d(e){var n={};return v(e,n),n}function v(e,n){for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];n[t]=p(r,n[t])}}function p(e,n){if(Array.isArray(e))return m(e);if(e instanceof Date)return f(e);if(r.isValidElement(e))return r.cloneElement(e,e.props);if(e&&"object"==typeof e){var t=n||{};return v(e,t),t}return e}function m(e){return e.map((function(e){return p(e,void 0)}))}var g=function(e){if(e){if((e instanceof HTMLInputElement||-1!==e.tabIndex)&&e.focus)return void e.focus();var n=e.querySelector('input, [tabindex]:not([tabindex="-1"])');n&&n.focus&&n.focus()}},h=function(){},y=function(e,n,t){var r="string"==typeof e?parseInt(e,void 0):e;if(NaN!==r)return void 0!==r?r:n?t?void 0:-1:0},b=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function C(e){var n=[];return e.replace(b,(function(e,t,r,o){n.push(void 0!==t?t:r||o)})),n}var k={};function O(e){if(k[e])return k[e];var n=C(e);return k[e]=function(e){for(var t=e,r=0;r<n.length&&t;r++)t=t[n[r]];return t},k[e]}k.undefined=function(){};var w=function(){var e,n,t="";for(e=0;e<32;e++)n=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(t+="-"),t+=(12===e?4:16===e?3&n|8:n).toString(16);return t},E={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},x=function(){},D=function(){return!(!l||!document.body)&&(new u).scrollbarWidth},M=function(){if(!l||!document.body)return!1;var e=(new u).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",e+"px")},R={undefined:function(e){return e}},N=function(e,n){return n&&n.arrays&&!isNaN(Number(e))?[]:{}};function S(e){if(R[e])return R[e];var n=C(e);return R[e]=function(e,t,r){for(var o=e,a=n.length-1,i=0;i<a&&o;i++)o=o[n[i]]=o[n[i]]||N(n[i+1],r);o[n[a]]=t},R[e]}var T=function(){return(T=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function P(e,n,t){var r;return t?T({},e,((r={})[n]=t.length?t.slice():void 0,r)):e&&e[n]?e[n].slice():[]}var L=function(e,n,t){return e.map((function(e){return function e(n,t,r){if(n[t]){var o=P(n,t).map((function(n){return e(n,t,r)}));return r(P(n,t,o))}return r(n)}(e,n,t)})).slice()},_=function(e,n,t,r){for(var o=e,a=[],i=0;i<n.length;i++)o=o[n[i]],o=Array.isArray(o)?o:o[t],a.push(o);var u=a.length>1?a[a.length-2]:e,l=n[n.length-1],c=r(u[l]);u.splice(l,1,c)},j=function(e,n,t){var r;return Object.assign({},e,e[n]?((r={})[n]=e[n].slice(),r):{},t||{})},I=function(e,n,t){var r=[],o=n.slice();if(o.length){var a=e[o.shift()||0];for(r.push(a);o.length&&t;)a=a[t][o.shift()||0],r.push(a)}return r},A=t(2);function U(e){if(void 0!==A)A.validatePackage(e);else{var n="License activation failed for "+e.name+"\n";n+="The @progress/kendo-licensing script is not loaded.\n",n+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(n)}}var K=function(e){if(!l)return!1;var n=e?e.ownerDocument:document;if(!n||!n.body)return!1;var t=n.createElement("div");t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML='<div style="position: fixed; top: 10px;">child</div>',n.body.appendChild(t);var r=10!==t.children[0].getBoundingClientRect().top;return n.body.removeChild(t),r};function H(e,n,t,r){if(e){var o={syntheticEvent:n,nativeEvent:n.nativeEvent,target:t};e.call(void 0,Object.assign(o,r))}}function V(e){var n=e.onFocus,t=e.onBlur,o=e.onSyncFocus,a=e.onSyncBlur,i=r.useRef(!1),u=r.useRef(0),l=r.useCallback((function(e){clearTimeout(u.current),u.current=window.setTimeout((function(){return e()}))}),[u]),c=r.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];clearTimeout(u.current),o&&o.call.apply(o,[void 0].concat(e)),i.current||(i.current=!0,n&&n.call.apply(n,[void 0].concat(e)))}),[i,n,o]),s=r.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];a&&a.call.apply(a,[void 0].concat(e)),l((function(){i.current&&t&&(i.current=!1,t.call.apply(t,[void 0].concat(e)))}))}),[i,l,t,a]);return r.useEffect((function(){return function(){clearTimeout(u.current)}}),[]),{onFocus:c,onBlur:s}}var X=function(){return(X=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},Y=function(e){var n=e.children,t=V({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return n.call(void 0,X({},t))},z=function(e,n){return r.useContext(e)(n)},B=function(){return(B=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},W=function(){return r.createContext((function(e){return e}))},F=function(e,n){return r.forwardRef((function(t,o){var a=z(e,t);return r.createElement(n,B({},a,{ref:o}))}))};function q(e,n,t){var o=r.useState(n),a=o[0],i=o[1];return r.useEffect((function(){if(!a&&window&&e.current){var n=window.getComputedStyle(e.current).direction;n&&i(n)}}),t),a}function G(e,n,t){var o=r.useState(n),a=o[0],i=o[1];return r.useEffect((function(){if(!a&&window&&e.current){var n=window.getComputedStyle(e.current).direction;n&&i(n)}}),t),a}var Z,$=function(e,n,t){void 0===t&&(t={});var o=r.useCallback((function(r){t.onMouseDown&&t.onMouseDown.call(void 0,r),e.onMouseDown&&e.onMouseDown.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseDown,e.onMouseDown,n]),a=r.useCallback((function(r){t.onMouseUp&&t.onMouseUp.call(void 0,r),e.onMouseUp&&e.onMouseUp.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseUp,e.onMouseUp,n]);return{onClick:r.useCallback((function(r){t.onClick&&t.onClick.call(void 0,r),e.onClick&&e.onClick.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onClick,e.onClick,n]),onMouseUp:a,onMouseDown:o,onDoubleClick:r.useCallback((function(r){t.onDoubleClick&&t.onDoubleClick.call(void 0,r),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onDoubleClick,e.onDoubleClick,n]),onMouseEnter:r.useCallback((function(r){t.onMouseEnter&&t.onMouseEnter.call(void 0,r),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseEnter,e.onMouseEnter,n]),onMouseLeave:r.useCallback((function(r){t.onMouseLeave&&t.onMouseLeave.call(void 0,r),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseLeave,e.onMouseLeave,n]),onMouseMove:r.useCallback((function(r){t.onMouseMove&&t.onMouseMove.call(void 0,r),e.onMouseMove&&e.onMouseMove.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseMove,e.onMouseMove,n]),onMouseOut:r.useCallback((function(r){t.onMouseOut&&t.onMouseOut.call(void 0,r),e.onMouseOut&&e.onMouseOut.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseOut,e.onMouseOut,n]),onMouseOver:r.useCallback((function(r){t.onMouseOver&&t.onMouseOver.call(void 0,r),e.onMouseOver&&e.onMouseOver.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseOver,e.onMouseOver,n])}},J=function(e){return r.isValidElement(e)?[e.type,e.props]:[e,{}]};!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(Z||(Z={}));var Q=function(e){void 0===e&&(e=[]);var n=r.useRef(e),t=r.useCallback((function(e){switch(e.type){case Z.add:n.current.push(e.item);break;case Z.remove:var t=n.current.indexOf(e.item);n.current.splice(t,1)}}),[]);return[n.current,t]},ee=t(1),ne={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},te=function(){return(te=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},re=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&(t[r[o]]=e[r[o]])}return t},oe=r.forwardRef((function(e,n){var t=e.className,o=e.name,a=e.themeColor,i=e.size,u=e.flip,l=e.style,c=re(e,["className","name","themeColor","size","flip","style"]),f=r.useRef(null),d=r.useRef(null);r.useImperativeHandle(f,(function(){return{element:d.current}})),r.useImperativeHandle(n,(function(){return f.current}));var v=r.useMemo((function(){return a||ae.themeColor}),[a]),p=r.useMemo((function(){return i||ae.size}),[i]),m=r.useMemo((function(){return u||ae.flip}),[u]),g=r.useMemo((function(){return s("k-icon","k-i-"+o,"k-color-"+v,{"k-flip-h":"horizontal"===m||"both"===m,"k-flip-v":"vertical"===m||"both"===m},ne[p],t)}),[o,v,p,m,t]),h=$(e,f);return r.createElement("span",te({ref:d},c,h,{className:g,style:l,role:"presentation"}))}));oe.propTypes={style:ee.object,classNames:ee.string,name:ee.string,themeColor:ee.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:ee.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:ee.oneOf(["default","horizontal","vertical","both"])};var ae={size:"default",themeColor:"inherit",flip:"default"};oe.displayName="KendoIcon";var ie=function(){return(ie=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},ue=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&(t[r[o]]=e[r[o]])}return t},le=r.forwardRef((function(e,n){var t=e.children,o=e.className,a=e.svgClassName,i=e.icon,u=e.flip,l=e.size,c=e.style,f=e.svgStyle,d=e.themeColor,v=e.viewBox,p=ue(e,["children","className","svgClassName","icon","flip","size","style","svgStyle","themeColor","viewBox"]),m=r.useRef(null);r.useImperativeHandle(n,(function(){return{element:m.current}}));var g=r.useMemo((function(){return i?i.name:ce.icon}),[i]),h=r.useMemo((function(){return d||ce.themeColor}),[d]),y=r.useMemo((function(){return l||ce.size}),[l]),b=r.useMemo((function(){return u||ce.flip}),[u]),C=r.useMemo((function(){return v||ce.viewBox}),[v]),k=r.useMemo((function(){return s("k-svg-icon","k-color-"+h,"k-svg-i-"+g,{"k-flip-h":"horizontal"===b||"both"===b,"k-flip-v":"vertical"===b||"both"===b},ne[y],o)}),[g,h,y,b,o]),O=r.useMemo((function(){return e.width&&e.height?ie({width:e.width,height:e.height},c):e.width?ie({width:e.width,height:e.width},c):e.height?ie({width:e.height,height:e.height},c):ie({},c)}),[e.width,e.height,c]);return r.createElement("span",{className:k,style:O,ref:m},r.createElement("svg",ie({className:a,style:f,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:i?i.viewBox:C,dangerouslySetInnerHTML:i?{__html:i.content}:void 0},p),i?void 0:t))}));le.propTypes={style:ee.object,classNames:ee.string,children:ee.any,icon:ee.object,themeColor:ee.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:ee.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:ee.oneOf(["default","horizontal","vertical","both"])};var ce={size:"default",themeColor:"inherit",flip:"default",icon:"",viewBox:"0 0 24 24"};le.displayName="KendoSvgIcon";var se={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},fe={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},de={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},ve={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},pe={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},me={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},ge={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},he={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"},ye=function(){return(ye=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},be=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&(t[r[o]]=e[r[o]])}return t},Ce=function(e){var n=r.forwardRef((function(n,t){var o=n.className,a=n.fontSize,i=n.fontWeight,u=n.textAlign,l=n.textTransform,c=n.themeColor,s=n.margin,f=be(n,["className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),d=r.useRef(null),v=r.useRef(null);r.useImperativeHandle(d,(function(){return{element:v.current,props:n}})),r.useImperativeHandle(t,(function(){return d.current}));var p=e,m=function(){if(void 0!==s){if("string"==typeof s)return[de[s]];if("number"==typeof s&&s>=0&&s<=24)return["k-m-"+s];if("object"==typeof s){var e=[];return Object.keys(s).forEach((function(n){var t,r;null!==s[n]&&void 0!==s[n]&&e.push((t=n,r=s[n],""+pe[t]+("string"==typeof r?ve[r]:r)))})),e.join(" ")}}};return r.createElement(p,ye({ref:v,className:["k-"+("p"===e?"paragraph":e),se[a],fe[i],me[u],ge[l],he[c],m(),o].filter((function(e){return void 0!==e})).join(" ")},f),n.children)}));return n.propTypes={style:ee.object,className:ee.string,fontSize:ee.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:ee.oneOf(["light","normal","bold"]),margin:ee.oneOfType([ee.number,ee.object,ee.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:ee.oneOf(["left","right","center","justify"]),textTransform:ee.oneOf(["lowercase","uppercase","capitalize"]),themeColor:ee.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},n.displayName="KendoReactTypography"+e.toUpperCase(),n},ke={h1:Ce("h1"),h2:Ce("h2"),h3:Ce("h3"),h4:Ce("h4"),h5:Ce("h5"),h6:Ce("h6"),p:Ce("p"),code:Ce("code"),pre:Ce("pre")},Oe=function(){return(Oe=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},we=function(e,n,t){var o=r.useState(n||e),a=o[0],i=o[1];return[void 0!==n?n:a,r.useCallback((function(e,n){i(e),t&&t.call(void 0,Oe({},n,{value:e}))}),[t,i])]},Ee=r.createContext([void 0,x]),xe=r.createContext([void 0,x]),De=r.createContext([[],x,x]),Me=r.createContext([[],x,x]),Re=function(e){var n=we(null,void 0),t=n[0],o=n[1],a=we(null,void 0),i=a[0],u=a[1],l=Q([]),c=l[0],s=l[1],f=Q([]),d=f[0],v=f[1];return r.createElement(Ee.Provider,{value:[t,o]},r.createElement(xe.Provider,{value:[i,u]},r.createElement(De.Provider,{value:[c,function(e){s({type:Z.add,item:e})},function(e){s({type:Z.remove,item:e})}]},r.createElement(Me.Provider,{value:[d,function(e){v({type:Z.add,item:e})},function(e){v({type:Z.remove,item:e})}]},e.children))))};Re.displayName="KendoReactDragAndDrop";var Ne,Se=function(e,n){var t=0,r=null;return n.forEach((function(n){if(n&&e){var o=function(e,n){var t=e.getBoundingClientRect(),r=n.getBoundingClientRect(),o=Math.max(r.top,t.top),a=Math.max(r.left,t.left),i=Math.min(r.left+r.width,t.left+t.width),u=Math.min(r.top+r.height,t.top+t.height),l=i-a,c=u-o;if(a<i&&o<u){var s=r.width*r.height,f=t.width*t.height,d=l*c;return Number((d/(s+f-d)).toFixed(4))}return 0}(e,n);o>t&&(t=o,r=n)}})),r},Te=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var n=!1,t=[],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)&&(t=e.match(r[o]))){(n={})[o]=!0,n[t[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,n.version=parseInt(document.DOCUMENT_NODE||t[2],10);break}return n},Pe=function(e){return e&&e.ownerDocument||window.document},Le=function(e){var n=Te(),t=Pe(e);return n.edge||n.safari?t.body:t.documentElement},_e=function(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var n=window.getComputedStyle(e,"overflow").overflow;return n.indexOf("auto")>-1||n.indexOf("scroll")>-1},je=function(e){var n=Le(e);if(!e||e===document.body||e===document.documentElement)return n;for(var t=e;t&&!_e(t)&&t!==document.body;)t=t.parentNode;return t===document.body?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"}(Ne||(Ne={}));var Ie=function(){},Ae=function(e,n,t){void 0===t&&(t={});var r,o,a,i,u=t.onIsPressedChange,l=void 0===u?Ie:u,c=t.onIsScrollingChange,s=void 0===c?Ie:c,f=t.onVelocityChange,d=void 0===f?Ie:f,v=t.onOffsetChange,p=void 0===v?Ie:v,m=t.onPageOffsetChange,g=void 0===m?Ie:m,h=t.onClientOffsetChange,y=void 0===h?Ie:h,b=t.onScrollOffsetChange,C=void 0===b?Ie:b,k=t.onInitialScrollOffsetChange,O=void 0===k?Ie:k,w=n.payload,E=w.element,x=w.hint,D=e.autoScrollDirection,M=e.scrollableParent,R=function(e,n){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:n.scrollOffset.x,scrollY:n.scrollOffset.y,offsetX:n.offset.x,offsetY:n.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:n.pageOffset.x,pageY:n.pageOffset.y,clientX:n.clientOffset.x,clientY:n.clientOffset.y,scrollX:n.scrollOffset.x,scrollY:n.scrollOffset.y,offsetX:n.offset.x,offsetY:n.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:n.scrollOffset.x,scrollY:n.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}}(n.event,e);switch(R.type){case Ne.POINTER_DOWN:if(R.type===Ne.POINTER_DOWN&&(!R.originalEvent.isPrimary||0!==R.originalEvent.button))break;case Ne.MOUSE_DOWN:if(R.type===Ne.MOUSE_DOWN&&R.originalEvent.which&&R.originalEvent.which>1||e.ignoreMouse)break;case Ne.TOUCH_START:if(R.type===Ne.TOUCH_START&&1!==R.originalEvent.touches.length)break;case Ne.START:var N=M||je(n.payload.element);O(N instanceof Window?{x:N.scrollX,y:N.scrollY}:{x:N.scrollLeft,y:N.scrollTop}),y({x:R.clientX,y:R.clientY}),g({x:R.pageX,y:R.pageY}),p({x:R.offsetX,y:R.offsetY}),l(!0),w.onPress&&w.onPress(R);break;case Ne.SCROLL:if(R.type===Ne.SCROLL&&!e.pressed)break;var S=M||je(E),T=S instanceof Window?{x:S.scrollX,y:S.scrollY}:{x:S.scrollLeft,y:S.scrollTop};R.scrollX=T.x-e.initialScrollOffset.x,R.scrollY=T.y-e.initialScrollOffset.y,C({x:R.scrollX,y:R.scrollY});case Ne.POINTER_MOVE:if(R.type===Ne.POINTER_MOVE&&!R.originalEvent.isPrimary)break;case Ne.MOUSE_MOVE:case Ne.TOUCH_MOVE:if(R.type===Ne.TOUCH_MOVE&&1!==R.originalEvent.touches.length)break;case Ne.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==R.originalEvent.type&&E){var P=Pe(E),L=M||je(P.elementFromPoint(R.clientX,R.clientY)),_=function(e,n,t){var r={x:0,y:0};return e-t.left<50?r.x=-(50-(e-t.left)):t.right-e<50&&(r.x=50-(t.right-e)),n-t.top<50?r.y=-(50-(n-t.top)):t.bottom-n<50&&(r.y=50-(t.bottom-n)),r}(R.pageX,R.pageY,function(e,n){var t=Le(e);if(e===t)return{top:t.scrollTop,left:t.scrollLeft,bottom:t.scrollTop+n.innerHeight,right:t.scrollLeft+n.innerWidth};var r=e.getBoundingClientRect();return{bottom:r.top+r.height,right:r.left+r.width,left:r.left,top:r.top}}(L,function(e){var n=Pe(e);return n&&n.defaultView||window}(E)));d({x:D&&!1===D.horizontal?0:_.x,y:D&&!1===D.vertical?0:_.y}),s(0!==_.y||0!==_.x)}!e.drag&&w.onDragStart&&w.onDragStart(R),w.onDrag&&w.onDrag(R);var j=Se(x||E,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(x||E)}))),I=e.drops.find((function(e){return e.element===j}));I&&j&&(r=R.clientX,o=R.clientY,a=M||je(j),(i=a.getBoundingClientRect()).top<=o&&i.left<=r&&o<=i.bottom&&r<=i.right)&&j!==E?(e.drop&&e.drop.element)!==j?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(R),I.onDragEnter&&I.onDragEnter(R)):I.onDragOver&&I.onDragOver(R):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(R)}y({x:R.clientX,y:R.clientY}),g({x:R.pageX,y:R.pageY});break;case Ne.POINTER_UP:if(R.type===Ne.POINTER_UP&&!R.originalEvent.isPrimary)break;case Ne.MOUSE_UP:case Ne.TOUCH_END:if(R.type===Ne.TOUCH_END&&1!==R.originalEvent.touches.length)break;case Ne.END:l(!1),s(!1),w.onRelease&&w.onRelease(R),e.drop&&e.drop.onDrop&&e.drop.onDrop(R),w.onDragEnd&&w.onDragEnd(R);break;case Ne.POINTER_CANCEL:case Ne.CONTEXT_MENU:case Ne.TOUCH_CANCEL:case Ne.CANCEL:l(!1),s(!1),w.onDragEnd&&w.onDragEnd(R),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(R)}},Ue=function(e,n){if(e){var t,r;e===Le(e)?(t=document.body.scrollHeight>window.innerHeight,r=document.body.scrollWidth>window.innerWidth):(t=e.offsetHeight<=e.scrollHeight,r=e.offsetWidth<=e.scrollWidth);var o=e.scrollTop+n.y,a=t&&o>0&&o<e.scrollHeight,i=e.scrollLeft+n.x,u=r&&i>0&&i<e.scrollWidth;a?e.scrollTop+=n.y:t&&o<0&&(e.scrollTop=0),u?e.scrollLeft+=n.x:r&&i<0&&(e.scrollLeft=0)}},Ke=function(e,n){var t=r.useContext(e),o=t[0],a=t[1],i=r.useState(n),u=i[0],l=i[1];return[void 0!==o?o:u,function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];void 0!==o?a.apply(void 0,e):l(e[0])}]};function He(e,n,t){void 0===t&&(t={});var o=n.onPress,a=void 0===o?x:o,i=n.onRelease,u=void 0===i?x:i,l=n.onDragStart,c=void 0===l?x:l,s=n.onDrag,f=void 0===s?x:s,d=n.onDragEnd,v=void 0===d?x:d,p=t.hint,m=void 0===p?null:p,g=t.mouseOnly,h=void 0!==g&&g,y=t.autoScroll,b=void 0===y||y,C=t.scrollContainer,k=void 0===C?null:C,O=r.useState(!1),w=O[0],E=O[1],D=r.useState(!1),M=D[0],R=D[1],N=Ke(xe)[0],S=Ke(Ee),T=S[0],P=S[1],L=r.useContext(Me)[0],_=r.useContext(De),j=_[0],I=_[1],A=_[2],U=r.useRef({x:0,y:0}),K=r.useRef(),H=r.useRef(!1),V=r.useRef(),X=r.useRef(null),Y=r.useRef(!1),z=r.useRef({x:0,y:0}),B=r.useRef({x:0,y:0}),W=r.useRef({x:0,y:0}),F=r.useRef({x:0,y:0}),q=r.useRef({x:0,y:0}),G=r.useRef({x:0,y:0}),Z=Boolean("undefined"!=typeof window&&window.PointerEvent),$=!h&&Z,J=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),Q=r.useCallback((function(){return m&&m.current&&m.current.element?m.current.element:m?m.current:null}),[m]),ee=r.useCallback((function(){return k&&k.current&&k.current.element?k.current.element:k?k.current:null}),[k]),ne=r.useCallback((function(){return"object"==typeof b&&b.boundaryElementRef&&b.boundaryElementRef.current&&b.boundaryElementRef.current.element?b.boundaryElementRef.current.element:"object"==typeof b&&b.boundaryElementRef&&b.boundaryElementRef.current?b.boundaryElementRef.current:null}),[b]),te=r.useRef(null);r.useImperativeHandle(te,(function(){return{element:J(),hint:Q(),onPress:me,onDragStart:he,onDrag:ye,onDragEnd:be,onRelease:ge,data:e.current}}));var re=r.useCallback((function(){var e=J();return e&&e.ownerDocument||document}),[J]),oe=r.useCallback((function(){var e=re();return e&&e.defaultView||window}),[re]),ae=r.useCallback((function(){return{drag:T?T.current:null,drop:N?N.current:null,drags:j.map((function(e){return e.current})),drops:L.map((function(e){return e.current})),pressed:w,ignoreMouse:H.current,scrollOffset:q.current,offset:z.current,pageOffset:B.current,initialScrollOffset:G.current,clientOffset:W.current,initialClientOffset:F.current,velocity:U.current,autoScroll:Boolean("object"==typeof b?!1!==b.enabled:b),scrollableParent:ne(),autoScrollDirection:"object"==typeof b?b.direction:{horizontal:!0,vertical:!0},isScrolling:M}}),[T,N,j,L,w,b,ne,M]),ie=r.useCallback((function(e){E(e)}),[]),ue=r.useCallback((function(e){R(e)}),[]),le=r.useCallback((function(e){U.current=e}),[]),ce=r.useCallback((function(e){z.current=e}),[]),se=r.useCallback((function(e){W.current=e}),[]),fe=r.useCallback((function(e){B.current=e}),[]),de=r.useCallback((function(e){F.current=e}),[]),ve=r.useCallback((function(e){q.current=e}),[]),pe=r.useCallback((function(e){G.current=e}),[]),me=r.useCallback((function(e){a(e)}),[a]),ge=r.useCallback((function(e){u(e)}),[u]),he=r.useCallback((function(n){P(te,{target:e.current,event:n}),c(n)}),[P,e,c]),ye=r.useCallback((function(e){f(e)}),[f]),be=r.useCallback((function(n){Y.current||(P(null,{target:e.current,event:n}),v(n))}),[v,P,e]),Ce=r.useCallback((function(e){Ae(ae(),{event:e,payload:te.current},{onVelocityChange:le,onOffsetChange:ce,onClientOffsetChange:se,onPageOffsetChange:fe,onInitialClientOffsetChange:de,onScrollOffsetChange:ve,onInitialScrollOffsetChange:pe,onIsPressedChange:ie,onIsScrollingChange:ue})}),[ae,le,ce,fe,se,de,pe,ie,ve,ue]),ke=r.useCallback((function(e){Ce(e)}),[Ce]),Oe=r.useCallback((function(e){Ce(e)}),[Ce]),we=r.useCallback((function(e){Ce(e)}),[Ce]),Re=r.useCallback((function(e){Ce(e)}),[Ce]),Ne=r.useCallback((function(e){Ce(e)}),[Ce]),Se=r.useCallback((function(e){Ce(e)}),[Ce]),Te=r.useCallback((function(e){Ce(e)}),[Ce]),Pe=r.useCallback((function(e){e.preventDefault(),Ce(e)}),[Ce]),Le=r.useCallback((function(e){e.preventDefault(),Ce(e)}),[Ce]),_e=r.useCallback((function(e){e.preventDefault(),Ce(e)}),[Ce]),Ie=r.useCallback((function(e){if(0===e.touches.length&&1===e.changedTouches.length){var n=oe();H.current=!0,V.current=n.setTimeout((function(){H.current=!1}),2e3)}Ce(e)}),[Ce,oe]),He=r.useCallback((function(e){Ce(e)}),[Ce]),Ve=r.useCallback((function(){var e=J();if(e){var n=e.style.touchAction;return e.style.touchAction="none",function(){e.style.touchAction=n}}}),[J]),Xe=r.useCallback((function(){return I(te),function(){A(te)}}),[A,I]);r.useEffect((function(){var e=oe();if(M){var n=ee()||je(document.elementFromPoint(W.current.x,W.current.y));e.clearInterval(K.current),K.current=e.setInterval((function(){Ue(n,{x:U.current.x,y:U.current.y})}),50)}return function(){e.clearInterval(K.current)}}),[J,ee,oe,M]),r.useEffect(Ve,[Ve]),r.useEffect((function(){var e=oe(),n=J(),t=re();return $?(n&&(X.current=je(n),X.current&&X.current.addEventListener("scroll",He,{passive:!0}),n.addEventListener("pointerdown",ke,{passive:!0})),w&&(t.addEventListener("pointermove",Oe),t.addEventListener("pointerup",Re,!0),t.addEventListener("contextmenu",Pe),t.addEventListener("pointercancel",we,{passive:!0}))):(e.addEventListener("touchmove",x,{capture:!1,passive:!1}),n&&(n.addEventListener("mousedown",Ne,{passive:!0}),h||(n.addEventListener("touchstart",Le,{passive:!0}),w&&(n.addEventListener("touchmove",_e,{passive:!0}),n.addEventListener("touchend",Ie,{passive:!0})))),w&&(t.addEventListener("mousemove",Se,{passive:!0}),t.addEventListener("mouseup",Te,{passive:!0}))),function(){X.current&&X.current.removeEventListener("scroll",He),n&&(n.removeEventListener("pointerdown",ke),n.removeEventListener("mousedown",Ne),n.removeEventListener("touchstart",Le),n.removeEventListener("touchmove",_e),n.removeEventListener("touchend",Ie)),t.removeEventListener("pointermove",Oe),t.removeEventListener("pointerup",Re,!0),t.removeEventListener("contextmenu",Pe),t.removeEventListener("pointercancel",we),t.removeEventListener("mousemove",Se),t.removeEventListener("mouseup",Te),e.removeEventListener("touchmove",x),e.clearTimeout(V.current)}}),[w,oe,J,re,h,$,Pe,Ne,Se,Te,we,ke,Oe,Re,Ie,_e,Le,He]),r.useEffect((function(){return function(){Y.current=!0}}),[]),r.useLayoutEffect(Xe,[Xe])}var Ve=r.forwardRef((function(e,n){var t=r.useRef(null),o=r.useRef(null),a=r.useCallback((function(){return t.current&&t.current.element?t.current.element:t.current}),[t]);r.useImperativeHandle(o,(function(){return{element:a()||null}})),r.useImperativeHandle(n,(function(){return o.current})),r.useImperativeHandle(e.childRef,(function(){return t.current}));var i=r.useCallback((function(n){e.onPress&&e.onPress({element:a(),target:o.current,event:n})}),[a,e.onPress]),u=r.useCallback((function(n){e.onRelease&&e.onRelease({element:a(),target:o.current,event:n})}),[a,e.onRelease]),l=r.useCallback((function(n){e.onDragStart&&e.onDragStart({element:a(),target:o.current,event:n})}),[e,a]),c=r.useCallback((function(n){e.onDrag&&e.onDrag({element:a(),target:o.current,event:n})}),[a,e.onDrag]),s=r.useCallback((function(n){e.onDragEnd&&e.onDragEnd({element:a(),target:o.current,event:n})}),[a,e.onDragEnd]);return He(t,{onPress:i,onRelease:u,onDragStart:l,onDrag:c,onDragEnd:s},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?r.cloneElement(r.Children.only(e.children),{ref:t}):null}));function Xe(e,n){void 0===n&&(n={onDragEnter:x,onDragOver:x,onDragLeave:x,onDrop:x});var t=n.onDragEnter,o=void 0===t?x:t,a=n.onDragOver,i=void 0===a?x:a,u=n.onDragLeave,l=void 0===u?x:u,c=n.onDrop,s=void 0===c?x:c,f=Ke(xe)[1],d=r.useContext(Me),v=d[1],p=d[2],m=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),g=r.useRef(null);r.useImperativeHandle(g,(function(){return{element:m(),onDragEnter:h,onDragOver:y,onDragLeave:b,onDrop:C,data:e.current}}));var h=r.useCallback((function(n){f(g,{target:e.current,event:n}),o(n)}),[f,e,o]),y=r.useCallback((function(e){i(e)}),[i]),b=r.useCallback((function(n){f(null,{target:e.current,event:n}),l(n)}),[f,e,l]),C=r.useCallback((function(n){f(null,{target:e.current,event:n}),s(n)}),[f,e,s]),k=r.useCallback((function(){return v(g),function(){p(g)}}),[p,v]);r.useLayoutEffect(k,[k])}Ve.displayName="KendoReactDraggable";var Ye=r.forwardRef((function(e,n){var t=r.useRef(null),o=r.useRef(null),a=r.useCallback((function(){return t.current&&t.current.element?t.current.element:t.current}),[t]);r.useImperativeHandle(o,(function(){return{element:a()||void 0}})),r.useImperativeHandle(n,(function(){return o.current})),r.useImperativeHandle(e.childRef,(function(){return t.current}));var i=r.useCallback((function(n){e.onDragEnter&&e.onDragEnter({element:a(),target:o.current,event:n})}),[e.onDragEnter,a]),u=r.useCallback((function(n){e.onDragOver&&e.onDragOver({element:a(),target:o.current,event:n})}),[a,e.onDragOver]),l=r.useCallback((function(n){e.onDragLeave&&e.onDragLeave({element:a(),target:o.current,event:n})}),[e.onDragLeave,a]),c=r.useCallback((function(n){e.onDrop&&e.onDrop({element:a(),target:o.current,event:n})}),[e.onDrop,a]);return Xe(t,{onDragEnter:i,onDragOver:u,onDragLeave:l,onDrop:c}),e.children?r.cloneElement(r.Children.only(e.children),{ref:t}):null}));Ye.displayName="KendoReactDroppable";var ze={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}(t(6))},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t(0),o=t(1),a=t(4),i=t(4),u=t(7);n.ScrollView=r.forwardRef((function(e,n){i.validatePackage(u.packageMetadata);var t=e.className,o=e.style,l=e.children,c=e.pagerOverlay,s=e.pageable,f=e.arrows,d=e.endless,v=e.activeView,p=e.automaticViewChange,m=e.automaticViewChangeInterval,g=r.useState(v||1),h=g[0],y=g[1],b=r.useRef(null),C=r.useRef(null),k=r.useRef(null),O=r.Children.toArray(l),w=a.useRtl(b,e.dir),E="rtl"===w,x=r.useCallback((function(){b.current&&b.current.focus()}),[]),D=r.useCallback((function(){return{element:b.current,focus:x}}),[x]);r.useImperativeHandle(n,D);var M=r.useCallback((function(){d?y(h>1?h-1:O.length):h>1&&y(h-1)}),[h,O.length,d]),R=r.useCallback((function(){d?h<O.length?y(h+1):y(1):h<O.length&&y(h+1)}),[h,O.length,d]),N=r.useCallback((function(){E?R():M()}),[E,M,R]),S=r.useCallback((function(){E?M():R()}),[E,R,M]);function T(){k.current&&clearTimeout(k.current)}r.useEffect((function(){var e=O.length;C.current&&(C.current.style.setProperty("--kendo-scrollview-views",""+e),C.current.style.setProperty("--kendo-scrollview-current",""+h))}),[O,h,w]),r.useEffect((function(){if(p)return T(),k.current=setTimeout((function(){return y((function(e){return e===O.length?d?1:e:e+1}))}),m),function(){T()}}),[p,m,O.length,h,d]);var P=r.useCallback((function(e){switch(e.keyCode){case a.Keys.left:e.preventDefault(),E?R():M();break;case a.Keys.right:e.preventDefault(),E?M():R()}}),[E,R,M]),L=r.useMemo((function(){return a.classNames("k-widget k-scrollview",{"k-scrollview-light":"light"===c,"k-scrollview-dark":"dark"===c},t)}),[t,c]),_=r.Children.map(l||null,(function(e,n){return r.createElement("div",{className:"k-scrollview-view","aria-hidden":h!==n+1},e)})),j=r.useCallback((function(){var e;return e=E?h<O.length:h>1,(d||e)&&O.length>0}),[h,O.length,d,E]),I=r.useCallback((function(){var e;return e=E?h>1:h<O.length,(d||e)&&O.length>0}),[h,O.length,d,E]);return r.createElement("div",{className:L,style:o,ref:b,tabIndex:0,dir:w,onKeyDown:P},r.createElement("div",{className:"k-scrollview-wrap k-scrollview-animate",ref:C},_),r.createElement("div",{className:"k-scrollview-elements"},f&&r.createElement(r.Fragment,null,j()&&r.createElement("a",{className:"k-scrollview-prev","aria-label":"previous",onClick:N},r.createElement("span",{className:"k-icon k-i-arrowhead-w"})),I()&&r.createElement("a",{className:"k-scrollview-next","aria-label":"next",onClick:S},r.createElement("span",{className:"k-icon k-i-arrowhead-e"}))),s&&r.createElement("div",{className:"k-scrollview-nav-wrap"},r.createElement("ul",{className:"k-scrollview-nav"},O.map((function(e,n){return r.createElement("li",{className:a.classNames("k-link",{"k-primary":h===n+1}),key:n+1,onClick:function(){return y(n+1)}})}))))))})),n.ScrollView.propTypes={activeView:o.number,arrows:o.bool,automaticViewChange:o.bool,automaticViewChangeInterval:o.number,children:o.any,className:o.string,dir:o.string,endless:o.bool,pageable:o.bool,pageOverlay:o.string,style:o.object};n.ScrollView.defaultProps={activeView:1,arrows:!0,automaticViewChange:!0,automaticViewChangeInterval:5e3,endless:!1,pageable:!0,pageOverlay:"none"},n.ScrollView.displayName="KendoScrollView"},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.packageMetadata={name:"@progress/kendo-react-scrollview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1643036500,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}}])}));
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react"),require("prop-types"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-licensing"],n):"object"==typeof exports?exports.KendoReactScrollview=n(require("react"),require("prop-types"),require("@progress/kendo-licensing")):e.KendoReactScrollview=n(e.React,e.PropTypes,e.KendoLicensing)}(window,(function(e,n,t){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=5)}([function(n,t){n.exports=e},function(e,t){e.exports=n},function(e,n){e.exports=t},,function(e,n,t){"use strict";t.r(n),t.d(n,"ZIndexContext",(function(){return o})),t.d(n,"useZIndexContext",(function(){return a})),t.d(n,"BrowserSupportService",(function(){return u})),t.d(n,"canUseDOM",(function(){return l})),t.d(n,"canUseRef",(function(){return c})),t.d(n,"classNames",(function(){return s})),t.d(n,"cloneDate",(function(){return f})),t.d(n,"clone",(function(){return d})),t.d(n,"cloneObject",(function(){return v})),t.d(n,"cloneValue",(function(){return p})),t.d(n,"cloneArray",(function(){return m})),t.d(n,"focusFirstFocusableChild",(function(){return g})),t.d(n,"FormComponent",(function(){return h})),t.d(n,"getTabIndex",(function(){return y})),t.d(n,"getter",(function(){return O})),t.d(n,"guid",(function(){return w})),t.d(n,"Keys",(function(){return E})),t.d(n,"noop",(function(){return x})),t.d(n,"getScrollbarWidth",(function(){return D})),t.d(n,"setScrollbarWidth",(function(){return M})),t.d(n,"setter",(function(){return S})),t.d(n,"mapTree",(function(){return L})),t.d(n,"mapTreeItem",(function(){return _})),t.d(n,"extendDataItem",(function(){return j})),t.d(n,"getItemPath",(function(){return I})),t.d(n,"validatePackage",(function(){return U})),t.d(n,"hasRelativeStackingContext",(function(){return K})),t.d(n,"dispatchEvent",(function(){return H})),t.d(n,"AsyncFocusBlur",(function(){return Y})),t.d(n,"createPropsContext",(function(){return W})),t.d(n,"withPropsContext",(function(){return F})),t.d(n,"useDir",(function(){return q})),t.d(n,"useAsyncFocusBlur",(function(){return V})),t.d(n,"useRtl",(function(){return G})),t.d(n,"useMouse",(function(){return $})),t.d(n,"useCustomComponent",(function(){return J})),t.d(n,"usePropsContext",(function(){return z})),t.d(n,"COLLECTION_ACTION",(function(){return Z})),t.d(n,"useCollection",(function(){return Q})),t.d(n,"Icon",(function(){return oe})),t.d(n,"SvgIcon",(function(){return le})),t.d(n,"Typography",(function(){return ke})),t.d(n,"DragAndDrop",(function(){return Re})),t.d(n,"Draggable",(function(){return Ve})),t.d(n,"Droppable",(function(){return Ye})),t.d(n,"useDraggable",(function(){return He})),t.d(n,"useDroppable",(function(){return Xe})),t.d(n,"kendoThemeMaps",(function(){return ze}));var r=t(0),o=r.createContext(0),a=function(){return r.useContext(o)};o.displayName="KendoReactZIndexContext";var i=function(){return"undefined"!=typeof document?document:{}},u=function(){function e(){}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=i();if(!this.scrollbar&&e&&e.createElement){var n=e.createElement("div");n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML="&nbsp;",e.body.appendChild(n),this.scrollbar=n.offsetWidth-n.scrollWidth,e.body.removeChild(n)}return this.scrollbar},enumerable:!0,configurable:!0}),e}(),l=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),c=function(e){return"string"!=typeof Comment&&(function(e){return Boolean("function"==typeof e&&!!e.prototype.isReactComponent)}(e)||function(e){return Boolean(e.$$typeof&&"function"==typeof e.render)}(e))},s=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t={},r=function(e){return"object"==typeof e?Object.keys(e).forEach((function(n){t[n]=e[n]})):t[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(t).map((function(e){return t[e]&&e||null})).filter((function(e){return null!==e})).join(" ")},f=function(e){return e?new Date(e.getTime()):null};function d(e){var n={};return v(e,n),n}function v(e,n){for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];n[t]=p(r,n[t])}}function p(e,n){if(Array.isArray(e))return m(e);if(e instanceof Date)return f(e);if(r.isValidElement(e))return r.cloneElement(e,e.props);if(e&&"object"==typeof e){var t=n||{};return v(e,t),t}return e}function m(e){return e.map((function(e){return p(e,void 0)}))}var g=function(e){if(e){if((e instanceof HTMLInputElement||-1!==e.tabIndex)&&e.focus)return void e.focus();var n=e.querySelector('input, [tabindex]:not([tabindex="-1"])');n&&n.focus&&n.focus()}},h=function(){},y=function(e,n,t){var r="string"==typeof e?parseInt(e,void 0):e;if(NaN!==r)return void 0!==r?r:n?t?void 0:-1:0},b=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function C(e){var n=[];return e.replace(b,(function(e,t,r,o){n.push(void 0!==t?t:r||o)})),n}var k={};function O(e){if(k[e])return k[e];var n=C(e);return k[e]=function(e){for(var t=e,r=0;r<n.length&&t;r++)t=t[n[r]];return t},k[e]}k.undefined=function(){};var w=function(){var e,n,t="";for(e=0;e<32;e++)n=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(t+="-"),t+=(12===e?4:16===e?3&n|8:n).toString(16);return t},E={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},x=function(){},D=function(){return!(!l||!document.body)&&(new u).scrollbarWidth},M=function(){if(!l||!document.body)return!1;var e=(new u).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",e+"px")},R={undefined:function(e){return e}},N=function(e,n){return n&&n.arrays&&!isNaN(Number(e))?[]:{}};function S(e){if(R[e])return R[e];var n=C(e);return R[e]=function(e,t,r){for(var o=e,a=n.length-1,i=0;i<a&&o;i++)o=o[n[i]]=o[n[i]]||N(n[i+1],r);o[n[a]]=t},R[e]}var T=function(){return(T=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function P(e,n,t){var r;return t?T({},e,((r={})[n]=t.length?t.slice():void 0,r)):e&&e[n]?e[n].slice():[]}var L=function(e,n,t){return e.map((function(e){return function e(n,t,r){if(n[t]){var o=P(n,t).map((function(n){return e(n,t,r)}));return r(P(n,t,o))}return r(n)}(e,n,t)})).slice()},_=function(e,n,t,r){for(var o=e,a=[],i=0;i<n.length;i++)o=o[n[i]],o=Array.isArray(o)?o:o[t],a.push(o);var u=a.length>1?a[a.length-2]:e,l=n[n.length-1],c=r(u[l]);u.splice(l,1,c)},j=function(e,n,t){var r;return Object.assign({},e,e[n]?((r={})[n]=e[n].slice(),r):{},t||{})},I=function(e,n,t){var r=[],o=n.slice();if(o.length){var a=e[o.shift()||0];for(r.push(a);o.length&&t;)a=a[t][o.shift()||0],r.push(a)}return r},A=t(2);function U(e){if(void 0!==A)A.validatePackage(e);else{var n="License activation failed for "+e.name+"\n";n+="The @progress/kendo-licensing script is not loaded.\n",n+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(n)}}var K=function(e){if(!l)return!1;var n=e?e.ownerDocument:document;if(!n||!n.body)return!1;var t=n.createElement("div");t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML='<div style="position: fixed; top: 10px;">child</div>',n.body.appendChild(t);var r=10!==t.children[0].getBoundingClientRect().top;return n.body.removeChild(t),r};function H(e,n,t,r){if(e){var o={syntheticEvent:n,nativeEvent:n.nativeEvent,target:t};e.call(void 0,Object.assign(o,r))}}function V(e){var n=e.onFocus,t=e.onBlur,o=e.onSyncFocus,a=e.onSyncBlur,i=r.useRef(!1),u=r.useRef(0),l=r.useCallback((function(e){clearTimeout(u.current),u.current=window.setTimeout((function(){return e()}))}),[u]),c=r.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];clearTimeout(u.current),o&&o.call.apply(o,[void 0].concat(e)),i.current||(i.current=!0,n&&n.call.apply(n,[void 0].concat(e)))}),[i,n,o]),s=r.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];a&&a.call.apply(a,[void 0].concat(e)),l((function(){i.current&&t&&(i.current=!1,t.call.apply(t,[void 0].concat(e)))}))}),[i,l,t,a]);return r.useEffect((function(){return function(){clearTimeout(u.current)}}),[]),{onFocus:c,onBlur:s}}var X=function(){return(X=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},Y=function(e){var n=e.children,t=V({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return n.call(void 0,X({},t))},z=function(e,n){return r.useContext(e)(n)},B=function(){return(B=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},W=function(){return r.createContext((function(e){return e}))},F=function(e,n){return r.forwardRef((function(t,o){var a=z(e,t);return r.createElement(n,B({},a,{ref:o}))}))};function q(e,n,t){var o=r.useState(n),a=o[0],i=o[1];return r.useEffect((function(){if(!a&&window&&e.current){var n=window.getComputedStyle(e.current).direction;n&&i(n)}}),t),a}function G(e,n,t){var o=r.useState(n),a=o[0],i=o[1];return r.useEffect((function(){if(!a&&window&&e.current){var n=window.getComputedStyle(e.current).direction;n&&i(n)}}),t),a}var Z,$=function(e,n,t){void 0===t&&(t={});var o=r.useCallback((function(r){t.onMouseDown&&t.onMouseDown.call(void 0,r),e.onMouseDown&&e.onMouseDown.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseDown,e.onMouseDown,n]),a=r.useCallback((function(r){t.onMouseUp&&t.onMouseUp.call(void 0,r),e.onMouseUp&&e.onMouseUp.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseUp,e.onMouseUp,n]);return{onClick:r.useCallback((function(r){t.onClick&&t.onClick.call(void 0,r),e.onClick&&e.onClick.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onClick,e.onClick,n]),onMouseUp:a,onMouseDown:o,onDoubleClick:r.useCallback((function(r){t.onDoubleClick&&t.onDoubleClick.call(void 0,r),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onDoubleClick,e.onDoubleClick,n]),onMouseEnter:r.useCallback((function(r){t.onMouseEnter&&t.onMouseEnter.call(void 0,r),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseEnter,e.onMouseEnter,n]),onMouseLeave:r.useCallback((function(r){t.onMouseLeave&&t.onMouseLeave.call(void 0,r),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseLeave,e.onMouseLeave,n]),onMouseMove:r.useCallback((function(r){t.onMouseMove&&t.onMouseMove.call(void 0,r),e.onMouseMove&&e.onMouseMove.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseMove,e.onMouseMove,n]),onMouseOut:r.useCallback((function(r){t.onMouseOut&&t.onMouseOut.call(void 0,r),e.onMouseOut&&e.onMouseOut.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseOut,e.onMouseOut,n]),onMouseOver:r.useCallback((function(r){t.onMouseOver&&t.onMouseOver.call(void 0,r),e.onMouseOver&&e.onMouseOver.call(void 0,{target:n.current,syntheticEvent:r})}),[t.onMouseOver,e.onMouseOver,n])}},J=function(e){return r.isValidElement(e)?[e.type,e.props]:[e,{}]};!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(Z||(Z={}));var Q=function(e){void 0===e&&(e=[]);var n=r.useRef(e),t=r.useCallback((function(e){switch(e.type){case Z.add:n.current.push(e.item);break;case Z.remove:var t=n.current.indexOf(e.item);n.current.splice(t,1)}}),[]);return[n.current,t]},ee=t(1),ne={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},te=function(){return(te=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},re=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&(t[r[o]]=e[r[o]])}return t},oe=r.forwardRef((function(e,n){var t=e.className,o=e.name,a=e.themeColor,i=e.size,u=e.flip,l=e.style,c=re(e,["className","name","themeColor","size","flip","style"]),f=r.useRef(null),d=r.useRef(null);r.useImperativeHandle(f,(function(){return{element:d.current}})),r.useImperativeHandle(n,(function(){return f.current}));var v=r.useMemo((function(){return a||ae.themeColor}),[a]),p=r.useMemo((function(){return i||ae.size}),[i]),m=r.useMemo((function(){return u||ae.flip}),[u]),g=r.useMemo((function(){return s("k-icon","k-i-"+o,"k-color-"+v,{"k-flip-h":"horizontal"===m||"both"===m,"k-flip-v":"vertical"===m||"both"===m},ne[p],t)}),[o,v,p,m,t]),h=$(e,f);return r.createElement("span",te({ref:d},c,h,{className:g,style:l,role:"presentation"}))}));oe.propTypes={style:ee.object,classNames:ee.string,name:ee.string,themeColor:ee.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:ee.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:ee.oneOf(["default","horizontal","vertical","both"])};var ae={size:"default",themeColor:"inherit",flip:"default"};oe.displayName="KendoIcon";var ie=function(){return(ie=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},ue=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&(t[r[o]]=e[r[o]])}return t},le=r.forwardRef((function(e,n){var t=e.children,o=e.className,a=e.svgClassName,i=e.icon,u=e.flip,l=e.size,c=e.style,f=e.svgStyle,d=e.themeColor,v=e.viewBox,p=ue(e,["children","className","svgClassName","icon","flip","size","style","svgStyle","themeColor","viewBox"]),m=r.useRef(null);r.useImperativeHandle(n,(function(){return{element:m.current}}));var g=r.useMemo((function(){return i?i.name:ce.icon}),[i]),h=r.useMemo((function(){return d||ce.themeColor}),[d]),y=r.useMemo((function(){return l||ce.size}),[l]),b=r.useMemo((function(){return u||ce.flip}),[u]),C=r.useMemo((function(){return v||ce.viewBox}),[v]),k=r.useMemo((function(){return s("k-svg-icon","k-color-"+h,"k-svg-i-"+g,{"k-flip-h":"horizontal"===b||"both"===b,"k-flip-v":"vertical"===b||"both"===b},ne[y],o)}),[g,h,y,b,o]),O=r.useMemo((function(){return e.width&&e.height?ie({width:e.width,height:e.height},c):e.width?ie({width:e.width,height:e.width},c):e.height?ie({width:e.height,height:e.height},c):ie({},c)}),[e.width,e.height,c]);return r.createElement("span",{className:k,style:O,ref:m},r.createElement("svg",ie({className:a,style:f,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:i?i.viewBox:C,dangerouslySetInnerHTML:i?{__html:i.content}:void 0},p),i?void 0:t))}));le.propTypes={style:ee.object,classNames:ee.string,children:ee.any,icon:ee.object,themeColor:ee.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:ee.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:ee.oneOf(["default","horizontal","vertical","both"])};var ce={size:"default",themeColor:"inherit",flip:"default",icon:"",viewBox:"0 0 24 24"};le.displayName="KendoSvgIcon";var se={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},fe={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},de={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},ve={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},pe={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},me={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},ge={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},he={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"},ye=function(){return(ye=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},be=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&(t[r[o]]=e[r[o]])}return t},Ce=function(e){var n=r.forwardRef((function(n,t){var o=n.className,a=n.fontSize,i=n.fontWeight,u=n.textAlign,l=n.textTransform,c=n.themeColor,s=n.margin,f=be(n,["className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),d=r.useRef(null),v=r.useRef(null);r.useImperativeHandle(d,(function(){return{element:v.current,props:n}})),r.useImperativeHandle(t,(function(){return d.current}));var p=e,m=function(){if(void 0!==s){if("string"==typeof s)return[de[s]];if("number"==typeof s&&s>=0&&s<=24)return["k-m-"+s];if("object"==typeof s){var e=[];return Object.keys(s).forEach((function(n){var t,r;null!==s[n]&&void 0!==s[n]&&e.push((t=n,r=s[n],""+pe[t]+("string"==typeof r?ve[r]:r)))})),e.join(" ")}}};return r.createElement(p,ye({ref:v,className:["k-"+("p"===e?"paragraph":e),se[a],fe[i],me[u],ge[l],he[c],m(),o].filter((function(e){return void 0!==e})).join(" ")},f),n.children)}));return n.propTypes={style:ee.object,className:ee.string,fontSize:ee.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:ee.oneOf(["light","normal","bold"]),margin:ee.oneOfType([ee.number,ee.object,ee.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:ee.oneOf(["left","right","center","justify"]),textTransform:ee.oneOf(["lowercase","uppercase","capitalize"]),themeColor:ee.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},n.displayName="KendoReactTypography"+e.toUpperCase(),n},ke={h1:Ce("h1"),h2:Ce("h2"),h3:Ce("h3"),h4:Ce("h4"),h5:Ce("h5"),h6:Ce("h6"),p:Ce("p"),code:Ce("code"),pre:Ce("pre")},Oe=function(){return(Oe=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},we=function(e,n,t){var o=r.useState(n||e),a=o[0],i=o[1];return[void 0!==n?n:a,r.useCallback((function(e,n){i(e),t&&t.call(void 0,Oe({},n,{value:e}))}),[t,i])]},Ee=r.createContext([void 0,x]),xe=r.createContext([void 0,x]),De=r.createContext([[],x,x]),Me=r.createContext([[],x,x]),Re=function(e){var n=we(null,void 0),t=n[0],o=n[1],a=we(null,void 0),i=a[0],u=a[1],l=Q([]),c=l[0],s=l[1],f=Q([]),d=f[0],v=f[1];return r.createElement(Ee.Provider,{value:[t,o]},r.createElement(xe.Provider,{value:[i,u]},r.createElement(De.Provider,{value:[c,function(e){s({type:Z.add,item:e})},function(e){s({type:Z.remove,item:e})}]},r.createElement(Me.Provider,{value:[d,function(e){v({type:Z.add,item:e})},function(e){v({type:Z.remove,item:e})}]},e.children))))};Re.displayName="KendoReactDragAndDrop";var Ne,Se=function(e,n){var t=0,r=null;return n.forEach((function(n){if(n&&e){var o=function(e,n){var t=e.getBoundingClientRect(),r=n.getBoundingClientRect(),o=Math.max(r.top,t.top),a=Math.max(r.left,t.left),i=Math.min(r.left+r.width,t.left+t.width),u=Math.min(r.top+r.height,t.top+t.height),l=i-a,c=u-o;if(a<i&&o<u){var s=r.width*r.height,f=t.width*t.height,d=l*c;return Number((d/(s+f-d)).toFixed(4))}return 0}(e,n);o>t&&(t=o,r=n)}})),r},Te=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var n=!1,t=[],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)&&(t=e.match(r[o]))){(n={})[o]=!0,n[t[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,n.version=parseInt(document.DOCUMENT_NODE||t[2],10);break}return n},Pe=function(e){return e&&e.ownerDocument||window.document},Le=function(e){var n=Te(),t=Pe(e);return n.edge||n.safari?t.body:t.documentElement},_e=function(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var n=window.getComputedStyle(e,"overflow").overflow;return n.indexOf("auto")>-1||n.indexOf("scroll")>-1},je=function(e){var n=Le(e);if(!e||e===document.body||e===document.documentElement)return n;for(var t=e;t&&!_e(t)&&t!==document.body;)t=t.parentNode;return t===document.body?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"}(Ne||(Ne={}));var Ie=function(){},Ae=function(e,n,t){void 0===t&&(t={});var r,o,a,i,u=t.onIsPressedChange,l=void 0===u?Ie:u,c=t.onIsScrollingChange,s=void 0===c?Ie:c,f=t.onVelocityChange,d=void 0===f?Ie:f,v=t.onOffsetChange,p=void 0===v?Ie:v,m=t.onPageOffsetChange,g=void 0===m?Ie:m,h=t.onClientOffsetChange,y=void 0===h?Ie:h,b=t.onScrollOffsetChange,C=void 0===b?Ie:b,k=t.onInitialScrollOffsetChange,O=void 0===k?Ie:k,w=n.payload,E=w.element,x=w.hint,D=e.autoScrollDirection,M=e.scrollableParent,R=function(e,n){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:n.scrollOffset.x,scrollY:n.scrollOffset.y,offsetX:n.offset.x,offsetY:n.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:n.pageOffset.x,pageY:n.pageOffset.y,clientX:n.clientOffset.x,clientY:n.clientOffset.y,scrollX:n.scrollOffset.x,scrollY:n.scrollOffset.y,offsetX:n.offset.x,offsetY:n.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:n.scrollOffset.x,scrollY:n.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}}(n.event,e);switch(R.type){case Ne.POINTER_DOWN:if(R.type===Ne.POINTER_DOWN&&(!R.originalEvent.isPrimary||0!==R.originalEvent.button))break;case Ne.MOUSE_DOWN:if(R.type===Ne.MOUSE_DOWN&&R.originalEvent.which&&R.originalEvent.which>1||e.ignoreMouse)break;case Ne.TOUCH_START:if(R.type===Ne.TOUCH_START&&1!==R.originalEvent.touches.length)break;case Ne.START:var N=M||je(n.payload.element);O(N instanceof Window?{x:N.scrollX,y:N.scrollY}:{x:N.scrollLeft,y:N.scrollTop}),y({x:R.clientX,y:R.clientY}),g({x:R.pageX,y:R.pageY}),p({x:R.offsetX,y:R.offsetY}),l(!0),w.onPress&&w.onPress(R);break;case Ne.SCROLL:if(R.type===Ne.SCROLL&&!e.pressed)break;var S=M||je(E),T=S instanceof Window?{x:S.scrollX,y:S.scrollY}:{x:S.scrollLeft,y:S.scrollTop};R.scrollX=T.x-e.initialScrollOffset.x,R.scrollY=T.y-e.initialScrollOffset.y,C({x:R.scrollX,y:R.scrollY});case Ne.POINTER_MOVE:if(R.type===Ne.POINTER_MOVE&&!R.originalEvent.isPrimary)break;case Ne.MOUSE_MOVE:case Ne.TOUCH_MOVE:if(R.type===Ne.TOUCH_MOVE&&1!==R.originalEvent.touches.length)break;case Ne.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==R.originalEvent.type&&E){var P=Pe(E),L=M||je(P.elementFromPoint(R.clientX,R.clientY)),_=function(e,n,t){var r={x:0,y:0};return e-t.left<50?r.x=-(50-(e-t.left)):t.right-e<50&&(r.x=50-(t.right-e)),n-t.top<50?r.y=-(50-(n-t.top)):t.bottom-n<50&&(r.y=50-(t.bottom-n)),r}(R.pageX,R.pageY,function(e,n){var t=Le(e);if(e===t)return{top:t.scrollTop,left:t.scrollLeft,bottom:t.scrollTop+n.innerHeight,right:t.scrollLeft+n.innerWidth};var r=e.getBoundingClientRect();return{bottom:r.top+r.height,right:r.left+r.width,left:r.left,top:r.top}}(L,function(e){var n=Pe(e);return n&&n.defaultView||window}(E)));d({x:D&&!1===D.horizontal?0:_.x,y:D&&!1===D.vertical?0:_.y}),s(0!==_.y||0!==_.x)}!e.drag&&w.onDragStart&&w.onDragStart(R),w.onDrag&&w.onDrag(R);var j=Se(x||E,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(x||E)}))),I=e.drops.find((function(e){return e.element===j}));I&&j&&(r=R.clientX,o=R.clientY,a=M||je(j),(i=a.getBoundingClientRect()).top<=o&&i.left<=r&&o<=i.bottom&&r<=i.right)&&j!==E?(e.drop&&e.drop.element)!==j?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(R),I.onDragEnter&&I.onDragEnter(R)):I.onDragOver&&I.onDragOver(R):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(R)}y({x:R.clientX,y:R.clientY}),g({x:R.pageX,y:R.pageY});break;case Ne.POINTER_UP:if(R.type===Ne.POINTER_UP&&!R.originalEvent.isPrimary)break;case Ne.MOUSE_UP:case Ne.TOUCH_END:if(R.type===Ne.TOUCH_END&&1!==R.originalEvent.touches.length)break;case Ne.END:l(!1),s(!1),w.onRelease&&w.onRelease(R),e.drop&&e.drop.onDrop&&e.drop.onDrop(R),w.onDragEnd&&w.onDragEnd(R);break;case Ne.POINTER_CANCEL:case Ne.CONTEXT_MENU:case Ne.TOUCH_CANCEL:case Ne.CANCEL:l(!1),s(!1),w.onDragEnd&&w.onDragEnd(R),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(R)}},Ue=function(e,n){if(e){var t,r;e===Le(e)?(t=document.body.scrollHeight>window.innerHeight,r=document.body.scrollWidth>window.innerWidth):(t=e.offsetHeight<=e.scrollHeight,r=e.offsetWidth<=e.scrollWidth);var o=e.scrollTop+n.y,a=t&&o>0&&o<e.scrollHeight,i=e.scrollLeft+n.x,u=r&&i>0&&i<e.scrollWidth;a?e.scrollTop+=n.y:t&&o<0&&(e.scrollTop=0),u?e.scrollLeft+=n.x:r&&i<0&&(e.scrollLeft=0)}},Ke=function(e,n){var t=r.useContext(e),o=t[0],a=t[1],i=r.useState(n),u=i[0],l=i[1];return[void 0!==o?o:u,function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];void 0!==o?a.apply(void 0,e):l(e[0])}]};function He(e,n,t){void 0===t&&(t={});var o=n.onPress,a=void 0===o?x:o,i=n.onRelease,u=void 0===i?x:i,l=n.onDragStart,c=void 0===l?x:l,s=n.onDrag,f=void 0===s?x:s,d=n.onDragEnd,v=void 0===d?x:d,p=t.hint,m=void 0===p?null:p,g=t.mouseOnly,h=void 0!==g&&g,y=t.autoScroll,b=void 0===y||y,C=t.scrollContainer,k=void 0===C?null:C,O=r.useState(!1),w=O[0],E=O[1],D=r.useState(!1),M=D[0],R=D[1],N=Ke(xe)[0],S=Ke(Ee),T=S[0],P=S[1],L=r.useContext(Me)[0],_=r.useContext(De),j=_[0],I=_[1],A=_[2],U=r.useRef({x:0,y:0}),K=r.useRef(),H=r.useRef(!1),V=r.useRef(),X=r.useRef(null),Y=r.useRef(!1),z=r.useRef({x:0,y:0}),B=r.useRef({x:0,y:0}),W=r.useRef({x:0,y:0}),F=r.useRef({x:0,y:0}),q=r.useRef({x:0,y:0}),G=r.useRef({x:0,y:0}),Z=Boolean("undefined"!=typeof window&&window.PointerEvent),$=!h&&Z,J=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),Q=r.useCallback((function(){return m&&m.current&&m.current.element?m.current.element:m?m.current:null}),[m]),ee=r.useCallback((function(){return k&&k.current&&k.current.element?k.current.element:k?k.current:null}),[k]),ne=r.useCallback((function(){return"object"==typeof b&&b.boundaryElementRef&&b.boundaryElementRef.current&&b.boundaryElementRef.current.element?b.boundaryElementRef.current.element:"object"==typeof b&&b.boundaryElementRef&&b.boundaryElementRef.current?b.boundaryElementRef.current:null}),[b]),te=r.useRef(null);r.useImperativeHandle(te,(function(){return{element:J(),hint:Q(),onPress:me,onDragStart:he,onDrag:ye,onDragEnd:be,onRelease:ge,data:e.current}}));var re=r.useCallback((function(){var e=J();return e&&e.ownerDocument||document}),[J]),oe=r.useCallback((function(){var e=re();return e&&e.defaultView||window}),[re]),ae=r.useCallback((function(){return{drag:T?T.current:null,drop:N?N.current:null,drags:j.map((function(e){return e.current})),drops:L.map((function(e){return e.current})),pressed:w,ignoreMouse:H.current,scrollOffset:q.current,offset:z.current,pageOffset:B.current,initialScrollOffset:G.current,clientOffset:W.current,initialClientOffset:F.current,velocity:U.current,autoScroll:Boolean("object"==typeof b?!1!==b.enabled:b),scrollableParent:ne(),autoScrollDirection:"object"==typeof b?b.direction:{horizontal:!0,vertical:!0},isScrolling:M}}),[T,N,j,L,w,b,ne,M]),ie=r.useCallback((function(e){E(e)}),[]),ue=r.useCallback((function(e){R(e)}),[]),le=r.useCallback((function(e){U.current=e}),[]),ce=r.useCallback((function(e){z.current=e}),[]),se=r.useCallback((function(e){W.current=e}),[]),fe=r.useCallback((function(e){B.current=e}),[]),de=r.useCallback((function(e){F.current=e}),[]),ve=r.useCallback((function(e){q.current=e}),[]),pe=r.useCallback((function(e){G.current=e}),[]),me=r.useCallback((function(e){a(e)}),[a]),ge=r.useCallback((function(e){u(e)}),[u]),he=r.useCallback((function(n){P(te,{target:e.current,event:n}),c(n)}),[P,e,c]),ye=r.useCallback((function(e){f(e)}),[f]),be=r.useCallback((function(n){Y.current||(P(null,{target:e.current,event:n}),v(n))}),[v,P,e]),Ce=r.useCallback((function(e){Ae(ae(),{event:e,payload:te.current},{onVelocityChange:le,onOffsetChange:ce,onClientOffsetChange:se,onPageOffsetChange:fe,onInitialClientOffsetChange:de,onScrollOffsetChange:ve,onInitialScrollOffsetChange:pe,onIsPressedChange:ie,onIsScrollingChange:ue})}),[ae,le,ce,fe,se,de,pe,ie,ve,ue]),ke=r.useCallback((function(e){Ce(e)}),[Ce]),Oe=r.useCallback((function(e){Ce(e)}),[Ce]),we=r.useCallback((function(e){Ce(e)}),[Ce]),Re=r.useCallback((function(e){Ce(e)}),[Ce]),Ne=r.useCallback((function(e){Ce(e)}),[Ce]),Se=r.useCallback((function(e){Ce(e)}),[Ce]),Te=r.useCallback((function(e){Ce(e)}),[Ce]),Pe=r.useCallback((function(e){e.preventDefault(),Ce(e)}),[Ce]),Le=r.useCallback((function(e){e.preventDefault(),Ce(e)}),[Ce]),_e=r.useCallback((function(e){e.preventDefault(),Ce(e)}),[Ce]),Ie=r.useCallback((function(e){if(0===e.touches.length&&1===e.changedTouches.length){var n=oe();H.current=!0,V.current=n.setTimeout((function(){H.current=!1}),2e3)}Ce(e)}),[Ce,oe]),He=r.useCallback((function(e){Ce(e)}),[Ce]),Ve=r.useCallback((function(){var e=J();if(e){var n=e.style.touchAction;return e.style.touchAction="none",function(){e.style.touchAction=n}}}),[J]),Xe=r.useCallback((function(){return I(te),function(){A(te)}}),[A,I]);r.useEffect((function(){var e=oe();if(M){var n=ee()||je(document.elementFromPoint(W.current.x,W.current.y));e.clearInterval(K.current),K.current=e.setInterval((function(){Ue(n,{x:U.current.x,y:U.current.y})}),50)}return function(){e.clearInterval(K.current)}}),[J,ee,oe,M]),r.useEffect(Ve,[Ve]),r.useEffect((function(){var e=oe(),n=J(),t=re();return $?(n&&(X.current=je(n),X.current&&X.current.addEventListener("scroll",He,{passive:!0}),n.addEventListener("pointerdown",ke,{passive:!0})),w&&(t.addEventListener("pointermove",Oe),t.addEventListener("pointerup",Re,!0),t.addEventListener("contextmenu",Pe),t.addEventListener("pointercancel",we,{passive:!0}))):(e.addEventListener("touchmove",x,{capture:!1,passive:!1}),n&&(n.addEventListener("mousedown",Ne,{passive:!0}),h||(n.addEventListener("touchstart",Le,{passive:!0}),w&&(n.addEventListener("touchmove",_e,{passive:!0}),n.addEventListener("touchend",Ie,{passive:!0})))),w&&(t.addEventListener("mousemove",Se,{passive:!0}),t.addEventListener("mouseup",Te,{passive:!0}))),function(){X.current&&X.current.removeEventListener("scroll",He),n&&(n.removeEventListener("pointerdown",ke),n.removeEventListener("mousedown",Ne),n.removeEventListener("touchstart",Le),n.removeEventListener("touchmove",_e),n.removeEventListener("touchend",Ie)),t.removeEventListener("pointermove",Oe),t.removeEventListener("pointerup",Re,!0),t.removeEventListener("contextmenu",Pe),t.removeEventListener("pointercancel",we),t.removeEventListener("mousemove",Se),t.removeEventListener("mouseup",Te),e.removeEventListener("touchmove",x),e.clearTimeout(V.current)}}),[w,oe,J,re,h,$,Pe,Ne,Se,Te,we,ke,Oe,Re,Ie,_e,Le,He]),r.useEffect((function(){return function(){Y.current=!0}}),[]),r.useLayoutEffect(Xe,[Xe])}var Ve=r.forwardRef((function(e,n){var t=r.useRef(null),o=r.useRef(null),a=r.useCallback((function(){return t.current&&t.current.element?t.current.element:t.current}),[t]);r.useImperativeHandle(o,(function(){return{element:a()||null}})),r.useImperativeHandle(n,(function(){return o.current})),r.useImperativeHandle(e.childRef,(function(){return t.current}));var i=r.useCallback((function(n){e.onPress&&e.onPress({element:a(),target:o.current,event:n})}),[a,e.onPress]),u=r.useCallback((function(n){e.onRelease&&e.onRelease({element:a(),target:o.current,event:n})}),[a,e.onRelease]),l=r.useCallback((function(n){e.onDragStart&&e.onDragStart({element:a(),target:o.current,event:n})}),[e,a]),c=r.useCallback((function(n){e.onDrag&&e.onDrag({element:a(),target:o.current,event:n})}),[a,e.onDrag]),s=r.useCallback((function(n){e.onDragEnd&&e.onDragEnd({element:a(),target:o.current,event:n})}),[a,e.onDragEnd]);return He(t,{onPress:i,onRelease:u,onDragStart:l,onDrag:c,onDragEnd:s},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?r.cloneElement(r.Children.only(e.children),{ref:t}):null}));function Xe(e,n){void 0===n&&(n={onDragEnter:x,onDragOver:x,onDragLeave:x,onDrop:x});var t=n.onDragEnter,o=void 0===t?x:t,a=n.onDragOver,i=void 0===a?x:a,u=n.onDragLeave,l=void 0===u?x:u,c=n.onDrop,s=void 0===c?x:c,f=Ke(xe)[1],d=r.useContext(Me),v=d[1],p=d[2],m=r.useCallback((function(){return e.current&&e.current.element?e.current.element:e.current}),[e]),g=r.useRef(null);r.useImperativeHandle(g,(function(){return{element:m(),onDragEnter:h,onDragOver:y,onDragLeave:b,onDrop:C,data:e.current}}));var h=r.useCallback((function(n){f(g,{target:e.current,event:n}),o(n)}),[f,e,o]),y=r.useCallback((function(e){i(e)}),[i]),b=r.useCallback((function(n){f(null,{target:e.current,event:n}),l(n)}),[f,e,l]),C=r.useCallback((function(n){f(null,{target:e.current,event:n}),s(n)}),[f,e,s]),k=r.useCallback((function(){return v(g),function(){p(g)}}),[p,v]);r.useLayoutEffect(k,[k])}Ve.displayName="KendoReactDraggable";var Ye=r.forwardRef((function(e,n){var t=r.useRef(null),o=r.useRef(null),a=r.useCallback((function(){return t.current&&t.current.element?t.current.element:t.current}),[t]);r.useImperativeHandle(o,(function(){return{element:a()||void 0}})),r.useImperativeHandle(n,(function(){return o.current})),r.useImperativeHandle(e.childRef,(function(){return t.current}));var i=r.useCallback((function(n){e.onDragEnter&&e.onDragEnter({element:a(),target:o.current,event:n})}),[e.onDragEnter,a]),u=r.useCallback((function(n){e.onDragOver&&e.onDragOver({element:a(),target:o.current,event:n})}),[a,e.onDragOver]),l=r.useCallback((function(n){e.onDragLeave&&e.onDragLeave({element:a(),target:o.current,event:n})}),[e.onDragLeave,a]),c=r.useCallback((function(n){e.onDrop&&e.onDrop({element:a(),target:o.current,event:n})}),[e.onDrop,a]);return Xe(t,{onDragEnter:i,onDragOver:u,onDragLeave:l,onDrop:c}),e.children?r.cloneElement(r.Children.only(e.children),{ref:t}):null}));Ye.displayName="KendoReactDroppable";var ze={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}(t(6))},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t(0),o=t(1),a=t(4),i=t(4),u=t(7);n.ScrollView=r.forwardRef((function(e,n){i.validatePackage(u.packageMetadata);var t=e.className,o=e.style,l=e.children,c=e.pagerOverlay,s=e.pageable,f=e.arrows,d=e.endless,v=e.activeView,p=e.automaticViewChange,m=e.automaticViewChangeInterval,g=r.useState(v||1),h=g[0],y=g[1],b=r.useRef(null),C=r.useRef(null),k=r.useRef(null),O=r.Children.toArray(l),w=a.useRtl(b,e.dir),E="rtl"===w,x=r.useCallback((function(){b.current&&b.current.focus()}),[]),D=r.useCallback((function(){return{element:b.current,focus:x}}),[x]);r.useImperativeHandle(n,D);var M=r.useCallback((function(){d?y(h>1?h-1:O.length):h>1&&y(h-1)}),[h,O.length,d]),R=r.useCallback((function(){d?h<O.length?y(h+1):y(1):h<O.length&&y(h+1)}),[h,O.length,d]),N=r.useCallback((function(){E?R():M()}),[E,M,R]),S=r.useCallback((function(){E?M():R()}),[E,R,M]);function T(){k.current&&clearTimeout(k.current)}r.useEffect((function(){var e=O.length;C.current&&(C.current.style.setProperty("--kendo-scrollview-views",""+e),C.current.style.setProperty("--kendo-scrollview-current",""+h))}),[O,h,w]),r.useEffect((function(){if(p)return T(),k.current=setTimeout((function(){return y((function(e){return e===O.length?d?1:e:e+1}))}),m),function(){T()}}),[p,m,O.length,h,d]);var P=r.useCallback((function(e){switch(e.keyCode){case a.Keys.left:e.preventDefault(),E?R():M();break;case a.Keys.right:e.preventDefault(),E?M():R()}}),[E,R,M]),L=r.useMemo((function(){return a.classNames("k-widget k-scrollview",{"k-scrollview-light":"light"===c,"k-scrollview-dark":"dark"===c},t)}),[t,c]),_=r.Children.map(l||null,(function(e,n){return r.createElement("div",{className:"k-scrollview-view","aria-hidden":h!==n+1},e)})),j=r.useCallback((function(){var e;return e=E?h<O.length:h>1,(d||e)&&O.length>0}),[h,O.length,d,E]),I=r.useCallback((function(){var e;return e=E?h>1:h<O.length,(d||e)&&O.length>0}),[h,O.length,d,E]);return r.createElement("div",{className:L,style:o,ref:b,tabIndex:0,dir:w,onKeyDown:P},r.createElement("div",{className:"k-scrollview-wrap k-scrollview-animate",ref:C},_),r.createElement("div",{className:"k-scrollview-elements"},f&&r.createElement(r.Fragment,null,j()&&r.createElement("a",{className:"k-scrollview-prev","aria-label":"previous",onClick:N},r.createElement("span",{className:"k-icon k-i-arrowhead-w"})),I()&&r.createElement("a",{className:"k-scrollview-next","aria-label":"next",onClick:S},r.createElement("span",{className:"k-icon k-i-arrowhead-e"}))),s&&r.createElement("div",{className:"k-scrollview-nav-wrap"},r.createElement("ul",{className:"k-scrollview-nav"},O.map((function(e,n){return r.createElement("li",{className:a.classNames("k-link",{"k-primary":h===n+1}),key:n+1,onClick:function(){return y(n+1)}})}))))))})),n.ScrollView.propTypes={activeView:o.number,arrows:o.bool,automaticViewChange:o.bool,automaticViewChangeInterval:o.number,children:o.any,className:o.string,dir:o.string,endless:o.bool,pageable:o.bool,pageOverlay:o.string,style:o.object};n.ScrollView.defaultProps={activeView:1,arrows:!0,automaticViewChange:!0,automaticViewChangeInterval:5e3,endless:!1,pageable:!0,pageOverlay:"none"},n.ScrollView.displayName="KendoScrollView"},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.packageMetadata={name:"@progress/kendo-react-scrollview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1643043481,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"}}])}));

@@ -8,5 +8,5 @@ /**

productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
publishDate: 1643036500,
publishDate: 1643043481,
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'
};

@@ -10,5 +10,5 @@ "use strict";

productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
publishDate: 1643036500,
publishDate: 1643043481,
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'
};

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

System.register("@progress/kendo-react-scrollview",["react","prop-types","@progress/kendo-react-common"],function(l){var c,o,i;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){c=t(e)},function(e){o=t(e)},function(e){i=t(e)}],execute:function(){function a(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,a),t.l=!0,t.exports}var n,r;r={},a.m=n=[function(e,t){e.exports=i},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}(t(2)),function(e){for(var t in e)l(t,e[t])}(n)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var P=n(3),r=n(4),V=n(0),x=n(0),S=n(5);t.ScrollView=P.forwardRef(function(e,t){x.validatePackage(S.packageMetadata);var n=e.className,r=e.style,a=e.children,l=e.pagerOverlay,c=e.pageable,o=e.arrows,i=e.endless,u=e.activeView,s=e.automaticViewChange,f=e.automaticViewChangeInterval,d=P.useState(u||1),m=d[0],p=d[1],v=P.useRef(null),g=P.useRef(null),k=P.useRef(null),w=P.Children.toArray(a),b=V.useRtl(v,e.dir),y="rtl"===b,h=P.useCallback(function(){v.current&&v.current.focus()},[]),C=P.useCallback(function(){return{element:v.current,focus:h}},[h]);P.useImperativeHandle(t,C);var E=P.useCallback(function(){i?p(1<m?m-1:w.length):1<m&&p(m-1)},[m,w.length,i]),N=P.useCallback(function(){i?m<w.length?p(m+1):p(1):m<w.length&&p(m+1)},[m,w.length,i]),O=P.useCallback(function(){(y?N:E)()},[y,E,N]),u=P.useCallback(function(){(y?E:N)()},[y,N,E]);function _(){k.current&&clearTimeout(k.current)}P.useEffect(function(){var e=w.length;g.current&&(g.current.style.setProperty("--kendo-scrollview-views",""+e),g.current.style.setProperty("--kendo-scrollview-current",""+m))},[w,m,b]),P.useEffect(function(){if(s)return _(),k.current=setTimeout(function(){return p(function(e){return e===w.length?i?1:e:e+1})},f),function(){_()}},[s,f,w.length,m,i]);d=P.useCallback(function(e){switch(e.keyCode){case V.Keys.left:e.preventDefault(),(y?N:E)();break;case V.Keys.right:e.preventDefault(),(y?E:N)()}},[y,N,E]),e=P.useMemo(function(){return V.classNames("k-widget k-scrollview",{"k-scrollview-light":"light"===l,"k-scrollview-dark":"dark"===l},n)},[n,l]),t=P.Children.map(a||null,function(e,t){return P.createElement("div",{className:"k-scrollview-view","aria-hidden":m!==t+1},e)}),C=P.useCallback(function(){var e=y?m<w.length:1<m;return(i||e)&&0<w.length},[m,w.length,i,y]),a=P.useCallback(function(){var e=y?1<m:m<w.length;return(i||e)&&0<w.length},[m,w.length,i,y]);return P.createElement("div",{className:e,style:r,ref:v,tabIndex:0,dir:b,onKeyDown:d},P.createElement("div",{className:"k-scrollview-wrap k-scrollview-animate",ref:g},t),P.createElement("div",{className:"k-scrollview-elements"},o&&P.createElement(P.Fragment,null,C()&&P.createElement("a",{className:"k-scrollview-prev","aria-label":"previous",onClick:O},P.createElement("span",{className:"k-icon k-i-arrowhead-w"})),a()&&P.createElement("a",{className:"k-scrollview-next","aria-label":"next",onClick:u},P.createElement("span",{className:"k-icon k-i-arrowhead-e"}))),c&&P.createElement("div",{className:"k-scrollview-nav-wrap"},P.createElement("ul",{className:"k-scrollview-nav"},w.map(function(e,t){return P.createElement("li",{className:V.classNames("k-link",{"k-primary":m===t+1}),key:t+1,onClick:function(){return p(t+1)}})})))))}),t.ScrollView.propTypes={activeView:r.number,arrows:r.bool,automaticViewChange:r.bool,automaticViewChangeInterval:r.number,children:r.any,className:r.string,dir:r.string,endless:r.bool,pageable:r.bool,pageOverlay:r.string,style:r.object},t.ScrollView.defaultProps={activeView:1,arrows:!0,automaticViewChange:!0,automaticViewChangeInterval:5e3,endless:!1,pageable:!0,pageOverlay:"none"},t.ScrollView.displayName="KendoScrollView"},function(e,t){e.exports=c},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-scrollview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1643036500,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"}}],a.c=r,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)a.d(n,r,function(e){return t[e]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=1)}}});
System.register("@progress/kendo-react-scrollview",["react","prop-types","@progress/kendo-react-common"],function(l){var c,o,i;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){c=t(e)},function(e){o=t(e)},function(e){i=t(e)}],execute:function(){function a(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,a),t.l=!0,t.exports}var n,r;r={},a.m=n=[function(e,t){e.exports=i},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}(t(2)),function(e){for(var t in e)l(t,e[t])}(n)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var P=n(3),r=n(4),V=n(0),x=n(0),S=n(5);t.ScrollView=P.forwardRef(function(e,t){x.validatePackage(S.packageMetadata);var n=e.className,r=e.style,a=e.children,l=e.pagerOverlay,c=e.pageable,o=e.arrows,i=e.endless,u=e.activeView,s=e.automaticViewChange,f=e.automaticViewChangeInterval,d=P.useState(u||1),m=d[0],p=d[1],v=P.useRef(null),g=P.useRef(null),k=P.useRef(null),w=P.Children.toArray(a),b=V.useRtl(v,e.dir),y="rtl"===b,h=P.useCallback(function(){v.current&&v.current.focus()},[]),C=P.useCallback(function(){return{element:v.current,focus:h}},[h]);P.useImperativeHandle(t,C);var E=P.useCallback(function(){i?p(1<m?m-1:w.length):1<m&&p(m-1)},[m,w.length,i]),N=P.useCallback(function(){i?m<w.length?p(m+1):p(1):m<w.length&&p(m+1)},[m,w.length,i]),O=P.useCallback(function(){(y?N:E)()},[y,E,N]),u=P.useCallback(function(){(y?E:N)()},[y,N,E]);function _(){k.current&&clearTimeout(k.current)}P.useEffect(function(){var e=w.length;g.current&&(g.current.style.setProperty("--kendo-scrollview-views",""+e),g.current.style.setProperty("--kendo-scrollview-current",""+m))},[w,m,b]),P.useEffect(function(){if(s)return _(),k.current=setTimeout(function(){return p(function(e){return e===w.length?i?1:e:e+1})},f),function(){_()}},[s,f,w.length,m,i]);d=P.useCallback(function(e){switch(e.keyCode){case V.Keys.left:e.preventDefault(),(y?N:E)();break;case V.Keys.right:e.preventDefault(),(y?E:N)()}},[y,N,E]),e=P.useMemo(function(){return V.classNames("k-widget k-scrollview",{"k-scrollview-light":"light"===l,"k-scrollview-dark":"dark"===l},n)},[n,l]),t=P.Children.map(a||null,function(e,t){return P.createElement("div",{className:"k-scrollview-view","aria-hidden":m!==t+1},e)}),C=P.useCallback(function(){var e=y?m<w.length:1<m;return(i||e)&&0<w.length},[m,w.length,i,y]),a=P.useCallback(function(){var e=y?1<m:m<w.length;return(i||e)&&0<w.length},[m,w.length,i,y]);return P.createElement("div",{className:e,style:r,ref:v,tabIndex:0,dir:b,onKeyDown:d},P.createElement("div",{className:"k-scrollview-wrap k-scrollview-animate",ref:g},t),P.createElement("div",{className:"k-scrollview-elements"},o&&P.createElement(P.Fragment,null,C()&&P.createElement("a",{className:"k-scrollview-prev","aria-label":"previous",onClick:O},P.createElement("span",{className:"k-icon k-i-arrowhead-w"})),a()&&P.createElement("a",{className:"k-scrollview-next","aria-label":"next",onClick:u},P.createElement("span",{className:"k-icon k-i-arrowhead-e"}))),c&&P.createElement("div",{className:"k-scrollview-nav-wrap"},P.createElement("ul",{className:"k-scrollview-nav"},w.map(function(e,t){return P.createElement("li",{className:V.classNames("k-link",{"k-primary":m===t+1}),key:t+1,onClick:function(){return p(t+1)}})})))))}),t.ScrollView.propTypes={activeView:r.number,arrows:r.bool,automaticViewChange:r.bool,automaticViewChangeInterval:r.number,children:r.any,className:r.string,dir:r.string,endless:r.bool,pageable:r.bool,pageOverlay:r.string,style:r.object},t.ScrollView.defaultProps={activeView:1,arrows:!0,automaticViewChange:!0,automaticViewChangeInterval:5e3,endless:!1,pageable:!0,pageOverlay:"none"},t.ScrollView.displayName="KendoScrollView"},function(e,t){e.exports=c},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-scrollview",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1643043481,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"}}],a.c=r,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)a.d(n,r,function(e){return t[e]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=1)}}});
{
"name": "@progress/kendo-react-scrollview",
"description": "KendoReact ScrollView package",
"version": "5.0.2-dev.202201241503",
"version": "5.0.2-dev.202201241659",
"repository": {

@@ -39,9 +39,9 @@ "type": "git",

"@progress/kendo-licensing": "^1.0.1",
"@progress/kendo-react-animation": "5.0.2-dev.202201241503",
"@progress/kendo-react-buttons": "5.0.2-dev.202201241503",
"@progress/kendo-react-inputs": "5.0.2-dev.202201241503",
"@progress/kendo-react-intl": "5.0.2-dev.202201241503"
"@progress/kendo-react-animation": "5.0.2-dev.202201241659",
"@progress/kendo-react-buttons": "5.0.2-dev.202201241659",
"@progress/kendo-react-inputs": "5.0.2-dev.202201241659",
"@progress/kendo-react-intl": "5.0.2-dev.202201241659"
},
"dependencies": {
"@progress/kendo-react-common": "5.0.2-dev.202201241503",
"@progress/kendo-react-common": "5.0.2-dev.202201241659",
"prop-types": "^15.6.0"

@@ -48,0 +48,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc