@progress/kendo-themes-html 14.7.0-dev.13 → 14.7.0-dev.15

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 (154) hide show
  1. package/dist/cjs/imageeditor/imageeditor-canvas.spec.js +1 -0
  2. package/dist/cjs/imageeditor/imageeditor-option-list.js +1 -1
  3. package/dist/cjs/imageeditor/imageeditor-pane.js +1 -1
  4. package/dist/cjs/imageeditor/imageeditor-preview-thumbnail.js +1 -1
  5. package/dist/cjs/imageeditor/imageeditor-sidebar.js +1 -1
  6. package/dist/cjs/imageeditor/imageeditor-toolbar.js +1 -1
  7. package/dist/cjs/imageeditor/imageeditor.spec.js +1 -1
  8. package/dist/cjs/imageeditor/templates/imageeditor-adjustments-adaptive.js +1 -0
  9. package/dist/cjs/imageeditor/templates/imageeditor-adjustments.js +1 -1
  10. package/dist/cjs/imageeditor/templates/imageeditor-blur-adaptive.js +1 -0
  11. package/dist/cjs/imageeditor/templates/imageeditor-blur.js +1 -1
  12. package/dist/cjs/imageeditor/templates/imageeditor-crop-adaptive.js +1 -0
  13. package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
  14. package/dist/cjs/imageeditor/templates/imageeditor-filters-adaptive.js +1 -0
  15. package/dist/cjs/imageeditor/templates/imageeditor-filters.js +1 -1
  16. package/dist/cjs/imageeditor/templates/imageeditor-frames-adaptive.js +1 -0
  17. package/dist/cjs/imageeditor/templates/imageeditor-frames.js +1 -1
  18. package/dist/cjs/imageeditor/templates/imageeditor-insert-line-adaptive.js +1 -0
  19. package/dist/cjs/imageeditor/templates/imageeditor-insert-line.js +1 -1
  20. package/dist/cjs/imageeditor/templates/imageeditor-insert-shape-adaptive.js +1 -0
  21. package/dist/cjs/imageeditor/templates/imageeditor-insert-shape.js +1 -1
  22. package/dist/cjs/imageeditor/templates/imageeditor-insert-text-adaptive.js +1 -0
  23. package/dist/cjs/imageeditor/templates/imageeditor-insert-text.js +1 -1
  24. package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
  25. package/dist/cjs/imageeditor/templates/imageeditor-pixelate-adaptive.js +1 -0
  26. package/dist/cjs/imageeditor/templates/imageeditor-pixelate.js +1 -1
  27. package/dist/cjs/imageeditor/templates/imageeditor-resize-adaptive.js +1 -0
  28. package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
  29. package/dist/cjs/imageeditor/templates/imageeditor-rotate-adaptive.js +1 -0
  30. package/dist/cjs/imageeditor/templates/imageeditor-rotate.js +1 -1
  31. package/dist/cjs/imageeditor/templates/imageeditor-shadow-adaptive.js +1 -0
  32. package/dist/cjs/imageeditor/templates/imageeditor-shadow.js +1 -1
  33. package/dist/cjs/index.js +8 -8
  34. package/dist/esm/imageeditor/imageeditor-canvas.spec.mjs +1 -0
  35. package/dist/esm/imageeditor/imageeditor-option-list.mjs +1 -1
  36. package/dist/esm/imageeditor/imageeditor-pane.mjs +1 -1
  37. package/dist/esm/imageeditor/imageeditor-preview-thumbnail.mjs +1 -1
  38. package/dist/esm/imageeditor/imageeditor-sidebar.mjs +1 -1
  39. package/dist/esm/imageeditor/imageeditor-toolbar.mjs +1 -1
  40. package/dist/esm/imageeditor/imageeditor.spec.mjs +1 -1
  41. package/dist/esm/imageeditor/templates/imageeditor-adjustments-adaptive.mjs +1 -0
  42. package/dist/esm/imageeditor/templates/imageeditor-adjustments.mjs +1 -1
  43. package/dist/esm/imageeditor/templates/imageeditor-blur-adaptive.mjs +1 -0
  44. package/dist/esm/imageeditor/templates/imageeditor-blur.mjs +1 -1
  45. package/dist/esm/imageeditor/templates/imageeditor-crop-adaptive.mjs +1 -0
  46. package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
  47. package/dist/esm/imageeditor/templates/imageeditor-filters-adaptive.mjs +1 -0
  48. package/dist/esm/imageeditor/templates/imageeditor-filters.mjs +1 -1
  49. package/dist/esm/imageeditor/templates/imageeditor-frames-adaptive.mjs +1 -0
  50. package/dist/esm/imageeditor/templates/imageeditor-frames.mjs +1 -1
  51. package/dist/esm/imageeditor/templates/imageeditor-insert-line-adaptive.mjs +1 -0
  52. package/dist/esm/imageeditor/templates/imageeditor-insert-line.mjs +1 -1
  53. package/dist/esm/imageeditor/templates/imageeditor-insert-shape-adaptive.mjs +1 -0
  54. package/dist/esm/imageeditor/templates/imageeditor-insert-shape.mjs +1 -1
  55. package/dist/esm/imageeditor/templates/imageeditor-insert-text-adaptive.mjs +1 -0
  56. package/dist/esm/imageeditor/templates/imageeditor-insert-text.mjs +1 -1
  57. package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
  58. package/dist/esm/imageeditor/templates/imageeditor-pixelate-adaptive.mjs +1 -0
  59. package/dist/esm/imageeditor/templates/imageeditor-pixelate.mjs +1 -1
  60. package/dist/esm/imageeditor/templates/imageeditor-resize-adaptive.mjs +1 -0
  61. package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
  62. package/dist/esm/imageeditor/templates/imageeditor-rotate-adaptive.mjs +1 -0
  63. package/dist/esm/imageeditor/templates/imageeditor-rotate.mjs +1 -1
  64. package/dist/esm/imageeditor/templates/imageeditor-shadow-adaptive.mjs +1 -0
  65. package/dist/esm/imageeditor/templates/imageeditor-shadow.mjs +1 -1
  66. package/dist/esm/index.mjs +8 -8
  67. package/dist/types/imageeditor/constants.d.ts +9 -0
  68. package/dist/types/imageeditor/imageeditor-canvas.spec.d.ts +15 -0
  69. package/dist/types/imageeditor/imageeditor-option-list.d.ts +1 -0
  70. package/dist/types/imageeditor/imageeditor-pane.d.ts +2 -0
  71. package/dist/types/imageeditor/imageeditor-preview-thumbnail.d.ts +1 -0
  72. package/dist/types/imageeditor/imageeditor-sidebar.d.ts +8 -0
  73. package/dist/types/imageeditor/imageeditor-toolbar.d.ts +5 -4
  74. package/dist/types/imageeditor/imageeditor.spec.d.ts +7 -3
  75. package/dist/types/imageeditor/index.d.ts +13 -1
  76. package/dist/types/imageeditor/templates/imageeditor-adjustments-adaptive.d.ts +1 -0
  77. package/dist/types/imageeditor/templates/imageeditor-adjustments.d.ts +1 -1
  78. package/dist/types/imageeditor/templates/imageeditor-blur-adaptive.d.ts +1 -0
  79. package/dist/types/imageeditor/templates/imageeditor-blur.d.ts +1 -1
  80. package/dist/types/imageeditor/templates/imageeditor-crop-adaptive.d.ts +1 -0
  81. package/dist/types/imageeditor/templates/imageeditor-crop.d.ts +1 -1
  82. package/dist/types/imageeditor/templates/imageeditor-filters-adaptive.d.ts +1 -0
  83. package/dist/types/imageeditor/templates/imageeditor-filters.d.ts +1 -6
  84. package/dist/types/imageeditor/templates/imageeditor-frames-adaptive.d.ts +1 -0
  85. package/dist/types/imageeditor/templates/imageeditor-frames.d.ts +1 -1
  86. package/dist/types/imageeditor/templates/imageeditor-insert-line-adaptive.d.ts +1 -0
  87. package/dist/types/imageeditor/templates/imageeditor-insert-line.d.ts +1 -1
  88. package/dist/types/imageeditor/templates/imageeditor-insert-shape-adaptive.d.ts +1 -0
  89. package/dist/types/imageeditor/templates/imageeditor-insert-shape.d.ts +1 -1
  90. package/dist/types/imageeditor/templates/imageeditor-insert-text-adaptive.d.ts +1 -0
  91. package/dist/types/imageeditor/templates/imageeditor-insert-text.d.ts +1 -1
  92. package/dist/types/imageeditor/templates/imageeditor-pixelate-adaptive.d.ts +1 -0
  93. package/dist/types/imageeditor/templates/imageeditor-pixelate.d.ts +1 -1
  94. package/dist/types/imageeditor/templates/imageeditor-resize-adaptive.d.ts +1 -0
  95. package/dist/types/imageeditor/templates/imageeditor-resize.d.ts +1 -1
  96. package/dist/types/imageeditor/templates/imageeditor-rotate-adaptive.d.ts +1 -0
  97. package/dist/types/imageeditor/templates/imageeditor-rotate.d.ts +1 -1
  98. package/dist/types/imageeditor/templates/imageeditor-shadow-adaptive.d.ts +1 -0
  99. package/dist/types/imageeditor/templates/imageeditor-shadow.d.ts +1 -1
  100. package/package.json +1 -1
  101. package/src/imageeditor/constants.ts +4 -0
  102. package/src/imageeditor/imageeditor-canvas.spec.tsx +30 -0
  103. package/src/imageeditor/imageeditor-option-list.tsx +2 -1
  104. package/src/imageeditor/imageeditor-pane.tsx +4 -1
  105. package/src/imageeditor/imageeditor-preview-thumbnail.tsx +3 -2
  106. package/src/imageeditor/imageeditor-sidebar.tsx +32 -19
  107. package/src/imageeditor/imageeditor-toolbar.tsx +27 -21
  108. package/src/imageeditor/imageeditor.spec.tsx +14 -6
  109. package/src/imageeditor/index.ts +13 -1
  110. package/src/imageeditor/templates/imageeditor-adjustments-adaptive.tsx +3 -0
  111. package/src/imageeditor/templates/imageeditor-adjustments.tsx +80 -57
  112. package/src/imageeditor/templates/imageeditor-blur-adaptive.tsx +3 -0
  113. package/src/imageeditor/templates/imageeditor-blur.tsx +9 -25
  114. package/src/imageeditor/templates/imageeditor-crop-adaptive.tsx +3 -0
  115. package/src/imageeditor/templates/imageeditor-crop.tsx +22 -28
  116. package/src/imageeditor/templates/imageeditor-filters-adaptive.tsx +3 -0
  117. package/src/imageeditor/templates/imageeditor-filters.tsx +32 -52
  118. package/src/imageeditor/templates/imageeditor-frames-adaptive.tsx +3 -0
  119. package/src/imageeditor/templates/imageeditor-frames.tsx +123 -149
  120. package/src/imageeditor/templates/imageeditor-insert-line-adaptive.tsx +3 -0
  121. package/src/imageeditor/templates/imageeditor-insert-line.tsx +24 -25
  122. package/src/imageeditor/templates/imageeditor-insert-shape-adaptive.tsx +3 -0
  123. package/src/imageeditor/templates/imageeditor-insert-shape.tsx +93 -50
  124. package/src/imageeditor/templates/imageeditor-insert-text-adaptive.tsx +3 -0
  125. package/src/imageeditor/templates/imageeditor-insert-text.tsx +24 -25
  126. package/src/imageeditor/templates/imageeditor-normal.tsx +2 -23
  127. package/src/imageeditor/templates/imageeditor-pixelate-adaptive.tsx +3 -0
  128. package/src/imageeditor/templates/imageeditor-pixelate.tsx +9 -24
  129. package/src/imageeditor/templates/imageeditor-resize-adaptive.tsx +3 -0
  130. package/src/imageeditor/templates/imageeditor-resize.tsx +10 -25
  131. package/src/imageeditor/templates/imageeditor-rotate-adaptive.tsx +3 -0
  132. package/src/imageeditor/templates/imageeditor-rotate.tsx +8 -23
  133. package/src/imageeditor/templates/imageeditor-shadow-adaptive.tsx +3 -0
  134. package/src/imageeditor/templates/imageeditor-shadow.tsx +20 -42
  135. package/src/imageeditor/tests/imageeditor-adaptive-panes.tsx +85 -0
  136. package/src/imageeditor/tests/imageeditor-adaptive-small.tsx +10 -305
  137. package/src/imageeditor/tests/imageeditor-adjustments-pane.tsx +2 -1
  138. package/src/imageeditor/tests/imageeditor-blur-pane.tsx +2 -1
  139. package/src/imageeditor/tests/imageeditor-crop-pane.tsx +2 -1
  140. package/src/imageeditor/tests/imageeditor-filters-pane.tsx +2 -1
  141. package/src/imageeditor/tests/imageeditor-frames-pane.tsx +4 -3
  142. package/src/imageeditor/tests/imageeditor-insert-shape-pane.tsx +1 -1
  143. package/src/imageeditor/tests/imageeditor-interactive-states.tsx +6 -6
  144. package/src/imageeditor/tests/imageeditor-pixelate-pane.tsx +2 -1
  145. package/src/imageeditor/tests/imageeditor-resize-pane.tsx +2 -1
  146. package/src/imageeditor/tests/imageeditor-responsive.tsx +4 -4
  147. package/src/imageeditor/tests/imageeditor-rotate-pane.tsx +2 -1
  148. package/src/imageeditor/tests/imageeditor-shadow-pane.tsx +2 -1
  149. package/src/list/tests/list-states.tsx +57 -0
  150. package/src/menu/tests/menu-states.tsx +13 -0
  151. package/dist/cjs/imageeditor/templates/imageeditor-disabled.js +0 -1
  152. package/dist/esm/imageeditor/templates/imageeditor-disabled.mjs +0 -1
  153. package/dist/types/imageeditor/templates/imageeditor-disabled.d.ts +0 -1
  154. package/src/imageeditor/templates/imageeditor-disabled.tsx +0 -54
@@ -1 +1 @@
1
- var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var E=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),y=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:l,checked:d,active:m,selected:f,disabled:h,indeterminate:b,loading:N,empty:c,readonly:v,highlighted:L,...I}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":l,"k-checked":d,"k-active":m,"k-selected":f,"k-disabled":h,"k-indeterminate":b&&!d,"k-loading":N,"k-empty":c,"k-readonly":v,"k-highlighted":L},Object.keys(I).reduce((S,M)=>(M.startsWith("k-")?S[M]=I[M]:S[`k-${M}`]=I[M],S),{}))};function fl(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},gt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},k={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={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 dr={};function B(e){return dr[e]=(dr[e]||0)+1,`k-${e}-${dr[e]}`}import{Fragment as Jp,jsx as bl}from"react/jsx-runtime";var pr="k-font-icon",Vp=[],Xp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info]},Wp={},Ra=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:l,...d}=e;return a?bl("span",{...d,className:r(e.className,pr,E(pr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):bl(Jp,{})};Ra.states=Vp;Ra.options=Xp;Ra.className=pr;Ra.defaultOptions=Wp;var xl=Ra;import{Fragment as Zp,jsx as bi}from"react/jsx-runtime";var mr="k-svg-icon",qp=[],Yp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[gt.outline,gt.solid,gt.duotone]},cr={viewBox:"0 0 24 24",variant:gt.outline},Pa=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:l=cr.viewBox,variant:d=cr.variant,icon:m,...f}=e;if(!m)return bi(Zp,{});if(m==="none")return bi("span",{...f,className:r(e.className,mr,E("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof m=="object"&&m.name&&m.name,b=typeof m=="object"?d&&m.variants?.[d]||m.variants?.outline||m.content:void 0;return bi("span",{...f,className:r(e.className,mr,E("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:bi("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:l,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:m?void 0:e.children})})};Pa.states=qp;Pa.options=Yp;Pa.className=mr;Pa.defaultOptions=cr;var ur=Pa;import*as fr from"@progress/kendo-svg-icons";var hl="icon",gl="icons";import{useContext as jp}from"react";import{createContext as Qp}from"react";var Nl=Qp({iconsType:"svg"});import{Fragment as vl,jsx as wa}from"react/jsx-runtime";var xi="k-icon",em=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),tm=[],om={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[gt.outline,gt.solid,gt.duotone]},hi={viewBox:"0 0 24 24",type:"svg",variant:gt.outline},g=e=>{let{iconsType:t}=jp(Nl),{size:o,themeColor:a,icon:i,type:l=t||hi.type,rotate:d,flip:m,viewBox:f=hi.viewBox,variant:h=hi.variant,...b}=e;if(!i)return wa(vl,{});if((t||l)==="svg"){if(i==="none")return wa(ur,{...b,className:r(e.className,xi),icon:i,size:o,variant:h});let c=fr[i]?i:em(`${i}-icon`);return fr[c]?wa(ur,{...b,className:r(e.className,xi),icon:fr[c],size:o,themeColor:a,rotate:d,flip:m,viewBox:f,variant:h}):wa(vl,{})}return wa(xl,{...b,className:r(e.className,xi),icon:i,size:o,themeColor:a,rotate:d,flip:m})};g.states=tm;g.options=om;g.defaultOptions=hi;g.className=xi;g.moduleName=hl;g.folderName=gl;var br="button",kl=br;import{Fragment as xr,jsx as Vt,jsxs as Ll}from"react/jsx-runtime";var Ka="k-button",am=["icon-button"],im=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],rm={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},hr={showArrow:!1,arrowIconName:"chevron-down"},s=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:l,showArrow:d=hr.showArrow,arrowIconName:m=hr.arrowIconName,variant:f,hover:h,focus:b,active:N,selected:c,disabled:v,togglable:L,ariaDisabled:I,icon:S,endIcon:M,iconSize:T,text:w,iconClassName:J,className:te,...oe}=e,de=S!=null,no=e.children!==void 0;return Ll(t,{className:r(te,Ka,fl(Ka,f),E(Ka,{size:o,rounded:a,fillMode:i,themeColor:l}),y(Ka,{hover:h,focus:b,active:N,disabled:v||I,selected:c}),{"k-icon-button":!w&&!no&&de}),"aria-pressed":L?c?"true":"false":void 0,...oe,"aria-disabled":I?"true":void 0,disabled:v||void 0,children:[typeof S=="string"&&S&&Vt(g,{className:r(J,"k-button-icon"),icon:S,size:T}),S&&typeof S!="string"&&Vt(xr,{children:S}),w?Ll(xr,{children:[w&&Vt("span",{className:"k-button-text",children:w}),e.children]}):e.children&&Vt("span",{className:"k-button-text",children:e.children}),typeof M=="string"&&M&&Vt(g,{className:r(J,"k-button-icon"),icon:M,size:T}),M&&typeof M!="string"&&Vt(xr,{children:M}),d&&Vt("span",{className:"k-menu-button-arrow k-button-arrow",children:Vt(g,{icon:m})})]})};s.states=im;s.options=rm;s.variants=am;s.className=Ka;s.defaultOptions=hr;s.moduleName=br;s.folderName=kl;import{jsx as nm}from"react/jsx-runtime";var Rt=e=>nm(s,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as lm}from"react/jsx-runtime";var za=e=>lm(s,{icon:"folder",children:"Button",...e});import{jsx as Bv}from"react/jsx-runtime";import{jsx as sm}from"react/jsx-runtime";var Nt=e=>sm(s,{children:"Button",...e});import{jsx as gr}from"react/jsx-runtime";var dm=s.options,pm=s.states,mm={...s.defaultOptions,variant:"text"},cm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],um=[],yo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return gr(Rt,{...o,icon:"star"});case"icon-and-text":return gr(za,{...o,icon:"star",children:"Button"});default:return gr(Nt,{...o,children:"Button"})}};yo.options=dm;yo.states=pm;yo.variants=cm;yo.defaultOptions=mm;yo.modifiers=um;yo.className=s.className;var Nr="button",Il=Nr;import{jsx as hm}from"react/jsx-runtime";var _a="k-button-group",fm=[n.disabled],bm={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},xm={},A=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return hm("div",{role:"group",...i,className:r(e.className,_a,E(_a,{fillMode:t}),y(_a,{disabled:o}),{[`${_a}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};A.states=fm;A.options=bm;A.className=_a;A.defaultOptions=xm;A.moduleName=Nr;A.folderName=Il;import{Fragment as ak,jsx as ok,jsxs as ik}from"react/jsx-runtime";import{Fragment as pk,jsx as dk,jsxs as mk}from"react/jsx-runtime";import{Fragment as hk,jsx as xk,jsxs as gk}from"react/jsx-runtime";import{Fragment as Sk,jsx as Ik,jsxs as Mk}from"react/jsx-runtime";import{Fragment as Ak,jsx as Tk,jsxs as Ok}from"react/jsx-runtime";import{Fragment as _k,jsx as zk,jsxs as Dk}from"react/jsx-runtime";import{Fragment as Vk,jsx as $k,jsxs as Xk}from"react/jsx-runtime";import{jsx as Pt,jsxs as vr}from"react/jsx-runtime";var gm={...s.options,...A.options},Nm=s.states,vm={...s.defaultOptions,...A.defaultOptions,variant:"text-button"},km=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Lm=[],Eo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?vr(A,{fillMode:a.fillMode,className:o,children:[Pt(s,{...a,icon:"star"}),Pt(s,{...a,icon:"star"}),Pt(s,{...a,icon:"star"})]}):t==="icon-text-button"?vr(A,{fillMode:a.fillMode,className:o,children:[Pt(s,{...a,icon:"star",children:"First"}),Pt(s,{...a,icon:"star",children:"Middle"}),Pt(s,{...a,icon:"star",children:"Last"})]}):vr(A,{fillMode:a.fillMode,className:o,children:[Pt(s,{...a,children:"First"}),Pt(s,{...a,children:"Middle"}),Pt(s,{...a,children:"Last"})]})};Eo.options=gm;Eo.states=Nm;Eo.variants=km;Eo.defaultOptions=vm;Eo.modifiers=Lm;Eo.className=A.className;var Da="input",gi=Da;import{jsx as ym}from"react/jsx-runtime";var Ni="k-input",Im=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Sm={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Mm={},G=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m,size:f,rounded:h,fillMode:b,...N}=e;return ym("span",{...N,className:r(e.className,Ni,E(Ni,{size:f,rounded:h,fillMode:b}),y(Ni,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m}))})};G.states=Im;G.options=Sm;G.className=Ni;G.defaultOptions=Mm;G.moduleName=Da;G.folderName=gi;import{jsx as Tm}from"react/jsx-runtime";var vi="k-picker",Em=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Cm={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Bm={},vt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m,size:f,rounded:h,fillMode:b,...N}=e;return Tm("span",{...N,className:r(e.className,vi,E(vi,{size:f,rounded:h,fillMode:b}),y(vi,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m})),children:e.children})};vt.states=Em;vt.options=Cm;vt.className=vi;vt.defaultOptions=Bm;vt.moduleName=Da;vt.folderName=gi;import{Fragment as Rm,jsx as kr}from"react/jsx-runtime";var Sl="k-clear-value",Am=[n.disabled,n.loading,n.readonly],Om={},pe=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?kr(Rm,{}):kr("span",{className:r(e.className,Sl),children:kr(g,{icon:"x"})})};pe.states=Am;pe.options=Om;pe.className=Sl;import{jsx as Km}from"react/jsx-runtime";var Lr="k-input-inner",Pm=[],wm={},ki={type:"text",autocomplete:"off",value:"",placeholder:""},me=e=>{let{value:t=ki.value,type:o=ki.type,placeholder:a=ki.placeholder,autocomplete:i=ki.autocomplete,disabled:l,readOnly:d,...m}=e;return Km("input",{...m,type:o,className:r(e.className,Lr,E(Lr,e)),placeholder:a,autoComplete:i,defaultValue:t,disabled:l||void 0,readOnly:d||void 0})};me.states=Pm;me.options=wm;me.className=Lr;import{jsx as Ml,jsxs as Dm}from"react/jsx-runtime";var Ir="k-input-inner",zm=[],_m={},lo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:l,...d}=e;return Dm("span",{...d,className:r(e.className,Ir,E(Ir,e)),children:[i,!i&&l&&Ml(g,{className:"k-input-value-icon",icon:l}),a&&!t&&o,a&&t&&Ml("span",{className:"k-input-value-text",children:t})]})};lo.states=zm;lo.options=_m;lo.className=Ir;import{jsx as Um}from"react/jsx-runtime";var Sr="k-input-inner",Fm=[],Hm={},yl={value:"",placeholder:""},Fa=e=>{let{value:t=yl.value,placeholder:o=yl.placeholder,rows:a,disabled:i,...l}=e;return Um("textarea",{...l,className:r(e.className,Sr,E(Sr,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Fa.states=Fm;Fa.options=Hm;Fa.className=Sr;import{Fragment as $m,jsx as El}from"react/jsx-runtime";var Cl="k-input-loading-icon",Gm=[n.disabled,n.loading],ae=e=>{let{disabled:t,loading:o}=e;return t||!o?El($m,{}):El("span",{className:r(e.className,Cl,"k-icon k-i-loading")})};ae.states=Gm;ae.className=Cl;import{Fragment as Wm,jsx as Bl}from"react/jsx-runtime";var Tl="k-input-validation-icon",Vm=[n.valid,n.invalid,n.disabled,n.loading],Xm={},Q=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,l=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?Bl(Wm,{}):Bl(g,{className:r(Tl),icon:l})};Q.states=Vm;Q.options=Xm;Q.className=Tl;import{Fragment as Ym,jsx as Al}from"react/jsx-runtime";var Jm="k-input-prefix",qm={direction:"horizontal"},ue=e=>{let{direction:t=qm.direction,...o}=e;return e.children?Al("span",{...o,className:r(Jm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Al(Ym,{})};import{Fragment as jm,jsx as Ol}from"react/jsx-runtime";var Zm="k-input-suffix",Qm={direction:"horizontal"},fe=e=>{let{direction:t=Qm.direction,...o}=e;return e.children?Ol("span",{...o,className:r(Zm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ol(jm,{})};import{jsx as WL}from"react/jsx-runtime";import{jsx as tc}from"react/jsx-runtime";var ec="k-input-suffix-text",wt=e=>{let{children:t,...o}=e;return tc("span",{...o,className:r(ec,e.className),children:t})};import{jsx as ac}from"react/jsx-runtime";var Rl="k-input-separator",oc={direction:"vertical"},j=e=>{let{direction:t=oc.direction,...o}=e;return ac("span",{...o,className:r(Rl,e.className,{[`${Rl}-${t}`]:t})})};import{Fragment as Pl,jsx as kt,jsxs as Mr}from"react/jsx-runtime";var ic=G.states,rc=G.defaultOptions,nc=G.options,lc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],sc=[],Co=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:l,readonly:d,...m}=e,f=t?.prefix,h=t?.suffix,b=t?.["clear-button"],N=t?.["validation-icon"],c=t?.separators;return Mr(G,{...m,valid:o,invalid:a,loading:i,disabled:l,readonly:d,style:{width:300},children:[f&&Mr(Pl,{children:[kt(ue,{children:kt(g,{icon:"lock"})}),c&&kt(j,{})]}),kt(me,{placeholder:"Placeholder",value:"Value"}),N&&kt(Q,{valid:o,invalid:a,loading:i,disabled:l}),kt(ae,{loading:i,disabled:l}),b&&kt(pe,{loading:i,disabled:l,readonly:d,value:"Value"}),h&&Mr(Pl,{children:[c&&kt(j,{}),kt(fe,{children:kt(Nt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Co.options=nc;Co.states=ic;Co.variants=sc;Co.defaultOptions=rc;Co.modifiers=lc;Co.className=G.className;import{jsx as wl,jsxs as mc}from"react/jsx-runtime";var Kl="k-color-preview",dc=[],pc={},Xt=e=>{let{color:t,iconName:o,...a}=e;return mc("span",{...a,className:r(e.className,Kl,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&wl(g,{icon:o,className:"k-color-preview-icon"}),wl("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Xt.states=dc;Xt.options=pc;Xt.className=Kl;var yr="popup",zl=yr;import{jsx as _l}from"react/jsx-runtime";var Dl="k-animation-container",cc=[],uc={},Er={positionMode:"absolute",shown:!0},Lt=e=>{let{positionMode:t=Er.positionMode,shown:o=Er.shown,animationStyle:a,offset:i,...l}=e;return _l("div",{...l,style:{...i,...e.style},className:r(e.className,Dl,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:_l("div",{className:"k-child-animation-container",style:a,children:e.children})})};Lt.states=cc;Lt.options=uc;Lt.className=Dl;Lt.defaultOptions=Er;Lt.moduleName=yr;Lt.folderName=zl;var Cr="popup",Fl=Cr;import{jsx as Hl}from"react/jsx-runtime";var Ul="k-popup",fc=[],bc={},Gl={positionMode:"absolute"},X=e=>{let{offset:t,positionMode:o=Gl.positionMode,animationStyle:a,containerClassName:i,containerRole:l,containerAriaLabel:d,...m}=e;return Hl(Lt,{positionMode:o,offset:t,animationStyle:a,className:i,role:l,"aria-label":d,children:Hl("div",{...m,className:r(e.className,Ul),children:e.children})})};X.states=fc;X.options=bc;X.className=Ul;X.defaultOptions=Gl;X.moduleName=Cr;X.folderName=Fl;var Br="action-buttons",$l=Br;import{jsx as gc}from"react/jsx-runtime";var Li="k-actions",xc=[],hc={},Tr={alignment:"start",orientation:"horizontal"},He=e=>{let{alignment:t=Tr.alignment,orientation:o=Tr.orientation,...a}=e;return gc("div",{...a,className:r(Li,{[`${Li}-${t}`]:t,[`${Li}-${o}`]:o},e.className),children:e.children})};He.states=xc;He.options=hc;He.className=Li;He.defaultOptions=Tr;He.moduleName=Br;He.folderName=$l;var Vl=He;import{jsx as vc}from"react/jsx-runtime";var Nc="k-actionsheet-footer",Xl={alignment:"stretched",orientation:"horizontal"},Wt=e=>{let{alignment:t=Xl.alignment,orientation:o=Xl.orientation,template:a,as:i=a?"div":He,...l}=e;return vc(i,{...l,...!a&&{alignment:t,orientation:o},className:r(e.className,Nc),children:e.children})};var Ar="searchbox",Wl=Ar;import{jsx as Ha,jsxs as Ic}from"react/jsx-runtime";var Jl="k-searchbox",kc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Lc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ii={showIcon:!0,showClearButton:!0,icon:"search"},Ze=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:l,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,showIcon:v=Ii.showIcon,showClearButton:L=Ii.showClearButton,icon:I=Ii.icon,"aria-label":S,...M}=e;return Ic(G,{...M,size:a,rounded:i,fillMode:l,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,className:r(e.className,Jl),children:[v&&Ha(g,{className:"k-input-icon",icon:I}),Ha(me,{placeholder:o,value:t,"aria-label":S}),Ha(ae,{...e}),Ha(Q,{...e}),L&&Ha(pe,{...e})]})};Ze.states=kc;Ze.options=Lc;Ze.className=Jl;Ze.defaultOptions=Ii;Ze.moduleName=Ar;Ze.folderName=Wl;import{jsx as gS}from"react/jsx-runtime";var Or="textbox",ql=Or;import{Fragment as Yl,jsx as Jt,jsxs as Rr}from"react/jsx-runtime";var Zl="k-textbox",Sc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Mc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Si={showClearButton:!0,showValidationIcon:!0,separators:!0},H=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Si.separators,showClearButton:l=Si.showClearButton,showValidationIcon:d=Si.showValidationIcon,prefix:m,suffix:f,type:h,value:b,placeholder:N,hover:c,focus:v,valid:L,invalid:I,required:S,loading:M,disabled:T,readonly:w,id:J,"aria-label":te,"aria-describedby":oe,...de}=e;return Rr(G,{...de,size:t,rounded:o,fillMode:a,hover:c,focus:v,valid:L,invalid:I,required:S,loading:M,disabled:T,readonly:w,className:r(e.className,Zl),children:[m&&Rr(Yl,{children:[Jt(ue,{children:m}),i&&Jt(j,{})]}),Jt(me,{id:J,placeholder:N,value:b,type:h,disabled:T,"aria-label":te,"aria-describedby":oe,"aria-invalid":I?"true":void 0}),d&&Jt(Q,{valid:L,invalid:I,loading:M,disabled:T}),Jt(ae,{loading:M,disabled:T}),l&&Jt(pe,{loading:M,disabled:T,readonly:w,value:b}),f&&Rr(Yl,{children:[i&&Jt(j,{}),Jt(fe,{children:f})]})]})};H.states=Sc;H.options=Mc;H.className=Zl;H.defaultOptions=Si;H.moduleName=Or;H.folderName=ql;var Ua=H;import{jsx as yc}from"react/jsx-runtime";var Ql=e=>yc(Ua,{...e});import{Fragment as KS,jsx as wS}from"react/jsx-runtime";import{Fragment as US,jsx as HS}from"react/jsx-runtime";import{jsx as XS}from"react/jsx-runtime";import{jsx as Pr}from"react/jsx-runtime";var Ec=H.states,Cc=H.defaultOptions,Bc=H.options,Tc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Ac=[],Bo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?Pr(g,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?Pr(Nt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),Pr(Ql,{value:"Value",style:{width:300},...o,...a})};Bo.options=Bc;Bo.states=Ec;Bo.variants=Ac;Bo.defaultOptions=Cc;Bo.modifiers=Tc;Bo.className=H.className;import{jsx as qt,jsxs as wr}from"react/jsx-runtime";var jl="k-actionsheet-titlebar",Oc={},Ne=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:l,input:d,inputValue:m,inputPlaceholder:f,adaptive:h,titleId:b,children:N,...c}=e;return wr("div",{...c,className:r(e.className,jl),children:[wr("div",{className:"k-actionsheet-titlebar-group",children:[a&&qt("div",{className:"k-actionsheet-actions",children:a}),!N&&wr("div",{className:"k-actionsheet-title",id:b,children:[t&&qt("div",{className:"k-text-center",children:t}),o&&qt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&qt("div",{className:"k-actionsheet-title",id:b,children:N}),i&&qt("div",{className:"k-actionsheet-actions",children:i})]}),(d||l)&&qt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?qt(H,{value:m,placeholder:f,size:h?"large":"medium","aria-label":t||f||"Input"}):qt(Ze,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};Ne.className=jl;Ne.defaultOptions=Oc;import{jsx as Kr,jsxs as Kc}from"react/jsx-runtime";var zr="k-actionsheet-view",Rc=[],Pc={},wc={},To=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:l,titleId:d,...m}=e,f=i?.type===Ne&&Kr(Ne,{adaptive:t,titleId:d,...i?.props}),h=l?.type===Wt&&Kr(Wt,{...l?.props});return Kc("div",{...m,className:r(e.className,zr,{[`${zr}-animated`]:o}),children:[f,Kr("div",{className:"k-actionsheet-content",children:a}),h]})};To.states=Rc;To.options=Pc;To.className=zr;To.defaultOptions=wc;var Ga="action-sheet",Mi=Ga;var _r="overlay",es=_r;import{jsx as Fc}from"react/jsx-runtime";var ts="k-overlay",zc=[],_c={},Dc={},ut=e=>{let{...t}=e;return Fc("div",{...t,className:r(e.className,ts),children:e.children})};ut.states=zc;ut.options=_c;ut.className=ts;ut.defaultOptions=Dc;ut.moduleName=_r;ut.folderName=es;var os=ut;import{jsx as yi,jsxs as Gc}from"react/jsx-runtime";var as="k-actionsheet",Hc=[],Uc={},$a={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},q=e=>{let{side:t=$a.side,fullscreen:o=$a.fullscreen,adaptive:a=$a.adaptive,overlay:i=$a.overlay,template:l,children:d,header:m,footer:f,id:h,...b}=e,N=h&&!l&&m?`${h}-title`:void 0;return Gc("div",{className:"k-actionsheet-container",children:[i&&yi(ut,{}),yi(Lt,{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:yi("div",{...b,id:h,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":N,className:r(e.className,as,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:l||yi(To,{header:m,footer:f,adaptive:a,titleId:N,...e,children:d})})})]})};q.states=Hc;q.options=Uc;q.className=as;q.defaultOptions=$a;q.moduleName=Ga;q.folderName=Mi;import{jsx as Wc}from"react/jsx-runtime";var is="k-actionsheet-container",$c=[],Vc={},Xc={},Ao=e=>{let{children:t,...o}=e;return Wc("div",{...o,className:is,children:t})};Ao.states=$c;Ao.options=Vc;Ao.className=is;Ao.defaultOptions=Xc;Ao.moduleName=Ga;Ao.folderName=Mi;import{jsx as Jc}from"react/jsx-runtime";var Dr=e=>{let{...t}=e;return Jc("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Yc,jsx as Va,jsxs as Fr}from"react/jsx-runtime";var Hr="k-actionsheet-item",qc=[n.hover,n.focus,n.selected,n.disabled],Yt=e=>{let{iconName:t,text:o,description:a,hover:i,focus:l,selected:d,disabled:m,...f}=e;return Fr("span",{...f,className:r(e.className,Hr,y(Hr,{hover:i,focus:l,selected:d,disabled:m})),children:[!e.children&&Va(Yc,{children:Fr("span",{className:"k-actionsheet-action",children:[t&&Va("span",{className:"k-icon-wrap",children:Va(g,{className:"k-actionsheet-item-icon",icon:t})}),Fr("span",{className:"k-actionsheet-item-text",children:[o&&Va("span",{className:"k-actionsheet-item-title",children:o}),a&&Va("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Yt.states=qc;Yt.className=Hr;import{jsx as VM,jsxs as XM}from"react/jsx-runtime";import{jsx as YM}from"react/jsx-runtime";import{jsx as ey}from"react/jsx-runtime";import{jsx as iy}from"react/jsx-runtime";import{jsx as ve,jsxs as Ur}from"react/jsx-runtime";var Zc=q.options,Qc=q.states,ns={...q.defaultOptions,variant:"normal"},jc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],eu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Oo=e=>{let{variant:t,modifiers:o,...a}={...ns,...e},i={},l=Ur(Dr,{children:[ve(Yt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ve(Yt,{text:"Add to Favorites",iconName:"heart"}),ve(Yt,{text:"Upload New",iconName:"upload",disabled:!0}),ve("hr",{className:"k-hr"}),ve(Yt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",m="Select Item";return t==="fullScreen"&&(i.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":i.actionsStart=!!o?.[f],i.actionsEnd=!!o?.[f];break;case"subtitle":i.subtitle=o?.[f]?d:void 0;break;case"footer":i.footer=!!o?.[f];break;default:break}}),t==="adaptive"?ve(q,{...a,adaptive:!0,fullscreen:i.fullScreen,header:ve(Ne,{actionsStart:i.actionsStart?ve(s,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ve(s,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?Ur(Wt,{alignment:"stretched",children:[ve(s,{text:"Cancel",size:"large",themeColor:"base"}),ve(s,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):ve(q,{...a,fullscreen:i.fullScreen,header:ve(Ne,{actionsStart:i.actionsStart?ve(s,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ve(s,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?Ur(Wt,{alignment:"stretched",children:[ve(s,{text:"Apply",themeColor:"primary"}),ve(s,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};Oo.options=Zc;Oo.states=Qc;Oo.variants=jc;Oo.defaultOptions=ns;Oo.modifiers=eu;Oo.className=q.className;var Gr="slider",ls=Gr;import{jsx as Ro,jsxs as $r}from"react/jsx-runtime";var Xa="k-slider",tu=[n.hover,n.focus,n.active,n.disabled,n.readonly],ou={},Qe={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},D=e=>{let{type:t=Qe.type,orientation:o=Qe.orientation,gradientType:a=Qe.gradientType,readonly:i=Qe.readonly,disabled:l=Qe.disabled,handlePosition:d=Qe.handlePosition,showButtons:m=Qe.showButtons,showTicks:f=Qe.showTicks,value:h=Qe.value,min:b=Qe.min,max:N=Qe.max,startValue:c,endValue:v,hover:L,focus:I,active:S,trackStyle:M,dir:T,...w}=e,te=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),oe,de;return o==="horizontal"?(oe=T==="rtl"?"chevron-left":"chevron-right",de=T==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(oe="chevron-up",de="chevron-down"),$r("div",{...w,className:r(Xa,e.className,y(Xa,{readonly:i,disabled:l}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:T,children:[m&&Ro(s,{className:"k-button-decrease",rounded:"full",icon:de,tabIndex:-1,title:"Decrease"}),$r("div",{className:"k-slider-track-wrap",children:[f&&Ro("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),$r("div",{className:"k-slider-track",style:M,children:[Ro("div",{className:"k-slider-selection"}),t==="range"&&Ro("span",{className:r("k-draghandle","k-draghandle-start",y(Xa,{hover:L,focus:I,active:S})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":c??b,"aria-valuemin":b,"aria-valuemax":v??N,"aria-orientation":te,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":w["aria-label"]?`${w["aria-label"]} start`:"Range start"}),Ro("span",{className:r("k-draghandle",`k-draghandle-${d}`,y(Xa,{hover:L,focus:I,active:S})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":t==="range"?v??N:h,"aria-valuemin":t==="range"?c??b:b,"aria-valuemax":N,"aria-orientation":te,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?w["aria-label"]?`${w["aria-label"]} end`:"Range end":w["aria-label"]})]})]}),m&&Ro(s,{className:"k-button-increase",rounded:"full",icon:oe,tabIndex:-1,title:"Increase"})]})};D.states=tu;D.options=ou;D.className=Xa;D.defaultOptions=Qe;D.moduleName=Gr;D.folderName=ls;import{jsx as ss}from"react/jsx-runtime";var ds="k-tick",au=[],iu={},ps={label:!1},O=e=>{let{style:t,label:o=ps.label,orientation:a,large:i,text:l,...d}=e;return ss("li",{...d,role:"presentation",title:l||"Tick",className:r(e.className,ds,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&ss("span",{className:"k-label",children:l})})};O.states=au;O.options=iu;O.className=ds;O.defaultOptions=ps;import{Fragment as ru,jsx as je,jsxs as nu}from"react/jsx-runtime";var ms=e=>je(D,{"aria-label":e["aria-label"]||"Slider",children:nu(ru,{children:[je(O,{className:"k-first",label:!0,large:!0,text:"0"}),je(O,{}),je(O,{}),je(O,{}),je(O,{}),je(O,{label:!0,large:!0,text:"5"}),je(O,{}),je(O,{}),je(O,{}),je(O,{}),je(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as lu,jsx as et,jsxs as su}from"react/jsx-runtime";var cs=e=>et(D,{children:su(lu,{children:[et(O,{className:"k-first",label:!0,large:!0,text:"0"}),et(O,{}),et(O,{}),et(O,{}),et(O,{}),et(O,{label:!0,large:!0,text:"5"}),et(O,{}),et(O,{}),et(O,{}),et(O,{}),et(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as Xy,jsx as Vy,jsxs as Wy}from"react/jsx-runtime";import{Fragment as Qy,jsx as Zy,jsxs as jy}from"react/jsx-runtime";import{jsx as du}from"react/jsx-runtime";var Vr=e=>du(D,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pu}from"react/jsx-runtime";var Xr=e=>pu(D,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as pE,jsx as dE,jsxs as mE}from"react/jsx-runtime";import{Fragment as xE,jsx as bE,jsxs as hE}from"react/jsx-runtime";import{jsx as It,jsxs as us}from"react/jsx-runtime";var mu=D.options,cu=D.states,fs={...D.defaultOptions,variant:"horizontal",label:!0},uu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fu=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Po=e=>{let{variant:t,modifiers:o,...a}=e,i=fs.label,l={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{l.showButtons=!!o?.[m];break}case"label":{i=!!o?.[m];break}case"tick":{l.showTicks=!!o?.[m];break}}});let d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?us(cs,{style:{height:"300px",...d},...a,...l,children:[It(O,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),It(O,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),It(O,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),It(O,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),It(O,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):us(ms,{style:{width:"400px",...d},...a,...l,children:[It(O,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),It(O,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),It(O,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),It(O,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),It(O,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Po.options=mu;Po.states=cu;Po.variants=uu;Po.defaultOptions=fs;Po.modifiers=fu;Po.className=D.className;import{jsx as bs,jsxs as Nu}from"react/jsx-runtime";var xs="k-spin-button",hu=[],gu={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Wr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},St=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Wr.increaseLabel,decreaseLabel:l=Wr.decreaseLabel,...d}=e;return Nu("span",{...d,className:r(xs,e.className),children:[bs(s,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),bs(s,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":l})]})};St.states=hu;St.options=gu;St.className=xs;St.defaultOptions=Wr;St.moduleName=null;St.folderName=null;var hs="numeric-textbox",gs="numerictextbox";import{Fragment as Ns,jsx as Kt,jsxs as Jr}from"react/jsx-runtime";var vs="k-numerictextbox",vu=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],ku={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ei={showSpinButton:!0,showClearButton:!0,separators:!0},P=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ei.separators,showClearButton:l=Ei.showClearButton,showSpinButton:d=Ei.showSpinButton,prefix:m,suffix:f,value:h,placeholder:b,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:T,id:w,"aria-label":J,"aria-describedby":te,...oe}=e;return Jr(G,{...oe,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:T,className:r(e.className,vs),children:[m&&Jr(Ns,{children:[Kt(ue,{children:m}),i&&Kt(j,{})]}),Kt(me,{id:w,placeholder:b,value:h,role:"spinbutton",disabled:M,"aria-label":J,"aria-describedby":te,"aria-invalid":L?"true":void 0}),Kt(Q,{valid:v,invalid:L,loading:S,disabled:M}),Kt(ae,{loading:S,disabled:M}),l&&Kt(pe,{loading:S,disabled:M,readonly:T,value:h}),f&&Jr(Ns,{children:[i&&Kt(j,{}),Kt(fe,{children:f})]}),d&&Kt(St,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};P.states=vu;P.options=ku;P.className=vs;P.defaultOptions=Ei;P.moduleName=hs;P.folderName=gs;var Wa=P;import{jsx as Lu}from"react/jsx-runtime";var ks=e=>Lu(Wa,{...e});import Yr from"react";import{jsx as Ls}from"react/jsx-runtime";var Iu="k-list-group-sticky-header",qr=e=>Ls("div",{className:r(Iu,e.className),children:Ls("div",{className:"k-list-header-text",children:e.children})});import{jsx as Mu}from"react/jsx-runtime";var Su="k-no-data",Ci=e=>{let{live:t,...o}=e;return Mu("span",{...o,className:r(Su,e.className),"aria-live":t?"polite":void 0,children:e.children})};var so="list",wo=so;import{jsx as Is,jsxs as Ss}from"react/jsx-runtime";var Zr="k-list",yu=[],Eu={size:[p.undefined,p.small,p.medium,p.large]},Cu={},R=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:l,optionLabel:d,customValue:m,noData:f,screenReaders:h,...b}=e,c=Yr.Children.toArray(a)[0],v=c?.props?.children?Yr.Children.count(c.props.children):Yr.Children.count(a);return Ss("div",{...b,className:r(e.className,Zr,E(Zr,{size:t}),{"k-virtual-list":o}),children:[d,l,m,i&&Is(qr,{children:i}),a||(f!==void 0?f:Is(Ci,{live:!0,children:"No data found."})),h&&a&&Ss(Ci,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};R.states=yu;R.options=Eu;R.className=Zr;R.defaultOptions=Cu;R.moduleName=so;R.folderName=wo;import{jsx as Ou}from"react/jsx-runtime";var Ms="k-list-container",Bu=[],Tu={},Au={},Ko=e=>{let{...t}=e;return Ou("div",{...t,className:r(e.className,Ms),children:e.children})};Ko.states=Bu;Ko.options=Tu;Ko.className=Ms;Ko.defaultOptions=Au;Ko.moduleName=so;Ko.folderName=wo;var po="checkbox",zo=po;import{jsx as ys}from"react/jsx-runtime";var Bi="k-checkbox",Ru=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Pu={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},wu={},Re=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:l,disabled:d,invalid:m,valid:f,required:h,size:b,rounded:N,wrapperRole:c,...v}=e;return ys("span",{className:"k-checkbox-wrap",role:c,children:ys("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Bi,E(Bi,{size:b,rounded:N}),y(Bi,{hover:i,focus:l,disabled:d,invalid:m,valid:f,indeterminate:a,checked:o}))})})};Re.states=Ru;Re.options=Pu;Re.className=Bi;Re.defaultOptions=wu;Re.moduleName=po;Re.folderName=zo;var ft=Re;import{jsx as _u}from"react/jsx-runtime";var Es="k-checkbox-list",Ku=[],zu={},Cs={layout:"vertical"},Ee=e=>{let{layout:t=Cs.layout,...o}=e;return _u("ul",{...o,className:r(e.className,Es,{[`k-list-${t}`]:t}),children:e.children})};Ee.states=Ku;Ee.options=zu;Ee.className=Es;Ee.defaultOptions=Cs;Ee.moduleName=po;Ee.folderName=zo;import{jsx as Uu}from"react/jsx-runtime";var Bs="k-checkbox-list-item",Du=[],Fu={},Hu={},Ce=e=>{let{...t}=e;return Uu("li",{...t,className:r(e.className,Bs),children:e.children})};Ce.states=Du;Ce.options=Fu;Ce.className=Bs;Ce.defaultOptions=Hu;Ce.moduleName=po;Ce.folderName=zo;import{Fragment as Gu,jsx as Ts,jsxs as $u}from"react/jsx-runtime";var bt=({children:e="Label",id:t="cb-label-after",...o})=>$u(Gu,{children:[Ts(ft,{id:t,...o}),Ts("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as HC,jsx as FC,jsxs as UC}from"react/jsx-runtime";import{Fragment as WC,jsx as XC,jsxs as JC}from"react/jsx-runtime";import{Fragment as jC,jsx as QC,jsxs as eB}from"react/jsx-runtime";import{jsx as iB}from"react/jsx-runtime";import{jsx as sB}from"react/jsx-runtime";import{jsx as cB}from"react/jsx-runtime";import{jsx as tt,jsxs as As}from"react/jsx-runtime";var Vu=Ee.options,Xu=Ee.states,Wu={...Ee.defaultOptions,variant:"vertical"},Ju=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qu=[],_o=e=>{let{variant:t,...o}=e;return t==="horizontal"?As(Ee,{layout:"horizontal",...o,children:[tt(Ce,{children:tt(bt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),tt(Ce,{children:tt(bt,{id:B("cb"),children:"Label"})}),tt(Ce,{children:tt(bt,{id:B("cb"),children:"Label"})})]}):As(Ee,{...o,children:[tt(Ce,{children:tt(bt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),tt(Ce,{children:tt(bt,{id:B("cb"),children:"Label"})}),tt(Ce,{children:tt(bt,{id:B("cb"),children:"Label"})})]})};_o.options=Vu;_o.states=Xu;_o.variants=Ju;_o.defaultOptions=Wu;_o.modifiers=qu;_o.className=Ee.className;import{jsx as tf}from"react/jsx-runtime";var Yu=ft.options,Zu=ft.states,Qu=ft.defaultOptions,ju=[],ef=[],Do=e=>tf(bt,{id:B("checkbox"),...e,defaultChecked:!0,children:"Label"});Do.options=Yu;Do.states=Zu;Do.variants=ju;Do.defaultOptions=Qu;Do.modifiers=ef;Do.className=ft.className;import{jsx as Fo,jsxs as nf}from"react/jsx-runtime";var Qr="k-list-item",of=[n.hover,n.focus,n.selected,n.disabled],af={},rf={},C=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:l,hover:d,focus:m,selected:f,disabled:h,actions:b,description:N,id:c,...v}=e,L=t||e.children,I=t||(typeof L=="string"?L:void 0);return nf("li",{...v,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":h?"true":void 0,className:r(e.className,Qr,y(Qr,{hover:d,focus:m,disabled:h,selected:f})),children:[i&&Fo(Re,{checked:l,disabled:h,"aria-label":I,tabIndex:-1}),o&&Fo("span",{className:"k-list-item-icon-wrapper",children:Fo(g,{icon:o,className:r("k-list-item-icon",a)})}),Fo("span",{className:"k-list-item-text",children:L}),b&&Fo("div",{className:"k-list-item-actions",children:b}),N&&Fo("span",{className:"k-list-item-description",children:N})]})};C.states=of;C.options=af;C.className=Qr;C.defaultOptions=rf;C.moduleName=so;C.folderName=wo;import{jsx as sf}from"react/jsx-runtime";var lf="k-list-ul",Mt=e=>{let{children:t,role:o,id:a,...i}=e;return sf("ul",{...i,id:a,role:o,className:r(lf,e.className),children:t})};import{jsx as jr,jsxs as pf}from"react/jsx-runtime";var df="k-list-content",K=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:l,...d}=e;return pf("div",{...d,className:r(df,e.className),role:o?"listbox":void 0,id:o?l:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:jr(Mt,{role:"listbox",id:l,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&jr("div",{className:"k-height-container",children:jr("div",{})})]})};import{jsx as en,jsxs as ff}from"react/jsx-runtime";var Ti="k-list-sticky-header",mf=[n.hover,n.focus,n.selected],cf={},uf={},Ai=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:l,focus:d,selected:m,...f}=e;return en("div",{...f,className:r(Ti,e.className),children:ff("div",{className:r(`${Ti}-item`,y(`${Ti}-item`,{hover:l,focus:d,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&en(Re,{checked:a,indeterminate:i,"aria-label":t}),en("span",{className:"k-list-item-text",children:t})]})})};Ai.states=mf;Ai.options=cf;Ai.className=Ti;Ai.defaultOptions=uf;import{Fragment as nT,jsx as rT,jsxs as lT}from"react/jsx-runtime";import{jsx as cT,jsxs as uT}from"react/jsx-runtime";import{jsx as gf}from"react/jsx-runtime";var tn="k-list-optionlabel",bf=[n.hover,n.focus,n.selected,n.disabled],xf={},hf={},Oi=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...d}=e;return gf("div",{...d,className:r(tn,y(tn,{hover:o,focus:a,selected:i,disabled:l})),children:t})};Oi.states=bf;Oi.options=xf;Oi.className=tn;Oi.defaultOptions=hf;import{jsx as Lf}from"react/jsx-runtime";var on="k-list-custom-value",Nf=[n.hover,n.focus,n.selected,n.disabled],vf={},kf={},ot=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...d}=e;return Lf("div",{...d,className:r(on,y(on,{hover:o,focus:a,selected:i,disabled:l})),children:t})};ot.states=Nf;ot.options=vf;ot.className=on;ot.defaultOptions=kf;import{Fragment as MT,jsx as ST,jsxs as yT}from"react/jsx-runtime";import{Fragment as OT,jsx as AT,jsxs as RT}from"react/jsx-runtime";import{Fragment as FT,jsx as _T,jsxs as DT}from"react/jsx-runtime";import{Fragment as WT,jsx as VT,jsxs as XT}from"react/jsx-runtime";import{jsx as ZT}from"react/jsx-runtime";import{Fragment as aA,jsx as oA,jsxs as iA}from"react/jsx-runtime";import{Fragment as pA,jsx as dA,jsxs as mA}from"react/jsx-runtime";var Os="dropdown-list",Rs="dropdownlist";import{Fragment as Mf,jsx as Be,jsxs as an}from"react/jsx-runtime";var Ps="k-dropdownlist",If=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Sf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},rn={showValue:!0,arrowIconName:"chevron-down"},$=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=rn.arrowIconName,showValue:l=rn.showValue,valueIconName:d,prefix:m,suffix:f,value:h,placeholder:b,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:T,popup:w,opened:J,adaptive:te,adaptiveSettings:oe,adaptiveTitle:de,adaptiveSubtitle:no,adaptiveFilter:ht,id:Ot,activeDescendant:$t,"aria-label":Ta,...Aa}=e,Oa=Ot?`${Ot}-listbox`:void 0,ul=Ot?`${Ot}-value`:void 0;return an(Mf,{children:[an(vt,{...Aa,id:Ot,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:T,className:r(e.className,Ps,{"k-icon-picker":!l&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":J?"true":"false","aria-controls":J?Oa:void 0,"aria-activedescendant":J&&$t?$t:void 0,"aria-describedby":J?ul:void 0,"aria-disabled":M?"true":void 0,"aria-label":Ta,tabIndex:0,children:[Be(ue,{children:m}),Be(lo,{placeholder:b,value:h,showValue:l,valueIconName:d,id:ul}),Be(Q,{valid:v,invalid:L,loading:S,disabled:M}),Be(ae,{loading:S,disabled:M}),Be(fe,{children:f}),Be(s,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),J&&w&&Be(X,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:w}),te&&Be(q,{adaptive:!0,...oe,header:Be(Ne,{actionsEnd:Be(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ht,inputValue:h,inputPlaceholder:b,title:de,subtitle:no}),children:Be("div",{className:"k-list-container",children:Be(R,{size:"large",children:an(K,{"aria-label":"Options",children:[Be(C,{text:"List item"}),Be(C,{text:"List item"}),Be(C,{text:"List item"})]})})})})]})};$.states=If;$.options=Sf;$.className=Ps;$.defaultOptions=rn;$.moduleName=Os;$.folderName=Rs;import{jsx as XA}from"react/jsx-runtime";import{jsx as QA,jsxs as jA}from"react/jsx-runtime";import{Fragment as sO,jsx as nO,jsxs as lO}from"react/jsx-runtime";import{jsx as uO}from"react/jsx-runtime";import{jsx as NO,jsxs as vO}from"react/jsx-runtime";import{Fragment as BO,jsx as EO,jsxs as CO}from"react/jsx-runtime";import{jsx as PO}from"react/jsx-runtime";import{Fragment as Af,jsx as Zt,jsxs as ws}from"react/jsx-runtime";var yf=$.states,Ef=$.defaultOptions,Cf=$.options,Bf=[{name:"opened",title:"Opened"}],Tf=[],Uo=e=>{let{modifiers:t,...o}=e,a={},i=ws(Af,{children:[Zt("div",{className:"k-list-filter",children:Zt(Ze,{})}),Zt(R,{style:{width:300},size:o.size,children:ws(K,{children:[Zt(C,{children:"List item"}),Zt(C,{children:"List item"}),Zt(C,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(l=>{l==="opened"&&(a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0)}),Zt("div",{children:Zt($,{placeholder:"Value",style:{width:300},...o,...a})})};Uo.options=Cf;Uo.states=yf;Uo.variants=Tf;Uo.defaultOptions=Ef;Uo.modifiers=Bf;Uo.className=$.className;import{Fragment as oR,jsx as tR}from"react/jsx-runtime";import{Fragment as sR,jsx as lR}from"react/jsx-runtime";import{jsx as cR}from"react/jsx-runtime";import{jsx as nn}from"react/jsx-runtime";var Of=P.states,Rf=P.defaultOptions,Pf=P.options,wf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Kf=[],Go=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?nn($,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?nn(wt,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),nn(ks,{value:"Value",style:{width:300},...o,...a})};Go.options=Pf;Go.states=Of;Go.variants=Kf;Go.defaultOptions=Rf;Go.modifiers=wf;Go.className=P.className;import{Fragment as Ja,jsx as z,jsxs as ie}from"react/jsx-runtime";var Ks="k-colorgradient-inputs",zf=[],_f={size:[p.undefined,p.small,p.medium,p.large]},zs={mode:"rgba"},$o=e=>{let{mode:t=zs.mode,size:o,...a}=e;return ie("div",{...a,className:r(Ks,"k-hstack"),children:[z("div",{className:"k-vstack",children:z(s,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ie(Ja,{children:[ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),z("label",{className:"k-colorgradient-input-label",children:"R"})]}),ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),z("label",{className:"k-colorgradient-input-label",children:"G"})]}),ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),z("label",{className:"k-colorgradient-input-label",children:"B"})]}),ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),z("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ie(Ja,{children:[ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),z("label",{className:"k-colorgradient-input-label",children:"R"})]}),ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),z("label",{className:"k-colorgradient-input-label",children:"G"})]}),ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),z("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ie(Ja,{children:[ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),z("label",{className:"k-colorgradient-input-label",children:"H"})]}),ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),z("label",{className:"k-colorgradient-input-label",children:"S"})]}),ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),z("label",{className:"k-colorgradient-input-label",children:"V"})]}),ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),z("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ie(Ja,{children:[ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),z("label",{className:"k-colorgradient-input-label",children:"H"})]}),ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),z("label",{className:"k-colorgradient-input-label",children:"S"})]}),ie("div",{className:"k-vstack",children:[z(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),z("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&z(Ja,{children:ie("div",{className:"k-vstack k-flex-1",children:[z(H,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),z("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};$o.states=zf;$o.options=_f;$o.className=Ks;$o.defaultOptions=zs;import{jsx as co,jsxs as uo}from"react/jsx-runtime";var _s="k-colorgradient-color-contrast",Df=[],Ff={},Hf={},Vo=()=>uo("div",{className:r(_s,"k-vbox"),children:[uo("div",{className:"k-contrast-ratio",children:[co("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),uo("span",{className:"k-contrast-validation !k-text-success",children:[co(g,{icon:"check"}),co(g,{icon:"check"})]})]}),uo("div",{children:[co("span",{children:"AA: 4.5"}),uo("span",{className:"k-contrast-validation !k-text-success",children:["Pass",co(g,{icon:"check"})]})]}),uo("div",{children:[co("span",{children:"AAA: 7.0"}),uo("span",{className:"k-contrast-validation !k-text-error",children:["Fail",co(g,{icon:"x"})]})]})]});Vo.states=Df;Vo.options=Ff;Vo.className=_s;Vo.defaultOptions=Hf;var Ds="color-gradient",Fs="colorgradient";import{jsx as at,jsxs as qa}from"react/jsx-runtime";var Ri="k-colorgradient",Uf=[n.hover,n.focus,n.readonly,n.disabled],Gf={size:[p.undefined,p.small,p.medium,p.large]},yt={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"},ke=e=>{let{size:t,mode:o=yt.mode,readonly:a=yt.readonly,disabled:i=yt.disabled,gradientStyle:l=yt.gradientStyle,dragHandleStyle:d=yt.dragHandleStyle,alphaStyle:m=yt.alphaStyle,alphaStyleHorizontal:f=yt.alphaStyleHorizontal,contrast:h=yt.contrast,dir:b,hover:N,focus:c,hoverHandle:v,focusHandle:L,canvasOrientation:I=yt.canvasOrientation,role:S,tabIndex:M,...T}=e;return qa("div",{...T,role:S??"textbox","aria-label":S==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":i?"true":void 0,className:r(e.className,Ri,E(Ri,{size:t}),y(Ri,{hover:N,focus:c,readonly:a,disabled:i})),dir:b,children:[!I||I==="horizontal"&&qa("div",{className:"k-colorgradient-canvas k-hstack",children:[at("div",{className:"k-hsv-rectangle",style:l,children:at("div",{className:"k-hsv-gradient",children:at("div",{className:r("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})})}),qa("div",{className:"k-hsv-controls k-hstack",children:[at(Xr,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&at(Xr,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:m})]})]}),I==="vertical"&&qa("div",{className:"k-colorgradient-canvas k-vstack",children:[at("div",{className:"k-hsv-rectangle",style:l,children:at("div",{className:"k-hsv-gradient",children:at("div",{className:r("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})})}),qa("div",{className:"k-hsv-controls k-vstack",children:[at(Vr,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&at(Vr,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:f})]})]}),at($o,{mode:e.mode,size:t}),h&&at(Vo,{})]})};ke.states=Uf;ke.options=Gf;ke.className=Ri;ke.defaultOptions=yt;ke.moduleName=Ds;ke.folderName=Fs;import{jsx as $f}from"react/jsx-runtime";var Pi=e=>$f(ke,{...e});import{jsx as ZR}from"react/jsx-runtime";import{jsx as tP}from"react/jsx-runtime";import{jsx as ln}from"react/jsx-runtime";var Vf=ke.options,Xf=ke.states,Wf={...ke.defaultOptions,variant:"rgba"},Jf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],qf=[],Xo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return ln(Pi,{...o,mode:t});case"rgb":return ln(Pi,{...o,mode:t});default:return ln(Pi,{...o,mode:t})}};Xo.options=Vf;Xo.states=Xf;Xo.variants=Jf;Xo.defaultOptions=Wf;Xo.modifiers=qf;Xo.className=ke.className;import{jsx as Yf}from"react/jsx-runtime";var sn=e=>Yf("tr",{role:"row",children:e.children});import{jsx as jf}from"react/jsx-runtime";var dn="k-colorpalette-tile",Zf=[n.hover,n.focus,n.selected],Qf={},Qt=e=>{let{color:t,tileSize:o,hover:a,focus:i,selected:l,...d}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return jf("td",{...d,role:"gridcell","aria-label":t,"aria-selected":l?"true":void 0,className:r(e.className,dn,y(dn,{hover:a,focus:i,selected:l})),style:m})};Qt.states=Zf;Qt.options=Qf;Qt.className=dn;Qt.moduleName=null;Qt.folderName=null;var Hs="color-palette",Us="colorpalette";import{jsx as Ya}from"react/jsx-runtime";var wi="k-colorpalette",eb=[n.disabled],tb={size:[p.undefined,p.small,p.medium,p.large]},Gs={columns:10},Pe=e=>{let{size:t,palette:o,columns:a=Gs.columns,tileSize:i,disabled:l,...d}=e,m=[];if(o){let f=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/f)},(b,N)=>{let c=[];h.slice(N*f,(N+1)*f).map((L,I)=>{c.push(Ya(Qt,{color:L,tileSize:i},I))});let v=Ya(sn,{children:c},N);m.push(v)})}return Ya("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":l?"true":void 0,className:r(e.className,wi,y(wi,{disabled:l}),E(wi,{size:t})),children:Ya("table",{className:"k-colorpalette-table",role:"none",children:Ya("tbody",{children:m.length>0?m:e.children})})})};Pe.states=eb;Pe.options=tb;Pe.className=wi;Pe.defaultOptions=Gs;Pe.moduleName=Hs;Pe.folderName=Us;var Ki=Pe;var Za={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 ob}from"react/jsx-runtime";var $s=e=>ob(Ki,{palette:Za.basic,...e});import{jsx as KP}from"react/jsx-runtime";import{jsx as UP,jsxs as GP}from"react/jsx-runtime";import{jsx as db}from"react/jsx-runtime";var ab=Pe.options,ib=Pe.states,rb={...Pe.defaultOptions,variant:"basic"},nb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],lb={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}},sb=[],Wo=e=>{let{variant:t="basic",...o}=e,a=lb[t];return db($s,{columns:a.columns,palette:a,...o})};Wo.options=ab;Wo.states=ib;Wo.variants=nb;Wo.defaultOptions=rb;Wo.modifiers=sb;Wo.className=Pe.className;var Vs="color-editor",Xs="coloreditor";import{jsx as it,jsxs as Jo}from"react/jsx-runtime";var zi="k-coloreditor",pb=[n.focus],mb={size:[p.undefined,p.small,p.medium,p.large]},Qa={view:"gradient",palette:Za.office,actionButtons:!0,canvasOrientation:"horizontal"},re=e=>{let{size:t,view:o=Qa.view,palette:a=Qa.palette,color:i,currentColor:l,focus:d,focusView:m,dir:f,group:h,actionButtons:b=Qa.actionButtons,canvasOrientation:N=Qa.canvasOrientation,...c}=e;return Jo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",zi,E(zi,{size:t}),y(zi,{focus:d})),dir:f,children:[Jo("div",{className:"k-coloreditor-header k-hstack",children:[it("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&Jo(A,{fillMode:"flat",children:[it(s,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),it(s,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),it("div",{className:"k-spacer"}),Jo("div",{className:"k-coloreditor-header-actions k-hstack",children:[it(s,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Jo("div",{className:"k-coloreditor-preview k-vstack",children:[it(Xt,{className:"k-coloreditor-preview-color",color:i}),it(Xt,{className:"k-coloreditor-current-color",color:l})]})]})]}),it("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?it(ke,{focus:m,size:t,canvasOrientation:N,role:"none",tabIndex:-1}):it(Pe,{palette:a,size:t})}),b&&Jo(He,{className:"k-coloreditor-footer",alignment:"start",children:[it(s,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),it(s,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};re.states=pb;re.options=mb;re.className=zi;re.defaultOptions=Qa;re.moduleName=Vs;re.folderName=Xs;var qo=re;import{jsx as gw}from"react/jsx-runtime";import{jsx as Lw}from"react/jsx-runtime";import{jsx as cb}from"react/jsx-runtime";var Ws=e=>cb(qo,{group:!0,currentColor:"fuchsia",...e});import{jsx as ub}from"react/jsx-runtime";var Js=e=>ub(qo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as qs}from"react/jsx-runtime";var fb=re.options,bb=re.states,xb={...re.defaultOptions,variant:"gradient"},hb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],gb=[],Yo=e=>{let{variant:t,...o}=e;return t==="palette"?qs(Js,{...o,color:"white"}):qs(Ws,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Yo.options=fb;Yo.states=bb;Yo.variants=hb;Yo.defaultOptions=xb;Yo.modifiers=gb;Yo.className=re.className;var Ys="color-picker",Zs="colorpicker";import{Fragment as kb,jsx as rt,jsxs as pn}from"react/jsx-runtime";var Qs="k-colorpicker",Nb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],vb={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},js={arrowIconName:"chevron-down"},Le=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=js.arrowIconName,prefix:l,suffix:d,value:m,placeholder:f,hover:h,focus:b,valid:N,invalid:c,required:v,disabled:L,valueIconName:I,popup:S,opened:M,adaptive:T,adaptiveSettings:w,adaptiveTitle:J,adaptiveSubtitle:te,...oe}=e,de="colorpicker-popup";return pn(kb,{children:[pn(vt,{...oe,size:t,rounded:o,fillMode:a,hover:h,focus:b,valid:N,invalid:c,required:v,disabled:L,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||T?de:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":L?"true":void 0,className:r(e.className,Qs,"k-icon-picker"),children:[rt(ue,{children:l}),rt(lo,{placeholder:f,value:m,showValue:!1,valueIcon:rt(Xt,{className:"k-value-icon",color:m,iconName:I}),valueIconName:I}),rt(fe,{children:d}),rt(s,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:L})]}),M&&S&&rt(X,{id:de,className:"k-colorpicker-popup",children:S}),T&&rt(q,{adaptive:!0,id:de,...w,header:rt(Ne,{actionsEnd:rt(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:J,subtitle:te}),footer:pn(Wt,{children:[rt(s,{text:"Cancel",size:"large"}),rt(s,{text:"Set",size:"large",themeColor:"primary"})]}),children:rt(re,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Le.states=Nb;Le.options=vb;Le.className=Qs;Le.defaultOptions=js;Le.moduleName=Ys;Le.folderName=Zs;var zt=Le;import{jsx as Lb}from"react/jsx-runtime";var _i=e=>Lb(zt,{...e});import{jsx as r0}from"react/jsx-runtime";import{jsx as p0}from"react/jsx-runtime";import{jsx as f0}from"react/jsx-runtime";import{jsx as g0}from"react/jsx-runtime";import{jsx as L0}from"react/jsx-runtime";import{jsx as y0}from"react/jsx-runtime";import{jsx as fo}from"react/jsx-runtime";var Ib=zt.options,Sb=zt.states,ed={...zt.defaultOptions,variant:"color"},Mb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],yb=[{name:"opened",title:"Opened"}],Zo=e=>{let{variant:t,modifiers:o,...a}={...ed,...e},i={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?fo(re,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let l=i.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return fo("div",{style:l,children:fo(_i,{...a,...i})});case"icon":return fo("div",{style:l,children:fo(_i,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return fo("div",{style:l,children:fo(_i,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};Zo.options=Ib;Zo.states=Sb;Zo.variants=Mb;Zo.defaultOptions=ed;Zo.modifiers=yb;Zo.className=zt.className;var mn="combobox",td=mn;import{Fragment as cn,jsx as ce,jsxs as ja}from"react/jsx-runtime";var od="k-combobox",Eb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Cb={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},un={separators:!0,showClearButton:!0},Ie=e=>{let{size:t,rounded:o,fillMode:a,separators:i=un.separators,showClearButton:l=un.showClearButton,prefix:d,suffix:m,value:f,placeholder:h,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,popup:M,opened:T,readonly:w,adaptive:J,adaptiveSettings:te,adaptiveTitle:oe,adaptiveSubtitle:de,adaptiveCustomValue:no,id:ht,autocomplete:Ot,activeDescendant:$t,"aria-label":Ta,...Aa}=e,Oa=ht?`${ht}-listbox`:void 0;return ja(cn,{children:[ja(G,{...Aa,size:t,rounded:o,fillMode:a,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:w,className:r(e.className,od),children:[d&&ja(cn,{children:[ce(ue,{children:d}),i&&ce(j,{})]}),ce(me,{id:ht,placeholder:h,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Oa:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Ot,"aria-invalid":v?"true":void 0,"aria-busy":I?"true":void 0,"aria-label":Ta,disabled:S,readOnly:w}),ce(Q,{valid:c,invalid:v,loading:I,disabled:S}),ce(ae,{loading:I,disabled:S}),l&&ce(pe,{loading:I,disabled:S,readonly:w,value:f}),m&&ja(cn,{children:[i&&ce(j,{}),ce(fe,{children:m})]}),ce(s,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),T&&M&&ce(X,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:M}),J&&ce(q,{adaptive:!0,id:ht?`${ht}-adaptive`:void 0,...te,header:ce(Ne,{actionsEnd:ce(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:h,title:oe,subtitle:de}),children:ce("div",{className:"k-list-container",children:ce(R,{customValue:no?ce(ot,{text:`Use "${f}"`}):void 0,size:"large",children:ja(K,{"aria-label":oe||"Options",children:[ce(C,{text:"List item"}),ce(C,{text:"List item"}),ce(C,{text:"List item"})]})})})})]})};Ie.states=Eb;Ie.options=Cb;Ie.className=od;Ie.defaultOptions=un;Ie.moduleName=mn;Ie.folderName=td;var Ue=Ie;import{jsx as Bb}from"react/jsx-runtime";var ad=e=>Bb(Ue,{...e});import{jsx as sK,jsxs as dK}from"react/jsx-runtime";import{jsx as bK,jsxs as xK}from"react/jsx-runtime";import{jsx as LK,jsxs as IK}from"react/jsx-runtime";import{Fragment as BK,jsx as CK}from"react/jsx-runtime";import{Fragment as wK,jsx as PK}from"react/jsx-runtime";import{jsx as HK,jsxs as UK}from"react/jsx-runtime";import{Fragment as YK,jsx as JK,jsxs as qK}from"react/jsx-runtime";import{jsx as ez}from"react/jsx-runtime";import{jsx as iz}from"react/jsx-runtime";import{jsx as pz,jsxs as mz}from"react/jsx-runtime";import{jsx as hz,jsxs as gz}from"react/jsx-runtime";import{jsx as jt,jsxs as wb}from"react/jsx-runtime";var Tb=Ie.states,Ab=Ie.defaultOptions,Ob=Ie.options,Rb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Pb=[],Qo=e=>{let{modifiers:t,...o}=e,a={},i=jt(R,{style:{width:300},size:o.size,children:wb(K,{children:[jt(C,{children:"List item"}),jt(C,{children:"List item"}),jt(C,{children:"List item"})]})});return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?jt(g,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[l]?jt(Rt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0;break;default:break}}),jt("div",{children:jt(ad,{value:"Value",style:{width:300},...o,...a})})};Qo.options=Ob;Qo.states=Tb;Qo.variants=Pb;Qo.defaultOptions=Ab;Qo.modifiers=Rb;Qo.className=Ie.className;var fn="menu-button",id=fn;import{jsx as _b}from"react/jsx-runtime";var rd="k-menu-button",Kb=[n.hover,n.focus,n.active,n.selected,n.disabled],zb={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},bn={showArrow:!0,arrowIconName:"chevron-down"},V=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,icon:b,endIcon:N,text:c,showArrow:v=bn.showArrow,arrowIconName:L=bn.arrowIconName,expanded:I,...S}=e;return _b(s,{...S,className:r(e.className,rd),text:c,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,ariaDisabled:h||void 0,icon:b,endIcon:N,showArrow:v,arrowIconName:L,"aria-expanded":I?"true":"false",...!c&&b&&!e["aria-label"]&&{"aria-label":"Menu"}})};V.states=Kb;V.options=zb;V.className=rd;V.defaultOptions=bn;V.moduleName=fn;V.folderName=id;import{jsx as Zz}from"react/jsx-runtime";import{jsx as t_}from"react/jsx-runtime";import{jsx as r_}from"react/jsx-runtime";import{jsx as d_}from"react/jsx-runtime";var Ge="menu",nt=Ge;import{jsx as ti,jsxs as nd}from"react/jsx-runtime";var xn="k-menu-item",Db=[n.hover,n.focus,n.active,n.selected,n.disabled],Fb={},ld={iconPosition:"before"},Me=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:d,text:m,showArrow:f,arrowIconName:h,iconPosition:b=ld.iconPosition,dir:N,children:c,expanded:v,...L}=e,I=h;return I||(I=N==="rtl"?"chevron-left":"chevron-right"),nd("li",{...L,className:r(e.className,xn,"k-item",y(xn,{focus:o,disabled:l,hover:t,active:a,selected:i})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":v?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[nd("span",{className:r("k-link k-menu-link"),children:[d&&b==="before"&&ti(g,{className:"k-menu-link-icon",icon:d}),ti("span",{className:"k-menu-link-text",children:m}),d&&b==="after"&&ti(g,{className:"k-menu-link-icon",icon:d}),f&&ti("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ti(g,{icon:I})})]}),c]})};Me.states=Db;Me.options=Fb;Me.className=xn;Me.defaultOptions=ld;Me.moduleName=Ge;Me.folderName=nt;import{jsx as bo,jsxs as sd}from"react/jsx-runtime";var hn="k-menu-item",Hb=[n.hover,n.focus,n.active,n.selected,n.disabled],Ub={},gn={dir:"ltr",iconPosition:"before"},Y=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:d,text:m,showArrow:f,arrowIconName:h,iconPosition:b=gn.iconPosition,dir:N=gn.dir,children:c,popup:v,expanded:L,actions:I,description:S,...M}=e,T=h;return T||(T=N==="rtl"?"chevron-left":"chevron-right"),sd("li",{role:"menuitem",...M,className:r(e.className,hn,"k-item",y(hn,{focus:o,disabled:l})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":L?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[sd("span",{className:r("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:i,disabled:l})),children:[d&&b==="before"&&bo(g,{className:"k-menu-link-icon",icon:d}),bo("span",{className:"k-menu-link-text",children:m}),d&&b==="after"&&bo(g,{className:"k-menu-link-icon",icon:d}),I&&bo("span",{className:"k-menu-link-actions",children:I}),f&&bo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:bo(g,{icon:T})}),S&&bo("span",{className:"k-menu-link-description",children:S})]}),c,v]})};Y.states=Hb;Y.options=Ub;Y.className=hn;Y.defaultOptions=gn;Y.moduleName=Ge;Y.folderName=nt;import{jsx as Xb}from"react/jsx-runtime";var dd="k-menu-scroll-wrapper",Gb=[],$b={},Vb={},xo=e=>{let{className:t,children:o,orientation:a,...i}=e;return Xb("div",{...i,className:r(t,dd,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};xo.states=Gb;xo.options=$b;xo.className=dd;xo.defaultOptions=Vb;xo.moduleName=Ge;xo.folderName=nt;var pd=xo;import{Fragment as Nn,jsx as ho,jsxs as Di}from"react/jsx-runtime";var Fi="k-menu",Wb=[],Jb={size:[p.undefined,p.small,p.medium,p.large]},Hi={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Se=e=>{let{children:t,orientation:o=Hi.orientation,header:a=Hi.header,scrollable:i,scrollButtonsPosition:l=Hi.scrollButtonsPosition,wrapperStyles:d,dir:m,size:f,popup:h,contextMenu:b,...N}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},v=ho("ul",{dir:m,...N,className:r(e.className,"k-reset",Fi,{[`${Fi}-${o}`]:o,"k-header":a},E(Fi,{size:f})),role:b?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Di(Nn,{children:[i?Di(pd,{orientation:o,style:d,dir:e.dir,children:[l==="start"&&Di(Nn,{children:[ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),l==="around"&&ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),v,l==="end"&&Di(Nn,{children:[ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),l==="around"&&ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):v,h]})};Se.states=Wb;Se.options=Jb;Se.className=Fi;Se.defaultOptions=Hi;Se.moduleName=Ge;Se.folderName=nt;import{jsx as qb}from"react/jsx-runtime";var vn="k-separator",md={orientation:"horizontal"},jo=e=>{let{orientation:t=md.orientation,...o}=e;return qb("li",{...o,className:r(e.className,"k-item",vn,{[`${vn}-${t}`]:t}),role:"separator"})};jo.className=vn;jo.defaultOptions=md;jo.moduleName=Ge;jo.folderName=nt;import{Fragment as __,jsx as D_}from"react/jsx-runtime";import{jsx as jb}from"react/jsx-runtime";var kn="k-menu-group",Yb=[],Zb={size:[p.undefined,p.small,p.medium,p.large]},Qb={},ye=e=>{let{children:t,size:o,...a}=e;return jb("ul",{role:"menu",...a,className:r(e.className,kn,E(kn,{size:o})),children:t})};ye.states=Yb;ye.options=Zb;ye.className=kn;ye.defaultOptions=Qb;ye.moduleName=Ge;ye.folderName=nt;import{jsx as J_,jsxs as q_}from"react/jsx-runtime";import{Fragment as ex,jsx as ea,jsxs as tx}from"react/jsx-runtime";var Ln=e=>ea(Se,{children:tx(ex,{children:[ea(Me,{text:"Item 1"}),ea(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),ea(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),ea(Me,{text:"Item 4"}),ea(Me,{text:"Item 5"})]}),...e});import{Fragment as rD,jsx as aD,jsxs as iD}from"react/jsx-runtime";import{Fragment as pD,jsx as dD,jsxs as mD}from"react/jsx-runtime";import{Fragment as xD,jsx as bD,jsxs as hD}from"react/jsx-runtime";import{Fragment as LD,jsx as kD,jsxs as ID}from"react/jsx-runtime";import{jsx as go,jsxs as nx}from"react/jsx-runtime";var ox={...Se.options,scrollable:{type:"boolean"}},ax=Se.states,cd={...Se.defaultOptions,variant:"horizontal"},ix=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rx=[{name:"opened",title:"Opened"}],ta=e=>{let{variant:t,modifiers:o,...a}={...cd,...e},i={},l=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?go(X,{className:"k-menu-popup",offset:l,children:nx(ye,{children:[go(Y,{text:"Item 1"}),go(Y,{text:"Item 2"}),go(jo,{}),go(Y,{text:"Item 3"})]})}):null)}),t==="vertical"?go(Ln,{...a,...i,orientation:"vertical",style:{width:"200px"}}):go(Ln,{...a,...i})};ta.options=ox;ta.states=ax;ta.variants=ix;ta.defaultOptions=cd;ta.modifiers=rx;ta.className=Se.className;import{Fragment as o1,jsx as e1,jsxs as t1}from"react/jsx-runtime";import{jsx as n1}from"react/jsx-runtime";import{Fragment as mx,jsx as Et,jsxs as ud}from"react/jsx-runtime";var lx=s.states,fd={...s.defaultOptions,variant:"text"},sx=s.options,dx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],px=[{name:"opened",title:"Opened"}],oa=e=>{let{variant:t,modifiers:o,...a}={...fd,...e},i={},l=Et(X,{className:"k-menu-popup",children:ud(ye,{size:a.size,children:[Et(Y,{text:"Menu Item"}),Et(Y,{text:"Menu Item"}),Et(Y,{text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=Et("div",{children:Et(V,{...a,...i,icon:"star"})});break;case"icon-and-text":d=Et("div",{children:Et(V,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:d=Et("div",{children:Et(V,{...a,...i,children:"Dropdown Button"})});break}return ud(mx,{children:[d,o?.opened&&l]})};oa.options=sx;oa.states=lx;oa.variants=dx;oa.defaultOptions=fd;oa.modifiers=px;oa.className=V.className;var In="split-button",bd=In;import{Fragment as fx,jsx as Sn,jsxs as xd}from"react/jsx-runtime";var Mn="k-split-button",cx=[n.hover,n.focus,n.active,n.selected,n.disabled],ux={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},hd={arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,icon:b,endIcon:N,text:c,arrowIconName:v=hd.arrowIconName,popup:L,opened:I,popupId:S,...M}=e;return xd(fx,{children:[xd("div",{...M,className:r(e.className,Mn,"k-button-group",E(Mn,{rounded:o})),children:[Sn(s,{text:c,icon:b,endIcon:N,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,...!c&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),Sn(s,{className:"k-split-button-arrow",icon:v,size:t,rounded:o,fillMode:a,disabled:h,ariaDisabled:h||void 0,"aria-label":"Toggle dropdown","aria-expanded":I?"true":"false","aria-controls":I?S:void 0,tabIndex:-1})]}),I&&L&&Sn(X,{className:"k-menu-popup",children:L})]})};_.states=cx;_.options=ux;_.className=Mn;_.defaultOptions=hd;_.moduleName=In;_.folderName=bd;var yn=_;import{jsx as xx}from"react/jsx-runtime";var bx="k-toolbar-separator",be=e=>xx("div",{className:r(bx,e.className,"k-separator")});var No="toolbar",aa=No;import{Fragment as En,jsx as F,jsxs as ia}from"react/jsx-runtime";var _t="k-toolbar",hx=[n.focus],gx={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Nx={scrollButtons:"around"},W=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:l,scrollButtons:d,scrollingPosition:m,section:f,...h}=e,b=[],N=(c,v)=>{let L=[];if(c.type===s&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))L.push(F(s,{...c.props,className:`${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===s)L.push(F(s,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===za)L.push(F(za,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===Rt)L.push(F(Rt,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===V)L.push(F(V,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===yn)L.push(F(yn,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===A||c.props.className&&c.props.className.includes("k-button-group")){let I=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((M,T)=>{I.push(F(s,{...M.props,className:`${M.props.className?M.props.className:""}`},`${T}-${new Date().getTime()}`))}),L.push(F(A,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:I},`${v}-${new Date().getTime()}`))}else c.type===Ie?L.push(F(Ie,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===$?L.push(F($,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===Le?L.push(F(Le,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):L.push(c);L.forEach(I=>{b.push(I)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,L)=>{N(v,L)}),ia("div",{...h,className:r(e.className,_t,E(_t,{size:t,fillMode:o}),y(_t,{focus:a}),{[`${_t}-resizable`]:i,[`${_t}-scrollable`]:l,[`${_t}-scrollable-overlay`]:l&&d==="hidden",[`${_t}-scrollable-${m}`]:m&&m!=="both",[`${_t}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!l&&b,l&&d==="hidden"&&F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),l&&d==="start"&&ia(En,{children:[ia(A,{children:[F("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(g,{className:"k-button-icon",icon:"chevron-left"})}),F("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(g,{className:"k-button-icon",icon:"chevron-right"})})]}),F(be,{className:"k-toolbar-button-separator"}),F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),l&&d==="end"&&ia(En,{children:[F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),F(be,{className:"k-toolbar-button-separator"}),ia(A,{children:[F("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(g,{className:"k-button-icon",icon:"chevron-left"})}),F("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(g,{className:"k-button-icon",icon:"chevron-right"})})]})]}),l&&(d==="around"||!d)&&ia(En,{children:[F("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(g,{className:"k-button-icon",icon:"chevron-left"})}),F(be,{className:"k-toolbar-button-separator"}),F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),F(be,{className:"k-toolbar-button-separator"}),F("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(g,{className:"k-button-icon",icon:"chevron-right"})})]})]})};W.states=hx;W.options=gx;W.className=_t;W.defaultOptions=Nx;W.moduleName=No;W.folderName=aa;import{jsx as Ix}from"react/jsx-runtime";var Cn="k-toolbar-item",vx=[n.focus],kx={},Lx={},xt=e=>{let{focus:t,...o}=e;return Ix("div",{...o,className:r(e.className,Cn,y(Cn,{focus:t})),children:e.children})};xt.states=vx;xt.options=kx;xt.className=Cn;xt.defaultOptions=Lx;xt.moduleName=No;xt.folderName=aa;import{jsx as gd}from"react/jsx-runtime";var Nd="k-toolbar-popup",Sx=[],Mx={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},yx={},vo=e=>{let{size:t,fillMode:o,section:a,...i}=e;return gd(X,{...i,className:r(e.className,Nd),children:a?gd("span",{className:r("k-toolbar-items-list",E("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};vo.states=Sx;vo.options=Mx;vo.className=Nd;vo.defaultOptions=yx;vo.moduleName=No;vo.folderName=aa;var Ui=vo;import{jsx as nF}from"react/jsx-runtime";import{jsx as pF}from"react/jsx-runtime";import{jsx as fF}from"react/jsx-runtime";import{jsx as gF}from"react/jsx-runtime";import{jsx as SF,jsxs as MF}from"react/jsx-runtime";import{jsx as BF}from"react/jsx-runtime";import{jsx as Dt,jsxs as Ax}from"react/jsx-runtime";var Ex=_.states,vd={..._.defaultOptions,variant:"text"},Cx=_.options,Bx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Tx=[{name:"opened",title:"Opened"}],ra=e=>{let{variant:t,modifiers:o,...a}={...vd,...e},i={},l=Ax(ye,{size:a.size,children:[Dt(Y,{text:"Menu Item"}),Dt(Y,{text:"Menu Item"}),Dt(Y,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?l:"")}),t){case"icon-only":return Dt("div",{children:Dt(_,{...a,...i,icon:"star"})});case"icon-and-text":return Dt("div",{children:Dt(_,{...a,...i,icon:"star",children:"Split Button"})});default:return Dt("div",{children:Dt(_,{...a,...i,children:"Split Button"})})}};ra.options=Cx;ra.states=Ex;ra.variants=Bx;ra.defaultOptions=vd;ra.modifiers=Tx;ra.className=_.className;import{jsx as ko,jsxs as Ox}from"react/jsx-runtime";var kd=e=>ko(W,{children:[ko(s,{children:"Button"},"toolbar-button"),ko(V,{text:"Menu button"},"toolbar-menu-button"),ko(_,{children:"Split button"},"toolbar-split-button"),Ox(A,{children:[ko(s,{className:"k-group-start",icon:"align-left",children:"Left"}),ko(s,{icon:"align-center",children:"Center"}),ko(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as rH,jsxs as nH}from"react/jsx-runtime";import{jsx as $e,jsxs as Ld}from"react/jsx-runtime";var Id=e=>$e(W,{scrollable:!0,...e,children:[$e(s,{children:"Button"},"toolbar-button"),$e(V,{text:"Menu button"},"toolbar-menu-button"),$e(_,{children:"Split button"},"toolbar-split-button"),Ld(A,{children:[$e(s,{className:"k-group-start",icon:"align-left",children:"Left"}),$e(s,{icon:"align-center",children:"Center"}),$e(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),$e(s,{children:"Button"},"toolbar-button"),$e(V,{text:"Menu button"},"toolbar-menu-button"),$e(_,{children:"Split button"},"toolbar-split-button"),Ld(A,{children:[$e(s,{className:"k-group-start",icon:"align-left",children:"Left"}),$e(s,{icon:"align-center",children:"Center"}),$e(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Ve,jsxs as Sd}from"react/jsx-runtime";var Md=({scrollingPosition:e="start",...t})=>Ve(W,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Ve(s,{children:"Button"},"toolbar-button"),Ve(V,{text:"Menu button"},"toolbar-menu-button"),Ve(_,{children:"Split button"},"toolbar-split-button"),Sd(A,{children:[Ve(s,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(s,{icon:"align-center",children:"Center"}),Ve(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ve(s,{children:"Button"},"toolbar-button"),Ve(V,{text:"Menu button"},"toolbar-menu-button"),Ve(_,{children:"Split button"},"toolbar-split-button"),Sd(A,{children:[Ve(s,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(s,{icon:"align-center",children:"Center"}),Ve(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Rx,jsx as we,jsxs as Gi}from"react/jsx-runtime";var yd=({fillMode:e,size:t,...o})=>Gi(Rx,{children:[we(W,{section:!0,fillMode:e,size:t,children:[we(s,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Gi(A,{fillMode:e,children:[we(s,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),we(s,{icon:"align-center",fillMode:e,size:t,children:"Center"}),we(s,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),we(be,{className:"k-toolbar-button-separator"}),we(s,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Gi(Ui,{size:t,fillMode:e,section:!0,...o,children:[we(_,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),we(s,{fillMode:e,size:t,children:"Button"},"toolbar-button"),we(be,{}),we(V,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Gi(A,{fillMode:e,children:[we(s,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),we(s,{icon:"align-center",fillMode:e,size:t,children:"Center"}),we(s,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as DH,jsx as zH,jsxs as _H}from"react/jsx-runtime";import{Fragment as YH,jsx as JH,jsxs as qH}from"react/jsx-runtime";import{jsx as eo}from"react/jsx-runtime";var Px=W.options,wx=W.states,Ed={...W.defaultOptions,variant:"default"},Kx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],zx=[],na=e=>{let{variant:t,...o}={...Ed,...e};switch(t){case"responsive":return eo("div",{children:eo(yd,{style:{width:"583px"},...o})});case"overlay":return eo("div",{children:eo(Md,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return eo("div",{children:eo(Id,{style:{width:"583px"},...o})});default:return eo("div",{children:eo(kd,{style:{width:"583px"},...o})})}};na.options=Px;na.states=wx;na.variants=Kx;na.defaultOptions=Ed;na.modifiers=zx;na.className=W.className;var Bn="autocomplete",Cd=Bn;import{Fragment as Tn,jsx as xe,jsxs as oi}from"react/jsx-runtime";var Bd="k-autocomplete",_x=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Dx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},An={separators:!0,showClearButton:!0},Ke=e=>{let{size:t,rounded:o,fillMode:a,separators:i=An.separators,showClearButton:l=An.showClearButton,prefix:d,suffix:m,value:f,placeholder:h,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,popup:M,opened:T,readonly:w,adaptive:J,adaptiveSettings:te,adaptiveTitle:oe,adaptiveSubtitle:de,adaptiveCustomValue:no,id:ht,autocomplete:Ot,activeDescendant:$t,"aria-label":Ta,...Aa}=e,Oa=ht?`${ht}-listbox`:void 0;return oi(Tn,{children:[oi(G,{...Aa,size:t,rounded:o,fillMode:a,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:w,className:r(e.className,Bd),children:[d&&oi(Tn,{children:[xe(ue,{children:d}),i&&xe(j,{})]}),xe(me,{placeholder:h,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Oa:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Ot,"aria-invalid":v?"true":void 0,"aria-busy":I?"true":void 0,"aria-label":Ta,disabled:S,readOnly:w}),xe(Q,{valid:c,invalid:v,loading:I,disabled:S}),xe(ae,{loading:I,disabled:S}),l&&xe(pe,{loading:I,disabled:S,readonly:w,value:f}),m&&oi(Tn,{children:[i&&xe(j,{}),xe(fe,{children:m})]})]}),T&&M&&xe(X,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:M}),J&&xe(q,{adaptive:!0,...te,header:xe(Ne,{actionsEnd:xe(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:h,title:oe,subtitle:de}),children:xe("div",{className:"k-list-container",children:xe(R,{customValue:no?xe(ot,{text:`Use "${f}"`}):void 0,size:"large",children:oi(K,{"aria-label":"Options",children:[xe(C,{text:"List item"}),xe(C,{text:"List item"}),xe(C,{text:"List item"})]})})})})]})};Ke.states=_x;Ke.options=Dx;Ke.className=Bd;Ke.defaultOptions=An;Ke.moduleName=Bn;Ke.folderName=Cd;var Ct=Ke;import{jsx as Fx}from"react/jsx-runtime";var Td=e=>Fx(Ct,{id:B("ac"),"aria-label":"Search",...e});import{jsx as _2,jsxs as D2}from"react/jsx-runtime";import{jsx as $2}from"react/jsx-runtime";import{Fragment as Z2,jsx as Y2}from"react/jsx-runtime";import{Fragment as i3,jsx as a3}from"react/jsx-runtime";import{jsx as p3,jsxs as m3}from"react/jsx-runtime";import{jsx as h3,jsxs as g3}from"react/jsx-runtime";import{jsx as S3,jsxs as M3}from"react/jsx-runtime";import{jsx as T3}from"react/jsx-runtime";import{jsx as Lo,jsxs as Xx}from"react/jsx-runtime";var Hx=H.states,Ux=H.defaultOptions,Gx=H.options,$x=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Vx=[],la=e=>{let{modifiers:t,...o}=e,a={},i=Lo(R,{style:{width:300},size:o.size,children:Xx(K,{children:[Lo(C,{children:"List item"}),Lo(C,{children:"List item"}),Lo(C,{children:"List item"})]})});return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?Lo(g,{icon:"search"}):void 0;break;case"suffix":a.suffix=t?.[l]?Lo(Nt,{size:o.size,fillMode:"clear",children:"Search"}):void 0;break;case"opened":a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0;break;default:break}}),Lo(Td,{value:"Value",style:{width:300},...o,...a})};la.options=Gx;la.states=Hx;la.variants=Vx;la.defaultOptions=Ux;la.modifiers=$x;la.className=Ke.className;import{jsx as lt}from"react/jsx-runtime";var Ad="k-imageeditor-toolbar",Wx=[],Jx={},qx=[lt(s,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"},"toolbar-button-1"),lt(be,{},"toolbar-separator-1"),lt(s,{fillMode:"flat",icon:"undo","aria-label":"Undo"},"toolbar-button-2"),lt(s,{fillMode:"flat",icon:"redo","aria-label":"Redo"},"toolbar-button-3"),lt(be,{},"toolbar-separator-2"),lt(s,{fillMode:"flat",icon:"download","aria-label":"Download"},"toolbar-button-4"),lt("div",{className:"k-spacer"},"toolbar-spacer"),lt(s,{fillMode:"flat",icon:"zoom-in","aria-label":"Zoom In"},"toolbar-button-5"),lt(xt,{children:lt(Ke,{fillMode:"flat",value:"Fit",showClearButton:!1,"aria-label":"Zoom options"})},"toolbar-item-1"),lt(s,{fillMode:"flat",icon:"zoom-out","aria-label":"Zoom Out"},"toolbar-button-6")],Od={toolbarItems:qx},sa=e=>{let{toolbarItems:t=Od.toolbarItems,...o}=e;return lt(W,{...o,className:r(e.className,Ad),fillMode:"flat",children:t})};sa.states=Wx;sa.options=Jx;sa.className=Ad;sa.defaultOptions=Od;import{jsx as Te}from"react/jsx-runtime";var On="k-imageeditor-sidebar",Yx=[Te(s,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),Te(s,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),Te(s,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),Te("div",{className:"k-separator"},"sidebar-separator-1"),Te(s,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),Te(s,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),Te("div",{className:"k-separator"},"sidebar-separator-2"),Te(s,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),Te(s,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),Te(s,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),Te("div",{className:"k-separator"},"sidebar-separator-3"),Te(s,{fillMode:"flat",icon:"frame-corners","aria-label":"Frame"},"sidebar-button-9"),Te(s,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],Rd={sidebarItems:Yx,scrollable:!1},Pd=e=>{let{sidebarItems:t=Rd.sidebarItems,scrollable:o=Rd.scrollable,scrollingPosition:a,...i}=e;return Te("div",{...i,className:r(e.className,On,{[`${On}-scrollable`]:o,[`${On}-scrollable-${a}`]:a&&a!=="both"}),children:Te("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??e.children})})};var ai="loader",$i=ai;import{Fragment as Rn,jsx as wd,jsxs as Vi}from"react/jsx-runtime";var Pn="k-loader",Zx={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},Qx=[],jx={size:[p.undefined,p.small,p.medium,p.large],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary]},Kd={animation:"pulsing"},ne=e=>{let{size:t,themeColor:o,animation:a=Kd.animation,...i}=e,l=wd("span",{className:"k-loader-segment"});return wd("div",{...i,className:r(e.className,Pn,{[`k-loader-${Zx[a]||a}`]:a},E(Pn,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:Vi("div",{className:"k-loader-canvas",children:[a==="pulsing"&&Vi(Rn,{children:[l,l]}),a==="infinite-spinner"&&Vi(Rn,{children:[l,l,l]}),a==="converging-spinner"&&Vi(Rn,{children:[l,l,l,l]})]})})};ne.states=Qx;ne.options=jx;ne.className=Pn;ne.defaultOptions=Kd;ne.moduleName=ai;ne.folderName=$i;var zd=ne;import{jsx as wn,jsxs as _d}from"react/jsx-runtime";var Kn="k-loader-container",eh=[],th={size:[p.undefined,p.small,p.medium,p.large],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary]},Xi={loaderType:"pulsing",position:"top",panel:!1},Io=e=>{let{size:t,themeColor:o,loaderType:a=Xi.loaderType,position:i=Xi.position,panel:l=Xi.panel,...d}=e;return _d("div",{...d,className:r(e.className,Kn,E(Kn,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":d["aria-label"]||"Loading",children:[wn(os,{className:"k-loader-container-overlay"}),_d("div",{className:r("k-loader-container-inner",{"k-loader-container-panel":l}),children:[wn(zd,{size:t,themeColor:o,animation:a}),wn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};Io.states=eh;Io.options=th;Io.className=Kn;Io.defaultOptions=Xi;Io.moduleName=ai;Io.folderName=$i;import{jsx as IU}from"react/jsx-runtime";import{jsx as EU}from"react/jsx-runtime";import{jsx as AU}from"react/jsx-runtime";import{jsx as wU}from"react/jsx-runtime";import{jsx as zn}from"react/jsx-runtime";var oh=ne.options,ah=ne.states,ih={...ne.defaultOptions,variant:"infinite-spinner"},rh=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],nh=[],da=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return zn(ne,{animation:"pulsing",...o});case"converging-spinner":return zn(ne,{animation:"converging-spinner",...o});default:return zn(ne,{animation:"infinite-spinner",...o})}};da.options=oh;da.states=ah;da.variants=rh;da.defaultOptions=ih;da.modifiers=nh;da.className=ne.className;var Dd="image-editor",Fd="imageeditor";import{Fragment as Hd,jsx as Bt,jsxs as ii}from"react/jsx-runtime";var _n="k-imageeditor",lh=[],sh={},dh={},ee=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,placeholder:i,contentHeight:l,exporting:d,adaptive:m,sidebarScrollable:f,sidebarScrollingPosition:h,children:b,...N}=e,c=Bt("div",{className:"k-imageeditor-canvas-container",children:i??Bt("div",{className:"k-imageeditor-canvas",children:b})}),v=o&&Bt("div",{className:"k-imageeditor-action-pane",children:o}),L=Bt(Pd,{sidebarItems:a,scrollable:f,scrollingPosition:h});return ii("div",{...N,className:r(e.className,_n,{[`${_n}-adaptive`]:m}),children:[Bt("div",{className:"k-imageeditor-header",children:Bt(sa,{toolbarItems:t})}),Bt("div",{className:"k-imageeditor-content",style:{height:l},children:m?ii(Hd,{children:[c,v,L]}):ii(Hd,{children:[L,v,c]})}),d&&ii("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[Bt(ut,{className:"k-loader-container-overlay"}),ii("div",{className:"k-loader-container-inner k-loader-container-panel",children:[Bt(ne,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),Bt("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};ee.states=lh;ee.options=sh;ee.className=_n;ee.defaultOptions=dh;ee.moduleName=Dd;ee.folderName=Fd;import{Fragment as Wi,jsx as to,jsxs as ri}from"react/jsx-runtime";var Dn="k-upload-dropzone",ph=[n.hover],Ji=e=>{let{hover:t,status:o,disabled:a,hasFiles:i,filesId:l,buttonText:d="Select files...",...m}=e,f;switch(o){case"uploading":f=ri(Wi,{children:[to(g,{icon:"upload"}),"Uploading..."]});break;case"done":f=ri(Wi,{children:[to(g,{icon:"check"}),"Done"]});break;case"failed":f=ri(Wi,{children:[to(g,{icon:"exclamation-circle"}),"Done"]});break;default:f=to(Wi,{});break}return ri("div",{...m,className:r(e.className,Dn,"k-dropzone",y(Dn,{hover:t})),children:[ri("div",{className:"k-upload-button-wrap",children:[to(s,{className:"k-upload-button","aria-disabled":a?"true":"false",...i&&l?{"aria-controls":l}:{},children:d}),to("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),to("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&to("span",{className:"k-upload-status",children:f})]})};Ji.states=ph;Ji.className=Dn;var Fn="upload",Ud=Fn;import{jsx as qi,jsxs as $d}from"react/jsx-runtime";var Hn="k-upload",mh=[n.hover,n.disabled],ch={},Vd={actionsLayout:"end"},Gd="upload-files-list",he=e=>{let{async:t,empty:o,actions:a,actionsLayout:i=Vd.actionsLayout,hover:l,status:d,disabled:m,buttonText:f,...h}=e,b=!!e.children;return $d("div",{...h,className:r(e.className,Hn,y(Hn,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[qi(Ji,{status:d,hover:l,disabled:m,hasFiles:b,filesId:Gd,buttonText:f}),b&&qi("ul",{className:"k-upload-files",role:"list",id:Gd,children:e.children}),a&&b&&$d(Vl,{alignment:i,orientation:"horizontal",children:[qi(s,{className:"k-clear-selected",children:"Clear"}),qi(s,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};he.states=mh;he.options=ch;he.className=Hn;he.defaultOptions=Vd;he.moduleName=Fn;he.folderName=Ud;var ni="progressbar",Yi=ni;import{jsx as Gn,jsxs as Un}from"react/jsx-runtime";var st="k-progressbar",uh=[n.disabled,n.indeterminate],fh={orientation:["horizontal","vertical"]},So={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Ae=e=>{let{disabled:t,height:o,indeterminate:a=So.indeterminate,label:i=So.label,labelPosition:l=So.labelPosition,orientation:d=So.orientation,reverse:m=So.reverse,value:f=So.value,width:h,style:b,ariaLabel:N,...c}=e;return Un("div",{...c,className:r(e.className,st,y(st,{disabled:t}),{[`${st}-${d}`]:d,[`${st}-indeterminate`]:a,[`${st}-reverse`]:m}),style:{...b,"--kendo-progressbar-value":f,[d==="horizontal"?"height":"width"]:d==="horizontal"?o:h},role:"progressbar","aria-label":N||"progress","aria-valuenow":a?void 0:Number(f),"aria-valuemin":0,"aria-valuemax":100,children:[Gn("span",{className:r("k-progress-status-wrap",{[`k-progress-${l}`]:l&&!a}),children:i&&Un("span",{className:"k-progress-status",children:[f,"%"]})}),!a&&Gn("div",{className:"k-progressbar-value k-selected",children:Gn("span",{className:r("k-progress-status-wrap",{[`k-progress-${l}`]:l}),children:i&&Un("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Ae.states=uh;Ae.options=fh;Ae.className=st;Ae.defaultOptions=So;Ae.moduleName=ni;Ae.folderName=Yi;var Xd=Ae;import{jsx as $n}from"react/jsx-runtime";var Wd="k-chunk-progressbar",bh=(e,t)=>t<=e-1,xh=[n.disabled,n.indeterminate],hh={},Zi={chunkCount:5,orientation:"horizontal",progress:0},pa=e=>{let{disabled:t,chunkCount:o=Zi.chunkCount,indeterminate:a,orientation:i=Zi.orientation,progress:l=Zi.progress,reverse:d,ariaLabel:m,...f}=e;return $n("div",{...f,className:r(e.className,st,Wd,y(st,{disabled:t}),{[`${st}-${i}`]:i,[`${st}-indeterminate`]:a,[`${st}-reverse`]:d}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:l,"aria-valuemin":0,"aria-valuemax":o,children:$n("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((h,b)=>$n("li",{className:r("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":bh(l,b)})},b))})})};pa.states=xh;pa.options=hh;pa.className=Wd;pa.defaultOptions=Zi;pa.moduleName=ni;pa.folderName=Yi;import{jsx as gh}from"react/jsx-runtime";var li=e=>gh(Xd,{...e});import{jsx as R5}from"react/jsx-runtime";import{jsx as oo}from"react/jsx-runtime";var Nh=Ae.options,vh=Ae.states,Jd={...Ae.defaultOptions,variant:"start"},kh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Lh=[],ma=e=>{let{variant:t,modifiers:o,...a}={...Jd,...e},i={},l={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(d=>{switch(d){case"reverse":i.reverse=!!o?.[d];break;case"vertical":i.orientation=o?.[d]?"vertical":void 0,l.style=o?.[d]?void 0:{width:"324px"};break}}),t){case"end":return oo("div",{...l,children:oo(li,{...a,...i,labelPosition:"end",value:"50"})});case"center":return oo("div",{...l,children:oo(li,{...a,...i,labelPosition:"center",value:"50"})});case"empty":return oo("div",{...l,children:oo(li,{...a,...i,label:!1,value:"50"})});default:return oo("div",{...l,children:oo(li,{...a,...i,labelPosition:"start",value:"50"})})}};ma.options=Nh;ma.states=vh;ma.variants=kh;ma.defaultOptions=Jd;ma.modifiers=Lh;ma.className=Ae.className;import{jsx as Vn,jsxs as Sh}from"react/jsx-runtime";var Ih="k-file-info",Xn=e=>{let{name:t,size:o,validationMsg:a,...i}=e;return Sh("div",{...i,className:r(e.className,Ih),children:[t&&Vn("span",{className:"k-file-name",children:t}),o&&Vn("span",{className:"k-file-size",children:o}),a&&Vn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as yh,jsx as Ft,jsxs as Qi}from"react/jsx-runtime";var Mh="k-file",ze=e=>{let{status:t,progress:o,name:a,icon:i,size:l,state:d,validationMsg:m,...f}=e;return Ft("li",{...f,className:r(e.className,Mh,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:Qi("div",{className:"k-file-single",children:[Ft(Ae,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),Qi("span",{className:"k-file-icon-wrapper",children:[Ft(g,{className:"k-file-icon",icon:i,size:"xxlarge"}),d&&Ft("span",{className:"k-file-state",children:d})]}),Ft(Xn,{name:a,size:l,validationMsg:m}),Ft("div",{className:"k-upload-actions",children:t==="progress"?Qi(yh,{children:[Qi("span",{className:"k-upload-pct",children:[o,"%"]}),Ft(s,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),Ft(s,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):Ft(s,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as d6,jsx as l6,jsxs as s6}from"react/jsx-runtime";import{Fragment as Eh,jsx as Wn,jsxs as Ch}from"react/jsx-runtime";var si=e=>Wn(he,{async:!0,children:Ch(Eh,{children:[Wn(ze,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),Wn(ze,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as N6,jsx as h6,jsxs as g6}from"react/jsx-runtime";import{jsx as Bh}from"react/jsx-runtime";var ji=e=>Bh(he,{async:!0,empty:!0,...e});import{Fragment as E6,jsx as y6,jsxs as C6}from"react/jsx-runtime";import{Fragment as R6,jsx as O6,jsxs as P6}from"react/jsx-runtime";import{jsx as Ht,jsxs as er}from"react/jsx-runtime";var Th=he.options,Ah=he.states,qd={...he.defaultOptions,variant:"empty"},Oh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],Rh=[],ca=e=>{let{variant:t,...o}={...qd,...e};switch(t){case"success":return er(si,{status:"done",style:{width:"586px"},...o,children:[Ht(ze,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Ht(ze,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return er(si,{status:"failed",style:{width:"586px"},...o,children:[Ht(ze,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Ht(ze,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return er(si,{status:"uploading",style:{width:"586px"},...o,children:[Ht(ze,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Ht(ze,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return er(si,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Ht(ze,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Ht(ze,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Ht(ji,{async:!0,status:"upload",style:{width:"586px"},...o})}};ca.options=Th;ca.states=Ah;ca.variants=Oh;ca.defaultOptions=qd;ca.modifiers=Rh;ca.className=he.className;import{Fragment as Ph,jsx as di,jsxs as Yd}from"react/jsx-runtime";var ua="k-imageeditor-placeholder",Jn=e=>{let{icon:t,title:o,text:a,buttonText:i,children:l,...d}=e;return di("div",{...d,className:r(e.className,ua),children:l??Yd(Ph,{children:[t&&di(g,{icon:t,size:"xxxlarge",className:`${ua}-icon`}),(o||a)&&Yd("div",{className:`${ua}-hint`,children:[o&&di("div",{className:`${ua}-title`,children:o}),a&&di("div",{className:`${ua}-text`,children:a})]}),i&&di(ji,{className:`${ua}-upload`,buttonText:i})]})})};import{jsx as fa,jsxs as Zd}from"react/jsx-runtime";var Qd="k-imageeditor-pane",wh=[],Kh={},zh={},ge=e=>{let{title:t,actions:o,adaptive:a,children:i,...l}=e;return Zd("div",{...l,className:r(e.className,Qd),children:[Zd("div",{className:"k-imageeditor-pane-header",children:[a&&fa(s,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),fa("div",{className:"k-imageeditor-pane-title",children:t}),a?fa(s,{fillMode:"flat",icon:"check","aria-label":"Confirm",title:"Confirm"}):fa(s,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),fa("div",{className:"k-imageeditor-pane-content",children:i}),!a&&o&&fa(He,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};ge.states=wh;ge.options=Kh;ge.className=Qd;ge.moduleName=null;ge.folderName=null;ge.defaultOptions=zh;import{jsx as Hh}from"react/jsx-runtime";var qn="k-imageeditor-option-preview",_h=[n.hover,n.focus,n.selected],Dh={},Fh={},Tt=e=>{let{label:t,hover:o,focus:a,selected:i,children:l,...d}=e;return Hh("div",{...d,className:r(e.className,qn,y(qn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:l??t})};Tt.states=_h;Tt.options=Dh;Tt.className=qn;Tt.moduleName=null;Tt.folderName=null;Tt.defaultOptions=Fh;import{jsx as jd}from"react/jsx-runtime";var tr="k-imageeditor-option-list",ep={scrollable:!1},ba=e=>{let{scrollable:t=ep.scrollable,scrollingPosition:o,children:a,...i}=e;return jd("div",{...i,className:r(e.className,tr,{[`${tr}-scrollable`]:t,[`${tr}-scrollable-${o}`]:o&&o!=="both"}),children:jd("div",{className:"k-imageeditor-option-list-items",children:a})})};ba.className=tr;ba.moduleName=null;ba.folderName=null;ba.defaultOptions=ep;import{Fragment as Gh,jsx as tp,jsxs as $h}from"react/jsx-runtime";var Uh={},pi=e=>{let{label:t,style:o,children:a}=e;return $h(Gh,{children:[tp("span",{"aria-hidden":"true",style:{position:"relative",display:"block",width:"100%",height:"40px",borderRadius:"2px",backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover",boxSizing:"border-box",...o},children:a}),t&&tp("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};pi.moduleName=null;pi.folderName=null;pi.defaultOptions=Uh;import{Fragment as op,jsx as Ut,jsxs as ap}from"react/jsx-runtime";var ip={variant:"crop"},xa=e=>{let{variant:t=ip.variant,grid:o,corners:a=!0}=e,i=t==="crop"?"k-resize-handle":"k-scale-handle",l=t==="scale"?"k-scale-handle":"k-resize-handle";return ap(op,{children:[o&&Ut("div",{className:"k-imageeditor-crop-grid"}),a&&ap(op,{children:[Ut("span",{className:`${i} k-resize-nw`}),Ut("span",{className:`${i} k-resize-ne`}),Ut("span",{className:`${i} k-resize-sw`}),Ut("span",{className:`${i} k-resize-se`})]}),Ut("span",{className:`${l} k-resize-n`}),Ut("span",{className:`${l} k-resize-s`}),Ut("span",{className:`${l} k-resize-w`}),Ut("span",{className:`${l} k-resize-e`})]})};xa.moduleName=null;xa.folderName=null;xa.defaultOptions=ip;import{jsx as rp}from"react/jsx-runtime";var Vh="k-rotate-handle",Yn=e=>rp("span",{...e,className:r(e.className,Vh),children:rp(g,{icon:"rotate"})});Yn.moduleName=null;Yn.folderName=null;var np="form",lp="forms";import{Fragment as sp,jsx as or,jsxs as Jh}from"react/jsx-runtime";var ar="k-form",Xh=[],Wh={size:[p.undefined,p.small,p.medium,p.large]},Zn={layout:"basic",tag:"form"},U=e=>{let{size:t,orientation:o,layout:a=Zn.layout,formButtons:i,cols:l,gutters:d,tag:m=Zn.tag,children:f,style:h}=e,b=m,N=r(e.className,ar,E(ar,{size:t}),{[`${ar}-${o}`]:o}),c=Jh(sp,{children:[a==="grid"?or("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${l}`]:l}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols},...h},children:f}):or(sp,{children:f}),i&&or("div",{className:"k-form-buttons",children:i})]}),{role:v,"aria-labelledby":L,"aria-label":I,id:S}=e;return or(b,{className:N,role:v,"aria-labelledby":L,"aria-label":I,id:S,children:c})};U.states=Xh;U.options=Wh;U.className=ar;U.defaultOptions=Zn;U.moduleName=np;U.folderName=lp;var dp="label",pp="label";import{jsx as mp,jsxs as Qh}from"react/jsx-runtime";var Qn="k-label",qh=[n.disabled],Yh={},Zh={},ao=e=>{let{disabled:t,optional:o,info:a,text:i,children:l,...d}=e;return Qh("label",{...d,className:r(e.className,Qn,y(Qn,{disabled:t})),children:[i||l,o&&mp("span",{className:"k-label-optional",children:"(Optional)"}),a&&mp("span",{className:"k-field-info",children:a})]})};ao.states=qh;ao.options=Yh;ao.className=Qn;ao.defaultOptions=Zh;ao.moduleName=dp;ao.folderName=pp;import{jsx as og}from"react/jsx-runtime";var cp="k-form-hint",jh=[],eg={},tg={},dt=e=>{let{text:t,children:o,...a}=e;return og("div",{...a,className:r(e.className,cp),children:t||o})};dt.states=jh;dt.options=eg;dt.className=cp;dt.defaultOptions=tg;import{jsx as ng}from"react/jsx-runtime";var up="k-form-error",ag=[],ig={},rg={},pt=e=>{let{text:t,children:o,...a}=e;return ng("div",{...a,className:r(e.className,up),children:t||o})};pt.states=ag;pt.options=ig;pt.className=up;pt.defaultOptions=rg;import{jsx as ir,jsxs as fp}from"react/jsx-runtime";var jn="k-form-field",lg=[n.disabled],Z=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:l,hint:d,error:m,info:f,disabled:h,dir:b,colSpan:N,...c}=e;return fp("div",{...c,className:r(jn,e.className,y(jn,{disabled:h}),{[`k-col-span-${N}`]:N}),dir:b,children:[o&&ir(ao,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:f?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&ir("span",{className:"k-label k-form-label k-label-empty"}),fp("div",{className:"k-form-field-wrap",children:[l,d&&ir(dt,{id:t?`${t}-hint`:void 0,children:d}),m&&ir(pt,{id:t?`${t}-error`:void 0,children:m})]})]})};Z.states=lg;Z.className=jn;import{Fragment as sg,jsx as el,jsxs as dg}from"react/jsx-runtime";var bp="k-form-fieldset",_e=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:l}=e;return dg("fieldset",{className:r(bp,{[`k-col-span-${l}`]:l}),children:[t&&el("legend",{className:"k-form-legend",children:t}),o==="grid"?el("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):el(sg,{children:e.children})]})};_e.className=bp;var Mo="radio",ha=Mo;import{jsx as xp}from"react/jsx-runtime";var rr="k-radio",pg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],mg={size:[p.undefined,p.small,p.medium,p.large]},cg={},Xe=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:l,invalid:d,valid:m,required:f,size:h,...b}=e;return xp("span",{className:"k-radio-wrap",children:xp("input",{...b,id:t,type:"radio",checked:o,required:f,disabled:l||void 0,"aria-invalid":d?"true":void 0,className:r(e.className,rr,E(rr,{size:h}),y(rr,{hover:a,focus:i,disabled:l,invalid:d,valid:m,checked:o}))})})};Xe.states=pg;Xe.options=mg;Xe.className=rr;Xe.defaultOptions=cg;Xe.moduleName=Mo;Xe.folderName=ha;var mt=Xe;import{jsx as bg}from"react/jsx-runtime";var hp="k-radio-list",ug=[],fg={},gp={layout:"vertical"},le=e=>{let{layout:t=gp.layout,...o}=e;return bg("ul",{...o,className:r(e.className,hp,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};le.states=ug;le.options=fg;le.className=hp;le.defaultOptions=gp;le.moduleName=Mo;le.folderName=ha;import{jsx as Ng}from"react/jsx-runtime";var Np="k-radio-list-item",xg=[],hg={},gg={},se=e=>{let{...t}=e;return Ng("li",{...t,className:r(e.className,Np),role:"none",children:e.children})};se.states=xg;se.options=hg;se.className=Np;se.defaultOptions=gg;se.moduleName=Mo;se.folderName=ha;import{jsx as m9}from"react/jsx-runtime";import{Fragment as vg,jsx as vp,jsxs as kg}from"react/jsx-runtime";var We=({children:e,id:t,...o})=>kg(vg,{children:[vp(mt,{...o,id:t}),vp("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as N9,jsx as g9,jsxs as v9}from"react/jsx-runtime";import{Fragment as y9,jsx as S9,jsxs as M9}from"react/jsx-runtime";import{Fragment as A9,jsx as T9,jsxs as O9}from"react/jsx-runtime";import{Fragment as z9,jsx as K9,jsxs as _9}from"react/jsx-runtime";import{Fragment as V9,jsx as $9,jsxs as X9}from"react/jsx-runtime";import{jsx as Y9}from"react/jsx-runtime";import{jsx as Cg}from"react/jsx-runtime";var Ig=mt.options,Sg=mt.states,Mg=mt.defaultOptions,yg=[],Eg=[],ga=e=>Cg(We,{id:B("radio"),name:"value",...e,children:"Label"});ga.options=Ig;ga.states=Sg;ga.variants=yg;ga.defaultOptions=Mg;ga.modifiers=Eg;ga.className=mt.className;import{jsx as ct,jsxs as kp}from"react/jsx-runtime";var Bg=le.options,Tg=le.states,Ag={...le.defaultOptions,variant:"vertical"},Og=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Rg=[],Na=e=>{let{variant:t,...o}=e;return t==="horizontal"?kp(le,{layout:"horizontal",...o,children:[ct(se,{children:ct(We,{id:B("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ct(se,{children:ct(We,{id:B("rb"),name:"value",children:"Label"})}),ct(se,{children:ct(We,{id:B("rb"),name:"value",children:"Label"})})]}):kp(le,{...o,children:[ct(se,{children:ct(We,{id:B("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ct(se,{children:ct(We,{id:B("rb"),name:"value",children:"Label"})}),ct(se,{children:ct(We,{id:B("rb"),name:"value",children:"Label"})})]})};Na.options=Bg;Na.states=Tg;Na.variants=Og;Na.defaultOptions=Ag;Na.modifiers=Rg;Na.className=le.className;import{Fragment as O7,jsx as A7,jsxs as R7}from"react/jsx-runtime";import{Fragment as U7,jsx as H7,jsxs as G7}from"react/jsx-runtime";import{Fragment as Y7,jsx as q7,jsxs as Z7}from"react/jsx-runtime";var Lp="date-input",Ip="dateinput";import{jsx as mi,jsxs as zg}from"react/jsx-runtime";var Sp="k-dateinput",Pg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],wg={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Kg={},Je=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:l,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,readonly:v,showClearButton:L,showSpinButton:I,id:S,"aria-label":M,"aria-describedby":T,...w}=e;return zg(G,{...w,size:t,rounded:o,fillMode:a,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,readonly:v,className:r(e.className,Sp),children:[mi(me,{id:S,placeholder:l,value:i,disabled:c,"aria-label":M,"aria-describedby":T,"aria-invalid":h?"true":void 0}),mi(Q,{valid:f,invalid:h,loading:N,disabled:c}),mi(ae,{loading:N,disabled:c}),L&&mi(pe,{loading:N,disabled:c,readonly:v,value:i}),I&&mi(St,{className:"k-input-spinner",size:t,fillMode:a,disabled:c})]})};Je.states=Pg;Je.options=wg;Je.className=Sp;Je.defaultOptions=Kg;Je.moduleName=Lp;Je.folderName=Ip;var tl=Je;import{jsx as _g}from"react/jsx-runtime";var Mp=e=>_g(tl,{...e});import{jsx as mG}from"react/jsx-runtime";import{jsx as $g}from"react/jsx-runtime";var Dg=Je.options,Fg=Je.states,Hg=Je.defaultOptions,Ug=[{name:"spin-button",title:"`Spin` Button"}],Gg=[],va=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),$g(Mp,{value:"2/04/2021",style:{width:"300px"},...o,...a})};va.options=Dg;va.states=Fg;va.variants=Gg;va.defaultOptions=Hg;va.modifiers=Ug;va.className=Je.className;var yp="masked-textbox",Ep="maskedtextbox";import{Fragment as Cp,jsx as io,jsxs as ol}from"react/jsx-runtime";var Bp="k-maskedtextbox",Vg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Xg={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},al={showClearButton:!0,separators:!0},qe=e=>{let{size:t,rounded:o,fillMode:a,separators:i=al.separators,showClearButton:l=al.showClearButton,prefix:d,suffix:m,value:f,placeholder:h,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:M,id:T,"aria-label":w,"aria-describedby":J,...te}=e;return ol(G,{...te,size:t,rounded:o,fillMode:a,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:M,className:r(e.className,Bp),children:[d&&ol(Cp,{children:[io(ue,{children:d}),i&&io(j,{})]}),io(me,{id:T,placeholder:h,value:f,disabled:S,"aria-label":w,"aria-describedby":J,"aria-invalid":v?"true":void 0}),io(Q,{valid:c,invalid:v,loading:I,disabled:S}),io(ae,{loading:I,disabled:S}),l&&io(pe,{loading:I,disabled:S,readonly:M,value:f}),m&&ol(Cp,{children:[i&&io(j,{}),io(fe,{children:m})]})]})};qe.states=Vg;qe.options=Xg;qe.className=Bp;qe.defaultOptions=al;qe.moduleName=yp;qe.folderName=Ep;var ka=qe;import{jsx as Wg}from"react/jsx-runtime";var Tp=e=>Wg(ka,{...e});import{Fragment as KG,jsx as wG}from"react/jsx-runtime";import{Fragment as UG,jsx as HG}from"react/jsx-runtime";import{jsx as XG}from"react/jsx-runtime";import{jsx as YG}from"react/jsx-runtime";import{jsx as il}from"react/jsx-runtime";var Jg=qe.states,qg=qe.defaultOptions,Yg=qe.options,Zg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Qg=[],La=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?il($,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?il(g,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),il(Tp,{value:"Value",style:{width:300},...o,...a})};La.options=Yg;La.states=Jg;La.variants=Qg;La.defaultOptions=qg;La.modifiers=Zg;La.className=qe.className;var rl="switch",Ap=rl;import{jsx as nr,jsxs as Op}from"react/jsx-runtime";var ro="k-switch",jg=[n.hover,n.focus,n.disabled,n.readonly,n.checked],eN={size:[p.undefined,p.small,p.medium,p.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]},tN={},De=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:l,thumbRounded:d,hover:m,focus:f,disabled:h,readonly:b,...N}=e;return Op("span",{...N,className:r(e.className,ro,E(ro,{size:i}),y(ro,{hover:m,focus:f,disabled:h,readonly:b}),{[`${ro}-on`]:t,[`${ro}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:h?void 0:0,"aria-disabled":h?"true":void 0,"aria-readonly":b?"true":void 0,children:[Op("span",{className:r("k-switch-track",E(ro,{rounded:l})),children:[o&&nr("span",{className:"k-switch-label-on",children:o}),a&&nr("span",{className:"k-switch-label-off",children:a})]}),nr("span",{className:"k-switch-thumb-wrap",children:nr("span",{className:r("k-switch-thumb",E(ro,{rounded:d}))})})]})};De.states=jg;De.options=eN;De.className=ro;De.defaultOptions=tN;De.moduleName=rl;De.folderName=Ap;import{jsx as v8}from"react/jsx-runtime";import{jsx as S8}from"react/jsx-runtime";import{jsx as C8}from"react/jsx-runtime";import{jsx as O8}from"react/jsx-runtime";import{jsx as Rp}from"react/jsx-runtime";var oN=De.options,aN=De.states,iN={...De.defaultOptions,variant:"on"},rN=[{name:"on",title:"On"},{name:"off",title:"Off"}],nN=[],Ia=e=>{let{variant:t,...o}=e;return t==="off"?Rp(De,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Rp(De,{checked:!0,onLabel:"On",offLabel:"Off",...o})};Ia.options=oN;Ia.states=aN;Ia.variants=rN;Ia.defaultOptions=iN;Ia.modifiers=nN;Ia.className=De.className;var ll="textarea",Pp=ll;import{Fragment as wp,jsx as ci,jsxs as sl}from"react/jsx-runtime";var Kp="k-textarea",lN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],sN={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Sa={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Fe=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=Sa.prefixSeparator,suffixSeparator:l=Sa.prefixSeparator,affixesOrientation:d=Sa.affixesOrientation,flow:m=Sa.flow,resize:f=Sa.resize,prefix:h,suffix:b,rows:N,value:c,placeholder:v,hover:L,focus:I,valid:S,invalid:M,required:T,disabled:w,id:J,"aria-label":te,"aria-describedby":oe,...de}=e;return sl(G,{...de,size:t,rounded:o,fillMode:a,hover:L,focus:I,valid:S,invalid:M,required:T,disabled:w,className:r(e.className,Kp,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[h&&sl(wp,{children:[ci(ue,{className:r({"!k-align-items-start":m===d}),direction:d,children:h}),i&&ci(j,{direction:m==="horizontal"?"vertical":"horizontal"})]}),ci(Fa,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:c,placeholder:v,rows:N,disabled:w,id:J,"aria-label":te,"aria-describedby":oe,"aria-invalid":M?"true":void 0}),b&&sl(wp,{children:[l&&ci(j,{direction:m==="horizontal"?"vertical":"horizontal"}),ci(fe,{className:r({"!k-align-items-start":m===d}),direction:d,children:b})]})]})};Fe.states=lN;Fe.options=sN;Fe.className=Kp;Fe.defaultOptions=Sa;Fe.moduleName=ll;Fe.folderName=Pp;import{jsx as j8}from"react/jsx-runtime";import{Fragment as r$,jsx as i$}from"react/jsx-runtime";import{Fragment as m$,jsx as p$}from"react/jsx-runtime";import{jsx as b$}from"react/jsx-runtime";import{jsx as lr}from"react/jsx-runtime";var dN=Fe.options,pN=Fe.states,zp={...Fe.defaultOptions,variant:"vertical"},mN=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],cN=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...zp,...e},i={resize:"y"};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":i.prefix=o?.[l]?lr(g,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o?.[l]?lr(g,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?lr(Fe,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):lr(Fe,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};Ma.options=dN;Ma.states=pN;Ma.variants=mN;Ma.defaultOptions=zp;Ma.modifiers=cN;Ma.className=Fe.className;import{Fragment as D$,jsx as _$,jsxs as F$}from"react/jsx-runtime";import{Fragment as gN,jsx as Oe,jsxs as ya}from"react/jsx-runtime";var uN=U.options,fN=U.states,bN={...U.defaultOptions,variant:"vertical"},xN=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],hN=[],Ea=e=>{let{variant:t,size:o,...a}=e,i=ya(_e,{legend:"Form Legend",children:[Oe(Z,{label:"Label",editor:Oe(H,{size:o})}),Oe(Z,{label:"Label",hint:"Hint text",editor:Oe($,{value:"Dropdown List",size:o})}),Oe(Z,{label:"City",editor:ya("ul",{className:"k-radio-list k-list-horizontal",children:[ya("li",{className:"k-radio-list-item",children:[Oe(Xe,{checked:!0,size:o}),Oe("label",{className:"k-radio-label",children:"Label"})]}),ya("li",{className:"k-radio-list-item",children:[Oe(Xe,{size:o}),Oe("label",{className:"k-radio-label",children:"Label"})]}),ya("li",{className:"k-radio-list-item",children:[Oe(Xe,{size:o}),Oe("label",{className:"k-radio-label",children:"Label"})]})]})})]}),l=ya(gN,{children:[Oe(s,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),Oe(s,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?Oe(U,{orientation:"horizontal",size:o,...a,formButtons:l,children:i}):Oe(U,{size:o,...a,formButtons:l,children:i})};Ea.options=uN;Ea.states=fN;Ea.variants=xN;Ea.defaultOptions=bN;Ea.modifiers=hN;Ea.className=U.className;import{jsx as _p,jsxs as IN}from"react/jsx-runtime";var NN=dt.options,vN=dt.states,Dp={...dt.defaultOptions},kN=[],LN=[{name:"showHint",title:"Show Hint"}],Ca=e=>{let{modifiers:t,...o}={...Dp,...e},a=t?.showHint??!0;return IN("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[_p(H,{placeholder:"Component",style:{width:"200px"}}),a&&_p(dt,{...o,children:"Hint text"})]})};Ca.options=NN;Ca.states=vN;Ca.variants=kN;Ca.defaultOptions=Dp;Ca.modifiers=LN;Ca.className=dt.className;import{jsx as Fp,jsxs as CN}from"react/jsx-runtime";var SN=pt.options,MN=pt.states,Hp={...pt.defaultOptions},yN=[],EN=[{name:"showError",title:"Show Error"}],Ba=e=>{let{modifiers:t,...o}={...Hp,...e},a=t?.showError??!0;return CN("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Fp(H,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&Fp(pt,{...o,children:"Error text"})]})};Ba.options=SN;Ba.states=MN;Ba.variants=yN;Ba.defaultOptions=Hp;Ba.modifiers=EN;Ba.className=pt.className;import{Fragment as TV,jsx as BV,jsxs as AV}from"react/jsx-runtime";import{Fragment as HV,jsx as FV,jsxs as UV}from"react/jsx-runtime";import{Fragment as jV,jsx as QV,jsxs as eX}from"react/jsx-runtime";import{jsx as sX}from"react/jsx-runtime";import{Fragment as LX,jsx as kX,jsxs as IX}from"react/jsx-runtime";var pl="segmented-control",Up=pl,Gp="segmented-control-button",$p="segmented-control";import{jsx as AN,jsxs as ON}from"react/jsx-runtime";var sr="k-segmented-control",BN=[],TN={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Gt=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:l,...d}=e;return ON("div",{...d,className:r(e.className,sr,E(sr,{size:t,rounded:o}),{[`${sr}-stretched`]:a}),role:"group",children:[AN("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:l}),i]})};Gt.states=BN;Gt.options=TN;Gt.className=sr;Gt.moduleName=pl;Gt.folderName=Up;import{jsx as ml,jsxs as KN}from"react/jsx-runtime";var cl="k-segmented-control-button",RN=[n.selected,n.hover,n.focus,n.disabled],PN={},wN={},At=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:l,endIcon:d,text:m,iconClassName:f,...h}=e;return KN("button",{...h,className:r(e.className,cl,y(cl,{hover:t,focus:o,disabled:i,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":i?"true":void 0,tabIndex:a?0:-1,children:[l&&ml(g,{className:r(f,"k-segmented-control-button-icon"),icon:l}),(m||e.children)&&ml("span",{className:"k-segmented-control-button-text",children:m||e.children}),d&&ml(g,{className:r(f,"k-segmented-control-button-icon"),icon:d})]})};At.states=RN;At.options=PN;At.className=cl;At.defaultOptions=wN;At.moduleName=Gp;At.folderName=$p;import{Fragment as DX,jsx as _X,jsxs as FX}from"react/jsx-runtime";import{Fragment as XX,jsx as VX,jsxs as WX}from"react/jsx-runtime";import{Fragment as jX,jsx as QX,jsxs as eW}from"react/jsx-runtime";import{Fragment as nW,jsx as rW,jsxs as lW}from"react/jsx-runtime";import{Fragment as uW,jsx as cW,jsxs as fW}from"react/jsx-runtime";import{Fragment as vW,jsx as NW,jsxs as kW}from"react/jsx-runtime";import{Fragment as VW,jsx as $W,jsxs as XW}from"react/jsx-runtime";import{Fragment as lJ,jsx as nJ,jsxs as sJ}from"react/jsx-runtime";import{Fragment as vJ,jsx as NJ,jsxs as kJ}from"react/jsx-runtime";import{Fragment as RJ,jsx as OJ,jsxs as PJ}from"react/jsx-runtime";import{Fragment as HJ,jsx as FJ,jsxs as UJ}from"react/jsx-runtime";import{Fragment as QJ,jsx as YJ,jsxs as ZJ}from"react/jsx-runtime";import{Fragment as mq,jsx as dq,jsxs as pq}from"react/jsx-runtime";import{Fragment as Iq,jsx as Lq,jsxs as Sq}from"react/jsx-runtime";import{jsx as Ye}from"react/jsx-runtime";var zN=[Ye(s,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"},"toolbar-button-1"),Ye(be,{},"toolbar-separator-1"),Ye(s,{fillMode:"flat",disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-2"),Ye(s,{fillMode:"flat",disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-3"),Ye(be,{},"toolbar-separator-2"),Ye(s,{fillMode:"flat",icon:"download","aria-label":"Download"},"toolbar-button-4"),Ye("div",{className:"k-spacer"},"toolbar-spacer"),Ye(s,{fillMode:"flat",icon:"zoom-in","aria-label":"Zoom In"},"toolbar-button-5"),Ye(xt,{children:Ye(Ke,{fillMode:"flat",value:"Fit",showClearButton:!1,"aria-label":"Zoom options"})},"toolbar-item-1"),Ye(s,{fillMode:"flat",icon:"zoom-out","aria-label":"Zoom Out"},"toolbar-button-6")],oY=e=>Ye(ee,{toolbarItems:zN,placeholder:e.children?void 0:Ye(Jn,{icon:"image-add",title:"Ready to create?",text:"Upload a JPEG, PNG, or WebP file to unlock the full capabilities of ImageEditor.",buttonText:"Upload Image"}),...e});export{oY as ImageEditorNormal};
1
+ var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),M=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:s,checked:l,active:m,selected:c,disabled:h,indeterminate:b,loading:g,empty:u,readonly:v,highlighted:I,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":c,"k-disabled":h,"k-indeterminate":b&&!l,"k-loading":g,"k-empty":u,"k-readonly":v,"k-highlighted":I},Object.keys(S).reduce((k,E)=>(E.startsWith("k-")?k[E]=S[E]:k[`k-${E}`]=S[E],k),{}))};function xs(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},ht={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={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 mr={};function A(e){return mr[e]=(mr[e]||0)+1,`k-${e}-${mr[e]}`}import{Fragment as qp,jsx as hs}from"react/jsx-runtime";var cr="k-font-icon",Xp=[],Wp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info]},Jp={},Ra=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:s,...l}=e;return a?hs("span",{...l,className:r(e.className,cr,C(cr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):hs(qp,{})};Ra.states=Xp;Ra.options=Wp;Ra.className=cr;Ra.defaultOptions=Jp;var Ns=Ra;import{Fragment as Qp,jsx as bi}from"react/jsx-runtime";var ur="k-svg-icon",Yp=[],Zp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[ht.outline,ht.solid,ht.duotone]},fr={viewBox:"0 0 24 24",variant:ht.outline},Pa=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:s=fr.viewBox,variant:l=fr.variant,icon:m,...c}=e;if(!m)return bi(Qp,{});if(m==="none")return bi("span",{...c,className:r(e.className,ur,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof m=="object"&&m.name&&m.name,b=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return bi("span",{...c,className:r(e.className,ur,C("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:bi("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:m?void 0:e.children})})};Pa.states=Yp;Pa.options=Zp;Pa.className=ur;Pa.defaultOptions=fr;var br=Pa;import*as xr from"@progress/kendo-svg-icons";var gs="icon",vs="icons";import{useContext as em}from"react";import{createContext as jp}from"react";var Ls=jp({iconsType:"svg"});import{Fragment as Is,jsx as wa}from"react/jsx-runtime";var xi="k-icon",tm=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),om=[],am={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[ht.outline,ht.solid,ht.duotone]},hi={viewBox:"0 0 24 24",type:"svg",variant:ht.outline},N=e=>{let{iconsType:t}=em(Ls),{size:o,themeColor:a,icon:i,type:s=t||hi.type,rotate:l,flip:m,viewBox:c=hi.viewBox,variant:h=hi.variant,...b}=e;if(!i)return wa(Is,{});if((t||s)==="svg"){if(i==="none")return wa(br,{...b,className:r(e.className,xi),icon:i,size:o,variant:h});let u=xr[i]?i:tm(`${i}-icon`);return xr[u]?wa(br,{...b,className:r(e.className,xi),icon:xr[u],size:o,themeColor:a,rotate:l,flip:m,viewBox:c,variant:h}):wa(Is,{})}return wa(Ns,{...b,className:r(e.className,xi),icon:i,size:o,themeColor:a,rotate:l,flip:m})};N.states=om;N.options=am;N.defaultOptions=hi;N.className=xi;N.moduleName=gs;N.folderName=vs;var hr="button",Ss=hr;import{Fragment as Nr,jsx as $t,jsxs as ks}from"react/jsx-runtime";var Ka="k-button",im=["icon-button"],rm=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],nm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},gr={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:s,showArrow:l=gr.showArrow,arrowIconName:m=gr.arrowIconName,variant:c,hover:h,focus:b,active:g,selected:u,disabled:v,togglable:I,ariaDisabled:S,icon:k,endIcon:E,iconSize:T,text:w,iconClassName:J,className:ee,...te}=e,de=k!=null,no=e.children!==void 0;return ks(t,{className:r(ee,Ka,xs(Ka,c),C(Ka,{size:o,rounded:a,fillMode:i,themeColor:s}),M(Ka,{hover:h,focus:b,active:g,disabled:v||S,selected:u}),{"k-icon-button":!w&&!no&&de}),"aria-pressed":I?u?"true":"false":void 0,...te,"aria-disabled":S?"true":void 0,disabled:v||void 0,children:[typeof k=="string"&&k&&$t(N,{className:r(J,"k-button-icon"),icon:k,size:T}),k&&typeof k!="string"&&$t(Nr,{children:k}),w?ks(Nr,{children:[w&&$t("span",{className:"k-button-text",children:w}),e.children]}):e.children&&$t("span",{className:"k-button-text",children:e.children}),typeof E=="string"&&E&&$t(N,{className:r(J,"k-button-icon"),icon:E,size:T}),E&&typeof E!="string"&&$t(Nr,{children:E}),l&&$t("span",{className:"k-menu-button-arrow k-button-arrow",children:$t(N,{icon:m})})]})};p.states=rm;p.options=nm;p.variants=im;p.className=Ka;p.defaultOptions=gr;p.moduleName=hr;p.folderName=Ss;import{jsx as sm}from"react/jsx-runtime";var Bt=e=>sm(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as lm}from"react/jsx-runtime";var Da=e=>lm(p,{icon:"folder",children:"Button",...e});import{jsx as Pv}from"react/jsx-runtime";import{jsx as dm}from"react/jsx-runtime";var Nt=e=>dm(p,{children:"Button",...e});import{jsx as vr}from"react/jsx-runtime";var pm=p.options,mm=p.states,cm={...p.defaultOptions,variant:"text"},um=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],fm=[],Mo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return vr(Bt,{...o,icon:"star"});case"icon-and-text":return vr(Da,{...o,icon:"star",children:"Button"});default:return vr(Nt,{...o,children:"Button"})}};Mo.options=pm;Mo.states=mm;Mo.variants=um;Mo.defaultOptions=cm;Mo.modifiers=fm;Mo.className=p.className;var Lr="button",Es=Lr;import{jsx as Nm}from"react/jsx-runtime";var _a="k-button-group",bm=[n.disabled],xm={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},hm={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return Nm("div",{role:"group",...i,className:r(e.className,_a,C(_a,{fillMode:t}),M(_a,{disabled:o}),{[`${_a}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=bm;O.options=xm;O.className=_a;O.defaultOptions=hm;O.moduleName=Lr;O.folderName=Es;import{Fragment as lL,jsx as sL,jsxs as dL}from"react/jsx-runtime";import{Fragment as bL,jsx as fL,jsxs as xL}from"react/jsx-runtime";import{Fragment as IL,jsx as LL,jsxs as SL}from"react/jsx-runtime";import{Fragment as AL,jsx as yL,jsxs as TL}from"react/jsx-runtime";import{Fragment as KL,jsx as wL,jsxs as DL}from"react/jsx-runtime";import{Fragment as GL,jsx as UL,jsxs as $L}from"react/jsx-runtime";import{Fragment as YL,jsx as qL,jsxs as ZL}from"react/jsx-runtime";import{jsx as Rt,jsxs as Ir}from"react/jsx-runtime";var gm={...p.options,...O.options},vm=p.states,Lm={...p.defaultOptions,...O.defaultOptions,variant:"text-button"},Im=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Sm=[],Co=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Ir(O,{fillMode:a.fillMode,className:o,children:[Rt(p,{...a,icon:"star"}),Rt(p,{...a,icon:"star"}),Rt(p,{...a,icon:"star"})]}):t==="icon-text-button"?Ir(O,{fillMode:a.fillMode,className:o,children:[Rt(p,{...a,icon:"star",children:"First"}),Rt(p,{...a,icon:"star",children:"Middle"}),Rt(p,{...a,icon:"star",children:"Last"})]}):Ir(O,{fillMode:a.fillMode,className:o,children:[Rt(p,{...a,children:"First"}),Rt(p,{...a,children:"Middle"}),Rt(p,{...a,children:"Last"})]})};Co.options=gm;Co.states=vm;Co.variants=Im;Co.defaultOptions=Lm;Co.modifiers=Sm;Co.className=O.className;var za="input",Ni=za;import{jsx as Cm}from"react/jsx-runtime";var gi="k-input",km=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Em={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Mm={},G=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m,size:c,rounded:h,fillMode:b,...g}=e;return Cm("span",{...g,className:r(e.className,gi,C(gi,{size:c,rounded:h,fillMode:b}),M(gi,{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m}))})};G.states=km;G.options=Em;G.className=gi;G.defaultOptions=Mm;G.moduleName=za;G.folderName=Ni;import{jsx as Om}from"react/jsx-runtime";var vi="k-picker",ym=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Am={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Tm={},gt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m,size:c,rounded:h,fillMode:b,...g}=e;return Om("span",{...g,className:r(e.className,vi,C(vi,{size:c,rounded:h,fillMode:b}),M(vi,{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m})),children:e.children})};gt.states=ym;gt.options=Am;gt.className=vi;gt.defaultOptions=Tm;gt.moduleName=za;gt.folderName=Ni;import{Fragment as Pm,jsx as Sr}from"react/jsx-runtime";var Ms="k-clear-value",Bm=[n.disabled,n.loading,n.readonly],Rm={},pe=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?Sr(Pm,{}):Sr("span",{className:r(e.className,Ms),children:Sr(N,{icon:"x"})})};pe.states=Bm;pe.options=Rm;pe.className=Ms;import{jsx as Dm}from"react/jsx-runtime";var kr="k-input-inner",wm=[],Km={},Li={type:"text",autocomplete:"off",value:"",placeholder:""},me=e=>{let{value:t=Li.value,type:o=Li.type,placeholder:a=Li.placeholder,autocomplete:i=Li.autocomplete,disabled:s,readOnly:l,...m}=e;return Dm("input",{...m,type:o,className:r(e.className,kr,C(kr,e)),placeholder:a,autoComplete:i,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};me.states=wm;me.options=Km;me.className=kr;import{jsx as Cs,jsxs as Hm}from"react/jsx-runtime";var Er="k-input-inner",_m=[],zm={},so=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:s,...l}=e;return Hm("span",{...l,className:r(e.className,Er,C(Er,e)),children:[i,!i&&s&&Cs(N,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Cs("span",{className:"k-input-value-text",children:t})]})};so.states=_m;so.options=zm;so.className=Er;import{jsx as Gm}from"react/jsx-runtime";var Mr="k-input-inner",Fm=[],Um={},ys={value:"",placeholder:""},Ha=e=>{let{value:t=ys.value,placeholder:o=ys.placeholder,rows:a,disabled:i,...s}=e;return Gm("textarea",{...s,className:r(e.className,Mr,C(Mr,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Ha.states=Fm;Ha.options=Um;Ha.className=Mr;import{Fragment as Vm,jsx as As}from"react/jsx-runtime";var Ts="k-input-loading-icon",$m=[n.disabled,n.loading],oe=e=>{let{disabled:t,loading:o}=e;return t||!o?As(Vm,{}):As("span",{className:r(e.className,Ts,"k-icon k-i-loading")})};oe.states=$m;oe.className=Ts;import{Fragment as Jm,jsx as Os}from"react/jsx-runtime";var Bs="k-input-validation-icon",Xm=[n.valid,n.invalid,n.disabled,n.loading],Wm={},Q=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,s=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?Os(Jm,{}):Os(N,{className:r(Bs),icon:s})};Q.states=Xm;Q.options=Wm;Q.className=Bs;import{Fragment as Zm,jsx as Rs}from"react/jsx-runtime";var qm="k-input-prefix",Ym={direction:"horizontal"},ue=e=>{let{direction:t=Ym.direction,...o}=e;return e.children?Rs("span",{...o,className:r(qm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Rs(Zm,{})};import{Fragment as ec,jsx as Ps}from"react/jsx-runtime";var Qm="k-input-suffix",jm={direction:"horizontal"},fe=e=>{let{direction:t=jm.direction,...o}=e;return e.children?Ps("span",{...o,className:r(Qm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ps(ec,{})};import{jsx as QI}from"react/jsx-runtime";import{jsx as oc}from"react/jsx-runtime";var tc="k-input-suffix-text",Pt=e=>{let{children:t,...o}=e;return oc("span",{...o,className:r(tc,e.className),children:t})};import{jsx as ic}from"react/jsx-runtime";var ws="k-input-separator",ac={direction:"vertical"},j=e=>{let{direction:t=ac.direction,...o}=e;return ic("span",{...o,className:r(ws,e.className,{[`${ws}-${t}`]:t})})};import{Fragment as Ks,jsx as vt,jsxs as Cr}from"react/jsx-runtime";var rc=G.states,nc=G.defaultOptions,sc=G.options,lc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],dc=[],yo=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:s,readonly:l,...m}=e,c=t?.prefix,h=t?.suffix,b=t?.["clear-button"],g=t?.["validation-icon"],u=t?.separators;return Cr(G,{...m,valid:o,invalid:a,loading:i,disabled:s,readonly:l,style:{width:300},children:[c&&Cr(Ks,{children:[vt(ue,{children:vt(N,{icon:"lock"})}),u&&vt(j,{})]}),vt(me,{placeholder:"Placeholder",value:"Value"}),g&&vt(Q,{valid:o,invalid:a,loading:i,disabled:s}),vt(oe,{loading:i,disabled:s}),b&&vt(pe,{loading:i,disabled:s,readonly:l,value:"Value"}),h&&Cr(Ks,{children:[u&&vt(j,{}),vt(fe,{children:vt(Nt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};yo.options=sc;yo.states=rc;yo.variants=dc;yo.defaultOptions=nc;yo.modifiers=lc;yo.className=G.className;import{jsx as Ds,jsxs as cc}from"react/jsx-runtime";var _s="k-color-preview",pc=[],mc={},Vt=e=>{let{color:t,iconName:o,...a}=e;return cc("span",{...a,className:r(e.className,_s,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Ds(N,{icon:o,className:"k-color-preview-icon"}),Ds("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Vt.states=pc;Vt.options=mc;Vt.className=_s;var yr="popup",zs=yr;import{jsx as Hs}from"react/jsx-runtime";var Fs="k-animation-container",uc=[],fc={},Ar={positionMode:"absolute",shown:!0},Lt=e=>{let{positionMode:t=Ar.positionMode,shown:o=Ar.shown,animationStyle:a,offset:i,...s}=e;return Hs("div",{...s,style:{...i,...e.style},className:r(e.className,Fs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Hs("div",{className:"k-child-animation-container",style:a,children:e.children})})};Lt.states=uc;Lt.options=fc;Lt.className=Fs;Lt.defaultOptions=Ar;Lt.moduleName=yr;Lt.folderName=zs;var Tr="popup",Us=Tr;import{jsx as Gs}from"react/jsx-runtime";var $s="k-popup",bc=[],xc={},Vs={positionMode:"absolute"},X=e=>{let{offset:t,positionMode:o=Vs.positionMode,animationStyle:a,containerClassName:i,containerRole:s,containerAriaLabel:l,...m}=e;return Gs(Lt,{positionMode:o,offset:t,animationStyle:a,className:i,role:s,"aria-label":l,children:Gs("div",{...m,className:r(e.className,$s),children:e.children})})};X.states=bc;X.options=xc;X.className=$s;X.defaultOptions=Vs;X.moduleName=Tr;X.folderName=Us;var Or="action-buttons",Xs=Or;import{jsx as gc}from"react/jsx-runtime";var Ii="k-actions",hc=[],Nc={},Br={alignment:"start",orientation:"horizontal"},Fe=e=>{let{alignment:t=Br.alignment,orientation:o=Br.orientation,...a}=e;return gc("div",{...a,className:r(Ii,{[`${Ii}-${t}`]:t,[`${Ii}-${o}`]:o},e.className),children:e.children})};Fe.states=hc;Fe.options=Nc;Fe.className=Ii;Fe.defaultOptions=Br;Fe.moduleName=Or;Fe.folderName=Xs;var Ws=Fe;import{jsx as Lc}from"react/jsx-runtime";var vc="k-actionsheet-footer",Js={alignment:"stretched",orientation:"horizontal"},Xt=e=>{let{alignment:t=Js.alignment,orientation:o=Js.orientation,template:a,as:i=a?"div":Fe,...s}=e;return Lc(i,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,vc),children:e.children})};var Rr="searchbox",qs=Rr;import{jsx as Fa,jsxs as kc}from"react/jsx-runtime";var Ys="k-searchbox",Ic=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Sc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Si={showIcon:!0,showClearButton:!0,icon:"search"},Ye=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:s,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,showIcon:v=Si.showIcon,showClearButton:I=Si.showClearButton,icon:S=Si.icon,"aria-label":k,...E}=e;return kc(G,{...E,size:a,rounded:i,fillMode:s,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,className:r(e.className,Ys),children:[v&&Fa(N,{className:"k-input-icon",icon:S}),Fa(me,{placeholder:o,value:t,"aria-label":k}),Fa(oe,{...e}),Fa(Q,{...e}),I&&Fa(pe,{...e})]})};Ye.states=Ic;Ye.options=Sc;Ye.className=Ys;Ye.defaultOptions=Si;Ye.moduleName=Rr;Ye.folderName=qs;import{jsx as Sk}from"react/jsx-runtime";var Pr="textbox",Zs=Pr;import{Fragment as Qs,jsx as Wt,jsxs as wr}from"react/jsx-runtime";var js="k-textbox",Ec=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Mc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},ki={showClearButton:!0,showValidationIcon:!0,separators:!0},F=e=>{let{size:t,rounded:o,fillMode:a,separators:i=ki.separators,showClearButton:s=ki.showClearButton,showValidationIcon:l=ki.showValidationIcon,prefix:m,suffix:c,type:h,value:b,placeholder:g,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:T,readonly:w,id:J,"aria-label":ee,"aria-describedby":te,...de}=e;return wr(G,{...de,size:t,rounded:o,fillMode:a,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:T,readonly:w,className:r(e.className,js),children:[m&&wr(Qs,{children:[Wt(ue,{children:m}),i&&Wt(j,{})]}),Wt(me,{id:J,placeholder:g,value:b,type:h,disabled:T,"aria-label":ee,"aria-describedby":te,"aria-invalid":S?"true":void 0}),l&&Wt(Q,{valid:I,invalid:S,loading:E,disabled:T}),Wt(oe,{loading:E,disabled:T}),s&&Wt(pe,{loading:E,disabled:T,readonly:w,value:b}),c&&wr(Qs,{children:[i&&Wt(j,{}),Wt(fe,{children:c})]})]})};F.states=Ec;F.options=Mc;F.className=js;F.defaultOptions=ki;F.moduleName=Pr;F.folderName=Zs;var Ua=F;import{jsx as Cc}from"react/jsx-runtime";var el=e=>Cc(Ua,{...e});import{Fragment as Fk,jsx as Hk}from"react/jsx-runtime";import{Fragment as Wk,jsx as Xk}from"react/jsx-runtime";import{jsx as Zk}from"react/jsx-runtime";import{jsx as Kr}from"react/jsx-runtime";var yc=F.states,Ac=F.defaultOptions,Tc=F.options,Oc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Bc=[],Ao=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?Kr(N,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?Kr(Nt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),Kr(el,{value:"Value",style:{width:300},...o,...a})};Ao.options=Tc;Ao.states=yc;Ao.variants=Bc;Ao.defaultOptions=Ac;Ao.modifiers=Oc;Ao.className=F.className;import{jsx as Jt,jsxs as Dr}from"react/jsx-runtime";var tl="k-actionsheet-titlebar",Rc={},Ne=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:s,input:l,inputValue:m,inputPlaceholder:c,adaptive:h,titleId:b,children:g,...u}=e;return Dr("div",{...u,className:r(e.className,tl),children:[Dr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Jt("div",{className:"k-actionsheet-actions",children:a}),!g&&Dr("div",{className:"k-actionsheet-title",id:b,children:[t&&Jt("div",{className:"k-text-center",children:t}),o&&Jt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&Jt("div",{className:"k-actionsheet-title",id:b,children:g}),i&&Jt("div",{className:"k-actionsheet-actions",children:i})]}),(l||s)&&Jt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Jt(F,{value:m,placeholder:c,size:h?"large":"medium","aria-label":t||c||"Input"}):Jt(Ye,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};Ne.className=tl;Ne.defaultOptions=Rc;import{jsx as _r,jsxs as Dc}from"react/jsx-runtime";var zr="k-actionsheet-view",Pc=[],wc={},Kc={},To=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:s,titleId:l,...m}=e,c=i?.type===Ne&&_r(Ne,{adaptive:t,titleId:l,...i?.props}),h=s?.type===Xt&&_r(Xt,{...s?.props});return Dc("div",{...m,className:r(e.className,zr,{[`${zr}-animated`]:o}),children:[c,_r("div",{className:"k-actionsheet-content",children:a}),h]})};To.states=Pc;To.options=wc;To.className=zr;To.defaultOptions=Kc;var Ga="action-sheet",Ei=Ga;var Hr="overlay",ol=Hr;import{jsx as Fc}from"react/jsx-runtime";var al="k-overlay",_c=[],zc={},Hc={},ct=e=>{let{...t}=e;return Fc("div",{...t,className:r(e.className,al),children:e.children})};ct.states=_c;ct.options=zc;ct.className=al;ct.defaultOptions=Hc;ct.moduleName=Hr;ct.folderName=ol;var il=ct;import{jsx as Mi,jsxs as $c}from"react/jsx-runtime";var rl="k-actionsheet",Uc=[],Gc={},$a={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},q=e=>{let{side:t=$a.side,fullscreen:o=$a.fullscreen,adaptive:a=$a.adaptive,overlay:i=$a.overlay,template:s,children:l,header:m,footer:c,id:h,...b}=e,g=h&&!s&&m?`${h}-title`:void 0;return $c("div",{className:"k-actionsheet-container",children:[i&&Mi(ct,{}),Mi(Lt,{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:Mi("div",{...b,id:h,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":g,className:r(e.className,rl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Mi(To,{header:m,footer:c,adaptive:a,titleId:g,...e,children:l})})})]})};q.states=Uc;q.options=Gc;q.className=rl;q.defaultOptions=$a;q.moduleName=Ga;q.folderName=Ei;import{jsx as Jc}from"react/jsx-runtime";var nl="k-actionsheet-container",Vc=[],Xc={},Wc={},Oo=e=>{let{children:t,...o}=e;return Jc("div",{...o,className:nl,children:t})};Oo.states=Vc;Oo.options=Xc;Oo.className=nl;Oo.defaultOptions=Wc;Oo.moduleName=Ga;Oo.folderName=Ei;import{jsx as qc}from"react/jsx-runtime";var Fr=e=>{let{...t}=e;return qc("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Zc,jsx as Va,jsxs as Ur}from"react/jsx-runtime";var Gr="k-actionsheet-item",Yc=[n.hover,n.focus,n.selected,n.disabled],qt=e=>{let{iconName:t,text:o,description:a,hover:i,focus:s,selected:l,disabled:m,...c}=e;return Ur("span",{...c,className:r(e.className,Gr,M(Gr,{hover:i,focus:s,selected:l,disabled:m})),children:[!e.children&&Va(Zc,{children:Ur("span",{className:"k-actionsheet-action",children:[t&&Va("span",{className:"k-icon-wrap",children:Va(N,{className:"k-actionsheet-item-icon",icon:t})}),Ur("span",{className:"k-actionsheet-item-text",children:[o&&Va("span",{className:"k-actionsheet-item-title",children:o}),a&&Va("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};qt.states=Yc;qt.className=Gr;import{jsx as YE,jsxs as ZE}from"react/jsx-runtime";import{jsx as tM}from"react/jsx-runtime";import{jsx as rM}from"react/jsx-runtime";import{jsx as dM}from"react/jsx-runtime";import{jsx as ge,jsxs as $r}from"react/jsx-runtime";var Qc=q.options,jc=q.states,ll={...q.defaultOptions,variant:"normal"},eu=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],tu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Bo=e=>{let{variant:t,modifiers:o,...a}={...ll,...e},i={},s=$r(Fr,{children:[ge(qt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ge(qt,{text:"Add to Favorites",iconName:"heart"}),ge(qt,{text:"Upload New",iconName:"upload",disabled:!0}),ge("hr",{className:"k-hr"}),ge(qt,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(i.fullScreen=!0),Object.keys(o||{}).forEach(c=>{switch(c){case"actions":i.actionsStart=!!o?.[c],i.actionsEnd=!!o?.[c];break;case"subtitle":i.subtitle=o?.[c]?l:void 0;break;case"footer":i.footer=!!o?.[c];break;default:break}}),t==="adaptive"?ge(q,{...a,adaptive:!0,fullscreen:i.fullScreen,header:ge(Ne,{actionsStart:i.actionsStart?ge(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ge(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?$r(Xt,{alignment:"stretched",children:[ge(p,{text:"Cancel",size:"large",themeColor:"base"}),ge(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ge(q,{...a,fullscreen:i.fullScreen,header:ge(Ne,{actionsStart:i.actionsStart?ge(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ge(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?$r(Xt,{alignment:"stretched",children:[ge(p,{text:"Apply",themeColor:"primary"}),ge(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Bo.options=Qc;Bo.states=jc;Bo.variants=eu;Bo.defaultOptions=ll;Bo.modifiers=tu;Bo.className=q.className;var Vr="slider",dl=Vr;import{jsx as Ro,jsxs as Xr}from"react/jsx-runtime";var Xa="k-slider",ou=[n.hover,n.focus,n.active,n.disabled,n.readonly],au={},Ze={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},z=e=>{let{type:t=Ze.type,orientation:o=Ze.orientation,gradientType:a=Ze.gradientType,readonly:i=Ze.readonly,disabled:s=Ze.disabled,handlePosition:l=Ze.handlePosition,showButtons:m=Ze.showButtons,showTicks:c=Ze.showTicks,value:h=Ze.value,min:b=Ze.min,max:g=Ze.max,startValue:u,endValue:v,hover:I,focus:S,active:k,trackStyle:E,dir:T,...w}=e,ee=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),te,de;return o==="horizontal"?(te=T==="rtl"?"chevron-left":"chevron-right",de=T==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(te="chevron-up",de="chevron-down"),Xr("div",{...w,className:r(Xa,e.className,M(Xa,{readonly:i,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:T,children:[m&&Ro(p,{className:"k-button-decrease",rounded:"full",icon:de,tabIndex:-1,title:"Decrease"}),Xr("div",{className:"k-slider-track-wrap",children:[c&&Ro("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Xr("div",{className:"k-slider-track",style:E,children:[Ro("div",{className:"k-slider-selection"}),t==="range"&&Ro("span",{className:r("k-draghandle","k-draghandle-start",M(Xa,{hover:I,focus:S,active:k})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":u??b,"aria-valuemin":b,"aria-valuemax":v??g,"aria-orientation":ee,"aria-disabled":s?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":w["aria-label"]?`${w["aria-label"]} start`:"Range start"}),Ro("span",{className:r("k-draghandle",`k-draghandle-${l}`,M(Xa,{hover:I,focus:S,active:k})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??g:h,"aria-valuemin":t==="range"?u??b:b,"aria-valuemax":g,"aria-orientation":ee,"aria-disabled":s?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?w["aria-label"]?`${w["aria-label"]} end`:"Range end":w["aria-label"]})]})]}),m&&Ro(p,{className:"k-button-increase",rounded:"full",icon:te,tabIndex:-1,title:"Increase"})]})};z.states=ou;z.options=au;z.className=Xa;z.defaultOptions=Ze;z.moduleName=Vr;z.folderName=dl;import{jsx as pl}from"react/jsx-runtime";var ml="k-tick",iu=[],ru={},cl={label:!1},B=e=>{let{style:t,label:o=cl.label,orientation:a,large:i,text:s,...l}=e;return pl("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,ml,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&pl("span",{className:"k-label",children:s})})};B.states=iu;B.options=ru;B.className=ml;B.defaultOptions=cl;import{Fragment as nu,jsx as Qe,jsxs as su}from"react/jsx-runtime";var ul=e=>Qe(z,{"aria-label":e["aria-label"]||"Slider",children:su(nu,{children:[Qe(B,{className:"k-first",label:!0,large:!0,text:"0"}),Qe(B,{}),Qe(B,{}),Qe(B,{}),Qe(B,{}),Qe(B,{label:!0,large:!0,text:"5"}),Qe(B,{}),Qe(B,{}),Qe(B,{}),Qe(B,{}),Qe(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as lu,jsx as je,jsxs as du}from"react/jsx-runtime";var fl=e=>je(z,{children:du(lu,{children:[je(B,{className:"k-first",label:!0,large:!0,text:"0"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{label:!0,large:!0,text:"5"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as ZM,jsx as YM,jsxs as QM}from"react/jsx-runtime";import{Fragment as aC,jsx as oC,jsxs as iC}from"react/jsx-runtime";import{jsx as pu}from"react/jsx-runtime";var Wr=e=>pu(z,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as mu}from"react/jsx-runtime";var Jr=e=>mu(z,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as bC,jsx as fC,jsxs as xC}from"react/jsx-runtime";import{Fragment as LC,jsx as vC,jsxs as IC}from"react/jsx-runtime";import{jsx as It,jsxs as bl}from"react/jsx-runtime";var cu=z.options,uu=z.states,xl={...z.defaultOptions,variant:"horizontal",label:!0},fu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],bu=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Po=e=>{let{variant:t,modifiers:o,...a}=e,i=xl.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{i=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?bl(fl,{style:{height:"300px",...l},...a,...s,children:[It(B,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),It(B,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),It(B,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),It(B,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),It(B,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):bl(ul,{style:{width:"400px",...l},...a,...s,children:[It(B,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),It(B,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),It(B,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),It(B,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),It(B,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Po.options=cu;Po.states=uu;Po.variants=fu;Po.defaultOptions=xl;Po.modifiers=bu;Po.className=z.className;import{jsx as hl,jsxs as vu}from"react/jsx-runtime";var Nl="k-spin-button",Nu=[],gu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},qr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},St=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=qr.increaseLabel,decreaseLabel:s=qr.decreaseLabel,...l}=e;return vu("span",{...l,className:r(Nl,e.className),children:[hl(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),hl(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};St.states=Nu;St.options=gu;St.className=Nl;St.defaultOptions=qr;St.moduleName=null;St.folderName=null;var gl="numeric-textbox",vl="numerictextbox";import{Fragment as Ll,jsx as wt,jsxs as Yr}from"react/jsx-runtime";var Il="k-numerictextbox",Lu=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Iu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ci={showSpinButton:!0,showClearButton:!0,separators:!0},P=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ci.separators,showClearButton:s=Ci.showClearButton,showSpinButton:l=Ci.showSpinButton,prefix:m,suffix:c,value:h,placeholder:b,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,id:w,"aria-label":J,"aria-describedby":ee,...te}=e;return Yr(G,{...te,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,className:r(e.className,Il),children:[m&&Yr(Ll,{children:[wt(ue,{children:m}),i&&wt(j,{})]}),wt(me,{id:w,placeholder:b,value:h,role:"spinbutton",disabled:E,"aria-label":J,"aria-describedby":ee,"aria-invalid":I?"true":void 0}),wt(Q,{valid:v,invalid:I,loading:k,disabled:E}),wt(oe,{loading:k,disabled:E}),s&&wt(pe,{loading:k,disabled:E,readonly:T,value:h}),c&&Yr(Ll,{children:[i&&wt(j,{}),wt(fe,{children:c})]}),l&&wt(St,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};P.states=Lu;P.options=Iu;P.className=Il;P.defaultOptions=Ci;P.moduleName=gl;P.folderName=vl;var Wa=P;import{jsx as Su}from"react/jsx-runtime";var Sl=e=>Su(Wa,{...e});import Qr from"react";import{jsx as kl}from"react/jsx-runtime";var ku="k-list-group-sticky-header",Zr=e=>kl("div",{className:r(ku,e.className),children:kl("div",{className:"k-list-header-text",children:e.children})});import{jsx as Mu}from"react/jsx-runtime";var Eu="k-no-data",yi=e=>{let{live:t,...o}=e;return Mu("span",{...o,className:r(Eu,e.className),"aria-live":t?"polite":void 0,children:e.children})};var lo="list",wo=lo;import{jsx as El,jsxs as Ml}from"react/jsx-runtime";var jr="k-list",Cu=[],yu={size:[d.undefined,d.small,d.medium,d.large]},Au={},R=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:s,optionLabel:l,customValue:m,noData:c,screenReaders:h,...b}=e,u=Qr.Children.toArray(a)[0],v=u?.props?.children?Qr.Children.count(u.props.children):Qr.Children.count(a);return Ml("div",{...b,className:r(e.className,jr,C(jr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,i&&El(Zr,{children:i}),a||(c!==void 0?c:El(yi,{live:!0,children:"No data found."})),h&&a&&Ml(yi,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};R.states=Cu;R.options=yu;R.className=jr;R.defaultOptions=Au;R.moduleName=lo;R.folderName=wo;import{jsx as Ru}from"react/jsx-runtime";var Cl="k-list-container",Tu=[],Ou={},Bu={},Ko=e=>{let{...t}=e;return Ru("div",{...t,className:r(e.className,Cl),children:e.children})};Ko.states=Tu;Ko.options=Ou;Ko.className=Cl;Ko.defaultOptions=Bu;Ko.moduleName=lo;Ko.folderName=wo;var po="checkbox",Do=po;import{jsx as yl}from"react/jsx-runtime";var Ai="k-checkbox",Pu=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],wu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Ku={},Re=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:s,disabled:l,invalid:m,valid:c,required:h,size:b,rounded:g,wrapperRole:u,...v}=e;return yl("span",{className:"k-checkbox-wrap",role:u,children:yl("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Ai,C(Ai,{size:b,rounded:g}),M(Ai,{hover:i,focus:s,disabled:l,invalid:m,valid:c,indeterminate:a,checked:o}))})})};Re.states=Pu;Re.options=wu;Re.className=Ai;Re.defaultOptions=Ku;Re.moduleName=po;Re.folderName=Do;var ut=Re;import{jsx as zu}from"react/jsx-runtime";var Al="k-checkbox-list",Du=[],_u={},Tl={layout:"vertical"},Ce=e=>{let{layout:t=Tl.layout,...o}=e;return zu("ul",{...o,className:r(e.className,Al,{[`k-list-${t}`]:t}),children:e.children})};Ce.states=Du;Ce.options=_u;Ce.className=Al;Ce.defaultOptions=Tl;Ce.moduleName=po;Ce.folderName=Do;import{jsx as Gu}from"react/jsx-runtime";var Ol="k-checkbox-list-item",Hu=[],Fu={},Uu={},ye=e=>{let{...t}=e;return Gu("li",{...t,className:r(e.className,Ol),children:e.children})};ye.states=Hu;ye.options=Fu;ye.className=Ol;ye.defaultOptions=Uu;ye.moduleName=po;ye.folderName=Do;import{Fragment as $u,jsx as Bl,jsxs as Vu}from"react/jsx-runtime";var ft=({children:e="Label",id:t="cb-label-after",...o})=>Vu($u,{children:[Bl(ut,{id:t,...o}),Bl("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as Xy,jsx as Vy,jsxs as Wy}from"react/jsx-runtime";import{Fragment as Qy,jsx as Zy,jsxs as jy}from"react/jsx-runtime";import{Fragment as iA,jsx as aA,jsxs as rA}from"react/jsx-runtime";import{jsx as dA}from"react/jsx-runtime";import{jsx as uA}from"react/jsx-runtime";import{jsx as hA}from"react/jsx-runtime";import{jsx as et,jsxs as Rl}from"react/jsx-runtime";var Xu=Ce.options,Wu=Ce.states,Ju={...Ce.defaultOptions,variant:"vertical"},qu=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Yu=[],_o=e=>{let{variant:t,...o}=e;return t==="horizontal"?Rl(Ce,{layout:"horizontal",...o,children:[et(ye,{children:et(ft,{id:A("cb"),defaultChecked:!0,children:"Label"})}),et(ye,{children:et(ft,{id:A("cb"),children:"Label"})}),et(ye,{children:et(ft,{id:A("cb"),children:"Label"})})]}):Rl(Ce,{...o,children:[et(ye,{children:et(ft,{id:A("cb"),defaultChecked:!0,children:"Label"})}),et(ye,{children:et(ft,{id:A("cb"),children:"Label"})}),et(ye,{children:et(ft,{id:A("cb"),children:"Label"})})]})};_o.options=Xu;_o.states=Wu;_o.variants=qu;_o.defaultOptions=Ju;_o.modifiers=Yu;_o.className=Ce.className;import{jsx as of}from"react/jsx-runtime";var Zu=ut.options,Qu=ut.states,ju=ut.defaultOptions,ef=[],tf=[],zo=e=>of(ft,{id:A("checkbox"),...e,defaultChecked:!0,children:"Label"});zo.options=Zu;zo.states=Qu;zo.variants=ef;zo.defaultOptions=ju;zo.modifiers=tf;zo.className=ut.className;import{jsx as Ho,jsxs as sf}from"react/jsx-runtime";var en="k-list-item",af=[n.hover,n.focus,n.selected,n.disabled],rf={},nf={},y=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:s,hover:l,focus:m,selected:c,disabled:h,actions:b,description:g,id:u,...v}=e,I=t||e.children,S=t||(typeof I=="string"?I:void 0);return sf("li",{...v,id:u,role:"option",tabIndex:m?0:-1,"aria-selected":c?"true":"false","aria-disabled":h?"true":void 0,className:r(e.className,en,M(en,{hover:l,focus:m,disabled:h,selected:c})),children:[i&&Ho(Re,{checked:s,disabled:h,"aria-label":S,tabIndex:-1}),o&&Ho("span",{className:"k-list-item-icon-wrapper",children:Ho(N,{icon:o,className:r("k-list-item-icon",a)})}),Ho("span",{className:"k-list-item-text",children:I}),b&&Ho("div",{className:"k-list-item-actions",children:b}),g&&Ho("span",{className:"k-list-item-description",children:g})]})};y.states=af;y.options=rf;y.className=en;y.defaultOptions=nf;y.moduleName=lo;y.folderName=wo;import{jsx as df}from"react/jsx-runtime";var lf="k-list-ul",kt=e=>{let{children:t,role:o,id:a,...i}=e;return df("ul",{...i,id:a,role:o,className:r(lf,e.className),children:t})};import{jsx as tn,jsxs as mf}from"react/jsx-runtime";var pf="k-list-content",K=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:s,...l}=e;return mf("div",{...l,className:r(pf,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:tn(kt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&tn("div",{className:"k-height-container",children:tn("div",{})})]})};import{jsx as on,jsxs as bf}from"react/jsx-runtime";var Ti="k-list-sticky-header",cf=[n.hover,n.focus,n.selected],uf={},ff={},Oi=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:s,focus:l,selected:m,...c}=e;return on("div",{...c,className:r(Ti,e.className),children:bf("div",{className:r(`${Ti}-item`,M(`${Ti}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&on(Re,{checked:a,indeterminate:i,"aria-label":t}),on("span",{className:"k-list-item-text",children:t})]})})};Oi.states=cf;Oi.options=uf;Oi.className=Ti;Oi.defaultOptions=ff;import{Fragment as mT,jsx as pT,jsxs as cT}from"react/jsx-runtime";import{jsx as hT,jsxs as NT}from"react/jsx-runtime";import{jsx as gf}from"react/jsx-runtime";var an="k-list-optionlabel",xf=[n.hover,n.focus,n.selected,n.disabled],hf={},Nf={},Bi=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:s,...l}=e;return gf("div",{...l,className:r(an,M(an,{hover:o,focus:a,selected:i,disabled:s})),children:t})};Bi.states=xf;Bi.options=hf;Bi.className=an;Bi.defaultOptions=Nf;import{jsx as Sf}from"react/jsx-runtime";var rn="k-list-custom-value",vf=[n.hover,n.focus,n.selected,n.disabled],Lf={},If={},tt=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:s,...l}=e;return Sf("div",{...l,className:r(rn,M(rn,{hover:o,focus:a,selected:i,disabled:s})),children:t})};tt.states=vf;tt.options=Lf;tt.className=rn;tt.defaultOptions=If;import{Fragment as TT,jsx as AT,jsxs as OT}from"react/jsx-runtime";import{Fragment as DT,jsx as KT,jsxs as _T}from"react/jsx-runtime";import{Fragment as VT,jsx as GT,jsxs as $T}from"react/jsx-runtime";import{Fragment as QT,jsx as YT,jsxs as ZT}from"react/jsx-runtime";import{jsx as oO}from"react/jsx-runtime";import{Fragment as lO,jsx as sO,jsxs as dO}from"react/jsx-runtime";import{Fragment as bO,jsx as fO,jsxs as xO}from"react/jsx-runtime";var Pl="dropdown-list",wl="dropdownlist";import{Fragment as Mf,jsx as Ae,jsxs as nn}from"react/jsx-runtime";var Kl="k-dropdownlist",kf=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ef={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},sn={showValue:!0,arrowIconName:"chevron-down"},$=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=sn.arrowIconName,showValue:s=sn.showValue,valueIconName:l,prefix:m,suffix:c,value:h,placeholder:b,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,popup:w,opened:J,adaptive:ee,adaptiveSettings:te,adaptiveTitle:de,adaptiveSubtitle:no,adaptiveFilter:xt,id:Ot,activeDescendant:Gt,"aria-label":Ta,...Oa}=e,Ba=Ot?`${Ot}-listbox`:void 0,bs=Ot?`${Ot}-value`:void 0;return nn(Mf,{children:[nn(gt,{...Oa,id:Ot,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,className:r(e.className,Kl,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":J?"true":"false","aria-controls":J?Ba:void 0,"aria-activedescendant":J&&Gt?Gt:void 0,"aria-describedby":J?bs:void 0,"aria-disabled":E?"true":void 0,"aria-label":Ta,tabIndex:0,children:[Ae(ue,{children:m}),Ae(so,{placeholder:b,value:h,showValue:s,valueIconName:l,id:bs}),Ae(Q,{valid:v,invalid:I,loading:k,disabled:E}),Ae(oe,{loading:k,disabled:E}),Ae(fe,{children:c}),Ae(p,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),J&&w&&Ae(X,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:w}),ee&&Ae(q,{adaptive:!0,...te,header:Ae(Ne,{actionsEnd:Ae(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:xt,inputValue:h,inputPlaceholder:b,title:de,subtitle:no}),children:Ae("div",{className:"k-list-container",children:Ae(R,{size:"large",children:nn(K,{"aria-label":"Options",children:[Ae(y,{text:"List item"}),Ae(y,{text:"List item"}),Ae(y,{text:"List item"})]})})})})]})};$.states=kf;$.options=Ef;$.className=Kl;$.defaultOptions=sn;$.moduleName=Pl;$.folderName=wl;import{jsx as ZO}from"react/jsx-runtime";import{jsx as aB,jsxs as iB}from"react/jsx-runtime";import{Fragment as uB,jsx as mB,jsxs as cB}from"react/jsx-runtime";import{jsx as NB}from"react/jsx-runtime";import{jsx as kB,jsxs as EB}from"react/jsx-runtime";import{Fragment as PB,jsx as BB,jsxs as RB}from"react/jsx-runtime";import{jsx as zB}from"react/jsx-runtime";import{Fragment as Bf,jsx as Yt,jsxs as Dl}from"react/jsx-runtime";var Cf=$.states,yf=$.defaultOptions,Af=$.options,Tf=[{name:"opened",title:"Opened"}],Of=[],Uo=e=>{let{modifiers:t,...o}=e,a={},i=Dl(Bf,{children:[Yt("div",{className:"k-list-filter",children:Yt(Ye,{})}),Yt(R,{style:{width:300},size:o.size,children:Dl(K,{children:[Yt(y,{children:"List item"}),Yt(y,{children:"List item"}),Yt(y,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?i:void 0)}),Yt("div",{children:Yt($,{placeholder:"Value",style:{width:300},...o,...a})})};Uo.options=Af;Uo.states=Cf;Uo.variants=Of;Uo.defaultOptions=yf;Uo.modifiers=Tf;Uo.className=$.className;import{Fragment as sR,jsx as nR}from"react/jsx-runtime";import{Fragment as uR,jsx as cR}from"react/jsx-runtime";import{jsx as hR}from"react/jsx-runtime";import{jsx as ln}from"react/jsx-runtime";var Rf=P.states,Pf=P.defaultOptions,wf=P.options,Kf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Df=[],Go=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?ln($,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?ln(Pt,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),ln(Sl,{value:"Value",style:{width:300},...o,...a})};Go.options=wf;Go.states=Rf;Go.variants=Df;Go.defaultOptions=Pf;Go.modifiers=Kf;Go.className=P.className;import{Fragment as Ja,jsx as D,jsxs as ae}from"react/jsx-runtime";var _l="k-colorgradient-inputs",_f=[],zf={size:[d.undefined,d.small,d.medium,d.large]},zl={mode:"rgba"},$o=e=>{let{mode:t=zl.mode,size:o,...a}=e;return ae("div",{...a,className:r(_l,"k-hstack"),children:[D("div",{className:"k-vstack",children:D(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ae(Ja,{children:[ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),D("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),D("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),D("label",{className:"k-colorgradient-input-label",children:"B"})]}),ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),D("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ae(Ja,{children:[ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),D("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),D("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),D("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ae(Ja,{children:[ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),D("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),D("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),D("label",{className:"k-colorgradient-input-label",children:"V"})]}),ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),D("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ae(Ja,{children:[ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),D("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),D("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[D(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),D("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&D(Ja,{children:ae("div",{className:"k-vstack k-flex-1",children:[D(F,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),D("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};$o.states=_f;$o.options=zf;$o.className=_l;$o.defaultOptions=zl;import{jsx as co,jsxs as uo}from"react/jsx-runtime";var Hl="k-colorgradient-color-contrast",Hf=[],Ff={},Uf={},Vo=()=>uo("div",{className:r(Hl,"k-vbox"),children:[uo("div",{className:"k-contrast-ratio",children:[co("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),uo("span",{className:"k-contrast-validation !k-text-success",children:[co(N,{icon:"check"}),co(N,{icon:"check"})]})]}),uo("div",{children:[co("span",{children:"AA: 4.5"}),uo("span",{className:"k-contrast-validation !k-text-success",children:["Pass",co(N,{icon:"check"})]})]}),uo("div",{children:[co("span",{children:"AAA: 7.0"}),uo("span",{className:"k-contrast-validation !k-text-error",children:["Fail",co(N,{icon:"x"})]})]})]});Vo.states=Hf;Vo.options=Ff;Vo.className=Hl;Vo.defaultOptions=Uf;var Fl="color-gradient",Ul="colorgradient";import{jsx as ot,jsxs as qa}from"react/jsx-runtime";var Ri="k-colorgradient",Gf=[n.hover,n.focus,n.readonly,n.disabled],$f={size:[d.undefined,d.small,d.medium,d.large]},Et={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"},ve=e=>{let{size:t,mode:o=Et.mode,readonly:a=Et.readonly,disabled:i=Et.disabled,gradientStyle:s=Et.gradientStyle,dragHandleStyle:l=Et.dragHandleStyle,alphaStyle:m=Et.alphaStyle,alphaStyleHorizontal:c=Et.alphaStyleHorizontal,contrast:h=Et.contrast,dir:b,hover:g,focus:u,hoverHandle:v,focusHandle:I,canvasOrientation:S=Et.canvasOrientation,role:k,tabIndex:E,...T}=e;return qa("div",{...T,role:k??"textbox","aria-label":k==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":i?"true":void 0,className:r(e.className,Ri,C(Ri,{size:t}),M(Ri,{hover:g,focus:u,readonly:a,disabled:i})),dir:b,children:[!S||S==="horizontal"&&qa("div",{className:"k-colorgradient-canvas k-hstack",children:[ot("div",{className:"k-hsv-rectangle",style:s,children:ot("div",{className:"k-hsv-gradient",children:ot("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":I}),style:l,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})})}),qa("div",{className:"k-hsv-controls k-hstack",children:[ot(Jr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&ot(Jr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:m})]})]}),S==="vertical"&&qa("div",{className:"k-colorgradient-canvas k-vstack",children:[ot("div",{className:"k-hsv-rectangle",style:s,children:ot("div",{className:"k-hsv-gradient",children:ot("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":I}),style:l,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})})}),qa("div",{className:"k-hsv-controls k-vstack",children:[ot(Wr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&ot(Wr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:c})]})]}),ot($o,{mode:e.mode,size:t}),h&&ot(Vo,{})]})};ve.states=Gf;ve.options=$f;ve.className=Ri;ve.defaultOptions=Et;ve.moduleName=Fl;ve.folderName=Ul;import{jsx as Vf}from"react/jsx-runtime";var Pi=e=>Vf(ve,{...e});import{jsx as oP}from"react/jsx-runtime";import{jsx as nP}from"react/jsx-runtime";import{jsx as dn}from"react/jsx-runtime";var Xf=ve.options,Wf=ve.states,Jf={...ve.defaultOptions,variant:"rgba"},qf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Yf=[],Xo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return dn(Pi,{...o,mode:t});case"rgb":return dn(Pi,{...o,mode:t});default:return dn(Pi,{...o,mode:t})}};Xo.options=Xf;Xo.states=Wf;Xo.variants=qf;Xo.defaultOptions=Jf;Xo.modifiers=Yf;Xo.className=ve.className;import{jsx as Zf}from"react/jsx-runtime";var pn=e=>Zf("tr",{role:"row",children:e.children});import{jsx as eb}from"react/jsx-runtime";var mn="k-colorpalette-tile",Qf=[n.hover,n.focus,n.selected],jf={},Zt=e=>{let{color:t,tileSize:o,hover:a,focus:i,selected:s,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return eb("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,mn,M(mn,{hover:a,focus:i,selected:s})),style:m})};Zt.states=Qf;Zt.options=jf;Zt.className=mn;Zt.moduleName=null;Zt.folderName=null;var Gl="color-palette",$l="colorpalette";import{jsx as Ya}from"react/jsx-runtime";var wi="k-colorpalette",tb=[n.disabled],ob={size:[d.undefined,d.small,d.medium,d.large]},Vl={columns:10},Pe=e=>{let{size:t,palette:o,columns:a=Vl.columns,tileSize:i,disabled:s,...l}=e,m=[];if(o){let c=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/c)},(b,g)=>{let u=[];h.slice(g*c,(g+1)*c).map((I,S)=>{u.push(Ya(Zt,{color:I,tileSize:i},S))});let v=Ya(pn,{children:u},g);m.push(v)})}return Ya("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,wi,M(wi,{disabled:s}),C(wi,{size:t})),children:Ya("table",{className:"k-colorpalette-table",role:"none",children:Ya("tbody",{children:m.length>0?m:e.children})})})};Pe.states=tb;Pe.options=ob;Pe.className=wi;Pe.defaultOptions=Vl;Pe.moduleName=Gl;Pe.folderName=$l;var Ki=Pe;var Za={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 ab}from"react/jsx-runtime";var Xl=e=>ab(Ki,{palette:Za.basic,...e});import{jsx as FP}from"react/jsx-runtime";import{jsx as WP,jsxs as JP}from"react/jsx-runtime";import{jsx as pb}from"react/jsx-runtime";var ib=Pe.options,rb=Pe.states,nb={...Pe.defaultOptions,variant:"basic"},sb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],lb={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}},db=[],Wo=e=>{let{variant:t="basic",...o}=e,a=lb[t];return pb(Xl,{columns:a.columns,palette:a,...o})};Wo.options=ib;Wo.states=rb;Wo.variants=sb;Wo.defaultOptions=nb;Wo.modifiers=db;Wo.className=Pe.className;var Wl="color-editor",Jl="coloreditor";import{jsx as at,jsxs as Jo}from"react/jsx-runtime";var Di="k-coloreditor",mb=[n.focus],cb={size:[d.undefined,d.small,d.medium,d.large]},Qa={view:"gradient",palette:Za.office,actionButtons:!0,canvasOrientation:"horizontal"},ie=e=>{let{size:t,view:o=Qa.view,palette:a=Qa.palette,color:i,currentColor:s,focus:l,focusView:m,dir:c,group:h,actionButtons:b=Qa.actionButtons,canvasOrientation:g=Qa.canvasOrientation,...u}=e;return Jo("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",Di,C(Di,{size:t}),M(Di,{focus:l})),dir:c,children:[Jo("div",{className:"k-coloreditor-header k-hstack",children:[at("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&Jo(O,{fillMode:"flat",children:[at(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),at(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),at("div",{className:"k-spacer"}),Jo("div",{className:"k-coloreditor-header-actions k-hstack",children:[at(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Jo("div",{className:"k-coloreditor-preview k-vstack",children:[at(Vt,{className:"k-coloreditor-preview-color",color:i}),at(Vt,{className:"k-coloreditor-current-color",color:s})]})]})]}),at("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?at(ve,{focus:m,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):at(Pe,{palette:a,size:t})}),b&&Jo(Fe,{className:"k-coloreditor-footer",alignment:"start",children:[at(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),at(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ie.states=mb;ie.options=cb;ie.className=Di;ie.defaultOptions=Qa;ie.moduleName=Wl;ie.folderName=Jl;var qo=ie;import{jsx as Sw}from"react/jsx-runtime";import{jsx as Cw}from"react/jsx-runtime";import{jsx as ub}from"react/jsx-runtime";var ql=e=>ub(qo,{group:!0,currentColor:"fuchsia",...e});import{jsx as fb}from"react/jsx-runtime";var Yl=e=>fb(qo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Zl}from"react/jsx-runtime";var bb=ie.options,xb=ie.states,hb={...ie.defaultOptions,variant:"gradient"},Nb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],gb=[],Yo=e=>{let{variant:t,...o}=e;return t==="palette"?Zl(Yl,{...o,color:"white"}):Zl(ql,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Yo.options=bb;Yo.states=xb;Yo.variants=Nb;Yo.defaultOptions=hb;Yo.modifiers=gb;Yo.className=ie.className;var Ql="color-picker",jl="colorpicker";import{Fragment as Ib,jsx as it,jsxs as cn}from"react/jsx-runtime";var ed="k-colorpicker",vb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],Lb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},td={arrowIconName:"chevron-down"},Le=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=td.arrowIconName,prefix:s,suffix:l,value:m,placeholder:c,hover:h,focus:b,valid:g,invalid:u,required:v,disabled:I,valueIconName:S,popup:k,opened:E,adaptive:T,adaptiveSettings:w,adaptiveTitle:J,adaptiveSubtitle:ee,...te}=e,de="colorpicker-popup";return cn(Ib,{children:[cn(gt,{...te,size:t,rounded:o,fillMode:a,hover:h,focus:b,valid:g,invalid:u,required:v,disabled:I,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||T?de:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":I?"true":void 0,className:r(e.className,ed,"k-icon-picker"),children:[it(ue,{children:s}),it(so,{placeholder:c,value:m,showValue:!1,valueIcon:it(Vt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),it(fe,{children:l}),it(p,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:I})]}),E&&k&&it(X,{id:de,className:"k-colorpicker-popup",children:k}),T&&it(q,{adaptive:!0,id:de,...w,header:it(Ne,{actionsEnd:it(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:J,subtitle:ee}),footer:cn(Xt,{children:[it(p,{text:"Cancel",size:"large"}),it(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:it(ie,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Le.states=vb;Le.options=Lb;Le.className=ed;Le.defaultOptions=td;Le.moduleName=Ql;Le.folderName=jl;var Kt=Le;import{jsx as Sb}from"react/jsx-runtime";var _i=e=>Sb(Kt,{...e});import{jsx as p0}from"react/jsx-runtime";import{jsx as b0}from"react/jsx-runtime";import{jsx as g0}from"react/jsx-runtime";import{jsx as S0}from"react/jsx-runtime";import{jsx as C0}from"react/jsx-runtime";import{jsx as O0}from"react/jsx-runtime";import{jsx as fo}from"react/jsx-runtime";var kb=Kt.options,Eb=Kt.states,od={...Kt.defaultOptions,variant:"color"},Mb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Cb=[{name:"opened",title:"Opened"}],Zo=e=>{let{variant:t,modifiers:o,...a}={...od,...e},i={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?fo(ie,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=i.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return fo("div",{style:s,children:fo(_i,{...a,...i})});case"icon":return fo("div",{style:s,children:fo(_i,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return fo("div",{style:s,children:fo(_i,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};Zo.options=kb;Zo.states=Eb;Zo.variants=Mb;Zo.defaultOptions=od;Zo.modifiers=Cb;Zo.className=Kt.className;var un="combobox",ad=un;import{Fragment as fn,jsx as ce,jsxs as ja}from"react/jsx-runtime";var id="k-combobox",yb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Ab={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},bn={separators:!0,showClearButton:!0},Ie=e=>{let{size:t,rounded:o,fillMode:a,separators:i=bn.separators,showClearButton:s=bn.showClearButton,prefix:l,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:T,readonly:w,adaptive:J,adaptiveSettings:ee,adaptiveTitle:te,adaptiveSubtitle:de,adaptiveCustomValue:no,id:xt,autocomplete:Ot,activeDescendant:Gt,"aria-label":Ta,...Oa}=e,Ba=xt?`${xt}-listbox`:void 0;return ja(fn,{children:[ja(G,{...Oa,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:w,className:r(e.className,id),children:[l&&ja(fn,{children:[ce(ue,{children:l}),i&&ce(j,{})]}),ce(me,{id:xt,placeholder:h,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Ba:void 0,"aria-activedescendant":T&&Gt?Gt:void 0,"aria-autocomplete":Ot,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Ta,disabled:k,readOnly:w}),ce(Q,{valid:u,invalid:v,loading:S,disabled:k}),ce(oe,{loading:S,disabled:k}),s&&ce(pe,{loading:S,disabled:k,readonly:w,value:c}),m&&ja(fn,{children:[i&&ce(j,{}),ce(fe,{children:m})]}),ce(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:k})]}),T&&E&&ce(X,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),J&&ce(q,{adaptive:!0,id:xt?`${xt}-adaptive`:void 0,...ee,header:ce(Ne,{actionsEnd:ce(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:h,title:te,subtitle:de}),children:ce("div",{className:"k-list-container",children:ce(R,{customValue:no?ce(tt,{text:`Use "${c}"`}):void 0,size:"large",children:ja(K,{"aria-label":te||"Options",children:[ce(y,{text:"List item"}),ce(y,{text:"List item"}),ce(y,{text:"List item"})]})})})})]})};Ie.states=yb;Ie.options=Ab;Ie.className=id;Ie.defaultOptions=bn;Ie.moduleName=un;Ie.folderName=ad;var Ue=Ie;import{jsx as Tb}from"react/jsx-runtime";var rd=e=>Tb(Ue,{...e});import{jsx as uK,jsxs as fK}from"react/jsx-runtime";import{jsx as vK,jsxs as LK}from"react/jsx-runtime";import{jsx as CK,jsxs as yK}from"react/jsx-runtime";import{Fragment as PK,jsx as RK}from"react/jsx-runtime";import{Fragment as HK,jsx as zK}from"react/jsx-runtime";import{jsx as XK,jsxs as WK}from"react/jsx-runtime";import{Fragment as tD,jsx as jK,jsxs as eD}from"react/jsx-runtime";import{jsx as rD}from"react/jsx-runtime";import{jsx as dD}from"react/jsx-runtime";import{jsx as bD,jsxs as xD}from"react/jsx-runtime";import{jsx as ID,jsxs as SD}from"react/jsx-runtime";import{jsx as Qt,jsxs as Kb}from"react/jsx-runtime";var Ob=Ie.states,Bb=Ie.defaultOptions,Rb=Ie.options,Pb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],wb=[],Qo=e=>{let{modifiers:t,...o}=e,a={},i=Qt(R,{style:{width:300},size:o.size,children:Kb(K,{children:[Qt(y,{children:"List item"}),Qt(y,{children:"List item"}),Qt(y,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Qt(N,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Qt(Bt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?i:void 0;break;default:break}}),Qt("div",{children:Qt(rd,{value:"Value",style:{width:300},...o,...a})})};Qo.options=Rb;Qo.states=Ob;Qo.variants=wb;Qo.defaultOptions=Bb;Qo.modifiers=Pb;Qo.className=Ie.className;var xn="menu-button",nd=xn;import{jsx as zb}from"react/jsx-runtime";var sd="k-menu-button",Db=[n.hover,n.focus,n.active,n.selected,n.disabled],_b={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},hn={showArrow:!0,arrowIconName:"chevron-down"},V=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,icon:b,endIcon:g,text:u,showArrow:v=hn.showArrow,arrowIconName:I=hn.arrowIconName,expanded:S,...k}=e;return zb(p,{...k,className:r(e.className,sd),text:u,size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,ariaDisabled:h||void 0,icon:b,endIcon:g,showArrow:v,arrowIconName:I,"aria-expanded":S?"true":"false",...!u&&b&&!e["aria-label"]&&{"aria-label":"Menu"}})};V.states=Db;V.options=_b;V.className=sd;V.defaultOptions=hn;V.moduleName=xn;V.folderName=nd;import{jsx as o_}from"react/jsx-runtime";import{jsx as n_}from"react/jsx-runtime";import{jsx as p_}from"react/jsx-runtime";import{jsx as f_}from"react/jsx-runtime";var Ge="menu",rt=Ge;import{jsx as ti,jsxs as ld}from"react/jsx-runtime";var Nn="k-menu-item",Hb=[n.hover,n.focus,n.active,n.selected,n.disabled],Fb={},dd={iconPosition:"before"},Ee=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:s,icon:l,text:m,showArrow:c,arrowIconName:h,iconPosition:b=dd.iconPosition,dir:g,children:u,expanded:v,...I}=e,S=h;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),ld("li",{...I,className:r(e.className,Nn,"k-item",M(Nn,{focus:o,disabled:s,hover:t,active:a,selected:i})),role:"menuitem",...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":v?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[ld("span",{className:r("k-link k-menu-link"),children:[l&&b==="before"&&ti(N,{className:"k-menu-link-icon",icon:l}),ti("span",{className:"k-menu-link-text",children:m}),l&&b==="after"&&ti(N,{className:"k-menu-link-icon",icon:l}),c&&ti("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ti(N,{icon:S})})]}),u]})};Ee.states=Hb;Ee.options=Fb;Ee.className=Nn;Ee.defaultOptions=dd;Ee.moduleName=Ge;Ee.folderName=rt;import{jsx as bo,jsxs as pd}from"react/jsx-runtime";var gn="k-menu-item",Ub=[n.hover,n.focus,n.active,n.selected,n.disabled],Gb={},vn={dir:"ltr",iconPosition:"before"},Y=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:s,icon:l,text:m,showArrow:c,arrowIconName:h,iconPosition:b=vn.iconPosition,dir:g=vn.dir,children:u,popup:v,expanded:I,actions:S,description:k,...E}=e,T=h;return T||(T=g==="rtl"?"chevron-left":"chevron-right"),pd("li",{role:"menuitem",...E,className:r(e.className,gn,"k-item",M(gn,{focus:o,disabled:s})),...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":I?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[pd("span",{className:r("k-link k-menu-link",M("k-menu-link",{hover:t,active:a,selected:i,disabled:s})),children:[l&&b==="before"&&bo(N,{className:"k-menu-link-icon",icon:l}),bo("span",{className:"k-menu-link-text",children:m}),l&&b==="after"&&bo(N,{className:"k-menu-link-icon",icon:l}),S&&bo("span",{className:"k-menu-link-actions",children:S}),c&&bo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:bo(N,{icon:T})}),k&&bo("span",{className:"k-menu-link-description",children:k})]}),u,v]})};Y.states=Ub;Y.options=Gb;Y.className=gn;Y.defaultOptions=vn;Y.moduleName=Ge;Y.folderName=rt;import{jsx as Wb}from"react/jsx-runtime";var md="k-menu-scroll-wrapper",$b=[],Vb={},Xb={},xo=e=>{let{className:t,children:o,orientation:a,...i}=e;return Wb("div",{...i,className:r(t,md,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};xo.states=$b;xo.options=Vb;xo.className=md;xo.defaultOptions=Xb;xo.moduleName=Ge;xo.folderName=rt;var cd=xo;import{Fragment as Ln,jsx as ho,jsxs as zi}from"react/jsx-runtime";var Hi="k-menu",Jb=[],qb={size:[d.undefined,d.small,d.medium,d.large]},Fi={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Se=e=>{let{children:t,orientation:o=Fi.orientation,header:a=Fi.header,scrollable:i,scrollButtonsPosition:s=Fi.scrollButtonsPosition,wrapperStyles:l,dir:m,size:c,popup:h,contextMenu:b,...g}=e,u={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},v=ho("ul",{dir:m,...g,className:r(e.className,"k-reset",Hi,{[`${Hi}-${o}`]:o,"k-header":a},C(Hi,{size:c})),role:b?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return zi(Ln,{children:[i?zi(cd,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&zi(Ln,{children:[ho(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ho(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&ho(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),v,s==="end"&&zi(Ln,{children:[ho(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ho(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&ho(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):v,h]})};Se.states=Jb;Se.options=qb;Se.className=Hi;Se.defaultOptions=Fi;Se.moduleName=Ge;Se.folderName=rt;import{jsx as Yb}from"react/jsx-runtime";var In="k-separator",ud={orientation:"horizontal"},jo=e=>{let{orientation:t=ud.orientation,...o}=e;return Yb("li",{...o,className:r(e.className,"k-item",In,{[`${In}-${t}`]:t}),role:"separator"})};jo.className=In;jo.defaultOptions=ud;jo.moduleName=Ge;jo.folderName=rt;import{Fragment as G_,jsx as $_}from"react/jsx-runtime";import{jsx as ex}from"react/jsx-runtime";var Sn="k-menu-group",Zb=[],Qb={size:[d.undefined,d.small,d.medium,d.large]},jb={},Me=e=>{let{children:t,size:o,...a}=e;return ex("ul",{role:"menu",...a,className:r(e.className,Sn,C(Sn,{size:o})),children:t})};Me.states=Zb;Me.options=Qb;Me.className=Sn;Me.defaultOptions=jb;Me.moduleName=Ge;Me.folderName=rt;import{jsx as j_,jsxs as ez}from"react/jsx-runtime";import{Fragment as tx,jsx as ea,jsxs as ox}from"react/jsx-runtime";var kn=e=>ea(Se,{children:ox(tx,{children:[ea(Ee,{text:"Item 1"}),ea(Ee,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),ea(Ee,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),ea(Ee,{text:"Item 4"}),ea(Ee,{text:"Item 5"})]}),...e});import{Fragment as pz,jsx as lz,jsxs as dz}from"react/jsx-runtime";import{Fragment as bz,jsx as fz,jsxs as xz}from"react/jsx-runtime";import{Fragment as Lz,jsx as vz,jsxs as Iz}from"react/jsx-runtime";import{Fragment as Cz,jsx as Mz,jsxs as yz}from"react/jsx-runtime";import{jsx as No,jsxs as sx}from"react/jsx-runtime";var ax={...Se.options,scrollable:{type:"boolean"}},ix=Se.states,fd={...Se.defaultOptions,variant:"horizontal"},rx=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],nx=[{name:"opened",title:"Opened"}],ta=e=>{let{variant:t,modifiers:o,...a}={...fd,...e},i={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?No(X,{className:"k-menu-popup",offset:s,children:sx(Me,{children:[No(Y,{text:"Item 1"}),No(Y,{text:"Item 2"}),No(jo,{}),No(Y,{text:"Item 3"})]})}):null)}),t==="vertical"?No(kn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):No(kn,{...a,...i})};ta.options=ax;ta.states=ix;ta.variants=rx;ta.defaultOptions=fd;ta.modifiers=nx;ta.className=Se.className;import{Fragment as sH,jsx as rH,jsxs as nH}from"react/jsx-runtime";import{jsx as mH}from"react/jsx-runtime";import{Fragment as cx,jsx as Mt,jsxs as bd}from"react/jsx-runtime";var lx=p.states,xd={...p.defaultOptions,variant:"text"},dx=p.options,px=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],mx=[{name:"opened",title:"Opened"}],oa=e=>{let{variant:t,modifiers:o,...a}={...xd,...e},i={},s=Mt(X,{className:"k-menu-popup",children:bd(Me,{size:a.size,children:[Mt(Y,{text:"Menu Item"}),Mt(Y,{text:"Menu Item"}),Mt(Y,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=Mt("div",{children:Mt(V,{...a,...i,icon:"star"})});break;case"icon-and-text":l=Mt("div",{children:Mt(V,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:l=Mt("div",{children:Mt(V,{...a,...i,children:"Dropdown Button"})});break}return bd(cx,{children:[l,o?.opened&&s]})};oa.options=dx;oa.states=lx;oa.variants=px;oa.defaultOptions=xd;oa.modifiers=mx;oa.className=V.className;var En="split-button",hd=En;import{Fragment as bx,jsx as Mn,jsxs as Nd}from"react/jsx-runtime";var Cn="k-split-button",ux=[n.hover,n.focus,n.active,n.selected,n.disabled],fx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},gd={arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,icon:b,endIcon:g,text:u,arrowIconName:v=gd.arrowIconName,popup:I,opened:S,popupId:k,...E}=e;return Nd(bx,{children:[Nd("div",{...E,className:r(e.className,Cn,"k-button-group",C(Cn,{rounded:o})),children:[Mn(p,{text:u,icon:b,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,...!u&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),Mn(p,{className:"k-split-button-arrow",icon:v,size:t,rounded:o,fillMode:a,disabled:h,ariaDisabled:h||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?k:void 0,tabIndex:-1})]}),S&&I&&Mn(X,{className:"k-menu-popup",children:I})]})};_.states=ux;_.options=fx;_.className=Cn;_.defaultOptions=gd;_.moduleName=En;_.folderName=hd;var yn=_;import{jsx as hx}from"react/jsx-runtime";var xx="k-toolbar-separator",ke=e=>hx("div",{className:r(xx,e.className,"k-separator")});var go="toolbar",aa=go;import{Fragment as An,jsx as H,jsxs as ia}from"react/jsx-runtime";var Dt="k-toolbar",Nx=[n.focus],gx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},vx={scrollButtons:"around"},W=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:s,scrollButtons:l,scrollingPosition:m,section:c,...h}=e,b=[],g=(u,v)=>{let I=[];if(u.type===p&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))I.push(H(p,{...u.props,className:`${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===p)I.push(H(p,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===Da)I.push(H(Da,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===Bt)I.push(H(Bt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===V)I.push(H(V,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===yn)I.push(H(yn,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===O||u.props.className&&u.props.className.includes("k-button-group")){let S=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((E,T)=>{S.push(H(p,{...E.props,className:`${E.props.className?E.props.className:""}`},`${T}-${new Date().getTime()}`))}),I.push(H(O,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:S},`${v}-${new Date().getTime()}`))}else u.type===Ie?I.push(H(Ie,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===$?I.push(H($,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===Le?I.push(H(Le,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):I.push(u);I.forEach(S=>{b.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,I)=>{g(v,I)}),ia("div",{...h,className:r(e.className,Dt,C(Dt,{size:t,fillMode:o}),M(Dt,{focus:a}),{[`${Dt}-resizable`]:i,[`${Dt}-scrollable`]:s,[`${Dt}-scrollable-overlay`]:s&&l==="hidden",[`${Dt}-scrollable-${m}`]:m&&m!=="both",[`${Dt}-section`]:c}),role:"toolbar","aria-label":"Toolbar",children:[!s&&b,s&&l==="hidden"&&H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),s&&l==="start"&&ia(An,{children:[ia(O,{children:[H("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(N,{className:"k-button-icon",icon:"chevron-left"})}),H("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(N,{className:"k-button-icon",icon:"chevron-right"})})]}),H(ke,{className:"k-toolbar-button-separator"}),H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),s&&l==="end"&&ia(An,{children:[H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),H(ke,{className:"k-toolbar-button-separator"}),ia(O,{children:[H("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(N,{className:"k-button-icon",icon:"chevron-left"})}),H("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(N,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&ia(An,{children:[H("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(N,{className:"k-button-icon",icon:"chevron-left"})}),H(ke,{className:"k-toolbar-button-separator"}),H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),H(ke,{className:"k-toolbar-button-separator"}),H("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(N,{className:"k-button-icon",icon:"chevron-right"})})]})]})};W.states=Nx;W.options=gx;W.className=Dt;W.defaultOptions=vx;W.moduleName=go;W.folderName=aa;import{jsx as kx}from"react/jsx-runtime";var Tn="k-toolbar-item",Lx=[n.focus],Ix={},Sx={},jt=e=>{let{focus:t,...o}=e;return kx("div",{...o,className:r(e.className,Tn,M(Tn,{focus:t})),children:e.children})};jt.states=Lx;jt.options=Ix;jt.className=Tn;jt.defaultOptions=Sx;jt.moduleName=go;jt.folderName=aa;import{jsx as vd}from"react/jsx-runtime";var Ld="k-toolbar-popup",Ex=[],Mx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Cx={},vo=e=>{let{size:t,fillMode:o,section:a,...i}=e;return vd(X,{...i,className:r(e.className,Ld),children:a?vd("span",{className:r("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};vo.states=Ex;vo.options=Mx;vo.className=Ld;vo.defaultOptions=Cx;vo.moduleName=go;vo.folderName=aa;var Ui=vo;import{jsx as m1}from"react/jsx-runtime";import{jsx as b1}from"react/jsx-runtime";import{jsx as g1}from"react/jsx-runtime";import{jsx as S1}from"react/jsx-runtime";import{jsx as A1,jsxs as T1}from"react/jsx-runtime";import{jsx as P1}from"react/jsx-runtime";import{jsx as _t,jsxs as Bx}from"react/jsx-runtime";var yx=_.states,Id={..._.defaultOptions,variant:"text"},Ax=_.options,Tx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ox=[{name:"opened",title:"Opened"}],ra=e=>{let{variant:t,modifiers:o,...a}={...Id,...e},i={},s=Bx(Me,{size:a.size,children:[_t(Y,{text:"Menu Item"}),_t(Y,{text:"Menu Item"}),_t(Y,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?s:"")}),t){case"icon-only":return _t("div",{children:_t(_,{...a,...i,icon:"star"})});case"icon-and-text":return _t("div",{children:_t(_,{...a,...i,icon:"star",children:"Split Button"})});default:return _t("div",{children:_t(_,{...a,...i,children:"Split Button"})})}};ra.options=Ax;ra.states=yx;ra.variants=Tx;ra.defaultOptions=Id;ra.modifiers=Ox;ra.className=_.className;import{jsx as Lo,jsxs as Rx}from"react/jsx-runtime";var Sd=e=>Lo(W,{children:[Lo(p,{children:"Button"},"toolbar-button"),Lo(V,{text:"Menu button"},"toolbar-menu-button"),Lo(_,{children:"Split button"},"toolbar-split-button"),Rx(O,{children:[Lo(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Lo(p,{icon:"align-center",children:"Center"}),Lo(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as pF,jsxs as mF}from"react/jsx-runtime";import{jsx as $e,jsxs as kd}from"react/jsx-runtime";var Ed=e=>$e(W,{scrollable:!0,...e,children:[$e(p,{children:"Button"},"toolbar-button"),$e(V,{text:"Menu button"},"toolbar-menu-button"),$e(_,{children:"Split button"},"toolbar-split-button"),kd(O,{children:[$e(p,{className:"k-group-start",icon:"align-left",children:"Left"}),$e(p,{icon:"align-center",children:"Center"}),$e(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),$e(p,{children:"Button"},"toolbar-button"),$e(V,{text:"Menu button"},"toolbar-menu-button"),$e(_,{children:"Split button"},"toolbar-split-button"),kd(O,{children:[$e(p,{className:"k-group-start",icon:"align-left",children:"Left"}),$e(p,{icon:"align-center",children:"Center"}),$e(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Ve,jsxs as Md}from"react/jsx-runtime";var Cd=({scrollingPosition:e="start",...t})=>Ve(W,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Ve(p,{children:"Button"},"toolbar-button"),Ve(V,{text:"Menu button"},"toolbar-menu-button"),Ve(_,{children:"Split button"},"toolbar-split-button"),Md(O,{children:[Ve(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(p,{icon:"align-center",children:"Center"}),Ve(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ve(p,{children:"Button"},"toolbar-button"),Ve(V,{text:"Menu button"},"toolbar-menu-button"),Ve(_,{children:"Split button"},"toolbar-split-button"),Md(O,{children:[Ve(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(p,{icon:"align-center",children:"Center"}),Ve(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Px,jsx as we,jsxs as Gi}from"react/jsx-runtime";var yd=({fillMode:e,size:t,...o})=>Gi(Px,{children:[we(W,{section:!0,fillMode:e,size:t,children:[we(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Gi(O,{fillMode:e,children:[we(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),we(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),we(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),we(ke,{className:"k-toolbar-button-separator"}),we(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Gi(Ui,{size:t,fillMode:e,section:!0,...o,children:[we(_,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),we(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),we(ke,{}),we(V,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Gi(O,{fillMode:e,children:[we(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),we(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),we(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as $F,jsx as UF,jsxs as GF}from"react/jsx-runtime";import{Fragment as t2,jsx as jF,jsxs as e2}from"react/jsx-runtime";import{jsx as eo}from"react/jsx-runtime";var wx=W.options,Kx=W.states,Ad={...W.defaultOptions,variant:"default"},Dx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],_x=[],na=e=>{let{variant:t,...o}={...Ad,...e};switch(t){case"responsive":return eo("div",{children:eo(yd,{style:{width:"583px"},...o})});case"overlay":return eo("div",{children:eo(Cd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return eo("div",{children:eo(Ed,{style:{width:"583px"},...o})});default:return eo("div",{children:eo(Sd,{style:{width:"583px"},...o})})}};na.options=wx;na.states=Kx;na.variants=Dx;na.defaultOptions=Ad;na.modifiers=_x;na.className=W.className;var On="autocomplete",Td=On;import{Fragment as Bn,jsx as be,jsxs as oi}from"react/jsx-runtime";var Od="k-autocomplete",zx=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Hx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Rn={separators:!0,showClearButton:!0},bt=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Rn.separators,showClearButton:s=Rn.showClearButton,prefix:l,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:T,readonly:w,adaptive:J,adaptiveSettings:ee,adaptiveTitle:te,adaptiveSubtitle:de,adaptiveCustomValue:no,id:xt,autocomplete:Ot,activeDescendant:Gt,"aria-label":Ta,...Oa}=e,Ba=xt?`${xt}-listbox`:void 0;return oi(Bn,{children:[oi(G,{...Oa,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:w,className:r(e.className,Od),children:[l&&oi(Bn,{children:[be(ue,{children:l}),i&&be(j,{})]}),be(me,{placeholder:h,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Ba:void 0,"aria-activedescendant":T&&Gt?Gt:void 0,"aria-autocomplete":Ot,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Ta,disabled:k,readOnly:w}),be(Q,{valid:u,invalid:v,loading:S,disabled:k}),be(oe,{loading:S,disabled:k}),s&&be(pe,{loading:S,disabled:k,readonly:w,value:c}),m&&oi(Bn,{children:[i&&be(j,{}),be(fe,{children:m})]})]}),T&&E&&be(X,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:E}),J&&be(q,{adaptive:!0,...ee,header:be(Ne,{actionsEnd:be(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:h,title:te,subtitle:de}),children:be("div",{className:"k-list-container",children:be(R,{customValue:no?be(tt,{text:`Use "${c}"`}):void 0,size:"large",children:oi(K,{"aria-label":"Options",children:[be(y,{text:"List item"}),be(y,{text:"List item"}),be(y,{text:"List item"})]})})})})]})};bt.states=zx;bt.options=Hx;bt.className=Od;bt.defaultOptions=Rn;bt.moduleName=On;bt.folderName=Td;var Ct=bt;import{jsx as Fx}from"react/jsx-runtime";var Bd=e=>Fx(Ct,{id:A("ac"),"aria-label":"Search",...e});import{jsx as G2,jsxs as $2}from"react/jsx-runtime";import{jsx as q2}from"react/jsx-runtime";import{Fragment as oU,jsx as tU}from"react/jsx-runtime";import{Fragment as dU,jsx as lU}from"react/jsx-runtime";import{jsx as bU,jsxs as xU}from"react/jsx-runtime";import{jsx as IU,jsxs as SU}from"react/jsx-runtime";import{jsx as AU,jsxs as TU}from"react/jsx-runtime";import{jsx as wU}from"react/jsx-runtime";import{jsx as Io,jsxs as Wx}from"react/jsx-runtime";var Ux=F.states,Gx=F.defaultOptions,$x=F.options,Vx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Xx=[],sa=e=>{let{modifiers:t,...o}=e,a={},i=Io(R,{style:{width:300},size:o.size,children:Wx(K,{children:[Io(y,{children:"List item"}),Io(y,{children:"List item"}),Io(y,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Io(N,{icon:"search"}):void 0;break;case"suffix":a.suffix=t?.[s]?Io(Nt,{size:o.size,fillMode:"clear",children:"Search"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?i:void 0;break;default:break}}),Io(Bd,{value:"Value",style:{width:300},...o,...a})};sa.options=$x;sa.states=Ux;sa.variants=Xx;sa.defaultOptions=Gx;sa.modifiers=Vx;sa.className=bt.className;import{Fragment as Zx,jsx as nt,jsxs as Qx}from"react/jsx-runtime";var Rd="k-imageeditor-toolbar",Jx=[],qx={},Yx={},la=e=>{let{toolbarItems:t,adaptive:o,disabled:a,...i}=e;return nt(W,{...i,className:r(e.className,Rd),fillMode:"flat",children:t??Qx(Zx,{children:[nt(p,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"}),nt(ke,{}),nt(p,{fillMode:"flat",disabled:!0,icon:"undo","aria-label":"Undo"}),nt(p,{fillMode:"flat",disabled:!0,icon:"redo","aria-label":"Redo"}),nt(ke,{}),nt(p,{fillMode:"flat",disabled:a,icon:"download","aria-label":"Download"}),nt("div",{className:"k-spacer"}),nt(p,{fillMode:"flat",disabled:a,icon:"zoom-in","aria-label":"Zoom In"}),!o&&nt(jt,{children:nt(bt,{fillMode:"flat",disabled:a,value:"Fit",showClearButton:!1,"aria-label":"Zoom options"})}),nt(p,{fillMode:"flat",disabled:a,icon:"zoom-out","aria-label":"Zoom Out"})]})})};la.states=Jx;la.options=qx;la.className=Rd;la.defaultOptions=Yx;import{Fragment as eh,jsx as Te,jsxs as th}from"react/jsx-runtime";var Pn="k-imageeditor-sidebar",jx={scrollable:!1},Pd=e=>{let{sidebarItems:t,activeTool:o,disabled:a,adaptive:i,scrollable:s=jx.scrollable,scrollingPosition:l,...m}=e,c=i?"k-separator k-separator-vertical":"k-separator";return Te("div",{...m,className:r(e.className,Pn,{[`${Pn}-scrollable`]:s,[`${Pn}-scrollable-${l}`]:l&&l!=="both"}),children:Te("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??th(eh,{children:[Te(p,{fillMode:"flat",togglable:!0,icon:"image-resize","aria-label":"Resize",selected:o==="Resize",disabled:a}),Te(p,{fillMode:"flat",togglable:!0,icon:"crop","aria-label":"Crop",selected:o==="Crop",disabled:a}),Te(p,{fillMode:"flat",togglable:!0,icon:"rotate","aria-label":"Rotate",selected:o==="Rotate",disabled:a}),Te("div",{className:c}),Te(p,{fillMode:"flat",togglable:!0,icon:"free-text","aria-label":"Text",selected:o==="Text",disabled:a}),Te(p,{fillMode:"flat",togglable:!0,icon:"shapes","aria-label":"Shapes",selected:o==="Shapes",disabled:a}),Te("div",{className:c}),Te(p,{fillMode:"flat",togglable:!0,icon:"drop-half-pixelated","aria-label":"Blur",selected:o==="Blur",disabled:a}),Te(p,{fillMode:"flat",togglable:!0,icon:"sliders-horizontal","aria-label":"Adjustments",selected:o==="Adjustments",disabled:a}),Te(p,{fillMode:"flat",togglable:!0,icon:"circles-three-intersecting","aria-label":"Filters",selected:o==="Filters",disabled:a}),Te("div",{className:c}),Te(p,{fillMode:"flat",togglable:!0,icon:"frame-corners","aria-label":"Frame",selected:o==="Frame",disabled:a}),Te(p,{fillMode:"flat",togglable:!0,icon:"circle-half-tilted","aria-label":"Shadow",selected:o==="Shadow",disabled:a})]})})})};var ai="loader",$i=ai;import{Fragment as wn,jsx as wd,jsxs as Vi}from"react/jsx-runtime";var Kn="k-loader",oh={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},ah=[],ih={size:[d.undefined,d.small,d.medium,d.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Kd={animation:"pulsing"},re=e=>{let{size:t,themeColor:o,animation:a=Kd.animation,...i}=e,s=wd("span",{className:"k-loader-segment"});return wd("div",{...i,className:r(e.className,Kn,{[`k-loader-${oh[a]||a}`]:a},C(Kn,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:Vi("div",{className:"k-loader-canvas",children:[a==="pulsing"&&Vi(wn,{children:[s,s]}),a==="infinite-spinner"&&Vi(wn,{children:[s,s,s]}),a==="converging-spinner"&&Vi(wn,{children:[s,s,s,s]})]})})};re.states=ah;re.options=ih;re.className=Kn;re.defaultOptions=Kd;re.moduleName=ai;re.folderName=$i;var Dd=re;import{jsx as Dn,jsxs as _d}from"react/jsx-runtime";var _n="k-loader-container",rh=[],nh={size:[d.undefined,d.small,d.medium,d.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Xi={loaderType:"pulsing",position:"top",panel:!1},So=e=>{let{size:t,themeColor:o,loaderType:a=Xi.loaderType,position:i=Xi.position,panel:s=Xi.panel,...l}=e;return _d("div",{...l,className:r(e.className,_n,C(_n,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":l["aria-label"]||"Loading",children:[Dn(il,{className:"k-loader-container-overlay"}),_d("div",{className:r("k-loader-container-inner",{"k-loader-container-panel":s}),children:[Dn(Dd,{size:t,themeColor:o,animation:a}),Dn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};So.states=rh;So.options=nh;So.className=_n;So.defaultOptions=Xi;So.moduleName=ai;So.folderName=$i;import{jsx as y3}from"react/jsx-runtime";import{jsx as B3}from"react/jsx-runtime";import{jsx as K3}from"react/jsx-runtime";import{jsx as H3}from"react/jsx-runtime";import{jsx as zn}from"react/jsx-runtime";var sh=re.options,lh=re.states,dh={...re.defaultOptions,variant:"infinite-spinner"},ph=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],mh=[],da=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return zn(re,{animation:"pulsing",...o});case"converging-spinner":return zn(re,{animation:"converging-spinner",...o});default:return zn(re,{animation:"infinite-spinner",...o})}};da.options=sh;da.states=lh;da.variants=ph;da.defaultOptions=dh;da.modifiers=mh;da.className=re.className;var zd="image-editor",Hd="imageeditor",Wi={width:494,height:307},Ji={width:326,height:203};import{Fragment as Fd,jsx as yt,jsxs as ii}from"react/jsx-runtime";var Hn="k-imageeditor",ch=[],uh={},fh={},ne=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,activeTool:i,placeholder:s,contentHeight:l,exporting:m,adaptive:c,sidebarScrollable:h,sidebarScrollingPosition:b,children:g,...u}=e,v=!!s,I=yt("div",{className:"k-imageeditor-canvas-container",children:s??yt("div",{className:"k-imageeditor-canvas",children:g})}),S=o&&yt("div",{className:"k-imageeditor-action-pane",children:o}),k=yt(Pd,{sidebarItems:a,activeTool:i,disabled:v,adaptive:c,scrollable:h,scrollingPosition:b});return ii("div",{role:"application","aria-label":"Image Editor",...u,className:r(e.className,Hn,{[`${Hn}-adaptive`]:c}),children:[yt("div",{className:"k-imageeditor-header",children:yt(la,{toolbarItems:t,adaptive:c,disabled:v})}),yt("div",{className:"k-imageeditor-content",style:{height:l},children:c?ii(Fd,{children:[I,S,k]}):ii(Fd,{children:[k,S,I]})}),m&&ii("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[yt(ct,{className:"k-loader-container-overlay"}),ii("div",{className:"k-loader-container-inner k-loader-container-panel",children:[yt(re,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),yt("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};ne.states=ch;ne.options=uh;ne.className=Hn;ne.defaultOptions=fh;ne.moduleName=zd;ne.folderName=Hd;import{Fragment as qi,jsx as to,jsxs as ri}from"react/jsx-runtime";var Fn="k-upload-dropzone",bh=[n.hover],Yi=e=>{let{hover:t,status:o,disabled:a,hasFiles:i,filesId:s,buttonText:l="Select files...",...m}=e,c;switch(o){case"uploading":c=ri(qi,{children:[to(N,{icon:"upload"}),"Uploading..."]});break;case"done":c=ri(qi,{children:[to(N,{icon:"check"}),"Done"]});break;case"failed":c=ri(qi,{children:[to(N,{icon:"exclamation-circle"}),"Done"]});break;default:c=to(qi,{});break}return ri("div",{...m,className:r(e.className,Fn,"k-dropzone",M(Fn,{hover:t})),children:[ri("div",{className:"k-upload-button-wrap",children:[to(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...i&&s?{"aria-controls":s}:{},children:l}),to("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),to("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&to("span",{className:"k-upload-status",children:c})]})};Yi.states=bh;Yi.className=Fn;var Un="upload",Ud=Un;import{jsx as Zi,jsxs as $d}from"react/jsx-runtime";var Gn="k-upload",xh=[n.hover,n.disabled],hh={},Vd={actionsLayout:"end"},Gd="upload-files-list",xe=e=>{let{async:t,empty:o,actions:a,actionsLayout:i=Vd.actionsLayout,hover:s,status:l,disabled:m,buttonText:c,...h}=e,b=!!e.children;return $d("div",{...h,className:r(e.className,Gn,M(Gn,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Zi(Yi,{status:l,hover:s,disabled:m,hasFiles:b,filesId:Gd,buttonText:c}),b&&Zi("ul",{className:"k-upload-files",role:"list",id:Gd,children:e.children}),a&&b&&$d(Ws,{alignment:i,orientation:"horizontal",children:[Zi(p,{className:"k-clear-selected",children:"Clear"}),Zi(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};xe.states=xh;xe.options=hh;xe.className=Gn;xe.defaultOptions=Vd;xe.moduleName=Un;xe.folderName=Ud;var ni="progressbar",Qi=ni;import{jsx as Vn,jsxs as $n}from"react/jsx-runtime";var st="k-progressbar",Nh=[n.disabled,n.indeterminate],gh={orientation:["horizontal","vertical"]},ko={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Oe=e=>{let{disabled:t,height:o,indeterminate:a=ko.indeterminate,label:i=ko.label,labelPosition:s=ko.labelPosition,orientation:l=ko.orientation,reverse:m=ko.reverse,value:c=ko.value,width:h,style:b,ariaLabel:g,...u}=e;return $n("div",{...u,className:r(e.className,st,M(st,{disabled:t}),{[`${st}-${l}`]:l,[`${st}-indeterminate`]:a,[`${st}-reverse`]:m}),style:{...b,"--kendo-progressbar-value":c,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:h},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(c),"aria-valuemin":0,"aria-valuemax":100,children:[Vn("span",{className:r("k-progress-status-wrap",{[`k-progress-${s}`]:s&&!a}),children:i&&$n("span",{className:"k-progress-status",children:[c,"%"]})}),!a&&Vn("div",{className:"k-progressbar-value k-selected",children:Vn("span",{className:r("k-progress-status-wrap",{[`k-progress-${s}`]:s}),children:i&&$n("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Oe.states=Nh;Oe.options=gh;Oe.className=st;Oe.defaultOptions=ko;Oe.moduleName=ni;Oe.folderName=Qi;var Xd=Oe;import{jsx as Xn}from"react/jsx-runtime";var Wd="k-chunk-progressbar",vh=(e,t)=>t<=e-1,Lh=[n.disabled,n.indeterminate],Ih={},ji={chunkCount:5,orientation:"horizontal",progress:0},pa=e=>{let{disabled:t,chunkCount:o=ji.chunkCount,indeterminate:a,orientation:i=ji.orientation,progress:s=ji.progress,reverse:l,ariaLabel:m,...c}=e;return Xn("div",{...c,className:r(e.className,st,Wd,M(st,{disabled:t}),{[`${st}-${i}`]:i,[`${st}-indeterminate`]:a,[`${st}-reverse`]:l}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:s,"aria-valuemin":0,"aria-valuemax":o,children:Xn("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((h,b)=>Xn("li",{className:r("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":vh(s,b)})},b))})})};pa.states=Lh;pa.options=Ih;pa.className=Wd;pa.defaultOptions=ji;pa.moduleName=ni;pa.folderName=Qi;import{jsx as Sh}from"react/jsx-runtime";var si=e=>Sh(Xd,{...e});import{jsx as z5}from"react/jsx-runtime";import{jsx as oo}from"react/jsx-runtime";var kh=Oe.options,Eh=Oe.states,Jd={...Oe.defaultOptions,variant:"start"},Mh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Ch=[],ma=e=>{let{variant:t,modifiers:o,...a}={...Jd,...e},i={},s={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":i.reverse=!!o?.[l];break;case"vertical":i.orientation=o?.[l]?"vertical":void 0,s.style=o?.[l]?void 0:{width:"324px"};break}}),t){case"end":return oo("div",{...s,children:oo(si,{...a,...i,labelPosition:"end",value:"50"})});case"center":return oo("div",{...s,children:oo(si,{...a,...i,labelPosition:"center",value:"50"})});case"empty":return oo("div",{...s,children:oo(si,{...a,...i,label:!1,value:"50"})});default:return oo("div",{...s,children:oo(si,{...a,...i,labelPosition:"start",value:"50"})})}};ma.options=kh;ma.states=Eh;ma.variants=Mh;ma.defaultOptions=Jd;ma.modifiers=Ch;ma.className=Oe.className;import{jsx as Wn,jsxs as Ah}from"react/jsx-runtime";var yh="k-file-info",Jn=e=>{let{name:t,size:o,validationMsg:a,...i}=e;return Ah("div",{...i,className:r(e.className,yh),children:[t&&Wn("span",{className:"k-file-name",children:t}),o&&Wn("span",{className:"k-file-size",children:o}),a&&Wn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as Oh,jsx as zt,jsxs as er}from"react/jsx-runtime";var Th="k-file",Ke=e=>{let{status:t,progress:o,name:a,icon:i,size:s,state:l,validationMsg:m,...c}=e;return zt("li",{...c,className:r(e.className,Th,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:er("div",{className:"k-file-single",children:[zt(Oe,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),er("span",{className:"k-file-icon-wrapper",children:[zt(N,{className:"k-file-icon",icon:i,size:"xxlarge"}),l&&zt("span",{className:"k-file-state",children:l})]}),zt(Jn,{name:a,size:s,validationMsg:m}),zt("div",{className:"k-upload-actions",children:t==="progress"?er(Oh,{children:[er("span",{className:"k-upload-pct",children:[o,"%"]}),zt(p,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),zt(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):zt(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as bG,jsx as uG,jsxs as fG}from"react/jsx-runtime";import{Fragment as Bh,jsx as qn,jsxs as Rh}from"react/jsx-runtime";var li=e=>qn(xe,{async:!0,children:Rh(Bh,{children:[qn(Ke,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),qn(Ke,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as EG,jsx as SG,jsxs as kG}from"react/jsx-runtime";import{jsx as Ph}from"react/jsx-runtime";var tr=e=>Ph(xe,{async:!0,empty:!0,...e});import{Fragment as RG,jsx as BG,jsxs as PG}from"react/jsx-runtime";import{Fragment as zG,jsx as _G,jsxs as HG}from"react/jsx-runtime";import{jsx as Ht,jsxs as or}from"react/jsx-runtime";var wh=xe.options,Kh=xe.states,qd={...xe.defaultOptions,variant:"empty"},Dh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],_h=[],ca=e=>{let{variant:t,...o}={...qd,...e};switch(t){case"success":return or(li,{status:"done",style:{width:"586px"},...o,children:[Ht(Ke,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Ht(Ke,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return or(li,{status:"failed",style:{width:"586px"},...o,children:[Ht(Ke,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Ht(Ke,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return or(li,{status:"uploading",style:{width:"586px"},...o,children:[Ht(Ke,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Ht(Ke,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return or(li,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Ht(Ke,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Ht(Ke,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Ht(tr,{async:!0,status:"upload",style:{width:"586px"},...o})}};ca.options=wh;ca.states=Kh;ca.variants=Dh;ca.defaultOptions=qd;ca.modifiers=_h;ca.className=xe.className;import{Fragment as zh,jsx as di,jsxs as Yd}from"react/jsx-runtime";var ua="k-imageeditor-placeholder",Zd=e=>{let{icon:t,title:o,text:a,buttonText:i,children:s,...l}=e;return di("div",{...l,className:r(e.className,ua),children:s??Yd(zh,{children:[t&&di(N,{icon:t,size:"xxxlarge",className:`${ua}-icon`}),(o||a)&&Yd("div",{className:`${ua}-hint`,children:[o&&di("div",{className:`${ua}-title`,children:o}),a&&di("div",{className:`${ua}-text`,children:a})]}),i&&di(tr,{className:`${ua}-upload`,buttonText:i})]})})};import{jsx as fa,jsxs as Qd}from"react/jsx-runtime";var jd="k-imageeditor-pane",Hh=[],Fh={},Uh={},he=e=>{let{title:t,actions:o,adaptive:a,confirmDisabled:i,children:s,...l}=e;return Qd("div",{...l,className:r(e.className,jd),children:[Qd("div",{className:"k-imageeditor-pane-header",children:[a&&fa(p,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),fa("div",{className:"k-imageeditor-pane-title",children:t}),a?fa(p,{fillMode:"flat",icon:"check",disabled:i,"aria-label":"Confirm",title:"Confirm"}):fa(p,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),fa("div",{className:"k-imageeditor-pane-content",children:s}),!a&&o&&fa(Fe,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};he.states=Hh;he.options=Fh;he.className=jd;he.moduleName=null;he.folderName=null;he.defaultOptions=Uh;import{jsx as Xh}from"react/jsx-runtime";var Yn="k-imageeditor-option-preview",Gh=[n.hover,n.focus,n.selected],$h={},Vh={},At=e=>{let{label:t,hover:o,focus:a,selected:i,children:s,...l}=e;return Xh("div",{...l,className:r(e.className,Yn,M(Yn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:s??t})};At.states=Gh;At.options=$h;At.className=Yn;At.moduleName=null;At.folderName=null;At.defaultOptions=Vh;import{jsx as ep}from"react/jsx-runtime";var ar="k-imageeditor-option-list",Zn={scrollable:!1,scrollingPosition:"start"},ba=e=>{let{scrollable:t=Zn.scrollable,scrollingPosition:o=Zn.scrollingPosition,children:a,...i}=e;return ep("div",{...i,className:r(e.className,ar,{[`${ar}-scrollable`]:t,[`${ar}-scrollable-${o}`]:o&&o!=="both"}),children:ep("div",{className:"k-imageeditor-option-list-items",children:a})})};ba.className=ar;ba.moduleName=null;ba.folderName=null;ba.defaultOptions=Zn;import{Fragment as Jh,jsx as tp,jsxs as qh}from"react/jsx-runtime";var Wh={},pi=e=>{let{label:t,style:o,children:a,imageSrc:i}=e;return qh(Jh,{children:[tp("span",{"aria-hidden":"true",style:{position:"relative",display:"block",width:"100%",height:"40px",borderRadius:"2px",backgroundImage:i?`url('${i}')`:void 0,backgroundSize:"cover",boxSizing:"border-box",...o},children:a}),t&&tp("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};pi.moduleName=null;pi.folderName=null;pi.defaultOptions=Wh;import{jsx as Yh}from"react/jsx-runtime";var De=e=>{let{imageSrc:t,adaptive:o,style:a,...i}=e;return Yh("canvas",{role:"img","aria-label":"Image being edited",...o?Ji:Wi,...i,style:{...t&&{backgroundImage:`url('${t}')`},backgroundSize:"cover",...a}})};De.moduleName=null;De.folderName=null;import{Fragment as op,jsx as Ft,jsxs as ap}from"react/jsx-runtime";var ip={variant:"crop"},xa=e=>{let{variant:t=ip.variant,grid:o,corners:a=!0}=e,i=t==="crop"?"k-resize-handle":"k-scale-handle",s=t==="scale"?"k-scale-handle":"k-resize-handle";return ap(op,{children:[o&&Ft("div",{className:"k-imageeditor-crop-grid"}),a&&ap(op,{children:[Ft("span",{className:`${i} k-resize-nw`}),Ft("span",{className:`${i} k-resize-ne`}),Ft("span",{className:`${i} k-resize-sw`}),Ft("span",{className:`${i} k-resize-se`})]}),Ft("span",{className:`${s} k-resize-n`}),Ft("span",{className:`${s} k-resize-s`}),Ft("span",{className:`${s} k-resize-w`}),Ft("span",{className:`${s} k-resize-e`})]})};xa.moduleName=null;xa.folderName=null;xa.defaultOptions=ip;import{jsx as rp}from"react/jsx-runtime";var Zh="k-rotate-handle",Qn=e=>rp("span",{...e,className:r(e.className,Zh),children:rp(N,{icon:"rotate"})});Qn.moduleName=null;Qn.folderName=null;var np="form",sp="forms";import{Fragment as lp,jsx as ir,jsxs as eN}from"react/jsx-runtime";var rr="k-form",Qh=[],jh={size:[d.undefined,d.small,d.medium,d.large]},jn={layout:"basic",tag:"form"},U=e=>{let{size:t,orientation:o,layout:a=jn.layout,formButtons:i,cols:s,gutters:l,tag:m=jn.tag,children:c,style:h}=e,b=m,g=r(e.className,rr,C(rr,{size:t}),{[`${rr}-${o}`]:o}),u=eN(lp,{children:[a==="grid"?ir("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof l=="string"&&{gap:l},...typeof l=="object"&&l.rows&&{rowGap:l.rows},...typeof l=="object"&&l.cols&&{columnGap:l.cols},...h},children:c}):ir(lp,{children:c}),i&&ir("div",{className:"k-form-buttons",children:i})]}),{role:v,"aria-labelledby":I,"aria-label":S,id:k}=e;return ir(b,{className:g,role:v,"aria-labelledby":I,"aria-label":S,id:k,children:u})};U.states=Qh;U.options=jh;U.className=rr;U.defaultOptions=jn;U.moduleName=np;U.folderName=sp;var dp="label",pp="label";import{jsx as mp,jsxs as iN}from"react/jsx-runtime";var es="k-label",tN=[n.disabled],oN={},aN={},ao=e=>{let{disabled:t,optional:o,info:a,text:i,children:s,...l}=e;return iN("label",{...l,className:r(e.className,es,M(es,{disabled:t})),children:[i||s,o&&mp("span",{className:"k-label-optional",children:"(Optional)"}),a&&mp("span",{className:"k-field-info",children:a})]})};ao.states=tN;ao.options=oN;ao.className=es;ao.defaultOptions=aN;ao.moduleName=dp;ao.folderName=pp;import{jsx as lN}from"react/jsx-runtime";var cp="k-form-hint",rN=[],nN={},sN={},lt=e=>{let{text:t,children:o,...a}=e;return lN("div",{...a,className:r(e.className,cp),children:t||o})};lt.states=rN;lt.options=nN;lt.className=cp;lt.defaultOptions=sN;import{jsx as cN}from"react/jsx-runtime";var up="k-form-error",dN=[],pN={},mN={},dt=e=>{let{text:t,children:o,...a}=e;return cN("div",{...a,className:r(e.className,up),children:t||o})};dt.states=dN;dt.options=pN;dt.className=up;dt.defaultOptions=mN;import{jsx as nr,jsxs as fp}from"react/jsx-runtime";var ts="k-form-field",uN=[n.disabled],Z=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:s,hint:l,error:m,info:c,disabled:h,dir:b,colSpan:g,...u}=e;return fp("div",{...u,className:r(ts,e.className,M(ts,{disabled:h}),{[`k-col-span-${g}`]:g}),dir:b,children:[o&&nr(ao,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:c?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&nr("span",{className:"k-label k-form-label k-label-empty"}),fp("div",{className:"k-form-field-wrap",children:[s,l&&nr(lt,{id:t?`${t}-hint`:void 0,children:l}),m&&nr(dt,{id:t?`${t}-error`:void 0,children:m})]})]})};Z.states=uN;Z.className=ts;import{Fragment as fN,jsx as os,jsxs as bN}from"react/jsx-runtime";var bp="k-form-fieldset",_e=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:s}=e;return bN("fieldset",{className:r(bp,{[`k-col-span-${s}`]:s}),children:[t&&os("legend",{className:"k-form-legend",children:t}),o==="grid"?os("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):os(fN,{children:e.children})]})};_e.className=bp;var Eo="radio",ha=Eo;import{jsx as xp}from"react/jsx-runtime";var sr="k-radio",xN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],hN={size:[d.undefined,d.small,d.medium,d.large]},NN={},Xe=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:s,invalid:l,valid:m,required:c,size:h,...b}=e;return xp("span",{className:"k-radio-wrap",children:xp("input",{...b,id:t,type:"radio",checked:o,required:c,disabled:s||void 0,"aria-invalid":l?"true":void 0,className:r(e.className,sr,C(sr,{size:h}),M(sr,{hover:a,focus:i,disabled:s,invalid:l,valid:m,checked:o}))})})};Xe.states=xN;Xe.options=hN;Xe.className=sr;Xe.defaultOptions=NN;Xe.moduleName=Eo;Xe.folderName=ha;var pt=Xe;import{jsx as LN}from"react/jsx-runtime";var hp="k-radio-list",gN=[],vN={},Np={layout:"vertical"},se=e=>{let{layout:t=Np.layout,...o}=e;return LN("ul",{...o,className:r(e.className,hp,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};se.states=gN;se.options=vN;se.className=hp;se.defaultOptions=Np;se.moduleName=Eo;se.folderName=ha;import{jsx as EN}from"react/jsx-runtime";var gp="k-radio-list-item",IN=[],SN={},kN={},le=e=>{let{...t}=e;return EN("li",{...t,className:r(e.className,gp),role:"none",children:e.children})};le.states=IN;le.options=SN;le.className=gp;le.defaultOptions=kN;le.moduleName=Eo;le.folderName=ha;import{jsx as v9}from"react/jsx-runtime";import{Fragment as MN,jsx as vp,jsxs as CN}from"react/jsx-runtime";var We=({children:e,id:t,...o})=>CN(MN,{children:[vp(pt,{...o,id:t}),vp("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as y9,jsx as C9,jsxs as A9}from"react/jsx-runtime";import{Fragment as w9,jsx as R9,jsxs as P9}from"react/jsx-runtime";import{Fragment as H9,jsx as z9,jsxs as F9}from"react/jsx-runtime";import{Fragment as X9,jsx as V9,jsxs as W9}from"react/jsx-runtime";import{Fragment as e7,jsx as j9,jsxs as t7}from"react/jsx-runtime";import{jsx as r7}from"react/jsx-runtime";import{jsx as PN}from"react/jsx-runtime";var AN=pt.options,TN=pt.states,ON=pt.defaultOptions,BN=[],RN=[],Na=e=>PN(We,{id:A("radio"),name:"value",...e,children:"Label"});Na.options=AN;Na.states=TN;Na.variants=BN;Na.defaultOptions=ON;Na.modifiers=RN;Na.className=pt.className;import{jsx as mt,jsxs as Lp}from"react/jsx-runtime";var wN=se.options,KN=se.states,DN={...se.defaultOptions,variant:"vertical"},_N=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],zN=[],ga=e=>{let{variant:t,...o}=e;return t==="horizontal"?Lp(se,{layout:"horizontal",...o,children:[mt(le,{children:mt(We,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),mt(le,{children:mt(We,{id:A("rb"),name:"value",children:"Label"})}),mt(le,{children:mt(We,{id:A("rb"),name:"value",children:"Label"})})]}):Lp(se,{...o,children:[mt(le,{children:mt(We,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),mt(le,{children:mt(We,{id:A("rb"),name:"value",children:"Label"})}),mt(le,{children:mt(We,{id:A("rb"),name:"value",children:"Label"})})]})};ga.options=wN;ga.states=KN;ga.variants=_N;ga.defaultOptions=DN;ga.modifiers=zN;ga.className=se.className;import{Fragment as F7,jsx as H7,jsxs as U7}from"react/jsx-runtime";import{Fragment as Z7,jsx as Y7,jsxs as Q7}from"react/jsx-runtime";import{Fragment as r4,jsx as i4,jsxs as n4}from"react/jsx-runtime";var Ip="date-input",Sp="dateinput";import{jsx as mi,jsxs as GN}from"react/jsx-runtime";var kp="k-dateinput",HN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],FN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},UN={},Je=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:s,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,readonly:v,showClearButton:I,showSpinButton:S,id:k,"aria-label":E,"aria-describedby":T,...w}=e;return GN(G,{...w,size:t,rounded:o,fillMode:a,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,readonly:v,className:r(e.className,kp),children:[mi(me,{id:k,placeholder:s,value:i,disabled:u,"aria-label":E,"aria-describedby":T,"aria-invalid":h?"true":void 0}),mi(Q,{valid:c,invalid:h,loading:g,disabled:u}),mi(oe,{loading:g,disabled:u}),I&&mi(pe,{loading:g,disabled:u,readonly:v,value:i}),S&&mi(St,{className:"k-input-spinner",size:t,fillMode:a,disabled:u})]})};Je.states=HN;Je.options=FN;Je.className=kp;Je.defaultOptions=UN;Je.moduleName=Ip;Je.folderName=Sp;var as=Je;import{jsx as $N}from"react/jsx-runtime";var Ep=e=>$N(as,{...e});import{jsx as v4}from"react/jsx-runtime";import{jsx as YN}from"react/jsx-runtime";var VN=Je.options,XN=Je.states,WN=Je.defaultOptions,JN=[{name:"spin-button",title:"`Spin` Button"}],qN=[],va=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),YN(Ep,{value:"2/04/2021",style:{width:"300px"},...o,...a})};va.options=VN;va.states=XN;va.variants=qN;va.defaultOptions=WN;va.modifiers=JN;va.className=Je.className;var Mp="masked-textbox",Cp="maskedtextbox";import{Fragment as yp,jsx as io,jsxs as is}from"react/jsx-runtime";var Ap="k-maskedtextbox",ZN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],QN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},rs={showClearButton:!0,separators:!0},qe=e=>{let{size:t,rounded:o,fillMode:a,separators:i=rs.separators,showClearButton:s=rs.showClearButton,prefix:l,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,id:T,"aria-label":w,"aria-describedby":J,...ee}=e;return is(G,{...ee,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,className:r(e.className,Ap),children:[l&&is(yp,{children:[io(ue,{children:l}),i&&io(j,{})]}),io(me,{id:T,placeholder:h,value:c,disabled:k,"aria-label":w,"aria-describedby":J,"aria-invalid":v?"true":void 0}),io(Q,{valid:u,invalid:v,loading:S,disabled:k}),io(oe,{loading:S,disabled:k}),s&&io(pe,{loading:S,disabled:k,readonly:E,value:c}),m&&is(yp,{children:[i&&io(j,{}),io(fe,{children:m})]})]})};qe.states=ZN;qe.options=QN;qe.className=Ap;qe.defaultOptions=rs;qe.moduleName=Mp;qe.folderName=Cp;var La=qe;import{jsx as jN}from"react/jsx-runtime";var Tp=e=>jN(La,{...e});import{Fragment as V4,jsx as $4}from"react/jsx-runtime";import{Fragment as Z4,jsx as Y4}from"react/jsx-runtime";import{jsx as t8}from"react/jsx-runtime";import{jsx as r8}from"react/jsx-runtime";import{jsx as ns}from"react/jsx-runtime";var eg=qe.states,tg=qe.defaultOptions,og=qe.options,ag=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],ig=[],Ia=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?ns($,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?ns(N,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),ns(Tp,{value:"Value",style:{width:300},...o,...a})};Ia.options=og;Ia.states=eg;Ia.variants=ig;Ia.defaultOptions=tg;Ia.modifiers=ag;Ia.className=qe.className;var ss="switch",Op=ss;import{jsx as lr,jsxs as Bp}from"react/jsx-runtime";var ro="k-switch",rg=[n.hover,n.focus,n.disabled,n.readonly,n.checked],ng={size:[d.undefined,d.small,d.medium,d.large],trackRounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],thumbRounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},sg={},ze=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:s,thumbRounded:l,hover:m,focus:c,disabled:h,readonly:b,...g}=e;return Bp("span",{...g,className:r(e.className,ro,C(ro,{size:i}),M(ro,{hover:m,focus:c,disabled:h,readonly:b}),{[`${ro}-on`]:t,[`${ro}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:h?void 0:0,"aria-disabled":h?"true":void 0,"aria-readonly":b?"true":void 0,children:[Bp("span",{className:r("k-switch-track",C(ro,{rounded:s})),children:[o&&lr("span",{className:"k-switch-label-on",children:o}),a&&lr("span",{className:"k-switch-label-off",children:a})]}),lr("span",{className:"k-switch-thumb-wrap",children:lr("span",{className:r("k-switch-thumb",C(ro,{rounded:l}))})})]})};ze.states=rg;ze.options=ng;ze.className=ro;ze.defaultOptions=sg;ze.moduleName=ss;ze.folderName=Op;import{jsx as A8}from"react/jsx-runtime";import{jsx as R8}from"react/jsx-runtime";import{jsx as D8}from"react/jsx-runtime";import{jsx as F8}from"react/jsx-runtime";import{jsx as Rp}from"react/jsx-runtime";var lg=ze.options,dg=ze.states,pg={...ze.defaultOptions,variant:"on"},mg=[{name:"on",title:"On"},{name:"off",title:"Off"}],cg=[],Sa=e=>{let{variant:t,...o}=e;return t==="off"?Rp(ze,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Rp(ze,{checked:!0,onLabel:"On",offLabel:"Off",...o})};Sa.options=lg;Sa.states=dg;Sa.variants=mg;Sa.defaultOptions=pg;Sa.modifiers=cg;Sa.className=ze.className;var ds="textarea",Pp=ds;import{Fragment as wp,jsx as ci,jsxs as ps}from"react/jsx-runtime";var Kp="k-textarea",ug=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],fg={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},ka={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},He=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=ka.prefixSeparator,suffixSeparator:s=ka.prefixSeparator,affixesOrientation:l=ka.affixesOrientation,flow:m=ka.flow,resize:c=ka.resize,prefix:h,suffix:b,rows:g,value:u,placeholder:v,hover:I,focus:S,valid:k,invalid:E,required:T,disabled:w,id:J,"aria-label":ee,"aria-describedby":te,...de}=e;return ps(G,{...de,size:t,rounded:o,fillMode:a,hover:I,focus:S,valid:k,invalid:E,required:T,disabled:w,className:r(e.className,Kp,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[h&&ps(wp,{children:[ci(ue,{className:r({"!k-align-items-start":m===l}),direction:l,children:h}),i&&ci(j,{direction:m==="horizontal"?"vertical":"horizontal"})]}),ci(Ha,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":c==="x","k-resize-y":c==="y","k-resize":c==="both","k-resize-none":c==="none"}),value:u,placeholder:v,rows:g,disabled:w,id:J,"aria-label":ee,"aria-describedby":te,"aria-invalid":E?"true":void 0}),b&&ps(wp,{children:[s&&ci(j,{direction:m==="horizontal"?"vertical":"horizontal"}),ci(fe,{className:r({"!k-align-items-start":m===l}),direction:l,children:b})]})]})};He.states=ug;He.options=fg;He.className=Kp;He.defaultOptions=ka;He.moduleName=ds;He.folderName=Pp;import{jsx as l$}from"react/jsx-runtime";import{Fragment as f$,jsx as u$}from"react/jsx-runtime";import{Fragment as v$,jsx as g$}from"react/jsx-runtime";import{jsx as k$}from"react/jsx-runtime";import{jsx as dr}from"react/jsx-runtime";var bg=He.options,xg=He.states,Dp={...He.defaultOptions,variant:"vertical"},hg=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],Ng=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Ea=e=>{let{variant:t,modifiers:o,...a}={...Dp,...e},i={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":i.prefix=o?.[s]?dr(N,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o?.[s]?dr(N,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?dr(He,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):dr(He,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};Ea.options=bg;Ea.states=xg;Ea.variants=hg;Ea.defaultOptions=Dp;Ea.modifiers=Ng;Ea.className=He.className;import{Fragment as J$,jsx as W$,jsxs as q$}from"react/jsx-runtime";import{Fragment as kg,jsx as Be,jsxs as Ma}from"react/jsx-runtime";var gg=U.options,vg=U.states,Lg={...U.defaultOptions,variant:"vertical"},Ig=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Sg=[],Ca=e=>{let{variant:t,size:o,...a}=e,i=Ma(_e,{legend:"Form Legend",children:[Be(Z,{label:"Label",editor:Be(F,{size:o})}),Be(Z,{label:"Label",hint:"Hint text",editor:Be($,{value:"Dropdown List",size:o})}),Be(Z,{label:"City",editor:Ma("ul",{className:"k-radio-list k-list-horizontal",children:[Ma("li",{className:"k-radio-list-item",children:[Be(Xe,{checked:!0,size:o}),Be("label",{className:"k-radio-label",children:"Label"})]}),Ma("li",{className:"k-radio-list-item",children:[Be(Xe,{size:o}),Be("label",{className:"k-radio-label",children:"Label"})]}),Ma("li",{className:"k-radio-list-item",children:[Be(Xe,{size:o}),Be("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=Ma(kg,{children:[Be(p,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),Be(p,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?Be(U,{orientation:"horizontal",size:o,...a,formButtons:s,children:i}):Be(U,{size:o,...a,formButtons:s,children:i})};Ca.options=gg;Ca.states=vg;Ca.variants=Ig;Ca.defaultOptions=Lg;Ca.modifiers=Sg;Ca.className=U.className;import{jsx as _p,jsxs as Ag}from"react/jsx-runtime";var Eg=lt.options,Mg=lt.states,zp={...lt.defaultOptions},Cg=[],yg=[{name:"showHint",title:"Show Hint"}],ya=e=>{let{modifiers:t,...o}={...zp,...e},a=t?.showHint??!0;return Ag("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[_p(F,{placeholder:"Component",style:{width:"200px"}}),a&&_p(lt,{...o,children:"Hint text"})]})};ya.options=Eg;ya.states=Mg;ya.variants=Cg;ya.defaultOptions=zp;ya.modifiers=yg;ya.className=lt.className;import{jsx as Hp,jsxs as Pg}from"react/jsx-runtime";var Tg=dt.options,Og=dt.states,Fp={...dt.defaultOptions},Bg=[],Rg=[{name:"showError",title:"Show Error"}],Aa=e=>{let{modifiers:t,...o}={...Fp,...e},a=t?.showError??!0;return Pg("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Hp(F,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&Hp(dt,{...o,children:"Error text"})]})};Aa.options=Tg;Aa.states=Og;Aa.variants=Bg;Aa.defaultOptions=Fp;Aa.modifiers=Rg;Aa.className=dt.className;import{Fragment as zV,jsx as _V,jsxs as HV}from"react/jsx-runtime";import{Fragment as YV,jsx as qV,jsxs as ZV}from"react/jsx-runtime";import{Fragment as dX,jsx as lX,jsxs as pX}from"react/jsx-runtime";import{Fragment as EX,jsx as kX,jsxs as MX}from"react/jsx-runtime";var cs="segmented-control",Up=cs,Gp="segmented-control-button",$p="segmented-control";import{jsx as Dg,jsxs as _g}from"react/jsx-runtime";var pr="k-segmented-control",wg=[],Kg={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Ut=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:s,...l}=e;return _g("div",{...l,className:r(e.className,pr,C(pr,{size:t,rounded:o}),{[`${pr}-stretched`]:a}),role:"group",children:[Dg("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:s}),i]})};Ut.states=wg;Ut.options=Kg;Ut.className=pr;Ut.moduleName=cs;Ut.folderName=Up;import{jsx as us,jsxs as Ug}from"react/jsx-runtime";var fs="k-segmented-control-button",zg=[n.selected,n.hover,n.focus,n.disabled],Hg={},Fg={},Tt=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:s,endIcon:l,text:m,iconClassName:c,...h}=e;return Ug("button",{...h,className:r(e.className,fs,M(fs,{hover:t,focus:o,disabled:i,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":i?"true":void 0,tabIndex:a?0:-1,children:[s&&us(N,{className:r(c,"k-segmented-control-button-icon"),icon:s}),(m||e.children)&&us("span",{className:"k-segmented-control-button-text",children:m||e.children}),l&&us(N,{className:r(c,"k-segmented-control-button-icon"),icon:l})]})};Tt.states=zg;Tt.options=Hg;Tt.className=fs;Tt.defaultOptions=Fg;Tt.moduleName=Gp;Tt.folderName=$p;import{Fragment as UX,jsx as FX,jsxs as GX}from"react/jsx-runtime";import{Fragment as qX,jsx as JX,jsxs as YX}from"react/jsx-runtime";import{Fragment as oW,jsx as tW,jsxs as aW}from"react/jsx-runtime";import{Fragment as dW,jsx as lW,jsxs as pW}from"react/jsx-runtime";import{Fragment as xW,jsx as bW,jsxs as hW}from"react/jsx-runtime";import{Fragment as SW,jsx as IW,jsxs as kW}from"react/jsx-runtime";import{Fragment as qW,jsx as JW,jsxs as YW}from"react/jsx-runtime";import{Fragment as cJ,jsx as mJ,jsxs as uJ}from"react/jsx-runtime";import{Fragment as EJ,jsx as kJ,jsxs as MJ}from"react/jsx-runtime";import{Fragment as _J,jsx as DJ,jsxs as zJ}from"react/jsx-runtime";import{Fragment as XJ,jsx as VJ,jsxs as WJ}from"react/jsx-runtime";import{Fragment as oq,jsx as tq,jsxs as aq}from"react/jsx-runtime";import{Fragment as xq,jsx as bq,jsxs as hq}from"react/jsx-runtime";import{Fragment as Aq,jsx as yq,jsxs as Tq}from"react/jsx-runtime";import{jsx as wq}from"react/jsx-runtime";import{jsx as Hq}from"react/jsx-runtime";import{jsx as Vq}from"react/jsx-runtime";import{jsx as Yq}from"react/jsx-runtime";import{jsx as tY}from"react/jsx-runtime";import{jsx as nY}from"react/jsx-runtime";import{jsx as mY}from"react/jsx-runtime";import{jsx as xY}from"react/jsx-runtime";import{jsx as LY}from"react/jsx-runtime";import{jsx as MY}from"react/jsx-runtime";import{jsx as OY}from"react/jsx-runtime";import{jsx as KY}from"react/jsx-runtime";import{jsx as Vp}from"react/jsx-runtime";var SZ=e=>Vp(ne,{placeholder:Vp(Zd,{icon:"image-add",title:"Ready to create?",text:"Upload a JPEG, PNG, or WebP file to unlock the full capabilities of ImageEditor.",buttonText:"Upload Image"}),...e});export{SZ as ImageEditorNormal};