@progress/kendo-react-common 7.0.0-develop.8 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- (function(c,F){typeof exports=="object"&&typeof module<"u"?F(exports,require("react"),require("@progress/kendo-licensing"),require("react-dom"),require("prop-types"),require("@progress/kendo-draggable-common")):typeof define=="function"&&define.amd?define(["exports","react","@progress/kendo-licensing","react-dom","prop-types","@progress/kendo-draggable-common"],F):(c=typeof globalThis<"u"?globalThis:c||self,F(c.KendoReactCommon={},c.React,c.KendoLicensing,c.ReactDOM,c.PropTypes,c.KendoDraggableCommon))})(this,function(c,F,Mt,Rt,Lt,W){"use strict";function K(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const r=K(F),Q=K(Mt),Tt=K(Rt),m=K(Lt),oe=r.createContext(0),Nt=()=>r.useContext(oe);oe.displayName="KendoReactZIndexContext";const Bt=()=>typeof document<"u"?document:{};class se{constructor(){this.scrollbar=0}get scrollbarWidth(){const t=Bt();if(!this.scrollbar&&t&&t.createElement){const n=t.createElement("div");n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML="&nbsp;",t.body.appendChild(n),this.scrollbar=n.offsetWidth-n.scrollWidth,t.body.removeChild(n)}return this.scrollbar}}const V=!!(typeof window<"u"&&window.document&&window.document.createElement),Ht=e=>{var t;return!!(typeof e=="function"&&((t=e.prototype)!=null&&t.isReactComponent))},jt=e=>!!(e.$$typeof&&typeof e.render=="function"),zt=e=>typeof Comment!="string"&&(Ht(e)||jt(e)),le=(...e)=>{const t={},n=s=>typeof s=="object"?Object.keys(s).forEach(l=>{t[l]=s[l]}):t[s]=!0,o=s=>s.filter(l=>l!==!0&&!!l).map(l=>Array.isArray(l)?o(l):n(l));return o(e),Object.keys(t).map(s=>t[s]&&s||null).filter(s=>s!==null).join(" ")},Le=e=>e?new Date(e.getTime()):null;function Ft(e){const t={};return ce(e,t),t}function ce(e,t){for(let n in e)if(e.hasOwnProperty(n)){const o=e[n];t[n]=ae(o,t[n])}}function ae(e,t){if(Array.isArray(e))return Te(e);if(e instanceof Date)return Le(e);if(r.isValidElement(e))return r.cloneElement(e,e.props);if(e&&typeof e=="object"){const n=t||{};return ce(e,n),n}else return e}function Te(e){return e.map(t=>ae(t,void 0))}const Qt=e=>{if(e){if((e instanceof HTMLInputElement||e.tabIndex!==-1)&&e.focus){e.focus();return}const t=e.querySelector('input, [tabindex]:not([tabindex="-1"])');t&&t.focus&&t.focus()}};class Xt{}const Ut=-1,Yt=0,Gt=(e,t,n)=>{const o=typeof e=="string"?parseInt(e):e;if(!Number.isNaN(o))return o!==void 0?o:t?n?void 0:Ut:Yt},Jt=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function Ne(e){const t=[];return e.replace(Jt,function(n,o,s,l){t.push(o!==void 0?o:s||l)}),t}const X={};X.undefined=()=>{};function Zt(e){if(X[e])return X[e];const t=Ne(e);return X[e]=function(n){let o=n;for(let s=0;s<t.length&&o;s++)o=o[t[s]];return o},X[e]}const qt=()=>{let e="",t,n;for(t=0;t<32;t++)n=Math.random()*16|0,(t===8||t===12||t===16||t===20)&&(e+="-"),e+=(t===12?4:t===16?n&3|8:n).toString(16);return e},Wt={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},E=function(){},Kt=()=>!V||!document.body?!1:new se().scrollbarWidth,Vt=()=>{if(!V||!document.body)return!1;let e=new se().scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",`${e}px`)},U={};U.undefined=e=>e;const _t=(e,t)=>t&&t.arrays&&!isNaN(Number(e))?[]:{};function $t(e){if(U[e])return U[e];const t=Ne(e);return U[e]=(n,o,s)=>{let l=n;const a=t.length-1;for(let u=0;u<a&&l;u++)l=l[t[u]]=l[t[u]]||_t(t[u+1],s);l[t[a]]=o},U[e]}function Be(e,t,n){return n?{...e,[t]:n.length?[...n]:void 0}:e&&e[t]?[...e[t]]:[]}function He(e,t,n){if(e[t]){let o=Be(e,t).map(s=>He(s,t,n));return n(Be(e,t,o))}return n(e)}const en=(e,t,n)=>[...e.map(o=>He(o,t,n))],tn=(e,t,n,o)=>{let s=e;const l=[];for(let h=0;h<t.length;h++)s=s[t[h]],s=Array.isArray(s)?s:s[n],l.push(s);const a=l.length>1?l[l.length-2]:e,u=t[t.length-1],g=o(a[u]);a.splice(u,1,g)},nn=(e,t,n)=>Object.assign({},e,e[t]?{[t]:e[t].slice()}:{},n||{}),rn=(e,t,n)=>{const o=[],s=[...t];if(s.length){let l=e[s.shift()||0];for(o.push(l);s.length&&n;)l=l[n][s.shift()||0],o.push(l)}return o},on=["telerik.com","progress.com","stackblitz.io","csb.app"];function sn(e){if(typeof Q<"u")Q.validatePackage(e);else{let t=`License activation failed for ${e.name}
5
+ (function(c,F){typeof exports=="object"&&typeof module<"u"?F(exports,require("react"),require("@progress/kendo-licensing"),require("react-dom"),require("prop-types"),require("@progress/kendo-draggable-common")):typeof define=="function"&&define.amd?define(["exports","react","@progress/kendo-licensing","react-dom","prop-types","@progress/kendo-draggable-common"],F):(c=typeof globalThis<"u"?globalThis:c||self,F(c.KendoReactCommon={},c.React,c.KendoLicensing,c.ReactDOM,c.PropTypes,c.KendoDraggableCommon))})(this,function(c,F,Tt,Nt,Bt,W){"use strict";"use client";function K(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const r=K(F),Q=K(Tt),Ht=K(Nt),m=K(Bt),oe=r.createContext(0),jt=()=>r.useContext(oe);oe.displayName="KendoReactZIndexContext";const zt=()=>typeof document<"u"?document:{};class se{constructor(){this.scrollbar=0}get scrollbarWidth(){const t=zt();if(!this.scrollbar&&t&&t.createElement){const n=t.createElement("div");n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML="&nbsp;",t.body.appendChild(n),this.scrollbar=n.offsetWidth-n.scrollWidth,t.body.removeChild(n)}return this.scrollbar}}const V=!!(typeof window<"u"&&window.document&&window.document.createElement),Ft=e=>{var t;return!!(typeof e=="function"&&((t=e.prototype)!=null&&t.isReactComponent))},Qt=e=>!!(e.$$typeof&&typeof e.render=="function"),Xt=e=>typeof Comment!="string"&&(Ft(e)||Qt(e)),le=(...e)=>{const t={},n=s=>typeof s=="object"?Object.keys(s).forEach(l=>{t[l]=s[l]}):t[s]=!0,o=s=>s.filter(l=>l!==!0&&!!l).map(l=>Array.isArray(l)?o(l):n(l));return o(e),Object.keys(t).map(s=>t[s]&&s||null).filter(s=>s!==null).join(" ")},Te=e=>e?new Date(e.getTime()):null;function Ut(e){const t={};return ce(e,t),t}function ce(e,t){for(let n in e)if(e.hasOwnProperty(n)){const o=e[n];t[n]=ae(o,t[n])}}function ae(e,t){if(Array.isArray(e))return Ne(e);if(e instanceof Date)return Te(e);if(r.isValidElement(e))return r.cloneElement(e,e.props);if(e&&typeof e=="object"){const n=t||{};return ce(e,n),n}else return e}function Ne(e){return e.map(t=>ae(t,void 0))}const Yt=e=>{if(e){if((e instanceof HTMLInputElement||e.tabIndex!==-1)&&e.focus){e.focus();return}const t=e.querySelector('input, [tabindex]:not([tabindex="-1"])');t&&t.focus&&t.focus()}};class Gt{}const Jt=-1,Zt=0,qt=(e,t,n)=>{const o=typeof e=="string"?parseInt(e):e;if(!Number.isNaN(o))return o!==void 0?o:t?n?void 0:Jt:Zt},Wt=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function Be(e){const t=[];return e.replace(Wt,function(n,o,s,l){t.push(o!==void 0?o:s||l)}),t}const X={};X.undefined=()=>{};function Kt(e){if(X[e])return X[e];const t=Be(e);return X[e]=function(n){let o=n;for(let s=0;s<t.length&&o;s++)o=o[t[s]];return o},X[e]}const ie=()=>{let e="",t,n;for(t=0;t<32;t++)n=Math.random()*16|0,(t===8||t===12||t===16||t===20)&&(e+="-"),e+=(t===12?4:t===16?n&3|8:n).toString(16);return e},Vt={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},E=function(){},_t=()=>!V||!document.body?!1:new se().scrollbarWidth,$t=()=>{if(!V||!document.body)return!1;let e=new se().scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",`${e}px`)},U={};U.undefined=e=>e;const en=(e,t)=>t&&t.arrays&&!isNaN(Number(e))?[]:{};function tn(e){if(U[e])return U[e];const t=Be(e);return U[e]=(n,o,s)=>{let l=n;const a=t.length-1;for(let u=0;u<a&&l;u++)l=l[t[u]]=l[t[u]]||en(t[u+1],s);l[t[a]]=o},U[e]}function He(e,t,n){return n?{...e,[t]:n.length?[...n]:void 0}:e&&e[t]?[...e[t]]:[]}function je(e,t,n){if(e[t]){let o=He(e,t).map(s=>je(s,t,n));return n(He(e,t,o))}return n(e)}const nn=(e,t,n)=>[...e.map(o=>je(o,t,n))],rn=(e,t,n,o)=>{let s=e;const l=[];for(let h=0;h<t.length;h++)s=s[t[h]],s=Array.isArray(s)?s:s[n],l.push(s);const a=l.length>1?l[l.length-2]:e,u=t[t.length-1],g=o(a[u]);a.splice(u,1,g)},on=(e,t,n)=>Object.assign({},e,e[t]?{[t]:e[t].slice()}:{},n||{}),sn=(e,t,n)=>{const o=[],s=[...t];if(s.length){let l=e[s.shift()||0];for(o.push(l);s.length&&n;)l=l[n][s.shift()||0],o.push(l)}return o},ln=["telerik.com","progress.com","stackblitz.io","csb.app"];function cn(e){if(typeof Q<"u")Q.validatePackage(e);else{let t=`License activation failed for ${e.name}
6
6
  `;t+=`The @progress/kendo-licensing script is not loaded.
7
7
  `,t+=`See ${e.licensingDocsUrl} for more information.
8
- `,console.warn(t)}}function ln(e){return!on.some(n=>{var o;return(o=globalThis.document)==null?void 0:o.location.hostname.endsWith(n)})&&!(Q!=null&&Q.validatePackage(e))}const cn=e=>{if(!V)return!1;const t=e?e.ownerDocument:document;if(!t||!t.body)return!1;const n=10,o=t.createElement("div");o.style.transform="matrix(10, 0, 0, 10, 0, 0)";const s=t.createElement("div");s.appendChild(t.createTextNode("child")),s.style.position="fixed",s.style.top=n+"px",o.appendChild(s),t.body.appendChild(o);const l=s.getBoundingClientRect().top!==n;return t.body.removeChild(o),l},an="https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-banner";let je=!1;const un=()=>{const[e,t]=r.useState(!0),[n,o]=r.useState(!1);r.useEffect(()=>{je||(o(!0),je=!0)},[]);const s=()=>{t(!1)},l=r.createElement(r.Fragment,null,e&&r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",position:"fixed",top:"16px",right:"16px",padding:"12px",borderRadius:"4px",boxShadow:"0px 4px 5px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px 0px rgba(0, 0, 0, 0.03)",fontSize:"14px",fontWeight:400,lineHeight:"20px",backgroundColor:"#FFC000",color:"#1E1E1E",zIndex:999}},r.createElement("span",{style:{display:"flex",alignSelf:"center",marginRight:"8px"}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1L0 15H16L8 1ZM7 6V11H9V6H7ZM7 14V12H9V14H7Z",fill:"#1E1E1E"}))),r.createElement("span",null,"No valid license found for KendoReact. Learn how to activate your license."),r.createElement("div",{style:{display:"flex",alignItems:"center",marginLeft:"24px"}},r.createElement("a",{href:an,style:{marginRight:"8px",display:"flex"}},r.createElement("button",{title:"Learn More",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{d:"M15 8C15 11.8656 11.8656 15 8 15C4.13437 15 1 11.8656 1 8C1 4.13437 4.13437 1 8 1C11.8656 1 15 4.13437 15 8ZM14 8C14 4.6875 11.3125 2 8 2C4.6875 2 2 4.6875 2 8C2 11.3125 4.6875 14 8 14C11.3125 14 14 11.3125 14 8ZM11 6C11 7.4125 10.2687 8.05937 9.73125 8.53125C9.25937 8.94688 9 9.17813 9 10H7C7 8.275 7.84688 7.525 8.40938 7.03125C8.84062 6.65312 9 6.50938 9 6C9 5.45 8.55 5 8 5C7.45 5 7 5.45 7 6H5C5 4.34375 6.34375 3 8 3C9.65625 3 11 4.34375 11 6ZM9 13V11H7V13H9Z",fill:"#1E1E1E"})))),r.createElement("button",{title:"Close",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"},onClick:s},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{d:"M13 4.41562L9.41563 8L13 11.5844L11.5844 13L8 9.41563L4.41562 13L3 11.5844L6.58437 8L3 4.41562L4.41562 3L8 6.58437L11.5844 3L13 4.41562Z",fill:"#1E1E1E"}))))));return r.createElement(r.Fragment,null,r.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,right:0,bottom:0,opacity:.2,zIndex:101,pointerEvents:"none",backgroundImage:"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIW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yADQf17IkbjNzgIwoOUK27p8Sv58Nl6vf1qJ6DL/kE7+VD/jonZ+A0OgvB8wAngbH8UN/ZQ/45IwfgNDoLwvOUEtLw3qr6N1D8wiOimYvxGwyAYC2lFkxNAjCCGmf8Q6h8QRHeR7knF+A0bBJqqmgr5NO6gGYc5gTYHe/qC+gfC7bv3jCUx3K5ibepYmPJp3BvNXNyut+M0xpn/EOpPyBG4AM1cCCEJkmLMhxASiKenp3saf4Fg2Vc9FsjpSuZo3hr/115r1lMAe+bNZrPO2fip/wH+nq9iKZkD8ZknLhfq79EQ8MneK7JYpGyov5JShV9oOAjKvnSjeP1LNn6j5EHgWl7akgPF6k/j31PiIGCef09x+jPP+5qSBgGd/2uKcgIHEdCJkBp/EOSaCaHxv00J+tdoDnRJ8V+jtePLHGshaPzvk7P+pGC47SOkYCqDn6FvH42fkAJxuyPdaN01FlIGbnc/37TkFE8o3L4nAmvHCyQ5/S3gw24oYXAvuyKxbLgwktK/xNr+rsFqKpU8sa78Zlz5hSMZ/Znq6Y4UikVMf72oYyYkGNHrT+PvnpgHAVd+3ROt/jT+/ohxEFD//ohOf4rfPzENAurfP1E5AVzPRPH7xx8EuJ1WBoDGPxyH+ruhjlTjbnR9AxMhvYLPHA4YGkjPIMpP4x+WIfUnhYMZx2voMRFCSFlohVqR3XwIIaQc3O5OtrGQJFC9RkKKRCsyRxICi/YuFgvs986ERA3Eh1ahUkT4GQg0Vc9XQqInqP6ODRyTA046VJ7Y1x/XdgmJnmD6M8+bLiGKRVjemy6t9WeeN30aBsGHI/bUP33a6M88bybYIPjs9o3658Gx+tuLmefNgGN1pP55QB0JIYQQQgghhBBCCJGy+T9ftRg+rVNPfAAAAABJRU5ErkJggg==')"}}),n&&Tt.createPortal(l,document.body))};function dn(e,t,n,o){if(e){const s={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(s,o))}}function ze({onFocus:e,onBlur:t,onSyncFocus:n,onSyncBlur:o}){const s=r.useRef(!1),l=r.useRef(0),a=r.useCallback(h=>{clearTimeout(l.current),l.current=window.setTimeout(()=>h())},[l]),u=r.useCallback((...h)=>{clearTimeout(l.current),n&&n.call(void 0,h[0]),!s.current&&(s.current=!0,e&&e.call(void 0,...h))},[s,e,n]),g=r.useCallback((...h)=>{o&&o.call(void 0,h[0]),a(()=>{s.current&&t&&(s.current=!1,t.call(void 0,...h))})},[s,a,t,o]);return r.useEffect(()=>()=>{clearTimeout(l.current)},[]),{onFocus:u,onBlur:g}}const fn=({children:e,onFocus:t,onBlur:n,onSyncFocus:o,onSyncBlur:s})=>{const l=ze({onFocus:t,onBlur:n,onSyncFocus:o,onSyncBlur:s});return r.createElement(r.Fragment,null,e.call(void 0,{...l}))},Fe=(e,t)=>r.useContext(e)(t),hn=()=>r.createContext(e=>e),gn=(e,t)=>r.forwardRef((n,o)=>{const s=Fe(e,n);return r.createElement(t,{...s,ref:o})});function mn(e,t,n){const[o,s]=r.useState(t);return r.useEffect(()=>{if(!o&&window&&e.current){const l=window.getComputedStyle(e.current).direction;l&&s(l)}},n),o}function vn(e,t,n){const[o,s]=r.useState(t);return r.useEffect(()=>{if(!o&&window&&e.current){const l=window.getComputedStyle(e.current).direction;l&&s(l)}},n),o}const Qe=(e,t,n={})=>{const o=r.useCallback(d=>{n.onMouseDown&&n.onMouseDown.call(void 0,d),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseDown,e.onMouseDown,t]),s=r.useCallback(d=>{n.onMouseUp&&n.onMouseUp.call(void 0,d),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseUp,e.onMouseUp,t]),l=r.useCallback(d=>{n.onClick&&n.onClick.call(void 0,d),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:d})},[n.onClick,e.onClick,t]),a=r.useCallback(d=>{n.onDoubleClick&&n.onDoubleClick.call(void 0,d),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:d})},[n.onDoubleClick,e.onDoubleClick,t]),u=r.useCallback(d=>{n.onMouseEnter&&n.onMouseEnter.call(void 0,d),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseEnter,e.onMouseEnter,t]),g=r.useCallback(d=>{n.onMouseLeave&&n.onMouseLeave.call(void 0,d),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseLeave,e.onMouseLeave,t]),h=r.useCallback(d=>{n.onMouseMove&&n.onMouseMove.call(void 0,d),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseMove,e.onMouseMove,t]),f=r.useCallback(d=>{n.onMouseOut&&n.onMouseOut.call(void 0,d),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseOut,e.onMouseOut,t]),v=r.useCallback(d=>{n.onMouseOver&&n.onMouseOver.call(void 0,d),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseOver,e.onMouseOver,t]);return{onClick:l,onMouseUp:s,onMouseDown:o,onDoubleClick:a,onMouseEnter:u,onMouseLeave:g,onMouseMove:h,onMouseOut:f,onMouseOver:v}},Cn=e=>[e,{}];var B=(e=>(e[e.add=0]="add",e[e.remove=1]="remove",e))(B||{});const ie=(e=[])=>{const t=r.useRef(e),n=r.useCallback(o=>{switch(o.type){case 0:t.current.push(o.item);break;case 1:{const s=t.current.indexOf(o.item);t.current.splice(s,1);break}}},[]);return[t.current,n]},Xe=e=>{const t=r.useCallback(()=>e.current&&e.current.element?e.current.element:e.current,[e]);return r.useCallback(()=>{const o=t();return o&&o.ownerDocument||document},[t])},En=e=>{const t=Xe(e);return r.useCallback(()=>{const o=t();return o&&o.defaultView||window},[t])},Ue={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl",xxlarge:"k-icon-xxl",xxxlarge:"k-icon-xxxl"},bn=e=>e.replace(/^k-i-/,""),Ye=e=>"k-i-"+e,yn=m.shape({name:m.string.isRequired,content:m.string.isRequired,viewBox:m.string.isRequired}),ue=(e,t)=>{const[n,o]=r.useContext(e),[s,l]=r.useState(t);return[n!==void 0?n:s,(...g)=>{n!==void 0?o(...g):l(g[0])}]},Ge=r.createContext([void 0,E]),de=r.createContext([void 0,E]),Je=r.createContext([[],E,E]),fe=r.createContext([[],E,E]),Dn=2e3;function Ze(e,t,n={}){const{onPress:o=E,onRelease:s=E,onDragStart:l=E,onDrag:a=E,onDragEnd:u=E}=t,{hint:g=null,mouseOnly:h=!1,autoScroll:f=!0,scrollContainer:v=null}=n,[d,D]=r.useState(!1),[k,I]=r.useState(!1),[b]=ue(de),[L,R]=ue(Ge),[N]=r.useContext(fe),[O,w,S]=r.useContext(Je),p=r.useRef({x:0,y:0}),Ee=r.useRef(),be=r.useRef(!1),ut=r.useRef(),Z=r.useRef(null),ye=r.useRef(!1),dt=r.useRef({x:0,y:0}),ft=r.useRef({x:0,y:0}),ne=r.useRef({x:0,y:0}),ht=r.useRef({x:0,y:0}),gt=r.useRef({x:0,y:0}),mt=r.useRef({x:0,y:0}),lr=!!(typeof window<"u"&&window.PointerEvent),vt=!h&&lr,T=r.useCallback(()=>e.current&&e.current.element?e.current.element:e.current,[e]),cr=r.useCallback(()=>g&&g.current&&g.current.element?g.current.element:g?g.current:null,[g]),Ct=r.useCallback(()=>v&&v.current&&v.current.element?v.current.element:v?v.current:null,[v]),Et=r.useCallback(()=>typeof f=="object"&&f.boundaryElementRef&&f.boundaryElementRef.current&&f.boundaryElementRef.current.element?f.boundaryElementRef.current.element:typeof f=="object"&&f.boundaryElementRef&&f.boundaryElementRef.current?f.boundaryElementRef.current:null,[f]),q=r.useRef(null);r.useImperativeHandle(q,()=>({element:T(),hint:cr(),onPress:ar,onDragStart:ur,onDrag:dr,onDragEnd:fr,onRelease:ir,data:e.current}));const re=r.useCallback(()=>{const i=T();return i&&i.ownerDocument||document},[T]),z=r.useCallback(()=>{const i=re();return i&&i.defaultView||window},[re]),bt=r.useCallback(()=>({drag:L?L.current:null,drop:b?b.current:null,drags:O.map(i=>i.current),drops:N.map(i=>i.current),pressed:d,ignoreMouse:be.current,scrollOffset:gt.current,offset:dt.current,pageOffset:ft.current,initialScrollOffset:mt.current,clientOffset:ne.current,initialClientOffset:ht.current,velocity:p.current,autoScroll:!!(typeof f=="object"?f.enabled!==!1:f),scrollableParent:Et(),autoScrollDirection:typeof f=="object"?f.direction:{horizontal:!0,vertical:!0},isScrolling:k}),[L,b,O,N,d,f,Et,k]),yt=r.useCallback(i=>{D(i)},[]),Dt=r.useCallback(i=>{I(i)},[]),kt=r.useCallback(i=>{p.current=i},[]),At=r.useCallback(i=>{dt.current=i},[]),pt=r.useCallback(i=>{ne.current=i},[]),Pt=r.useCallback(i=>{ft.current=i},[]),xt=r.useCallback(i=>{ht.current=i},[]),It=r.useCallback(i=>{gt.current=i},[]),wt=r.useCallback(i=>{mt.current=i},[]),ar=r.useCallback(i=>{o(i)},[o]),ir=r.useCallback(i=>{s(i)},[s]),ur=r.useCallback(i=>{R(q,{target:e.current,event:i}),l(i)},[R,e,l]),dr=r.useCallback(i=>{a(i)},[a]),fr=r.useCallback(i=>{ye.current||(R(null,{target:e.current,event:i}),u(i))},[u,R,e]),C=r.useCallback(i=>{W.dispatchDragAndDrop(bt(),{event:i,payload:q.current},{onVelocityChange:kt,onOffsetChange:At,onClientOffsetChange:pt,onPageOffsetChange:Pt,onInitialClientOffsetChange:xt,onScrollOffsetChange:It,onInitialScrollOffsetChange:wt,onIsPressedChange:yt,onIsScrollingChange:Dt})},[bt,kt,At,Pt,pt,xt,wt,yt,It,Dt]),De=r.useCallback(i=>{C(i)},[C]),ke=r.useCallback(i=>{C(i)},[C]),Ae=r.useCallback(i=>{C(i)},[C]),pe=r.useCallback(i=>{C(i)},[C]),Pe=r.useCallback(i=>{C(i)},[C]),xe=r.useCallback(i=>{C(i)},[C]),Ie=r.useCallback(i=>{C(i)},[C]),we=r.useCallback(i=>{i.preventDefault(),C(i)},[C]),Oe=r.useCallback(i=>{i.preventDefault(),C(i)},[C]),Se=r.useCallback(i=>{i.preventDefault(),C(i)},[C]),Me=r.useCallback(i=>{if(i.touches.length===0&&i.changedTouches.length===1){const y=z();be.current=!0,ut.current=y.setTimeout(()=>{be.current=!1},Dn)}C(i)},[C,z]),Re=r.useCallback(i=>{C(i)},[C]),Ot=r.useCallback(()=>{const i=T();if(i){const y=i.style.touchAction;return i.style.touchAction="none",()=>{i.style.touchAction=y}}},[T]),St=r.useCallback(()=>(w(q),()=>{S(q)}),[S,w]),hr=()=>{const i=z(),y=T(),x=re();return vt?(y&&(Z.current=W.getScrollableParent(y),Z.current&&Z.current.addEventListener("scroll",Re,{passive:!0}),y.addEventListener("pointerdown",De,{passive:!0})),d&&(x.addEventListener("pointermove",ke),x.addEventListener("pointerup",pe,!0),x.addEventListener("contextmenu",we),x.addEventListener("pointercancel",Ae,{passive:!0}))):(i.addEventListener("touchmove",E,{capture:!1,passive:!1}),y&&(y.addEventListener("mousedown",Pe,{passive:!0}),h||(y.addEventListener("touchstart",Oe,{passive:!0}),d&&(y.addEventListener("touchmove",Se,{passive:!0}),y.addEventListener("touchend",Me,{passive:!0})))),d&&(x.addEventListener("mousemove",xe,{passive:!0}),x.addEventListener("mouseup",Ie,{passive:!0}))),()=>{Z.current&&Z.current.removeEventListener("scroll",Re),y&&(y.removeEventListener("pointerdown",De),y.removeEventListener("mousedown",Pe),y.removeEventListener("touchstart",Oe),y.removeEventListener("touchmove",Se),y.removeEventListener("touchend",Me)),x.removeEventListener("pointermove",ke),x.removeEventListener("pointerup",pe,!0),x.removeEventListener("contextmenu",we),x.removeEventListener("pointercancel",Ae),x.removeEventListener("mousemove",xe),x.removeEventListener("mouseup",Ie),i.removeEventListener("touchmove",E),i.clearTimeout(ut.current)}};r.useEffect(()=>{const i=z();if(k){const y=Ct()||W.getScrollableParent(document.elementFromPoint(ne.current.x,ne.current.y));i.clearInterval(Ee.current),Ee.current=i.setInterval(()=>{W.autoScroll(y,{x:p.current.x,y:p.current.y})},50)}return()=>{i.clearInterval(Ee.current)}},[T,Ct,z,k]),r.useEffect(Ot,[Ot]),r.useEffect(hr,[d,z,T,re,h,vt,we,Pe,xe,Ie,Ae,De,ke,pe,Me,Se,Oe,Re]),r.useEffect(()=>(ye.current=!1,()=>{ye.current=!0}),[]),r.useLayoutEffect(St,[St])}function qe(e,t={onDragEnter:E,onDragOver:E,onDragLeave:E,onDrop:E}){const{onDragEnter:n=E,onDragOver:o=E,onDragLeave:s=E,onDrop:l=E}=t,[,a]=ue(de),[,u,g]=r.useContext(fe),h=r.useCallback(()=>e.current&&e.current.element?e.current.element:e.current,[e]),f=r.useRef(null);r.useImperativeHandle(f,()=>({element:h(),onDragEnter:v,onDragOver:d,onDragLeave:D,onDrop:k,data:e.current}));const v=r.useCallback(b=>{a(f,{target:e.current,event:b}),n(b)},[a,e,n]),d=r.useCallback(b=>{o(b)},[o]),D=r.useCallback(b=>{a(null,{target:e.current,event:b}),s(b)},[a,e,s]),k=r.useCallback(b=>{a(null,{target:e.current,event:b}),l(b)},[a,e,l]),I=r.useCallback(()=>(u(f),()=>{g(f)}),[g,u]);r.useLayoutEffect(I,[I])}const We=(e,t,n)=>{const[o,s]=r.useState(t||e),l=r.useCallback((a,u)=>{s(a),n&&n.call(void 0,{...u,value:a})},[n,s]);return[t!==void 0?t:o,l]},_=r.forwardRef((e,t)=>{const{className:n,name:o,themeColor:s,size:l,flip:a,style:u,id:g,tabIndex:h,...f}=e,v=r.useRef(null),d=r.useRef(null);r.useImperativeHandle(v,()=>({element:d.current})),r.useImperativeHandle(t,()=>v.current);const D=r.useMemo(()=>l||Ke.size,[l]),k=r.useMemo(()=>a||Ke.flip,[a]),I=r.useMemo(()=>le("k-icon","k-font-icon",o&&Ye(o),{[`k-color-${s}`]:s,"k-flip-h":k==="horizontal"||k==="both","k-flip-v":k==="vertical"||k==="both"},Ue[D],n),[o,s,D,k,n]),b=Qe(e,v);return r.createElement("span",{ref:d,...f,...b,className:I,id:g,tabIndex:h,style:u,role:"presentation"})});_.propTypes={style:m.object,classNames:m.string,name:m.string,themeColor:m.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:m.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:m.oneOf(["default","horizontal","vertical","both"])};const Ke={size:"default",flip:"default"};_.displayName="KendoIcon";const $=r.forwardRef((e,t)=>{const{children:n,className:o,svgClassName:s,icon:l,flip:a,id:u,tabIndex:g,size:h,style:f,svgStyle:v,themeColor:d,viewBox:D,name:k,onClick:I,...b}=e,L=r.useRef(null);r.useImperativeHandle(t,()=>({element:L.current}));const R=r.useMemo(()=>l?l.name:ee.icon,[l]),N=r.useMemo(()=>h||ee.size,[h]),O=r.useMemo(()=>a||ee.flip,[a]),w=r.useMemo(()=>D||ee.viewBox,[D]),S=r.useMemo(()=>le("k-icon","k-svg-icon","k-svg-i-"+R,{[`k-color-${d}`]:d,"k-flip-h":O==="horizontal"||O==="both","k-flip-v":O==="vertical"||O==="both"},Ue[N],o),[R,d,N,O,o]),p=r.useMemo(()=>e.width&&e.height?{width:e.width,height:e.height,...f}:e.width?{width:e.width,height:e.width,...f}:e.height?{width:e.height,height:e.height,...f}:{...f},[e.width,e.height,f]);return r.createElement("span",{className:S,style:p,ref:L,onClick:I},r.createElement("svg",{id:u,className:s,style:v,"aria-hidden":!0,tabIndex:g,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:l?l.viewBox:w,dangerouslySetInnerHTML:l?{__html:l.content}:void 0,...b},l?void 0:n))});$.propTypes={style:m.object,classNames:m.string,children:m.any,icon:m.object,themeColor:m.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:m.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:m.oneOf(["default","horizontal","vertical","both"])};const ee={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};$.displayName="KendoSvgIcon";const he=r.createContext({type:"svg"});he.displayName="KendoReactIconsContext";const Ve=r.forwardRef((e,t)=>{var g,h;const{type:n,icons:o}=r.useContext(he),{icon:s,...l}=e;let a=n==="svg"?((g=e.icon)==null?void 0:g.name)||e.name:e.name||((h=e.icon)==null?void 0:h.name);a=a&&o&&o[a]&&typeof o[a]=="string"?o[a]:a;const u=a&&o&&o[a]&&typeof o[a]!="string"?o[a]:s;return n==="svg"&&u?r.createElement($,{...e,icon:u,ref:t}):r.createElement(_,{...l,name:a,ref:t})});Ve.displayName="KendoIconWrap";const kn={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},An={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},pn={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"},Pn={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},xn={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},In={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},wn={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},On={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"},M=e=>{const t=r.forwardRef((n,o)=>{const{id:s,style:l,className:a,fontSize:u,fontWeight:g,textAlign:h,textTransform:f,themeColor:v,margin:d,...D}=n,k=r.useRef(null),I=r.useRef(null);r.useImperativeHandle(k,()=>({element:I.current,props:n})),r.useImperativeHandle(o,()=>k.current);const b=()=>`k-${e==="p"?"paragraph":e}`,L=e,R=(w,S)=>{const p=typeof S=="string"?Pn[S]:S;return`${xn[w]}${p}`},N=()=>{if(d!==void 0){if(typeof d=="string")return[pn[d]];if(typeof d=="number"&&d>=0&&d<=24)return[`k-m-${d}`];if(typeof d=="object"){const w=[];return Object.keys(d).forEach(p=>{d[p]!==null&&d[p]!==void 0&&w.push(R(p,d[p]))}),w.join(" ")}}},O=()=>[b(),kn[u],An[g],In[h],wn[f],On[v],N(),a].filter(p=>p!==void 0).join(" ");return r.createElement(L,{id:s,ref:I,className:O(),style:l,...D},n.children)});return t.propTypes={style:m.object,className:m.string,fontSize:m.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:m.oneOf(["light","normal","bold"]),margin:m.oneOfType([m.number,m.object,m.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:m.oneOf(["left","right","center","justify"]),textTransform:m.oneOf(["lowercase","uppercase","capitalize"]),themeColor:m.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName=`KendoReactTypography${e.toUpperCase()}`,t},Sn=M("h1"),Mn=M("h2"),Rn=M("h3"),Ln=M("h4"),Tn=M("h5"),Nn=M("h6"),Bn=M("p"),Hn=M("code"),jn=M("pre"),zn={h1:Sn,h2:Mn,h3:Rn,h4:Ln,h5:Tn,h6:Nn,p:Bn,code:Hn,pre:jn},_e=e=>{const[t,n]=We(null,void 0),[o,s]=We(null,void 0),[l,a]=ie([]),[u,g]=ie([]),h=D=>{a({type:B.add,item:D})},f=D=>{a({type:B.remove,item:D})},v=D=>{g({type:B.add,item:D})},d=D=>{g({type:B.remove,item:D})};return r.createElement(Ge.Provider,{value:[t,n]},r.createElement(de.Provider,{value:[o,s]},r.createElement(Je.Provider,{value:[l,h,f]},r.createElement(fe.Provider,{value:[u,v,d]},e.children))))};_e.displayName="KendoReactDragAndDrop";const $e=r.forwardRef((e,t)=>{const n=r.useRef(null),o=r.useRef(null),s=r.useCallback(()=>n.current&&n.current.element?n.current.element:n.current,[n]);r.useImperativeHandle(o,()=>({element:s()||null})),r.useImperativeHandle(t,()=>o.current),r.useImperativeHandle(e.childRef,()=>n.current);const l=r.useCallback(f=>{e.onPress&&e.onPress({element:s(),target:o.current,event:f})},[s,e.onPress]),a=r.useCallback(f=>{e.onRelease&&e.onRelease({element:s(),target:o.current,event:f})},[s,e.onRelease]),u=r.useCallback(f=>{e.onDragStart&&e.onDragStart({element:s(),target:o.current,event:f})},[e,s]),g=r.useCallback(f=>{e.onDrag&&e.onDrag({element:s(),target:o.current,event:f})},[s,e.onDrag]),h=r.useCallback(f=>{e.onDragEnd&&e.onDragEnd({element:s(),target:o.current,event:f})},[s,e.onDragEnd]);return Ze(n,{onPress:l,onRelease:a,onDragStart:u,onDrag:g,onDragEnd:h},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null});$e.displayName="KendoReactDraggable";const et=r.forwardRef((e,t)=>{const n=r.useRef(null),o=r.useRef(null),s=r.useCallback(()=>n.current&&n.current.element?n.current.element:n.current,[n]);r.useImperativeHandle(o,()=>({element:s()||void 0})),r.useImperativeHandle(t,()=>o.current),r.useImperativeHandle(e.childRef,()=>n.current);const l=r.useCallback(h=>{e.onDragEnter&&e.onDragEnter({element:s(),target:o.current,event:h})},[e.onDragEnter,s]),a=r.useCallback(h=>{e.onDragOver&&e.onDragOver({element:s(),target:o.current,event:h})},[s,e.onDragOver]),u=r.useCallback(h=>{e.onDragLeave&&e.onDragLeave({element:s(),target:o.current,event:h})},[e.onDragLeave,s]),g=r.useCallback(h=>{e.onDrop&&e.onDrop({element:s(),target:o.current,event:h})},[e.onDrop,s]);return qe(n,{onDragEnter:l,onDragOver:a,onDragLeave:u,onDrop:g}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null});et.displayName="KendoReactDroppable";const Fn={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};function Qn(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function Xn(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!Qn(e[n],t[n]))return!1;return!0}function Un(e,t=Xn){let n=null;function o(...s){if(n&&n.lastThis===this&&t(s,n.lastArgs))return n.lastResult;const l=e.apply(this,s);return n={lastResult:l,lastArgs:s,lastThis:this},l}return o.clear=function(){n=null},o}const Yn=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"];class Gn{constructor(t){this.rovingTabIndex=!0,this.update=()=>{},this.focusNextIndex=(n,o)=>{const s=this.elements;let l=s.indexOf(n)+o;l=l<0?s.length-1:l;const a=s[l%s.length];return this.focusElement(a,n),a},this.tabIndex=t.tabIndex||0,this.root=t.root,this.selectors=t.selectors,this.focusOptions=t.focusOptions||{preventScroll:!0},this.rovingTabIndex=t.rovingTabIndex!==void 0?t.rovingTabIndex:!0,this.mouseEvents=t.mouseEvents||{},this.keyboardEvents=t.keyboardEvents||{}}get elements(){return this.root.current?Array.from(this.root.current.querySelectorAll(this.selectors.join(","))):[]}get first(){return this.root.current&&this.root.current.querySelector(this.selectors.join(","))||null}get last(){const t=this.elements;return t[t.length-1]||null}get current(){return this.elements.find(t=>t.matches(":focus"))||null}focusNext(t){return this.focusNextIndex(t,1)}focusPrevious(t){return this.focusNextIndex(t,-1)}triggerKeyboardEvent(t,n){const o=t.target instanceof Element&&t.target.closest(this.selectors.join(",")),s=t.key===" "?"Space":t.key,l=t.nativeEvent.type;o&&this.keyboardEvents[l][s]&&this.keyboardEvents[l][s].call(void 0,o,this,t,n)}triggerMouseEvent(t){const n=t.target instanceof Element&&t.target.closest(this.selectors.join(",")),o=t.nativeEvent.type;n&&this.mouseEvents[o].call(void 0,n,this,t)}focusElement(t,n){t&&(n&&(this.rovingTabIndex&&n.removeAttribute("tabindex"),n.classList.remove("k-focus")),this.rovingTabIndex&&t.setAttribute("tabindex",String(this.tabIndex)),t.focus(this.focusOptions))}}const te=e=>{const t=e.shadowRoot,n=e.contentDocument;return t&&t.activeElement?te(t.activeElement):n&&n.activeElement?te(n.activeElement):e},Jn=e=>{if(!(!e||!e.activeElement))return te(e.activeElement)};function A(e,t){const n=(e||"").split(".");let o=t;return n.forEach(s=>{o=o?o[s]:void 0}),o}function Zn(e){return e.length!==void 0}class qn{constructor(t){this.expandField=t.expandField,this.selectField=t.selectField,this.hasChildrenField=t.hasChildrenField,this.childrenField=t.childrenField,this.textField=t.textField,this.disableField=t.disableField,this.checkField=t.checkField,this.checkIndeterminateField=t.checkIndeterminateField,this.focusIdField=t.focusIdField}expanded(t){return A(this.expandField,t)}selected(t){return A(this.selectField,t)}text(t){return A(this.textField,t)}disabled(t){return A(this.disableField,t)}hasChildren(t){return A(this.hasChildrenField,t)}children(t){const n=A(this.childrenField,t);return n||[]}checked(t){return A(this.checkField,t)}checkIndeterminate(t){return A(this.checkIndeterminateField,t)}focusId(t){return this.focusIdField&&A(this.focusIdField,t)}getChildrenField(){return this.childrenField}}const Wn=5e4;class tt{constructor(){this.objects=[]}init(t){let n;for(let o=0;o<t.length;o++)o%Wn===0&&(n={},this.objects.push(n)),n[t[o]]=!0}hasId(t){return this.objects.some(n=>n[t])}}const Y="",nt="0",P="_";function rt(e,t,n){if(J(e))return t[Number(e)];{const o=t[Number(H(e))],s=o&&o[n]||[];return s.length?rt(j(e),s,n):void 0}}function H(e){return ge(e)?e:e.split(P)[0]}function j(e){if(ge(e))return e;{const t=e.indexOf(P);return e.substring(t+1)}}function Kn(e){return G("0",e)}function G(e,t){return e=e.toString(),t?t+P+e:e}function ot(e){const t=e.lastIndexOf(P);return t<0?Y:e.substring(0,t)}function ge(e){return e===Y||e.indexOf(P)<0}function J(e){return e!==Y&&e.indexOf(P)<0}function me(e){return e.split(P)}function ve(e){const t=e.lastIndexOf(P);return t<0?e:e.substring(t+1)}function Vn(e){return ve(e)===nt}function _n(e,t){const n=t;e="r"+P+e,t="r"+P+t;const o=ot(e)+P;if(t.startsWith(o)){const s=t.substring(o.length);if(s){const l=H(s);if(Number(ve(e))<Number(l)){const a=o+(Number(l)-1).toString()+s.substring(l.length);return j(a)}}}return n}const $n=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ID:Y,SEPARATOR:P,ZERO_LEVEL_ZERO_NODE_ID:nt,createId:G,getAllShortIds:me,getDecrementedItemIdAfterRemoval:_n,getDirectParentId:ot,getFirstChildId:Kn,getIdWithoutRootParentId:j,getItemById:rt,getRootParentId:H,getShortId:ve,isIdEmptyOrZeroLevel:ge,isIdZeroLevel:J,isItemFirstFromSiblings:Vn},Symbol.toStringTag,{value:"Module"}));function Ce(e,t){const n=A(t,e);return!!(n&&n.length)}function er(e,t){return t.expanded(e)&&Ce(e,t.getChildrenField())}function tr(e,t,n,o){const s=st([e],t,n,o);return s.length?s[0]:void 0}function st(e,t,n,o){const s=[],l=new tt;return l.init(e),it(l,t,n,Y,s,o),s}function lt(e,t,n,o,s){const l=Number(H(t));if(l>=e.length)return e;let a=e,u=e[l];return u[o]||(a=e.slice(),u=a[l]=Object.assign({},u,{[o]:!0})),J(t)?n(u):u[s]&&(u[s]=lt(u[s],j(t),n,o,s)),a}function nr(e,t,n){const o=me(e);let s=t;for(let l=0;l<o.length;l++){const a=s[Number(o[l])];if(n.disabled(a))return!1;s=a[n.getChildrenField()]}return!0}function rr(e,t,n,o){return o?l(e):s(e,t);function s(a,u){let g=[];const h=a[n]||[];for(let f=0;f<h.length;f++){const v=G(f,u);g.push(v),g=g.concat(s(h[f],v))}return g}function l(a){let u=[];const g=a[n]||[];for(let h=0;h<g.length;h++)u.push(A(o,g[h])),u=u.concat(l(g[h]));return u}}function or(e,t,n,o,s){return(e[o]||[]).every((a,u)=>s.indexOf(n?A(n,a):G(u,t))>-1)}function sr(e,t,n){const o=[],s=me(e);let l=n;for(let a=0;a<s.length-1&&l;a++){const u=l[Number(s[a])];o.push(u),l=u[t]}return o}function ct(e,t,n){const o=n.slice();if(J(e))o.splice(Number(e),1);else{const s=Number(H(e)),l=o[s]={...o[s]};l[t]=ct(j(e),t,l[t])}return o}function at(e,t,n,o,s){const l=s.slice();if(J(o))if(t==="child"){const a=l[Number(o)]={...l[Number(o)]};a[n]?(a[n]=a[n].slice(),a[n].push(e)):a[n]=[e]}else l.splice(Number(o)+(t==="after"?1:0),0,e);else{const a=Number(H(o)),u=l[a]={...l[a]};u[n]=at(e,t,n,j(o),u[n])}return l}function it(e,t,n,o,s,l){for(let a=0;a<n.length;a++){const u=n[a],g=G(a,o);e.hasId(A(t,u))&&s.push(g),Ce(u,l)&&it(e,t,A(l,u),g,s,l)}}c.AsyncFocusBlur=fn,c.BrowserSupportService=se,c.COLLECTION_ACTION=B,c.DragAndDrop=_e,c.Draggable=$e,c.Droppable=et,c.FOCUSABLE_ELEMENTS=Yn,c.FormComponent=Xt,c.Icon=_,c.IconWrap=Ve,c.IconsContext=he,c.Keys=Wt,c.Navigation=Gn,c.SortedPublicItemIds=tt,c.SvgIcon=$,c.TreeFieldsService=qn,c.Typography=zn,c.WatermarkOverlay=un,c.ZIndexContext=oe,c.addItem=at,c.areAllDirectChildrenChecked=or,c.canUseDOM=V,c.canUseRef=zt,c.classNames=le,c.clone=Ft,c.cloneArray=Te,c.cloneDate=Le,c.cloneObject=ce,c.cloneValue=ae,c.createPropsContext=hn,c.dispatchEvent=dn,c.extendDataItem=nn,c.focusFirstFocusableChild=Qt,c.getActiveElement=Jn,c.getAllDirectIndirectChildrenIds=rr,c.getAllParents=sr,c.getInnerActiveElement=te,c.getItemPath=rn,c.getNestedValue=A,c.getScrollbarWidth=Kt,c.getTabIndex=Gt,c.getter=Zt,c.guid=qt,c.hasChildren=Ce,c.hasRelativeStackingContext=cn,c.isArray=Zn,c.isEnabledAndAllParentsEnabled=nr,c.isItemExpandedAndWithChildren=er,c.kendoThemeMaps=Fn,c.mapTree=en,c.mapTreeItem=tn,c.memoizeOne=Un,c.noop=E,c.removeItem=ct,c.resolveItemId=tr,c.resolveItemsIds=st,c.setScrollbarWidth=Vt,c.setter=$t,c.shouldShowValidationUI=ln,c.svgIconPropType=yn,c.toIconClass=Ye,c.toIconName=bn,c.treeIdUtils=$n,c.updateItem=lt,c.useAsyncFocusBlur=ze,c.useCollection=ie,c.useCustomComponent=Cn,c.useDir=mn,c.useDocument=Xe,c.useDraggable=Ze,c.useDroppable=qe,c.useMouse=Qe,c.usePropsContext=Fe,c.useRtl=vn,c.useWindow=En,c.useZIndexContext=Nt,c.validatePackage=sn,c.withPropsContext=gn,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})});
8
+ `,console.warn(t)}}function an(e){return!ln.some(n=>{var o;return(o=globalThis.document)==null?void 0:o.location.hostname.endsWith(n)})&&!(Q!=null&&Q.validatePackage(e))}const un=e=>{if(!V)return!1;const t=e?e.ownerDocument:document;if(!t||!t.body)return!1;const n=10,o=t.createElement("div");o.style.transform="matrix(10, 0, 0, 10, 0, 0)";const s=t.createElement("div");s.appendChild(t.createTextNode("child")),s.style.position="fixed",s.style.top=n+"px",o.appendChild(s),t.body.appendChild(o);const l=s.getBoundingClientRect().top!==n;return t.body.removeChild(o),l},dn="https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-banner";let ze=!1;const fn=()=>{const[e,t]=r.useState(!0),[n,o]=r.useState(!1);r.useEffect(()=>{ze||(o(!0),ze=!0)},[]);const s=()=>{t(!1)},l=r.createElement(r.Fragment,null,e&&r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",position:"fixed",top:"16px",right:"16px",padding:"12px",borderRadius:"4px",boxShadow:"0px 4px 5px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px 0px rgba(0, 0, 0, 0.03)",fontSize:"14px",fontWeight:400,lineHeight:"20px",backgroundColor:"#FFC000",color:"#1E1E1E",zIndex:999}},r.createElement("span",{style:{display:"flex",alignSelf:"center",marginRight:"8px"}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1L0 15H16L8 1ZM7 6V11H9V6H7ZM7 14V12H9V14H7Z",fill:"#1E1E1E"}))),r.createElement("span",null,"No valid license found for KendoReact. Learn how to activate your license."),r.createElement("div",{style:{display:"flex",alignItems:"center",marginLeft:"24px"}},r.createElement("a",{href:dn,style:{marginRight:"8px",display:"flex"}},r.createElement("button",{title:"Learn More",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{d:"M15 8C15 11.8656 11.8656 15 8 15C4.13437 15 1 11.8656 1 8C1 4.13437 4.13437 1 8 1C11.8656 1 15 4.13437 15 8ZM14 8C14 4.6875 11.3125 2 8 2C4.6875 2 2 4.6875 2 8C2 11.3125 4.6875 14 8 14C11.3125 14 14 11.3125 14 8ZM11 6C11 7.4125 10.2687 8.05937 9.73125 8.53125C9.25937 8.94688 9 9.17813 9 10H7C7 8.275 7.84688 7.525 8.40938 7.03125C8.84062 6.65312 9 6.50938 9 6C9 5.45 8.55 5 8 5C7.45 5 7 5.45 7 6H5C5 4.34375 6.34375 3 8 3C9.65625 3 11 4.34375 11 6ZM9 13V11H7V13H9Z",fill:"#1E1E1E"})))),r.createElement("button",{title:"Close",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"},onClick:s},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{d:"M13 4.41562L9.41563 8L13 11.5844L11.5844 13L8 9.41563L4.41562 13L3 11.5844L6.58437 8L3 4.41562L4.41562 3L8 6.58437L11.5844 3L13 4.41562Z",fill:"#1E1E1E"}))))));return r.createElement(r.Fragment,null,r.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,right:0,bottom:0,opacity:.12,zIndex:101,pointerEvents:"none",backgroundImage:"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABVxSURBVHgB7Z3tVRtJE4WL9zgANgLLGRCCnAGOADmCxRGgDFAGYiOADKQMIAGO9J8ji42g37mjqlUjBgOanpn+uM85sjC2sKzbVd1dVV0tQgghhBBCCCGEEEIIKRPn3Gn1GAlJmmN1pP558J6OX9540ejh4WGlX09OTk7+EZIclXYXlY43+vVflY7PH3wd9c+AY/Wvvcb9/b0bjUYOz/hBQpICmh1oOPrEa6l/4rTR337AhIMgTSqtzg+0m8gnof7p0mD8EzmGhkFwJiR6np6e7luLL9Q/RTDTBzF+7wfWg2CxWOCHjYVET6XTdLPZrFuLL9Q/NeCkoVUQ4/d+6Ijev1yof1rAUVMvQgjJHebrSRu+CEmWo/O8hISgCjStKpgiGoDWed4AUP/hwGf++Pi4hQYyFHgDzBP3T7A8b0uo/zD4+sMBy1CwWKR/YjF+fS/Uv2di0t/eEAdBT0QnvlD/PolR/xoOgu4JUd7bFdS/e6I1foODoFuqz3M2mUziFF+of5dEb/xGwyAYCwmCVuPNYv5MqX94Yl75NWKD4PLyEm92KqQoqH9Y8Bnis0zC+A14LbxxVqiVCfUPh678plxNFYQe5pjRgAgpDAv4IOAHJyCEkDJoiPaeCyG5UA1oRIYWHNivSSbV0wLq/zbQXz+bS8kV/AeZJ35NCcYPqH8zvv4VS8kVFou8phTjB9T/NcVt+zgI9rjQDRwTgPrvKcn5v4CDYIfT/vtFiS/UHxRr/AYHwQ4t9DiVwihZ/+KN36ATKJsS9U+utr9r/EGQdQSUNFKa/geZkImQ/2rHlzn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N1pP55QB0JIYQQQgghhBBCCJGy+T9ftRg+rVNPfAAAAABJRU5ErkJggg==')"}}),n&&Ht.createPortal(l,document.body))};function hn(e,t,n,o){if(e){const s={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(s,o))}}function Fe({onFocus:e,onBlur:t,onSyncFocus:n,onSyncBlur:o}){const s=r.useRef(!1),l=r.useRef(0),a=r.useCallback(h=>{clearTimeout(l.current),l.current=window.setTimeout(()=>h())},[l]),u=r.useCallback((...h)=>{clearTimeout(l.current),n&&n.call(void 0,h[0]),!s.current&&(s.current=!0,e&&e.call(void 0,...h))},[s,e,n]),g=r.useCallback((...h)=>{o&&o.call(void 0,h[0]),a(()=>{s.current&&t&&(s.current=!1,t.call(void 0,...h))})},[s,a,t,o]);return r.useEffect(()=>()=>{clearTimeout(l.current)},[]),{onFocus:u,onBlur:g}}const gn=({children:e,onFocus:t,onBlur:n,onSyncFocus:o,onSyncBlur:s})=>{const l=Fe({onFocus:t,onBlur:n,onSyncFocus:o,onSyncBlur:s});return r.createElement(r.Fragment,null,e.call(void 0,{...l}))},Qe=(e,t)=>r.useContext(e)(t),mn=()=>r.createContext(e=>e),vn=(e,t)=>r.forwardRef((n,o)=>{const s=Qe(e,n);return r.createElement(t,{...s,ref:o})}),Xe=typeof window<"u"?r.useLayoutEffect:r.useEffect;function Ue(e){const[t,n]=r.useState(!1);r.useEffect(()=>{n(!0)},[]);const[o,s]=r.useState(()=>{if(e)return e;if(t)return ie()});return Xe(()=>{o===void 0&&s(ie())},[]),r.useId?e??r.useId():o}const Cn=e=>r.forwardRef((t,n)=>{const o=Ue(t.id);return r.createElement(e,{...t,id:o,ref:n})});function En(e,t,n){const[o,s]=r.useState(t);return r.useEffect(()=>{if(!o&&window&&e.current){const l=window.getComputedStyle(e.current).direction;l&&s(l)}},n),o}function bn(e,t,n){const[o,s]=r.useState(t);return r.useEffect(()=>{if(!o&&window&&e.current){const l=window.getComputedStyle(e.current).direction;l&&s(l)}},n),o}const Ye=(e,t,n={})=>{const o=r.useCallback(d=>{n.onMouseDown&&n.onMouseDown.call(void 0,d),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseDown,e.onMouseDown,t]),s=r.useCallback(d=>{n.onMouseUp&&n.onMouseUp.call(void 0,d),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseUp,e.onMouseUp,t]),l=r.useCallback(d=>{n.onClick&&n.onClick.call(void 0,d),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:d})},[n.onClick,e.onClick,t]),a=r.useCallback(d=>{n.onDoubleClick&&n.onDoubleClick.call(void 0,d),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:d})},[n.onDoubleClick,e.onDoubleClick,t]),u=r.useCallback(d=>{n.onMouseEnter&&n.onMouseEnter.call(void 0,d),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseEnter,e.onMouseEnter,t]),g=r.useCallback(d=>{n.onMouseLeave&&n.onMouseLeave.call(void 0,d),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseLeave,e.onMouseLeave,t]),h=r.useCallback(d=>{n.onMouseMove&&n.onMouseMove.call(void 0,d),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseMove,e.onMouseMove,t]),f=r.useCallback(d=>{n.onMouseOut&&n.onMouseOut.call(void 0,d),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseOut,e.onMouseOut,t]),v=r.useCallback(d=>{n.onMouseOver&&n.onMouseOver.call(void 0,d),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:d})},[n.onMouseOver,e.onMouseOver,t]);return{onClick:l,onMouseUp:s,onMouseDown:o,onDoubleClick:a,onMouseEnter:u,onMouseLeave:g,onMouseMove:h,onMouseOut:f,onMouseOver:v}},yn=e=>[e,{}];var B=(e=>(e[e.add=0]="add",e[e.remove=1]="remove",e))(B||{});const ue=(e=[])=>{const t=r.useRef(e),n=r.useCallback(o=>{switch(o.type){case 0:t.current.push(o.item);break;case 1:{const s=t.current.indexOf(o.item);t.current.splice(s,1);break}}},[]);return[t.current,n]},Ge=e=>{const t=r.useCallback(()=>e.current&&e.current.element?e.current.element:e.current,[e]);return r.useCallback(()=>{const o=t();return o&&o.ownerDocument||document},[t])},Dn=e=>{const t=Ge(e);return r.useCallback(()=>{const o=t();return o&&o.defaultView||window},[t])},Je={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl",xxlarge:"k-icon-xxl",xxxlarge:"k-icon-xxxl"},kn=e=>e.replace(/^k-i-/,""),Ze=e=>"k-i-"+e,An=m.shape({name:m.string.isRequired,content:m.string.isRequired,viewBox:m.string.isRequired}),de=(e,t)=>{const[n,o]=r.useContext(e),[s,l]=r.useState(t);return[n!==void 0?n:s,(...g)=>{n!==void 0?o(...g):l(g[0])}]},qe=r.createContext([void 0,E]),fe=r.createContext([void 0,E]),We=r.createContext([[],E,E]),he=r.createContext([[],E,E]),pn=2e3;function Ke(e,t,n={}){const{onPress:o=E,onRelease:s=E,onDragStart:l=E,onDrag:a=E,onDragEnd:u=E}=t,{hint:g=null,mouseOnly:h=!1,autoScroll:f=!0,scrollContainer:v=null}=n,[d,D]=r.useState(!1),[k,w]=r.useState(!1),[b]=de(fe),[L,R]=de(qe),[N]=r.useContext(he),[O,x,S]=r.useContext(We),p=r.useRef({x:0,y:0}),be=r.useRef(),ye=r.useRef(!1),ht=r.useRef(),Z=r.useRef(null),De=r.useRef(!1),gt=r.useRef({x:0,y:0}),mt=r.useRef({x:0,y:0}),ne=r.useRef({x:0,y:0}),vt=r.useRef({x:0,y:0}),Ct=r.useRef({x:0,y:0}),Et=r.useRef({x:0,y:0}),ir=!!(typeof window<"u"&&window.PointerEvent),bt=!h&&ir,T=r.useCallback(()=>e.current&&e.current.element?e.current.element:e.current,[e]),ur=r.useCallback(()=>g&&g.current&&g.current.element?g.current.element:g?g.current:null,[g]),yt=r.useCallback(()=>v&&v.current&&v.current.element?v.current.element:v?v.current:null,[v]),Dt=r.useCallback(()=>typeof f=="object"&&f.boundaryElementRef&&f.boundaryElementRef.current&&f.boundaryElementRef.current.element?f.boundaryElementRef.current.element:typeof f=="object"&&f.boundaryElementRef&&f.boundaryElementRef.current?f.boundaryElementRef.current:null,[f]),q=r.useRef(null);r.useImperativeHandle(q,()=>({element:T(),hint:ur(),onPress:dr,onDragStart:hr,onDrag:gr,onDragEnd:mr,onRelease:fr,data:e.current}));const re=r.useCallback(()=>{const i=T();return i&&i.ownerDocument||document},[T]),z=r.useCallback(()=>{const i=re();return i&&i.defaultView||window},[re]),kt=r.useCallback(()=>({drag:L?L.current:null,drop:b?b.current:null,drags:O.map(i=>i.current),drops:N.map(i=>i.current),pressed:d,ignoreMouse:ye.current,scrollOffset:Ct.current,offset:gt.current,pageOffset:mt.current,initialScrollOffset:Et.current,clientOffset:ne.current,initialClientOffset:vt.current,velocity:p.current,autoScroll:!!(typeof f=="object"?f.enabled!==!1:f),scrollableParent:Dt(),autoScrollDirection:typeof f=="object"?f.direction:{horizontal:!0,vertical:!0},isScrolling:k}),[L,b,O,N,d,f,Dt,k]),At=r.useCallback(i=>{D(i)},[]),pt=r.useCallback(i=>{w(i)},[]),It=r.useCallback(i=>{p.current=i},[]),Pt=r.useCallback(i=>{gt.current=i},[]),wt=r.useCallback(i=>{ne.current=i},[]),xt=r.useCallback(i=>{mt.current=i},[]),Ot=r.useCallback(i=>{vt.current=i},[]),St=r.useCallback(i=>{Ct.current=i},[]),Mt=r.useCallback(i=>{Et.current=i},[]),dr=r.useCallback(i=>{o(i)},[o]),fr=r.useCallback(i=>{s(i)},[s]),hr=r.useCallback(i=>{R(q,{target:e.current,event:i}),l(i)},[R,e,l]),gr=r.useCallback(i=>{a(i)},[a]),mr=r.useCallback(i=>{De.current||(R(null,{target:e.current,event:i}),u(i))},[u,R,e]),C=r.useCallback(i=>{W.dispatchDragAndDrop(kt(),{event:i,payload:q.current},{onVelocityChange:It,onOffsetChange:Pt,onClientOffsetChange:wt,onPageOffsetChange:xt,onInitialClientOffsetChange:Ot,onScrollOffsetChange:St,onInitialScrollOffsetChange:Mt,onIsPressedChange:At,onIsScrollingChange:pt})},[kt,It,Pt,xt,wt,Ot,Mt,At,St,pt]),ke=r.useCallback(i=>{C(i)},[C]),Ae=r.useCallback(i=>{C(i)},[C]),pe=r.useCallback(i=>{C(i)},[C]),Ie=r.useCallback(i=>{C(i)},[C]),Pe=r.useCallback(i=>{C(i)},[C]),we=r.useCallback(i=>{C(i)},[C]),xe=r.useCallback(i=>{C(i)},[C]),Oe=r.useCallback(i=>{i.preventDefault(),C(i)},[C]),Se=r.useCallback(i=>{i.preventDefault(),C(i)},[C]),Me=r.useCallback(i=>{i.preventDefault(),C(i)},[C]),Re=r.useCallback(i=>{if(i.touches.length===0&&i.changedTouches.length===1){const y=z();ye.current=!0,ht.current=y.setTimeout(()=>{ye.current=!1},pn)}C(i)},[C,z]),Le=r.useCallback(i=>{C(i)},[C]),Rt=r.useCallback(()=>{const i=T();if(i){const y=i.style.touchAction;return i.style.touchAction="none",()=>{i.style.touchAction=y}}},[T]),Lt=r.useCallback(()=>(x(q),()=>{S(q)}),[S,x]),vr=()=>{const i=z(),y=T(),P=re();return bt?(y&&(Z.current=W.getScrollableParent(y),Z.current&&Z.current.addEventListener("scroll",Le,{passive:!0}),y.addEventListener("pointerdown",ke,{passive:!0})),d&&(P.addEventListener("pointermove",Ae),P.addEventListener("pointerup",Ie,!0),P.addEventListener("contextmenu",Oe),P.addEventListener("pointercancel",pe,{passive:!0}))):(i.addEventListener("touchmove",E,{capture:!1,passive:!1}),y&&(y.addEventListener("mousedown",Pe,{passive:!0}),h||(y.addEventListener("touchstart",Se,{passive:!0}),d&&(y.addEventListener("touchmove",Me,{passive:!0}),y.addEventListener("touchend",Re,{passive:!0})))),d&&(P.addEventListener("mousemove",we,{passive:!0}),P.addEventListener("mouseup",xe,{passive:!0}))),()=>{Z.current&&Z.current.removeEventListener("scroll",Le),y&&(y.removeEventListener("pointerdown",ke),y.removeEventListener("mousedown",Pe),y.removeEventListener("touchstart",Se),y.removeEventListener("touchmove",Me),y.removeEventListener("touchend",Re)),P.removeEventListener("pointermove",Ae),P.removeEventListener("pointerup",Ie,!0),P.removeEventListener("contextmenu",Oe),P.removeEventListener("pointercancel",pe),P.removeEventListener("mousemove",we),P.removeEventListener("mouseup",xe),i.removeEventListener("touchmove",E),i.clearTimeout(ht.current)}};r.useEffect(()=>{const i=z();if(k){const y=yt()||W.getScrollableParent(document.elementFromPoint(ne.current.x,ne.current.y));i.clearInterval(be.current),be.current=i.setInterval(()=>{W.autoScroll(y,{x:p.current.x,y:p.current.y})},50)}return()=>{i.clearInterval(be.current)}},[T,yt,z,k]),r.useEffect(Rt,[Rt]),r.useEffect(vr,[d,z,T,re,h,bt,Oe,Pe,we,xe,pe,ke,Ae,Ie,Re,Me,Se,Le]),r.useEffect(()=>(De.current=!1,()=>{De.current=!0}),[]),r.useLayoutEffect(Lt,[Lt])}function Ve(e,t={onDragEnter:E,onDragOver:E,onDragLeave:E,onDrop:E}){const{onDragEnter:n=E,onDragOver:o=E,onDragLeave:s=E,onDrop:l=E}=t,[,a]=de(fe),[,u,g]=r.useContext(he),h=r.useCallback(()=>e.current&&e.current.element?e.current.element:e.current,[e]),f=r.useRef(null);r.useImperativeHandle(f,()=>({element:h(),onDragEnter:v,onDragOver:d,onDragLeave:D,onDrop:k,data:e.current}));const v=r.useCallback(b=>{a(f,{target:e.current,event:b}),n(b)},[a,e,n]),d=r.useCallback(b=>{o(b)},[o]),D=r.useCallback(b=>{a(null,{target:e.current,event:b}),s(b)},[a,e,s]),k=r.useCallback(b=>{a(null,{target:e.current,event:b}),l(b)},[a,e,l]),w=r.useCallback(()=>(u(f),()=>{g(f)}),[g,u]);r.useLayoutEffect(w,[w])}const _e=(e,t,n)=>{const[o,s]=r.useState(t||e),l=r.useCallback((a,u)=>{s(a),n&&n.call(void 0,{...u,value:a})},[n,s]);return[t!==void 0?t:o,l]},_=r.forwardRef((e,t)=>{const{className:n,name:o,themeColor:s,size:l,flip:a,style:u,id:g,tabIndex:h,...f}=e,v=r.useRef(null),d=r.useRef(null);r.useImperativeHandle(v,()=>({element:d.current})),r.useImperativeHandle(t,()=>v.current);const D=r.useMemo(()=>l||$e.size,[l]),k=r.useMemo(()=>a||$e.flip,[a]),w=r.useMemo(()=>le("k-icon","k-font-icon",o&&Ze(o),{[`k-color-${s}`]:s,"k-flip-h":k==="horizontal"||k==="both","k-flip-v":k==="vertical"||k==="both"},Je[D],n),[o,s,D,k,n]),b=Ye(e,v);return r.createElement("span",{ref:d,...f,...b,className:w,id:g,tabIndex:h,style:u,role:"presentation"})});_.propTypes={style:m.object,classNames:m.string,name:m.string,themeColor:m.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:m.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:m.oneOf(["default","horizontal","vertical","both"])};const $e={size:"default",flip:"default"};_.displayName="KendoIcon";const $=r.forwardRef((e,t)=>{const{children:n,className:o,svgClassName:s,icon:l,flip:a,id:u,tabIndex:g,size:h,style:f,svgStyle:v,themeColor:d,viewBox:D,name:k,onClick:w,...b}=e,L=r.useRef(null);r.useImperativeHandle(t,()=>({element:L.current}));const R=r.useMemo(()=>l?l.name:ee.icon,[l]),N=r.useMemo(()=>h||ee.size,[h]),O=r.useMemo(()=>a||ee.flip,[a]),x=r.useMemo(()=>D||ee.viewBox,[D]),S=r.useMemo(()=>le("k-icon","k-svg-icon","k-svg-i-"+R,{[`k-color-${d}`]:d,"k-flip-h":O==="horizontal"||O==="both","k-flip-v":O==="vertical"||O==="both"},Je[N],o),[R,d,N,O,o]),p=r.useMemo(()=>e.width&&e.height?{width:e.width,height:e.height,...f}:e.width?{width:e.width,height:e.width,...f}:e.height?{width:e.height,height:e.height,...f}:{...f},[e.width,e.height,f]);return r.createElement("span",{className:S,style:p,ref:L,onClick:w},r.createElement("svg",{id:u,className:s,style:v,"aria-hidden":!0,tabIndex:g,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:l?l.viewBox:x,dangerouslySetInnerHTML:l?{__html:l.content}:void 0,...b},l?void 0:n))});$.propTypes={style:m.object,classNames:m.string,children:m.any,icon:m.object,themeColor:m.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:m.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:m.oneOf(["default","horizontal","vertical","both"])};const ee={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};$.displayName="KendoSvgIcon";const ge=r.createContext({type:"svg"});ge.displayName="KendoReactIconsContext";const et=r.forwardRef((e,t)=>{var g,h;const{type:n,icons:o}=r.useContext(ge),{icon:s,...l}=e;let a=n==="svg"?((g=e.icon)==null?void 0:g.name)||e.name:e.name||((h=e.icon)==null?void 0:h.name);a=a&&o&&o[a]&&typeof o[a]=="string"?o[a]:a;const u=a&&o&&o[a]&&typeof o[a]!="string"?o[a]:s;return n==="svg"&&u?r.createElement($,{...e,icon:u,ref:t}):r.createElement(_,{...l,name:a,ref:t})});et.displayName="KendoIconWrap";const In={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},Pn={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},wn={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"},xn={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},On={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},Sn={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},Mn={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},Rn={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"},M=e=>{const t=r.forwardRef((n,o)=>{const{id:s,style:l,className:a,fontSize:u,fontWeight:g,textAlign:h,textTransform:f,themeColor:v,margin:d,...D}=n,k=r.useRef(null),w=r.useRef(null);r.useImperativeHandle(k,()=>({element:w.current,props:n})),r.useImperativeHandle(o,()=>k.current);const b=()=>`k-${e==="p"?"paragraph":e}`,L=e,R=(x,S)=>{const p=typeof S=="string"?xn[S]:S;return`${On[x]}${p}`},N=()=>{if(d!==void 0){if(typeof d=="string")return[wn[d]];if(typeof d=="number"&&d>=0&&d<=24)return[`k-m-${d}`];if(typeof d=="object"){const x=[];return Object.keys(d).forEach(p=>{d[p]!==null&&d[p]!==void 0&&x.push(R(p,d[p]))}),x.join(" ")}}},O=()=>[b(),In[u],Pn[g],Sn[h],Mn[f],Rn[v],N(),a].filter(p=>p!==void 0).join(" ");return r.createElement(L,{id:s,ref:w,className:O(),style:l,...D},n.children)});return t.propTypes={style:m.object,className:m.string,fontSize:m.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:m.oneOf(["light","normal","bold"]),margin:m.oneOfType([m.number,m.object,m.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:m.oneOf(["left","right","center","justify"]),textTransform:m.oneOf(["lowercase","uppercase","capitalize"]),themeColor:m.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName=`KendoReactTypography${e.toUpperCase()}`,t},Ln=M("h1"),Tn=M("h2"),Nn=M("h3"),Bn=M("h4"),Hn=M("h5"),jn=M("h6"),zn=M("p"),Fn=M("code"),Qn=M("pre"),Xn={h1:Ln,h2:Tn,h3:Nn,h4:Bn,h5:Hn,h6:jn,p:zn,code:Fn,pre:Qn},tt=e=>{const[t,n]=_e(null,void 0),[o,s]=_e(null,void 0),[l,a]=ue([]),[u,g]=ue([]),h=D=>{a({type:B.add,item:D})},f=D=>{a({type:B.remove,item:D})},v=D=>{g({type:B.add,item:D})},d=D=>{g({type:B.remove,item:D})};return r.createElement(qe.Provider,{value:[t,n]},r.createElement(fe.Provider,{value:[o,s]},r.createElement(We.Provider,{value:[l,h,f]},r.createElement(he.Provider,{value:[u,v,d]},e.children))))};tt.displayName="KendoReactDragAndDrop";const nt=r.forwardRef((e,t)=>{const n=r.useRef(null),o=r.useRef(null),s=r.useCallback(()=>n.current&&n.current.element?n.current.element:n.current,[n]);r.useImperativeHandle(o,()=>({element:s()||null})),r.useImperativeHandle(t,()=>o.current),r.useImperativeHandle(e.childRef,()=>n.current);const l=r.useCallback(f=>{e.onPress&&e.onPress({element:s(),target:o.current,event:f})},[s,e.onPress]),a=r.useCallback(f=>{e.onRelease&&e.onRelease({element:s(),target:o.current,event:f})},[s,e.onRelease]),u=r.useCallback(f=>{e.onDragStart&&e.onDragStart({element:s(),target:o.current,event:f})},[e,s]),g=r.useCallback(f=>{e.onDrag&&e.onDrag({element:s(),target:o.current,event:f})},[s,e.onDrag]),h=r.useCallback(f=>{e.onDragEnd&&e.onDragEnd({element:s(),target:o.current,event:f})},[s,e.onDragEnd]);return Ke(n,{onPress:l,onRelease:a,onDragStart:u,onDrag:g,onDragEnd:h},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null});nt.displayName="KendoReactDraggable";const rt=r.forwardRef((e,t)=>{const n=r.useRef(null),o=r.useRef(null),s=r.useCallback(()=>n.current&&n.current.element?n.current.element:n.current,[n]);r.useImperativeHandle(o,()=>({element:s()||void 0})),r.useImperativeHandle(t,()=>o.current),r.useImperativeHandle(e.childRef,()=>n.current);const l=r.useCallback(h=>{e.onDragEnter&&e.onDragEnter({element:s(),target:o.current,event:h})},[e.onDragEnter,s]),a=r.useCallback(h=>{e.onDragOver&&e.onDragOver({element:s(),target:o.current,event:h})},[s,e.onDragOver]),u=r.useCallback(h=>{e.onDragLeave&&e.onDragLeave({element:s(),target:o.current,event:h})},[e.onDragLeave,s]),g=r.useCallback(h=>{e.onDrop&&e.onDrop({element:s(),target:o.current,event:h})},[e.onDrop,s]);return Ve(n,{onDragEnter:l,onDragOver:a,onDragLeave:u,onDrop:g}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null});rt.displayName="KendoReactDroppable";const Un={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};function Yn(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function Gn(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!Yn(e[n],t[n]))return!1;return!0}function Jn(e,t=Gn){let n=null;function o(...s){if(n&&n.lastThis===this&&t(s,n.lastArgs))return n.lastResult;const l=e.apply(this,s);return n={lastResult:l,lastArgs:s,lastThis:this},l}return o.clear=function(){n=null},o}const Zn=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"];class qn{constructor(t){this.rovingTabIndex=!0,this.update=()=>{},this.focusNextIndex=(n,o)=>{const s=this.elements;let l=s.indexOf(n)+o;l=l<0?s.length-1:l;const a=s[l%s.length];return this.focusElement(a,n),a},this.tabIndex=t.tabIndex||0,this.root=t.root,this.selectors=t.selectors,this.focusOptions=t.focusOptions||{preventScroll:!0},this.rovingTabIndex=t.rovingTabIndex!==void 0?t.rovingTabIndex:!0,this.mouseEvents=t.mouseEvents||{},this.keyboardEvents=t.keyboardEvents||{}}get elements(){return this.root.current?Array.from(this.root.current.querySelectorAll(this.selectors.join(","))):[]}get first(){return this.root.current&&this.root.current.querySelector(this.selectors.join(","))||null}get last(){const t=this.elements;return t[t.length-1]||null}get current(){return this.elements.find(t=>t.matches(":focus"))||null}focusNext(t){return this.focusNextIndex(t,1)}focusPrevious(t){return this.focusNextIndex(t,-1)}triggerKeyboardEvent(t,n){const o=t.target instanceof Element&&t.target.closest(this.selectors.join(",")),s=t.key===" "?"Space":t.key,l=t.nativeEvent.type;o&&this.keyboardEvents[l][s]&&this.keyboardEvents[l][s].call(void 0,o,this,t,n)}triggerMouseEvent(t){const n=t.target instanceof Element&&t.target.closest(this.selectors.join(",")),o=t.nativeEvent.type;n&&this.mouseEvents[o].call(void 0,n,this,t)}focusElement(t,n){t&&(n&&(this.rovingTabIndex&&n.removeAttribute("tabindex"),n.classList.remove("k-focus")),this.rovingTabIndex&&t.setAttribute("tabindex",String(this.tabIndex)),t.focus(this.focusOptions))}}const te=e=>{const t=e.shadowRoot,n=e.contentDocument;return t&&t.activeElement?te(t.activeElement):n&&n.activeElement?te(n.activeElement):e},Wn=e=>{if(!(!e||!e.activeElement))return te(e.activeElement)};function A(e,t){const n=(e||"").split(".");let o=t;return n.forEach(s=>{o=o?o[s]:void 0}),o}function Kn(e){return e.length!==void 0}class Vn{constructor(t){this.expandField=t.expandField,this.selectField=t.selectField,this.hasChildrenField=t.hasChildrenField,this.childrenField=t.childrenField,this.textField=t.textField,this.disableField=t.disableField,this.checkField=t.checkField,this.checkIndeterminateField=t.checkIndeterminateField,this.focusIdField=t.focusIdField}expanded(t){return A(this.expandField,t)}selected(t){return A(this.selectField,t)}text(t){return A(this.textField,t)}disabled(t){return A(this.disableField,t)}hasChildren(t){return A(this.hasChildrenField,t)}children(t){const n=A(this.childrenField,t);return n||[]}checked(t){return A(this.checkField,t)}checkIndeterminate(t){return A(this.checkIndeterminateField,t)}focusId(t){return this.focusIdField&&A(this.focusIdField,t)}getChildrenField(){return this.childrenField}}const _n=5e4;class ot{constructor(){this.objects=[]}init(t){let n;for(let o=0;o<t.length;o++)o%_n===0&&(n={},this.objects.push(n)),n[t[o]]=!0}hasId(t){return this.objects.some(n=>n[t])}}const Y="",st="0",I="_";function lt(e,t,n){if(J(e))return t[Number(e)];{const o=t[Number(H(e))],s=o&&o[n]||[];return s.length?lt(j(e),s,n):void 0}}function H(e){return me(e)?e:e.split(I)[0]}function j(e){if(me(e))return e;{const t=e.indexOf(I);return e.substring(t+1)}}function $n(e){return G("0",e)}function G(e,t){return e=e.toString(),t?t+I+e:e}function ct(e){const t=e.lastIndexOf(I);return t<0?Y:e.substring(0,t)}function me(e){return e===Y||e.indexOf(I)<0}function J(e){return e!==Y&&e.indexOf(I)<0}function ve(e){return e.split(I)}function Ce(e){const t=e.lastIndexOf(I);return t<0?e:e.substring(t+1)}function er(e){return Ce(e)===st}function tr(e,t){const n=t;e="r"+I+e,t="r"+I+t;const o=ct(e)+I;if(t.startsWith(o)){const s=t.substring(o.length);if(s){const l=H(s);if(Number(Ce(e))<Number(l)){const a=o+(Number(l)-1).toString()+s.substring(l.length);return j(a)}}}return n}const nr=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ID:Y,SEPARATOR:I,ZERO_LEVEL_ZERO_NODE_ID:st,createId:G,getAllShortIds:ve,getDecrementedItemIdAfterRemoval:tr,getDirectParentId:ct,getFirstChildId:$n,getIdWithoutRootParentId:j,getItemById:lt,getRootParentId:H,getShortId:Ce,isIdEmptyOrZeroLevel:me,isIdZeroLevel:J,isItemFirstFromSiblings:er},Symbol.toStringTag,{value:"Module"}));function Ee(e,t){const n=A(t,e);return!!(n&&n.length)}function rr(e,t){return t.expanded(e)&&Ee(e,t.getChildrenField())}function or(e,t,n,o){const s=at([e],t,n,o);return s.length?s[0]:void 0}function at(e,t,n,o){const s=[],l=new ot;return l.init(e),ft(l,t,n,Y,s,o),s}function it(e,t,n,o,s){const l=Number(H(t));if(l>=e.length)return e;let a=e,u=e[l];return u[o]||(a=e.slice(),u=a[l]=Object.assign({},u,{[o]:!0})),J(t)?n(u):u[s]&&(u[s]=it(u[s],j(t),n,o,s)),a}function sr(e,t,n){const o=ve(e);let s=t;for(let l=0;l<o.length;l++){const a=s[Number(o[l])];if(n.disabled(a))return!1;s=a[n.getChildrenField()]}return!0}function lr(e,t,n,o){return o?l(e):s(e,t);function s(a,u){let g=[];const h=a[n]||[];for(let f=0;f<h.length;f++){const v=G(f,u);g.push(v),g=g.concat(s(h[f],v))}return g}function l(a){let u=[];const g=a[n]||[];for(let h=0;h<g.length;h++)u.push(A(o,g[h])),u=u.concat(l(g[h]));return u}}function cr(e,t,n,o,s){return(e[o]||[]).every((a,u)=>s.indexOf(n?A(n,a):G(u,t))>-1)}function ar(e,t,n){const o=[],s=ve(e);let l=n;for(let a=0;a<s.length-1&&l;a++){const u=l[Number(s[a])];o.push(u),l=u[t]}return o}function ut(e,t,n){const o=n.slice();if(J(e))o.splice(Number(e),1);else{const s=Number(H(e)),l=o[s]={...o[s]};l[t]=ut(j(e),t,l[t])}return o}function dt(e,t,n,o,s){const l=s.slice();if(J(o))if(t==="child"){const a=l[Number(o)]={...l[Number(o)]};a[n]?(a[n]=a[n].slice(),a[n].push(e)):a[n]=[e]}else l.splice(Number(o)+(t==="after"?1:0),0,e);else{const a=Number(H(o)),u=l[a]={...l[a]};u[n]=dt(e,t,n,j(o),u[n])}return l}function ft(e,t,n,o,s,l){for(let a=0;a<n.length;a++){const u=n[a],g=G(a,o);e.hasId(A(t,u))&&s.push(g),Ee(u,l)&&ft(e,t,A(l,u),g,s,l)}}c.AsyncFocusBlur=gn,c.BrowserSupportService=se,c.COLLECTION_ACTION=B,c.DragAndDrop=tt,c.Draggable=nt,c.Droppable=rt,c.FOCUSABLE_ELEMENTS=Zn,c.FormComponent=Gt,c.Icon=_,c.IconWrap=et,c.IconsContext=ge,c.Keys=Vt,c.Navigation=qn,c.SortedPublicItemIds=ot,c.SvgIcon=$,c.TreeFieldsService=Vn,c.Typography=Xn,c.WatermarkOverlay=fn,c.ZIndexContext=oe,c.addItem=dt,c.areAllDirectChildrenChecked=cr,c.canUseDOM=V,c.canUseRef=Xt,c.classNames=le,c.clone=Ut,c.cloneArray=Ne,c.cloneDate=Te,c.cloneObject=ce,c.cloneValue=ae,c.createPropsContext=mn,c.dispatchEvent=hn,c.extendDataItem=on,c.focusFirstFocusableChild=Yt,c.getActiveElement=Wn,c.getAllDirectIndirectChildrenIds=lr,c.getAllParents=ar,c.getInnerActiveElement=te,c.getItemPath=sn,c.getNestedValue=A,c.getScrollbarWidth=_t,c.getTabIndex=qt,c.getter=Kt,c.guid=ie,c.hasChildren=Ee,c.hasRelativeStackingContext=un,c.isArray=Kn,c.isEnabledAndAllParentsEnabled=sr,c.isItemExpandedAndWithChildren=rr,c.kendoThemeMaps=Un,c.mapTree=nn,c.mapTreeItem=rn,c.memoizeOne=Jn,c.noop=E,c.removeItem=ut,c.resolveItemId=or,c.resolveItemsIds=at,c.setScrollbarWidth=$t,c.setter=tn,c.shouldShowValidationUI=an,c.svgIconPropType=An,c.toIconClass=Ze,c.toIconName=kn,c.treeIdUtils=nr,c.updateItem=it,c.useAsyncFocusBlur=Fe,c.useCollection=ue,c.useCustomComponent=yn,c.useDir=En,c.useDocument=Ge,c.useDraggable=Ke,c.useDroppable=Ve,c.useId=Ue,c.useIsomorphicLayoutEffect=Xe,c.useMouse=Ye,c.usePropsContext=Qe,c.useRtl=bn,c.useWindow=Dn,c.useZIndexContext=jt,c.validatePackage=cn,c.withIdHOC=Cn,c.withPropsContext=vn,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ /** @hidden */
7
+ export declare const withIdHOC: <P extends object>(Component: React.ComponentType<P>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<any>>;
@@ -0,0 +1,6 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /** @hidden */
6
+ export declare function useId(id?: string): any;
@@ -0,0 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ /** @hidden */
7
+ export declare const useIsomorphicLayoutEffect: typeof React.useLayoutEffect;
package/index.d.ts CHANGED
@@ -25,6 +25,7 @@ export * from './events/BaseEvent';
25
25
  export * from './events/dispatchEvent';
26
26
  export * from './hocs/AsyncFocusBlur';
27
27
  export * from './hocs/withPropsContext';
28
+ export * from './hocs/use-id-hoc';
28
29
  export * from './hooks/useDir';
29
30
  export * from './hooks/useAsyncFocusBlur';
30
31
  export * from './hooks/useRtl';
@@ -34,6 +35,8 @@ export * from './hooks/usePropsContext';
34
35
  export * from './hooks/useCollection';
35
36
  export * from './hooks/useDocument';
36
37
  export * from './hooks/useWindow';
38
+ export * from './hooks/use-id';
39
+ export * from './hooks/use-isomorphic-layout-effect';
37
40
  export * from './models';
38
41
  export * from './icons/Icon';
39
42
  export * from './icons/SvgIcon';
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ht=require("react"),jt=require("@progress/kendo-licensing"),zt=require("react-dom"),Ft=require("prop-types"),W=require("@progress/kendo-draggable-common");function _(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const r=_(Ht),U=_(jt),Qt=_(zt),g=_(Ft),Ee=r.createContext(0),Xt=()=>r.useContext(Ee);Ee.displayName="KendoReactZIndexContext";const Ut=()=>typeof document<"u"?document:{};class pe{constructor(){this.scrollbar=0}get scrollbarWidth(){const t=Ut();if(!this.scrollbar&&t&&t.createElement){const n=t.createElement("div");n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML="&nbsp;",t.body.appendChild(n),this.scrollbar=n.offsetWidth-n.scrollWidth,t.body.removeChild(n)}return this.scrollbar}}const $=!!(typeof window<"u"&&window.document&&window.document.createElement),Yt=e=>{var t;return!!(typeof e=="function"&&((t=e.prototype)!=null&&t.isReactComponent))},Gt=e=>!!(e.$$typeof&&typeof e.render=="function"),Jt=e=>typeof Comment!="string"&&(Yt(e)||Gt(e)),xe=(...e)=>{const t={},n=s=>typeof s=="object"?Object.keys(s).forEach(l=>{t[l]=s[l]}):t[s]=!0,o=s=>s.filter(l=>l!==!0&&!!l).map(l=>Array.isArray(l)?o(l):n(l));return o(e),Object.keys(t).map(s=>t[s]&&s||null).filter(s=>s!==null).join(" ")},nt=e=>e?new Date(e.getTime()):null;function Zt(e){const t={};return ye(e,t),t}function ye(e,t){for(let n in e)if(e.hasOwnProperty(n)){const o=e[n];t[n]=De(o,t[n])}}function De(e,t){if(Array.isArray(e))return rt(e);if(e instanceof Date)return nt(e);if(r.isValidElement(e))return r.cloneElement(e,e.props);if(e&&typeof e=="object"){const n=t||{};return ye(e,n),n}else return e}function rt(e){return e.map(t=>De(t,void 0))}const qt=e=>{if(e){if((e instanceof HTMLInputElement||e.tabIndex!==-1)&&e.focus){e.focus();return}const t=e.querySelector('input, [tabindex]:not([tabindex="-1"])');t&&t.focus&&t.focus()}};class Wt{}const Vt=-1,Kt=0,_t=(e,t,n)=>{const o=typeof e=="string"?parseInt(e):e;if(!Number.isNaN(o))return o!==void 0?o:t?n?void 0:Vt:Kt},$t=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function ot(e){const t=[];return e.replace($t,function(n,o,s,l){t.push(o!==void 0?o:s||l)}),t}const Q={};Q.undefined=()=>{};function en(e){if(Q[e])return Q[e];const t=ot(e);return Q[e]=function(n){let o=n;for(let s=0;s<t.length&&o;s++)o=o[t[s]];return o},Q[e]}const tn=()=>{let e="",t,n;for(t=0;t<32;t++)n=Math.random()*16|0,(t===8||t===12||t===16||t===20)&&(e+="-"),e+=(t===12?4:t===16?n&3|8:n).toString(16);return e},nn={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},C=function(){},rn=()=>!$||!document.body?!1:new pe().scrollbarWidth,on=()=>{if(!$||!document.body)return!1;let e=new pe().scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",`${e}px`)},X={};X.undefined=e=>e;const sn=(e,t)=>t&&t.arrays&&!isNaN(Number(e))?[]:{};function ln(e){if(X[e])return X[e];const t=ot(e);return X[e]=(n,o,s)=>{let l=n;const c=t.length-1;for(let i=0;i<c&&l;i++)l=l[t[i]]=l[t[i]]||sn(t[i+1],s);l[t[c]]=o},X[e]}function _e(e,t,n){return n?{...e,[t]:n.length?[...n]:void 0}:e&&e[t]?[...e[t]]:[]}function st(e,t,n){if(e[t]){let o=_e(e,t).map(s=>st(s,t,n));return n(_e(e,t,o))}return n(e)}const cn=(e,t,n)=>[...e.map(o=>st(o,t,n))],an=(e,t,n,o)=>{let s=e;const l=[];for(let f=0;f<t.length;f++)s=s[t[f]],s=Array.isArray(s)?s:s[n],l.push(s);const c=l.length>1?l[l.length-2]:e,i=t[t.length-1],h=o(c[i]);c.splice(i,1,h)},un=(e,t,n)=>Object.assign({},e,e[t]?{[t]:e[t].slice()}:{},n||{}),dn=(e,t,n)=>{const o=[],s=[...t];if(s.length){let l=e[s.shift()||0];for(o.push(l);s.length&&n;)l=l[n][s.shift()||0],o.push(l)}return o},fn=["telerik.com","progress.com","stackblitz.io","csb.app"];function hn(e){if(typeof U<"u")U.validatePackage(e);else{let t=`License activation failed for ${e.name}
5
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ft=require("react"),Qt=require("@progress/kendo-licensing"),Xt=require("react-dom"),Ut=require("prop-types"),W=require("@progress/kendo-draggable-common");function _(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const r=_(Ft),U=_(Qt),Yt=_(Xt),g=_(Ut),pe=r.createContext(0),Gt=()=>r.useContext(pe);pe.displayName="KendoReactZIndexContext";const Jt=()=>typeof document<"u"?document:{};class xe{constructor(){this.scrollbar=0}get scrollbarWidth(){const t=Jt();if(!this.scrollbar&&t&&t.createElement){const n=t.createElement("div");n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML="&nbsp;",t.body.appendChild(n),this.scrollbar=n.offsetWidth-n.scrollWidth,t.body.removeChild(n)}return this.scrollbar}}const $=!!(typeof window<"u"&&window.document&&window.document.createElement),Zt=e=>{var t;return!!(typeof e=="function"&&((t=e.prototype)!=null&&t.isReactComponent))},qt=e=>!!(e.$$typeof&&typeof e.render=="function"),Wt=e=>typeof Comment!="string"&&(Zt(e)||qt(e)),ye=(...e)=>{const t={},n=s=>typeof s=="object"?Object.keys(s).forEach(l=>{t[l]=s[l]}):t[s]=!0,o=s=>s.filter(l=>l!==!0&&!!l).map(l=>Array.isArray(l)?o(l):n(l));return o(e),Object.keys(t).map(s=>t[s]&&s||null).filter(s=>s!==null).join(" ")},rt=e=>e?new Date(e.getTime()):null;function Vt(e){const t={};return De(e,t),t}function De(e,t){for(let n in e)if(e.hasOwnProperty(n)){const o=e[n];t[n]=ke(o,t[n])}}function ke(e,t){if(Array.isArray(e))return ot(e);if(e instanceof Date)return rt(e);if(r.isValidElement(e))return r.cloneElement(e,e.props);if(e&&typeof e=="object"){const n=t||{};return De(e,n),n}else return e}function ot(e){return e.map(t=>ke(t,void 0))}const Kt=e=>{if(e){if((e instanceof HTMLInputElement||e.tabIndex!==-1)&&e.focus){e.focus();return}const t=e.querySelector('input, [tabindex]:not([tabindex="-1"])');t&&t.focus&&t.focus()}};class _t{}const $t=-1,en=0,tn=(e,t,n)=>{const o=typeof e=="string"?parseInt(e):e;if(!Number.isNaN(o))return o!==void 0?o:t?n?void 0:$t:en},nn=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function st(e){const t=[];return e.replace(nn,function(n,o,s,l){t.push(o!==void 0?o:s||l)}),t}const Q={};Q.undefined=()=>{};function rn(e){if(Q[e])return Q[e];const t=st(e);return Q[e]=function(n){let o=n;for(let s=0;s<t.length&&o;s++)o=o[t[s]];return o},Q[e]}const Ce=()=>{let e="",t,n;for(t=0;t<32;t++)n=Math.random()*16|0,(t===8||t===12||t===16||t===20)&&(e+="-"),e+=(t===12?4:t===16?n&3|8:n).toString(16);return e},on={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},C=function(){},sn=()=>!$||!document.body?!1:new xe().scrollbarWidth,ln=()=>{if(!$||!document.body)return!1;let e=new xe().scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",`${e}px`)},X={};X.undefined=e=>e;const cn=(e,t)=>t&&t.arrays&&!isNaN(Number(e))?[]:{};function an(e){if(X[e])return X[e];const t=st(e);return X[e]=(n,o,s)=>{let l=n;const c=t.length-1;for(let i=0;i<c&&l;i++)l=l[t[i]]=l[t[i]]||cn(t[i+1],s);l[t[c]]=o},X[e]}function $e(e,t,n){return n?{...e,[t]:n.length?[...n]:void 0}:e&&e[t]?[...e[t]]:[]}function lt(e,t,n){if(e[t]){let o=$e(e,t).map(s=>lt(s,t,n));return n($e(e,t,o))}return n(e)}const un=(e,t,n)=>[...e.map(o=>lt(o,t,n))],dn=(e,t,n,o)=>{let s=e;const l=[];for(let f=0;f<t.length;f++)s=s[t[f]],s=Array.isArray(s)?s:s[n],l.push(s);const c=l.length>1?l[l.length-2]:e,i=t[t.length-1],h=o(c[i]);c.splice(i,1,h)},fn=(e,t,n)=>Object.assign({},e,e[t]?{[t]:e[t].slice()}:{},n||{}),hn=(e,t,n)=>{const o=[],s=[...t];if(s.length){let l=e[s.shift()||0];for(o.push(l);s.length&&n;)l=l[n][s.shift()||0],o.push(l)}return o},gn=["telerik.com","progress.com","stackblitz.io","csb.app"];function mn(e){if(typeof U<"u")U.validatePackage(e);else{let t=`License activation failed for ${e.name}
6
6
  `;t+=`The @progress/kendo-licensing script is not loaded.
7
7
  `,t+=`See ${e.licensingDocsUrl} for more information.
8
- `,console.warn(t)}}function gn(e){return!fn.some(n=>{var o;return(o=globalThis.document)==null?void 0:o.location.hostname.endsWith(n)})&&!(U!=null&&U.validatePackage(e))}const mn=e=>{if(!$)return!1;const t=e?e.ownerDocument:document;if(!t||!t.body)return!1;const n=10,o=t.createElement("div");o.style.transform="matrix(10, 0, 0, 10, 0, 0)";const s=t.createElement("div");s.appendChild(t.createTextNode("child")),s.style.position="fixed",s.style.top=n+"px",o.appendChild(s),t.body.appendChild(o);const l=s.getBoundingClientRect().top!==n;return t.body.removeChild(o),l},vn="https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-banner";let $e=!1;const Cn=()=>{const[e,t]=r.useState(!0),[n,o]=r.useState(!1);r.useEffect(()=>{$e||(o(!0),$e=!0)},[]);const s=()=>{t(!1)},l=r.createElement(r.Fragment,null,e&&r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",position:"fixed",top:"16px",right:"16px",padding:"12px",borderRadius:"4px",boxShadow:"0px 4px 5px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px 0px rgba(0, 0, 0, 0.03)",fontSize:"14px",fontWeight:400,lineHeight:"20px",backgroundColor:"#FFC000",color:"#1E1E1E",zIndex:999}},r.createElement("span",{style:{display:"flex",alignSelf:"center",marginRight:"8px"}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1L0 15H16L8 1ZM7 6V11H9V6H7ZM7 14V12H9V14H7Z",fill:"#1E1E1E"}))),r.createElement("span",null,"No valid license found for KendoReact. Learn how to activate your license."),r.createElement("div",{style:{display:"flex",alignItems:"center",marginLeft:"24px"}},r.createElement("a",{href:vn,style:{marginRight:"8px",display:"flex"}},r.createElement("button",{title:"Learn More",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{d:"M15 8C15 11.8656 11.8656 15 8 15C4.13437 15 1 11.8656 1 8C1 4.13437 4.13437 1 8 1C11.8656 1 15 4.13437 15 8ZM14 8C14 4.6875 11.3125 2 8 2C4.6875 2 2 4.6875 2 8C2 11.3125 4.6875 14 8 14C11.3125 14 14 11.3125 14 8ZM11 6C11 7.4125 10.2687 8.05937 9.73125 8.53125C9.25937 8.94688 9 9.17813 9 10H7C7 8.275 7.84688 7.525 8.40938 7.03125C8.84062 6.65312 9 6.50938 9 6C9 5.45 8.55 5 8 5C7.45 5 7 5.45 7 6H5C5 4.34375 6.34375 3 8 3C9.65625 3 11 4.34375 11 6ZM9 13V11H7V13H9Z",fill:"#1E1E1E"})))),r.createElement("button",{title:"Close",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"},onClick:s},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{d:"M13 4.41562L9.41563 8L13 11.5844L11.5844 13L8 9.41563L4.41562 13L3 11.5844L6.58437 8L3 4.41562L4.41562 3L8 6.58437L11.5844 3L13 4.41562Z",fill:"#1E1E1E"}))))));return r.createElement(r.Fragment,null,r.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,right:0,bottom:0,opacity:.2,zIndex:101,pointerEvents:"none",backgroundImage:"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABVxSURBVHgB7Z3tVRtJE4WL9zgANgLLGRCCnAGOADmCxRGgDFAGYiOADKQMIAGO9J8ji42g37mjqlUjBgOanpn+uM85sjC2sKzbVd1dVV0tQgghhBBCCCGEEEIIKRPn3Gn1GAlJmmN1pP558J6OX9540ejh4WGlX09OTk7+EZIclXYXlY43+vVflY7PH3wd9c+AY/Wvvcb9/b0bjUYOz/hBQpICmh1oOPrEa6l/4rTR337AhIMgTSqtzg+0m8gnof7p0mD8EzmGhkFwJiR6np6e7luLL9Q/RTDTBzF+7wfWg2CxWOCHjYVET6XTdLPZrFuLL9Q/NeCkoVUQ4/d+6Ijev1yof1rAUVMvQgjJHebrSRu+CEmWo/O8hISgCjStKpgiGoDWed4AUP/hwGf++Pi4hQYyFHgDzBP3T7A8b0uo/zD4+sMBy1CwWKR/YjF+fS/Uv2di0t/eEAdBT0QnvlD/PolR/xoOgu4JUd7bFdS/e6I1foODoFuqz3M2mUziFF+of5dEb/xGwyAYCwmCVuPNYv5MqX94Yl75NWKD4PLyEm92KqQoqH9Y8Bnis0zC+A14LbxxVqiVCfUPh678plxNFYQe5pjRgAgpDAv4IOAHJyCEkDJoiPaeCyG5UA1oRIYWHNivSSbV0wLq/zbQ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c3O5OtrGQJFC9RkKKRCsyRxICi/YuFgvs986ERA3Eh1ahUkT4GQg0Vc9XQqInqP6ODRyTA046VJ7Y1x/XdgmJnmD6M8+bLiGKRVjemy6t9WeeN30aBsGHI/bUP33a6M88bybYIPjs9o3658Gx+tuLmefNgGN1pP55QB0JIYQQQgghhBBCCJGy+T9ftRg+rVNPfAAAAABJRU5ErkJggg==')"}}),n&&Qt.createPortal(l,document.body))};function bn(e,t,n,o){if(e){const s={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(s,o))}}function lt({onFocus:e,onBlur:t,onSyncFocus:n,onSyncBlur:o}){const s=r.useRef(!1),l=r.useRef(0),c=r.useCallback(f=>{clearTimeout(l.current),l.current=window.setTimeout(()=>f())},[l]),i=r.useCallback((...f)=>{clearTimeout(l.current),n&&n.call(void 0,f[0]),!s.current&&(s.current=!0,e&&e.call(void 0,...f))},[s,e,n]),h=r.useCallback((...f)=>{o&&o.call(void 0,f[0]),c(()=>{s.current&&t&&(s.current=!1,t.call(void 0,...f))})},[s,c,t,o]);return r.useEffect(()=>()=>{clearTimeout(l.current)},[]),{onFocus:i,onBlur:h}}const En=({children:e,onFocus:t,onBlur:n,onSyncFocus:o,onSyncBlur:s})=>{const l=lt({onFocus:t,onBlur:n,onSyncFocus:o,onSyncBlur:s});return r.createElement(r.Fragment,null,e.call(void 0,{...l}))},ct=(e,t)=>r.useContext(e)(t),pn=()=>r.createContext(e=>e),xn=(e,t)=>r.forwardRef((n,o)=>{const s=ct(e,n);return r.createElement(t,{...s,ref:o})});function yn(e,t,n){const[o,s]=r.useState(t);return r.useEffect(()=>{if(!o&&window&&e.current){const l=window.getComputedStyle(e.current).direction;l&&s(l)}},n),o}function Dn(e,t,n){const[o,s]=r.useState(t);return r.useEffect(()=>{if(!o&&window&&e.current){const l=window.getComputedStyle(e.current).direction;l&&s(l)}},n),o}const at=(e,t,n={})=>{const o=r.useCallback(u=>{n.onMouseDown&&n.onMouseDown.call(void 0,u),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseDown,e.onMouseDown,t]),s=r.useCallback(u=>{n.onMouseUp&&n.onMouseUp.call(void 0,u),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseUp,e.onMouseUp,t]),l=r.useCallback(u=>{n.onClick&&n.onClick.call(void 0,u),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:u})},[n.onClick,e.onClick,t]),c=r.useCallback(u=>{n.onDoubleClick&&n.onDoubleClick.call(void 0,u),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:u})},[n.onDoubleClick,e.onDoubleClick,t]),i=r.useCallback(u=>{n.onMouseEnter&&n.onMouseEnter.call(void 0,u),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseEnter,e.onMouseEnter,t]),h=r.useCallback(u=>{n.onMouseLeave&&n.onMouseLeave.call(void 0,u),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseLeave,e.onMouseLeave,t]),f=r.useCallback(u=>{n.onMouseMove&&n.onMouseMove.call(void 0,u),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseMove,e.onMouseMove,t]),d=r.useCallback(u=>{n.onMouseOut&&n.onMouseOut.call(void 0,u),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseOut,e.onMouseOut,t]),m=r.useCallback(u=>{n.onMouseOver&&n.onMouseOver.call(void 0,u),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseOver,e.onMouseOver,t]);return{onClick:l,onMouseUp:s,onMouseDown:o,onDoubleClick:c,onMouseEnter:i,onMouseLeave:h,onMouseMove:f,onMouseOut:d,onMouseOver:m}},kn=e=>[e,{}];var B=(e=>(e[e.add=0]="add",e[e.remove=1]="remove",e))(B||{});const Ce=(e=[])=>{const t=r.useRef(e),n=r.useCallback(o=>{switch(o.type){case 0:t.current.push(o.item);break;case 1:{const s=t.current.indexOf(o.item);t.current.splice(s,1);break}}},[]);return[t.current,n]},it=e=>{const t=r.useCallback(()=>e.current&&e.current.element?e.current.element:e.current,[e]);return r.useCallback(()=>{const o=t();return o&&o.ownerDocument||document},[t])},An=e=>{const t=it(e);return r.useCallback(()=>{const o=t();return o&&o.defaultView||window},[t])},ut={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl",xxlarge:"k-icon-xxl",xxxlarge:"k-icon-xxxl"},Pn=e=>e.replace(/^k-i-/,""),dt=e=>"k-i-"+e,In=g.shape({name:g.string.isRequired,content:g.string.isRequired,viewBox:g.string.isRequired}),be=(e,t)=>{const[n,o]=r.useContext(e),[s,l]=r.useState(t);return[n!==void 0?n:s,(...h)=>{n!==void 0?o(...h):l(h[0])}]},ft=r.createContext([void 0,C]),ke=r.createContext([void 0,C]),ht=r.createContext([[],C,C]),Ae=r.createContext([[],C,C]),wn=2e3;function gt(e,t,n={}){const{onPress:o=C,onRelease:s=C,onDragStart:l=C,onDrag:c=C,onDragEnd:i=C}=t,{hint:h=null,mouseOnly:f=!1,autoScroll:d=!0,scrollContainer:m=null}=n,[u,p]=r.useState(!1),[x,P]=r.useState(!1),[b]=be(ke),[R,S]=be(ft),[T]=r.useContext(Ae),[w,I,O]=r.useContext(ht),y=r.useRef({x:0,y:0}),ne=r.useRef(),re=r.useRef(!1),Me=r.useRef(),z=r.useRef(null),oe=r.useRef(!1),Re=r.useRef({x:0,y:0}),Le=r.useRef({x:0,y:0}),Z=r.useRef({x:0,y:0}),Te=r.useRef({x:0,y:0}),Ne=r.useRef({x:0,y:0}),Be=r.useRef({x:0,y:0}),Ot=!!(typeof window<"u"&&window.PointerEvent),He=!f&&Ot,L=r.useCallback(()=>e.current&&e.current.element?e.current.element:e.current,[e]),St=r.useCallback(()=>h&&h.current&&h.current.element?h.current.element:h?h.current:null,[h]),je=r.useCallback(()=>m&&m.current&&m.current.element?m.current.element:m?m.current:null,[m]),ze=r.useCallback(()=>typeof d=="object"&&d.boundaryElementRef&&d.boundaryElementRef.current&&d.boundaryElementRef.current.element?d.boundaryElementRef.current.element:typeof d=="object"&&d.boundaryElementRef&&d.boundaryElementRef.current?d.boundaryElementRef.current:null,[d]),F=r.useRef(null);r.useImperativeHandle(F,()=>({element:L(),hint:St(),onPress:Mt,onDragStart:Lt,onDrag:Tt,onDragEnd:Nt,onRelease:Rt,data:e.current}));const q=r.useCallback(()=>{const a=L();return a&&a.ownerDocument||document},[L]),N=r.useCallback(()=>{const a=q();return a&&a.defaultView||window},[q]),Fe=r.useCallback(()=>({drag:R?R.current:null,drop:b?b.current:null,drags:w.map(a=>a.current),drops:T.map(a=>a.current),pressed:u,ignoreMouse:re.current,scrollOffset:Ne.current,offset:Re.current,pageOffset:Le.current,initialScrollOffset:Be.current,clientOffset:Z.current,initialClientOffset:Te.current,velocity:y.current,autoScroll:!!(typeof d=="object"?d.enabled!==!1:d),scrollableParent:ze(),autoScrollDirection:typeof d=="object"?d.direction:{horizontal:!0,vertical:!0},isScrolling:x}),[R,b,w,T,u,d,ze,x]),Qe=r.useCallback(a=>{p(a)},[]),Xe=r.useCallback(a=>{P(a)},[]),Ue=r.useCallback(a=>{y.current=a},[]),Ye=r.useCallback(a=>{Re.current=a},[]),Ge=r.useCallback(a=>{Z.current=a},[]),Je=r.useCallback(a=>{Le.current=a},[]),Ze=r.useCallback(a=>{Te.current=a},[]),qe=r.useCallback(a=>{Ne.current=a},[]),We=r.useCallback(a=>{Be.current=a},[]),Mt=r.useCallback(a=>{o(a)},[o]),Rt=r.useCallback(a=>{s(a)},[s]),Lt=r.useCallback(a=>{S(F,{target:e.current,event:a}),l(a)},[S,e,l]),Tt=r.useCallback(a=>{c(a)},[c]),Nt=r.useCallback(a=>{oe.current||(S(null,{target:e.current,event:a}),i(a))},[i,S,e]),v=r.useCallback(a=>{W.dispatchDragAndDrop(Fe(),{event:a,payload:F.current},{onVelocityChange:Ue,onOffsetChange:Ye,onClientOffsetChange:Ge,onPageOffsetChange:Je,onInitialClientOffsetChange:Ze,onScrollOffsetChange:qe,onInitialScrollOffsetChange:We,onIsPressedChange:Qe,onIsScrollingChange:Xe})},[Fe,Ue,Ye,Je,Ge,Ze,We,Qe,qe,Xe]),se=r.useCallback(a=>{v(a)},[v]),le=r.useCallback(a=>{v(a)},[v]),ce=r.useCallback(a=>{v(a)},[v]),ae=r.useCallback(a=>{v(a)},[v]),ie=r.useCallback(a=>{v(a)},[v]),ue=r.useCallback(a=>{v(a)},[v]),de=r.useCallback(a=>{v(a)},[v]),fe=r.useCallback(a=>{a.preventDefault(),v(a)},[v]),he=r.useCallback(a=>{a.preventDefault(),v(a)},[v]),ge=r.useCallback(a=>{a.preventDefault(),v(a)},[v]),me=r.useCallback(a=>{if(a.touches.length===0&&a.changedTouches.length===1){const E=N();re.current=!0,Me.current=E.setTimeout(()=>{re.current=!1},wn)}v(a)},[v,N]),ve=r.useCallback(a=>{v(a)},[v]),Ve=r.useCallback(()=>{const a=L();if(a){const E=a.style.touchAction;return a.style.touchAction="none",()=>{a.style.touchAction=E}}},[L]),Ke=r.useCallback(()=>(I(F),()=>{O(F)}),[O,I]),Bt=()=>{const a=N(),E=L(),k=q();return He?(E&&(z.current=W.getScrollableParent(E),z.current&&z.current.addEventListener("scroll",ve,{passive:!0}),E.addEventListener("pointerdown",se,{passive:!0})),u&&(k.addEventListener("pointermove",le),k.addEventListener("pointerup",ae,!0),k.addEventListener("contextmenu",fe),k.addEventListener("pointercancel",ce,{passive:!0}))):(a.addEventListener("touchmove",C,{capture:!1,passive:!1}),E&&(E.addEventListener("mousedown",ie,{passive:!0}),f||(E.addEventListener("touchstart",he,{passive:!0}),u&&(E.addEventListener("touchmove",ge,{passive:!0}),E.addEventListener("touchend",me,{passive:!0})))),u&&(k.addEventListener("mousemove",ue,{passive:!0}),k.addEventListener("mouseup",de,{passive:!0}))),()=>{z.current&&z.current.removeEventListener("scroll",ve),E&&(E.removeEventListener("pointerdown",se),E.removeEventListener("mousedown",ie),E.removeEventListener("touchstart",he),E.removeEventListener("touchmove",ge),E.removeEventListener("touchend",me)),k.removeEventListener("pointermove",le),k.removeEventListener("pointerup",ae,!0),k.removeEventListener("contextmenu",fe),k.removeEventListener("pointercancel",ce),k.removeEventListener("mousemove",ue),k.removeEventListener("mouseup",de),a.removeEventListener("touchmove",C),a.clearTimeout(Me.current)}};r.useEffect(()=>{const a=N();if(x){const E=je()||W.getScrollableParent(document.elementFromPoint(Z.current.x,Z.current.y));a.clearInterval(ne.current),ne.current=a.setInterval(()=>{W.autoScroll(E,{x:y.current.x,y:y.current.y})},50)}return()=>{a.clearInterval(ne.current)}},[L,je,N,x]),r.useEffect(Ve,[Ve]),r.useEffect(Bt,[u,N,L,q,f,He,fe,ie,ue,de,ce,se,le,ae,me,ge,he,ve]),r.useEffect(()=>(oe.current=!1,()=>{oe.current=!0}),[]),r.useLayoutEffect(Ke,[Ke])}function mt(e,t={onDragEnter:C,onDragOver:C,onDragLeave:C,onDrop:C}){const{onDragEnter:n=C,onDragOver:o=C,onDragLeave:s=C,onDrop:l=C}=t,[,c]=be(ke),[,i,h]=r.useContext(Ae),f=r.useCallback(()=>e.current&&e.current.element?e.current.element:e.current,[e]),d=r.useRef(null);r.useImperativeHandle(d,()=>({element:f(),onDragEnter:m,onDragOver:u,onDragLeave:p,onDrop:x,data:e.current}));const m=r.useCallback(b=>{c(d,{target:e.current,event:b}),n(b)},[c,e,n]),u=r.useCallback(b=>{o(b)},[o]),p=r.useCallback(b=>{c(null,{target:e.current,event:b}),s(b)},[c,e,s]),x=r.useCallback(b=>{c(null,{target:e.current,event:b}),l(b)},[c,e,l]),P=r.useCallback(()=>(i(d),()=>{h(d)}),[h,i]);r.useLayoutEffect(P,[P])}const et=(e,t,n)=>{const[o,s]=r.useState(t||e),l=r.useCallback((c,i)=>{s(c),n&&n.call(void 0,{...i,value:c})},[n,s]);return[t!==void 0?t:o,l]},ee=r.forwardRef((e,t)=>{const{className:n,name:o,themeColor:s,size:l,flip:c,style:i,id:h,tabIndex:f,...d}=e,m=r.useRef(null),u=r.useRef(null);r.useImperativeHandle(m,()=>({element:u.current})),r.useImperativeHandle(t,()=>m.current);const p=r.useMemo(()=>l||tt.size,[l]),x=r.useMemo(()=>c||tt.flip,[c]),P=r.useMemo(()=>xe("k-icon","k-font-icon",o&&dt(o),{[`k-color-${s}`]:s,"k-flip-h":x==="horizontal"||x==="both","k-flip-v":x==="vertical"||x==="both"},ut[p],n),[o,s,p,x,n]),b=at(e,m);return r.createElement("span",{ref:u,...d,...b,className:P,id:h,tabIndex:f,style:i,role:"presentation"})});ee.propTypes={style:g.object,classNames:g.string,name:g.string,themeColor:g.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:g.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:g.oneOf(["default","horizontal","vertical","both"])};const tt={size:"default",flip:"default"};ee.displayName="KendoIcon";const te=r.forwardRef((e,t)=>{const{children:n,className:o,svgClassName:s,icon:l,flip:c,id:i,tabIndex:h,size:f,style:d,svgStyle:m,themeColor:u,viewBox:p,name:x,onClick:P,...b}=e,R=r.useRef(null);r.useImperativeHandle(t,()=>({element:R.current}));const S=r.useMemo(()=>l?l.name:V.icon,[l]),T=r.useMemo(()=>f||V.size,[f]),w=r.useMemo(()=>c||V.flip,[c]),I=r.useMemo(()=>p||V.viewBox,[p]),O=r.useMemo(()=>xe("k-icon","k-svg-icon","k-svg-i-"+S,{[`k-color-${u}`]:u,"k-flip-h":w==="horizontal"||w==="both","k-flip-v":w==="vertical"||w==="both"},ut[T],o),[S,u,T,w,o]),y=r.useMemo(()=>e.width&&e.height?{width:e.width,height:e.height,...d}:e.width?{width:e.width,height:e.width,...d}:e.height?{width:e.height,height:e.height,...d}:{...d},[e.width,e.height,d]);return r.createElement("span",{className:O,style:y,ref:R,onClick:P},r.createElement("svg",{id:i,className:s,style:m,"aria-hidden":!0,tabIndex:h,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:l?l.viewBox:I,dangerouslySetInnerHTML:l?{__html:l.content}:void 0,...b},l?void 0:n))});te.propTypes={style:g.object,classNames:g.string,children:g.any,icon:g.object,themeColor:g.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:g.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:g.oneOf(["default","horizontal","vertical","both"])};const V={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};te.displayName="KendoSvgIcon";const Pe=r.createContext({type:"svg"});Pe.displayName="KendoReactIconsContext";const vt=r.forwardRef((e,t)=>{var h,f;const{type:n,icons:o}=r.useContext(Pe),{icon:s,...l}=e;let c=n==="svg"?((h=e.icon)==null?void 0:h.name)||e.name:e.name||((f=e.icon)==null?void 0:f.name);c=c&&o&&o[c]&&typeof o[c]=="string"?o[c]:c;const i=c&&o&&o[c]&&typeof o[c]!="string"?o[c]:s;return n==="svg"&&i?r.createElement(te,{...e,icon:i,ref:t}):r.createElement(ee,{...l,name:c,ref:t})});vt.displayName="KendoIconWrap";const On={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},Sn={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},Mn={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"},Rn={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},Ln={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},Tn={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},Nn={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},Bn={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"},M=e=>{const t=r.forwardRef((n,o)=>{const{id:s,style:l,className:c,fontSize:i,fontWeight:h,textAlign:f,textTransform:d,themeColor:m,margin:u,...p}=n,x=r.useRef(null),P=r.useRef(null);r.useImperativeHandle(x,()=>({element:P.current,props:n})),r.useImperativeHandle(o,()=>x.current);const b=()=>`k-${e==="p"?"paragraph":e}`,R=e,S=(I,O)=>{const y=typeof O=="string"?Rn[O]:O;return`${Ln[I]}${y}`},T=()=>{if(u!==void 0){if(typeof u=="string")return[Mn[u]];if(typeof u=="number"&&u>=0&&u<=24)return[`k-m-${u}`];if(typeof u=="object"){const I=[];return Object.keys(u).forEach(y=>{u[y]!==null&&u[y]!==void 0&&I.push(S(y,u[y]))}),I.join(" ")}}},w=()=>[b(),On[i],Sn[h],Tn[f],Nn[d],Bn[m],T(),c].filter(y=>y!==void 0).join(" ");return r.createElement(R,{id:s,ref:P,className:w(),style:l,...p},n.children)});return t.propTypes={style:g.object,className:g.string,fontSize:g.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:g.oneOf(["light","normal","bold"]),margin:g.oneOfType([g.number,g.object,g.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:g.oneOf(["left","right","center","justify"]),textTransform:g.oneOf(["lowercase","uppercase","capitalize"]),themeColor:g.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName=`KendoReactTypography${e.toUpperCase()}`,t},Hn=M("h1"),jn=M("h2"),zn=M("h3"),Fn=M("h4"),Qn=M("h5"),Xn=M("h6"),Un=M("p"),Yn=M("code"),Gn=M("pre"),Jn={h1:Hn,h2:jn,h3:zn,h4:Fn,h5:Qn,h6:Xn,p:Un,code:Yn,pre:Gn},Ct=e=>{const[t,n]=et(null,void 0),[o,s]=et(null,void 0),[l,c]=Ce([]),[i,h]=Ce([]),f=p=>{c({type:B.add,item:p})},d=p=>{c({type:B.remove,item:p})},m=p=>{h({type:B.add,item:p})},u=p=>{h({type:B.remove,item:p})};return r.createElement(ft.Provider,{value:[t,n]},r.createElement(ke.Provider,{value:[o,s]},r.createElement(ht.Provider,{value:[l,f,d]},r.createElement(Ae.Provider,{value:[i,m,u]},e.children))))};Ct.displayName="KendoReactDragAndDrop";const bt=r.forwardRef((e,t)=>{const n=r.useRef(null),o=r.useRef(null),s=r.useCallback(()=>n.current&&n.current.element?n.current.element:n.current,[n]);r.useImperativeHandle(o,()=>({element:s()||null})),r.useImperativeHandle(t,()=>o.current),r.useImperativeHandle(e.childRef,()=>n.current);const l=r.useCallback(d=>{e.onPress&&e.onPress({element:s(),target:o.current,event:d})},[s,e.onPress]),c=r.useCallback(d=>{e.onRelease&&e.onRelease({element:s(),target:o.current,event:d})},[s,e.onRelease]),i=r.useCallback(d=>{e.onDragStart&&e.onDragStart({element:s(),target:o.current,event:d})},[e,s]),h=r.useCallback(d=>{e.onDrag&&e.onDrag({element:s(),target:o.current,event:d})},[s,e.onDrag]),f=r.useCallback(d=>{e.onDragEnd&&e.onDragEnd({element:s(),target:o.current,event:d})},[s,e.onDragEnd]);return gt(n,{onPress:l,onRelease:c,onDragStart:i,onDrag:h,onDragEnd:f},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null});bt.displayName="KendoReactDraggable";const Et=r.forwardRef((e,t)=>{const n=r.useRef(null),o=r.useRef(null),s=r.useCallback(()=>n.current&&n.current.element?n.current.element:n.current,[n]);r.useImperativeHandle(o,()=>({element:s()||void 0})),r.useImperativeHandle(t,()=>o.current),r.useImperativeHandle(e.childRef,()=>n.current);const l=r.useCallback(f=>{e.onDragEnter&&e.onDragEnter({element:s(),target:o.current,event:f})},[e.onDragEnter,s]),c=r.useCallback(f=>{e.onDragOver&&e.onDragOver({element:s(),target:o.current,event:f})},[s,e.onDragOver]),i=r.useCallback(f=>{e.onDragLeave&&e.onDragLeave({element:s(),target:o.current,event:f})},[e.onDragLeave,s]),h=r.useCallback(f=>{e.onDrop&&e.onDrop({element:s(),target:o.current,event:f})},[e.onDrop,s]);return mt(n,{onDragEnter:l,onDragOver:c,onDragLeave:i,onDrop:h}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null});Et.displayName="KendoReactDroppable";const Zn={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};function qn(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function Wn(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!qn(e[n],t[n]))return!1;return!0}function Vn(e,t=Wn){let n=null;function o(...s){if(n&&n.lastThis===this&&t(s,n.lastArgs))return n.lastResult;const l=e.apply(this,s);return n={lastResult:l,lastArgs:s,lastThis:this},l}return o.clear=function(){n=null},o}const Kn=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"];class _n{constructor(t){this.rovingTabIndex=!0,this.update=()=>{},this.focusNextIndex=(n,o)=>{const s=this.elements;let l=s.indexOf(n)+o;l=l<0?s.length-1:l;const c=s[l%s.length];return this.focusElement(c,n),c},this.tabIndex=t.tabIndex||0,this.root=t.root,this.selectors=t.selectors,this.focusOptions=t.focusOptions||{preventScroll:!0},this.rovingTabIndex=t.rovingTabIndex!==void 0?t.rovingTabIndex:!0,this.mouseEvents=t.mouseEvents||{},this.keyboardEvents=t.keyboardEvents||{}}get elements(){return this.root.current?Array.from(this.root.current.querySelectorAll(this.selectors.join(","))):[]}get first(){return this.root.current&&this.root.current.querySelector(this.selectors.join(","))||null}get last(){const t=this.elements;return t[t.length-1]||null}get current(){return this.elements.find(t=>t.matches(":focus"))||null}focusNext(t){return this.focusNextIndex(t,1)}focusPrevious(t){return this.focusNextIndex(t,-1)}triggerKeyboardEvent(t,n){const o=t.target instanceof Element&&t.target.closest(this.selectors.join(",")),s=t.key===" "?"Space":t.key,l=t.nativeEvent.type;o&&this.keyboardEvents[l][s]&&this.keyboardEvents[l][s].call(void 0,o,this,t,n)}triggerMouseEvent(t){const n=t.target instanceof Element&&t.target.closest(this.selectors.join(",")),o=t.nativeEvent.type;n&&this.mouseEvents[o].call(void 0,n,this,t)}focusElement(t,n){t&&(n&&(this.rovingTabIndex&&n.removeAttribute("tabindex"),n.classList.remove("k-focus")),this.rovingTabIndex&&t.setAttribute("tabindex",String(this.tabIndex)),t.focus(this.focusOptions))}}const K=e=>{const t=e.shadowRoot,n=e.contentDocument;return t&&t.activeElement?K(t.activeElement):n&&n.activeElement?K(n.activeElement):e},$n=e=>{if(!(!e||!e.activeElement))return K(e.activeElement)};function D(e,t){const n=(e||"").split(".");let o=t;return n.forEach(s=>{o=o?o[s]:void 0}),o}function er(e){return e.length!==void 0}class tr{constructor(t){this.expandField=t.expandField,this.selectField=t.selectField,this.hasChildrenField=t.hasChildrenField,this.childrenField=t.childrenField,this.textField=t.textField,this.disableField=t.disableField,this.checkField=t.checkField,this.checkIndeterminateField=t.checkIndeterminateField,this.focusIdField=t.focusIdField}expanded(t){return D(this.expandField,t)}selected(t){return D(this.selectField,t)}text(t){return D(this.textField,t)}disabled(t){return D(this.disableField,t)}hasChildren(t){return D(this.hasChildrenField,t)}children(t){const n=D(this.childrenField,t);return n||[]}checked(t){return D(this.checkField,t)}checkIndeterminate(t){return D(this.checkIndeterminateField,t)}focusId(t){return this.focusIdField&&D(this.focusIdField,t)}getChildrenField(){return this.childrenField}}const nr=5e4;class pt{constructor(){this.objects=[]}init(t){let n;for(let o=0;o<t.length;o++)o%nr===0&&(n={},this.objects.push(n)),n[t[o]]=!0}hasId(t){return this.objects.some(n=>n[t])}}const Y="",xt="0",A="_";function yt(e,t,n){if(J(e))return t[Number(e)];{const o=t[Number(H(e))],s=o&&o[n]||[];return s.length?yt(j(e),s,n):void 0}}function H(e){return Ie(e)?e:e.split(A)[0]}function j(e){if(Ie(e))return e;{const t=e.indexOf(A);return e.substring(t+1)}}function rr(e){return G("0",e)}function G(e,t){return e=e.toString(),t?t+A+e:e}function Dt(e){const t=e.lastIndexOf(A);return t<0?Y:e.substring(0,t)}function Ie(e){return e===Y||e.indexOf(A)<0}function J(e){return e!==Y&&e.indexOf(A)<0}function we(e){return e.split(A)}function Oe(e){const t=e.lastIndexOf(A);return t<0?e:e.substring(t+1)}function or(e){return Oe(e)===xt}function sr(e,t){const n=t;e="r"+A+e,t="r"+A+t;const o=Dt(e)+A;if(t.startsWith(o)){const s=t.substring(o.length);if(s){const l=H(s);if(Number(Oe(e))<Number(l)){const c=o+(Number(l)-1).toString()+s.substring(l.length);return j(c)}}}return n}const lr=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ID:Y,SEPARATOR:A,ZERO_LEVEL_ZERO_NODE_ID:xt,createId:G,getAllShortIds:we,getDecrementedItemIdAfterRemoval:sr,getDirectParentId:Dt,getFirstChildId:rr,getIdWithoutRootParentId:j,getItemById:yt,getRootParentId:H,getShortId:Oe,isIdEmptyOrZeroLevel:Ie,isIdZeroLevel:J,isItemFirstFromSiblings:or},Symbol.toStringTag,{value:"Module"}));function Se(e,t){const n=D(t,e);return!!(n&&n.length)}function cr(e,t){return t.expanded(e)&&Se(e,t.getChildrenField())}function ar(e,t,n,o){const s=kt([e],t,n,o);return s.length?s[0]:void 0}function kt(e,t,n,o){const s=[],l=new pt;return l.init(e),wt(l,t,n,Y,s,o),s}function At(e,t,n,o,s){const l=Number(H(t));if(l>=e.length)return e;let c=e,i=e[l];return i[o]||(c=e.slice(),i=c[l]=Object.assign({},i,{[o]:!0})),J(t)?n(i):i[s]&&(i[s]=At(i[s],j(t),n,o,s)),c}function ir(e,t,n){const o=we(e);let s=t;for(let l=0;l<o.length;l++){const c=s[Number(o[l])];if(n.disabled(c))return!1;s=c[n.getChildrenField()]}return!0}function ur(e,t,n,o){return o?l(e):s(e,t);function s(c,i){let h=[];const f=c[n]||[];for(let d=0;d<f.length;d++){const m=G(d,i);h.push(m),h=h.concat(s(f[d],m))}return h}function l(c){let i=[];const h=c[n]||[];for(let f=0;f<h.length;f++)i.push(D(o,h[f])),i=i.concat(l(h[f]));return i}}function dr(e,t,n,o,s){return(e[o]||[]).every((c,i)=>s.indexOf(n?D(n,c):G(i,t))>-1)}function fr(e,t,n){const o=[],s=we(e);let l=n;for(let c=0;c<s.length-1&&l;c++){const i=l[Number(s[c])];o.push(i),l=i[t]}return o}function Pt(e,t,n){const o=n.slice();if(J(e))o.splice(Number(e),1);else{const s=Number(H(e)),l=o[s]={...o[s]};l[t]=Pt(j(e),t,l[t])}return o}function It(e,t,n,o,s){const l=s.slice();if(J(o))if(t==="child"){const c=l[Number(o)]={...l[Number(o)]};c[n]?(c[n]=c[n].slice(),c[n].push(e)):c[n]=[e]}else l.splice(Number(o)+(t==="after"?1:0),0,e);else{const c=Number(H(o)),i=l[c]={...l[c]};i[n]=It(e,t,n,j(o),i[n])}return l}function wt(e,t,n,o,s,l){for(let c=0;c<n.length;c++){const i=n[c],h=G(c,o);e.hasId(D(t,i))&&s.push(h),Se(i,l)&&wt(e,t,D(l,i),h,s,l)}}exports.AsyncFocusBlur=En;exports.BrowserSupportService=pe;exports.COLLECTION_ACTION=B;exports.DragAndDrop=Ct;exports.Draggable=bt;exports.Droppable=Et;exports.FOCUSABLE_ELEMENTS=Kn;exports.FormComponent=Wt;exports.Icon=ee;exports.IconWrap=vt;exports.IconsContext=Pe;exports.Keys=nn;exports.Navigation=_n;exports.SortedPublicItemIds=pt;exports.SvgIcon=te;exports.TreeFieldsService=tr;exports.Typography=Jn;exports.WatermarkOverlay=Cn;exports.ZIndexContext=Ee;exports.addItem=It;exports.areAllDirectChildrenChecked=dr;exports.canUseDOM=$;exports.canUseRef=Jt;exports.classNames=xe;exports.clone=Zt;exports.cloneArray=rt;exports.cloneDate=nt;exports.cloneObject=ye;exports.cloneValue=De;exports.createPropsContext=pn;exports.dispatchEvent=bn;exports.extendDataItem=un;exports.focusFirstFocusableChild=qt;exports.getActiveElement=$n;exports.getAllDirectIndirectChildrenIds=ur;exports.getAllParents=fr;exports.getInnerActiveElement=K;exports.getItemPath=dn;exports.getNestedValue=D;exports.getScrollbarWidth=rn;exports.getTabIndex=_t;exports.getter=en;exports.guid=tn;exports.hasChildren=Se;exports.hasRelativeStackingContext=mn;exports.isArray=er;exports.isEnabledAndAllParentsEnabled=ir;exports.isItemExpandedAndWithChildren=cr;exports.kendoThemeMaps=Zn;exports.mapTree=cn;exports.mapTreeItem=an;exports.memoizeOne=Vn;exports.noop=C;exports.removeItem=Pt;exports.resolveItemId=ar;exports.resolveItemsIds=kt;exports.setScrollbarWidth=on;exports.setter=ln;exports.shouldShowValidationUI=gn;exports.svgIconPropType=In;exports.toIconClass=dt;exports.toIconName=Pn;exports.treeIdUtils=lr;exports.updateItem=At;exports.useAsyncFocusBlur=lt;exports.useCollection=Ce;exports.useCustomComponent=kn;exports.useDir=yn;exports.useDocument=it;exports.useDraggable=gt;exports.useDroppable=mt;exports.useMouse=at;exports.usePropsContext=ct;exports.useRtl=Dn;exports.useWindow=An;exports.useZIndexContext=Xt;exports.validatePackage=hn;exports.withPropsContext=xn;
8
+ `,console.warn(t)}}function vn(e){return!gn.some(n=>{var o;return(o=globalThis.document)==null?void 0:o.location.hostname.endsWith(n)})&&!(U!=null&&U.validatePackage(e))}const Cn=e=>{if(!$)return!1;const t=e?e.ownerDocument:document;if(!t||!t.body)return!1;const n=10,o=t.createElement("div");o.style.transform="matrix(10, 0, 0, 10, 0, 0)";const s=t.createElement("div");s.appendChild(t.createTextNode("child")),s.style.position="fixed",s.style.top=n+"px",o.appendChild(s),t.body.appendChild(o);const l=s.getBoundingClientRect().top!==n;return t.body.removeChild(o),l},En="https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-banner";let et=!1;const bn=()=>{const[e,t]=r.useState(!0),[n,o]=r.useState(!1);r.useEffect(()=>{et||(o(!0),et=!0)},[]);const s=()=>{t(!1)},l=r.createElement(r.Fragment,null,e&&r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",position:"fixed",top:"16px",right:"16px",padding:"12px",borderRadius:"4px",boxShadow:"0px 4px 5px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px 0px rgba(0, 0, 0, 0.03)",fontSize:"14px",fontWeight:400,lineHeight:"20px",backgroundColor:"#FFC000",color:"#1E1E1E",zIndex:999}},r.createElement("span",{style:{display:"flex",alignSelf:"center",marginRight:"8px"}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1L0 15H16L8 1ZM7 6V11H9V6H7ZM7 14V12H9V14H7Z",fill:"#1E1E1E"}))),r.createElement("span",null,"No valid license found for KendoReact. Learn how to activate your license."),r.createElement("div",{style:{display:"flex",alignItems:"center",marginLeft:"24px"}},r.createElement("a",{href:En,style:{marginRight:"8px",display:"flex"}},r.createElement("button",{title:"Learn More",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"}},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{d:"M15 8C15 11.8656 11.8656 15 8 15C4.13437 15 1 11.8656 1 8C1 4.13437 4.13437 1 8 1C11.8656 1 15 4.13437 15 8ZM14 8C14 4.6875 11.3125 2 8 2C4.6875 2 2 4.6875 2 8C2 11.3125 4.6875 14 8 14C11.3125 14 14 11.3125 14 8ZM11 6C11 7.4125 10.2687 8.05937 9.73125 8.53125C9.25937 8.94688 9 9.17813 9 10H7C7 8.275 7.84688 7.525 8.40938 7.03125C8.84062 6.65312 9 6.50938 9 6C9 5.45 8.55 5 8 5C7.45 5 7 5.45 7 6H5C5 4.34375 6.34375 3 8 3C9.65625 3 11 4.34375 11 6ZM9 13V11H7V13H9Z",fill:"#1E1E1E"})))),r.createElement("button",{title:"Close",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"},onClick:s},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},r.createElement("path",{d:"M13 4.41562L9.41563 8L13 11.5844L11.5844 13L8 9.41563L4.41562 13L3 11.5844L6.58437 8L3 4.41562L4.41562 3L8 6.58437L11.5844 3L13 4.41562Z",fill:"#1E1E1E"}))))));return r.createElement(r.Fragment,null,r.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,right:0,bottom:0,opacity:.12,zIndex:101,pointerEvents:"none",backgroundImage:"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABVxSURBVHgB7Z3tVRtJE4WL9zgANgLLGRCCnAGOADmCxRGgDFAGYiOADKQMIAGO9J8ji42g37mjqlUjBgOanpn+uM85sjC2sKzbVd1dVV0tQgghhBBCCCGEEEIIKRPn3Gn1GAlJmmN1pP558J6OX9540ejh4WGlX09OTk7+EZIclXYXlY43+vVflY7PH3wd9c+AY/Wvvcb9/b0bjUYOz/hBQpICmh1oOPrEa6l/4rTR337AhIMgTSqtzg+0m8gnof7p0mD8EzmGhkFwJiR6np6e7luLL9Q/RTDTBzF+7wfWg2CxWOCHjYVET6XTdLPZrFuLL9Q/NeCkoVUQ4/d+6Ijev1yof1rAUVMvQgjJHebrSRu+CEmWo/O8hISgCjStKpgiGoDWed4AUP/hwGf++Pi4hQYyFHgDz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lIGbnc/37TkFE8o3L4nAmvHCyQ5/S3gw24oYXAvuyKxbLgwktK/xNr+rsFqKpU8sa78Zlz5hSMZ/Znq6Y4UikVMf72oYyYkGNHrT+PvnpgHAVd+3ROt/jT+/ohxEFD//ohOf4rfPzENAurfP1E5AVzPRPH7xx8EuJ1WBoDGPxyH+ruhjlTjbnR9AxMhvYLPHA4YGkjPIMpP4x+WIfUnhYMZx2voMRFCSFlohVqR3XwIIaQc3O5OtrGQJFC9RkKKRCsyRxICi/YuFgvs986ERA3Eh1ahUkT4GQg0Vc9XQqInqP6ODRyTA046VJ7Y1x/XdgmJnmD6M8+bLiGKRVjemy6t9WeeN30aBsGHI/bUP33a6M88bybYIPjs9o3658Gx+tuLmefNgGN1pP55QB0JIYQQQgghhBBCCJGy+T9ftRg+rVNPfAAAAABJRU5ErkJggg==')"}}),n&&Yt.createPortal(l,document.body))};function pn(e,t,n,o){if(e){const s={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(s,o))}}function ct({onFocus:e,onBlur:t,onSyncFocus:n,onSyncBlur:o}){const s=r.useRef(!1),l=r.useRef(0),c=r.useCallback(f=>{clearTimeout(l.current),l.current=window.setTimeout(()=>f())},[l]),i=r.useCallback((...f)=>{clearTimeout(l.current),n&&n.call(void 0,f[0]),!s.current&&(s.current=!0,e&&e.call(void 0,...f))},[s,e,n]),h=r.useCallback((...f)=>{o&&o.call(void 0,f[0]),c(()=>{s.current&&t&&(s.current=!1,t.call(void 0,...f))})},[s,c,t,o]);return r.useEffect(()=>()=>{clearTimeout(l.current)},[]),{onFocus:i,onBlur:h}}const xn=({children:e,onFocus:t,onBlur:n,onSyncFocus:o,onSyncBlur:s})=>{const l=ct({onFocus:t,onBlur:n,onSyncFocus:o,onSyncBlur:s});return r.createElement(r.Fragment,null,e.call(void 0,{...l}))},at=(e,t)=>r.useContext(e)(t),yn=()=>r.createContext(e=>e),Dn=(e,t)=>r.forwardRef((n,o)=>{const s=at(e,n);return r.createElement(t,{...s,ref:o})}),it=typeof window<"u"?r.useLayoutEffect:r.useEffect;function ut(e){const[t,n]=r.useState(!1);r.useEffect(()=>{n(!0)},[]);const[o,s]=r.useState(()=>{if(e)return e;if(t)return Ce()});return it(()=>{o===void 0&&s(Ce())},[]),r.useId?e??r.useId():o}const kn=e=>r.forwardRef((t,n)=>{const o=ut(t.id);return r.createElement(e,{...t,id:o,ref:n})});function An(e,t,n){const[o,s]=r.useState(t);return r.useEffect(()=>{if(!o&&window&&e.current){const l=window.getComputedStyle(e.current).direction;l&&s(l)}},n),o}function In(e,t,n){const[o,s]=r.useState(t);return r.useEffect(()=>{if(!o&&window&&e.current){const l=window.getComputedStyle(e.current).direction;l&&s(l)}},n),o}const dt=(e,t,n={})=>{const o=r.useCallback(u=>{n.onMouseDown&&n.onMouseDown.call(void 0,u),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseDown,e.onMouseDown,t]),s=r.useCallback(u=>{n.onMouseUp&&n.onMouseUp.call(void 0,u),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseUp,e.onMouseUp,t]),l=r.useCallback(u=>{n.onClick&&n.onClick.call(void 0,u),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:u})},[n.onClick,e.onClick,t]),c=r.useCallback(u=>{n.onDoubleClick&&n.onDoubleClick.call(void 0,u),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:u})},[n.onDoubleClick,e.onDoubleClick,t]),i=r.useCallback(u=>{n.onMouseEnter&&n.onMouseEnter.call(void 0,u),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseEnter,e.onMouseEnter,t]),h=r.useCallback(u=>{n.onMouseLeave&&n.onMouseLeave.call(void 0,u),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseLeave,e.onMouseLeave,t]),f=r.useCallback(u=>{n.onMouseMove&&n.onMouseMove.call(void 0,u),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseMove,e.onMouseMove,t]),d=r.useCallback(u=>{n.onMouseOut&&n.onMouseOut.call(void 0,u),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseOut,e.onMouseOut,t]),m=r.useCallback(u=>{n.onMouseOver&&n.onMouseOver.call(void 0,u),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:u})},[n.onMouseOver,e.onMouseOver,t]);return{onClick:l,onMouseUp:s,onMouseDown:o,onDoubleClick:c,onMouseEnter:i,onMouseLeave:h,onMouseMove:f,onMouseOut:d,onMouseOver:m}},Pn=e=>[e,{}];var B=(e=>(e[e.add=0]="add",e[e.remove=1]="remove",e))(B||{});const Ee=(e=[])=>{const t=r.useRef(e),n=r.useCallback(o=>{switch(o.type){case 0:t.current.push(o.item);break;case 1:{const s=t.current.indexOf(o.item);t.current.splice(s,1);break}}},[]);return[t.current,n]},ft=e=>{const t=r.useCallback(()=>e.current&&e.current.element?e.current.element:e.current,[e]);return r.useCallback(()=>{const o=t();return o&&o.ownerDocument||document},[t])},wn=e=>{const t=ft(e);return r.useCallback(()=>{const o=t();return o&&o.defaultView||window},[t])},ht={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl",xxlarge:"k-icon-xxl",xxxlarge:"k-icon-xxxl"},On=e=>e.replace(/^k-i-/,""),gt=e=>"k-i-"+e,Sn=g.shape({name:g.string.isRequired,content:g.string.isRequired,viewBox:g.string.isRequired}),be=(e,t)=>{const[n,o]=r.useContext(e),[s,l]=r.useState(t);return[n!==void 0?n:s,(...h)=>{n!==void 0?o(...h):l(h[0])}]},mt=r.createContext([void 0,C]),Ae=r.createContext([void 0,C]),vt=r.createContext([[],C,C]),Ie=r.createContext([[],C,C]),Mn=2e3;function Ct(e,t,n={}){const{onPress:o=C,onRelease:s=C,onDragStart:l=C,onDrag:c=C,onDragEnd:i=C}=t,{hint:h=null,mouseOnly:f=!1,autoScroll:d=!0,scrollContainer:m=null}=n,[u,p]=r.useState(!1),[x,I]=r.useState(!1),[E]=be(Ae),[R,S]=be(mt),[T]=r.useContext(Ie),[w,P,O]=r.useContext(vt),y=r.useRef({x:0,y:0}),ne=r.useRef(),re=r.useRef(!1),Re=r.useRef(),z=r.useRef(null),oe=r.useRef(!1),Le=r.useRef({x:0,y:0}),Te=r.useRef({x:0,y:0}),Z=r.useRef({x:0,y:0}),Ne=r.useRef({x:0,y:0}),Be=r.useRef({x:0,y:0}),He=r.useRef({x:0,y:0}),Rt=!!(typeof window<"u"&&window.PointerEvent),je=!f&&Rt,L=r.useCallback(()=>e.current&&e.current.element?e.current.element:e.current,[e]),Lt=r.useCallback(()=>h&&h.current&&h.current.element?h.current.element:h?h.current:null,[h]),ze=r.useCallback(()=>m&&m.current&&m.current.element?m.current.element:m?m.current:null,[m]),Fe=r.useCallback(()=>typeof d=="object"&&d.boundaryElementRef&&d.boundaryElementRef.current&&d.boundaryElementRef.current.element?d.boundaryElementRef.current.element:typeof d=="object"&&d.boundaryElementRef&&d.boundaryElementRef.current?d.boundaryElementRef.current:null,[d]),F=r.useRef(null);r.useImperativeHandle(F,()=>({element:L(),hint:Lt(),onPress:Tt,onDragStart:Bt,onDrag:Ht,onDragEnd:jt,onRelease:Nt,data:e.current}));const q=r.useCallback(()=>{const a=L();return a&&a.ownerDocument||document},[L]),N=r.useCallback(()=>{const a=q();return a&&a.defaultView||window},[q]),Qe=r.useCallback(()=>({drag:R?R.current:null,drop:E?E.current:null,drags:w.map(a=>a.current),drops:T.map(a=>a.current),pressed:u,ignoreMouse:re.current,scrollOffset:Be.current,offset:Le.current,pageOffset:Te.current,initialScrollOffset:He.current,clientOffset:Z.current,initialClientOffset:Ne.current,velocity:y.current,autoScroll:!!(typeof d=="object"?d.enabled!==!1:d),scrollableParent:Fe(),autoScrollDirection:typeof d=="object"?d.direction:{horizontal:!0,vertical:!0},isScrolling:x}),[R,E,w,T,u,d,Fe,x]),Xe=r.useCallback(a=>{p(a)},[]),Ue=r.useCallback(a=>{I(a)},[]),Ye=r.useCallback(a=>{y.current=a},[]),Ge=r.useCallback(a=>{Le.current=a},[]),Je=r.useCallback(a=>{Z.current=a},[]),Ze=r.useCallback(a=>{Te.current=a},[]),qe=r.useCallback(a=>{Ne.current=a},[]),We=r.useCallback(a=>{Be.current=a},[]),Ve=r.useCallback(a=>{He.current=a},[]),Tt=r.useCallback(a=>{o(a)},[o]),Nt=r.useCallback(a=>{s(a)},[s]),Bt=r.useCallback(a=>{S(F,{target:e.current,event:a}),l(a)},[S,e,l]),Ht=r.useCallback(a=>{c(a)},[c]),jt=r.useCallback(a=>{oe.current||(S(null,{target:e.current,event:a}),i(a))},[i,S,e]),v=r.useCallback(a=>{W.dispatchDragAndDrop(Qe(),{event:a,payload:F.current},{onVelocityChange:Ye,onOffsetChange:Ge,onClientOffsetChange:Je,onPageOffsetChange:Ze,onInitialClientOffsetChange:qe,onScrollOffsetChange:We,onInitialScrollOffsetChange:Ve,onIsPressedChange:Xe,onIsScrollingChange:Ue})},[Qe,Ye,Ge,Ze,Je,qe,Ve,Xe,We,Ue]),se=r.useCallback(a=>{v(a)},[v]),le=r.useCallback(a=>{v(a)},[v]),ce=r.useCallback(a=>{v(a)},[v]),ae=r.useCallback(a=>{v(a)},[v]),ie=r.useCallback(a=>{v(a)},[v]),ue=r.useCallback(a=>{v(a)},[v]),de=r.useCallback(a=>{v(a)},[v]),fe=r.useCallback(a=>{a.preventDefault(),v(a)},[v]),he=r.useCallback(a=>{a.preventDefault(),v(a)},[v]),ge=r.useCallback(a=>{a.preventDefault(),v(a)},[v]),me=r.useCallback(a=>{if(a.touches.length===0&&a.changedTouches.length===1){const b=N();re.current=!0,Re.current=b.setTimeout(()=>{re.current=!1},Mn)}v(a)},[v,N]),ve=r.useCallback(a=>{v(a)},[v]),Ke=r.useCallback(()=>{const a=L();if(a){const b=a.style.touchAction;return a.style.touchAction="none",()=>{a.style.touchAction=b}}},[L]),_e=r.useCallback(()=>(P(F),()=>{O(F)}),[O,P]),zt=()=>{const a=N(),b=L(),k=q();return je?(b&&(z.current=W.getScrollableParent(b),z.current&&z.current.addEventListener("scroll",ve,{passive:!0}),b.addEventListener("pointerdown",se,{passive:!0})),u&&(k.addEventListener("pointermove",le),k.addEventListener("pointerup",ae,!0),k.addEventListener("contextmenu",fe),k.addEventListener("pointercancel",ce,{passive:!0}))):(a.addEventListener("touchmove",C,{capture:!1,passive:!1}),b&&(b.addEventListener("mousedown",ie,{passive:!0}),f||(b.addEventListener("touchstart",he,{passive:!0}),u&&(b.addEventListener("touchmove",ge,{passive:!0}),b.addEventListener("touchend",me,{passive:!0})))),u&&(k.addEventListener("mousemove",ue,{passive:!0}),k.addEventListener("mouseup",de,{passive:!0}))),()=>{z.current&&z.current.removeEventListener("scroll",ve),b&&(b.removeEventListener("pointerdown",se),b.removeEventListener("mousedown",ie),b.removeEventListener("touchstart",he),b.removeEventListener("touchmove",ge),b.removeEventListener("touchend",me)),k.removeEventListener("pointermove",le),k.removeEventListener("pointerup",ae,!0),k.removeEventListener("contextmenu",fe),k.removeEventListener("pointercancel",ce),k.removeEventListener("mousemove",ue),k.removeEventListener("mouseup",de),a.removeEventListener("touchmove",C),a.clearTimeout(Re.current)}};r.useEffect(()=>{const a=N();if(x){const b=ze()||W.getScrollableParent(document.elementFromPoint(Z.current.x,Z.current.y));a.clearInterval(ne.current),ne.current=a.setInterval(()=>{W.autoScroll(b,{x:y.current.x,y:y.current.y})},50)}return()=>{a.clearInterval(ne.current)}},[L,ze,N,x]),r.useEffect(Ke,[Ke]),r.useEffect(zt,[u,N,L,q,f,je,fe,ie,ue,de,ce,se,le,ae,me,ge,he,ve]),r.useEffect(()=>(oe.current=!1,()=>{oe.current=!0}),[]),r.useLayoutEffect(_e,[_e])}function Et(e,t={onDragEnter:C,onDragOver:C,onDragLeave:C,onDrop:C}){const{onDragEnter:n=C,onDragOver:o=C,onDragLeave:s=C,onDrop:l=C}=t,[,c]=be(Ae),[,i,h]=r.useContext(Ie),f=r.useCallback(()=>e.current&&e.current.element?e.current.element:e.current,[e]),d=r.useRef(null);r.useImperativeHandle(d,()=>({element:f(),onDragEnter:m,onDragOver:u,onDragLeave:p,onDrop:x,data:e.current}));const m=r.useCallback(E=>{c(d,{target:e.current,event:E}),n(E)},[c,e,n]),u=r.useCallback(E=>{o(E)},[o]),p=r.useCallback(E=>{c(null,{target:e.current,event:E}),s(E)},[c,e,s]),x=r.useCallback(E=>{c(null,{target:e.current,event:E}),l(E)},[c,e,l]),I=r.useCallback(()=>(i(d),()=>{h(d)}),[h,i]);r.useLayoutEffect(I,[I])}const tt=(e,t,n)=>{const[o,s]=r.useState(t||e),l=r.useCallback((c,i)=>{s(c),n&&n.call(void 0,{...i,value:c})},[n,s]);return[t!==void 0?t:o,l]},ee=r.forwardRef((e,t)=>{const{className:n,name:o,themeColor:s,size:l,flip:c,style:i,id:h,tabIndex:f,...d}=e,m=r.useRef(null),u=r.useRef(null);r.useImperativeHandle(m,()=>({element:u.current})),r.useImperativeHandle(t,()=>m.current);const p=r.useMemo(()=>l||nt.size,[l]),x=r.useMemo(()=>c||nt.flip,[c]),I=r.useMemo(()=>ye("k-icon","k-font-icon",o&&gt(o),{[`k-color-${s}`]:s,"k-flip-h":x==="horizontal"||x==="both","k-flip-v":x==="vertical"||x==="both"},ht[p],n),[o,s,p,x,n]),E=dt(e,m);return r.createElement("span",{ref:u,...d,...E,className:I,id:h,tabIndex:f,style:i,role:"presentation"})});ee.propTypes={style:g.object,classNames:g.string,name:g.string,themeColor:g.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:g.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:g.oneOf(["default","horizontal","vertical","both"])};const nt={size:"default",flip:"default"};ee.displayName="KendoIcon";const te=r.forwardRef((e,t)=>{const{children:n,className:o,svgClassName:s,icon:l,flip:c,id:i,tabIndex:h,size:f,style:d,svgStyle:m,themeColor:u,viewBox:p,name:x,onClick:I,...E}=e,R=r.useRef(null);r.useImperativeHandle(t,()=>({element:R.current}));const S=r.useMemo(()=>l?l.name:V.icon,[l]),T=r.useMemo(()=>f||V.size,[f]),w=r.useMemo(()=>c||V.flip,[c]),P=r.useMemo(()=>p||V.viewBox,[p]),O=r.useMemo(()=>ye("k-icon","k-svg-icon","k-svg-i-"+S,{[`k-color-${u}`]:u,"k-flip-h":w==="horizontal"||w==="both","k-flip-v":w==="vertical"||w==="both"},ht[T],o),[S,u,T,w,o]),y=r.useMemo(()=>e.width&&e.height?{width:e.width,height:e.height,...d}:e.width?{width:e.width,height:e.width,...d}:e.height?{width:e.height,height:e.height,...d}:{...d},[e.width,e.height,d]);return r.createElement("span",{className:O,style:y,ref:R,onClick:I},r.createElement("svg",{id:i,className:s,style:m,"aria-hidden":!0,tabIndex:h,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:l?l.viewBox:P,dangerouslySetInnerHTML:l?{__html:l.content}:void 0,...E},l?void 0:n))});te.propTypes={style:g.object,classNames:g.string,children:g.any,icon:g.object,themeColor:g.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:g.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:g.oneOf(["default","horizontal","vertical","both"])};const V={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};te.displayName="KendoSvgIcon";const Pe=r.createContext({type:"svg"});Pe.displayName="KendoReactIconsContext";const bt=r.forwardRef((e,t)=>{var h,f;const{type:n,icons:o}=r.useContext(Pe),{icon:s,...l}=e;let c=n==="svg"?((h=e.icon)==null?void 0:h.name)||e.name:e.name||((f=e.icon)==null?void 0:f.name);c=c&&o&&o[c]&&typeof o[c]=="string"?o[c]:c;const i=c&&o&&o[c]&&typeof o[c]!="string"?o[c]:s;return n==="svg"&&i?r.createElement(te,{...e,icon:i,ref:t}):r.createElement(ee,{...l,name:c,ref:t})});bt.displayName="KendoIconWrap";const Rn={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},Ln={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},Tn={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"},Nn={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},Bn={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},Hn={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},jn={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},zn={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"},M=e=>{const t=r.forwardRef((n,o)=>{const{id:s,style:l,className:c,fontSize:i,fontWeight:h,textAlign:f,textTransform:d,themeColor:m,margin:u,...p}=n,x=r.useRef(null),I=r.useRef(null);r.useImperativeHandle(x,()=>({element:I.current,props:n})),r.useImperativeHandle(o,()=>x.current);const E=()=>`k-${e==="p"?"paragraph":e}`,R=e,S=(P,O)=>{const y=typeof O=="string"?Nn[O]:O;return`${Bn[P]}${y}`},T=()=>{if(u!==void 0){if(typeof u=="string")return[Tn[u]];if(typeof u=="number"&&u>=0&&u<=24)return[`k-m-${u}`];if(typeof u=="object"){const P=[];return Object.keys(u).forEach(y=>{u[y]!==null&&u[y]!==void 0&&P.push(S(y,u[y]))}),P.join(" ")}}},w=()=>[E(),Rn[i],Ln[h],Hn[f],jn[d],zn[m],T(),c].filter(y=>y!==void 0).join(" ");return r.createElement(R,{id:s,ref:I,className:w(),style:l,...p},n.children)});return t.propTypes={style:g.object,className:g.string,fontSize:g.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:g.oneOf(["light","normal","bold"]),margin:g.oneOfType([g.number,g.object,g.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:g.oneOf(["left","right","center","justify"]),textTransform:g.oneOf(["lowercase","uppercase","capitalize"]),themeColor:g.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName=`KendoReactTypography${e.toUpperCase()}`,t},Fn=M("h1"),Qn=M("h2"),Xn=M("h3"),Un=M("h4"),Yn=M("h5"),Gn=M("h6"),Jn=M("p"),Zn=M("code"),qn=M("pre"),Wn={h1:Fn,h2:Qn,h3:Xn,h4:Un,h5:Yn,h6:Gn,p:Jn,code:Zn,pre:qn},pt=e=>{const[t,n]=tt(null,void 0),[o,s]=tt(null,void 0),[l,c]=Ee([]),[i,h]=Ee([]),f=p=>{c({type:B.add,item:p})},d=p=>{c({type:B.remove,item:p})},m=p=>{h({type:B.add,item:p})},u=p=>{h({type:B.remove,item:p})};return r.createElement(mt.Provider,{value:[t,n]},r.createElement(Ae.Provider,{value:[o,s]},r.createElement(vt.Provider,{value:[l,f,d]},r.createElement(Ie.Provider,{value:[i,m,u]},e.children))))};pt.displayName="KendoReactDragAndDrop";const xt=r.forwardRef((e,t)=>{const n=r.useRef(null),o=r.useRef(null),s=r.useCallback(()=>n.current&&n.current.element?n.current.element:n.current,[n]);r.useImperativeHandle(o,()=>({element:s()||null})),r.useImperativeHandle(t,()=>o.current),r.useImperativeHandle(e.childRef,()=>n.current);const l=r.useCallback(d=>{e.onPress&&e.onPress({element:s(),target:o.current,event:d})},[s,e.onPress]),c=r.useCallback(d=>{e.onRelease&&e.onRelease({element:s(),target:o.current,event:d})},[s,e.onRelease]),i=r.useCallback(d=>{e.onDragStart&&e.onDragStart({element:s(),target:o.current,event:d})},[e,s]),h=r.useCallback(d=>{e.onDrag&&e.onDrag({element:s(),target:o.current,event:d})},[s,e.onDrag]),f=r.useCallback(d=>{e.onDragEnd&&e.onDragEnd({element:s(),target:o.current,event:d})},[s,e.onDragEnd]);return Ct(n,{onPress:l,onRelease:c,onDragStart:i,onDrag:h,onDragEnd:f},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null});xt.displayName="KendoReactDraggable";const yt=r.forwardRef((e,t)=>{const n=r.useRef(null),o=r.useRef(null),s=r.useCallback(()=>n.current&&n.current.element?n.current.element:n.current,[n]);r.useImperativeHandle(o,()=>({element:s()||void 0})),r.useImperativeHandle(t,()=>o.current),r.useImperativeHandle(e.childRef,()=>n.current);const l=r.useCallback(f=>{e.onDragEnter&&e.onDragEnter({element:s(),target:o.current,event:f})},[e.onDragEnter,s]),c=r.useCallback(f=>{e.onDragOver&&e.onDragOver({element:s(),target:o.current,event:f})},[s,e.onDragOver]),i=r.useCallback(f=>{e.onDragLeave&&e.onDragLeave({element:s(),target:o.current,event:f})},[e.onDragLeave,s]),h=r.useCallback(f=>{e.onDrop&&e.onDrop({element:s(),target:o.current,event:f})},[e.onDrop,s]);return Et(n,{onDragEnter:l,onDragOver:c,onDragLeave:i,onDrop:h}),e.children?r.cloneElement(r.Children.only(e.children),{ref:n}):null});yt.displayName="KendoReactDroppable";const Vn={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};function Kn(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function _n(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!Kn(e[n],t[n]))return!1;return!0}function $n(e,t=_n){let n=null;function o(...s){if(n&&n.lastThis===this&&t(s,n.lastArgs))return n.lastResult;const l=e.apply(this,s);return n={lastResult:l,lastArgs:s,lastThis:this},l}return o.clear=function(){n=null},o}const er=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"];class tr{constructor(t){this.rovingTabIndex=!0,this.update=()=>{},this.focusNextIndex=(n,o)=>{const s=this.elements;let l=s.indexOf(n)+o;l=l<0?s.length-1:l;const c=s[l%s.length];return this.focusElement(c,n),c},this.tabIndex=t.tabIndex||0,this.root=t.root,this.selectors=t.selectors,this.focusOptions=t.focusOptions||{preventScroll:!0},this.rovingTabIndex=t.rovingTabIndex!==void 0?t.rovingTabIndex:!0,this.mouseEvents=t.mouseEvents||{},this.keyboardEvents=t.keyboardEvents||{}}get elements(){return this.root.current?Array.from(this.root.current.querySelectorAll(this.selectors.join(","))):[]}get first(){return this.root.current&&this.root.current.querySelector(this.selectors.join(","))||null}get last(){const t=this.elements;return t[t.length-1]||null}get current(){return this.elements.find(t=>t.matches(":focus"))||null}focusNext(t){return this.focusNextIndex(t,1)}focusPrevious(t){return this.focusNextIndex(t,-1)}triggerKeyboardEvent(t,n){const o=t.target instanceof Element&&t.target.closest(this.selectors.join(",")),s=t.key===" "?"Space":t.key,l=t.nativeEvent.type;o&&this.keyboardEvents[l][s]&&this.keyboardEvents[l][s].call(void 0,o,this,t,n)}triggerMouseEvent(t){const n=t.target instanceof Element&&t.target.closest(this.selectors.join(",")),o=t.nativeEvent.type;n&&this.mouseEvents[o].call(void 0,n,this,t)}focusElement(t,n){t&&(n&&(this.rovingTabIndex&&n.removeAttribute("tabindex"),n.classList.remove("k-focus")),this.rovingTabIndex&&t.setAttribute("tabindex",String(this.tabIndex)),t.focus(this.focusOptions))}}const K=e=>{const t=e.shadowRoot,n=e.contentDocument;return t&&t.activeElement?K(t.activeElement):n&&n.activeElement?K(n.activeElement):e},nr=e=>{if(!(!e||!e.activeElement))return K(e.activeElement)};function D(e,t){const n=(e||"").split(".");let o=t;return n.forEach(s=>{o=o?o[s]:void 0}),o}function rr(e){return e.length!==void 0}class or{constructor(t){this.expandField=t.expandField,this.selectField=t.selectField,this.hasChildrenField=t.hasChildrenField,this.childrenField=t.childrenField,this.textField=t.textField,this.disableField=t.disableField,this.checkField=t.checkField,this.checkIndeterminateField=t.checkIndeterminateField,this.focusIdField=t.focusIdField}expanded(t){return D(this.expandField,t)}selected(t){return D(this.selectField,t)}text(t){return D(this.textField,t)}disabled(t){return D(this.disableField,t)}hasChildren(t){return D(this.hasChildrenField,t)}children(t){const n=D(this.childrenField,t);return n||[]}checked(t){return D(this.checkField,t)}checkIndeterminate(t){return D(this.checkIndeterminateField,t)}focusId(t){return this.focusIdField&&D(this.focusIdField,t)}getChildrenField(){return this.childrenField}}const sr=5e4;class Dt{constructor(){this.objects=[]}init(t){let n;for(let o=0;o<t.length;o++)o%sr===0&&(n={},this.objects.push(n)),n[t[o]]=!0}hasId(t){return this.objects.some(n=>n[t])}}const Y="",kt="0",A="_";function At(e,t,n){if(J(e))return t[Number(e)];{const o=t[Number(H(e))],s=o&&o[n]||[];return s.length?At(j(e),s,n):void 0}}function H(e){return we(e)?e:e.split(A)[0]}function j(e){if(we(e))return e;{const t=e.indexOf(A);return e.substring(t+1)}}function lr(e){return G("0",e)}function G(e,t){return e=e.toString(),t?t+A+e:e}function It(e){const t=e.lastIndexOf(A);return t<0?Y:e.substring(0,t)}function we(e){return e===Y||e.indexOf(A)<0}function J(e){return e!==Y&&e.indexOf(A)<0}function Oe(e){return e.split(A)}function Se(e){const t=e.lastIndexOf(A);return t<0?e:e.substring(t+1)}function cr(e){return Se(e)===kt}function ar(e,t){const n=t;e="r"+A+e,t="r"+A+t;const o=It(e)+A;if(t.startsWith(o)){const s=t.substring(o.length);if(s){const l=H(s);if(Number(Se(e))<Number(l)){const c=o+(Number(l)-1).toString()+s.substring(l.length);return j(c)}}}return n}const ir=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ID:Y,SEPARATOR:A,ZERO_LEVEL_ZERO_NODE_ID:kt,createId:G,getAllShortIds:Oe,getDecrementedItemIdAfterRemoval:ar,getDirectParentId:It,getFirstChildId:lr,getIdWithoutRootParentId:j,getItemById:At,getRootParentId:H,getShortId:Se,isIdEmptyOrZeroLevel:we,isIdZeroLevel:J,isItemFirstFromSiblings:cr},Symbol.toStringTag,{value:"Module"}));function Me(e,t){const n=D(t,e);return!!(n&&n.length)}function ur(e,t){return t.expanded(e)&&Me(e,t.getChildrenField())}function dr(e,t,n,o){const s=Pt([e],t,n,o);return s.length?s[0]:void 0}function Pt(e,t,n,o){const s=[],l=new Dt;return l.init(e),Mt(l,t,n,Y,s,o),s}function wt(e,t,n,o,s){const l=Number(H(t));if(l>=e.length)return e;let c=e,i=e[l];return i[o]||(c=e.slice(),i=c[l]=Object.assign({},i,{[o]:!0})),J(t)?n(i):i[s]&&(i[s]=wt(i[s],j(t),n,o,s)),c}function fr(e,t,n){const o=Oe(e);let s=t;for(let l=0;l<o.length;l++){const c=s[Number(o[l])];if(n.disabled(c))return!1;s=c[n.getChildrenField()]}return!0}function hr(e,t,n,o){return o?l(e):s(e,t);function s(c,i){let h=[];const f=c[n]||[];for(let d=0;d<f.length;d++){const m=G(d,i);h.push(m),h=h.concat(s(f[d],m))}return h}function l(c){let i=[];const h=c[n]||[];for(let f=0;f<h.length;f++)i.push(D(o,h[f])),i=i.concat(l(h[f]));return i}}function gr(e,t,n,o,s){return(e[o]||[]).every((c,i)=>s.indexOf(n?D(n,c):G(i,t))>-1)}function mr(e,t,n){const o=[],s=Oe(e);let l=n;for(let c=0;c<s.length-1&&l;c++){const i=l[Number(s[c])];o.push(i),l=i[t]}return o}function Ot(e,t,n){const o=n.slice();if(J(e))o.splice(Number(e),1);else{const s=Number(H(e)),l=o[s]={...o[s]};l[t]=Ot(j(e),t,l[t])}return o}function St(e,t,n,o,s){const l=s.slice();if(J(o))if(t==="child"){const c=l[Number(o)]={...l[Number(o)]};c[n]?(c[n]=c[n].slice(),c[n].push(e)):c[n]=[e]}else l.splice(Number(o)+(t==="after"?1:0),0,e);else{const c=Number(H(o)),i=l[c]={...l[c]};i[n]=St(e,t,n,j(o),i[n])}return l}function Mt(e,t,n,o,s,l){for(let c=0;c<n.length;c++){const i=n[c],h=G(c,o);e.hasId(D(t,i))&&s.push(h),Me(i,l)&&Mt(e,t,D(l,i),h,s,l)}}exports.AsyncFocusBlur=xn;exports.BrowserSupportService=xe;exports.COLLECTION_ACTION=B;exports.DragAndDrop=pt;exports.Draggable=xt;exports.Droppable=yt;exports.FOCUSABLE_ELEMENTS=er;exports.FormComponent=_t;exports.Icon=ee;exports.IconWrap=bt;exports.IconsContext=Pe;exports.Keys=on;exports.Navigation=tr;exports.SortedPublicItemIds=Dt;exports.SvgIcon=te;exports.TreeFieldsService=or;exports.Typography=Wn;exports.WatermarkOverlay=bn;exports.ZIndexContext=pe;exports.addItem=St;exports.areAllDirectChildrenChecked=gr;exports.canUseDOM=$;exports.canUseRef=Wt;exports.classNames=ye;exports.clone=Vt;exports.cloneArray=ot;exports.cloneDate=rt;exports.cloneObject=De;exports.cloneValue=ke;exports.createPropsContext=yn;exports.dispatchEvent=pn;exports.extendDataItem=fn;exports.focusFirstFocusableChild=Kt;exports.getActiveElement=nr;exports.getAllDirectIndirectChildrenIds=hr;exports.getAllParents=mr;exports.getInnerActiveElement=K;exports.getItemPath=hn;exports.getNestedValue=D;exports.getScrollbarWidth=sn;exports.getTabIndex=tn;exports.getter=rn;exports.guid=Ce;exports.hasChildren=Me;exports.hasRelativeStackingContext=Cn;exports.isArray=rr;exports.isEnabledAndAllParentsEnabled=fr;exports.isItemExpandedAndWithChildren=ur;exports.kendoThemeMaps=Vn;exports.mapTree=un;exports.mapTreeItem=dn;exports.memoizeOne=$n;exports.noop=C;exports.removeItem=Ot;exports.resolveItemId=dr;exports.resolveItemsIds=Pt;exports.setScrollbarWidth=ln;exports.setter=an;exports.shouldShowValidationUI=vn;exports.svgIconPropType=Sn;exports.toIconClass=gt;exports.toIconName=On;exports.treeIdUtils=ir;exports.updateItem=wt;exports.useAsyncFocusBlur=ct;exports.useCollection=Ee;exports.useCustomComponent=Pn;exports.useDir=An;exports.useDocument=ft;exports.useDraggable=Ct;exports.useDroppable=Et;exports.useId=ut;exports.useIsomorphicLayoutEffect=it;exports.useMouse=dt;exports.usePropsContext=at;exports.useRtl=In;exports.useWindow=wn;exports.useZIndexContext=Gt;exports.validatePackage=mn;exports.withIdHOC=kn;exports.withPropsContext=Dn;