@progress/kendo-themes-html 14.5.1-dev.7 → 14.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/dist/cjs/colorgradient/demos/colorgradient.js +1 -1
  2. package/dist/cjs/colorpicker/colorpicker.spec.js +1 -1
  3. package/dist/cjs/colorpicker/templates/colorpicker-adaptive.js +1 -1
  4. package/dist/cjs/colorpicker/templates/colorpicker-disabled.js +1 -1
  5. package/dist/cjs/colorpicker/templates/colorpicker-normal.js +1 -1
  6. package/dist/cjs/combobox/demos/combobox.js +1 -1
  7. package/dist/cjs/combobox/templates/combobox-grouping-modern-custom-value.js +1 -1
  8. package/dist/cjs/filemanager/filemanager-listview.spec.js +1 -1
  9. package/dist/cjs/floating-toolbar/floating-toolbar.spec.js +1 -1
  10. package/dist/cjs/imageeditor/imageeditor-option-list.js +1 -0
  11. package/dist/cjs/imageeditor/imageeditor-option-preview.js +1 -0
  12. package/dist/cjs/imageeditor/imageeditor-pane.js +1 -0
  13. package/dist/cjs/imageeditor/imageeditor-placeholder.js +1 -0
  14. package/dist/cjs/imageeditor/imageeditor-preview-thumbnail.js +1 -0
  15. package/dist/cjs/imageeditor/imageeditor-resize-handles.js +1 -0
  16. package/dist/cjs/imageeditor/imageeditor-sidebar.js +1 -0
  17. package/dist/cjs/imageeditor/imageeditor-toolbar.js +1 -1
  18. package/dist/cjs/imageeditor/imageeditor.spec.js +1 -1
  19. package/dist/cjs/imageeditor/templates/imageeditor-adjustments.js +1 -0
  20. package/dist/cjs/imageeditor/templates/imageeditor-blur.js +1 -0
  21. package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
  22. package/dist/cjs/imageeditor/templates/imageeditor-disabled.js +1 -0
  23. package/dist/cjs/imageeditor/templates/imageeditor-filters.js +1 -0
  24. package/dist/cjs/imageeditor/templates/imageeditor-frames.js +1 -0
  25. package/dist/cjs/imageeditor/templates/imageeditor-insert-line.js +1 -0
  26. package/dist/cjs/imageeditor/templates/imageeditor-insert-shape.js +1 -0
  27. package/dist/cjs/imageeditor/templates/imageeditor-insert-text.js +1 -0
  28. package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
  29. package/dist/cjs/imageeditor/templates/imageeditor-pixelate.js +1 -0
  30. package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
  31. package/dist/cjs/imageeditor/templates/imageeditor-rotate.js +1 -0
  32. package/dist/cjs/imageeditor/templates/imageeditor-shadow.js +1 -0
  33. package/dist/cjs/index.js +8 -8
  34. package/dist/cjs/listview/demos/listview.js +1 -1
  35. package/dist/cjs/listview/listview.spec.js +1 -1
  36. package/dist/cjs/listview/templates/listview-no-data.js +1 -1
  37. package/dist/cjs/listview/templates/listview-normal.js +1 -1
  38. package/dist/cjs/listview/templates/listview-selectable.js +1 -1
  39. package/dist/cjs/pager/index.js +1 -1
  40. package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
  41. package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
  42. package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
  43. package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
  44. package/dist/cjs/prompt/templates/prompt-output.js +1 -1
  45. package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
  46. package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
  47. package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
  48. package/dist/cjs/scheduler/scheduler-toolbar.spec.js +1 -1
  49. package/dist/cjs/spreadsheet/spreadsheet-action-bar.js +1 -1
  50. package/dist/cjs/toolbar/demos/toolbar.js +1 -1
  51. package/dist/cjs/toolbar/templates/toolbar-scrollable-buttons-hidden.js +1 -1
  52. package/dist/cjs/toolbar/templates/toolbar-scrollable.js +1 -1
  53. package/dist/esm/colorgradient/demos/colorgradient.mjs +1 -1
  54. package/dist/esm/colorpicker/colorpicker.spec.mjs +1 -1
  55. package/dist/esm/colorpicker/templates/colorpicker-adaptive.mjs +1 -1
  56. package/dist/esm/colorpicker/templates/colorpicker-disabled.mjs +1 -1
  57. package/dist/esm/colorpicker/templates/colorpicker-normal.mjs +1 -1
  58. package/dist/esm/combobox/demos/combobox.mjs +1 -1
  59. package/dist/esm/combobox/templates/combobox-grouping-modern-custom-value.mjs +1 -1
  60. package/dist/esm/filemanager/filemanager-listview.spec.mjs +1 -1
  61. package/dist/esm/floating-toolbar/floating-toolbar.spec.mjs +1 -1
  62. package/dist/esm/imageeditor/imageeditor-option-list.mjs +1 -0
  63. package/dist/esm/imageeditor/imageeditor-option-preview.mjs +1 -0
  64. package/dist/esm/imageeditor/imageeditor-pane.mjs +1 -0
  65. package/dist/esm/imageeditor/imageeditor-placeholder.mjs +1 -0
  66. package/dist/esm/imageeditor/imageeditor-preview-thumbnail.mjs +1 -0
  67. package/dist/esm/imageeditor/imageeditor-resize-handles.mjs +1 -0
  68. package/dist/esm/imageeditor/imageeditor-sidebar.mjs +1 -0
  69. package/dist/esm/imageeditor/imageeditor-toolbar.mjs +1 -1
  70. package/dist/esm/imageeditor/imageeditor.spec.mjs +1 -1
  71. package/dist/esm/imageeditor/templates/imageeditor-adjustments.mjs +1 -0
  72. package/dist/esm/imageeditor/templates/imageeditor-blur.mjs +1 -0
  73. package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
  74. package/dist/esm/imageeditor/templates/imageeditor-disabled.mjs +1 -0
  75. package/dist/esm/imageeditor/templates/imageeditor-filters.mjs +1 -0
  76. package/dist/esm/imageeditor/templates/imageeditor-frames.mjs +1 -0
  77. package/dist/esm/imageeditor/templates/imageeditor-insert-line.mjs +1 -0
  78. package/dist/esm/imageeditor/templates/imageeditor-insert-shape.mjs +1 -0
  79. package/dist/esm/imageeditor/templates/imageeditor-insert-text.mjs +1 -0
  80. package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
  81. package/dist/esm/imageeditor/templates/imageeditor-pixelate.mjs +1 -0
  82. package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
  83. package/dist/esm/imageeditor/templates/imageeditor-rotate.mjs +1 -0
  84. package/dist/esm/imageeditor/templates/imageeditor-shadow.mjs +1 -0
  85. package/dist/esm/index.mjs +8 -8
  86. package/dist/esm/listview/demos/listview.mjs +1 -1
  87. package/dist/esm/listview/templates/listview-no-data.mjs +1 -1
  88. package/dist/esm/listview/templates/listview-normal.mjs +1 -1
  89. package/dist/esm/listview/templates/listview-selectable.mjs +1 -1
  90. package/dist/esm/pager/index.mjs +1 -1
  91. package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
  92. package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
  93. package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
  94. package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
  95. package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
  96. package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
  97. package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
  98. package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
  99. package/dist/esm/scheduler/scheduler-toolbar.spec.mjs +1 -1
  100. package/dist/esm/spreadsheet/spreadsheet-action-bar.mjs +1 -1
  101. package/dist/esm/toolbar/demos/toolbar.mjs +1 -1
  102. package/dist/esm/toolbar/templates/toolbar-scrollable-buttons-hidden.mjs +1 -1
  103. package/dist/esm/toolbar/templates/toolbar-scrollable.mjs +1 -1
  104. package/dist/types/combobox/combobox.spec.d.ts +1 -1
  105. package/dist/types/imageeditor/imageeditor-option-list.d.ts +18 -0
  106. package/dist/types/imageeditor/imageeditor-option-preview.d.ts +18 -0
  107. package/dist/types/imageeditor/imageeditor-pane.d.ts +21 -0
  108. package/dist/types/imageeditor/imageeditor-placeholder.d.ts +7 -0
  109. package/dist/types/imageeditor/imageeditor-preview-thumbnail.d.ts +12 -0
  110. package/dist/types/imageeditor/imageeditor-resize-handles.d.ts +14 -0
  111. package/dist/types/imageeditor/imageeditor-sidebar.d.ts +11 -0
  112. package/dist/types/imageeditor/imageeditor-toolbar.d.ts +1 -0
  113. package/dist/types/imageeditor/imageeditor.spec.d.ts +40 -4
  114. package/dist/types/imageeditor/index.d.ts +18 -0
  115. package/dist/types/imageeditor/templates/imageeditor-adjustments.d.ts +1 -0
  116. package/dist/types/imageeditor/templates/imageeditor-blur.d.ts +1 -0
  117. package/dist/types/imageeditor/templates/imageeditor-disabled.d.ts +1 -0
  118. package/dist/types/imageeditor/templates/imageeditor-filters.d.ts +6 -0
  119. package/dist/types/imageeditor/templates/imageeditor-frames.d.ts +1 -0
  120. package/dist/types/imageeditor/templates/imageeditor-insert-line.d.ts +2 -0
  121. package/dist/types/imageeditor/templates/imageeditor-insert-shape.d.ts +2 -0
  122. package/dist/types/imageeditor/templates/imageeditor-insert-text.d.ts +2 -0
  123. package/dist/types/imageeditor/templates/imageeditor-pixelate.d.ts +1 -0
  124. package/dist/types/imageeditor/templates/imageeditor-rotate.d.ts +1 -0
  125. package/dist/types/imageeditor/templates/imageeditor-shadow.d.ts +1 -0
  126. package/dist/types/numerictextbox/numerictextbox.spec.d.ts +1 -1
  127. package/package.json +4 -4
  128. package/src/combobox/combobox.spec.tsx +2 -2
  129. package/src/imageeditor/imageeditor-option-list.tsx +53 -0
  130. package/src/imageeditor/imageeditor-option-preview.tsx +56 -0
  131. package/src/imageeditor/imageeditor-pane.tsx +70 -0
  132. package/src/imageeditor/imageeditor-placeholder.tsx +51 -0
  133. package/src/imageeditor/imageeditor-preview-thumbnail.tsx +42 -0
  134. package/src/imageeditor/imageeditor-resize-handles.tsx +37 -0
  135. package/src/imageeditor/imageeditor-sidebar.tsx +66 -0
  136. package/src/imageeditor/imageeditor-toolbar.tsx +14 -13
  137. package/src/imageeditor/imageeditor.spec.tsx +79 -13
  138. package/src/imageeditor/index.ts +19 -0
  139. package/src/imageeditor/templates/imageeditor-adjustments.tsx +88 -0
  140. package/src/imageeditor/templates/imageeditor-blur.tsx +92 -0
  141. package/src/imageeditor/templates/imageeditor-crop.tsx +64 -59
  142. package/src/imageeditor/templates/imageeditor-disabled.tsx +45 -0
  143. package/src/imageeditor/templates/imageeditor-filters.tsx +98 -0
  144. package/src/imageeditor/templates/imageeditor-frames.tsx +180 -0
  145. package/src/imageeditor/templates/imageeditor-insert-line.tsx +141 -0
  146. package/src/imageeditor/templates/imageeditor-insert-shape.tsx +195 -0
  147. package/src/imageeditor/templates/imageeditor-insert-text.tsx +143 -0
  148. package/src/imageeditor/templates/imageeditor-normal.tsx +20 -1
  149. package/src/imageeditor/templates/imageeditor-pixelate.tsx +92 -0
  150. package/src/imageeditor/templates/imageeditor-resize.tsx +68 -50
  151. package/src/imageeditor/templates/imageeditor-rotate.tsx +98 -0
  152. package/src/imageeditor/templates/imageeditor-shadow.tsx +96 -0
  153. package/src/imageeditor/tests/imageeditor-adaptive-small.tsx +373 -0
  154. package/src/imageeditor/tests/imageeditor-adjustments-pane.tsx +14 -0
  155. package/src/imageeditor/tests/imageeditor-blur-pane.tsx +29 -0
  156. package/src/imageeditor/tests/imageeditor-crop-pane.tsx +3 -2
  157. package/src/imageeditor/tests/imageeditor-export-dialog.tsx +85 -0
  158. package/src/imageeditor/tests/imageeditor-filters-pane.tsx +14 -0
  159. package/src/imageeditor/tests/imageeditor-frames-pane.tsx +22 -0
  160. package/src/imageeditor/tests/imageeditor-insert-line-pane.tsx +52 -0
  161. package/src/imageeditor/tests/imageeditor-insert-shape-pane.tsx +57 -0
  162. package/src/imageeditor/tests/imageeditor-insert-text-pane.tsx +51 -0
  163. package/src/imageeditor/tests/imageeditor-interactive-states.tsx +79 -0
  164. package/src/imageeditor/tests/imageeditor-option-list-states.tsx +17 -0
  165. package/src/imageeditor/tests/imageeditor-pixelate-pane.tsx +29 -0
  166. package/src/imageeditor/tests/imageeditor-resize-pane.tsx +15 -1
  167. package/src/imageeditor/tests/imageeditor-responsive.tsx +71 -0
  168. package/src/imageeditor/tests/imageeditor-rotate-pane.tsx +27 -0
  169. package/src/imageeditor/tests/imageeditor-shadow-pane.tsx +14 -0
  170. package/src/imageeditor/tests/imageeditor-sidebar-scrollable.tsx +97 -0
  171. package/src/numerictextbox/numerictextbox.spec.tsx +2 -2
@@ -1 +1 @@
1
- var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...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 k=(e,t)=>r({[`${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:n,focus:s,checked:c,active:m,selected:b,disabled:N,indeterminate:x,loading:v,empty:p,readonly:M,highlighted:h,...I}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":c,"k-active":m,"k-selected":b,"k-disabled":N,"k-indeterminate":x&&!c,"k-loading":v,"k-empty":p,"k-readonly":M,"k-highlighted":h},Object.keys(I).reduce((C,g)=>(g.startsWith("k-")?C[g]=I[g]:C[`k-${g}`]=I[g],C),{}))};function Bn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},u={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},_e={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={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 pa={};function K(e){return pa[e]=(pa[e]||0)+1,`k-${e}-${pa[e]}`}import{Fragment as Qr,jsx as Pn}from"react/jsx-runtime";var ma="k-font-icon",Wr=[],qr={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info]},Yr={},lo=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...c}=e;return a?Pn("span",{...c,className:r(e.className,ma,k(ma,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Pn(Qr,{})};lo.states=Wr;lo.options=qr;lo.className=ma;lo.defaultOptions=Yr;var Rn=lo;import{Fragment as es,jsx as Po}from"react/jsx-runtime";var ua="k-svg-icon",Zr=[],jr={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[_e.outline,_e.solid,_e.duotone]},fa={viewBox:"0 0 24 24",variant:_e.outline},co=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=fa.viewBox,variant:c=fa.variant,icon:m,...b}=e;if(!m)return Po(es,{});if(m==="none")return Po("span",{...b,className:r(e.className,ua,k("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?c&&m.variants?.[c]||m.variants?.outline||m.content:void 0;return Po("span",{...b,className:r(e.className,ua,k("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Po("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:m?void 0:e.children})})};co.states=Zr;co.options=jr;co.className=ua;co.defaultOptions=fa;var ba=co;import*as xa from"@progress/kendo-svg-icons";var Kn="icon",wn="icons";import{useContext as os}from"react";import{createContext as ts}from"react";var _n=ts({iconsType:"svg"});import{Fragment as Dn,jsx as po}from"react/jsx-runtime";var Ro="k-icon",as=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ns=[],is={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[_e.outline,_e.solid,_e.duotone]},Ko={viewBox:"0 0 24 24",type:"svg",variant:_e.outline},S=e=>{let{iconsType:t}=os(_n),{size:o,themeColor:a,icon:n,type:s=t||Ko.type,rotate:c,flip:m,viewBox:b=Ko.viewBox,variant:N=Ko.variant,...x}=e;if(!n)return po(Dn,{});if((t||s)==="svg"){if(n==="none")return po(ba,{...x,className:r(e.className,Ro),icon:n,size:o,variant:N});let p=xa[n]?n:as(`${n}-icon`);return xa[p]?po(ba,{...x,className:r(e.className,Ro),icon:xa[p],size:o,themeColor:a,rotate:c,flip:m,viewBox:b,variant:N}):po(Dn,{})}return po(Rn,{...x,className:r(e.className,Ro),icon:n,size:o,themeColor:a,rotate:c,flip:m})};S.states=ns;S.options=is;S.defaultOptions=Ko;S.className=Ro;S.moduleName=Kn;S.folderName=wn;var Na="button",Hn=Na;import{Fragment as zn,jsx as yt,jsxs as Un}from"react/jsx-runtime";var mo="k-button",rs=["icon-button"],ss=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],ls={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline,u.clear,u.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},ha={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:c=ha.showArrow,arrowIconName:m=ha.arrowIconName,variant:b,hover:N,focus:x,active:v,selected:p,disabled:M,togglable:h,ariaDisabled:I,icon:C,iconSize:g,text:A,iconClassName:F,className:ee,...ae}=e,ne=C!=null,ie=e.children!==void 0;return Un(t,{className:r(ee,mo,Bn(mo,b),k(mo,{size:o,rounded:a,fillMode:n,themeColor:s}),y(mo,{hover:N,focus:x,active:v,disabled:M||I,selected:p}),{"k-icon-button":!A&&!ie&&ne}),"aria-pressed":h?p?"true":"false":void 0,...ae,"aria-disabled":I?"true":void 0,disabled:M||void 0,children:[typeof C=="string"&&C&&yt(S,{className:r(F,"k-button-icon"),icon:C,size:g}),C&&typeof C!="string"&&yt(zn,{children:C}),A?Un(zn,{children:[A&&yt("span",{className:"k-button-text",children:A}),e.children]}):e.children&&yt("span",{className:"k-button-text",children:e.children}),c&&yt("span",{className:"k-menu-button-arrow k-button-arrow",children:yt(S,{icon:m})})]})};d.states=ss;d.options=ls;d.variants=rs;d.className=mo;d.defaultOptions=ha;d.moduleName=Na;d.folderName=Hn;import{jsx as ds}from"react/jsx-runtime";var Ze=e=>ds(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as cs}from"react/jsx-runtime";var uo=e=>cs(d,{icon:"folder",children:"Button",...e});import{jsx as ps}from"react/jsx-runtime";var ft=e=>ps(d,{children:"Button",...e});import{jsx as La}from"react/jsx-runtime";var ms=d.options,us=d.states,fs={...d.defaultOptions,variant:"text"},bs=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xs=[],Tt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return La(Ze,{...o,icon:"star"});case"icon-and-text":return La(uo,{...o,icon:"star",children:"Button"});default:return La(ft,{...o,children:"Button"})}};Tt.options=ms;Tt.states=us;Tt.variants=bs;Tt.defaultOptions=fs;Tt.modifiers=xs;Tt.className=d.className;var va="button",Gn=va;import{jsx as vs}from"react/jsx-runtime";var fo="k-button-group",Ns=[i.disabled],hs={fillMode:[u.undefined,u.solid,u.flat,u.outline,u.clear,u.link]},Ls={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return vs("div",{role:"group",...n,className:r(e.className,fo,k(fo,{fillMode:t}),y(fo,{disabled:o}),{[`${fo}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=Ns;O.options=hs;O.className=fo;O.defaultOptions=Ls;O.moduleName=va;O.folderName=Gn;import{Fragment as Yu,jsx as qu,jsxs as Qu}from"react/jsx-runtime";import{Fragment as af,jsx as of,jsxs as nf}from"react/jsx-runtime";import{Fragment as pf,jsx as cf,jsxs as mf}from"react/jsx-runtime";import{Fragment as hf,jsx as Nf,jsxs as Lf}from"react/jsx-runtime";import{Fragment as Cf,jsx as kf,jsxs as gf}from"react/jsx-runtime";import{Fragment as Bf,jsx as Af,jsxs as Pf}from"react/jsx-runtime";import{jsx as $e,jsxs as Ma}from"react/jsx-runtime";var Ms={...d.options,...O.options},Is=d.states,Ss={...d.defaultOptions,...O.defaultOptions,variant:"text-button"},ks=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Cs=[],Ot=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Ma(O,{fillMode:a.fillMode,className:o,children:[$e(d,{...a,icon:"star"}),$e(d,{...a,icon:"star"}),$e(d,{...a,icon:"star"})]}):t==="icon-text-button"?Ma(O,{fillMode:a.fillMode,className:o,children:[$e(d,{...a,icon:"star",children:"First"}),$e(d,{...a,icon:"star",children:"Middle"}),$e(d,{...a,icon:"star",children:"Last"})]}):Ma(O,{fillMode:a.fillMode,className:o,children:[$e(d,{...a,children:"First"}),$e(d,{...a,children:"Middle"}),$e(d,{...a,children:"Last"})]})};Ot.options=Ms;Ot.states=Is;Ot.variants=ks;Ot.defaultOptions=Ss;Ot.modifiers=Cs;Ot.className=O.className;var bo="input",wo=bo;import{jsx as Ts}from"react/jsx-runtime";var _o="k-input",gs=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Es={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},ys={},V=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:m,size:b,rounded:N,fillMode:x,...v}=e;return Ts("span",{...v,className:r(e.className,_o,k(_o,{size:b,rounded:N,fillMode:x}),y(_o,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:m}))})};V.states=gs;V.options=Es;V.className=_o;V.defaultOptions=ys;V.moduleName=bo;V.folderName=wo;import{jsx as Ps}from"react/jsx-runtime";var Do="k-picker",Os=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],As={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},Bs={},De=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:m,size:b,rounded:N,fillMode:x,...v}=e;return Ps("span",{...v,className:r(e.className,Do,k(Do,{size:b,rounded:N,fillMode:x}),y(Do,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:m})),children:e.children})};De.states=Os;De.options=As;De.className=Do;De.defaultOptions=Bs;De.moduleName=bo;De.folderName=wo;import{Fragment as ws,jsx as Ia}from"react/jsx-runtime";var Fn="k-clear-value",Rs=[i.disabled,i.loading,i.readonly],Ks={},xe=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?Ia(ws,{}):Ia("span",{className:r(e.className,Fn),children:Ia(S,{icon:"x"})})};xe.states=Rs;xe.options=Ks;xe.className=Fn;import{jsx as Hs}from"react/jsx-runtime";var Sa="k-input-inner",_s=[],Ds={},Ho={type:"text",autocomplete:"off",value:"",placeholder:""},Ne=e=>{let{value:t=Ho.value,type:o=Ho.type,placeholder:a=Ho.placeholder,autocomplete:n=Ho.autocomplete,disabled:s,readOnly:c,...m}=e;return Hs("input",{...m,type:o,className:r(e.className,Sa,k(Sa,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Ne.states=_s;Ne.options=Ds;Ne.className=Sa;import{jsx as Vn,jsxs as Gs}from"react/jsx-runtime";var ka="k-input-inner",zs=[],Us={},bt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...c}=e;return Gs("span",{...c,className:r(e.className,ka,k(ka,e)),children:[n,!n&&s&&Vn(S,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Vn("span",{className:"k-input-value-text",children:t})]})};bt.states=zs;bt.options=Us;bt.className=ka;import{jsx as $s}from"react/jsx-runtime";var Ca="k-input-inner",Fs=[],Vs={},$n={value:"",placeholder:""},ga=e=>{let{value:t=$n.value,placeholder:o=$n.placeholder,rows:a,disabled:n,...s}=e;return $s("textarea",{...s,className:r(e.className,Ca,k(Ca,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ga.states=Fs;ga.options=Vs;ga.className=Ca;import{Fragment as Js,jsx as Xn}from"react/jsx-runtime";var Jn="k-input-loading-icon",Xs=[i.disabled,i.loading],ue=e=>{let{disabled:t,loading:o}=e;return t||!o?Xn(Js,{}):Xn("span",{className:r(e.className,Jn,"k-icon k-i-loading")})};ue.states=Xs;ue.className=Jn;import{Fragment as Ys,jsx as Wn}from"react/jsx-runtime";var qn="k-input-validation-icon",Ws=[i.valid,i.invalid,i.disabled,i.loading],qs={},re=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Wn(Ys,{}):Wn(S,{className:r(qn),icon:s})};re.states=Ws;re.options=qs;re.className=qn;import{Fragment as js,jsx as Yn}from"react/jsx-runtime";var Qs="k-input-prefix",Zs={direction:"horizontal"},Se=e=>{let{direction:t=Zs.direction,...o}=e;return e.children?Yn("span",{...o,className:r(Qs,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Yn(js,{})};import{Fragment as ol,jsx as Qn}from"react/jsx-runtime";var el="k-input-suffix",tl={direction:"horizontal"},ke=e=>{let{direction:t=tl.direction,...o}=e;return e.children?Qn("span",{...o,className:r(el,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Qn(ol,{})};import{jsx as Pb}from"react/jsx-runtime";import{jsx as nl}from"react/jsx-runtime";var al="k-input-suffix-text",Ea=e=>{let{children:t,...o}=e;return nl("span",{...o,className:r(al,e.className),children:t})};import{jsx as rl}from"react/jsx-runtime";var Zn="k-input-separator",il={direction:"vertical"},Ce=e=>{let{direction:t=il.direction,...o}=e;return rl("span",{...o,className:r(Zn,e.className,{[`${Zn}-${t}`]:t})})};import{Fragment as jn,jsx as He,jsxs as ya}from"react/jsx-runtime";var sl=V.states,ll=V.defaultOptions,dl=V.options,cl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],pl=[],At=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:c,...m}=e,b=t?.prefix,N=t?.suffix,x=t?.["clear-button"],v=t?.["validation-icon"],p=t?.separators;return ya(V,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:c,style:{width:300},children:[b&&ya(jn,{children:[He(Se,{children:He(S,{icon:"lock"})}),p&&He(Ce,{})]}),He(Ne,{placeholder:"Placeholder",value:"Value"}),v&&He(re,{valid:o,invalid:a,loading:n,disabled:s}),He(ue,{loading:n,disabled:s}),x&&He(xe,{loading:n,disabled:s,readonly:c,value:"Value"}),N&&ya(jn,{children:[p&&He(Ce,{}),He(ke,{children:He(ft,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};At.options=dl;At.states=sl;At.variants=pl;At.defaultOptions=ll;At.modifiers=cl;At.className=V.className;import{jsx as ei,jsxs as fl}from"react/jsx-runtime";var ti="k-color-preview",ml=[],ul={},je=e=>{let{color:t,iconName:o,...a}=e;return fl("span",{...a,className:r(e.className,ti,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ei(S,{icon:o,className:"k-color-preview-icon"}),ei("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};je.states=ml;je.options=ul;je.className=ti;var Ta="popup",oi=Ta;import{jsx as ai}from"react/jsx-runtime";var ni="k-animation-container",bl=[],xl={},Oa={positionMode:"absolute",shown:!0},ze=e=>{let{positionMode:t=Oa.positionMode,shown:o=Oa.shown,animationStyle:a,offset:n,...s}=e;return ai("div",{...s,style:{...n,...e.style},className:r(e.className,ni,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:ai("div",{className:"k-child-animation-container",style:a,children:e.children})})};ze.states=bl;ze.options=xl;ze.className=ni;ze.defaultOptions=Oa;ze.moduleName=Ta;ze.folderName=oi;var Aa="popup",ii=Aa;import{jsx as ri}from"react/jsx-runtime";var si="k-popup",Nl=[],hl={},li={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=li.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:c,...m}=e;return ri(ze,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":c,children:ri("div",{...m,className:r(e.className,si),children:e.children})})};U.states=Nl;U.options=hl;U.className=si;U.defaultOptions=li;U.moduleName=Aa;U.folderName=ii;var Ba="action-buttons",di=Ba;import{jsx as Ml}from"react/jsx-runtime";var zo="k-actions",Ll=[],vl={},Pa={alignment:"start",orientation:"horizontal"},Ue=e=>{let{alignment:t=Pa.alignment,orientation:o=Pa.orientation,...a}=e;return Ml("div",{...a,className:r(zo,{[`${zo}-${t}`]:t,[`${zo}-${o}`]:o},e.className),children:e.children})};Ue.states=Ll;Ue.options=vl;Ue.className=zo;Ue.defaultOptions=Pa;Ue.moduleName=Ba;Ue.folderName=di;import{jsx as Sl}from"react/jsx-runtime";var Il="k-actionsheet-footer",ci={alignment:"stretched",orientation:"horizontal"},et=e=>{let{alignment:t=ci.alignment,orientation:o=ci.orientation,template:a,as:n=a?"div":Ue,...s}=e;return Sl(n,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,Il),children:e.children})};var Ra="searchbox",pi=Ra;import{jsx as xo,jsxs as gl}from"react/jsx-runtime";var mi="k-searchbox",kl=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Cl={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},Ka={showIcon:!0,icon:"search"},ge=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:c,focus:m,valid:b,invalid:N,required:x,loading:v,disabled:p,showIcon:M=Ka.showIcon,icon:h=Ka.icon,"aria-label":I,...C}=e;return gl(V,{...C,size:a,rounded:n,fillMode:s,hover:c,focus:m,valid:b,invalid:N,required:x,loading:v,disabled:p,className:r(e.className,mi),children:[M&&xo(S,{className:"k-input-icon",icon:h}),xo(Ne,{placeholder:o,value:t,"aria-label":I}),xo(ue,{...e}),xo(re,{...e}),xo(xe,{...e})]})};ge.states=kl;ge.options=Cl;ge.className=mi;ge.defaultOptions=Ka;ge.moduleName=Ra;ge.folderName=pi;import{jsx as nN}from"react/jsx-runtime";var wa="textbox",ui=wa;import{Fragment as fi,jsx as tt,jsxs as _a}from"react/jsx-runtime";var bi="k-textbox",El=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],yl={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},Uo={showClearButton:!0,showValidationIcon:!0,separators:!0},te=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Uo.separators,showClearButton:s=Uo.showClearButton,showValidationIcon:c=Uo.showValidationIcon,prefix:m,suffix:b,type:N,value:x,placeholder:v,hover:p,focus:M,valid:h,invalid:I,required:C,loading:g,disabled:A,readonly:F,id:ee,"aria-label":ae,"aria-describedby":ne,...ie}=e;return _a(V,{...ie,size:t,rounded:o,fillMode:a,hover:p,focus:M,valid:h,invalid:I,required:C,loading:g,disabled:A,readonly:F,className:r(e.className,bi),children:[m&&_a(fi,{children:[tt(Se,{children:m}),n&&tt(Ce,{})]}),tt(Ne,{id:ee,placeholder:v,value:x,type:N,disabled:A,"aria-label":ae,"aria-describedby":ne,"aria-invalid":I?"true":void 0}),c&&tt(re,{valid:h,invalid:I,loading:g,disabled:A}),tt(ue,{loading:g,disabled:A}),s&&tt(xe,{loading:g,disabled:A,readonly:F,value:x}),b&&_a(fi,{children:[n&&tt(Ce,{}),tt(ke,{children:b})]})]})};te.states=El;te.options=yl;te.className=bi;te.defaultOptions=Uo;te.moduleName=wa;te.folderName=ui;var No=te;import{jsx as Tl}from"react/jsx-runtime";var xi=e=>Tl(No,{...e});import{Fragment as IN,jsx as MN}from"react/jsx-runtime";import{Fragment as yN,jsx as EN}from"react/jsx-runtime";import{jsx as BN}from"react/jsx-runtime";import{jsx as Da}from"react/jsx-runtime";var Ol=te.states,Al=te.defaultOptions,Bl=te.options,Pl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Rl=[],Bt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Da(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Da(ft,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Da(xi,{value:"Value",style:{width:300},...o,...a})};Bt.options=Bl;Bt.states=Ol;Bt.variants=Rl;Bt.defaultOptions=Al;Bt.modifiers=Pl;Bt.className=te.className;import{jsx as ot,jsxs as Ha}from"react/jsx-runtime";var Ni="k-actionsheet-titlebar",Kl={},se=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:c,inputValue:m,inputPlaceholder:b,adaptive:N,titleId:x,children:v,...p}=e;return Ha("div",{...p,className:r(e.className,Ni),children:[Ha("div",{className:"k-actionsheet-titlebar-group",children:[a&&ot("div",{className:"k-actionsheet-actions",children:a}),!v&&Ha("div",{className:"k-actionsheet-title",id:x,children:[t&&ot("div",{className:"k-text-center",children:t}),o&&ot("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),v&&ot("div",{className:"k-actionsheet-title",id:x,children:v}),n&&ot("div",{className:"k-actionsheet-actions",children:n})]}),(c||s)&&ot("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?ot(te,{value:m,placeholder:b,size:N?"large":"medium","aria-label":t||b||"Input"}):ot(ge,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};se.className=Ni;se.defaultOptions=Kl;import{jsx as za,jsxs as Hl}from"react/jsx-runtime";var Ua="k-actionsheet-view",wl=[],_l={},Dl={},Pt=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:c,...m}=e,b=n?.type===se&&za(se,{adaptive:t,titleId:c,...n?.props}),N=s?.type===et&&za(et,{...s?.props});return Hl("div",{...m,className:r(e.className,Ua,{[`${Ua}-animated`]:o}),children:[b,za("div",{className:"k-actionsheet-content",children:a}),N]})};Pt.states=wl;Pt.options=_l;Pt.className=Ua;Pt.defaultOptions=Dl;var ho="action-sheet",Go=ho;var Ga="overlay",hi=Ga;import{jsx as Fl}from"react/jsx-runtime";var Li="k-overlay",zl=[],Ul={},Gl={},at=e=>{let{...t}=e;return Fl("div",{...t,className:r(e.className,Li),children:e.children})};at.states=zl;at.options=Ul;at.className=Li;at.defaultOptions=Gl;at.moduleName=Ga;at.folderName=hi;import{jsx as Fo,jsxs as Xl}from"react/jsx-runtime";var vi="k-actionsheet",Vl=[],$l={},Lo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},$=e=>{let{side:t=Lo.side,fullscreen:o=Lo.fullscreen,adaptive:a=Lo.adaptive,overlay:n=Lo.overlay,template:s,children:c,header:m,footer:b,id:N,...x}=e,v=N&&!s&&m?`${N}-title`:void 0;return Xl("div",{className:"k-actionsheet-container",children:[n&&Fo(at,{}),Fo(ze,{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:Fo("div",{...x,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":v,className:r(e.className,vi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Fo(Pt,{header:m,footer:b,adaptive:a,titleId:v,...e,children:c})})})]})};$.states=Vl;$.options=$l;$.className=vi;$.defaultOptions=Lo;$.moduleName=ho;$.folderName=Go;import{jsx as Yl}from"react/jsx-runtime";var Mi="k-actionsheet-container",Jl=[],Wl={},ql={},Rt=e=>{let{children:t,...o}=e;return Yl("div",{...o,className:Mi,children:t})};Rt.states=Jl;Rt.options=Wl;Rt.className=Mi;Rt.defaultOptions=ql;Rt.moduleName=ho;Rt.folderName=Go;import{jsx as Ql}from"react/jsx-runtime";var Fa=e=>{let{...t}=e;return Ql("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as jl,jsx as vo,jsxs as Va}from"react/jsx-runtime";var $a="k-actionsheet-item",Zl=[i.hover,i.focus,i.selected,i.disabled],nt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:c,disabled:m,...b}=e;return Va("span",{...b,className:r(e.className,$a,y($a,{hover:n,focus:s,selected:c,disabled:m})),children:[!e.children&&vo(jl,{children:Va("span",{className:"k-actionsheet-action",children:[t&&vo("span",{className:"k-icon-wrap",children:vo(S,{className:"k-actionsheet-item-icon",icon:t})}),Va("span",{className:"k-actionsheet-item-text",children:[o&&vo("span",{className:"k-actionsheet-item-title",children:o}),a&&vo("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};nt.states=Zl;nt.className=$a;import{jsx as Ah,jsxs as Bh}from"react/jsx-runtime";import{jsx as wh}from"react/jsx-runtime";import{jsx as zh}from"react/jsx-runtime";import{jsx as Vh}from"react/jsx-runtime";import{jsx as Q,jsxs as Xa}from"react/jsx-runtime";var ed=$.options,td=$.states,Si={...$.defaultOptions,variant:"normal"},od=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ad=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Kt=e=>{let{variant:t,modifiers:o,...a}={...Si,...e},n={},s=Xa(Fa,{children:[Q(nt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Q(nt,{text:"Add to Favorites",iconName:"heart"}),Q(nt,{text:"Upload New",iconName:"upload",disabled:!0}),Q("hr",{className:"k-hr"}),Q(nt,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(b=>{switch(b){case"actions":n.actionsStart=!!o?.[b],n.actionsEnd=!!o?.[b];break;case"subtitle":n.subtitle=o?.[b]?c:void 0;break;case"footer":n.footer=!!o?.[b];break;default:break}}),t==="adaptive"?Q($,{...a,adaptive:!0,fullscreen:n.fullScreen,header:Q(se,{actionsStart:n.actionsStart?Q(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?Q(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?Xa(et,{alignment:"stretched",children:[Q(d,{text:"Cancel",size:"large",themeColor:"base"}),Q(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):Q($,{...a,fullscreen:n.fullScreen,header:Q(se,{actionsStart:n.actionsStart?Q(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?Q(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Xa(et,{alignment:"stretched",children:[Q(d,{text:"Apply",themeColor:"primary"}),Q(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Kt.options=ed;Kt.states=td;Kt.variants=od;Kt.defaultOptions=Si;Kt.modifiers=ad;Kt.className=$.className;var Ja="slider",ki=Ja;import{jsx as wt,jsxs as Wa}from"react/jsx-runtime";var Mo="k-slider",nd=[i.hover,i.focus,i.active,i.disabled,i.readonly],id={},Ee={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},z=e=>{let{type:t=Ee.type,orientation:o=Ee.orientation,gradientType:a=Ee.gradientType,readonly:n=Ee.readonly,disabled:s=Ee.disabled,handlePosition:c=Ee.handlePosition,showButtons:m=Ee.showButtons,showTicks:b=Ee.showTicks,value:N=Ee.value,min:x=Ee.min,max:v=Ee.max,startValue:p,endValue:M,hover:h,focus:I,active:C,trackStyle:g,dir:A,...F}=e,ae=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ne,ie;return o==="horizontal"?(ne=A==="rtl"?"chevron-left":"chevron-right",ie=A==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ne="chevron-up",ie="chevron-down"),Wa("div",{...F,className:r(Mo,e.className,y(Mo,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:A,children:[m&&wt(d,{className:"k-button-decrease",rounded:"full",icon:ie,tabIndex:-1,title:"Decrease"}),Wa("div",{className:"k-slider-track-wrap",children:[b&&wt("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Wa("div",{className:"k-slider-track",style:g,children:[wt("div",{className:"k-slider-selection"}),t==="range"&&wt("span",{className:r("k-draghandle","k-draghandle-start",y(Mo,{hover:h,focus:I,active:C})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??x,"aria-valuemin":x,"aria-valuemax":M??v,"aria-orientation":ae,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":F["aria-label"]?`${F["aria-label"]} start`:"Range start"}),wt("span",{className:r("k-draghandle",`k-draghandle-${c}`,y(Mo,{hover:h,focus:I,active:C})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?M??v:N,"aria-valuemin":t==="range"?p??x:x,"aria-valuemax":v,"aria-orientation":ae,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?F["aria-label"]?`${F["aria-label"]} end`:"Range end":F["aria-label"]})]})]}),m&&wt(d,{className:"k-button-increase",rounded:"full",icon:ne,tabIndex:-1,title:"Increase"})]})};z.states=nd;z.options=id;z.className=Mo;z.defaultOptions=Ee;z.moduleName=Ja;z.folderName=ki;import{jsx as Ci}from"react/jsx-runtime";var gi="k-tick",rd=[],sd={},Ei={label:!1},E=e=>{let{style:t,label:o=Ei.label,orientation:a,large:n,text:s,...c}=e;return Ci("li",{...c,role:"presentation",title:s||"Tick",className:r(e.className,gi,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Ci("span",{className:"k-label",children:s})})};E.states=rd;E.options=sd;E.className=gi;E.defaultOptions=Ei;import{Fragment as ld,jsx as ye,jsxs as dd}from"react/jsx-runtime";var yi=e=>ye(z,{"aria-label":e["aria-label"]||"Slider",children:dd(ld,{children:[ye(E,{className:"k-first",label:!0,large:!0,text:"0"}),ye(E,{}),ye(E,{}),ye(E,{}),ye(E,{}),ye(E,{label:!0,large:!0,text:"5"}),ye(E,{}),ye(E,{}),ye(E,{}),ye(E,{}),ye(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as cd,jsx as Te,jsxs as pd}from"react/jsx-runtime";var Ti=e=>Te(z,{children:pd(cd,{children:[Te(E,{className:"k-first",label:!0,large:!0,text:"0"}),Te(E,{}),Te(E,{}),Te(E,{}),Te(E,{}),Te(E,{label:!0,large:!0,text:"5"}),Te(E,{}),Te(E,{}),Te(E,{}),Te(E,{}),Te(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as BL,jsx as AL,jsxs as PL}from"react/jsx-runtime";import{Fragment as DL,jsx as _L,jsxs as HL}from"react/jsx-runtime";import{jsx as md}from"react/jsx-runtime";var qa=e=>md(z,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as ud}from"react/jsx-runtime";var Ya=e=>ud(z,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as YL,jsx as qL,jsxs as QL}from"react/jsx-runtime";import{Fragment as ov,jsx as tv,jsxs as av}from"react/jsx-runtime";import{jsx as Ge,jsxs as Oi}from"react/jsx-runtime";var fd=z.options,bd=z.states,Ai={...z.defaultOptions,variant:"horizontal",label:!0},xd=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Nd=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],_t=e=>{let{variant:t,modifiers:o,...a}=e,n=Ai.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let c={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Oi(Ti,{style:{height:"300px",...c},...a,...s,children:[Ge(E,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Ge(E,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Ge(E,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Ge(E,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Ge(E,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Oi(yi,{style:{width:"400px",...c},...a,...s,children:[Ge(E,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Ge(E,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Ge(E,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Ge(E,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Ge(E,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};_t.options=fd;_t.states=bd;_t.variants=xd;_t.defaultOptions=Ai;_t.modifiers=Nd;_t.className=z.className;import{jsx as Bi,jsxs as Id}from"react/jsx-runtime";var Pi="k-spin-button",vd=[],Md={size:[l.undefined,l.small,l.medium,l.large],fillMode:[u.undefined,u.solid,u.flat,u.outline,u.clear,u.link]},Qa={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},it=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Qa.increaseLabel,decreaseLabel:s=Qa.decreaseLabel,...c}=e;return Id("span",{...c,className:r(Pi,e.className),children:[Bi(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Bi(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};it.states=vd;it.options=Md;it.className=Pi;it.defaultOptions=Qa;it.moduleName=null;it.folderName=null;var Ri="numeric-textbox",Ki="numerictextbox";import{Fragment as wi,jsx as Xe,jsxs as Za}from"react/jsx-runtime";var _i="k-numerictextbox",Sd=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],kd={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},Vo={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Vo.separators,showClearButton:s=Vo.showClearButton,showSpinButton:c=Vo.showSpinButton,prefix:m,suffix:b,value:N,placeholder:x,hover:v,focus:p,valid:M,invalid:h,required:I,loading:C,disabled:g,readonly:A,id:F,"aria-label":ee,"aria-describedby":ae,...ne}=e;return Za(V,{...ne,size:t,rounded:o,fillMode:a,hover:v,focus:p,valid:M,invalid:h,required:I,loading:C,disabled:g,readonly:A,className:r(e.className,_i),children:[m&&Za(wi,{children:[Xe(Se,{children:m}),n&&Xe(Ce,{})]}),Xe(Ne,{id:F,placeholder:x,value:N,role:"spinbutton",disabled:g,"aria-label":ee,"aria-describedby":ae,"aria-invalid":h?"true":void 0}),Xe(re,{valid:M,invalid:h,loading:C,disabled:g}),Xe(ue,{loading:C,disabled:g}),s&&Xe(xe,{loading:C,disabled:g,readonly:A,value:N}),b&&Za(wi,{children:[n&&Xe(Ce,{}),Xe(ke,{children:b})]}),c&&Xe(it,{className:"k-input-spinner",size:t,fillMode:a,disabled:g})]})};_.states=Sd;_.options=kd;_.className=_i;_.defaultOptions=Vo;_.moduleName=Ri;_.folderName=Ki;var Io=_;import{jsx as Cd}from"react/jsx-runtime";var Di=e=>Cd(Io,{...e});import en from"react";import{jsx as Hi}from"react/jsx-runtime";var gd="k-list-group-sticky-header",ja=e=>Hi("div",{className:r(gd,e.className),children:Hi("div",{className:"k-list-header-text",children:e.children})});import{jsx as yd}from"react/jsx-runtime";var Ed="k-no-data",$o=e=>{let{live:t,...o}=e;return yd("span",{...o,className:r(Ed,e.className),"aria-live":t?"polite":void 0,children:e.children})};var xt="list",Dt=xt;import{jsx as zi,jsxs as Ui}from"react/jsx-runtime";var tn="k-list",Td=[],Od={size:[l.undefined,l.small,l.medium,l.large]},Ad={},P=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:c,customValue:m,noData:b,screenReaders:N,...x}=e,p=en.Children.toArray(a)[0],M=p?.props?.children?en.Children.count(p.props.children):en.Children.count(a);return Ui("div",{...x,className:r(e.className,tn,k(tn,{size:t}),{"k-virtual-list":o}),children:[c,s,m,n&&zi(ja,{children:n}),a||(b!==void 0?b:zi($o,{live:!0,children:"No data found."})),N&&a&&Ui($o,{className:"k-sr-only",live:!0,children:[M," items found."]})]})};P.states=Td;P.options=Od;P.className=tn;P.defaultOptions=Ad;P.moduleName=xt;P.folderName=Dt;import{jsx as Kd}from"react/jsx-runtime";var Gi="k-list-container",Bd=[],Pd={},Rd={},Ht=e=>{let{...t}=e;return Kd("div",{...t,className:r(e.className,Gi),children:e.children})};Ht.states=Bd;Ht.options=Pd;Ht.className=Gi;Ht.defaultOptions=Rd;Ht.moduleName=xt;Ht.folderName=Dt;var Nt="checkbox",zt=Nt;import{jsx as Fi}from"react/jsx-runtime";var Xo="k-checkbox",wd=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],_d={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Dd={},he=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:c,invalid:m,valid:b,required:N,size:x,rounded:v,wrapperRole:p,...M}=e;return Fi("span",{className:"k-checkbox-wrap",role:p,children:Fi("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:c||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Xo,k(Xo,{size:x,rounded:v}),y(Xo,{hover:n,focus:s,disabled:c,invalid:m,valid:b,indeterminate:a,checked:o}))})})};he.states=wd;he.options=_d;he.className=Xo;he.defaultOptions=Dd;he.moduleName=Nt;he.folderName=zt;var we=he;import{jsx as Ud}from"react/jsx-runtime";var Vi="k-checkbox-list",Hd=[],zd={},$i={layout:"vertical"},le=e=>{let{layout:t=$i.layout,...o}=e;return Ud("ul",{...o,className:r(e.className,Vi,{[`k-list-${t}`]:t}),children:e.children})};le.states=Hd;le.options=zd;le.className=Vi;le.defaultOptions=$i;le.moduleName=Nt;le.folderName=zt;import{jsx as $d}from"react/jsx-runtime";var Xi="k-checkbox-list-item",Gd=[],Fd={},Vd={},de=e=>{let{...t}=e;return $d("li",{...t,className:r(e.className,Xi),children:e.children})};de.states=Gd;de.options=Fd;de.className=Xi;de.defaultOptions=Vd;de.moduleName=Nt;de.folderName=zt;import{Fragment as Xd,jsx as Ji,jsxs as Jd}from"react/jsx-runtime";var Je=({children:e="Label",id:t="cb-label-after",...o})=>Jd(Xd,{children:[Ji(we,{id:t,...o}),Ji("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as EM,jsx as gM,jsxs as yM}from"react/jsx-runtime";import{Fragment as PM,jsx as BM,jsxs as RM}from"react/jsx-runtime";import{Fragment as HM,jsx as DM,jsxs as zM}from"react/jsx-runtime";import{jsx as VM}from"react/jsx-runtime";import{jsx as WM}from"react/jsx-runtime";import{jsx as ZM}from"react/jsx-runtime";import{jsx as Oe,jsxs as Wi}from"react/jsx-runtime";var Wd=le.options,qd=le.states,Yd={...le.defaultOptions,variant:"vertical"},Qd=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Zd=[],Ut=e=>{let{variant:t,...o}=e;return t==="horizontal"?Wi(le,{layout:"horizontal",...o,children:[Oe(de,{children:Oe(Je,{id:K("cb"),defaultChecked:!0,children:"Label"})}),Oe(de,{children:Oe(Je,{id:K("cb"),children:"Label"})}),Oe(de,{children:Oe(Je,{id:K("cb"),children:"Label"})})]}):Wi(le,{...o,children:[Oe(de,{children:Oe(Je,{id:K("cb"),defaultChecked:!0,children:"Label"})}),Oe(de,{children:Oe(Je,{id:K("cb"),children:"Label"})}),Oe(de,{children:Oe(Je,{id:K("cb"),children:"Label"})})]})};Ut.options=Wd;Ut.states=qd;Ut.variants=Qd;Ut.defaultOptions=Yd;Ut.modifiers=Zd;Ut.className=le.className;import{jsx as nc}from"react/jsx-runtime";var jd=we.options,ec=we.states,tc=we.defaultOptions,oc=[],ac=[],Gt=e=>nc(Je,{id:K("checkbox"),...e,defaultChecked:!0,children:"Label"});Gt.options=jd;Gt.states=ec;Gt.variants=oc;Gt.defaultOptions=tc;Gt.modifiers=ac;Gt.className=we.className;import{jsx as Ft,jsxs as lc}from"react/jsx-runtime";var on="k-list-item",ic=[i.hover,i.focus,i.selected,i.disabled],rc={},sc={},T=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:s,hover:c,focus:m,selected:b,disabled:N,actions:x,description:v,id:p,...M}=e,h=t||e.children,I=t||(typeof h=="string"?h:void 0);return lc("li",{...M,id:p,role:"option",tabIndex:m?0:-1,"aria-selected":b?"true":"false","aria-disabled":N?"true":void 0,className:r(e.className,on,y(on,{hover:c,focus:m,disabled:N,selected:b})),children:[n&&Ft(he,{checked:s,disabled:N,"aria-label":I,tabIndex:-1}),o&&Ft("span",{className:"k-list-item-icon-wrapper",children:Ft(S,{icon:o,className:r("k-list-item-icon",a)})}),Ft("span",{className:"k-list-item-text",children:h}),x&&Ft("div",{className:"k-list-item-actions",children:x}),v&&Ft("span",{className:"k-list-item-description",children:v})]})};T.states=ic;T.options=rc;T.className=on;T.defaultOptions=sc;T.moduleName=xt;T.folderName=Dt;import{jsx as cc}from"react/jsx-runtime";var dc="k-list-ul",rt=e=>{let{children:t,role:o,id:a,...n}=e;return cc("ul",{...n,id:a,role:o,className:r(dc,e.className),children:t})};import{jsx as an,jsxs as mc}from"react/jsx-runtime";var pc="k-list-content",D=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...c}=e;return mc("div",{...c,className:r(pc,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:an(rt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&an("div",{className:"k-height-container",children:an("div",{})})]})};import{jsx as nn,jsxs as xc}from"react/jsx-runtime";var Jo="k-list-sticky-header",uc=[i.hover,i.focus,i.selected],fc={},bc={},Wo=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:c,selected:m,...b}=e;return nn("div",{...b,className:r(Jo,e.className),children:xc("div",{className:r(`${Jo}-item`,y(`${Jo}-item`,{hover:s,focus:c,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&nn(he,{checked:a,indeterminate:n,"aria-label":t}),nn("span",{className:"k-list-item-text",children:t})]})})};Wo.states=uc;Wo.options=fc;Wo.className=Jo;Wo.defaultOptions=bc;import{Fragment as XI,jsx as $I,jsxs as JI}from"react/jsx-runtime";import{jsx as ZI,jsxs as jI}from"react/jsx-runtime";import{jsx as vc}from"react/jsx-runtime";var rn="k-list-optionlabel",Nc=[i.hover,i.focus,i.selected,i.disabled],hc={},Lc={},qo=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...c}=e;return vc("div",{...c,className:r(rn,y(rn,{hover:o,focus:a,selected:n,disabled:s})),children:t})};qo.states=Nc;qo.options=hc;qo.className=rn;qo.defaultOptions=Lc;import{jsx as kc}from"react/jsx-runtime";var sn="k-list-custom-value",Mc=[i.hover,i.focus,i.selected,i.disabled],Ic={},Sc={},st=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...c}=e;return kc("div",{...c,className:r(sn,y(sn,{hover:o,focus:a,selected:n,disabled:s})),children:t})};st.states=Mc;st.options=Ic;st.className=sn;st.defaultOptions=Sc;import{Fragment as pS,jsx as cS,jsxs as mS}from"react/jsx-runtime";import{Fragment as hS,jsx as NS,jsxs as LS}from"react/jsx-runtime";import{Fragment as gS,jsx as kS,jsxs as CS}from"react/jsx-runtime";import{Fragment as PS,jsx as AS,jsxs as BS}from"react/jsx-runtime";import{jsx as _S}from"react/jsx-runtime";import{Fragment as FS,jsx as GS,jsxs as VS}from"react/jsx-runtime";import{Fragment as YS,jsx as qS,jsxs as QS}from"react/jsx-runtime";var qi="dropdown-list",Yi="dropdownlist";import{Fragment as Ec,jsx as ce,jsxs as ln}from"react/jsx-runtime";var Qi="k-dropdownlist",Cc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gc={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},dn={showValue:!0,arrowIconName:"chevron-down"},Y=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=dn.arrowIconName,showValue:s=dn.showValue,valueIconName:c,prefix:m,suffix:b,value:N,placeholder:x,hover:v,focus:p,valid:M,invalid:h,required:I,loading:C,disabled:g,readonly:A,popup:F,opened:ee,adaptive:ae,adaptiveSettings:ne,adaptiveTitle:ie,adaptiveSubtitle:ut,adaptiveFilter:la,id:Qe,activeDescendant:Bo,"aria-label":da,...ca}=e,Jr=Qe?`${Qe}-listbox`:void 0,An=Qe?`${Qe}-value`:void 0;return ln(Ec,{children:[ln(De,{...ca,id:Qe,size:t,rounded:o,fillMode:a,hover:v,focus:p,valid:M,invalid:h,required:I,loading:C,disabled:g,readonly:A,className:r(e.className,Qi,{"k-icon-picker":!s&&c}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ee?"true":"false","aria-controls":ee?Jr:void 0,"aria-activedescendant":ee&&Bo?Bo:void 0,"aria-describedby":ee?An:void 0,"aria-disabled":g?"true":void 0,"aria-label":da,tabIndex:0,children:[ce(Se,{children:m}),ce(bt,{placeholder:x,value:N,showValue:s,valueIconName:c,id:An}),ce(re,{valid:M,invalid:h,loading:C,disabled:g}),ce(ue,{loading:C,disabled:g}),ce(ke,{children:b}),ce(d,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),ee&&F&&ce(U,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:F}),ae&&ce($,{adaptive:!0,...ne,header:ce(se,{actionsEnd:ce(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:la,inputValue:N,inputPlaceholder:x,title:ie,subtitle:ut}),children:ce("div",{className:"k-list-container",children:ce(P,{size:"large",children:ln(D,{"aria-label":"Options",children:[ce(T,{text:"List item"}),ce(T,{text:"List item"}),ce(T,{text:"List item"})]})})})})]})};Y.states=Cc;Y.options=gc;Y.className=Qi;Y.defaultOptions=dn;Y.moduleName=qi;Y.folderName=Yi;import{jsx as Bk}from"react/jsx-runtime";import{jsx as Dk,jsxs as Hk}from"react/jsx-runtime";import{Fragment as Wk,jsx as Xk,jsxs as Jk}from"react/jsx-runtime";import{jsx as jk}from"react/jsx-runtime";import{jsx as iC,jsxs as rC}from"react/jsx-runtime";import{Fragment as bC,jsx as uC,jsxs as fC}from"react/jsx-runtime";import{jsx as vC}from"react/jsx-runtime";import{Fragment as Pc,jsx as lt,jsxs as Zi}from"react/jsx-runtime";var yc=Y.states,Tc=Y.defaultOptions,Oc=Y.options,Ac=[{name:"opened",title:"Opened"}],Bc=[],$t=e=>{let{modifiers:t,...o}=e,a={},n=Zi(Pc,{children:[lt("div",{className:"k-list-filter",children:lt(ge,{})}),lt(P,{style:{width:300},size:o.size,children:Zi(D,{children:[lt(T,{children:"List item"}),lt(T,{children:"List item"}),lt(T,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),lt("div",{children:lt(Y,{placeholder:"Value",style:{width:300},...o,...a})})};$t.options=Oc;$t.states=yc;$t.variants=Bc;$t.defaultOptions=Tc;$t.modifiers=Ac;$t.className=Y.className;import{Fragment as GC,jsx as UC}from"react/jsx-runtime";import{Fragment as WC,jsx as JC}from"react/jsx-runtime";import{jsx as ZC}from"react/jsx-runtime";import{jsx as cn}from"react/jsx-runtime";var Rc=_.states,Kc=_.defaultOptions,wc=_.options,_c=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Dc=[],Xt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?cn(Y,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?cn(Ea,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),cn(Di,{value:"Value",style:{width:300},...o,...a})};Xt.options=wc;Xt.states=Rc;Xt.variants=Dc;Xt.defaultOptions=Kc;Xt.modifiers=_c;Xt.className=_.className;import{Fragment as ko,jsx as B,jsxs as X}from"react/jsx-runtime";var ji="k-colorgradient-inputs",Hc=[],zc={size:[l.undefined,l.small,l.medium,l.large]},er={mode:"rgba"},Jt=e=>{let{mode:t=er.mode,size:o,...a}=e;return X("div",{...a,className:r(ji,"k-hstack"),children:[B("div",{className:"k-vstack",children:B(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&X(ko,{children:[X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),B("label",{className:"k-colorgradient-input-label",children:"R"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),B("label",{className:"k-colorgradient-input-label",children:"G"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),B("label",{className:"k-colorgradient-input-label",children:"B"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),B("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&X(ko,{children:[X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),B("label",{className:"k-colorgradient-input-label",children:"R"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),B("label",{className:"k-colorgradient-input-label",children:"G"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),B("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&X(ko,{children:[X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),B("label",{className:"k-colorgradient-input-label",children:"H"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),B("label",{className:"k-colorgradient-input-label",children:"S"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),B("label",{className:"k-colorgradient-input-label",children:"V"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),B("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&X(ko,{children:[X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),B("label",{className:"k-colorgradient-input-label",children:"H"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),B("label",{className:"k-colorgradient-input-label",children:"S"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),B("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&B(ko,{children:X("div",{className:"k-vstack k-flex-1",children:[B(te,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),B("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Jt.states=Hc;Jt.options=zc;Jt.className=ji;Jt.defaultOptions=er;import{jsx as ht,jsxs as Lt}from"react/jsx-runtime";var tr="k-colorgradient-color-contrast",Uc=[],Gc={},Fc={},Wt=()=>Lt("div",{className:r(tr,"k-vbox"),children:[Lt("div",{className:"k-contrast-ratio",children:[ht("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Lt("span",{className:"k-contrast-validation !k-text-success",children:[ht(S,{icon:"check"}),ht(S,{icon:"check"})]})]}),Lt("div",{children:[ht("span",{children:"AA: 4.5"}),Lt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",ht(S,{icon:"check"})]})]}),Lt("div",{children:[ht("span",{children:"AAA: 7.0"}),Lt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",ht(S,{icon:"x"})]})]})]});Wt.states=Uc;Wt.options=Gc;Wt.className=tr;Wt.defaultOptions=Fc;var or="color-gradient",ar="colorgradient";import{jsx as Ae,jsxs as Co}from"react/jsx-runtime";var Yo="k-colorgradient",Vc=[i.hover,i.focus,i.readonly,i.disabled],$c={size:[l.undefined,l.small,l.medium,l.large]},Fe={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"},Z=e=>{let{size:t,mode:o=Fe.mode,readonly:a=Fe.readonly,disabled:n=Fe.disabled,gradientStyle:s=Fe.gradientStyle,dragHandleStyle:c=Fe.dragHandleStyle,alphaStyle:m=Fe.alphaStyle,alphaStyleHorizontal:b=Fe.alphaStyleHorizontal,contrast:N=Fe.contrast,dir:x,hover:v,focus:p,hoverHandle:M,focusHandle:h,canvasOrientation:I=Fe.canvasOrientation,role:C,tabIndex:g,...A}=e;return Co("div",{...A,role:C??"textbox","aria-label":C==="none"?void 0:"Color gradient",tabIndex:g??0,"aria-disabled":n?"true":void 0,className:r(e.className,Yo,k(Yo,{size:t}),y(Yo,{hover:v,focus:p,readonly:a,disabled:n})),dir:x,children:[!I||I==="horizontal"&&Co("div",{className:"k-colorgradient-canvas k-hstack",children:[Ae("div",{className:"k-hsv-rectangle",style:s,children:Ae("div",{className:"k-hsv-gradient",children:Ae("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":h}),style:c,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})})}),Co("div",{className:"k-hsv-controls k-hstack",children:[Ae(Ya,{className:"k-hue-slider",hover:M,focus:h}),o!=="rgb"&&o!=="hsv"&&Ae(Ya,{className:"k-alpha-slider",hover:M,focus:h,trackStyle:m})]})]}),I==="vertical"&&Co("div",{className:"k-colorgradient-canvas k-vstack",children:[Ae("div",{className:"k-hsv-rectangle",style:s,children:Ae("div",{className:"k-hsv-gradient",children:Ae("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":h}),style:c,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})})}),Co("div",{className:"k-hsv-controls k-vstack",children:[Ae(qa,{className:"k-hue-slider",hover:M,focus:h}),o!=="rgb"&&o!=="hsv"&&Ae(qa,{className:"k-alpha-slider",hover:M,focus:h,trackStyle:b})]})]}),Ae(Jt,{mode:e.mode,size:t}),N&&Ae(Wt,{})]})};Z.states=Vc;Z.options=$c;Z.className=Yo;Z.defaultOptions=Fe;Z.moduleName=or;Z.folderName=ar;import{jsx as Xc}from"react/jsx-runtime";var Qo=e=>Xc(Z,{...e});import{jsx as _g}from"react/jsx-runtime";import{jsx as Ug}from"react/jsx-runtime";import{jsx as pn}from"react/jsx-runtime";var Jc=Z.options,Wc=Z.states,qc={...Z.defaultOptions,variant:"rgba"},Yc=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Qc=[],qt=e=>{let{variant:t,...o}=e;switch(t){case"hex":return pn(Qo,{...o,mode:t});case"rgb":return pn(Qo,{...o,mode:t});default:return pn(Qo,{...o,mode:t})}};qt.options=Jc;qt.states=Wc;qt.variants=Yc;qt.defaultOptions=qc;qt.modifiers=Qc;qt.className=Z.className;import{jsx as Zc}from"react/jsx-runtime";var mn=e=>Zc("tr",{role:"row",children:e.children});import{jsx as tp}from"react/jsx-runtime";var un="k-colorpalette-tile",jc=[i.hover,i.focus,i.selected],ep={},dt=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...c}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return tp("td",{...c,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,un,y(un,{hover:a,focus:n,selected:s})),style:m})};dt.states=jc;dt.options=ep;dt.className=un;dt.moduleName=null;dt.folderName=null;var nr="color-palette",ir="colorpalette";import{jsx as go}from"react/jsx-runtime";var Zo="k-colorpalette",op=[i.disabled],ap={size:[l.undefined,l.small,l.medium,l.large]},rr={columns:10},fe=e=>{let{size:t,palette:o,columns:a=rr.columns,tileSize:n,disabled:s,...c}=e,m=[];if(o){let b=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/b)},(x,v)=>{let p=[];N.slice(v*b,(v+1)*b).map((h,I)=>{p.push(go(dt,{color:h,tileSize:n},I))});let M=go(mn,{children:p},v);m.push(M)})}return go("div",{...c,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,Zo,y(Zo,{disabled:s}),k(Zo,{size:t})),children:go("table",{className:"k-colorpalette-table",role:"none",children:go("tbody",{children:m.length>0?m:e.children})})})};fe.states=op;fe.options=ap;fe.className=Zo;fe.defaultOptions=rr;fe.moduleName=nr;fe.folderName=ir;var jo=fe;var Eo={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}};import{jsx as np}from"react/jsx-runtime";var sr=e=>np(jo,{palette:Eo.basic,...e});import{jsx as IE}from"react/jsx-runtime";import{jsx as yE,jsxs as TE}from"react/jsx-runtime";import{jsx as pp}from"react/jsx-runtime";var ip=fe.options,rp=fe.states,sp={...fe.defaultOptions,variant:"basic"},lp=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],dp={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}},cp=[],Yt=e=>{let{variant:t="basic",...o}=e,a=dp[t];return pp(sr,{columns:a.columns,palette:a,...o})};Yt.options=ip;Yt.states=rp;Yt.variants=lp;Yt.defaultOptions=sp;Yt.modifiers=cp;Yt.className=fe.className;var lr="color-editor",dr="coloreditor";import{jsx as Be,jsxs as Qt}from"react/jsx-runtime";var ea="k-coloreditor",mp=[i.focus],up={size:[l.undefined,l.small,l.medium,l.large]},yo={view:"gradient",palette:Eo.office,actionButtons:!0,canvasOrientation:"horizontal"},J=e=>{let{size:t,view:o=yo.view,palette:a=yo.palette,color:n,currentColor:s,focus:c,focusView:m,dir:b,group:N,actionButtons:x=yo.actionButtons,canvasOrientation:v=yo.canvasOrientation,...p}=e;return Qt("div",{...p,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",ea,k(ea,{size:t}),y(ea,{focus:c})),dir:b,children:[Qt("div",{className:"k-coloreditor-header k-hstack",children:[Be("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Qt(O,{fillMode:"flat",children:[Be(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),Be(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),Be("div",{className:"k-spacer"}),Qt("div",{className:"k-coloreditor-header-actions k-hstack",children:[Be(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Qt("div",{className:"k-coloreditor-preview k-vstack",children:[Be(je,{className:"k-coloreditor-preview-color",color:n}),Be(je,{className:"k-coloreditor-current-color",color:s})]})]})]}),Be("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Be(Z,{focus:m,size:t,canvasOrientation:v,role:"none",tabIndex:-1}):Be(fe,{palette:a,size:t})}),x&&Qt(Ue,{className:"k-coloreditor-footer",alignment:"start",children:[Be(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Be(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};J.states=mp;J.options=up;J.className=ea;J.defaultOptions=yo;J.moduleName=lr;J.folderName=dr;var Zt=J;import{jsx as ny}from"react/jsx-runtime";import{jsx as ly}from"react/jsx-runtime";import{jsx as fp}from"react/jsx-runtime";var cr=e=>fp(Zt,{group:!0,currentColor:"fuchsia",...e});import{jsx as bp}from"react/jsx-runtime";var pr=e=>bp(Zt,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as mr}from"react/jsx-runtime";var xp=J.options,Np=J.states,hp={...J.defaultOptions,variant:"gradient"},Lp=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],vp=[],jt=e=>{let{variant:t,...o}=e;return t==="palette"?mr(pr,{...o,color:"white"}):mr(cr,{...o,color:"rgba(183, 118 , 118, 1.00)"})};jt.options=xp;jt.states=Np;jt.variants=Lp;jt.defaultOptions=hp;jt.modifiers=vp;jt.className=J.className;var ur="color-picker",fr="colorpicker";import{Fragment as Sp,jsx as Pe,jsxs as fn}from"react/jsx-runtime";var br="k-colorpicker",Mp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Ip={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},xr={arrowIconName:"chevron-down"},Re=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=xr.arrowIconName,prefix:s,suffix:c,value:m,placeholder:b,hover:N,focus:x,valid:v,invalid:p,required:M,disabled:h,valueIconName:I,popup:C,opened:g,adaptive:A,adaptiveSettings:F,adaptiveTitle:ee,adaptiveSubtitle:ae,...ne}=e,ie="colorpicker-popup";return fn(Sp,{children:[fn(De,{...ne,size:t,rounded:o,fillMode:a,hover:N,focus:x,valid:v,invalid:p,required:M,disabled:h,role:"combobox","aria-haspopup":"dialog","aria-expanded":g?"true":"false","aria-controls":g||A?ie:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":h?"true":void 0,className:r(e.className,br,"k-icon-picker"),children:[Pe(Se,{children:s}),Pe(bt,{placeholder:b,value:m,showValue:!1,valueIcon:Pe(je,{className:"k-value-icon",color:m,iconName:I}),valueIconName:I}),Pe(ke,{children:c}),Pe(d,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:h})]}),g&&C&&Pe(U,{id:ie,className:"k-colorpicker-popup",children:C}),A&&Pe($,{adaptive:!0,id:ie,...F,header:Pe(se,{actionsEnd:Pe(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ee,subtitle:ae}),footer:fn(et,{children:[Pe(d,{text:"Cancel",size:"large"}),Pe(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:Pe(J,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Re.states=Mp;Re.options=Ip;Re.className=br;Re.defaultOptions=xr;Re.moduleName=ur;Re.folderName=fr;var We=Re;import{jsx as kp}from"react/jsx-runtime";var ta=e=>kp(We,{...e});import{jsx as $y}from"react/jsx-runtime";import{jsx as Yy}from"react/jsx-runtime";import{jsx as eT}from"react/jsx-runtime";import{jsx as nT}from"react/jsx-runtime";import{jsx as lT}from"react/jsx-runtime";import{jsx as mT}from"react/jsx-runtime";import{jsx as vt}from"react/jsx-runtime";var Cp=We.options,gp=We.states,Nr={...We.defaultOptions,variant:"color"},Ep=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],yp=[{name:"opened",title:"Opened"}],eo=e=>{let{variant:t,modifiers:o,...a}={...Nr,...e},n={};Object.keys(o||{}).forEach(c=>{c==="opened"&&(n.opened=!!o?.[c],n.popup=o?.[c]?vt(J,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return vt("div",{style:s,children:vt(ta,{...a,...n})});case"icon":return vt("div",{style:s,children:vt(ta,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return vt("div",{style:s,children:vt(ta,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};eo.options=Cp;eo.states=gp;eo.variants=Ep;eo.defaultOptions=Nr;eo.modifiers=yp;eo.className=We.className;var bn="combobox",hr=bn;import{Fragment as xn,jsx as W,jsxs as To}from"react/jsx-runtime";var Lr="k-combobox",Tp=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Op={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},vr={separators:!0},pe=e=>{let{size:t,rounded:o,fillMode:a,separators:n=vr.separators,prefix:s,suffix:c,value:m,placeholder:b,hover:N,focus:x,valid:v,invalid:p,required:M,loading:h,disabled:I,popup:C,opened:g,readonly:A,adaptive:F,adaptiveSettings:ee,adaptiveTitle:ae,adaptiveSubtitle:ne,adaptiveCustomValue:ie,id:ut,autocomplete:la,activeDescendant:Qe,"aria-label":Bo,...da}=e,ca=ut?`${ut}-listbox`:void 0;return To(xn,{children:[To(V,{...da,size:t,rounded:o,fillMode:a,hover:N,focus:x,valid:v,invalid:p,required:M,loading:h,disabled:I,readonly:A,className:r(e.className,Lr),children:[s&&To(xn,{children:[W(Se,{children:s}),n&&W(Ce,{})]}),W(Ne,{id:ut,placeholder:b,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":g?"true":"false","aria-controls":g?ca:void 0,"aria-activedescendant":g&&Qe?Qe:void 0,"aria-autocomplete":la,"aria-invalid":p?"true":void 0,"aria-busy":h?"true":void 0,"aria-label":Bo,disabled:I,readOnly:A}),W(re,{valid:v,invalid:p,loading:h,disabled:I}),W(ue,{loading:h,disabled:I}),W(xe,{loading:h,disabled:I,readonly:A,value:m}),c&&To(xn,{children:[n&&W(Ce,{}),W(ke,{children:c})]}),W(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:I})]}),g&&C&&W(U,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:C}),F&&W($,{adaptive:!0,id:ut?`${ut}-adaptive`:void 0,...ee,header:W(se,{actionsEnd:W(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:b,title:ae,subtitle:ne}),children:W("div",{className:"k-list-container",children:W(P,{customValue:ie?W(st,{text:`Use "${m}"`}):void 0,size:"large",children:To(D,{"aria-label":ae||"Options",children:[W(T,{text:"List item"}),W(T,{text:"List item"}),W(T,{text:"List item"})]})})})})]})};pe.states=Tp;pe.options=Op;pe.className=Lr;pe.defaultOptions=vr;pe.moduleName=bn;pe.folderName=hr;var Le=pe;import{jsx as Ap}from"react/jsx-runtime";var Mr=e=>Ap(Le,{...e});import{jsx as WT,jsxs as qT}from"react/jsx-runtime";import{jsx as tO,jsxs as oO}from"react/jsx-runtime";import{jsx as lO,jsxs as dO}from"react/jsx-runtime";import{Fragment as bO,jsx as fO}from"react/jsx-runtime";import{Fragment as MO,jsx as vO}from"react/jsx-runtime";import{jsx as EO,jsxs as yO}from"react/jsx-runtime";import{Fragment as wO,jsx as RO,jsxs as KO}from"react/jsx-runtime";import{jsx as zO}from"react/jsx-runtime";import{jsx as VO}from"react/jsx-runtime";import{jsx as YO,jsxs as QO}from"react/jsx-runtime";import{jsx as aA,jsxs as nA}from"react/jsx-runtime";import{jsx as ct,jsxs as _p}from"react/jsx-runtime";var Bp=pe.states,Pp=pe.defaultOptions,Rp=pe.options,Kp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],wp=[],to=e=>{let{modifiers:t,...o}=e,a={},n=ct(P,{style:{width:300},size:o.size,children:_p(D,{children:[ct(T,{children:"List item"}),ct(T,{children:"List item"}),ct(T,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?ct(S,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?ct(Ze,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0;break;default:break}}),ct("div",{children:ct(Mr,{value:"Value",style:{width:300},...o,...a})})};to.options=Rp;to.states=Bp;to.variants=wp;to.defaultOptions=Pp;to.modifiers=Kp;to.className=pe.className;var Nn="menu-button",Ir=Nn;import{jsx as zp}from"react/jsx-runtime";var Sr="k-menu-button",Dp=[i.hover,i.focus,i.active,i.selected,i.disabled],Hp={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline,u.clear,u.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},hn={showArrow:!0,arrowIconName:"chevron-down"},H=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:m,selected:b,disabled:N,icon:x,text:v,showArrow:p=hn.showArrow,arrowIconName:M=hn.arrowIconName,expanded:h,...I}=e;return zp(d,{...I,className:r(e.className,Sr),text:v,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:m,selected:b,disabled:N,ariaDisabled:N||void 0,icon:x,showArrow:p,arrowIconName:M,"aria-expanded":h?"true":"false",...!v&&x&&!e["aria-label"]&&{"aria-label":"Menu"}})};H.states=Dp;H.options=Hp;H.className=Sr;H.defaultOptions=hn;H.moduleName=Nn;H.folderName=Ir;import{jsx as _A}from"react/jsx-runtime";import{jsx as UA}from"react/jsx-runtime";import{jsx as $A}from"react/jsx-runtime";var ve="menu",Ke=ve;import{jsx as Oo,jsxs as kr}from"react/jsx-runtime";var Ln="k-menu-item",Up=[i.hover,i.focus,i.active,i.selected,i.disabled],Gp={},Cr={iconPosition:"before"},oe=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:c,text:m,showArrow:b,arrowIconName:N,iconPosition:x=Cr.iconPosition,dir:v,children:p,expanded:M,...h}=e,I=N;return I||(I=v==="rtl"?"chevron-left":"chevron-right"),kr("li",{...h,className:r(e.className,Ln,"k-item",y(Ln,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":M?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[kr("span",{className:r("k-link k-menu-link"),children:[c&&x==="before"&&Oo(S,{className:"k-menu-link-icon",icon:c}),Oo("span",{className:"k-menu-link-text",children:m}),c&&x==="after"&&Oo(S,{className:"k-menu-link-icon",icon:c}),b&&Oo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Oo(S,{icon:I})})]}),p]})};oe.states=Up;oe.options=Gp;oe.className=Ln;oe.defaultOptions=Cr;oe.moduleName=ve;oe.folderName=Ke;import{jsx as Mt,jsxs as gr}from"react/jsx-runtime";var vn="k-menu-item",Fp=[i.hover,i.focus,i.active,i.selected,i.disabled],Vp={},Mn={dir:"ltr",iconPosition:"before"},G=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:c,text:m,showArrow:b,arrowIconName:N,iconPosition:x=Mn.iconPosition,dir:v=Mn.dir,children:p,popup:M,expanded:h,actions:I,description:C,...g}=e,A=N;return A||(A=v==="rtl"?"chevron-left":"chevron-right"),gr("li",{role:"menuitem",...g,className:r(e.className,vn,"k-item",y(vn,{focus:o,disabled:s})),...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":h?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[gr("span",{className:r("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[c&&x==="before"&&Mt(S,{className:"k-menu-link-icon",icon:c}),Mt("span",{className:"k-menu-link-text",children:m}),c&&x==="after"&&Mt(S,{className:"k-menu-link-icon",icon:c}),I&&Mt("span",{className:"k-menu-link-actions",children:I}),b&&Mt("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Mt(S,{icon:A})}),C&&Mt("span",{className:"k-menu-link-description",children:C})]}),p,M]})};G.states=Fp;G.options=Vp;G.className=vn;G.defaultOptions=Mn;G.moduleName=ve;G.folderName=Ke;import{jsx as Wp}from"react/jsx-runtime";var Er="k-menu-scroll-wrapper",$p=[],Xp={},Jp={},It=e=>{let{className:t,children:o,orientation:a,...n}=e;return Wp("div",{...n,className:r(t,Er,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};It.states=$p;It.options=Xp;It.className=Er;It.defaultOptions=Jp;It.moduleName=ve;It.folderName=Ke;var yr=It;import{Fragment as In,jsx as St,jsxs as aa}from"react/jsx-runtime";var na="k-menu",qp=[],Yp={size:[l.undefined,l.small,l.medium,l.large]},ia={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},j=e=>{let{children:t,orientation:o=ia.orientation,header:a=ia.header,scrollable:n,scrollButtonsPosition:s=ia.scrollButtonsPosition,wrapperStyles:c,dir:m,size:b,popup:N,contextMenu:x,...v}=e,p={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},M=St("ul",{dir:m,...v,className:r(e.className,"k-reset",na,{[`${na}-${o}`]:o,"k-header":a},k(na,{size:b})),role:x?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return aa(In,{children:[n?aa(yr,{orientation:o,style:c,dir:e.dir,children:[s==="start"&&aa(In,{children:[St(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${p[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),St(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${p[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&St(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${p[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),M,s==="end"&&aa(In,{children:[St(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${p[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),St(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${p[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&St(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${p[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):M,N]})};j.states=qp;j.options=Yp;j.className=na;j.defaultOptions=ia;j.moduleName=ve;j.folderName=Ke;import{jsx as Qp}from"react/jsx-runtime";var Sn="k-separator",Tr={orientation:"horizontal"},oo=e=>{let{orientation:t=Tr.orientation,...o}=e;return Qp("li",{...o,className:r(e.className,"k-item",Sn,{[`${Sn}-${t}`]:t}),role:"separator"})};oo.className=Sn;oo.defaultOptions=Tr;oo.moduleName=ve;oo.folderName=Ke;import{Fragment as v0,jsx as M0}from"react/jsx-runtime";import{jsx as tm}from"react/jsx-runtime";var kn="k-menu-group",Zp=[],jp={size:[l.undefined,l.small,l.medium,l.large]},em={},me=e=>{let{children:t,size:o,...a}=e;return tm("ul",{role:"menu",...a,className:r(e.className,kn,k(kn,{size:o})),children:t})};me.states=Zp;me.options=jp;me.className=kn;me.defaultOptions=em;me.moduleName=ve;me.folderName=Ke;import{jsx as O0,jsxs as A0}from"react/jsx-runtime";import{Fragment as om,jsx as ao,jsxs as am}from"react/jsx-runtime";var Cn=e=>ao(j,{children:am(om,{children:[ao(oe,{text:"Item 1"}),ao(oe,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),ao(oe,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),ao(oe,{text:"Item 4"}),ao(oe,{text:"Item 5"})]}),...e});import{Fragment as U0,jsx as H0,jsxs as z0}from"react/jsx-runtime";import{Fragment as X0,jsx as $0,jsxs as J0}from"react/jsx-runtime";import{Fragment as Z0,jsx as Q0,jsxs as j0}from"react/jsx-runtime";import{Fragment as nB,jsx as aB,jsxs as iB}from"react/jsx-runtime";import{jsx as kt,jsxs as lm}from"react/jsx-runtime";var nm={...j.options,scrollable:{type:"boolean"}},im=j.states,Or={...j.defaultOptions,variant:"horizontal"},rm=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],sm=[{name:"opened",title:"Opened"}],no=e=>{let{variant:t,modifiers:o,...a}={...Or,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(c=>{c==="opened"&&(n.opened=!!o?.[c],n.popup=o?.[c]?kt(U,{className:"k-menu-popup",offset:s,children:lm(me,{children:[kt(G,{text:"Item 1"}),kt(G,{text:"Item 2"}),kt(oo,{}),kt(G,{text:"Item 3"})]})}):null)}),t==="vertical"?kt(Cn,{...a,...n,orientation:"vertical",style:{width:"200px"}}):kt(Cn,{...a,...n})};no.options=nm;no.states=im;no.variants=rm;no.defaultOptions=Or;no.modifiers=sm;no.className=j.className;import{Fragment as DB,jsx as wB,jsxs as _B}from"react/jsx-runtime";import{jsx as GB}from"react/jsx-runtime";import{Fragment as um,jsx as Ve,jsxs as Ar}from"react/jsx-runtime";var dm=d.states,Br={...d.defaultOptions,variant:"text"},cm=d.options,pm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],mm=[{name:"opened",title:"Opened"}],io=e=>{let{variant:t,modifiers:o,...a}={...Br,...e},n={},s=Ve(U,{className:"k-menu-popup",children:Ar(me,{size:a.size,children:[Ve(G,{text:"Menu Item"}),Ve(G,{text:"Menu Item"}),Ve(G,{text:"Menu Item"})]})}),c;switch(t){case"icon-only":c=Ve("div",{children:Ve(H,{...a,...n,icon:"star"})});break;case"icon-and-text":c=Ve("div",{children:Ve(H,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:c=Ve("div",{children:Ve(H,{...a,...n,children:"Dropdown Button"})});break}return Ar(um,{children:[c,o?.opened&&s]})};io.options=cm;io.states=dm;io.variants=pm;io.defaultOptions=Br;io.modifiers=mm;io.className=H.className;var gn="split-button",Pr=gn;import{Fragment as xm,jsx as En,jsxs as Rr}from"react/jsx-runtime";var yn="k-split-button",fm=[i.hover,i.focus,i.active,i.selected,i.disabled],bm={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline,u.clear,u.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Kr={arrowIconName:"chevron-down"},w=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:m,selected:b,disabled:N,icon:x,text:v,arrowIconName:p=Kr.arrowIconName,popup:M,opened:h,popupId:I,...C}=e;return Rr(xm,{children:[Rr("div",{...C,className:r(e.className,yn,"k-button-group",k(yn,{rounded:o})),children:[En(d,{text:v,icon:x,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:m,selected:b,disabled:N,...!v&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),En(d,{className:"k-split-button-arrow",icon:p,size:t,rounded:o,fillMode:a,disabled:N,ariaDisabled:N||void 0,"aria-label":"Toggle dropdown","aria-expanded":h?"true":"false","aria-controls":h?I:void 0,tabIndex:-1})]}),h&&M&&En(U,{className:"k-menu-popup",children:M})]})};w.states=fm;w.options=bm;w.className=yn;w.defaultOptions=Kr;w.moduleName=gn;w.folderName=Pr;var Tn=w;import{jsx as hm}from"react/jsx-runtime";var Nm="k-toolbar-separator",pt=e=>hm("div",{className:r(Nm,e.className,"k-separator")});var Ao="toolbar",ra=Ao;import{Fragment as On,jsx as R,jsxs as ro}from"react/jsx-runtime";var qe="k-toolbar",Lm=[i.focus],vm={size:[l.undefined,l.small,l.medium,l.large],fillMode:[u.undefined,u.solid,u.outline,u.flat]},Mm={scrollButtons:"around"},q=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:c,scrollingPosition:m,section:b,...N}=e,x=[],v=(p,M)=>{let h=[];if(p.type===d&&p.props.className&&p.props.className.includes("k-toolbar-overflow-button"))h.push(R(d,{...p.props,className:`${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`));else if(p.type===d)h.push(R(d,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`));else if(p.type===uo)h.push(R(uo,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`));else if(p.type===Ze)h.push(R(Ze,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`));else if(p.type===H)h.push(R(H,{...p.props,className:`k-toolbar-menu-button ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`));else if(p.type===Tn)h.push(R(Tn,{...p.props,className:`k-toolbar-split-button ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`));else if(p.type===O||p.props.className&&p.props.className.includes("k-button-group")){let I=[];(Array.isArray(p.props.children)?p.props.children:[p.props.children]).forEach((g,A)=>{I.push(R(d,{...g.props,className:`${g.props.className?g.props.className:""}`},`${A}-${new Date().getTime()}`))}),h.push(R(O,{...p.props,className:`k-toolbar-button-group ${p.props.className?p.props.className:""}`,children:I},`${M}-${new Date().getTime()}`))}else p.type===pe?h.push(R(pe,{...p.props,className:`k-toolbar-combobox ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`)):p.type===Y?h.push(R(Y,{...p.props,className:`k-toolbar-dropdownlist ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`)):p.type===Re?h.push(R(Re,{...p.props,className:`k-toolbar-colorpicker ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`)):h.push(p);h.forEach(I=>{x.push(I)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((M,h)=>{v(M,h)}),ro("div",{...N,className:r(e.className,qe,k(qe,{size:t,fillMode:o}),y(qe,{focus:a}),{[`${qe}-resizable`]:n,[`${qe}-scrollable`]:s,[`${qe}-scrollable-overlay`]:s&&c==="hidden",[`${qe}-scrollable-${m}`]:m&&m!=="both",[`${qe}-section`]:b}),role:"toolbar","aria-label":"Toolbar",children:[!s&&x,s&&c==="hidden"&&R("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),s&&c==="start"&&ro(On,{children:[ro(O,{children:[R("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:R(S,{className:"k-button-icon",icon:"chevron-left"})}),R("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:R(S,{className:"k-button-icon",icon:"chevron-right"})})]}),R(pt,{className:"k-toolbar-button-separator"}),R("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),s&&c==="end"&&ro(On,{children:[R("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),R(pt,{className:"k-toolbar-button-separator"}),ro(O,{children:[R("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:R(S,{className:"k-button-icon",icon:"chevron-left"})}),R("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:R(S,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(c==="around"||!c)&&ro(On,{children:[R("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:R(S,{className:"k-button-icon",icon:"chevron-left"})}),R(pt,{className:"k-toolbar-button-separator"}),R("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),R(pt,{className:"k-toolbar-button-separator"}),R("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:R(S,{className:"k-button-icon",icon:"chevron-right"})})]})]})};q.states=Lm;q.options=vm;q.className=qe;q.defaultOptions=Mm;q.moduleName=Ao;q.folderName=ra;import{jsx as BP}from"react/jsx-runtime";import{jsx as wP}from"react/jsx-runtime";import{jsx as zP}from"react/jsx-runtime";import{jsx as XP,jsxs as JP}from"react/jsx-runtime";import{jsx as QP}from"react/jsx-runtime";import{jsx as Ye,jsxs as gm}from"react/jsx-runtime";var Im=w.states,wr={...w.defaultOptions,variant:"text"},Sm=w.options,km=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Cm=[{name:"opened",title:"Opened"}],so=e=>{let{variant:t,modifiers:o,...a}={...wr,...e},n={},s=gm(me,{size:a.size,children:[Ye(G,{text:"Menu Item"}),Ye(G,{text:"Menu Item"}),Ye(G,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(c=>{c==="opened"&&(n.opened=!!o?.[c],n.popup=o?.[c]?s:"")}),t){case"icon-only":return Ye("div",{children:Ye(w,{...a,...n,icon:"star"})});case"icon-and-text":return Ye("div",{children:Ye(w,{...a,...n,icon:"star",children:"Split Button"})});default:return Ye("div",{children:Ye(w,{...a,...n,children:"Split Button"})})}};so.options=Sm;so.states=Im;so.variants=km;so.defaultOptions=wr;so.modifiers=Cm;so.className=w.className;import{jsx as _r}from"react/jsx-runtime";var Dr="k-toolbar-popup",Em=[],ym={size:[l.undefined,l.small,l.medium,l.large],fillMode:[u.undefined,u.solid,u.outline,u.flat]},Tm={},Ct=e=>{let{size:t,fillMode:o,section:a,...n}=e;return _r(U,{...n,className:r(e.className,Dr),children:a?_r("span",{className:r("k-toolbar-items-list",k("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Ct.states=Em;Ct.options=ym;Ct.className=Dr;Ct.defaultOptions=Tm;Ct.moduleName=Ao;Ct.folderName=ra;var Hr=Ct;import{Fragment as Om,jsx as be,jsxs as sa}from"react/jsx-runtime";var zr=({fillMode:e,size:t,...o})=>sa(Om,{children:[be(q,{section:!0,fillMode:e,size:t,children:[be(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),sa(O,{fillMode:e,children:[be(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),be(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),be(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),be(pt,{className:"k-toolbar-button-separator"}),be(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),sa(Hr,{size:t,fillMode:e,section:!0,...o,children:[be(w,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),be(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),be(pt,{}),be(H,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),sa(O,{fillMode:e,children:[be(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),be(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),be(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{jsx as gt,jsxs as Am}from"react/jsx-runtime";var Ur=e=>gt(q,{children:[gt(d,{children:"Button"},"toolbar-button"),gt(H,{text:"Menu button"},"toolbar-menu-button"),gt(w,{children:"Split button"},"toolbar-split-button"),Am(O,{children:[gt(d,{className:"k-group-start",icon:"align-left",children:"Left"}),gt(d,{icon:"align-center",children:"Center"}),gt(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Me,jsxs as Gr}from"react/jsx-runtime";var Fr=e=>Me(q,{scrollable:!0,...e,children:[Me(d,{children:"Button"},"toolbar-button"),Me(H,{text:"Menu button"},"toolbar-menu-button"),Me(w,{children:"Split button"},"toolbar-split-button"),Gr(O,{children:[Me(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Me(d,{icon:"align-center",children:"Center"}),Me(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Me(d,{children:"Button"},"toolbar-button"),Me(H,{text:"Menu button"},"toolbar-menu-button"),Me(w,{children:"Split button"},"toolbar-split-button"),Gr(O,{children:[Me(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Me(d,{icon:"align-center",children:"Center"}),Me(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Ie,jsxs as Vr}from"react/jsx-runtime";var $r=({scrollingPosition:e="start",...t})=>Ie(q,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Ie(d,{children:"Button"},"toolbar-button"),Ie(H,{text:"Menu button"},"toolbar-menu-button"),Ie(w,{children:"Split button"},"toolbar-split-button"),Vr(O,{children:[Ie(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ie(d,{icon:"align-center",children:"Center"}),Ie(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ie(d,{children:"Button"},"toolbar-button"),Ie(H,{text:"Menu button"},"toolbar-menu-button"),Ie(w,{children:"Split button"},"toolbar-split-button"),Vr(O,{children:[Ie(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ie(d,{icon:"align-center",children:"Center"}),Ie(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{jsx as mt}from"react/jsx-runtime";var Bm=q.options,Pm=q.states,Xr={...q.defaultOptions,variant:"default"},Rm=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Km=[],Et=e=>{let{variant:t,...o}={...Xr,...e};switch(t){case"responsive":return mt("div",{children:mt(zr,{style:{width:"583px"},...o})});case"overlay":return mt("div",{children:mt($r,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return mt("div",{children:mt(Fr,{style:{width:"583px"},...o})});default:return mt("div",{children:mt(Ur,{style:{width:"583px"},...o})})}};Et.options=Bm;Et.states=Pm;Et.variants=Rm;Et.defaultOptions=Xr;Et.modifiers=Km;Et.className=q.className;var jR=Et;export{Et as ToolbarDemo,jR as default};
1
+ var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...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 k=(e,t)=>r({[`${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:n,focus:s,checked:c,active:m,selected:b,disabled:N,indeterminate:x,loading:v,empty:p,readonly:M,highlighted:h,...I}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":c,"k-active":m,"k-selected":b,"k-disabled":N,"k-indeterminate":x&&!c,"k-loading":v,"k-empty":p,"k-readonly":M,"k-highlighted":h},Object.keys(I).reduce((C,g)=>(g.startsWith("k-")?C[g]=I[g]:C[`k-${g}`]=I[g],C),{}))};function Bn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},u={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},_e={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={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 pa={};function K(e){return pa[e]=(pa[e]||0)+1,`k-${e}-${pa[e]}`}import{Fragment as Qr,jsx as Pn}from"react/jsx-runtime";var ma="k-font-icon",Wr=[],qr={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info]},Yr={},lo=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...c}=e;return a?Pn("span",{...c,className:r(e.className,ma,k(ma,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Pn(Qr,{})};lo.states=Wr;lo.options=qr;lo.className=ma;lo.defaultOptions=Yr;var Rn=lo;import{Fragment as es,jsx as Po}from"react/jsx-runtime";var ua="k-svg-icon",Zr=[],jr={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[_e.outline,_e.solid,_e.duotone]},fa={viewBox:"0 0 24 24",variant:_e.outline},co=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=fa.viewBox,variant:c=fa.variant,icon:m,...b}=e;if(!m)return Po(es,{});if(m==="none")return Po("span",{...b,className:r(e.className,ua,k("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?c&&m.variants?.[c]||m.variants?.outline||m.content:void 0;return Po("span",{...b,className:r(e.className,ua,k("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Po("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:m?void 0:e.children})})};co.states=Zr;co.options=jr;co.className=ua;co.defaultOptions=fa;var ba=co;import*as xa from"@progress/kendo-svg-icons";var Kn="icon",wn="icons";import{useContext as os}from"react";import{createContext as ts}from"react";var _n=ts({iconsType:"svg"});import{Fragment as Dn,jsx as po}from"react/jsx-runtime";var Ro="k-icon",as=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ns=[],is={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[_e.outline,_e.solid,_e.duotone]},Ko={viewBox:"0 0 24 24",type:"svg",variant:_e.outline},S=e=>{let{iconsType:t}=os(_n),{size:o,themeColor:a,icon:n,type:s=t||Ko.type,rotate:c,flip:m,viewBox:b=Ko.viewBox,variant:N=Ko.variant,...x}=e;if(!n)return po(Dn,{});if((t||s)==="svg"){if(n==="none")return po(ba,{...x,className:r(e.className,Ro),icon:n,size:o,variant:N});let p=xa[n]?n:as(`${n}-icon`);return xa[p]?po(ba,{...x,className:r(e.className,Ro),icon:xa[p],size:o,themeColor:a,rotate:c,flip:m,viewBox:b,variant:N}):po(Dn,{})}return po(Rn,{...x,className:r(e.className,Ro),icon:n,size:o,themeColor:a,rotate:c,flip:m})};S.states=ns;S.options=is;S.defaultOptions=Ko;S.className=Ro;S.moduleName=Kn;S.folderName=wn;var Na="button",Hn=Na;import{Fragment as zn,jsx as yt,jsxs as Un}from"react/jsx-runtime";var mo="k-button",rs=["icon-button"],ss=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],ls={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline,u.clear,u.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},ha={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:c=ha.showArrow,arrowIconName:m=ha.arrowIconName,variant:b,hover:N,focus:x,active:v,selected:p,disabled:M,togglable:h,ariaDisabled:I,icon:C,iconSize:g,text:A,iconClassName:F,className:ee,...ae}=e,ne=C!=null,ie=e.children!==void 0;return Un(t,{className:r(ee,mo,Bn(mo,b),k(mo,{size:o,rounded:a,fillMode:n,themeColor:s}),y(mo,{hover:N,focus:x,active:v,disabled:M||I,selected:p}),{"k-icon-button":!A&&!ie&&ne}),"aria-pressed":h?p?"true":"false":void 0,...ae,"aria-disabled":I?"true":void 0,disabled:M||void 0,children:[typeof C=="string"&&C&&yt(S,{className:r(F,"k-button-icon"),icon:C,size:g}),C&&typeof C!="string"&&yt(zn,{children:C}),A?Un(zn,{children:[A&&yt("span",{className:"k-button-text",children:A}),e.children]}):e.children&&yt("span",{className:"k-button-text",children:e.children}),c&&yt("span",{className:"k-menu-button-arrow k-button-arrow",children:yt(S,{icon:m})})]})};d.states=ss;d.options=ls;d.variants=rs;d.className=mo;d.defaultOptions=ha;d.moduleName=Na;d.folderName=Hn;import{jsx as ds}from"react/jsx-runtime";var Ze=e=>ds(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as cs}from"react/jsx-runtime";var uo=e=>cs(d,{icon:"folder",children:"Button",...e});import{jsx as ps}from"react/jsx-runtime";var ft=e=>ps(d,{children:"Button",...e});import{jsx as La}from"react/jsx-runtime";var ms=d.options,us=d.states,fs={...d.defaultOptions,variant:"text"},bs=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xs=[],Ot=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return La(Ze,{...o,icon:"star"});case"icon-and-text":return La(uo,{...o,icon:"star",children:"Button"});default:return La(ft,{...o,children:"Button"})}};Ot.options=ms;Ot.states=us;Ot.variants=bs;Ot.defaultOptions=fs;Ot.modifiers=xs;Ot.className=d.className;var va="button",Gn=va;import{jsx as vs}from"react/jsx-runtime";var fo="k-button-group",Ns=[i.disabled],hs={fillMode:[u.undefined,u.solid,u.flat,u.outline,u.clear,u.link]},Ls={},T=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return vs("div",{role:"group",...n,className:r(e.className,fo,k(fo,{fillMode:t}),y(fo,{disabled:o}),{[`${fo}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};T.states=Ns;T.options=hs;T.className=fo;T.defaultOptions=Ls;T.moduleName=va;T.folderName=Gn;import{Fragment as Yu,jsx as qu,jsxs as Qu}from"react/jsx-runtime";import{Fragment as af,jsx as of,jsxs as nf}from"react/jsx-runtime";import{Fragment as pf,jsx as cf,jsxs as mf}from"react/jsx-runtime";import{Fragment as hf,jsx as Nf,jsxs as Lf}from"react/jsx-runtime";import{Fragment as Cf,jsx as kf,jsxs as gf}from"react/jsx-runtime";import{Fragment as Bf,jsx as Af,jsxs as Pf}from"react/jsx-runtime";import{jsx as $e,jsxs as Ma}from"react/jsx-runtime";var Ms={...d.options,...T.options},Is=d.states,Ss={...d.defaultOptions,...T.defaultOptions,variant:"text-button"},ks=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Cs=[],Tt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Ma(T,{fillMode:a.fillMode,className:o,children:[$e(d,{...a,icon:"star"}),$e(d,{...a,icon:"star"}),$e(d,{...a,icon:"star"})]}):t==="icon-text-button"?Ma(T,{fillMode:a.fillMode,className:o,children:[$e(d,{...a,icon:"star",children:"First"}),$e(d,{...a,icon:"star",children:"Middle"}),$e(d,{...a,icon:"star",children:"Last"})]}):Ma(T,{fillMode:a.fillMode,className:o,children:[$e(d,{...a,children:"First"}),$e(d,{...a,children:"Middle"}),$e(d,{...a,children:"Last"})]})};Tt.options=Ms;Tt.states=Is;Tt.variants=ks;Tt.defaultOptions=Ss;Tt.modifiers=Cs;Tt.className=T.className;var bo="input",wo=bo;import{jsx as Os}from"react/jsx-runtime";var _o="k-input",gs=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Es={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},ys={},V=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:m,size:b,rounded:N,fillMode:x,...v}=e;return Os("span",{...v,className:r(e.className,_o,k(_o,{size:b,rounded:N,fillMode:x}),y(_o,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:m}))})};V.states=gs;V.options=Es;V.className=_o;V.defaultOptions=ys;V.moduleName=bo;V.folderName=wo;import{jsx as Ps}from"react/jsx-runtime";var Do="k-picker",Ts=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],As={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},Bs={},De=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:m,size:b,rounded:N,fillMode:x,...v}=e;return Ps("span",{...v,className:r(e.className,Do,k(Do,{size:b,rounded:N,fillMode:x}),y(Do,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:m})),children:e.children})};De.states=Ts;De.options=As;De.className=Do;De.defaultOptions=Bs;De.moduleName=bo;De.folderName=wo;import{Fragment as ws,jsx as Ia}from"react/jsx-runtime";var Fn="k-clear-value",Rs=[i.disabled,i.loading,i.readonly],Ks={},xe=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?Ia(ws,{}):Ia("span",{className:r(e.className,Fn),children:Ia(S,{icon:"x"})})};xe.states=Rs;xe.options=Ks;xe.className=Fn;import{jsx as Hs}from"react/jsx-runtime";var Sa="k-input-inner",_s=[],Ds={},Ho={type:"text",autocomplete:"off",value:"",placeholder:""},Ne=e=>{let{value:t=Ho.value,type:o=Ho.type,placeholder:a=Ho.placeholder,autocomplete:n=Ho.autocomplete,disabled:s,readOnly:c,...m}=e;return Hs("input",{...m,type:o,className:r(e.className,Sa,k(Sa,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Ne.states=_s;Ne.options=Ds;Ne.className=Sa;import{jsx as Vn,jsxs as Gs}from"react/jsx-runtime";var ka="k-input-inner",zs=[],Us={},bt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...c}=e;return Gs("span",{...c,className:r(e.className,ka,k(ka,e)),children:[n,!n&&s&&Vn(S,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Vn("span",{className:"k-input-value-text",children:t})]})};bt.states=zs;bt.options=Us;bt.className=ka;import{jsx as $s}from"react/jsx-runtime";var Ca="k-input-inner",Fs=[],Vs={},$n={value:"",placeholder:""},ga=e=>{let{value:t=$n.value,placeholder:o=$n.placeholder,rows:a,disabled:n,...s}=e;return $s("textarea",{...s,className:r(e.className,Ca,k(Ca,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ga.states=Fs;ga.options=Vs;ga.className=Ca;import{Fragment as Js,jsx as Xn}from"react/jsx-runtime";var Jn="k-input-loading-icon",Xs=[i.disabled,i.loading],ue=e=>{let{disabled:t,loading:o}=e;return t||!o?Xn(Js,{}):Xn("span",{className:r(e.className,Jn,"k-icon k-i-loading")})};ue.states=Xs;ue.className=Jn;import{Fragment as Ys,jsx as Wn}from"react/jsx-runtime";var qn="k-input-validation-icon",Ws=[i.valid,i.invalid,i.disabled,i.loading],qs={},re=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Wn(Ys,{}):Wn(S,{className:r(qn),icon:s})};re.states=Ws;re.options=qs;re.className=qn;import{Fragment as js,jsx as Yn}from"react/jsx-runtime";var Qs="k-input-prefix",Zs={direction:"horizontal"},Se=e=>{let{direction:t=Zs.direction,...o}=e;return e.children?Yn("span",{...o,className:r(Qs,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Yn(js,{})};import{Fragment as ol,jsx as Qn}from"react/jsx-runtime";var el="k-input-suffix",tl={direction:"horizontal"},ke=e=>{let{direction:t=tl.direction,...o}=e;return e.children?Qn("span",{...o,className:r(el,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Qn(ol,{})};import{jsx as Pb}from"react/jsx-runtime";import{jsx as nl}from"react/jsx-runtime";var al="k-input-suffix-text",Ea=e=>{let{children:t,...o}=e;return nl("span",{...o,className:r(al,e.className),children:t})};import{jsx as rl}from"react/jsx-runtime";var Zn="k-input-separator",il={direction:"vertical"},Ce=e=>{let{direction:t=il.direction,...o}=e;return rl("span",{...o,className:r(Zn,e.className,{[`${Zn}-${t}`]:t})})};import{Fragment as jn,jsx as He,jsxs as ya}from"react/jsx-runtime";var sl=V.states,ll=V.defaultOptions,dl=V.options,cl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],pl=[],At=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:c,...m}=e,b=t?.prefix,N=t?.suffix,x=t?.["clear-button"],v=t?.["validation-icon"],p=t?.separators;return ya(V,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:c,style:{width:300},children:[b&&ya(jn,{children:[He(Se,{children:He(S,{icon:"lock"})}),p&&He(Ce,{})]}),He(Ne,{placeholder:"Placeholder",value:"Value"}),v&&He(re,{valid:o,invalid:a,loading:n,disabled:s}),He(ue,{loading:n,disabled:s}),x&&He(xe,{loading:n,disabled:s,readonly:c,value:"Value"}),N&&ya(jn,{children:[p&&He(Ce,{}),He(ke,{children:He(ft,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};At.options=dl;At.states=sl;At.variants=pl;At.defaultOptions=ll;At.modifiers=cl;At.className=V.className;import{jsx as ei,jsxs as fl}from"react/jsx-runtime";var ti="k-color-preview",ml=[],ul={},je=e=>{let{color:t,iconName:o,...a}=e;return fl("span",{...a,className:r(e.className,ti,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ei(S,{icon:o,className:"k-color-preview-icon"}),ei("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};je.states=ml;je.options=ul;je.className=ti;var Oa="popup",oi=Oa;import{jsx as ai}from"react/jsx-runtime";var ni="k-animation-container",bl=[],xl={},Ta={positionMode:"absolute",shown:!0},ze=e=>{let{positionMode:t=Ta.positionMode,shown:o=Ta.shown,animationStyle:a,offset:n,...s}=e;return ai("div",{...s,style:{...n,...e.style},className:r(e.className,ni,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:ai("div",{className:"k-child-animation-container",style:a,children:e.children})})};ze.states=bl;ze.options=xl;ze.className=ni;ze.defaultOptions=Ta;ze.moduleName=Oa;ze.folderName=oi;var Aa="popup",ii=Aa;import{jsx as ri}from"react/jsx-runtime";var si="k-popup",Nl=[],hl={},li={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=li.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:c,...m}=e;return ri(ze,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":c,children:ri("div",{...m,className:r(e.className,si),children:e.children})})};U.states=Nl;U.options=hl;U.className=si;U.defaultOptions=li;U.moduleName=Aa;U.folderName=ii;var Ba="action-buttons",di=Ba;import{jsx as Ml}from"react/jsx-runtime";var zo="k-actions",Ll=[],vl={},Pa={alignment:"start",orientation:"horizontal"},Ue=e=>{let{alignment:t=Pa.alignment,orientation:o=Pa.orientation,...a}=e;return Ml("div",{...a,className:r(zo,{[`${zo}-${t}`]:t,[`${zo}-${o}`]:o},e.className),children:e.children})};Ue.states=Ll;Ue.options=vl;Ue.className=zo;Ue.defaultOptions=Pa;Ue.moduleName=Ba;Ue.folderName=di;import{jsx as Sl}from"react/jsx-runtime";var Il="k-actionsheet-footer",ci={alignment:"stretched",orientation:"horizontal"},et=e=>{let{alignment:t=ci.alignment,orientation:o=ci.orientation,template:a,as:n=a?"div":Ue,...s}=e;return Sl(n,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,Il),children:e.children})};var Ra="searchbox",pi=Ra;import{jsx as xo,jsxs as gl}from"react/jsx-runtime";var mi="k-searchbox",kl=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Cl={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},Ka={showIcon:!0,icon:"search"},ge=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:c,focus:m,valid:b,invalid:N,required:x,loading:v,disabled:p,showIcon:M=Ka.showIcon,icon:h=Ka.icon,"aria-label":I,...C}=e;return gl(V,{...C,size:a,rounded:n,fillMode:s,hover:c,focus:m,valid:b,invalid:N,required:x,loading:v,disabled:p,className:r(e.className,mi),children:[M&&xo(S,{className:"k-input-icon",icon:h}),xo(Ne,{placeholder:o,value:t,"aria-label":I}),xo(ue,{...e}),xo(re,{...e}),xo(xe,{...e})]})};ge.states=kl;ge.options=Cl;ge.className=mi;ge.defaultOptions=Ka;ge.moduleName=Ra;ge.folderName=pi;import{jsx as nN}from"react/jsx-runtime";var wa="textbox",ui=wa;import{Fragment as fi,jsx as tt,jsxs as _a}from"react/jsx-runtime";var bi="k-textbox",El=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],yl={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},Uo={showClearButton:!0,showValidationIcon:!0,separators:!0},te=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Uo.separators,showClearButton:s=Uo.showClearButton,showValidationIcon:c=Uo.showValidationIcon,prefix:m,suffix:b,type:N,value:x,placeholder:v,hover:p,focus:M,valid:h,invalid:I,required:C,loading:g,disabled:A,readonly:F,id:ee,"aria-label":ae,"aria-describedby":ne,...ie}=e;return _a(V,{...ie,size:t,rounded:o,fillMode:a,hover:p,focus:M,valid:h,invalid:I,required:C,loading:g,disabled:A,readonly:F,className:r(e.className,bi),children:[m&&_a(fi,{children:[tt(Se,{children:m}),n&&tt(Ce,{})]}),tt(Ne,{id:ee,placeholder:v,value:x,type:N,disabled:A,"aria-label":ae,"aria-describedby":ne,"aria-invalid":I?"true":void 0}),c&&tt(re,{valid:h,invalid:I,loading:g,disabled:A}),tt(ue,{loading:g,disabled:A}),s&&tt(xe,{loading:g,disabled:A,readonly:F,value:x}),b&&_a(fi,{children:[n&&tt(Ce,{}),tt(ke,{children:b})]})]})};te.states=El;te.options=yl;te.className=bi;te.defaultOptions=Uo;te.moduleName=wa;te.folderName=ui;var No=te;import{jsx as Ol}from"react/jsx-runtime";var xi=e=>Ol(No,{...e});import{Fragment as IN,jsx as MN}from"react/jsx-runtime";import{Fragment as yN,jsx as EN}from"react/jsx-runtime";import{jsx as BN}from"react/jsx-runtime";import{jsx as Da}from"react/jsx-runtime";var Tl=te.states,Al=te.defaultOptions,Bl=te.options,Pl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Rl=[],Bt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Da(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Da(ft,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Da(xi,{value:"Value",style:{width:300},...o,...a})};Bt.options=Bl;Bt.states=Tl;Bt.variants=Rl;Bt.defaultOptions=Al;Bt.modifiers=Pl;Bt.className=te.className;import{jsx as ot,jsxs as Ha}from"react/jsx-runtime";var Ni="k-actionsheet-titlebar",Kl={},se=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:c,inputValue:m,inputPlaceholder:b,adaptive:N,titleId:x,children:v,...p}=e;return Ha("div",{...p,className:r(e.className,Ni),children:[Ha("div",{className:"k-actionsheet-titlebar-group",children:[a&&ot("div",{className:"k-actionsheet-actions",children:a}),!v&&Ha("div",{className:"k-actionsheet-title",id:x,children:[t&&ot("div",{className:"k-text-center",children:t}),o&&ot("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),v&&ot("div",{className:"k-actionsheet-title",id:x,children:v}),n&&ot("div",{className:"k-actionsheet-actions",children:n})]}),(c||s)&&ot("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?ot(te,{value:m,placeholder:b,size:N?"large":"medium","aria-label":t||b||"Input"}):ot(ge,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};se.className=Ni;se.defaultOptions=Kl;import{jsx as za,jsxs as Hl}from"react/jsx-runtime";var Ua="k-actionsheet-view",wl=[],_l={},Dl={},Pt=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:c,...m}=e,b=n?.type===se&&za(se,{adaptive:t,titleId:c,...n?.props}),N=s?.type===et&&za(et,{...s?.props});return Hl("div",{...m,className:r(e.className,Ua,{[`${Ua}-animated`]:o}),children:[b,za("div",{className:"k-actionsheet-content",children:a}),N]})};Pt.states=wl;Pt.options=_l;Pt.className=Ua;Pt.defaultOptions=Dl;var ho="action-sheet",Go=ho;var Ga="overlay",hi=Ga;import{jsx as Fl}from"react/jsx-runtime";var Li="k-overlay",zl=[],Ul={},Gl={},at=e=>{let{...t}=e;return Fl("div",{...t,className:r(e.className,Li),children:e.children})};at.states=zl;at.options=Ul;at.className=Li;at.defaultOptions=Gl;at.moduleName=Ga;at.folderName=hi;import{jsx as Fo,jsxs as Xl}from"react/jsx-runtime";var vi="k-actionsheet",Vl=[],$l={},Lo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},$=e=>{let{side:t=Lo.side,fullscreen:o=Lo.fullscreen,adaptive:a=Lo.adaptive,overlay:n=Lo.overlay,template:s,children:c,header:m,footer:b,id:N,...x}=e,v=N&&!s&&m?`${N}-title`:void 0;return Xl("div",{className:"k-actionsheet-container",children:[n&&Fo(at,{}),Fo(ze,{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:Fo("div",{...x,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":v,className:r(e.className,vi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Fo(Pt,{header:m,footer:b,adaptive:a,titleId:v,...e,children:c})})})]})};$.states=Vl;$.options=$l;$.className=vi;$.defaultOptions=Lo;$.moduleName=ho;$.folderName=Go;import{jsx as Yl}from"react/jsx-runtime";var Mi="k-actionsheet-container",Jl=[],Wl={},ql={},Rt=e=>{let{children:t,...o}=e;return Yl("div",{...o,className:Mi,children:t})};Rt.states=Jl;Rt.options=Wl;Rt.className=Mi;Rt.defaultOptions=ql;Rt.moduleName=ho;Rt.folderName=Go;import{jsx as Ql}from"react/jsx-runtime";var Fa=e=>{let{...t}=e;return Ql("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as jl,jsx as vo,jsxs as Va}from"react/jsx-runtime";var $a="k-actionsheet-item",Zl=[i.hover,i.focus,i.selected,i.disabled],nt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:c,disabled:m,...b}=e;return Va("span",{...b,className:r(e.className,$a,y($a,{hover:n,focus:s,selected:c,disabled:m})),children:[!e.children&&vo(jl,{children:Va("span",{className:"k-actionsheet-action",children:[t&&vo("span",{className:"k-icon-wrap",children:vo(S,{className:"k-actionsheet-item-icon",icon:t})}),Va("span",{className:"k-actionsheet-item-text",children:[o&&vo("span",{className:"k-actionsheet-item-title",children:o}),a&&vo("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};nt.states=Zl;nt.className=$a;import{jsx as Ah,jsxs as Bh}from"react/jsx-runtime";import{jsx as wh}from"react/jsx-runtime";import{jsx as zh}from"react/jsx-runtime";import{jsx as Vh}from"react/jsx-runtime";import{jsx as Q,jsxs as Xa}from"react/jsx-runtime";var ed=$.options,td=$.states,Si={...$.defaultOptions,variant:"normal"},od=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ad=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Kt=e=>{let{variant:t,modifiers:o,...a}={...Si,...e},n={},s=Xa(Fa,{children:[Q(nt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Q(nt,{text:"Add to Favorites",iconName:"heart"}),Q(nt,{text:"Upload New",iconName:"upload",disabled:!0}),Q("hr",{className:"k-hr"}),Q(nt,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(b=>{switch(b){case"actions":n.actionsStart=!!o?.[b],n.actionsEnd=!!o?.[b];break;case"subtitle":n.subtitle=o?.[b]?c:void 0;break;case"footer":n.footer=!!o?.[b];break;default:break}}),t==="adaptive"?Q($,{...a,adaptive:!0,fullscreen:n.fullScreen,header:Q(se,{actionsStart:n.actionsStart?Q(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?Q(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?Xa(et,{alignment:"stretched",children:[Q(d,{text:"Cancel",size:"large",themeColor:"base"}),Q(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):Q($,{...a,fullscreen:n.fullScreen,header:Q(se,{actionsStart:n.actionsStart?Q(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?Q(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Xa(et,{alignment:"stretched",children:[Q(d,{text:"Apply",themeColor:"primary"}),Q(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Kt.options=ed;Kt.states=td;Kt.variants=od;Kt.defaultOptions=Si;Kt.modifiers=ad;Kt.className=$.className;var Ja="slider",ki=Ja;import{jsx as wt,jsxs as Wa}from"react/jsx-runtime";var Mo="k-slider",nd=[i.hover,i.focus,i.active,i.disabled,i.readonly],id={},Ee={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},z=e=>{let{type:t=Ee.type,orientation:o=Ee.orientation,gradientType:a=Ee.gradientType,readonly:n=Ee.readonly,disabled:s=Ee.disabled,handlePosition:c=Ee.handlePosition,showButtons:m=Ee.showButtons,showTicks:b=Ee.showTicks,value:N=Ee.value,min:x=Ee.min,max:v=Ee.max,startValue:p,endValue:M,hover:h,focus:I,active:C,trackStyle:g,dir:A,...F}=e,ae=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ne,ie;return o==="horizontal"?(ne=A==="rtl"?"chevron-left":"chevron-right",ie=A==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ne="chevron-up",ie="chevron-down"),Wa("div",{...F,className:r(Mo,e.className,y(Mo,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:A,children:[m&&wt(d,{className:"k-button-decrease",rounded:"full",icon:ie,tabIndex:-1,title:"Decrease"}),Wa("div",{className:"k-slider-track-wrap",children:[b&&wt("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Wa("div",{className:"k-slider-track",style:g,children:[wt("div",{className:"k-slider-selection"}),t==="range"&&wt("span",{className:r("k-draghandle","k-draghandle-start",y(Mo,{hover:h,focus:I,active:C})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??x,"aria-valuemin":x,"aria-valuemax":M??v,"aria-orientation":ae,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":F["aria-label"]?`${F["aria-label"]} start`:"Range start"}),wt("span",{className:r("k-draghandle",`k-draghandle-${c}`,y(Mo,{hover:h,focus:I,active:C})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?M??v:N,"aria-valuemin":t==="range"?p??x:x,"aria-valuemax":v,"aria-orientation":ae,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?F["aria-label"]?`${F["aria-label"]} end`:"Range end":F["aria-label"]})]})]}),m&&wt(d,{className:"k-button-increase",rounded:"full",icon:ne,tabIndex:-1,title:"Increase"})]})};z.states=nd;z.options=id;z.className=Mo;z.defaultOptions=Ee;z.moduleName=Ja;z.folderName=ki;import{jsx as Ci}from"react/jsx-runtime";var gi="k-tick",rd=[],sd={},Ei={label:!1},E=e=>{let{style:t,label:o=Ei.label,orientation:a,large:n,text:s,...c}=e;return Ci("li",{...c,role:"presentation",title:s||"Tick",className:r(e.className,gi,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Ci("span",{className:"k-label",children:s})})};E.states=rd;E.options=sd;E.className=gi;E.defaultOptions=Ei;import{Fragment as ld,jsx as ye,jsxs as dd}from"react/jsx-runtime";var yi=e=>ye(z,{"aria-label":e["aria-label"]||"Slider",children:dd(ld,{children:[ye(E,{className:"k-first",label:!0,large:!0,text:"0"}),ye(E,{}),ye(E,{}),ye(E,{}),ye(E,{}),ye(E,{label:!0,large:!0,text:"5"}),ye(E,{}),ye(E,{}),ye(E,{}),ye(E,{}),ye(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as cd,jsx as Oe,jsxs as pd}from"react/jsx-runtime";var Oi=e=>Oe(z,{children:pd(cd,{children:[Oe(E,{className:"k-first",label:!0,large:!0,text:"0"}),Oe(E,{}),Oe(E,{}),Oe(E,{}),Oe(E,{}),Oe(E,{label:!0,large:!0,text:"5"}),Oe(E,{}),Oe(E,{}),Oe(E,{}),Oe(E,{}),Oe(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as BL,jsx as AL,jsxs as PL}from"react/jsx-runtime";import{Fragment as DL,jsx as _L,jsxs as HL}from"react/jsx-runtime";import{jsx as md}from"react/jsx-runtime";var qa=e=>md(z,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as ud}from"react/jsx-runtime";var Ya=e=>ud(z,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as YL,jsx as qL,jsxs as QL}from"react/jsx-runtime";import{Fragment as ov,jsx as tv,jsxs as av}from"react/jsx-runtime";import{jsx as Ge,jsxs as Ti}from"react/jsx-runtime";var fd=z.options,bd=z.states,Ai={...z.defaultOptions,variant:"horizontal",label:!0},xd=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Nd=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],_t=e=>{let{variant:t,modifiers:o,...a}=e,n=Ai.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let c={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Ti(Oi,{style:{height:"300px",...c},...a,...s,children:[Ge(E,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Ge(E,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Ge(E,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Ge(E,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Ge(E,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Ti(yi,{style:{width:"400px",...c},...a,...s,children:[Ge(E,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Ge(E,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Ge(E,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Ge(E,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Ge(E,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};_t.options=fd;_t.states=bd;_t.variants=xd;_t.defaultOptions=Ai;_t.modifiers=Nd;_t.className=z.className;import{jsx as Bi,jsxs as Id}from"react/jsx-runtime";var Pi="k-spin-button",vd=[],Md={size:[l.undefined,l.small,l.medium,l.large],fillMode:[u.undefined,u.solid,u.flat,u.outline,u.clear,u.link]},Qa={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},it=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Qa.increaseLabel,decreaseLabel:s=Qa.decreaseLabel,...c}=e;return Id("span",{...c,className:r(Pi,e.className),children:[Bi(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Bi(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};it.states=vd;it.options=Md;it.className=Pi;it.defaultOptions=Qa;it.moduleName=null;it.folderName=null;var Ri="numeric-textbox",Ki="numerictextbox";import{Fragment as wi,jsx as Xe,jsxs as Za}from"react/jsx-runtime";var _i="k-numerictextbox",Sd=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],kd={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},Vo={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Vo.separators,showClearButton:s=Vo.showClearButton,showSpinButton:c=Vo.showSpinButton,prefix:m,suffix:b,value:N,placeholder:x,hover:v,focus:p,valid:M,invalid:h,required:I,loading:C,disabled:g,readonly:A,id:F,"aria-label":ee,"aria-describedby":ae,...ne}=e;return Za(V,{...ne,size:t,rounded:o,fillMode:a,hover:v,focus:p,valid:M,invalid:h,required:I,loading:C,disabled:g,readonly:A,className:r(e.className,_i),children:[m&&Za(wi,{children:[Xe(Se,{children:m}),n&&Xe(Ce,{})]}),Xe(Ne,{id:F,placeholder:x,value:N,role:"spinbutton",disabled:g,"aria-label":ee,"aria-describedby":ae,"aria-invalid":h?"true":void 0}),Xe(re,{valid:M,invalid:h,loading:C,disabled:g}),Xe(ue,{loading:C,disabled:g}),s&&Xe(xe,{loading:C,disabled:g,readonly:A,value:N}),b&&Za(wi,{children:[n&&Xe(Ce,{}),Xe(ke,{children:b})]}),c&&Xe(it,{className:"k-input-spinner",size:t,fillMode:a,disabled:g})]})};_.states=Sd;_.options=kd;_.className=_i;_.defaultOptions=Vo;_.moduleName=Ri;_.folderName=Ki;var Io=_;import{jsx as Cd}from"react/jsx-runtime";var Di=e=>Cd(Io,{...e});import en from"react";import{jsx as Hi}from"react/jsx-runtime";var gd="k-list-group-sticky-header",ja=e=>Hi("div",{className:r(gd,e.className),children:Hi("div",{className:"k-list-header-text",children:e.children})});import{jsx as yd}from"react/jsx-runtime";var Ed="k-no-data",$o=e=>{let{live:t,...o}=e;return yd("span",{...o,className:r(Ed,e.className),"aria-live":t?"polite":void 0,children:e.children})};var xt="list",Dt=xt;import{jsx as zi,jsxs as Ui}from"react/jsx-runtime";var tn="k-list",Od=[],Td={size:[l.undefined,l.small,l.medium,l.large]},Ad={},P=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:c,customValue:m,noData:b,screenReaders:N,...x}=e,p=en.Children.toArray(a)[0],M=p?.props?.children?en.Children.count(p.props.children):en.Children.count(a);return Ui("div",{...x,className:r(e.className,tn,k(tn,{size:t}),{"k-virtual-list":o}),children:[c,s,m,n&&zi(ja,{children:n}),a||(b!==void 0?b:zi($o,{live:!0,children:"No data found."})),N&&a&&Ui($o,{className:"k-sr-only",live:!0,children:[M," items found."]})]})};P.states=Od;P.options=Td;P.className=tn;P.defaultOptions=Ad;P.moduleName=xt;P.folderName=Dt;import{jsx as Kd}from"react/jsx-runtime";var Gi="k-list-container",Bd=[],Pd={},Rd={},Ht=e=>{let{...t}=e;return Kd("div",{...t,className:r(e.className,Gi),children:e.children})};Ht.states=Bd;Ht.options=Pd;Ht.className=Gi;Ht.defaultOptions=Rd;Ht.moduleName=xt;Ht.folderName=Dt;var Nt="checkbox",zt=Nt;import{jsx as Fi}from"react/jsx-runtime";var Xo="k-checkbox",wd=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],_d={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Dd={},he=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:c,invalid:m,valid:b,required:N,size:x,rounded:v,wrapperRole:p,...M}=e;return Fi("span",{className:"k-checkbox-wrap",role:p,children:Fi("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:c||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Xo,k(Xo,{size:x,rounded:v}),y(Xo,{hover:n,focus:s,disabled:c,invalid:m,valid:b,indeterminate:a,checked:o}))})})};he.states=wd;he.options=_d;he.className=Xo;he.defaultOptions=Dd;he.moduleName=Nt;he.folderName=zt;var we=he;import{jsx as Ud}from"react/jsx-runtime";var Vi="k-checkbox-list",Hd=[],zd={},$i={layout:"vertical"},le=e=>{let{layout:t=$i.layout,...o}=e;return Ud("ul",{...o,className:r(e.className,Vi,{[`k-list-${t}`]:t}),children:e.children})};le.states=Hd;le.options=zd;le.className=Vi;le.defaultOptions=$i;le.moduleName=Nt;le.folderName=zt;import{jsx as $d}from"react/jsx-runtime";var Xi="k-checkbox-list-item",Gd=[],Fd={},Vd={},de=e=>{let{...t}=e;return $d("li",{...t,className:r(e.className,Xi),children:e.children})};de.states=Gd;de.options=Fd;de.className=Xi;de.defaultOptions=Vd;de.moduleName=Nt;de.folderName=zt;import{Fragment as Xd,jsx as Ji,jsxs as Jd}from"react/jsx-runtime";var Je=({children:e="Label",id:t="cb-label-after",...o})=>Jd(Xd,{children:[Ji(we,{id:t,...o}),Ji("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as EM,jsx as gM,jsxs as yM}from"react/jsx-runtime";import{Fragment as PM,jsx as BM,jsxs as RM}from"react/jsx-runtime";import{Fragment as HM,jsx as DM,jsxs as zM}from"react/jsx-runtime";import{jsx as VM}from"react/jsx-runtime";import{jsx as WM}from"react/jsx-runtime";import{jsx as ZM}from"react/jsx-runtime";import{jsx as Te,jsxs as Wi}from"react/jsx-runtime";var Wd=le.options,qd=le.states,Yd={...le.defaultOptions,variant:"vertical"},Qd=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Zd=[],Ut=e=>{let{variant:t,...o}=e;return t==="horizontal"?Wi(le,{layout:"horizontal",...o,children:[Te(de,{children:Te(Je,{id:K("cb"),defaultChecked:!0,children:"Label"})}),Te(de,{children:Te(Je,{id:K("cb"),children:"Label"})}),Te(de,{children:Te(Je,{id:K("cb"),children:"Label"})})]}):Wi(le,{...o,children:[Te(de,{children:Te(Je,{id:K("cb"),defaultChecked:!0,children:"Label"})}),Te(de,{children:Te(Je,{id:K("cb"),children:"Label"})}),Te(de,{children:Te(Je,{id:K("cb"),children:"Label"})})]})};Ut.options=Wd;Ut.states=qd;Ut.variants=Qd;Ut.defaultOptions=Yd;Ut.modifiers=Zd;Ut.className=le.className;import{jsx as nc}from"react/jsx-runtime";var jd=we.options,ec=we.states,tc=we.defaultOptions,oc=[],ac=[],Gt=e=>nc(Je,{id:K("checkbox"),...e,defaultChecked:!0,children:"Label"});Gt.options=jd;Gt.states=ec;Gt.variants=oc;Gt.defaultOptions=tc;Gt.modifiers=ac;Gt.className=we.className;import{jsx as Ft,jsxs as lc}from"react/jsx-runtime";var on="k-list-item",ic=[i.hover,i.focus,i.selected,i.disabled],rc={},sc={},O=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:s,hover:c,focus:m,selected:b,disabled:N,actions:x,description:v,id:p,...M}=e,h=t||e.children,I=t||(typeof h=="string"?h:void 0);return lc("li",{...M,id:p,role:"option",tabIndex:m?0:-1,"aria-selected":b?"true":"false","aria-disabled":N?"true":void 0,className:r(e.className,on,y(on,{hover:c,focus:m,disabled:N,selected:b})),children:[n&&Ft(he,{checked:s,disabled:N,"aria-label":I,tabIndex:-1}),o&&Ft("span",{className:"k-list-item-icon-wrapper",children:Ft(S,{icon:o,className:r("k-list-item-icon",a)})}),Ft("span",{className:"k-list-item-text",children:h}),x&&Ft("div",{className:"k-list-item-actions",children:x}),v&&Ft("span",{className:"k-list-item-description",children:v})]})};O.states=ic;O.options=rc;O.className=on;O.defaultOptions=sc;O.moduleName=xt;O.folderName=Dt;import{jsx as cc}from"react/jsx-runtime";var dc="k-list-ul",rt=e=>{let{children:t,role:o,id:a,...n}=e;return cc("ul",{...n,id:a,role:o,className:r(dc,e.className),children:t})};import{jsx as an,jsxs as mc}from"react/jsx-runtime";var pc="k-list-content",D=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...c}=e;return mc("div",{...c,className:r(pc,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:an(rt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&an("div",{className:"k-height-container",children:an("div",{})})]})};import{jsx as nn,jsxs as xc}from"react/jsx-runtime";var Jo="k-list-sticky-header",uc=[i.hover,i.focus,i.selected],fc={},bc={},Wo=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:c,selected:m,...b}=e;return nn("div",{...b,className:r(Jo,e.className),children:xc("div",{className:r(`${Jo}-item`,y(`${Jo}-item`,{hover:s,focus:c,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&nn(he,{checked:a,indeterminate:n,"aria-label":t}),nn("span",{className:"k-list-item-text",children:t})]})})};Wo.states=uc;Wo.options=fc;Wo.className=Jo;Wo.defaultOptions=bc;import{Fragment as XI,jsx as $I,jsxs as JI}from"react/jsx-runtime";import{jsx as ZI,jsxs as jI}from"react/jsx-runtime";import{jsx as vc}from"react/jsx-runtime";var rn="k-list-optionlabel",Nc=[i.hover,i.focus,i.selected,i.disabled],hc={},Lc={},qo=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...c}=e;return vc("div",{...c,className:r(rn,y(rn,{hover:o,focus:a,selected:n,disabled:s})),children:t})};qo.states=Nc;qo.options=hc;qo.className=rn;qo.defaultOptions=Lc;import{jsx as kc}from"react/jsx-runtime";var sn="k-list-custom-value",Mc=[i.hover,i.focus,i.selected,i.disabled],Ic={},Sc={},st=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...c}=e;return kc("div",{...c,className:r(sn,y(sn,{hover:o,focus:a,selected:n,disabled:s})),children:t})};st.states=Mc;st.options=Ic;st.className=sn;st.defaultOptions=Sc;import{Fragment as pS,jsx as cS,jsxs as mS}from"react/jsx-runtime";import{Fragment as hS,jsx as NS,jsxs as LS}from"react/jsx-runtime";import{Fragment as gS,jsx as kS,jsxs as CS}from"react/jsx-runtime";import{Fragment as PS,jsx as AS,jsxs as BS}from"react/jsx-runtime";import{jsx as _S}from"react/jsx-runtime";import{Fragment as FS,jsx as GS,jsxs as VS}from"react/jsx-runtime";import{Fragment as YS,jsx as qS,jsxs as QS}from"react/jsx-runtime";var qi="dropdown-list",Yi="dropdownlist";import{Fragment as Ec,jsx as ce,jsxs as ln}from"react/jsx-runtime";var Qi="k-dropdownlist",Cc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gc={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},dn={showValue:!0,arrowIconName:"chevron-down"},Y=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=dn.arrowIconName,showValue:s=dn.showValue,valueIconName:c,prefix:m,suffix:b,value:N,placeholder:x,hover:v,focus:p,valid:M,invalid:h,required:I,loading:C,disabled:g,readonly:A,popup:F,opened:ee,adaptive:ae,adaptiveSettings:ne,adaptiveTitle:ie,adaptiveSubtitle:ut,adaptiveFilter:la,id:Qe,activeDescendant:Bo,"aria-label":da,...ca}=e,Jr=Qe?`${Qe}-listbox`:void 0,An=Qe?`${Qe}-value`:void 0;return ln(Ec,{children:[ln(De,{...ca,id:Qe,size:t,rounded:o,fillMode:a,hover:v,focus:p,valid:M,invalid:h,required:I,loading:C,disabled:g,readonly:A,className:r(e.className,Qi,{"k-icon-picker":!s&&c}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ee?"true":"false","aria-controls":ee?Jr:void 0,"aria-activedescendant":ee&&Bo?Bo:void 0,"aria-describedby":ee?An:void 0,"aria-disabled":g?"true":void 0,"aria-label":da,tabIndex:0,children:[ce(Se,{children:m}),ce(bt,{placeholder:x,value:N,showValue:s,valueIconName:c,id:An}),ce(re,{valid:M,invalid:h,loading:C,disabled:g}),ce(ue,{loading:C,disabled:g}),ce(ke,{children:b}),ce(d,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),ee&&F&&ce(U,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:F}),ae&&ce($,{adaptive:!0,...ne,header:ce(se,{actionsEnd:ce(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:la,inputValue:N,inputPlaceholder:x,title:ie,subtitle:ut}),children:ce("div",{className:"k-list-container",children:ce(P,{size:"large",children:ln(D,{"aria-label":"Options",children:[ce(O,{text:"List item"}),ce(O,{text:"List item"}),ce(O,{text:"List item"})]})})})})]})};Y.states=Cc;Y.options=gc;Y.className=Qi;Y.defaultOptions=dn;Y.moduleName=qi;Y.folderName=Yi;import{jsx as Bk}from"react/jsx-runtime";import{jsx as Dk,jsxs as Hk}from"react/jsx-runtime";import{Fragment as Wk,jsx as Xk,jsxs as Jk}from"react/jsx-runtime";import{jsx as jk}from"react/jsx-runtime";import{jsx as iC,jsxs as rC}from"react/jsx-runtime";import{Fragment as bC,jsx as uC,jsxs as fC}from"react/jsx-runtime";import{jsx as vC}from"react/jsx-runtime";import{Fragment as Pc,jsx as lt,jsxs as Zi}from"react/jsx-runtime";var yc=Y.states,Oc=Y.defaultOptions,Tc=Y.options,Ac=[{name:"opened",title:"Opened"}],Bc=[],$t=e=>{let{modifiers:t,...o}=e,a={},n=Zi(Pc,{children:[lt("div",{className:"k-list-filter",children:lt(ge,{})}),lt(P,{style:{width:300},size:o.size,children:Zi(D,{children:[lt(O,{children:"List item"}),lt(O,{children:"List item"}),lt(O,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),lt("div",{children:lt(Y,{placeholder:"Value",style:{width:300},...o,...a})})};$t.options=Tc;$t.states=yc;$t.variants=Bc;$t.defaultOptions=Oc;$t.modifiers=Ac;$t.className=Y.className;import{Fragment as GC,jsx as UC}from"react/jsx-runtime";import{Fragment as WC,jsx as JC}from"react/jsx-runtime";import{jsx as ZC}from"react/jsx-runtime";import{jsx as cn}from"react/jsx-runtime";var Rc=_.states,Kc=_.defaultOptions,wc=_.options,_c=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Dc=[],Xt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?cn(Y,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?cn(Ea,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),cn(Di,{value:"Value",style:{width:300},...o,...a})};Xt.options=wc;Xt.states=Rc;Xt.variants=Dc;Xt.defaultOptions=Kc;Xt.modifiers=_c;Xt.className=_.className;import{Fragment as ko,jsx as B,jsxs as X}from"react/jsx-runtime";var ji="k-colorgradient-inputs",Hc=[],zc={size:[l.undefined,l.small,l.medium,l.large]},er={mode:"rgba"},Jt=e=>{let{mode:t=er.mode,size:o,...a}=e;return X("div",{...a,className:r(ji,"k-hstack"),children:[B("div",{className:"k-vstack",children:B(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&X(ko,{children:[X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),B("label",{className:"k-colorgradient-input-label",children:"R"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),B("label",{className:"k-colorgradient-input-label",children:"G"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),B("label",{className:"k-colorgradient-input-label",children:"B"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),B("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&X(ko,{children:[X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),B("label",{className:"k-colorgradient-input-label",children:"R"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),B("label",{className:"k-colorgradient-input-label",children:"G"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),B("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&X(ko,{children:[X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),B("label",{className:"k-colorgradient-input-label",children:"H"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),B("label",{className:"k-colorgradient-input-label",children:"S"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),B("label",{className:"k-colorgradient-input-label",children:"V"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),B("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&X(ko,{children:[X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),B("label",{className:"k-colorgradient-input-label",children:"H"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),B("label",{className:"k-colorgradient-input-label",children:"S"})]}),X("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),B("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&B(ko,{children:X("div",{className:"k-vstack k-flex-1",children:[B(te,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),B("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Jt.states=Hc;Jt.options=zc;Jt.className=ji;Jt.defaultOptions=er;import{jsx as ht,jsxs as Lt}from"react/jsx-runtime";var tr="k-colorgradient-color-contrast",Uc=[],Gc={},Fc={},Wt=()=>Lt("div",{className:r(tr,"k-vbox"),children:[Lt("div",{className:"k-contrast-ratio",children:[ht("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Lt("span",{className:"k-contrast-validation !k-text-success",children:[ht(S,{icon:"check"}),ht(S,{icon:"check"})]})]}),Lt("div",{children:[ht("span",{children:"AA: 4.5"}),Lt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",ht(S,{icon:"check"})]})]}),Lt("div",{children:[ht("span",{children:"AAA: 7.0"}),Lt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",ht(S,{icon:"x"})]})]})]});Wt.states=Uc;Wt.options=Gc;Wt.className=tr;Wt.defaultOptions=Fc;var or="color-gradient",ar="colorgradient";import{jsx as Ae,jsxs as Co}from"react/jsx-runtime";var Yo="k-colorgradient",Vc=[i.hover,i.focus,i.readonly,i.disabled],$c={size:[l.undefined,l.small,l.medium,l.large]},Fe={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"},Z=e=>{let{size:t,mode:o=Fe.mode,readonly:a=Fe.readonly,disabled:n=Fe.disabled,gradientStyle:s=Fe.gradientStyle,dragHandleStyle:c=Fe.dragHandleStyle,alphaStyle:m=Fe.alphaStyle,alphaStyleHorizontal:b=Fe.alphaStyleHorizontal,contrast:N=Fe.contrast,dir:x,hover:v,focus:p,hoverHandle:M,focusHandle:h,canvasOrientation:I=Fe.canvasOrientation,role:C,tabIndex:g,...A}=e;return Co("div",{...A,role:C??"textbox","aria-label":C==="none"?void 0:"Color gradient",tabIndex:g??0,"aria-disabled":n?"true":void 0,className:r(e.className,Yo,k(Yo,{size:t}),y(Yo,{hover:v,focus:p,readonly:a,disabled:n})),dir:x,children:[!I||I==="horizontal"&&Co("div",{className:"k-colorgradient-canvas k-hstack",children:[Ae("div",{className:"k-hsv-rectangle",style:s,children:Ae("div",{className:"k-hsv-gradient",children:Ae("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":h}),style:c,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})})}),Co("div",{className:"k-hsv-controls k-hstack",children:[Ae(Ya,{className:"k-hue-slider",hover:M,focus:h}),o!=="rgb"&&o!=="hsv"&&Ae(Ya,{className:"k-alpha-slider",hover:M,focus:h,trackStyle:m})]})]}),I==="vertical"&&Co("div",{className:"k-colorgradient-canvas k-vstack",children:[Ae("div",{className:"k-hsv-rectangle",style:s,children:Ae("div",{className:"k-hsv-gradient",children:Ae("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":h}),style:c,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})})}),Co("div",{className:"k-hsv-controls k-vstack",children:[Ae(qa,{className:"k-hue-slider",hover:M,focus:h}),o!=="rgb"&&o!=="hsv"&&Ae(qa,{className:"k-alpha-slider",hover:M,focus:h,trackStyle:b})]})]}),Ae(Jt,{mode:e.mode,size:t}),N&&Ae(Wt,{})]})};Z.states=Vc;Z.options=$c;Z.className=Yo;Z.defaultOptions=Fe;Z.moduleName=or;Z.folderName=ar;import{jsx as Xc}from"react/jsx-runtime";var Qo=e=>Xc(Z,{...e});import{jsx as _g}from"react/jsx-runtime";import{jsx as Ug}from"react/jsx-runtime";import{jsx as pn}from"react/jsx-runtime";var Jc=Z.options,Wc=Z.states,qc={...Z.defaultOptions,variant:"rgba"},Yc=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Qc=[],qt=e=>{let{variant:t,...o}=e;switch(t){case"hex":return pn(Qo,{...o,mode:t});case"rgb":return pn(Qo,{...o,mode:t});default:return pn(Qo,{...o,mode:t})}};qt.options=Jc;qt.states=Wc;qt.variants=Yc;qt.defaultOptions=qc;qt.modifiers=Qc;qt.className=Z.className;import{jsx as Zc}from"react/jsx-runtime";var mn=e=>Zc("tr",{role:"row",children:e.children});import{jsx as tp}from"react/jsx-runtime";var un="k-colorpalette-tile",jc=[i.hover,i.focus,i.selected],ep={},dt=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...c}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return tp("td",{...c,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,un,y(un,{hover:a,focus:n,selected:s})),style:m})};dt.states=jc;dt.options=ep;dt.className=un;dt.moduleName=null;dt.folderName=null;var nr="color-palette",ir="colorpalette";import{jsx as go}from"react/jsx-runtime";var Zo="k-colorpalette",op=[i.disabled],ap={size:[l.undefined,l.small,l.medium,l.large]},rr={columns:10},fe=e=>{let{size:t,palette:o,columns:a=rr.columns,tileSize:n,disabled:s,...c}=e,m=[];if(o){let b=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/b)},(x,v)=>{let p=[];N.slice(v*b,(v+1)*b).map((h,I)=>{p.push(go(dt,{color:h,tileSize:n},I))});let M=go(mn,{children:p},v);m.push(M)})}return go("div",{...c,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,Zo,y(Zo,{disabled:s}),k(Zo,{size:t})),children:go("table",{className:"k-colorpalette-table",role:"none",children:go("tbody",{children:m.length>0?m:e.children})})})};fe.states=op;fe.options=ap;fe.className=Zo;fe.defaultOptions=rr;fe.moduleName=nr;fe.folderName=ir;var jo=fe;var Eo={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}};import{jsx as np}from"react/jsx-runtime";var sr=e=>np(jo,{palette:Eo.basic,...e});import{jsx as IE}from"react/jsx-runtime";import{jsx as yE,jsxs as OE}from"react/jsx-runtime";import{jsx as pp}from"react/jsx-runtime";var ip=fe.options,rp=fe.states,sp={...fe.defaultOptions,variant:"basic"},lp=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],dp={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}},cp=[],Yt=e=>{let{variant:t="basic",...o}=e,a=dp[t];return pp(sr,{columns:a.columns,palette:a,...o})};Yt.options=ip;Yt.states=rp;Yt.variants=lp;Yt.defaultOptions=sp;Yt.modifiers=cp;Yt.className=fe.className;var lr="color-editor",dr="coloreditor";import{jsx as Be,jsxs as Qt}from"react/jsx-runtime";var ea="k-coloreditor",mp=[i.focus],up={size:[l.undefined,l.small,l.medium,l.large]},yo={view:"gradient",palette:Eo.office,actionButtons:!0,canvasOrientation:"horizontal"},J=e=>{let{size:t,view:o=yo.view,palette:a=yo.palette,color:n,currentColor:s,focus:c,focusView:m,dir:b,group:N,actionButtons:x=yo.actionButtons,canvasOrientation:v=yo.canvasOrientation,...p}=e;return Qt("div",{...p,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",ea,k(ea,{size:t}),y(ea,{focus:c})),dir:b,children:[Qt("div",{className:"k-coloreditor-header k-hstack",children:[Be("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Qt(T,{fillMode:"flat",children:[Be(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),Be(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),Be("div",{className:"k-spacer"}),Qt("div",{className:"k-coloreditor-header-actions k-hstack",children:[Be(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Qt("div",{className:"k-coloreditor-preview k-vstack",children:[Be(je,{className:"k-coloreditor-preview-color",color:n}),Be(je,{className:"k-coloreditor-current-color",color:s})]})]})]}),Be("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Be(Z,{focus:m,size:t,canvasOrientation:v,role:"none",tabIndex:-1}):Be(fe,{palette:a,size:t})}),x&&Qt(Ue,{className:"k-coloreditor-footer",alignment:"start",children:[Be(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Be(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};J.states=mp;J.options=up;J.className=ea;J.defaultOptions=yo;J.moduleName=lr;J.folderName=dr;var Zt=J;import{jsx as ny}from"react/jsx-runtime";import{jsx as ly}from"react/jsx-runtime";import{jsx as fp}from"react/jsx-runtime";var cr=e=>fp(Zt,{group:!0,currentColor:"fuchsia",...e});import{jsx as bp}from"react/jsx-runtime";var pr=e=>bp(Zt,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as mr}from"react/jsx-runtime";var xp=J.options,Np=J.states,hp={...J.defaultOptions,variant:"gradient"},Lp=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],vp=[],jt=e=>{let{variant:t,...o}=e;return t==="palette"?mr(pr,{...o,color:"white"}):mr(cr,{...o,color:"rgba(183, 118 , 118, 1.00)"})};jt.options=xp;jt.states=Np;jt.variants=Lp;jt.defaultOptions=hp;jt.modifiers=vp;jt.className=J.className;var ur="color-picker",fr="colorpicker";import{Fragment as Sp,jsx as Pe,jsxs as fn}from"react/jsx-runtime";var br="k-colorpicker",Mp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Ip={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},xr={arrowIconName:"chevron-down"},Re=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=xr.arrowIconName,prefix:s,suffix:c,value:m,placeholder:b,hover:N,focus:x,valid:v,invalid:p,required:M,disabled:h,valueIconName:I,popup:C,opened:g,adaptive:A,adaptiveSettings:F,adaptiveTitle:ee,adaptiveSubtitle:ae,...ne}=e,ie="colorpicker-popup";return fn(Sp,{children:[fn(De,{...ne,size:t,rounded:o,fillMode:a,hover:N,focus:x,valid:v,invalid:p,required:M,disabled:h,role:"combobox","aria-haspopup":"dialog","aria-expanded":g?"true":"false","aria-controls":g||A?ie:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":h?"true":void 0,className:r(e.className,br,"k-icon-picker"),children:[Pe(Se,{children:s}),Pe(bt,{placeholder:b,value:m,showValue:!1,valueIcon:Pe(je,{className:"k-value-icon",color:m,iconName:I}),valueIconName:I}),Pe(ke,{children:c}),Pe(d,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:h})]}),g&&C&&Pe(U,{id:ie,className:"k-colorpicker-popup",children:C}),A&&Pe($,{adaptive:!0,id:ie,...F,header:Pe(se,{actionsEnd:Pe(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ee,subtitle:ae}),footer:fn(et,{children:[Pe(d,{text:"Cancel",size:"large"}),Pe(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:Pe(J,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Re.states=Mp;Re.options=Ip;Re.className=br;Re.defaultOptions=xr;Re.moduleName=ur;Re.folderName=fr;var We=Re;import{jsx as kp}from"react/jsx-runtime";var ta=e=>kp(We,{...e});import{jsx as $y}from"react/jsx-runtime";import{jsx as Yy}from"react/jsx-runtime";import{jsx as eO}from"react/jsx-runtime";import{jsx as nO}from"react/jsx-runtime";import{jsx as lO}from"react/jsx-runtime";import{jsx as mO}from"react/jsx-runtime";import{jsx as vt}from"react/jsx-runtime";var Cp=We.options,gp=We.states,Nr={...We.defaultOptions,variant:"color"},Ep=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],yp=[{name:"opened",title:"Opened"}],eo=e=>{let{variant:t,modifiers:o,...a}={...Nr,...e},n={};Object.keys(o||{}).forEach(c=>{c==="opened"&&(n.opened=!!o?.[c],n.popup=o?.[c]?vt(J,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return vt("div",{style:s,children:vt(ta,{...a,...n})});case"icon":return vt("div",{style:s,children:vt(ta,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return vt("div",{style:s,children:vt(ta,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};eo.options=Cp;eo.states=gp;eo.variants=Ep;eo.defaultOptions=Nr;eo.modifiers=yp;eo.className=We.className;var bn="combobox",hr=bn;import{Fragment as xn,jsx as W,jsxs as Oo}from"react/jsx-runtime";var Lr="k-combobox",Op=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Tp={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline]},vr={separators:!0},pe=e=>{let{size:t,rounded:o,fillMode:a,separators:n=vr.separators,prefix:s,suffix:c,value:m,placeholder:b,hover:N,focus:x,valid:v,invalid:p,required:M,loading:h,disabled:I,popup:C,opened:g,readonly:A,adaptive:F,adaptiveSettings:ee,adaptiveTitle:ae,adaptiveSubtitle:ne,adaptiveCustomValue:ie,id:ut,autocomplete:la,activeDescendant:Qe,"aria-label":Bo,...da}=e,ca=ut?`${ut}-listbox`:void 0;return Oo(xn,{children:[Oo(V,{...da,size:t,rounded:o,fillMode:a,hover:N,focus:x,valid:v,invalid:p,required:M,loading:h,disabled:I,readonly:A,className:r(e.className,Lr),children:[s&&Oo(xn,{children:[W(Se,{children:s}),n&&W(Ce,{})]}),W(Ne,{id:ut,placeholder:b,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":g?"true":"false","aria-controls":g?ca:void 0,"aria-activedescendant":g&&Qe?Qe:void 0,"aria-autocomplete":la,"aria-invalid":p?"true":void 0,"aria-busy":h?"true":void 0,"aria-label":Bo,disabled:I,readOnly:A}),W(re,{valid:v,invalid:p,loading:h,disabled:I}),W(ue,{loading:h,disabled:I}),W(xe,{loading:h,disabled:I,readonly:A,value:m}),c&&Oo(xn,{children:[n&&W(Ce,{}),W(ke,{children:c})]}),W(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:I})]}),g&&C&&W(U,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:C}),F&&W($,{adaptive:!0,id:ut?`${ut}-adaptive`:void 0,...ee,header:W(se,{actionsEnd:W(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:b,title:ae,subtitle:ne}),children:W("div",{className:"k-list-container",children:W(P,{customValue:ie?W(st,{text:`Use "${m}"`}):void 0,size:"large",children:Oo(D,{"aria-label":ae||"Options",children:[W(O,{text:"List item"}),W(O,{text:"List item"}),W(O,{text:"List item"})]})})})})]})};pe.states=Op;pe.options=Tp;pe.className=Lr;pe.defaultOptions=vr;pe.moduleName=bn;pe.folderName=hr;var Le=pe;import{jsx as Ap}from"react/jsx-runtime";var Mr=e=>Ap(Le,{...e});import{jsx as WO,jsxs as qO}from"react/jsx-runtime";import{jsx as tT,jsxs as oT}from"react/jsx-runtime";import{jsx as lT,jsxs as dT}from"react/jsx-runtime";import{Fragment as bT,jsx as fT}from"react/jsx-runtime";import{Fragment as MT,jsx as vT}from"react/jsx-runtime";import{jsx as ET,jsxs as yT}from"react/jsx-runtime";import{Fragment as wT,jsx as RT,jsxs as KT}from"react/jsx-runtime";import{jsx as zT}from"react/jsx-runtime";import{jsx as VT}from"react/jsx-runtime";import{jsx as YT,jsxs as QT}from"react/jsx-runtime";import{jsx as aA,jsxs as nA}from"react/jsx-runtime";import{jsx as ct,jsxs as _p}from"react/jsx-runtime";var Bp=pe.states,Pp=pe.defaultOptions,Rp=pe.options,Kp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],wp=[],to=e=>{let{modifiers:t,...o}=e,a={},n=ct(P,{style:{width:300},size:o.size,children:_p(D,{children:[ct(O,{children:"List item"}),ct(O,{children:"List item"}),ct(O,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?ct(S,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?ct(Ze,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0;break;default:break}}),ct("div",{children:ct(Mr,{value:"Value",style:{width:300},...o,...a})})};to.options=Rp;to.states=Bp;to.variants=wp;to.defaultOptions=Pp;to.modifiers=Kp;to.className=pe.className;var Nn="menu-button",Ir=Nn;import{jsx as zp}from"react/jsx-runtime";var Sr="k-menu-button",Dp=[i.hover,i.focus,i.active,i.selected,i.disabled],Hp={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline,u.clear,u.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},hn={showArrow:!0,arrowIconName:"chevron-down"},H=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:m,selected:b,disabled:N,icon:x,text:v,showArrow:p=hn.showArrow,arrowIconName:M=hn.arrowIconName,expanded:h,...I}=e;return zp(d,{...I,className:r(e.className,Sr),text:v,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:m,selected:b,disabled:N,ariaDisabled:N||void 0,icon:x,showArrow:p,arrowIconName:M,"aria-expanded":h?"true":"false",...!v&&x&&!e["aria-label"]&&{"aria-label":"Menu"}})};H.states=Dp;H.options=Hp;H.className=Sr;H.defaultOptions=hn;H.moduleName=Nn;H.folderName=Ir;import{jsx as _A}from"react/jsx-runtime";import{jsx as UA}from"react/jsx-runtime";import{jsx as $A}from"react/jsx-runtime";var ve="menu",Ke=ve;import{jsx as To,jsxs as kr}from"react/jsx-runtime";var Ln="k-menu-item",Up=[i.hover,i.focus,i.active,i.selected,i.disabled],Gp={},Cr={iconPosition:"before"},oe=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:c,text:m,showArrow:b,arrowIconName:N,iconPosition:x=Cr.iconPosition,dir:v,children:p,expanded:M,...h}=e,I=N;return I||(I=v==="rtl"?"chevron-left":"chevron-right"),kr("li",{...h,className:r(e.className,Ln,"k-item",y(Ln,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":M?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[kr("span",{className:r("k-link k-menu-link"),children:[c&&x==="before"&&To(S,{className:"k-menu-link-icon",icon:c}),To("span",{className:"k-menu-link-text",children:m}),c&&x==="after"&&To(S,{className:"k-menu-link-icon",icon:c}),b&&To("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:To(S,{icon:I})})]}),p]})};oe.states=Up;oe.options=Gp;oe.className=Ln;oe.defaultOptions=Cr;oe.moduleName=ve;oe.folderName=Ke;import{jsx as Mt,jsxs as gr}from"react/jsx-runtime";var vn="k-menu-item",Fp=[i.hover,i.focus,i.active,i.selected,i.disabled],Vp={},Mn={dir:"ltr",iconPosition:"before"},G=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:c,text:m,showArrow:b,arrowIconName:N,iconPosition:x=Mn.iconPosition,dir:v=Mn.dir,children:p,popup:M,expanded:h,actions:I,description:C,...g}=e,A=N;return A||(A=v==="rtl"?"chevron-left":"chevron-right"),gr("li",{role:"menuitem",...g,className:r(e.className,vn,"k-item",y(vn,{focus:o,disabled:s})),...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":h?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[gr("span",{className:r("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[c&&x==="before"&&Mt(S,{className:"k-menu-link-icon",icon:c}),Mt("span",{className:"k-menu-link-text",children:m}),c&&x==="after"&&Mt(S,{className:"k-menu-link-icon",icon:c}),I&&Mt("span",{className:"k-menu-link-actions",children:I}),b&&Mt("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Mt(S,{icon:A})}),C&&Mt("span",{className:"k-menu-link-description",children:C})]}),p,M]})};G.states=Fp;G.options=Vp;G.className=vn;G.defaultOptions=Mn;G.moduleName=ve;G.folderName=Ke;import{jsx as Wp}from"react/jsx-runtime";var Er="k-menu-scroll-wrapper",$p=[],Xp={},Jp={},It=e=>{let{className:t,children:o,orientation:a,...n}=e;return Wp("div",{...n,className:r(t,Er,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};It.states=$p;It.options=Xp;It.className=Er;It.defaultOptions=Jp;It.moduleName=ve;It.folderName=Ke;var yr=It;import{Fragment as In,jsx as St,jsxs as aa}from"react/jsx-runtime";var na="k-menu",qp=[],Yp={size:[l.undefined,l.small,l.medium,l.large]},ia={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},j=e=>{let{children:t,orientation:o=ia.orientation,header:a=ia.header,scrollable:n,scrollButtonsPosition:s=ia.scrollButtonsPosition,wrapperStyles:c,dir:m,size:b,popup:N,contextMenu:x,...v}=e,p={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},M=St("ul",{dir:m,...v,className:r(e.className,"k-reset",na,{[`${na}-${o}`]:o,"k-header":a},k(na,{size:b})),role:x?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return aa(In,{children:[n?aa(yr,{orientation:o,style:c,dir:e.dir,children:[s==="start"&&aa(In,{children:[St(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${p[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),St(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${p[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&St(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${p[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),M,s==="end"&&aa(In,{children:[St(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${p[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),St(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${p[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&St(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${p[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):M,N]})};j.states=qp;j.options=Yp;j.className=na;j.defaultOptions=ia;j.moduleName=ve;j.folderName=Ke;import{jsx as Qp}from"react/jsx-runtime";var Sn="k-separator",Or={orientation:"horizontal"},oo=e=>{let{orientation:t=Or.orientation,...o}=e;return Qp("li",{...o,className:r(e.className,"k-item",Sn,{[`${Sn}-${t}`]:t}),role:"separator"})};oo.className=Sn;oo.defaultOptions=Or;oo.moduleName=ve;oo.folderName=Ke;import{Fragment as v0,jsx as M0}from"react/jsx-runtime";import{jsx as tm}from"react/jsx-runtime";var kn="k-menu-group",Zp=[],jp={size:[l.undefined,l.small,l.medium,l.large]},em={},me=e=>{let{children:t,size:o,...a}=e;return tm("ul",{role:"menu",...a,className:r(e.className,kn,k(kn,{size:o})),children:t})};me.states=Zp;me.options=jp;me.className=kn;me.defaultOptions=em;me.moduleName=ve;me.folderName=Ke;import{jsx as T0,jsxs as A0}from"react/jsx-runtime";import{Fragment as om,jsx as ao,jsxs as am}from"react/jsx-runtime";var Cn=e=>ao(j,{children:am(om,{children:[ao(oe,{text:"Item 1"}),ao(oe,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),ao(oe,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),ao(oe,{text:"Item 4"}),ao(oe,{text:"Item 5"})]}),...e});import{Fragment as U0,jsx as H0,jsxs as z0}from"react/jsx-runtime";import{Fragment as X0,jsx as $0,jsxs as J0}from"react/jsx-runtime";import{Fragment as Z0,jsx as Q0,jsxs as j0}from"react/jsx-runtime";import{Fragment as nB,jsx as aB,jsxs as iB}from"react/jsx-runtime";import{jsx as kt,jsxs as lm}from"react/jsx-runtime";var nm={...j.options,scrollable:{type:"boolean"}},im=j.states,Tr={...j.defaultOptions,variant:"horizontal"},rm=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],sm=[{name:"opened",title:"Opened"}],no=e=>{let{variant:t,modifiers:o,...a}={...Tr,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(c=>{c==="opened"&&(n.opened=!!o?.[c],n.popup=o?.[c]?kt(U,{className:"k-menu-popup",offset:s,children:lm(me,{children:[kt(G,{text:"Item 1"}),kt(G,{text:"Item 2"}),kt(oo,{}),kt(G,{text:"Item 3"})]})}):null)}),t==="vertical"?kt(Cn,{...a,...n,orientation:"vertical",style:{width:"200px"}}):kt(Cn,{...a,...n})};no.options=nm;no.states=im;no.variants=rm;no.defaultOptions=Tr;no.modifiers=sm;no.className=j.className;import{Fragment as DB,jsx as wB,jsxs as _B}from"react/jsx-runtime";import{jsx as GB}from"react/jsx-runtime";import{Fragment as um,jsx as Ve,jsxs as Ar}from"react/jsx-runtime";var dm=d.states,Br={...d.defaultOptions,variant:"text"},cm=d.options,pm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],mm=[{name:"opened",title:"Opened"}],io=e=>{let{variant:t,modifiers:o,...a}={...Br,...e},n={},s=Ve(U,{className:"k-menu-popup",children:Ar(me,{size:a.size,children:[Ve(G,{text:"Menu Item"}),Ve(G,{text:"Menu Item"}),Ve(G,{text:"Menu Item"})]})}),c;switch(t){case"icon-only":c=Ve("div",{children:Ve(H,{...a,...n,icon:"star"})});break;case"icon-and-text":c=Ve("div",{children:Ve(H,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:c=Ve("div",{children:Ve(H,{...a,...n,children:"Dropdown Button"})});break}return Ar(um,{children:[c,o?.opened&&s]})};io.options=cm;io.states=dm;io.variants=pm;io.defaultOptions=Br;io.modifiers=mm;io.className=H.className;var gn="split-button",Pr=gn;import{Fragment as xm,jsx as En,jsxs as Rr}from"react/jsx-runtime";var yn="k-split-button",fm=[i.hover,i.focus,i.active,i.selected,i.disabled],bm={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[u.undefined,u.solid,u.flat,u.outline,u.clear,u.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Kr={arrowIconName:"chevron-down"},w=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:m,selected:b,disabled:N,icon:x,text:v,arrowIconName:p=Kr.arrowIconName,popup:M,opened:h,popupId:I,...C}=e;return Rr(xm,{children:[Rr("div",{...C,className:r(e.className,yn,"k-button-group",k(yn,{rounded:o})),children:[En(d,{text:v,icon:x,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:c,active:m,selected:b,disabled:N,...!v&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),En(d,{className:"k-split-button-arrow",icon:p,size:t,rounded:o,fillMode:a,disabled:N,ariaDisabled:N||void 0,"aria-label":"Toggle dropdown","aria-expanded":h?"true":"false","aria-controls":h?I:void 0,tabIndex:-1})]}),h&&M&&En(U,{className:"k-menu-popup",children:M})]})};w.states=fm;w.options=bm;w.className=yn;w.defaultOptions=Kr;w.moduleName=gn;w.folderName=Pr;var On=w;import{jsx as hm}from"react/jsx-runtime";var Nm="k-toolbar-separator",pt=e=>hm("div",{className:r(Nm,e.className,"k-separator")});var Ao="toolbar",ra=Ao;import{Fragment as Tn,jsx as R,jsxs as ro}from"react/jsx-runtime";var qe="k-toolbar",Lm=[i.focus],vm={size:[l.undefined,l.small,l.medium,l.large],fillMode:[u.undefined,u.solid,u.outline,u.flat]},Mm={scrollButtons:"around"},q=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:c,scrollingPosition:m,section:b,...N}=e,x=[],v=(p,M)=>{let h=[];if(p.type===d&&p.props.className&&p.props.className.includes("k-toolbar-overflow-button"))h.push(R(d,{...p.props,className:`${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`));else if(p.type===d)h.push(R(d,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`));else if(p.type===uo)h.push(R(uo,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`));else if(p.type===Ze)h.push(R(Ze,{...p.props,className:`k-toolbar-button ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`));else if(p.type===H)h.push(R(H,{...p.props,className:`k-toolbar-menu-button ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`));else if(p.type===On)h.push(R(On,{...p.props,className:`k-toolbar-split-button ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`));else if(p.type===T||p.props.className&&p.props.className.includes("k-button-group")){let I=[];(Array.isArray(p.props.children)?p.props.children:[p.props.children]).forEach((g,A)=>{I.push(R(d,{...g.props,className:`${g.props.className?g.props.className:""}`},`${A}-${new Date().getTime()}`))}),h.push(R(T,{...p.props,className:`k-toolbar-button-group ${p.props.className?p.props.className:""}`,children:I},`${M}-${new Date().getTime()}`))}else p.type===pe?h.push(R(pe,{...p.props,className:`k-toolbar-combobox ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`)):p.type===Y?h.push(R(Y,{...p.props,className:`k-toolbar-dropdownlist ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`)):p.type===Re?h.push(R(Re,{...p.props,className:`k-toolbar-colorpicker ${p.props.className?p.props.className:""}`},`${M}-${new Date().getTime()}`)):h.push(p);h.forEach(I=>{x.push(I)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((M,h)=>{v(M,h)}),ro("div",{...N,className:r(e.className,qe,k(qe,{size:t,fillMode:o}),y(qe,{focus:a}),{[`${qe}-resizable`]:n,[`${qe}-scrollable`]:s,[`${qe}-scrollable-overlay`]:s&&c==="hidden",[`${qe}-scrollable-${m}`]:m&&m!=="both",[`${qe}-section`]:b}),role:"toolbar","aria-label":"Toolbar",children:[!s&&x,s&&c==="hidden"&&R("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),s&&c==="start"&&ro(Tn,{children:[ro(T,{children:[R("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:R(S,{className:"k-button-icon",icon:"chevron-left"})}),R("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:R(S,{className:"k-button-icon",icon:"chevron-right"})})]}),R(pt,{className:"k-toolbar-button-separator"}),R("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),s&&c==="end"&&ro(Tn,{children:[R("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),R(pt,{className:"k-toolbar-button-separator"}),ro(T,{children:[R("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:R(S,{className:"k-button-icon",icon:"chevron-left"})}),R("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:R(S,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(c==="around"||!c)&&ro(Tn,{children:[R("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:R(S,{className:"k-button-icon",icon:"chevron-left"})}),R(pt,{className:"k-toolbar-button-separator"}),R("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),R(pt,{className:"k-toolbar-button-separator"}),R("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:R(S,{className:"k-button-icon",icon:"chevron-right"})})]})]})};q.states=Lm;q.options=vm;q.className=qe;q.defaultOptions=Mm;q.moduleName=Ao;q.folderName=ra;import{jsx as BP}from"react/jsx-runtime";import{jsx as wP}from"react/jsx-runtime";import{jsx as zP}from"react/jsx-runtime";import{jsx as XP,jsxs as JP}from"react/jsx-runtime";import{jsx as QP}from"react/jsx-runtime";import{jsx as Ye,jsxs as gm}from"react/jsx-runtime";var Im=w.states,wr={...w.defaultOptions,variant:"text"},Sm=w.options,km=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Cm=[{name:"opened",title:"Opened"}],so=e=>{let{variant:t,modifiers:o,...a}={...wr,...e},n={},s=gm(me,{size:a.size,children:[Ye(G,{text:"Menu Item"}),Ye(G,{text:"Menu Item"}),Ye(G,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(c=>{c==="opened"&&(n.opened=!!o?.[c],n.popup=o?.[c]?s:"")}),t){case"icon-only":return Ye("div",{children:Ye(w,{...a,...n,icon:"star"})});case"icon-and-text":return Ye("div",{children:Ye(w,{...a,...n,icon:"star",children:"Split Button"})});default:return Ye("div",{children:Ye(w,{...a,...n,children:"Split Button"})})}};so.options=Sm;so.states=Im;so.variants=km;so.defaultOptions=wr;so.modifiers=Cm;so.className=w.className;import{jsx as _r}from"react/jsx-runtime";var Dr="k-toolbar-popup",Em=[],ym={size:[l.undefined,l.small,l.medium,l.large],fillMode:[u.undefined,u.solid,u.outline,u.flat]},Om={},Ct=e=>{let{size:t,fillMode:o,section:a,...n}=e;return _r(U,{...n,className:r(e.className,Dr),children:a?_r("span",{className:r("k-toolbar-items-list",k("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Ct.states=Em;Ct.options=ym;Ct.className=Dr;Ct.defaultOptions=Om;Ct.moduleName=Ao;Ct.folderName=ra;var Hr=Ct;import{Fragment as Tm,jsx as be,jsxs as sa}from"react/jsx-runtime";var zr=({fillMode:e,size:t,...o})=>sa(Tm,{children:[be(q,{section:!0,fillMode:e,size:t,children:[be(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),sa(T,{fillMode:e,children:[be(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),be(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),be(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),be(pt,{className:"k-toolbar-button-separator"}),be(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),sa(Hr,{size:t,fillMode:e,section:!0,...o,children:[be(w,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),be(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),be(pt,{}),be(H,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),sa(T,{fillMode:e,children:[be(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),be(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),be(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{jsx as gt,jsxs as Am}from"react/jsx-runtime";var Ur=e=>gt(q,{children:[gt(d,{children:"Button"},"toolbar-button"),gt(H,{text:"Menu button"},"toolbar-menu-button"),gt(w,{children:"Split button"},"toolbar-split-button"),Am(T,{children:[gt(d,{className:"k-group-start",icon:"align-left",children:"Left"}),gt(d,{icon:"align-center",children:"Center"}),gt(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Me,jsxs as Gr}from"react/jsx-runtime";var Fr=e=>Me(q,{scrollable:!0,...e,children:[Me(d,{children:"Button"},"toolbar-button"),Me(H,{text:"Menu button"},"toolbar-menu-button"),Me(w,{children:"Split button"},"toolbar-split-button"),Gr(T,{children:[Me(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Me(d,{icon:"align-center",children:"Center"}),Me(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Me(d,{children:"Button"},"toolbar-button"),Me(H,{text:"Menu button"},"toolbar-menu-button"),Me(w,{children:"Split button"},"toolbar-split-button"),Gr(T,{children:[Me(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Me(d,{icon:"align-center",children:"Center"}),Me(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Ie,jsxs as Vr}from"react/jsx-runtime";var $r=({scrollingPosition:e="start",...t})=>Ie(q,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Ie(d,{children:"Button"},"toolbar-button"),Ie(H,{text:"Menu button"},"toolbar-menu-button"),Ie(w,{children:"Split button"},"toolbar-split-button"),Vr(T,{children:[Ie(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ie(d,{icon:"align-center",children:"Center"}),Ie(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ie(d,{children:"Button"},"toolbar-button"),Ie(H,{text:"Menu button"},"toolbar-menu-button"),Ie(w,{children:"Split button"},"toolbar-split-button"),Vr(T,{children:[Ie(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ie(d,{icon:"align-center",children:"Center"}),Ie(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{jsx as mt}from"react/jsx-runtime";var Bm=q.options,Pm=q.states,Xr={...q.defaultOptions,variant:"default"},Rm=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Km=[],Et=e=>{let{variant:t,...o}={...Xr,...e};switch(t){case"responsive":return mt("div",{children:mt(zr,{style:{width:"583px"},...o})});case"overlay":return mt("div",{children:mt($r,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return mt("div",{children:mt(Fr,{style:{width:"583px"},...o})});default:return mt("div",{children:mt(Ur,{style:{width:"583px"},...o})})}};Et.options=Bm;Et.states=Pm;Et.variants=Rm;Et.defaultOptions=Xr;Et.modifiers=Km;Et.className=q.className;var jR=Et;export{Et as ToolbarDemo,jR as default};