@progress/kendo-themes-html 14.4.1-dev.0 → 14.4.1-dev.1

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 (226) hide show
  1. package/dist/cjs/agent-response/agent-step.js +1 -1
  2. package/dist/cjs/agent-response/chain-of-thought.spec.js +1 -1
  3. package/dist/cjs/agent-response/reasoning.spec.js +1 -1
  4. package/dist/cjs/agent-response/templates/chain-of-thought-expanded.js +1 -1
  5. package/dist/cjs/agent-response/templates/chain-of-thought-normal.js +1 -1
  6. package/dist/cjs/agent-response/templates/reasoning-expanded.js +1 -1
  7. package/dist/cjs/agent-response/templates/reasoning-normal.js +1 -1
  8. package/dist/cjs/agent-response/templates/tool-call-expanded.js +1 -1
  9. package/dist/cjs/agent-response/templates/tool-call-normal.js +1 -1
  10. package/dist/cjs/agent-response/thought.spec.js +1 -1
  11. package/dist/cjs/agent-response/tool-call.spec.js +1 -1
  12. package/dist/cjs/chart-wizard/templates/chart-wizard-data.js +1 -1
  13. package/dist/cjs/chart-wizard/templates/chart-wizard-format.js +1 -1
  14. package/dist/cjs/chart-wizard/templates/chart-wizard-normal.js +1 -1
  15. package/dist/cjs/citation/citation-popover-view.spec.js +1 -0
  16. package/dist/cjs/citation/citation-popover.spec.js +1 -1
  17. package/dist/cjs/citation/templates/citation-opened.js +1 -1
  18. package/dist/cjs/datepicker/datepicker.spec.js +1 -1
  19. package/dist/cjs/datepicker/demos/datepicker.js +1 -1
  20. package/dist/cjs/datepicker/templates/datepicker-adaptive.js +1 -1
  21. package/dist/cjs/datepicker/templates/datepicker-disabled.js +1 -1
  22. package/dist/cjs/datepicker/templates/datepicker-invalid.js +1 -1
  23. package/dist/cjs/datepicker/templates/datepicker-normal.js +1 -1
  24. package/dist/cjs/datepicker/templates/datepicker-popup.js +1 -1
  25. package/dist/cjs/filter/demos/filter.js +1 -1
  26. package/dist/cjs/filter/templates/filter-normal.js +1 -1
  27. package/dist/cjs/filter/templates/filter-preview.js +1 -1
  28. package/dist/cjs/form/demos/form.js +1 -1
  29. package/dist/cjs/form/form-field.js +1 -1
  30. package/dist/cjs/form/form.spec.js +1 -1
  31. package/dist/cjs/form/templates/form-grid-layout.js +1 -1
  32. package/dist/cjs/form/templates/form-horizontal.js +1 -1
  33. package/dist/cjs/form/templates/form-normal.js +1 -1
  34. package/dist/cjs/form/templates/form-with-hints.js +1 -1
  35. package/dist/cjs/grid/templates/grid-hierarchy.js +1 -1
  36. package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
  37. package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
  38. package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
  39. package/dist/cjs/index.js +8 -8
  40. package/dist/cjs/pivotgrid/demos/pivotgrid.js +1 -1
  41. package/dist/cjs/pivotgrid/templates/pivotgrid-normal.js +1 -1
  42. package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator-disabled-actions.js +1 -1
  43. package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator-opened.js +1 -1
  44. package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator.js +1 -1
  45. package/dist/cjs/scheduler/demos/scheduler.js +1 -1
  46. package/dist/cjs/scheduler/scheduler-cell.spec.js +1 -1
  47. package/dist/cjs/scheduler/scheduler-event.spec.js +1 -1
  48. package/dist/cjs/scheduler/scheduler-toolbar.spec.js +1 -1
  49. package/dist/cjs/scheduler/templates/scheduler-agenda.js +1 -1
  50. package/dist/cjs/scheduler/templates/scheduler-day.js +1 -1
  51. package/dist/cjs/scheduler/templates/scheduler-flex-agenda.js +1 -1
  52. package/dist/cjs/scheduler/templates/scheduler-flex-day.js +1 -1
  53. package/dist/cjs/scheduler/templates/scheduler-flex-horizontal-grouping.js +1 -1
  54. package/dist/cjs/scheduler/templates/scheduler-flex-month.js +1 -1
  55. package/dist/cjs/scheduler/templates/scheduler-flex-timeline.js +1 -1
  56. package/dist/cjs/scheduler/templates/scheduler-flex-vertical-grouping.js +1 -1
  57. package/dist/cjs/scheduler/templates/scheduler-flex-week.js +1 -1
  58. package/dist/cjs/scheduler/templates/scheduler-flex-year.js +1 -1
  59. package/dist/cjs/scheduler/templates/scheduler-horizontal-grouping.js +1 -1
  60. package/dist/cjs/scheduler/templates/scheduler-month.js +1 -1
  61. package/dist/cjs/scheduler/templates/scheduler-timeline.js +1 -1
  62. package/dist/cjs/scheduler/templates/scheduler-vertical-grouping.js +1 -1
  63. package/dist/cjs/scheduler/templates/scheduler-week.js +1 -1
  64. package/dist/cjs/taskboard/demos/taskboard.js +1 -1
  65. package/dist/cjs/taskboard/taskboard.spec.js +1 -1
  66. package/dist/cjs/taskboard/templates/taskboard-normal.js +1 -1
  67. package/dist/cjs/taskboard/templates/taskboard-pane.js +1 -1
  68. package/dist/cjs/timepicker/demos/timepicker.js +1 -1
  69. package/dist/cjs/timepicker/templates/timepicker-adaptive.js +1 -1
  70. package/dist/cjs/timepicker/templates/timepicker-disabled.js +1 -1
  71. package/dist/cjs/timepicker/templates/timepicker-invalid.js +1 -1
  72. package/dist/cjs/timepicker/templates/timepicker-normal.js +1 -1
  73. package/dist/cjs/timepicker/templates/timepicker-popup.js +1 -1
  74. package/dist/cjs/timepicker/timepicker.spec.js +1 -1
  75. package/dist/esm/agent-response/agent-step.mjs +1 -1
  76. package/dist/esm/agent-response/chain-of-thought.spec.mjs +1 -1
  77. package/dist/esm/agent-response/reasoning.spec.mjs +1 -1
  78. package/dist/esm/agent-response/templates/chain-of-thought-expanded.mjs +1 -1
  79. package/dist/esm/agent-response/templates/chain-of-thought-normal.mjs +1 -1
  80. package/dist/esm/agent-response/templates/reasoning-expanded.mjs +1 -1
  81. package/dist/esm/agent-response/templates/reasoning-normal.mjs +1 -1
  82. package/dist/esm/agent-response/templates/tool-call-expanded.mjs +1 -1
  83. package/dist/esm/agent-response/templates/tool-call-normal.mjs +1 -1
  84. package/dist/esm/agent-response/thought.spec.mjs +1 -1
  85. package/dist/esm/agent-response/tool-call.spec.mjs +1 -1
  86. package/dist/esm/chart-wizard/templates/chart-wizard-data.mjs +1 -1
  87. package/dist/esm/chart-wizard/templates/chart-wizard-format.mjs +1 -1
  88. package/dist/esm/chart-wizard/templates/chart-wizard-normal.mjs +1 -1
  89. package/dist/esm/citation/citation-popover-view.spec.mjs +1 -0
  90. package/dist/esm/citation/citation-popover.spec.mjs +1 -1
  91. package/dist/esm/citation/templates/citation-opened.mjs +1 -1
  92. package/dist/esm/datepicker/datepicker.spec.mjs +1 -1
  93. package/dist/esm/datepicker/demos/datepicker.mjs +1 -1
  94. package/dist/esm/datepicker/templates/datepicker-adaptive.mjs +1 -1
  95. package/dist/esm/datepicker/templates/datepicker-disabled.mjs +1 -1
  96. package/dist/esm/datepicker/templates/datepicker-invalid.mjs +1 -1
  97. package/dist/esm/datepicker/templates/datepicker-normal.mjs +1 -1
  98. package/dist/esm/datepicker/templates/datepicker-popup.mjs +1 -1
  99. package/dist/esm/filter/demos/filter.mjs +1 -1
  100. package/dist/esm/filter/templates/filter-normal.mjs +1 -1
  101. package/dist/esm/filter/templates/filter-preview.mjs +1 -1
  102. package/dist/esm/form/demos/form.mjs +1 -1
  103. package/dist/esm/form/form-field.mjs +1 -1
  104. package/dist/esm/form/form.spec.mjs +1 -1
  105. package/dist/esm/form/templates/form-grid-layout.mjs +1 -1
  106. package/dist/esm/form/templates/form-horizontal.mjs +1 -1
  107. package/dist/esm/form/templates/form-normal.mjs +1 -1
  108. package/dist/esm/form/templates/form-with-hints.mjs +1 -1
  109. package/dist/esm/grid/templates/grid-hierarchy.mjs +1 -1
  110. package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
  111. package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
  112. package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
  113. package/dist/esm/index.mjs +8 -8
  114. package/dist/esm/pivotgrid/demos/pivotgrid.mjs +1 -1
  115. package/dist/esm/pivotgrid/templates/pivotgrid-normal.mjs +1 -1
  116. package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator-disabled-actions.mjs +1 -1
  117. package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator-opened.mjs +1 -1
  118. package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator.mjs +1 -1
  119. package/dist/esm/scheduler/demos/scheduler.mjs +1 -1
  120. package/dist/esm/scheduler/scheduler-cell.spec.mjs +1 -1
  121. package/dist/esm/scheduler/scheduler-event.spec.mjs +1 -1
  122. package/dist/esm/scheduler/scheduler-toolbar.spec.mjs +1 -1
  123. package/dist/esm/scheduler/templates/scheduler-agenda.mjs +1 -1
  124. package/dist/esm/scheduler/templates/scheduler-day.mjs +1 -1
  125. package/dist/esm/scheduler/templates/scheduler-flex-agenda.mjs +1 -1
  126. package/dist/esm/scheduler/templates/scheduler-flex-day.mjs +1 -1
  127. package/dist/esm/scheduler/templates/scheduler-flex-horizontal-grouping.mjs +1 -1
  128. package/dist/esm/scheduler/templates/scheduler-flex-month.mjs +1 -1
  129. package/dist/esm/scheduler/templates/scheduler-flex-timeline.mjs +1 -1
  130. package/dist/esm/scheduler/templates/scheduler-flex-vertical-grouping.mjs +1 -1
  131. package/dist/esm/scheduler/templates/scheduler-flex-week.mjs +1 -1
  132. package/dist/esm/scheduler/templates/scheduler-flex-year.mjs +1 -1
  133. package/dist/esm/scheduler/templates/scheduler-horizontal-grouping.mjs +1 -1
  134. package/dist/esm/scheduler/templates/scheduler-month.mjs +1 -1
  135. package/dist/esm/scheduler/templates/scheduler-timeline.mjs +1 -1
  136. package/dist/esm/scheduler/templates/scheduler-vertical-grouping.mjs +1 -1
  137. package/dist/esm/scheduler/templates/scheduler-week.mjs +1 -1
  138. package/dist/esm/taskboard/demos/taskboard.mjs +1 -1
  139. package/dist/esm/taskboard/taskboard.spec.mjs +1 -1
  140. package/dist/esm/taskboard/templates/taskboard-normal.mjs +1 -1
  141. package/dist/esm/taskboard/templates/taskboard-pane.mjs +1 -1
  142. package/dist/esm/timepicker/demos/timepicker.mjs +1 -1
  143. package/dist/esm/timepicker/templates/timepicker-adaptive.mjs +1 -1
  144. package/dist/esm/timepicker/templates/timepicker-disabled.mjs +1 -1
  145. package/dist/esm/timepicker/templates/timepicker-invalid.mjs +1 -1
  146. package/dist/esm/timepicker/templates/timepicker-normal.mjs +1 -1
  147. package/dist/esm/timepicker/templates/timepicker-popup.mjs +1 -1
  148. package/dist/esm/timepicker/timepicker.spec.mjs +1 -1
  149. package/dist/types/agent-response/agent-step.d.ts +0 -2
  150. package/dist/types/agent-response/thought.spec.d.ts +0 -2
  151. package/dist/types/citation/citation-popover-view.spec.d.ts +18 -0
  152. package/dist/types/citation/citation-popover.spec.d.ts +0 -1
  153. package/dist/types/citation/index.d.ts +1 -0
  154. package/dist/types/datepicker/datepicker.spec.d.ts +1 -0
  155. package/dist/types/form/form-field.d.ts +1 -1
  156. package/dist/types/scheduler/scheduler-cell.spec.d.ts +1 -0
  157. package/dist/types/scheduler/scheduler-event.spec.d.ts +9 -3
  158. package/dist/types/scheduler/scheduler.spec.d.ts +19 -2
  159. package/dist/types/timepicker/timepicker.spec.d.ts +1 -0
  160. package/package.json +1 -1
  161. package/src/agent-response/agent-step.tsx +1 -9
  162. package/src/agent-response/templates/chain-of-thought-expanded.tsx +1 -1
  163. package/src/agent-response/templates/chain-of-thought-normal.tsx +1 -1
  164. package/src/agent-response/templates/reasoning-expanded.tsx +1 -1
  165. package/src/agent-response/templates/reasoning-normal.tsx +1 -1
  166. package/src/agent-response/templates/tool-call-expanded.tsx +1 -1
  167. package/src/agent-response/templates/tool-call-normal.tsx +1 -1
  168. package/src/agent-response/tests/chain-of-thought.tsx +3 -3
  169. package/src/agent-response/tests/reasoning.tsx +2 -2
  170. package/src/agent-response/tests/tool-call.tsx +19 -35
  171. package/src/agent-response/thought.spec.tsx +1 -9
  172. package/src/citation/citation-popover-view.spec.tsx +54 -0
  173. package/src/citation/citation-popover.spec.tsx +5 -7
  174. package/src/citation/index.ts +1 -0
  175. package/src/citation/templates/citation-opened.tsx +3 -6
  176. package/src/citation/tests/citation.tsx +19 -19
  177. package/src/datepicker/datepicker.spec.tsx +5 -2
  178. package/src/form/form-field.tsx +1 -1
  179. package/src/form/form.spec.tsx +4 -2
  180. package/src/grid/templates/grid-hierarchy.tsx +1 -1
  181. package/src/scheduler/scheduler-cell.spec.tsx +13 -6
  182. package/src/scheduler/scheduler-event.spec.tsx +108 -88
  183. package/src/scheduler/scheduler-toolbar.spec.tsx +7 -8
  184. package/src/scheduler/scheduler.spec.tsx +19 -2
  185. package/src/scheduler/templates/scheduler-agenda.tsx +9 -7
  186. package/src/scheduler/templates/scheduler-day.tsx +3 -6
  187. package/src/scheduler/templates/scheduler-flex-agenda.tsx +8 -6
  188. package/src/scheduler/templates/scheduler-flex-day.tsx +10 -11
  189. package/src/scheduler/templates/scheduler-flex-horizontal-grouping.tsx +6 -12
  190. package/src/scheduler/templates/scheduler-flex-month.tsx +13 -35
  191. package/src/scheduler/templates/scheduler-flex-timeline.tsx +8 -6
  192. package/src/scheduler/templates/scheduler-flex-vertical-grouping.tsx +4 -10
  193. package/src/scheduler/templates/scheduler-flex-week.tsx +15 -13
  194. package/src/scheduler/templates/scheduler-flex-year.tsx +9 -5
  195. package/src/scheduler/templates/scheduler-horizontal-grouping.tsx +5 -11
  196. package/src/scheduler/templates/scheduler-month.tsx +14 -35
  197. package/src/scheduler/templates/scheduler-timeline.tsx +9 -7
  198. package/src/scheduler/templates/scheduler-vertical-grouping.tsx +2 -2
  199. package/src/scheduler/templates/scheduler-week.tsx +19 -26
  200. package/src/scheduler/tests/scheduler-adaptive-agenda.tsx +17 -12
  201. package/src/scheduler/tests/scheduler-adaptive-day-resource-group.tsx +18 -27
  202. package/src/scheduler/tests/scheduler-adaptive-day.tsx +18 -27
  203. package/src/scheduler/tests/scheduler-adaptive-edit-no-height.tsx +9 -3
  204. package/src/scheduler/tests/scheduler-adaptive-edit-time-zones.tsx +10 -4
  205. package/src/scheduler/tests/scheduler-adaptive-edit.tsx +9 -3
  206. package/src/scheduler/tests/scheduler-adaptive-month.tsx +21 -28
  207. package/src/scheduler/tests/scheduler-agenda-view.tsx +7 -0
  208. package/src/scheduler/tests/scheduler-current-time-marker.tsx +28 -34
  209. package/src/scheduler/tests/scheduler-day-view.tsx +7 -0
  210. package/src/scheduler/tests/scheduler-edit-event-dialog.tsx +144 -0
  211. package/src/scheduler/tests/scheduler-events-popover.tsx +122 -0
  212. package/src/scheduler/tests/scheduler-events-responsive.tsx +71 -0
  213. package/src/scheduler/tests/scheduler-events.tsx +503 -508
  214. package/src/scheduler/tests/scheduler-month-view.tsx +7 -0
  215. package/src/scheduler/tests/scheduler-new-event-dialog.tsx +191 -0
  216. package/src/scheduler/tests/scheduler-quick-actions-popover.tsx +114 -0
  217. package/src/scheduler/tests/scheduler-react-timeline-multi.tsx +568 -673
  218. package/src/scheduler/tests/scheduler-recurrence-dialog.tsx +437 -0
  219. package/src/scheduler/tests/scheduler-timeline-view.tsx +7 -0
  220. package/src/scheduler/tests/scheduler-toolbar-responsive.tsx +226 -0
  221. package/src/scheduler/tests/scheduler-week-view.tsx +7 -0
  222. package/src/scheduler/tests/scheduler-year-view.tsx +3 -0
  223. package/src/timepicker/timepicker.spec.tsx +5 -2
  224. package/src/scheduler/tests/scheduler-edit-dialog.tsx +0 -103
  225. package/src/scheduler/tests/scheduler-editing-weekly.tsx +0 -128
  226. package/src/scheduler/tests/scheduler-tooltip.tsx +0 -82
@@ -1 +1 @@
1
- var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...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 C=(e,t)=>i({[`${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"}),E=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:d,active:m,selected:b,disabled:N,indeterminate:x,loading:h,empty:c,readonly:v,highlighted:L,...S}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":d,"k-active":m,"k-selected":b,"k-disabled":N,"k-indeterminate":x&&!d,"k-loading":h,"k-empty":c,"k-readonly":v,"k-highlighted":L},Object.keys(S).reduce((g,I)=>(I.startsWith("k-")?g[I]=S[I]:g[`k-${I}`]=S[I],g),{}))};function Zr(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"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},at={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},M={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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 fn={};function A(e){return fn[e]=(fn[e]||0)+1,`k-${e}-${fn[e]}`}import{Fragment as pd,jsx as Qr}from"react/jsx-runtime";var bn="k-font-icon",sd=[],ld={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info]},dd={},jo=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...d}=e;return a?Qr("span",{...d,className:i(e.className,bn,C(bn,{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"}):Qr(pd,{})};jo.states=sd;jo.options=ld;jo.className=bn;jo.defaultOptions=dd;var jr=jo;import{Fragment as ud,jsx as Ta}from"react/jsx-runtime";var xn="k-svg-icon",md=[],cd={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info],variant:[at.outline,at.solid,at.duotone]},Nn={viewBox:"0 0 24 24",variant:at.outline},ea=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Nn.viewBox,variant:d=Nn.variant,icon:m,...b}=e;if(!m)return Ta(ud,{});if(m==="none")return Ta("span",{...b,className:i(e.className,xn,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?d&&m.variants?.[d]||m.variants?.outline||m.content:void 0;return Ta("span",{...b,className:i(e.className,xn,C("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:Ta("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})})};ea.states=md;ea.options=cd;ea.className=xn;ea.defaultOptions=Nn;var hn=ea;import*as Ln from"@progress/kendo-svg-icons";var ei="icon",ti="icons";import{useContext as bd}from"react";import{createContext as fd}from"react";var oi=fd({iconsType:"svg"});import{Fragment as ai,jsx as ta}from"react/jsx-runtime";var ya="k-icon",xd=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Nd=[],hd={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info],variant:[at.outline,at.solid,at.duotone]},Oa={viewBox:"0 0 24 24",type:"svg",variant:at.outline},k=e=>{let{iconsType:t}=bd(oi),{size:o,themeColor:a,icon:n,type:s=t||Oa.type,rotate:d,flip:m,viewBox:b=Oa.viewBox,variant:N=Oa.variant,...x}=e;if(!n)return ta(ai,{});if((t||s)==="svg"){if(n==="none")return ta(hn,{...x,className:i(e.className,ya),icon:n,size:o,variant:N});let c=Ln[n]?n:xd(`${n}-icon`);return Ln[c]?ta(hn,{...x,className:i(e.className,ya),icon:Ln[c],size:o,themeColor:a,rotate:d,flip:m,viewBox:b,variant:N}):ta(ai,{})}return ta(jr,{...x,className:i(e.className,ya),icon:n,size:o,themeColor:a,rotate:d,flip:m})};k.states=Nd;k.options=hd;k.defaultOptions=Oa;k.className=ya;k.moduleName=ei;k.folderName=ti;var vn="button",ni=vn;import{Fragment as ri,jsx as oo,jsxs as ii}from"react/jsx-runtime";var oa="k-button",Ld=["icon-button"],vd=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Md={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info,M.inverse]},Mn={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:d=Mn.showArrow,arrowIconName:m=Mn.arrowIconName,variant:b,hover:N,focus:x,active:h,selected:c,disabled:v,togglable:L,ariaDisabled:S,icon:g,iconSize:I,text:y,iconClassName:z,className:q,...ee}=e,se=g!=null,le=e.children!==void 0;return ii(t,{className:i(q,oa,Zr(oa,b),C(oa,{size:o,rounded:a,fillMode:n,themeColor:s}),E(oa,{hover:N,focus:x,active:h,disabled:v||S,selected:c}),{"k-icon-button":!y&&!le&&se}),"aria-pressed":L?c?"true":"false":void 0,...ee,"aria-disabled":S?"true":void 0,disabled:v||void 0,children:[typeof g=="string"&&g&&oo(k,{className:i(z,"k-button-icon"),icon:g,size:I}),g&&typeof g!="string"&&oo(ri,{children:g}),y?ii(ri,{children:[y&&oo("span",{className:"k-button-text",children:y}),e.children]}):e.children&&oo("span",{className:"k-button-text",children:e.children}),d&&oo("span",{className:"k-menu-button-arrow k-button-arrow",children:oo(k,{icon:m})})]})};p.states=vd;p.options=Md;p.variants=Ld;p.className=oa;p.defaultOptions=Mn;p.moduleName=vn;p.folderName=ni;import{jsx as Sd}from"react/jsx-runtime";var ft=e=>Sd(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as kd}from"react/jsx-runtime";var aa=e=>kd(p,{icon:"folder",children:"Button",...e});import{jsx as gd}from"react/jsx-runtime";var Ht=e=>gd(p,{children:"Button",...e});import{jsx as Sn}from"react/jsx-runtime";var Id=p.options,Cd=p.states,Ed={...p.defaultOptions,variant:"text"},Td=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],yd=[],ao=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Sn(ft,{...o,icon:"star"});case"icon-and-text":return Sn(aa,{...o,icon:"star",children:"Button"});default:return Sn(Ht,{...o,children:"Button"})}};ao.options=Id;ao.states=Cd;ao.variants=Td;ao.defaultOptions=Ed;ao.modifiers=yd;ao.className=p.className;var kn="button",si=kn;import{jsx as Rd}from"react/jsx-runtime";var na="k-button-group",Od=[r.disabled],Ad={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Bd={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Rd("div",{role:"group",...n,className:i(e.className,na,C(na,{fillMode:t}),E(na,{disabled:o}),{[`${na}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=Od;O.options=Ad;O.className=na;O.defaultOptions=Bd;O.moduleName=kn;O.folderName=si;import{Fragment as xh,jsx as bh,jsxs as Nh}from"react/jsx-runtime";import{Fragment as kh,jsx as Sh,jsxs as gh}from"react/jsx-runtime";import{Fragment as Oh,jsx as yh,jsxs as Ah}from"react/jsx-runtime";import{Fragment as _h,jsx as wh,jsxs as Dh}from"react/jsx-runtime";import{Fragment as Vh,jsx as Gh,jsxs as $h}from"react/jsx-runtime";import{Fragment as Zh,jsx as Yh,jsxs as Qh}from"react/jsx-runtime";import{jsx as bt,jsxs as gn}from"react/jsx-runtime";var Pd={...p.options,...O.options},Kd=p.states,wd={...p.defaultOptions,...O.defaultOptions,variant:"text-button"},_d=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Dd=[],no=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?gn(O,{fillMode:a.fillMode,className:o,children:[bt(p,{...a,icon:"star"}),bt(p,{...a,icon:"star"}),bt(p,{...a,icon:"star"})]}):t==="icon-text-button"?gn(O,{fillMode:a.fillMode,className:o,children:[bt(p,{...a,icon:"star",children:"First"}),bt(p,{...a,icon:"star",children:"Middle"}),bt(p,{...a,icon:"star",children:"Last"})]}):gn(O,{fillMode:a.fillMode,className:o,children:[bt(p,{...a,children:"First"}),bt(p,{...a,children:"Middle"}),bt(p,{...a,children:"Last"})]})};no.options=Pd;no.states=Kd;no.variants=_d;no.defaultOptions=wd;no.modifiers=Dd;no.className=O.className;var ra="input",Aa=ra;import{jsx as Ud}from"react/jsx-runtime";var Ba="k-input",zd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Hd={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Fd={},U=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m,size:b,rounded:N,fillMode:x,...h}=e;return Ud("span",{...h,className:i(e.className,Ba,C(Ba,{size:b,rounded:N,fillMode:x}),E(Ba,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m}))})};U.states=zd;U.options=Hd;U.className=Ba;U.defaultOptions=Fd;U.moduleName=ra;U.folderName=Aa;import{jsx as Xd}from"react/jsx-runtime";var Ra="k-picker",Gd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Vd={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},$d={},nt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m,size:b,rounded:N,fillMode:x,...h}=e;return Xd("span",{...h,className:i(e.className,Ra,C(Ra,{size:b,rounded:N,fillMode:x}),E(Ra,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m})),children:e.children})};nt.states=Gd;nt.options=Vd;nt.className=Ra;nt.defaultOptions=$d;nt.moduleName=ra;nt.folderName=Aa;import{Fragment as qd,jsx as In}from"react/jsx-runtime";var li="k-clear-value",Wd=[r.disabled,r.loading,r.readonly],Jd={},de=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?In(qd,{}):In("span",{className:i(e.className,li),children:In(k,{icon:"x"})})};de.states=Wd;de.options=Jd;de.className=li;import{jsx as Qd}from"react/jsx-runtime";var Cn="k-input-inner",Yd=[],Zd={},Pa={type:"text",autocomplete:"off",value:"",placeholder:""},pe=e=>{let{value:t=Pa.value,type:o=Pa.type,placeholder:a=Pa.placeholder,autocomplete:n=Pa.autocomplete,disabled:s,readOnly:d,...m}=e;return Qd("input",{...m,type:o,className:i(e.className,Cn,C(Cn,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};pe.states=Yd;pe.options=Zd;pe.className=Cn;import{jsx as di,jsxs as tp}from"react/jsx-runtime";var En="k-input-inner",jd=[],ep={},Ft=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...d}=e;return tp("span",{...d,className:i(e.className,En,C(En,e)),children:[n,!n&&s&&di(k,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&di("span",{className:"k-input-value-text",children:t})]})};Ft.states=jd;Ft.options=ep;Ft.className=En;import{jsx as np}from"react/jsx-runtime";var Tn="k-input-inner",op=[],ap={},pi={value:"",placeholder:""},ia=e=>{let{value:t=pi.value,placeholder:o=pi.placeholder,rows:a,disabled:n,...s}=e;return np("textarea",{...s,className:i(e.className,Tn,C(Tn,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ia.states=op;ia.options=ap;ia.className=Tn;import{Fragment as ip,jsx as mi}from"react/jsx-runtime";var ci="k-input-loading-icon",rp=[r.disabled,r.loading],ne=e=>{let{disabled:t,loading:o}=e;return t||!o?mi(ip,{}):mi("span",{className:i(e.className,ci,"k-icon k-i-loading")})};ne.states=rp;ne.className=ci;import{Fragment as dp,jsx as ui}from"react/jsx-runtime";var fi="k-input-validation-icon",sp=[r.valid,r.invalid,r.disabled,r.loading],lp={},te=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?ui(dp,{}):ui(k,{className:i(fi),icon:s})};te.states=sp;te.options=lp;te.className=fi;import{Fragment as cp,jsx as bi}from"react/jsx-runtime";var pp="k-input-prefix",mp={direction:"horizontal"},fe=e=>{let{direction:t=mp.direction,...o}=e;return e.children?bi("span",{...o,className:i(pp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):bi(cp,{})};import{Fragment as bp,jsx as xi}from"react/jsx-runtime";var up="k-input-suffix",fp={direction:"horizontal"},be=e=>{let{direction:t=fp.direction,...o}=e;return e.children?xi("span",{...o,className:i(up,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):xi(bp,{})};import{jsx as QL}from"react/jsx-runtime";import{jsx as Np}from"react/jsx-runtime";var xp="k-input-suffix-text",yn=e=>{let{children:t,...o}=e;return Np("span",{...o,className:i(xp,e.className),children:t})};import{jsx as Lp}from"react/jsx-runtime";var Ni="k-input-separator",hp={direction:"vertical"},re=e=>{let{direction:t=hp.direction,...o}=e;return Lp("span",{...o,className:i(Ni,e.className,{[`${Ni}-${t}`]:t})})};import{Fragment as hi,jsx as rt,jsxs as On}from"react/jsx-runtime";var vp=U.states,Mp=U.defaultOptions,Sp=U.options,kp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],gp=[],ro=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:d,...m}=e,b=t?.prefix,N=t?.suffix,x=t?.["clear-button"],h=t?.["validation-icon"],c=t?.separators;return On(U,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:d,style:{width:300},children:[b&&On(hi,{children:[rt(fe,{children:rt(k,{icon:"lock"})}),c&&rt(re,{})]}),rt(pe,{placeholder:"Placeholder",value:"Value"}),h&&rt(te,{valid:o,invalid:a,loading:n,disabled:s}),rt(ne,{loading:n,disabled:s}),x&&rt(de,{loading:n,disabled:s,readonly:d,value:"Value"}),N&&On(hi,{children:[c&&rt(re,{}),rt(be,{children:rt(Ht,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};ro.options=Sp;ro.states=vp;ro.variants=gp;ro.defaultOptions=Mp;ro.modifiers=kp;ro.className=U.className;import{jsx as Li,jsxs as Ep}from"react/jsx-runtime";var vi="k-color-preview",Ip=[],Cp={},kt=e=>{let{color:t,iconName:o,...a}=e;return Ep("span",{...a,className:i(e.className,vi,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Li(k,{icon:o,className:"k-color-preview-icon"}),Li("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};kt.states=Ip;kt.options=Cp;kt.className=vi;var An="popup",Mi=An;import{jsx as Si}from"react/jsx-runtime";var ki="k-animation-container",Tp=[],yp={},Bn={positionMode:"absolute",shown:!0},it=e=>{let{positionMode:t=Bn.positionMode,shown:o=Bn.shown,animationStyle:a,offset:n,...s}=e;return Si("div",{...s,style:{...n,...e.style},className:i(e.className,ki,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Si("div",{className:"k-child-animation-container",style:a,children:e.children})})};it.states=Tp;it.options=yp;it.className=ki;it.defaultOptions=Bn;it.moduleName=An;it.folderName=Mi;var Rn="popup",gi=Rn;import{jsx as Ii}from"react/jsx-runtime";var Ci="k-popup",Op=[],Ap={},Ei={positionMode:"absolute"},X=e=>{let{offset:t,positionMode:o=Ei.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:d,...m}=e;return Ii(it,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":d,children:Ii("div",{...m,className:i(e.className,Ci),children:e.children})})};X.states=Op;X.options=Ap;X.className=Ci;X.defaultOptions=Ei;X.moduleName=Rn;X.folderName=gi;var Pn="action-buttons",Ti=Pn;import{jsx as Pp}from"react/jsx-runtime";var Ka="k-actions",Bp=[],Rp={},Kn={alignment:"start",orientation:"horizontal"},st=e=>{let{alignment:t=Kn.alignment,orientation:o=Kn.orientation,...a}=e;return Pp("div",{...a,className:i(Ka,{[`${Ka}-${t}`]:t,[`${Ka}-${o}`]:o},e.className),children:e.children})};st.states=Bp;st.options=Rp;st.className=Ka;st.defaultOptions=Kn;st.moduleName=Pn;st.folderName=Ti;import{jsx as wp}from"react/jsx-runtime";var Kp="k-actionsheet-footer",yi={alignment:"stretched",orientation:"horizontal"},gt=e=>{let{alignment:t=yi.alignment,orientation:o=yi.orientation,template:a,as:n=a?"div":st,...s}=e;return wp(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Kp),children:e.children})};var wn="searchbox",Oi=wn;import{jsx as sa,jsxs as zp}from"react/jsx-runtime";var Ai="k-searchbox",_p=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Dp={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},_n={showIcon:!0,icon:"search"},He=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:d,focus:m,valid:b,invalid:N,required:x,loading:h,disabled:c,showIcon:v=_n.showIcon,icon:L=_n.icon,"aria-label":S,...g}=e;return zp(U,{...g,size:a,rounded:n,fillMode:s,hover:d,focus:m,valid:b,invalid:N,required:x,loading:h,disabled:c,className:i(e.className,Ai),children:[v&&sa(k,{className:"k-input-icon",icon:L}),sa(pe,{placeholder:o,value:t,"aria-label":S}),sa(ne,{...e}),sa(te,{...e}),sa(de,{...e})]})};He.states=_p;He.options=Dp;He.className=Ai;He.defaultOptions=_n;He.moduleName=wn;He.folderName=Oi;import{jsx as kM}from"react/jsx-runtime";var Dn="textbox",Bi=Dn;import{Fragment as Ri,jsx as It,jsxs as zn}from"react/jsx-runtime";var Pi="k-textbox",Hp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Fp={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},wa={showClearButton:!0,showValidationIcon:!0,separators:!0},H=e=>{let{size:t,rounded:o,fillMode:a,separators:n=wa.separators,showClearButton:s=wa.showClearButton,showValidationIcon:d=wa.showValidationIcon,prefix:m,suffix:b,type:N,value:x,placeholder:h,hover:c,focus:v,valid:L,invalid:S,required:g,loading:I,disabled:y,readonly:z,id:q,"aria-label":ee,"aria-describedby":se,...le}=e;return zn(U,{...le,size:t,rounded:o,fillMode:a,hover:c,focus:v,valid:L,invalid:S,required:g,loading:I,disabled:y,readonly:z,className:i(e.className,Pi),children:[m&&zn(Ri,{children:[It(fe,{children:m}),n&&It(re,{})]}),It(pe,{id:q,placeholder:h,value:x,type:N,disabled:y,"aria-label":ee,"aria-describedby":se,"aria-invalid":S?"true":void 0}),d&&It(te,{valid:L,invalid:S,loading:I,disabled:y}),It(ne,{loading:I,disabled:y}),s&&It(de,{loading:I,disabled:y,readonly:z,value:x}),b&&zn(Ri,{children:[n&&It(re,{}),It(be,{children:b})]})]})};H.states=Hp;H.options=Fp;H.className=Pi;H.defaultOptions=wa;H.moduleName=Dn;H.folderName=Bi;var la=H;import{jsx as Up}from"react/jsx-runtime";var Ki=e=>Up(la,{...e});import{Fragment as FM,jsx as HM}from"react/jsx-runtime";import{Fragment as WM,jsx as XM}from"react/jsx-runtime";import{jsx as ZM}from"react/jsx-runtime";import{jsx as Hn}from"react/jsx-runtime";var Gp=H.states,Vp=H.defaultOptions,$p=H.options,Xp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Wp=[],io=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Hn(k,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Hn(Ht,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Hn(Ki,{value:"Value",style:{width:300},...o,...a})};io.options=$p;io.states=Gp;io.variants=Wp;io.defaultOptions=Vp;io.modifiers=Xp;io.className=H.className;import{jsx as Ct,jsxs as Fn}from"react/jsx-runtime";var wi="k-actionsheet-titlebar",Jp={},Me=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:d,inputValue:m,inputPlaceholder:b,adaptive:N,titleId:x,children:h,...c}=e;return Fn("div",{...c,className:i(e.className,wi),children:[Fn("div",{className:"k-actionsheet-titlebar-group",children:[a&&Ct("div",{className:"k-actionsheet-actions",children:a}),!h&&Fn("div",{className:"k-actionsheet-title",id:x,children:[t&&Ct("div",{className:"k-text-center",children:t}),o&&Ct("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&Ct("div",{className:"k-actionsheet-title",id:x,children:h}),n&&Ct("div",{className:"k-actionsheet-actions",children:n})]}),(d||s)&&Ct("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?Ct(H,{value:m,placeholder:b,size:N?"large":"medium","aria-label":t||b||"Input"}):Ct(He,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Me.className=wi;Me.defaultOptions=Jp;import{jsx as Un,jsxs as Qp}from"react/jsx-runtime";var Gn="k-actionsheet-view",qp=[],Yp={},Zp={},so=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:d,...m}=e,b=n?.type===Me&&Un(Me,{adaptive:t,titleId:d,...n?.props}),N=s?.type===gt&&Un(gt,{...s?.props});return Qp("div",{...m,className:i(e.className,Gn,{[`${Gn}-animated`]:o}),children:[b,Un("div",{className:"k-actionsheet-content",children:a}),N]})};so.states=qp;so.options=Yp;so.className=Gn;so.defaultOptions=Zp;var da="action-sheet",_a=da;var Vn="overlay",_i=Vn;import{jsx as om}from"react/jsx-runtime";var Di="k-overlay",jp=[],em={},tm={},Et=e=>{let{...t}=e;return om("div",{...t,className:i(e.className,Di),children:e.children})};Et.states=jp;Et.options=em;Et.className=Di;Et.defaultOptions=tm;Et.moduleName=Vn;Et.folderName=_i;import{jsx as Da,jsxs as rm}from"react/jsx-runtime";var zi="k-actionsheet",am=[],nm={},pa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Y=e=>{let{side:t=pa.side,fullscreen:o=pa.fullscreen,adaptive:a=pa.adaptive,overlay:n=pa.overlay,template:s,children:d,header:m,footer:b,id:N,...x}=e,h=N&&!s&&m?`${N}-title`:void 0;return rm("div",{className:"k-actionsheet-container",children:[n&&Da(Et,{}),Da(it,{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:Da("div",{...x,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":h,className:i(e.className,zi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Da(so,{header:m,footer:b,adaptive:a,titleId:h,...e,children:d})})})]})};Y.states=am;Y.options=nm;Y.className=zi;Y.defaultOptions=pa;Y.moduleName=da;Y.folderName=_a;import{jsx as dm}from"react/jsx-runtime";var Hi="k-actionsheet-container",im=[],sm={},lm={},lo=e=>{let{children:t,...o}=e;return dm("div",{...o,className:Hi,children:t})};lo.states=im;lo.options=sm;lo.className=Hi;lo.defaultOptions=lm;lo.moduleName=da;lo.folderName=_a;import{jsx as pm}from"react/jsx-runtime";var $n=e=>{let{...t}=e;return pm("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as cm,jsx as ma,jsxs as Xn}from"react/jsx-runtime";var Wn="k-actionsheet-item",mm=[r.hover,r.focus,r.selected,r.disabled],Tt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:d,disabled:m,...b}=e;return Xn("span",{...b,className:i(e.className,Wn,E(Wn,{hover:n,focus:s,selected:d,disabled:m})),children:[!e.children&&ma(cm,{children:Xn("span",{className:"k-actionsheet-action",children:[t&&ma("span",{className:"k-icon-wrap",children:ma(k,{className:"k-actionsheet-item-icon",icon:t})}),Xn("span",{className:"k-actionsheet-item-text",children:[o&&ma("span",{className:"k-actionsheet-item-title",children:o}),a&&ma("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Tt.states=mm;Tt.className=Wn;import{jsx as YS,jsxs as ZS}from"react/jsx-runtime";import{jsx as tk}from"react/jsx-runtime";import{jsx as rk}from"react/jsx-runtime";import{jsx as dk}from"react/jsx-runtime";import{jsx as me,jsxs as Jn}from"react/jsx-runtime";var um=Y.options,fm=Y.states,Ui={...Y.defaultOptions,variant:"normal"},bm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],xm=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],po=e=>{let{variant:t,modifiers:o,...a}={...Ui,...e},n={},s=Jn($n,{children:[me(Tt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),me(Tt,{text:"Add to Favorites",iconName:"heart"}),me(Tt,{text:"Upload New",iconName:"upload",disabled:!0}),me("hr",{className:"k-hr"}),me(Tt,{text:"Cancel",iconName:"cancel"})]}),d="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]?d:void 0;break;case"footer":n.footer=!!o?.[b];break;default:break}}),t==="adaptive"?me(Y,{...a,adaptive:!0,fullscreen:n.fullScreen,header:me(Me,{actionsStart:n.actionsStart?me(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?me(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?Jn(gt,{alignment:"stretched",children:[me(p,{text:"Cancel",size:"large",themeColor:"base"}),me(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):me(Y,{...a,fullscreen:n.fullScreen,header:me(Me,{actionsStart:n.actionsStart?me(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?me(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Jn(gt,{alignment:"stretched",children:[me(p,{text:"Apply",themeColor:"primary"}),me(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};po.options=um;po.states=fm;po.variants=bm;po.defaultOptions=Ui;po.modifiers=xm;po.className=Y.className;var qn="slider",Gi=qn;import{jsx as mo,jsxs as Yn}from"react/jsx-runtime";var ca="k-slider",Nm=[r.hover,r.focus,r.active,r.disabled,r.readonly],hm={},Fe={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},W=e=>{let{type:t=Fe.type,orientation:o=Fe.orientation,gradientType:a=Fe.gradientType,readonly:n=Fe.readonly,disabled:s=Fe.disabled,handlePosition:d=Fe.handlePosition,showButtons:m=Fe.showButtons,showTicks:b=Fe.showTicks,value:N=Fe.value,min:x=Fe.min,max:h=Fe.max,startValue:c,endValue:v,hover:L,focus:S,active:g,trackStyle:I,dir:y,...z}=e,ee=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),se,le;return o==="horizontal"?(se=y==="rtl"?"chevron-left":"chevron-right",le=y==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(se="chevron-up",le="chevron-down"),Yn("div",{...z,className:i(ca,e.className,E(ca,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:y,children:[m&&mo(p,{className:"k-button-decrease",rounded:"full",icon:le,tabIndex:-1,title:"Decrease"}),Yn("div",{className:"k-slider-track-wrap",children:[b&&mo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Yn("div",{className:"k-slider-track",style:I,children:[mo("div",{className:"k-slider-selection"}),t==="range"&&mo("span",{className:i("k-draghandle","k-draghandle-start",E(ca,{hover:L,focus:S,active:g})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??x,"aria-valuemin":x,"aria-valuemax":v??h,"aria-orientation":ee,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":z["aria-label"]?`${z["aria-label"]} start`:"Range start"}),mo("span",{className:i("k-draghandle",`k-draghandle-${d}`,E(ca,{hover:L,focus:S,active:g})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??h:N,"aria-valuemin":t==="range"?c??x:x,"aria-valuemax":h,"aria-orientation":ee,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?z["aria-label"]?`${z["aria-label"]} end`:"Range end":z["aria-label"]})]})]}),m&&mo(p,{className:"k-button-increase",rounded:"full",icon:se,tabIndex:-1,title:"Increase"})]})};W.states=Nm;W.options=hm;W.className=ca;W.defaultOptions=Fe;W.moduleName=qn;W.folderName=Gi;import{jsx as Vi}from"react/jsx-runtime";var $i="k-tick",Lm=[],vm={},Xi={label:!1},T=e=>{let{style:t,label:o=Xi.label,orientation:a,large:n,text:s,...d}=e;return Vi("li",{...d,role:"presentation",title:s||"Tick",className:i(e.className,$i,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Vi("span",{className:"k-label",children:s})})};T.states=Lm;T.options=vm;T.className=$i;T.defaultOptions=Xi;import{Fragment as Mm,jsx as Ue,jsxs as Sm}from"react/jsx-runtime";var Wi=e=>Ue(W,{"aria-label":e["aria-label"]||"Slider",children:Sm(Mm,{children:[Ue(T,{className:"k-first",label:!0,large:!0,text:"0"}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{label:!0,large:!0,text:"5"}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as km,jsx as Ge,jsxs as gm}from"react/jsx-runtime";var Ji=e=>Ge(W,{children:gm(km,{children:[Ge(T,{className:"k-first",label:!0,large:!0,text:"0"}),Ge(T,{}),Ge(T,{}),Ge(T,{}),Ge(T,{}),Ge(T,{label:!0,large:!0,text:"5"}),Ge(T,{}),Ge(T,{}),Ge(T,{}),Ge(T,{}),Ge(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as Zk,jsx as Yk,jsxs as Qk}from"react/jsx-runtime";import{Fragment as ag,jsx as og,jsxs as ng}from"react/jsx-runtime";import{jsx as Im}from"react/jsx-runtime";var Zn=e=>Im(W,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Cm}from"react/jsx-runtime";var Qn=e=>Cm(W,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as bg,jsx as fg,jsxs as xg}from"react/jsx-runtime";import{Fragment as Mg,jsx as vg,jsxs as Sg}from"react/jsx-runtime";import{jsx as lt,jsxs as qi}from"react/jsx-runtime";var Em=W.options,Tm=W.states,Yi={...W.defaultOptions,variant:"horizontal",label:!0},ym=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Om=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],co=e=>{let{variant:t,modifiers:o,...a}=e,n=Yi.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 d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?qi(Ji,{style:{height:"300px",...d},...a,...s,children:[lt(T,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),lt(T,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),lt(T,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),lt(T,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),lt(T,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):qi(Wi,{style:{width:"400px",...d},...a,...s,children:[lt(T,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),lt(T,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),lt(T,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),lt(T,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),lt(T,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};co.options=Em;co.states=Tm;co.variants=ym;co.defaultOptions=Yi;co.modifiers=Om;co.className=W.className;import{jsx as Zi,jsxs as Km}from"react/jsx-runtime";var Qi="k-spin-button",Rm=[],Pm={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},jn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=jn.increaseLabel,decreaseLabel:s=jn.decreaseLabel,...d}=e;return Km("span",{...d,className:i(Qi,e.className),children:[Zi(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Zi(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};dt.states=Rm;dt.options=Pm;dt.className=Qi;dt.defaultOptions=jn;dt.moduleName=null;dt.folderName=null;var ji="numeric-textbox",es="numerictextbox";import{Fragment as ts,jsx as xt,jsxs as er}from"react/jsx-runtime";var os="k-numerictextbox",wm=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],_m={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},za={showSpinButton:!0,showClearButton:!0,separators:!0},w=e=>{let{size:t,rounded:o,fillMode:a,separators:n=za.separators,showClearButton:s=za.showClearButton,showSpinButton:d=za.showSpinButton,prefix:m,suffix:b,value:N,placeholder:x,hover:h,focus:c,valid:v,invalid:L,required:S,loading:g,disabled:I,readonly:y,id:z,"aria-label":q,"aria-describedby":ee,...se}=e;return er(U,{...se,size:t,rounded:o,fillMode:a,hover:h,focus:c,valid:v,invalid:L,required:S,loading:g,disabled:I,readonly:y,className:i(e.className,os),children:[m&&er(ts,{children:[xt(fe,{children:m}),n&&xt(re,{})]}),xt(pe,{id:z,placeholder:x,value:N,role:"spinbutton",disabled:I,"aria-label":q,"aria-describedby":ee,"aria-invalid":L?"true":void 0}),xt(te,{valid:v,invalid:L,loading:g,disabled:I}),xt(ne,{loading:g,disabled:I}),s&&xt(de,{loading:g,disabled:I,readonly:y,value:N}),b&&er(ts,{children:[n&&xt(re,{}),xt(be,{children:b})]}),d&&xt(dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:I})]})};w.states=wm;w.options=_m;w.className=os;w.defaultOptions=za;w.moduleName=ji;w.folderName=es;var ua=w;import{jsx as Dm}from"react/jsx-runtime";var as=e=>Dm(ua,{...e});import or from"react";import{jsx as ns}from"react/jsx-runtime";var zm="k-list-group-sticky-header",tr=e=>ns("div",{className:i(zm,e.className),children:ns("div",{className:"k-list-header-text",children:e.children})});import{jsx as Fm}from"react/jsx-runtime";var Hm="k-no-data",Ha=e=>{let{live:t,...o}=e;return Fm("span",{...o,className:i(Hm,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Ut="list",uo=Ut;import{jsx as rs,jsxs as is}from"react/jsx-runtime";var ar="k-list",Um=[],Gm={size:[l.undefined,l.small,l.medium,l.large]},Vm={},_=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:d,customValue:m,noData:b,screenReaders:N,...x}=e,c=or.Children.toArray(a)[0],v=c?.props?.children?or.Children.count(c.props.children):or.Children.count(a);return is("div",{...x,className:i(e.className,ar,C(ar,{size:t}),{"k-virtual-list":o}),children:[d,s,m,n&&rs(tr,{children:n}),a||(b!==void 0?b:rs(Ha,{live:!0,children:"No data found."})),N&&a&&is(Ha,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};_.states=Um;_.options=Gm;_.className=ar;_.defaultOptions=Vm;_.moduleName=Ut;_.folderName=uo;import{jsx as Jm}from"react/jsx-runtime";var ss="k-list-container",$m=[],Xm={},Wm={},fo=e=>{let{...t}=e;return Jm("div",{...t,className:i(e.className,ss),children:e.children})};fo.states=$m;fo.options=Xm;fo.className=ss;fo.defaultOptions=Wm;fo.moduleName=Ut;fo.folderName=uo;var Gt="checkbox",bo=Gt;import{jsx as ls}from"react/jsx-runtime";var Fa="k-checkbox",qm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Ym={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Zm={},Ee=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:d,invalid:m,valid:b,required:N,size:x,rounded:h,wrapperRole:c,...v}=e;return ls("span",{className:"k-checkbox-wrap",role:c,children:ls("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:d||void 0,"aria-invalid":m?"true":void 0,className:i(e.className,Fa,C(Fa,{size:x,rounded:h}),E(Fa,{hover:n,focus:s,disabled:d,invalid:m,valid:b,indeterminate:a,checked:o}))})})};Ee.states=qm;Ee.options=Ym;Ee.className=Fa;Ee.defaultOptions=Zm;Ee.moduleName=Gt;Ee.folderName=bo;var tt=Ee;import{jsx as ec}from"react/jsx-runtime";var ds="k-checkbox-list",Qm=[],jm={},ps={layout:"vertical"},Se=e=>{let{layout:t=ps.layout,...o}=e;return ec("ul",{...o,className:i(e.className,ds,{[`k-list-${t}`]:t}),children:e.children})};Se.states=Qm;Se.options=jm;Se.className=ds;Se.defaultOptions=ps;Se.moduleName=Gt;Se.folderName=bo;import{jsx as nc}from"react/jsx-runtime";var ms="k-checkbox-list-item",tc=[],oc={},ac={},ke=e=>{let{...t}=e;return nc("li",{...t,className:i(e.className,ms),children:e.children})};ke.states=tc;ke.options=oc;ke.className=ms;ke.defaultOptions=ac;ke.moduleName=Gt;ke.folderName=bo;import{Fragment as rc,jsx as cs,jsxs as ic}from"react/jsx-runtime";var Ve=({children:e="Label",id:t="cb-label-after",...o})=>ic(rc,{children:[cs(tt,{id:t,...o}),cs("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as XI,jsx as $I,jsxs as WI}from"react/jsx-runtime";import{Fragment as QI,jsx as ZI,jsxs as jI}from"react/jsx-runtime";import{Fragment as nC,jsx as aC,jsxs as rC}from"react/jsx-runtime";import{jsx as dC}from"react/jsx-runtime";import{jsx as uC}from"react/jsx-runtime";import{jsx as NC}from"react/jsx-runtime";import{jsx as $e,jsxs as us}from"react/jsx-runtime";var sc=Se.options,lc=Se.states,dc={...Se.defaultOptions,variant:"vertical"},pc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],mc=[],xo=e=>{let{variant:t,...o}=e;return t==="horizontal"?us(Se,{layout:"horizontal",...o,children:[$e(ke,{children:$e(Ve,{id:A("cb"),defaultChecked:!0,children:"Label"})}),$e(ke,{children:$e(Ve,{id:A("cb"),children:"Label"})}),$e(ke,{children:$e(Ve,{id:A("cb"),children:"Label"})})]}):us(Se,{...o,children:[$e(ke,{children:$e(Ve,{id:A("cb"),defaultChecked:!0,children:"Label"})}),$e(ke,{children:$e(Ve,{id:A("cb"),children:"Label"})}),$e(ke,{children:$e(Ve,{id:A("cb"),children:"Label"})})]})};xo.options=sc;xo.states=lc;xo.variants=pc;xo.defaultOptions=dc;xo.modifiers=mc;xo.className=Se.className;import{jsx as Nc}from"react/jsx-runtime";var cc=tt.options,uc=tt.states,fc=tt.defaultOptions,bc=[],xc=[],No=e=>Nc(Ve,{id:A("checkbox"),...e,defaultChecked:!0,children:"Label"});No.options=cc;No.states=uc;No.variants=bc;No.defaultOptions=fc;No.modifiers=xc;No.className=tt.className;import{jsx as Vt,jsxs as Mc}from"react/jsx-runtime";var nr="k-list-item",hc=[r.hover,r.focus,r.selected,r.disabled],Lc={},vc={},B=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:s,showCheckbox:d,checked:m,hover:b,focus:N,selected:x,disabled:h,actions:c,description:v,id:L,...S}=e,g=t||e.children,I=t||(typeof g=="string"?g:void 0);return Mc("li",{...S,id:L,role:a?"presentation":"option",tabIndex:a?void 0:N?0:-1,"aria-selected":!a&&x?"true":a?void 0:"false","aria-disabled":!a&&h?"true":void 0,className:i(e.className,a?"k-list-group-item":nr,E(nr,{hover:b,focus:N,disabled:h,selected:x})),children:[d&&Vt(Ee,{checked:m,disabled:h,"aria-label":I,tabIndex:-1}),n&&Vt("span",{className:"k-list-item-icon-wrapper",children:Vt(k,{icon:n,className:i("k-list-item-icon",s)})}),Vt("span",{className:"k-list-item-text",children:g}),c&&Vt("div",{className:"k-list-item-actions",children:c}),v&&Vt("span",{className:"k-list-item-description",children:v}),o&&o!==""&&Vt("div",{className:"k-list-item-group-label",children:o})]})};B.states=hc;B.options=Lc;B.className=nr;B.defaultOptions=vc;B.moduleName=Ut;B.folderName=uo;import{jsx as kc}from"react/jsx-runtime";var Sc="k-list-ul",yt=e=>{let{children:t,role:o,id:a,...n}=e;return kc("ul",{...n,id:a,role:o,className:i(Sc,e.className),children:t})};import{jsx as rr,jsxs as Ic}from"react/jsx-runtime";var gc="k-list-content",G=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...d}=e;return Ic("div",{...d,className:i(gc,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:rr(yt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&rr("div",{className:"k-height-container",children:rr("div",{})})]})};import{jsx as ir,jsxs as yc}from"react/jsx-runtime";var Ua="k-list-sticky-header",Cc=[r.hover,r.focus,r.selected],Ec={},Tc={},Ga=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:d,selected:m,...b}=e;return ir("div",{...b,className:i(Ua,e.className),children:yc("div",{className:i(`${Ua}-item`,E(`${Ua}-item`,{hover:s,focus:d,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&ir(Ee,{checked:a,indeterminate:n,"aria-label":t}),ir("span",{className:"k-list-item-text",children:t})]})})};Ga.states=Cc;Ga.options=Ec;Ga.className=Ua;Ga.defaultOptions=Tc;import{Fragment as mE,jsx as pE,jsxs as cE}from"react/jsx-runtime";import{jsx as NE,jsxs as hE}from"react/jsx-runtime";import{jsx as Rc}from"react/jsx-runtime";var sr="k-list-optionlabel",Oc=[r.hover,r.focus,r.selected,r.disabled],Ac={},Bc={},Va=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...d}=e;return Rc("div",{...d,className:i(sr,E(sr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};Va.states=Oc;Va.options=Ac;Va.className=sr;Va.defaultOptions=Bc;import{jsx as _c}from"react/jsx-runtime";var lr="k-list-custom-value",Pc=[r.hover,r.focus,r.selected,r.disabled],Kc={},wc={},Ot=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...d}=e;return _c("div",{...d,className:i(lr,E(lr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};Ot.states=Pc;Ot.options=Kc;Ot.className=lr;Ot.defaultOptions=wc;import{Fragment as OE,jsx as yE,jsxs as AE}from"react/jsx-runtime";import{Fragment as _E,jsx as wE,jsxs as DE}from"react/jsx-runtime";import{Fragment as $E,jsx as GE,jsxs as VE}from"react/jsx-runtime";import{Fragment as QE,jsx as YE,jsxs as ZE}from"react/jsx-runtime";import{jsx as oT}from"react/jsx-runtime";import{Fragment as lT,jsx as sT,jsxs as dT}from"react/jsx-runtime";import{Fragment as bT,jsx as fT,jsxs as xT}from"react/jsx-runtime";var fs="dropdown-list",bs="dropdownlist";import{Fragment as Hc,jsx as ge,jsxs as dr}from"react/jsx-runtime";var xs="k-dropdownlist",Dc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],zc={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},pr={showValue:!0,arrowIconName:"chevron-down"},R=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=pr.arrowIconName,showValue:s=pr.showValue,valueIconName:d,prefix:m,suffix:b,value:N,placeholder:x,hover:h,focus:c,valid:v,invalid:L,required:S,loading:g,disabled:I,readonly:y,popup:z,opened:q,adaptive:ee,adaptiveSettings:se,adaptiveTitle:le,adaptiveSubtitle:zt,adaptiveFilter:mn,id:St,activeDescendant:Ea,"aria-label":cn,...un}=e,id=St?`${St}-listbox`:void 0,Yr=St?`${St}-value`:void 0;return dr(Hc,{children:[dr(nt,{...un,id:St,size:t,rounded:o,fillMode:a,hover:h,focus:c,valid:v,invalid:L,required:S,loading:g,disabled:I,readonly:y,className:i(e.className,xs,{"k-icon-picker":!s&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":q?"true":"false","aria-controls":q?id:void 0,"aria-activedescendant":q&&Ea?Ea:void 0,"aria-describedby":q?Yr:void 0,"aria-disabled":I?"true":void 0,"aria-label":cn,tabIndex:0,children:[ge(fe,{children:m}),ge(Ft,{placeholder:x,value:N,showValue:s,valueIconName:d,id:Yr}),ge(te,{valid:v,invalid:L,loading:g,disabled:I}),ge(ne,{loading:g,disabled:I}),ge(be,{children:b}),ge(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),q&&z&&ge(X,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:z}),ee&&ge(Y,{adaptive:!0,...se,header:ge(Me,{actionsEnd:ge(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:mn,inputValue:N,inputPlaceholder:x,title:le,subtitle:zt}),children:ge("div",{className:"k-list-container",children:ge(_,{size:"large",children:dr(G,{"aria-label":"Options",children:[ge(B,{text:"List item"}),ge(B,{text:"List item"}),ge(B,{text:"List item"})]})})})})]})};R.states=Dc;R.options=zc;R.className=xs;R.defaultOptions=pr;R.moduleName=fs;R.folderName=bs;import{jsx as ZT}from"react/jsx-runtime";import{jsx as ay,jsxs as ny}from"react/jsx-runtime";import{Fragment as uy,jsx as my,jsxs as cy}from"react/jsx-runtime";import{jsx as hy}from"react/jsx-runtime";import{jsx as gy,jsxs as Iy}from"react/jsx-runtime";import{Fragment as Py,jsx as By,jsxs as Ry}from"react/jsx-runtime";import{jsx as zy}from"react/jsx-runtime";import{Fragment as Xc,jsx as At,jsxs as Ns}from"react/jsx-runtime";var Fc=R.states,Uc=R.defaultOptions,Gc=R.options,Vc=[{name:"opened",title:"Opened"}],$c=[],Lo=e=>{let{modifiers:t,...o}=e,a={},n=Ns(Xc,{children:[At("div",{className:"k-list-filter",children:At(He,{})}),At(_,{style:{width:300},size:o.size,children:Ns(G,{children:[At(B,{children:"List item"}),At(B,{children:"List item"}),At(B,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),At("div",{children:At(R,{placeholder:"Value",style:{width:300},...o,...a})})};Lo.options=Gc;Lo.states=Fc;Lo.variants=$c;Lo.defaultOptions=Uc;Lo.modifiers=Vc;Lo.className=R.className;import{Fragment as sO,jsx as iO}from"react/jsx-runtime";import{Fragment as uO,jsx as cO}from"react/jsx-runtime";import{jsx as NO}from"react/jsx-runtime";import{jsx as mr}from"react/jsx-runtime";var Wc=w.states,Jc=w.defaultOptions,qc=w.options,Yc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Zc=[],vo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?mr(R,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?mr(yn,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),mr(as,{value:"Value",style:{width:300},...o,...a})};vo.options=qc;vo.states=Wc;vo.variants=Zc;vo.defaultOptions=Jc;vo.modifiers=Yc;vo.className=w.className;import{Fragment as ba,jsx as P,jsxs as Z}from"react/jsx-runtime";var hs="k-colorgradient-inputs",Qc=[],jc={size:[l.undefined,l.small,l.medium,l.large]},Ls={mode:"rgba"},Mo=e=>{let{mode:t=Ls.mode,size:o,...a}=e;return Z("div",{...a,className:i(hs,"k-hstack"),children:[P("div",{className:"k-vstack",children:P(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&Z(ba,{children:[Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),P("label",{className:"k-colorgradient-input-label",children:"R"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),P("label",{className:"k-colorgradient-input-label",children:"G"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),P("label",{className:"k-colorgradient-input-label",children:"B"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),P("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Z(ba,{children:[Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),P("label",{className:"k-colorgradient-input-label",children:"R"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),P("label",{className:"k-colorgradient-input-label",children:"G"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),P("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Z(ba,{children:[Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),P("label",{className:"k-colorgradient-input-label",children:"H"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),P("label",{className:"k-colorgradient-input-label",children:"S"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),P("label",{className:"k-colorgradient-input-label",children:"V"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),P("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Z(ba,{children:[Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),P("label",{className:"k-colorgradient-input-label",children:"H"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),P("label",{className:"k-colorgradient-input-label",children:"S"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),P("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&P(ba,{children:Z("div",{className:"k-vstack k-flex-1",children:[P(H,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),P("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Mo.states=Qc;Mo.options=jc;Mo.className=hs;Mo.defaultOptions=Ls;import{jsx as $t,jsxs as Xt}from"react/jsx-runtime";var vs="k-colorgradient-color-contrast",eu=[],tu={},ou={},So=()=>Xt("div",{className:i(vs,"k-vbox"),children:[Xt("div",{className:"k-contrast-ratio",children:[$t("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Xt("span",{className:"k-contrast-validation !k-text-success",children:[$t(k,{icon:"check"}),$t(k,{icon:"check"})]})]}),Xt("div",{children:[$t("span",{children:"AA: 4.5"}),Xt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",$t(k,{icon:"check"})]})]}),Xt("div",{children:[$t("span",{children:"AAA: 7.0"}),Xt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",$t(k,{icon:"x"})]})]})]});So.states=eu;So.options=tu;So.className=vs;So.defaultOptions=ou;var Ms="color-gradient",Ss="colorgradient";import{jsx as Xe,jsxs as xa}from"react/jsx-runtime";var $a="k-colorgradient",au=[r.hover,r.focus,r.readonly,r.disabled],nu={size:[l.undefined,l.small,l.medium,l.large]},pt={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"},ce=e=>{let{size:t,mode:o=pt.mode,readonly:a=pt.readonly,disabled:n=pt.disabled,gradientStyle:s=pt.gradientStyle,dragHandleStyle:d=pt.dragHandleStyle,alphaStyle:m=pt.alphaStyle,alphaStyleHorizontal:b=pt.alphaStyleHorizontal,contrast:N=pt.contrast,dir:x,hover:h,focus:c,hoverHandle:v,focusHandle:L,canvasOrientation:S=pt.canvasOrientation,role:g,tabIndex:I,...y}=e;return xa("div",{...y,role:g??"textbox","aria-label":g==="none"?void 0:"Color gradient",tabIndex:I??0,"aria-disabled":n?"true":void 0,className:i(e.className,$a,C($a,{size:t}),E($a,{hover:h,focus:c,readonly:a,disabled:n})),dir:x,children:[!S||S==="horizontal"&&xa("div",{className:"k-colorgradient-canvas k-hstack",children:[Xe("div",{className:"k-hsv-rectangle",style:s,children:Xe("div",{className:"k-hsv-gradient",children:Xe("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":L}),style:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),xa("div",{className:"k-hsv-controls k-hstack",children:[Xe(Qn,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&Xe(Qn,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:m})]})]}),S==="vertical"&&xa("div",{className:"k-colorgradient-canvas k-vstack",children:[Xe("div",{className:"k-hsv-rectangle",style:s,children:Xe("div",{className:"k-hsv-gradient",children:Xe("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":L}),style:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),xa("div",{className:"k-hsv-controls k-vstack",children:[Xe(Zn,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&Xe(Zn,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:b})]})]}),Xe(Mo,{mode:e.mode,size:t}),N&&Xe(So,{})]})};ce.states=au;ce.options=nu;ce.className=$a;ce.defaultOptions=pt;ce.moduleName=Ms;ce.folderName=Ss;import{jsx as ru}from"react/jsx-runtime";var Xa=e=>ru(ce,{...e});import{jsx as oA}from"react/jsx-runtime";import{jsx as iA}from"react/jsx-runtime";import{jsx as cr}from"react/jsx-runtime";var iu=ce.options,su=ce.states,lu={...ce.defaultOptions,variant:"rgba"},du=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],pu=[],ko=e=>{let{variant:t,...o}=e;switch(t){case"hex":return cr(Xa,{...o,mode:t});case"rgb":return cr(Xa,{...o,mode:t});default:return cr(Xa,{...o,mode:t})}};ko.options=iu;ko.states=su;ko.variants=du;ko.defaultOptions=lu;ko.modifiers=pu;ko.className=ce.className;import{jsx as mu}from"react/jsx-runtime";var ur=e=>mu("tr",{role:"row",children:e.children});import{jsx as fu}from"react/jsx-runtime";var fr="k-colorpalette-tile",cu=[r.hover,r.focus,r.selected],uu={},Bt=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...d}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return fu("td",{...d,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:i(e.className,fr,E(fr,{hover:a,focus:n,selected:s})),style:m})};Bt.states=cu;Bt.options=uu;Bt.className=fr;Bt.moduleName=null;Bt.folderName=null;var ks="color-palette",gs="colorpalette";import{jsx as Na}from"react/jsx-runtime";var Wa="k-colorpalette",bu=[r.disabled],xu={size:[l.undefined,l.small,l.medium,l.large]},Is={columns:10},Te=e=>{let{size:t,palette:o,columns:a=Is.columns,tileSize:n,disabled:s,...d}=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,h)=>{let c=[];N.slice(h*b,(h+1)*b).map((L,S)=>{c.push(Na(Bt,{color:L,tileSize:n},S))});let v=Na(ur,{children:c},h);m.push(v)})}return Na("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:i(e.className,Wa,E(Wa,{disabled:s}),C(Wa,{size:t})),children:Na("table",{className:"k-colorpalette-table",role:"none",children:Na("tbody",{children:m.length>0?m:e.children})})})};Te.states=bu;Te.options=xu;Te.className=Wa;Te.defaultOptions=Is;Te.moduleName=ks;Te.folderName=gs;var Ja=Te;var ha={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 Nu}from"react/jsx-runtime";var Cs=e=>Nu(Ja,{palette:ha.basic,...e});import{jsx as FA}from"react/jsx-runtime";import{jsx as WA,jsxs as JA}from"react/jsx-runtime";import{jsx as gu}from"react/jsx-runtime";var hu=Te.options,Lu=Te.states,vu={...Te.defaultOptions,variant:"basic"},Mu=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Su={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}},ku=[],go=e=>{let{variant:t="basic",...o}=e,a=Su[t];return gu(Cs,{columns:a.columns,palette:a,...o})};go.options=hu;go.states=Lu;go.variants=Mu;go.defaultOptions=vu;go.modifiers=ku;go.className=Te.className;var Es="color-editor",Ts="coloreditor";import{jsx as We,jsxs as Io}from"react/jsx-runtime";var qa="k-coloreditor",Iu=[r.focus],Cu={size:[l.undefined,l.small,l.medium,l.large]},La={view:"gradient",palette:ha.office,actionButtons:!0,canvasOrientation:"horizontal"},Q=e=>{let{size:t,view:o=La.view,palette:a=La.palette,color:n,currentColor:s,focus:d,focusView:m,dir:b,group:N,actionButtons:x=La.actionButtons,canvasOrientation:h=La.canvasOrientation,...c}=e;return Io("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:i(e.className,"k-flatcolorpicker",qa,C(qa,{size:t}),E(qa,{focus:d})),dir:b,children:[Io("div",{className:"k-coloreditor-header k-hstack",children:[We("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Io(O,{fillMode:"flat",children:[We(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),We(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),We("div",{className:"k-spacer"}),Io("div",{className:"k-coloreditor-header-actions k-hstack",children:[We(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Io("div",{className:"k-coloreditor-preview k-vstack",children:[We(kt,{className:"k-coloreditor-preview-color",color:n}),We(kt,{className:"k-coloreditor-current-color",color:s})]})]})]}),We("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?We(ce,{focus:m,size:t,canvasOrientation:h,role:"none",tabIndex:-1}):We(Te,{palette:a,size:t})}),x&&Io(st,{className:"k-coloreditor-footer",alignment:"start",children:[We(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),We(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Q.states=Iu;Q.options=Cu;Q.className=qa;Q.defaultOptions=La;Q.moduleName=Es;Q.folderName=Ts;var Co=Q;import{jsx as kB}from"react/jsx-runtime";import{jsx as EB}from"react/jsx-runtime";import{jsx as Eu}from"react/jsx-runtime";var ys=e=>Eu(Co,{group:!0,currentColor:"fuchsia",...e});import{jsx as Tu}from"react/jsx-runtime";var Os=e=>Tu(Co,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as As}from"react/jsx-runtime";var yu=Q.options,Ou=Q.states,Au={...Q.defaultOptions,variant:"gradient"},Bu=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Ru=[],Eo=e=>{let{variant:t,...o}=e;return t==="palette"?As(Os,{...o,color:"white"}):As(ys,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Eo.options=yu;Eo.states=Ou;Eo.variants=Bu;Eo.defaultOptions=Au;Eo.modifiers=Ru;Eo.className=Q.className;var Bs="color-picker",Rs="colorpicker";import{Fragment as wu,jsx as Je,jsxs as br}from"react/jsx-runtime";var Ps="k-colorpicker",Pu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Ku={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Ks={arrowIconName:"chevron-down"},qe=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Ks.arrowIconName,prefix:s,suffix:d,value:m,placeholder:b,hover:N,focus:x,valid:h,invalid:c,required:v,disabled:L,valueIconName:S,popup:g,opened:I,adaptive:y,adaptiveSettings:z,adaptiveTitle:q,adaptiveSubtitle:ee,...se}=e,le="colorpicker-popup";return br(wu,{children:[br(nt,{...se,size:t,rounded:o,fillMode:a,hover:N,focus:x,valid:h,invalid:c,required:v,disabled:L,role:"combobox","aria-haspopup":"dialog","aria-expanded":I?"true":"false","aria-controls":I||y?le:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":L?"true":void 0,className:i(e.className,Ps,"k-icon-picker"),children:[Je(fe,{children:s}),Je(Ft,{placeholder:b,value:m,showValue:!1,valueIcon:Je(kt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),Je(be,{children:d}),Je(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:L})]}),I&&g&&Je(X,{id:le,className:"k-colorpicker-popup",children:g}),y&&Je(Y,{adaptive:!0,id:le,...z,header:Je(Me,{actionsEnd:Je(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:q,subtitle:ee}),footer:br(gt,{children:[Je(p,{text:"Cancel",size:"large"}),Je(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:Je(Q,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};qe.states=Pu;qe.options=Ku;qe.className=Ps;qe.defaultOptions=Ks;qe.moduleName=Bs;qe.folderName=Rs;var Nt=qe;import{jsx as _u}from"react/jsx-runtime";var va=e=>_u(Nt,{...e});import{jsx as pR}from"react/jsx-runtime";import{jsx as bR}from"react/jsx-runtime";import{jsx as LR}from"react/jsx-runtime";import{jsx as kR}from"react/jsx-runtime";import{jsx as ER}from"react/jsx-runtime";import{jsx as AR}from"react/jsx-runtime";import{jsx as Wt}from"react/jsx-runtime";var Du=Nt.options,zu=Nt.states,ws={...Nt.defaultOptions,variant:"color"},Hu=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Fu=[{name:"opened",title:"Opened"}],To=e=>{let{variant:t,modifiers:o,...a}={...ws,...e},n={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(n.opened=!!o?.[d],n.popup=o?.[d]?Wt(Q,{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 Wt("div",{style:s,children:Wt(va,{...a,...n})});case"icon":return Wt("div",{style:s,children:Wt(va,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return Wt("div",{style:s,children:Wt(va,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};To.options=Du;To.states=zu;To.variants=Hu;To.defaultOptions=ws;To.modifiers=Fu;To.className=Nt.className;var xr="combobox",_s=xr;import{Fragment as Nr,jsx as oe,jsxs as Ma}from"react/jsx-runtime";var Ds="k-combobox",Uu=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Gu={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},zs={separators:!0},Ie=e=>{let{size:t,rounded:o,fillMode:a,separators:n=zs.separators,prefix:s,suffix:d,value:m,placeholder:b,hover:N,focus:x,valid:h,invalid:c,required:v,loading:L,disabled:S,popup:g,opened:I,readonly:y,adaptive:z,adaptiveSettings:q,adaptiveTitle:ee,adaptiveSubtitle:se,adaptiveCustomValue:le,id:zt,autocomplete:mn,activeDescendant:St,"aria-label":Ea,...cn}=e,un=zt?`${zt}-listbox`:void 0;return Ma(Nr,{children:[Ma(U,{...cn,size:t,rounded:o,fillMode:a,hover:N,focus:x,valid:h,invalid:c,required:v,loading:L,disabled:S,readonly:y,className:i(e.className,Ds),children:[s&&Ma(Nr,{children:[oe(fe,{children:s}),n&&oe(re,{})]}),oe(pe,{id:zt,placeholder:b,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":I?"true":"false","aria-controls":I?un:void 0,"aria-activedescendant":I&&St?St:void 0,"aria-autocomplete":mn,"aria-invalid":c?"true":void 0,"aria-busy":L?"true":void 0,"aria-label":Ea,disabled:S,readOnly:y}),oe(te,{valid:h,invalid:c,loading:L,disabled:S}),oe(ne,{loading:L,disabled:S}),oe(de,{loading:L,disabled:S,readonly:y,value:m}),d&&Ma(Nr,{children:[n&&oe(re,{}),oe(be,{children:d})]}),oe(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),I&&g&&oe(X,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:g}),z&&oe(Y,{adaptive:!0,id:zt?`${zt}-adaptive`:void 0,...q,header:oe(Me,{actionsEnd:oe(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:b,title:ee,subtitle:se}),children:oe("div",{className:"k-list-container",children:oe(_,{customValue:le?oe(Ot,{text:`Use "${m}"`}):void 0,size:"large",children:Ma(G,{"aria-label":ee||"Options",children:[oe(B,{text:"List item"}),oe(B,{text:"List item"}),oe(B,{text:"List item"})]})})})})]})};Ie.states=Uu;Ie.options=Gu;Ie.className=Ds;Ie.defaultOptions=zs;Ie.moduleName=xr;Ie.folderName=_s;var Re=Ie;import{jsx as Vu}from"react/jsx-runtime";var Hs=e=>Vu(Re,{...e});import{jsx as uP,jsxs as fP}from"react/jsx-runtime";import{jsx as vP,jsxs as MP}from"react/jsx-runtime";import{jsx as EP,jsxs as TP}from"react/jsx-runtime";import{Fragment as PP,jsx as RP}from"react/jsx-runtime";import{Fragment as HP,jsx as zP}from"react/jsx-runtime";import{jsx as XP,jsxs as WP}from"react/jsx-runtime";import{Fragment as tK,jsx as jP,jsxs as eK}from"react/jsx-runtime";import{jsx as rK}from"react/jsx-runtime";import{jsx as dK}from"react/jsx-runtime";import{jsx as bK,jsxs as xK}from"react/jsx-runtime";import{jsx as SK,jsxs as kK}from"react/jsx-runtime";import{jsx as Rt,jsxs as Yu}from"react/jsx-runtime";var $u=Ie.states,Xu=Ie.defaultOptions,Wu=Ie.options,Ju=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],qu=[],yo=e=>{let{modifiers:t,...o}=e,a={},n=Rt(_,{style:{width:300},size:o.size,children:Yu(G,{children:[Rt(B,{children:"List item"}),Rt(B,{children:"List item"}),Rt(B,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Rt(k,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Rt(ft,{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}}),Rt("div",{children:Rt(Hs,{value:"Value",style:{width:300},...o,...a})})};yo.options=Wu;yo.states=$u;yo.variants=qu;yo.defaultOptions=Xu;yo.modifiers=Ju;yo.className=Ie.className;var hr="menu-button",Fs=hr;import{jsx as ju}from"react/jsx-runtime";var Us="k-menu-button",Zu=[r.hover,r.focus,r.active,r.selected,r.disabled],Qu={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info,M.inverse]},Lr={showArrow:!0,arrowIconName:"chevron-down"},V=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:m,selected:b,disabled:N,icon:x,text:h,showArrow:c=Lr.showArrow,arrowIconName:v=Lr.arrowIconName,expanded:L,...S}=e;return ju(p,{...S,className:i(e.className,Us),text:h,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:m,selected:b,disabled:N,ariaDisabled:N||void 0,icon:x,showArrow:c,arrowIconName:v,"aria-expanded":L?"true":"false",...!h&&x&&!e["aria-label"]&&{"aria-label":"Menu"}})};V.states=Zu;V.options=Qu;V.className=Us;V.defaultOptions=Lr;V.moduleName=hr;V.folderName=Fs;import{jsx as ow}from"react/jsx-runtime";import{jsx as iw}from"react/jsx-runtime";import{jsx as pw}from"react/jsx-runtime";var Pe="menu",Ye=Pe;import{jsx as Sa,jsxs as Gs}from"react/jsx-runtime";var vr="k-menu-item",ef=[r.hover,r.focus,r.active,r.selected,r.disabled],tf={},Vs={iconPosition:"before"},xe=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:d,text:m,first:b,last:N,showArrow:x,arrowIconName:h,iconPosition:c=Vs.iconPosition,dir:v,children:L,expanded:S,...g}=e,I=h;return I||(I=v==="rtl"?"chevron-left":"chevron-right"),Gs("li",{...g,className:i(e.className,vr,"k-item",E(vr,{focus:o,disabled:s,hover:t,active:a,selected:n}),{"k-first":b,"k-last":N}),role:"menuitem",...x&&{"aria-haspopup":"menu"},...x&&{"aria-expanded":S?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Gs("span",{className:i("k-link k-menu-link"),children:[d&&c==="before"&&Sa(k,{className:"k-menu-link-icon",icon:d}),Sa("span",{className:"k-menu-link-text",children:m}),d&&c==="after"&&Sa(k,{className:"k-menu-link-icon",icon:d}),x&&Sa("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Sa(k,{icon:I})})]}),L]})};xe.states=ef;xe.options=tf;xe.className=vr;xe.defaultOptions=Vs;xe.moduleName=Pe;xe.folderName=Ye;import{jsx as ka,jsxs as $s}from"react/jsx-runtime";var Mr="k-menu-item",of=[r.hover,r.focus,r.active,r.selected,r.disabled],af={},Sr={dir:"ltr",iconPosition:"before"},J=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:d,text:m,first:b,last:N,showArrow:x,arrowIconName:h,iconPosition:c=Sr.iconPosition,dir:v=Sr.dir,children:L,popup:S,expanded:g,...I}=e,y=h;return y||(y=v==="rtl"?"chevron-left":"chevron-right"),$s("li",{role:"menuitem",...I,className:i(e.className,Mr,"k-item",E(Mr,{focus:o,disabled:s}),{"k-first":b,"k-last":N}),...x&&{"aria-haspopup":"menu"},...x&&{"aria-expanded":g?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[$s("span",{className:i("k-link k-menu-link",E("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[d&&c==="before"&&ka(k,{className:"k-menu-link-icon",icon:d}),ka("span",{className:"k-menu-link-text",children:m}),d&&c==="after"&&ka(k,{className:"k-menu-link-icon",icon:d}),x&&ka("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ka(k,{icon:y})})]}),L,S]})};J.states=of;J.options=af;J.className=Mr;J.defaultOptions=Sr;J.moduleName=Pe;J.folderName=Ye;import{jsx as lf}from"react/jsx-runtime";var Xs="k-menu-scroll-wrapper",nf=[],rf={},sf={},Jt=e=>{let{className:t,children:o,orientation:a,...n}=e;return lf("div",{...n,className:i(t,Xs,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Jt.states=nf;Jt.options=rf;Jt.className=Xs;Jt.defaultOptions=sf;Jt.moduleName=Pe;Jt.folderName=Ye;var Ws=Jt;import{Fragment as kr,jsx as qt,jsxs as Za}from"react/jsx-runtime";var gr="k-menu",df=[],pf={},Qa={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ue=e=>{let{children:t,orientation:o=Qa.orientation,header:a=Qa.header,scrollable:n,scrollButtonsPosition:s=Qa.scrollButtonsPosition,wrapperStyles:d,dir:m,popup:b,contextMenu:N,...x}=e,h={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},c=qt("ul",{dir:m,...x,className:i(e.className,"k-reset",gr,{[`${gr}-${o}`]:o,"k-header":a}),role:N?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Za(kr,{children:[n?Za(Ws,{orientation:o,style:d,dir:e.dir,children:[s==="start"&&Za(kr,{children:[qt(p,{fillMode:"flat",icon:`chevron-${h[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),qt(p,{fillMode:"flat",icon:`chevron-${h[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&qt(p,{fillMode:"flat",icon:`chevron-${h[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),c,s==="end"&&Za(kr,{children:[qt(p,{fillMode:"flat",icon:`chevron-${h[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),qt(p,{fillMode:"flat",icon:`chevron-${h[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&qt(p,{fillMode:"flat",icon:`chevron-${h[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):c,b]})};ue.states=df;ue.options=pf;ue.className=gr;ue.defaultOptions=Qa;ue.moduleName=Pe;ue.folderName=Ye;import{jsx as mf}from"react/jsx-runtime";var Ir="k-separator",Js={orientation:"horizontal"},Oo=e=>{let{orientation:t=Js.orientation,...o}=e;return mf("li",{...o,className:i(e.className,"k-item",Ir,{[`${Ir}-${t}`]:t}),role:"separator"})};Oo.className=Ir;Oo.defaultOptions=Js;Oo.moduleName=Pe;Oo.folderName=Ye;import{Fragment as zw,jsx as Hw}from"react/jsx-runtime";import{jsx as bf}from"react/jsx-runtime";var Cr="k-menu-group",cf=[],uf={size:[l.undefined,l.small,l.medium,l.large]},ff={},Ne=e=>{let{children:t,size:o,...a}=e;return bf("ul",{role:"menu",...a,className:i(e.className,Cr,C(Cr,{size:o})),children:t})};Ne.states=cf;Ne.options=uf;Ne.className=Cr;Ne.defaultOptions=ff;Ne.moduleName=Pe;Ne.folderName=Ye;import{Fragment as xf,jsx as Ao,jsxs as Nf}from"react/jsx-runtime";var Er=e=>Ao(ue,{children:Nf(xf,{children:[Ao(xe,{first:!0,text:"Item 1"}),Ao(xe,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Ao(xe,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Ao(xe,{text:"Item 4"}),Ao(xe,{last:!0,text:"Item 5"})]}),...e});import{Fragment as e0,jsx as Qw,jsxs as jw}from"react/jsx-runtime";import{Fragment as r0,jsx as n0,jsxs as i0}from"react/jsx-runtime";import{Fragment as m0,jsx as p0,jsxs as c0}from"react/jsx-runtime";import{Fragment as N0,jsx as x0,jsxs as h0}from"react/jsx-runtime";import{jsx as Yt,jsxs as Sf}from"react/jsx-runtime";var hf={...ue.options,scrollable:{type:"boolean"}},Lf=ue.states,qs={...ue.defaultOptions,variant:"horizontal"},vf=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Mf=[{name:"opened",title:"Opened"}],Bo=e=>{let{variant:t,modifiers:o,...a}={...qs,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(d=>{d==="opened"&&(n.opened=!!o?.[d],n.popup=o?.[d]?Yt(X,{className:"k-menu-popup",offset:s,children:Sf(Ne,{children:[Yt(J,{text:"Item 1"}),Yt(J,{text:"Item 2"}),Yt(Oo,{}),Yt(J,{text:"Item 3"})]})}):null)}),t==="vertical"?Yt(Er,{...a,...n,orientation:"vertical",style:{width:"200px"}}):Yt(Er,{...a,...n})};Bo.options=hf;Bo.states=Lf;Bo.variants=vf;Bo.defaultOptions=qs;Bo.modifiers=Mf;Bo.className=ue.className;import{Fragment as Y0,jsx as J0,jsxs as q0}from"react/jsx-runtime";import{jsx as e_}from"react/jsx-runtime";import{Fragment as Ef,jsx as mt,jsxs as Ys}from"react/jsx-runtime";var kf=p.states,Zs={...p.defaultOptions,variant:"text"},gf=p.options,If=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Cf=[{name:"opened",title:"Opened"}],Ro=e=>{let{variant:t,modifiers:o,...a}={...Zs,...e},n={},s=mt(X,{className:"k-menu-popup",children:Ys(Ne,{size:a.size,children:[mt(J,{first:!0,text:"Menu Item"}),mt(J,{text:"Menu Item"}),mt(J,{last:!0,text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=mt("div",{children:mt(V,{...a,...n,icon:"star"})});break;case"icon-and-text":d=mt("div",{children:mt(V,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:d=mt("div",{children:mt(V,{...a,...n,children:"Dropdown Button"})});break}return Ys(Ef,{children:[d,o?.opened&&s]})};Ro.options=gf;Ro.states=kf;Ro.variants=If;Ro.defaultOptions=Zs;Ro.modifiers=Cf;Ro.className=V.className;var Tr="split-button",Qs=Tr;import{Fragment as Of,jsx as yr,jsxs as js}from"react/jsx-runtime";var Or="k-split-button",Tf=[r.hover,r.focus,r.active,r.selected,r.disabled],yf={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info,M.inverse]},el={arrowIconName:"chevron-down"},K=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:m,selected:b,disabled:N,icon:x,text:h,arrowIconName:c=el.arrowIconName,popup:v,opened:L,popupId:S,...g}=e;return js(Of,{children:[js("div",{...g,className:i(e.className,Or,"k-button-group",C(Or,{rounded:o})),children:[yr(p,{text:h,icon:x,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:m,selected:b,disabled:N,...!h&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),yr(p,{className:"k-split-button-arrow",icon:c,size:t,rounded:o,fillMode:a,disabled:N,ariaDisabled:N||void 0,"aria-label":"Toggle dropdown","aria-expanded":L?"true":"false","aria-controls":L?S:void 0,tabIndex:-1})]}),L&&v&&yr(X,{className:"k-menu-popup",children:v})]})};K.states=Tf;K.options=yf;K.className=Or;K.defaultOptions=el;K.moduleName=Tr;K.folderName=Qs;var Ar=K;import{jsx as Bf}from"react/jsx-runtime";var Af="k-toolbar-separator",ae=e=>Bf("div",{className:i(Af,e.className,"k-separator")});var ht="toolbar",Pt=ht;import{Fragment as Br,jsx as D,jsxs as Po}from"react/jsx-runtime";var Lt="k-toolbar",Rf=[r.focus],Pf={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},Kf={scrollButtons:"around"},$=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:d,scrollingPosition:m,section:b,...N}=e,x=[],h=(c,v)=>{let L=[];if(c.type===p&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))L.push(D(p,{...c.props,className:`${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===p)L.push(D(p,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===aa)L.push(D(aa,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===ft)L.push(D(ft,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===V)L.push(D(V,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===Ar)L.push(D(Ar,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===O||c.props.className&&c.props.className.includes("k-button-group")){let S=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((I,y)=>{S.push(D(p,{...I.props,className:`${I.props.className?I.props.className:""}`},`${y}-${new Date().getTime()}`))}),L.push(D(O,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:S},`${v}-${new Date().getTime()}`))}else c.type===Ie?L.push(D(Ie,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===R?L.push(D(R,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===qe?L.push(D(qe,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):L.push(c);L.forEach(S=>{x.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,L)=>{h(v,L)}),Po("div",{...N,className:i(e.className,Lt,C(Lt,{size:t,fillMode:o}),E(Lt,{focus:a}),{[`${Lt}-resizable`]:n,[`${Lt}-scrollable`]:s,[`${Lt}-scrollable-overlay`]:s&&d==="hidden",[`${Lt}-scrollable-${m}`]:m&&m!=="both",[`${Lt}-section`]:b}),role:"toolbar","aria-label":"Toolbar",children:[!s&&x,s&&d==="hidden"&&D("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),s&&d==="start"&&Po(Br,{children:[Po(O,{children:[D("span",{className:i("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(k,{className:"k-button-icon",icon:"chevron-left"})}),D("span",{className:i("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(k,{className:"k-button-icon",icon:"chevron-right"})})]}),D(ae,{className:"k-toolbar-button-separator"}),D("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),s&&d==="end"&&Po(Br,{children:[D("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),D(ae,{className:"k-toolbar-button-separator"}),Po(O,{children:[D("span",{className:i("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(k,{className:"k-button-icon",icon:"chevron-left"})}),D("span",{className:i("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(k,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(d==="around"||!d)&&Po(Br,{children:[D("span",{className:i("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(k,{className:"k-button-icon",icon:"chevron-left"})}),D(ae,{className:"k-toolbar-button-separator"}),D("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),D(ae,{className:"k-toolbar-button-separator"}),D("span",{className:i("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(k,{className:"k-button-icon",icon:"chevron-right"})})]})]})};$.states=Rf;$.options=Pf;$.className=Lt;$.defaultOptions=Kf;$.moduleName=ht;$.folderName=Pt;import{jsx as tl}from"react/jsx-runtime";var ol="k-floating-toolbar",wf=[],_f={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},Df={},Zt=e=>{let{size:t,fillMode:o,resizable:a,scrollable:n,scrollButtons:s,scrollingPosition:d,section:m,...b}=e;return tl(X,{...b,className:i(e.className,ol),children:tl($,{size:t,fillMode:o,resizable:a,scrollable:n,scrollButtons:s,scrollingPosition:d,section:m,children:e.children})})};Zt.states=wf;Zt.options=_f;Zt.className=ol;Zt.defaultOptions=Df;Zt.moduleName=ht;Zt.folderName=Pt;import{jsx as Uf}from"react/jsx-runtime";var Rr="k-toolbar-item",zf=[r.focus],Hf={},Ff={},ot=e=>{let{focus:t,...o}=e;return Uf("div",{...o,className:i(e.className,Rr,E(Rr,{focus:t})),children:e.children})};ot.states=zf;ot.options=Hf;ot.className=Rr;ot.defaultOptions=Ff;ot.moduleName=ht;ot.folderName=Pt;import{jsx as al}from"react/jsx-runtime";var nl="k-toolbar-popup",Gf=[],Vf={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},$f={},Qt=e=>{let{size:t,fillMode:o,section:a,...n}=e;return al(X,{...n,className:i(e.className,nl),children:a?al("span",{className:i("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Qt.states=Gf;Qt.options=Vf;Qt.className=nl;Qt.defaultOptions=$f;Qt.moduleName=ht;Qt.folderName=Pt;var ja=Qt;import{jsx as lD}from"react/jsx-runtime";import{jsx as cD}from"react/jsx-runtime";import{jsx as xD}from"react/jsx-runtime";import{jsx as SD,jsxs as kD}from"react/jsx-runtime";import{jsx as ED}from"react/jsx-runtime";import{jsx as vt,jsxs as Yf}from"react/jsx-runtime";var Xf=K.states,rl={...K.defaultOptions,variant:"text"},Wf=K.options,Jf=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],qf=[{name:"opened",title:"Opened"}],Ko=e=>{let{variant:t,modifiers:o,...a}={...rl,...e},n={},s=Yf(Ne,{size:a.size,children:[vt(J,{first:!0,text:"Menu Item"}),vt(J,{text:"Menu Item"}),vt(J,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(n.opened=!!o?.[d],n.popup=o?.[d]?s:"")}),t){case"icon-only":return vt("div",{children:vt(K,{...a,...n,icon:"star"})});case"icon-and-text":return vt("div",{children:vt(K,{...a,...n,icon:"star",children:"Split Button"})});default:return vt("div",{children:vt(K,{...a,...n,children:"Split Button"})})}};Ko.options=Wf;Ko.states=Xf;Ko.variants=Jf;Ko.defaultOptions=rl;Ko.modifiers=qf;Ko.className=K.className;import{jsx as jt,jsxs as Zf}from"react/jsx-runtime";var il=e=>jt($,{children:[jt(p,{children:"Button"},"toolbar-button"),jt(V,{text:"Menu button"},"toolbar-menu-button"),jt(K,{children:"Split button"},"toolbar-split-button"),Zf(O,{children:[jt(p,{className:"k-group-start",icon:"align-left",children:"Left"}),jt(p,{icon:"align-center",children:"Center"}),jt(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as oz,jsxs as az}from"react/jsx-runtime";import{jsx as Ke,jsxs as sl}from"react/jsx-runtime";var ll=e=>Ke($,{scrollable:!0,...e,children:[Ke(p,{children:"Button"},"toolbar-button"),Ke(V,{text:"Menu button"},"toolbar-menu-button"),Ke(K,{children:"Split button"},"toolbar-split-button"),sl(O,{children:[Ke(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Ke(p,{icon:"align-center",children:"Center"}),Ke(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ke(p,{children:"Button"},"toolbar-button"),Ke(V,{text:"Menu button"},"toolbar-menu-button"),Ke(K,{children:"Split button"},"toolbar-split-button"),sl(O,{children:[Ke(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Ke(p,{icon:"align-center",children:"Center"}),Ke(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as we,jsxs as dl}from"react/jsx-runtime";var pl=({scrollingPosition:e="start",...t})=>we($,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[we(p,{children:"Button"},"toolbar-button"),we(V,{text:"Menu button"},"toolbar-menu-button"),we(K,{children:"Split button"},"toolbar-split-button"),dl(O,{children:[we(p,{className:"k-group-start",icon:"align-left",children:"Left"}),we(p,{icon:"align-center",children:"Center"}),we(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),we(p,{children:"Button"},"toolbar-button"),we(V,{text:"Menu button"},"toolbar-menu-button"),we(K,{children:"Split button"},"toolbar-split-button"),dl(O,{children:[we(p,{className:"k-group-start",icon:"align-left",children:"Left"}),we(p,{icon:"align-center",children:"Center"}),we(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Qf,jsx as ye,jsxs as en}from"react/jsx-runtime";var ml=({fillMode:e,size:t,...o})=>en(Qf,{children:[ye($,{section:!0,fillMode:e,size:t,children:[ye(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),en(O,{fillMode:e,children:[ye(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ye(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ye(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ye(ae,{className:"k-toolbar-button-separator"}),ye(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),en(ja,{size:t,fillMode:e,section:!0,...o,children:[ye(K,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ye(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ye(ae,{}),ye(V,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),en(O,{fillMode:e,children:[ye(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ye(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ye(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as wz,jsx as Pz,jsxs as Kz}from"react/jsx-runtime";import{Fragment as Wz,jsx as $z,jsxs as Xz}from"react/jsx-runtime";import{jsx as aH,jsxs as nH}from"react/jsx-runtime";import{jsx as Kt}from"react/jsx-runtime";var jf=$.options,eb=$.states,cl={...$.defaultOptions,variant:"default"},tb=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],ob=[],wo=e=>{let{variant:t,...o}={...cl,...e};switch(t){case"responsive":return Kt("div",{children:Kt(ml,{style:{width:"583px"},...o})});case"overlay":return Kt("div",{children:Kt(pl,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Kt("div",{children:Kt(ll,{style:{width:"583px"},...o})});default:return Kt("div",{children:Kt(il,{style:{width:"583px"},...o})})}};wo.options=jf;wo.states=eb;wo.variants=tb;wo.defaultOptions=cl;wo.modifiers=ob;wo.className=$.className;import{jsx as _e}from"react/jsx-runtime";var ul="k-imageeditor-toolbar",ab=[],nb={},rb=[_e(p,{icon:"upload","aria-label":"Upload"},"toolbar-button-1"),_e(p,{disabled:!0,icon:"download","aria-label":"Download"},"toolbar-button-2"),_e(ae,{},"toolbar-separator-1"),_e(p,{disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-3"),_e(p,{disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-4"),_e(ae,{},"toolbar-separator-2"),_e(p,{disabled:!0,icon:"crop","aria-label":"Crop"},"toolbar-button-5"),_e(p,{disabled:!0,icon:"image-resize","aria-label":"Resize"},"toolbar-button-6"),_e(p,{disabled:!0,icon:"zoom-in","aria-label":"Zoom in"},"toolbar-button-7"),_e(p,{disabled:!0,icon:"zoom-out","aria-label":"Zoom out"},"toolbar-button-8"),_e(ot,{children:_e(R,{disabled:!0,value:"Zoom options","aria-label":"Zoom options"})},"toolbar-item-1")],fl={toolbarItems:rb},_o=e=>{let{toolbarItems:t=fl.toolbarItems,...o}=e;return _e($,{...o,className:i(e.className,ul),children:t})};_o.states=ab;_o.options=nb;_o.className=ul;_o.defaultOptions=fl;var bl="image-editor",xl="imageeditor";import{jsx as ga,jsxs as Nl}from"react/jsx-runtime";var hl="k-imageeditor",ib=[],sb={},lb={},ct=e=>{let{toolbarItems:t,actionPane:o,contentHeight:a,children:n,...s}=e;return Nl("div",{...s,className:i(e.className,hl),children:[ga("div",{className:"k-imageeditor-header",children:ga(_o,{toolbarItems:t})}),Nl("div",{className:"k-imageeditor-content",style:{height:a},children:[ga("div",{className:"k-imageeditor-canvas-container",children:ga("div",{className:"k-imageeditor-canvas",children:n})}),o&&ga("div",{className:"k-imageeditor-action-pane",children:o})]})]})};ct.states=ib;ct.options=sb;ct.className=hl;ct.defaultOptions=lb;ct.moduleName=bl;ct.folderName=xl;import{jsx as $H}from"react/jsx-runtime";var Ll="form",vl="forms";import{Fragment as Ml,jsx as tn,jsxs as mb}from"react/jsx-runtime";var on="k-form",db=[],pb={size:[l.undefined,l.small,l.medium,l.large]},Pr={layout:"basic",tag:"form"},ie=e=>{let{size:t,orientation:o,layout:a=Pr.layout,formButtons:n,cols:s,gutters:d,tag:m=Pr.tag,children:b}=e,N=m,x=i(e.className,on,C(on,{size:t}),{[`${on}-${o}`]:o}),h=mb(Ml,{children:[a==="grid"?tn("div",{className:i("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols}},children:b}):tn(Ml,{children:b}),n&&tn("div",{className:"k-form-buttons",children:n})]}),{role:c,"aria-labelledby":v,"aria-label":L,id:S}=e;return tn(N,{className:x,role:c,"aria-labelledby":v,"aria-label":L,id:S,children:h})};ie.states=db;ie.options=pb;ie.className=on;ie.defaultOptions=Pr;ie.moduleName=Ll;ie.folderName=vl;var Sl="label",kl="label";import{jsx as gl,jsxs as bb}from"react/jsx-runtime";var Kr="k-label",cb=[r.disabled],ub={},fb={},wt=e=>{let{disabled:t,optional:o,info:a,text:n,children:s,...d}=e;return bb("label",{...d,className:i(e.className,Kr,E(Kr,{disabled:t})),children:[n||s,o&&gl("span",{className:"k-label-optional",children:"(Optional)"}),a&&gl("span",{className:"k-field-info",children:a})]})};wt.states=cb;wt.options=ub;wt.className=Kr;wt.defaultOptions=fb;wt.moduleName=Sl;wt.folderName=kl;import{jsx as Lb}from"react/jsx-runtime";var Il="k-form-hint",xb=[],Nb={},hb={},Ze=e=>{let{text:t,children:o,...a}=e;return Lb("div",{...a,className:i(e.className,Il),children:t||o})};Ze.states=xb;Ze.options=Nb;Ze.className=Il;Ze.defaultOptions=hb;import{jsx as kb}from"react/jsx-runtime";var Cl="k-form-error",vb=[],Mb={},Sb={},Qe=e=>{let{text:t,children:o,...a}=e;return kb("div",{...a,className:i(e.className,Cl),children:t||o})};Qe.states=vb;Qe.options=Mb;Qe.className=Cl;Qe.defaultOptions=Sb;import{jsx as an,jsxs as El}from"react/jsx-runtime";var wr="k-form-field",gb=[r.disabled],j=e=>{let{editorId:t,label:o,orientation:a,optional:n,editor:s,hint:d,error:m,info:b,disabled:N,dir:x,colSpan:h,...c}=e;return El("div",{...c,className:i(wr,e.className,E(wr,{disabled:N}),{[`k-col-span-${h}`]:h}),dir:x,children:[o&&an(wt,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:n,info:b?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&an("span",{className:"k-label k-form-label k-label-empty"}),El("div",{className:"k-form-field-wrap",children:[s,d&&an(Ze,{id:t?`${t}-hint`:void 0,children:d}),m&&an(Qe,{id:t?`${t}-error`:void 0,children:m})]})]})};j.states=gb;j.className=wr;import{Fragment as Ib,jsx as _r,jsxs as Cb}from"react/jsx-runtime";var Tl="k-form-fieldset",ut=e=>{let{legend:t,layout:o,cols:a,gutters:n,colSpan:s}=e;return Cb("fieldset",{className:i(Tl,{[`k-col-span-${s}`]:s}),children:[t&&_r("legend",{className:"k-form-legend",children:t}),o==="grid"?_r("div",{className:i("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof n=="string"&&{gap:n},...typeof n=="object"&&n.rows&&{rowGap:n.rows},...typeof n=="object"&&n.cols&&{columnGap:n.cols}},children:e.children}):_r(Ib,{children:e.children})]})};ut.className=Tl;var eo="radio",Do=eo;import{jsx as yl}from"react/jsx-runtime";var nn="k-radio",Eb=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked],Tb={size:[l.undefined,l.small,l.medium,l.large]},yb={},he=e=>{let{id:t,checked:o,hover:a,focus:n,disabled:s,invalid:d,valid:m,required:b,size:N,...x}=e;return yl("span",{className:"k-radio-wrap",children:yl("input",{...x,id:t,type:"radio",checked:o,required:b,disabled:s||void 0,"aria-invalid":d?"true":void 0,className:i(e.className,nn,C(nn,{size:N}),E(nn,{hover:a,focus:n,disabled:s,invalid:d,valid:m,checked:o}))})})};he.states=Eb;he.options=Tb;he.className=nn;he.defaultOptions=yb;he.moduleName=eo;he.folderName=Do;var je=he;import{jsx as Bb}from"react/jsx-runtime";var Ol="k-radio-list",Ob=[],Ab={},Al={layout:"vertical"},Le=e=>{let{layout:t=Al.layout,...o}=e;return Bb("ul",{...o,className:i(e.className,Ol,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};Le.states=Ob;Le.options=Ab;Le.className=Ol;Le.defaultOptions=Al;Le.moduleName=eo;Le.folderName=Do;import{jsx as wb}from"react/jsx-runtime";var Bl="k-radio-list-item",Rb=[],Pb={},Kb={},ve=e=>{let{...t}=e;return wb("li",{...t,className:i(e.className,Bl),role:"none",children:e.children})};ve.states=Rb;ve.options=Pb;ve.className=Bl;ve.defaultOptions=Kb;ve.moduleName=eo;ve.folderName=Do;import{jsx as R2}from"react/jsx-runtime";import{Fragment as _b,jsx as Rl,jsxs as Db}from"react/jsx-runtime";var Mt=({children:e,id:t,...o})=>Db(_b,{children:[Rl(je,{...o,id:t}),Rl("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as F2,jsx as H2,jsxs as U2}from"react/jsx-runtime";import{Fragment as J2,jsx as X2,jsxs as W2}from"react/jsx-runtime";import{Fragment as j2,jsx as Q2,jsxs as e1}from"react/jsx-runtime";import{Fragment as r1,jsx as n1,jsxs as i1}from"react/jsx-runtime";import{Fragment as u1,jsx as c1,jsxs as f1}from"react/jsx-runtime";import{jsx as h1}from"react/jsx-runtime";import{jsx as $b}from"react/jsx-runtime";var Hb=je.options,Fb=je.states,Ub=je.defaultOptions,Gb=[],Vb=[],zo=e=>$b(Mt,{id:A("radio"),name:"value",...e,children:"Label"});zo.options=Hb;zo.states=Fb;zo.variants=Gb;zo.defaultOptions=Ub;zo.modifiers=Vb;zo.className=je.className;import{jsx as et,jsxs as Pl}from"react/jsx-runtime";var Xb=Le.options,Wb=Le.states,Jb={...Le.defaultOptions,variant:"vertical"},qb=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Yb=[],Ho=e=>{let{variant:t,...o}=e;return t==="horizontal"?Pl(Le,{layout:"horizontal",...o,children:[et(ve,{children:et(Mt,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),et(ve,{children:et(Mt,{id:A("rb"),name:"value",children:"Label"})}),et(ve,{children:et(Mt,{id:A("rb"),name:"value",children:"Label"})})]}):Pl(Le,{...o,children:[et(ve,{children:et(Mt,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),et(ve,{children:et(Mt,{id:A("rb"),name:"value",children:"Label"})}),et(ve,{children:et(Mt,{id:A("rb"),name:"value",children:"Label"})})]})};Ho.options=Xb;Ho.states=Wb;Ho.variants=qb;Ho.defaultOptions=Jb;Ho.modifiers=Yb;Ho.className=Le.className;import{Fragment as Zb,jsx as Oe,jsxs as Fo}from"react/jsx-runtime";var Dr=e=>{let{size:t,children:o,...a}=e;return Oe(ie,{formButtons:Fo(Zb,{children:[Oe(p,{className:"k-form-submit",themeColor:"primary",size:t,children:"Submit"}),Oe(p,{className:"k-form-clear",size:t,children:"Clear"})]}),size:t,...a,children:o||Fo(ut,{legend:"Form Legend",children:[Oe(j,{label:"Label",editor:Oe(H,{size:t})}),Oe(j,{label:"Label",hint:"Hint text",editor:Oe(R,{value:"Dropdown List",size:t,"aria-label":"Label"})}),Oe(j,{label:"City",editor:Fo("ul",{className:"k-radio-list k-list-horizontal",children:[Fo("li",{className:"k-radio-list-item",children:[Oe(he,{defaultChecked:!0,size:t}),Oe("label",{className:"k-radio-label",children:"Label"})]}),Fo("li",{className:"k-radio-list-item",children:[Oe(he,{size:t}),Oe("label",{className:"k-radio-label",children:"Label"})]}),Fo("li",{className:"k-radio-list-item",children:[Oe(he,{size:t}),Oe("label",{className:"k-radio-label",children:"Label"})]})]})})]})})};import{Fragment as s3,jsx as i3,jsxs as l3}from"react/jsx-runtime";import{Fragment as b3,jsx as f3,jsxs as x3}from"react/jsx-runtime";var Kl="date-input",wl="dateinput";import{jsx as Ia,jsxs as tx}from"react/jsx-runtime";var _l="k-dateinput",Qb=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],jb={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},ex={},De=e=>{let{size:t,rounded:o,fillMode:a,value:n,placeholder:s,hover:d,focus:m,valid:b,invalid:N,required:x,loading:h,disabled:c,readonly:v,showClearButton:L,showSpinButton:S,id:g,"aria-label":I,"aria-describedby":y,...z}=e;return tx(U,{...z,size:t,rounded:o,fillMode:a,hover:d,focus:m,valid:b,invalid:N,required:x,loading:h,disabled:c,readonly:v,className:i(e.className,_l),children:[Ia(pe,{id:g,placeholder:s,value:n,disabled:c,"aria-label":I,"aria-describedby":y,"aria-invalid":N?"true":void 0}),Ia(te,{valid:b,invalid:N,loading:h,disabled:c}),Ia(ne,{loading:h,disabled:c}),L&&Ia(de,{loading:h,disabled:c,readonly:v,value:n}),S&&Ia(dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:c})]})};De.states=Qb;De.options=jb;De.className=_l;De.defaultOptions=ex;De.moduleName=Kl;De.folderName=wl;var zr=De;import{jsx as ox}from"react/jsx-runtime";var Dl=e=>ox(zr,{...e});import{jsx as O3}from"react/jsx-runtime";import{jsx as lx}from"react/jsx-runtime";var ax=De.options,nx=De.states,rx=De.defaultOptions,ix=[{name:"spin-button",title:"`Spin` Button"}],sx=[],Uo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="spin-button"&&(a.showSpinButton=!!t?.[n])}),lx(Dl,{value:"2/04/2021",style:{width:"300px"},...o,...a})};Uo.options=ax;Uo.states=nx;Uo.variants=sx;Uo.defaultOptions=rx;Uo.modifiers=ix;Uo.className=De.className;var zl="masked-textbox",Hl="maskedtextbox";import{Fragment as Fl,jsx as _t,jsxs as Hr}from"react/jsx-runtime";var Ul="k-maskedtextbox",dx=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],px={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Fr={showClearButton:!0,separators:!0},ze=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Fr.separators,showClearButton:s=Fr.showClearButton,prefix:d,suffix:m,value:b,placeholder:N,hover:x,focus:h,valid:c,invalid:v,required:L,loading:S,disabled:g,readonly:I,id:y,"aria-label":z,"aria-describedby":q,...ee}=e;return Hr(U,{...ee,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:c,invalid:v,required:L,loading:S,disabled:g,readonly:I,className:i(e.className,Ul),children:[d&&Hr(Fl,{children:[_t(fe,{children:d}),n&&_t(re,{})]}),_t(pe,{id:y,placeholder:N,value:b,disabled:g,"aria-label":z,"aria-describedby":q,"aria-invalid":v?"true":void 0}),_t(te,{valid:c,invalid:v,loading:S,disabled:g}),_t(ne,{loading:S,disabled:g}),s&&_t(de,{loading:S,disabled:g,readonly:I,value:b}),m&&Hr(Fl,{children:[n&&_t(re,{}),_t(be,{children:m})]})]})};ze.states=dx;ze.options=px;ze.className=Ul;ze.defaultOptions=Fr;ze.moduleName=zl;ze.folderName=Hl;var Go=ze;import{jsx as mx}from"react/jsx-runtime";var Gl=e=>mx(Go,{...e});import{Fragment as t5,jsx as e5}from"react/jsx-runtime";import{Fragment as s5,jsx as i5}from"react/jsx-runtime";import{jsx as m5}from"react/jsx-runtime";import{jsx as b5}from"react/jsx-runtime";import{jsx as Ur}from"react/jsx-runtime";var cx=ze.states,ux=ze.defaultOptions,fx=ze.options,bx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],xx=[],Vo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Ur(R,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[n]?Ur(k,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Ur(Gl,{value:"Value",style:{width:300},...o,...a})};Vo.options=fx;Vo.states=cx;Vo.variants=xx;Vo.defaultOptions=ux;Vo.modifiers=bx;Vo.className=ze.className;var Gr="switch",Vl=Gr;import{jsx as rn,jsxs as $l}from"react/jsx-runtime";var Dt="k-switch",Nx=[r.hover,r.focus,r.disabled,r.readonly,r.checked],hx={size:[l.undefined,l.small,l.medium,l.large],trackRounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],thumbRounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Lx={},Ae=e=>{let{checked:t,onLabel:o,offLabel:a,size:n,trackRounded:s,thumbRounded:d,hover:m,focus:b,disabled:N,readonly:x,...h}=e;return $l("span",{...h,className:i(e.className,Dt,C(Dt,{size:n}),E(Dt,{hover:m,focus:b,disabled:N,readonly:x}),{[`${Dt}-on`]:t,[`${Dt}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:N?void 0:0,"aria-disabled":N?"true":void 0,"aria-readonly":x?"true":void 0,children:[$l("span",{className:i("k-switch-track",C(Dt,{rounded:s})),children:[o&&rn("span",{className:"k-switch-label-on",children:o}),a&&rn("span",{className:"k-switch-label-off",children:a})]}),rn("span",{className:"k-switch-thumb-wrap",children:rn("span",{className:i("k-switch-thumb",C(Dt,{rounded:d}))})})]})};Ae.states=Nx;Ae.options=hx;Ae.className=Dt;Ae.defaultOptions=Lx;Ae.moduleName=Gr;Ae.folderName=Vl;import{jsx as z5}from"react/jsx-runtime";import{jsx as G5}from"react/jsx-runtime";import{jsx as W5}from"react/jsx-runtime";import{jsx as Z5}from"react/jsx-runtime";import{jsx as Xl}from"react/jsx-runtime";var vx=Ae.options,Mx=Ae.states,Sx={...Ae.defaultOptions,variant:"on"},kx=[{name:"on",title:"On"},{name:"off",title:"Off"}],gx=[],$o=e=>{let{variant:t,...o}=e;return t==="off"?Xl(Ae,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Xl(Ae,{checked:!0,onLabel:"On",offLabel:"Off",...o})};$o.options=vx;$o.states=Mx;$o.variants=kx;$o.defaultOptions=Sx;$o.modifiers=gx;$o.className=Ae.className;var $r="textarea",Wl=$r;import{Fragment as Jl,jsx as Ca,jsxs as Xr}from"react/jsx-runtime";var ql="k-textarea",Ix=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Cx={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Xo={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Be=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:n=Xo.prefixSeparator,suffixSeparator:s=Xo.prefixSeparator,affixesOrientation:d=Xo.affixesOrientation,flow:m=Xo.flow,resize:b=Xo.resize,prefix:N,suffix:x,rows:h,value:c,placeholder:v,hover:L,focus:S,valid:g,invalid:I,required:y,disabled:z,id:q,"aria-label":ee,"aria-describedby":se,...le}=e;return Xr(U,{...le,size:t,rounded:o,fillMode:a,hover:L,focus:S,valid:g,invalid:I,required:y,disabled:z,className:i(e.className,ql,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[N&&Xr(Jl,{children:[Ca(fe,{className:i({"!k-align-items-start":m===d}),direction:d,children:N}),n&&Ca(re,{direction:m==="horizontal"?"vertical":"horizontal"})]}),Ca(ia,{className:i("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":b==="x","k-resize-y":b==="y","k-resize":b==="both","k-resize-none":b==="none"}),value:c,placeholder:v,rows:h,disabled:z,id:q,"aria-label":ee,"aria-describedby":se,"aria-invalid":I?"true":void 0}),x&&Xr(Jl,{children:[s&&Ca(re,{direction:m==="horizontal"?"vertical":"horizontal"}),Ca(be,{className:i({"!k-align-items-start":m===d}),direction:d,children:x})]})]})};Be.states=Ix;Be.options=Cx;Be.className=ql;Be.defaultOptions=Xo;Be.moduleName=$r;Be.folderName=Wl;import{jsx as hF}from"react/jsx-runtime";import{Fragment as gF,jsx as kF}from"react/jsx-runtime";import{Fragment as OF,jsx as yF}from"react/jsx-runtime";import{jsx as PF}from"react/jsx-runtime";import{jsx as sn}from"react/jsx-runtime";var Ex=Be.options,Tx=Be.states,Yl={...Be.defaultOptions,variant:"vertical"},yx=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],Ox=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Wo=e=>{let{variant:t,modifiers:o,...a}={...Yl,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?sn(k,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?sn(k,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?sn(Be,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):sn(Be,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};Wo.options=Ex;Wo.states=Tx;Wo.variants=yx;Wo.defaultOptions=Yl;Wo.modifiers=Ox;Wo.className=Be.className;import{Fragment as n6,jsx as a6,jsxs as r6}from"react/jsx-runtime";import{Fragment as wx,jsx as Ce,jsxs as Jo}from"react/jsx-runtime";var Ax=ie.options,Bx=ie.states,Rx={...ie.defaultOptions,variant:"vertical"},Px=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Kx=[],qo=e=>{let{variant:t,size:o,...a}=e,n=Jo(ut,{legend:"Form Legend",children:[Ce(j,{label:"Label",editor:Ce(H,{size:o})}),Ce(j,{label:"Label",hint:"Hint text",editor:Ce(R,{value:"Dropdown List",size:o})}),Ce(j,{label:"City",editor:Jo("ul",{className:"k-radio-list k-list-horizontal",children:[Jo("li",{className:"k-radio-list-item",children:[Ce(he,{checked:!0,size:o}),Ce("label",{className:"k-radio-label",children:"Label"})]}),Jo("li",{className:"k-radio-list-item",children:[Ce(he,{size:o}),Ce("label",{className:"k-radio-label",children:"Label"})]}),Jo("li",{className:"k-radio-list-item",children:[Ce(he,{size:o}),Ce("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=Jo(wx,{children:[Ce(p,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),Ce(p,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?Ce(ie,{orientation:"horizontal",size:o,...a,formButtons:s,children:n}):Ce(ie,{size:o,...a,formButtons:s,children:n})};qo.options=Ax;qo.states=Bx;qo.variants=Px;qo.defaultOptions=Rx;qo.modifiers=Kx;qo.className=ie.className;import{jsx as Zl,jsxs as Fx}from"react/jsx-runtime";var _x=Ze.options,Dx=Ze.states,Ql={...Ze.defaultOptions},zx=[],Hx=[{name:"showHint",title:"Show Hint"}],Yo=e=>{let{modifiers:t,...o}={...Ql,...e},a=t?.showHint??!0;return Fx("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Zl(H,{placeholder:"Component",style:{width:"200px"}}),a&&Zl(Ze,{...o,children:"Hint text"})]})};Yo.options=_x;Yo.states=Dx;Yo.variants=zx;Yo.defaultOptions=Ql;Yo.modifiers=Hx;Yo.className=Ze.className;import{jsx as jl,jsxs as Xx}from"react/jsx-runtime";var Ux=Qe.options,Gx=Qe.states,ed={...Qe.defaultOptions},Vx=[],$x=[{name:"showError",title:"Show Error"}],Zo=e=>{let{modifiers:t,...o}={...ed,...e},a=t?.showError??!0;return Xx("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[jl(H,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&jl(Qe,{...o,children:"Error text"})]})};Zo.options=Ux;Zo.states=Gx;Zo.variants=Vx;Zo.defaultOptions=ed;Zo.modifiers=$x;Zo.className=Qe.className;var Jr="segmented-control",td=Jr,od="segmented-control-button",ad="segmented-control";import{jsx as qx,jsxs as Yx}from"react/jsx-runtime";var ln="k-segmented-control",Wx=[],Jx={size:[l.undefined,l.small,l.medium,l.large]},Qo=e=>{let{size:t,stretched:o,children:a,thumbStyles:n,...s}=e;return Yx("div",{...s,className:i(e.className,ln,C(ln,{size:t}),{[`${ln}-stretched`]:o}),role:"group",children:[qx("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:n}),a]})};Qo.states=Wx;Qo.options=Jx;Qo.className=ln;Qo.moduleName=Jr;Qo.folderName=td;import{jsx as nd,jsxs as eN}from"react/jsx-runtime";var qr="k-segmented-control-button",Zx=[r.selected,r.hover,r.focus,r.disabled],Qx={},jx={},to=e=>{let{hover:t,focus:o,selected:a,disabled:n,icon:s,text:d,iconClassName:m,...b}=e;return eN("button",{...b,className:i(e.className,qr,E(qr,{hover:t,focus:o,disabled:n,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":n?"true":void 0,tabIndex:a?0:-1,children:[s&&nd(k,{className:i(m,"k-segmented-control-button-icon"),icon:s}),(d||e.children)&&nd("span",{className:"k-segmented-control-button-text",children:d||e.children})]})};to.states=Zx;to.options=Qx;to.className=qr;to.defaultOptions=jx;to.moduleName=od;to.folderName=ad;import{Fragment as e7,jsx as j6,jsxs as t7}from"react/jsx-runtime";import{Fragment as s7,jsx as i7,jsxs as l7}from"react/jsx-runtime";import{Fragment as f7,jsx as u7,jsxs as b7}from"react/jsx-runtime";import{Fragment as M7,jsx as v7,jsxs as S7}from"react/jsx-runtime";import{Fragment as T7,jsx as E7,jsxs as y7}from"react/jsx-runtime";import{Fragment as q7,jsx as J7,jsxs as Y7}from"react/jsx-runtime";import{Fragment as tN,jsx as F,jsxs as rd}from"react/jsx-runtime";var m9=e=>F(ct,{toolbarItems:[F(p,{icon:"upload","aria-label":"Upload"},"toolbar-button-1"),F(p,{icon:"download","aria-label":"Download"},"toolbar-button-2"),F(ae,{},"toolbar-separator-1"),F(p,{disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-3"),F(p,{disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-4"),F(ae,{},"toolbar-separator-2"),F(p,{icon:"crop","aria-label":"Crop"},"toolbar-button-5"),F(p,{icon:"image-resize","aria-label":"Resize"},"toolbar-button-6"),F(p,{icon:"zoom-in","aria-label":"Zoom in"},"toolbar-button-7"),F(p,{icon:"zoom-out","aria-label":"Zoom out"},"toolbar-button-8"),F(ot,{children:F(R,{value:"Zoom options","aria-label":"Zoom options"})},"toolbar-item-1")],actionPane:F(Dr,{tag:"div",className:"k-imageeditor-pane-form",formButtons:rd(tN,{children:[F(p,{themeColor:"primary",icon:"check",children:"Confirm"}),F(p,{icon:"cancel",children:"Cancel"})]}),children:rd(ut,{layout:"grid",legend:"Resize Image",cols:2,gutters:{cols:"8px"},children:[F(j,{colSpan:"1",label:"Width:",editorId:"resize-width",editor:F(w,{id:"resize-width",showClearButton:!1,value:"61"})}),F(j,{colSpan:"1",label:"\xA0",editor:F(R,{value:"Pixels","aria-label":"Width unit"})}),F(j,{colSpan:"1",label:"Height:",editorId:"resize-height",editor:F(w,{id:"resize-height",showClearButton:!1,value:"68"})}),F(j,{colSpan:"1",label:"\xA0",editor:F(R,{value:"Pixels","aria-label":"Height unit"})}),F(j,{colSpan:"2",editor:F(Ve,{id:"resize-lock",children:"Lock aspect ratio"})})]})}),children:F("canvas",{width:"61",height:"68",role:"img","aria-label":"Image being edited"}),...e});export{m9 as ImageEditorResize};
1
+ var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...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 C=(e,t)=>i({[`${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"}),E=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:d,active:m,selected:b,disabled:N,indeterminate:x,loading:h,empty:c,readonly:v,highlighted:L,...S}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":d,"k-active":m,"k-selected":b,"k-disabled":N,"k-indeterminate":x&&!d,"k-loading":h,"k-empty":c,"k-readonly":v,"k-highlighted":L},Object.keys(S).reduce((g,I)=>(I.startsWith("k-")?g[I]=S[I]:g[`k-${I}`]=S[I],g),{}))};function Zr(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"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},at={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},M={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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 fn={};function A(e){return fn[e]=(fn[e]||0)+1,`k-${e}-${fn[e]}`}import{Fragment as pd,jsx as Qr}from"react/jsx-runtime";var bn="k-font-icon",sd=[],ld={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info]},dd={},jo=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...d}=e;return a?Qr("span",{...d,className:i(e.className,bn,C(bn,{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"}):Qr(pd,{})};jo.states=sd;jo.options=ld;jo.className=bn;jo.defaultOptions=dd;var jr=jo;import{Fragment as ud,jsx as Ta}from"react/jsx-runtime";var xn="k-svg-icon",md=[],cd={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info],variant:[at.outline,at.solid,at.duotone]},Nn={viewBox:"0 0 24 24",variant:at.outline},ea=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Nn.viewBox,variant:d=Nn.variant,icon:m,...b}=e;if(!m)return Ta(ud,{});if(m==="none")return Ta("span",{...b,className:i(e.className,xn,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?d&&m.variants?.[d]||m.variants?.outline||m.content:void 0;return Ta("span",{...b,className:i(e.className,xn,C("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:Ta("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})})};ea.states=md;ea.options=cd;ea.className=xn;ea.defaultOptions=Nn;var hn=ea;import*as Ln from"@progress/kendo-svg-icons";var ei="icon",ti="icons";import{useContext as bd}from"react";import{createContext as fd}from"react";var oi=fd({iconsType:"svg"});import{Fragment as ai,jsx as ta}from"react/jsx-runtime";var ya="k-icon",xd=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Nd=[],hd={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info],variant:[at.outline,at.solid,at.duotone]},Oa={viewBox:"0 0 24 24",type:"svg",variant:at.outline},k=e=>{let{iconsType:t}=bd(oi),{size:o,themeColor:a,icon:n,type:s=t||Oa.type,rotate:d,flip:m,viewBox:b=Oa.viewBox,variant:N=Oa.variant,...x}=e;if(!n)return ta(ai,{});if((t||s)==="svg"){if(n==="none")return ta(hn,{...x,className:i(e.className,ya),icon:n,size:o,variant:N});let c=Ln[n]?n:xd(`${n}-icon`);return Ln[c]?ta(hn,{...x,className:i(e.className,ya),icon:Ln[c],size:o,themeColor:a,rotate:d,flip:m,viewBox:b,variant:N}):ta(ai,{})}return ta(jr,{...x,className:i(e.className,ya),icon:n,size:o,themeColor:a,rotate:d,flip:m})};k.states=Nd;k.options=hd;k.defaultOptions=Oa;k.className=ya;k.moduleName=ei;k.folderName=ti;var vn="button",ni=vn;import{Fragment as ri,jsx as oo,jsxs as ii}from"react/jsx-runtime";var oa="k-button",Ld=["icon-button"],vd=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Md={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info,M.inverse]},Mn={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:d=Mn.showArrow,arrowIconName:m=Mn.arrowIconName,variant:b,hover:N,focus:x,active:h,selected:c,disabled:v,togglable:L,ariaDisabled:S,icon:g,iconSize:I,text:y,iconClassName:z,className:q,...ee}=e,se=g!=null,le=e.children!==void 0;return ii(t,{className:i(q,oa,Zr(oa,b),C(oa,{size:o,rounded:a,fillMode:n,themeColor:s}),E(oa,{hover:N,focus:x,active:h,disabled:v||S,selected:c}),{"k-icon-button":!y&&!le&&se}),"aria-pressed":L?c?"true":"false":void 0,...ee,"aria-disabled":S?"true":void 0,disabled:v||void 0,children:[typeof g=="string"&&g&&oo(k,{className:i(z,"k-button-icon"),icon:g,size:I}),g&&typeof g!="string"&&oo(ri,{children:g}),y?ii(ri,{children:[y&&oo("span",{className:"k-button-text",children:y}),e.children]}):e.children&&oo("span",{className:"k-button-text",children:e.children}),d&&oo("span",{className:"k-menu-button-arrow k-button-arrow",children:oo(k,{icon:m})})]})};p.states=vd;p.options=Md;p.variants=Ld;p.className=oa;p.defaultOptions=Mn;p.moduleName=vn;p.folderName=ni;import{jsx as Sd}from"react/jsx-runtime";var ft=e=>Sd(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as kd}from"react/jsx-runtime";var aa=e=>kd(p,{icon:"folder",children:"Button",...e});import{jsx as gd}from"react/jsx-runtime";var Ht=e=>gd(p,{children:"Button",...e});import{jsx as Sn}from"react/jsx-runtime";var Id=p.options,Cd=p.states,Ed={...p.defaultOptions,variant:"text"},Td=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],yd=[],ao=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Sn(ft,{...o,icon:"star"});case"icon-and-text":return Sn(aa,{...o,icon:"star",children:"Button"});default:return Sn(Ht,{...o,children:"Button"})}};ao.options=Id;ao.states=Cd;ao.variants=Td;ao.defaultOptions=Ed;ao.modifiers=yd;ao.className=p.className;var kn="button",si=kn;import{jsx as Rd}from"react/jsx-runtime";var na="k-button-group",Od=[r.disabled],Ad={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Bd={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Rd("div",{role:"group",...n,className:i(e.className,na,C(na,{fillMode:t}),E(na,{disabled:o}),{[`${na}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=Od;O.options=Ad;O.className=na;O.defaultOptions=Bd;O.moduleName=kn;O.folderName=si;import{Fragment as xh,jsx as bh,jsxs as Nh}from"react/jsx-runtime";import{Fragment as kh,jsx as Sh,jsxs as gh}from"react/jsx-runtime";import{Fragment as Oh,jsx as yh,jsxs as Ah}from"react/jsx-runtime";import{Fragment as _h,jsx as wh,jsxs as Dh}from"react/jsx-runtime";import{Fragment as Vh,jsx as Gh,jsxs as $h}from"react/jsx-runtime";import{Fragment as Zh,jsx as Yh,jsxs as Qh}from"react/jsx-runtime";import{jsx as bt,jsxs as gn}from"react/jsx-runtime";var Pd={...p.options,...O.options},Kd=p.states,wd={...p.defaultOptions,...O.defaultOptions,variant:"text-button"},_d=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Dd=[],no=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?gn(O,{fillMode:a.fillMode,className:o,children:[bt(p,{...a,icon:"star"}),bt(p,{...a,icon:"star"}),bt(p,{...a,icon:"star"})]}):t==="icon-text-button"?gn(O,{fillMode:a.fillMode,className:o,children:[bt(p,{...a,icon:"star",children:"First"}),bt(p,{...a,icon:"star",children:"Middle"}),bt(p,{...a,icon:"star",children:"Last"})]}):gn(O,{fillMode:a.fillMode,className:o,children:[bt(p,{...a,children:"First"}),bt(p,{...a,children:"Middle"}),bt(p,{...a,children:"Last"})]})};no.options=Pd;no.states=Kd;no.variants=_d;no.defaultOptions=wd;no.modifiers=Dd;no.className=O.className;var ra="input",Aa=ra;import{jsx as Ud}from"react/jsx-runtime";var Ba="k-input",zd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Hd={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Fd={},U=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m,size:b,rounded:N,fillMode:x,...h}=e;return Ud("span",{...h,className:i(e.className,Ba,C(Ba,{size:b,rounded:N,fillMode:x}),E(Ba,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m}))})};U.states=zd;U.options=Hd;U.className=Ba;U.defaultOptions=Fd;U.moduleName=ra;U.folderName=Aa;import{jsx as Xd}from"react/jsx-runtime";var Ra="k-picker",Gd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Vd={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},$d={},nt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m,size:b,rounded:N,fillMode:x,...h}=e;return Xd("span",{...h,className:i(e.className,Ra,C(Ra,{size:b,rounded:N,fillMode:x}),E(Ra,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m})),children:e.children})};nt.states=Gd;nt.options=Vd;nt.className=Ra;nt.defaultOptions=$d;nt.moduleName=ra;nt.folderName=Aa;import{Fragment as qd,jsx as In}from"react/jsx-runtime";var li="k-clear-value",Wd=[r.disabled,r.loading,r.readonly],Jd={},de=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?In(qd,{}):In("span",{className:i(e.className,li),children:In(k,{icon:"x"})})};de.states=Wd;de.options=Jd;de.className=li;import{jsx as Qd}from"react/jsx-runtime";var Cn="k-input-inner",Yd=[],Zd={},Pa={type:"text",autocomplete:"off",value:"",placeholder:""},pe=e=>{let{value:t=Pa.value,type:o=Pa.type,placeholder:a=Pa.placeholder,autocomplete:n=Pa.autocomplete,disabled:s,readOnly:d,...m}=e;return Qd("input",{...m,type:o,className:i(e.className,Cn,C(Cn,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};pe.states=Yd;pe.options=Zd;pe.className=Cn;import{jsx as di,jsxs as tp}from"react/jsx-runtime";var En="k-input-inner",jd=[],ep={},Ft=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...d}=e;return tp("span",{...d,className:i(e.className,En,C(En,e)),children:[n,!n&&s&&di(k,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&di("span",{className:"k-input-value-text",children:t})]})};Ft.states=jd;Ft.options=ep;Ft.className=En;import{jsx as np}from"react/jsx-runtime";var Tn="k-input-inner",op=[],ap={},pi={value:"",placeholder:""},ia=e=>{let{value:t=pi.value,placeholder:o=pi.placeholder,rows:a,disabled:n,...s}=e;return np("textarea",{...s,className:i(e.className,Tn,C(Tn,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ia.states=op;ia.options=ap;ia.className=Tn;import{Fragment as ip,jsx as mi}from"react/jsx-runtime";var ci="k-input-loading-icon",rp=[r.disabled,r.loading],ne=e=>{let{disabled:t,loading:o}=e;return t||!o?mi(ip,{}):mi("span",{className:i(e.className,ci,"k-icon k-i-loading")})};ne.states=rp;ne.className=ci;import{Fragment as dp,jsx as ui}from"react/jsx-runtime";var fi="k-input-validation-icon",sp=[r.valid,r.invalid,r.disabled,r.loading],lp={},te=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?ui(dp,{}):ui(k,{className:i(fi),icon:s})};te.states=sp;te.options=lp;te.className=fi;import{Fragment as cp,jsx as bi}from"react/jsx-runtime";var pp="k-input-prefix",mp={direction:"horizontal"},fe=e=>{let{direction:t=mp.direction,...o}=e;return e.children?bi("span",{...o,className:i(pp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):bi(cp,{})};import{Fragment as bp,jsx as xi}from"react/jsx-runtime";var up="k-input-suffix",fp={direction:"horizontal"},be=e=>{let{direction:t=fp.direction,...o}=e;return e.children?xi("span",{...o,className:i(up,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):xi(bp,{})};import{jsx as QL}from"react/jsx-runtime";import{jsx as Np}from"react/jsx-runtime";var xp="k-input-suffix-text",yn=e=>{let{children:t,...o}=e;return Np("span",{...o,className:i(xp,e.className),children:t})};import{jsx as Lp}from"react/jsx-runtime";var Ni="k-input-separator",hp={direction:"vertical"},re=e=>{let{direction:t=hp.direction,...o}=e;return Lp("span",{...o,className:i(Ni,e.className,{[`${Ni}-${t}`]:t})})};import{Fragment as hi,jsx as rt,jsxs as On}from"react/jsx-runtime";var vp=U.states,Mp=U.defaultOptions,Sp=U.options,kp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],gp=[],ro=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:d,...m}=e,b=t?.prefix,N=t?.suffix,x=t?.["clear-button"],h=t?.["validation-icon"],c=t?.separators;return On(U,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:d,style:{width:300},children:[b&&On(hi,{children:[rt(fe,{children:rt(k,{icon:"lock"})}),c&&rt(re,{})]}),rt(pe,{placeholder:"Placeholder",value:"Value"}),h&&rt(te,{valid:o,invalid:a,loading:n,disabled:s}),rt(ne,{loading:n,disabled:s}),x&&rt(de,{loading:n,disabled:s,readonly:d,value:"Value"}),N&&On(hi,{children:[c&&rt(re,{}),rt(be,{children:rt(Ht,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};ro.options=Sp;ro.states=vp;ro.variants=gp;ro.defaultOptions=Mp;ro.modifiers=kp;ro.className=U.className;import{jsx as Li,jsxs as Ep}from"react/jsx-runtime";var vi="k-color-preview",Ip=[],Cp={},kt=e=>{let{color:t,iconName:o,...a}=e;return Ep("span",{...a,className:i(e.className,vi,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Li(k,{icon:o,className:"k-color-preview-icon"}),Li("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};kt.states=Ip;kt.options=Cp;kt.className=vi;var An="popup",Mi=An;import{jsx as Si}from"react/jsx-runtime";var ki="k-animation-container",Tp=[],yp={},Bn={positionMode:"absolute",shown:!0},it=e=>{let{positionMode:t=Bn.positionMode,shown:o=Bn.shown,animationStyle:a,offset:n,...s}=e;return Si("div",{...s,style:{...n,...e.style},className:i(e.className,ki,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Si("div",{className:"k-child-animation-container",style:a,children:e.children})})};it.states=Tp;it.options=yp;it.className=ki;it.defaultOptions=Bn;it.moduleName=An;it.folderName=Mi;var Rn="popup",gi=Rn;import{jsx as Ii}from"react/jsx-runtime";var Ci="k-popup",Op=[],Ap={},Ei={positionMode:"absolute"},X=e=>{let{offset:t,positionMode:o=Ei.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:d,...m}=e;return Ii(it,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":d,children:Ii("div",{...m,className:i(e.className,Ci),children:e.children})})};X.states=Op;X.options=Ap;X.className=Ci;X.defaultOptions=Ei;X.moduleName=Rn;X.folderName=gi;var Pn="action-buttons",Ti=Pn;import{jsx as Pp}from"react/jsx-runtime";var Ka="k-actions",Bp=[],Rp={},Kn={alignment:"start",orientation:"horizontal"},st=e=>{let{alignment:t=Kn.alignment,orientation:o=Kn.orientation,...a}=e;return Pp("div",{...a,className:i(Ka,{[`${Ka}-${t}`]:t,[`${Ka}-${o}`]:o},e.className),children:e.children})};st.states=Bp;st.options=Rp;st.className=Ka;st.defaultOptions=Kn;st.moduleName=Pn;st.folderName=Ti;import{jsx as wp}from"react/jsx-runtime";var Kp="k-actionsheet-footer",yi={alignment:"stretched",orientation:"horizontal"},gt=e=>{let{alignment:t=yi.alignment,orientation:o=yi.orientation,template:a,as:n=a?"div":st,...s}=e;return wp(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Kp),children:e.children})};var wn="searchbox",Oi=wn;import{jsx as sa,jsxs as zp}from"react/jsx-runtime";var Ai="k-searchbox",_p=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Dp={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},_n={showIcon:!0,icon:"search"},He=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:d,focus:m,valid:b,invalid:N,required:x,loading:h,disabled:c,showIcon:v=_n.showIcon,icon:L=_n.icon,"aria-label":S,...g}=e;return zp(U,{...g,size:a,rounded:n,fillMode:s,hover:d,focus:m,valid:b,invalid:N,required:x,loading:h,disabled:c,className:i(e.className,Ai),children:[v&&sa(k,{className:"k-input-icon",icon:L}),sa(pe,{placeholder:o,value:t,"aria-label":S}),sa(ne,{...e}),sa(te,{...e}),sa(de,{...e})]})};He.states=_p;He.options=Dp;He.className=Ai;He.defaultOptions=_n;He.moduleName=wn;He.folderName=Oi;import{jsx as kM}from"react/jsx-runtime";var Dn="textbox",Bi=Dn;import{Fragment as Ri,jsx as It,jsxs as zn}from"react/jsx-runtime";var Pi="k-textbox",Hp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Fp={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},wa={showClearButton:!0,showValidationIcon:!0,separators:!0},H=e=>{let{size:t,rounded:o,fillMode:a,separators:n=wa.separators,showClearButton:s=wa.showClearButton,showValidationIcon:d=wa.showValidationIcon,prefix:m,suffix:b,type:N,value:x,placeholder:h,hover:c,focus:v,valid:L,invalid:S,required:g,loading:I,disabled:y,readonly:z,id:q,"aria-label":ee,"aria-describedby":se,...le}=e;return zn(U,{...le,size:t,rounded:o,fillMode:a,hover:c,focus:v,valid:L,invalid:S,required:g,loading:I,disabled:y,readonly:z,className:i(e.className,Pi),children:[m&&zn(Ri,{children:[It(fe,{children:m}),n&&It(re,{})]}),It(pe,{id:q,placeholder:h,value:x,type:N,disabled:y,"aria-label":ee,"aria-describedby":se,"aria-invalid":S?"true":void 0}),d&&It(te,{valid:L,invalid:S,loading:I,disabled:y}),It(ne,{loading:I,disabled:y}),s&&It(de,{loading:I,disabled:y,readonly:z,value:x}),b&&zn(Ri,{children:[n&&It(re,{}),It(be,{children:b})]})]})};H.states=Hp;H.options=Fp;H.className=Pi;H.defaultOptions=wa;H.moduleName=Dn;H.folderName=Bi;var la=H;import{jsx as Up}from"react/jsx-runtime";var Ki=e=>Up(la,{...e});import{Fragment as FM,jsx as HM}from"react/jsx-runtime";import{Fragment as WM,jsx as XM}from"react/jsx-runtime";import{jsx as ZM}from"react/jsx-runtime";import{jsx as Hn}from"react/jsx-runtime";var Gp=H.states,Vp=H.defaultOptions,$p=H.options,Xp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Wp=[],io=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Hn(k,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Hn(Ht,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Hn(Ki,{value:"Value",style:{width:300},...o,...a})};io.options=$p;io.states=Gp;io.variants=Wp;io.defaultOptions=Vp;io.modifiers=Xp;io.className=H.className;import{jsx as Ct,jsxs as Fn}from"react/jsx-runtime";var wi="k-actionsheet-titlebar",Jp={},Me=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:d,inputValue:m,inputPlaceholder:b,adaptive:N,titleId:x,children:h,...c}=e;return Fn("div",{...c,className:i(e.className,wi),children:[Fn("div",{className:"k-actionsheet-titlebar-group",children:[a&&Ct("div",{className:"k-actionsheet-actions",children:a}),!h&&Fn("div",{className:"k-actionsheet-title",id:x,children:[t&&Ct("div",{className:"k-text-center",children:t}),o&&Ct("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&Ct("div",{className:"k-actionsheet-title",id:x,children:h}),n&&Ct("div",{className:"k-actionsheet-actions",children:n})]}),(d||s)&&Ct("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?Ct(H,{value:m,placeholder:b,size:N?"large":"medium","aria-label":t||b||"Input"}):Ct(He,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Me.className=wi;Me.defaultOptions=Jp;import{jsx as Un,jsxs as Qp}from"react/jsx-runtime";var Gn="k-actionsheet-view",qp=[],Yp={},Zp={},so=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:d,...m}=e,b=n?.type===Me&&Un(Me,{adaptive:t,titleId:d,...n?.props}),N=s?.type===gt&&Un(gt,{...s?.props});return Qp("div",{...m,className:i(e.className,Gn,{[`${Gn}-animated`]:o}),children:[b,Un("div",{className:"k-actionsheet-content",children:a}),N]})};so.states=qp;so.options=Yp;so.className=Gn;so.defaultOptions=Zp;var da="action-sheet",_a=da;var Vn="overlay",_i=Vn;import{jsx as om}from"react/jsx-runtime";var Di="k-overlay",jp=[],em={},tm={},Et=e=>{let{...t}=e;return om("div",{...t,className:i(e.className,Di),children:e.children})};Et.states=jp;Et.options=em;Et.className=Di;Et.defaultOptions=tm;Et.moduleName=Vn;Et.folderName=_i;import{jsx as Da,jsxs as rm}from"react/jsx-runtime";var zi="k-actionsheet",am=[],nm={},pa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Y=e=>{let{side:t=pa.side,fullscreen:o=pa.fullscreen,adaptive:a=pa.adaptive,overlay:n=pa.overlay,template:s,children:d,header:m,footer:b,id:N,...x}=e,h=N&&!s&&m?`${N}-title`:void 0;return rm("div",{className:"k-actionsheet-container",children:[n&&Da(Et,{}),Da(it,{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:Da("div",{...x,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":h,className:i(e.className,zi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Da(so,{header:m,footer:b,adaptive:a,titleId:h,...e,children:d})})})]})};Y.states=am;Y.options=nm;Y.className=zi;Y.defaultOptions=pa;Y.moduleName=da;Y.folderName=_a;import{jsx as dm}from"react/jsx-runtime";var Hi="k-actionsheet-container",im=[],sm={},lm={},lo=e=>{let{children:t,...o}=e;return dm("div",{...o,className:Hi,children:t})};lo.states=im;lo.options=sm;lo.className=Hi;lo.defaultOptions=lm;lo.moduleName=da;lo.folderName=_a;import{jsx as pm}from"react/jsx-runtime";var $n=e=>{let{...t}=e;return pm("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as cm,jsx as ma,jsxs as Xn}from"react/jsx-runtime";var Wn="k-actionsheet-item",mm=[r.hover,r.focus,r.selected,r.disabled],Tt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:d,disabled:m,...b}=e;return Xn("span",{...b,className:i(e.className,Wn,E(Wn,{hover:n,focus:s,selected:d,disabled:m})),children:[!e.children&&ma(cm,{children:Xn("span",{className:"k-actionsheet-action",children:[t&&ma("span",{className:"k-icon-wrap",children:ma(k,{className:"k-actionsheet-item-icon",icon:t})}),Xn("span",{className:"k-actionsheet-item-text",children:[o&&ma("span",{className:"k-actionsheet-item-title",children:o}),a&&ma("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Tt.states=mm;Tt.className=Wn;import{jsx as YS,jsxs as ZS}from"react/jsx-runtime";import{jsx as tk}from"react/jsx-runtime";import{jsx as rk}from"react/jsx-runtime";import{jsx as dk}from"react/jsx-runtime";import{jsx as me,jsxs as Jn}from"react/jsx-runtime";var um=Y.options,fm=Y.states,Ui={...Y.defaultOptions,variant:"normal"},bm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],xm=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],po=e=>{let{variant:t,modifiers:o,...a}={...Ui,...e},n={},s=Jn($n,{children:[me(Tt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),me(Tt,{text:"Add to Favorites",iconName:"heart"}),me(Tt,{text:"Upload New",iconName:"upload",disabled:!0}),me("hr",{className:"k-hr"}),me(Tt,{text:"Cancel",iconName:"cancel"})]}),d="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]?d:void 0;break;case"footer":n.footer=!!o?.[b];break;default:break}}),t==="adaptive"?me(Y,{...a,adaptive:!0,fullscreen:n.fullScreen,header:me(Me,{actionsStart:n.actionsStart?me(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?me(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?Jn(gt,{alignment:"stretched",children:[me(p,{text:"Cancel",size:"large",themeColor:"base"}),me(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):me(Y,{...a,fullscreen:n.fullScreen,header:me(Me,{actionsStart:n.actionsStart?me(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?me(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Jn(gt,{alignment:"stretched",children:[me(p,{text:"Apply",themeColor:"primary"}),me(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};po.options=um;po.states=fm;po.variants=bm;po.defaultOptions=Ui;po.modifiers=xm;po.className=Y.className;var qn="slider",Gi=qn;import{jsx as mo,jsxs as Yn}from"react/jsx-runtime";var ca="k-slider",Nm=[r.hover,r.focus,r.active,r.disabled,r.readonly],hm={},Fe={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},W=e=>{let{type:t=Fe.type,orientation:o=Fe.orientation,gradientType:a=Fe.gradientType,readonly:n=Fe.readonly,disabled:s=Fe.disabled,handlePosition:d=Fe.handlePosition,showButtons:m=Fe.showButtons,showTicks:b=Fe.showTicks,value:N=Fe.value,min:x=Fe.min,max:h=Fe.max,startValue:c,endValue:v,hover:L,focus:S,active:g,trackStyle:I,dir:y,...z}=e,ee=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),se,le;return o==="horizontal"?(se=y==="rtl"?"chevron-left":"chevron-right",le=y==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(se="chevron-up",le="chevron-down"),Yn("div",{...z,className:i(ca,e.className,E(ca,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:y,children:[m&&mo(p,{className:"k-button-decrease",rounded:"full",icon:le,tabIndex:-1,title:"Decrease"}),Yn("div",{className:"k-slider-track-wrap",children:[b&&mo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Yn("div",{className:"k-slider-track",style:I,children:[mo("div",{className:"k-slider-selection"}),t==="range"&&mo("span",{className:i("k-draghandle","k-draghandle-start",E(ca,{hover:L,focus:S,active:g})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??x,"aria-valuemin":x,"aria-valuemax":v??h,"aria-orientation":ee,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":z["aria-label"]?`${z["aria-label"]} start`:"Range start"}),mo("span",{className:i("k-draghandle",`k-draghandle-${d}`,E(ca,{hover:L,focus:S,active:g})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??h:N,"aria-valuemin":t==="range"?c??x:x,"aria-valuemax":h,"aria-orientation":ee,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?z["aria-label"]?`${z["aria-label"]} end`:"Range end":z["aria-label"]})]})]}),m&&mo(p,{className:"k-button-increase",rounded:"full",icon:se,tabIndex:-1,title:"Increase"})]})};W.states=Nm;W.options=hm;W.className=ca;W.defaultOptions=Fe;W.moduleName=qn;W.folderName=Gi;import{jsx as Vi}from"react/jsx-runtime";var $i="k-tick",Lm=[],vm={},Xi={label:!1},T=e=>{let{style:t,label:o=Xi.label,orientation:a,large:n,text:s,...d}=e;return Vi("li",{...d,role:"presentation",title:s||"Tick",className:i(e.className,$i,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Vi("span",{className:"k-label",children:s})})};T.states=Lm;T.options=vm;T.className=$i;T.defaultOptions=Xi;import{Fragment as Mm,jsx as Ue,jsxs as Sm}from"react/jsx-runtime";var Wi=e=>Ue(W,{"aria-label":e["aria-label"]||"Slider",children:Sm(Mm,{children:[Ue(T,{className:"k-first",label:!0,large:!0,text:"0"}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{label:!0,large:!0,text:"5"}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{}),Ue(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as km,jsx as Ge,jsxs as gm}from"react/jsx-runtime";var Ji=e=>Ge(W,{children:gm(km,{children:[Ge(T,{className:"k-first",label:!0,large:!0,text:"0"}),Ge(T,{}),Ge(T,{}),Ge(T,{}),Ge(T,{}),Ge(T,{label:!0,large:!0,text:"5"}),Ge(T,{}),Ge(T,{}),Ge(T,{}),Ge(T,{}),Ge(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as Zk,jsx as Yk,jsxs as Qk}from"react/jsx-runtime";import{Fragment as ag,jsx as og,jsxs as ng}from"react/jsx-runtime";import{jsx as Im}from"react/jsx-runtime";var Zn=e=>Im(W,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Cm}from"react/jsx-runtime";var Qn=e=>Cm(W,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as bg,jsx as fg,jsxs as xg}from"react/jsx-runtime";import{Fragment as Mg,jsx as vg,jsxs as Sg}from"react/jsx-runtime";import{jsx as lt,jsxs as qi}from"react/jsx-runtime";var Em=W.options,Tm=W.states,Yi={...W.defaultOptions,variant:"horizontal",label:!0},ym=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Om=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],co=e=>{let{variant:t,modifiers:o,...a}=e,n=Yi.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 d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?qi(Ji,{style:{height:"300px",...d},...a,...s,children:[lt(T,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),lt(T,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),lt(T,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),lt(T,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),lt(T,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):qi(Wi,{style:{width:"400px",...d},...a,...s,children:[lt(T,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),lt(T,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),lt(T,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),lt(T,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),lt(T,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};co.options=Em;co.states=Tm;co.variants=ym;co.defaultOptions=Yi;co.modifiers=Om;co.className=W.className;import{jsx as Zi,jsxs as Km}from"react/jsx-runtime";var Qi="k-spin-button",Rm=[],Pm={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},jn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=jn.increaseLabel,decreaseLabel:s=jn.decreaseLabel,...d}=e;return Km("span",{...d,className:i(Qi,e.className),children:[Zi(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Zi(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};dt.states=Rm;dt.options=Pm;dt.className=Qi;dt.defaultOptions=jn;dt.moduleName=null;dt.folderName=null;var ji="numeric-textbox",es="numerictextbox";import{Fragment as ts,jsx as xt,jsxs as er}from"react/jsx-runtime";var os="k-numerictextbox",wm=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],_m={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},za={showSpinButton:!0,showClearButton:!0,separators:!0},w=e=>{let{size:t,rounded:o,fillMode:a,separators:n=za.separators,showClearButton:s=za.showClearButton,showSpinButton:d=za.showSpinButton,prefix:m,suffix:b,value:N,placeholder:x,hover:h,focus:c,valid:v,invalid:L,required:S,loading:g,disabled:I,readonly:y,id:z,"aria-label":q,"aria-describedby":ee,...se}=e;return er(U,{...se,size:t,rounded:o,fillMode:a,hover:h,focus:c,valid:v,invalid:L,required:S,loading:g,disabled:I,readonly:y,className:i(e.className,os),children:[m&&er(ts,{children:[xt(fe,{children:m}),n&&xt(re,{})]}),xt(pe,{id:z,placeholder:x,value:N,role:"spinbutton",disabled:I,"aria-label":q,"aria-describedby":ee,"aria-invalid":L?"true":void 0}),xt(te,{valid:v,invalid:L,loading:g,disabled:I}),xt(ne,{loading:g,disabled:I}),s&&xt(de,{loading:g,disabled:I,readonly:y,value:N}),b&&er(ts,{children:[n&&xt(re,{}),xt(be,{children:b})]}),d&&xt(dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:I})]})};w.states=wm;w.options=_m;w.className=os;w.defaultOptions=za;w.moduleName=ji;w.folderName=es;var ua=w;import{jsx as Dm}from"react/jsx-runtime";var as=e=>Dm(ua,{...e});import or from"react";import{jsx as ns}from"react/jsx-runtime";var zm="k-list-group-sticky-header",tr=e=>ns("div",{className:i(zm,e.className),children:ns("div",{className:"k-list-header-text",children:e.children})});import{jsx as Fm}from"react/jsx-runtime";var Hm="k-no-data",Ha=e=>{let{live:t,...o}=e;return Fm("span",{...o,className:i(Hm,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Ut="list",uo=Ut;import{jsx as rs,jsxs as is}from"react/jsx-runtime";var ar="k-list",Um=[],Gm={size:[l.undefined,l.small,l.medium,l.large]},Vm={},_=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:d,customValue:m,noData:b,screenReaders:N,...x}=e,c=or.Children.toArray(a)[0],v=c?.props?.children?or.Children.count(c.props.children):or.Children.count(a);return is("div",{...x,className:i(e.className,ar,C(ar,{size:t}),{"k-virtual-list":o}),children:[d,s,m,n&&rs(tr,{children:n}),a||(b!==void 0?b:rs(Ha,{live:!0,children:"No data found."})),N&&a&&is(Ha,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};_.states=Um;_.options=Gm;_.className=ar;_.defaultOptions=Vm;_.moduleName=Ut;_.folderName=uo;import{jsx as Jm}from"react/jsx-runtime";var ss="k-list-container",$m=[],Xm={},Wm={},fo=e=>{let{...t}=e;return Jm("div",{...t,className:i(e.className,ss),children:e.children})};fo.states=$m;fo.options=Xm;fo.className=ss;fo.defaultOptions=Wm;fo.moduleName=Ut;fo.folderName=uo;var Gt="checkbox",bo=Gt;import{jsx as ls}from"react/jsx-runtime";var Fa="k-checkbox",qm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Ym={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Zm={},Ee=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:d,invalid:m,valid:b,required:N,size:x,rounded:h,wrapperRole:c,...v}=e;return ls("span",{className:"k-checkbox-wrap",role:c,children:ls("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:d||void 0,"aria-invalid":m?"true":void 0,className:i(e.className,Fa,C(Fa,{size:x,rounded:h}),E(Fa,{hover:n,focus:s,disabled:d,invalid:m,valid:b,indeterminate:a,checked:o}))})})};Ee.states=qm;Ee.options=Ym;Ee.className=Fa;Ee.defaultOptions=Zm;Ee.moduleName=Gt;Ee.folderName=bo;var tt=Ee;import{jsx as ec}from"react/jsx-runtime";var ds="k-checkbox-list",Qm=[],jm={},ps={layout:"vertical"},Se=e=>{let{layout:t=ps.layout,...o}=e;return ec("ul",{...o,className:i(e.className,ds,{[`k-list-${t}`]:t}),children:e.children})};Se.states=Qm;Se.options=jm;Se.className=ds;Se.defaultOptions=ps;Se.moduleName=Gt;Se.folderName=bo;import{jsx as nc}from"react/jsx-runtime";var ms="k-checkbox-list-item",tc=[],oc={},ac={},ke=e=>{let{...t}=e;return nc("li",{...t,className:i(e.className,ms),children:e.children})};ke.states=tc;ke.options=oc;ke.className=ms;ke.defaultOptions=ac;ke.moduleName=Gt;ke.folderName=bo;import{Fragment as rc,jsx as cs,jsxs as ic}from"react/jsx-runtime";var Ve=({children:e="Label",id:t="cb-label-after",...o})=>ic(rc,{children:[cs(tt,{id:t,...o}),cs("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as XI,jsx as $I,jsxs as WI}from"react/jsx-runtime";import{Fragment as QI,jsx as ZI,jsxs as jI}from"react/jsx-runtime";import{Fragment as nC,jsx as aC,jsxs as rC}from"react/jsx-runtime";import{jsx as dC}from"react/jsx-runtime";import{jsx as uC}from"react/jsx-runtime";import{jsx as NC}from"react/jsx-runtime";import{jsx as $e,jsxs as us}from"react/jsx-runtime";var sc=Se.options,lc=Se.states,dc={...Se.defaultOptions,variant:"vertical"},pc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],mc=[],xo=e=>{let{variant:t,...o}=e;return t==="horizontal"?us(Se,{layout:"horizontal",...o,children:[$e(ke,{children:$e(Ve,{id:A("cb"),defaultChecked:!0,children:"Label"})}),$e(ke,{children:$e(Ve,{id:A("cb"),children:"Label"})}),$e(ke,{children:$e(Ve,{id:A("cb"),children:"Label"})})]}):us(Se,{...o,children:[$e(ke,{children:$e(Ve,{id:A("cb"),defaultChecked:!0,children:"Label"})}),$e(ke,{children:$e(Ve,{id:A("cb"),children:"Label"})}),$e(ke,{children:$e(Ve,{id:A("cb"),children:"Label"})})]})};xo.options=sc;xo.states=lc;xo.variants=pc;xo.defaultOptions=dc;xo.modifiers=mc;xo.className=Se.className;import{jsx as Nc}from"react/jsx-runtime";var cc=tt.options,uc=tt.states,fc=tt.defaultOptions,bc=[],xc=[],No=e=>Nc(Ve,{id:A("checkbox"),...e,defaultChecked:!0,children:"Label"});No.options=cc;No.states=uc;No.variants=bc;No.defaultOptions=fc;No.modifiers=xc;No.className=tt.className;import{jsx as Vt,jsxs as Mc}from"react/jsx-runtime";var nr="k-list-item",hc=[r.hover,r.focus,r.selected,r.disabled],Lc={},vc={},B=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:s,showCheckbox:d,checked:m,hover:b,focus:N,selected:x,disabled:h,actions:c,description:v,id:L,...S}=e,g=t||e.children,I=t||(typeof g=="string"?g:void 0);return Mc("li",{...S,id:L,role:a?"presentation":"option",tabIndex:a?void 0:N?0:-1,"aria-selected":!a&&x?"true":a?void 0:"false","aria-disabled":!a&&h?"true":void 0,className:i(e.className,a?"k-list-group-item":nr,E(nr,{hover:b,focus:N,disabled:h,selected:x})),children:[d&&Vt(Ee,{checked:m,disabled:h,"aria-label":I,tabIndex:-1}),n&&Vt("span",{className:"k-list-item-icon-wrapper",children:Vt(k,{icon:n,className:i("k-list-item-icon",s)})}),Vt("span",{className:"k-list-item-text",children:g}),c&&Vt("div",{className:"k-list-item-actions",children:c}),v&&Vt("span",{className:"k-list-item-description",children:v}),o&&o!==""&&Vt("div",{className:"k-list-item-group-label",children:o})]})};B.states=hc;B.options=Lc;B.className=nr;B.defaultOptions=vc;B.moduleName=Ut;B.folderName=uo;import{jsx as kc}from"react/jsx-runtime";var Sc="k-list-ul",yt=e=>{let{children:t,role:o,id:a,...n}=e;return kc("ul",{...n,id:a,role:o,className:i(Sc,e.className),children:t})};import{jsx as rr,jsxs as Ic}from"react/jsx-runtime";var gc="k-list-content",G=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...d}=e;return Ic("div",{...d,className:i(gc,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:rr(yt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&rr("div",{className:"k-height-container",children:rr("div",{})})]})};import{jsx as ir,jsxs as yc}from"react/jsx-runtime";var Ua="k-list-sticky-header",Cc=[r.hover,r.focus,r.selected],Ec={},Tc={},Ga=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:d,selected:m,...b}=e;return ir("div",{...b,className:i(Ua,e.className),children:yc("div",{className:i(`${Ua}-item`,E(`${Ua}-item`,{hover:s,focus:d,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&ir(Ee,{checked:a,indeterminate:n,"aria-label":t}),ir("span",{className:"k-list-item-text",children:t})]})})};Ga.states=Cc;Ga.options=Ec;Ga.className=Ua;Ga.defaultOptions=Tc;import{Fragment as mE,jsx as pE,jsxs as cE}from"react/jsx-runtime";import{jsx as NE,jsxs as hE}from"react/jsx-runtime";import{jsx as Rc}from"react/jsx-runtime";var sr="k-list-optionlabel",Oc=[r.hover,r.focus,r.selected,r.disabled],Ac={},Bc={},Va=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...d}=e;return Rc("div",{...d,className:i(sr,E(sr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};Va.states=Oc;Va.options=Ac;Va.className=sr;Va.defaultOptions=Bc;import{jsx as _c}from"react/jsx-runtime";var lr="k-list-custom-value",Pc=[r.hover,r.focus,r.selected,r.disabled],Kc={},wc={},Ot=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...d}=e;return _c("div",{...d,className:i(lr,E(lr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};Ot.states=Pc;Ot.options=Kc;Ot.className=lr;Ot.defaultOptions=wc;import{Fragment as OE,jsx as yE,jsxs as AE}from"react/jsx-runtime";import{Fragment as _E,jsx as wE,jsxs as DE}from"react/jsx-runtime";import{Fragment as $E,jsx as GE,jsxs as VE}from"react/jsx-runtime";import{Fragment as QE,jsx as YE,jsxs as ZE}from"react/jsx-runtime";import{jsx as oT}from"react/jsx-runtime";import{Fragment as lT,jsx as sT,jsxs as dT}from"react/jsx-runtime";import{Fragment as bT,jsx as fT,jsxs as xT}from"react/jsx-runtime";var fs="dropdown-list",bs="dropdownlist";import{Fragment as Hc,jsx as ge,jsxs as dr}from"react/jsx-runtime";var xs="k-dropdownlist",Dc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],zc={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},pr={showValue:!0,arrowIconName:"chevron-down"},R=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=pr.arrowIconName,showValue:s=pr.showValue,valueIconName:d,prefix:m,suffix:b,value:N,placeholder:x,hover:h,focus:c,valid:v,invalid:L,required:S,loading:g,disabled:I,readonly:y,popup:z,opened:q,adaptive:ee,adaptiveSettings:se,adaptiveTitle:le,adaptiveSubtitle:zt,adaptiveFilter:mn,id:St,activeDescendant:Ea,"aria-label":cn,...un}=e,id=St?`${St}-listbox`:void 0,Yr=St?`${St}-value`:void 0;return dr(Hc,{children:[dr(nt,{...un,id:St,size:t,rounded:o,fillMode:a,hover:h,focus:c,valid:v,invalid:L,required:S,loading:g,disabled:I,readonly:y,className:i(e.className,xs,{"k-icon-picker":!s&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":q?"true":"false","aria-controls":q?id:void 0,"aria-activedescendant":q&&Ea?Ea:void 0,"aria-describedby":q?Yr:void 0,"aria-disabled":I?"true":void 0,"aria-label":cn,tabIndex:0,children:[ge(fe,{children:m}),ge(Ft,{placeholder:x,value:N,showValue:s,valueIconName:d,id:Yr}),ge(te,{valid:v,invalid:L,loading:g,disabled:I}),ge(ne,{loading:g,disabled:I}),ge(be,{children:b}),ge(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),q&&z&&ge(X,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:z}),ee&&ge(Y,{adaptive:!0,...se,header:ge(Me,{actionsEnd:ge(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:mn,inputValue:N,inputPlaceholder:x,title:le,subtitle:zt}),children:ge("div",{className:"k-list-container",children:ge(_,{size:"large",children:dr(G,{"aria-label":"Options",children:[ge(B,{text:"List item"}),ge(B,{text:"List item"}),ge(B,{text:"List item"})]})})})})]})};R.states=Dc;R.options=zc;R.className=xs;R.defaultOptions=pr;R.moduleName=fs;R.folderName=bs;import{jsx as ZT}from"react/jsx-runtime";import{jsx as ay,jsxs as ny}from"react/jsx-runtime";import{Fragment as uy,jsx as my,jsxs as cy}from"react/jsx-runtime";import{jsx as hy}from"react/jsx-runtime";import{jsx as gy,jsxs as Iy}from"react/jsx-runtime";import{Fragment as Py,jsx as By,jsxs as Ry}from"react/jsx-runtime";import{jsx as zy}from"react/jsx-runtime";import{Fragment as Xc,jsx as At,jsxs as Ns}from"react/jsx-runtime";var Fc=R.states,Uc=R.defaultOptions,Gc=R.options,Vc=[{name:"opened",title:"Opened"}],$c=[],Lo=e=>{let{modifiers:t,...o}=e,a={},n=Ns(Xc,{children:[At("div",{className:"k-list-filter",children:At(He,{})}),At(_,{style:{width:300},size:o.size,children:Ns(G,{children:[At(B,{children:"List item"}),At(B,{children:"List item"}),At(B,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),At("div",{children:At(R,{placeholder:"Value",style:{width:300},...o,...a})})};Lo.options=Gc;Lo.states=Fc;Lo.variants=$c;Lo.defaultOptions=Uc;Lo.modifiers=Vc;Lo.className=R.className;import{Fragment as sO,jsx as iO}from"react/jsx-runtime";import{Fragment as uO,jsx as cO}from"react/jsx-runtime";import{jsx as NO}from"react/jsx-runtime";import{jsx as mr}from"react/jsx-runtime";var Wc=w.states,Jc=w.defaultOptions,qc=w.options,Yc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Zc=[],vo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?mr(R,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?mr(yn,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),mr(as,{value:"Value",style:{width:300},...o,...a})};vo.options=qc;vo.states=Wc;vo.variants=Zc;vo.defaultOptions=Jc;vo.modifiers=Yc;vo.className=w.className;import{Fragment as ba,jsx as P,jsxs as Z}from"react/jsx-runtime";var hs="k-colorgradient-inputs",Qc=[],jc={size:[l.undefined,l.small,l.medium,l.large]},Ls={mode:"rgba"},Mo=e=>{let{mode:t=Ls.mode,size:o,...a}=e;return Z("div",{...a,className:i(hs,"k-hstack"),children:[P("div",{className:"k-vstack",children:P(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&Z(ba,{children:[Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),P("label",{className:"k-colorgradient-input-label",children:"R"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),P("label",{className:"k-colorgradient-input-label",children:"G"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),P("label",{className:"k-colorgradient-input-label",children:"B"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),P("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Z(ba,{children:[Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),P("label",{className:"k-colorgradient-input-label",children:"R"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),P("label",{className:"k-colorgradient-input-label",children:"G"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),P("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Z(ba,{children:[Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),P("label",{className:"k-colorgradient-input-label",children:"H"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),P("label",{className:"k-colorgradient-input-label",children:"S"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),P("label",{className:"k-colorgradient-input-label",children:"V"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),P("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Z(ba,{children:[Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),P("label",{className:"k-colorgradient-input-label",children:"H"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),P("label",{className:"k-colorgradient-input-label",children:"S"})]}),Z("div",{className:"k-vstack",children:[P(w,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),P("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&P(ba,{children:Z("div",{className:"k-vstack k-flex-1",children:[P(H,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),P("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Mo.states=Qc;Mo.options=jc;Mo.className=hs;Mo.defaultOptions=Ls;import{jsx as $t,jsxs as Xt}from"react/jsx-runtime";var vs="k-colorgradient-color-contrast",eu=[],tu={},ou={},So=()=>Xt("div",{className:i(vs,"k-vbox"),children:[Xt("div",{className:"k-contrast-ratio",children:[$t("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Xt("span",{className:"k-contrast-validation !k-text-success",children:[$t(k,{icon:"check"}),$t(k,{icon:"check"})]})]}),Xt("div",{children:[$t("span",{children:"AA: 4.5"}),Xt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",$t(k,{icon:"check"})]})]}),Xt("div",{children:[$t("span",{children:"AAA: 7.0"}),Xt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",$t(k,{icon:"x"})]})]})]});So.states=eu;So.options=tu;So.className=vs;So.defaultOptions=ou;var Ms="color-gradient",Ss="colorgradient";import{jsx as Xe,jsxs as xa}from"react/jsx-runtime";var $a="k-colorgradient",au=[r.hover,r.focus,r.readonly,r.disabled],nu={size:[l.undefined,l.small,l.medium,l.large]},pt={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"},ce=e=>{let{size:t,mode:o=pt.mode,readonly:a=pt.readonly,disabled:n=pt.disabled,gradientStyle:s=pt.gradientStyle,dragHandleStyle:d=pt.dragHandleStyle,alphaStyle:m=pt.alphaStyle,alphaStyleHorizontal:b=pt.alphaStyleHorizontal,contrast:N=pt.contrast,dir:x,hover:h,focus:c,hoverHandle:v,focusHandle:L,canvasOrientation:S=pt.canvasOrientation,role:g,tabIndex:I,...y}=e;return xa("div",{...y,role:g??"textbox","aria-label":g==="none"?void 0:"Color gradient",tabIndex:I??0,"aria-disabled":n?"true":void 0,className:i(e.className,$a,C($a,{size:t}),E($a,{hover:h,focus:c,readonly:a,disabled:n})),dir:x,children:[!S||S==="horizontal"&&xa("div",{className:"k-colorgradient-canvas k-hstack",children:[Xe("div",{className:"k-hsv-rectangle",style:s,children:Xe("div",{className:"k-hsv-gradient",children:Xe("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":L}),style:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),xa("div",{className:"k-hsv-controls k-hstack",children:[Xe(Qn,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&Xe(Qn,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:m})]})]}),S==="vertical"&&xa("div",{className:"k-colorgradient-canvas k-vstack",children:[Xe("div",{className:"k-hsv-rectangle",style:s,children:Xe("div",{className:"k-hsv-gradient",children:Xe("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":L}),style:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),xa("div",{className:"k-hsv-controls k-vstack",children:[Xe(Zn,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&Xe(Zn,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:b})]})]}),Xe(Mo,{mode:e.mode,size:t}),N&&Xe(So,{})]})};ce.states=au;ce.options=nu;ce.className=$a;ce.defaultOptions=pt;ce.moduleName=Ms;ce.folderName=Ss;import{jsx as ru}from"react/jsx-runtime";var Xa=e=>ru(ce,{...e});import{jsx as oA}from"react/jsx-runtime";import{jsx as iA}from"react/jsx-runtime";import{jsx as cr}from"react/jsx-runtime";var iu=ce.options,su=ce.states,lu={...ce.defaultOptions,variant:"rgba"},du=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],pu=[],ko=e=>{let{variant:t,...o}=e;switch(t){case"hex":return cr(Xa,{...o,mode:t});case"rgb":return cr(Xa,{...o,mode:t});default:return cr(Xa,{...o,mode:t})}};ko.options=iu;ko.states=su;ko.variants=du;ko.defaultOptions=lu;ko.modifiers=pu;ko.className=ce.className;import{jsx as mu}from"react/jsx-runtime";var ur=e=>mu("tr",{role:"row",children:e.children});import{jsx as fu}from"react/jsx-runtime";var fr="k-colorpalette-tile",cu=[r.hover,r.focus,r.selected],uu={},Bt=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...d}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return fu("td",{...d,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:i(e.className,fr,E(fr,{hover:a,focus:n,selected:s})),style:m})};Bt.states=cu;Bt.options=uu;Bt.className=fr;Bt.moduleName=null;Bt.folderName=null;var ks="color-palette",gs="colorpalette";import{jsx as Na}from"react/jsx-runtime";var Wa="k-colorpalette",bu=[r.disabled],xu={size:[l.undefined,l.small,l.medium,l.large]},Is={columns:10},Te=e=>{let{size:t,palette:o,columns:a=Is.columns,tileSize:n,disabled:s,...d}=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,h)=>{let c=[];N.slice(h*b,(h+1)*b).map((L,S)=>{c.push(Na(Bt,{color:L,tileSize:n},S))});let v=Na(ur,{children:c},h);m.push(v)})}return Na("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:i(e.className,Wa,E(Wa,{disabled:s}),C(Wa,{size:t})),children:Na("table",{className:"k-colorpalette-table",role:"none",children:Na("tbody",{children:m.length>0?m:e.children})})})};Te.states=bu;Te.options=xu;Te.className=Wa;Te.defaultOptions=Is;Te.moduleName=ks;Te.folderName=gs;var Ja=Te;var ha={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 Nu}from"react/jsx-runtime";var Cs=e=>Nu(Ja,{palette:ha.basic,...e});import{jsx as FA}from"react/jsx-runtime";import{jsx as WA,jsxs as JA}from"react/jsx-runtime";import{jsx as gu}from"react/jsx-runtime";var hu=Te.options,Lu=Te.states,vu={...Te.defaultOptions,variant:"basic"},Mu=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Su={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}},ku=[],go=e=>{let{variant:t="basic",...o}=e,a=Su[t];return gu(Cs,{columns:a.columns,palette:a,...o})};go.options=hu;go.states=Lu;go.variants=Mu;go.defaultOptions=vu;go.modifiers=ku;go.className=Te.className;var Es="color-editor",Ts="coloreditor";import{jsx as We,jsxs as Io}from"react/jsx-runtime";var qa="k-coloreditor",Iu=[r.focus],Cu={size:[l.undefined,l.small,l.medium,l.large]},La={view:"gradient",palette:ha.office,actionButtons:!0,canvasOrientation:"horizontal"},Q=e=>{let{size:t,view:o=La.view,palette:a=La.palette,color:n,currentColor:s,focus:d,focusView:m,dir:b,group:N,actionButtons:x=La.actionButtons,canvasOrientation:h=La.canvasOrientation,...c}=e;return Io("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:i(e.className,"k-flatcolorpicker",qa,C(qa,{size:t}),E(qa,{focus:d})),dir:b,children:[Io("div",{className:"k-coloreditor-header k-hstack",children:[We("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Io(O,{fillMode:"flat",children:[We(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),We(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),We("div",{className:"k-spacer"}),Io("div",{className:"k-coloreditor-header-actions k-hstack",children:[We(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Io("div",{className:"k-coloreditor-preview k-vstack",children:[We(kt,{className:"k-coloreditor-preview-color",color:n}),We(kt,{className:"k-coloreditor-current-color",color:s})]})]})]}),We("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?We(ce,{focus:m,size:t,canvasOrientation:h,role:"none",tabIndex:-1}):We(Te,{palette:a,size:t})}),x&&Io(st,{className:"k-coloreditor-footer",alignment:"start",children:[We(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),We(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Q.states=Iu;Q.options=Cu;Q.className=qa;Q.defaultOptions=La;Q.moduleName=Es;Q.folderName=Ts;var Co=Q;import{jsx as kB}from"react/jsx-runtime";import{jsx as EB}from"react/jsx-runtime";import{jsx as Eu}from"react/jsx-runtime";var ys=e=>Eu(Co,{group:!0,currentColor:"fuchsia",...e});import{jsx as Tu}from"react/jsx-runtime";var Os=e=>Tu(Co,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as As}from"react/jsx-runtime";var yu=Q.options,Ou=Q.states,Au={...Q.defaultOptions,variant:"gradient"},Bu=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Ru=[],Eo=e=>{let{variant:t,...o}=e;return t==="palette"?As(Os,{...o,color:"white"}):As(ys,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Eo.options=yu;Eo.states=Ou;Eo.variants=Bu;Eo.defaultOptions=Au;Eo.modifiers=Ru;Eo.className=Q.className;var Bs="color-picker",Rs="colorpicker";import{Fragment as wu,jsx as Je,jsxs as br}from"react/jsx-runtime";var Ps="k-colorpicker",Pu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Ku={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Ks={arrowIconName:"chevron-down"},qe=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Ks.arrowIconName,prefix:s,suffix:d,value:m,placeholder:b,hover:N,focus:x,valid:h,invalid:c,required:v,disabled:L,valueIconName:S,popup:g,opened:I,adaptive:y,adaptiveSettings:z,adaptiveTitle:q,adaptiveSubtitle:ee,...se}=e,le="colorpicker-popup";return br(wu,{children:[br(nt,{...se,size:t,rounded:o,fillMode:a,hover:N,focus:x,valid:h,invalid:c,required:v,disabled:L,role:"combobox","aria-haspopup":"dialog","aria-expanded":I?"true":"false","aria-controls":I||y?le:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":L?"true":void 0,className:i(e.className,Ps,"k-icon-picker"),children:[Je(fe,{children:s}),Je(Ft,{placeholder:b,value:m,showValue:!1,valueIcon:Je(kt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),Je(be,{children:d}),Je(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:L})]}),I&&g&&Je(X,{id:le,className:"k-colorpicker-popup",children:g}),y&&Je(Y,{adaptive:!0,id:le,...z,header:Je(Me,{actionsEnd:Je(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:q,subtitle:ee}),footer:br(gt,{children:[Je(p,{text:"Cancel",size:"large"}),Je(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:Je(Q,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};qe.states=Pu;qe.options=Ku;qe.className=Ps;qe.defaultOptions=Ks;qe.moduleName=Bs;qe.folderName=Rs;var Nt=qe;import{jsx as _u}from"react/jsx-runtime";var va=e=>_u(Nt,{...e});import{jsx as pR}from"react/jsx-runtime";import{jsx as bR}from"react/jsx-runtime";import{jsx as LR}from"react/jsx-runtime";import{jsx as kR}from"react/jsx-runtime";import{jsx as ER}from"react/jsx-runtime";import{jsx as AR}from"react/jsx-runtime";import{jsx as Wt}from"react/jsx-runtime";var Du=Nt.options,zu=Nt.states,ws={...Nt.defaultOptions,variant:"color"},Hu=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Fu=[{name:"opened",title:"Opened"}],To=e=>{let{variant:t,modifiers:o,...a}={...ws,...e},n={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(n.opened=!!o?.[d],n.popup=o?.[d]?Wt(Q,{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 Wt("div",{style:s,children:Wt(va,{...a,...n})});case"icon":return Wt("div",{style:s,children:Wt(va,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return Wt("div",{style:s,children:Wt(va,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};To.options=Du;To.states=zu;To.variants=Hu;To.defaultOptions=ws;To.modifiers=Fu;To.className=Nt.className;var xr="combobox",_s=xr;import{Fragment as Nr,jsx as oe,jsxs as Ma}from"react/jsx-runtime";var Ds="k-combobox",Uu=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Gu={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},zs={separators:!0},Ie=e=>{let{size:t,rounded:o,fillMode:a,separators:n=zs.separators,prefix:s,suffix:d,value:m,placeholder:b,hover:N,focus:x,valid:h,invalid:c,required:v,loading:L,disabled:S,popup:g,opened:I,readonly:y,adaptive:z,adaptiveSettings:q,adaptiveTitle:ee,adaptiveSubtitle:se,adaptiveCustomValue:le,id:zt,autocomplete:mn,activeDescendant:St,"aria-label":Ea,...cn}=e,un=zt?`${zt}-listbox`:void 0;return Ma(Nr,{children:[Ma(U,{...cn,size:t,rounded:o,fillMode:a,hover:N,focus:x,valid:h,invalid:c,required:v,loading:L,disabled:S,readonly:y,className:i(e.className,Ds),children:[s&&Ma(Nr,{children:[oe(fe,{children:s}),n&&oe(re,{})]}),oe(pe,{id:zt,placeholder:b,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":I?"true":"false","aria-controls":I?un:void 0,"aria-activedescendant":I&&St?St:void 0,"aria-autocomplete":mn,"aria-invalid":c?"true":void 0,"aria-busy":L?"true":void 0,"aria-label":Ea,disabled:S,readOnly:y}),oe(te,{valid:h,invalid:c,loading:L,disabled:S}),oe(ne,{loading:L,disabled:S}),oe(de,{loading:L,disabled:S,readonly:y,value:m}),d&&Ma(Nr,{children:[n&&oe(re,{}),oe(be,{children:d})]}),oe(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),I&&g&&oe(X,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:g}),z&&oe(Y,{adaptive:!0,id:zt?`${zt}-adaptive`:void 0,...q,header:oe(Me,{actionsEnd:oe(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:b,title:ee,subtitle:se}),children:oe("div",{className:"k-list-container",children:oe(_,{customValue:le?oe(Ot,{text:`Use "${m}"`}):void 0,size:"large",children:Ma(G,{"aria-label":ee||"Options",children:[oe(B,{text:"List item"}),oe(B,{text:"List item"}),oe(B,{text:"List item"})]})})})})]})};Ie.states=Uu;Ie.options=Gu;Ie.className=Ds;Ie.defaultOptions=zs;Ie.moduleName=xr;Ie.folderName=_s;var Re=Ie;import{jsx as Vu}from"react/jsx-runtime";var Hs=e=>Vu(Re,{...e});import{jsx as uP,jsxs as fP}from"react/jsx-runtime";import{jsx as vP,jsxs as MP}from"react/jsx-runtime";import{jsx as EP,jsxs as TP}from"react/jsx-runtime";import{Fragment as PP,jsx as RP}from"react/jsx-runtime";import{Fragment as HP,jsx as zP}from"react/jsx-runtime";import{jsx as XP,jsxs as WP}from"react/jsx-runtime";import{Fragment as tK,jsx as jP,jsxs as eK}from"react/jsx-runtime";import{jsx as rK}from"react/jsx-runtime";import{jsx as dK}from"react/jsx-runtime";import{jsx as bK,jsxs as xK}from"react/jsx-runtime";import{jsx as SK,jsxs as kK}from"react/jsx-runtime";import{jsx as Rt,jsxs as Yu}from"react/jsx-runtime";var $u=Ie.states,Xu=Ie.defaultOptions,Wu=Ie.options,Ju=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],qu=[],yo=e=>{let{modifiers:t,...o}=e,a={},n=Rt(_,{style:{width:300},size:o.size,children:Yu(G,{children:[Rt(B,{children:"List item"}),Rt(B,{children:"List item"}),Rt(B,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Rt(k,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Rt(ft,{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}}),Rt("div",{children:Rt(Hs,{value:"Value",style:{width:300},...o,...a})})};yo.options=Wu;yo.states=$u;yo.variants=qu;yo.defaultOptions=Xu;yo.modifiers=Ju;yo.className=Ie.className;var hr="menu-button",Fs=hr;import{jsx as ju}from"react/jsx-runtime";var Us="k-menu-button",Zu=[r.hover,r.focus,r.active,r.selected,r.disabled],Qu={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info,M.inverse]},Lr={showArrow:!0,arrowIconName:"chevron-down"},V=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:m,selected:b,disabled:N,icon:x,text:h,showArrow:c=Lr.showArrow,arrowIconName:v=Lr.arrowIconName,expanded:L,...S}=e;return ju(p,{...S,className:i(e.className,Us),text:h,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:m,selected:b,disabled:N,ariaDisabled:N||void 0,icon:x,showArrow:c,arrowIconName:v,"aria-expanded":L?"true":"false",...!h&&x&&!e["aria-label"]&&{"aria-label":"Menu"}})};V.states=Zu;V.options=Qu;V.className=Us;V.defaultOptions=Lr;V.moduleName=hr;V.folderName=Fs;import{jsx as ow}from"react/jsx-runtime";import{jsx as iw}from"react/jsx-runtime";import{jsx as pw}from"react/jsx-runtime";var Pe="menu",Ye=Pe;import{jsx as Sa,jsxs as Gs}from"react/jsx-runtime";var vr="k-menu-item",ef=[r.hover,r.focus,r.active,r.selected,r.disabled],tf={},Vs={iconPosition:"before"},xe=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:d,text:m,first:b,last:N,showArrow:x,arrowIconName:h,iconPosition:c=Vs.iconPosition,dir:v,children:L,expanded:S,...g}=e,I=h;return I||(I=v==="rtl"?"chevron-left":"chevron-right"),Gs("li",{...g,className:i(e.className,vr,"k-item",E(vr,{focus:o,disabled:s,hover:t,active:a,selected:n}),{"k-first":b,"k-last":N}),role:"menuitem",...x&&{"aria-haspopup":"menu"},...x&&{"aria-expanded":S?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Gs("span",{className:i("k-link k-menu-link"),children:[d&&c==="before"&&Sa(k,{className:"k-menu-link-icon",icon:d}),Sa("span",{className:"k-menu-link-text",children:m}),d&&c==="after"&&Sa(k,{className:"k-menu-link-icon",icon:d}),x&&Sa("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Sa(k,{icon:I})})]}),L]})};xe.states=ef;xe.options=tf;xe.className=vr;xe.defaultOptions=Vs;xe.moduleName=Pe;xe.folderName=Ye;import{jsx as ka,jsxs as $s}from"react/jsx-runtime";var Mr="k-menu-item",of=[r.hover,r.focus,r.active,r.selected,r.disabled],af={},Sr={dir:"ltr",iconPosition:"before"},J=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:d,text:m,first:b,last:N,showArrow:x,arrowIconName:h,iconPosition:c=Sr.iconPosition,dir:v=Sr.dir,children:L,popup:S,expanded:g,...I}=e,y=h;return y||(y=v==="rtl"?"chevron-left":"chevron-right"),$s("li",{role:"menuitem",...I,className:i(e.className,Mr,"k-item",E(Mr,{focus:o,disabled:s}),{"k-first":b,"k-last":N}),...x&&{"aria-haspopup":"menu"},...x&&{"aria-expanded":g?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[$s("span",{className:i("k-link k-menu-link",E("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[d&&c==="before"&&ka(k,{className:"k-menu-link-icon",icon:d}),ka("span",{className:"k-menu-link-text",children:m}),d&&c==="after"&&ka(k,{className:"k-menu-link-icon",icon:d}),x&&ka("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ka(k,{icon:y})})]}),L,S]})};J.states=of;J.options=af;J.className=Mr;J.defaultOptions=Sr;J.moduleName=Pe;J.folderName=Ye;import{jsx as lf}from"react/jsx-runtime";var Xs="k-menu-scroll-wrapper",nf=[],rf={},sf={},Jt=e=>{let{className:t,children:o,orientation:a,...n}=e;return lf("div",{...n,className:i(t,Xs,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Jt.states=nf;Jt.options=rf;Jt.className=Xs;Jt.defaultOptions=sf;Jt.moduleName=Pe;Jt.folderName=Ye;var Ws=Jt;import{Fragment as kr,jsx as qt,jsxs as Za}from"react/jsx-runtime";var gr="k-menu",df=[],pf={},Qa={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ue=e=>{let{children:t,orientation:o=Qa.orientation,header:a=Qa.header,scrollable:n,scrollButtonsPosition:s=Qa.scrollButtonsPosition,wrapperStyles:d,dir:m,popup:b,contextMenu:N,...x}=e,h={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},c=qt("ul",{dir:m,...x,className:i(e.className,"k-reset",gr,{[`${gr}-${o}`]:o,"k-header":a}),role:N?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Za(kr,{children:[n?Za(Ws,{orientation:o,style:d,dir:e.dir,children:[s==="start"&&Za(kr,{children:[qt(p,{fillMode:"flat",icon:`chevron-${h[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),qt(p,{fillMode:"flat",icon:`chevron-${h[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&qt(p,{fillMode:"flat",icon:`chevron-${h[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),c,s==="end"&&Za(kr,{children:[qt(p,{fillMode:"flat",icon:`chevron-${h[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),qt(p,{fillMode:"flat",icon:`chevron-${h[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&qt(p,{fillMode:"flat",icon:`chevron-${h[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):c,b]})};ue.states=df;ue.options=pf;ue.className=gr;ue.defaultOptions=Qa;ue.moduleName=Pe;ue.folderName=Ye;import{jsx as mf}from"react/jsx-runtime";var Ir="k-separator",Js={orientation:"horizontal"},Oo=e=>{let{orientation:t=Js.orientation,...o}=e;return mf("li",{...o,className:i(e.className,"k-item",Ir,{[`${Ir}-${t}`]:t}),role:"separator"})};Oo.className=Ir;Oo.defaultOptions=Js;Oo.moduleName=Pe;Oo.folderName=Ye;import{Fragment as zw,jsx as Hw}from"react/jsx-runtime";import{jsx as bf}from"react/jsx-runtime";var Cr="k-menu-group",cf=[],uf={size:[l.undefined,l.small,l.medium,l.large]},ff={},Ne=e=>{let{children:t,size:o,...a}=e;return bf("ul",{role:"menu",...a,className:i(e.className,Cr,C(Cr,{size:o})),children:t})};Ne.states=cf;Ne.options=uf;Ne.className=Cr;Ne.defaultOptions=ff;Ne.moduleName=Pe;Ne.folderName=Ye;import{Fragment as xf,jsx as Ao,jsxs as Nf}from"react/jsx-runtime";var Er=e=>Ao(ue,{children:Nf(xf,{children:[Ao(xe,{first:!0,text:"Item 1"}),Ao(xe,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Ao(xe,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Ao(xe,{text:"Item 4"}),Ao(xe,{last:!0,text:"Item 5"})]}),...e});import{Fragment as e0,jsx as Qw,jsxs as jw}from"react/jsx-runtime";import{Fragment as r0,jsx as n0,jsxs as i0}from"react/jsx-runtime";import{Fragment as m0,jsx as p0,jsxs as c0}from"react/jsx-runtime";import{Fragment as N0,jsx as x0,jsxs as h0}from"react/jsx-runtime";import{jsx as Yt,jsxs as Sf}from"react/jsx-runtime";var hf={...ue.options,scrollable:{type:"boolean"}},Lf=ue.states,qs={...ue.defaultOptions,variant:"horizontal"},vf=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Mf=[{name:"opened",title:"Opened"}],Bo=e=>{let{variant:t,modifiers:o,...a}={...qs,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(d=>{d==="opened"&&(n.opened=!!o?.[d],n.popup=o?.[d]?Yt(X,{className:"k-menu-popup",offset:s,children:Sf(Ne,{children:[Yt(J,{text:"Item 1"}),Yt(J,{text:"Item 2"}),Yt(Oo,{}),Yt(J,{text:"Item 3"})]})}):null)}),t==="vertical"?Yt(Er,{...a,...n,orientation:"vertical",style:{width:"200px"}}):Yt(Er,{...a,...n})};Bo.options=hf;Bo.states=Lf;Bo.variants=vf;Bo.defaultOptions=qs;Bo.modifiers=Mf;Bo.className=ue.className;import{Fragment as Y0,jsx as J0,jsxs as q0}from"react/jsx-runtime";import{jsx as e_}from"react/jsx-runtime";import{Fragment as Ef,jsx as mt,jsxs as Ys}from"react/jsx-runtime";var kf=p.states,Zs={...p.defaultOptions,variant:"text"},gf=p.options,If=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Cf=[{name:"opened",title:"Opened"}],Ro=e=>{let{variant:t,modifiers:o,...a}={...Zs,...e},n={},s=mt(X,{className:"k-menu-popup",children:Ys(Ne,{size:a.size,children:[mt(J,{first:!0,text:"Menu Item"}),mt(J,{text:"Menu Item"}),mt(J,{last:!0,text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=mt("div",{children:mt(V,{...a,...n,icon:"star"})});break;case"icon-and-text":d=mt("div",{children:mt(V,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:d=mt("div",{children:mt(V,{...a,...n,children:"Dropdown Button"})});break}return Ys(Ef,{children:[d,o?.opened&&s]})};Ro.options=gf;Ro.states=kf;Ro.variants=If;Ro.defaultOptions=Zs;Ro.modifiers=Cf;Ro.className=V.className;var Tr="split-button",Qs=Tr;import{Fragment as Of,jsx as yr,jsxs as js}from"react/jsx-runtime";var Or="k-split-button",Tf=[r.hover,r.focus,r.active,r.selected,r.disabled],yf={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[M.undefined,M.base,M.primary,M.secondary,M.tertiary,M.success,M.warning,M.error,M.info,M.inverse]},el={arrowIconName:"chevron-down"},K=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:m,selected:b,disabled:N,icon:x,text:h,arrowIconName:c=el.arrowIconName,popup:v,opened:L,popupId:S,...g}=e;return js(Of,{children:[js("div",{...g,className:i(e.className,Or,"k-button-group",C(Or,{rounded:o})),children:[yr(p,{text:h,icon:x,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:m,selected:b,disabled:N,...!h&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),yr(p,{className:"k-split-button-arrow",icon:c,size:t,rounded:o,fillMode:a,disabled:N,ariaDisabled:N||void 0,"aria-label":"Toggle dropdown","aria-expanded":L?"true":"false","aria-controls":L?S:void 0,tabIndex:-1})]}),L&&v&&yr(X,{className:"k-menu-popup",children:v})]})};K.states=Tf;K.options=yf;K.className=Or;K.defaultOptions=el;K.moduleName=Tr;K.folderName=Qs;var Ar=K;import{jsx as Bf}from"react/jsx-runtime";var Af="k-toolbar-separator",ae=e=>Bf("div",{className:i(Af,e.className,"k-separator")});var ht="toolbar",Pt=ht;import{Fragment as Br,jsx as D,jsxs as Po}from"react/jsx-runtime";var Lt="k-toolbar",Rf=[r.focus],Pf={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},Kf={scrollButtons:"around"},$=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:d,scrollingPosition:m,section:b,...N}=e,x=[],h=(c,v)=>{let L=[];if(c.type===p&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))L.push(D(p,{...c.props,className:`${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===p)L.push(D(p,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===aa)L.push(D(aa,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===ft)L.push(D(ft,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===V)L.push(D(V,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===Ar)L.push(D(Ar,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===O||c.props.className&&c.props.className.includes("k-button-group")){let S=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((I,y)=>{S.push(D(p,{...I.props,className:`${I.props.className?I.props.className:""}`},`${y}-${new Date().getTime()}`))}),L.push(D(O,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:S},`${v}-${new Date().getTime()}`))}else c.type===Ie?L.push(D(Ie,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===R?L.push(D(R,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===qe?L.push(D(qe,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):L.push(c);L.forEach(S=>{x.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,L)=>{h(v,L)}),Po("div",{...N,className:i(e.className,Lt,C(Lt,{size:t,fillMode:o}),E(Lt,{focus:a}),{[`${Lt}-resizable`]:n,[`${Lt}-scrollable`]:s,[`${Lt}-scrollable-overlay`]:s&&d==="hidden",[`${Lt}-scrollable-${m}`]:m&&m!=="both",[`${Lt}-section`]:b}),role:"toolbar","aria-label":"Toolbar",children:[!s&&x,s&&d==="hidden"&&D("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),s&&d==="start"&&Po(Br,{children:[Po(O,{children:[D("span",{className:i("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(k,{className:"k-button-icon",icon:"chevron-left"})}),D("span",{className:i("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(k,{className:"k-button-icon",icon:"chevron-right"})})]}),D(ae,{className:"k-toolbar-button-separator"}),D("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),s&&d==="end"&&Po(Br,{children:[D("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),D(ae,{className:"k-toolbar-button-separator"}),Po(O,{children:[D("span",{className:i("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(k,{className:"k-button-icon",icon:"chevron-left"})}),D("span",{className:i("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(k,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(d==="around"||!d)&&Po(Br,{children:[D("span",{className:i("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(k,{className:"k-button-icon",icon:"chevron-left"})}),D(ae,{className:"k-toolbar-button-separator"}),D("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),D(ae,{className:"k-toolbar-button-separator"}),D("span",{className:i("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(k,{className:"k-button-icon",icon:"chevron-right"})})]})]})};$.states=Rf;$.options=Pf;$.className=Lt;$.defaultOptions=Kf;$.moduleName=ht;$.folderName=Pt;import{jsx as tl}from"react/jsx-runtime";var ol="k-floating-toolbar",wf=[],_f={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},Df={},Zt=e=>{let{size:t,fillMode:o,resizable:a,scrollable:n,scrollButtons:s,scrollingPosition:d,section:m,...b}=e;return tl(X,{...b,className:i(e.className,ol),children:tl($,{size:t,fillMode:o,resizable:a,scrollable:n,scrollButtons:s,scrollingPosition:d,section:m,children:e.children})})};Zt.states=wf;Zt.options=_f;Zt.className=ol;Zt.defaultOptions=Df;Zt.moduleName=ht;Zt.folderName=Pt;import{jsx as Uf}from"react/jsx-runtime";var Rr="k-toolbar-item",zf=[r.focus],Hf={},Ff={},ot=e=>{let{focus:t,...o}=e;return Uf("div",{...o,className:i(e.className,Rr,E(Rr,{focus:t})),children:e.children})};ot.states=zf;ot.options=Hf;ot.className=Rr;ot.defaultOptions=Ff;ot.moduleName=ht;ot.folderName=Pt;import{jsx as al}from"react/jsx-runtime";var nl="k-toolbar-popup",Gf=[],Vf={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},$f={},Qt=e=>{let{size:t,fillMode:o,section:a,...n}=e;return al(X,{...n,className:i(e.className,nl),children:a?al("span",{className:i("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Qt.states=Gf;Qt.options=Vf;Qt.className=nl;Qt.defaultOptions=$f;Qt.moduleName=ht;Qt.folderName=Pt;var ja=Qt;import{jsx as lD}from"react/jsx-runtime";import{jsx as cD}from"react/jsx-runtime";import{jsx as xD}from"react/jsx-runtime";import{jsx as SD,jsxs as kD}from"react/jsx-runtime";import{jsx as ED}from"react/jsx-runtime";import{jsx as vt,jsxs as Yf}from"react/jsx-runtime";var Xf=K.states,rl={...K.defaultOptions,variant:"text"},Wf=K.options,Jf=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],qf=[{name:"opened",title:"Opened"}],Ko=e=>{let{variant:t,modifiers:o,...a}={...rl,...e},n={},s=Yf(Ne,{size:a.size,children:[vt(J,{first:!0,text:"Menu Item"}),vt(J,{text:"Menu Item"}),vt(J,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(n.opened=!!o?.[d],n.popup=o?.[d]?s:"")}),t){case"icon-only":return vt("div",{children:vt(K,{...a,...n,icon:"star"})});case"icon-and-text":return vt("div",{children:vt(K,{...a,...n,icon:"star",children:"Split Button"})});default:return vt("div",{children:vt(K,{...a,...n,children:"Split Button"})})}};Ko.options=Wf;Ko.states=Xf;Ko.variants=Jf;Ko.defaultOptions=rl;Ko.modifiers=qf;Ko.className=K.className;import{jsx as jt,jsxs as Zf}from"react/jsx-runtime";var il=e=>jt($,{children:[jt(p,{children:"Button"},"toolbar-button"),jt(V,{text:"Menu button"},"toolbar-menu-button"),jt(K,{children:"Split button"},"toolbar-split-button"),Zf(O,{children:[jt(p,{className:"k-group-start",icon:"align-left",children:"Left"}),jt(p,{icon:"align-center",children:"Center"}),jt(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as oz,jsxs as az}from"react/jsx-runtime";import{jsx as Ke,jsxs as sl}from"react/jsx-runtime";var ll=e=>Ke($,{scrollable:!0,...e,children:[Ke(p,{children:"Button"},"toolbar-button"),Ke(V,{text:"Menu button"},"toolbar-menu-button"),Ke(K,{children:"Split button"},"toolbar-split-button"),sl(O,{children:[Ke(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Ke(p,{icon:"align-center",children:"Center"}),Ke(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ke(p,{children:"Button"},"toolbar-button"),Ke(V,{text:"Menu button"},"toolbar-menu-button"),Ke(K,{children:"Split button"},"toolbar-split-button"),sl(O,{children:[Ke(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Ke(p,{icon:"align-center",children:"Center"}),Ke(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as we,jsxs as dl}from"react/jsx-runtime";var pl=({scrollingPosition:e="start",...t})=>we($,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[we(p,{children:"Button"},"toolbar-button"),we(V,{text:"Menu button"},"toolbar-menu-button"),we(K,{children:"Split button"},"toolbar-split-button"),dl(O,{children:[we(p,{className:"k-group-start",icon:"align-left",children:"Left"}),we(p,{icon:"align-center",children:"Center"}),we(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),we(p,{children:"Button"},"toolbar-button"),we(V,{text:"Menu button"},"toolbar-menu-button"),we(K,{children:"Split button"},"toolbar-split-button"),dl(O,{children:[we(p,{className:"k-group-start",icon:"align-left",children:"Left"}),we(p,{icon:"align-center",children:"Center"}),we(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Qf,jsx as ye,jsxs as en}from"react/jsx-runtime";var ml=({fillMode:e,size:t,...o})=>en(Qf,{children:[ye($,{section:!0,fillMode:e,size:t,children:[ye(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),en(O,{fillMode:e,children:[ye(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ye(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ye(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ye(ae,{className:"k-toolbar-button-separator"}),ye(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),en(ja,{size:t,fillMode:e,section:!0,...o,children:[ye(K,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ye(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ye(ae,{}),ye(V,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),en(O,{fillMode:e,children:[ye(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ye(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ye(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as wz,jsx as Pz,jsxs as Kz}from"react/jsx-runtime";import{Fragment as Wz,jsx as $z,jsxs as Xz}from"react/jsx-runtime";import{jsx as aH,jsxs as nH}from"react/jsx-runtime";import{jsx as Kt}from"react/jsx-runtime";var jf=$.options,eb=$.states,cl={...$.defaultOptions,variant:"default"},tb=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],ob=[],wo=e=>{let{variant:t,...o}={...cl,...e};switch(t){case"responsive":return Kt("div",{children:Kt(ml,{style:{width:"583px"},...o})});case"overlay":return Kt("div",{children:Kt(pl,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Kt("div",{children:Kt(ll,{style:{width:"583px"},...o})});default:return Kt("div",{children:Kt(il,{style:{width:"583px"},...o})})}};wo.options=jf;wo.states=eb;wo.variants=tb;wo.defaultOptions=cl;wo.modifiers=ob;wo.className=$.className;import{jsx as _e}from"react/jsx-runtime";var ul="k-imageeditor-toolbar",ab=[],nb={},rb=[_e(p,{icon:"upload","aria-label":"Upload"},"toolbar-button-1"),_e(p,{disabled:!0,icon:"download","aria-label":"Download"},"toolbar-button-2"),_e(ae,{},"toolbar-separator-1"),_e(p,{disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-3"),_e(p,{disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-4"),_e(ae,{},"toolbar-separator-2"),_e(p,{disabled:!0,icon:"crop","aria-label":"Crop"},"toolbar-button-5"),_e(p,{disabled:!0,icon:"image-resize","aria-label":"Resize"},"toolbar-button-6"),_e(p,{disabled:!0,icon:"zoom-in","aria-label":"Zoom in"},"toolbar-button-7"),_e(p,{disabled:!0,icon:"zoom-out","aria-label":"Zoom out"},"toolbar-button-8"),_e(ot,{children:_e(R,{disabled:!0,value:"Zoom options","aria-label":"Zoom options"})},"toolbar-item-1")],fl={toolbarItems:rb},_o=e=>{let{toolbarItems:t=fl.toolbarItems,...o}=e;return _e($,{...o,className:i(e.className,ul),children:t})};_o.states=ab;_o.options=nb;_o.className=ul;_o.defaultOptions=fl;var bl="image-editor",xl="imageeditor";import{jsx as ga,jsxs as Nl}from"react/jsx-runtime";var hl="k-imageeditor",ib=[],sb={},lb={},ct=e=>{let{toolbarItems:t,actionPane:o,contentHeight:a,children:n,...s}=e;return Nl("div",{...s,className:i(e.className,hl),children:[ga("div",{className:"k-imageeditor-header",children:ga(_o,{toolbarItems:t})}),Nl("div",{className:"k-imageeditor-content",style:{height:a},children:[ga("div",{className:"k-imageeditor-canvas-container",children:ga("div",{className:"k-imageeditor-canvas",children:n})}),o&&ga("div",{className:"k-imageeditor-action-pane",children:o})]})]})};ct.states=ib;ct.options=sb;ct.className=hl;ct.defaultOptions=lb;ct.moduleName=bl;ct.folderName=xl;import{jsx as $H}from"react/jsx-runtime";var Ll="form",vl="forms";import{Fragment as Ml,jsx as tn,jsxs as mb}from"react/jsx-runtime";var on="k-form",db=[],pb={size:[l.undefined,l.small,l.medium,l.large]},Pr={layout:"basic",tag:"form"},ie=e=>{let{size:t,orientation:o,layout:a=Pr.layout,formButtons:n,cols:s,gutters:d,tag:m=Pr.tag,children:b,style:N}=e,x=m,h=i(e.className,on,C(on,{size:t}),{[`${on}-${o}`]:o}),c=mb(Ml,{children:[a==="grid"?tn("div",{className:i("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols},...N},children:b}):tn(Ml,{children:b}),n&&tn("div",{className:"k-form-buttons",children:n})]}),{role:v,"aria-labelledby":L,"aria-label":S,id:g}=e;return tn(x,{className:h,role:v,"aria-labelledby":L,"aria-label":S,id:g,children:c})};ie.states=db;ie.options=pb;ie.className=on;ie.defaultOptions=Pr;ie.moduleName=Ll;ie.folderName=vl;var Sl="label",kl="label";import{jsx as gl,jsxs as bb}from"react/jsx-runtime";var Kr="k-label",cb=[r.disabled],ub={},fb={},wt=e=>{let{disabled:t,optional:o,info:a,text:n,children:s,...d}=e;return bb("label",{...d,className:i(e.className,Kr,E(Kr,{disabled:t})),children:[n||s,o&&gl("span",{className:"k-label-optional",children:"(Optional)"}),a&&gl("span",{className:"k-field-info",children:a})]})};wt.states=cb;wt.options=ub;wt.className=Kr;wt.defaultOptions=fb;wt.moduleName=Sl;wt.folderName=kl;import{jsx as Lb}from"react/jsx-runtime";var Il="k-form-hint",xb=[],Nb={},hb={},Ze=e=>{let{text:t,children:o,...a}=e;return Lb("div",{...a,className:i(e.className,Il),children:t||o})};Ze.states=xb;Ze.options=Nb;Ze.className=Il;Ze.defaultOptions=hb;import{jsx as kb}from"react/jsx-runtime";var Cl="k-form-error",vb=[],Mb={},Sb={},Qe=e=>{let{text:t,children:o,...a}=e;return kb("div",{...a,className:i(e.className,Cl),children:t||o})};Qe.states=vb;Qe.options=Mb;Qe.className=Cl;Qe.defaultOptions=Sb;import{jsx as an,jsxs as El}from"react/jsx-runtime";var wr="k-form-field",gb=[r.disabled],j=e=>{let{editorId:t,label:o,orientation:a,optional:n,editor:s,hint:d,error:m,info:b,disabled:N,dir:x,colSpan:h,...c}=e;return El("div",{...c,className:i(wr,e.className,E(wr,{disabled:N}),{[`k-col-span-${h}`]:h}),dir:x,children:[o&&an(wt,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:n,info:b?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&an("span",{className:"k-label k-form-label k-label-empty"}),El("div",{className:"k-form-field-wrap",children:[s,d&&an(Ze,{id:t?`${t}-hint`:void 0,children:d}),m&&an(Qe,{id:t?`${t}-error`:void 0,children:m})]})]})};j.states=gb;j.className=wr;import{Fragment as Ib,jsx as _r,jsxs as Cb}from"react/jsx-runtime";var Tl="k-form-fieldset",ut=e=>{let{legend:t,layout:o,cols:a,gutters:n,colSpan:s}=e;return Cb("fieldset",{className:i(Tl,{[`k-col-span-${s}`]:s}),children:[t&&_r("legend",{className:"k-form-legend",children:t}),o==="grid"?_r("div",{className:i("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof n=="string"&&{gap:n},...typeof n=="object"&&n.rows&&{rowGap:n.rows},...typeof n=="object"&&n.cols&&{columnGap:n.cols}},children:e.children}):_r(Ib,{children:e.children})]})};ut.className=Tl;var eo="radio",Do=eo;import{jsx as yl}from"react/jsx-runtime";var nn="k-radio",Eb=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked],Tb={size:[l.undefined,l.small,l.medium,l.large]},yb={},he=e=>{let{id:t,checked:o,hover:a,focus:n,disabled:s,invalid:d,valid:m,required:b,size:N,...x}=e;return yl("span",{className:"k-radio-wrap",children:yl("input",{...x,id:t,type:"radio",checked:o,required:b,disabled:s||void 0,"aria-invalid":d?"true":void 0,className:i(e.className,nn,C(nn,{size:N}),E(nn,{hover:a,focus:n,disabled:s,invalid:d,valid:m,checked:o}))})})};he.states=Eb;he.options=Tb;he.className=nn;he.defaultOptions=yb;he.moduleName=eo;he.folderName=Do;var je=he;import{jsx as Bb}from"react/jsx-runtime";var Ol="k-radio-list",Ob=[],Ab={},Al={layout:"vertical"},Le=e=>{let{layout:t=Al.layout,...o}=e;return Bb("ul",{...o,className:i(e.className,Ol,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};Le.states=Ob;Le.options=Ab;Le.className=Ol;Le.defaultOptions=Al;Le.moduleName=eo;Le.folderName=Do;import{jsx as wb}from"react/jsx-runtime";var Bl="k-radio-list-item",Rb=[],Pb={},Kb={},ve=e=>{let{...t}=e;return wb("li",{...t,className:i(e.className,Bl),role:"none",children:e.children})};ve.states=Rb;ve.options=Pb;ve.className=Bl;ve.defaultOptions=Kb;ve.moduleName=eo;ve.folderName=Do;import{jsx as R2}from"react/jsx-runtime";import{Fragment as _b,jsx as Rl,jsxs as Db}from"react/jsx-runtime";var Mt=({children:e,id:t,...o})=>Db(_b,{children:[Rl(je,{...o,id:t}),Rl("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as F2,jsx as H2,jsxs as U2}from"react/jsx-runtime";import{Fragment as J2,jsx as X2,jsxs as W2}from"react/jsx-runtime";import{Fragment as j2,jsx as Q2,jsxs as e1}from"react/jsx-runtime";import{Fragment as r1,jsx as n1,jsxs as i1}from"react/jsx-runtime";import{Fragment as u1,jsx as c1,jsxs as f1}from"react/jsx-runtime";import{jsx as h1}from"react/jsx-runtime";import{jsx as $b}from"react/jsx-runtime";var Hb=je.options,Fb=je.states,Ub=je.defaultOptions,Gb=[],Vb=[],zo=e=>$b(Mt,{id:A("radio"),name:"value",...e,children:"Label"});zo.options=Hb;zo.states=Fb;zo.variants=Gb;zo.defaultOptions=Ub;zo.modifiers=Vb;zo.className=je.className;import{jsx as et,jsxs as Pl}from"react/jsx-runtime";var Xb=Le.options,Wb=Le.states,Jb={...Le.defaultOptions,variant:"vertical"},qb=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Yb=[],Ho=e=>{let{variant:t,...o}=e;return t==="horizontal"?Pl(Le,{layout:"horizontal",...o,children:[et(ve,{children:et(Mt,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),et(ve,{children:et(Mt,{id:A("rb"),name:"value",children:"Label"})}),et(ve,{children:et(Mt,{id:A("rb"),name:"value",children:"Label"})})]}):Pl(Le,{...o,children:[et(ve,{children:et(Mt,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),et(ve,{children:et(Mt,{id:A("rb"),name:"value",children:"Label"})}),et(ve,{children:et(Mt,{id:A("rb"),name:"value",children:"Label"})})]})};Ho.options=Xb;Ho.states=Wb;Ho.variants=qb;Ho.defaultOptions=Jb;Ho.modifiers=Yb;Ho.className=Le.className;import{Fragment as Zb,jsx as Oe,jsxs as Fo}from"react/jsx-runtime";var Dr=e=>{let{size:t,children:o,...a}=e;return Oe(ie,{formButtons:Fo(Zb,{children:[Oe(p,{className:"k-form-submit",themeColor:"primary",size:t,children:"Submit"}),Oe(p,{className:"k-form-clear",size:t,children:"Clear"})]}),size:t,...a,children:o||Fo(ut,{legend:"Form Legend",children:[Oe(j,{label:"Label",editor:Oe(H,{size:t})}),Oe(j,{label:"Label",hint:"Hint text",editor:Oe(R,{value:"Dropdown List",size:t,"aria-label":"Label"})}),Oe(j,{label:"City",editor:Fo("ul",{className:"k-radio-list k-list-horizontal",children:[Fo("li",{className:"k-radio-list-item",children:[Oe(he,{defaultChecked:!0,size:t}),Oe("label",{className:"k-radio-label",children:"Label"})]}),Fo("li",{className:"k-radio-list-item",children:[Oe(he,{size:t}),Oe("label",{className:"k-radio-label",children:"Label"})]}),Fo("li",{className:"k-radio-list-item",children:[Oe(he,{size:t}),Oe("label",{className:"k-radio-label",children:"Label"})]})]})})]})})};import{Fragment as s3,jsx as i3,jsxs as l3}from"react/jsx-runtime";import{Fragment as b3,jsx as f3,jsxs as x3}from"react/jsx-runtime";var Kl="date-input",wl="dateinput";import{jsx as Ia,jsxs as tx}from"react/jsx-runtime";var _l="k-dateinput",Qb=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],jb={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},ex={},De=e=>{let{size:t,rounded:o,fillMode:a,value:n,placeholder:s,hover:d,focus:m,valid:b,invalid:N,required:x,loading:h,disabled:c,readonly:v,showClearButton:L,showSpinButton:S,id:g,"aria-label":I,"aria-describedby":y,...z}=e;return tx(U,{...z,size:t,rounded:o,fillMode:a,hover:d,focus:m,valid:b,invalid:N,required:x,loading:h,disabled:c,readonly:v,className:i(e.className,_l),children:[Ia(pe,{id:g,placeholder:s,value:n,disabled:c,"aria-label":I,"aria-describedby":y,"aria-invalid":N?"true":void 0}),Ia(te,{valid:b,invalid:N,loading:h,disabled:c}),Ia(ne,{loading:h,disabled:c}),L&&Ia(de,{loading:h,disabled:c,readonly:v,value:n}),S&&Ia(dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:c})]})};De.states=Qb;De.options=jb;De.className=_l;De.defaultOptions=ex;De.moduleName=Kl;De.folderName=wl;var zr=De;import{jsx as ox}from"react/jsx-runtime";var Dl=e=>ox(zr,{...e});import{jsx as O3}from"react/jsx-runtime";import{jsx as lx}from"react/jsx-runtime";var ax=De.options,nx=De.states,rx=De.defaultOptions,ix=[{name:"spin-button",title:"`Spin` Button"}],sx=[],Uo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="spin-button"&&(a.showSpinButton=!!t?.[n])}),lx(Dl,{value:"2/04/2021",style:{width:"300px"},...o,...a})};Uo.options=ax;Uo.states=nx;Uo.variants=sx;Uo.defaultOptions=rx;Uo.modifiers=ix;Uo.className=De.className;var zl="masked-textbox",Hl="maskedtextbox";import{Fragment as Fl,jsx as _t,jsxs as Hr}from"react/jsx-runtime";var Ul="k-maskedtextbox",dx=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],px={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Fr={showClearButton:!0,separators:!0},ze=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Fr.separators,showClearButton:s=Fr.showClearButton,prefix:d,suffix:m,value:b,placeholder:N,hover:x,focus:h,valid:c,invalid:v,required:L,loading:S,disabled:g,readonly:I,id:y,"aria-label":z,"aria-describedby":q,...ee}=e;return Hr(U,{...ee,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:c,invalid:v,required:L,loading:S,disabled:g,readonly:I,className:i(e.className,Ul),children:[d&&Hr(Fl,{children:[_t(fe,{children:d}),n&&_t(re,{})]}),_t(pe,{id:y,placeholder:N,value:b,disabled:g,"aria-label":z,"aria-describedby":q,"aria-invalid":v?"true":void 0}),_t(te,{valid:c,invalid:v,loading:S,disabled:g}),_t(ne,{loading:S,disabled:g}),s&&_t(de,{loading:S,disabled:g,readonly:I,value:b}),m&&Hr(Fl,{children:[n&&_t(re,{}),_t(be,{children:m})]})]})};ze.states=dx;ze.options=px;ze.className=Ul;ze.defaultOptions=Fr;ze.moduleName=zl;ze.folderName=Hl;var Go=ze;import{jsx as mx}from"react/jsx-runtime";var Gl=e=>mx(Go,{...e});import{Fragment as t5,jsx as e5}from"react/jsx-runtime";import{Fragment as s5,jsx as i5}from"react/jsx-runtime";import{jsx as m5}from"react/jsx-runtime";import{jsx as b5}from"react/jsx-runtime";import{jsx as Ur}from"react/jsx-runtime";var cx=ze.states,ux=ze.defaultOptions,fx=ze.options,bx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],xx=[],Vo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Ur(R,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[n]?Ur(k,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Ur(Gl,{value:"Value",style:{width:300},...o,...a})};Vo.options=fx;Vo.states=cx;Vo.variants=xx;Vo.defaultOptions=ux;Vo.modifiers=bx;Vo.className=ze.className;var Gr="switch",Vl=Gr;import{jsx as rn,jsxs as $l}from"react/jsx-runtime";var Dt="k-switch",Nx=[r.hover,r.focus,r.disabled,r.readonly,r.checked],hx={size:[l.undefined,l.small,l.medium,l.large],trackRounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],thumbRounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Lx={},Ae=e=>{let{checked:t,onLabel:o,offLabel:a,size:n,trackRounded:s,thumbRounded:d,hover:m,focus:b,disabled:N,readonly:x,...h}=e;return $l("span",{...h,className:i(e.className,Dt,C(Dt,{size:n}),E(Dt,{hover:m,focus:b,disabled:N,readonly:x}),{[`${Dt}-on`]:t,[`${Dt}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:N?void 0:0,"aria-disabled":N?"true":void 0,"aria-readonly":x?"true":void 0,children:[$l("span",{className:i("k-switch-track",C(Dt,{rounded:s})),children:[o&&rn("span",{className:"k-switch-label-on",children:o}),a&&rn("span",{className:"k-switch-label-off",children:a})]}),rn("span",{className:"k-switch-thumb-wrap",children:rn("span",{className:i("k-switch-thumb",C(Dt,{rounded:d}))})})]})};Ae.states=Nx;Ae.options=hx;Ae.className=Dt;Ae.defaultOptions=Lx;Ae.moduleName=Gr;Ae.folderName=Vl;import{jsx as z5}from"react/jsx-runtime";import{jsx as G5}from"react/jsx-runtime";import{jsx as W5}from"react/jsx-runtime";import{jsx as Z5}from"react/jsx-runtime";import{jsx as Xl}from"react/jsx-runtime";var vx=Ae.options,Mx=Ae.states,Sx={...Ae.defaultOptions,variant:"on"},kx=[{name:"on",title:"On"},{name:"off",title:"Off"}],gx=[],$o=e=>{let{variant:t,...o}=e;return t==="off"?Xl(Ae,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Xl(Ae,{checked:!0,onLabel:"On",offLabel:"Off",...o})};$o.options=vx;$o.states=Mx;$o.variants=kx;$o.defaultOptions=Sx;$o.modifiers=gx;$o.className=Ae.className;var $r="textarea",Wl=$r;import{Fragment as Jl,jsx as Ca,jsxs as Xr}from"react/jsx-runtime";var ql="k-textarea",Ix=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Cx={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Xo={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Be=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:n=Xo.prefixSeparator,suffixSeparator:s=Xo.prefixSeparator,affixesOrientation:d=Xo.affixesOrientation,flow:m=Xo.flow,resize:b=Xo.resize,prefix:N,suffix:x,rows:h,value:c,placeholder:v,hover:L,focus:S,valid:g,invalid:I,required:y,disabled:z,id:q,"aria-label":ee,"aria-describedby":se,...le}=e;return Xr(U,{...le,size:t,rounded:o,fillMode:a,hover:L,focus:S,valid:g,invalid:I,required:y,disabled:z,className:i(e.className,ql,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[N&&Xr(Jl,{children:[Ca(fe,{className:i({"!k-align-items-start":m===d}),direction:d,children:N}),n&&Ca(re,{direction:m==="horizontal"?"vertical":"horizontal"})]}),Ca(ia,{className:i("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":b==="x","k-resize-y":b==="y","k-resize":b==="both","k-resize-none":b==="none"}),value:c,placeholder:v,rows:h,disabled:z,id:q,"aria-label":ee,"aria-describedby":se,"aria-invalid":I?"true":void 0}),x&&Xr(Jl,{children:[s&&Ca(re,{direction:m==="horizontal"?"vertical":"horizontal"}),Ca(be,{className:i({"!k-align-items-start":m===d}),direction:d,children:x})]})]})};Be.states=Ix;Be.options=Cx;Be.className=ql;Be.defaultOptions=Xo;Be.moduleName=$r;Be.folderName=Wl;import{jsx as hF}from"react/jsx-runtime";import{Fragment as gF,jsx as kF}from"react/jsx-runtime";import{Fragment as OF,jsx as yF}from"react/jsx-runtime";import{jsx as PF}from"react/jsx-runtime";import{jsx as sn}from"react/jsx-runtime";var Ex=Be.options,Tx=Be.states,Yl={...Be.defaultOptions,variant:"vertical"},yx=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],Ox=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Wo=e=>{let{variant:t,modifiers:o,...a}={...Yl,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?sn(k,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?sn(k,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?sn(Be,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):sn(Be,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};Wo.options=Ex;Wo.states=Tx;Wo.variants=yx;Wo.defaultOptions=Yl;Wo.modifiers=Ox;Wo.className=Be.className;import{Fragment as n6,jsx as a6,jsxs as r6}from"react/jsx-runtime";import{Fragment as wx,jsx as Ce,jsxs as Jo}from"react/jsx-runtime";var Ax=ie.options,Bx=ie.states,Rx={...ie.defaultOptions,variant:"vertical"},Px=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Kx=[],qo=e=>{let{variant:t,size:o,...a}=e,n=Jo(ut,{legend:"Form Legend",children:[Ce(j,{label:"Label",editor:Ce(H,{size:o})}),Ce(j,{label:"Label",hint:"Hint text",editor:Ce(R,{value:"Dropdown List",size:o})}),Ce(j,{label:"City",editor:Jo("ul",{className:"k-radio-list k-list-horizontal",children:[Jo("li",{className:"k-radio-list-item",children:[Ce(he,{checked:!0,size:o}),Ce("label",{className:"k-radio-label",children:"Label"})]}),Jo("li",{className:"k-radio-list-item",children:[Ce(he,{size:o}),Ce("label",{className:"k-radio-label",children:"Label"})]}),Jo("li",{className:"k-radio-list-item",children:[Ce(he,{size:o}),Ce("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=Jo(wx,{children:[Ce(p,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),Ce(p,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?Ce(ie,{orientation:"horizontal",size:o,...a,formButtons:s,children:n}):Ce(ie,{size:o,...a,formButtons:s,children:n})};qo.options=Ax;qo.states=Bx;qo.variants=Px;qo.defaultOptions=Rx;qo.modifiers=Kx;qo.className=ie.className;import{jsx as Zl,jsxs as Fx}from"react/jsx-runtime";var _x=Ze.options,Dx=Ze.states,Ql={...Ze.defaultOptions},zx=[],Hx=[{name:"showHint",title:"Show Hint"}],Yo=e=>{let{modifiers:t,...o}={...Ql,...e},a=t?.showHint??!0;return Fx("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Zl(H,{placeholder:"Component",style:{width:"200px"}}),a&&Zl(Ze,{...o,children:"Hint text"})]})};Yo.options=_x;Yo.states=Dx;Yo.variants=zx;Yo.defaultOptions=Ql;Yo.modifiers=Hx;Yo.className=Ze.className;import{jsx as jl,jsxs as Xx}from"react/jsx-runtime";var Ux=Qe.options,Gx=Qe.states,ed={...Qe.defaultOptions},Vx=[],$x=[{name:"showError",title:"Show Error"}],Zo=e=>{let{modifiers:t,...o}={...ed,...e},a=t?.showError??!0;return Xx("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[jl(H,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&jl(Qe,{...o,children:"Error text"})]})};Zo.options=Ux;Zo.states=Gx;Zo.variants=Vx;Zo.defaultOptions=ed;Zo.modifiers=$x;Zo.className=Qe.className;var Jr="segmented-control",td=Jr,od="segmented-control-button",ad="segmented-control";import{jsx as qx,jsxs as Yx}from"react/jsx-runtime";var ln="k-segmented-control",Wx=[],Jx={size:[l.undefined,l.small,l.medium,l.large]},Qo=e=>{let{size:t,stretched:o,children:a,thumbStyles:n,...s}=e;return Yx("div",{...s,className:i(e.className,ln,C(ln,{size:t}),{[`${ln}-stretched`]:o}),role:"group",children:[qx("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:n}),a]})};Qo.states=Wx;Qo.options=Jx;Qo.className=ln;Qo.moduleName=Jr;Qo.folderName=td;import{jsx as nd,jsxs as eN}from"react/jsx-runtime";var qr="k-segmented-control-button",Zx=[r.selected,r.hover,r.focus,r.disabled],Qx={},jx={},to=e=>{let{hover:t,focus:o,selected:a,disabled:n,icon:s,text:d,iconClassName:m,...b}=e;return eN("button",{...b,className:i(e.className,qr,E(qr,{hover:t,focus:o,disabled:n,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":n?"true":void 0,tabIndex:a?0:-1,children:[s&&nd(k,{className:i(m,"k-segmented-control-button-icon"),icon:s}),(d||e.children)&&nd("span",{className:"k-segmented-control-button-text",children:d||e.children})]})};to.states=Zx;to.options=Qx;to.className=qr;to.defaultOptions=jx;to.moduleName=od;to.folderName=ad;import{Fragment as e7,jsx as j6,jsxs as t7}from"react/jsx-runtime";import{Fragment as s7,jsx as i7,jsxs as l7}from"react/jsx-runtime";import{Fragment as f7,jsx as u7,jsxs as b7}from"react/jsx-runtime";import{Fragment as M7,jsx as v7,jsxs as S7}from"react/jsx-runtime";import{Fragment as T7,jsx as E7,jsxs as y7}from"react/jsx-runtime";import{Fragment as q7,jsx as J7,jsxs as Y7}from"react/jsx-runtime";import{Fragment as tN,jsx as F,jsxs as rd}from"react/jsx-runtime";var m9=e=>F(ct,{toolbarItems:[F(p,{icon:"upload","aria-label":"Upload"},"toolbar-button-1"),F(p,{icon:"download","aria-label":"Download"},"toolbar-button-2"),F(ae,{},"toolbar-separator-1"),F(p,{disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-3"),F(p,{disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-4"),F(ae,{},"toolbar-separator-2"),F(p,{icon:"crop","aria-label":"Crop"},"toolbar-button-5"),F(p,{icon:"image-resize","aria-label":"Resize"},"toolbar-button-6"),F(p,{icon:"zoom-in","aria-label":"Zoom in"},"toolbar-button-7"),F(p,{icon:"zoom-out","aria-label":"Zoom out"},"toolbar-button-8"),F(ot,{children:F(R,{value:"Zoom options","aria-label":"Zoom options"})},"toolbar-item-1")],actionPane:F(Dr,{tag:"div",className:"k-imageeditor-pane-form",formButtons:rd(tN,{children:[F(p,{themeColor:"primary",icon:"check",children:"Confirm"}),F(p,{icon:"cancel",children:"Cancel"})]}),children:rd(ut,{layout:"grid",legend:"Resize Image",cols:2,gutters:{cols:"8px"},children:[F(j,{colSpan:"1",label:"Width:",editorId:"resize-width",editor:F(w,{id:"resize-width",showClearButton:!1,value:"61"})}),F(j,{colSpan:"1",label:"\xA0",editor:F(R,{value:"Pixels","aria-label":"Width unit"})}),F(j,{colSpan:"1",label:"Height:",editorId:"resize-height",editor:F(w,{id:"resize-height",showClearButton:!1,value:"68"})}),F(j,{colSpan:"1",label:"\xA0",editor:F(R,{value:"Pixels","aria-label":"Height unit"})}),F(j,{colSpan:"2",editor:F(Ve,{id:"resize-lock",children:"Lock aspect ratio"})})]})}),children:F("canvas",{width:"61",height:"68",role:"img","aria-label":"Image being edited"}),...e});export{m9 as ImageEditorResize};