@progress/kendo-themes-html 14.1.0-dev.0 → 14.1.0-dev.2

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.
Files changed (98) hide show
  1. package/dist/cjs/breadcrumb/demos/breadcrumb.js +1 -1
  2. package/dist/cjs/breadcrumb/templates/breadcrumb-collapsing-auto.js +1 -1
  3. package/dist/cjs/breadcrumb/templates/breadcrumb-collapsing-none.js +1 -1
  4. package/dist/cjs/breadcrumb/templates/breadcrumb-collapsing-wrap.js +1 -1
  5. package/dist/cjs/chat/chat-message-reference.js +1 -1
  6. package/dist/cjs/chat/chat-message.js +1 -1
  7. package/dist/cjs/chat/demos/chat.js +1 -1
  8. package/dist/cjs/chat/templates/chat-empty.js +1 -1
  9. package/dist/cjs/chat/templates/chat-expandable.js +1 -1
  10. package/dist/cjs/chat/templates/chat-failed.js +1 -1
  11. package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
  12. package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
  13. package/dist/cjs/chat/templates/chat-normal.js +1 -1
  14. package/dist/cjs/chat/templates/chat-pinned.js +1 -1
  15. package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
  16. package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
  17. package/dist/cjs/chat/templates/chat-typing.js +1 -1
  18. package/dist/cjs/chat/templates/chat-upload.js +1 -1
  19. package/dist/cjs/file-box/file-box.spec.js +1 -1
  20. package/dist/cjs/file-box/templates/file-box-default.js +1 -1
  21. package/dist/cjs/file-box/templates/file-box-multiple.js +1 -1
  22. package/dist/cjs/file-box/templates/file-box-no-button.js +1 -1
  23. package/dist/cjs/file-box/templates/file-box-remove-button.js +1 -1
  24. package/dist/cjs/file-box/templates/file-box-vertical.js +1 -1
  25. package/dist/cjs/filemanager/demos/filemanager.js +1 -1
  26. package/dist/cjs/filemanager/file-info.js +1 -1
  27. package/dist/cjs/filemanager/filemanager-breadcrumb.spec.js +1 -1
  28. package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +1 -1
  29. package/dist/cjs/filemanager/templates/filemanager-grid.js +1 -1
  30. package/dist/cjs/filemanager/templates/filemanager-normal.js +1 -1
  31. package/dist/cjs/filemanager/templates/filemanager-preview.js +1 -1
  32. package/dist/cjs/grid/templates/grid-with-pinned-rows-pin-column.js +1 -1
  33. package/dist/cjs/grid/templates/grid-with-pinned-rows.js +1 -1
  34. package/dist/cjs/index.js +2 -2
  35. package/dist/cjs/pdf-viewer/demos/pdf-viewer.js +1 -1
  36. package/dist/cjs/pdf-viewer/pdf-viewer.spec.js +1 -1
  37. package/dist/cjs/pdf-viewer/templates/pdf-viewer-blank.js +1 -1
  38. package/dist/cjs/pdf-viewer/templates/pdf-viewer-normal.js +1 -1
  39. package/dist/cjs/pdf-viewer/templates/pdf-viewer-with-annotations.js +1 -1
  40. package/dist/cjs/pdf-viewer/templates/pdf-viewer-with-search-panel.js +1 -1
  41. package/dist/esm/breadcrumb/demos/breadcrumb.mjs +1 -1
  42. package/dist/esm/breadcrumb/templates/breadcrumb-collapsing-auto.mjs +1 -1
  43. package/dist/esm/breadcrumb/templates/breadcrumb-collapsing-none.mjs +1 -1
  44. package/dist/esm/breadcrumb/templates/breadcrumb-collapsing-wrap.mjs +1 -1
  45. package/dist/esm/chat/chat-message-reference.mjs +1 -1
  46. package/dist/esm/chat/chat-message.mjs +1 -1
  47. package/dist/esm/chat/demos/chat.mjs +1 -1
  48. package/dist/esm/chat/templates/chat-empty.mjs +1 -1
  49. package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
  50. package/dist/esm/chat/templates/chat-failed.mjs +1 -1
  51. package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
  52. package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
  53. package/dist/esm/chat/templates/chat-normal.mjs +1 -1
  54. package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
  55. package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
  56. package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
  57. package/dist/esm/chat/templates/chat-typing.mjs +1 -1
  58. package/dist/esm/chat/templates/chat-upload.mjs +1 -1
  59. package/dist/esm/file-box/file-box.spec.mjs +1 -1
  60. package/dist/esm/file-box/templates/file-box-default.mjs +1 -1
  61. package/dist/esm/file-box/templates/file-box-multiple.mjs +1 -1
  62. package/dist/esm/file-box/templates/file-box-no-button.mjs +1 -1
  63. package/dist/esm/file-box/templates/file-box-remove-button.mjs +1 -1
  64. package/dist/esm/file-box/templates/file-box-vertical.mjs +1 -1
  65. package/dist/esm/filemanager/demos/filemanager.mjs +1 -1
  66. package/dist/esm/filemanager/file-info.mjs +1 -1
  67. package/dist/esm/filemanager/filemanager-breadcrumb.spec.mjs +1 -1
  68. package/dist/esm/filemanager/templates/filemanager-grid-preview.mjs +1 -1
  69. package/dist/esm/filemanager/templates/filemanager-grid.mjs +1 -1
  70. package/dist/esm/filemanager/templates/filemanager-normal.mjs +1 -1
  71. package/dist/esm/filemanager/templates/filemanager-preview.mjs +1 -1
  72. package/dist/esm/grid/templates/grid-with-pinned-rows-pin-column.mjs +1 -1
  73. package/dist/esm/grid/templates/grid-with-pinned-rows.mjs +1 -1
  74. package/dist/esm/index.mjs +2 -2
  75. package/dist/esm/pdf-viewer/demos/pdf-viewer.mjs +1 -1
  76. package/dist/esm/pdf-viewer/pdf-viewer.spec.mjs +1 -1
  77. package/dist/esm/pdf-viewer/templates/pdf-viewer-blank.mjs +1 -1
  78. package/dist/esm/pdf-viewer/templates/pdf-viewer-normal.mjs +1 -1
  79. package/dist/esm/pdf-viewer/templates/pdf-viewer-with-annotations.mjs +1 -1
  80. package/dist/esm/pdf-viewer/templates/pdf-viewer-with-search-panel.mjs +1 -1
  81. package/package.json +2 -2
  82. package/src/breadcrumb/demos/breadcrumb.tsx +2 -2
  83. package/src/chat/chat-message-reference.tsx +2 -2
  84. package/src/chat/tests/chat-files-pin.tsx +2 -2
  85. package/src/chat/tests/chat-message-action-copy.tsx +1 -1
  86. package/src/chat/tests/chat-message-action-delete.tsx +1 -1
  87. package/src/chat/tests/chat-message-action-pin.tsx +2 -2
  88. package/src/chat/tests/chat-message-action-reply.tsx +2 -2
  89. package/src/chat/tests/chat-message-actions.tsx +2 -2
  90. package/src/chat/tests/chat-message-toolbar.tsx +1 -1
  91. package/src/file-box/file-box.spec.tsx +1 -1
  92. package/src/grid/templates/grid-with-pinned-rows-pin-column.tsx +6 -6
  93. package/src/grid/templates/grid-with-pinned-rows.tsx +2 -2
  94. package/src/grid/tests/grid-row-pinning-adaptive.tsx +3 -3
  95. package/src/grid/tests/grid-row-pinning-with-sticky-grouping.tsx +1 -1
  96. package/src/grid/tests/grid-row-pinning.tsx +27 -27
  97. package/src/pdf-viewer/pdf-viewer.spec.tsx +2 -2
  98. package/src/tabstrip/tests/tabstrip-actions.tsx +4 -4
@@ -1 +1 @@
1
- var fd=Object.create;var va=Object.defineProperty;var bd=Object.getOwnPropertyDescriptor;var hd=Object.getOwnPropertyNames;var xd=Object.getPrototypeOf,gd=Object.prototype.hasOwnProperty;var kd=(e,t)=>{for(var o in t)va(e,o,{get:t[o],enumerable:!0})},ti=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of hd(t))!gd.call(e,r)&&r!==o&&va(e,r,{get:()=>t[r],enumerable:!(a=bd(t,r))||a.enumerable});return e};var oi=(e,t,o)=>(o=e!=null?fd(xd(e)):{},ti(t||!e||!e.__esModule?va(o,"default",{value:e,enumerable:!0}):o,e)),Nd=e=>ti(va({},"__esModule",{value:!0}),e);var ub={};kd(ub,{PDFVIEWER_CLASSNAME:()=>or,PDFViewer:()=>At,default:()=>cb});module.exports=Nd(ub);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var T=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),y=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:i,checked:d,active:c,selected:m,disabled:f,indeterminate:b,loading:g,empty:u,readonly:N,highlighted:k,...C}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":i,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":f,"k-indeterminate":b&&!d,"k-loading":g,"k-empty":u,"k-readonly":N,"k-highlighted":k},Object.keys(C).reduce((E,I)=>(I.startsWith("k-")?E[I]=C[I]:E[`k-${I}`]=C[I],E),{}))};function ai(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},ut={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},v={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var ir={};function H(e){return ir[e]=(ir[e]||0)+1,`k-${e}-${ir[e]}`}var Wo=require("react/jsx-runtime"),sr="k-font-icon",vd=[],Ld={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},Md={},Zo=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:i,...d}=e;return a?(0,Wo.jsx)("span",{...d,className:n(e.className,sr,T(sr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):(0,Wo.jsx)(Wo.Fragment,{})};Zo.states=vd;Zo.options=Ld;Zo.className=sr;Zo.defaultOptions=Md;var ri=Zo;var Xt=require("react/jsx-runtime"),lr="k-svg-icon",Sd=[],Id={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[ut.outline,ut.solid,ut.duotone]},dr={viewBox:"0 0 24 24",variant:ut.outline},Yo=e=>{var g,u;let{size:t,themeColor:o,rotate:a,flip:r,viewBox:i=dr.viewBox,variant:d=dr.variant,icon:c,...m}=e;if(!c)return(0,Xt.jsx)(Xt.Fragment,{});if(c==="none")return(0,Xt.jsx)("span",{...m,className:n(e.className,lr,T("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let f=typeof c=="object"&&c.name&&c.name,b=typeof c=="object"?d&&((g=c.variants)==null?void 0:g[d])||((u=c.variants)==null?void 0:u.outline)||c.content:void 0;return(0,Xt.jsx)("span",{...m,className:n(e.className,lr,T("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:(0,Xt.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:i,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:c?void 0:e.children})})};Yo.states=Sd;Yo.options=Id;Yo.className=lr;Yo.defaultOptions=dr;var pr=Yo;var cr=oi(require("@progress/kendo-svg-icons"));var ni="icon",ii="icons";var di=require("react");var si=require("react"),li=(0,si.createContext)({iconsType:"svg"});var kt=require("react/jsx-runtime"),La="k-icon",yd=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Cd=[],Ed={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[ut.outline,ut.solid,ut.duotone]},Ma={viewBox:"0 0 24 24",type:"svg",variant:ut.outline},L=e=>{let{iconsType:t}=(0,di.useContext)(li),{size:o,themeColor:a,icon:r,type:i=t||Ma.type,rotate:d,flip:c,viewBox:m=Ma.viewBox,variant:f=Ma.variant,...b}=e;if(!r)return(0,kt.jsx)(kt.Fragment,{});if((t||i)==="svg"){if(r==="none")return(0,kt.jsx)(pr,{...b,className:n(e.className,La),icon:r,size:o,variant:f});let u=cr[r]?r:yd(`${r}-icon`);return cr[u]?(0,kt.jsx)(pr,{...b,className:n(e.className,La),icon:cr[u],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:f}):(0,kt.jsx)(kt.Fragment,{})}return(0,kt.jsx)(ri,{...b,className:n(e.className,La),icon:r,size:o,themeColor:a,rotate:d,flip:c})};L.states=Cd;L.options=Ed;L.defaultOptions=Ma;L.className=La;L.moduleName=ni;L.folderName=ii;L.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var ur="button",pi=ur;var it=require("react/jsx-runtime"),Qo="k-button",Td=["icon-button"],Ad=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],Od={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},mr={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:i,showArrow:d=mr.showArrow,arrowIconName:c=mr.arrowIconName,variant:m,hover:f,focus:b,active:g,selected:u,disabled:N,togglable:k,ariaDisabled:C,icon:E,text:I,iconClassName:B,className:q,...U}=e,Ee=E!==void 0,Te=e.children!==void 0;return(0,it.jsxs)(t,{className:n(q,Qo,ai(Qo,m),T(Qo,{size:o,rounded:a,fillMode:r,themeColor:i}),y(Qo,{hover:f,focus:b,active:g,disabled:N||C,selected:u}),{"k-icon-button":!I&&!Te&&Ee}),...U,"aria-pressed":k?u?"true":"false":void 0,"aria-disabled":C?"true":void 0,disabled:N||void 0,children:[E&&(0,it.jsx)(L,{className:n(B,"k-button-icon"),icon:E}),I?(0,it.jsxs)(it.Fragment,{children:[I&&(0,it.jsx)("span",{className:"k-button-text",children:I}),e.children]}):e.children&&(0,it.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,it.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,it.jsx)(L,{icon:c})})]})};l.states=Ad;l.options=Od;l.variants=Td;l.className=Qo;l.defaultOptions=mr;l.moduleName=ur;l.folderName=pi;l.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var ci=require("react/jsx-runtime"),Pt=e=>(0,ci.jsx)(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var ui=require("react/jsx-runtime"),jo=e=>(0,ui.jsx)(l,{icon:"folder",children:"Button",...e});var mi=require("react/jsx-runtime"),qt=e=>(0,mi.jsx)(l,{children:"Button",...e});var Sa=require("react/jsx-runtime"),Pd=l.options,wd=l.states,Bd={...l.defaultOptions,variant:"text"},Rd=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Kd=[],no=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Sa.jsx)(Pt,{...o,icon:"star"});case"icon-and-text":return(0,Sa.jsx)(jo,{...o,icon:"star",children:"Button"});default:return(0,Sa.jsx)(qt,{...o,children:"Button"})}};no.options=Pd;no.states=wd;no.variants=Rd;no.defaultOptions=Bd;no.modifiers=Kd;no.className=l.className;var fr="button",fi=fr;var bi=require("react/jsx-runtime"),ea="k-button-group",_d=[s.disabled],Dd={fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},zd={},A=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return(0,bi.jsx)("div",{role:"group",...r,className:n(e.className,ea,T(ea,{fillMode:t}),y(ea,{disabled:o}),{[`${ea}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};A.states=_d;A.options=Dd;A.className=ea;A.defaultOptions=zd;A.moduleName=fr;A.folderName=fi;A.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var br=require("react/jsx-runtime");var hr=require("react/jsx-runtime");var xr=require("react/jsx-runtime");var gr=require("react/jsx-runtime");var kr=require("react/jsx-runtime");var Nr=require("react/jsx-runtime");var Ke=require("react/jsx-runtime"),Hd={...l.options,...A.options},Ud=l.states,Fd={...l.defaultOptions,...A.defaultOptions,variant:"text-button"},Gd=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Vd=[],io=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Ke.jsxs)(A,{fillMode:a.fillMode,className:o,children:[(0,Ke.jsx)(l,{...a,icon:"star"}),(0,Ke.jsx)(l,{...a,icon:"star"}),(0,Ke.jsx)(l,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Ke.jsxs)(A,{fillMode:a.fillMode,className:o,children:[(0,Ke.jsx)(l,{...a,icon:"star",children:"First"}),(0,Ke.jsx)(l,{...a,icon:"star",children:"Middle"}),(0,Ke.jsx)(l,{...a,icon:"star",children:"Last"})]}):(0,Ke.jsxs)(A,{fillMode:a.fillMode,className:o,children:[(0,Ke.jsx)(l,{...a,children:"First"}),(0,Ke.jsx)(l,{...a,children:"Middle"}),(0,Ke.jsx)(l,{...a,children:"Last"})]})};io.options=Hd;io.states=Ud;io.variants=Gd;io.defaultOptions=Fd;io.modifiers=Vd;io.className=A.className;var ta="input",Ia=ta;var hi=require("react/jsx-runtime"),ya="k-input",$d=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Xd={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},qd={},te=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:i,loading:d,readonly:c,size:m,rounded:f,fillMode:b,...g}=e;return(0,hi.jsx)("span",{...g,className:n(e.className,ya,T(ya,{size:m,rounded:f,fillMode:b}),y(ya,{hover:t,focus:o,disabled:a,invalid:r,valid:i,loading:d,readonly:c}))})};te.states=$d;te.options=Xd;te.className=ya;te.defaultOptions=qd;te.moduleName=ta;te.folderName=Ia;var xi=require("react/jsx-runtime"),Ca="k-picker",Jd=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Wd={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Zd={},mt=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:i,loading:d,readonly:c,size:m,rounded:f,fillMode:b,...g}=e;return(0,xi.jsx)("span",{...g,className:n(e.className,Ca,T(Ca,{size:m,rounded:f,fillMode:b}),y(Ca,{hover:t,focus:o,disabled:a,invalid:r,valid:i,loading:d,readonly:c})),children:e.children})};mt.states=Jd;mt.options=Wd;mt.className=Ca;mt.defaultOptions=Zd;mt.moduleName=ta;mt.folderName=Ia;var so=require("react/jsx-runtime"),gi="k-clear-value",Yd=[s.disabled,s.loading,s.readonly],Qd={},Ge=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?(0,so.jsx)(so.Fragment,{}):(0,so.jsx)("span",{className:n(e.className,gi),children:(0,so.jsx)(L,{icon:"x"})})};Ge.states=Yd;Ge.options=Qd;Ge.className=gi;var ki=require("react/jsx-runtime"),vr="k-input-inner",jd=[],ep={},Ea={type:"text",autocomplete:"off",value:"",placeholder:""},Ve=e=>{let{value:t=Ea.value,type:o=Ea.type,placeholder:a=Ea.placeholder,autocomplete:r=Ea.autocomplete,disabled:i,readOnly:d,...c}=e;return(0,ki.jsx)("input",{...c,type:o,className:n(e.className,vr,T(vr,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:i||void 0,readOnly:d||void 0})};Ve.states=jd;Ve.options=ep;Ve.className=vr;var oa=require("react/jsx-runtime"),Lr="k-input-inner",tp=[],op={},Jt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:i,...d}=e;return(0,oa.jsxs)("span",{...d,className:n(e.className,Lr,T(Lr,e)),children:[r,!r&&i&&(0,oa.jsx)(L,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&(0,oa.jsx)("span",{className:"k-input-value-text",children:t})]})};Jt.states=tp;Jt.options=op;Jt.className=Lr;var vi=require("react/jsx-runtime"),Mr="k-input-inner",ap=[],rp={},Ni={value:"",placeholder:""},Sr=e=>{let{value:t=Ni.value,placeholder:o=Ni.placeholder,rows:a,disabled:r,...i}=e;return(0,vi.jsx)("textarea",{...i,className:n(e.className,Mr,T(Mr,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};Sr.states=ap;Sr.options=rp;Sr.className=Mr;var aa=require("react/jsx-runtime"),Li="k-input-loading-icon",np=[s.disabled,s.loading],_e=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,aa.jsx)(aa.Fragment,{}):(0,aa.jsx)("span",{className:n(e.className,Li,"k-icon k-i-loading")})};_e.states=np;_e.className=Li;var ra=require("react/jsx-runtime"),Mi="k-input-validation-icon",ip=[s.valid,s.invalid,s.disabled,s.loading],sp={},Ae=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,i=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?(0,ra.jsx)(ra.Fragment,{}):(0,ra.jsx)(L,{className:n(Mi),icon:i})};Ae.states=ip;Ae.options=sp;Ae.className=Mi;var na=require("react/jsx-runtime"),lp="k-input-prefix",dp={direction:"horizontal"},Ze=e=>{let{direction:t=dp.direction,...o}=e;return e.children?(0,na.jsx)("span",{...o,className:n(lp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,na.jsx)(na.Fragment,{})};var ia=require("react/jsx-runtime"),pp="k-input-suffix",cp={direction:"horizontal"},Ye=e=>{let{direction:t=cp.direction,...o}=e;return e.children?(0,ia.jsx)("span",{...o,className:n(pp,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,ia.jsx)(ia.Fragment,{})};var up=require("react/jsx-runtime");var Si=require("react/jsx-runtime"),mp="k-input-suffix-text",Ir=e=>{let{children:t,...o}=e;return(0,Si.jsx)("span",{...o,className:n(mp,e.className),children:t})};var yi=require("react/jsx-runtime"),Ii="k-input-separator",fp={direction:"vertical"},Qe=e=>{let{direction:t=fp.direction,...o}=e;return(0,yi.jsx)("span",{...o,className:n(Ii,e.className,{[`${Ii}-${t}`]:t})})};var de=require("react/jsx-runtime"),bp=te.states,hp=te.defaultOptions,xp=te.options,gp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],kp=[],lo=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:i,readonly:d,...c}=e,m=t==null?void 0:t.prefix,f=t==null?void 0:t.suffix,b=t==null?void 0:t["clear-button"],g=t==null?void 0:t["validation-icon"],u=t==null?void 0:t.separators;return(0,de.jsxs)(te,{...c,valid:o,invalid:a,loading:r,disabled:i,readonly:d,style:{width:300},children:[m&&(0,de.jsxs)(de.Fragment,{children:[(0,de.jsx)(Ze,{children:(0,de.jsx)(L,{icon:"lock"})}),u&&(0,de.jsx)(Qe,{})]}),(0,de.jsx)(Ve,{placeholder:"Placeholder",value:"Value"}),g&&(0,de.jsx)(Ae,{valid:o,invalid:a,loading:r,disabled:i}),(0,de.jsx)(_e,{loading:r,disabled:i}),b&&(0,de.jsx)(Ge,{loading:r,disabled:i,readonly:d,value:"Value"}),f&&(0,de.jsxs)(de.Fragment,{children:[u&&(0,de.jsx)(Qe,{}),(0,de.jsx)(Ye,{children:(0,de.jsx)(qt,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};lo.options=xp;lo.states=bp;lo.variants=kp;lo.defaultOptions=hp;lo.modifiers=gp;lo.className=te.className;var yr="popup",Ci=yr;var Cr=require("react/jsx-runtime"),Ei="k-animation-container",Np=[],vp={},Ti={positionMode:"absolute"},ft=e=>{let{positionMode:t=Ti.positionMode,animationStyle:o,offset:a,...r}=e;return(0,Cr.jsx)("div",{...r,style:{...a,...e.style},className:n(e.className,Ei,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Cr.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};ft.states=Np;ft.options=vp;ft.className=Ei;ft.defaultOptions=Ti;ft.moduleName=yr;ft.folderName=Ci;var Er="popup",Ai=Er;var Tr=require("react/jsx-runtime"),Oi="k-popup",Lp=[],Mp={},Pi={positionMode:"absolute"},X=e=>{let{offset:t,positionMode:o=Pi.positionMode,animationStyle:a,containerClassName:r,containerRole:i,containerAriaLabel:d,...c}=e;return(0,Tr.jsx)(ft,{positionMode:o,offset:t,animationStyle:a,className:r,role:i,"aria-label":d,children:(0,Tr.jsx)("div",{...c,className:n(e.className,Oi),children:e.children})})};X.states=Lp;X.options=Mp;X.className=Oi;X.defaultOptions=Pi;X.moduleName=Er;X.folderName=Ai;X.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Ar="action-buttons",wi=Ar;var Ri=require("react/jsx-runtime"),Ta="k-actions",Sp=[],Ip={},Or={alignment:"start",orientation:"horizontal"},st=e=>{let{alignment:t=Or.alignment,orientation:o=Or.orientation,...a}=e;return(0,Ri.jsx)("div",{...a,className:n(Ta,{[`${Ta}-${t}`]:t,[`${Ta}-${o}`]:o},e.className),children:e.children})};st.states=Sp;st.options=Ip;st.className=Ta;st.defaultOptions=Or;st.moduleName=Ar;st.folderName=wi;var Bi=st;var _i=require("react/jsx-runtime"),yp="k-actionsheet-footer",Ki={alignment:"stretched",orientation:"horizontal"},wt=e=>{let{alignment:t=Ki.alignment,orientation:o=Ki.orientation,template:a,as:r=a?"div":st,...i}=e;return(0,_i.jsx)(r,{...i,...!a&&{alignment:t,orientation:o},className:n(e.className,yp),children:e.children})};var Pr="searchbox",Di=Pr;var Bt=require("react/jsx-runtime"),zi="k-searchbox",Cp=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Ep={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},wr={showIcon:!0,icon:"search"},je=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:i,hover:d,focus:c,valid:m,invalid:f,required:b,loading:g,disabled:u,showIcon:N=wr.showIcon,icon:k=wr.icon,"aria-label":C,...E}=e;return(0,Bt.jsxs)(te,{...E,size:a,rounded:r,fillMode:i,hover:d,focus:c,valid:m,invalid:f,required:b,loading:g,disabled:u,className:n(e.className,zi),children:[N&&(0,Bt.jsx)(L,{className:"k-input-icon",icon:k}),(0,Bt.jsx)(Ve,{placeholder:o,value:t,"aria-label":C}),(0,Bt.jsx)(_e,{...e}),(0,Bt.jsx)(Ae,{...e}),(0,Bt.jsx)(Ge,{...e})]})};je.states=Cp;je.options=Ep;je.className=zi;je.defaultOptions=wr;je.moduleName=Pr;je.folderName=Di;var Tp=require("react/jsx-runtime");var Br="textbox",Hi=Br;var ve=require("react/jsx-runtime"),Ui="k-textbox",Ap=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Op={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Aa={showClearButton:!0,showValidationIcon:!0,separators:!0},ne=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Aa.separators,showClearButton:i=Aa.showClearButton,showValidationIcon:d=Aa.showValidationIcon,prefix:c,suffix:m,type:f,value:b,placeholder:g,hover:u,focus:N,valid:k,invalid:C,required:E,loading:I,disabled:B,readonly:q,id:U,"aria-label":Ee,"aria-describedby":Te,...Fe}=e;return(0,ve.jsxs)(te,{...Fe,size:t,rounded:o,fillMode:a,hover:u,focus:N,valid:k,invalid:C,required:E,loading:I,disabled:B,readonly:q,className:n(e.className,Ui),children:[c&&(0,ve.jsxs)(ve.Fragment,{children:[(0,ve.jsx)(Ze,{children:c}),r&&(0,ve.jsx)(Qe,{})]}),(0,ve.jsx)(Ve,{id:U,placeholder:g,value:b,type:f,disabled:B,"aria-label":Ee,"aria-describedby":Te,"aria-invalid":C?"true":void 0}),d&&(0,ve.jsx)(Ae,{valid:k,invalid:C,loading:I,disabled:B}),(0,ve.jsx)(_e,{loading:I,disabled:B}),i&&(0,ve.jsx)(Ge,{loading:I,disabled:B,readonly:q,value:b}),m&&(0,ve.jsxs)(ve.Fragment,{children:[r&&(0,ve.jsx)(Qe,{}),(0,ve.jsx)(Ye,{children:m})]})]})};ne.states=Ap;ne.options=Op;ne.className=Ui;ne.defaultOptions=Aa;ne.moduleName=Br;ne.folderName=Hi;ne.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var sa=ne;var Gi=require("react/jsx-runtime"),Fi=e=>(0,Gi.jsx)(sa,{...e});var Vi=require("react/jsx-runtime");var $i=require("react/jsx-runtime");var Pp=require("react/jsx-runtime");var Oa=require("react/jsx-runtime"),wp=ne.states,Bp=ne.defaultOptions,Rp=ne.options,Kp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],_p=[],po=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,Oa.jsx)(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,Oa.jsx)(qt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;default:break}}),(0,Oa.jsx)(Fi,{value:"Value",style:{width:300},...o,...a})};po.options=Rp;po.states=wp;po.variants=_p;po.defaultOptions=Bp;po.modifiers=Kp;po.className=ne.className;var $e=require("react/jsx-runtime"),Xi="k-actionsheet-titlebar",Dp={},Oe=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:i,input:d,inputValue:c,inputPlaceholder:m,adaptive:f,titleId:b,children:g,...u}=e;return(0,$e.jsxs)("div",{...u,className:n(e.className,Xi),children:[(0,$e.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,$e.jsx)("div",{className:"k-actionsheet-actions",children:a}),!g&&(0,$e.jsxs)("div",{className:"k-actionsheet-title",id:b,children:[t&&(0,$e.jsx)("div",{className:"k-text-center",children:t}),o&&(0,$e.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&(0,$e.jsx)("div",{className:"k-actionsheet-title",id:b,children:g}),r&&(0,$e.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(d||i)&&(0,$e.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,$e.jsx)(ne,{value:c,placeholder:m,size:f?"large":"medium","aria-label":t||m||"Input"}):(0,$e.jsx)(je,{placeholder:"Filter",size:f?"large":"medium","aria-label":"Filter options"})})]})};Oe.className=Xi;Oe.defaultOptions=Dp;var co=require("react/jsx-runtime"),Rr="k-actionsheet-view",zp=[],Hp={},Up={},uo=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:i,titleId:d,...c}=e,m=(r==null?void 0:r.type)===Oe&&(0,co.jsx)(Oe,{adaptive:t,titleId:d,...r==null?void 0:r.props}),f=(i==null?void 0:i.type)===wt&&(0,co.jsx)(wt,{...i==null?void 0:i.props});return(0,co.jsxs)("div",{...c,className:n(e.className,Rr,{[`${Rr}-animated`]:o}),children:[m,(0,co.jsx)("div",{className:"k-actionsheet-content",children:a}),f]})};uo.states=zp;uo.options=Hp;uo.className=Rr;uo.defaultOptions=Up;var la="action-sheet",Pa=la;var Kr="overlay",qi=Kr;var Wi=require("react/jsx-runtime"),Ji="k-overlay",Fp=[],Gp={},Vp={},Rt=e=>{let{...t}=e;return(0,Wi.jsx)("div",{...t,className:n(e.className,Ji),children:e.children})};Rt.states=Fp;Rt.options=Gp;Rt.className=Ji;Rt.defaultOptions=Vp;Rt.moduleName=Kr;Rt.folderName=qi;var Wt=require("react/jsx-runtime"),Zi="k-actionsheet",$p=[],Xp={},da={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Q=e=>{let{side:t=da.side,fullscreen:o=da.fullscreen,adaptive:a=da.adaptive,overlay:r=da.overlay,template:i,children:d,header:c,footer:m,id:f,...b}=e,g=f&&!i&&c?`${f}-title`:void 0;return(0,Wt.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,Wt.jsx)(Rt,{}),(0,Wt.jsx)(ft,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,Wt.jsx)("div",{...b,id:f,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":g,className:n(e.className,Zi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||(0,Wt.jsx)(uo,{header:c,footer:m,adaptive:a,titleId:g,...e,children:d})})})]})};Q.states=$p;Q.options=Xp;Q.className=Zi;Q.defaultOptions=da;Q.moduleName=la;Q.folderName=Pa;Q.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var Qi=require("react/jsx-runtime"),Yi="k-actionsheet-container",qp=[],Jp={},Wp={},mo=e=>{let{children:t,...o}=e;return(0,Qi.jsx)("div",{...o,className:Yi,children:t})};mo.states=qp;mo.options=Jp;mo.className=Yi;mo.defaultOptions=Wp;mo.moduleName=la;mo.folderName=Pa;var ji=require("react/jsx-runtime"),_r=e=>{let{...t}=e;return(0,ji.jsx)("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};var et=require("react/jsx-runtime"),Dr="k-actionsheet-item",Zp=[s.hover,s.focus,s.selected,s.disabled],Kt=e=>{let{iconName:t,text:o,description:a,hover:r,focus:i,selected:d,disabled:c,...m}=e;return(0,et.jsxs)("span",{...m,className:n(e.className,Dr,y(Dr,{hover:r,focus:i,selected:d,disabled:c})),children:[!e.children&&(0,et.jsx)(et.Fragment,{children:(0,et.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,et.jsx)("span",{className:"k-icon-wrap",children:(0,et.jsx)(L,{className:"k-actionsheet-item-icon",icon:t})}),(0,et.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,et.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,et.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Kt.states=Zp;Kt.className=Dr;var es=require("react/jsx-runtime");var Yp=require("react/jsx-runtime");var Qp=require("react/jsx-runtime");var jp=require("react/jsx-runtime");var J=require("react/jsx-runtime"),ec=Q.options,tc=Q.states,os={...Q.defaultOptions,variant:"normal"},oc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ac=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],fo=e=>{let{variant:t,modifiers:o,...a}={...os,...e},r={},i=(0,J.jsxs)(_r,{children:[(0,J.jsx)(Kt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,J.jsx)(Kt,{text:"Add to Favorites",iconName:"heart"}),(0,J.jsx)(Kt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,J.jsx)("hr",{className:"k-hr"}),(0,J.jsx)(Kt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":r.actionsStart=!!(o!=null&&o[m]),r.actionsEnd=!!(o!=null&&o[m]);break;case"subtitle":r.subtitle=o!=null&&o[m]?d:void 0;break;case"footer":r.footer=!!(o!=null&&o[m]);break;default:break}}),t==="adaptive"?(0,J.jsx)(Q,{...a,adaptive:!0,fullscreen:r.fullScreen,header:(0,J.jsx)(Oe,{actionsStart:r.actionsStart?(0,J.jsx)(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,J.jsx)(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:r.subtitle}),footer:r.footer?(0,J.jsxs)(wt,{alignment:"stretched",children:[(0,J.jsx)(l,{text:"Cancel",size:"large",themeColor:"base"}),(0,J.jsx)(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):(0,J.jsx)(Q,{...a,fullscreen:r.fullScreen,header:(0,J.jsx)(Oe,{actionsStart:r.actionsStart?(0,J.jsx)(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,J.jsx)(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?(0,J.jsxs)(wt,{alignment:"stretched",children:[(0,J.jsx)(l,{text:"Apply",themeColor:"primary"}),(0,J.jsx)(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};fo.options=ec;fo.states=tc;fo.variants=oc;fo.defaultOptions=os;fo.modifiers=ac;fo.className=Q.className;var Ba=oi(require("react"));var zr=require("react/jsx-runtime"),rc="k-list-group-sticky-header",Hr=e=>(0,zr.jsx)("div",{className:n(rc,e.className),children:(0,zr.jsx)("div",{className:"k-list-header-text",children:e.children})});var as=require("react/jsx-runtime"),nc="k-no-data",wa=e=>{let{live:t,...o}=e;return(0,as.jsx)("span",{...o,className:n(nc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Zt="list",bo=Zt;var ho=require("react/jsx-runtime"),Ur="k-list",ic=[],sc={size:[p.undefined,p.small,p.medium,p.large]},lc={},K=e=>{var N;let{size:t,virtualization:o,children:a,header:r,optionLabel:i,customValue:d,noData:c,screenReaders:m,...f}=e,g=Ba.default.Children.toArray(a)[0],u=(N=g==null?void 0:g.props)!=null&&N.children?Ba.default.Children.count(g.props.children):Ba.default.Children.count(a);return(0,ho.jsxs)("div",{...f,className:n(e.className,Ur,T(Ur,{size:t}),{"k-virtual-list":o}),children:[i,d,r&&(0,ho.jsx)(Hr,{children:r}),a||(c!==void 0?c:(0,ho.jsx)(wa,{live:!0,children:"No data found."})),m&&a&&(0,ho.jsxs)(wa,{className:"k-sr-only",live:!0,children:[u," items found."]})]})};K.states=ic;K.options=sc;K.className=Ur;K.defaultOptions=lc;K.moduleName=Zt;K.folderName=bo;K.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var ns=require("react/jsx-runtime"),rs="k-list-container",dc=[],pc={},cc={},xo=e=>{let{...t}=e;return(0,ns.jsx)("div",{...t,className:n(e.className,rs),children:e.children})};xo.states=dc;xo.options=pc;xo.className=rs;xo.defaultOptions=cc;xo.moduleName=Zt;xo.folderName=bo;var Yt="checkbox",go=Yt;var Fr=require("react/jsx-runtime"),Ra="k-checkbox",uc=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],mc={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full]},fc={},tt=e=>{let{id:t,checked:o,indeterminate:a,hover:r,focus:i,disabled:d,invalid:c,valid:m,required:f,size:b,rounded:g,wrapperRole:u,...N}=e;return(0,Fr.jsx)("span",{className:"k-checkbox-wrap",role:u,children:(0,Fr.jsx)("input",{...N,id:t,type:"checkbox",defaultChecked:o,required:f,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:n(e.className,Ra,T(Ra,{size:b,rounded:g}),y(Ra,{hover:r,focus:i,disabled:d,invalid:c,valid:m,indeterminate:a,checked:o}))})})};tt.states=uc;tt.options=mc;tt.className=Ra;tt.defaultOptions=fc;tt.moduleName=Yt;tt.folderName=go;tt.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var lt=tt;var ls=require("react/jsx-runtime"),is="k-checkbox-list",bc=[],hc={},ss={layout:"vertical"},Pe=e=>{let{layout:t=ss.layout,...o}=e;return(0,ls.jsx)("ul",{...o,className:n(e.className,is,{[`k-list-${t}`]:t}),children:e.children})};Pe.states=bc;Pe.options=hc;Pe.className=is;Pe.defaultOptions=ss;Pe.moduleName=Yt;Pe.folderName=go;var ps=require("react/jsx-runtime"),ds="k-checkbox-list-item",xc=[],gc={},kc={},we=e=>{let{...t}=e;return(0,ps.jsx)("li",{...t,className:n(e.className,ds),children:e.children})};we.states=xc;we.options=gc;we.className=ds;we.defaultOptions=kc;we.moduleName=Yt;we.folderName=go;var Qt=require("react/jsx-runtime"),Nt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Qt.jsxs)(Qt.Fragment,{children:[(0,Qt.jsx)(lt,{id:t,...o}),(0,Qt.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Gr=require("react/jsx-runtime");var Vr=require("react/jsx-runtime");var $r=require("react/jsx-runtime");var Nc=require("react/jsx-runtime");var vc=require("react/jsx-runtime");var Lc=require("react/jsx-runtime");var Le=require("react/jsx-runtime"),Mc=Pe.options,Sc=Pe.states,Ic={...Pe.defaultOptions,variant:"vertical"},yc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Cc=[],ko=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Le.jsxs)(Pe,{layout:"horizontal",...o,children:[(0,Le.jsx)(we,{children:(0,Le.jsx)(Nt,{id:H("cb"),defaultChecked:!0,children:"Label"})}),(0,Le.jsx)(we,{children:(0,Le.jsx)(Nt,{id:H("cb"),children:"Label"})}),(0,Le.jsx)(we,{children:(0,Le.jsx)(Nt,{id:H("cb"),children:"Label"})})]}):(0,Le.jsxs)(Pe,{...o,children:[(0,Le.jsx)(we,{children:(0,Le.jsx)(Nt,{id:H("cb"),defaultChecked:!0,children:"Label"})}),(0,Le.jsx)(we,{children:(0,Le.jsx)(Nt,{id:H("cb"),children:"Label"})}),(0,Le.jsx)(we,{children:(0,Le.jsx)(Nt,{id:H("cb"),children:"Label"})})]})};ko.options=Mc;ko.states=Sc;ko.variants=yc;ko.defaultOptions=Ic;ko.modifiers=Cc;ko.className=Pe.className;var cs=require("react/jsx-runtime"),Ec=lt.options,Tc=lt.states,Ac=lt.defaultOptions,Oc=[],Pc=[],No=e=>(0,cs.jsx)(Nt,{id:H("checkbox"),...e,defaultChecked:!0,children:"Label"});No.options=Ec;No.states=Tc;No.variants=Oc;No.defaultOptions=Ac;No.modifiers=Pc;No.className=lt.className;var bt=require("react/jsx-runtime"),Xr="k-list-item",wc=[s.hover,s.focus,s.selected,s.disabled],Bc={},Rc={},w=e=>{let{text:t,groupLabel:o,group:a,iconName:r,iconClassName:i,showCheckbox:d,checked:c,hover:m,focus:f,selected:b,disabled:g,actions:u,description:N,id:k,...C}=e,E=t||e.children;return(0,bt.jsxs)("li",{...C,id:k,role:a?"presentation":"option",tabIndex:a?void 0:f?0:-1,"aria-selected":!a&&b?"true":a?void 0:"false","aria-disabled":!a&&g?"true":void 0,className:n(e.className,a?"k-list-group-item":Xr,y(Xr,{hover:m,focus:f,disabled:g,selected:b})),children:[d&&(0,bt.jsx)(tt,{checked:c}),r&&(0,bt.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,bt.jsx)(L,{icon:r,className:n("k-list-item-icon",i)})}),(0,bt.jsx)("span",{className:"k-list-item-text",children:E}),u&&(0,bt.jsx)("div",{className:"k-list-item-actions",children:u}),N&&(0,bt.jsx)("span",{className:"k-list-item-description",children:N}),o&&o!==""&&(0,bt.jsx)("div",{className:"k-list-item-group-label",children:o})]})};w.states=wc;w.options=Bc;w.className=Xr;w.defaultOptions=Rc;w.moduleName=Zt;w.folderName=bo;w.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var us=require("react/jsx-runtime"),Kc="k-list-ul",vt=e=>{let{children:t,role:o,id:a,...r}=e;return(0,us.jsx)("ul",{...r,id:a,role:o,className:n(Kc,e.className),children:t})};vt.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};var vo=require("react/jsx-runtime"),_c="k-list-content",F=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":r,listboxId:i,...d}=e;return(0,vo.jsxs)("div",{...d,className:n(_c,e.className),role:o?"listbox":void 0,id:o?i:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?r:void 0,children:[o?e.children:(0,vo.jsx)(vt,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":r,children:e.children}),t&&(0,vo.jsx)("div",{className:"k-height-container",children:(0,vo.jsx)("div",{})})]})};F.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var qr=require("react/jsx-runtime");var Lo=require("react/jsx-runtime"),Dc="k-list-group-item",jt=e=>{let{groupIconName:t,...o}=e;return(0,Lo.jsxs)("li",{...o,role:"presentation",className:n(Dc,e.className),children:[t&&(0,Lo.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Lo.jsx)(L,{icon:t,className:"k-list-item-icon"})}),(0,Lo.jsx)("span",{className:"k-list-item-text",children:e.children})]})};jt.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var ms=require("react/jsx-runtime"),Jr="k-list-optionlabel",zc=[s.hover,s.focus,s.selected,s.disabled],Hc={},Uc={},Ka=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:i,...d}=e;return(0,ms.jsx)("div",{...d,className:n(Jr,y(Jr,{hover:o,focus:a,selected:r,disabled:i})),children:t})};Ka.states=zc;Ka.options=Hc;Ka.className=Jr;Ka.defaultOptions=Uc;var fs=require("react/jsx-runtime"),Wr="k-list-custom-value",Fc=[s.hover,s.focus,s.selected,s.disabled],Gc={},Vc={},_t=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:i,...d}=e;return(0,fs.jsx)("div",{...d,className:n(Wr,y(Wr,{hover:o,focus:a,selected:r,disabled:i})),children:t})};_t.states=Fc;_t.options=Gc;_t.className=Wr;_t.defaultOptions=Vc;var Zr=require("react/jsx-runtime");var Yr=require("react/jsx-runtime");var Qr=require("react/jsx-runtime");var jr=require("react/jsx-runtime");var $c=require("react/jsx-runtime");var en=require("react/jsx-runtime");var tn="combobox",bs=tn;var _=require("react/jsx-runtime"),hs="k-combobox",Xc=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],qc={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},xs={separators:!0},pe=e=>{let{size:t,rounded:o,fillMode:a,separators:r=xs.separators,prefix:i,suffix:d,value:c,placeholder:m,hover:f,focus:b,valid:g,invalid:u,required:N,loading:k,disabled:C,popup:E,opened:I,readonly:B,adaptive:q,adaptiveSettings:U,adaptiveTitle:Ee,adaptiveSubtitle:Te,adaptiveCustomValue:Fe,id:$t,autocomplete:ar,activeDescendant:Ot,"aria-label":Na,...rr}=e,nr=$t?`${$t}-listbox`:void 0;return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(te,{...rr,size:t,rounded:o,fillMode:a,hover:f,focus:b,valid:g,invalid:u,required:N,loading:k,disabled:C,readonly:B,className:n(e.className,hs),children:[i&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(Ze,{children:i}),r&&(0,_.jsx)(Qe,{})]}),(0,_.jsx)(Ve,{id:$t,placeholder:m,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":I?"true":"false","aria-controls":I?nr:void 0,"aria-activedescendant":I&&Ot?Ot:void 0,"aria-autocomplete":ar,"aria-invalid":u?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":Na,disabled:C,readOnly:B}),(0,_.jsx)(Ae,{valid:g,invalid:u,loading:k,disabled:C}),(0,_.jsx)(_e,{loading:k,disabled:C}),(0,_.jsx)(Ge,{loading:k,disabled:C,readonly:B,value:c}),d&&(0,_.jsxs)(_.Fragment,{children:[r&&(0,_.jsx)(Qe,{}),(0,_.jsx)(Ye,{children:d})]}),(0,_.jsx)(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:C})]}),I&&E&&(0,_.jsx)(X,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),q&&(0,_.jsx)(Q,{adaptive:!0,id:$t?`${$t}-adaptive`:void 0,...U,header:(0,_.jsx)(Oe,{actionsEnd:(0,_.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:m,title:Ee,subtitle:Te}),children:(0,_.jsx)("div",{className:"k-list-container",children:(0,_.jsx)(K,{customValue:Fe?(0,_.jsx)(_t,{text:`Use "${c}"`}):void 0,size:"large",children:(0,_.jsxs)(F,{"aria-label":Ee||"Options",children:[(0,_.jsx)(w,{text:"List item"}),(0,_.jsx)(w,{text:"List item"}),(0,_.jsx)(w,{text:"List item"})]})})})})]})};pe.states=Xc;pe.options=qc;pe.className=hs;pe.defaultOptions=xs;pe.moduleName=tn;pe.folderName=bs;pe.ariaSpec={selector:".k-combobox",rules:[{selector:".k-combobox > .k-input-inner",attribute:"role=combobox",usage:"Identifies the input as a combobox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates the combobox has a listbox popup."},{selector:".k-combobox > .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-controls=${id}-listbox (when open)",usage:"Points to the listbox element when popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the listbox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-autocomplete=list|both|inline (when has autocomplete)",usage:"Indicates the autocomplete behavior."},{selector:".k-combobox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the combobox is in an invalid state."},{selector:".k-combobox > .k-input-inner",attribute:"aria-busy=true (when loading)",usage:"Rendered when the combobox is loading data."},{selector:".k-combobox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name provided by consuming app."},{selector:".k-combobox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the combobox is disabled."},{selector:".k-combobox .k-input-button",attribute:"role=button or nodeName=button",usage:"The dropdown toggle button."},{selector:".k-combobox .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-combobox .k-input-button",attribute:"tabindex=-1",usage:"Dropdown button is not in the tab order."},{selector:".k-combobox-popup .k-list-content, .k-combobox-popup .k-list-ul",attribute:"role=listbox",usage:"The popup list container has the listbox role."},{selector:'.k-combobox-popup .k-list-ul[role="listbox"], .k-combobox-popup .k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-combobox-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."},{selector:".k-combobox-popup .k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state."},{selector:".k-combobox-popup .k-no-data",attribute:"aria-live=polite",usage:"Announces no-data state to screen readers."}]};var Xe=pe;var ks=require("react/jsx-runtime"),gs=e=>(0,ks.jsx)(Xe,{...e});var Ns=require("react/jsx-runtime");var vs=require("react/jsx-runtime");var Ls=require("react/jsx-runtime");var Ms=require("react/jsx-runtime");var Ss=require("react/jsx-runtime");var Is=require("react/jsx-runtime");var on=require("react/jsx-runtime");var Jc=require("react/jsx-runtime");var Wc=require("react/jsx-runtime");var ys=require("react/jsx-runtime");var Cs=require("react/jsx-runtime");var dt=require("react/jsx-runtime"),Zc=pe.states,Yc=pe.defaultOptions,Qc=pe.options,jc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],eu=[],Mo=e=>{let{modifiers:t,...o}=e,a={},r=(0,dt.jsx)(K,{style:{width:300},size:o.size,children:(0,dt.jsxs)(F,{children:[(0,dt.jsx)(w,{children:"List item"}),(0,dt.jsx)(w,{children:"List item"}),(0,dt.jsx)(w,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,dt.jsx)(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,dt.jsx)(Pt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?r:void 0;break;default:break}}),(0,dt.jsx)("div",{children:(0,dt.jsx)(gs,{value:"Value",style:{width:300},...o,...a})})};Mo.options=Qc;Mo.states=Zc;Mo.variants=eu;Mo.defaultOptions=Yc;Mo.modifiers=jc;Mo.className=pe.className;var an="dropzone",Es=an;var eo=require("react/jsx-runtime"),rn="k-external-dropzone",tu=[s.disabled,s.hover],ou={},nn={icon:"upload",hint:"Drag and drop files here to upload"},De=e=>{let{hover:t,disabled:o,icon:a=nn.icon,hint:r=nn.hint,note:i,...d}=e;return(0,eo.jsx)("div",{...d,className:n(e.className,rn,y(rn,{disabled:o}),{"k-external-dropzone-hover":t}),children:(0,eo.jsxs)("div",{className:"k-dropzone-inner",children:[a&&(0,eo.jsx)(L,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),r&&(0,eo.jsx)("span",{className:"k-dropzone-hint",children:r}),i&&(0,eo.jsx)("span",{className:"k-dropzone-note",children:i})]})})};De.states=tu;De.options=ou;De.className=rn;De.defaultOptions=nn;De.moduleName=an;De.folderName=Es;var Ts=require("react/jsx-runtime"),_a=e=>(0,Ts.jsx)(De,{...e});var au=require("react/jsx-runtime");var As=require("react/jsx-runtime"),ru=De.options,nu=De.states,iu=De.defaultOptions,su=[{name:"note",title:"Note"}],lu=[],So=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{r==="note"&&(a.note=t!=null&&t[r]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),(0,As.jsx)(_a,{style:{width:"500px"},...o,...a})};So.options=ru;So.states=nu;So.variants=lu;So.defaultOptions=iu;So.modifiers=su;So.className=De.className;var sn="menu-button",Os=sn;var ws=require("react/jsx-runtime"),Ps="k-menu-button",du=[s.hover,s.focus,s.active,s.selected,s.disabled],pu={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},ln={showArrow:!0,arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:i,focus:d,active:c,selected:m,disabled:f,icon:b,text:g,showArrow:u=ln.showArrow,arrowIconName:N=ln.arrowIconName,expanded:k,...C}=e;return(0,ws.jsx)(l,{...C,className:n(e.className,Ps),text:g,size:t,rounded:o,fillMode:a,themeColor:r,hover:i,focus:d,active:c,selected:m,disabled:f,icon:b,showArrow:u,arrowIconName:N,"aria-expanded":k?"true":"false",...!g&&b&&!e["aria-label"]&&{"aria-label":"Menu"},...f&&{"aria-disabled":"true"}})};D.states=du;D.options=pu;D.className=Ps;D.defaultOptions=ln;D.moduleName=sn;D.folderName=Os;D.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var cu=require("react/jsx-runtime");var uu=require("react/jsx-runtime");var mu=require("react/jsx-runtime");var qe="menu",ot=qe;var Lt=require("react/jsx-runtime"),dn="k-menu-item",fu=[s.hover,s.focus,s.active,s.selected,s.disabled],bu={},Bs={iconPosition:"before"},Me=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:i,icon:d,text:c,first:m,last:f,showArrow:b,arrowIconName:g,iconPosition:u=Bs.iconPosition,dir:N,children:k,expanded:C,...E}=e,I=g;return I||(I=N==="rtl"?"chevron-left":"chevron-right"),(0,Lt.jsxs)("li",{...E,className:n(e.className,dn,"k-item",y(dn,{focus:o,disabled:i,hover:t,active:a,selected:r}),{"k-first":m,"k-last":f}),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":C?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Lt.jsxs)("span",{className:n("k-link k-menu-link"),children:[d&&u==="before"&&(0,Lt.jsx)(L,{className:"k-menu-link-icon",icon:d}),(0,Lt.jsx)("span",{className:"k-menu-link-text",children:c}),d&&u==="after"&&(0,Lt.jsx)(L,{className:"k-menu-link-icon",icon:d}),b&&(0,Lt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Lt.jsx)(L,{icon:I})})]}),k]})};Me.states=fu;Me.options=bu;Me.className=dn;Me.defaultOptions=Bs;Me.moduleName=qe;Me.folderName=ot;var Mt=require("react/jsx-runtime"),pn="k-menu-item",hu=[s.hover,s.focus,s.active,s.selected,s.disabled],xu={},cn={dir:"ltr",iconPosition:"before"},W=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:i,icon:d,text:c,first:m,last:f,showArrow:b,arrowIconName:g,iconPosition:u=cn.iconPosition,dir:N=cn.dir,children:k,popup:C,expanded:E,...I}=e,B=g;return B||(B=N==="rtl"?"chevron-left":"chevron-right"),(0,Mt.jsxs)("li",{...I,className:n(e.className,pn,"k-item",y(pn,{focus:o,disabled:i}),{"k-first":m,"k-last":f}),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":E?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Mt.jsxs)("span",{className:n("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:r,disabled:i})),children:[d&&u==="before"&&(0,Mt.jsx)(L,{className:"k-menu-link-icon",icon:d}),(0,Mt.jsx)("span",{className:"k-menu-link-text",children:c}),d&&u==="after"&&(0,Mt.jsx)(L,{className:"k-menu-link-icon",icon:d}),b&&(0,Mt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Mt.jsx)(L,{icon:B})})]}),k,C]})};W.states=hu;W.options=xu;W.className=pn;W.defaultOptions=cn;W.moduleName=qe;W.folderName=ot;var _s=require("react/jsx-runtime"),Rs="k-menu-scroll-wrapper",gu=[],ku={},Nu={},to=e=>{let{className:t,children:o,orientation:a,...r}=e;return(0,_s.jsx)("div",{...r,className:n(t,Rs,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};to.states=gu;to.options=ku;to.className=Rs;to.defaultOptions=Nu;to.moduleName=qe;to.folderName=ot;var Ks=to;var fe=require("react/jsx-runtime"),un="k-menu",vu=[],Lu={},za={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ce=e=>{let{children:t,orientation:o=za.orientation,header:a=za.header,scrollable:r,scrollButtonsPosition:i=za.scrollButtonsPosition,wrapperStyles:d,dir:c,popup:m,contextMenu:f,...b}=e,g={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},u=(0,fe.jsx)("ul",{dir:c,...b,className:n(e.className,"k-reset",un,{[`${un}-${o}`]:o,"k-header":a}),role:f?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,fe.jsxs)(fe.Fragment,{children:[r?(0,fe.jsxs)(Ks,{orientation:o,style:d,dir:e.dir,children:[i==="start"&&(0,fe.jsxs)(fe.Fragment,{children:[(0,fe.jsx)(l,{fillMode:"flat",icon:`chevron-${g[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,fe.jsx)(l,{fillMode:"flat",icon:`chevron-${g[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,fe.jsx)(l,{fillMode:"flat",icon:`chevron-${g[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),u,i==="end"&&(0,fe.jsxs)(fe.Fragment,{children:[(0,fe.jsx)(l,{fillMode:"flat",icon:`chevron-${g[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,fe.jsx)(l,{fillMode:"flat",icon:`chevron-${g[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,fe.jsx)(l,{fillMode:"flat",icon:`chevron-${g[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):u,m]})};ce.states=vu;ce.options=Lu;ce.className=un;ce.defaultOptions=za;ce.moduleName=qe;ce.folderName=ot;ce.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};var zs=require("react/jsx-runtime"),mn="k-separator",Ds={orientation:"horizontal"},Io=e=>{let{orientation:t=Ds.orientation,...o}=e;return(0,zs.jsx)("li",{...o,className:n(e.className,"k-item",mn,{[`${mn}-${t}`]:t}),role:"separator"})};Io.className=mn;Io.defaultOptions=Ds;Io.moduleName=qe;Io.folderName=ot;var Hs=require("react/jsx-runtime");var Us=require("react/jsx-runtime"),fn="k-menu-group",Mu=[],Su={size:[p.undefined,p.small,p.medium,p.large]},Iu={},Se=e=>{let{children:t,size:o,...a}=e;return(0,Us.jsx)("ul",{...a,className:n(e.className,fn,T(fn,{size:o})),role:"menu",children:t})};Se.states=Mu;Se.options=Su;Se.className=fn;Se.defaultOptions=Iu;Se.moduleName=qe;Se.folderName=ot;var pt=require("react/jsx-runtime"),bn=e=>(0,pt.jsx)(ce,{children:(0,pt.jsxs)(pt.Fragment,{children:[(0,pt.jsx)(Me,{first:!0,text:"Item 1"}),(0,pt.jsx)(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,pt.jsx)(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,pt.jsx)(Me,{text:"Item 4"}),(0,pt.jsx)(Me,{last:!0,text:"Item 5"})]}),...e});var hn=require("react/jsx-runtime");var xn=require("react/jsx-runtime");var gn=require("react/jsx-runtime");var kn=require("react/jsx-runtime");var ht=require("react/jsx-runtime"),yu={...ce.options,scrollable:{type:"boolean"}},Cu=ce.states,Fs={...ce.defaultOptions,variant:"horizontal"},Eu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Tu=[{name:"opened",title:"Opened"}],yo=e=>{let{variant:t,modifiers:o,...a}={...Fs,...e},r={};return Object.keys(o||{}).forEach(i=>{i==="opened"&&(r.opened=!!(o!=null&&o[i]),r.popup=(0,ht.jsx)(X,{className:"k-menu-popup",children:(0,ht.jsxs)(Se,{children:[(0,ht.jsx)(W,{text:"Item 1"}),(0,ht.jsx)(W,{text:"Item 2"}),(0,ht.jsx)(Io,{}),(0,ht.jsx)(W,{text:"Item 3"})]})}))}),t==="vertical"?(0,ht.jsx)(bn,{...a,...r,orientation:"vertical",style:{width:"200px"}}):(0,ht.jsx)(bn,{...a,...r})};yo.options=yu;yo.states=Cu;yo.variants=Eu;yo.defaultOptions=Fs;yo.modifiers=Tu;yo.className=ce.className;var Nn=require("react/jsx-runtime");var Au=require("react/jsx-runtime");var Ie=require("react/jsx-runtime"),Ou=l.states,Gs={...l.defaultOptions,variant:"text"},Pu=l.options,wu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Bu=[{name:"opened",title:"Opened"}],Co=e=>{let{variant:t,modifiers:o,...a}={...Gs,...e},r={},i=(0,Ie.jsx)(X,{className:"k-menu-popup",children:(0,Ie.jsxs)(Se,{size:a.size,children:[(0,Ie.jsx)(W,{first:!0,text:"Menu Item"}),(0,Ie.jsx)(W,{text:"Menu Item"}),(0,Ie.jsx)(W,{last:!0,text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=(0,Ie.jsx)("div",{children:(0,Ie.jsx)(D,{...a,...r,icon:"star"})});break;case"icon-and-text":d=(0,Ie.jsx)("div",{children:(0,Ie.jsx)(D,{...a,...r,icon:"star",children:"Dropdown Button"})});break;default:d=(0,Ie.jsx)("div",{children:(0,Ie.jsx)(D,{...a,...r,children:"Dropdown Button"})});break}return(0,Ie.jsxs)(Ie.Fragment,{children:[d,(o==null?void 0:o.opened)&&i]})};Co.options=Pu;Co.states=Ou;Co.variants=wu;Co.defaultOptions=Gs;Co.modifiers=Bu;Co.className=D.className;var Vs="dropdown-list",$s="dropdownlist";var Z=require("react/jsx-runtime"),Xs="k-dropdownlist",Ru=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ku={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},vn={showValue:!0,arrowIconName:"chevron-down"},j=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=vn.arrowIconName,showValue:i=vn.showValue,valueIconName:d,prefix:c,suffix:m,value:f,placeholder:b,hover:g,focus:u,valid:N,invalid:k,required:C,loading:E,disabled:I,readonly:B,popup:q,opened:U,adaptive:Ee,adaptiveSettings:Te,adaptiveTitle:Fe,adaptiveSubtitle:$t,adaptiveFilter:ar,id:Ot,activeDescendant:Na,"aria-label":rr,...nr}=e,md=Ot?`${Ot}-listbox`:void 0,ei=Ot?`${Ot}-value`:void 0;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(mt,{...nr,id:Ot,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:N,invalid:k,required:C,loading:E,disabled:I,readonly:B,className:n(e.className,Xs,{"k-icon-picker":!i&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":U?"true":"false","aria-controls":U?md:void 0,"aria-activedescendant":U&&Na?Na:void 0,"aria-describedby":U?ei:void 0,"aria-disabled":I?"true":void 0,"aria-label":rr,tabIndex:0,children:[(0,Z.jsx)(Ze,{children:c}),(0,Z.jsx)(Jt,{placeholder:b,value:f,showValue:i,valueIconName:d,id:ei}),(0,Z.jsx)(Ae,{valid:N,invalid:k,loading:E,disabled:I}),(0,Z.jsx)(_e,{loading:E,disabled:I}),(0,Z.jsx)(Ye,{children:m}),(0,Z.jsx)(l,{className:"k-input-button",icon:r,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),U&&q&&(0,Z.jsx)(X,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:q}),Ee&&(0,Z.jsx)(Q,{adaptive:!0,...Te,header:(0,Z.jsx)(Oe,{actionsEnd:(0,Z.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ar,inputValue:f,inputPlaceholder:b,title:Fe,subtitle:$t}),children:(0,Z.jsx)("div",{className:"k-list-container",children:(0,Z.jsx)(K,{size:"large",children:(0,Z.jsxs)(F,{"aria-label":"Options",children:[(0,Z.jsx)(w,{text:"List item"}),(0,Z.jsx)(w,{text:"List item"}),(0,Z.jsx)(w,{text:"List item"})]})})})})]})};j.states=Ru;j.options=Ku;j.className=Xs;j.defaultOptions=vn;j.moduleName=Vs;j.folderName=$s;j.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};var _u=require("react/jsx-runtime");var qs=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var Du=require("react/jsx-runtime");var Js=require("react/jsx-runtime");var Mn=require("react/jsx-runtime");var zu=require("react/jsx-runtime");var ze=require("react/jsx-runtime"),Hu=j.states,Uu=j.defaultOptions,Fu=j.options,Gu=[{name:"opened",title:"Opened"}],Vu=[],To=e=>{let{modifiers:t,...o}=e,a={},r=(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)("div",{className:"k-list-filter",children:(0,ze.jsx)(je,{})}),(0,ze.jsx)(K,{style:{width:300},size:o.size,children:(0,ze.jsxs)(F,{children:[(0,ze.jsx)(w,{children:"List item"}),(0,ze.jsx)(w,{children:"List item"}),(0,ze.jsx)(w,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?r:void 0)}),(0,ze.jsx)("div",{children:(0,ze.jsx)(j,{placeholder:"Value",style:{width:300},...o,...a})})};To.options=Fu;To.states=Hu;To.variants=Vu;To.defaultOptions=Uu;To.modifiers=Gu;To.className=j.className;var pa=require("react/jsx-runtime"),Ws="k-spin-button",qu=[],Ju={size:[p.undefined,p.small,p.medium,p.large],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},Sn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=Sn.increaseLabel,decreaseLabel:i=Sn.decreaseLabel,...d}=e;return(0,pa.jsxs)("span",{...d,className:n(Ws,e.className),children:[(0,pa.jsx)(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),(0,pa.jsx)(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};Dt.states=qu;Dt.options=Ju;Dt.className=Ws;Dt.defaultOptions=Sn;Dt.moduleName=null;Dt.folderName=null;var Zs="numeric-textbox",Ys="numerictextbox";var be=require("react/jsx-runtime"),Qs="k-numerictextbox",Wu=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Zu={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ha={showSpinButton:!0,showClearButton:!0,separators:!0},z=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Ha.separators,showClearButton:i=Ha.showClearButton,showSpinButton:d=Ha.showSpinButton,prefix:c,suffix:m,value:f,placeholder:b,hover:g,focus:u,valid:N,invalid:k,required:C,loading:E,disabled:I,readonly:B,id:q,"aria-label":U,"aria-describedby":Ee,...Te}=e;return(0,be.jsxs)(te,{...Te,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:N,invalid:k,required:C,loading:E,disabled:I,readonly:B,className:n(e.className,Qs),children:[c&&(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(Ze,{children:c}),r&&(0,be.jsx)(Qe,{})]}),(0,be.jsx)(Ve,{id:q,placeholder:b,value:f,role:"spinbutton",disabled:I,"aria-label":U,"aria-describedby":Ee,"aria-invalid":k?"true":void 0}),(0,be.jsx)(Ae,{valid:N,invalid:k,loading:E,disabled:I}),(0,be.jsx)(_e,{loading:E,disabled:I}),i&&(0,be.jsx)(Ge,{loading:E,disabled:I,readonly:B,value:f}),m&&(0,be.jsxs)(be.Fragment,{children:[r&&(0,be.jsx)(Qe,{}),(0,be.jsx)(Ye,{children:m})]}),d&&(0,be.jsx)(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:I})]})};z.states=Wu;z.options=Zu;z.className=Qs;z.defaultOptions=Ha;z.moduleName=Zs;z.folderName=Ys;z.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var ca=z;var el=require("react/jsx-runtime"),js=e=>(0,el.jsx)(ca,{...e});var tl=require("react/jsx-runtime");var ol=require("react/jsx-runtime");var Yu=require("react/jsx-runtime");var Ua=require("react/jsx-runtime"),Qu=z.states,ju=z.defaultOptions,em=z.options,tm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],om=[],Ao=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,Ua.jsx)(j,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,Ua.jsx)(Ir,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;case"spin-button":a.showSpinButton=t==null?void 0:t[r];break;default:break}}),(0,Ua.jsx)(js,{value:"Value",style:{width:300},...o,...a})};Ao.options=em;Ao.states=Qu;Ao.variants=om;Ao.defaultOptions=ju;Ao.modifiers=tm;Ao.className=z.className;var In="pager",al=In;var V=require("react/jsx-runtime"),Fa="k-pager",am=[s.focus,s.disabled],rm={size:[p.undefined,p.small,p.medium,p.large]},Je={responsive:!0,pagerSizeInfo:!0,pageTitleInfo:!0,maxPagesInfo:!0,type:"numeric",pageSizes:!0,refresh:!0,previousNext:!0,info:"1 - 5 of 20 items",itemsPerPage:5,maxPages:6,currentPage:1},ue=e=>{let{responsive:t=Je.responsive,size:o,pagerSizeInfo:a=Je.pagerSizeInfo,pageTitleInfo:r=Je.pageTitleInfo,maxPagesInfo:i=Je.maxPagesInfo,itemsPerPage:d=Je.itemsPerPage,maxPages:c=Je.maxPages,currentPage:m=Je.currentPage,previousNext:f=Je.previousNext,type:b=Je.type,pageSizes:g=Je.pageSizes,refresh:u=Je.refresh,info:N=Je.info,focus:k,disabled:C,dir:E,...I}=e,B=[],q=[];for(let U=1;U<=c;U++)B.push((0,V.jsx)(l,{selected:U===m,fillMode:"flat",themeColor:"primary",size:o,"aria-label":`Page ${U}`,...U===m&&{"aria-current":"page"},children:U},U)),q.push((0,V.jsx)("option",{selected:U===m,children:U},U));return(0,V.jsxs)("div",{dir:E,...I,className:n(e.className,Fa,T(Fa,{size:o}),y(Fa,{focus:k,disabled:C}),{"k-pager-responsive":t}),role:"application","aria-roledescription":"pager","aria-keyshortcuts":"Enter ArrowRight ArrowLeft","aria-label":`Page ${m} of ${c}`,children:[(0,V.jsxs)("div",{className:n("k-pager-numbers-wrap"),children:[f&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(l,{className:n("k-pager-nav","k-pager-first"),ariaDisabled:m===1,fillMode:"flat",size:o,icon:E==="rtl"?"caret-alt-to-right":"caret-alt-to-left",title:"Go to the first page","aria-label":"Go to the first page"}),(0,V.jsx)(l,{className:n("k-pager-nav"),ariaDisabled:m===1,fillMode:"flat",size:o,icon:E==="rtl"?"chevron-right":"chevron-left",title:"Go to the previous page","aria-label":"Go to the previous page"})]}),b==="numeric"&&(0,V.jsx)("div",{className:n("k-pager-numbers"),children:B}),b==="input"&&(0,V.jsxs)("span",{className:n("k-pager-input"),children:[r&&(0,V.jsx)("span",{children:"Page"}),(0,V.jsx)(z,{value:`${m}`,size:o,showSpinButton:!1,showClearButton:!1,"aria-label":"Current page"}),(0,V.jsx)("span",{children:i&&`of ${c}`})]}),f&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(l,{className:n("k-pager-nav"),ariaDisabled:m===c,fillMode:"flat",size:o,icon:E==="rtl"?"chevron-left":"chevron-right",title:"Go to the next page","aria-label":"Go to the next page"}),(0,V.jsx)(l,{className:n("k-pager-nav","k-pager-last"),ariaDisabled:m===c,fillMode:"flat",size:o,icon:E==="rtl"?"caret-alt-to-left":"caret-alt-to-right",title:"Go to the last page","aria-label":"Go to the last page"})]})]}),g&&(0,V.jsxs)("span",{className:n("k-pager-sizes"),children:[(0,V.jsx)(j,{value:`${d}`,size:o,"aria-label":"Items per page"}),a&&(0,V.jsx)("span",{children:"items per page"})]}),u&&(0,V.jsx)(l,{className:n("k-pager-refresh"),fillMode:"flat",size:o,icon:"arrow-rotate-cw",title:"Refresh","aria-label":"Refresh"}),N&&(0,V.jsx)("span",{className:n("k-pager-info"),children:N})]})};ue.states=am;ue.options=rm;ue.className=Fa;ue.defaultOptions=Je;ue.moduleName=In;ue.folderName=al;ue.ariaSpec={selector:".k-pager",rules:[{selector:".k-pager",attribute:"role=application",usage:"Indicates that the pager has its own keyboard navigation implemented."},{selector:".k-pager",attribute:"aria-roledescription=pager",usage:"Clarifies the role of the Pager."},{selector:".k-pager",attribute:"aria-keyshortcuts=Enter ArrowRight ArrowLeft",usage:"Announces the available keyboard shortcuts."},{selector:".k-pager",attribute:"aria-label",usage:"Announces the currently selected page and the number of available pages."},{selector:".k-pager-nav",attribute:"role=button or nodeName=button",usage:"Specifies the role of the navigation element."},{selector:".k-pager-nav.k-disabled",attribute:"aria-disabled=true",usage:"Present when the navigation button is non-interactive."},{selector:".k-pager-nav",attribute:"title",usage:"Specifies the purpose of each navigation button."},{selector:".k-pager-numbers .k-button",attribute:"aria-label or title",usage:"Specifies the purpose of each page link, e.g., Page 6."},{selector:".k-pager-numbers .k-button.k-selected",attribute:"aria-current=page",usage:"Present on the currently selected page element."},{selector:".k-pager-sizes .k-dropdownlist",attribute:"aria-label or aria-labelledby",usage:"The DropDownList requires a label to specify its purpose."},{selector:".k-pager-input .k-input-inner",attribute:"aria-label",usage:"The input requires a label to specify its purpose."}]};var nm=require("react/jsx-runtime");var nl=require("react/jsx-runtime"),rl=e=>(0,nl.jsx)(ue,{type:"input",responsive:!1,...e});var im=require("react/jsx-runtime");var yn=require("react/jsx-runtime"),sm=ue.options,lm=ue.states,dm={...ue.defaultOptions,variant:"numeric"},pm=[{name:"numeric",title:"Numeric"},{name:"input",title:"Input"}],cm=[],Oo=e=>{let{variant:t,...o}=e;return t==="input"?(0,yn.jsx)(ue,{...o,type:"input"}):(0,yn.jsx)(ue,{...o,type:"numeric"})};Oo.options=sm;Oo.states=lm;Oo.variants=pm;Oo.defaultOptions=dm;Oo.modifiers=cm;Oo.className=ue.className;var ua=require("react/jsx-runtime"),il="k-color-preview",um=[],mm={},zt=e=>{let{color:t,iconName:o,...a}=e;return(0,ua.jsxs)("span",{...a,className:n(e.className,il,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,ua.jsx)(L,{icon:o,className:"k-color-preview-icon"}),(0,ua.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};zt.states=um;zt.options=mm;zt.className=il;var Cn="slider",sl=Cn;var ct=require("react/jsx-runtime"),ma="k-slider",fm=[s.hover,s.focus,s.active,s.disabled,s.readonly],bm={},at={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},$=e=>{let{type:t=at.type,orientation:o=at.orientation,gradientType:a=at.gradientType,readonly:r=at.readonly,disabled:i=at.disabled,handlePosition:d=at.handlePosition,showButtons:c=at.showButtons,showTicks:m=at.showTicks,value:f=at.value,min:b=at.min,max:g=at.max,startValue:u,endValue:N,hover:k,focus:C,active:E,trackStyle:I,dir:B,...q}=e,Ee=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Te,Fe;return o==="horizontal"?(Te=B==="rtl"?"chevron-left":"chevron-right",Fe=B==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Te="chevron-up",Fe="chevron-down"),(0,ct.jsxs)("div",{...q,className:n(ma,e.className,y(ma,{readonly:r,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:B,children:[c&&(0,ct.jsx)(l,{className:"k-button-decrease",rounded:"full",icon:Fe,tabIndex:-1,title:"Decrease"}),(0,ct.jsxs)("div",{className:"k-slider-track-wrap",children:[m&&(0,ct.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,ct.jsxs)("div",{className:"k-slider-track",style:I,children:[(0,ct.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,ct.jsx)("span",{className:n("k-draghandle","k-draghandle-start",y(ma,{hover:k,focus:C,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":u??b,"aria-valuemin":b,"aria-valuemax":N??g,"aria-orientation":Ee,"aria-disabled":i?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":q["aria-label"]?`${q["aria-label"]} start`:"Range start"}),(0,ct.jsx)("span",{className:n("k-draghandle",`k-draghandle-${d}`,y(ma,{hover:k,focus:C,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?N??g:f,"aria-valuemin":t==="range"?u??b:b,"aria-valuemax":g,"aria-orientation":Ee,"aria-disabled":i?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?q["aria-label"]?`${q["aria-label"]} end`:"Range end":q["aria-label"]})]})]}),c&&(0,ct.jsx)(l,{className:"k-button-increase",rounded:"full",icon:Te,tabIndex:-1,title:"Increase"})]})};$.states=fm;$.options=bm;$.className=ma;$.defaultOptions=at;$.moduleName=Cn;$.folderName=sl;$.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var En=require("react/jsx-runtime"),ll="k-tick",hm=[],xm={},dl={label:!1},O=e=>{let{style:t,label:o=dl.label,orientation:a,large:r,text:i,...d}=e;return(0,En.jsx)("li",{...d,role:"presentation",title:i||"Tick",className:n(e.className,ll,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&(0,En.jsx)("span",{className:"k-label",children:i})})};O.states=hm;O.options=xm;O.className=ll;O.defaultOptions=dl;var he=require("react/jsx-runtime"),pl=e=>(0,he.jsx)($,{"aria-label":e["aria-label"]||"Slider",children:(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(O,{className:"k-first",label:!0,large:!0,text:"0"}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{label:!0,large:!0,text:"5"}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var xe=require("react/jsx-runtime"),cl=e=>(0,xe.jsx)($,{children:(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)(O,{className:"k-first",label:!0,large:!0,text:"0"}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{label:!0,large:!0,text:"5"}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Tn=require("react/jsx-runtime");var An=require("react/jsx-runtime");var ul=require("react/jsx-runtime"),On=e=>(0,ul.jsx)($,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var ml=require("react/jsx-runtime"),Pn=e=>(0,ml.jsx)($,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var wn=require("react/jsx-runtime");var Bn=require("react/jsx-runtime");var He=require("react/jsx-runtime"),gm=$.options,km=$.states,fl={...$.defaultOptions,variant:"horizontal",label:!0},Nm=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],vm=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Po=e=>{let{variant:t,modifiers:o,...a}={...fl,...e},r={};Object.keys(o||{}).forEach(f=>{switch(f){case"button":{r.showButtons=!!(o!=null&&o[f]);break}case"label":{r.label=!!(o!=null&&o[f]);break}case"tick":{r.showTicks=!!(o!=null&&o[f]);break}}});let{label:i=!0,showButtons:d,showTicks:c}=r,m={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,He.jsxs)(cl,{showTicks:c,showButtons:d,style:{height:"300px",...m},...a,children:[(0,He.jsx)(O,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,He.jsxs)(pl,{showTicks:c,showButtons:d,style:{width:"400px",...m},...a,children:[(0,He.jsx)(O,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Po.options=gm;Po.states=km;Po.variants=Nm;Po.defaultOptions=fl;Po.modifiers=vm;Po.className=$.className;var M=require("react/jsx-runtime"),bl="k-colorgradient-inputs",Lm=[],Mm={size:[p.undefined,p.small,p.medium,p.large]},hl={mode:"rgba"},wo=e=>{let{mode:t=hl.mode,size:o,...a}=e;return(0,M.jsxs)("div",{...a,className:n(bl,"k-hstack"),children:[(0,M.jsx)("div",{className:"k-vstack",children:(0,M.jsx)(l,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,M.jsx)(M.Fragment,{children:(0,M.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,M.jsx)(ne,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};wo.states=Lm;wo.options=Mm;wo.className=bl;wo.defaultOptions=hl;var ye=require("react/jsx-runtime"),xl="k-colorgradient-color-contrast",Sm=[],Im={},ym={},Bo=()=>(0,ye.jsxs)("div",{className:n(xl,"k-vbox"),children:[(0,ye.jsxs)("div",{className:"k-contrast-ratio",children:[(0,ye.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,ye.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,ye.jsx)(L,{icon:"check"}),(0,ye.jsx)(L,{icon:"check"})]})]}),(0,ye.jsxs)("div",{children:[(0,ye.jsx)("span",{children:"AA: 4.5"}),(0,ye.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,ye.jsx)(L,{icon:"check"})]})]}),(0,ye.jsxs)("div",{children:[(0,ye.jsx)("span",{children:"AAA: 7.0"}),(0,ye.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,ye.jsx)(L,{icon:"x"})]})]})]});Bo.states=Sm;Bo.options=Im;Bo.className=xl;Bo.defaultOptions=ym;var gl="color-gradient",kl="colorgradient";var ie=require("react/jsx-runtime"),Ga="k-colorgradient",Cm=[s.hover,s.focus,s.readonly,s.disabled],Em={size:[p.undefined,p.small,p.medium,p.large]},xt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},me=e=>{let{size:t,mode:o=xt.mode,readonly:a=xt.readonly,disabled:r=xt.disabled,gradientStyle:i=xt.gradientStyle,dragHandleStyle:d=xt.dragHandleStyle,alphaStyle:c=xt.alphaStyle,alphaStyleHorizontal:m=xt.alphaStyleHorizontal,contrast:f=xt.contrast,dir:b,hover:g,focus:u,hoverHandle:N,focusHandle:k,canvasOrientation:C=xt.canvasOrientation,role:E,tabIndex:I,...B}=e;return(0,ie.jsxs)("div",{...B,role:E??"textbox","aria-label":E==="none"?void 0:"Color gradient",tabIndex:I??0,"aria-disabled":r?"true":void 0,className:n(e.className,Ga,T(Ga,{size:t}),y(Ga,{hover:g,focus:u,readonly:a,disabled:r})),dir:b,children:[!C||C==="horizontal"&&(0,ie.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,ie.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,ie.jsx)("div",{className:"k-hsv-gradient",children:(0,ie.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":k}),style:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,ie.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,ie.jsx)(Pn,{className:"k-hue-slider",hover:N,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,ie.jsx)(Pn,{className:"k-alpha-slider",hover:N,focus:k,trackStyle:c})]})]}),C==="vertical"&&(0,ie.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,ie.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,ie.jsx)("div",{className:"k-hsv-gradient",children:(0,ie.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":k}),style:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,ie.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,ie.jsx)(On,{className:"k-hue-slider",hover:N,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,ie.jsx)(On,{className:"k-alpha-slider",hover:N,focus:k,trackStyle:m})]})]}),(0,ie.jsx)(wo,{mode:e.mode,size:t}),f&&(0,ie.jsx)(Bo,{})]})};me.states=Cm;me.options=Em;me.className=Ga;me.defaultOptions=xt;me.moduleName=gl;me.folderName=kl;me.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};var Nl=require("react/jsx-runtime"),Va=e=>(0,Nl.jsx)(me,{...e});var Tm=require("react/jsx-runtime");var Am=require("react/jsx-runtime");var $a=require("react/jsx-runtime"),Om=me.options,Pm=me.states,wm={...me.defaultOptions,variant:"rgba"},Bm=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Rm=[],Ro=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,$a.jsx)(Va,{...o,mode:t});case"rgb":return(0,$a.jsx)(Va,{...o,mode:t});default:return(0,$a.jsx)(Va,{...o,mode:t})}};Ro.options=Om;Ro.states=Pm;Ro.variants=Bm;Ro.defaultOptions=wm;Ro.modifiers=Rm;Ro.className=me.className;var vl=require("react/jsx-runtime"),Rn=e=>(0,vl.jsx)("tr",{role:"row",children:e.children});var Ll=require("react/jsx-runtime"),Kn="k-colorpalette-tile",Km=[s.hover,s.focus,s.selected],_m={},Ko=e=>{let{color:t,tileSize:o,hover:a,focus:r,selected:i,...d}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Ll.jsx)("td",{...d,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:n(e.className,Kn,y(Kn,{hover:a,focus:r,selected:i})),style:c})};Ko.states=Km;Ko.options=_m;Ko.className=Kn;var Ml="color-palette",Sl="colorpalette";var _o=require("react/jsx-runtime"),Xa="k-colorpalette",Dm=[s.disabled],zm={size:[p.undefined,p.small,p.medium,p.large]},Il={columns:10},Be=e=>{let{size:t,palette:o,columns:a=Il.columns,tileSize:r,disabled:i,...d}=e,c=[];if(o){let m=a||o.columns,f=o.colors?o.colors:o;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/m)},(b,g)=>{let u=[];f.slice(g*m,(g+1)*m).map((k,C)=>{u.push((0,_o.jsx)(Ko,{color:k,tileSize:r},C))});let N=(0,_o.jsx)(Rn,{children:u},g);c.push(N)})}return(0,_o.jsx)("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:n(e.className,Xa,y(Xa,{disabled:i}),T(Xa,{size:t})),children:(0,_o.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,_o.jsx)("tbody",{children:c.length>0?c:e.children})})})};Be.states=Dm;Be.options=zm;Be.className=Xa;Be.defaultOptions=Il;Be.moduleName=Ml;Be.folderName=Sl;Be.ariaSpec={selector:".k-colorpalette",rules:[{selector:".k-colorpalette",attribute:"role=grid",usage:"The focusable wrapper announces its role as a grid."},{selector:".k-colorpalette",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpalette",attribute:"aria-activedescendant",usage:"Points to the focused cell in the table."},{selector:".k-colorpalette",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpalette.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorPalette is disabled."},{selector:".k-colorpalette-table",attribute:"role=none or role=presentation",usage:"Negates the default role of the table element."},{selector:".k-colorpalette-table>tbody>tr",attribute:"role=row",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"role=gridcell",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"aria-label or title",usage:"The text representation of the color value for the current cell."},{selector:".k-colorpalette-tile.k-selected",attribute:"aria-selected=true",usage:"Present on the currently selected cell."}]};var qa=Be;var fa={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};var Cl=require("react/jsx-runtime"),yl=e=>(0,Cl.jsx)(qa,{palette:fa.basic,...e});var Hm=require("react/jsx-runtime");var El=require("react/jsx-runtime");var Tl=require("react/jsx-runtime"),Um=Be.options,Fm=Be.states,Gm={...Be.defaultOptions,variant:"basic"},Vm=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],$m={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},Xm=[],Do=e=>{let{variant:t="basic",...o}=e,a=$m[t];return(0,Tl.jsx)(yl,{columns:a.columns,palette:a,...o})};Do.options=Um;Do.states=Fm;Do.variants=Vm;Do.defaultOptions=Gm;Do.modifiers=Xm;Do.className=Be.className;var Al="color-editor",Ol="coloreditor";var oe=require("react/jsx-runtime"),Ja="k-coloreditor",qm=[s.focus],Jm={size:[p.undefined,p.small,p.medium,p.large]},ba={view:"gradient",palette:fa.office,actionButtons:!0,canvasOrientation:"horizontal"},ee=e=>{let{size:t,view:o=ba.view,palette:a=ba.palette,color:r,currentColor:i,focus:d,focusView:c,dir:m,group:f,actionButtons:b=ba.actionButtons,canvasOrientation:g=ba.canvasOrientation,...u}=e;return(0,oe.jsxs)("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:n(e.className,"k-flatcolorpicker",Ja,T(Ja,{size:t}),y(Ja,{focus:d})),dir:m,children:[(0,oe.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,oe.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&(0,oe.jsxs)(A,{fillMode:"flat",children:[(0,oe.jsx)(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,oe.jsx)(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,oe.jsx)("div",{className:"k-spacer"}),(0,oe.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,oe.jsx)(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,oe.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,oe.jsx)(zt,{className:"k-coloreditor-preview-color",color:r}),(0,oe.jsx)(zt,{className:"k-coloreditor-current-color",color:i})]})]})]}),(0,oe.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,oe.jsx)(me,{focus:c,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):(0,oe.jsx)(Be,{palette:a,size:t})}),b&&(0,oe.jsxs)(st,{className:"k-coloreditor-footer",alignment:"start",children:[(0,oe.jsx)(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,oe.jsx)(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ee.states=qm;ee.options=Jm;ee.className=Ja;ee.defaultOptions=ba;ee.moduleName=Al;ee.folderName=Ol;ee.ariaSpec={selector:".k-flatcolorpicker",rules:[{selector:".k-flatcolorpicker",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a submittable value."},{selector:".k-flatcolorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-flatcolorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-flatcolorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the FlatColorPicker is disabled."},{selector:".k-colorgradient",attribute:"role=none",usage:"The inner ColorGradient must have its role removed."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var zo=ee;var Wm=require("react/jsx-runtime");var Zm=require("react/jsx-runtime");var wl=require("react/jsx-runtime"),Pl=e=>(0,wl.jsx)(zo,{group:!0,currentColor:"fuchsia",...e});var Rl=require("react/jsx-runtime"),Bl=e=>(0,Rl.jsx)(zo,{view:"palette",group:!0,currentColor:"fuchsia",...e});var _n=require("react/jsx-runtime"),Ym=ee.options,Qm=ee.states,jm={...ee.defaultOptions,variant:"gradient"},ef=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],tf=[],Ho=e=>{let{variant:t,...o}=e;return t==="palette"?(0,_n.jsx)(Bl,{...o,color:"white"}):(0,_n.jsx)(Pl,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Ho.options=Ym;Ho.states=Qm;Ho.variants=ef;Ho.defaultOptions=jm;Ho.modifiers=tf;Ho.className=ee.className;var Kl="color-picker",_l="colorpicker";var se=require("react/jsx-runtime"),Dl="k-colorpicker",of=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],af={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},zl={arrowIconName:"chevron-down"},We=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=zl.arrowIconName,prefix:i,suffix:d,value:c,placeholder:m,hover:f,focus:b,valid:g,invalid:u,required:N,disabled:k,valueIconName:C,popup:E,opened:I,adaptive:B,adaptiveSettings:q,adaptiveTitle:U,adaptiveSubtitle:Ee,...Te}=e,Fe="colorpicker-popup";return(0,se.jsxs)(se.Fragment,{children:[(0,se.jsxs)(mt,{...Te,size:t,rounded:o,fillMode:a,hover:f,focus:b,valid:g,invalid:u,required:N,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":I?"true":"false","aria-controls":I||B?Fe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:n(e.className,Dl,"k-icon-picker"),children:[(0,se.jsx)(Ze,{children:i}),(0,se.jsx)(Jt,{placeholder:m,value:c,showValue:!1,valueIcon:(0,se.jsx)(zt,{className:"k-value-icon",color:c,iconName:C}),valueIconName:C}),(0,se.jsx)(Ye,{children:d}),(0,se.jsx)(l,{className:"k-input-button",icon:r,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),I&&E&&(0,se.jsx)(X,{id:Fe,className:"k-colorpicker-popup",children:E}),B&&(0,se.jsx)(Q,{adaptive:!0,id:Fe,...q,header:(0,se.jsx)(Oe,{actionsEnd:(0,se.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:U,subtitle:Ee}),footer:(0,se.jsxs)(wt,{children:[(0,se.jsx)(l,{text:"Cancel",size:"large"}),(0,se.jsx)(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,se.jsx)(ee,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};We.states=of;We.options=af;We.className=Dl;We.defaultOptions=zl;We.moduleName=Kl;We.folderName=_l;We.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var St=We;var Hl=require("react/jsx-runtime"),Wa=e=>(0,Hl.jsx)(St,{...e});var rf=require("react/jsx-runtime");var nf=require("react/jsx-runtime");var sf=require("react/jsx-runtime");var lf=require("react/jsx-runtime");var df=require("react/jsx-runtime");var pf=require("react/jsx-runtime");var Ht=require("react/jsx-runtime"),cf=St.options,uf=St.states,Ul={...St.defaultOptions,variant:"color"},mf=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],ff=[{name:"opened",title:"Opened"}],Uo=e=>{let{variant:t,modifiers:o,...a}={...Ul,...e},r={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(r.opened=!!(o!=null&&o[d]),r.popup=o!=null&&o[d]?(0,Ht.jsx)(ee,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let i=r.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,Ht.jsx)("div",{style:i,children:(0,Ht.jsx)(Wa,{...a,...r})});case"icon":return(0,Ht.jsx)("div",{style:i,children:(0,Ht.jsx)(Wa,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...r})});default:return(0,Ht.jsx)("div",{style:i,children:(0,Ht.jsx)(Wa,{value:"rgba(183, 118 , 118, 1.00)",...a,...r})})}};Uo.options=cf;Uo.states=uf;Uo.variants=mf;Uo.defaultOptions=Ul;Uo.modifiers=ff;Uo.className=St.className;var Dn="split-button",Fl=Dn;var It=require("react/jsx-runtime"),zn="k-split-button",bf=[s.hover,s.focus,s.active,s.selected,s.disabled],hf={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Gl={arrowIconName:"chevron-down"},R=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:i,focus:d,active:c,selected:m,disabled:f,icon:b,text:g,arrowIconName:u=Gl.arrowIconName,popup:N,opened:k,popupId:C,...E}=e;return(0,It.jsxs)(It.Fragment,{children:[(0,It.jsxs)("div",{...E,className:n(e.className,zn,"k-button-group",T(zn,{rounded:o})),children:[(0,It.jsx)(l,{text:g,icon:b,size:t,rounded:o,fillMode:a,themeColor:r,hover:i,focus:d,active:c,selected:m,disabled:f,...!g&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),(0,It.jsx)(l,{className:"k-split-button-arrow",icon:u,size:t,rounded:o,fillMode:a,disabled:f,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?C:void 0,tabIndex:-1,...f&&{"aria-disabled":"true"}})]}),k&&N&&(0,It.jsx)(X,{className:"k-menu-popup",children:N})]})};R.states=bf;R.options=hf;R.className=zn;R.defaultOptions=Gl;R.moduleName=Dn;R.folderName=Fl;R.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var Hn=R;var Vl=require("react/jsx-runtime"),xf="k-toolbar-separator",ae=e=>(0,Vl.jsx)("div",{className:n(xf,e.className,"k-separator")});var yt="toolbar",Ut=yt;var P=require("react/jsx-runtime"),Ct="k-toolbar",gf=[s.focus],kf={size:[p.undefined,p.small,p.medium,p.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},Nf={scrollButtons:"around"},G=e=>{let{size:t,fillMode:o,focus:a,resizable:r,scrollable:i,scrollButtons:d,scrollingPosition:c,section:m,...f}=e,b=[],g=(u,N)=>{let k=[];if(u.type===l&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))k.push((0,P.jsx)(l,{...u.props,className:`${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`));else if(u.type===l)k.push((0,P.jsx)(l,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`));else if(u.type===jo)k.push((0,P.jsx)(jo,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`));else if(u.type===Pt)k.push((0,P.jsx)(Pt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`));else if(u.type===D)k.push((0,P.jsx)(D,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`));else if(u.type===Hn)k.push((0,P.jsx)(Hn,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`));else if(u.type===A||u.props.className&&u.props.className.includes("k-button-group")){let C=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((I,B)=>{C.push((0,P.jsx)(l,{...I.props,className:`${I.props.className?I.props.className:""}`},`${B}-${new Date().getTime()}`))}),k.push((0,P.jsx)(A,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:C},`${N}-${new Date().getTime()}`))}else u.type===pe?k.push((0,P.jsx)(pe,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`)):u.type===j?k.push((0,P.jsx)(j,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`)):u.type===We?k.push((0,P.jsx)(We,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`)):k.push(u);k.forEach(C=>{b.push(C)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((N,k)=>{g(N,k)}),(0,P.jsxs)("div",{...f,className:n(e.className,Ct,T(Ct,{size:t,fillMode:o}),y(Ct,{focus:a}),{[`${Ct}-resizable`]:r,[`${Ct}-scrollable`]:i,[`${Ct}-scrollable-overlay`]:i&&d==="hidden",[`${Ct}-scrollable-${c}`]:c&&c!=="both",[`${Ct}-section`]:m}),role:"toolbar","aria-label":"Toolbar",children:[!i&&b,i&&d==="hidden"&&(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),i&&d==="start"&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(A,{children:[(0,P.jsx)("span",{className:n("k-toolbar-prev","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,P.jsx)("span",{className:n("k-toolbar-next","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,P.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),i&&d==="end"&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),(0,P.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,P.jsxs)(A,{children:[(0,P.jsx)("span",{className:n("k-toolbar-prev","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,P.jsx)("span",{className:n("k-toolbar-next","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(d==="around"||!d)&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("span",{className:n("k-toolbar-prev","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,P.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),(0,P.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,P.jsx)("span",{className:n("k-toolbar-next","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};G.states=gf;G.options=kf;G.className=Ct;G.defaultOptions=Nf;G.moduleName=yt;G.folderName=Ut;G.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};var Xl=require("react/jsx-runtime"),$l="k-floating-toolbar",vf=[],Lf={},Mf={},Fo=e=>{let{...t}=e;return(0,Xl.jsx)("div",{...t,className:n(e.className,$l),children:e.children})};Fo.states=vf;Fo.options=Lf;Fo.className=$l;Fo.defaultOptions=Mf;Fo.moduleName=yt;Fo.folderName=Ut;var ql=require("react/jsx-runtime"),Un="k-toolbar-item",Sf=[s.focus],If={},yf={},Go=e=>{let{focus:t,...o}=e;return(0,ql.jsx)("div",{...o,className:n(e.className,Un,y(Un,{focus:t})),children:e.children})};Go.states=Sf;Go.options=If;Go.className=Un;Go.defaultOptions=yf;Go.moduleName=yt;Go.folderName=Ut;var Fn=require("react/jsx-runtime"),Jl="k-toolbar-popup",Cf=[],Ef={size:[p.undefined,p.small,p.medium,p.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},Tf={},oo=e=>{let{size:t,fillMode:o,section:a,...r}=e;return(0,Fn.jsx)(X,{...r,className:n(e.className,Jl),children:a?(0,Fn.jsx)("span",{className:n("k-toolbar-items-list",T("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};oo.states=Cf;oo.options=Ef;oo.className=Jl;oo.defaultOptions=Tf;oo.moduleName=yt;oo.folderName=Ut;var Za=oo;var Af=require("react/jsx-runtime");var Of=require("react/jsx-runtime");var Pf=require("react/jsx-runtime");var Wl=require("react/jsx-runtime");var wf=require("react/jsx-runtime");var rt=require("react/jsx-runtime"),Bf=R.states,Zl={...R.defaultOptions,variant:"text"},Rf=R.options,Kf=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],_f=[{name:"opened",title:"Opened"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...Zl,...e},r={},i=(0,rt.jsxs)(Se,{size:a.size,children:[(0,rt.jsx)(W,{first:!0,text:"Menu Item"}),(0,rt.jsx)(W,{text:"Menu Item"}),(0,rt.jsx)(W,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(r.opened=!!(o!=null&&o[d]),r.popup=o!=null&&o[d]?i:"")}),t){case"icon-only":return(0,rt.jsx)("div",{children:(0,rt.jsx)(R,{...a,...r,icon:"star"})});case"icon-and-text":return(0,rt.jsx)("div",{children:(0,rt.jsx)(R,{...a,...r,icon:"star",children:"Split Button"})});default:return(0,rt.jsx)("div",{children:(0,rt.jsx)(R,{...a,...r,children:"Split Button"})})}};Vo.options=Rf;Vo.states=Bf;Vo.variants=Kf;Vo.defaultOptions=Zl;Vo.modifiers=_f;Vo.className=R.className;var gt=require("react/jsx-runtime"),Yl=e=>(0,gt.jsx)(G,{children:[(0,gt.jsx)(l,{children:"Button"},"toolbar-button"),(0,gt.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,gt.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,gt.jsxs)(A,{children:[(0,gt.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,gt.jsx)(l,{icon:"align-center",children:"Center"}),(0,gt.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Ql=require("react/jsx-runtime");var ge=require("react/jsx-runtime"),jl=e=>(0,ge.jsx)(G,{scrollable:!0,...e,children:[(0,ge.jsx)(l,{children:"Button"},"toolbar-button"),(0,ge.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,ge.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,ge.jsxs)(A,{children:[(0,ge.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ge.jsx)(l,{icon:"align-center",children:"Center"}),(0,ge.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ge.jsx)(l,{children:"Button"},"toolbar-button"),(0,ge.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,ge.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,ge.jsxs)(A,{children:[(0,ge.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ge.jsx)(l,{icon:"align-center",children:"Center"}),(0,ge.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var ke=require("react/jsx-runtime"),ed=({scrollingPosition:e="start",...t})=>(0,ke.jsx)(G,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,ke.jsx)(l,{children:"Button"},"toolbar-button"),(0,ke.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,ke.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,ke.jsxs)(A,{children:[(0,ke.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ke.jsx)(l,{icon:"align-center",children:"Center"}),(0,ke.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ke.jsx)(l,{children:"Button"},"toolbar-button"),(0,ke.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,ke.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,ke.jsxs)(A,{children:[(0,ke.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ke.jsx)(l,{icon:"align-center",children:"Center"}),(0,ke.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var Y=require("react/jsx-runtime"),td=({fillMode:e,size:t,...o})=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(G,{section:!0,fillMode:e,size:t,children:[(0,Y.jsx)(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Y.jsxs)(A,{fillMode:e,children:[(0,Y.jsx)(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Y.jsx)(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Y.jsx)(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,Y.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,Y.jsx)(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),(0,Y.jsxs)(Za,{size:t,fillMode:e,section:!0,...o,children:[(0,Y.jsx)(R,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,Y.jsx)(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Y.jsx)(ae,{}),(0,Y.jsx)(D,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,Y.jsxs)(A,{fillMode:e,children:[(0,Y.jsx)(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Y.jsx)(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Y.jsx)(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var Gn=require("react/jsx-runtime");var Vn=require("react/jsx-runtime");var Et=require("react/jsx-runtime"),Df=G.options,zf=G.states,od={...G.defaultOptions,variant:"default"},Hf=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Uf=[],$o=e=>{let{variant:t,...o}={...od,...e};switch(t){case"responsive":return(0,Et.jsx)("div",{children:(0,Et.jsx)(td,{style:{width:"583px"},...o})});case"overlay":return(0,Et.jsx)("div",{children:(0,Et.jsx)(ed,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,Et.jsx)("div",{children:(0,Et.jsx)(jl,{style:{width:"583px"},...o})});default:return(0,Et.jsx)("div",{children:(0,Et.jsx)(Yl,{style:{width:"583px"},...o})})}};$o.options=Df;$o.states=zf;$o.variants=Hf;$o.defaultOptions=od;$o.modifiers=Uf;$o.className=G.className;var re=require("react/jsx-runtime"),$n="k-upload-dropzone",Ff=[s.hover],Ya=e=>{let{hover:t,status:o,disabled:a,hasFiles:r,filesId:i,...d}=e,c;switch(o){case"uploading":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(L,{icon:"upload"}),"Uploading..."]});break;case"done":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(L,{icon:"check"}),"Done"]});break;case"failed":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(L,{icon:"exclamation-circle"}),"Done"]});break;default:c=(0,re.jsx)(re.Fragment,{});break}return(0,re.jsxs)("div",{...d,className:n(e.className,$n,"k-dropzone",y($n,{hover:t})),children:[(0,re.jsxs)("div",{className:"k-upload-button-wrap",children:[(0,re.jsx)(l,{className:"k-upload-button","aria-disabled":a?"true":"false",...r&&i?{"aria-controls":i}:{},children:"Select files..."}),(0,re.jsx)("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),(0,re.jsx)("span",{className:n("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&(0,re.jsx)("span",{className:"k-upload-status",children:c})]})};Ya.states=Ff;Ya.className=$n;var Xn="upload",ad=Xn;var Ft=require("react/jsx-runtime"),qn="k-upload",Gf=[s.hover,s.disabled],Vf={},nd={actionsLayout:"end"},rd="upload-files-list",le=e=>{let{async:t,empty:o,actions:a,actionsLayout:r=nd.actionsLayout,hover:i,status:d,disabled:c,...m}=e,f=!!e.children;return(0,Ft.jsxs)("div",{...m,className:n(e.className,qn,y(qn,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[(0,Ft.jsx)(Ya,{status:d,hover:i,disabled:c,hasFiles:f,filesId:rd}),f&&(0,Ft.jsx)("ul",{className:"k-upload-files",role:"list",id:rd,children:e.children}),a&&f&&(0,Ft.jsxs)(Bi,{alignment:r,orientation:"horizontal",children:[(0,Ft.jsx)(l,{className:"k-clear-selected",children:"Clear"}),(0,Ft.jsx)(l,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};le.states=Gf;le.options=Vf;le.className=qn;le.defaultOptions=nd;le.moduleName=Xn;le.folderName=ad;le.ariaSpec={selector:".k-upload",rules:[{selector:".k-upload .k-upload-button",attribute:"aria-disabled",usage:"Announces the disabled state of the upload button."},{selector:".k-upload .k-upload-button",attribute:"aria-controls (when present)",usage:"Creates the relationship between the button and the list of selected files when the list is present."},{selector:".k-upload input",attribute:"tabindex=-1",usage:"Assures that the input element inside the upload is not focusable."},{selector:".k-upload input",attribute:"aria-hidden=true",usage:"The input needs to be hidden from screen readers."},{selector:".k-upload-files",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-upload-files",attribute:"id",usage:"Unique and deterministic id linked to the button aria-controls attribute."},{selector:".k-upload-files .k-file",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-upload .k-file .k-file-validation-message",attribute:"aria-live=polite",usage:"Announces the change in the upload status of the file."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"aria-label",usage:"Provides accessible names for the file action buttons."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"tabindex=-1",usage:"The list file action buttons are not focusable elements."}]};var ha="progressbar",Qa=ha;var Gt=require("react/jsx-runtime"),nt="k-progressbar",$f=[s.disabled,s.indeterminate],Xf={orientation:["horizontal","vertical"]},ao={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Ce=e=>{let{disabled:t,height:o,indeterminate:a=ao.indeterminate,label:r=ao.label,labelPosition:i=ao.labelPosition,orientation:d=ao.orientation,reverse:c=ao.reverse,value:m=ao.value,width:f,style:b,ariaLabel:g,...u}=e;return(0,Gt.jsxs)("div",{...u,className:n(e.className,nt,y(nt,{disabled:t}),{[`${nt}-${d}`]:d,[`${nt}-indeterminate`]:a,[`${nt}-reverse`]:c}),style:{...b,"--kendo-progressbar-value":m,[d==="horizontal"?"height":"width"]:d==="horizontal"?o:f},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(m),"aria-valuemin":0,"aria-valuemax":100,children:[(0,Gt.jsx)("span",{className:n("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:r&&(0,Gt.jsxs)("span",{className:"k-progress-status",children:[m,"%"]})}),!a&&(0,Gt.jsx)("div",{className:"k-progressbar-value k-selected",children:(0,Gt.jsx)("span",{className:n("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:r&&(0,Gt.jsxs)("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Ce.states=$f;Ce.options=Xf;Ce.className=nt;Ce.defaultOptions=ao;Ce.moduleName=ha;Ce.folderName=Qa;Ce.ariaSpec={selector:".k-progressbar",implicitRole:"progressbar",rules:[{selector:".k-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ProgressBar."},{selector:".k-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ProgressBar needs an accessible name to be assigned to it."},{selector:".k-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Decimal value between aria-valuemin and aria-valuemax."},{selector:".k-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to 100."}]};var id=Ce;var er=require("react/jsx-runtime"),sd="k-chunk-progressbar",qf=(e,t)=>t<=e-1,Jf=[s.disabled,s.indeterminate],Wf={},ja={chunkCount:5,orientation:"horizontal",progress:0},ro=e=>{let{disabled:t,chunkCount:o=ja.chunkCount,indeterminate:a,orientation:r=ja.orientation,progress:i=ja.progress,reverse:d,ariaLabel:c,...m}=e;return(0,er.jsx)("div",{...m,className:n(e.className,nt,sd,y(nt,{disabled:t}),{[`${nt}-${r}`]:r,[`${nt}-indeterminate`]:a,[`${nt}-reverse`]:d}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:(0,er.jsx)("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((f,b)=>(0,er.jsx)("li",{className:n("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":qf(i,b)})},b))})})};ro.states=Jf;ro.options=Wf;ro.className=sd;ro.defaultOptions=ja;ro.moduleName=ha;ro.folderName=Qa;ro.ariaSpec={selector:".k-chunk-progressbar",implicitRole:"progressbar",rules:[{selector:".k-chunk-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ChunkProgressBar."},{selector:".k-chunk-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ChunkProgressBar needs an accessible name to be assigned to it."},{selector:".k-chunk-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Value between aria-valuemin and aria-valuemax."},{selector:".k-chunk-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-chunk-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to chunk count."}]};var ld=require("react/jsx-runtime"),xa=e=>(0,ld.jsx)(id,{...e});var Zf=require("react/jsx-runtime");var Tt=require("react/jsx-runtime"),Yf=Ce.options,Qf=Ce.states,dd={...Ce.defaultOptions,variant:"start"},jf=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],eb=[],Xo=e=>{let{variant:t,modifiers:o,...a}={...dd,...e},r={},i={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(d=>{switch(d){case"reverse":r.reverse=!!(o!=null&&o[d]);break;case"vertical":r.orientation=o!=null&&o[d]?"vertical":void 0,i.style=o!=null&&o[d]?void 0:{width:"324px"};break}}),t){case"end":return(0,Tt.jsx)("div",{...i,children:(0,Tt.jsx)(xa,{...a,...r,labelPosition:"end",value:"50"})});case"center":return(0,Tt.jsx)("div",{...i,children:(0,Tt.jsx)(xa,{...a,...r,labelPosition:"center",value:"50"})});case"empty":return(0,Tt.jsx)("div",{...i,children:(0,Tt.jsx)(xa,{...a,...r,label:!1,value:"50"})});default:return(0,Tt.jsx)("div",{...i,children:(0,Tt.jsx)(xa,{...a,...r,labelPosition:"start",value:"50"})})}};Xo.options=Yf;Xo.states=Qf;Xo.variants=jf;Xo.defaultOptions=dd;Xo.modifiers=eb;Xo.className=Ce.className;var qo=require("react/jsx-runtime"),tb="k-file-info",Jn=e=>{let{name:t,size:o,validationMsg:a,...r}=e;return(0,qo.jsxs)("div",{...r,className:n(e.className,tb),children:[t&&(0,qo.jsx)("span",{className:"k-file-name",children:t}),o&&(0,qo.jsx)("span",{className:"k-file-size",children:o}),a&&(0,qo.jsx)("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};var Ne=require("react/jsx-runtime"),ob="k-file",Ue=e=>{let{status:t,progress:o,name:a,icon:r,size:i,state:d,validationMsg:c,...m}=e;return(0,Ne.jsx)("li",{...m,className:n(e.className,ob,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:(0,Ne.jsxs)("div",{className:"k-file-single",children:[(0,Ne.jsx)(Ce,{className:n({"k-hidden":t!=="progress"}),value:o,label:!1}),(0,Ne.jsxs)("span",{className:"k-file-icon-wrapper",children:[(0,Ne.jsx)(L,{className:"k-file-icon",icon:r,size:"xxlarge"}),d&&(0,Ne.jsx)("span",{className:"k-file-state",children:d})]}),(0,Ne.jsx)(Jn,{name:a,size:i,validationMsg:c}),(0,Ne.jsx)("div",{className:"k-upload-actions",children:t==="progress"?(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsxs)("span",{className:"k-upload-pct",children:[o,"%"]}),(0,Ne.jsx)(l,{icon:"pause-sm",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),(0,Ne.jsx)(l,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):(0,Ne.jsx)(l,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};var Wn=require("react/jsx-runtime");var Vt=require("react/jsx-runtime"),ga=e=>(0,Vt.jsx)(le,{async:!0,children:(0,Vt.jsxs)(Vt.Fragment,{children:[(0,Vt.jsx)(Ue,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),(0,Vt.jsx)(Ue,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});var Zn=require("react/jsx-runtime");var pd=require("react/jsx-runtime"),tr=e=>(0,pd.jsx)(le,{async:!0,empty:!0,...e});var Yn=require("react/jsx-runtime");var Qn=require("react/jsx-runtime");var Re=require("react/jsx-runtime"),ab=le.options,rb=le.states,cd={...le.defaultOptions,variant:"empty"},nb=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],ib=[],Jo=e=>{let{variant:t,...o}={...cd,...e};switch(t){case"success":return(0,Re.jsxs)(ga,{status:"done",style:{width:"586px"},...o,children:[(0,Re.jsx)(Ue,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),(0,Re.jsx)(Ue,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return(0,Re.jsxs)(ga,{status:"failed",style:{width:"586px"},...o,children:[(0,Re.jsx)(Ue,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),(0,Re.jsx)(Ue,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return(0,Re.jsxs)(ga,{status:"uploading",style:{width:"586px"},...o,children:[(0,Re.jsx)(Ue,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),(0,Re.jsx)(Ue,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return(0,Re.jsxs)(ga,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[(0,Re.jsx)(Ue,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),(0,Re.jsx)(Ue,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return(0,Re.jsx)(tr,{async:!0,status:"upload",style:{width:"586px"},...o})}};Jo.options=ab;Jo.states=rb;Jo.variants=nb;Jo.defaultOptions=cd;Jo.modifiers=ib;Jo.className=le.className;var jn="pdf-viewer",ud=jn;var S=require("react/jsx-runtime"),or="k-pdf-viewer",sb=[s.disabled],lb={},db=(0,S.jsxs)(G,{resizable:!0,fillMode:"flat",children:[(0,S.jsx)(D,{icon:"menu",fillMode:"flat",showArrow:!1,"aria-label":"Menu"}),(0,S.jsx)(ae,{}),(0,S.jsx)(rl,{pageSizes:!1,refresh:!1,info:!1}),(0,S.jsx)("span",{className:"k-spacer"}),(0,S.jsxs)(A,{fillMode:"flat",children:[(0,S.jsx)(l,{fillMode:"flat",className:"k-group-start",icon:"zoom-out","aria-label":"Zoom out"}),(0,S.jsx)(l,{fillMode:"flat",className:"k-group-end",icon:"zoom-in","aria-label":"Zoom in"})]}),(0,S.jsx)(pe,{value:"Automatic Width",fillMode:"flat","aria-label":"Zoom level"}),(0,S.jsxs)(A,{fillMode:"flat",children:[(0,S.jsx)(l,{fillMode:"flat",className:"k-group-start",icon:"pointer","aria-label":"Selection tool"}),(0,S.jsx)(l,{fillMode:"flat",className:"k-group-end",icon:"hand","aria-label":"Hand tool"})]}),(0,S.jsx)("span",{className:"k-spacer"}),(0,S.jsx)(l,{fillMode:"flat",icon:"search","aria-haspopup":"dialog","aria-label":"Search"}),(0,S.jsx)(l,{fillMode:"flat",icon:"edit-annotations","aria-label":"Annotations"}),(0,S.jsx)(l,{fillMode:"flat",icon:"comment","aria-label":"Comments"})]}),pb=(0,S.jsxs)(G,{resizable:!0,fillMode:"flat",children:[(0,S.jsxs)(A,{fillMode:"flat",children:[(0,S.jsx)(l,{fillMode:"flat",className:"k-group-start",icon:"highlight","aria-label":"Highlight"}),(0,S.jsx)(l,{fillMode:"flat",icon:"underline","aria-label":"Underline"}),(0,S.jsx)(l,{fillMode:"flat",className:"k-group-end",icon:"strikethrough","aria-label":"Strikethrough"})]}),(0,S.jsx)(ae,{}),(0,S.jsx)(l,{fillMode:"flat",icon:"free-text","aria-label":"Free text"}),(0,S.jsx)(ae,{}),(0,S.jsx)(D,{icon:"shapes",fillMode:"flat",showArrow:!0,"aria-label":"Shapes"}),(0,S.jsx)(ae,{}),(0,S.jsx)(D,{icon:"stamp",fillMode:"flat",showArrow:!0,"aria-label":"Stamp"}),(0,S.jsx)(ae,{}),(0,S.jsx)(l,{fillMode:"flat",icon:"sticky-note","aria-label":"Sticky note"}),(0,S.jsx)(ae,{}),(0,S.jsx)(l,{fillMode:"flat",icon:"ruler-outline","aria-label":"Ruler"}),(0,S.jsx)(ae,{}),(0,S.jsx)(l,{fillMode:"flat",icon:"comment","aria-label":"Comment"}),(0,S.jsx)(ae,{}),(0,S.jsx)(l,{fillMode:"flat",icon:"eraser-outline","aria-label":"Eraser"}),(0,S.jsx)("span",{className:"k-spacer"}),(0,S.jsx)(l,{fillMode:"flat",icon:"x","aria-label":"Close"})]}),ka={toolbar:db,showSearchPanel:!1,blank:!1,annotations:!1,annotationsToolbar:pb},At=e=>{let{disabled:t,toolbar:o=ka.toolbar,showSearchPanel:a=ka.showSearchPanel,blank:r=ka.blank,annotations:i,annotationsToolbar:d=ka.annotationsToolbar,...c}=e;return(0,S.jsxs)("div",{...c,className:n(e.className,or,y(or,{disabled:t})),children:[o,i&&d,(0,S.jsxs)("div",{className:"k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto k-enable-text-select",tabIndex:0,"aria-label":"PDF document",role:"document",children:[a&&(0,S.jsxs)("div",{className:"k-search-panel k-pos-sticky k-top-center",role:"dialog","aria-label":"Search",children:[(0,S.jsx)(l,{fillMode:"flat",icon:"handle-drag",className:"k-search-dialog-draghandle","aria-label":"Drag handle"}),(0,S.jsx)(ne,{"aria-label":"Search text",suffix:(0,S.jsx)(l,{fillMode:"flat",className:"k-match-case-button",icon:"convert-lowercase","aria-label":"Match case"})}),(0,S.jsxs)("span",{className:"k-search-matches",children:[(0,S.jsx)("span",{children:"0"})," of ",(0,S.jsx)("span",{children:"0"})]}),(0,S.jsx)(l,{fillMode:"flat",icon:"arrow-up","aria-label":"Previous match"}),(0,S.jsx)(l,{fillMode:"flat",icon:"arrow-down","aria-label":"Next match"}),(0,S.jsx)(l,{fillMode:"flat",icon:"x","aria-label":"Close search"})]}),(0,S.jsx)("div",{className:"k-pdf-viewer-pages",children:r?(0,S.jsxs)("div",{className:"k-page k-blank-page",children:[(0,S.jsx)(_a,{}),(0,S.jsx)(tr,{empty:!0,status:"upload"})]}):e.children})]})]})};At.states=sb;At.options=lb;At.className=or;At.defaultOptions=ka;At.moduleName=jn;At.folderName=ud;At.ariaSpec={selector:".k-pdf-viewer",rules:[{selector:".k-pdf-viewer .k-canvas",attribute:"tabindex=0",usage:"Defines the focusable page container element."},{selector:".k-pdf-viewer .k-canvas",attribute:"aria-label",usage:"Describes the purpose of the focusable container."},{selector:".k-pdf-viewer .k-canvas",attribute:"role=document",usage:"Defines that content should be evaluated in reader mode by assistive technologies."},{selector:'.k-pdf-viewer .k-toolbar .k-button:has([class*="i-search"])',attribute:"aria-haspopup=dialog",usage:"Describes that the Search tool button opens a dialog element."},{selector:".k-pdf-viewer .k-canvas .k-search-panel",attribute:"role=dialog",usage:"Describes the role of the Search panel."},{selector:".k-pdf-viewer .k-canvas .k-search-panel",attribute:"aria-label",usage:"Label for the Search panel, same label as the Search tool."}]};var cb=At;
1
+ var fd=Object.create;var va=Object.defineProperty;var bd=Object.getOwnPropertyDescriptor;var hd=Object.getOwnPropertyNames;var xd=Object.getPrototypeOf,gd=Object.prototype.hasOwnProperty;var kd=(e,t)=>{for(var o in t)va(e,o,{get:t[o],enumerable:!0})},ti=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of hd(t))!gd.call(e,r)&&r!==o&&va(e,r,{get:()=>t[r],enumerable:!(a=bd(t,r))||a.enumerable});return e};var oi=(e,t,o)=>(o=e!=null?fd(xd(e)):{},ti(t||!e||!e.__esModule?va(o,"default",{value:e,enumerable:!0}):o,e)),Nd=e=>ti(va({},"__esModule",{value:!0}),e);var ub={};kd(ub,{PDFVIEWER_CLASSNAME:()=>or,PDFViewer:()=>At,default:()=>cb});module.exports=Nd(ub);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var T=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),y=(e,t)=>{let{valid:o,invalid:a,hover:r,focus:i,checked:d,active:c,selected:m,disabled:f,indeterminate:b,loading:g,empty:u,readonly:N,highlighted:k,...C}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":r,"k-focus":i,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":f,"k-indeterminate":b&&!d,"k-loading":g,"k-empty":u,"k-readonly":N,"k-highlighted":k},Object.keys(C).reduce((E,I)=>(I.startsWith("k-")?E[I]=C[I]:E[`k-${I}`]=C[I],E),{}))};function ai(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},ut={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},v={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var ir={};function H(e){return ir[e]=(ir[e]||0)+1,`k-${e}-${ir[e]}`}var Wo=require("react/jsx-runtime"),sr="k-font-icon",vd=[],Ld={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},Md={},Zo=e=>{let{size:t,themeColor:o,icon:a,rotate:r,flip:i,...d}=e;return a?(0,Wo.jsx)("span",{...d,className:n(e.className,sr,T(sr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):(0,Wo.jsx)(Wo.Fragment,{})};Zo.states=vd;Zo.options=Ld;Zo.className=sr;Zo.defaultOptions=Md;var ri=Zo;var Xt=require("react/jsx-runtime"),lr="k-svg-icon",Sd=[],Id={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[ut.outline,ut.solid,ut.duotone]},dr={viewBox:"0 0 24 24",variant:ut.outline},Yo=e=>{var g,u;let{size:t,themeColor:o,rotate:a,flip:r,viewBox:i=dr.viewBox,variant:d=dr.variant,icon:c,...m}=e;if(!c)return(0,Xt.jsx)(Xt.Fragment,{});if(c==="none")return(0,Xt.jsx)("span",{...m,className:n(e.className,lr,T("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let f=typeof c=="object"&&c.name&&c.name,b=typeof c=="object"?d&&((g=c.variants)==null?void 0:g[d])||((u=c.variants)==null?void 0:u.outline)||c.content:void 0;return(0,Xt.jsx)("span",{...m,className:n(e.className,lr,T("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:(0,Xt.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:i,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:c?void 0:e.children})})};Yo.states=Sd;Yo.options=Id;Yo.className=lr;Yo.defaultOptions=dr;var pr=Yo;var cr=oi(require("@progress/kendo-svg-icons"));var ni="icon",ii="icons";var di=require("react");var si=require("react"),li=(0,si.createContext)({iconsType:"svg"});var kt=require("react/jsx-runtime"),La="k-icon",yd=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Cd=[],Ed={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[ut.outline,ut.solid,ut.duotone]},Ma={viewBox:"0 0 24 24",type:"svg",variant:ut.outline},L=e=>{let{iconsType:t}=(0,di.useContext)(li),{size:o,themeColor:a,icon:r,type:i=t||Ma.type,rotate:d,flip:c,viewBox:m=Ma.viewBox,variant:f=Ma.variant,...b}=e;if(!r)return(0,kt.jsx)(kt.Fragment,{});if((t||i)==="svg"){if(r==="none")return(0,kt.jsx)(pr,{...b,className:n(e.className,La),icon:r,size:o,variant:f});let u=cr[r]?r:yd(`${r}-icon`);return cr[u]?(0,kt.jsx)(pr,{...b,className:n(e.className,La),icon:cr[u],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:f}):(0,kt.jsx)(kt.Fragment,{})}return(0,kt.jsx)(ri,{...b,className:n(e.className,La),icon:r,size:o,themeColor:a,rotate:d,flip:c})};L.states=Cd;L.options=Ed;L.defaultOptions=Ma;L.className=La;L.moduleName=ni;L.folderName=ii;L.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var ur="button",pi=ur;var it=require("react/jsx-runtime"),Qo="k-button",Td=["icon-button"],Ad=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],Od={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},mr={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:r,themeColor:i,showArrow:d=mr.showArrow,arrowIconName:c=mr.arrowIconName,variant:m,hover:f,focus:b,active:g,selected:u,disabled:N,togglable:k,ariaDisabled:C,icon:E,text:I,iconClassName:B,className:q,...U}=e,Ee=E!==void 0,Te=e.children!==void 0;return(0,it.jsxs)(t,{className:n(q,Qo,ai(Qo,m),T(Qo,{size:o,rounded:a,fillMode:r,themeColor:i}),y(Qo,{hover:f,focus:b,active:g,disabled:N||C,selected:u}),{"k-icon-button":!I&&!Te&&Ee}),...U,"aria-pressed":k?u?"true":"false":void 0,"aria-disabled":C?"true":void 0,disabled:N||void 0,children:[E&&(0,it.jsx)(L,{className:n(B,"k-button-icon"),icon:E}),I?(0,it.jsxs)(it.Fragment,{children:[I&&(0,it.jsx)("span",{className:"k-button-text",children:I}),e.children]}):e.children&&(0,it.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,it.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,it.jsx)(L,{icon:c})})]})};l.states=Ad;l.options=Od;l.variants=Td;l.className=Qo;l.defaultOptions=mr;l.moduleName=ur;l.folderName=pi;l.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var ci=require("react/jsx-runtime"),Pt=e=>(0,ci.jsx)(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var ui=require("react/jsx-runtime"),jo=e=>(0,ui.jsx)(l,{icon:"folder",children:"Button",...e});var mi=require("react/jsx-runtime"),qt=e=>(0,mi.jsx)(l,{children:"Button",...e});var Sa=require("react/jsx-runtime"),Pd=l.options,wd=l.states,Bd={...l.defaultOptions,variant:"text"},Rd=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Kd=[],no=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Sa.jsx)(Pt,{...o,icon:"star"});case"icon-and-text":return(0,Sa.jsx)(jo,{...o,icon:"star",children:"Button"});default:return(0,Sa.jsx)(qt,{...o,children:"Button"})}};no.options=Pd;no.states=wd;no.variants=Rd;no.defaultOptions=Bd;no.modifiers=Kd;no.className=l.className;var fr="button",fi=fr;var bi=require("react/jsx-runtime"),ea="k-button-group",_d=[s.disabled],Dd={fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},zd={},A=e=>{let{fillMode:t,disabled:o,stretched:a,...r}=e;return(0,bi.jsx)("div",{role:"group",...r,className:n(e.className,ea,T(ea,{fillMode:t}),y(ea,{disabled:o}),{[`${ea}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};A.states=_d;A.options=Dd;A.className=ea;A.defaultOptions=zd;A.moduleName=fr;A.folderName=fi;A.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var br=require("react/jsx-runtime");var hr=require("react/jsx-runtime");var xr=require("react/jsx-runtime");var gr=require("react/jsx-runtime");var kr=require("react/jsx-runtime");var Nr=require("react/jsx-runtime");var Ke=require("react/jsx-runtime"),Hd={...l.options,...A.options},Ud=l.states,Fd={...l.defaultOptions,...A.defaultOptions,variant:"text-button"},Gd=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Vd=[],io=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Ke.jsxs)(A,{fillMode:a.fillMode,className:o,children:[(0,Ke.jsx)(l,{...a,icon:"star"}),(0,Ke.jsx)(l,{...a,icon:"star"}),(0,Ke.jsx)(l,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Ke.jsxs)(A,{fillMode:a.fillMode,className:o,children:[(0,Ke.jsx)(l,{...a,icon:"star",children:"First"}),(0,Ke.jsx)(l,{...a,icon:"star",children:"Middle"}),(0,Ke.jsx)(l,{...a,icon:"star",children:"Last"})]}):(0,Ke.jsxs)(A,{fillMode:a.fillMode,className:o,children:[(0,Ke.jsx)(l,{...a,children:"First"}),(0,Ke.jsx)(l,{...a,children:"Middle"}),(0,Ke.jsx)(l,{...a,children:"Last"})]})};io.options=Hd;io.states=Ud;io.variants=Gd;io.defaultOptions=Fd;io.modifiers=Vd;io.className=A.className;var ta="input",Ia=ta;var hi=require("react/jsx-runtime"),ya="k-input",$d=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Xd={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},qd={},te=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:i,loading:d,readonly:c,size:m,rounded:f,fillMode:b,...g}=e;return(0,hi.jsx)("span",{...g,className:n(e.className,ya,T(ya,{size:m,rounded:f,fillMode:b}),y(ya,{hover:t,focus:o,disabled:a,invalid:r,valid:i,loading:d,readonly:c}))})};te.states=$d;te.options=Xd;te.className=ya;te.defaultOptions=qd;te.moduleName=ta;te.folderName=Ia;var xi=require("react/jsx-runtime"),Ca="k-picker",Jd=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Wd={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Zd={},mt=e=>{let{hover:t,focus:o,disabled:a,invalid:r,valid:i,loading:d,readonly:c,size:m,rounded:f,fillMode:b,...g}=e;return(0,xi.jsx)("span",{...g,className:n(e.className,Ca,T(Ca,{size:m,rounded:f,fillMode:b}),y(Ca,{hover:t,focus:o,disabled:a,invalid:r,valid:i,loading:d,readonly:c})),children:e.children})};mt.states=Jd;mt.options=Wd;mt.className=Ca;mt.defaultOptions=Zd;mt.moduleName=ta;mt.folderName=Ia;var so=require("react/jsx-runtime"),gi="k-clear-value",Yd=[s.disabled,s.loading,s.readonly],Qd={},Ge=e=>{let{disabled:t,loading:o,readonly:a,value:r}=e;return t||a||o||!r?(0,so.jsx)(so.Fragment,{}):(0,so.jsx)("span",{className:n(e.className,gi),children:(0,so.jsx)(L,{icon:"x"})})};Ge.states=Yd;Ge.options=Qd;Ge.className=gi;var ki=require("react/jsx-runtime"),vr="k-input-inner",jd=[],ep={},Ea={type:"text",autocomplete:"off",value:"",placeholder:""},Ve=e=>{let{value:t=Ea.value,type:o=Ea.type,placeholder:a=Ea.placeholder,autocomplete:r=Ea.autocomplete,disabled:i,readOnly:d,...c}=e;return(0,ki.jsx)("input",{...c,type:o,className:n(e.className,vr,T(vr,e)),placeholder:a,autoComplete:r,defaultValue:t,disabled:i||void 0,readOnly:d||void 0})};Ve.states=jd;Ve.options=ep;Ve.className=vr;var oa=require("react/jsx-runtime"),Lr="k-input-inner",tp=[],op={},Jt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:r,valueIconName:i,...d}=e;return(0,oa.jsxs)("span",{...d,className:n(e.className,Lr,T(Lr,e)),children:[r,!r&&i&&(0,oa.jsx)(L,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&(0,oa.jsx)("span",{className:"k-input-value-text",children:t})]})};Jt.states=tp;Jt.options=op;Jt.className=Lr;var vi=require("react/jsx-runtime"),Mr="k-input-inner",ap=[],rp={},Ni={value:"",placeholder:""},Sr=e=>{let{value:t=Ni.value,placeholder:o=Ni.placeholder,rows:a,disabled:r,...i}=e;return(0,vi.jsx)("textarea",{...i,className:n(e.className,Mr,T(Mr,e)),placeholder:o,rows:a,defaultValue:t,disabled:r||void 0})};Sr.states=ap;Sr.options=rp;Sr.className=Mr;var aa=require("react/jsx-runtime"),Li="k-input-loading-icon",np=[s.disabled,s.loading],_e=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,aa.jsx)(aa.Fragment,{}):(0,aa.jsx)("span",{className:n(e.className,Li,"k-icon k-i-loading")})};_e.states=np;_e.className=Li;var ra=require("react/jsx-runtime"),Mi="k-input-validation-icon",ip=[s.valid,s.invalid,s.disabled,s.loading],sp={},Ae=e=>{let{valid:t,invalid:o,disabled:a,loading:r}=e,i=o?"warning-circle":"check-circle";return a||r||!!!(t||o)?(0,ra.jsx)(ra.Fragment,{}):(0,ra.jsx)(L,{className:n(Mi),icon:i})};Ae.states=ip;Ae.options=sp;Ae.className=Mi;var na=require("react/jsx-runtime"),lp="k-input-prefix",dp={direction:"horizontal"},Ze=e=>{let{direction:t=dp.direction,...o}=e;return e.children?(0,na.jsx)("span",{...o,className:n(lp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,na.jsx)(na.Fragment,{})};var ia=require("react/jsx-runtime"),pp="k-input-suffix",cp={direction:"horizontal"},Ye=e=>{let{direction:t=cp.direction,...o}=e;return e.children?(0,ia.jsx)("span",{...o,className:n(pp,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,ia.jsx)(ia.Fragment,{})};var up=require("react/jsx-runtime");var Si=require("react/jsx-runtime"),mp="k-input-suffix-text",Ir=e=>{let{children:t,...o}=e;return(0,Si.jsx)("span",{...o,className:n(mp,e.className),children:t})};var yi=require("react/jsx-runtime"),Ii="k-input-separator",fp={direction:"vertical"},Qe=e=>{let{direction:t=fp.direction,...o}=e;return(0,yi.jsx)("span",{...o,className:n(Ii,e.className,{[`${Ii}-${t}`]:t})})};var de=require("react/jsx-runtime"),bp=te.states,hp=te.defaultOptions,xp=te.options,gp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],kp=[],lo=e=>{let{modifiers:t,valid:o,invalid:a,loading:r,disabled:i,readonly:d,...c}=e,m=t==null?void 0:t.prefix,f=t==null?void 0:t.suffix,b=t==null?void 0:t["clear-button"],g=t==null?void 0:t["validation-icon"],u=t==null?void 0:t.separators;return(0,de.jsxs)(te,{...c,valid:o,invalid:a,loading:r,disabled:i,readonly:d,style:{width:300},children:[m&&(0,de.jsxs)(de.Fragment,{children:[(0,de.jsx)(Ze,{children:(0,de.jsx)(L,{icon:"lock"})}),u&&(0,de.jsx)(Qe,{})]}),(0,de.jsx)(Ve,{placeholder:"Placeholder",value:"Value"}),g&&(0,de.jsx)(Ae,{valid:o,invalid:a,loading:r,disabled:i}),(0,de.jsx)(_e,{loading:r,disabled:i}),b&&(0,de.jsx)(Ge,{loading:r,disabled:i,readonly:d,value:"Value"}),f&&(0,de.jsxs)(de.Fragment,{children:[u&&(0,de.jsx)(Qe,{}),(0,de.jsx)(Ye,{children:(0,de.jsx)(qt,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};lo.options=xp;lo.states=bp;lo.variants=kp;lo.defaultOptions=hp;lo.modifiers=gp;lo.className=te.className;var yr="popup",Ci=yr;var Cr=require("react/jsx-runtime"),Ei="k-animation-container",Np=[],vp={},Ti={positionMode:"absolute"},ft=e=>{let{positionMode:t=Ti.positionMode,animationStyle:o,offset:a,...r}=e;return(0,Cr.jsx)("div",{...r,style:{...a,...e.style},className:n(e.className,Ei,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Cr.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};ft.states=Np;ft.options=vp;ft.className=Ei;ft.defaultOptions=Ti;ft.moduleName=yr;ft.folderName=Ci;var Er="popup",Ai=Er;var Tr=require("react/jsx-runtime"),Oi="k-popup",Lp=[],Mp={},Pi={positionMode:"absolute"},X=e=>{let{offset:t,positionMode:o=Pi.positionMode,animationStyle:a,containerClassName:r,containerRole:i,containerAriaLabel:d,...c}=e;return(0,Tr.jsx)(ft,{positionMode:o,offset:t,animationStyle:a,className:r,role:i,"aria-label":d,children:(0,Tr.jsx)("div",{...c,className:n(e.className,Oi),children:e.children})})};X.states=Lp;X.options=Mp;X.className=Oi;X.defaultOptions=Pi;X.moduleName=Er;X.folderName=Ai;X.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Ar="action-buttons",wi=Ar;var Ri=require("react/jsx-runtime"),Ta="k-actions",Sp=[],Ip={},Or={alignment:"start",orientation:"horizontal"},st=e=>{let{alignment:t=Or.alignment,orientation:o=Or.orientation,...a}=e;return(0,Ri.jsx)("div",{...a,className:n(Ta,{[`${Ta}-${t}`]:t,[`${Ta}-${o}`]:o},e.className),children:e.children})};st.states=Sp;st.options=Ip;st.className=Ta;st.defaultOptions=Or;st.moduleName=Ar;st.folderName=wi;var Bi=st;var _i=require("react/jsx-runtime"),yp="k-actionsheet-footer",Ki={alignment:"stretched",orientation:"horizontal"},wt=e=>{let{alignment:t=Ki.alignment,orientation:o=Ki.orientation,template:a,as:r=a?"div":st,...i}=e;return(0,_i.jsx)(r,{...i,...!a&&{alignment:t,orientation:o},className:n(e.className,yp),children:e.children})};var Pr="searchbox",Di=Pr;var Bt=require("react/jsx-runtime"),zi="k-searchbox",Cp=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Ep={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},wr={showIcon:!0,icon:"search"},je=e=>{let{value:t,placeholder:o,size:a,rounded:r,fillMode:i,hover:d,focus:c,valid:m,invalid:f,required:b,loading:g,disabled:u,showIcon:N=wr.showIcon,icon:k=wr.icon,"aria-label":C,...E}=e;return(0,Bt.jsxs)(te,{...E,size:a,rounded:r,fillMode:i,hover:d,focus:c,valid:m,invalid:f,required:b,loading:g,disabled:u,className:n(e.className,zi),children:[N&&(0,Bt.jsx)(L,{className:"k-input-icon",icon:k}),(0,Bt.jsx)(Ve,{placeholder:o,value:t,"aria-label":C}),(0,Bt.jsx)(_e,{...e}),(0,Bt.jsx)(Ae,{...e}),(0,Bt.jsx)(Ge,{...e})]})};je.states=Cp;je.options=Ep;je.className=zi;je.defaultOptions=wr;je.moduleName=Pr;je.folderName=Di;var Tp=require("react/jsx-runtime");var Br="textbox",Hi=Br;var ve=require("react/jsx-runtime"),Ui="k-textbox",Ap=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Op={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Aa={showClearButton:!0,showValidationIcon:!0,separators:!0},ne=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Aa.separators,showClearButton:i=Aa.showClearButton,showValidationIcon:d=Aa.showValidationIcon,prefix:c,suffix:m,type:f,value:b,placeholder:g,hover:u,focus:N,valid:k,invalid:C,required:E,loading:I,disabled:B,readonly:q,id:U,"aria-label":Ee,"aria-describedby":Te,...Fe}=e;return(0,ve.jsxs)(te,{...Fe,size:t,rounded:o,fillMode:a,hover:u,focus:N,valid:k,invalid:C,required:E,loading:I,disabled:B,readonly:q,className:n(e.className,Ui),children:[c&&(0,ve.jsxs)(ve.Fragment,{children:[(0,ve.jsx)(Ze,{children:c}),r&&(0,ve.jsx)(Qe,{})]}),(0,ve.jsx)(Ve,{id:U,placeholder:g,value:b,type:f,disabled:B,"aria-label":Ee,"aria-describedby":Te,"aria-invalid":C?"true":void 0}),d&&(0,ve.jsx)(Ae,{valid:k,invalid:C,loading:I,disabled:B}),(0,ve.jsx)(_e,{loading:I,disabled:B}),i&&(0,ve.jsx)(Ge,{loading:I,disabled:B,readonly:q,value:b}),m&&(0,ve.jsxs)(ve.Fragment,{children:[r&&(0,ve.jsx)(Qe,{}),(0,ve.jsx)(Ye,{children:m})]})]})};ne.states=Ap;ne.options=Op;ne.className=Ui;ne.defaultOptions=Aa;ne.moduleName=Br;ne.folderName=Hi;ne.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var sa=ne;var Gi=require("react/jsx-runtime"),Fi=e=>(0,Gi.jsx)(sa,{...e});var Vi=require("react/jsx-runtime");var $i=require("react/jsx-runtime");var Pp=require("react/jsx-runtime");var Oa=require("react/jsx-runtime"),wp=ne.states,Bp=ne.defaultOptions,Rp=ne.options,Kp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],_p=[],po=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,Oa.jsx)(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,Oa.jsx)(qt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;default:break}}),(0,Oa.jsx)(Fi,{value:"Value",style:{width:300},...o,...a})};po.options=Rp;po.states=wp;po.variants=_p;po.defaultOptions=Bp;po.modifiers=Kp;po.className=ne.className;var $e=require("react/jsx-runtime"),Xi="k-actionsheet-titlebar",Dp={},Oe=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:r,filter:i,input:d,inputValue:c,inputPlaceholder:m,adaptive:f,titleId:b,children:g,...u}=e;return(0,$e.jsxs)("div",{...u,className:n(e.className,Xi),children:[(0,$e.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,$e.jsx)("div",{className:"k-actionsheet-actions",children:a}),!g&&(0,$e.jsxs)("div",{className:"k-actionsheet-title",id:b,children:[t&&(0,$e.jsx)("div",{className:"k-text-center",children:t}),o&&(0,$e.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&(0,$e.jsx)("div",{className:"k-actionsheet-title",id:b,children:g}),r&&(0,$e.jsx)("div",{className:"k-actionsheet-actions",children:r})]}),(d||i)&&(0,$e.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,$e.jsx)(ne,{value:c,placeholder:m,size:f?"large":"medium","aria-label":t||m||"Input"}):(0,$e.jsx)(je,{placeholder:"Filter",size:f?"large":"medium","aria-label":"Filter options"})})]})};Oe.className=Xi;Oe.defaultOptions=Dp;var co=require("react/jsx-runtime"),Rr="k-actionsheet-view",zp=[],Hp={},Up={},uo=e=>{let{adaptive:t,animated:o,children:a,header:r,footer:i,titleId:d,...c}=e,m=(r==null?void 0:r.type)===Oe&&(0,co.jsx)(Oe,{adaptive:t,titleId:d,...r==null?void 0:r.props}),f=(i==null?void 0:i.type)===wt&&(0,co.jsx)(wt,{...i==null?void 0:i.props});return(0,co.jsxs)("div",{...c,className:n(e.className,Rr,{[`${Rr}-animated`]:o}),children:[m,(0,co.jsx)("div",{className:"k-actionsheet-content",children:a}),f]})};uo.states=zp;uo.options=Hp;uo.className=Rr;uo.defaultOptions=Up;var la="action-sheet",Pa=la;var Kr="overlay",qi=Kr;var Wi=require("react/jsx-runtime"),Ji="k-overlay",Fp=[],Gp={},Vp={},Rt=e=>{let{...t}=e;return(0,Wi.jsx)("div",{...t,className:n(e.className,Ji),children:e.children})};Rt.states=Fp;Rt.options=Gp;Rt.className=Ji;Rt.defaultOptions=Vp;Rt.moduleName=Kr;Rt.folderName=qi;var Wt=require("react/jsx-runtime"),Zi="k-actionsheet",$p=[],Xp={},da={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Q=e=>{let{side:t=da.side,fullscreen:o=da.fullscreen,adaptive:a=da.adaptive,overlay:r=da.overlay,template:i,children:d,header:c,footer:m,id:f,...b}=e,g=f&&!i&&c?`${f}-title`:void 0;return(0,Wt.jsxs)("div",{className:"k-actionsheet-container",children:[r&&(0,Wt.jsx)(Rt,{}),(0,Wt.jsx)(ft,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,Wt.jsx)("div",{...b,id:f,role:"dialog","aria-modal":r?"true":void 0,"aria-labelledby":g,className:n(e.className,Zi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||(0,Wt.jsx)(uo,{header:c,footer:m,adaptive:a,titleId:g,...e,children:d})})})]})};Q.states=$p;Q.options=Xp;Q.className=Zi;Q.defaultOptions=da;Q.moduleName=la;Q.folderName=Pa;Q.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var Qi=require("react/jsx-runtime"),Yi="k-actionsheet-container",qp=[],Jp={},Wp={},mo=e=>{let{children:t,...o}=e;return(0,Qi.jsx)("div",{...o,className:Yi,children:t})};mo.states=qp;mo.options=Jp;mo.className=Yi;mo.defaultOptions=Wp;mo.moduleName=la;mo.folderName=Pa;var ji=require("react/jsx-runtime"),_r=e=>{let{...t}=e;return(0,ji.jsx)("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};var et=require("react/jsx-runtime"),Dr="k-actionsheet-item",Zp=[s.hover,s.focus,s.selected,s.disabled],Kt=e=>{let{iconName:t,text:o,description:a,hover:r,focus:i,selected:d,disabled:c,...m}=e;return(0,et.jsxs)("span",{...m,className:n(e.className,Dr,y(Dr,{hover:r,focus:i,selected:d,disabled:c})),children:[!e.children&&(0,et.jsx)(et.Fragment,{children:(0,et.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,et.jsx)("span",{className:"k-icon-wrap",children:(0,et.jsx)(L,{className:"k-actionsheet-item-icon",icon:t})}),(0,et.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,et.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,et.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Kt.states=Zp;Kt.className=Dr;var es=require("react/jsx-runtime");var Yp=require("react/jsx-runtime");var Qp=require("react/jsx-runtime");var jp=require("react/jsx-runtime");var J=require("react/jsx-runtime"),ec=Q.options,tc=Q.states,os={...Q.defaultOptions,variant:"normal"},oc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ac=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],fo=e=>{let{variant:t,modifiers:o,...a}={...os,...e},r={},i=(0,J.jsxs)(_r,{children:[(0,J.jsx)(Kt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,J.jsx)(Kt,{text:"Add to Favorites",iconName:"heart"}),(0,J.jsx)(Kt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,J.jsx)("hr",{className:"k-hr"}),(0,J.jsx)(Kt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(r.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":r.actionsStart=!!(o!=null&&o[m]),r.actionsEnd=!!(o!=null&&o[m]);break;case"subtitle":r.subtitle=o!=null&&o[m]?d:void 0;break;case"footer":r.footer=!!(o!=null&&o[m]);break;default:break}}),t==="adaptive"?(0,J.jsx)(Q,{...a,adaptive:!0,fullscreen:r.fullScreen,header:(0,J.jsx)(Oe,{actionsStart:r.actionsStart?(0,J.jsx)(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,J.jsx)(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:r.subtitle}),footer:r.footer?(0,J.jsxs)(wt,{alignment:"stretched",children:[(0,J.jsx)(l,{text:"Cancel",size:"large",themeColor:"base"}),(0,J.jsx)(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):(0,J.jsx)(Q,{...a,fullscreen:r.fullScreen,header:(0,J.jsx)(Oe,{actionsStart:r.actionsStart?(0,J.jsx)(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:r.actionsEnd?(0,J.jsx)(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:r.subtitle}),footer:r.footer?(0,J.jsxs)(wt,{alignment:"stretched",children:[(0,J.jsx)(l,{text:"Apply",themeColor:"primary"}),(0,J.jsx)(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};fo.options=ec;fo.states=tc;fo.variants=oc;fo.defaultOptions=os;fo.modifiers=ac;fo.className=Q.className;var Ba=oi(require("react"));var zr=require("react/jsx-runtime"),rc="k-list-group-sticky-header",Hr=e=>(0,zr.jsx)("div",{className:n(rc,e.className),children:(0,zr.jsx)("div",{className:"k-list-header-text",children:e.children})});var as=require("react/jsx-runtime"),nc="k-no-data",wa=e=>{let{live:t,...o}=e;return(0,as.jsx)("span",{...o,className:n(nc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Zt="list",bo=Zt;var ho=require("react/jsx-runtime"),Ur="k-list",ic=[],sc={size:[p.undefined,p.small,p.medium,p.large]},lc={},K=e=>{var N;let{size:t,virtualization:o,children:a,header:r,optionLabel:i,customValue:d,noData:c,screenReaders:m,...f}=e,g=Ba.default.Children.toArray(a)[0],u=(N=g==null?void 0:g.props)!=null&&N.children?Ba.default.Children.count(g.props.children):Ba.default.Children.count(a);return(0,ho.jsxs)("div",{...f,className:n(e.className,Ur,T(Ur,{size:t}),{"k-virtual-list":o}),children:[i,d,r&&(0,ho.jsx)(Hr,{children:r}),a||(c!==void 0?c:(0,ho.jsx)(wa,{live:!0,children:"No data found."})),m&&a&&(0,ho.jsxs)(wa,{className:"k-sr-only",live:!0,children:[u," items found."]})]})};K.states=ic;K.options=sc;K.className=Ur;K.defaultOptions=lc;K.moduleName=Zt;K.folderName=bo;K.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var ns=require("react/jsx-runtime"),rs="k-list-container",dc=[],pc={},cc={},xo=e=>{let{...t}=e;return(0,ns.jsx)("div",{...t,className:n(e.className,rs),children:e.children})};xo.states=dc;xo.options=pc;xo.className=rs;xo.defaultOptions=cc;xo.moduleName=Zt;xo.folderName=bo;var Yt="checkbox",go=Yt;var Fr=require("react/jsx-runtime"),Ra="k-checkbox",uc=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],mc={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full]},fc={},tt=e=>{let{id:t,checked:o,indeterminate:a,hover:r,focus:i,disabled:d,invalid:c,valid:m,required:f,size:b,rounded:g,wrapperRole:u,...N}=e;return(0,Fr.jsx)("span",{className:"k-checkbox-wrap",role:u,children:(0,Fr.jsx)("input",{...N,id:t,type:"checkbox",defaultChecked:o,required:f,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:n(e.className,Ra,T(Ra,{size:b,rounded:g}),y(Ra,{hover:r,focus:i,disabled:d,invalid:c,valid:m,indeterminate:a,checked:o}))})})};tt.states=uc;tt.options=mc;tt.className=Ra;tt.defaultOptions=fc;tt.moduleName=Yt;tt.folderName=go;tt.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var lt=tt;var ls=require("react/jsx-runtime"),is="k-checkbox-list",bc=[],hc={},ss={layout:"vertical"},Pe=e=>{let{layout:t=ss.layout,...o}=e;return(0,ls.jsx)("ul",{...o,className:n(e.className,is,{[`k-list-${t}`]:t}),children:e.children})};Pe.states=bc;Pe.options=hc;Pe.className=is;Pe.defaultOptions=ss;Pe.moduleName=Yt;Pe.folderName=go;var ps=require("react/jsx-runtime"),ds="k-checkbox-list-item",xc=[],gc={},kc={},we=e=>{let{...t}=e;return(0,ps.jsx)("li",{...t,className:n(e.className,ds),children:e.children})};we.states=xc;we.options=gc;we.className=ds;we.defaultOptions=kc;we.moduleName=Yt;we.folderName=go;var Qt=require("react/jsx-runtime"),Nt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Qt.jsxs)(Qt.Fragment,{children:[(0,Qt.jsx)(lt,{id:t,...o}),(0,Qt.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Gr=require("react/jsx-runtime");var Vr=require("react/jsx-runtime");var $r=require("react/jsx-runtime");var Nc=require("react/jsx-runtime");var vc=require("react/jsx-runtime");var Lc=require("react/jsx-runtime");var Le=require("react/jsx-runtime"),Mc=Pe.options,Sc=Pe.states,Ic={...Pe.defaultOptions,variant:"vertical"},yc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Cc=[],ko=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Le.jsxs)(Pe,{layout:"horizontal",...o,children:[(0,Le.jsx)(we,{children:(0,Le.jsx)(Nt,{id:H("cb"),defaultChecked:!0,children:"Label"})}),(0,Le.jsx)(we,{children:(0,Le.jsx)(Nt,{id:H("cb"),children:"Label"})}),(0,Le.jsx)(we,{children:(0,Le.jsx)(Nt,{id:H("cb"),children:"Label"})})]}):(0,Le.jsxs)(Pe,{...o,children:[(0,Le.jsx)(we,{children:(0,Le.jsx)(Nt,{id:H("cb"),defaultChecked:!0,children:"Label"})}),(0,Le.jsx)(we,{children:(0,Le.jsx)(Nt,{id:H("cb"),children:"Label"})}),(0,Le.jsx)(we,{children:(0,Le.jsx)(Nt,{id:H("cb"),children:"Label"})})]})};ko.options=Mc;ko.states=Sc;ko.variants=yc;ko.defaultOptions=Ic;ko.modifiers=Cc;ko.className=Pe.className;var cs=require("react/jsx-runtime"),Ec=lt.options,Tc=lt.states,Ac=lt.defaultOptions,Oc=[],Pc=[],No=e=>(0,cs.jsx)(Nt,{id:H("checkbox"),...e,defaultChecked:!0,children:"Label"});No.options=Ec;No.states=Tc;No.variants=Oc;No.defaultOptions=Ac;No.modifiers=Pc;No.className=lt.className;var bt=require("react/jsx-runtime"),Xr="k-list-item",wc=[s.hover,s.focus,s.selected,s.disabled],Bc={},Rc={},w=e=>{let{text:t,groupLabel:o,group:a,iconName:r,iconClassName:i,showCheckbox:d,checked:c,hover:m,focus:f,selected:b,disabled:g,actions:u,description:N,id:k,...C}=e,E=t||e.children;return(0,bt.jsxs)("li",{...C,id:k,role:a?"presentation":"option",tabIndex:a?void 0:f?0:-1,"aria-selected":!a&&b?"true":a?void 0:"false","aria-disabled":!a&&g?"true":void 0,className:n(e.className,a?"k-list-group-item":Xr,y(Xr,{hover:m,focus:f,disabled:g,selected:b})),children:[d&&(0,bt.jsx)(tt,{checked:c}),r&&(0,bt.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,bt.jsx)(L,{icon:r,className:n("k-list-item-icon",i)})}),(0,bt.jsx)("span",{className:"k-list-item-text",children:E}),u&&(0,bt.jsx)("div",{className:"k-list-item-actions",children:u}),N&&(0,bt.jsx)("span",{className:"k-list-item-description",children:N}),o&&o!==""&&(0,bt.jsx)("div",{className:"k-list-item-group-label",children:o})]})};w.states=wc;w.options=Bc;w.className=Xr;w.defaultOptions=Rc;w.moduleName=Zt;w.folderName=bo;w.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var us=require("react/jsx-runtime"),Kc="k-list-ul",vt=e=>{let{children:t,role:o,id:a,...r}=e;return(0,us.jsx)("ul",{...r,id:a,role:o,className:n(Kc,e.className),children:t})};vt.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};var vo=require("react/jsx-runtime"),_c="k-list-content",F=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":r,listboxId:i,...d}=e;return(0,vo.jsxs)("div",{...d,className:n(_c,e.className),role:o?"listbox":void 0,id:o?i:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?r:void 0,children:[o?e.children:(0,vo.jsx)(vt,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":r,children:e.children}),t&&(0,vo.jsx)("div",{className:"k-height-container",children:(0,vo.jsx)("div",{})})]})};F.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var qr=require("react/jsx-runtime");var Lo=require("react/jsx-runtime"),Dc="k-list-group-item",jt=e=>{let{groupIconName:t,...o}=e;return(0,Lo.jsxs)("li",{...o,role:"presentation",className:n(Dc,e.className),children:[t&&(0,Lo.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Lo.jsx)(L,{icon:t,className:"k-list-item-icon"})}),(0,Lo.jsx)("span",{className:"k-list-item-text",children:e.children})]})};jt.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var ms=require("react/jsx-runtime"),Jr="k-list-optionlabel",zc=[s.hover,s.focus,s.selected,s.disabled],Hc={},Uc={},Ka=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:i,...d}=e;return(0,ms.jsx)("div",{...d,className:n(Jr,y(Jr,{hover:o,focus:a,selected:r,disabled:i})),children:t})};Ka.states=zc;Ka.options=Hc;Ka.className=Jr;Ka.defaultOptions=Uc;var fs=require("react/jsx-runtime"),Wr="k-list-custom-value",Fc=[s.hover,s.focus,s.selected,s.disabled],Gc={},Vc={},_t=e=>{let{text:t,hover:o,focus:a,selected:r,disabled:i,...d}=e;return(0,fs.jsx)("div",{...d,className:n(Wr,y(Wr,{hover:o,focus:a,selected:r,disabled:i})),children:t})};_t.states=Fc;_t.options=Gc;_t.className=Wr;_t.defaultOptions=Vc;var Zr=require("react/jsx-runtime");var Yr=require("react/jsx-runtime");var Qr=require("react/jsx-runtime");var jr=require("react/jsx-runtime");var $c=require("react/jsx-runtime");var en=require("react/jsx-runtime");var tn="combobox",bs=tn;var _=require("react/jsx-runtime"),hs="k-combobox",Xc=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],qc={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},xs={separators:!0},pe=e=>{let{size:t,rounded:o,fillMode:a,separators:r=xs.separators,prefix:i,suffix:d,value:c,placeholder:m,hover:f,focus:b,valid:g,invalid:u,required:N,loading:k,disabled:C,popup:E,opened:I,readonly:B,adaptive:q,adaptiveSettings:U,adaptiveTitle:Ee,adaptiveSubtitle:Te,adaptiveCustomValue:Fe,id:$t,autocomplete:ar,activeDescendant:Ot,"aria-label":Na,...rr}=e,nr=$t?`${$t}-listbox`:void 0;return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(te,{...rr,size:t,rounded:o,fillMode:a,hover:f,focus:b,valid:g,invalid:u,required:N,loading:k,disabled:C,readonly:B,className:n(e.className,hs),children:[i&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(Ze,{children:i}),r&&(0,_.jsx)(Qe,{})]}),(0,_.jsx)(Ve,{id:$t,placeholder:m,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":I?"true":"false","aria-controls":I?nr:void 0,"aria-activedescendant":I&&Ot?Ot:void 0,"aria-autocomplete":ar,"aria-invalid":u?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":Na,disabled:C,readOnly:B}),(0,_.jsx)(Ae,{valid:g,invalid:u,loading:k,disabled:C}),(0,_.jsx)(_e,{loading:k,disabled:C}),(0,_.jsx)(Ge,{loading:k,disabled:C,readonly:B,value:c}),d&&(0,_.jsxs)(_.Fragment,{children:[r&&(0,_.jsx)(Qe,{}),(0,_.jsx)(Ye,{children:d})]}),(0,_.jsx)(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:C})]}),I&&E&&(0,_.jsx)(X,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),q&&(0,_.jsx)(Q,{adaptive:!0,id:$t?`${$t}-adaptive`:void 0,...U,header:(0,_.jsx)(Oe,{actionsEnd:(0,_.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:m,title:Ee,subtitle:Te}),children:(0,_.jsx)("div",{className:"k-list-container",children:(0,_.jsx)(K,{customValue:Fe?(0,_.jsx)(_t,{text:`Use "${c}"`}):void 0,size:"large",children:(0,_.jsxs)(F,{"aria-label":Ee||"Options",children:[(0,_.jsx)(w,{text:"List item"}),(0,_.jsx)(w,{text:"List item"}),(0,_.jsx)(w,{text:"List item"})]})})})})]})};pe.states=Xc;pe.options=qc;pe.className=hs;pe.defaultOptions=xs;pe.moduleName=tn;pe.folderName=bs;pe.ariaSpec={selector:".k-combobox",rules:[{selector:".k-combobox > .k-input-inner",attribute:"role=combobox",usage:"Identifies the input as a combobox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates the combobox has a listbox popup."},{selector:".k-combobox > .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-controls=${id}-listbox (when open)",usage:"Points to the listbox element when popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the listbox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-autocomplete=list|both|inline (when has autocomplete)",usage:"Indicates the autocomplete behavior."},{selector:".k-combobox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the combobox is in an invalid state."},{selector:".k-combobox > .k-input-inner",attribute:"aria-busy=true (when loading)",usage:"Rendered when the combobox is loading data."},{selector:".k-combobox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name provided by consuming app."},{selector:".k-combobox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the combobox is disabled."},{selector:".k-combobox .k-input-button",attribute:"role=button or nodeName=button",usage:"The dropdown toggle button."},{selector:".k-combobox .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-combobox .k-input-button",attribute:"tabindex=-1",usage:"Dropdown button is not in the tab order."},{selector:".k-combobox-popup .k-list-content, .k-combobox-popup .k-list-ul",attribute:"role=listbox",usage:"The popup list container has the listbox role."},{selector:'.k-combobox-popup .k-list-ul[role="listbox"], .k-combobox-popup .k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-combobox-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."},{selector:".k-combobox-popup .k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state."},{selector:".k-combobox-popup .k-no-data",attribute:"aria-live=polite",usage:"Announces no-data state to screen readers."}]};var Xe=pe;var ks=require("react/jsx-runtime"),gs=e=>(0,ks.jsx)(Xe,{...e});var Ns=require("react/jsx-runtime");var vs=require("react/jsx-runtime");var Ls=require("react/jsx-runtime");var Ms=require("react/jsx-runtime");var Ss=require("react/jsx-runtime");var Is=require("react/jsx-runtime");var on=require("react/jsx-runtime");var Jc=require("react/jsx-runtime");var Wc=require("react/jsx-runtime");var ys=require("react/jsx-runtime");var Cs=require("react/jsx-runtime");var dt=require("react/jsx-runtime"),Zc=pe.states,Yc=pe.defaultOptions,Qc=pe.options,jc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],eu=[],Mo=e=>{let{modifiers:t,...o}=e,a={},r=(0,dt.jsx)(K,{style:{width:300},size:o.size,children:(0,dt.jsxs)(F,{children:[(0,dt.jsx)(w,{children:"List item"}),(0,dt.jsx)(w,{children:"List item"}),(0,dt.jsx)(w,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,dt.jsx)(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,dt.jsx)(Pt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?r:void 0;break;default:break}}),(0,dt.jsx)("div",{children:(0,dt.jsx)(gs,{value:"Value",style:{width:300},...o,...a})})};Mo.options=Qc;Mo.states=Zc;Mo.variants=eu;Mo.defaultOptions=Yc;Mo.modifiers=jc;Mo.className=pe.className;var an="dropzone",Es=an;var eo=require("react/jsx-runtime"),rn="k-external-dropzone",tu=[s.disabled,s.hover],ou={},nn={icon:"upload",hint:"Drag and drop files here to upload"},De=e=>{let{hover:t,disabled:o,icon:a=nn.icon,hint:r=nn.hint,note:i,...d}=e;return(0,eo.jsx)("div",{...d,className:n(e.className,rn,y(rn,{disabled:o}),{"k-external-dropzone-hover":t}),children:(0,eo.jsxs)("div",{className:"k-dropzone-inner",children:[a&&(0,eo.jsx)(L,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),r&&(0,eo.jsx)("span",{className:"k-dropzone-hint",children:r}),i&&(0,eo.jsx)("span",{className:"k-dropzone-note",children:i})]})})};De.states=tu;De.options=ou;De.className=rn;De.defaultOptions=nn;De.moduleName=an;De.folderName=Es;var Ts=require("react/jsx-runtime"),_a=e=>(0,Ts.jsx)(De,{...e});var au=require("react/jsx-runtime");var As=require("react/jsx-runtime"),ru=De.options,nu=De.states,iu=De.defaultOptions,su=[{name:"note",title:"Note"}],lu=[],So=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{r==="note"&&(a.note=t!=null&&t[r]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),(0,As.jsx)(_a,{style:{width:"500px"},...o,...a})};So.options=ru;So.states=nu;So.variants=lu;So.defaultOptions=iu;So.modifiers=su;So.className=De.className;var sn="menu-button",Os=sn;var ws=require("react/jsx-runtime"),Ps="k-menu-button",du=[s.hover,s.focus,s.active,s.selected,s.disabled],pu={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},ln={showArrow:!0,arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:i,focus:d,active:c,selected:m,disabled:f,icon:b,text:g,showArrow:u=ln.showArrow,arrowIconName:N=ln.arrowIconName,expanded:k,...C}=e;return(0,ws.jsx)(l,{...C,className:n(e.className,Ps),text:g,size:t,rounded:o,fillMode:a,themeColor:r,hover:i,focus:d,active:c,selected:m,disabled:f,icon:b,showArrow:u,arrowIconName:N,"aria-expanded":k?"true":"false",...!g&&b&&!e["aria-label"]&&{"aria-label":"Menu"},...f&&{"aria-disabled":"true"}})};D.states=du;D.options=pu;D.className=Ps;D.defaultOptions=ln;D.moduleName=sn;D.folderName=Os;D.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var cu=require("react/jsx-runtime");var uu=require("react/jsx-runtime");var mu=require("react/jsx-runtime");var qe="menu",ot=qe;var Lt=require("react/jsx-runtime"),dn="k-menu-item",fu=[s.hover,s.focus,s.active,s.selected,s.disabled],bu={},Bs={iconPosition:"before"},Me=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:i,icon:d,text:c,first:m,last:f,showArrow:b,arrowIconName:g,iconPosition:u=Bs.iconPosition,dir:N,children:k,expanded:C,...E}=e,I=g;return I||(I=N==="rtl"?"chevron-left":"chevron-right"),(0,Lt.jsxs)("li",{...E,className:n(e.className,dn,"k-item",y(dn,{focus:o,disabled:i,hover:t,active:a,selected:r}),{"k-first":m,"k-last":f}),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":C?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Lt.jsxs)("span",{className:n("k-link k-menu-link"),children:[d&&u==="before"&&(0,Lt.jsx)(L,{className:"k-menu-link-icon",icon:d}),(0,Lt.jsx)("span",{className:"k-menu-link-text",children:c}),d&&u==="after"&&(0,Lt.jsx)(L,{className:"k-menu-link-icon",icon:d}),b&&(0,Lt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Lt.jsx)(L,{icon:I})})]}),k]})};Me.states=fu;Me.options=bu;Me.className=dn;Me.defaultOptions=Bs;Me.moduleName=qe;Me.folderName=ot;var Mt=require("react/jsx-runtime"),pn="k-menu-item",hu=[s.hover,s.focus,s.active,s.selected,s.disabled],xu={},cn={dir:"ltr",iconPosition:"before"},W=e=>{let{hover:t,focus:o,active:a,selected:r,disabled:i,icon:d,text:c,first:m,last:f,showArrow:b,arrowIconName:g,iconPosition:u=cn.iconPosition,dir:N=cn.dir,children:k,popup:C,expanded:E,...I}=e,B=g;return B||(B=N==="rtl"?"chevron-left":"chevron-right"),(0,Mt.jsxs)("li",{...I,className:n(e.className,pn,"k-item",y(pn,{focus:o,disabled:i}),{"k-first":m,"k-last":f}),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":E?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Mt.jsxs)("span",{className:n("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:r,disabled:i})),children:[d&&u==="before"&&(0,Mt.jsx)(L,{className:"k-menu-link-icon",icon:d}),(0,Mt.jsx)("span",{className:"k-menu-link-text",children:c}),d&&u==="after"&&(0,Mt.jsx)(L,{className:"k-menu-link-icon",icon:d}),b&&(0,Mt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Mt.jsx)(L,{icon:B})})]}),k,C]})};W.states=hu;W.options=xu;W.className=pn;W.defaultOptions=cn;W.moduleName=qe;W.folderName=ot;var _s=require("react/jsx-runtime"),Rs="k-menu-scroll-wrapper",gu=[],ku={},Nu={},to=e=>{let{className:t,children:o,orientation:a,...r}=e;return(0,_s.jsx)("div",{...r,className:n(t,Rs,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};to.states=gu;to.options=ku;to.className=Rs;to.defaultOptions=Nu;to.moduleName=qe;to.folderName=ot;var Ks=to;var fe=require("react/jsx-runtime"),un="k-menu",vu=[],Lu={},za={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ce=e=>{let{children:t,orientation:o=za.orientation,header:a=za.header,scrollable:r,scrollButtonsPosition:i=za.scrollButtonsPosition,wrapperStyles:d,dir:c,popup:m,contextMenu:f,...b}=e,g={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},u=(0,fe.jsx)("ul",{dir:c,...b,className:n(e.className,"k-reset",un,{[`${un}-${o}`]:o,"k-header":a}),role:f?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,fe.jsxs)(fe.Fragment,{children:[r?(0,fe.jsxs)(Ks,{orientation:o,style:d,dir:e.dir,children:[i==="start"&&(0,fe.jsxs)(fe.Fragment,{children:[(0,fe.jsx)(l,{fillMode:"flat",icon:`chevron-${g[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,fe.jsx)(l,{fillMode:"flat",icon:`chevron-${g[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,fe.jsx)(l,{fillMode:"flat",icon:`chevron-${g[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),u,i==="end"&&(0,fe.jsxs)(fe.Fragment,{children:[(0,fe.jsx)(l,{fillMode:"flat",icon:`chevron-${g[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,fe.jsx)(l,{fillMode:"flat",icon:`chevron-${g[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,fe.jsx)(l,{fillMode:"flat",icon:`chevron-${g[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):u,m]})};ce.states=vu;ce.options=Lu;ce.className=un;ce.defaultOptions=za;ce.moduleName=qe;ce.folderName=ot;ce.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};var zs=require("react/jsx-runtime"),mn="k-separator",Ds={orientation:"horizontal"},Io=e=>{let{orientation:t=Ds.orientation,...o}=e;return(0,zs.jsx)("li",{...o,className:n(e.className,"k-item",mn,{[`${mn}-${t}`]:t}),role:"separator"})};Io.className=mn;Io.defaultOptions=Ds;Io.moduleName=qe;Io.folderName=ot;var Hs=require("react/jsx-runtime");var Us=require("react/jsx-runtime"),fn="k-menu-group",Mu=[],Su={size:[p.undefined,p.small,p.medium,p.large]},Iu={},Se=e=>{let{children:t,size:o,...a}=e;return(0,Us.jsx)("ul",{...a,className:n(e.className,fn,T(fn,{size:o})),role:"menu",children:t})};Se.states=Mu;Se.options=Su;Se.className=fn;Se.defaultOptions=Iu;Se.moduleName=qe;Se.folderName=ot;var pt=require("react/jsx-runtime"),bn=e=>(0,pt.jsx)(ce,{children:(0,pt.jsxs)(pt.Fragment,{children:[(0,pt.jsx)(Me,{first:!0,text:"Item 1"}),(0,pt.jsx)(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,pt.jsx)(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,pt.jsx)(Me,{text:"Item 4"}),(0,pt.jsx)(Me,{last:!0,text:"Item 5"})]}),...e});var hn=require("react/jsx-runtime");var xn=require("react/jsx-runtime");var gn=require("react/jsx-runtime");var kn=require("react/jsx-runtime");var ht=require("react/jsx-runtime"),yu={...ce.options,scrollable:{type:"boolean"}},Cu=ce.states,Fs={...ce.defaultOptions,variant:"horizontal"},Eu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Tu=[{name:"opened",title:"Opened"}],yo=e=>{let{variant:t,modifiers:o,...a}={...Fs,...e},r={};return Object.keys(o||{}).forEach(i=>{i==="opened"&&(r.opened=!!(o!=null&&o[i]),r.popup=(0,ht.jsx)(X,{className:"k-menu-popup",children:(0,ht.jsxs)(Se,{children:[(0,ht.jsx)(W,{text:"Item 1"}),(0,ht.jsx)(W,{text:"Item 2"}),(0,ht.jsx)(Io,{}),(0,ht.jsx)(W,{text:"Item 3"})]})}))}),t==="vertical"?(0,ht.jsx)(bn,{...a,...r,orientation:"vertical",style:{width:"200px"}}):(0,ht.jsx)(bn,{...a,...r})};yo.options=yu;yo.states=Cu;yo.variants=Eu;yo.defaultOptions=Fs;yo.modifiers=Tu;yo.className=ce.className;var Nn=require("react/jsx-runtime");var Au=require("react/jsx-runtime");var Ie=require("react/jsx-runtime"),Ou=l.states,Gs={...l.defaultOptions,variant:"text"},Pu=l.options,wu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Bu=[{name:"opened",title:"Opened"}],Co=e=>{let{variant:t,modifiers:o,...a}={...Gs,...e},r={},i=(0,Ie.jsx)(X,{className:"k-menu-popup",children:(0,Ie.jsxs)(Se,{size:a.size,children:[(0,Ie.jsx)(W,{first:!0,text:"Menu Item"}),(0,Ie.jsx)(W,{text:"Menu Item"}),(0,Ie.jsx)(W,{last:!0,text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=(0,Ie.jsx)("div",{children:(0,Ie.jsx)(D,{...a,...r,icon:"star"})});break;case"icon-and-text":d=(0,Ie.jsx)("div",{children:(0,Ie.jsx)(D,{...a,...r,icon:"star",children:"Dropdown Button"})});break;default:d=(0,Ie.jsx)("div",{children:(0,Ie.jsx)(D,{...a,...r,children:"Dropdown Button"})});break}return(0,Ie.jsxs)(Ie.Fragment,{children:[d,(o==null?void 0:o.opened)&&i]})};Co.options=Pu;Co.states=Ou;Co.variants=wu;Co.defaultOptions=Gs;Co.modifiers=Bu;Co.className=D.className;var Vs="dropdown-list",$s="dropdownlist";var Z=require("react/jsx-runtime"),Xs="k-dropdownlist",Ru=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ku={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},vn={showValue:!0,arrowIconName:"chevron-down"},j=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=vn.arrowIconName,showValue:i=vn.showValue,valueIconName:d,prefix:c,suffix:m,value:f,placeholder:b,hover:g,focus:u,valid:N,invalid:k,required:C,loading:E,disabled:I,readonly:B,popup:q,opened:U,adaptive:Ee,adaptiveSettings:Te,adaptiveTitle:Fe,adaptiveSubtitle:$t,adaptiveFilter:ar,id:Ot,activeDescendant:Na,"aria-label":rr,...nr}=e,md=Ot?`${Ot}-listbox`:void 0,ei=Ot?`${Ot}-value`:void 0;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(mt,{...nr,id:Ot,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:N,invalid:k,required:C,loading:E,disabled:I,readonly:B,className:n(e.className,Xs,{"k-icon-picker":!i&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":U?"true":"false","aria-controls":U?md:void 0,"aria-activedescendant":U&&Na?Na:void 0,"aria-describedby":U?ei:void 0,"aria-disabled":I?"true":void 0,"aria-label":rr,tabIndex:0,children:[(0,Z.jsx)(Ze,{children:c}),(0,Z.jsx)(Jt,{placeholder:b,value:f,showValue:i,valueIconName:d,id:ei}),(0,Z.jsx)(Ae,{valid:N,invalid:k,loading:E,disabled:I}),(0,Z.jsx)(_e,{loading:E,disabled:I}),(0,Z.jsx)(Ye,{children:m}),(0,Z.jsx)(l,{className:"k-input-button",icon:r,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),U&&q&&(0,Z.jsx)(X,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:q}),Ee&&(0,Z.jsx)(Q,{adaptive:!0,...Te,header:(0,Z.jsx)(Oe,{actionsEnd:(0,Z.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ar,inputValue:f,inputPlaceholder:b,title:Fe,subtitle:$t}),children:(0,Z.jsx)("div",{className:"k-list-container",children:(0,Z.jsx)(K,{size:"large",children:(0,Z.jsxs)(F,{"aria-label":"Options",children:[(0,Z.jsx)(w,{text:"List item"}),(0,Z.jsx)(w,{text:"List item"}),(0,Z.jsx)(w,{text:"List item"})]})})})})]})};j.states=Ru;j.options=Ku;j.className=Xs;j.defaultOptions=vn;j.moduleName=Vs;j.folderName=$s;j.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};var _u=require("react/jsx-runtime");var qs=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var Du=require("react/jsx-runtime");var Js=require("react/jsx-runtime");var Mn=require("react/jsx-runtime");var zu=require("react/jsx-runtime");var ze=require("react/jsx-runtime"),Hu=j.states,Uu=j.defaultOptions,Fu=j.options,Gu=[{name:"opened",title:"Opened"}],Vu=[],To=e=>{let{modifiers:t,...o}=e,a={},r=(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)("div",{className:"k-list-filter",children:(0,ze.jsx)(je,{})}),(0,ze.jsx)(K,{style:{width:300},size:o.size,children:(0,ze.jsxs)(F,{children:[(0,ze.jsx)(w,{children:"List item"}),(0,ze.jsx)(w,{children:"List item"}),(0,ze.jsx)(w,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?r:void 0)}),(0,ze.jsx)("div",{children:(0,ze.jsx)(j,{placeholder:"Value",style:{width:300},...o,...a})})};To.options=Fu;To.states=Hu;To.variants=Vu;To.defaultOptions=Uu;To.modifiers=Gu;To.className=j.className;var pa=require("react/jsx-runtime"),Ws="k-spin-button",qu=[],Ju={size:[p.undefined,p.small,p.medium,p.large],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},Sn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:r=Sn.increaseLabel,decreaseLabel:i=Sn.decreaseLabel,...d}=e;return(0,pa.jsxs)("span",{...d,className:n(Ws,e.className),children:[(0,pa.jsx)(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":r}),(0,pa.jsx)(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};Dt.states=qu;Dt.options=Ju;Dt.className=Ws;Dt.defaultOptions=Sn;Dt.moduleName=null;Dt.folderName=null;var Zs="numeric-textbox",Ys="numerictextbox";var be=require("react/jsx-runtime"),Qs="k-numerictextbox",Wu=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Zu={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ha={showSpinButton:!0,showClearButton:!0,separators:!0},z=e=>{let{size:t,rounded:o,fillMode:a,separators:r=Ha.separators,showClearButton:i=Ha.showClearButton,showSpinButton:d=Ha.showSpinButton,prefix:c,suffix:m,value:f,placeholder:b,hover:g,focus:u,valid:N,invalid:k,required:C,loading:E,disabled:I,readonly:B,id:q,"aria-label":U,"aria-describedby":Ee,...Te}=e;return(0,be.jsxs)(te,{...Te,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:N,invalid:k,required:C,loading:E,disabled:I,readonly:B,className:n(e.className,Qs),children:[c&&(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(Ze,{children:c}),r&&(0,be.jsx)(Qe,{})]}),(0,be.jsx)(Ve,{id:q,placeholder:b,value:f,role:"spinbutton",disabled:I,"aria-label":U,"aria-describedby":Ee,"aria-invalid":k?"true":void 0}),(0,be.jsx)(Ae,{valid:N,invalid:k,loading:E,disabled:I}),(0,be.jsx)(_e,{loading:E,disabled:I}),i&&(0,be.jsx)(Ge,{loading:E,disabled:I,readonly:B,value:f}),m&&(0,be.jsxs)(be.Fragment,{children:[r&&(0,be.jsx)(Qe,{}),(0,be.jsx)(Ye,{children:m})]}),d&&(0,be.jsx)(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:I})]})};z.states=Wu;z.options=Zu;z.className=Qs;z.defaultOptions=Ha;z.moduleName=Zs;z.folderName=Ys;z.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var ca=z;var el=require("react/jsx-runtime"),js=e=>(0,el.jsx)(ca,{...e});var tl=require("react/jsx-runtime");var ol=require("react/jsx-runtime");var Yu=require("react/jsx-runtime");var Ua=require("react/jsx-runtime"),Qu=z.states,ju=z.defaultOptions,em=z.options,tm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],om=[],Ao=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t!=null&&t[r]?(0,Ua.jsx)(j,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[r]?(0,Ua.jsx)(Ir,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[r];break;case"spin-button":a.showSpinButton=t==null?void 0:t[r];break;default:break}}),(0,Ua.jsx)(js,{value:"Value",style:{width:300},...o,...a})};Ao.options=em;Ao.states=Qu;Ao.variants=om;Ao.defaultOptions=ju;Ao.modifiers=tm;Ao.className=z.className;var In="pager",al=In;var V=require("react/jsx-runtime"),Fa="k-pager",am=[s.focus,s.disabled],rm={size:[p.undefined,p.small,p.medium,p.large]},Je={responsive:!0,pagerSizeInfo:!0,pageTitleInfo:!0,maxPagesInfo:!0,type:"numeric",pageSizes:!0,refresh:!0,previousNext:!0,info:"1 - 5 of 20 items",itemsPerPage:5,maxPages:6,currentPage:1},ue=e=>{let{responsive:t=Je.responsive,size:o,pagerSizeInfo:a=Je.pagerSizeInfo,pageTitleInfo:r=Je.pageTitleInfo,maxPagesInfo:i=Je.maxPagesInfo,itemsPerPage:d=Je.itemsPerPage,maxPages:c=Je.maxPages,currentPage:m=Je.currentPage,previousNext:f=Je.previousNext,type:b=Je.type,pageSizes:g=Je.pageSizes,refresh:u=Je.refresh,info:N=Je.info,focus:k,disabled:C,dir:E,...I}=e,B=[],q=[];for(let U=1;U<=c;U++)B.push((0,V.jsx)(l,{selected:U===m,fillMode:"flat",themeColor:"primary",size:o,"aria-label":`Page ${U}`,...U===m&&{"aria-current":"page"},children:U},U)),q.push((0,V.jsx)("option",{selected:U===m,children:U},U));return(0,V.jsxs)("div",{dir:E,...I,className:n(e.className,Fa,T(Fa,{size:o}),y(Fa,{focus:k,disabled:C}),{"k-pager-responsive":t}),role:"application","aria-roledescription":"pager","aria-keyshortcuts":"Enter ArrowRight ArrowLeft","aria-label":`Page ${m} of ${c}`,children:[(0,V.jsxs)("div",{className:n("k-pager-numbers-wrap"),children:[f&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(l,{className:n("k-pager-nav","k-pager-first"),ariaDisabled:m===1,fillMode:"flat",size:o,icon:E==="rtl"?"caret-alt-to-right":"caret-alt-to-left",title:"Go to the first page","aria-label":"Go to the first page"}),(0,V.jsx)(l,{className:n("k-pager-nav"),ariaDisabled:m===1,fillMode:"flat",size:o,icon:E==="rtl"?"chevron-right":"chevron-left",title:"Go to the previous page","aria-label":"Go to the previous page"})]}),b==="numeric"&&(0,V.jsx)("div",{className:n("k-pager-numbers"),children:B}),b==="input"&&(0,V.jsxs)("span",{className:n("k-pager-input"),children:[r&&(0,V.jsx)("span",{children:"Page"}),(0,V.jsx)(z,{value:`${m}`,size:o,showSpinButton:!1,showClearButton:!1,"aria-label":"Current page"}),(0,V.jsx)("span",{children:i&&`of ${c}`})]}),f&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(l,{className:n("k-pager-nav"),ariaDisabled:m===c,fillMode:"flat",size:o,icon:E==="rtl"?"chevron-left":"chevron-right",title:"Go to the next page","aria-label":"Go to the next page"}),(0,V.jsx)(l,{className:n("k-pager-nav","k-pager-last"),ariaDisabled:m===c,fillMode:"flat",size:o,icon:E==="rtl"?"caret-alt-to-left":"caret-alt-to-right",title:"Go to the last page","aria-label":"Go to the last page"})]})]}),g&&(0,V.jsxs)("span",{className:n("k-pager-sizes"),children:[(0,V.jsx)(j,{value:`${d}`,size:o,"aria-label":"Items per page"}),a&&(0,V.jsx)("span",{children:"items per page"})]}),u&&(0,V.jsx)(l,{className:n("k-pager-refresh"),fillMode:"flat",size:o,icon:"arrow-rotate-cw",title:"Refresh","aria-label":"Refresh"}),N&&(0,V.jsx)("span",{className:n("k-pager-info"),children:N})]})};ue.states=am;ue.options=rm;ue.className=Fa;ue.defaultOptions=Je;ue.moduleName=In;ue.folderName=al;ue.ariaSpec={selector:".k-pager",rules:[{selector:".k-pager",attribute:"role=application",usage:"Indicates that the pager has its own keyboard navigation implemented."},{selector:".k-pager",attribute:"aria-roledescription=pager",usage:"Clarifies the role of the Pager."},{selector:".k-pager",attribute:"aria-keyshortcuts=Enter ArrowRight ArrowLeft",usage:"Announces the available keyboard shortcuts."},{selector:".k-pager",attribute:"aria-label",usage:"Announces the currently selected page and the number of available pages."},{selector:".k-pager-nav",attribute:"role=button or nodeName=button",usage:"Specifies the role of the navigation element."},{selector:".k-pager-nav.k-disabled",attribute:"aria-disabled=true",usage:"Present when the navigation button is non-interactive."},{selector:".k-pager-nav",attribute:"title",usage:"Specifies the purpose of each navigation button."},{selector:".k-pager-numbers .k-button",attribute:"aria-label or title",usage:"Specifies the purpose of each page link, e.g., Page 6."},{selector:".k-pager-numbers .k-button.k-selected",attribute:"aria-current=page",usage:"Present on the currently selected page element."},{selector:".k-pager-sizes .k-dropdownlist",attribute:"aria-label or aria-labelledby",usage:"The DropDownList requires a label to specify its purpose."},{selector:".k-pager-input .k-input-inner",attribute:"aria-label",usage:"The input requires a label to specify its purpose."}]};var nm=require("react/jsx-runtime");var nl=require("react/jsx-runtime"),rl=e=>(0,nl.jsx)(ue,{type:"input",responsive:!1,...e});var im=require("react/jsx-runtime");var yn=require("react/jsx-runtime"),sm=ue.options,lm=ue.states,dm={...ue.defaultOptions,variant:"numeric"},pm=[{name:"numeric",title:"Numeric"},{name:"input",title:"Input"}],cm=[],Oo=e=>{let{variant:t,...o}=e;return t==="input"?(0,yn.jsx)(ue,{...o,type:"input"}):(0,yn.jsx)(ue,{...o,type:"numeric"})};Oo.options=sm;Oo.states=lm;Oo.variants=pm;Oo.defaultOptions=dm;Oo.modifiers=cm;Oo.className=ue.className;var ua=require("react/jsx-runtime"),il="k-color-preview",um=[],mm={},zt=e=>{let{color:t,iconName:o,...a}=e;return(0,ua.jsxs)("span",{...a,className:n(e.className,il,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,ua.jsx)(L,{icon:o,className:"k-color-preview-icon"}),(0,ua.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};zt.states=um;zt.options=mm;zt.className=il;var Cn="slider",sl=Cn;var ct=require("react/jsx-runtime"),ma="k-slider",fm=[s.hover,s.focus,s.active,s.disabled,s.readonly],bm={},at={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},$=e=>{let{type:t=at.type,orientation:o=at.orientation,gradientType:a=at.gradientType,readonly:r=at.readonly,disabled:i=at.disabled,handlePosition:d=at.handlePosition,showButtons:c=at.showButtons,showTicks:m=at.showTicks,value:f=at.value,min:b=at.min,max:g=at.max,startValue:u,endValue:N,hover:k,focus:C,active:E,trackStyle:I,dir:B,...q}=e,Ee=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Te,Fe;return o==="horizontal"?(Te=B==="rtl"?"chevron-left":"chevron-right",Fe=B==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Te="chevron-up",Fe="chevron-down"),(0,ct.jsxs)("div",{...q,className:n(ma,e.className,y(ma,{readonly:r,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:B,children:[c&&(0,ct.jsx)(l,{className:"k-button-decrease",rounded:"full",icon:Fe,tabIndex:-1,title:"Decrease"}),(0,ct.jsxs)("div",{className:"k-slider-track-wrap",children:[m&&(0,ct.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,ct.jsxs)("div",{className:"k-slider-track",style:I,children:[(0,ct.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,ct.jsx)("span",{className:n("k-draghandle","k-draghandle-start",y(ma,{hover:k,focus:C,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":u??b,"aria-valuemin":b,"aria-valuemax":N??g,"aria-orientation":Ee,"aria-disabled":i?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":q["aria-label"]?`${q["aria-label"]} start`:"Range start"}),(0,ct.jsx)("span",{className:n("k-draghandle",`k-draghandle-${d}`,y(ma,{hover:k,focus:C,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?N??g:f,"aria-valuemin":t==="range"?u??b:b,"aria-valuemax":g,"aria-orientation":Ee,"aria-disabled":i?"true":void 0,"aria-readonly":r?"true":void 0,"aria-label":t==="range"?q["aria-label"]?`${q["aria-label"]} end`:"Range end":q["aria-label"]})]})]}),c&&(0,ct.jsx)(l,{className:"k-button-increase",rounded:"full",icon:Te,tabIndex:-1,title:"Increase"})]})};$.states=fm;$.options=bm;$.className=ma;$.defaultOptions=at;$.moduleName=Cn;$.folderName=sl;$.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var En=require("react/jsx-runtime"),ll="k-tick",hm=[],xm={},dl={label:!1},O=e=>{let{style:t,label:o=dl.label,orientation:a,large:r,text:i,...d}=e;return(0,En.jsx)("li",{...d,role:"presentation",title:i||"Tick",className:n(e.className,ll,{[`k-tick-${a}`]:a,"k-tick-large":r}),style:t,children:o&&(0,En.jsx)("span",{className:"k-label",children:i})})};O.states=hm;O.options=xm;O.className=ll;O.defaultOptions=dl;var he=require("react/jsx-runtime"),pl=e=>(0,he.jsx)($,{"aria-label":e["aria-label"]||"Slider",children:(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(O,{className:"k-first",label:!0,large:!0,text:"0"}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{label:!0,large:!0,text:"5"}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{}),(0,he.jsx)(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var xe=require("react/jsx-runtime"),cl=e=>(0,xe.jsx)($,{children:(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)(O,{className:"k-first",label:!0,large:!0,text:"0"}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{label:!0,large:!0,text:"5"}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{}),(0,xe.jsx)(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Tn=require("react/jsx-runtime");var An=require("react/jsx-runtime");var ul=require("react/jsx-runtime"),On=e=>(0,ul.jsx)($,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var ml=require("react/jsx-runtime"),Pn=e=>(0,ml.jsx)($,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var wn=require("react/jsx-runtime");var Bn=require("react/jsx-runtime");var He=require("react/jsx-runtime"),gm=$.options,km=$.states,fl={...$.defaultOptions,variant:"horizontal",label:!0},Nm=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],vm=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Po=e=>{let{variant:t,modifiers:o,...a}={...fl,...e},r={};Object.keys(o||{}).forEach(f=>{switch(f){case"button":{r.showButtons=!!(o!=null&&o[f]);break}case"label":{r.label=!!(o!=null&&o[f]);break}case"tick":{r.showTicks=!!(o!=null&&o[f]);break}}});let{label:i=!0,showButtons:d,showTicks:c}=r,m={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,He.jsxs)(cl,{showTicks:c,showButtons:d,style:{height:"300px",...m},...a,children:[(0,He.jsx)(O,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,He.jsxs)(pl,{showTicks:c,showButtons:d,style:{width:"400px",...m},...a,children:[(0,He.jsx)(O,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,He.jsx)(O,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Po.options=gm;Po.states=km;Po.variants=Nm;Po.defaultOptions=fl;Po.modifiers=vm;Po.className=$.className;var M=require("react/jsx-runtime"),bl="k-colorgradient-inputs",Lm=[],Mm={size:[p.undefined,p.small,p.medium,p.large]},hl={mode:"rgba"},wo=e=>{let{mode:t=hl.mode,size:o,...a}=e;return(0,M.jsxs)("div",{...a,className:n(bl,"k-hstack"),children:[(0,M.jsx)("div",{className:"k-vstack",children:(0,M.jsx)(l,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,M.jsxs)("div",{className:"k-vstack",children:[(0,M.jsx)(z,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,M.jsx)(M.Fragment,{children:(0,M.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,M.jsx)(ne,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,M.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};wo.states=Lm;wo.options=Mm;wo.className=bl;wo.defaultOptions=hl;var ye=require("react/jsx-runtime"),xl="k-colorgradient-color-contrast",Sm=[],Im={},ym={},Bo=()=>(0,ye.jsxs)("div",{className:n(xl,"k-vbox"),children:[(0,ye.jsxs)("div",{className:"k-contrast-ratio",children:[(0,ye.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,ye.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,ye.jsx)(L,{icon:"check"}),(0,ye.jsx)(L,{icon:"check"})]})]}),(0,ye.jsxs)("div",{children:[(0,ye.jsx)("span",{children:"AA: 4.5"}),(0,ye.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,ye.jsx)(L,{icon:"check"})]})]}),(0,ye.jsxs)("div",{children:[(0,ye.jsx)("span",{children:"AAA: 7.0"}),(0,ye.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,ye.jsx)(L,{icon:"x"})]})]})]});Bo.states=Sm;Bo.options=Im;Bo.className=xl;Bo.defaultOptions=ym;var gl="color-gradient",kl="colorgradient";var ie=require("react/jsx-runtime"),Ga="k-colorgradient",Cm=[s.hover,s.focus,s.readonly,s.disabled],Em={size:[p.undefined,p.small,p.medium,p.large]},xt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},me=e=>{let{size:t,mode:o=xt.mode,readonly:a=xt.readonly,disabled:r=xt.disabled,gradientStyle:i=xt.gradientStyle,dragHandleStyle:d=xt.dragHandleStyle,alphaStyle:c=xt.alphaStyle,alphaStyleHorizontal:m=xt.alphaStyleHorizontal,contrast:f=xt.contrast,dir:b,hover:g,focus:u,hoverHandle:N,focusHandle:k,canvasOrientation:C=xt.canvasOrientation,role:E,tabIndex:I,...B}=e;return(0,ie.jsxs)("div",{...B,role:E??"textbox","aria-label":E==="none"?void 0:"Color gradient",tabIndex:I??0,"aria-disabled":r?"true":void 0,className:n(e.className,Ga,T(Ga,{size:t}),y(Ga,{hover:g,focus:u,readonly:a,disabled:r})),dir:b,children:[!C||C==="horizontal"&&(0,ie.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,ie.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,ie.jsx)("div",{className:"k-hsv-gradient",children:(0,ie.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":k}),style:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,ie.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,ie.jsx)(Pn,{className:"k-hue-slider",hover:N,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,ie.jsx)(Pn,{className:"k-alpha-slider",hover:N,focus:k,trackStyle:c})]})]}),C==="vertical"&&(0,ie.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,ie.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,ie.jsx)("div",{className:"k-hsv-gradient",children:(0,ie.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":N,"k-focus":k}),style:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,ie.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,ie.jsx)(On,{className:"k-hue-slider",hover:N,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,ie.jsx)(On,{className:"k-alpha-slider",hover:N,focus:k,trackStyle:m})]})]}),(0,ie.jsx)(wo,{mode:e.mode,size:t}),f&&(0,ie.jsx)(Bo,{})]})};me.states=Cm;me.options=Em;me.className=Ga;me.defaultOptions=xt;me.moduleName=gl;me.folderName=kl;me.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};var Nl=require("react/jsx-runtime"),Va=e=>(0,Nl.jsx)(me,{...e});var Tm=require("react/jsx-runtime");var Am=require("react/jsx-runtime");var $a=require("react/jsx-runtime"),Om=me.options,Pm=me.states,wm={...me.defaultOptions,variant:"rgba"},Bm=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Rm=[],Ro=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,$a.jsx)(Va,{...o,mode:t});case"rgb":return(0,$a.jsx)(Va,{...o,mode:t});default:return(0,$a.jsx)(Va,{...o,mode:t})}};Ro.options=Om;Ro.states=Pm;Ro.variants=Bm;Ro.defaultOptions=wm;Ro.modifiers=Rm;Ro.className=me.className;var vl=require("react/jsx-runtime"),Rn=e=>(0,vl.jsx)("tr",{role:"row",children:e.children});var Ll=require("react/jsx-runtime"),Kn="k-colorpalette-tile",Km=[s.hover,s.focus,s.selected],_m={},Ko=e=>{let{color:t,tileSize:o,hover:a,focus:r,selected:i,...d}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Ll.jsx)("td",{...d,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:n(e.className,Kn,y(Kn,{hover:a,focus:r,selected:i})),style:c})};Ko.states=Km;Ko.options=_m;Ko.className=Kn;var Ml="color-palette",Sl="colorpalette";var _o=require("react/jsx-runtime"),Xa="k-colorpalette",Dm=[s.disabled],zm={size:[p.undefined,p.small,p.medium,p.large]},Il={columns:10},Be=e=>{let{size:t,palette:o,columns:a=Il.columns,tileSize:r,disabled:i,...d}=e,c=[];if(o){let m=a||o.columns,f=o.colors?o.colors:o;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/m)},(b,g)=>{let u=[];f.slice(g*m,(g+1)*m).map((k,C)=>{u.push((0,_o.jsx)(Ko,{color:k,tileSize:r},C))});let N=(0,_o.jsx)(Rn,{children:u},g);c.push(N)})}return(0,_o.jsx)("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:n(e.className,Xa,y(Xa,{disabled:i}),T(Xa,{size:t})),children:(0,_o.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,_o.jsx)("tbody",{children:c.length>0?c:e.children})})})};Be.states=Dm;Be.options=zm;Be.className=Xa;Be.defaultOptions=Il;Be.moduleName=Ml;Be.folderName=Sl;Be.ariaSpec={selector:".k-colorpalette",rules:[{selector:".k-colorpalette",attribute:"role=grid",usage:"The focusable wrapper announces its role as a grid."},{selector:".k-colorpalette",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpalette",attribute:"aria-activedescendant",usage:"Points to the focused cell in the table."},{selector:".k-colorpalette",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpalette.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorPalette is disabled."},{selector:".k-colorpalette-table",attribute:"role=none or role=presentation",usage:"Negates the default role of the table element."},{selector:".k-colorpalette-table>tbody>tr",attribute:"role=row",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"role=gridcell",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"aria-label or title",usage:"The text representation of the color value for the current cell."},{selector:".k-colorpalette-tile.k-selected",attribute:"aria-selected=true",usage:"Present on the currently selected cell."}]};var qa=Be;var fa={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};var Cl=require("react/jsx-runtime"),yl=e=>(0,Cl.jsx)(qa,{palette:fa.basic,...e});var Hm=require("react/jsx-runtime");var El=require("react/jsx-runtime");var Tl=require("react/jsx-runtime"),Um=Be.options,Fm=Be.states,Gm={...Be.defaultOptions,variant:"basic"},Vm=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],$m={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},Xm=[],Do=e=>{let{variant:t="basic",...o}=e,a=$m[t];return(0,Tl.jsx)(yl,{columns:a.columns,palette:a,...o})};Do.options=Um;Do.states=Fm;Do.variants=Vm;Do.defaultOptions=Gm;Do.modifiers=Xm;Do.className=Be.className;var Al="color-editor",Ol="coloreditor";var oe=require("react/jsx-runtime"),Ja="k-coloreditor",qm=[s.focus],Jm={size:[p.undefined,p.small,p.medium,p.large]},ba={view:"gradient",palette:fa.office,actionButtons:!0,canvasOrientation:"horizontal"},ee=e=>{let{size:t,view:o=ba.view,palette:a=ba.palette,color:r,currentColor:i,focus:d,focusView:c,dir:m,group:f,actionButtons:b=ba.actionButtons,canvasOrientation:g=ba.canvasOrientation,...u}=e;return(0,oe.jsxs)("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:n(e.className,"k-flatcolorpicker",Ja,T(Ja,{size:t}),y(Ja,{focus:d})),dir:m,children:[(0,oe.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,oe.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&(0,oe.jsxs)(A,{fillMode:"flat",children:[(0,oe.jsx)(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,oe.jsx)(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,oe.jsx)("div",{className:"k-spacer"}),(0,oe.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,oe.jsx)(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,oe.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,oe.jsx)(zt,{className:"k-coloreditor-preview-color",color:r}),(0,oe.jsx)(zt,{className:"k-coloreditor-current-color",color:i})]})]})]}),(0,oe.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,oe.jsx)(me,{focus:c,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):(0,oe.jsx)(Be,{palette:a,size:t})}),b&&(0,oe.jsxs)(st,{className:"k-coloreditor-footer",alignment:"start",children:[(0,oe.jsx)(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,oe.jsx)(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ee.states=qm;ee.options=Jm;ee.className=Ja;ee.defaultOptions=ba;ee.moduleName=Al;ee.folderName=Ol;ee.ariaSpec={selector:".k-flatcolorpicker",rules:[{selector:".k-flatcolorpicker",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a submittable value."},{selector:".k-flatcolorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-flatcolorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-flatcolorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the FlatColorPicker is disabled."},{selector:".k-colorgradient",attribute:"role=none",usage:"The inner ColorGradient must have its role removed."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var zo=ee;var Wm=require("react/jsx-runtime");var Zm=require("react/jsx-runtime");var wl=require("react/jsx-runtime"),Pl=e=>(0,wl.jsx)(zo,{group:!0,currentColor:"fuchsia",...e});var Rl=require("react/jsx-runtime"),Bl=e=>(0,Rl.jsx)(zo,{view:"palette",group:!0,currentColor:"fuchsia",...e});var _n=require("react/jsx-runtime"),Ym=ee.options,Qm=ee.states,jm={...ee.defaultOptions,variant:"gradient"},ef=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],tf=[],Ho=e=>{let{variant:t,...o}=e;return t==="palette"?(0,_n.jsx)(Bl,{...o,color:"white"}):(0,_n.jsx)(Pl,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Ho.options=Ym;Ho.states=Qm;Ho.variants=ef;Ho.defaultOptions=jm;Ho.modifiers=tf;Ho.className=ee.className;var Kl="color-picker",_l="colorpicker";var se=require("react/jsx-runtime"),Dl="k-colorpicker",of=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],af={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},zl={arrowIconName:"chevron-down"},We=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:r=zl.arrowIconName,prefix:i,suffix:d,value:c,placeholder:m,hover:f,focus:b,valid:g,invalid:u,required:N,disabled:k,valueIconName:C,popup:E,opened:I,adaptive:B,adaptiveSettings:q,adaptiveTitle:U,adaptiveSubtitle:Ee,...Te}=e,Fe="colorpicker-popup";return(0,se.jsxs)(se.Fragment,{children:[(0,se.jsxs)(mt,{...Te,size:t,rounded:o,fillMode:a,hover:f,focus:b,valid:g,invalid:u,required:N,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":I?"true":"false","aria-controls":I||B?Fe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:n(e.className,Dl,"k-icon-picker"),children:[(0,se.jsx)(Ze,{children:i}),(0,se.jsx)(Jt,{placeholder:m,value:c,showValue:!1,valueIcon:(0,se.jsx)(zt,{className:"k-value-icon",color:c,iconName:C}),valueIconName:C}),(0,se.jsx)(Ye,{children:d}),(0,se.jsx)(l,{className:"k-input-button",icon:r,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),I&&E&&(0,se.jsx)(X,{id:Fe,className:"k-colorpicker-popup",children:E}),B&&(0,se.jsx)(Q,{adaptive:!0,id:Fe,...q,header:(0,se.jsx)(Oe,{actionsEnd:(0,se.jsx)(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:U,subtitle:Ee}),footer:(0,se.jsxs)(wt,{children:[(0,se.jsx)(l,{text:"Cancel",size:"large"}),(0,se.jsx)(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,se.jsx)(ee,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};We.states=of;We.options=af;We.className=Dl;We.defaultOptions=zl;We.moduleName=Kl;We.folderName=_l;We.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var St=We;var Hl=require("react/jsx-runtime"),Wa=e=>(0,Hl.jsx)(St,{...e});var rf=require("react/jsx-runtime");var nf=require("react/jsx-runtime");var sf=require("react/jsx-runtime");var lf=require("react/jsx-runtime");var df=require("react/jsx-runtime");var pf=require("react/jsx-runtime");var Ht=require("react/jsx-runtime"),cf=St.options,uf=St.states,Ul={...St.defaultOptions,variant:"color"},mf=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],ff=[{name:"opened",title:"Opened"}],Uo=e=>{let{variant:t,modifiers:o,...a}={...Ul,...e},r={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(r.opened=!!(o!=null&&o[d]),r.popup=o!=null&&o[d]?(0,Ht.jsx)(ee,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let i=r.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,Ht.jsx)("div",{style:i,children:(0,Ht.jsx)(Wa,{...a,...r})});case"icon":return(0,Ht.jsx)("div",{style:i,children:(0,Ht.jsx)(Wa,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...r})});default:return(0,Ht.jsx)("div",{style:i,children:(0,Ht.jsx)(Wa,{value:"rgba(183, 118 , 118, 1.00)",...a,...r})})}};Uo.options=cf;Uo.states=uf;Uo.variants=mf;Uo.defaultOptions=Ul;Uo.modifiers=ff;Uo.className=St.className;var Dn="split-button",Fl=Dn;var It=require("react/jsx-runtime"),zn="k-split-button",bf=[s.hover,s.focus,s.active,s.selected,s.disabled],hf={size:[p.undefined,p.small,p.medium,p.large],rounded:[x.undefined,x.none,x.small,x.medium,x.large,x.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Gl={arrowIconName:"chevron-down"},R=e=>{let{size:t,rounded:o,fillMode:a,themeColor:r,hover:i,focus:d,active:c,selected:m,disabled:f,icon:b,text:g,arrowIconName:u=Gl.arrowIconName,popup:N,opened:k,popupId:C,...E}=e;return(0,It.jsxs)(It.Fragment,{children:[(0,It.jsxs)("div",{...E,className:n(e.className,zn,"k-button-group",T(zn,{rounded:o})),children:[(0,It.jsx)(l,{text:g,icon:b,size:t,rounded:o,fillMode:a,themeColor:r,hover:i,focus:d,active:c,selected:m,disabled:f,...!g&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),(0,It.jsx)(l,{className:"k-split-button-arrow",icon:u,size:t,rounded:o,fillMode:a,disabled:f,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?C:void 0,tabIndex:-1,...f&&{"aria-disabled":"true"}})]}),k&&N&&(0,It.jsx)(X,{className:"k-menu-popup",children:N})]})};R.states=bf;R.options=hf;R.className=zn;R.defaultOptions=Gl;R.moduleName=Dn;R.folderName=Fl;R.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var Hn=R;var Vl=require("react/jsx-runtime"),xf="k-toolbar-separator",ae=e=>(0,Vl.jsx)("div",{className:n(xf,e.className,"k-separator")});var yt="toolbar",Ut=yt;var P=require("react/jsx-runtime"),Ct="k-toolbar",gf=[s.focus],kf={size:[p.undefined,p.small,p.medium,p.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},Nf={scrollButtons:"around"},G=e=>{let{size:t,fillMode:o,focus:a,resizable:r,scrollable:i,scrollButtons:d,scrollingPosition:c,section:m,...f}=e,b=[],g=(u,N)=>{let k=[];if(u.type===l&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))k.push((0,P.jsx)(l,{...u.props,className:`${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`));else if(u.type===l)k.push((0,P.jsx)(l,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`));else if(u.type===jo)k.push((0,P.jsx)(jo,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`));else if(u.type===Pt)k.push((0,P.jsx)(Pt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`));else if(u.type===D)k.push((0,P.jsx)(D,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`));else if(u.type===Hn)k.push((0,P.jsx)(Hn,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`));else if(u.type===A||u.props.className&&u.props.className.includes("k-button-group")){let C=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((I,B)=>{C.push((0,P.jsx)(l,{...I.props,className:`${I.props.className?I.props.className:""}`},`${B}-${new Date().getTime()}`))}),k.push((0,P.jsx)(A,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:C},`${N}-${new Date().getTime()}`))}else u.type===pe?k.push((0,P.jsx)(pe,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`)):u.type===j?k.push((0,P.jsx)(j,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`)):u.type===We?k.push((0,P.jsx)(We,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${N}-${new Date().getTime()}`)):k.push(u);k.forEach(C=>{b.push(C)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((N,k)=>{g(N,k)}),(0,P.jsxs)("div",{...f,className:n(e.className,Ct,T(Ct,{size:t,fillMode:o}),y(Ct,{focus:a}),{[`${Ct}-resizable`]:r,[`${Ct}-scrollable`]:i,[`${Ct}-scrollable-overlay`]:i&&d==="hidden",[`${Ct}-scrollable-${c}`]:c&&c!=="both",[`${Ct}-section`]:m}),role:"toolbar","aria-label":"Toolbar",children:[!i&&b,i&&d==="hidden"&&(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),i&&d==="start"&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(A,{children:[(0,P.jsx)("span",{className:n("k-toolbar-prev","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,P.jsx)("span",{className:n("k-toolbar-next","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,P.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),i&&d==="end"&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),(0,P.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,P.jsxs)(A,{children:[(0,P.jsx)("span",{className:n("k-toolbar-prev","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,P.jsx)("span",{className:n("k-toolbar-next","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(d==="around"||!d)&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("span",{className:n("k-toolbar-prev","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,P.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),(0,P.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,P.jsx)("span",{className:n("k-toolbar-next","k-button",T("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};G.states=gf;G.options=kf;G.className=Ct;G.defaultOptions=Nf;G.moduleName=yt;G.folderName=Ut;G.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};var Xl=require("react/jsx-runtime"),$l="k-floating-toolbar",vf=[],Lf={},Mf={},Fo=e=>{let{...t}=e;return(0,Xl.jsx)("div",{...t,className:n(e.className,$l),children:e.children})};Fo.states=vf;Fo.options=Lf;Fo.className=$l;Fo.defaultOptions=Mf;Fo.moduleName=yt;Fo.folderName=Ut;var ql=require("react/jsx-runtime"),Un="k-toolbar-item",Sf=[s.focus],If={},yf={},Go=e=>{let{focus:t,...o}=e;return(0,ql.jsx)("div",{...o,className:n(e.className,Un,y(Un,{focus:t})),children:e.children})};Go.states=Sf;Go.options=If;Go.className=Un;Go.defaultOptions=yf;Go.moduleName=yt;Go.folderName=Ut;var Fn=require("react/jsx-runtime"),Jl="k-toolbar-popup",Cf=[],Ef={size:[p.undefined,p.small,p.medium,p.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},Tf={},oo=e=>{let{size:t,fillMode:o,section:a,...r}=e;return(0,Fn.jsx)(X,{...r,className:n(e.className,Jl),children:a?(0,Fn.jsx)("span",{className:n("k-toolbar-items-list",T("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};oo.states=Cf;oo.options=Ef;oo.className=Jl;oo.defaultOptions=Tf;oo.moduleName=yt;oo.folderName=Ut;var Za=oo;var Af=require("react/jsx-runtime");var Of=require("react/jsx-runtime");var Pf=require("react/jsx-runtime");var Wl=require("react/jsx-runtime");var wf=require("react/jsx-runtime");var rt=require("react/jsx-runtime"),Bf=R.states,Zl={...R.defaultOptions,variant:"text"},Rf=R.options,Kf=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],_f=[{name:"opened",title:"Opened"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...Zl,...e},r={},i=(0,rt.jsxs)(Se,{size:a.size,children:[(0,rt.jsx)(W,{first:!0,text:"Menu Item"}),(0,rt.jsx)(W,{text:"Menu Item"}),(0,rt.jsx)(W,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(r.opened=!!(o!=null&&o[d]),r.popup=o!=null&&o[d]?i:"")}),t){case"icon-only":return(0,rt.jsx)("div",{children:(0,rt.jsx)(R,{...a,...r,icon:"star"})});case"icon-and-text":return(0,rt.jsx)("div",{children:(0,rt.jsx)(R,{...a,...r,icon:"star",children:"Split Button"})});default:return(0,rt.jsx)("div",{children:(0,rt.jsx)(R,{...a,...r,children:"Split Button"})})}};Vo.options=Rf;Vo.states=Bf;Vo.variants=Kf;Vo.defaultOptions=Zl;Vo.modifiers=_f;Vo.className=R.className;var gt=require("react/jsx-runtime"),Yl=e=>(0,gt.jsx)(G,{children:[(0,gt.jsx)(l,{children:"Button"},"toolbar-button"),(0,gt.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,gt.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,gt.jsxs)(A,{children:[(0,gt.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,gt.jsx)(l,{icon:"align-center",children:"Center"}),(0,gt.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Ql=require("react/jsx-runtime");var ge=require("react/jsx-runtime"),jl=e=>(0,ge.jsx)(G,{scrollable:!0,...e,children:[(0,ge.jsx)(l,{children:"Button"},"toolbar-button"),(0,ge.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,ge.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,ge.jsxs)(A,{children:[(0,ge.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ge.jsx)(l,{icon:"align-center",children:"Center"}),(0,ge.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ge.jsx)(l,{children:"Button"},"toolbar-button"),(0,ge.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,ge.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,ge.jsxs)(A,{children:[(0,ge.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ge.jsx)(l,{icon:"align-center",children:"Center"}),(0,ge.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var ke=require("react/jsx-runtime"),ed=({scrollingPosition:e="start",...t})=>(0,ke.jsx)(G,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,ke.jsx)(l,{children:"Button"},"toolbar-button"),(0,ke.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,ke.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,ke.jsxs)(A,{children:[(0,ke.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ke.jsx)(l,{icon:"align-center",children:"Center"}),(0,ke.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ke.jsx)(l,{children:"Button"},"toolbar-button"),(0,ke.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,ke.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,ke.jsxs)(A,{children:[(0,ke.jsx)(l,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ke.jsx)(l,{icon:"align-center",children:"Center"}),(0,ke.jsx)(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var Y=require("react/jsx-runtime"),td=({fillMode:e,size:t,...o})=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(G,{section:!0,fillMode:e,size:t,children:[(0,Y.jsx)(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Y.jsxs)(A,{fillMode:e,children:[(0,Y.jsx)(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Y.jsx)(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Y.jsx)(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,Y.jsx)(ae,{className:"k-toolbar-button-separator"}),(0,Y.jsx)(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),(0,Y.jsxs)(Za,{size:t,fillMode:e,section:!0,...o,children:[(0,Y.jsx)(R,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,Y.jsx)(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Y.jsx)(ae,{}),(0,Y.jsx)(D,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,Y.jsxs)(A,{fillMode:e,children:[(0,Y.jsx)(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Y.jsx)(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Y.jsx)(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var Gn=require("react/jsx-runtime");var Vn=require("react/jsx-runtime");var Et=require("react/jsx-runtime"),Df=G.options,zf=G.states,od={...G.defaultOptions,variant:"default"},Hf=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Uf=[],$o=e=>{let{variant:t,...o}={...od,...e};switch(t){case"responsive":return(0,Et.jsx)("div",{children:(0,Et.jsx)(td,{style:{width:"583px"},...o})});case"overlay":return(0,Et.jsx)("div",{children:(0,Et.jsx)(ed,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,Et.jsx)("div",{children:(0,Et.jsx)(jl,{style:{width:"583px"},...o})});default:return(0,Et.jsx)("div",{children:(0,Et.jsx)(Yl,{style:{width:"583px"},...o})})}};$o.options=Df;$o.states=zf;$o.variants=Hf;$o.defaultOptions=od;$o.modifiers=Uf;$o.className=G.className;var re=require("react/jsx-runtime"),$n="k-upload-dropzone",Ff=[s.hover],Ya=e=>{let{hover:t,status:o,disabled:a,hasFiles:r,filesId:i,...d}=e,c;switch(o){case"uploading":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(L,{icon:"upload"}),"Uploading..."]});break;case"done":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(L,{icon:"check"}),"Done"]});break;case"failed":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(L,{icon:"exclamation-circle"}),"Done"]});break;default:c=(0,re.jsx)(re.Fragment,{});break}return(0,re.jsxs)("div",{...d,className:n(e.className,$n,"k-dropzone",y($n,{hover:t})),children:[(0,re.jsxs)("div",{className:"k-upload-button-wrap",children:[(0,re.jsx)(l,{className:"k-upload-button","aria-disabled":a?"true":"false",...r&&i?{"aria-controls":i}:{},children:"Select files..."}),(0,re.jsx)("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),(0,re.jsx)("span",{className:n("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&(0,re.jsx)("span",{className:"k-upload-status",children:c})]})};Ya.states=Ff;Ya.className=$n;var Xn="upload",ad=Xn;var Ft=require("react/jsx-runtime"),qn="k-upload",Gf=[s.hover,s.disabled],Vf={},nd={actionsLayout:"end"},rd="upload-files-list",le=e=>{let{async:t,empty:o,actions:a,actionsLayout:r=nd.actionsLayout,hover:i,status:d,disabled:c,...m}=e,f=!!e.children;return(0,Ft.jsxs)("div",{...m,className:n(e.className,qn,y(qn,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[(0,Ft.jsx)(Ya,{status:d,hover:i,disabled:c,hasFiles:f,filesId:rd}),f&&(0,Ft.jsx)("ul",{className:"k-upload-files",role:"list",id:rd,children:e.children}),a&&f&&(0,Ft.jsxs)(Bi,{alignment:r,orientation:"horizontal",children:[(0,Ft.jsx)(l,{className:"k-clear-selected",children:"Clear"}),(0,Ft.jsx)(l,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};le.states=Gf;le.options=Vf;le.className=qn;le.defaultOptions=nd;le.moduleName=Xn;le.folderName=ad;le.ariaSpec={selector:".k-upload",rules:[{selector:".k-upload .k-upload-button",attribute:"aria-disabled",usage:"Announces the disabled state of the upload button."},{selector:".k-upload .k-upload-button",attribute:"aria-controls (when present)",usage:"Creates the relationship between the button and the list of selected files when the list is present."},{selector:".k-upload input",attribute:"tabindex=-1",usage:"Assures that the input element inside the upload is not focusable."},{selector:".k-upload input",attribute:"aria-hidden=true",usage:"The input needs to be hidden from screen readers."},{selector:".k-upload-files",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-upload-files",attribute:"id",usage:"Unique and deterministic id linked to the button aria-controls attribute."},{selector:".k-upload-files .k-file",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-upload .k-file .k-file-validation-message",attribute:"aria-live=polite",usage:"Announces the change in the upload status of the file."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"aria-label",usage:"Provides accessible names for the file action buttons."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"tabindex=-1",usage:"The list file action buttons are not focusable elements."}]};var ha="progressbar",Qa=ha;var Gt=require("react/jsx-runtime"),nt="k-progressbar",$f=[s.disabled,s.indeterminate],Xf={orientation:["horizontal","vertical"]},ao={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Ce=e=>{let{disabled:t,height:o,indeterminate:a=ao.indeterminate,label:r=ao.label,labelPosition:i=ao.labelPosition,orientation:d=ao.orientation,reverse:c=ao.reverse,value:m=ao.value,width:f,style:b,ariaLabel:g,...u}=e;return(0,Gt.jsxs)("div",{...u,className:n(e.className,nt,y(nt,{disabled:t}),{[`${nt}-${d}`]:d,[`${nt}-indeterminate`]:a,[`${nt}-reverse`]:c}),style:{...b,"--kendo-progressbar-value":m,[d==="horizontal"?"height":"width"]:d==="horizontal"?o:f},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(m),"aria-valuemin":0,"aria-valuemax":100,children:[(0,Gt.jsx)("span",{className:n("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:r&&(0,Gt.jsxs)("span",{className:"k-progress-status",children:[m,"%"]})}),!a&&(0,Gt.jsx)("div",{className:"k-progressbar-value k-selected",children:(0,Gt.jsx)("span",{className:n("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:r&&(0,Gt.jsxs)("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Ce.states=$f;Ce.options=Xf;Ce.className=nt;Ce.defaultOptions=ao;Ce.moduleName=ha;Ce.folderName=Qa;Ce.ariaSpec={selector:".k-progressbar",implicitRole:"progressbar",rules:[{selector:".k-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ProgressBar."},{selector:".k-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ProgressBar needs an accessible name to be assigned to it."},{selector:".k-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Decimal value between aria-valuemin and aria-valuemax."},{selector:".k-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to 100."}]};var id=Ce;var er=require("react/jsx-runtime"),sd="k-chunk-progressbar",qf=(e,t)=>t<=e-1,Jf=[s.disabled,s.indeterminate],Wf={},ja={chunkCount:5,orientation:"horizontal",progress:0},ro=e=>{let{disabled:t,chunkCount:o=ja.chunkCount,indeterminate:a,orientation:r=ja.orientation,progress:i=ja.progress,reverse:d,ariaLabel:c,...m}=e;return(0,er.jsx)("div",{...m,className:n(e.className,nt,sd,y(nt,{disabled:t}),{[`${nt}-${r}`]:r,[`${nt}-indeterminate`]:a,[`${nt}-reverse`]:d}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:(0,er.jsx)("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((f,b)=>(0,er.jsx)("li",{className:n("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":qf(i,b)})},b))})})};ro.states=Jf;ro.options=Wf;ro.className=sd;ro.defaultOptions=ja;ro.moduleName=ha;ro.folderName=Qa;ro.ariaSpec={selector:".k-chunk-progressbar",implicitRole:"progressbar",rules:[{selector:".k-chunk-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ChunkProgressBar."},{selector:".k-chunk-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ChunkProgressBar needs an accessible name to be assigned to it."},{selector:".k-chunk-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Value between aria-valuemin and aria-valuemax."},{selector:".k-chunk-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-chunk-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to chunk count."}]};var ld=require("react/jsx-runtime"),xa=e=>(0,ld.jsx)(id,{...e});var Zf=require("react/jsx-runtime");var Tt=require("react/jsx-runtime"),Yf=Ce.options,Qf=Ce.states,dd={...Ce.defaultOptions,variant:"start"},jf=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],eb=[],Xo=e=>{let{variant:t,modifiers:o,...a}={...dd,...e},r={},i={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(d=>{switch(d){case"reverse":r.reverse=!!(o!=null&&o[d]);break;case"vertical":r.orientation=o!=null&&o[d]?"vertical":void 0,i.style=o!=null&&o[d]?void 0:{width:"324px"};break}}),t){case"end":return(0,Tt.jsx)("div",{...i,children:(0,Tt.jsx)(xa,{...a,...r,labelPosition:"end",value:"50"})});case"center":return(0,Tt.jsx)("div",{...i,children:(0,Tt.jsx)(xa,{...a,...r,labelPosition:"center",value:"50"})});case"empty":return(0,Tt.jsx)("div",{...i,children:(0,Tt.jsx)(xa,{...a,...r,label:!1,value:"50"})});default:return(0,Tt.jsx)("div",{...i,children:(0,Tt.jsx)(xa,{...a,...r,labelPosition:"start",value:"50"})})}};Xo.options=Yf;Xo.states=Qf;Xo.variants=jf;Xo.defaultOptions=dd;Xo.modifiers=eb;Xo.className=Ce.className;var qo=require("react/jsx-runtime"),tb="k-file-info",Jn=e=>{let{name:t,size:o,validationMsg:a,...r}=e;return(0,qo.jsxs)("div",{...r,className:n(e.className,tb),children:[t&&(0,qo.jsx)("span",{className:"k-file-name",children:t}),o&&(0,qo.jsx)("span",{className:"k-file-size",children:o}),a&&(0,qo.jsx)("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};var Ne=require("react/jsx-runtime"),ob="k-file",Ue=e=>{let{status:t,progress:o,name:a,icon:r,size:i,state:d,validationMsg:c,...m}=e;return(0,Ne.jsx)("li",{...m,className:n(e.className,ob,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:(0,Ne.jsxs)("div",{className:"k-file-single",children:[(0,Ne.jsx)(Ce,{className:n({"k-hidden":t!=="progress"}),value:o,label:!1}),(0,Ne.jsxs)("span",{className:"k-file-icon-wrapper",children:[(0,Ne.jsx)(L,{className:"k-file-icon",icon:r,size:"xxlarge"}),d&&(0,Ne.jsx)("span",{className:"k-file-state",children:d})]}),(0,Ne.jsx)(Jn,{name:a,size:i,validationMsg:c}),(0,Ne.jsx)("div",{className:"k-upload-actions",children:t==="progress"?(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsxs)("span",{className:"k-upload-pct",children:[o,"%"]}),(0,Ne.jsx)(l,{icon:"pause-sm",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),(0,Ne.jsx)(l,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):(0,Ne.jsx)(l,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};var Wn=require("react/jsx-runtime");var Vt=require("react/jsx-runtime"),ga=e=>(0,Vt.jsx)(le,{async:!0,children:(0,Vt.jsxs)(Vt.Fragment,{children:[(0,Vt.jsx)(Ue,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),(0,Vt.jsx)(Ue,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});var Zn=require("react/jsx-runtime");var pd=require("react/jsx-runtime"),tr=e=>(0,pd.jsx)(le,{async:!0,empty:!0,...e});var Yn=require("react/jsx-runtime");var Qn=require("react/jsx-runtime");var Re=require("react/jsx-runtime"),ab=le.options,rb=le.states,cd={...le.defaultOptions,variant:"empty"},nb=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],ib=[],Jo=e=>{let{variant:t,...o}={...cd,...e};switch(t){case"success":return(0,Re.jsxs)(ga,{status:"done",style:{width:"586px"},...o,children:[(0,Re.jsx)(Ue,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),(0,Re.jsx)(Ue,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return(0,Re.jsxs)(ga,{status:"failed",style:{width:"586px"},...o,children:[(0,Re.jsx)(Ue,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),(0,Re.jsx)(Ue,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return(0,Re.jsxs)(ga,{status:"uploading",style:{width:"586px"},...o,children:[(0,Re.jsx)(Ue,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),(0,Re.jsx)(Ue,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return(0,Re.jsxs)(ga,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[(0,Re.jsx)(Ue,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),(0,Re.jsx)(Ue,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return(0,Re.jsx)(tr,{async:!0,status:"upload",style:{width:"586px"},...o})}};Jo.options=ab;Jo.states=rb;Jo.variants=nb;Jo.defaultOptions=cd;Jo.modifiers=ib;Jo.className=le.className;var jn="pdf-viewer",ud=jn;var S=require("react/jsx-runtime"),or="k-pdf-viewer",sb=[s.disabled],lb={},db=(0,S.jsxs)(G,{resizable:!0,fillMode:"flat",children:[(0,S.jsx)(D,{icon:"menu",fillMode:"flat",showArrow:!1,"aria-label":"Menu"}),(0,S.jsx)(ae,{}),(0,S.jsx)(rl,{pageSizes:!1,refresh:!1,info:!1}),(0,S.jsx)("span",{className:"k-spacer"}),(0,S.jsxs)(A,{fillMode:"flat",children:[(0,S.jsx)(l,{fillMode:"flat",className:"k-group-start",icon:"zoom-out","aria-label":"Zoom out"}),(0,S.jsx)(l,{fillMode:"flat",className:"k-group-end",icon:"zoom-in","aria-label":"Zoom in"})]}),(0,S.jsx)(pe,{value:"Automatic Width",fillMode:"flat","aria-label":"Zoom level"}),(0,S.jsxs)(A,{fillMode:"flat",children:[(0,S.jsx)(l,{fillMode:"flat",className:"k-group-start",icon:"pointer","aria-label":"Selection tool"}),(0,S.jsx)(l,{fillMode:"flat",className:"k-group-end",icon:"hand","aria-label":"Hand tool"})]}),(0,S.jsx)("span",{className:"k-spacer"}),(0,S.jsx)(l,{fillMode:"flat",icon:"search","aria-haspopup":"dialog","aria-label":"Search"}),(0,S.jsx)(l,{fillMode:"flat",icon:"edit-annotations","aria-label":"Annotations"}),(0,S.jsx)(l,{fillMode:"flat",icon:"comment","aria-label":"Comments"})]}),pb=(0,S.jsxs)(G,{resizable:!0,fillMode:"flat",children:[(0,S.jsxs)(A,{fillMode:"flat",children:[(0,S.jsx)(l,{fillMode:"flat",className:"k-group-start",icon:"highlight","aria-label":"Highlight"}),(0,S.jsx)(l,{fillMode:"flat",icon:"underline","aria-label":"Underline"}),(0,S.jsx)(l,{fillMode:"flat",className:"k-group-end",icon:"strikethrough","aria-label":"Strikethrough"})]}),(0,S.jsx)(ae,{}),(0,S.jsx)(l,{fillMode:"flat",icon:"free-text","aria-label":"Free text"}),(0,S.jsx)(ae,{}),(0,S.jsx)(D,{icon:"shapes",fillMode:"flat",showArrow:!0,"aria-label":"Shapes"}),(0,S.jsx)(ae,{}),(0,S.jsx)(D,{icon:"stamp",fillMode:"flat",showArrow:!0,"aria-label":"Stamp"}),(0,S.jsx)(ae,{}),(0,S.jsx)(l,{fillMode:"flat",icon:"sticky-note","aria-label":"Sticky note"}),(0,S.jsx)(ae,{}),(0,S.jsx)(l,{fillMode:"flat",icon:"ruler","aria-label":"Ruler"}),(0,S.jsx)(ae,{}),(0,S.jsx)(l,{fillMode:"flat",icon:"comment","aria-label":"Comment"}),(0,S.jsx)(ae,{}),(0,S.jsx)(l,{fillMode:"flat",icon:"eraser","aria-label":"Eraser"}),(0,S.jsx)("span",{className:"k-spacer"}),(0,S.jsx)(l,{fillMode:"flat",icon:"x","aria-label":"Close"})]}),ka={toolbar:db,showSearchPanel:!1,blank:!1,annotations:!1,annotationsToolbar:pb},At=e=>{let{disabled:t,toolbar:o=ka.toolbar,showSearchPanel:a=ka.showSearchPanel,blank:r=ka.blank,annotations:i,annotationsToolbar:d=ka.annotationsToolbar,...c}=e;return(0,S.jsxs)("div",{...c,className:n(e.className,or,y(or,{disabled:t})),children:[o,i&&d,(0,S.jsxs)("div",{className:"k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto k-enable-text-select",tabIndex:0,"aria-label":"PDF document",role:"document",children:[a&&(0,S.jsxs)("div",{className:"k-search-panel k-pos-sticky k-top-center",role:"dialog","aria-label":"Search",children:[(0,S.jsx)(l,{fillMode:"flat",icon:"handle-drag",className:"k-search-dialog-draghandle","aria-label":"Drag handle"}),(0,S.jsx)(ne,{"aria-label":"Search text",suffix:(0,S.jsx)(l,{fillMode:"flat",className:"k-match-case-button",icon:"convert-lowercase","aria-label":"Match case"})}),(0,S.jsxs)("span",{className:"k-search-matches",children:[(0,S.jsx)("span",{children:"0"})," of ",(0,S.jsx)("span",{children:"0"})]}),(0,S.jsx)(l,{fillMode:"flat",icon:"arrow-up","aria-label":"Previous match"}),(0,S.jsx)(l,{fillMode:"flat",icon:"arrow-down","aria-label":"Next match"}),(0,S.jsx)(l,{fillMode:"flat",icon:"x","aria-label":"Close search"})]}),(0,S.jsx)("div",{className:"k-pdf-viewer-pages",children:r?(0,S.jsxs)("div",{className:"k-page k-blank-page",children:[(0,S.jsx)(_a,{}),(0,S.jsx)(tr,{empty:!0,status:"upload"})]}):e.children})]})]})};At.states=sb;At.options=lb;At.className=or;At.defaultOptions=ka;At.moduleName=jn;At.folderName=ud;At.ariaSpec={selector:".k-pdf-viewer",rules:[{selector:".k-pdf-viewer .k-canvas",attribute:"tabindex=0",usage:"Defines the focusable page container element."},{selector:".k-pdf-viewer .k-canvas",attribute:"aria-label",usage:"Describes the purpose of the focusable container."},{selector:".k-pdf-viewer .k-canvas",attribute:"role=document",usage:"Defines that content should be evaluated in reader mode by assistive technologies."},{selector:'.k-pdf-viewer .k-toolbar .k-button:has([class*="i-search"])',attribute:"aria-haspopup=dialog",usage:"Describes that the Search tool button opens a dialog element."},{selector:".k-pdf-viewer .k-canvas .k-search-panel",attribute:"role=dialog",usage:"Describes the role of the Search panel."},{selector:".k-pdf-viewer .k-canvas .k-search-panel",attribute:"aria-label",usage:"Label for the Search panel, same label as the Search tool."}]};var cb=At;