@progress/kendo-react-common 8.3.0-develop.1 → 8.3.0-develop.11

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.
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@progress/kendo-licensing"),require("react-dom"),require("prop-types"),require("@progress/kendo-draggable-common")):"function"==typeof define&&define.amd?define(["exports","react","@progress/kendo-licensing","react-dom","prop-types","@progress/kendo-draggable-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactCommon={},e.React,e.KendoLicensing,e.ReactDOM,e.PropTypes,e.KendoDraggableCommon)}(this,(function(e,t,n,r,o,s){"use strict";function l(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var i=l(t),a=l(r);const c="",u="_";function d(e){return g(e)?e:e.split(u)[0]}function f(e){if(g(e))return e;{const t=e.indexOf(u);return e.substring(t+1)}}function h(e,t){return e=e.toString(),t?t+u+e:e}function m(e){const t=e.lastIndexOf(u);return t<0?c:e.substring(0,t)}function g(e){return e===c||e.indexOf(u)<0}function v(e){return e!==c&&e.indexOf(u)<0}function p(e){return e.split(u)}function b(e){const t=e.lastIndexOf(u);return t<0?e:e.substring(t+1)}var C=Object.freeze({__proto__:null,EMPTY_ID:c,SEPARATOR:u,ZERO_LEVEL_ZERO_NODE_ID:"0",createId:h,getAllShortIds:p,getDecrementedItemIdAfterRemoval:function(e,t){const n=t;t="r"+u+t;const r=m(e="r"+u+e)+u;if(t.startsWith(r)){const n=t.substring(r.length);if(n){const t=d(n);if(Number(b(e))<Number(t)){return f(r+(Number(t)-1).toString()+n.substring(t.length))}}}return n},getDirectParentId:m,getFirstChildId:function(e){return h("0",e)},getIdWithoutRootParentId:f,getItemById:function e(t,n,r){if(v(t))return n[Number(t)];{const o=n[Number(d(t))],s=o&&o[r]||[];return s.length?e(f(t),s,r):void 0}},getRootParentId:d,getShortId:b,isIdEmptyOrZeroLevel:g,isIdZeroLevel:v,isItemFirstFromSiblings:function(e){return"0"===b(e)}});const E=i.createContext(0);E.displayName="KendoReactZIndexContext";let x=class{constructor(){this.scrollbar=0}get scrollbarWidth(){const e="undefined"!=typeof document?document:{};if(!this.scrollbar&&e&&e.createElement){const t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar}};const y=!("undefined"==typeof window||!window.document||!window.document.createElement),k=(...e)=>{const t={},n=e=>e.filter((e=>!0!==e&&!!e)).map((e=>Array.isArray(e)?n(e):(e=>"object"==typeof e?Object.keys(e).forEach((n=>{t[n]=e[n]})):t[e]=!0)(e)));return n(e),Object.keys(t).map((e=>t[e]&&e||null)).filter((e=>null!==e)).join(" ")},A=e=>e?new Date(e.getTime()):null;function I(e,t){for(let n in e)if(e.hasOwnProperty(n)){const r=e[n];t[n]=w(r,t[n])}}function w(e,t){if(Array.isArray(e))return D(e);if(e instanceof Date)return A(e);if(i.isValidElement(e))return i.cloneElement(e,e.props);if(e&&"object"==typeof e){const n=t||{};return I(e,n),n}return e}function D(e){return e.map((e=>w(e,void 0)))}const P={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},O=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,L=":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-numerictextbox button):not(.k-split-button .k-split-button-arrow)",R=":not(.k-dropdownlist select)",F=["input:not([disabled]):not([type=hidden])","select:not([disabled]):not(.k-dropdownlist select)","textarea:not([disabled])",`button:not([disabled])${L}`,"a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],M=[...F,`[tabindex]${L}${R}`],S=[...F,`[tabindex]${L}${R}`].map((e=>e+':not([tabindex="-1"])')),T=(e,t=M)=>e.querySelectorAll(t.join(",")),B=(e,t=M)=>{if(e){const n=T(e,t);if(n.length&&n[0].focus)return n[0]}},N=(e,t=M)=>{if(e){const n=T(e,t);if(n.length&&n[n.length-1].focus)return n[n.length-1]}},H=(e,t)=>{if(e){const n=B(e,t);n&&n.focus()}},j=(e,t,n)=>{if(t&&e.keyCode===P.tab&&t){const r=B(t,n),o=N(t,n);r&&o&&!e.shiftKey&&e.target===o&&(e.preventDefault(),r.focus()),r&&o&&e.shiftKey&&e.target===r&&(e.preventDefault(),o.focus()),r||e.preventDefault()}};function Q(e){const t=[];return e.replace(O,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}const z={};z.undefined=()=>{};const X=()=>{let e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,(8===e||12===e||16===e||20===e)&&(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},Y=function(){},J={undefined:e=>e},G=(e,t)=>t&&t.arrays&&!isNaN(Number(e))?[]:{};function U(e,t,n){return n?{...e,[t]:n.length?[...n]:void 0}:e&&e[t]?[...e[t]]:[]}function q(e,t,n){if(e[t]){let r=U(e,t).map((e=>q(e,t,n)));return n(U(e,t,r))}return n(e)}const K=["telerik.com","progress.com","stackblitz.io","csb.app"],V=n.validatePackage;let Z=!1;function W({onFocus:e,onBlur:t,onSyncFocus:n,onSyncBlur:r}){const o=i.useRef(!1),s=i.useRef(0),l=i.useCallback((e=>{clearTimeout(s.current),s.current=window.setTimeout((()=>e()))}),[s]),a=i.useCallback(((...t)=>{clearTimeout(s.current),n&&n.call(void 0,t[0]),!o.current&&(o.current=!0,e&&e.call(void 0,...t))}),[o,e,n]),c=i.useCallback(((...e)=>{r&&r.call(void 0,e[0]),l((()=>{o.current&&t&&(o.current=!1,t.call(void 0,...e))}))}),[o,l,t,r]);return i.useEffect((()=>()=>{clearTimeout(s.current)}),[]),{onFocus:a,onBlur:c}}const _=(e,t)=>i.useContext(e)(t),$="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;function ee(e){const[t,n]=i.useState(!1);i.useEffect((()=>{n(!0)}),[]);const[r,o]=i.useState((()=>e||(t?X():void 0)));$((()=>{void 0===r&&o(X())}),[]);const s=i[`useId${X()}`.slice(0,5)];if(void 0!==s){const t=s();return null!=e?e:t}return r}const te=(e,t,n={})=>{const r=i.useCallback((r=>{n.onMouseDown&&n.onMouseDown.call(void 0,r),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseDown,e.onMouseDown,t]),o=i.useCallback((r=>{n.onMouseUp&&n.onMouseUp.call(void 0,r),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseUp,e.onMouseUp,t]),s=i.useCallback((r=>{n.onClick&&n.onClick.call(void 0,r),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onClick,e.onClick,t]),l=i.useCallback((r=>{n.onDoubleClick&&n.onDoubleClick.call(void 0,r),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onDoubleClick,e.onDoubleClick,t]),a=i.useCallback((r=>{n.onMouseEnter&&n.onMouseEnter.call(void 0,r),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseEnter,e.onMouseEnter,t]),c=i.useCallback((r=>{n.onMouseLeave&&n.onMouseLeave.call(void 0,r),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseLeave,e.onMouseLeave,t]),u=i.useCallback((r=>{n.onMouseMove&&n.onMouseMove.call(void 0,r),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseMove,e.onMouseMove,t]),d=i.useCallback((r=>{n.onMouseOut&&n.onMouseOut.call(void 0,r),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOut,e.onMouseOut,t]),f=i.useCallback((r=>{n.onMouseOver&&n.onMouseOver.call(void 0,r),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOver,e.onMouseOver,t]);return{onClick:s,onMouseUp:o,onMouseDown:r,onDoubleClick:l,onMouseEnter:a,onMouseLeave:c,onMouseMove:u,onMouseOut:d,onMouseOver:f}},ne=()=>null,re=({children:e})=>e;var oe=(e=>(e[e.add=0]="add",e[e.remove=1]="remove",e))(oe||{});const se=(e=[])=>{const t=i.useRef(e),n=i.useCallback((e=>{switch(e.type){case 0:t.current.push(e.item);break;case 1:{const n=t.current.indexOf(e.item);t.current.splice(n,1);break}}}),[]);return[t.current,n]},le=e=>{const t=i.useCallback((()=>e.current&&e.current.element?e.current.element:e.current),[e]);return i.useCallback((()=>{const e=t();return e&&e.ownerDocument||document}),[t])},ie={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"},ae=e=>"k-i-"+e,ce=o.shape({name:o.string.isRequired,content:o.string.isRequired,viewBox:o.string.isRequired}),ue=i.forwardRef(((e,t)=>{const{className:n,name:r,themeColor:o,size:s,flip:l,style:a,id:c,tabIndex:u,...d}=e,f=i.useRef(null),h=i.useRef(null);i.useImperativeHandle(f,(()=>({element:h.current}))),i.useImperativeHandle(t,(()=>f.current));const m=i.useMemo((()=>s||de.size),[s]),g=i.useMemo((()=>l||de.flip),[l]),v=i.useMemo((()=>k("k-icon","k-font-icon",r&&ae(r),{[`k-color-${o}`]:o,"k-flip-h":"horizontal"===g||"both"===g,"k-flip-v":"vertical"===g||"both"===g},ie[m],n)),[r,o,m,g,n]),p=te(e,f);return i.createElement("span",{ref:h,...d,...p,className:v,id:c,tabIndex:u,style:a,role:"presentation"})}));ue.propTypes={style:o.object,classNames:o.string,name:o.string,themeColor:o.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:o.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:o.oneOf(["default","horizontal","vertical","both"])};const de={size:"default",flip:"default"};ue.displayName="KendoIcon";const fe=i.forwardRef(((e,t)=>{const{children:n,className:r,svgClassName:o,icon:s,flip:l,id:a,tabIndex:c,size:u,style:d,svgStyle:f,themeColor:h,viewBox:m,name:g,onClick:v,...p}=e,b=i.useRef(null);i.useImperativeHandle(t,(()=>({element:b.current})));const C=i.useMemo((()=>s?s.name:he.icon),[s]),E=i.useMemo((()=>u||he.size),[u]),x=i.useMemo((()=>l||he.flip),[l]),y=i.useMemo((()=>m||he.viewBox),[m]),A=i.useMemo((()=>k("k-icon","k-svg-icon","k-svg-i-"+C,{[`k-color-${h}`]:h,"k-flip-h":"horizontal"===x||"both"===x,"k-flip-v":"vertical"===x||"both"===x},ie[E],r)),[C,h,E,x,r]),I=i.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 i.createElement("span",{className:A,style:I,ref:b,onClick:v,"aria-hidden":!0},i.createElement("svg",{id:a,className:o,style:f,"aria-hidden":!0,tabIndex:c,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:s?s.viewBox:y,dangerouslySetInnerHTML:s?{__html:s.content}:void 0,...p},s?void 0:n))}));fe.propTypes={style:o.object,classNames:o.string,children:o.any,icon:o.object,themeColor:o.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:o.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:o.oneOf(["default","horizontal","vertical","both"])};const he={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};fe.displayName="KendoSvgIcon";const me=i.createContext({type:"svg"});me.displayName="KendoReactIconsContext";const ge=i.forwardRef(((e,t)=>{var n,r;const{type:o,icons:s}=i.useContext(me),{icon:l,...a}=e;let c="svg"===o?(null==(n=e.icon)?void 0:n.name)||e.name:e.name||(null==(r=e.icon)?void 0:r.name);c=c&&s&&s[c]&&"string"==typeof s[c]?s[c]:c;const u=c&&s&&s[c]&&"string"!=typeof s[c]?s[c]:l;return"svg"===o&&u?i.createElement(fe,{...e,icon:u,ref:t}):i.createElement(ue,{...a,name:c,ref:t})}));ge.displayName="KendoIconWrap";const ve={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},pe={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},be={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"},Ce={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},Ee={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},xe={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},ye={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},ke={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"},Ae=e=>{const t=i.forwardRef(((t,n)=>{const{id:r,style:o,className:s,fontSize:l,fontWeight:a,textAlign:c,textTransform:u,themeColor:d,margin:f,...h}=t,m=i.useRef(null),g=i.useRef(null);i.useImperativeHandle(m,(()=>({element:g.current,props:t}))),i.useImperativeHandle(n,(()=>m.current));const v=e,p=()=>{if(void 0!==f){if("string"==typeof f)return[be[f]];if("number"==typeof f&&f>=0&&f<=24)return[`k-m-${f}`];if("object"==typeof f){const e=[];return Object.keys(f).forEach((t=>{null!==f[t]&&void 0!==f[t]&&e.push(((e,t)=>`${Ee[e]}${"string"==typeof t?Ce[t]:t}`)(t,f[t]))})),e.join(" ")}}};return i.createElement(v,{id:r,ref:g,className:[`k-${"p"===e?"paragraph":e}`,ve[l],pe[a],xe[c],ye[u],ke[d],p(),s].filter((e=>void 0!==e)).join(" "),style:o,...h},t.children)}));return t.propTypes={style:o.object,className:o.string,fontSize:o.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:o.oneOf(["light","normal","bold"]),margin:o.oneOfType([o.number,o.object,o.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:o.oneOf(["left","right","center","justify"]),textTransform:o.oneOf(["lowercase","uppercase","capitalize"]),themeColor:o.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName=`KendoReactTypography${e.toUpperCase()}`,t},Ie={h1:Ae("h1"),h2:Ae("h2"),h3:Ae("h3"),h4:Ae("h4"),h5:Ae("h5"),h6:Ae("h6"),p:Ae("p"),code:Ae("code"),pre:Ae("pre")},we=i.createContext([void 0,Y]),De=i.createContext([void 0,Y]),Pe=i.createContext([[],Y,Y]),Oe=i.createContext([[],Y,Y]),Le=(e,t,n)=>{const[r,o]=i.useState(e),s=i.useCallback(((e,t)=>{o(e)}),[n,o]);return[r,s]},Re=e=>{const[t,n]=Le(null),[r,o]=Le(null),[s,l]=se([]),[a,c]=se([]);return i.createElement(we.Provider,{value:[t,n]},i.createElement(De.Provider,{value:[r,o]},i.createElement(Pe.Provider,{value:[s,e=>{l({type:oe.add,item:e})},e=>{l({type:oe.remove,item:e})}]},i.createElement(Oe.Provider,{value:[a,e=>{c({type:oe.add,item:e})},e=>{c({type:oe.remove,item:e})}]},e.children))))};Re.displayName="KendoReactDragAndDrop";const Fe=(e,t)=>{const[n,r]=i.useContext(e),[o,s]=i.useState(t);return[void 0!==n?n:o,(...e)=>{void 0!==n?r(...e):s(e[0])}]};function Me(e,t,n={}){const{onPress:r=Y,onRelease:o=Y,onDragStart:l=Y,onDrag:a=Y,onDragEnd:c=Y}=t,{hint:u=null,mouseOnly:d=!1,autoScroll:f=!0,scrollContainer:h=null}=n,[m,g]=i.useState(!1),[v,p]=i.useState(!1),[b]=Fe(De),[C,E]=Fe(we),[x]=i.useContext(Oe),[y,k,A]=i.useContext(Pe),I=i.useRef({x:0,y:0}),w=i.useRef(),D=i.useRef(!1),P=i.useRef(),O=i.useRef(null),L=i.useRef(!1),R=i.useRef({x:0,y:0}),F=i.useRef({x:0,y:0}),M=i.useRef({x:0,y:0}),S=i.useRef({x:0,y:0}),T=i.useRef({x:0,y:0}),B=i.useRef({x:0,y:0}),N=!("undefined"==typeof window||!window.PointerEvent),H=!d&&N,j=i.useCallback((()=>e.current&&e.current.element?e.current.element:e.current),[e]),Q=i.useCallback((()=>u&&u.current&&u.current.element?u.current.element:u?u.current:null),[u]),z=i.useCallback((()=>h&&h.current&&h.current.element?h.current.element:h?h.current:null),[h]),X=i.useCallback((()=>"object"==typeof f&&f.boundaryElementRef&&f.boundaryElementRef.current&&f.boundaryElementRef.current.element?f.boundaryElementRef.current.element:"object"==typeof f&&f.boundaryElementRef&&f.boundaryElementRef.current?f.boundaryElementRef.current:null),[f]),J=i.useRef(null);i.useImperativeHandle(J,(()=>({element:j(),hint:Q(),onPress:oe,onDragStart:le,onDrag:ie,onDragEnd:ae,onRelease:se,data:e.current})));const G=i.useCallback((()=>{const e=j();return e&&e.ownerDocument||document}),[j]),U=i.useCallback((()=>{const e=G();return e&&e.defaultView||window}),[G]),q=i.useCallback((()=>({drag:C?C.current:null,drop:b?b.current:null,drags:y.map((e=>e.current)),drops:x.map((e=>e.current)),pressed:m,ignoreMouse:D.current,scrollOffset:T.current,offset:R.current,pageOffset:F.current,initialScrollOffset:B.current,clientOffset:M.current,initialClientOffset:S.current,velocity:I.current,autoScroll:!!("object"==typeof f?!1!==f.enabled:f),scrollableParent:X(),autoScrollDirection:"object"==typeof f?f.direction:{horizontal:!0,vertical:!0},isScrolling:v})),[C,b,y,x,m,f,X,v]),K=i.useCallback((e=>{g(e)}),[]),V=i.useCallback((e=>{p(e)}),[]),Z=i.useCallback((e=>{I.current=e}),[]),W=i.useCallback((e=>{R.current=e}),[]),_=i.useCallback((e=>{M.current=e}),[]),ee=i.useCallback((e=>{F.current=e}),[]),te=i.useCallback((e=>{S.current=e}),[]),ne=i.useCallback((e=>{T.current=e}),[]),re=i.useCallback((e=>{B.current=e}),[]),oe=i.useCallback((e=>{r(e)}),[r]),se=i.useCallback((e=>{o(e)}),[o]),le=i.useCallback((t=>{E(J,{target:e.current,event:t}),l(t)}),[E,e,l]),ie=i.useCallback((e=>{a(e)}),[a]),ae=i.useCallback((t=>{L.current||(E(null,{target:e.current,event:t}),c(t))}),[c,E,e]),ce=i.useCallback((e=>{s.dispatchDragAndDrop(q(),{event:e,payload:J.current},{onVelocityChange:Z,onOffsetChange:W,onClientOffsetChange:_,onPageOffsetChange:ee,onInitialClientOffsetChange:te,onScrollOffsetChange:ne,onInitialScrollOffsetChange:re,onIsPressedChange:K,onIsScrollingChange:V})}),[q,Z,W,ee,_,te,re,K,ne,V]),ue=i.useCallback((e=>{ce(e)}),[ce]),de=i.useCallback((e=>{ce(e)}),[ce]),fe=i.useCallback((e=>{ce(e)}),[ce]),he=i.useCallback((e=>{ce(e)}),[ce]),me=i.useCallback((e=>{ce(e)}),[ce]),ge=i.useCallback((e=>{ce(e)}),[ce]),ve=i.useCallback((e=>{ce(e)}),[ce]),pe=i.useCallback((e=>{e.preventDefault(),ce(e)}),[ce]),be=i.useCallback((e=>{e.preventDefault(),ce(e)}),[ce]),Ce=i.useCallback((e=>{e.preventDefault(),ce(e)}),[ce]),Ee=i.useCallback((e=>{if(0===e.touches.length&&1===e.changedTouches.length){const e=U();D.current=!0,P.current=e.setTimeout((()=>{D.current=!1}),2e3)}ce(e)}),[ce,U]),xe=i.useCallback((e=>{ce(e)}),[ce]),ye=i.useCallback((()=>{const e=j();if(e){const t=e.style.touchAction;return e.style.touchAction="none",()=>{e.style.touchAction=t}}}),[j]),ke=i.useCallback((()=>(k(J),()=>{A(J)})),[A,k]);i.useEffect((()=>{const e=U();if(v){const t=z()||s.getScrollableParent(document.elementFromPoint(M.current.x,M.current.y));e.clearInterval(w.current),w.current=e.setInterval((()=>{s.autoScroll(t,{x:I.current.x,y:I.current.y})}),50)}return()=>{e.clearInterval(w.current)}}),[j,z,U,v]),i.useEffect(ye,[ye]),i.useEffect((()=>{const e=U(),t=j(),n=G();return H?(t&&(O.current=s.getScrollableParent(t),O.current&&O.current.addEventListener("scroll",xe,{passive:!0}),t.addEventListener("pointerdown",ue,{passive:!0})),m&&(n.addEventListener("pointermove",de),n.addEventListener("pointerup",he,!0),n.addEventListener("contextmenu",pe),n.addEventListener("pointercancel",fe,{passive:!0}))):(e.addEventListener("touchmove",Y,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",me,{passive:!0}),d||(t.addEventListener("touchstart",be,{passive:!0}),m&&(t.addEventListener("touchmove",Ce,{passive:!0}),t.addEventListener("touchend",Ee,{passive:!0})))),m&&(n.addEventListener("mousemove",ge,{passive:!0}),n.addEventListener("mouseup",ve,{passive:!0}))),()=>{O.current&&O.current.removeEventListener("scroll",xe),t&&(t.removeEventListener("pointerdown",ue),t.removeEventListener("mousedown",me),t.removeEventListener("touchstart",be),t.removeEventListener("touchmove",Ce),t.removeEventListener("touchend",Ee)),n.removeEventListener("pointermove",de),n.removeEventListener("pointerup",he,!0),n.removeEventListener("contextmenu",pe),n.removeEventListener("pointercancel",fe),n.removeEventListener("mousemove",ge),n.removeEventListener("mouseup",ve),e.removeEventListener("touchmove",Y),e.clearTimeout(P.current)}}),[m,U,j,G,d,H,pe,me,ge,ve,fe,ue,de,he,Ee,Ce,be,xe]),i.useEffect((()=>(L.current=!1,()=>{L.current=!0})),[]),$(ke,[ke])}const Se=i.forwardRef(((e,t)=>{const n=i.useRef(null),r=i.useRef(null),o=i.useCallback((()=>n.current&&n.current.element?n.current.element:n.current),[n]);i.useImperativeHandle(r,(()=>({element:o()||null}))),i.useImperativeHandle(t,(()=>r.current)),i.useImperativeHandle(e.childRef,(()=>n.current));const s=i.useCallback((t=>{e.onPress&&e.onPress({element:o(),target:r.current,event:t})}),[o,e.onPress]),l=i.useCallback((t=>{e.onRelease&&e.onRelease({element:o(),target:r.current,event:t})}),[o,e.onRelease]),a=i.useCallback((t=>{e.onDragStart&&e.onDragStart({element:o(),target:r.current,event:t})}),[e,o]),c=i.useCallback((t=>{e.onDrag&&e.onDrag({element:o(),target:r.current,event:t})}),[o,e.onDrag]),u=i.useCallback((t=>{e.onDragEnd&&e.onDragEnd({element:o(),target:r.current,event:t})}),[o,e.onDragEnd]);return Me(n,{onPress:s,onRelease:l,onDragStart:a,onDrag:c,onDragEnd:u},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?i.cloneElement(i.Children.only(e.children),{ref:n}):null}));function Te(e,t={onDragEnter:Y,onDragOver:Y,onDragLeave:Y,onDrop:Y}){const{onDragEnter:n=Y,onDragOver:r=Y,onDragLeave:o=Y,onDrop:s=Y}=t,[,l]=Fe(De),[,a,c]=i.useContext(Oe),u=i.useCallback((()=>e.current&&e.current.element?e.current.element:e.current),[e]),d=i.useRef(null);i.useImperativeHandle(d,(()=>({element:u(),onDragEnter:f,onDragOver:h,onDragLeave:m,onDrop:g,data:e.current})));const f=i.useCallback((t=>{l(d,{target:e.current,event:t}),n(t)}),[l,e,n]),h=i.useCallback((e=>{r(e)}),[r]),m=i.useCallback((t=>{l(null,{target:e.current,event:t}),o(t)}),[l,e,o]),g=i.useCallback((t=>{l(null,{target:e.current,event:t}),s(t)}),[l,e,s]),v=i.useCallback((()=>(a(d),()=>{c(d)})),[c,a]);$(v,[v])}Se.displayName="KendoReactDraggable";const Be=i.forwardRef(((e,t)=>{const n=i.useRef(null),r=i.useRef(null),o=i.useCallback((()=>n.current&&n.current.element?n.current.element:n.current),[n]);i.useImperativeHandle(r,(()=>({element:o()||void 0}))),i.useImperativeHandle(t,(()=>r.current)),i.useImperativeHandle(e.childRef,(()=>n.current));const s=i.useCallback((t=>{e.onDragEnter&&e.onDragEnter({element:o(),target:r.current,event:t})}),[e.onDragEnter,o]),l=i.useCallback((t=>{e.onDragOver&&e.onDragOver({element:o(),target:r.current,event:t})}),[o,e.onDragOver]),a=i.useCallback((t=>{e.onDragLeave&&e.onDragLeave({element:o(),target:r.current,event:t})}),[e.onDragLeave,o]),c=i.useCallback((t=>{e.onDrop&&e.onDrop({element:o(),target:r.current,event:t})}),[e.onDrop,o]);return Te(n,{onDragEnter:s,onDragOver:l,onDragLeave:a,onDrop:c}),e.children?i.cloneElement(i.Children.only(e.children),{ref:n}):null}));Be.displayName="KendoReactDroppable";function Ne(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function He(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!Ne(e[n],t[n]))return!1;return!0}const je=e=>{const t=e.shadowRoot,n=e.contentDocument;return t&&t.activeElement?je(t.activeElement):n&&n.activeElement?je(n.activeElement):e};function Qe(e,t){const n=(e||"").split(".");let r=t;return n.forEach((e=>{r=r?r[e]:void 0})),r}class ze{constructor(){this.objects=[]}init(e){let t;for(let n=0;n<e.length;n++)n%5e4==0&&(t={},this.objects.push(t)),t[e[n]]=!0}hasId(e){return this.objects.some((t=>t[e]))}}function Xe(e,t){const n=Qe(t,e);return!(!n||!n.length)}function Ye(e,t,n,r){const o=[],s=new ze;return s.init(e),Je(s,t,n,c,o,r),o}function Je(e,t,n,r,o,s){for(let l=0;l<n.length;l++){const i=n[l],a=h(l,r);e.hasId(Qe(t,i))&&o.push(a),Xe(i,s)&&Je(e,t,Qe(s,i),a,o,s)}}e.AsyncFocusBlur=({children:e,onFocus:t,onBlur:n,onSyncFocus:r,onSyncBlur:o})=>{const s=W({onFocus:t,onBlur:n,onSyncFocus:r,onSyncBlur:o});return i.createElement(i.Fragment,null,e.call(void 0,{...s}))},e.BrowserSupportService=x,e.COLLECTION_ACTION=oe,e.DragAndDrop=Re,e.Draggable=Se,e.Droppable=Be,e.FIELD_REGEX=O,e.FOCUSABLE_ELEMENTS=M,e.FOCUSABLE_ELEMENTS_BASE=F,e.FormComponent=class{},e.Icon=ue,e.IconWrap=ge,e.IconsContext=me,e.KEYS={backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",esc:"Escape",space:" ",pageUp:"PageUp",pageDown:"PageDown",end:"End",home:"Home",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",delete:"Delete"},e.Keys=P,e.Navigation=class{constructor(e){this.rovingTabIndex=!0,this.update=()=>{},this.setFocusClass=e=>{e.target.classList.add(this.focusClass)},this.disableTabindexForRest=e=>{this.elements.forEach((t=>{t!==e&&t.setAttribute("tabindex","-1")}))},this.focusNextIndex=(e,t,n)=>{const r=1===t?this.next(e,n):this.previous(e,n);return this.focusElement(r,e),r},this.tabIndex=e.tabIndex||0,this.root=e.root,this.selectors=e.selectors,this.focusOptions=e.focusOptions||{preventScroll:!0},this.rovingTabIndex=void 0===e.rovingTabIndex||e.rovingTabIndex,this.mouseEvents=e.mouseEvents||{},this.keyboardEvents=e.keyboardEvents||{},this.focusClass=e.focusClass,this.lastFocused=null}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 e=this.elements;return e[e.length-1]||null}get current(){return this.elements.find((e=>e.matches(":focus")))||null}next(e,t){const n=t?this.customElements(t):this.elements;let r=n.indexOf(e)+1;return r=r<0?n.length-1:r,n[r%n.length]}previous(e,t){const n=t?this.customElements(t):this.elements;let r=n.indexOf(e)-1;return r=r<0?n.length-1:r,n[r%n.length]}focusNext(e,t){return this.focusNextIndex(e,1,t)}focusPrevious(e,t){return this.focusNextIndex(e,-1,t)}triggerKeyboardEvent(e,t){const n=this.target(e.target),r=n&&n.closest(this.selectors.join(",")),o=" "===e.key?"Space":e.key,s=e.nativeEvent.type;r&&this.keyboardEvents[s][o]&&this.keyboardEvents[s][o].call(void 0,r,this,e,t)}triggerMouseEvent(e){const t=this.target(e.target),n=t&&t.closest(this.selectors.join(",")),r=e.nativeEvent.type;n&&this.mouseEvents[r].call(void 0,n,this,e)}focusElement(e,t){e&&(t&&(this.rovingTabIndex&&t.setAttribute("tabindex","-1"),this.focusClass&&(this.removeFocusClass(t),t.removeEventListener("focus",this.setFocusClass))),this.rovingTabIndex&&e.setAttribute("tabindex",String(this.tabIndex)),this.focusClass&&(e.classList.add(this.focusClass),e.addEventListener("focus",this.setFocusClass)),e.focus(this.focusOptions),this.lastFocused=e)}initializeRovingTab(e){const t=e?this.elements[e]:this.first;t&&(this.focusClass&&t.addEventListener("focus",this.setFocusClass),t.setAttribute("tabindex",String(this.tabIndex)),this.disableTabindexForRest(t))}removeFocusListener(){this.lastFocused&&this.lastFocused.removeEventListener("focus",this.setFocusClass)}removeFocusClass(e){this.focusClass&&e.classList.remove(this.focusClass)}customElements(e){return this.root.current?Array.from(this.root.current.querySelectorAll(e.join(","))):[]}target(e){var t;const n=e&&e.ownerDocument||null;return e instanceof(n&&(null==(t=null==n?void 0:n.defaultView)?void 0:t.Element)||Element)?e:null}},e.RowHeightService=class{constructor(e=0,t,n,r){this.total=e,this.offsets=[],this.heights=[];let o=0;for(let s=0;s<e;s++){this.offsets.push(o);const e=r&&r[s].expanded&&"data"===r[s].rowType?n:t;o+=e,this.heights.push(e)}}height(e){return this.heights[e]}index(e){for(let t=0;t<this.offsets.length;t++){if(e===this.offsets[t])return t;if(e<this.offsets[t])return t-1}return this.total-1}offset(e){return this.offsets[e]}totalHeight(){return this.offsets[this.offsets.length-1]+this.heights[this.heights.length-1]}},e.SortedPublicItemIds=ze,e.SvgIcon=fe,e.TABBABLE_ELEMENTS=S,e.TreeFieldsService=class{constructor(e){this.expandField=e.expandField,this.selectField=e.selectField,this.hasChildrenField=e.hasChildrenField,this.childrenField=e.childrenField,this.textField=e.textField,this.disableField=e.disableField,this.checkField=e.checkField,this.checkIndeterminateField=e.checkIndeterminateField,this.focusIdField=e.focusIdField}expanded(e){return Qe(this.expandField,e)}selected(e){return Qe(this.selectField,e)}text(e){return Qe(this.textField,e)}disabled(e){return Qe(this.disableField,e)}hasChildren(e){return Qe(this.hasChildrenField,e)}children(e){return Qe(this.childrenField,e)||[]}checked(e){return Qe(this.checkField,e)}checkIndeterminate(e){return Qe(this.checkIndeterminateField,e)}focusId(e){return this.focusIdField&&Qe(this.focusIdField,e)}getChildrenField(){return this.childrenField}},e.Typography=Ie,e.WatermarkOverlay=()=>{const[e,t]=i.useState(!0),[n,r]=i.useState(!1);i.useEffect((()=>{Z||(r(!0),Z=!0)}),[]);const o=i.createElement(i.Fragment,null,e&&i.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:2e3}},i.createElement("span",{style:{display:"flex",alignSelf:"center",marginRight:"8px"}},i.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1L0 15H16L8 1ZM7 6V11H9V6H7ZM7 14V12H9V14H7Z",fill:"#1E1E1E"}))),i.createElement("span",null,"No valid license found for KendoReact. Learn how to activate your license."),i.createElement("div",{style:{display:"flex",alignItems:"center",marginLeft:"24px"}},i.createElement("a",{href:"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",style:{marginRight:"8px",display:"flex"}},i.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"}},i.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},i.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"})))),i.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:()=>{t(!1)}},i.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},i.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 i.createElement(i.Fragment,null,i.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,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA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vB8wAngbH8UN/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&&a.createPortal(o,document.body))},e.ZIndexContext=E,e.addItem=function e(t,n,r,o,s){const l=s.slice();if(v(o))if("child"===n){const e=l[Number(o)]={...l[Number(o)]};e[r]?(e[r]=e[r].slice(),e[r].push(t)):e[r]=[t]}else l.splice(Number(o)+("after"===n?1:0),0,t);else{const s=Number(d(o)),i=l[s]={...l[s]};i[r]=e(t,n,r,f(o),i[r])}return l},e.applyTrappedFocus=(e,t,n,r)=>{let o=!0;e.keyCode===P.enter||e.target!==t?(e.keyCode===P.enter&&e.target===t?(o=!0,setTimeout((()=>{H(t,r)}),1)):e.keyCode===P.esc?(o=!1,t.focus()):j(e,t,r),n&&n(o)):n&&n(!1)},e.areAllDirectChildrenChecked=function(e,t,n,r,o){return(e[r]||[]).every(((e,r)=>o.indexOf(n?Qe(n,e):h(r,t))>-1))},e.canUseDOM=y,e.canUseRef=e=>"string"!=typeof Comment&&((e=>{var t;return!("function"!=typeof e||null==(t=e.prototype)||!t.isReactComponent)})(e)||(e=>!(!e.$$typeof||"function"!=typeof e.render))(e)),e.classNames=k,e.clone=function(e){const t={};return I(e,t),t},e.cloneArray=D,e.cloneDate=A,e.cloneObject=I,e.cloneValue=w,e.createPropsContext=()=>i.createContext((e=>e)),e.disableNavigatableContainer=(e,t)=>{const n=T(e,t);n&&n.forEach((e=>{e.tabIndex=-1}))},e.dispatchEvent=function(e,t,n,r){if(e){const o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}},e.enableNavigatableContainer=(e,t)=>{const n=T(e,t);n&&n.forEach((e=>{e.tabIndex=0}))},e.extendDataItem=(e,t,n)=>Object.assign({},e,e[t]?{[t]:e[t].slice()}:{},n||{}),e.firstFocusableChild=B,e.focusFirstFocusableChild=H,e.focusLastFocusableChild=(e,t)=>{if(e){const n=N(e,t);n&&n.focus()}},e.focusableChildren=T,e.getActiveElement=e=>{if(e&&e.activeElement)return je(e.activeElement)},e.getAllDirectIndirectChildrenIds=function(e,t,n,r){return r?function e(t){let o=[];const s=t[n]||[];for(let t=0;t<s.length;t++)o.push(Qe(r,s[t])),o=o.concat(e(s[t]));return o}(e):function e(t,r){let o=[];const s=t[n]||[];for(let t=0;t<s.length;t++){const n=h(t,r);o.push(n),o=o.concat(e(s[t],n))}return o}(e,t)},e.getAllParents=function(e,t,n){const r=[],o=p(e);let s=n;for(let e=0;e<o.length-1&&s;e++){const n=s[Number(o[e])];r.push(n),s=n[t]}return r},e.getInnerActiveElement=je,e.getItemPath=(e,t,n)=>{const r=[],o=[...t];if(o.length){let t=e[o.shift()||0];for(r.push(t);o.length&&n;)t=t[n][o.shift()||0],r.push(t)}return r},e.getNestedValue=Qe,e.getScrollbarWidth=()=>!(!y||!document.body)&&(new x).scrollbarWidth,e.getTabIndex=(e,t,n)=>{const r="string"==typeof e?parseInt(e):e;if(!Number.isNaN(r))return void 0!==r?r:t?n?void 0:-1:0},e.getter=function(e){if(z[e])return z[e];const t=Q(e);return z[e]=function(e){let n=e;for(let e=0;e<t.length&&n;e++)n=n[t[e]];return n},z[e]},e.guid=X,e.hasChildren=Xe,e.hasRelativeStackingContext=e=>{if(!y)return!1;const t=e?e.ownerDocument:document;if(!t||!t.body)return!1;const n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)";const r=t.createElement("div");r.appendChild(t.createTextNode("child")),r.style.position="fixed",r.style.top="10px",n.appendChild(r),t.body.appendChild(n);const o=10!==r.getBoundingClientRect().top;return t.body.removeChild(n),o},e.isArray=function(e){return void 0!==e.length},e.isEnabledAndAllParentsEnabled=function(e,t,n){const r=p(e);let o=t;for(let e=0;e<r.length;e++){const t=o[Number(r[e])];if(n.disabled(t))return!1;o=t[n.getChildrenField()]}return!0},e.isItemExpandedAndWithChildren=function(e,t){return t.expanded(e)&&Xe(e,t.getChildrenField())},e.keepFocusInContainer=j,e.kendoThemeMaps={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"},orientationMap:{vertical:"vstack",horizontal:"hstack"}},e.lastFocusableChild=N,e.mapTree=(e,t,n)=>[...e.map((e=>q(e,t,n)))],e.mapTreeItem=(e,t,n,r)=>{let o=e;const s=[];for(let e=0;e<t.length;e++)o=o[t[e]],o=Array.isArray(o)?o:o[n],s.push(o);const l=s.length>1?s[s.length-2]:e,i=t[t.length-1],a=r(l[i]);l.splice(i,1,a)},e.memoizeOne=function(e,t=He){let n=null;function r(...r){if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;const o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r},e.noop=Y,e.removeItem=function e(t,n,r){const o=r.slice();if(v(t))o.splice(Number(t),1);else{const r=Number(d(t)),s=o[r]={...o[r]};s[n]=e(f(t),n,s[n])}return o},e.resolveItemId=function(e,t,n,r){const o=Ye([e],t,n,r);return o.length?o[0]:void 0},e.resolveItemsIds=Ye,e.setScrollbarWidth=e=>{if(!y||!document.body)return!1;const t=e||(new x).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",`${t}px`)},e.setter=function(e){if(J[e])return J[e];const t=Q(e);return J[e]=(e,n,r)=>{let o=e;const s=t.length-1;for(let e=0;e<s&&o;e++)o=o[t[e]]=o[t[e]]||G(t[e+1],r);o[t[s]]=n},J[e]},e.shouldShowValidationUI=function(e){return!K.some((e=>{var t;return null==(t=globalThis.document)?void 0:t.location.hostname.endsWith(e)}))&&!n.validatePackage(e)},e.svgIconPropType=ce,e.toIconClass=ae,e.toIconName=e=>e.replace(/^k-i-/,""),e.treeIdUtils=C,e.updateItem=function e(t,n,r,o,s){const l=Number(d(n));if(l>=t.length)return t;let i=t,a=t[l];return a[o]||(i=t.slice(),a=i[l]=Object.assign({},a,{[o]:!0})),v(n)?r(a):a[s]&&(a[s]=e(a[s],f(n),r,o,s)),i},e.useAsyncFocusBlur=W,e.useCollection=se,e.useCustomComponent=e=>e?e===i.Fragment?[re,{}]:i.isValidElement(e)?[e.type,e.props]:[e,{}]:[ne,{}],e.useDir=function(e,t,n){const[r,o]=i.useState(t);return i.useEffect((()=>{if(!r&&window&&e.current){const t=window.getComputedStyle(e.current).direction;t&&o(t)}}),n),r},e.useDocument=le,e.useDraggable=Me,e.useDroppable=Te,e.useId=ee,e.useIsomorphicLayoutEffect=$,e.useMouse=te,e.usePropsContext=_,e.useRtl=function(e,t,n){const[r,o]=i.useState(t);return i.useEffect((()=>{if(!r&&window&&e.current){const t=window.getComputedStyle(e.current).direction;t&&o(t)}}),n),r},e.useWindow=e=>{const t=le(e);return i.useCallback((()=>{const e=t();return e&&e.defaultView||window}),[t])},e.useZIndexContext=()=>i.useContext(E),e.validatePackage=V,e.withIdHOC=e=>i.forwardRef(((t,n)=>{const r=ee(t.id);return i.createElement(e,{...t,id:r,ref:n})})),e.withPropsContext=(e,t)=>i.forwardRef(((n,r)=>{const o=_(e,n);return i.createElement(t,{...o,ref:r})}))}));
8
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@progress/kendo-licensing"),require("react-dom"),require("prop-types"),require("@progress/kendo-draggable-common")):"function"==typeof define&&define.amd?define(["exports","react","@progress/kendo-licensing","react-dom","prop-types","@progress/kendo-draggable-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactCommon={},e.React,e.KendoLicensing,e.ReactDOM,e.PropTypes,e.KendoDraggableCommon)}(this,(function(e,t,r,i,n,o){"use strict";function a(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var l=a(t),s=a(i);const c="",d="_";function u(e){return m(e)?e:e.split(d)[0]}function $(e){if(m(e))return e;{const t=e.indexOf(d);return e.substring(t+1)}}function p(e,t){return e=e.toString(),t?t+d+e:e}function f(e){const t=e.lastIndexOf(d);return t<0?c:e.substring(0,t)}function m(e){return e===c||e.indexOf(d)<0}function x(e){return e!==c&&e.indexOf(d)<0}function h(e){return e.split(d)}function g(e){const t=e.lastIndexOf(d);return t<0?e:e.substring(t+1)}var v=Object.freeze({__proto__:null,EMPTY_ID:c,SEPARATOR:d,ZERO_LEVEL_ZERO_NODE_ID:"0",createId:p,getAllShortIds:h,getDecrementedItemIdAfterRemoval:function(e,t){const r=t;t="r"+d+t;const i=f(e="r"+d+e)+d;if(t.startsWith(i)){const r=t.substring(i.length);if(r){const t=u(r);if(Number(g(e))<Number(t)){return $(i+(Number(t)-1).toString()+r.substring(t.length))}}}return r},getDirectParentId:f,getFirstChildId:function(e){return p("0",e)},getIdWithoutRootParentId:$,getItemById:function e(t,r,i){if(x(t))return r[Number(t)];{const n=r[Number(u(t))],o=n&&n[i]||[];return o.length?e($(t),o,i):void 0}},getRootParentId:u,getShortId:g,isIdEmptyOrZeroLevel:m,isIdZeroLevel:x,isItemFirstFromSiblings:function(e){return"0"===g(e)}});const b=l.createContext(0);b.displayName="KendoReactZIndexContext";let w=class{constructor(){this.scrollbar=0}get scrollbarWidth(){const e="undefined"!=typeof document?document:{};if(!this.scrollbar&&e&&e.createElement){const t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar}};const k=!("undefined"==typeof window||!window.document||!window.document.createElement),y=(...e)=>{const t={},r=e=>e.filter((e=>!0!==e&&!!e)).map((e=>Array.isArray(e)?r(e):(e=>"object"==typeof e?Object.keys(e).forEach((r=>{t[r]=e[r]})):t[e]=!0)(e)));return r(e),Object.keys(t).map((e=>t[e]&&e||null)).filter((e=>null!==e)).join(" ")},C=e=>e?new Date(e.getTime()):null;function E(e,t){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];t[r]=z(i,t[r])}}function z(e,t){if(Array.isArray(e))return I(e);if(e instanceof Date)return C(e);if(l.isValidElement(e))return l.cloneElement(e,e.props);if(e&&"object"==typeof e){const r=t||{};return E(e,r),r}return e}function I(e){return e.map((e=>z(e,void 0)))}const A={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},D=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,M=":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-numerictextbox button):not(.k-split-button .k-split-button-arrow)",R=":not(.k-dropdownlist select)",P=["input:not([disabled]):not([type=hidden])","select:not([disabled]):not(.k-dropdownlist select)","textarea:not([disabled])",`button:not([disabled])${M}`,"a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],O=[...P,`[tabindex]${M}${R}`],L=[...P,`[tabindex]${M}${R}`].map((e=>e+':not([tabindex="-1"])')),T=(e,t=O)=>e.querySelectorAll(t.join(",")),S=(e,t=O)=>{if(e){const r=T(e,t);if(r.length&&r[0].focus)return r[0]}},F=(e,t=O)=>{if(e){const r=T(e,t);if(r.length&&r[r.length-1].focus)return r[r.length-1]}},H=(e,t)=>{if(e){const r=S(e,t);r&&r.focus()}},B=(e,t,r)=>{if(t&&e.keyCode===A.tab&&t){const i=S(t,r),n=F(t,r);i&&n&&!e.shiftKey&&e.target===n&&(e.preventDefault(),i.focus()),i&&n&&e.shiftKey&&e.target===i&&(e.preventDefault(),n.focus()),i||e.preventDefault()}};function N(e){const t=[];return e.replace(D,(function(e,r,i,n){t.push(void 0!==r?r:i||n)})),t}const j={};j.undefined=()=>{};const Q=()=>{let e,t,r="";for(e=0;e<32;e++)t=16*Math.random()|0,(8===e||12===e||16===e||20===e)&&(r+="-"),r+=(12===e?4:16===e?3&t|8:t).toString(16);return r},q=function(){},U={undefined:e=>e},G=(e,t)=>t&&t.arrays&&!isNaN(Number(e))?[]:{};function V(e,t,r){return r?{...e,[t]:r.length?[...r]:void 0}:e&&e[t]?[...e[t]]:[]}function X(e,t,r){if(e[t]){let i=V(e,t).map((e=>X(e,t,r)));return r(V(e,t,i))}return r(e)}const Y=["telerik.com","progress.com","stackblitz.io","csb.app"],J=r.validatePackage;let W=!1;function K({onFocus:e,onBlur:t,onSyncFocus:r,onSyncBlur:i}){const n=l.useRef(!1),o=l.useRef(0),a=l.useCallback((e=>{clearTimeout(o.current),o.current=window.setTimeout((()=>e()))}),[o]),s=l.useCallback(((...t)=>{clearTimeout(o.current),r&&r.call(void 0,t[0]),!n.current&&(n.current=!0,e&&e.call(void 0,...t))}),[n,e,r]),c=l.useCallback(((...e)=>{i&&i.call(void 0,e[0]),a((()=>{n.current&&t&&(n.current=!1,t.call(void 0,...e))}))}),[n,a,t,i]);return l.useEffect((()=>()=>{clearTimeout(o.current)}),[]),{onFocus:s,onBlur:c}}const Z=(e,t)=>l.useContext(e)(t),_="undefined"!=typeof window?l.useLayoutEffect:l.useEffect;function ee(e){const[t,r]=l.useState(!1);l.useEffect((()=>{r(!0)}),[]);const[i,n]=l.useState((()=>e||(t?Q():void 0)));_((()=>{void 0===i&&n(Q())}),[]);const o=l[`useId${Q()}`.slice(0,5)];if(void 0!==o){const t=o();return null!=e?e:t}return i}const te=t.createContext(void 0),re=()=>t.useContext(te);const ie=(e,t,r={})=>{const i=l.useCallback((i=>{r.onMouseDown&&r.onMouseDown.call(void 0,i),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:i})}),[r.onMouseDown,e.onMouseDown,t]),n=l.useCallback((i=>{r.onMouseUp&&r.onMouseUp.call(void 0,i),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:i})}),[r.onMouseUp,e.onMouseUp,t]),o=l.useCallback((i=>{r.onClick&&r.onClick.call(void 0,i),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:i})}),[r.onClick,e.onClick,t]),a=l.useCallback((i=>{r.onDoubleClick&&r.onDoubleClick.call(void 0,i),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:i})}),[r.onDoubleClick,e.onDoubleClick,t]),s=l.useCallback((i=>{r.onMouseEnter&&r.onMouseEnter.call(void 0,i),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:i})}),[r.onMouseEnter,e.onMouseEnter,t]),c=l.useCallback((i=>{r.onMouseLeave&&r.onMouseLeave.call(void 0,i),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:i})}),[r.onMouseLeave,e.onMouseLeave,t]),d=l.useCallback((i=>{r.onMouseMove&&r.onMouseMove.call(void 0,i),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:i})}),[r.onMouseMove,e.onMouseMove,t]),u=l.useCallback((i=>{r.onMouseOut&&r.onMouseOut.call(void 0,i),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:i})}),[r.onMouseOut,e.onMouseOut,t]),$=l.useCallback((i=>{r.onMouseOver&&r.onMouseOver.call(void 0,i),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:i})}),[r.onMouseOver,e.onMouseOver,t]);return{onClick:o,onMouseUp:n,onMouseDown:i,onDoubleClick:a,onMouseEnter:s,onMouseLeave:c,onMouseMove:d,onMouseOut:u,onMouseOver:$}},ne=()=>null,oe=({children:e})=>e;var ae=(e=>(e[e.add=0]="add",e[e.remove=1]="remove",e))(ae||{});const le=(e=[])=>{const t=l.useRef(e),r=l.useCallback((e=>{switch(e.type){case 0:t.current.push(e.item);break;case 1:{const r=t.current.indexOf(e.item);t.current.splice(r,1);break}}}),[]);return[t.current,r]},se=e=>{const t=l.useCallback((()=>e.current&&e.current.element?e.current.element:e.current),[e]);return l.useCallback((()=>{const e=t();return e&&e.ownerDocument||document}),[t])},ce={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"},de=e=>"k-i-"+e,ue=n.shape({name:n.string.isRequired,content:n.string.isRequired,viewBox:n.string.isRequired}),$e=l.forwardRef(((e,t)=>{const{className:r,name:i,themeColor:n,size:o,flip:a,style:s,id:c,tabIndex:d,...u}=e,$=l.useRef(null),p=l.useRef(null);l.useImperativeHandle($,(()=>({element:p.current}))),l.useImperativeHandle(t,(()=>$.current));const f=l.useMemo((()=>o||pe.size),[o]),m=l.useMemo((()=>a||pe.flip),[a]),x=l.useMemo((()=>y("k-icon","k-font-icon",i&&de(i),{[`k-color-${n}`]:n,"k-flip-h":"horizontal"===m||"both"===m,"k-flip-v":"vertical"===m||"both"===m},ce[f],r)),[i,n,f,m,r]),h=ie(e,$);return l.createElement("span",{ref:p,...u,...h,className:x,id:c,tabIndex:d,style:s,role:"presentation"})}));$e.propTypes={style:n.object,classNames:n.string,name:n.string,themeColor:n.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:n.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:n.oneOf(["default","horizontal","vertical","both"])};const pe={size:"default",flip:"default"};$e.displayName="KendoIcon";const fe={prefix:"k",important:"!",rtl:"rtl",rounded:"rounded",value:"value",state:"state",filter:"filter",virtual:"virtual",infinite:"infinite",clear:"clear",reset:"reset",nodata:"nodata"},me={center:"center",hbox:"hbox",vstack:"vstack",overflow:"overflow"},xe={actionsheet:"actionsheet",calendar:"calendar",buttongroup:"buttongroup",dateinput:"dateinput",datetime:"datetime",datetimepicker:"datetimepicker",dropdownlist:"dropdownlist",maskedtextbox:"maskedtextbox",menu:"menu",searchbox:"searchbox",timepicker:"timepicker"},he={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",xxlarge:"xxl",xxxlarge:"xxxl"},ge={solid:"solid",outline:"outline",flat:"flat",link:"link",clear:"clear"},ve={base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inherit:"inherit",inverse:"inverse"},be={small:"sm",medium:"md",large:"lg",full:"full"},we={vertical:"vertical",horizontal:"horizontal"},ke={height:"height",width:"width"},ye={default:"cursor-default"},Ce={up:"up",down:"down",left:"left",right:"right",start:"start",mid:"mid",end:"end"},Ee={actions:"actions",container:"container",content:"content",group:"group",row:"row",nav:"nav",wrap:"wrap",wrapper:"wrapper",list:"list",placeholder:"placeholder",popup:"popup",item:"item",part:"part",picker:"picker",separator:"separator",spacer:"spacer",tab:"tab",titlebar:"titlebar",optionlabel:"optionlabel",view:"view"},ze={table:"table",text:"text",button:"button",tbody:"tbody",thead:"thead",tr:"tr",th:"th",td:"td",header:"header",footer:"footer",icon:"icon",title:"title",link:"link",label:"label",ul:"ul",caption:"caption"},Ie={increase:"increase",decrease:"decrease",cancel:"cancel",accept:"accept",split:"split"},Ae={active:"active",adaptive:"adaptive",first:"first",focus:"focus",pending:"pending",last:"last",draggable:"draggable",filterable:"filterable",grouping:"grouping",selected:"selected",disabled:"disabled",hidden:"hidden",highlight:"highlight",invalid:"invalid",loading:"loading",required:"required",checked:"checked",empty:"empty",scrollable:"scrollable",sorted:"sorted",sort:"sort",sticky:"sticky",stretched:"stretched",order:"order",alt:"alt",edit:"edit",template:"template",shown:"shown",horizontal:"horizontal",vertical:"vertical",fullscreen:"fullscreen",bottom:"bottom"},De={prefix:"animation",child:"child",relative:"relative",slide:"slide",appear:"appear",active:"active",enter:"enter",exit:"exit",pushRight:"push-right",pushLeft:"push-left",pushDown:"push-down",pushUp:"push-up",expandVertical:"expand-vertical",expandHorizontal:"expand-horizontal",fade:"fade",zoomIn:"zoom-in",zoomOut:"zoom-out",slideIn:"slide-in",slideDown:"slide-down",slideUp:"slide-up",slideRight:"slide-right",slideLeft:"slide-left",revealVertical:"reveal-vertical",revealHorizontal:"reveal-horizontal","animation-container":"animation-container","animation-container-shown":"animation-container-shown","animation-container-relative":"animation-container-relative","animation-container-fixed":"animation-container-fixed","child-animation-container":"child-animation-container"},Me={input:"input",inner:"inner",spin:"spin",spinner:"spinner",maskedtextbox:"maskedtextbox",radio:"radio",textbox:"textbox",prefix:"prefix",suffix:"suffix"},Re={week:"week",weekdays:"weekdays",weekend:"weekend",month:"month",year:"year",decade:"decade",century:"century",number:"number",navigation:"navigation",marker:"marker",now:"now",range:"range",today:"today",other:"other",date:"date",time:"time",selector:"selector",timeselector:"timeselector"},Pe={prefix:"icon",svg:"svg",i:"i",color:"color",flipH:"flip-h",flipV:"flip-v"},Oe={label:"label",text:"text",floatingLabel:"floating-label",container:"container",hint:"form-hint",error:"form-error"},Le={form:"form",field:"field"},Te={prefix:"popup"},Se={prefix:"grid",ariaRoot:"aria-root",tableWrap:"table-wrap",master:"master",column:"column",cell:"cell",cellInner:"cell-inner",row:"row",group:"group",hierarchy:"hierarchy",detail:"detail",noRecords:"norecords",pager:"pager"},Fe=`${fe.prefix}-${Me.input}`,He=`${fe.prefix}-${xe.calendar}`,Be=`${fe.prefix}-${xe.maskedtextbox}`,Ne=`${fe.prefix}-${Me.radio}`,je=`${fe.prefix}-${ze.button}`,Qe=`${fe.prefix}-${xe.menu}`,qe=`${fe.prefix}-${Ee.picker}`,Ue=`${fe.prefix}-${xe.dropdownlist}`,Ge=`${fe.prefix}-${Se.prefix}`,Ve={base:fe,actions:Ie,animation:De,sizeMap:he,components:xe,cssUtils:me,directionMap:Ce,fillModeMap:ge,themeColorMap:ve,roundedMap:be,orientationMap:we,elements:ze,states:Ae,dimensions:ke,containers:Ee,cursor:ye,inputs:Me,dateInputs:Re,labels:Oe,forms:Le,popup:Te,icon:Pe,grid:Se},Xe={prefix:`${fe.prefix}-${Pe.prefix}`,svgPrefix:`${fe.prefix}-${Pe.svg}-${Pe.prefix}`,flipH:`${fe.prefix}-${Pe.flipH}`,flipV:`${fe.prefix}-${Pe.flipV}`,themeColor:{inherit:`${fe.prefix}-${Pe.color}-${ve.inherit}`,primary:`${fe.prefix}-${Pe.color}-${ve.primary}`,secondary:`${fe.prefix}-${Pe.color}-${ve.secondary}`,tertiary:`${fe.prefix}-${Pe.color}-${ve.tertiary}`,info:`${fe.prefix}-${Pe.color}-${ve.info}`,success:`${fe.prefix}-${Pe.color}-${ve.success}`,warning:`${fe.prefix}-${Pe.color}-${ve.warning}`,error:`${fe.prefix}-${Pe.color}-${ve.error}`,dark:`${fe.prefix}-${Pe.color}-${ve.dark}`,light:`${fe.prefix}-${Pe.color}-${ve.light}`,inverse:`${fe.prefix}-${Pe.color}-${ve.inverse}`},size:{xsmall:`${fe.prefix}-${Pe.prefix}-${he.xsmall}`,small:`${fe.prefix}-${Pe.prefix}-${he.small}`,medium:`${fe.prefix}-${Pe.prefix}-${he.medium}`,large:`${fe.prefix}-${Pe.prefix}-${he.large}`,xlarge:`${fe.prefix}-${Pe.prefix}-${he.xlarge}`,xxlarge:`${fe.prefix}-${Pe.prefix}-${he.xxlarge}`,xxxlarge:`${fe.prefix}-${Pe.prefix}-${he.xxxlarge}`}},Ye={wrapper:e=>{const{iconNameProp:t,themeColor:r,flipH:i,flipV:n,size:o,c:a=Xe}=e;return{[a.prefix]:!0,[a.svgPrefix]:!0,[`${fe.prefix}-${Pe.svg}-${Pe.i}-${t}`]:t,[a.themeColor[r]]:r,[a.flipH]:i,[a.flipV]:n,[a.size[o]]:a.size[o]}}},Je=l.forwardRef(((e,t)=>{const{children:r,className:i,svgClassName:n,icon:o,flip:a,id:s,tabIndex:c,size:d,style:u,svgStyle:$,themeColor:p,viewBox:f,name:m,onClick:x,...h}=e,g=l.useRef(null),v=re(),b=v&&v.uSvgIcon?v.uSvgIcon:Ye;l.useImperativeHandle(t,(()=>({element:g.current})));const w=l.useMemo((()=>o?o.name:We.icon),[o]),k=l.useMemo((()=>d||We.size),[d]),C=l.useMemo((()=>a||We.flip),[a]),E=l.useMemo((()=>f||We.viewBox),[f]),z=l.useMemo((()=>y(b.wrapper({iconNameProp:w,themeColor:p,flipH:"horizontal"===C||"both"===C,flipV:"vertical"===C||"both"===C,size:k}),i)),[w,p,k,C,i]),I=l.useMemo((()=>e.width&&e.height?{width:e.width,height:e.height,...u}:e.width?{width:e.width,height:e.width,...u}:e.height?{width:e.height,height:e.height,...u}:{...u}),[e.width,e.height,u]);return l.createElement("span",{className:z,style:I,ref:g,onClick:x,"aria-hidden":!0},l.createElement("svg",{id:s,className:n,style:$,"aria-hidden":!0,tabIndex:c,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:o?o.viewBox:E,dangerouslySetInnerHTML:o?{__html:o.content}:void 0,...h},o?void 0:r))}));Je.propTypes={style:n.object,classNames:n.string,children:n.any,icon:n.object,themeColor:n.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:n.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:n.oneOf(["default","horizontal","vertical","both"])};const We={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};Je.displayName="KendoSvgIcon";const Ke=l.createContext({type:"svg"});Ke.displayName="KendoReactIconsContext";const Ze=l.forwardRef(((e,t)=>{var r,i;const{type:n,icons:o}=l.useContext(Ke),{icon:a,...s}=e;let c="svg"===n?(null==(r=e.icon)?void 0:r.name)||e.name:e.name||(null==(i=e.icon)?void 0:i.name);c=c&&o&&o[c]&&"string"==typeof o[c]?o[c]:c;const d=c&&o&&o[c]&&"string"!=typeof o[c]?o[c]:a;return"svg"===n&&d?l.createElement(Je,{...e,icon:d,ref:t}):l.createElement($e,{...s,name:c,ref:t})}));Ze.displayName="KendoIconWrap";const _e={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},et={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},tt={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"},rt={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},it={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},nt={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},ot={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},at={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"},lt=e=>{const t=l.forwardRef(((t,r)=>{const{id:i,style:n,className:o,fontSize:a,fontWeight:s,textAlign:c,textTransform:d,themeColor:u,margin:$,...p}=t,f=l.useRef(null),m=l.useRef(null);l.useImperativeHandle(f,(()=>({element:m.current,props:t}))),l.useImperativeHandle(r,(()=>f.current));const x=e,h=()=>{if(void 0!==$){if("string"==typeof $)return[tt[$]];if("number"==typeof $&&$>=0&&$<=24)return[`k-m-${$}`];if("object"==typeof $){const e=[];return Object.keys($).forEach((t=>{null!==$[t]&&void 0!==$[t]&&e.push(((e,t)=>`${it[e]}${"string"==typeof t?rt[t]:t}`)(t,$[t]))})),e.join(" ")}}};return l.createElement(x,{id:i,ref:m,className:[`k-${"p"===e?"paragraph":e}`,_e[a],et[s],nt[c],ot[d],at[u],h(),o].filter((e=>void 0!==e)).join(" "),style:n,...p},t.children)}));return t.propTypes={style:n.object,className:n.string,fontSize:n.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:n.oneOf(["light","normal","bold"]),margin:n.oneOfType([n.number,n.object,n.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:n.oneOf(["left","right","center","justify"]),textTransform:n.oneOf(["lowercase","uppercase","capitalize"]),themeColor:n.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName=`KendoReactTypography${e.toUpperCase()}`,t},st={h1:lt("h1"),h2:lt("h2"),h3:lt("h3"),h4:lt("h4"),h5:lt("h5"),h6:lt("h6"),p:lt("p"),code:lt("code"),pre:lt("pre")},ct=l.createContext([void 0,q]),dt=l.createContext([void 0,q]),ut=l.createContext([[],q,q]),$t=l.createContext([[],q,q]),pt=(e,t,r)=>{const[i,n]=l.useState(e),o=l.useCallback(((e,t)=>{n(e)}),[r,n]);return[i,o]},ft=e=>{const[t,r]=pt(null),[i,n]=pt(null),[o,a]=le([]),[s,c]=le([]);return l.createElement(ct.Provider,{value:[t,r]},l.createElement(dt.Provider,{value:[i,n]},l.createElement(ut.Provider,{value:[o,e=>{a({type:ae.add,item:e})},e=>{a({type:ae.remove,item:e})}]},l.createElement($t.Provider,{value:[s,e=>{c({type:ae.add,item:e})},e=>{c({type:ae.remove,item:e})}]},e.children))))};ft.displayName="KendoReactDragAndDrop";const mt=(e,t)=>{const[r,i]=l.useContext(e),[n,o]=l.useState(t);return[void 0!==r?r:n,(...e)=>{void 0!==r?i(...e):o(e[0])}]};function xt(e,t,r={}){const{onPress:i=q,onRelease:n=q,onDragStart:a=q,onDrag:s=q,onDragEnd:c=q}=t,{hint:d=null,mouseOnly:u=!1,autoScroll:$=!0,scrollContainer:p=null}=r,[f,m]=l.useState(!1),[x,h]=l.useState(!1),[g]=mt(dt),[v,b]=mt(ct),[w]=l.useContext($t),[k,y,C]=l.useContext(ut),E=l.useRef({x:0,y:0}),z=l.useRef(),I=l.useRef(!1),A=l.useRef(),D=l.useRef(null),M=l.useRef(!1),R=l.useRef({x:0,y:0}),P=l.useRef({x:0,y:0}),O=l.useRef({x:0,y:0}),L=l.useRef({x:0,y:0}),T=l.useRef({x:0,y:0}),S=l.useRef({x:0,y:0}),F=!("undefined"==typeof window||!window.PointerEvent),H=!u&&F,B=l.useCallback((()=>e.current&&e.current.element?e.current.element:e.current),[e]),N=l.useCallback((()=>d&&d.current&&d.current.element?d.current.element:d?d.current:null),[d]),j=l.useCallback((()=>p&&p.current&&p.current.element?p.current.element:p?p.current:null),[p]),Q=l.useCallback((()=>"object"==typeof $&&$.boundaryElementRef&&$.boundaryElementRef.current&&$.boundaryElementRef.current.element?$.boundaryElementRef.current.element:"object"==typeof $&&$.boundaryElementRef&&$.boundaryElementRef.current?$.boundaryElementRef.current:null),[$]),U=l.useRef(null);l.useImperativeHandle(U,(()=>({element:B(),hint:N(),onPress:ne,onDragStart:ae,onDrag:le,onDragEnd:se,onRelease:oe,data:e.current})));const G=l.useCallback((()=>{const e=B();return e&&e.ownerDocument||document}),[B]),V=l.useCallback((()=>{const e=G();return e&&e.defaultView||window}),[G]),X=l.useCallback((()=>({drag:v?v.current:null,drop:g?g.current:null,drags:k.map((e=>e.current)),drops:w.map((e=>e.current)),pressed:f,ignoreMouse:I.current,scrollOffset:T.current,offset:R.current,pageOffset:P.current,initialScrollOffset:S.current,clientOffset:O.current,initialClientOffset:L.current,velocity:E.current,autoScroll:!!("object"==typeof $?!1!==$.enabled:$),scrollableParent:Q(),autoScrollDirection:"object"==typeof $?$.direction:{horizontal:!0,vertical:!0},isScrolling:x})),[v,g,k,w,f,$,Q,x]),Y=l.useCallback((e=>{m(e)}),[]),J=l.useCallback((e=>{h(e)}),[]),W=l.useCallback((e=>{E.current=e}),[]),K=l.useCallback((e=>{R.current=e}),[]),Z=l.useCallback((e=>{O.current=e}),[]),ee=l.useCallback((e=>{P.current=e}),[]),te=l.useCallback((e=>{L.current=e}),[]),re=l.useCallback((e=>{T.current=e}),[]),ie=l.useCallback((e=>{S.current=e}),[]),ne=l.useCallback((e=>{i(e)}),[i]),oe=l.useCallback((e=>{n(e)}),[n]),ae=l.useCallback((t=>{b(U,{target:e.current,event:t}),a(t)}),[b,e,a]),le=l.useCallback((e=>{s(e)}),[s]),se=l.useCallback((t=>{M.current||(b(null,{target:e.current,event:t}),c(t))}),[c,b,e]),ce=l.useCallback((e=>{o.dispatchDragAndDrop(X(),{event:e,payload:U.current},{onVelocityChange:W,onOffsetChange:K,onClientOffsetChange:Z,onPageOffsetChange:ee,onInitialClientOffsetChange:te,onScrollOffsetChange:re,onInitialScrollOffsetChange:ie,onIsPressedChange:Y,onIsScrollingChange:J})}),[X,W,K,ee,Z,te,ie,Y,re,J]),de=l.useCallback((e=>{ce(e)}),[ce]),ue=l.useCallback((e=>{ce(e)}),[ce]),$e=l.useCallback((e=>{ce(e)}),[ce]),pe=l.useCallback((e=>{ce(e)}),[ce]),fe=l.useCallback((e=>{ce(e)}),[ce]),me=l.useCallback((e=>{ce(e)}),[ce]),xe=l.useCallback((e=>{ce(e)}),[ce]),he=l.useCallback((e=>{e.preventDefault(),ce(e)}),[ce]),ge=l.useCallback((e=>{e.preventDefault(),ce(e)}),[ce]),ve=l.useCallback((e=>{e.preventDefault(),ce(e)}),[ce]),be=l.useCallback((e=>{if(0===e.touches.length&&1===e.changedTouches.length){const e=V();I.current=!0,A.current=e.setTimeout((()=>{I.current=!1}),2e3)}ce(e)}),[ce,V]),we=l.useCallback((e=>{ce(e)}),[ce]),ke=l.useCallback((()=>{const e=B();if(e){const t=e.style.touchAction;return e.style.touchAction="none",()=>{e.style.touchAction=t}}}),[B]),ye=l.useCallback((()=>(y(U),()=>{C(U)})),[C,y]);l.useEffect((()=>{const e=V();if(x){const t=j()||o.getScrollableParent(document.elementFromPoint(O.current.x,O.current.y));e.clearInterval(z.current),z.current=e.setInterval((()=>{o.autoScroll(t,{x:E.current.x,y:E.current.y})}),50)}return()=>{e.clearInterval(z.current)}}),[B,j,V,x]),l.useEffect(ke,[ke]),l.useEffect((()=>{const e=V(),t=B(),r=G();return H?(t&&(D.current=o.getScrollableParent(t),D.current&&D.current.addEventListener("scroll",we,{passive:!0}),t.addEventListener("pointerdown",de,{passive:!0})),f&&(r.addEventListener("pointermove",ue),r.addEventListener("pointerup",pe,!0),r.addEventListener("contextmenu",he),r.addEventListener("pointercancel",$e,{passive:!0}))):(e.addEventListener("touchmove",q,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",fe,{passive:!0}),u||(t.addEventListener("touchstart",ge,{passive:!0}),f&&(t.addEventListener("touchmove",ve,{passive:!0}),t.addEventListener("touchend",be,{passive:!0})))),f&&(r.addEventListener("mousemove",me,{passive:!0}),r.addEventListener("mouseup",xe,{passive:!0}))),()=>{D.current&&D.current.removeEventListener("scroll",we),t&&(t.removeEventListener("pointerdown",de),t.removeEventListener("mousedown",fe),t.removeEventListener("touchstart",ge),t.removeEventListener("touchmove",ve),t.removeEventListener("touchend",be)),r.removeEventListener("pointermove",ue),r.removeEventListener("pointerup",pe,!0),r.removeEventListener("contextmenu",he),r.removeEventListener("pointercancel",$e),r.removeEventListener("mousemove",me),r.removeEventListener("mouseup",xe),e.removeEventListener("touchmove",q),e.clearTimeout(A.current)}}),[f,V,B,G,u,H,he,fe,me,xe,$e,de,ue,pe,be,ve,ge,we]),l.useEffect((()=>(M.current=!1,()=>{M.current=!0})),[]),_(ye,[ye])}const ht=l.forwardRef(((e,t)=>{const r=l.useRef(null),i=l.useRef(null),n=l.useCallback((()=>r.current&&r.current.element?r.current.element:r.current),[r]);l.useImperativeHandle(i,(()=>({element:n()||null}))),l.useImperativeHandle(t,(()=>i.current)),l.useImperativeHandle(e.childRef,(()=>r.current));const o=l.useCallback((t=>{e.onPress&&e.onPress({element:n(),target:i.current,event:t})}),[n,e.onPress]),a=l.useCallback((t=>{e.onRelease&&e.onRelease({element:n(),target:i.current,event:t})}),[n,e.onRelease]),s=l.useCallback((t=>{e.onDragStart&&e.onDragStart({element:n(),target:i.current,event:t})}),[e,n]),c=l.useCallback((t=>{e.onDrag&&e.onDrag({element:n(),target:i.current,event:t})}),[n,e.onDrag]),d=l.useCallback((t=>{e.onDragEnd&&e.onDragEnd({element:n(),target:i.current,event:t})}),[n,e.onDragEnd]);return xt(r,{onPress:o,onRelease:a,onDragStart:s,onDrag:c,onDragEnd:d},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?l.cloneElement(l.Children.only(e.children),{ref:r}):null}));function gt(e,t={onDragEnter:q,onDragOver:q,onDragLeave:q,onDrop:q}){const{onDragEnter:r=q,onDragOver:i=q,onDragLeave:n=q,onDrop:o=q}=t,[,a]=mt(dt),[,s,c]=l.useContext($t),d=l.useCallback((()=>e.current&&e.current.element?e.current.element:e.current),[e]),u=l.useRef(null);l.useImperativeHandle(u,(()=>({element:d(),onDragEnter:$,onDragOver:p,onDragLeave:f,onDrop:m,data:e.current})));const $=l.useCallback((t=>{a(u,{target:e.current,event:t}),r(t)}),[a,e,r]),p=l.useCallback((e=>{i(e)}),[i]),f=l.useCallback((t=>{a(null,{target:e.current,event:t}),n(t)}),[a,e,n]),m=l.useCallback((t=>{a(null,{target:e.current,event:t}),o(t)}),[a,e,o]),x=l.useCallback((()=>(s(u),()=>{c(u)})),[c,s]);_(x,[x])}ht.displayName="KendoReactDraggable";const vt=l.forwardRef(((e,t)=>{const r=l.useRef(null),i=l.useRef(null),n=l.useCallback((()=>r.current&&r.current.element?r.current.element:r.current),[r]);l.useImperativeHandle(i,(()=>({element:n()||void 0}))),l.useImperativeHandle(t,(()=>i.current)),l.useImperativeHandle(e.childRef,(()=>r.current));const o=l.useCallback((t=>{e.onDragEnter&&e.onDragEnter({element:n(),target:i.current,event:t})}),[e.onDragEnter,n]),a=l.useCallback((t=>{e.onDragOver&&e.onDragOver({element:n(),target:i.current,event:t})}),[n,e.onDragOver]),s=l.useCallback((t=>{e.onDragLeave&&e.onDragLeave({element:n(),target:i.current,event:t})}),[e.onDragLeave,n]),c=l.useCallback((t=>{e.onDrop&&e.onDrop({element:n(),target:i.current,event:t})}),[e.onDrop,n]);return gt(r,{onDragEnter:o,onDragOver:a,onDragLeave:s,onDrop:c}),e.children?l.cloneElement(l.Children.only(e.children),{ref:r}):null}));vt.displayName="KendoReactDroppable";function bt(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function wt(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!bt(e[r],t[r]))return!1;return!0}const kt=e=>{const t=e.shadowRoot,r=e.contentDocument;return t&&t.activeElement?kt(t.activeElement):r&&r.activeElement?kt(r.activeElement):e};function yt(e,t){const r=(e||"").split(".");let i=t;return r.forEach((e=>{i=i?i[e]:void 0})),i}class Ct{constructor(){this.objects=[]}init(e){let t;for(let r=0;r<e.length;r++)r%5e4==0&&(t={},this.objects.push(t)),t[e[r]]=!0}hasId(e){return this.objects.some((t=>t[e]))}}function Et(e,t){const r=yt(t,e);return!(!r||!r.length)}function zt(e,t,r,i){const n=[],o=new Ct;return o.init(e),It(o,t,r,c,n,i),n}function It(e,t,r,i,n,o){for(let a=0;a<r.length;a++){const l=r[a],s=p(a,i);e.hasId(yt(t,l))&&n.push(s),Et(l,o)&&It(e,t,yt(o,l),s,n,o)}}const At={child:{container:`${fe.prefix}-${De[`${De.prefix}-${Ee.container}`]}`,relative:`${fe.prefix}-${De[`${De.prefix}-${Ee.container}-${De.relative}`]}`},childContainer:{container:`${fe.prefix}-${De[`${De.child}-${De.prefix}-${Ee.container}`]}`},appear:{"push-right":`${fe.prefix}-${De.pushRight}-${De.appear}`,"push-left":`${fe.prefix}-${De.pushLeft}-${De.appear}`,"push-down":`${fe.prefix}-${De.pushDown}-${De.appear}`,"push-up":`${fe.prefix}-${De.pushUp}-${De.appear}`,"expand-vertical":`${fe.prefix}-${De.expandVertical}-${De.appear}`,"expand-horizontal":`${fe.prefix}-${De.expandHorizontal}-${De.appear}`,fade:`${fe.prefix}-${De.fade}-${De.appear}`,"zoom-in":`${fe.prefix}-${De.zoomIn}-${De.appear}`,"zoom-out":`${fe.prefix}-${De.zoomOut}-${De.appear}`,"slide-in":`${fe.prefix}-${De.slideIn}-${De.appear}`,"slide-down":`${fe.prefix}-${De.slideDown}-${De.appear}`,"slide-up":`${fe.prefix}-${De.slideUp}-${De.appear}`,"slide-right":`${fe.prefix}-${De.slideRight}-${De.appear}`,"slide-left":`${fe.prefix}-${De.slideLeft}-${De.appear}`,"reveal-vertical":`${fe.prefix}-${De.revealVertical}-${De.appear}`,"reveal-horizontal":`${fe.prefix}-${De.revealHorizontal}-${De.appear}`},appearActive:{"push-right":`${fe.prefix}-${De.pushRight}-${De.appear}-${De.active}`,"push-left":`${fe.prefix}-${De.pushLeft}-${De.appear}-${De.active}`,"push-down":`${fe.prefix}-${De.pushDown}-${De.appear}-${De.active}`,"push-up":`${fe.prefix}-${De.pushUp}-${De.appear}-${De.active}`,"expand-vertical":`${fe.prefix}-${De.expandVertical}-${De.appear}-${De.active}`,"expand-horizontal":`${fe.prefix}-${De.expandHorizontal}-${De.appear}-${De.active}`,fade:`${fe.prefix}-${De.fade}-${De.appear}-${De.active}`,"zoom-in":`${fe.prefix}-${De.zoomIn}-${De.appear}-${De.active}`,"zoom-out":`${fe.prefix}-${De.zoomOut}-${De.appear}-${De.active}`,"slide-in":`${fe.prefix}-${De.slideIn}-${De.appear}-${De.active}`,"slide-down":`${fe.prefix}-${De.slideDown}-${De.appear}-${De.active}`,"slide-up":`${fe.prefix}-${De.slideUp}-${De.appear}-${De.active}`,"slide-right":`${fe.prefix}-${De.slideRight}-${De.appear}-${De.active}`,"slide-left":`${fe.prefix}-${De.slideLeft}-${De.appear}-${De.active}`,"reveal-vertical":`${fe.prefix}-${De.revealVertical}-${De.appear}-${De.active}`,"reveal-horizontal":`${fe.prefix}-${De.revealHorizontal}-${De.appear}-${De.active}`},enter:{"push-right":`${fe.prefix}-${De.pushRight}-${De.enter}`,"push-left":`${fe.prefix}-${De.pushLeft}-${De.enter}`,"push-down":`${fe.prefix}-${De.pushDown}-${De.enter}`,"push-up":`${fe.prefix}-${De.pushUp}-${De.enter}`,"expand-vertical":`${fe.prefix}-${De.expandVertical}-${De.enter}`,"expand-horizontal":`${fe.prefix}-${De.expandHorizontal}-${De.enter}`,fade:`${fe.prefix}-${De.fade}-${De.enter}`,"zoom-in":`${fe.prefix}-${De.zoomIn}-${De.enter}`,"zoom-out":`${fe.prefix}-${De.zoomOut}-${De.enter}`,"slide-in":`${fe.prefix}-${De.slideIn}-${De.enter}`,"slide-down":`${fe.prefix}-${De.slideDown}-${De.enter}`,"slide-up":`${fe.prefix}-${De.slideUp}-${De.enter}`,"slide-right":`${fe.prefix}-${De.slideRight}-${De.enter}`,"slide-left":`${fe.prefix}-${De.slideLeft}-${De.enter}`,"reveal-vertical":`${fe.prefix}-${De.revealVertical}-${De.enter}`,"reveal-horizontal":`${fe.prefix}-${De.revealHorizontal}-${De.enter}`},enterActive:{"push-right":`${fe.prefix}-${De.pushRight}-${De.enter}-${De.active}`,"push-left":`${fe.prefix}-${De.pushLeft}-${De.enter}-${De.active}`,"push-down":`${fe.prefix}-${De.pushDown}-${De.enter}-${De.active}`,"push-up":`${fe.prefix}-${De.pushUp}-${De.enter}-${De.active}`,"expand-vertical":`${fe.prefix}-${De.expandVertical}-${De.enter}-${De.active}`,"expand-horizontal":`${fe.prefix}-${De.expandHorizontal}-${De.enter}-${De.active}`,fade:`${fe.prefix}-${De.fade}-${De.enter}-${De.active}`,"zoom-in":`${fe.prefix}-${De.zoomIn}-${De.enter}-${De.active}`,"zoom-out":`${fe.prefix}-${De.zoomOut}-${De.enter}-${De.active}`,"slide-in":`${fe.prefix}-${De.slideIn}-${De.enter}-${De.active}`,"slide-down":`${fe.prefix}-${De.slideDown}-${De.enter}-${De.active}`,"slide-up":`${fe.prefix}-${De.slideUp}-${De.enter}-${De.active}`,"slide-right":`${fe.prefix}-${De.slideRight}-${De.enter}-${De.active}`,"slide-left":`${fe.prefix}-${De.slideLeft}-${De.enter}-${De.active}`,"reveal-vertical":`${fe.prefix}-${De.revealVertical}-${De.enter}-${De.active}`,"reveal-horizontal":`${fe.prefix}-${De.revealHorizontal}-${De.enter}-${De.active}`},exit:{"push-right":`${fe.prefix}-${De.pushRight}-${De.exit}`,"push-left":`${fe.prefix}-${De.pushLeft}-${De.exit}`,"push-down":`${fe.prefix}-${De.pushDown}-${De.exit}`,"push-up":`${fe.prefix}-${De.pushUp}-${De.exit}`,"expand-vertical":`${fe.prefix}-${De.expandVertical}-${De.exit}`,"expand-horizontal":`${fe.prefix}-${De.expandHorizontal}-${De.exit}`,fade:`${fe.prefix}-${De.fade}-${De.exit}`,"zoom-in":`${fe.prefix}-${De.zoomIn}-${De.exit}`,"zoom-out":`${fe.prefix}-${De.zoomOut}-${De.exit}`,"slide-in":`${fe.prefix}-${De.slideIn}-${De.exit}`,"slide-down":`${fe.prefix}-${De.slideDown}-${De.exit}`,"slide-up":`${fe.prefix}-${De.slideUp}-${De.exit}`,"slide-right":`${fe.prefix}-${De.slideRight}-${De.exit}`,"slide-left":`${fe.prefix}-${De.slideLeft}-${De.exit}`,"reveal-vertical":`${fe.prefix}-${De.revealVertical}-${De.exit}`,"reveal-horizontal":`${fe.prefix}-${De.revealHorizontal}-${De.exit}`},exitActive:{"push-right":`${fe.prefix}-${De.pushRight}-${De.exit}-${De.active}`,"push-left":`${fe.prefix}-${De.pushLeft}-${De.exit}-${De.active}`,"push-down":`${fe.prefix}-${De.pushDown}-${De.exit}-${De.active}`,"push-up":`${fe.prefix}-${De.pushUp}-${De.exit}-${De.active}`,"expand-vertical":`${fe.prefix}-${De.expandVertical}-${De.exit}-${De.active}`,"expand-horizontal":`${fe.prefix}-${De.expandHorizontal}-${De.exit}-${De.active}`,fade:`${fe.prefix}-${De.fade}-${De.exit}-${De.active}`,"zoom-in":`${fe.prefix}-${De.zoomIn}-${De.exit}-${De.active}`,"zoom-out":`${fe.prefix}-${De.zoomOut}-${De.exit}-${De.active}`,"slide-in":`${fe.prefix}-${De.slideIn}-${De.exit}-${De.active}`,"slide-down":`${fe.prefix}-${De.slideDown}-${De.exit}-${De.active}`,"slide-up":`${fe.prefix}-${De.slideUp}-${De.exit}-${De.active}`,"slide-right":`${fe.prefix}-${De.slideRight}-${De.exit}-${De.active}`,"slide-left":`${fe.prefix}-${De.slideLeft}-${De.exit}-${De.active}`,"reveal-vertical":`${fe.prefix}-${De.revealVertical}-${De.exit}-${De.active}`,"reveal-horizontal":`${fe.prefix}-${De.revealHorizontal}-${De.exit}-${De.active}`}},Dt={child:e=>{const{c:t=At}=e;return{[t.child.container]:!0,[t.child.relative]:!0}},childContainer:e=>{const{c:t=At}=e;return{[t.childContainer.container]:!0}},appear:e=>{const{c:t=At,transitionName:r}=e;return{[`${t.appear[r]}`]:t.appear[r],[`${r}-${De.appear}`]:!t.appear[r]}},appearActive:e=>{const{c:t=At,transitionName:r}=e;return{[`${t.appearActive[r]}`]:t.appearActive[r],[`${r}-${De.appear}-${De.active}`]:!t.appearActive[r]}},enter:e=>{const{c:t=At,transitionName:r}=e;return{[`${t.enter[r]}`]:t.enter[r],[`${r}-${De.enter}`]:!t.enter[r]}},enterActive:e=>{const{c:t=At,transitionName:r}=e;return{[`${t.enterActive[r]}`]:t.enterActive[r],[`${r}-${De.enter}-${De.active}`]:!t.enterActive[r]}},exit:e=>{const{c:t=At,transitionName:r}=e;return{[`${t.exit[r]}`]:t.exit[r],[`${r}-${De.exit}`]:!t.exit[r]}},exitActive:e=>{const{c:t=At,transitionName:r}=e;return{[`${t.exitActive[r]}`]:t.exitActive[r],[`${r}-${De.exit}-${De.active}`]:!t.exitActive[r]}}},Mt={wrapper:{main:je,size:{small:`${je}-${he.small}`,medium:`${je}-${he.medium}`,large:`${je}-${he.large}`},fillMode:{solid:`${je}-${ge.solid}`,outline:`${je}-${ge.outline}`,flat:`${je}-${ge.flat}`,link:`${je}-${ge.link}`,clear:`${je}-${ge.clear}`},themeColor:{base:{fillMode:{solid:`${je}-${ge.solid}-${ve.base}`,outline:`${je}-${ge.outline}-${ve.base}`,flat:`${je}-${ge.flat}-${ve.base}`,link:`${je}-${ge.link}-${ve.base}`,clear:`${je}-${ge.clear}-${ve.base}`}},primary:{fillMode:{solid:`${je}-${ge.solid}-${ve.primary}`,outline:`${je}-${ge.outline}-${ve.primary}`,flat:`${je}-${ge.flat}-${ve.primary}`,link:`${je}-${ge.link}-${ve.primary}`,clear:`${je}-${ge.clear}-${ve.primary}`}},secondary:{fillMode:{solid:`${je}-${ge.solid}-${ve.secondary}`,outline:`${je}-${ge.outline}-${ve.secondary}`,flat:`${je}-${ge.flat}-${ve.secondary}`,link:`${je}-${ge.link}-${ve.secondary}`,clear:`${je}-${ge.clear}-${ve.secondary}`}},tertiary:{fillMode:{solid:`${je}-${ge.solid}-${ve.tertiary}`,outline:`${je}-${ge.outline}-${ve.tertiary}`,flat:`${je}-${ge.flat}-${ve.tertiary}`,link:`${je}-${ge.link}-${ve.tertiary}`,clear:`${je}-${ge.clear}-${ve.tertiary}`}},info:{fillMode:{solid:`${je}-${ge.solid}-${ve.info}`,outline:`${je}-${ge.outline}-${ve.info}`,flat:`${je}-${ge.flat}-${ve.info}`,link:`${je}-${ge.link}-${ve.info}`,clear:`${je}-${ge.clear}-${ve.info}`}},success:{fillMode:{solid:`${je}-${ge.solid}-${ve.success}`,outline:`${je}-${ge.outline}-${ve.success}`,flat:`${je}-${ge.flat}-${ve.success}`,link:`${je}-${ge.link}-${ve.success}`,clear:`${je}-${ge.clear}-${ve.success}`}},warning:{fillMode:{solid:`${je}-${ge.solid}-${ve.warning}`,outline:`${je}-${ge.outline}-${ve.warning}`,flat:`${je}-${ge.flat}-${ve.warning}`,link:`${je}-${ge.link}-${ve.warning}`,clear:`${je}-${ge.clear}-${ve.warning}`}},error:{fillMode:{solid:`${je}-${ge.solid}-${ve.error}`,outline:`${je}-${ge.outline}-${ve.error}`,flat:`${je}-${ge.flat}-${ve.error}`,link:`${je}-${ge.link}-${ve.error}`,clear:`${je}-${ge.clear}-${ve.error}`}},dark:{fillMode:{solid:`${je}-${ge.solid}-${ve.dark}`,outline:`${je}-${ge.outline}-${ve.dark}`,flat:`${je}-${ge.flat}-${ve.dark}`,link:`${je}-${ge.link}-${ve.dark}`,clear:`${je}-${ge.clear}-${ve.dark}`}},light:{fillMode:{solid:`${je}-${ge.solid}-${ve.light}`,outline:`${je}-${ge.outline}-${ve.light}`,flat:`${je}-${ge.flat}-${ve.light}`,link:`${je}-${ge.link}-${ve.light}`,clear:`${je}-${ge.clear}-${ve.light}`}},inverse:{fillMode:{solid:`${je}-${ge.solid}-${ve.inverse}`,outline:`${je}-${ge.outline}-${ve.inverse}`,flat:`${je}-${ge.flat}-${ve.inverse}`,link:`${je}-${ge.link}-${ve.inverse}`,clear:`${je}-${ge.clear}-${ve.inverse}`}}},rounded:{small:`${fe.prefix}-${fe.rounded}-${be.small}`,medium:`${fe.prefix}-${fe.rounded}-${be.medium}`,large:`${fe.prefix}-${fe.rounded}-${be.large}`},iconButton:`${fe.prefix}-${ze.icon}-${ze.button}`,disabled:`${fe.prefix}-${Ae.disabled}`,selected:`${fe.prefix}-${Ae.selected}`,isRtl:`${fe.prefix}-${fe.rtl}`},text:`${je}-${ze.text}`,icon:`${je}-${ze.icon}`},Rt={wrapper:e=>{const{isRtl:t,selected:r,disabled:i,size:n,fillMode:o,rounded:a,themeColor:l,iconButton:s,c:c=Mt}=e,d=c.wrapper,u=d.themeColor[l],$=u.fillMode[o];return{[d.main]:!0,[d.size[n]]:d.size[n],[`${je}-${n}`]:n&&!d.size[n],[d.fillMode[o]]:d.fillMode[o],[$]:$,[d.rounded[a]]:d.rounded[a],[`${fe.prefix}-${fe.rounded}-${a}`]:a&&!d.rounded[a],[d.iconButton]:s,[u.disabled]:i&&u&&u.disabled,[u.selected]:r&&u&&u.selected,[d.disabled]:i,[d.selected]:r,[d.isRtl]:t}},text:e=>{const{c:t=Mt}=e;return{[t.text]:!0}},icon:e=>{const{c:t=Mt}=e;return{[t.icon]:!0}}},Pt={wrapper:{main:`${Qe}-${ze.button}`,focus:`${fe.prefix}-${Ae.focus}`,disabled:`${fe.prefix}-${Ae.disabled}`},ul:{group:`${Qe}-${Ee.group}`,size:{small:`${Qe}-${Ee.group}-${he.small}`,medium:`${Qe}-${Ee.group}-${he.medium}`,large:`${Qe}-${Ee.group}-${he.large}`}},li:{item:`${fe.prefix}-${Ee.item}`,focus:`${fe.prefix}-${Ae.focus}`},item:`${Qe}-${Ee.item}`,link:{main:`${fe.prefix}-${ze.link}`,link:`${Qe}-${ze.link}`,selected:`${fe.prefix}-${Ae.selected}`,disabled:`${fe.prefix}-${Ae.disabled}`},popup:`${Qe}-${Ee.popup}`},Ot={wrapper:e=>{const{focused:t,disabled:r,c:i=Pt}=e,n=i.wrapper;return{[n.main]:!0,[n.focus]:t,[n.disabled]:r}},ul:e=>{const{size:t,c:r=Pt}=e,i=r.ul;return{[i.group]:!0,[i.size[t]]:i.size[t],[`${Qe}-${Ee.group}-${t}`]:t&&!i.size[t]}},li:e=>{const{focused:t,c:r=Pt}=e,i=r.li;return{[i.item]:!0,[i.focus]:t}},item:e=>{const{c:t=Pt}=e;return t.item},link:e=>{const{selected:t,disabled:r,c:i=Pt}=e,n=i.link;return{[n.main]:!0,[n.link]:!0,[n.selected]:t,[n.disabled]:r}},popup:e=>{const{c:t=Pt}=e;return{[t.popup]:!0}}},Lt=(e,t)=>r=>{const{c:i=e}=r;return{[i[t]]:!0}},Tt={clearButton:`${fe.prefix}-${fe.clear}-${fe.value}`,groupStickyHeader:`${fe.prefix}-${Ee.list}-${Ee.group}-${Ae.sticky}-${ze.header}`,listHeaderText:`${fe.prefix}-${Ee.list}-${ze.header}-${ze.text}`,ul:`${fe.prefix}-${Ee.list}-${ze.ul}`,li:{main:`${fe.prefix}-${Ee.list}-${Ee.item}`,selected:`${fe.prefix}-${Ae.selected}`,focused:`${fe.prefix}-${Ae.focus}`,first:`${fe.prefix}-${Ae.first}`,disabled:`${fe.prefix}-${Ae.disabled}`},groupLi:{list:`${fe.prefix}-${Ee.list}-${Ee.group}-${Ee.item}`,table:`${fe.prefix}-${ze.table}-${Ee.group}-${Ee.row}`},itemText:`${fe.prefix}-${Ee.list}-${Ee.item}-${ze.text}`,groupItemText:{list:`${fe.prefix}-${Ee.list}-${Ee.item}-${ze.text}`,table:`${fe.prefix}-${ze.table}-${ze.th}`},itemGroupLabel:`${fe.prefix}-${Ee.list}-${Ee.item}-${Ee.group}-${ze.label}`,noData:`${fe.prefix}-${fe.nodata}`,heightContainer:`${fe.prefix}-${ke.height}-${Ee.container}`,optionlabel:{main:`${fe.prefix}-${Ee.list}-${Ee.optionlabel}`,selected:`${fe.prefix}-${Ae.selected}`},inputIcon:`${fe.prefix}-${Me.input}-${Pe.prefix}`,searchbox:`${fe.prefix}-${xe.searchbox}`,listFilter:`${fe.prefix}-${Ee.list}-${fe.filter}`},St={clearButton:Lt(Tt,"clearButton"),groupStickyHeader:Lt(Tt,"groupStickyHeader"),listHeaderText:Lt(Tt,"listHeaderText"),ul:Lt(Tt,"ul"),li:e=>{const{c:t=Tt,selected:r,focused:i,first:n,disabled:o}=e,a=t.li;return{[a.main]:!0,[a.selected]:r,[a.focused]:i,[a.first]:n,[a.disabled]:o}},groupLi:e=>{const{c:t=Tt,isMultiColumn:r}=e,i=t.groupLi;return{[i.table]:r,[i.list]:!r}},itemText:Lt(Tt,"itemText"),groupItemText:e=>{const{c:t=Tt,isMultiColumn:r}=e,i=t.groupItemText;return{[i.table]:r,[i.list]:!r}},itemGroupLabel:Lt(Tt,"itemGroupLabel"),noData:Lt(Tt,"noData"),heightContainer:Lt(Tt,"heightContainer"),optionlabel:e=>{const{c:t=Tt,selected:r}=e,i=t.optionlabel;return{[i.main]:!0,[i.selected]:r}},inputIcon:Lt(Tt,"inputIcon"),searchbox:Lt(Tt,"searchbox"),listFilter:Lt(Tt,"listFilter")},Ft={wrapper:{main:`${fe.prefix}-${Ae.adaptive}-${xe.actionsheet}`,fullscreen:`${fe.prefix}-${xe.actionsheet}-${Ae.fullscreen}`,bottom:`${fe.prefix}-${xe.actionsheet}-${Ae.bottom}`},header:`${fe.prefix}-${ze.text}-${me.center}`,titleBar:{main:`${fe.prefix}-${xe.actionsheet}-${Ee.titlebar}-${Ee.group}`,position:`${fe.prefix}-${me.hbox}`},title:`${fe.prefix}-${xe.actionsheet}-${ze.title}`,actions:`${fe.prefix}-${xe.actionsheet}-${Ee.actions}`,titleBarGroup:{main:`${fe.prefix}-${xe.actionsheet}-${Ee.titlebar}-${Ee.group}`,filter:`${fe.prefix}-${xe.actionsheet}-${fe.filter}`}},Ht={wrapper:e=>{const{c:t=Ft,isFullScreen:r}=e,i=t.wrapper;return{[i.main]:!0,[i.fullscreen]:r,[i.bottom]:!r}},header:Lt(Ft,"header"),titleBar:e=>{const{c:t=Ft}=e,r=t.titleBar;return{[r.main]:!0,[r.position]:!0}},title:Lt(Ft,"title"),actions:Lt(Ft,"actions"),titleBarGroup:e=>{const{c:t=Ft}=e,r=t.titleBarGroup;return{[r.main]:!0,[r.filter]:!0}}},Bt={wrapper:{main:Ue,picker:qe,size:{small:`${qe}-${he.small}`,medium:`${qe}-${he.medium}`,large:`${qe}-${he.large}`},fillMode:{solid:`${qe}-${ge.solid}`,outline:`${qe}-${ge.outline}`,flat:`${qe}-${ge.flat}`,link:`${qe}-${ge.link}`,clear:`${qe}-${ge.clear}`},rounded:{small:`${fe.prefix}-${fe.rounded}-${be.small}`,medium:`${fe.prefix}-${fe.rounded}-${be.medium}`,large:`${fe.prefix}-${fe.rounded}-${be.large}`},disabled:`${fe.prefix}-${Ae.disabled}`,focused:`${fe.prefix}-${Ae.focus}`,invalid:`${fe.prefix}-${Ae.invalid}`,loading:`${fe.prefix}-${Ae.loading}`,required:`${fe.prefix}-${Ae.required}`},loadingIcon:`${Fe}-${Ae.loading}-${Pe.prefix}`,iconButton:`${Fe}-${ze.button}`,listContainer:{main:`${fe.prefix}-${Ee.list}-${Ee.container}`,popup:`${fe.prefix}-${xe.dropdownlist}-${Ee.popup}`},input:`${Fe}-${Me.inner}`,inputText:`${Fe}-${fe.value}-${ze.text}`,listHeader:`${fe.prefix}-${Ee.list}-${ze.header}`,list:{main:`${fe.prefix}-${Ee.list}`,size:{small:`${fe.prefix}-${Ee.list}-${he.small}`,medium:`${fe.prefix}-${Ee.list}-${he.medium}`,large:`${fe.prefix}-${Ee.list}-${he.large}`},virtual:`${fe.prefix}-${fe.virtual}-${Ee.list}`},listContent:`${fe.prefix}-${Ee.list}-${Ee.content}`,listFooter:`${fe.prefix}-${Ee.list}-${ze.footer}`},Nt={wrapper:e=>{const{c:t=Bt,size:r,rounded:i,fillMode:n,focused:o,disabled:a,invalid:l,loading:s,required:c}=e,d=t.wrapper;return{[d.main]:!0,[d.picker]:!0,[d.size[r]]:d.size[r],[`${qe}-${r}`]:r&&!d.size[r],[d.fillMode[n]]:d.fillMode[n],[d.rounded[i]]:d.rounded[i],[`${fe.prefix}-${fe.rounded}-${i}`]:i&&!d.rounded[i],[d.focused]:o,[d.disabled]:a,[d.loading]:s,[d.invalid]:l,[d.required]:c}},loadingIcon:Lt(Bt,"loadingIcon"),iconButton:Lt(Bt,"iconButton"),listContainer:e=>{const{c:t=Bt}=e,r=t.listContainer;return{[r.main]:!0,[r.popup]:!0}},input:Lt(Bt,"input"),inputText:Lt(Bt,"inputText"),listHeader:Lt(Bt,"listHeader"),list:e=>{const{c:t=Bt,size:r,virtual:i}=e,n=t.list;return{[n.main]:!0,[n.size[r]]:n.size[r],[`${fe.prefix}-${Ee.list}-${r}`]:r&&!n.size[r],[n.virtual]:i}},listContent:Lt(Bt,"listContent"),listFooter:Lt(Bt,"listFooter")},jt={footer:{main:`${fe.prefix}-${Re.time}-${ze.footer}`,actions:`${fe.prefix}-${Ee.actions}`,stretched:`${fe.prefix}-${Ee.actions}-${Ae.stretched}`,horizontal:`${fe.prefix}-${Ee.actions}-${we.horizontal}`},cancel:`${fe.prefix}-${Re.time}-${Ie.cancel}`,accept:`${fe.prefix}-${Re.time}-${Ie.accept}`,part:{main:`${fe.prefix}-${Re.time}-${Ee.part}`,disabled:`${fe.prefix}-${Ae.disabled}`},header:`${fe.prefix}-${Re.time}-${ze.header}`,now:`${fe.prefix}-${Re.time}-${Re.now}`,listContainer:`${fe.prefix}-${Re.time}-${Ee.list}-${Ee.container}`,highlight:`${fe.prefix}-${Re.time}-${ze.header}`,listWrapper:{main:`${fe.prefix}-${Re.time}-${Ee.list}-${Ee.wrapper}`,focused:`${fe.prefix}-${Ae.focus}`},list:`${fe.prefix}-${Re.time}-${Ee.list}`,container:{main:`${fe.prefix}-${Re.time}-${Ee.container}`,scrollable:`${fe.prefix}-${Ae.scrollable}`,content:`${fe.prefix}-${Ee.content}`},separator:`${fe.prefix}-${Re.time}-${Ee.separator}`,ul:`${fe.prefix}-${fe.reset}`,li:`${fe.prefix}-${Ee.item}`,title:`${fe.prefix}-${ze.title}`,scrollablePlaceholder:`${fe.prefix}-${Ae.scrollable}-${Ee.placeholder}`},Qt={footer:e=>{const{c:t=jt}=e,r=t.footer;return{[r.main]:!0,[r.actions]:!0,[r.stretched]:!0,[r.horizontal]:!0}},cancel:Lt(jt,"cancel"),accept:Lt(jt,"accept"),part:e=>{const{c:t=jt,mobileMode:r,disabled:i}=e,n=t.part;return{[n.main]:r,[n.disabled]:i}},header:Lt(jt,"header"),now:Lt(jt,"now"),listContainer:Lt(jt,"listContainer"),highlight:Lt(jt,"highlight"),listWrapper:e=>{const{c:t=jt,focused:r}=e,i=t.listWrapper;return{[i.main]:!0,[i.focused]:r}},list:Lt(jt,"list"),container:e=>{const{c:t=jt,content:r,scrollable:i}=e,n=t.container;return{[n.main]:!0,[n.content]:r,[n.scrollable]:i}},separator:Lt(jt,"separator"),ul:Lt(jt,"ul"),li:Lt(jt,"li"),title:Lt(jt,"title"),scrollablePlaceholder:Lt(jt,"scrollablePlaceholder")},qt={wrapper:{main:`${fe.prefix}-${xe.timepicker}`,input:`${Fe}`,size:{small:`${Fe}-${he.small}`,medium:`${Fe}-${he.medium}`,large:`${Fe}-${he.large}`},fillMode:{solid:`${Fe}-${ge.solid}`,outline:`${Fe}-${ge.outline}`,flat:`${Fe}-${ge.flat}`},rounded:{small:`${fe.prefix}-${fe.rounded}-${be.small}`,medium:`${fe.prefix}-${fe.rounded}-${be.medium}`,large:`${fe.prefix}-${fe.rounded}-${be.large}`},disabled:`${fe.prefix}-${Ae.disabled}`,required:`${fe.prefix}-${Ae.required}`,invalid:`${fe.prefix}-${Ae.invalid}`},inputButton:`${Fe}-${ze.button}`,popup:{main:`${fe.prefix}-${xe.timepicker}-${Ee.popup}`,container:`${fe.prefix}-${Ee.list}-${Ee.container}`},timeSelector:{main:`${fe.prefix}-${Re.timeselector}`,size:{medium:`${fe.prefix}-${Re.timeselector}-${he.medium}`,large:`${fe.prefix}-${Re.timeselector}-${he.large}`},disabled:`${fe.prefix}-${Ae.disabled}`,reset:`${fe.prefix}-${fe.reset}`}},Ut={wrapper:e=>{const{c:t=qt,size:r,fillMode:i,rounded:n,disabled:o,required:a,invalid:l}=e,s=t.wrapper;return{[s.main]:!0,[s.input]:!0,[s.size[r]]:s.size[r],[`${Fe}-${r}`]:r&&!s.size[r],[s.fillMode[i]]:s.fillMode[i],[s.rounded[n]]:s.rounded[n],[`${fe.prefix}-${fe.rounded}-${n}`]:n&&!s.rounded[n],[s.disabled]:o,[s.invalid]:l,[s.required]:a}},inputButton:Lt(qt,"inputButton"),popup:e=>{const{c:t=qt}=e,r=t.popup;return{[r.main]:!0,[r.container]:!0}},timeSelector:e=>{const{c:t=qt,disabled:r,mobileMode:i}=e,n=t.timeSelector;return{[n.main]:!0,[n.size.large]:i,[n.reset]:i,[n.size.medium]:!i,[n.disabled]:r}}},Gt={wrapper:{main:`${He}`,infinite:`${He}-${fe.infinite}`,disabled:`${fe.prefix}-${Ae.disabled}`,weekNumber:`${fe.prefix}-${Re.week}-${Re.number}`,size:{medium:`${He}-${he.medium}`,large:`${He}-${he.large}`}},view:{main:`${He}-${Ee.view}`,vertical:`${fe.prefix}-${me.vstack}`,month:`${He}-${Re.month}${Ee.view}`,year:`${He}-${Re.year}${Ee.view}`,decade:`${He}-${Re.decade}${Ee.view}`,century:`${He}-${Re.century}${Ee.view}`},navigation:`${He}-${Re.navigation}`,navigationHighlight:`${He}-${Re.navigation}-${Ae.highlight}`,table:{main:`${He}-${ze.table}`,weekdays:`${He}-${Re.weekdays}`},thead:`${He}-${ze.thead}`,tr:`${He}-${ze.tr}`,th:`${He}-${ze.th}`,caption:`${He}-${ze.caption}`,tbody:`${He}-${ze.tbody}`,ul:`${fe.prefix}-${fe.reset}`,td:{main:`${He}-${ze.td}`,rangeStart:`${fe.prefix}-${Re.range}-${Ce.start}`,rangeEnd:`${fe.prefix}-${Re.range}-${Ce.end}`,rangeMid:`${fe.prefix}-${Re.range}-${Ce.mid}`,rangeSplitEnd:`${fe.prefix}-${Re.range}-${Ie.split}-${Ce.end}`,rangeSplitStart:`${fe.prefix}-${Re.range}-${Ie.split}-${Ce.start}`,active:`${fe.prefix}-${Ae.active}`,focused:`${fe.prefix}-${fe.state}-${Ae.pending}-${Ae.focus}`,selected:`${fe.prefix}-${Ae.selected}`,today:`${fe.prefix}-${Re.today}`,weekend:`${fe.prefix}-${Re.weekend}`,disabled:`${fe.prefix}-${Ae.disabled}`,isOtherMonth:`${fe.prefix}-${Re.other}-${Re.month}`,isEmpty:`${fe.prefix}-${Ae.empty}`,isWeek:`${fe.prefix}-${Ae.alt}`},title:`${He}-${ze.title}`,header:{main:`${He}-${ze.header}`,vertical:`${fe.prefix}-${me.vstack}`},spacer:`${fe.prefix}-${Ee.spacer}`,nav:`${He}-${Ee.nav}`,today:{main:`${He}-${Ee.nav}-${Re.today}`,disabled:`${fe.prefix}-${Ae.disabled}`},scrollable:{main:`${fe.prefix}-${Ae.scrollable}`,content:`${fe.prefix}-${Ee.content}`,horizontal:`${fe.prefix}-${Ae.scrollable}-${we.horizontal}`},scrollablePlaceholder:{main:`${fe.prefix}-${Ae.scrollable}-${Ee.placeholder}`,horizontal:`${fe.prefix}-${Ae.scrollable}-${we.horizontal}-${Ee.placeholder}`},link:`${fe.prefix}-${ze.link}`,navigationMarker:`${He}-${Re.navigation}-${Re.marker}`},Vt={wrapper:e=>{const{c:t=Gt,disabled:r,weekNumber:i,mobileMode:n}=e,o=t.wrapper;return{[o.main]:!0,[o.infinite]:!0,[o.disabled]:r,[o.weekNumber]:i,[o.size.large]:n,[o.size.medium]:!n}},view:e=>{const{c:t=Gt,month:r,year:i,decade:n,century:o}=e,a=t.view;return{[a.main]:!0,[a.vertical]:!0,[a.month]:r,[a.year]:i,[a.decade]:n,[a.century]:o}},navigation:Lt(Gt,"navigation"),navigationHighlight:Lt(Gt,"navigationHighlight"),table:e=>{const{c:t=Gt,weekdays:r}=e,i=t.table;return{[i.main]:!0,[i.weekdays]:r}},thead:Lt(Gt,"thead"),tr:Lt(Gt,"tr"),th:Lt(Gt,"th"),tbody:Lt(Gt,"tbody"),title:Lt(Gt,"title"),header:e=>{const{c:t=Gt,vertical:r}=e,i=t.header;return{[i.main]:!0,[i.vertical]:r}},today:e=>{const{c:t=Gt,disabled:r}=e,i=t.today;return{[i.main]:!0,[i.disabled]:r}},spacer:Lt(Gt,"spacer"),nav:Lt(Gt,"nav"),caption:Lt(Gt,"caption"),ul:Lt(Gt,"ul"),td:e=>{const{c:t=Gt,rangeStart:r,rangeEnd:i,rangeMid:n,rangeSplitEnd:o,rangeSplitStart:a,active:l,focused:s,selected:c,today:d,weekend:u,disabled:$,isOtherMonth:p,isEmpty:f,isWeek:m}=e,x=t.td;return m?{[x.main]:!0,[x.isWeek]:m}:f?{[x.main]:!0,[x.isEmpty]:f}:{[x.main]:!0,[x.rangeStart]:r,[x.rangeEnd]:i,[x.rangeMid]:n,[x.rangeSplitEnd]:o,[x.rangeSplitStart]:a,[x.active]:l,[x.focused]:s,[x.selected]:c,[x.today]:d,[x.weekend]:u,[x.disabled]:$,[x.isOtherMonth]:p}},scrollable:e=>{const{c:t=Gt,horizontal:r}=e,i=t.scrollable;return{[i.main]:!0,[i.content]:!0,[i.horizontal]:r}},scrollablePlaceholder:e=>{const{c:t=Gt,horizontal:r}=e,i=t.scrollablePlaceholder;return{[i.main]:!0,[i.horizontal]:r}},link:Lt(Gt,"link"),navigationMarker:e=>{const{c:t=Gt,isRangeStart:r}=e;return{[t.navigationMarker]:r}}},Xt={wrapper:{main:`${fe.prefix}-${xe.dateinput}`,input:`${Fe}`,size:{small:`${Fe}-${he.small}`,medium:`${Fe}-${he.medium}`,large:`${Fe}-${he.large}`},fillMode:{solid:`${Fe}-${ge.solid}`,outline:`${Fe}-${ge.outline}`,flat:`${Fe}-${ge.flat}`},rounded:{small:`${fe.prefix}-${fe.rounded}-${be.small}`,medium:`${fe.prefix}-${fe.rounded}-${be.medium}`,large:`${fe.prefix}-${fe.rounded}-${be.large}`},disabled:`${fe.prefix}-${Ae.disabled}`,required:`${fe.prefix}-${Ae.required}`,invalid:`${fe.prefix}-${Ae.invalid}`},input:`${Fe}-${Me.inner}`,inputSpinner:{main:`${Fe}-${Me.spinner}`,button:`${fe.prefix}-${Me.spin}-${ze.button}`},spinnerIncrease:`${fe.prefix}-${Me.spinner}-${Ie.increase}`,spinnerDecrease:`${fe.prefix}-${Me.spinner}-${Ie.decrease}`,clearButton:`${fe.prefix}-${fe.clear}-${fe.value}`},Yt={wrapper:e=>{const{c:t=Xt,size:r,fillMode:i,rounded:n,disabled:o,required:a,invalid:l}=e,s=t.wrapper;return{[s.main]:!0,[s.input]:!0,[s.size[r]]:s.size[r],[`${Fe}-${r}`]:r&&!s.size[r],[s.fillMode[i]]:s.fillMode[i],[s.rounded[n]]:s.rounded[n],[`${fe.prefix}-${fe.rounded}-${n}`]:n&&!s.rounded[n],[s.disabled]:o,[s.invalid]:l,[s.required]:a}},input:Lt(Xt,"input"),inputSpinner:e=>{const{c:t=Xt}=e,r=t.inputSpinner;return{[r.main]:!0,[r.button]:!0}},spinnerIncrease:Lt(Xt,"spinnerIncrease"),spinnerDecrease:Lt(Xt,"spinnerDecrease"),clearButton:Lt(Xt,"clearButton")},Jt={wrapper:{main:`${fe.prefix}-${xe.datetimepicker}`,input:`${Fe}`,size:{small:`${Fe}-${he.small}`,medium:`${Fe}-${he.medium}`,large:`${Fe}-${he.large}`},fillMode:{solid:`${Fe}-${ge.solid}`,outline:`${Fe}-${ge.outline}`,flat:`${Fe}-${ge.flat}`},rounded:{small:`${fe.prefix}-${fe.rounded}-${be.small}`,medium:`${fe.prefix}-${fe.rounded}-${be.medium}`,large:`${fe.prefix}-${fe.rounded}-${be.large}`},disabled:`${fe.prefix}-${Ae.disabled}`,required:`${fe.prefix}-${Ae.required}`,invalid:`${fe.prefix}-${Ae.invalid}`},inputButton:`${Fe}-${ze.button}`,popup:{main:`${fe.prefix}-${xe.datetime}-${Ee.container}`,reset:`${fe.prefix}-${fe.reset}`},wrap:{main:`${fe.prefix}-${xe.datetime}-${Ee.wrap}`,date:`${fe.prefix}-${Re.date}-${Ee.tab}`,time:`${fe.prefix}-${Re.time}-${Ee.tab}`,disabled:`${fe.prefix}-${Ae.disabled}`},timeFooter:{main:`${fe.prefix}-${xe.datetime}-${ze.footer}`,actions:`${fe.prefix}-${Ee.actions}`,stretched:`${fe.prefix}-${Ee.actions}-${Ae.stretched}`},buttonGroup:`${fe.prefix}-${xe.datetime}-${xe.buttongroup}`,selector:`${fe.prefix}-${xe.datetime}-${Re.selector}`,calendarWrap:`${fe.prefix}-${xe.datetime}-${He}-${Ee.wrap}`,timeWrap:`${fe.prefix}-${xe.datetime}-${Re.time}-${Ee.wrap}`,timeSelector:{main:`${fe.prefix}-${Re.timeselector}`,size:{medium:`${fe.prefix}-${Re.timeselector}-${he.medium}`,large:`${fe.prefix}-${Re.timeselector}-${he.large}`},disabled:`${fe.prefix}-${Ae.disabled}`,reset:`${fe.prefix}-${fe.reset}`}},Wt={wrapper:e=>{const{c:t=Jt,size:r,fillMode:i,rounded:n,disabled:o,required:a,invalid:l}=e,s=t.wrapper;return{[s.main]:!0,[s.input]:!0,[s.size[r]]:s.size[r],[`${Fe}-${r}`]:r&&!s.size[r],[s.fillMode[i]]:s.fillMode[i],[s.rounded[n]]:s.rounded[n],[`${fe.prefix}-${fe.rounded}-${n}`]:n&&!s.rounded[n],[s.disabled]:o,[s.invalid]:l,[s.required]:a}},inputButton:Lt(Jt,"inputButton"),popup:e=>{const{c:t=Jt}=e,r=t.popup;return{[r.main]:!0,[r.reset]:!0}},wrap:e=>{const{c:t=Jt,disabled:r,date:i,time:n}=e,o=t.wrap;return{[o.main]:!0,[o.time]:n,[o.date]:i,[o.disabled]:r}},timeFooter:e=>{const{c:t=Jt}=e,r=t.timeFooter;return{[r.main]:!0,[r.actions]:!0,[r.stretched]:!0}},buttonGroup:Lt(Jt,"buttonGroup"),selector:Lt(Jt,"selector"),calendarWrap:Lt(Jt,"calendarWrap"),timeWrap:Lt(Jt,"timeWrap"),timeSelector:e=>{const{c:t=Jt,mobileMode:r}=e,i=t.timeSelector;return{[i.main]:r,[i.size.large]:r,[i.reset]:r}}},Kt=`${fe.prefix}-${Me.input}`,Zt=`${fe.prefix}-${Me.radio}`,_t=`${fe.prefix}-${Me.input}-${Me.prefix}`,er=`${fe.prefix}-${Me.input}-${Me.suffix}`,tr={input:{radio:Zt,size:{small:`${Zt}-${he.small}`,medium:`${Zt}-${he.medium}`,large:`${Zt}-${he.large}`},invalid:`${fe.prefix}-${Ae.invalid}`,checked:`${fe.prefix}-${Ae.checked}`},wrap:`${Zt}-${Ee.wrap}`,label:`${Zt}-${ze.label}`},rr={input:e=>{const{size:t,invalid:r,checked:i,c:n=tr}=e,o=n.input;return{[o.radio]:!0,[o.size[t]]:o.size[t],[`${Zt}-${t}`]:t&&!o.size[t],[o.invalid]:r,[o.checked]:i}},label:e=>{const{c:t=tr}=e;return{[t.label]:!0}},wrap:e=>{const{c:t=tr}=e;return{[t.wrap]:!0}}},ir={ul:{main:`${Zt}-${Ee.list}`,horizontal:`${fe.prefix}-${Ee.list}-${Ae.horizontal}`,vertical:`${fe.prefix}-${Ee.list}-${Ae.vertical}`},item:{main:`${Zt}-${Ee.list}-${Ee.item}`,disabled:`${fe.prefix}-${Ae.disabled}`}},nr={ul:e=>{const{horizontal:t,vertical:r,c:i=ir}=e,n=i.ul;return{[n.main]:!0,[n.horizontal]:t,[n.vertical]:r}},item:e=>{const{disabled:t,c:r=ir}=e,i=r.item;return{[i.main]:!0,[i.disabled]:t}}},or={wrapper:{main:`${fe.prefix}-${Me.maskedtextbox}`,input:Kt,size:{small:`${Kt}-${he.small}`,medium:`${Kt}-${he.medium}`,large:`${Kt}-${he.large}`},fillMode:{solid:`${Kt}-${ge.solid}`,outline:`${Kt}-${ge.outline}`,flat:`${Kt}-${ge.flat}`},rounded:{small:`${fe.prefix}-${fe.rounded}-${be.small}`,medium:`${fe.prefix}-${fe.rounded}-${be.medium}`,large:`${fe.prefix}-${fe.rounded}-${be.large}`},disabled:`${fe.prefix}-${Ae.disabled}`,invalid:`${fe.prefix}-${Ae.invalid}`,isRtl:`${fe.prefix}-${fe.rtl}`},input:`${Kt}-${Me.inner}`},ar={wrapper:e=>{const{invalid:t,disabled:r,size:i,fillMode:n,rounded:o,c:a=or}=e,l=a.wrapper;return{[l.main]:!0,[l.input]:!0,[l.size[i]]:l.size[i],[`${Kt}-${i}`]:!l.size[i],[l.fillMode[n]]:l.fillMode[n],[l.rounded[o]]:l.rounded[o],[`${fe.prefix}-${fe.rounded}-${o}`]:o&&!l.rounded[o],[l.disabled]:r,[l.invalid]:t}},input:e=>{const{c:t=or}=e;return{[t.input]:!0}}},lr={wrapper:{main:`${fe.prefix}-${Me.textbox}`,input:Kt,size:{small:`${Kt}-${he.small}`,medium:`${Kt}-${he.medium}`,large:`${Kt}-${he.large}`},fillMode:{solid:`${Kt}-${ge.solid}`,outline:`${Kt}-${ge.outline}`,flat:`${Kt}-${ge.flat}`},rounded:{small:`${fe.prefix}-${fe.rounded}-${be.small}`,medium:`${fe.prefix}-${fe.rounded}-${be.medium}`,large:`${fe.prefix}-${fe.rounded}-${be.large}`},disabled:`${fe.prefix}-${Ae.disabled}`,focused:`${fe.prefix}-${Ae.focus}`,required:`${fe.prefix}-${Ae.required}`,invalid:`${fe.prefix}-${Ae.invalid}`,isRtl:`${fe.prefix}-${fe.rtl}`},input:`${Kt}-${Me.inner}`,prefix:{main:_t,orientation:{horizontal:`${_t}-${we.horizontal}`,vertical:`${_t}-${we.vertical}`}},suffix:{main:er,orientation:{horizontal:`${er}-${we.horizontal}`,vertical:`${er}-${we.vertical}`}}},sr={wrapper:e=>{const{disabled:t,invalid:r,focused:i,required:n,size:o,fillMode:a,rounded:l,isRtl:s,c:c=lr}=e,d=c.wrapper;return{[d.main]:!0,[d.input]:!0,[d.size[o]]:d.size[o],[`${Kt}-${o}`]:o&&!d.size[o],[d.fillMode[a]]:d.fillMode[a],[d.rounded[l]]:d.rounded[l],[`${fe.prefix}-${fe.rounded}-${l}`]:l&&!d.rounded[l],[d.disabled]:t,[d.focused]:i,[d.required]:n,[d.invalid]:r,[d.isRtl]:s}},input:e=>{const{c:t=lr}=e;return{[t.input]:!0}},prefix:e=>{const{orientation:t,c:r=lr}=e,i=r.prefix;return{[i.main]:!0,[i.orientation[t]]:i.orientation[t]}},suffix:e=>{const{orientation:t,c:r=lr}=e,i=r.suffix;return{[i.main]:!0,[i.orientation[t]]:i.orientation[t]}}},cr={input:{main:`${Kt} ${Kt}-${he.medium} ${fe.prefix}-${fe.rounded}-${be.medium} ${Kt}-${ge.solid}`,disabled:`${fe.prefix}-${Ae.disabled}`,required:`${fe.prefix}-${Ae.required}`,invalid:`${fe.prefix}-${Ae.invalid}`,isRtl:`${fe.prefix}-${fe.rtl}`}},dr={input:e=>{const{disabled:t,invalid:r,required:i,isRtl:n,c:o=cr}=e,a=o.input;return{[a.main]:!0,[a.disabled]:t,[a.required]:i,[a.invalid]:r,[a.isRtl]:n}}},ur=`${fe.prefix}-${Oe.floatingLabel}`,$r={label:{main:`${fe.prefix}-${Oe.label}`,empty:`${fe.prefix}-${Oe.label}-${Ae.empty}`,invalid:`${fe.prefix}-${Oe.text}-${ve.error}`,disabled:`${fe.prefix}-${Oe.text}-${Ae.disabled}`}},pr={label:e=>{const{empty:t,invalid:r,disabled:i,c:n=$r}=e,o=n.label;return{[o.main]:!0,[o.empty]:t,[o.invalid]:r,[o.disabled]:i}}},fr={wrapper:{main:`${ur}-${Oe.container}`,focused:`${fe.prefix}-${Ae.focus}`,empty:`${fe.prefix}-${Ae.empty}`,disabled:`${fe.prefix}-${Oe.text}-${Ae.disabled}`,isRtl:`${fe.prefix}-${fe.rtl}`},label:{main:ur,invalid:`${fe.prefix}-${Oe.text}-${ve.error}`,disabled:`${fe.prefix}-${Oe.text}-${Ae.disabled}`}},mr={wrapper:e=>{const{focused:t,empty:r,disabled:i,isRtl:n,c:o=fr}=e,a=o.wrapper;return{[a.main]:!0,[a.focused]:t,[a.empty]:r,[a.disabled]:i,[a.isRtl]:n}},label:e=>{const{invalid:t,disabled:r,c:i=fr}=e,n=i.label;return{[n.main]:!0,[n.invalid]:t,[n.disabled]:r}}},xr={wrapper:{main:`${fe.prefix}-${Oe.error}`,direction:{start:`${fe.prefix}-${Oe.text}-${Ce.start}`,end:`${fe.prefix}-${Oe.text}-${Ce.end}`}}},hr={wrapper:e=>{const{direction:t,c:r=xr}=e,i=r.wrapper;return{[i.main]:!0,[i.direction[t]]:i.direction[t]}}},gr={wrapper:{main:`${fe.prefix}-${Oe.hint}`,direction:{start:`${fe.prefix}-${Oe.text}-${Ce.start}`,end:`${fe.prefix}-${Oe.text}-${Ce.end}`,disabled:`${fe.prefix}-${Oe.text}-${Ae.disabled}`}}},vr={wrapper:e=>{const{direction:t,disabled:r,c:i=gr}=e,n=i.wrapper;return{[n.main]:!0,[n.direction[t]]:n.direction[t],[n.disabled]:r}}},br=`${fe.prefix}-${Le.form}`,wr={form:{main:br,size:{small:`${br}-${he.small}`,medium:`${br}-${he.medium}`,large:`${br}-${he.large}`},orientation:{horizontal:`${br}-${we.horizontal}`,vertical:`${br}-${we.vertical}`}}},kr={form:e=>{const{size:t,orientation:r,c:i=wr}=e,n=i.form;return{[n.main]:!0,[n.size[t]]:n.size[t],[`${br}-${t}`]:!n.size[t],[n.orientation[r]]:n.orientation[r]}}},yr={formField:{main:`${fe.prefix}-${Le.form}-${Le.field}`,isRtl:`${fe.prefix}-${fe.rtl}`}},Cr={formField:e=>{const{isRtl:t,c:r=yr}=e,i=r.formField;return{[i.main]:!0,[i.isRtl]:t}}},Er={animationContainer:`${fe.prefix}-${De.prefix}-${Ee.container}`,animationContainerShown:`${fe.prefix}-${De.prefix}-${Ee.container}-${Ae.shown}`,animationChild:`${fe.prefix}-${De.child}-${De.prefix}-${Ee.container}`,popup:`${fe.prefix}-${Te.prefix}`,slide:{up:{enter:`${fe.prefix}-${De.slide}-${Ce.up}-${De.enter}`,exit:`${fe.prefix}-${De.slide}-${Ce.up}-${De.exit}`},down:{enter:`${fe.prefix}-${De.slide}-${Ce.down}-${De.enter}`,exit:`${fe.prefix}-${De.slide}-${Ce.down}-${De.exit}`},left:{enter:`${fe.prefix}-${De.slide}-${Ce.left}-${De.enter}`,exit:`${fe.prefix}-${De.slide}-${Ce.left}-${De.exit}`},right:{enter:`${fe.prefix}-${De.slide}-${Ce.right}-${De.enter}`,exit:`${fe.prefix}-${De.slide}-${Ce.right}-${De.exit}`}},slideActive:{up:{enter:`${fe.prefix}-${De.slide}-${Ce.up}-${De.enter}-${De.active}`,exit:`${fe.prefix}-${De.slide}-${Ce.up}-${De.exit}-${De.active}`},down:{enter:`${fe.prefix}-${De.slide}-${Ce.down}-${De.enter}-${De.active}`,exit:`${fe.prefix}-${De.slide}-${Ce.down}-${De.exit}-${De.active}`},left:{enter:`${fe.prefix}-${De.slide}-${Ce.left}-${De.enter}-${De.active}`,exit:`${fe.prefix}-${De.slide}-${Ce.left}-${De.exit}-${De.active}`},right:{enter:`${fe.prefix}-${De.slide}-${Ce.right}-${De.enter}-${De.active}`,exit:`${fe.prefix}-${De.slide}-${Ce.right}-${De.exit}-${De.active}`}}},zr={animationContainer:e=>{const{c:t=Er}=e;return{[t.animationContainer]:!0}},animationContainerShown:e=>{const{c:t=Er}=e;return{[t.animationContainerShown]:!0}},animationChild:e=>{const{c:t=Er}=e;return{[t.animationChild]:!0}},popup:e=>{const{c:t=Er}=e;return{[t.popup]:!0}},slide:e=>{const{direction:t,type:r,c:i=Er}=e;return{[i.slide[t][r]]:i.slide[t]&&i.slide[t][r]}},slideActive:e=>{const{direction:t,type:r,c:i=Er}=e;return{[i.slideActive[t][r]]:i.slideActive[t]&&i.slideActive[t][r]}}},Ir={wrapper:{main:Ge,size:{small:`${Ge}-${he.small}`,medium:`${Ge}-${he.medium}`},virtual:`${Ge}-${fe.virtual}`},ariaRoot:`${Ge}-${Se.ariaRoot}`,container:`${Ge}-${Ee.container}`,content:{main:`${Ge}-${Ee.content}`,virtual:`${fe.prefix}-${fe.virtual}-${Ee.content}`},tableWrap:`${Ge}-${Se.tableWrap}`,table:{main:`${fe.prefix}-${ze.table}`,gridTable:`${Ge}-${ze.table}`,size:{small:`${fe.prefix}-${ze.table}-${he.small}`,medium:`${fe.prefix}-${ze.table}-${he.medium}`}},tbody:`${fe.prefix}-${ze.table}-${ze.tbody}`,thead:{main:`${Ge}-${ze.table}-${ze.thead}`,draggable:`${Ge}-${Ae.draggable}-${ze.header}`},header:{main:`${Ge}-${ze.header}`,draggable:`${Ge}-${Ae.draggable}-${ze.header}`},headerWrap:`${Ge}-${ze.header}-${Ee.wrap}`,headerTable:{main:`${fe.prefix}-${ze.table}`,header:`${Ge}-${ze.header}-${ze.table}`,size:{small:`${fe.prefix}-${ze.table}-${he.small}`,medium:`${fe.prefix}-${ze.table}-${he.medium}`}},headerTh:{main:`${fe.prefix}-${ze.table}-${ze.th}`,header:`${fe.prefix}-${ze.header}`,first:`${fe.prefix}-${Ae.first}`,filterable:`${fe.prefix}-${Ae.filterable}`,locked:`${Ge}-${ze.header}-${Ae.sticky}`,sorted:`${fe.prefix}-${Ae.sorted}`},tableThead:`${fe.prefix}-${ze.table}-${ze.thead}`,heightContainer:`${fe.prefix}-${ke.height}-${Ee.container}`,sortIcon:`${fe.prefix}-${Ae.sort}-${ze.icon}`,sortOrder:`${fe.prefix}-${Ae.sort}-${Ae.order}`,tr:{main:`${fe.prefix}-${ze.table}-${Se.row}`,header:`${fe.prefix}-${ze.table}-${Se.group}-${Se.row}`,grouping:`${fe.prefix}-${Ae.grouping}-${Se.row}`,footer:`${fe.prefix}-${Se.group}-${ze.footer}`,master:`${fe.prefix}-${Se.master}-${Se.row}`,rowAlt:`${fe.prefix}-${ze.table}-${Ae.alt}-${Se.row}`,alt:`${fe.prefix}-${Ae.alt}`,selected:`${fe.prefix}-${Ae.selected}`,isInEdit:`${Ge}-${Ae.edit}-${Se.row}`},detailTr:{main:`${fe.prefix}-${ze.table}-${Se.row}`,row:`${fe.prefix}-${Se.detail}-${Se.row}`,rowAlt:`${fe.prefix}-${ze.table}-${Ae.alt}-${Se.row}`,alt:`${fe.prefix}-${Ae.alt}`},simpleTr:`${fe.prefix}-${ze.table}-${Se.row}`,headerCellInner:`${fe.prefix}-${Se.cellInner}`,columnTitle:`${fe.prefix}-${Se.column}-${ze.title}`,headerCellLink:{main:`${fe.prefix}-${ze.link}`,notSortable:`${fe.important}${fe.prefix}-${ye.default}`},noRecords:`${Ge}-${Se.noRecords}`,noRecordsTemplate:`${Ge}-${Se.noRecords}-${Ae.template}`,pager:`${Ge}-${Se.pager}`,sorted:`${fe.prefix}-${Ae.sorted}`,contentSticky:`${Ge}-${Ee.content}-${Ae.sticky}`,hierarchyCell:{main:`${fe.prefix}-${Se.hierarchy}-${Se.cell}`,header:`${fe.prefix}-${ze.header}`},td:{main:`${fe.prefix}-${ze.table}-${ze.td}`,selected:`${fe.prefix}-${Ae.selected}`},detailTd:{main:`${fe.prefix}-${ze.table}-${ze.td}`,cell:`${fe.prefix}-${Se.detail}-${Se.cell}`},editTd:{main:`${fe.prefix}-${ze.table}-${ze.td}`,cell:`${Ge}-${Ae.edit}-${Se.cell}`,selected:`${fe.prefix}-${Ae.selected}`},hierarchyTd:{main:`${fe.prefix}-${ze.table}-${ze.td}`,cell:`${fe.prefix}-${Se.hierarchy}-${Se.cell}`}},Ar={wrapper:e=>{const{size:t,virtual:r,c:i=Ir.wrapper}=e;return{[i.main]:!0,[i.size[t]]:i.size[t],[`${Ge}-${t}`]:t&&!i.size[t],[i.virtual]:r}},ariaRoot:e=>{const{c:t=Ir}=e;return t.ariaRoot},container:e=>{const{c:t=Ir}=e;return t.container},content:e=>{const{c:t=Ir.content}=e;return{[t.main]:!0,[t.virtual]:!0}},tableWrap:e=>{const{c:t=Ir}=e;return t.tableWrap},table:e=>{const{size:t,c:r=Ir.table}=e;return{[r.main]:!0,[r.gridTable]:!0,[r.size[t]]:r.size[t],[`${fe.prefix}-${ze}-${t}`]:!r.size[t]}},tbody:e=>{const{c:t=Ir}=e;return t.tbody},thead:e=>{const{draggable:t,c:r=Ir.thead}=e;return{[r.main]:!0,[r.draggable]:t}},header:e=>{const{draggable:t,c:r=Ir.header}=e;return{[r.main]:!0,[r.draggable]:t}},headerWrap:e=>{const{c:t=Ir}=e;return t.headerWrap},headerTable:e=>{const{size:t,c:r=Ir.headerTable}=e;return{[r.main]:!0,[r.header]:!0,[r.size[t]]:r.size[t],[`${fe.prefix}-${ze.table}-${t}`]:!r.size[t]}},headerTh:e=>{const{first:t,filterable:r,locked:i,sorted:n,c:o=Ir.headerTh}=e;return{[o.main]:!0,[o.header]:!0,[o.first]:t,[o.filterable]:r,[o.locked]:i,[o.sorted]:n}},tableThead:e=>{const{c:t=Ir}=e;return t.tableThead},heightContainer:e=>{const{c:t=Ir}=e;return t.heightContainer},sortIcon:e=>{const{c:t=Ir}=e;return t.sortIcon},sortOrder:e=>{const{c:t=Ir}=e;return t.sortOrder},tr:e=>{const{isHeader:t,isFooter:r,isMaster:i,isAltRow:n,selected:o,isInEdit:a,c:l=Ir.tr}=e;return{[l.main]:!0,[l.header]:t,[l.grouping]:t,[l.footer]:r,[l.master]:i,[l.rowAlt]:i&&n,[l.alt]:i&&n,[l.selected]:o,[l.isInEdit]:a}},detailTr:e=>{const{isAlt:t,c:r=Ir.detailTr}=e;return{[r.main]:!0,[r.row]:!0,[r.rowAlt]:t,[r.alt]:t}},simpleTr:e=>{const{c:t=Ir}=e;return t.simpleTr},headerCellInner:e=>{const{c:t=Ir}=e;return t.headerCellInner},columnTitle:e=>{const{c:t=Ir}=e;return t.columnTitle},headerCellLink:e=>{const{sortable:t,c:r=Ir.headerCellLink}=e;return{[r.main]:!0,[r.notSortable]:!t}},noRecords:e=>{const{c:t=Ir}=e;return t.noRecords},noRecordsTemplate:e=>{const{c:t=Ir}=e;return t.noRecordsTemplate},pager:e=>{const{c:t=Ir}=e;return t.pager},sorted:e=>{const{c:t=Ir}=e;return t.sorted},contentSticky:e=>{const{locked:t,c:r=Ir}=e;return{[r.contentSticky]:t}},hierarchyCell:e=>{const{c:t=Ir.hierarchyCell}=e;return{[t.main]:!0,[t.header]:!0}},td:e=>{const{selected:t,c:r=Ir.td}=e;return{[r.main]:!0,[r.selected]:t}},detailTd:e=>{const{c:t=Ir.detailTd}=e;return{[t.main]:!0,[t.cell]:!0}},editTd:e=>{const{selected:t,c:r=Ir.editTd}=e;return{[r.main]:!0,[r.cell]:!0,[r.selected]:t}},hierarchyTd:e=>{const{c:t=Ir.hierarchyTd}=e;return{[t.main]:!0,[t.cell]:!0}}};e.AsyncFocusBlur=({children:e,onFocus:t,onBlur:r,onSyncFocus:i,onSyncBlur:n})=>{const o=K({onFocus:t,onBlur:r,onSyncFocus:i,onSyncBlur:n});return l.createElement(l.Fragment,null,e.call(void 0,{...o}))},e.BrowserSupportService=w,e.COLLECTION_ACTION=ae,e.DragAndDrop=ft,e.Draggable=ht,e.Droppable=vt,e.FIELD_REGEX=D,e.FOCUSABLE_ELEMENTS=O,e.FOCUSABLE_ELEMENTS_BASE=P,e.FormComponent=class{},e.Icon=$e,e.IconWrap=Ze,e.IconsContext=Ke,e.KEYS={backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",esc:"Escape",space:" ",pageUp:"PageUp",pageDown:"PageDown",end:"End",home:"Home",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",delete:"Delete"},e.Keys=A,e.Navigation=class{constructor(e){this.rovingTabIndex=!0,this.update=()=>{},this.setFocusClass=e=>{e.target.classList.add(this.focusClass)},this.disableTabindexForRest=e=>{this.elements.forEach((t=>{t!==e&&t.setAttribute("tabindex","-1")}))},this.focusNextIndex=(e,t,r)=>{const i=1===t?this.next(e,r):this.previous(e,r);return this.focusElement(i,e),i},this.tabIndex=e.tabIndex||0,this.root=e.root,this.selectors=e.selectors,this.focusOptions=e.focusOptions||{preventScroll:!0},this.rovingTabIndex=void 0===e.rovingTabIndex||e.rovingTabIndex,this.mouseEvents=e.mouseEvents||{},this.keyboardEvents=e.keyboardEvents||{},this.focusClass=e.focusClass,this.lastFocused=null}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 e=this.elements;return e[e.length-1]||null}get current(){return this.elements.find((e=>e.matches(":focus")))||null}next(e,t){const r=t?this.customElements(t):this.elements;let i=r.indexOf(e)+1;return i=i<0?r.length-1:i,r[i%r.length]}previous(e,t){const r=t?this.customElements(t):this.elements;let i=r.indexOf(e)-1;return i=i<0?r.length-1:i,r[i%r.length]}focusNext(e,t){return this.focusNextIndex(e,1,t)}focusPrevious(e,t){return this.focusNextIndex(e,-1,t)}triggerKeyboardEvent(e,t){const r=this.target(e.target),i=r&&r.closest(this.selectors.join(",")),n=" "===e.key?"Space":e.key,o=e.nativeEvent.type;i&&this.keyboardEvents[o][n]&&this.keyboardEvents[o][n].call(void 0,i,this,e,t)}triggerMouseEvent(e){const t=this.target(e.target),r=t&&t.closest(this.selectors.join(",")),i=e.nativeEvent.type;r&&this.mouseEvents[i].call(void 0,r,this,e)}focusElement(e,t){e&&(t&&(this.rovingTabIndex&&t.setAttribute("tabindex","-1"),this.focusClass&&(this.removeFocusClass(t),t.removeEventListener("focus",this.setFocusClass))),this.rovingTabIndex&&e.setAttribute("tabindex",String(this.tabIndex)),this.focusClass&&(e.classList.add(this.focusClass),e.addEventListener("focus",this.setFocusClass)),e.focus(this.focusOptions),this.lastFocused=e)}initializeRovingTab(e){const t=e?this.elements[e]:this.first;t&&(this.focusClass&&t.addEventListener("focus",this.setFocusClass),t.setAttribute("tabindex",String(this.tabIndex)),this.disableTabindexForRest(t))}removeFocusListener(){this.lastFocused&&this.lastFocused.removeEventListener("focus",this.setFocusClass)}removeFocusClass(e){this.focusClass&&e.classList.remove(this.focusClass)}customElements(e){return this.root.current?Array.from(this.root.current.querySelectorAll(e.join(","))):[]}target(e){var t;const r=e&&e.ownerDocument||null;return e instanceof(r&&(null==(t=null==r?void 0:r.defaultView)?void 0:t.Element)||Element)?e:null}},e.RowHeightService=class{constructor(e=0,t,r,i){this.total=e,this.offsets=[],this.heights=[];let n=0;for(let o=0;o<e;o++){this.offsets.push(n);const e=i&&i[o].expanded&&"data"===i[o].rowType?r:t;n+=e,this.heights.push(e)}}height(e){return this.heights[e]}index(e){for(let t=0;t<this.offsets.length;t++){if(e===this.offsets[t])return t;if(e<this.offsets[t])return t-1}return this.total-1}offset(e){return this.offsets[e]}totalHeight(){return this.offsets[this.offsets.length-1]+this.heights[this.heights.length-1]}},e.SortedPublicItemIds=Ct,e.SvgIcon=Je,e.TABBABLE_ELEMENTS=L,e.TreeFieldsService=class{constructor(e){this.expandField=e.expandField,this.selectField=e.selectField,this.hasChildrenField=e.hasChildrenField,this.childrenField=e.childrenField,this.textField=e.textField,this.disableField=e.disableField,this.checkField=e.checkField,this.checkIndeterminateField=e.checkIndeterminateField,this.focusIdField=e.focusIdField}expanded(e){return yt(this.expandField,e)}selected(e){return yt(this.selectField,e)}text(e){return yt(this.textField,e)}disabled(e){return yt(this.disableField,e)}hasChildren(e){return yt(this.hasChildrenField,e)}children(e){return yt(this.childrenField,e)||[]}checked(e){return yt(this.checkField,e)}checkIndeterminate(e){return yt(this.checkIndeterminateField,e)}focusId(e){return this.focusIdField&&yt(this.focusIdField,e)}getChildrenField(){return this.childrenField}},e.Typography=st,e.UnstyledContext=te,e.WatermarkOverlay=()=>{const[e,t]=l.useState(!0),[r,i]=l.useState(!1);l.useEffect((()=>{W||(i(!0),W=!0)}),[]);const n=l.createElement(l.Fragment,null,e&&l.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:2e3}},l.createElement("span",{style:{display:"flex",alignSelf:"center",marginRight:"8px"}},l.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1L0 15H16L8 1ZM7 6V11H9V6H7ZM7 14V12H9V14H7Z",fill:"#1E1E1E"}))),l.createElement("span",null,"No valid license found for KendoReact. Learn how to activate your license."),l.createElement("div",{style:{display:"flex",alignItems:"center",marginLeft:"24px"}},l.createElement("a",{href:"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",style:{marginRight:"8px",display:"flex"}},l.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"}},l.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},l.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"})))),l.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:()=>{t(!1)}},l.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},l.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 l.createElement(l.Fragment,null,l.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/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mefNgGN1pP55QB0JIYQQQgghhBBCCJGy+T9ftRg+rVNPfAAAAABJRU5ErkJggg==')"}}),r&&s.createPortal(n,document.body))},e.ZIndexContext=b,e.actions=Ie,e.addItem=function e(t,r,i,n,o){const a=o.slice();if(x(n))if("child"===r){const e=a[Number(n)]={...a[Number(n)]};e[i]?(e[i]=e[i].slice(),e[i].push(t)):e[i]=[t]}else a.splice(Number(n)+("after"===r?1:0),0,t);else{const o=Number(u(n)),l=a[o]={...a[o]};l[i]=e(t,r,i,$(n),l[i])}return a},e.animationStyles=De,e.applyTrappedFocus=(e,t,r,i)=>{let n=!0;e.keyCode===A.enter||e.target!==t?(e.keyCode===A.enter&&e.target===t?(n=!0,setTimeout((()=>{H(t,i)}),1)):e.keyCode===A.esc?(n=!1,t.focus()):B(e,t,i),r&&r(n)):r&&r(!1)},e.areAllDirectChildrenChecked=function(e,t,r,i,n){return(e[i]||[]).every(((e,i)=>n.indexOf(r?yt(r,e):p(i,t))>-1))},e.base=fe,e.buttonPrefix=je,e.calendarPrefix=He,e.canUseDOM=k,e.canUseRef=e=>"string"!=typeof Comment&&((e=>{var t;return!("function"!=typeof e||null==(t=e.prototype)||!t.isReactComponent)})(e)||(e=>!(!e.$$typeof||"function"!=typeof e.render))(e)),e.classNames=y,e.clone=function(e){const t={};return E(e,t),t},e.cloneArray=I,e.cloneDate=C,e.cloneObject=E,e.cloneValue=z,e.components=xe,e.containers=Ee,e.createPropsContext=()=>l.createContext((e=>e)),e.cssUtils=me,e.cursor=ye,e.dateInputs=Re,e.ddbPrefix=Qe,e.dimensions=ke,e.directionMap=Ce,e.disableNavigatableContainer=(e,t)=>{const r=T(e,t);r&&r.forEach((e=>{e.tabIndex=-1}))},e.dispatchEvent=function(e,t,r,i){if(e){const n={syntheticEvent:t,nativeEvent:t.nativeEvent,target:r};e.call(void 0,Object.assign(n,i))}},e.dropDownListPrefix=Ue,e.elements=ze,e.enableNavigatableContainer=(e,t)=>{const r=T(e,t);r&&r.forEach((e=>{e.tabIndex=0}))},e.extendDataItem=(e,t,r)=>Object.assign({},e,e[t]?{[t]:e[t].slice()}:{},r||{}),e.fillModeMap=ge,e.firstFocusableChild=S,e.focusFirstFocusableChild=H,e.focusLastFocusableChild=(e,t)=>{if(e){const r=F(e,t);r&&r.focus()}},e.focusableChildren=T,e.forms=Le,e.getActiveElement=e=>{if(e&&e.activeElement)return kt(e.activeElement)},e.getAllDirectIndirectChildrenIds=function(e,t,r,i){return i?function e(t){let n=[];const o=t[r]||[];for(let t=0;t<o.length;t++)n.push(yt(i,o[t])),n=n.concat(e(o[t]));return n}(e):function e(t,i){let n=[];const o=t[r]||[];for(let t=0;t<o.length;t++){const r=p(t,i);n.push(r),n=n.concat(e(o[t],r))}return n}(e,t)},e.getAllParents=function(e,t,r){const i=[],n=h(e);let o=r;for(let e=0;e<n.length-1&&o;e++){const r=o[Number(n[e])];i.push(r),o=r[t]}return i},e.getInnerActiveElement=kt,e.getItemPath=(e,t,r)=>{const i=[],n=[...t];if(n.length){let t=e[n.shift()||0];for(i.push(t);n.length&&r;)t=t[r][n.shift()||0],i.push(t)}return i},e.getNestedValue=yt,e.getScrollbarWidth=()=>!(!k||!document.body)&&(new w).scrollbarWidth,e.getTabIndex=(e,t,r)=>{const i="string"==typeof e?parseInt(e):e;if(!Number.isNaN(i))return void 0!==i?i:t?r?void 0:-1:0},e.getter=function(e){if(j[e])return j[e];const t=N(e);return j[e]=function(e){let r=e;for(let e=0;e<t.length&&r;e++)r=r[t[e]];return r},j[e]},e.grid=Se,e.gridPrefix=Ge,e.guid=Q,e.hasChildren=Et,e.hasRelativeStackingContext=e=>{if(!k)return!1;const t=e?e.ownerDocument:document;if(!t||!t.body)return!1;const r=t.createElement("div");r.style.transform="matrix(10, 0, 0, 10, 0, 0)";const i=t.createElement("div");i.appendChild(t.createTextNode("child")),i.style.position="fixed",i.style.top="10px",r.appendChild(i),t.body.appendChild(r);const n=10!==i.getBoundingClientRect().top;return t.body.removeChild(r),n},e.icon=Pe,e.inputPrefix=Fe,e.inputs=Me,e.isArray=function(e){return void 0!==e.length},e.isEnabledAndAllParentsEnabled=function(e,t,r){const i=h(e);let n=t;for(let e=0;e<i.length;e++){const t=n[Number(i[e])];if(r.disabled(t))return!1;n=t[r.getChildrenField()]}return!0},e.isItemExpandedAndWithChildren=function(e,t){return t.expanded(e)&&Et(e,t.getChildrenField())},e.jsonTheme=Ve,e.keepFocusInContainer=B,e.kendoThemeMaps={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"},orientationMap:{vertical:"vstack",horizontal:"hstack"}},e.labels=Oe,e.lastFocusableChild=F,e.mapTree=(e,t,r)=>[...e.map((e=>X(e,t,r)))],e.mapTreeItem=(e,t,r,i)=>{let n=e;const o=[];for(let e=0;e<t.length;e++)n=n[t[e]],n=Array.isArray(n)?n:n[r],o.push(n);const a=o.length>1?o[o.length-2]:e,l=t[t.length-1],s=i(a[l]);a.splice(l,1,s)},e.maskedPrefix=Be,e.memoizeOne=function(e,t=wt){let r=null;function i(...i){if(r&&r.lastThis===this&&t(i,r.lastArgs))return r.lastResult;const n=e.apply(this,i);return r={lastResult:n,lastArgs:i,lastThis:this},n}return i.clear=function(){r=null},i},e.noop=q,e.orientationMap=we,e.pickerPrefix=qe,e.popup=Te,e.radioButtonClasses=tr,e.radioGroupClasses=ir,e.radioPrefix=Ne,e.removeItem=function e(t,r,i){const n=i.slice();if(x(t))n.splice(Number(t),1);else{const i=Number(u(t)),o=n[i]={...n[i]};o[r]=e($(t),r,o[r])}return n},e.resolveItemId=function(e,t,r,i){const n=zt([e],t,r,i);return n.length?n[0]:void 0},e.resolveItemsIds=zt,e.roundedMap=be,e.setScrollbarWidth=e=>{if(!k||!document.body)return!1;const t=e||(new w).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",`${t}px`)},e.setter=function(e){if(U[e])return U[e];const t=N(e);return U[e]=(e,r,i)=>{let n=e;const o=t.length-1;for(let e=0;e<o&&n;e++)n=n[t[e]]=n[t[e]]||G(t[e+1],i);n[t[o]]=r},U[e]},e.shouldShowValidationUI=function(e){return!Y.some((e=>{var t;return null==(t=globalThis.document)?void 0:t.location.hostname.endsWith(e)}))&&!r.validatePackage(e)},e.sizeMap=he,e.states=Ae,e.svgIconPropType=ue,e.themeColorMap=ve,e.toIconClass=de,e.toIconName=e=>e.replace(/^k-i-/,""),e.treeIdUtils=v,e.uAnimation=Dt,e.uButton=Rt,e.uCalendar=Vt,e.uDateInput=Yt,e.uDateTimePicker=Wt,e.uDropDownButton=Ot,e.uDropDownList=Nt,e.uDropDownsActionSheet=Ht,e.uDropDownsBase=St,e.uError=hr,e.uFloatingLabel=mr,e.uForm=kr,e.uFormField=Cr,e.uGrid=Ar,e.uHint=vr,e.uInput=dr,e.uLabel=pr,e.uMaskedTextBox=ar,e.uPopup=zr,e.uRadioButton=rr,e.uRadioGroup=nr,e.uSvgIcon=Ye,e.uTextBox=sr,e.uTime=Qt,e.uTimePicker=Ut,e.updateItem=function e(t,r,i,n,o){const a=Number(u(r));if(a>=t.length)return t;let l=t,s=t[a];return s[n]||(l=t.slice(),s=l[a]=Object.assign({},s,{[n]:!0})),x(r)?i(s):s[o]&&(s[o]=e(s[o],$(r),i,n,o)),l},e.useAsyncFocusBlur=K,e.useCollection=le,e.useCustomComponent=e=>e?e===l.Fragment?[oe,{}]:l.isValidElement(e)?[e.type,e.props]:[e,{}]:[ne,{}],e.useDir=function(e,t,r){const[i,n]=l.useState(t);return l.useEffect((()=>{if(!i&&window&&e.current){const t=window.getComputedStyle(e.current).direction;t&&n(t)}}),r),i},e.useDocument=se,e.useDraggable=xt,e.useDroppable=gt,e.useId=ee,e.useIsomorphicLayoutEffect=_,e.useMouse=ie,e.usePropsContext=Z,e.useRtl=function(e,t,r){const[i,n]=l.useState(t);return l.useEffect((()=>{if(!i&&window&&e.current){const t=window.getComputedStyle(e.current).direction;t&&n(t)}}),r),i},e.useUnstyled=re,e.useWindow=e=>{const t=se(e);return l.useCallback((()=>{const e=t();return e&&e.defaultView||window}),[t])},e.useZIndexContext=()=>l.useContext(b),e.validatePackage=J,e.withIdHOC=e=>l.forwardRef(((t,r)=>{const i=ee(t.id);return l.createElement(e,{...t,id:i,ref:r})})),e.withPropsContext=(e,t)=>l.forwardRef(((r,i)=>{const n=Z(e,r);return l.createElement(t,{...n,ref:i})})),e.withUnstyledHOC=e=>l.forwardRef(((t,r)=>{const i=re();return l.createElement(e,{...t,ref:r,unstyled:i})}))}));
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),s=require("../unstyled/main.js");function u(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const c=u(o),a=e=>c.forwardRef((n,t)=>{const r=s.useUnstyled();return c.createElement(e,{...n,ref:t,unstyled:r})});exports.withUnstyledHOC=a;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";
9
+ import * as e from "react";
10
+ import { useUnstyled as s } from "../unstyled/main.mjs";
11
+ const l = (t) => e.forwardRef((r, n) => {
12
+ const o = s();
13
+ return /* @__PURE__ */ e.createElement(t, { ...r, ref: n, unstyled: o });
14
+ });
15
+ export {
16
+ l as withUnstyledHOC
17
+ };
package/icons/SvgIcon.js CHANGED
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("react"),n=require("prop-types"),j=require("../classNames.js"),I=require("./constants.js");function B(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const l=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(s,o,l.get?l:{enumerable:!0,get:()=>e[o]})}}return s.default=e,Object.freeze(s)}const t=B(z),u=t.forwardRef((e,s)=>{const{children:o,className:l,svgClassName:y,icon:i,flip:d,id:b,tabIndex:x,size:m,style:r,svgStyle:S,themeColor:h,viewBox:f,name:C,onClick:N,...k}=e,g=t.useRef(null);t.useImperativeHandle(s,()=>({element:g.current}));const v=t.useMemo(()=>i?i.name:c.icon,[i]),w=t.useMemo(()=>m||c.size,[m]),a=t.useMemo(()=>d||c.flip,[d]),M=t.useMemo(()=>f||c.viewBox,[f]),O=t.useMemo(()=>j.classNames("k-icon","k-svg-icon","k-svg-i-"+v,{[`k-color-${h}`]:h,"k-flip-h":a==="horizontal"||a==="both","k-flip-v":a==="vertical"||a==="both"},I.SIZE_CLASSES[w],l),[v,h,w,a,l]),P=t.useMemo(()=>e.width&&e.height?{width:e.width,height:e.height,...r}:e.width?{width:e.width,height:e.width,...r}:e.height?{width:e.height,height:e.height,...r}:{...r},[e.width,e.height,r]);return t.createElement("span",{className:O,style:P,ref:g,onClick:N,"aria-hidden":!0},t.createElement("svg",{id:b,className:y,style:S,"aria-hidden":!0,tabIndex:x,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:i?i.viewBox:M,dangerouslySetInnerHTML:i?{__html:i.content}:void 0,...k},i?void 0:o))});u.propTypes={style:n.object,classNames:n.string,children:n.any,icon:n.object,themeColor:n.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:n.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:n.oneOf(["default","horizontal","vertical","both"])};const c={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};u.displayName="KendoSvgIcon";exports.SvgIcon=u;
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("react"),i=require("prop-types"),B=require("../classNames.js"),C=require("../unstyled/icons.js"),q=require("../unstyled/main.js");function R(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const l=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(o,s,l.get?l:{enumerable:!0,get:()=>e[s]})}}return o.default=e,Object.freeze(o)}const t=R(p),h=t.forwardRef((e,o)=>{const{children:s,className:l,svgClassName:b,icon:n,flip:d,id:x,tabIndex:S,size:m,style:r,svgStyle:N,themeColor:f,viewBox:g,name:T,onClick:I,...z}=e,v=t.useRef(null),u=q.useUnstyled(),M=u&&u.uSvgIcon?u.uSvgIcon:C.uSvgIcon;t.useImperativeHandle(o,()=>({element:v.current}));const w=t.useMemo(()=>n?n.name:c.icon,[n]),y=t.useMemo(()=>m||c.size,[m]),a=t.useMemo(()=>d||c.flip,[d]),O=t.useMemo(()=>g||c.viewBox,[g]),P=t.useMemo(()=>B.classNames(M.wrapper({iconNameProp:w,themeColor:f,flipH:a==="horizontal"||a==="both",flipV:a==="vertical"||a==="both",size:y}),l),[w,f,y,a,l]),j=t.useMemo(()=>e.width&&e.height?{width:e.width,height:e.height,...r}:e.width?{width:e.width,height:e.width,...r}:e.height?{width:e.height,height:e.height,...r}:{...r},[e.width,e.height,r]);return t.createElement("span",{className:P,style:j,ref:v,onClick:I,"aria-hidden":!0},t.createElement("svg",{id:x,className:b,style:N,"aria-hidden":!0,tabIndex:S,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:n?n.viewBox:O,dangerouslySetInnerHTML:n?{__html:n.content}:void 0,...z},n?void 0:s))});h.propTypes={style:i.object,classNames:i.string,children:i.any,icon:i.object,themeColor:i.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:i.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:i.oneOf(["default","horizontal","vertical","both"])};const c={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};h.displayName="KendoSvgIcon";exports.SvgIcon=h;
package/icons/SvgIcon.mjs CHANGED
@@ -8,90 +8,86 @@
8
8
  "use client";
9
9
  import * as t from "react";
10
10
  import o from "prop-types";
11
- import { classNames as C } from "../classNames.mjs";
12
- import { SIZE_CLASSES as I } from "./constants.mjs";
13
- const g = t.forwardRef((e, v) => {
11
+ import { classNames as P } from "../classNames.mjs";
12
+ import { uSvgIcon as R } from "../unstyled/icons.mjs";
13
+ import { useUnstyled as H } from "../unstyled/main.mjs";
14
+ const v = t.forwardRef((e, w) => {
14
15
  const {
15
- children: w,
16
- className: r,
17
- svgClassName: x,
16
+ children: x,
17
+ className: a,
18
+ svgClassName: y,
18
19
  icon: i,
19
- flip: h,
20
- id: y,
20
+ flip: c,
21
+ id: I,
21
22
  tabIndex: N,
22
- size: c,
23
- style: l,
24
- svgStyle: S,
25
- themeColor: a,
26
- viewBox: m,
27
- name: P,
28
- onClick: k,
23
+ size: h,
24
+ style: n,
25
+ svgStyle: z,
26
+ themeColor: m,
27
+ viewBox: d,
28
+ name: O,
29
+ onClick: S,
29
30
  ...b
30
- } = e, d = t.useRef(null);
31
+ } = e, u = t.useRef(null), r = H(), M = r && r.uSvgIcon ? r.uSvgIcon : R;
31
32
  t.useImperativeHandle(
32
- v,
33
+ w,
33
34
  () => ({
34
- element: d.current
35
+ element: u.current
35
36
  })
36
37
  );
37
38
  const f = t.useMemo(
38
- () => i ? i.name : s.icon,
39
+ () => i ? i.name : l.icon,
39
40
  [i]
40
- ), u = t.useMemo(
41
- () => c || s.size,
42
- [c]
43
- ), n = t.useMemo(
44
- () => h || s.flip,
41
+ ), g = t.useMemo(
42
+ () => h || l.size,
45
43
  [h]
46
- ), z = t.useMemo(
47
- () => m || s.viewBox,
48
- [m]
49
- ), M = t.useMemo(
50
- () => C(
51
- "k-icon",
52
- "k-svg-icon",
53
- "k-svg-i-" + f,
54
- {
55
- [`k-color-${a}`]: a,
56
- "k-flip-h": n === "horizontal" || n === "both",
57
- "k-flip-v": n === "vertical" || n === "both"
58
- },
59
- I[u],
60
- r
61
- ),
62
- [f, a, u, n, r]
44
+ ), s = t.useMemo(
45
+ () => c || l.flip,
46
+ [c]
47
+ ), p = t.useMemo(
48
+ () => d || l.viewBox,
49
+ [d]
63
50
  ), B = t.useMemo(
64
- () => e.width && e.height ? { width: e.width, height: e.height, ...l } : e.width ? { width: e.width, height: e.width, ...l } : e.height ? { width: e.height, height: e.height, ...l } : { ...l },
65
- [e.width, e.height, l]
51
+ () => P(M.wrapper({
52
+ iconNameProp: f,
53
+ themeColor: m,
54
+ flipH: s === "horizontal" || s === "both",
55
+ flipV: s === "vertical" || s === "both",
56
+ size: g
57
+ }), a),
58
+ [f, m, g, s, a]
59
+ ), C = t.useMemo(
60
+ () => e.width && e.height ? { width: e.width, height: e.height, ...n } : e.width ? { width: e.width, height: e.width, ...n } : e.height ? { width: e.height, height: e.height, ...n } : { ...n },
61
+ [e.width, e.height, n]
66
62
  );
67
63
  return /* @__PURE__ */ t.createElement(
68
64
  "span",
69
65
  {
70
- className: M,
71
- style: B,
72
- ref: d,
73
- onClick: k,
66
+ className: B,
67
+ style: C,
68
+ ref: u,
69
+ onClick: S,
74
70
  "aria-hidden": !0
75
71
  },
76
72
  /* @__PURE__ */ t.createElement(
77
73
  "svg",
78
74
  {
79
- id: y,
80
- className: x,
81
- style: S,
75
+ id: I,
76
+ className: y,
77
+ style: z,
82
78
  "aria-hidden": !0,
83
79
  tabIndex: N,
84
80
  focusable: !1,
85
81
  xmlns: "http://www.w3.org/2000/svg",
86
- viewBox: i ? i.viewBox : z,
82
+ viewBox: i ? i.viewBox : p,
87
83
  dangerouslySetInnerHTML: i ? { __html: i.content } : void 0,
88
84
  ...b
89
85
  },
90
- i ? void 0 : w
86
+ i ? void 0 : x
91
87
  )
92
88
  );
93
89
  });
94
- g.propTypes = {
90
+ v.propTypes = {
95
91
  style: o.object,
96
92
  classNames: o.string,
97
93
  children: o.any,
@@ -112,13 +108,13 @@ g.propTypes = {
112
108
  size: o.oneOf(["default", "xsmall", "small", "medium", "large", "xlarge", "xxlarge", "xxxlarge"]),
113
109
  flip: o.oneOf(["default", "horizontal", "vertical", "both"])
114
110
  };
115
- const s = {
111
+ const l = {
116
112
  size: "default",
117
113
  flip: "default",
118
114
  icon: "",
119
115
  viewBox: "0 0 24 24"
120
116
  };
121
- g.displayName = "KendoSvgIcon";
117
+ v.displayName = "KendoSvgIcon";
122
118
  export {
123
- g as SvgIcon
119
+ v as SvgIcon
124
120
  };