@progress/kendo-themes-html 14.5.1-dev.6 → 14.5.1-dev.8

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 (184) hide show
  1. package/dist/cjs/colorgradient/demos/colorgradient.js +1 -1
  2. package/dist/cjs/colorpicker/colorpicker.spec.js +1 -1
  3. package/dist/cjs/colorpicker/templates/colorpicker-adaptive.js +1 -1
  4. package/dist/cjs/colorpicker/templates/colorpicker-disabled.js +1 -1
  5. package/dist/cjs/colorpicker/templates/colorpicker-normal.js +1 -1
  6. package/dist/cjs/combobox/demos/combobox.js +1 -1
  7. package/dist/cjs/combobox/templates/combobox-grouping-modern-custom-value.js +1 -1
  8. package/dist/cjs/filemanager/filemanager-listview.spec.js +1 -1
  9. package/dist/cjs/floating-toolbar/floating-toolbar.spec.js +1 -1
  10. package/dist/cjs/imageeditor/imageeditor-option-list.js +1 -0
  11. package/dist/cjs/imageeditor/imageeditor-option-preview.js +1 -0
  12. package/dist/cjs/imageeditor/imageeditor-pane.js +1 -0
  13. package/dist/cjs/imageeditor/imageeditor-placeholder.js +1 -0
  14. package/dist/cjs/imageeditor/imageeditor-preview-thumbnail.js +1 -0
  15. package/dist/cjs/imageeditor/imageeditor-resize-handles.js +1 -0
  16. package/dist/cjs/imageeditor/imageeditor-sidebar.js +1 -0
  17. package/dist/cjs/imageeditor/imageeditor-toolbar.js +1 -1
  18. package/dist/cjs/imageeditor/imageeditor.spec.js +1 -1
  19. package/dist/cjs/imageeditor/templates/imageeditor-adjustments.js +1 -0
  20. package/dist/cjs/imageeditor/templates/imageeditor-blur.js +1 -0
  21. package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
  22. package/dist/cjs/imageeditor/templates/imageeditor-disabled.js +1 -0
  23. package/dist/cjs/imageeditor/templates/imageeditor-filters.js +1 -0
  24. package/dist/cjs/imageeditor/templates/imageeditor-frames.js +1 -0
  25. package/dist/cjs/imageeditor/templates/imageeditor-insert-line.js +1 -0
  26. package/dist/cjs/imageeditor/templates/imageeditor-insert-shape.js +1 -0
  27. package/dist/cjs/imageeditor/templates/imageeditor-insert-text.js +1 -0
  28. package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
  29. package/dist/cjs/imageeditor/templates/imageeditor-pixelate.js +1 -0
  30. package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
  31. package/dist/cjs/imageeditor/templates/imageeditor-rotate.js +1 -0
  32. package/dist/cjs/imageeditor/templates/imageeditor-shadow.js +1 -0
  33. package/dist/cjs/index.js +8 -8
  34. package/dist/cjs/listview/demos/listview.js +1 -1
  35. package/dist/cjs/listview/listview.spec.js +1 -1
  36. package/dist/cjs/listview/templates/listview-no-data.js +1 -1
  37. package/dist/cjs/listview/templates/listview-normal.js +1 -1
  38. package/dist/cjs/listview/templates/listview-selectable.js +1 -1
  39. package/dist/cjs/pager/index.js +1 -1
  40. package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
  41. package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
  42. package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
  43. package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
  44. package/dist/cjs/prompt/templates/prompt-output.js +1 -1
  45. package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
  46. package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
  47. package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
  48. package/dist/cjs/scheduler/scheduler-toolbar.spec.js +1 -1
  49. package/dist/cjs/signature/index.js +1 -1
  50. package/dist/cjs/signature/signature.spec.js +1 -1
  51. package/dist/cjs/signature/templates/signature-maximized.js +1 -1
  52. package/dist/cjs/signature/templates/signature-normal.js +1 -1
  53. package/dist/cjs/spreadsheet/spreadsheet-action-bar.js +1 -1
  54. package/dist/cjs/toolbar/demos/toolbar.js +1 -1
  55. package/dist/cjs/toolbar/templates/toolbar-scrollable-buttons-hidden.js +1 -1
  56. package/dist/cjs/toolbar/templates/toolbar-scrollable.js +1 -1
  57. package/dist/esm/colorgradient/demos/colorgradient.mjs +1 -1
  58. package/dist/esm/colorpicker/colorpicker.spec.mjs +1 -1
  59. package/dist/esm/colorpicker/templates/colorpicker-adaptive.mjs +1 -1
  60. package/dist/esm/colorpicker/templates/colorpicker-disabled.mjs +1 -1
  61. package/dist/esm/colorpicker/templates/colorpicker-normal.mjs +1 -1
  62. package/dist/esm/combobox/demos/combobox.mjs +1 -1
  63. package/dist/esm/combobox/templates/combobox-grouping-modern-custom-value.mjs +1 -1
  64. package/dist/esm/filemanager/filemanager-listview.spec.mjs +1 -1
  65. package/dist/esm/floating-toolbar/floating-toolbar.spec.mjs +1 -1
  66. package/dist/esm/imageeditor/imageeditor-option-list.mjs +1 -0
  67. package/dist/esm/imageeditor/imageeditor-option-preview.mjs +1 -0
  68. package/dist/esm/imageeditor/imageeditor-pane.mjs +1 -0
  69. package/dist/esm/imageeditor/imageeditor-placeholder.mjs +1 -0
  70. package/dist/esm/imageeditor/imageeditor-preview-thumbnail.mjs +1 -0
  71. package/dist/esm/imageeditor/imageeditor-resize-handles.mjs +1 -0
  72. package/dist/esm/imageeditor/imageeditor-sidebar.mjs +1 -0
  73. package/dist/esm/imageeditor/imageeditor-toolbar.mjs +1 -1
  74. package/dist/esm/imageeditor/imageeditor.spec.mjs +1 -1
  75. package/dist/esm/imageeditor/templates/imageeditor-adjustments.mjs +1 -0
  76. package/dist/esm/imageeditor/templates/imageeditor-blur.mjs +1 -0
  77. package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
  78. package/dist/esm/imageeditor/templates/imageeditor-disabled.mjs +1 -0
  79. package/dist/esm/imageeditor/templates/imageeditor-filters.mjs +1 -0
  80. package/dist/esm/imageeditor/templates/imageeditor-frames.mjs +1 -0
  81. package/dist/esm/imageeditor/templates/imageeditor-insert-line.mjs +1 -0
  82. package/dist/esm/imageeditor/templates/imageeditor-insert-shape.mjs +1 -0
  83. package/dist/esm/imageeditor/templates/imageeditor-insert-text.mjs +1 -0
  84. package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
  85. package/dist/esm/imageeditor/templates/imageeditor-pixelate.mjs +1 -0
  86. package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
  87. package/dist/esm/imageeditor/templates/imageeditor-rotate.mjs +1 -0
  88. package/dist/esm/imageeditor/templates/imageeditor-shadow.mjs +1 -0
  89. package/dist/esm/index.mjs +8 -8
  90. package/dist/esm/listview/demos/listview.mjs +1 -1
  91. package/dist/esm/listview/templates/listview-no-data.mjs +1 -1
  92. package/dist/esm/listview/templates/listview-normal.mjs +1 -1
  93. package/dist/esm/listview/templates/listview-selectable.mjs +1 -1
  94. package/dist/esm/pager/index.mjs +1 -1
  95. package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
  96. package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
  97. package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
  98. package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
  99. package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
  100. package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
  101. package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
  102. package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
  103. package/dist/esm/scheduler/scheduler-toolbar.spec.mjs +1 -1
  104. package/dist/esm/signature/index.mjs +1 -1
  105. package/dist/esm/signature/signature.spec.mjs +1 -1
  106. package/dist/esm/signature/templates/signature-maximized.mjs +1 -1
  107. package/dist/esm/signature/templates/signature-normal.mjs +1 -1
  108. package/dist/esm/spreadsheet/spreadsheet-action-bar.mjs +1 -1
  109. package/dist/esm/toolbar/demos/toolbar.mjs +1 -1
  110. package/dist/esm/toolbar/templates/toolbar-scrollable-buttons-hidden.mjs +1 -1
  111. package/dist/esm/toolbar/templates/toolbar-scrollable.mjs +1 -1
  112. package/dist/types/combobox/combobox.spec.d.ts +1 -1
  113. package/dist/types/imageeditor/imageeditor-option-list.d.ts +18 -0
  114. package/dist/types/imageeditor/imageeditor-option-preview.d.ts +18 -0
  115. package/dist/types/imageeditor/imageeditor-pane.d.ts +21 -0
  116. package/dist/types/imageeditor/imageeditor-placeholder.d.ts +7 -0
  117. package/dist/types/imageeditor/imageeditor-preview-thumbnail.d.ts +12 -0
  118. package/dist/types/imageeditor/imageeditor-resize-handles.d.ts +14 -0
  119. package/dist/types/imageeditor/imageeditor-sidebar.d.ts +11 -0
  120. package/dist/types/imageeditor/imageeditor-toolbar.d.ts +1 -0
  121. package/dist/types/imageeditor/imageeditor.spec.d.ts +40 -4
  122. package/dist/types/imageeditor/index.d.ts +18 -0
  123. package/dist/types/imageeditor/templates/imageeditor-adjustments.d.ts +1 -0
  124. package/dist/types/imageeditor/templates/imageeditor-blur.d.ts +1 -0
  125. package/dist/types/imageeditor/templates/imageeditor-disabled.d.ts +1 -0
  126. package/dist/types/imageeditor/templates/imageeditor-filters.d.ts +6 -0
  127. package/dist/types/imageeditor/templates/imageeditor-frames.d.ts +1 -0
  128. package/dist/types/imageeditor/templates/imageeditor-insert-line.d.ts +2 -0
  129. package/dist/types/imageeditor/templates/imageeditor-insert-shape.d.ts +2 -0
  130. package/dist/types/imageeditor/templates/imageeditor-insert-text.d.ts +2 -0
  131. package/dist/types/imageeditor/templates/imageeditor-pixelate.d.ts +1 -0
  132. package/dist/types/imageeditor/templates/imageeditor-rotate.d.ts +1 -0
  133. package/dist/types/imageeditor/templates/imageeditor-shadow.d.ts +1 -0
  134. package/dist/types/numerictextbox/numerictextbox.spec.d.ts +1 -1
  135. package/package.json +5 -5
  136. package/src/combobox/combobox.spec.tsx +2 -2
  137. package/src/imageeditor/imageeditor-option-list.tsx +53 -0
  138. package/src/imageeditor/imageeditor-option-preview.tsx +56 -0
  139. package/src/imageeditor/imageeditor-pane.tsx +70 -0
  140. package/src/imageeditor/imageeditor-placeholder.tsx +51 -0
  141. package/src/imageeditor/imageeditor-preview-thumbnail.tsx +42 -0
  142. package/src/imageeditor/imageeditor-resize-handles.tsx +37 -0
  143. package/src/imageeditor/imageeditor-sidebar.tsx +66 -0
  144. package/src/imageeditor/imageeditor-toolbar.tsx +14 -13
  145. package/src/imageeditor/imageeditor.spec.tsx +79 -13
  146. package/src/imageeditor/index.ts +19 -0
  147. package/src/imageeditor/templates/imageeditor-adjustments.tsx +88 -0
  148. package/src/imageeditor/templates/imageeditor-blur.tsx +92 -0
  149. package/src/imageeditor/templates/imageeditor-crop.tsx +64 -59
  150. package/src/imageeditor/templates/imageeditor-disabled.tsx +45 -0
  151. package/src/imageeditor/templates/imageeditor-filters.tsx +98 -0
  152. package/src/imageeditor/templates/imageeditor-frames.tsx +180 -0
  153. package/src/imageeditor/templates/imageeditor-insert-line.tsx +141 -0
  154. package/src/imageeditor/templates/imageeditor-insert-shape.tsx +195 -0
  155. package/src/imageeditor/templates/imageeditor-insert-text.tsx +143 -0
  156. package/src/imageeditor/templates/imageeditor-normal.tsx +20 -1
  157. package/src/imageeditor/templates/imageeditor-pixelate.tsx +92 -0
  158. package/src/imageeditor/templates/imageeditor-resize.tsx +68 -50
  159. package/src/imageeditor/templates/imageeditor-rotate.tsx +98 -0
  160. package/src/imageeditor/templates/imageeditor-shadow.tsx +96 -0
  161. package/src/imageeditor/tests/imageeditor-adaptive-small.tsx +373 -0
  162. package/src/imageeditor/tests/imageeditor-adjustments-pane.tsx +14 -0
  163. package/src/imageeditor/tests/imageeditor-blur-pane.tsx +29 -0
  164. package/src/imageeditor/tests/imageeditor-crop-pane.tsx +3 -2
  165. package/src/imageeditor/tests/imageeditor-export-dialog.tsx +85 -0
  166. package/src/imageeditor/tests/imageeditor-filters-pane.tsx +14 -0
  167. package/src/imageeditor/tests/imageeditor-frames-pane.tsx +22 -0
  168. package/src/imageeditor/tests/imageeditor-insert-line-pane.tsx +52 -0
  169. package/src/imageeditor/tests/imageeditor-insert-shape-pane.tsx +57 -0
  170. package/src/imageeditor/tests/imageeditor-insert-text-pane.tsx +51 -0
  171. package/src/imageeditor/tests/imageeditor-interactive-states.tsx +79 -0
  172. package/src/imageeditor/tests/imageeditor-option-list-states.tsx +17 -0
  173. package/src/imageeditor/tests/imageeditor-pixelate-pane.tsx +29 -0
  174. package/src/imageeditor/tests/imageeditor-resize-pane.tsx +15 -1
  175. package/src/imageeditor/tests/imageeditor-responsive.tsx +71 -0
  176. package/src/imageeditor/tests/imageeditor-rotate-pane.tsx +27 -0
  177. package/src/imageeditor/tests/imageeditor-shadow-pane.tsx +14 -0
  178. package/src/imageeditor/tests/imageeditor-sidebar-scrollable.tsx +97 -0
  179. package/src/numerictextbox/numerictextbox.spec.tsx +2 -2
  180. package/src/signature/signature.spec.tsx +4 -17
  181. package/src/signature/tests/signature-flat.tsx +0 -3
  182. package/src/signature/tests/signature-outline.tsx +0 -3
  183. package/src/signature/tests/signature-solid.tsx +0 -3
  184. package/src/signature/tests/signature.tsx +0 -3
@@ -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 A=(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"}),I=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:l,active:m,selected:b,disabled:N,indeterminate:h,loading:L,empty:c,readonly:M,highlighted:v,...g}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":b,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":L,"k-empty":c,"k-readonly":M,"k-highlighted":v},Object.keys(g).reduce((y,E)=>(E.startsWith("k-")?y[E]=g[E]:y[`k-${E}`]=g[E],y),{}))};function Ei(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"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},bt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},x={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"},Bi={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Vn={};function T(e){return Vn[e]=(Vn[e]||0)+1,`k-${e}-${Vn[e]}`}import{Fragment as Jd,jsx as Oi}from"react/jsx-runtime";var $n="k-font-icon",$d=[],Xd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info]},Wd={},xa=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...l}=e;return a?Oi("span",{...l,className:r(e.className,$n,A($n,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Oi(Jd,{})};xa.states=$d;xa.options=Xd;xa.className=$n;xa.defaultOptions=Wd;var Pi=xa;import{Fragment as Qd,jsx as Ja}from"react/jsx-runtime";var Xn="k-svg-icon",qd=[],Yd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[bt.outline,bt.solid,bt.duotone]},Wn={viewBox:"0 0 24 24",variant:bt.outline},ha=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Wn.viewBox,variant:l=Wn.variant,icon:m,...b}=e;if(!m)return Ja(Qd,{});if(m==="none")return Ja("span",{...b,className:r(e.className,Xn,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,h=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return Ja("span",{...b,className:r(e.className,Xn,A("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Ja("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:m?void 0:e.children})})};ha.states=qd;ha.options=Yd;ha.className=Xn;ha.defaultOptions=Wn;var Jn=ha;import*as qn from"@progress/kendo-svg-icons";var Ki="icon",Ri="icons";import{useContext as jd}from"react";import{createContext as Zd}from"react";var wi=Zd({iconsType:"svg"});import{Fragment as _i,jsx as Na}from"react/jsx-runtime";var qa="k-icon",ep=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),tp=[],op={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[bt.outline,bt.solid,bt.duotone]},Ya={viewBox:"0 0 24 24",type:"svg",variant:bt.outline},S=e=>{let{iconsType:t}=jd(wi),{size:o,themeColor:a,icon:n,type:s=t||Ya.type,rotate:l,flip:m,viewBox:b=Ya.viewBox,variant:N=Ya.variant,...h}=e;if(!n)return Na(_i,{});if((t||s)==="svg"){if(n==="none")return Na(Jn,{...h,className:r(e.className,qa),icon:n,size:o,variant:N});let c=qn[n]?n:ep(`${n}-icon`);return qn[c]?Na(Jn,{...h,className:r(e.className,qa),icon:qn[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:b,variant:N}):Na(_i,{})}return Na(Pi,{...h,className:r(e.className,qa),icon:n,size:o,themeColor:a,rotate:l,flip:m})};S.states=tp;S.options=op;S.defaultOptions=Ya;S.className=qa;S.moduleName=Ki;S.folderName=Ri;var Yn="button",Di=Yn;import{Fragment as Hi,jsx as co,jsxs as zi}from"react/jsx-runtime";var va="k-button",ap=["icon-button"],np=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],rp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Qn={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:l=Qn.showArrow,arrowIconName:m=Qn.arrowIconName,variant:b,hover:N,focus:h,active:L,selected:c,disabled:M,togglable:v,ariaDisabled:g,icon:y,iconSize:E,text:K,iconClassName:J,className:pe,...ce}=e,ue=y!=null,fe=e.children!==void 0;return zi(t,{className:r(pe,va,Ei(va,b),A(va,{size:o,rounded:a,fillMode:n,themeColor:s}),I(va,{hover:N,focus:h,active:L,disabled:M||g,selected:c}),{"k-icon-button":!K&&!fe&&ue}),"aria-pressed":v?c?"true":"false":void 0,...ce,"aria-disabled":g?"true":void 0,disabled:M||void 0,children:[typeof y=="string"&&y&&co(S,{className:r(J,"k-button-icon"),icon:y,size:E}),y&&typeof y!="string"&&co(Hi,{children:y}),K?zi(Hi,{children:[K&&co("span",{className:"k-button-text",children:K}),e.children]}):e.children&&co("span",{className:"k-button-text",children:e.children}),l&&co("span",{className:"k-menu-button-arrow k-button-arrow",children:co(S,{icon:m})})]})};p.states=np;p.options=rp;p.variants=ap;p.className=va;p.defaultOptions=Qn;p.moduleName=Yn;p.folderName=Di;import{jsx as ip}from"react/jsx-runtime";var V=e=>ip(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as sp}from"react/jsx-runtime";var R=e=>sp(p,{icon:"folder",children:"Button",...e});import{jsx as lp}from"react/jsx-runtime";var Wt=e=>lp(p,{children:"Button",...e});import{jsx as Zn}from"react/jsx-runtime";var dp=p.options,pp=p.states,mp={...p.defaultOptions,variant:"text"},cp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],up=[],uo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Zn(V,{...o,icon:"star"});case"icon-and-text":return Zn(R,{...o,icon:"star",children:"Button"});default:return Zn(Wt,{...o,children:"Button"})}};uo.options=dp;uo.states=pp;uo.variants=cp;uo.defaultOptions=mp;uo.modifiers=up;uo.className=p.className;var jn="button",Gi=jn;import{jsx as hp}from"react/jsx-runtime";var Ca="k-button-group",fp=[i.disabled],bp={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},xp={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return hp("div",{role:"group",...n,className:r(e.className,Ca,A(Ca,{fillMode:t}),I(Ca,{disabled:o}),{[`${Ca}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=fp;O.options=bp;O.className=Ca;O.defaultOptions=xp;O.moduleName=jn;O.folderName=Gi;import{Fragment as Xv,jsx as $v,jsxs as Wv}from"react/jsx-runtime";import{Fragment as jv,jsx as Zv,jsxs as eC}from"react/jsx-runtime";import{Fragment as iC,jsx as rC,jsxs as sC}from"react/jsx-runtime";import{Fragment as uC,jsx as cC,jsxs as fC}from"react/jsx-runtime";import{Fragment as CC,jsx as vC,jsxs as LC}from"react/jsx-runtime";import{Fragment as AC,jsx as kC,jsxs as TC}from"react/jsx-runtime";import{jsx as St,jsxs as er}from"react/jsx-runtime";var Np={...p.options,...O.options},vp=p.states,Cp={...p.defaultOptions,...O.defaultOptions,variant:"text-button"},Lp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Mp=[],fo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?er(O,{fillMode:a.fillMode,className:o,children:[St(p,{...a,icon:"star"}),St(p,{...a,icon:"star"}),St(p,{...a,icon:"star"})]}):t==="icon-text-button"?er(O,{fillMode:a.fillMode,className:o,children:[St(p,{...a,icon:"star",children:"First"}),St(p,{...a,icon:"star",children:"Middle"}),St(p,{...a,icon:"star",children:"Last"})]}):er(O,{fillMode:a.fillMode,className:o,children:[St(p,{...a,children:"First"}),St(p,{...a,children:"Middle"}),St(p,{...a,children:"Last"})]})};fo.options=Np;fo.states=vp;fo.variants=Lp;fo.defaultOptions=Cp;fo.modifiers=Mp;fo.className=O.className;var La="input",Qa=La;import{jsx as kp}from"react/jsx-runtime";var Za="k-input",Sp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gp={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Ip={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:b,rounded:N,fillMode:h,...L}=e;return kp("span",{...L,className:r(e.className,Za,A(Za,{size:b,rounded:N,fillMode:h}),I(Za,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m}))})};Z.states=Sp;Z.options=gp;Z.className=Za;Z.defaultOptions=Ip;Z.moduleName=La;Z.folderName=Qa;import{jsx as Ep}from"react/jsx-runtime";var ja="k-picker",Ap=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Tp={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},yp={},xt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:b,rounded:N,fillMode:h,...L}=e;return Ep("span",{...L,className:r(e.className,ja,A(ja,{size:b,rounded:N,fillMode:h}),I(ja,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m})),children:e.children})};xt.states=Ap;xt.options=Tp;xt.className=ja;xt.defaultOptions=yp;xt.moduleName=La;xt.folderName=Qa;import{Fragment as Pp,jsx as tr}from"react/jsx-runtime";var Ui="k-clear-value",Bp=[i.disabled,i.loading,i.readonly],Op={},Fe=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?tr(Pp,{}):tr("span",{className:r(e.className,Ui),children:tr(S,{icon:"x"})})};Fe.states=Bp;Fe.options=Op;Fe.className=Ui;import{jsx as wp}from"react/jsx-runtime";var or="k-input-inner",Kp=[],Rp={},en={type:"text",autocomplete:"off",value:"",placeholder:""},Ve=e=>{let{value:t=en.value,type:o=en.type,placeholder:a=en.placeholder,autocomplete:n=en.autocomplete,disabled:s,readOnly:l,...m}=e;return wp("input",{...m,type:o,className:r(e.className,or,A(or,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};Ve.states=Kp;Ve.options=Rp;Ve.className=or;import{jsx as Fi,jsxs as Hp}from"react/jsx-runtime";var ar="k-input-inner",_p=[],Dp={},Jt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...l}=e;return Hp("span",{...l,className:r(e.className,ar,A(ar,e)),children:[n,!n&&s&&Fi(S,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Fi("span",{className:"k-input-value-text",children:t})]})};Jt.states=_p;Jt.options=Dp;Jt.className=ar;import{jsx as Up}from"react/jsx-runtime";var nr="k-input-inner",zp=[],Gp={},Vi={value:"",placeholder:""},Ma=e=>{let{value:t=Vi.value,placeholder:o=Vi.placeholder,rows:a,disabled:n,...s}=e;return Up("textarea",{...s,className:r(e.className,nr,A(nr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ma.states=zp;Ma.options=Gp;Ma.className=nr;import{Fragment as Vp,jsx as $i}from"react/jsx-runtime";var Xi="k-input-loading-icon",Fp=[i.disabled,i.loading],Re=e=>{let{disabled:t,loading:o}=e;return t||!o?$i(Vp,{}):$i("span",{className:r(e.className,Xi,"k-icon k-i-loading")})};Re.states=Fp;Re.className=Xi;import{Fragment as Wp,jsx as Wi}from"react/jsx-runtime";var Ji="k-input-validation-icon",$p=[i.valid,i.invalid,i.disabled,i.loading],Xp={},Se=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Wi(Wp,{}):Wi(S,{className:r(Ji),icon:s})};Se.states=$p;Se.options=Xp;Se.className=Ji;import{Fragment as Yp,jsx as qi}from"react/jsx-runtime";var Jp="k-input-prefix",qp={direction:"horizontal"},we=e=>{let{direction:t=qp.direction,...o}=e;return e.children?qi("span",{...o,className:r(Jp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):qi(Yp,{})};import{Fragment as jp,jsx as Yi}from"react/jsx-runtime";var Qp="k-input-suffix",Zp={direction:"horizontal"},_e=e=>{let{direction:t=Zp.direction,...o}=e;return e.children?Yi("span",{...o,className:r(Qp,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Yi(jp,{})};import{jsx as TL}from"react/jsx-runtime";import{jsx as tm}from"react/jsx-runtime";var em="k-input-suffix-text",rr=e=>{let{children:t,...o}=e;return tm("span",{...o,className:r(em,e.className),children:t})};import{jsx as am}from"react/jsx-runtime";var Qi="k-input-separator",om={direction:"vertical"},ge=e=>{let{direction:t=om.direction,...o}=e;return am("span",{...o,className:r(Qi,e.className,{[`${Qi}-${t}`]:t})})};import{Fragment as Zi,jsx as ht,jsxs as ir}from"react/jsx-runtime";var nm=Z.states,rm=Z.defaultOptions,im=Z.options,sm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],lm=[],bo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:l,...m}=e,b=t?.prefix,N=t?.suffix,h=t?.["clear-button"],L=t?.["validation-icon"],c=t?.separators;return ir(Z,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:l,style:{width:300},children:[b&&ir(Zi,{children:[ht(we,{children:ht(S,{icon:"lock"})}),c&&ht(ge,{})]}),ht(Ve,{placeholder:"Placeholder",value:"Value"}),L&&ht(Se,{valid:o,invalid:a,loading:n,disabled:s}),ht(Re,{loading:n,disabled:s}),h&&ht(Fe,{loading:n,disabled:s,readonly:l,value:"Value"}),N&&ir(Zi,{children:[c&&ht(ge,{}),ht(_e,{children:ht(Wt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};bo.options=im;bo.states=nm;bo.variants=lm;bo.defaultOptions=rm;bo.modifiers=sm;bo.className=Z.className;import{jsx as ji,jsxs as mm}from"react/jsx-runtime";var es="k-color-preview",dm=[],pm={},Ot=e=>{let{color:t,iconName:o,...a}=e;return mm("span",{...a,className:r(e.className,es,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ji(S,{icon:o,className:"k-color-preview-icon"}),ji("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ot.states=dm;Ot.options=pm;Ot.className=es;var sr="popup",ts=sr;import{jsx as os}from"react/jsx-runtime";var as="k-animation-container",cm=[],um={},lr={positionMode:"absolute",shown:!0},Nt=e=>{let{positionMode:t=lr.positionMode,shown:o=lr.shown,animationStyle:a,offset:n,...s}=e;return os("div",{...s,style:{...n,...e.style},className:r(e.className,as,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:os("div",{className:"k-child-animation-container",style:a,children:e.children})})};Nt.states=cm;Nt.options=um;Nt.className=as;Nt.defaultOptions=lr;Nt.moduleName=sr;Nt.folderName=ts;var dr="popup",ns=dr;import{jsx as rs}from"react/jsx-runtime";var is="k-popup",fm=[],bm={},ss={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=ss.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:l,...m}=e;return rs(Nt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":l,children:rs("div",{...m,className:r(e.className,is),children:e.children})})};U.states=fm;U.options=bm;U.className=is;U.defaultOptions=ss;U.moduleName=dr;U.folderName=ns;var pr="action-buttons",ls=pr;import{jsx as Nm}from"react/jsx-runtime";var tn="k-actions",xm=[],hm={},mr={alignment:"start",orientation:"horizontal"},G=e=>{let{alignment:t=mr.alignment,orientation:o=mr.orientation,...a}=e;return Nm("div",{...a,className:r(tn,{[`${tn}-${t}`]:t,[`${tn}-${o}`]:o},e.className),children:e.children})};G.states=xm;G.options=hm;G.className=tn;G.defaultOptions=mr;G.moduleName=pr;G.folderName=ls;import{jsx as Cm}from"react/jsx-runtime";var vm="k-actionsheet-footer",ds={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=ds.alignment,orientation:o=ds.orientation,template:a,as:n=a?"div":G,...s}=e;return Cm(n,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,vm),children:e.children})};var cr="searchbox",ps=cr;import{jsx as Sa,jsxs as Sm}from"react/jsx-runtime";var ms="k-searchbox",Lm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Mm={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},ur={showIcon:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:b,invalid:N,required:h,loading:L,disabled:c,showIcon:M=ur.showIcon,icon:v=ur.icon,"aria-label":g,...y}=e;return Sm(Z,{...y,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:b,invalid:N,required:h,loading:L,disabled:c,className:r(e.className,ms),children:[M&&Sa(S,{className:"k-input-icon",icon:v}),Sa(Ve,{placeholder:o,value:t,"aria-label":g}),Sa(Re,{...e}),Sa(Se,{...e}),Sa(Fe,{...e})]})};Qe.states=Lm;Qe.options=Mm;Qe.className=ms;Qe.defaultOptions=ur;Qe.moduleName=cr;Qe.folderName=ps;import{jsx as jM}from"react/jsx-runtime";var fr="textbox",cs=fr;import{Fragment as us,jsx as Kt,jsxs as br}from"react/jsx-runtime";var fs="k-textbox",gm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Im={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},on={showClearButton:!0,showValidationIcon:!0,separators:!0},Ne=e=>{let{size:t,rounded:o,fillMode:a,separators:n=on.separators,showClearButton:s=on.showClearButton,showValidationIcon:l=on.showValidationIcon,prefix:m,suffix:b,type:N,value:h,placeholder:L,hover:c,focus:M,valid:v,invalid:g,required:y,loading:E,disabled:K,readonly:J,id:pe,"aria-label":ce,"aria-describedby":ue,...fe}=e;return br(Z,{...fe,size:t,rounded:o,fillMode:a,hover:c,focus:M,valid:v,invalid:g,required:y,loading:E,disabled:K,readonly:J,className:r(e.className,fs),children:[m&&br(us,{children:[Kt(we,{children:m}),n&&Kt(ge,{})]}),Kt(Ve,{id:pe,placeholder:L,value:h,type:N,disabled:K,"aria-label":ce,"aria-describedby":ue,"aria-invalid":g?"true":void 0}),l&&Kt(Se,{valid:v,invalid:g,loading:E,disabled:K}),Kt(Re,{loading:E,disabled:K}),s&&Kt(Fe,{loading:E,disabled:K,readonly:J,value:h}),b&&br(us,{children:[n&&Kt(ge,{}),Kt(_e,{children:b})]})]})};Ne.states=gm;Ne.options=Im;Ne.className=fs;Ne.defaultOptions=on;Ne.moduleName=fr;Ne.folderName=cs;var ga=Ne;import{jsx as km}from"react/jsx-runtime";var bs=e=>km(ga,{...e});import{Fragment as hS,jsx as xS}from"react/jsx-runtime";import{Fragment as SS,jsx as MS}from"react/jsx-runtime";import{jsx as AS}from"react/jsx-runtime";import{jsx as xr}from"react/jsx-runtime";var Am=Ne.states,Tm=Ne.defaultOptions,ym=Ne.options,Em=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Bm=[],xo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?xr(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?xr(Wt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),xr(bs,{value:"Value",style:{width:300},...o,...a})};xo.options=ym;xo.states=Am;xo.variants=Bm;xo.defaultOptions=Tm;xo.modifiers=Em;xo.className=Ne.className;import{jsx as Rt,jsxs as hr}from"react/jsx-runtime";var xs="k-actionsheet-titlebar",Om={},Ie=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:l,inputValue:m,inputPlaceholder:b,adaptive:N,titleId:h,children:L,...c}=e;return hr("div",{...c,className:r(e.className,xs),children:[hr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Rt("div",{className:"k-actionsheet-actions",children:a}),!L&&hr("div",{className:"k-actionsheet-title",id:h,children:[t&&Rt("div",{className:"k-text-center",children:t}),o&&Rt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),L&&Rt("div",{className:"k-actionsheet-title",id:h,children:L}),n&&Rt("div",{className:"k-actionsheet-actions",children:n})]}),(l||s)&&Rt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Rt(Ne,{value:m,placeholder:b,size:N?"large":"medium","aria-label":t||b||"Input"}):Rt(Qe,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ie.className=xs;Ie.defaultOptions=Om;import{jsx as Nr,jsxs as wm}from"react/jsx-runtime";var vr="k-actionsheet-view",Pm=[],Km={},Rm={},ho=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:l,...m}=e,b=n?.type===Ie&&Nr(Ie,{adaptive:t,titleId:l,...n?.props}),N=s?.type===Pt&&Nr(Pt,{...s?.props});return wm("div",{...m,className:r(e.className,vr,{[`${vr}-animated`]:o}),children:[b,Nr("div",{className:"k-actionsheet-content",children:a}),N]})};ho.states=Pm;ho.options=Km;ho.className=vr;ho.defaultOptions=Rm;var Ia="action-sheet",an=Ia;var Cr="overlay",hs=Cr;import{jsx as zm}from"react/jsx-runtime";var Ns="k-overlay",_m=[],Dm={},Hm={},wt=e=>{let{...t}=e;return zm("div",{...t,className:r(e.className,Ns),children:e.children})};wt.states=_m;wt.options=Dm;wt.className=Ns;wt.defaultOptions=Hm;wt.moduleName=Cr;wt.folderName=hs;import{jsx as nn,jsxs as Fm}from"react/jsx-runtime";var vs="k-actionsheet",Gm=[],Um={},ka={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=ka.side,fullscreen:o=ka.fullscreen,adaptive:a=ka.adaptive,overlay:n=ka.overlay,template:s,children:l,header:m,footer:b,id:N,...h}=e,L=N&&!s&&m?`${N}-title`:void 0;return Fm("div",{className:"k-actionsheet-container",children:[n&&nn(wt,{}),nn(Nt,{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:nn("div",{...h,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":L,className:r(e.className,vs,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||nn(ho,{header:m,footer:b,adaptive:a,titleId:L,...e,children:l})})})]})};oe.states=Gm;oe.options=Um;oe.className=vs;oe.defaultOptions=ka;oe.moduleName=Ia;oe.folderName=an;import{jsx as Wm}from"react/jsx-runtime";var Cs="k-actionsheet-container",Vm=[],$m={},Xm={},No=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:Cs,children:t})};No.states=Vm;No.options=$m;No.className=Cs;No.defaultOptions=Xm;No.moduleName=Ia;No.folderName=an;import{jsx as Jm}from"react/jsx-runtime";var Lr=e=>{let{...t}=e;return Jm("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ym,jsx as Aa,jsxs as Mr}from"react/jsx-runtime";var Sr="k-actionsheet-item",qm=[i.hover,i.focus,i.selected,i.disabled],_t=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:l,disabled:m,...b}=e;return Mr("span",{...b,className:r(e.className,Sr,I(Sr,{hover:n,focus:s,selected:l,disabled:m})),children:[!e.children&&Aa(Ym,{children:Mr("span",{className:"k-actionsheet-action",children:[t&&Aa("span",{className:"k-icon-wrap",children:Aa(S,{className:"k-actionsheet-item-icon",icon:t})}),Mr("span",{className:"k-actionsheet-item-text",children:[o&&Aa("span",{className:"k-actionsheet-item-title",children:o}),a&&Aa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};_t.states=qm;_t.className=Sr;import{jsx as kg,jsxs as Ag}from"react/jsx-runtime";import{jsx as Bg}from"react/jsx-runtime";import{jsx as Rg}from"react/jsx-runtime";import{jsx as Hg}from"react/jsx-runtime";import{jsx as be,jsxs as gr}from"react/jsx-runtime";var Qm=oe.options,Zm=oe.states,Ms={...oe.defaultOptions,variant:"normal"},jm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ec=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],vo=e=>{let{variant:t,modifiers:o,...a}={...Ms,...e},n={},s=gr(Lr,{children:[be(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),be(_t,{text:"Add to Favorites",iconName:"heart"}),be(_t,{text:"Upload New",iconName:"upload",disabled:!0}),be("hr",{className:"k-hr"}),be(_t,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(b=>{switch(b){case"actions":n.actionsStart=!!o?.[b],n.actionsEnd=!!o?.[b];break;case"subtitle":n.subtitle=o?.[b]?l:void 0;break;case"footer":n.footer=!!o?.[b];break;default:break}}),t==="adaptive"?be(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:be(Ie,{actionsStart:n.actionsStart?be(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?be(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?gr(Pt,{alignment:"stretched",children:[be(p,{text:"Cancel",size:"large",themeColor:"base"}),be(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):be(oe,{...a,fullscreen:n.fullScreen,header:be(Ie,{actionsStart:n.actionsStart?be(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?be(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?gr(Pt,{alignment:"stretched",children:[be(p,{text:"Apply",themeColor:"primary"}),be(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};vo.options=Qm;vo.states=Zm;vo.variants=jm;vo.defaultOptions=Ms;vo.modifiers=ec;vo.className=oe.className;var Ir="slider",Ss=Ir;import{jsx as Co,jsxs as kr}from"react/jsx-runtime";var Ta="k-slider",tc=[i.hover,i.focus,i.active,i.disabled,i.readonly],oc={},Ze={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},q=e=>{let{type:t=Ze.type,orientation:o=Ze.orientation,gradientType:a=Ze.gradientType,readonly:n=Ze.readonly,disabled:s=Ze.disabled,handlePosition:l=Ze.handlePosition,showButtons:m=Ze.showButtons,showTicks:b=Ze.showTicks,value:N=Ze.value,min:h=Ze.min,max:L=Ze.max,startValue:c,endValue:M,hover:v,focus:g,active:y,trackStyle:E,dir:K,...J}=e,ce=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ue,fe;return o==="horizontal"?(ue=K==="rtl"?"chevron-left":"chevron-right",fe=K==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ue="chevron-up",fe="chevron-down"),kr("div",{...J,className:r(Ta,e.className,I(Ta,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:K,children:[m&&Co(p,{className:"k-button-decrease",rounded:"full",icon:fe,tabIndex:-1,title:"Decrease"}),kr("div",{className:"k-slider-track-wrap",children:[b&&Co("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),kr("div",{className:"k-slider-track",style:E,children:[Co("div",{className:"k-slider-selection"}),t==="range"&&Co("span",{className:r("k-draghandle","k-draghandle-start",I(Ta,{hover:v,focus:g,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??h,"aria-valuemin":h,"aria-valuemax":M??L,"aria-orientation":ce,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":J["aria-label"]?`${J["aria-label"]} start`:"Range start"}),Co("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(Ta,{hover:v,focus:g,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?M??L:N,"aria-valuemin":t==="range"?c??h:h,"aria-valuemax":L,"aria-orientation":ce,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?J["aria-label"]?`${J["aria-label"]} end`:"Range end":J["aria-label"]})]})]}),m&&Co(p,{className:"k-button-increase",rounded:"full",icon:ue,tabIndex:-1,title:"Increase"})]})};q.states=tc;q.options=oc;q.className=Ta;q.defaultOptions=Ze;q.moduleName=Ir;q.folderName=Ss;import{jsx as gs}from"react/jsx-runtime";var Is="k-tick",ac=[],nc={},ks={label:!1},B=e=>{let{style:t,label:o=ks.label,orientation:a,large:n,text:s,...l}=e;return gs("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,Is,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&gs("span",{className:"k-label",children:s})})};B.states=ac;B.options=nc;B.className=Is;B.defaultOptions=ks;import{Fragment as rc,jsx as je,jsxs as ic}from"react/jsx-runtime";var As=e=>je(q,{"aria-label":e["aria-label"]||"Slider",children:ic(rc,{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"})]}),...e});import{Fragment as sc,jsx as et,jsxs as lc}from"react/jsx-runtime";var Ts=e=>et(q,{children:lc(sc,{children:[et(B,{className:"k-first",label:!0,large:!0,text:"0"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{label:!0,large:!0,text:"5"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as AI,jsx as kI,jsxs as TI}from"react/jsx-runtime";import{Fragment as PI,jsx as OI,jsxs as KI}from"react/jsx-runtime";import{jsx as dc}from"react/jsx-runtime";var Ar=e=>dc(q,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pc}from"react/jsx-runtime";var Tr=e=>pc(q,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as $I,jsx as VI,jsxs as XI}from"react/jsx-runtime";import{Fragment as QI,jsx as YI,jsxs as ZI}from"react/jsx-runtime";import{jsx as vt,jsxs as ys}from"react/jsx-runtime";var mc=q.options,cc=q.states,Es={...q.defaultOptions,variant:"horizontal",label:!0},uc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Lo=e=>{let{variant:t,modifiers:o,...a}=e,n=Es.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?ys(Ts,{style:{height:"300px",...l},...a,...s,children:[vt(B,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):ys(As,{style:{width:"400px",...l},...a,...s,children:[vt(B,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Lo.options=mc;Lo.states=cc;Lo.variants=uc;Lo.defaultOptions=Es;Lo.modifiers=fc;Lo.className=q.className;import{jsx as Bs,jsxs as vc}from"react/jsx-runtime";var Os="k-spin-button",hc=[],Nc={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},yr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=yr.increaseLabel,decreaseLabel:s=yr.decreaseLabel,...l}=e;return vc("span",{...l,className:r(Os,e.className),children:[Bs(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Bs(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Dt.states=hc;Dt.options=Nc;Dt.className=Os;Dt.defaultOptions=yr;Dt.moduleName=null;Dt.folderName=null;var Ps="numeric-textbox",Ks="numerictextbox";import{Fragment as Rs,jsx as gt,jsxs as Er}from"react/jsx-runtime";var ws="k-numerictextbox",Cc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Lc={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},rn={showSpinButton:!0,showClearButton:!0,separators:!0},$=e=>{let{size:t,rounded:o,fillMode:a,separators:n=rn.separators,showClearButton:s=rn.showClearButton,showSpinButton:l=rn.showSpinButton,prefix:m,suffix:b,value:N,placeholder:h,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,id:J,"aria-label":pe,"aria-describedby":ce,...ue}=e;return Er(Z,{...ue,size:t,rounded:o,fillMode:a,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,className:r(e.className,ws),children:[m&&Er(Rs,{children:[gt(we,{children:m}),n&&gt(ge,{})]}),gt(Ve,{id:J,placeholder:h,value:N,role:"spinbutton",disabled:E,"aria-label":pe,"aria-describedby":ce,"aria-invalid":v?"true":void 0}),gt(Se,{valid:M,invalid:v,loading:y,disabled:E}),gt(Re,{loading:y,disabled:E}),s&&gt(Fe,{loading:y,disabled:E,readonly:K,value:N}),b&&Er(Rs,{children:[n&&gt(ge,{}),gt(_e,{children:b})]}),l&&gt(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};$.states=Cc;$.options=Lc;$.className=ws;$.defaultOptions=rn;$.moduleName=Ps;$.folderName=Ks;var ya=$;import{jsx as Mc}from"react/jsx-runtime";var _s=e=>Mc(ya,{...e});import Or from"react";import{jsx as Ds}from"react/jsx-runtime";var Sc="k-list-group-sticky-header",Br=e=>Ds("div",{className:r(Sc,e.className),children:Ds("div",{className:"k-list-header-text",children:e.children})});import{jsx as Ic}from"react/jsx-runtime";var gc="k-no-data",sn=e=>{let{live:t,...o}=e;return Ic("span",{...o,className:r(gc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var qt="list",Mo=qt;import{jsx as Hs,jsxs as zs}from"react/jsx-runtime";var Pr="k-list",kc=[],Ac={size:[d.undefined,d.small,d.medium,d.large]},Tc={},D=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:l,customValue:m,noData:b,screenReaders:N,...h}=e,c=Or.Children.toArray(a)[0],M=c?.props?.children?Or.Children.count(c.props.children):Or.Children.count(a);return zs("div",{...h,className:r(e.className,Pr,A(Pr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,n&&Hs(Br,{children:n}),a||(b!==void 0?b:Hs(sn,{live:!0,children:"No data found."})),N&&a&&zs(sn,{className:"k-sr-only",live:!0,children:[M," items found."]})]})};D.states=kc;D.options=Ac;D.className=Pr;D.defaultOptions=Tc;D.moduleName=qt;D.folderName=Mo;import{jsx as Oc}from"react/jsx-runtime";var Gs="k-list-container",yc=[],Ec={},Bc={},So=e=>{let{...t}=e;return Oc("div",{...t,className:r(e.className,Gs),children:e.children})};So.states=yc;So.options=Ec;So.className=Gs;So.defaultOptions=Bc;So.moduleName=qt;So.folderName=Mo;var Yt="checkbox",go=Yt;import{jsx as Us}from"react/jsx-runtime";var ln="k-checkbox",Pc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Kc={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Rc={},$e=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:l,invalid:m,valid:b,required:N,size:h,rounded:L,wrapperRole:c,...M}=e;return Us("span",{className:"k-checkbox-wrap",role:c,children:Us("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,ln,A(ln,{size:h,rounded:L}),I(ln,{hover:n,focus:s,disabled:l,invalid:m,valid:b,indeterminate:a,checked:o}))})})};$e.states=Pc;$e.options=Kc;$e.className=ln;$e.defaultOptions=Rc;$e.moduleName=Yt;$e.folderName=go;var mt=$e;import{jsx as Dc}from"react/jsx-runtime";var Fs="k-checkbox-list",wc=[],_c={},Vs={layout:"vertical"},ke=e=>{let{layout:t=Vs.layout,...o}=e;return Dc("ul",{...o,className:r(e.className,Fs,{[`k-list-${t}`]:t}),children:e.children})};ke.states=wc;ke.options=_c;ke.className=Fs;ke.defaultOptions=Vs;ke.moduleName=Yt;ke.folderName=go;import{jsx as Uc}from"react/jsx-runtime";var $s="k-checkbox-list-item",Hc=[],zc={},Gc={},Ae=e=>{let{...t}=e;return Uc("li",{...t,className:r(e.className,$s),children:e.children})};Ae.states=Hc;Ae.options=zc;Ae.className=$s;Ae.defaultOptions=Gc;Ae.moduleName=Yt;Ae.folderName=go;import{Fragment as Fc,jsx as Xs,jsxs as Vc}from"react/jsx-runtime";var It=({children:e="Label",id:t="cb-label-after",...o})=>Vc(Fc,{children:[Xs(mt,{id:t,...o}),Xs("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as MA,jsx as LA,jsxs as SA}from"react/jsx-runtime";import{Fragment as TA,jsx as AA,jsxs as yA}from"react/jsx-runtime";import{Fragment as KA,jsx as PA,jsxs as RA}from"react/jsx-runtime";import{jsx as HA}from"react/jsx-runtime";import{jsx as FA}from"react/jsx-runtime";import{jsx as WA}from"react/jsx-runtime";import{jsx as tt,jsxs as Ws}from"react/jsx-runtime";var $c=ke.options,Xc=ke.states,Wc={...ke.defaultOptions,variant:"vertical"},Jc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qc=[],Io=e=>{let{variant:t,...o}=e;return t==="horizontal"?Ws(ke,{layout:"horizontal",...o,children:[tt(Ae,{children:tt(It,{id:T("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(It,{id:T("cb"),children:"Label"})}),tt(Ae,{children:tt(It,{id:T("cb"),children:"Label"})})]}):Ws(ke,{...o,children:[tt(Ae,{children:tt(It,{id:T("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(It,{id:T("cb"),children:"Label"})}),tt(Ae,{children:tt(It,{id:T("cb"),children:"Label"})})]})};Io.options=$c;Io.states=Xc;Io.variants=Jc;Io.defaultOptions=Wc;Io.modifiers=qc;Io.className=ke.className;import{jsx as tu}from"react/jsx-runtime";var Yc=mt.options,Qc=mt.states,Zc=mt.defaultOptions,jc=[],eu=[],ko=e=>tu(It,{id:T("checkbox"),...e,defaultChecked:!0,children:"Label"});ko.options=Yc;ko.states=Qc;ko.variants=jc;ko.defaultOptions=Zc;ko.modifiers=eu;ko.className=mt.className;import{jsx as Ao,jsxs as ru}from"react/jsx-runtime";var Kr="k-list-item",ou=[i.hover,i.focus,i.selected,i.disabled],au={},nu={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:s,hover:l,focus:m,selected:b,disabled:N,actions:h,description:L,id:c,...M}=e,v=t||e.children,g=t||(typeof v=="string"?v:void 0);return ru("li",{...M,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":b?"true":"false","aria-disabled":N?"true":void 0,className:r(e.className,Kr,I(Kr,{hover:l,focus:m,disabled:N,selected:b})),children:[n&&Ao($e,{checked:s,disabled:N,"aria-label":g,tabIndex:-1}),o&&Ao("span",{className:"k-list-item-icon-wrapper",children:Ao(S,{icon:o,className:r("k-list-item-icon",a)})}),Ao("span",{className:"k-list-item-text",children:v}),h&&Ao("div",{className:"k-list-item-actions",children:h}),L&&Ao("span",{className:"k-list-item-description",children:L})]})};P.states=ou;P.options=au;P.className=Kr;P.defaultOptions=nu;P.moduleName=qt;P.folderName=Mo;import{jsx as su}from"react/jsx-runtime";var iu="k-list-ul",Ht=e=>{let{children:t,role:o,id:a,...n}=e;return su("ul",{...n,id:a,role:o,className:r(iu,e.className),children:t})};import{jsx as Rr,jsxs as du}from"react/jsx-runtime";var lu="k-list-content",X=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...l}=e;return du("div",{...l,className:r(lu,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:Rr(Ht,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&Rr("div",{className:"k-height-container",children:Rr("div",{})})]})};import{jsx as wr,jsxs as uu}from"react/jsx-runtime";var dn="k-list-sticky-header",pu=[i.hover,i.focus,i.selected],mu={},cu={},pn=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:l,selected:m,...b}=e;return wr("div",{...b,className:r(dn,e.className),children:uu("div",{className:r(`${dn}-item`,I(`${dn}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&wr($e,{checked:a,indeterminate:n,"aria-label":t}),wr("span",{className:"k-list-item-text",children:t})]})})};pn.states=pu;pn.options=mu;pn.className=dn;pn.defaultOptions=cu;import{Fragment as GT,jsx as zT,jsxs as UT}from"react/jsx-runtime";import{jsx as WT,jsxs as JT}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";var _r="k-list-optionlabel",fu=[i.hover,i.focus,i.selected,i.disabled],bu={},xu={},mn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return hu("div",{...l,className:r(_r,I(_r,{hover:o,focus:a,selected:n,disabled:s})),children:t})};mn.states=fu;mn.options=bu;mn.className=_r;mn.defaultOptions=xu;import{jsx as Lu}from"react/jsx-runtime";var Dr="k-list-custom-value",Nu=[i.hover,i.focus,i.selected,i.disabled],vu={},Cu={},zt=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return Lu("div",{...l,className:r(Dr,I(Dr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};zt.states=Nu;zt.options=vu;zt.className=Dr;zt.defaultOptions=Cu;import{Fragment as iy,jsx as ry,jsxs as sy}from"react/jsx-runtime";import{Fragment as uy,jsx as cy,jsxs as fy}from"react/jsx-runtime";import{Fragment as Ly,jsx as vy,jsxs as Cy}from"react/jsx-runtime";import{Fragment as Ty,jsx as ky,jsxs as Ay}from"react/jsx-runtime";import{jsx as Oy}from"react/jsx-runtime";import{Fragment as Dy,jsx as _y,jsxs as Hy}from"react/jsx-runtime";import{Fragment as $y,jsx as Vy,jsxs as Xy}from"react/jsx-runtime";var Js="dropdown-list",qs="dropdownlist";import{Fragment as gu,jsx as Te,jsxs as Hr}from"react/jsx-runtime";var Ys="k-dropdownlist",Mu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Su={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},zr={showValue:!0,arrowIconName:"chevron-down"},me=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=zr.arrowIconName,showValue:s=zr.showValue,valueIconName:l,prefix:m,suffix:b,value:N,placeholder:h,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,popup:J,opened:pe,adaptive:ce,adaptiveSettings:ue,adaptiveTitle:fe,adaptiveSubtitle:Xt,adaptiveFilter:Gn,id:Bt,activeDescendant:Wa,"aria-label":Un,...Fn}=e,Vd=Bt?`${Bt}-listbox`:void 0,yi=Bt?`${Bt}-value`:void 0;return Hr(gu,{children:[Hr(xt,{...Fn,id:Bt,size:t,rounded:o,fillMode:a,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,className:r(e.className,Ys,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":pe?"true":"false","aria-controls":pe?Vd:void 0,"aria-activedescendant":pe&&Wa?Wa:void 0,"aria-describedby":pe?yi:void 0,"aria-disabled":E?"true":void 0,"aria-label":Un,tabIndex:0,children:[Te(we,{children:m}),Te(Jt,{placeholder:h,value:N,showValue:s,valueIconName:l,id:yi}),Te(Se,{valid:M,invalid:v,loading:y,disabled:E}),Te(Re,{loading:y,disabled:E}),Te(_e,{children:b}),Te(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),pe&&J&&Te(U,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:J}),ce&&Te(oe,{adaptive:!0,...ue,header:Te(Ie,{actionsEnd:Te(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Gn,inputValue:N,inputPlaceholder:h,title:fe,subtitle:Xt}),children:Te("div",{className:"k-list-container",children:Te(D,{size:"large",children:Hr(X,{"aria-label":"Options",children:[Te(P,{text:"List item"}),Te(P,{text:"List item"}),Te(P,{text:"List item"})]})})})})]})};me.states=Mu;me.options=Su;me.className=Ys;me.defaultOptions=zr;me.moduleName=Js;me.folderName=qs;import{jsx as AE}from"react/jsx-runtime";import{jsx as PE,jsxs as KE}from"react/jsx-runtime";import{Fragment as FE,jsx as GE,jsxs as UE}from"react/jsx-runtime";import{jsx as JE}from"react/jsx-runtime";import{jsx as eB,jsxs as tB}from"react/jsx-runtime";import{Fragment as pB,jsx as lB,jsxs as dB}from"react/jsx-runtime";import{jsx as bB}from"react/jsx-runtime";import{Fragment as Eu,jsx as Gt,jsxs as Qs}from"react/jsx-runtime";var Iu=me.states,ku=me.defaultOptions,Au=me.options,Tu=[{name:"opened",title:"Opened"}],yu=[],yo=e=>{let{modifiers:t,...o}=e,a={},n=Qs(Eu,{children:[Gt("div",{className:"k-list-filter",children:Gt(Qe,{})}),Gt(D,{style:{width:300},size:o.size,children:Qs(X,{children:[Gt(P,{children:"List item"}),Gt(P,{children:"List item"}),Gt(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),Gt("div",{children:Gt(me,{placeholder:"Value",style:{width:300},...o,...a})})};yo.options=Au;yo.states=Iu;yo.variants=yu;yo.defaultOptions=ku;yo.modifiers=Tu;yo.className=me.className;import{Fragment as _B,jsx as wB}from"react/jsx-runtime";import{Fragment as FB,jsx as UB}from"react/jsx-runtime";import{jsx as WB}from"react/jsx-runtime";import{jsx as Gr}from"react/jsx-runtime";var Bu=$.states,Ou=$.defaultOptions,Pu=$.options,Ku=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Ru=[],Eo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Gr(me,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Gr(rr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),Gr(_s,{value:"Value",style:{width:300},...o,...a})};Eo.options=Pu;Eo.states=Bu;Eo.variants=Ru;Eo.defaultOptions=Ou;Eo.modifiers=Ku;Eo.className=$.className;import{Fragment as Ba,jsx as w,jsxs as ae}from"react/jsx-runtime";var Zs="k-colorgradient-inputs",wu=[],_u={size:[d.undefined,d.small,d.medium,d.large]},js={mode:"rgba"},Bo=e=>{let{mode:t=js.mode,size:o,...a}=e;return ae("div",{...a,className:r(Zs,"k-hstack"),children:[w("div",{className:"k-vstack",children:w(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ae(Ba,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ae(Ba,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ae(Ba,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ae(Ba,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&w(Ba,{children:ae("div",{className:"k-vstack k-flex-1",children:[w(Ne,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),w("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Bo.states=wu;Bo.options=_u;Bo.className=Zs;Bo.defaultOptions=js;import{jsx as Qt,jsxs as Zt}from"react/jsx-runtime";var el="k-colorgradient-color-contrast",Du=[],Hu={},zu={},Oo=()=>Zt("div",{className:r(el,"k-vbox"),children:[Zt("div",{className:"k-contrast-ratio",children:[Qt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Zt("span",{className:"k-contrast-validation !k-text-success",children:[Qt(S,{icon:"check"}),Qt(S,{icon:"check"})]})]}),Zt("div",{children:[Qt("span",{children:"AA: 4.5"}),Zt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Qt(S,{icon:"check"})]})]}),Zt("div",{children:[Qt("span",{children:"AAA: 7.0"}),Zt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Qt(S,{icon:"x"})]})]})]});Oo.states=Du;Oo.options=Hu;Oo.className=el;Oo.defaultOptions=zu;var tl="color-gradient",ol="colorgradient";import{jsx as ot,jsxs as Oa}from"react/jsx-runtime";var cn="k-colorgradient",Gu=[i.hover,i.focus,i.readonly,i.disabled],Uu={size:[d.undefined,d.small,d.medium,d.large]},Ct={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"},xe=e=>{let{size:t,mode:o=Ct.mode,readonly:a=Ct.readonly,disabled:n=Ct.disabled,gradientStyle:s=Ct.gradientStyle,dragHandleStyle:l=Ct.dragHandleStyle,alphaStyle:m=Ct.alphaStyle,alphaStyleHorizontal:b=Ct.alphaStyleHorizontal,contrast:N=Ct.contrast,dir:h,hover:L,focus:c,hoverHandle:M,focusHandle:v,canvasOrientation:g=Ct.canvasOrientation,role:y,tabIndex:E,...K}=e;return Oa("div",{...K,role:y??"textbox","aria-label":y==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":n?"true":void 0,className:r(e.className,cn,A(cn,{size:t}),I(cn,{hover:L,focus:c,readonly:a,disabled:n})),dir:h,children:[!g||g==="horizontal"&&Oa("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":M,"k-focus":v}),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})})}),Oa("div",{className:"k-hsv-controls k-hstack",children:[ot(Tr,{className:"k-hue-slider",hover:M,focus:v}),o!=="rgb"&&o!=="hsv"&&ot(Tr,{className:"k-alpha-slider",hover:M,focus:v,trackStyle:m})]})]}),g==="vertical"&&Oa("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":M,"k-focus":v}),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})})}),Oa("div",{className:"k-hsv-controls k-vstack",children:[ot(Ar,{className:"k-hue-slider",hover:M,focus:v}),o!=="rgb"&&o!=="hsv"&&ot(Ar,{className:"k-alpha-slider",hover:M,focus:v,trackStyle:b})]})]}),ot(Bo,{mode:e.mode,size:t}),N&&ot(Oo,{})]})};xe.states=Gu;xe.options=Uu;xe.className=cn;xe.defaultOptions=Ct;xe.moduleName=tl;xe.folderName=ol;import{jsx as Fu}from"react/jsx-runtime";var un=e=>Fu(xe,{...e});import{jsx as OO}from"react/jsx-runtime";import{jsx as wO}from"react/jsx-runtime";import{jsx as Ur}from"react/jsx-runtime";var Vu=xe.options,$u=xe.states,Xu={...xe.defaultOptions,variant:"rgba"},Wu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Ju=[],Po=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Ur(un,{...o,mode:t});case"rgb":return Ur(un,{...o,mode:t});default:return Ur(un,{...o,mode:t})}};Po.options=Vu;Po.states=$u;Po.variants=Wu;Po.defaultOptions=Xu;Po.modifiers=Ju;Po.className=xe.className;import{jsx as qu}from"react/jsx-runtime";var Fr=e=>qu("tr",{role:"row",children:e.children});import{jsx as Zu}from"react/jsx-runtime";var Vr="k-colorpalette-tile",Yu=[i.hover,i.focus,i.selected],Qu={},Ut=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Zu("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,Vr,I(Vr,{hover:a,focus:n,selected:s})),style:m})};Ut.states=Yu;Ut.options=Qu;Ut.className=Vr;Ut.moduleName=null;Ut.folderName=null;var al="color-palette",nl="colorpalette";import{jsx as Pa}from"react/jsx-runtime";var fn="k-colorpalette",ju=[i.disabled],ef={size:[d.undefined,d.small,d.medium,d.large]},rl={columns:10},De=e=>{let{size:t,palette:o,columns:a=rl.columns,tileSize:n,disabled:s,...l}=e,m=[];if(o){let b=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/b)},(h,L)=>{let c=[];N.slice(L*b,(L+1)*b).map((v,g)=>{c.push(Pa(Ut,{color:v,tileSize:n},g))});let M=Pa(Fr,{children:c},L);m.push(M)})}return Pa("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,fn,I(fn,{disabled:s}),A(fn,{size:t})),children:Pa("table",{className:"k-colorpalette-table",role:"none",children:Pa("tbody",{children:m.length>0?m:e.children})})})};De.states=ju;De.options=ef;De.className=fn;De.defaultOptions=rl;De.moduleName=al;De.folderName=nl;var bn=De;var Ka={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 tf}from"react/jsx-runtime";var il=e=>tf(bn,{palette:Ka.basic,...e});import{jsx as hP}from"react/jsx-runtime";import{jsx as SP,jsxs as gP}from"react/jsx-runtime";import{jsx as df}from"react/jsx-runtime";var of=De.options,af=De.states,nf={...De.defaultOptions,variant:"basic"},rf=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sf={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}},lf=[],Ko=e=>{let{variant:t="basic",...o}=e,a=sf[t];return df(il,{columns:a.columns,palette:a,...o})};Ko.options=of;Ko.states=af;Ko.variants=rf;Ko.defaultOptions=nf;Ko.modifiers=lf;Ko.className=De.className;var sl="color-editor",ll="coloreditor";import{jsx as at,jsxs as Ro}from"react/jsx-runtime";var xn="k-coloreditor",pf=[i.focus],mf={size:[d.undefined,d.small,d.medium,d.large]},Ra={view:"gradient",palette:Ka.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=Ra.view,palette:a=Ra.palette,color:n,currentColor:s,focus:l,focusView:m,dir:b,group:N,actionButtons:h=Ra.actionButtons,canvasOrientation:L=Ra.canvasOrientation,...c}=e;return Ro("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",xn,A(xn,{size:t}),I(xn,{focus:l})),dir:b,children:[Ro("div",{className:"k-coloreditor-header k-hstack",children:[at("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Ro(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"}),Ro("div",{className:"k-coloreditor-header-actions k-hstack",children:[at(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Ro("div",{className:"k-coloreditor-preview k-vstack",children:[at(Ot,{className:"k-coloreditor-preview-color",color:n}),at(Ot,{className:"k-coloreditor-current-color",color:s})]})]})]}),at("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?at(xe,{focus:m,size:t,canvasOrientation:L,role:"none",tabIndex:-1}):at(De,{palette:a,size:t})}),h&&Ro(G,{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"})]})]})};ne.states=pf;ne.options=mf;ne.className=xn;ne.defaultOptions=Ra;ne.moduleName=sl;ne.folderName=ll;var wo=ne;import{jsx as jP}from"react/jsx-runtime";import{jsx as aK}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var dl=e=>cf(wo,{group:!0,currentColor:"fuchsia",...e});import{jsx as uf}from"react/jsx-runtime";var pl=e=>uf(wo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as ml}from"react/jsx-runtime";var ff=ne.options,bf=ne.states,xf={...ne.defaultOptions,variant:"gradient"},hf=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Nf=[],_o=e=>{let{variant:t,...o}=e;return t==="palette"?ml(pl,{...o,color:"white"}):ml(dl,{...o,color:"rgba(183, 118 , 118, 1.00)"})};_o.options=ff;_o.states=bf;_o.variants=hf;_o.defaultOptions=xf;_o.modifiers=Nf;_o.className=ne.className;var cl="color-picker",ul="colorpicker";import{Fragment as Lf,jsx as nt,jsxs as $r}from"react/jsx-runtime";var fl="k-colorpicker",vf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Cf={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},bl={arrowIconName:"chevron-down"},rt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=bl.arrowIconName,prefix:s,suffix:l,value:m,placeholder:b,hover:N,focus:h,valid:L,invalid:c,required:M,disabled:v,valueIconName:g,popup:y,opened:E,adaptive:K,adaptiveSettings:J,adaptiveTitle:pe,adaptiveSubtitle:ce,...ue}=e,fe="colorpicker-popup";return $r(Lf,{children:[$r(xt,{...ue,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:L,invalid:c,required:M,disabled:v,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||K?fe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":v?"true":void 0,className:r(e.className,fl,"k-icon-picker"),children:[nt(we,{children:s}),nt(Jt,{placeholder:b,value:m,showValue:!1,valueIcon:nt(Ot,{className:"k-value-icon",color:m,iconName:g}),valueIconName:g}),nt(_e,{children:l}),nt(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:v})]}),E&&y&&nt(U,{id:fe,className:"k-colorpicker-popup",children:y}),K&&nt(oe,{adaptive:!0,id:fe,...J,header:nt(Ie,{actionsEnd:nt(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:pe,subtitle:ce}),footer:$r(Pt,{children:[nt(p,{text:"Cancel",size:"large"}),nt(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:nt(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};rt.states=vf;rt.options=Cf;rt.className=fl;rt.defaultOptions=bl;rt.moduleName=cl;rt.folderName=ul;var kt=rt;import{jsx as Mf}from"react/jsx-runtime";var hn=e=>Mf(kt,{...e});import{jsx as zK}from"react/jsx-runtime";import{jsx as $K}from"react/jsx-runtime";import{jsx as qK}from"react/jsx-runtime";import{jsx as jK}from"react/jsx-runtime";import{jsx as aR}from"react/jsx-runtime";import{jsx as sR}from"react/jsx-runtime";import{jsx as jt}from"react/jsx-runtime";var Sf=kt.options,gf=kt.states,xl={...kt.defaultOptions,variant:"color"},If=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],kf=[{name:"opened",title:"Opened"}],Do=e=>{let{variant:t,modifiers:o,...a}={...xl,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?jt(ne,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return jt("div",{style:s,children:jt(hn,{...a,...n})});case"icon":return jt("div",{style:s,children:jt(hn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return jt("div",{style:s,children:jt(hn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Do.options=Sf;Do.states=gf;Do.variants=If;Do.defaultOptions=xl;Do.modifiers=kf;Do.className=kt.className;var Xr="combobox",hl=Xr;import{Fragment as Wr,jsx as ie,jsxs as wa}from"react/jsx-runtime";var Nl="k-combobox",Af=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Tf={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},vl={separators:!0},ye=e=>{let{size:t,rounded:o,fillMode:a,separators:n=vl.separators,prefix:s,suffix:l,value:m,placeholder:b,hover:N,focus:h,valid:L,invalid:c,required:M,loading:v,disabled:g,popup:y,opened:E,readonly:K,adaptive:J,adaptiveSettings:pe,adaptiveTitle:ce,adaptiveSubtitle:ue,adaptiveCustomValue:fe,id:Xt,autocomplete:Gn,activeDescendant:Bt,"aria-label":Wa,...Un}=e,Fn=Xt?`${Xt}-listbox`:void 0;return wa(Wr,{children:[wa(Z,{...Un,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:L,invalid:c,required:M,loading:v,disabled:g,readonly:K,className:r(e.className,Nl),children:[s&&wa(Wr,{children:[ie(we,{children:s}),n&&ie(ge,{})]}),ie(Ve,{id:Xt,placeholder:b,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":E?"true":"false","aria-controls":E?Fn:void 0,"aria-activedescendant":E&&Bt?Bt:void 0,"aria-autocomplete":Gn,"aria-invalid":c?"true":void 0,"aria-busy":v?"true":void 0,"aria-label":Wa,disabled:g,readOnly:K}),ie(Se,{valid:L,invalid:c,loading:v,disabled:g}),ie(Re,{loading:v,disabled:g}),ie(Fe,{loading:v,disabled:g,readonly:K,value:m}),l&&wa(Wr,{children:[n&&ie(ge,{}),ie(_e,{children:l})]}),ie(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:g})]}),E&&y&&ie(U,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:y}),J&&ie(oe,{adaptive:!0,id:Xt?`${Xt}-adaptive`:void 0,...pe,header:ie(Ie,{actionsEnd:ie(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:b,title:ce,subtitle:ue}),children:ie("div",{className:"k-list-container",children:ie(D,{customValue:fe?ie(zt,{text:`Use "${m}"`}):void 0,size:"large",children:wa(X,{"aria-label":ce||"Options",children:[ie(P,{text:"List item"}),ie(P,{text:"List item"}),ie(P,{text:"List item"})]})})})})]})};ye.states=Af;ye.options=Tf;ye.className=Nl;ye.defaultOptions=vl;ye.moduleName=Xr;ye.folderName=hl;var Xe=ye;import{jsx as yf}from"react/jsx-runtime";var Cl=e=>yf(Xe,{...e});import{jsx as FR,jsxs as VR}from"react/jsx-runtime";import{jsx as YR,jsxs as QR}from"react/jsx-runtime";import{jsx as aw,jsxs as nw}from"react/jsx-runtime";import{Fragment as pw,jsx as dw}from"react/jsx-runtime";import{Fragment as xw,jsx as bw}from"react/jsx-runtime";import{jsx as Mw,jsxs as Sw}from"react/jsx-runtime";import{Fragment as Bw,jsx as yw,jsxs as Ew}from"react/jsx-runtime";import{jsx as Rw}from"react/jsx-runtime";import{jsx as Hw}from"react/jsx-runtime";import{jsx as $w,jsxs as Xw}from"react/jsx-runtime";import{jsx as Zw,jsxs as jw}from"react/jsx-runtime";import{jsx as Ft,jsxs as Rf}from"react/jsx-runtime";var Ef=ye.states,Bf=ye.defaultOptions,Of=ye.options,Pf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Kf=[],Ho=e=>{let{modifiers:t,...o}=e,a={},n=Ft(D,{style:{width:300},size:o.size,children:Rf(X,{children:[Ft(P,{children:"List item"}),Ft(P,{children:"List item"}),Ft(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Ft(S,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Ft(V,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0;break;default:break}}),Ft("div",{children:Ft(Cl,{value:"Value",style:{width:300},...o,...a})})};Ho.options=Of;Ho.states=Ef;Ho.variants=Kf;Ho.defaultOptions=Bf;Ho.modifiers=Pf;Ho.className=ye.className;var Jr="menu-button",Ll=Jr;import{jsx as Df}from"react/jsx-runtime";var Ml="k-menu-button",wf=[i.hover,i.focus,i.active,i.selected,i.disabled],_f={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},qr={showArrow:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,icon:h,text:L,showArrow:c=qr.showArrow,arrowIconName:M=qr.arrowIconName,expanded:v,...g}=e;return Df(p,{...g,className:r(e.className,Ml),text:L,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,ariaDisabled:N||void 0,icon:h,showArrow:c,arrowIconName:M,"aria-expanded":v?"true":"false",...!L&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};W.states=wf;W.options=_f;W.className=Ml;W.defaultOptions=qr;W.moduleName=Jr;W.folderName=Ll;import{jsx as O_}from"react/jsx-runtime";import{jsx as w_}from"react/jsx-runtime";import{jsx as z_}from"react/jsx-runtime";var We="menu",it=We;import{jsx as _a,jsxs as Sl}from"react/jsx-runtime";var Yr="k-menu-item",Hf=[i.hover,i.focus,i.active,i.selected,i.disabled],zf={},gl={iconPosition:"before"},ve=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:b,arrowIconName:N,iconPosition:h=gl.iconPosition,dir:L,children:c,expanded:M,...v}=e,g=N;return g||(g=L==="rtl"?"chevron-left":"chevron-right"),Sl("li",{...v,className:r(e.className,Yr,"k-item",I(Yr,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":M?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Sl("span",{className:r("k-link k-menu-link"),children:[l&&h==="before"&&_a(S,{className:"k-menu-link-icon",icon:l}),_a("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&_a(S,{className:"k-menu-link-icon",icon:l}),b&&_a("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:_a(S,{icon:g})})]}),c]})};ve.states=Hf;ve.options=zf;ve.className=Yr;ve.defaultOptions=gl;ve.moduleName=We;ve.folderName=it;import{jsx as eo,jsxs as Il}from"react/jsx-runtime";var Qr="k-menu-item",Gf=[i.hover,i.focus,i.active,i.selected,i.disabled],Uf={},Zr={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:b,arrowIconName:N,iconPosition:h=Zr.iconPosition,dir:L=Zr.dir,children:c,popup:M,expanded:v,actions:g,description:y,...E}=e,K=N;return K||(K=L==="rtl"?"chevron-left":"chevron-right"),Il("li",{role:"menuitem",...E,className:r(e.className,Qr,"k-item",I(Qr,{focus:o,disabled:s})),...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":v?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Il("span",{className:r("k-link k-menu-link",I("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[l&&h==="before"&&eo(S,{className:"k-menu-link-icon",icon:l}),eo("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&eo(S,{className:"k-menu-link-icon",icon:l}),g&&eo("span",{className:"k-menu-link-actions",children:g}),b&&eo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:eo(S,{icon:K})}),y&&eo("span",{className:"k-menu-link-description",children:y})]}),c,M]})};j.states=Gf;j.options=Uf;j.className=Qr;j.defaultOptions=Zr;j.moduleName=We;j.folderName=it;import{jsx as Xf}from"react/jsx-runtime";var kl="k-menu-scroll-wrapper",Ff=[],Vf={},$f={},to=e=>{let{className:t,children:o,orientation:a,...n}=e;return Xf("div",{...n,className:r(t,kl,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};to.states=Ff;to.options=Vf;to.className=kl;to.defaultOptions=$f;to.moduleName=We;to.folderName=it;var Al=to;import{Fragment as jr,jsx as oo,jsxs as vn}from"react/jsx-runtime";var Cn="k-menu",Wf=[],Jf={size:[d.undefined,d.small,d.medium,d.large]},Ln={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},he=e=>{let{children:t,orientation:o=Ln.orientation,header:a=Ln.header,scrollable:n,scrollButtonsPosition:s=Ln.scrollButtonsPosition,wrapperStyles:l,dir:m,size:b,popup:N,contextMenu:h,...L}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},M=oo("ul",{dir:m,...L,className:r(e.className,"k-reset",Cn,{[`${Cn}-${o}`]:o,"k-header":a},A(Cn,{size:b})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return vn(jr,{children:[n?vn(Al,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&vn(jr,{children:[oo(p,{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"}),oo(p,{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"})]}),s==="around"&&oo(p,{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"}),M,s==="end"&&vn(jr,{children:[oo(p,{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"}),oo(p,{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"})]}),s==="around"&&oo(p,{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"})]}):M,N]})};he.states=Wf;he.options=Jf;he.className=Cn;he.defaultOptions=Ln;he.moduleName=We;he.folderName=it;import{jsx as qf}from"react/jsx-runtime";var ei="k-separator",Tl={orientation:"horizontal"},zo=e=>{let{orientation:t=Tl.orientation,...o}=e;return qf("li",{...o,className:r(e.className,"k-item",ei,{[`${ei}-${t}`]:t}),role:"separator"})};zo.className=ei;zo.defaultOptions=Tl;zo.moduleName=We;zo.folderName=it;import{Fragment as b0,jsx as x0}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";var ti="k-menu-group",Yf=[],Qf={size:[d.undefined,d.small,d.medium,d.large]},Zf={},Ce=e=>{let{children:t,size:o,...a}=e;return jf("ul",{role:"menu",...a,className:r(e.className,ti,A(ti,{size:o})),children:t})};Ce.states=Yf;Ce.options=Qf;Ce.className=ti;Ce.defaultOptions=Zf;Ce.moduleName=We;Ce.folderName=it;import{jsx as I0,jsxs as k0}from"react/jsx-runtime";import{Fragment as eb,jsx as Go,jsxs as tb}from"react/jsx-runtime";var oi=e=>Go(he,{children:tb(eb,{children:[Go(ve,{text:"Item 1"}),Go(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Go(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Go(ve,{text:"Item 4"}),Go(ve,{text:"Item 5"})]}),...e});import{Fragment as w0,jsx as K0,jsxs as R0}from"react/jsx-runtime";import{Fragment as G0,jsx as z0,jsxs as U0}from"react/jsx-runtime";import{Fragment as W0,jsx as X0,jsxs as J0}from"react/jsx-runtime";import{Fragment as j0,jsx as Z0,jsxs as eD}from"react/jsx-runtime";import{jsx as ao,jsxs as ib}from"react/jsx-runtime";var ob={...he.options,scrollable:{type:"boolean"}},ab=he.states,yl={...he.defaultOptions,variant:"horizontal"},nb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rb=[{name:"opened",title:"Opened"}],Uo=e=>{let{variant:t,modifiers:o,...a}={...yl,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?ao(U,{className:"k-menu-popup",offset:s,children:ib(Ce,{children:[ao(j,{text:"Item 1"}),ao(j,{text:"Item 2"}),ao(zo,{}),ao(j,{text:"Item 3"})]})}):null)}),t==="vertical"?ao(oi,{...a,...n,orientation:"vertical",style:{width:"200px"}}):ao(oi,{...a,...n})};Uo.options=ob;Uo.states=ab;Uo.variants=nb;Uo.defaultOptions=yl;Uo.modifiers=rb;Uo.className=he.className;import{Fragment as PD,jsx as BD,jsxs as OD}from"react/jsx-runtime";import{jsx as _D}from"react/jsx-runtime";import{Fragment as mb,jsx as Lt,jsxs as El}from"react/jsx-runtime";var sb=p.states,Bl={...p.defaultOptions,variant:"text"},lb=p.options,db=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pb=[{name:"opened",title:"Opened"}],Fo=e=>{let{variant:t,modifiers:o,...a}={...Bl,...e},n={},s=Lt(U,{className:"k-menu-popup",children:El(Ce,{size:a.size,children:[Lt(j,{text:"Menu Item"}),Lt(j,{text:"Menu Item"}),Lt(j,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=Lt("div",{children:Lt(W,{...a,...n,icon:"star"})});break;case"icon-and-text":l=Lt("div",{children:Lt(W,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=Lt("div",{children:Lt(W,{...a,...n,children:"Dropdown Button"})});break}return El(mb,{children:[l,o?.opened&&s]})};Fo.options=lb;Fo.states=sb;Fo.variants=db;Fo.defaultOptions=Bl;Fo.modifiers=pb;Fo.className=W.className;var ai="split-button",Ol=ai;import{Fragment as fb,jsx as ni,jsxs as Pl}from"react/jsx-runtime";var ri="k-split-button",cb=[i.hover,i.focus,i.active,i.selected,i.disabled],ub={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Kl={arrowIconName:"chevron-down"},H=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,icon:h,text:L,arrowIconName:c=Kl.arrowIconName,popup:M,opened:v,popupId:g,...y}=e;return Pl(fb,{children:[Pl("div",{...y,className:r(e.className,ri,"k-button-group",A(ri,{rounded:o})),children:[ni(p,{text:L,icon:h,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,...!L&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),ni(p,{className:"k-split-button-arrow",icon:c,size:t,rounded:o,fillMode:a,disabled:N,ariaDisabled:N||void 0,"aria-label":"Toggle dropdown","aria-expanded":v?"true":"false","aria-controls":v?g:void 0,tabIndex:-1})]}),v&&M&&ni(U,{className:"k-menu-popup",children:M})]})};H.states=cb;H.options=ub;H.className=ri;H.defaultOptions=Kl;H.moduleName=ai;H.folderName=Ol;var ii=H;import{jsx as xb}from"react/jsx-runtime";var bb="k-toolbar-separator",ct=e=>xb("div",{className:r(bb,e.className,"k-separator")});var no="toolbar",Vo=no;import{Fragment as si,jsx as z,jsxs as $o}from"react/jsx-runtime";var At="k-toolbar",hb=[i.focus],Nb={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},vb={scrollButtons:"around"},_=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:l,scrollingPosition:m,section:b,...N}=e,h=[],L=(c,M)=>{let v=[];if(c.type===p&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))v.push(z(p,{...c.props,className:`${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===p)v.push(z(p,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===R)v.push(z(R,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===V)v.push(z(V,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===W)v.push(z(W,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===ii)v.push(z(ii,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===O||c.props.className&&c.props.className.includes("k-button-group")){let g=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((E,K)=>{g.push(z(p,{...E.props,className:`${E.props.className?E.props.className:""}`},`${K}-${new Date().getTime()}`))}),v.push(z(O,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:g},`${M}-${new Date().getTime()}`))}else c.type===ye?v.push(z(ye,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`)):c.type===me?v.push(z(me,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`)):c.type===rt?v.push(z(rt,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`)):v.push(c);v.forEach(g=>{h.push(g)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((M,v)=>{L(M,v)}),$o("div",{...N,className:r(e.className,At,A(At,{size:t,fillMode:o}),I(At,{focus:a}),{[`${At}-resizable`]:n,[`${At}-scrollable`]:s,[`${At}-scrollable-overlay`]:s&&l==="hidden",[`${At}-scrollable-${m}`]:m&&m!=="both",[`${At}-section`]:b}),role:"toolbar","aria-label":"Toolbar",children:[!s&&h,s&&l==="hidden"&&z("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),s&&l==="start"&&$o(si,{children:[$o(O,{children:[z("span",{className:r("k-toolbar-prev","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:z(S,{className:"k-button-icon",icon:"chevron-left"})}),z("span",{className:r("k-toolbar-next","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:z(S,{className:"k-button-icon",icon:"chevron-right"})})]}),z(ct,{className:"k-toolbar-button-separator"}),z("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),s&&l==="end"&&$o(si,{children:[z("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),z(ct,{className:"k-toolbar-button-separator"}),$o(O,{children:[z("span",{className:r("k-toolbar-prev","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:z(S,{className:"k-button-icon",icon:"chevron-left"})}),z("span",{className:r("k-toolbar-next","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:z(S,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&$o(si,{children:[z("span",{className:r("k-toolbar-prev","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:z(S,{className:"k-button-icon",icon:"chevron-left"})}),z(ct,{className:"k-toolbar-button-separator"}),z("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),z(ct,{className:"k-toolbar-button-separator"}),z("span",{className:r("k-toolbar-next","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:z(S,{className:"k-button-icon",icon:"chevron-right"})})]})]})};_.states=hb;_.options=Nb;_.className=At;_.defaultOptions=vb;_.moduleName=no;_.folderName=Vo;import{jsx as Sb}from"react/jsx-runtime";var li="k-toolbar-item",Cb=[i.focus],Lb={},Mb={},Xo=e=>{let{focus:t,...o}=e;return Sb("div",{...o,className:r(e.className,li,I(li,{focus:t})),children:e.children})};Xo.states=Cb;Xo.options=Lb;Xo.className=li;Xo.defaultOptions=Mb;Xo.moduleName=no;Xo.folderName=Vo;import{jsx as Rl}from"react/jsx-runtime";var wl="k-toolbar-popup",gb=[],Ib={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},kb={},ro=e=>{let{size:t,fillMode:o,section:a,...n}=e;return Rl(U,{...n,className:r(e.className,wl),children:a?Rl("span",{className:r("k-toolbar-items-list",A("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};ro.states=gb;ro.options=Ib;ro.className=wl;ro.defaultOptions=kb;ro.moduleName=no;ro.folderName=Vo;var Mn=ro;import{jsx as wH}from"react/jsx-runtime";import{jsx as zH}from"react/jsx-runtime";import{jsx as VH}from"react/jsx-runtime";import{jsx as YH,jsxs as QH}from"react/jsx-runtime";import{jsx as t1}from"react/jsx-runtime";import{jsx as Tt,jsxs as Bb}from"react/jsx-runtime";var Ab=H.states,_l={...H.defaultOptions,variant:"text"},Tb=H.options,yb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Eb=[{name:"opened",title:"Opened"}],Wo=e=>{let{variant:t,modifiers:o,...a}={..._l,...e},n={},s=Bb(Ce,{size:a.size,children:[Tt(j,{text:"Menu Item"}),Tt(j,{text:"Menu Item"}),Tt(j,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?s:"")}),t){case"icon-only":return Tt("div",{children:Tt(H,{...a,...n,icon:"star"})});case"icon-and-text":return Tt("div",{children:Tt(H,{...a,...n,icon:"star",children:"Split Button"})});default:return Tt("div",{children:Tt(H,{...a,...n,children:"Split Button"})})}};Wo.options=Tb;Wo.states=Ab;Wo.variants=yb;Wo.defaultOptions=_l;Wo.modifiers=Eb;Wo.className=H.className;import{jsx as io,jsxs as Ob}from"react/jsx-runtime";var Dl=e=>io(_,{children:[io(p,{children:"Button"},"toolbar-button"),io(W,{text:"Menu button"},"toolbar-menu-button"),io(H,{children:"Split button"},"toolbar-split-button"),Ob(O,{children:[io(p,{className:"k-group-start",icon:"align-left",children:"Left"}),io(p,{icon:"align-center",children:"Center"}),io(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as E1,jsxs as B1}from"react/jsx-runtime";import{jsx as Je,jsxs as Hl}from"react/jsx-runtime";var zl=e=>Je(_,{scrollable:!0,...e,children:[Je(p,{children:"Button"},"toolbar-button"),Je(W,{text:"Menu button"},"toolbar-menu-button"),Je(H,{children:"Split button"},"toolbar-split-button"),Hl(O,{children:[Je(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(p,{icon:"align-center",children:"Center"}),Je(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Je(p,{children:"Button"},"toolbar-button"),Je(W,{text:"Menu button"},"toolbar-menu-button"),Je(H,{children:"Split button"},"toolbar-split-button"),Hl(O,{children:[Je(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(p,{icon:"align-center",children:"Center"}),Je(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as qe,jsxs as Gl}from"react/jsx-runtime";var Ul=({scrollingPosition:e="start",...t})=>qe(_,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[qe(p,{children:"Button"},"toolbar-button"),qe(W,{text:"Menu button"},"toolbar-menu-button"),qe(H,{children:"Split button"},"toolbar-split-button"),Gl(O,{children:[qe(p,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(p,{icon:"align-center",children:"Center"}),qe(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),qe(p,{children:"Button"},"toolbar-button"),qe(W,{text:"Menu button"},"toolbar-menu-button"),qe(H,{children:"Split button"},"toolbar-split-button"),Gl(O,{children:[qe(p,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(p,{icon:"align-center",children:"Center"}),qe(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Pb,jsx as He,jsxs as Sn}from"react/jsx-runtime";var Fl=({fillMode:e,size:t,...o})=>Sn(Pb,{children:[He(_,{section:!0,fillMode:e,size:t,children:[He(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Sn(O,{fillMode:e,children:[He(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),He(ct,{className:"k-toolbar-button-separator"}),He(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Sn(Mn,{size:t,fillMode:e,section:!0,...o,children:[He(H,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),He(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),He(ct,{}),He(W,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Sn(O,{fillMode:e,children:[He(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as p2,jsx as l2,jsxs as d2}from"react/jsx-runtime";import{Fragment as L2,jsx as v2,jsxs as C2}from"react/jsx-runtime";import{jsx as Vt}from"react/jsx-runtime";var Kb=_.options,Rb=_.states,Vl={..._.defaultOptions,variant:"default"},wb=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],_b=[],Jo=e=>{let{variant:t,...o}={...Vl,...e};switch(t){case"responsive":return Vt("div",{children:Vt(Fl,{style:{width:"583px"},...o})});case"overlay":return Vt("div",{children:Vt(Ul,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Vt("div",{children:Vt(zl,{style:{width:"583px"},...o})});default:return Vt("div",{children:Vt(Dl,{style:{width:"583px"},...o})})}};Jo.options=Kb;Jo.states=Rb;Jo.variants=wb;Jo.defaultOptions=Vl;Jo.modifiers=_b;Jo.className=_.className;var di="prompt",$l=di;import{Fragment as Gb,jsx as Xl}from"react/jsx-runtime";var Wl="k-prompt",Db=[],Hb={},zb={},F=e=>{let{...t}=e;return Xl("div",{...t,className:r(e.className,Wl),children:Xl(Gb,{children:e.children})})};F.states=Db;F.options=Hb;F.className=Wl;F.defaultOptions=zb;F.moduleName=di;F.folderName=$l;import{jsx as Fb}from"react/jsx-runtime";var Ub="k-prompt-header",ut=e=>{let{...t}=e;return Fb("div",{...t,className:r(e.className,Ub),children:e.children})};import{Fragment as $b,jsx as Jl}from"react/jsx-runtime";var Vb="k-prompt-content",Ee=e=>{let{...t}=e;return Jl("div",{...t,className:r(e.className,Vb),children:Jl($b,{children:e.children})})};import{jsx as Wb}from"react/jsx-runtime";var Xb="k-prompt-view",Be=e=>{let{...t}=e;return Wb("div",{...t,className:r(e.className,Xb),children:e.children})};import{jsx as ql,jsxs as qb}from"react/jsx-runtime";var Jb="k-prompt-expander",gn=e=>{let{title:t,children:o,expanded:a,...n}=e,s=T("prompt-expander-content");return qb("div",{...n,className:r(e.className,Jb),children:[ql(R,{fillMode:"flat",icon:a?"chevron-up":"chevron-down","aria-expanded":a?"true":"false","aria-controls":a?s:void 0,children:t}),a&&ql("div",{className:"k-prompt-expander-content",id:s,children:o})]})};import{jsx as Qb}from"react/jsx-runtime";var Yb="k-prompt-footer",qo=e=>{let{...t}=e;return Qb("div",{...t,className:r(e.className,Yb),children:e.children})};import{jsx as uz}from"react/jsx-runtime";import{jsx as Zb}from"react/jsx-runtime";var Yl="k-prompt-send",Ql={generating:!1},Mt=e=>{let{generating:t=Ql.generating,...o}=e;return Zb(p,{...o,className:r(e.className,Yl,{"k-generating":t}),icon:t?"stop":"paper-plane",active:t,fillMode:"flat","aria-label":t?"Stop generating":"Send prompt"})};Mt.states=p.states;Mt.options=p.options;Mt.className=Yl;Mt.moduleName=null;Mt.folderName=null;Mt.defaultOptions=Ql;import{jsx as Zl,jsxs as ax}from"react/jsx-runtime";var In="k-fab",tx=[i.hover,i.focus,i.active,i.selected,i.disabled],ox={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},jl={type:"button"},re=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:s,type:l=jl.type,position:m,hover:b,focus:N,active:h,selected:L,disabled:c,...M}=e;return ax("button",{...M,type:l,className:r(e.className,In,A(In,{size:t,rounded:o,themeColor:a}),I(In,{hover:b,focus:N,active:h,disabled:c,selected:L}),{[`!k-pos-absolute k-${m}`]:m}),...!n&&s&&!e["aria-label"]&&{"aria-label":"Action"},...c&&{"aria-disabled":"true"},disabled:c||void 0,children:[s&&Zl(S,{className:"k-fab-icon",icon:s}),n&&Zl("span",{className:"k-fab-text",children:n})]})};re.states=tx;re.options=ox;re.className=In;re.defaultOptions=jl;re.moduleName="fab";re.folderName="fab";import{jsx as rx}from"react/jsx-runtime";var nx="k-fab-items",ed=e=>{let{position:t,...o}=e;return rx("ul",{...o,className:r(e.className,nx,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as od,jsxs as sx}from"react/jsx-runtime";var td="k-fab-item",ix=[i.hover,i.focus,i.active,i.disabled],pi=e=>{let{text:t,icon:o,align:a,hover:n,focus:s,active:l,disabled:m,...b}=e;return sx("li",{...b,className:r(e.className,td,{[`k-text-${a}`]:a},I(td,{hover:n,focus:s,active:l,disabled:m})),children:[od("span",{className:"k-fab-item-text",children:t}),od(S,{className:"k-fab-item-icon",icon:o})]})};pi.states=ix;import{jsx as wz}from"react/jsx-runtime";import{jsx as zz}from"react/jsx-runtime";import{jsx as Vz}from"react/jsx-runtime";import{jsx as Jz}from"react/jsx-runtime";import{jsx as Yo,jsxs as ux}from"react/jsx-runtime";var lx=re.options,dx=re.states,px={...re.defaultOptions,variant:"text"},mx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],cx=[{name:"opened",title:"Opened"}],Qo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},s=n?Yo("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:Yo(ed,{position:"bottom",children:Yo(pi,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=Yo(re,{...a,icon:"star"});break;case"icon-and-text":l=Yo(re,{...a,icon:"star",text:"Action"});break;default:l=Yo(re,{...a,text:"Action"});break}return ux("span",{style:{position:"relative"},children:[l,s]})};Qo.options=lx;Qo.states=dx;Qo.variants=mx;Qo.defaultOptions=px;Qo.modifiers=cx;Qo.className=re.className;import{jsx as fx}from"react/jsx-runtime";var ad="k-prompt-stop-fab",nd={generating:!0},so=e=>{let{generating:t=nd.generating,icon:o,...a}=e;return fx(re,{...a,className:r(e.className,ad,{"k-generating":t}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:t?"stop":o,active:t,"aria-label":t?"Stop generating":"Action"})};so.states=p.states;so.options=p.options;so.className=ad;so.defaultOptions=nd;var mi="speech-to-text-button",rd=mi;import{jsx as bx}from"react/jsx-runtime";var id="k-speech-to-text-button",sd={icon:"microphone"},te=e=>{let{listening:t=!1,icon:o=sd.icon,...a}=e;return bx(p,{...a,icon:t?"stop":o,className:r(e.className,id,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};te.states=p.states;te.options=p.options;te.className=id;te.defaultOptions=sd;te.moduleName=mi;te.folderName=rd;import{jsx as B3}from"react/jsx-runtime";import{jsx as R3}from"react/jsx-runtime";import{jsx as Cx}from"react/jsx-runtime";var xx=p.states,ld={...p.defaultOptions,variant:"normal"},hx={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Nx=[],vx=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],Zo=e=>{let{variant:t,...o}={...ld,...e},a={};return t==="listening"&&(a.listening=!0),Cx(te,{...o,...a})};Zo.options=hx;Zo.states=xx;Zo.variants=vx;Zo.defaultOptions=ld;Zo.modifiers=Nx;Zo.className=te.className;var ci="textarea",dd=ci;import{Fragment as pd,jsx as Da,jsxs as ui}from"react/jsx-runtime";var md="k-textarea",Lx=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Mx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},jo={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Y=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:n=jo.prefixSeparator,suffixSeparator:s=jo.prefixSeparator,affixesOrientation:l=jo.affixesOrientation,flow:m=jo.flow,resize:b=jo.resize,prefix:N,suffix:h,rows:L,value:c,placeholder:M,hover:v,focus:g,valid:y,invalid:E,required:K,disabled:J,id:pe,"aria-label":ce,"aria-describedby":ue,...fe}=e;return ui(Z,{...fe,size:t,rounded:o,fillMode:a,hover:v,focus:g,valid:y,invalid:E,required:K,disabled:J,className:r(e.className,md,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[N&&ui(pd,{children:[Da(we,{className:r({"!k-align-items-start":m===l}),direction:l,children:N}),n&&Da(ge,{direction:m==="horizontal"?"vertical":"horizontal"})]}),Da(Ma,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":b==="x","k-resize-y":b==="y","k-resize":b==="both","k-resize-none":b==="none"}),value:c,placeholder:M,rows:L,disabled:J,id:pe,"aria-label":ce,"aria-describedby":ue,"aria-invalid":E?"true":void 0}),h&&ui(pd,{children:[s&&Da(ge,{direction:m==="horizontal"?"vertical":"horizontal"}),Da(_e,{className:r({"!k-align-items-start":m===l}),direction:l,children:h})]})]})};Y.states=Lx;Y.options=Mx;Y.className=md;Y.defaultOptions=jo;Y.moduleName=ci;Y.folderName=dd;import{jsx as t5}from"react/jsx-runtime";import{Fragment as s5,jsx as i5}from"react/jsx-runtime";import{Fragment as u5,jsx as c5}from"react/jsx-runtime";import{jsx as h5}from"react/jsx-runtime";import{jsx as kn}from"react/jsx-runtime";var Sx=Y.options,gx=Y.states,cd={...Y.defaultOptions,variant:"vertical"},Ix=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],kx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],ea=e=>{let{variant:t,modifiers:o,...a}={...cd,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?kn(S,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?kn(S,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?kn(Y,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):kn(Y,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};ea.options=Sx;ea.states=gx;ea.variants=Ix;ea.defaultOptions=cd;ea.modifiers=kx;ea.className=Y.className;import{Fragment as z5,jsx as D5,jsxs as H5}from"react/jsx-runtime";var bi="suggestion",ud=bi;import{jsx as An,jsxs as yx}from"react/jsx-runtime";var Tn="k-suggestion-group",Ax=[],Tx={},fd={layout:"scrollable",scrollingPosition:"start"},st=e=>{let{layout:t=fd.layout,scrollingPosition:o,...a}=e,n=An("div",{...a,className:r(Tn,{"k-suggestion-group-scrollable":t=="scrollable",[`${Tn}-scrollable-start`]:o==="start"||o==="both",[`${Tn}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?An("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?yx("div",{className:"k-suggestion-scrollwrap",children:[An(p,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,An(p,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};st.states=Ax;st.options=Tx;st.className=Tn;st.defaultOptions=fd;st.moduleName=bi;st.folderName=ud;import{jsx as Px}from"react/jsx-runtime";var yn="k-suggestion",Ex=[i.active,i.hover,i.focus],Bx={themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Ox={text:"Suggestion"},ft=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:s,...l}=e;return Px("span",{...l,className:r(e.className,yn,I(yn,{hover:a,active:o,focus:n}),A(yn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":s,children:s})};ft.states=Ex;ft.options=Bx;ft.className=yn;ft.item=Ox;import{Fragment as eG,jsx as j5,jsxs as tG}from"react/jsx-runtime";import{Fragment as iG,jsx as rG,jsxs as sG}from"react/jsx-runtime";import{Fragment as cG,jsx as mG,jsxs as uG}from"react/jsx-runtime";import{Fragment as BG,jsx as yG,jsxs as EG}from"react/jsx-runtime";import{jsx as En}from"react/jsx-runtime";var Kx="k-chip-action";var yt=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=En(S,{icon:"x-circle",size:"small"});break;case"more":a=En(S,{icon:"more-vertical",size:"small"});break;default:return En(S,{icon:t,size:"small"})}return En("span",{...o,className:r(e.className,Kx,`k-chip-${t}-action`),children:a})};var xi="avatar",bd=xi;import{jsx as xd}from"react/jsx-runtime";var Ha="k-avatar";var Rx=[i.hover,i.focus,i.active,i.selected,i.disabled],wx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},hi={type:"text",border:!1},ze=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:s=hi.type,border:l=hi.border,...m}=e;return xd("div",{...m,className:r(e.className,Ha,A(Ha,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Ha}-bordered`]:l}),children:xd("span",{className:`${Ha}-${s}`,children:e.children})})};ze.states=Rx;ze.options=wx;ze.className=Ha;ze.defaultOptions=hi;ze.moduleName=xi;ze.folderName=bd;var lo=ze;import{jsx as _x}from"react/jsx-runtime";var hd=e=>_x(lo,{type:"icon",...e});import{jsx as Dx}from"react/jsx-runtime";var Nd=e=>Dx(lo,{type:"text",...e});import{jsx as Hx}from"react/jsx-runtime";var vd=e=>Hx(lo,{type:"image",...e});import{jsx as jG}from"react/jsx-runtime";import{jsx as za}from"react/jsx-runtime";var zx=ze.options,Gx=ze.states,Ux={...ze.defaultOptions,variant:"image"},Fx=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Vx=[],ta=e=>{let{variant:t,...o}=e;switch(t){case"icon":return za(hd,{...o,children:za(S,{icon:"star"})});case"text":return za(Nd,{...o,children:"JO"});default:return za(vd,{...o,children:za("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ta.options=zx;ta.states=Gx;ta.variants=Fx;ta.defaultOptions=Ux;ta.modifiers=Vx;ta.className=ze.className;var Ga="chip",Bn=Ga,On="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as oa,jsxs as Wx}from"react/jsx-runtime";var Pn="k-chip",$x=[i.hover,i.focus,i.active,i.selected,i.disabled],Xx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[x.undefined,x.base,x.success,x.warning,x.error,x.info]},Cd={avatarImage:"/packages/html/assets/avatar.jpg"},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:s,icon:l,actions:m,showAvatar:b,avatarImage:N=Cd.avatarImage,hover:h,focus:L,active:c,selected:M,disabled:v,...g}=e;return Wx("div",{...g,className:r(e.className,Pn,A(Pn,{size:t,rounded:o,fillMode:a,themeColor:n}),I(Pn,{hover:h,focus:L,active:c,disabled:v,selected:M})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:M?"true":"false",...e.role==="option"&&M!==void 0&&{"aria-selected":M?"true":"false"},"aria-disabled":v?"true":void 0,children:[l&&oa(S,{className:"k-chip-icon",icon:l,size:"small"}),b&&oa(ze,{className:"k-chip-avatar",type:"image",children:oa("img",{src:N,alt:""})}),oa("span",{className:"k-chip-content",children:e.children?e.children:s&&oa("span",{className:"k-chip-label",children:s})}),m&&oa("span",{className:"k-chip-actions",children:m})]})};Ge.states=$x;Ge.options=Xx;Ge.className=Pn;Ge.defaultOptions=Cd;Ge.moduleName=Ga;Ge.folderName=Bn;var lt=Ge;import{jsx as Qx}from"react/jsx-runtime";var Ni="k-chip-list",Jx=[],qx={size:[d.undefined,d.small,d.medium,d.large]},Yx={},Le=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return Qx("div",{...n,className:r(e.className,Ni,A(Ni,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:a||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};Le.states=Jx;Le.options=qx;Le.className=Ni;Le.defaultOptions=Yx;Le.moduleName=Ga;Le.folderName=Bn;import{jsx as yU}from"react/jsx-runtime";import{jsx as PU}from"react/jsx-runtime";import{jsx as Zx}from"react/jsx-runtime";var Kn=e=>Zx(lt,{text:"text",...e});import{jsx as GU}from"react/jsx-runtime";import{jsx as $U}from"react/jsx-runtime";import{Fragment as QU,jsx as YU,jsxs as ZU}from"react/jsx-runtime";import{jsx as aF,jsxs as nF}from"react/jsx-runtime";import{jsx as dF,jsxs as pF}from"react/jsx-runtime";import{jsx as xF,jsxs as hF}from"react/jsx-runtime";import{jsx as aa,jsxs as nh}from"react/jsx-runtime";var jx={...lt.options,...Le.options},eh=[],th=Le.states,oh={...lt.defaultOptions,...Le.defaultOptions},ah=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],na=e=>{let{modifiers:t,className:o,...a}=e,n=t?.icon,s=t?.actions,l=t?.avatar,m=l?On:void 0;return nh(Le,{size:a.size,className:o,children:[aa(Kn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),aa(Kn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),aa(Kn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"})]})};na.options=jx;na.states=th;na.variants=eh;na.defaultOptions=oh;na.modifiers=ah;na.className=Le.className;import{jsx as vi}from"react/jsx-runtime";var rh=Ge.states,ih=Ge.defaultOptions,sh=Ge.options,lh=[],dh=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],ra=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"icon":a.icon=t?.[n]?"arrow-down":void 0;break;case"avatar":a.showAvatar=!!t?.[n],a.avatarImage=t?.[n]?On:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[n]?vi(yt,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[n]?vi(yt,{type:"remove"}):void 0;break;default:break}}),vi(Ge,{...o,...a,children:"Chip component"})};ra.options=sh;ra.states=rh;ra.variants=lh;ra.defaultOptions=ih;ra.modifiers=dh;ra.className=Ge.className;import{Fragment as i9,jsx as n9,jsxs as r9}from"react/jsx-runtime";import{jsx as mh}from"react/jsx-runtime";var ph="k-card-callout",Ld=e=>{let{callout:t,...o}=e;return mh("span",{...o,className:r(e.className,ph,{[`k-callout-${Bi.calloutMap[t]||t}`]:t})})};var Ye="card",dt=Ye;import{Fragment as bh,jsx as Md,jsxs as xh}from"react/jsx-runtime";var Ci="k-card",ch=[i.hover,i.focus,i.selected,i.disabled],uh={},fh={},Q=e=>{let{orientation:t,callout:o,hover:a,focus:n,selected:s,disabled:l,...m}=e;return xh("div",{...m,className:r(e.className,Ci,I(Ci,{hover:a,focus:n,disabled:l,selected:s}),{[`k-card-${t}`]:t,"k-card-with-callout":o}),children:[o&&o!=="true"&&Md(Ld,{callout:o}),Md(bh,{children:e.children})]})};Q.states=ch;Q.options=uh;Q.className=Ci;Q.defaultOptions=fh;Q.moduleName=Ye;Q.folderName=dt;import{Fragment as Ch,jsx as Sd}from"react/jsx-runtime";var Li="k-card-list",hh=[],Nh={},vh={},po=e=>{let{...t}=e;return Sd("div",{...t,className:r(e.className,Li,I(Li,{})),role:"list",children:Sd(Ch,{children:e.children})})};po.states=hh;po.options=Nh;po.className=Li;po.defaultOptions=vh;po.moduleName=Ye;po.folderName=dt;import{jsx as gh}from"react/jsx-runtime";var gd="k-card-group",Lh=[],Mh={},Sh={},ia=e=>{let{...t}=e;return gh("div",{...t,className:r(e.className,gd),children:e.children})};ia.states=Lh;ia.options=Mh;ia.className=gd;ia.defaultOptions=Sh;ia.moduleName=Ye;ia.folderName=dt;import{jsx as Th}from"react/jsx-runtime";var Mi="k-card-wrap",Ih=[i.focus,i.selected],kh={},Ah={},sa=e=>{let{focus:t,selected:o,...a}=e;return Th("div",{...a,className:r(e.className,Mi,I(Mi,{focus:t,selected:o})),children:e.children})};sa.states=Ih;sa.options=kh;sa.className=Mi;sa.defaultOptions=Ah;sa.moduleName=Ye;sa.folderName=dt;import{jsx as Eh}from"react/jsx-runtime";var Si="k-card-title",yh=[i.hover,i.focus],mo=e=>{let{hover:t,focus:o,...a}=e;return Eh("div",{...a,className:r(e.className,Si,I(Si,{hover:t,focus:o})),children:e.children})};mo.states=yh;mo.className=Si;import{jsx as Oh}from"react/jsx-runtime";var Bh="k-card-subtitle",Rn=e=>{let{...t}=e;return Oh("div",{...t,className:r(e.className,Bh),children:e.children})};import{Fragment as kd,jsx as wn}from"react/jsx-runtime";var Id="k-card-media",gi=e=>{let{src:t,...o}=e;return wn(kd,{children:t?wn("img",{...o,className:r(e.className,Id),src:t}):wn("span",{...o,className:r(e.className,Id),children:wn(kd,{children:e.children})})})};import{Fragment as Kh,jsx as Ua,jsxs as Rh}from"react/jsx-runtime";var Ph="k-card-header",Et=e=>{let{title:t,subtitle:o,details:a,...n}=e;return Rh("div",{...n,className:r(e.className,Ph),children:[t&&Ua(mo,{children:t}),o&&Ua(Rn,{children:o}),Ua(Kh,{children:e.children}),a&&Ua("span",{className:"k-card-header-actions",children:Ua(p,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as _h}from"react/jsx-runtime";var wh="k-card-footer",Ii=e=>{let{...t}=e;return _h("div",{...t,className:r(e.className,wh),children:e.children})};import{Fragment as Hh,jsx as Fa,jsxs as zh}from"react/jsx-runtime";var Dh="k-card-body",Oe=e=>{let{title:t,subtitle:o,details:a,...n}=e;return zh("div",{...n,className:r(e.className,Dh),children:[t&&Fa(mo,{children:t}),o&&Fa(Rn,{children:o}),Fa(Hh,{children:e.children}),a&&Fa("span",{className:"k-card-header-actions",children:Fa(p,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as Vh}from"react/jsx-runtime";var Ad="k-card-deck",Gh=[],Uh={},Fh={},la=e=>{let{...t}=e;return Vh("div",{...t,className:r(e.className,Ad),children:e.children})};la.states=Gh;la.options=Uh;la.className=Ad;la.defaultOptions=Fh;la.moduleName=Ye;la.folderName=dt;import{jsx as Jh}from"react/jsx-runtime";var Td="k-card-deck-scrollwrap",$h=[],Xh={},Wh={},da=e=>{let{...t}=e;return Jh("div",{...t,className:r(e.className,Td),children:e.children})};da.states=$h;da.options=Xh;da.className=Td;da.defaultOptions=Wh;da.moduleName=Ye;da.folderName=dt;import{Fragment as qh,jsx as pa,jsxs as yd}from"react/jsx-runtime";var Ed=e=>pa(Q,{orientation:"vertical",children:yd(qh,{children:[pa(Et,{children:"Card Header"}),pa(Oe,{children:pa("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),yd(G,{className:"k-card-actions",children:[pa(p,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),pa(p,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{Fragment as Yh,jsx as Va,jsxs as Bd}from"react/jsx-runtime";var Od=e=>Va(Q,{orientation:"horizontal",children:Bd(Yh,{children:[Va(Oe,{title:"Card Title",children:Va("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Bd(G,{orientation:"vertical",className:"k-card-actions",children:[Va(p,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),Va(p,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{jsx as M6,jsxs as S6}from"react/jsx-runtime";import{jsx as Pe,jsxs as $a}from"react/jsx-runtime";var Qh=Q.options,Zh=Q.states,Pd={...Q.defaultOptions,variant:"vertical"},jh=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],eN=[{name:"media",title:"Card with Media"},{name:"header",title:"Card with Header"},{name:"footer",title:"Card with Footer"}],ma=e=>{let{variant:t,modifiers:o,...a}={...Pd,...e},n=!1,s=!1,l=!1;return Object.keys(o||{}).forEach(m=>{switch(m){case"media":{n=!!o?.[m];break}case"header":{s=!!o?.[m];break}case"footer":{l=!!o?.[m];break}}}),t==="horizontal"?$a(Od,{style:{maxWidth:"420px"},...a,children:[n&&Pe(gi,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),$a("div",{children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),Pe(Oe,{title:"Title",subtitle:"Subtitle",children:Pe("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Pe(Ii,{children:"Card Footer"})]}),(s||l)&&Pe("span",{className:"k-separator k-separator-vertical"}),$a(G,{orientation:"vertical",alignment:"stretched",className:"k-card-actions",children:[Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]}):$a(Ed,{style:{maxHeight:"450px",width:"300px"},...a,children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),n&&Pe(gi,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Pe(Oe,{title:"Title",subtitle:"Subtitle",children:Pe("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Pe(Ii,{children:"Card Footer"}),$a(G,{className:"k-card-actions",children:[Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]})};ma.options=Qh;ma.states=Zh;ma.variants=jh;ma.defaultOptions=Pd;ma.modifiers=eN;ma.className=Q.className;import{jsx as s7,jsxs as l7}from"react/jsx-runtime";import{Fragment as C7,jsx as N7,jsxs as v7}from"react/jsx-runtime";import{Fragment as B7,jsx as y7,jsxs as E7}from"react/jsx-runtime";import{Fragment as H7,jsx as D7,jsxs as z7}from"react/jsx-runtime";var ki="panelbar",Kd=ki;import{jsx as nN}from"react/jsx-runtime";var Rd="k-panelbar",tN=[],oN={},aN={},Me=e=>{let{activeDescendant:t,...o}=e;return nN("ul",{...o,className:r(e.className,Rd),role:"tree","aria-activedescendant":t,children:e.children})};Me.states=tN;Me.options=oN;Me.className=Rd;Me.defaultOptions=aN;Me.moduleName=ki;Me.folderName=Kd;import Ai from"react";import{jsx as _n,jsxs as wd}from"react/jsx-runtime";var _d="k-panelbar-item",rN=[i.hover,i.focus,i.selected,i.disabled],iN={},Dn={level:0,expanded:!1,text:"Item"},k=e=>{let{text:t=Dn.text,level:o=Dn.level,expanded:a=Dn.expanded,header:n,hover:s,focus:l,selected:m,disabled:b,icon:N,iconClass:h,ariaSelected:L,children:c,...M}=e,v=!!c;return wd("li",{...M,className:r(e.className,_d,{"k-panelbar-header":n,[`k-level-${o}`]:o||o===0,"k-expanded":a}),role:"treeitem","aria-expanded":v?a?"true":"false":void 0,"aria-selected":L?"true":"false","aria-disabled":b?"true":void 0,children:[wd("span",{className:r("k-link",I("k-link",{hover:s,focus:l,disabled:b,selected:m})),children:[N&&_n(S,{className:"k-panelbar-item-icon",icon:N}),h&&!N&&_n("span",{className:`k-panelbar-item-icon ${h}`}),_n("span",{className:"k-panelbar-item-text",children:t}),v&&_n(S,{className:r("k-panelbar-toggle",a?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${a?"up":"down"}`})]}),a&&c,!a&&c&&Ai.Children.map(c,g=>Ai.isValidElement(g)?Ai.cloneElement(g,{"aria-hidden":"true",style:{display:"none"}}):g)]})};k.states=rN;k.options=iN;k.className=_d;k.moduleName=null;k.folderName=null;k.defaultOptions=Dn;import{jsx as pN}from"react/jsx-runtime";var Dd="k-panelbar-group",sN=[],lN={},dN={},se=e=>{let{ariaHidden:t,...o}=e;return pN("ul",{...o,className:r(e.className,Dd),role:"group",...t!==void 0&&{"aria-hidden":t?"true":void 0},children:e.children})};se.states=sN;se.options=lN;se.className=Dd;se.moduleName=null;se.folderName=null;se.defaultOptions=dN;import{jsx as fN}from"react/jsx-runtime";var Hd="k-panelbar-content",mN=[],cN={},uN={},le=e=>{let{...t}=e;return fN("div",{...t,className:r(e.className,Hd),children:e.children})};le.states=mN;le.options=cN;le.className=Hd;le.defaultOptions=uN;import{Fragment as bN,jsx as $t,jsxs as xN}from"react/jsx-runtime";var ca=e=>{let t=T("pb-item"),o=T("pb-item"),a=T("pb-item"),n=T("pb-item");return $t(Me,{children:xN(bN,{children:[$t(k,{header:!0,text:"Item 1",id:t,children:$t(le,{children:"content"})}),$t(k,{header:!0,text:"Item 2",id:o,children:$t(le,{children:"content"})}),$t(k,{header:!0,text:"Item 3",id:a,children:$t(le,{children:"content"})}),$t(k,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as c4,jsx as m4,jsxs as u4}from"react/jsx-runtime";import{Fragment as hN,jsx as Ke,jsxs as Ti}from"react/jsx-runtime";var zd=e=>{let t=T("pb-item"),o=T("pb-item"),a=T("pb-item"),n=T("pb-item"),s=T("pb-child"),l=T("pb-child"),m=T("pb-child"),b=T("pb-child"),N=T("pb-child"),h=T("pb-child"),L=T("pb-child");return Ke(Me,{activeDescendant:o,children:Ti(hN,{children:[Ke(k,{header:!0,text:"Item 1",id:t,children:Ke(le,{children:"content"})}),Ke(k,{header:!0,expanded:!0,text:"Item 2",id:o,ariaSelected:!0,focus:!0,children:Ti(se,{children:[Ke(k,{level:1,text:"Child 1",id:s}),Ke(k,{level:1,expanded:!0,text:"Child 2",id:l,children:Ti(se,{children:[Ke(k,{level:2,text:"Child 2.1",id:m}),Ke(k,{level:2,text:"Child 2.2",id:b})]})}),Ke(k,{level:1,text:"Child 3",id:N,children:Ke(se,{children:Ke(k,{level:2,text:"Child 3.1",id:h})})}),Ke(k,{level:1,text:"Child 4",id:L})]})}),Ke(k,{header:!0,text:"Item 3",id:a,children:Ke(le,{children:"content"})}),Ke(k,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as Gd,jsx as ee,jsxs as Hn}from"react/jsx-runtime";var NN=Me.options,vN=Me.states,Ud={...Me.defaultOptions,variant:"normal"},CN=[{name:"normal",title:"Normal"},{name:"expand",title:"Expanded"}],LN=[{name:"icon",title:"Item icons"},{name:"disabled",title:"Disabled item"}],ua=e=>{let{variant:t,modifiers:o,...a}={...Ud,...e},n={},s={folder:"folder",gear:"gear",file:"file",image:"image"};return Object.keys(o||{}).forEach(l=>{switch(l){case"icon":{n.icon=o?.[l]?s:void 0;break}case"disabled":n.disabled=!!o?.[l]}}),t==="expand"?ee(Gd,{children:Hn(zd,{style:{width:"300px"},...a,children:[ee(k,{icon:n.icon?.gear,header:!0,text:"Item 1",children:ee(le,{children:"content"})}),ee(k,{icon:n.icon?.folder,selected:!0,header:!0,expanded:!0,text:"Item 2",children:Hn(se,{children:[ee(k,{level:1,text:"Child 1"}),ee(k,{level:1,expanded:!0,text:"Child 2",children:Hn(se,{children:[ee(k,{level:2,text:"Child 2.1"}),ee(k,{icon:n.icon?.image,level:2,text:"Child 2.2"})]})}),ee(k,{disabled:n.disabled,level:1,text:"Child 3",children:ee(le,{children:"content"})}),ee(k,{level:1,text:"Child 4"})]})}),ee(k,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:ee(le,{children:"content"})}),ee(k,{icon:n.icon?.file,header:!0,text:"Item 4"})]})}):ee(Gd,{children:Hn(ca,{style:{width:"300px"},...a,children:[ee(k,{icon:n.icon?.gear,header:!0,text:"Item 1",children:ee(le,{children:"content"})}),ee(k,{icon:n.icon?.folder,header:!0,text:"Item 2",children:ee(le,{children:"content"})}),ee(k,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:ee(le,{children:"content"})}),ee(k,{icon:n.icon?.file,header:!0,text:"Item 4"})]})})};ua.options=NN;ua.states=vN;ua.variants=CN;ua.defaultOptions=Ud;ua.modifiers=LN;ua.className=Me.className;import{Fragment as Fd,jsx as C,jsxs as de}from"react/jsx-runtime";var MN=F.options,SN=F.states,gN={...F.defaultOptions,variant:"ask"},IN=[{name:"ask",title:"Ask AI"},{name:"output",title:"Output"},{name:"more",title:"More Actions"}],kN=[{name:"stt",title:"SpeechToText"},{name:"suggestions",title:"Suggestions"}],fa=e=>{let{variant:t,modifiers:o,...a}={...e},n=C(Fd,{children:de(st,{layout:"wrap",children:[C(ft,{text:"Post for work-life balance importance"}),C(ft,{text:"Out of office"})]})}),s={suggestions:n,stt:!0};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"suggestions":s.suggestions=!!o?.[l];break;case"stt":s.stt=!!o?.[l];break}}),t){case"more":return C(U,{className:"k-prompt-popup",children:de(F,{style:{width:"330px",height:"350px"},...a,children:[C(ut,{children:de(_,{className:"k-toolbar-flat",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),C(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),C(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0})]})}),C(Ee,{children:C(Be,{children:de(ca,{children:[C(k,{header:!0,icon:"brush",text:"Change Formality",children:de(se,{children:[C(k,{level:1,text:"Casual"}),C(k,{level:1,text:"Neutral"}),C(k,{level:1,text:"Formal"})]})}),C(k,{header:!0,expanded:!0,icon:"edit-tools",text:"Translate",children:de(se,{children:[C(k,{level:1,text:"German"}),C(k,{level:1,text:"Spanish"})]})}),C(k,{header:!0,icon:"min-width",text:"Simplify"}),C(k,{header:!0,icon:"arrows-left-right",text:"Expand"})]})})})]})});case"output":return C(U,{className:"k-prompt-popup",children:de(F,{style:{width:"330px",height:"350px"},...a,children:[C(ut,{children:de(_,{className:"k-toolbar-flat",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),C(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),C(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),de(Ee,{children:[C(so,{}),C(Be,{children:de("div",{className:"k-card-list",children:[de(Q,{children:[C(Et,{title:"Generated with AI",subtitle:"Linked in post for work/life balance importance"}),C(Oe,{children:de("p",{children:["\u{1F31F} Embracing Work/Life Balance for Success \u{1F31F}",C("br",{}),C("br",{}),"Hello LinkedIn network! \u{1F44B} Today, let's talk about a key to our well-being: work/life balance. \u{1F310}\u2696\uFE0F",C("br",{}),C("br",{}),"In our fast-paced world, balancing professional and personal life is not just a luxury, it's a necessity for health and productivity. \u{1F4C8}\u{1F33F}",C("br",{}),C("br",{}),"\u2728 Key Points \u2728",C("br",{}),C("br",{}),"Enhances Productivity: Less burnout, more motivation. \u{1F680}",C("br",{}),"Boosts Creativity: New experiences = fresh ideas. \u{1F4A1}",C("br",{}),"Improves Health: Mental and physical benefits. \u{1F9D8}\u200D\u2642\uFE0F",C("br",{}),"Strengthens Relationships: Quality time matters. \u{1F91D}",C("br",{}),"Let's champion a culture where success and well-being go hand in hand. Share your work/life balance tips below! \u{1F447}",C("br",{}),C("br",{}),"#WorkLifeBalance #Productivity #WellBeing"]})}),de(G,{className:"k-card-actions",alignment:"start",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),C(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),C("span",{className:"k-spacer"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]}),de(Q,{children:[C(Et,{title:"Generated with AI",subtitle:"Out of Office"}),C(Oe,{children:de("p",{children:["Subject: Out of Office: [Your Name]",C("br",{}),C("br",{}),"Dear [Recipient's Name],",C("br",{}),C("br",{}),"I am currently out of the office until [Return Date] and won't have access to email. For urgent matters, please contact [Colleague's Name] at [Colleague's Email]. I'll respond to your email upon my return.",C("br",{}),C("br",{}),"Thank you,",C("br",{}),"[Your Name]"]})}),de(G,{className:"k-card-actions",alignment:"start",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),C(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),C("span",{className:"k-spacer"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]})]})})]})]})});default:return C(U,{className:"k-prompt-popup",children:de(F,{style:{width:"330px",height:"350px"},...a,children:[C(ut,{children:de(_,{className:"k-toolbar-flat",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),C(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),C(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),C(Ee,{children:de(Be,{children:[C(Y,{resize:"none",rows:2,placeholder:"Ask or generate content with AI",suffixSeparator:!1,suffix:C(Fd,{children:s.stt?C(te,{fillMode:"flat"}):null})}),C(gn,{expanded:s.suggestions,title:"Suggestions",children:n})]})}),C(qo,{children:C(G,{className:"k-prompt-actions",alignment:"start",children:C(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})})}};fa.options=MN;fa.states=SN;fa.variants=IN;fa.defaultOptions=gN;fa.modifiers=kN;fa.className=F.className;import{Fragment as BN,jsx as pt,jsxs as zn}from"react/jsx-runtime";var AN=F.options,TN=F.states,yN={...F.defaultOptions},EN=[{name:"commands",title:"Commands Menu",default:!0},{name:"stt",title:"SpeechToText",default:!0},{name:"response",title:"Response Card"},{name:"generating",title:"Generating"}],ba=e=>{let{modifiers:t,...o}={...e},a={commands:!0,stt:!0};Object.keys(t||{}).forEach(s=>{switch(s){case"commands":a.commands=t?.[s]?!0:void 0;break;case"stt":a.stt=t?.[s]?!0:void 0;break;case"response":a.response=t?.[s]?!0:void 0;break;case"generating":a.generating=t?.[s]?!0:void 0;break;default:return}});let n=zn(Q,{children:[pt(Oe,{style:{maxHeight:"150px",overflowY:"auto"},children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,"}),zn(G,{className:"k-card-actions",alignment:"start",children:[pt(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),pt(R,{fillMode:"flat",themeColor:"primary",icon:"insert-bottom",children:"Insert"}),pt(R,{fillMode:"flat",themeColor:"primary",icon:"check",children:"Replace"}),pt(R,{fillMode:"flat",themeColor:"base",icon:"cancel",children:"Discard"})]})]});return pt(U,{className:"k-prompt-popup",children:pt(F,{style:{width:"450px",height:"auto"},...o,children:pt(Ee,{children:zn(Be,{children:[a.response?n:null,pt(Y,{rows:1,placeholder:"Edit, generate or explain ...",resize:"none",flow:"horizontal",prefixSeparator:a.commands&&a.stt,suffixSeparator:!1,prefix:zn(BN,{children:[a.commands?pt(V,{fillMode:"flat",icon:"menu"}):null,a.stt?pt(te,{fillMode:"flat"}):null]}),suffix:pt(Mt,{generating:!!a.generating})})]})})})})};ba.options=AN;ba.states=TN;ba.variants=[];ba.defaultOptions=yN;ba.modifiers=EN;ba.className=F.className;import{jsx as Ue,jsxs as Xa}from"react/jsx-runtime";var _8=e=>Xa(F,{...e,children:[Ue(ut,{children:Xa(_,{fillMode:"flat",children:[Ue(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),Ue(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),Ue(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0,"aria-label":"More actions"})]})}),Ue(Ee,{children:Ue(Be,{children:Xa(ca,{children:[Ue(k,{header:!0,text:"Command"}),Ue(k,{header:!0,expanded:!0,text:"Command Expanded",children:Xa(se,{children:[Ue(k,{level:1,expanded:!0,text:"Child Expanded",children:Xa(se,{children:[Ue(k,{level:2,text:"Child"}),Ue(k,{level:2,text:"Child"}),Ue(k,{level:2,text:"Child"})]})}),Ue(k,{level:1,text:"Child"})]})}),Ue(k,{header:!0,text:"Command"})]})})})]});export{_8 as PromptMoreActions};
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 A=(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"}),I=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:l,active:m,selected:b,disabled:N,indeterminate:h,loading:L,empty:c,readonly:M,highlighted:v,...g}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":b,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":L,"k-empty":c,"k-readonly":M,"k-highlighted":v},Object.keys(g).reduce((y,E)=>(E.startsWith("k-")?y[E]=g[E]:y[`k-${E}`]=g[E],y),{}))};function Ei(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"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},bt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},x={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"},Oi={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Vn={};function T(e){return Vn[e]=(Vn[e]||0)+1,`k-${e}-${Vn[e]}`}import{Fragment as Jd,jsx as Bi}from"react/jsx-runtime";var $n="k-font-icon",$d=[],Xd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info]},Wd={},xa=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...l}=e;return a?Bi("span",{...l,className:r(e.className,$n,A($n,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Bi(Jd,{})};xa.states=$d;xa.options=Xd;xa.className=$n;xa.defaultOptions=Wd;var Pi=xa;import{Fragment as Qd,jsx as Ja}from"react/jsx-runtime";var Xn="k-svg-icon",qd=[],Yd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[bt.outline,bt.solid,bt.duotone]},Wn={viewBox:"0 0 24 24",variant:bt.outline},ha=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Wn.viewBox,variant:l=Wn.variant,icon:m,...b}=e;if(!m)return Ja(Qd,{});if(m==="none")return Ja("span",{...b,className:r(e.className,Xn,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,h=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return Ja("span",{...b,className:r(e.className,Xn,A("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Ja("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:m?void 0:e.children})})};ha.states=qd;ha.options=Yd;ha.className=Xn;ha.defaultOptions=Wn;var Jn=ha;import*as qn from"@progress/kendo-svg-icons";var Ki="icon",Ri="icons";import{useContext as jd}from"react";import{createContext as Zd}from"react";var wi=Zd({iconsType:"svg"});import{Fragment as _i,jsx as Na}from"react/jsx-runtime";var qa="k-icon",ep=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),tp=[],op={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[bt.outline,bt.solid,bt.duotone]},Ya={viewBox:"0 0 24 24",type:"svg",variant:bt.outline},S=e=>{let{iconsType:t}=jd(wi),{size:o,themeColor:a,icon:n,type:s=t||Ya.type,rotate:l,flip:m,viewBox:b=Ya.viewBox,variant:N=Ya.variant,...h}=e;if(!n)return Na(_i,{});if((t||s)==="svg"){if(n==="none")return Na(Jn,{...h,className:r(e.className,qa),icon:n,size:o,variant:N});let c=qn[n]?n:ep(`${n}-icon`);return qn[c]?Na(Jn,{...h,className:r(e.className,qa),icon:qn[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:b,variant:N}):Na(_i,{})}return Na(Pi,{...h,className:r(e.className,qa),icon:n,size:o,themeColor:a,rotate:l,flip:m})};S.states=tp;S.options=op;S.defaultOptions=Ya;S.className=qa;S.moduleName=Ki;S.folderName=Ri;var Yn="button",Di=Yn;import{Fragment as Hi,jsx as co,jsxs as zi}from"react/jsx-runtime";var va="k-button",ap=["icon-button"],np=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],rp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Qn={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:l=Qn.showArrow,arrowIconName:m=Qn.arrowIconName,variant:b,hover:N,focus:h,active:L,selected:c,disabled:M,togglable:v,ariaDisabled:g,icon:y,iconSize:E,text:K,iconClassName:J,className:pe,...ce}=e,ue=y!=null,fe=e.children!==void 0;return zi(t,{className:r(pe,va,Ei(va,b),A(va,{size:o,rounded:a,fillMode:n,themeColor:s}),I(va,{hover:N,focus:h,active:L,disabled:M||g,selected:c}),{"k-icon-button":!K&&!fe&&ue}),"aria-pressed":v?c?"true":"false":void 0,...ce,"aria-disabled":g?"true":void 0,disabled:M||void 0,children:[typeof y=="string"&&y&&co(S,{className:r(J,"k-button-icon"),icon:y,size:E}),y&&typeof y!="string"&&co(Hi,{children:y}),K?zi(Hi,{children:[K&&co("span",{className:"k-button-text",children:K}),e.children]}):e.children&&co("span",{className:"k-button-text",children:e.children}),l&&co("span",{className:"k-menu-button-arrow k-button-arrow",children:co(S,{icon:m})})]})};p.states=np;p.options=rp;p.variants=ap;p.className=va;p.defaultOptions=Qn;p.moduleName=Yn;p.folderName=Di;import{jsx as ip}from"react/jsx-runtime";var V=e=>ip(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as sp}from"react/jsx-runtime";var R=e=>sp(p,{icon:"folder",children:"Button",...e});import{jsx as lp}from"react/jsx-runtime";var Wt=e=>lp(p,{children:"Button",...e});import{jsx as Zn}from"react/jsx-runtime";var dp=p.options,pp=p.states,mp={...p.defaultOptions,variant:"text"},cp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],up=[],uo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Zn(V,{...o,icon:"star"});case"icon-and-text":return Zn(R,{...o,icon:"star",children:"Button"});default:return Zn(Wt,{...o,children:"Button"})}};uo.options=dp;uo.states=pp;uo.variants=cp;uo.defaultOptions=mp;uo.modifiers=up;uo.className=p.className;var jn="button",Gi=jn;import{jsx as hp}from"react/jsx-runtime";var Ca="k-button-group",fp=[i.disabled],bp={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},xp={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return hp("div",{role:"group",...n,className:r(e.className,Ca,A(Ca,{fillMode:t}),I(Ca,{disabled:o}),{[`${Ca}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=fp;B.options=bp;B.className=Ca;B.defaultOptions=xp;B.moduleName=jn;B.folderName=Gi;import{Fragment as Xv,jsx as $v,jsxs as Wv}from"react/jsx-runtime";import{Fragment as jv,jsx as Zv,jsxs as eC}from"react/jsx-runtime";import{Fragment as iC,jsx as rC,jsxs as sC}from"react/jsx-runtime";import{Fragment as uC,jsx as cC,jsxs as fC}from"react/jsx-runtime";import{Fragment as CC,jsx as vC,jsxs as LC}from"react/jsx-runtime";import{Fragment as AC,jsx as kC,jsxs as TC}from"react/jsx-runtime";import{jsx as St,jsxs as er}from"react/jsx-runtime";var Np={...p.options,...B.options},vp=p.states,Cp={...p.defaultOptions,...B.defaultOptions,variant:"text-button"},Lp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Mp=[],fo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?er(B,{fillMode:a.fillMode,className:o,children:[St(p,{...a,icon:"star"}),St(p,{...a,icon:"star"}),St(p,{...a,icon:"star"})]}):t==="icon-text-button"?er(B,{fillMode:a.fillMode,className:o,children:[St(p,{...a,icon:"star",children:"First"}),St(p,{...a,icon:"star",children:"Middle"}),St(p,{...a,icon:"star",children:"Last"})]}):er(B,{fillMode:a.fillMode,className:o,children:[St(p,{...a,children:"First"}),St(p,{...a,children:"Middle"}),St(p,{...a,children:"Last"})]})};fo.options=Np;fo.states=vp;fo.variants=Lp;fo.defaultOptions=Cp;fo.modifiers=Mp;fo.className=B.className;var La="input",Qa=La;import{jsx as kp}from"react/jsx-runtime";var Za="k-input",Sp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gp={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Ip={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:b,rounded:N,fillMode:h,...L}=e;return kp("span",{...L,className:r(e.className,Za,A(Za,{size:b,rounded:N,fillMode:h}),I(Za,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m}))})};Z.states=Sp;Z.options=gp;Z.className=Za;Z.defaultOptions=Ip;Z.moduleName=La;Z.folderName=Qa;import{jsx as Ep}from"react/jsx-runtime";var ja="k-picker",Ap=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Tp={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},yp={},xt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:b,rounded:N,fillMode:h,...L}=e;return Ep("span",{...L,className:r(e.className,ja,A(ja,{size:b,rounded:N,fillMode:h}),I(ja,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m})),children:e.children})};xt.states=Ap;xt.options=Tp;xt.className=ja;xt.defaultOptions=yp;xt.moduleName=La;xt.folderName=Qa;import{Fragment as Pp,jsx as tr}from"react/jsx-runtime";var Ui="k-clear-value",Op=[i.disabled,i.loading,i.readonly],Bp={},Fe=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?tr(Pp,{}):tr("span",{className:r(e.className,Ui),children:tr(S,{icon:"x"})})};Fe.states=Op;Fe.options=Bp;Fe.className=Ui;import{jsx as wp}from"react/jsx-runtime";var or="k-input-inner",Kp=[],Rp={},en={type:"text",autocomplete:"off",value:"",placeholder:""},Ve=e=>{let{value:t=en.value,type:o=en.type,placeholder:a=en.placeholder,autocomplete:n=en.autocomplete,disabled:s,readOnly:l,...m}=e;return wp("input",{...m,type:o,className:r(e.className,or,A(or,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};Ve.states=Kp;Ve.options=Rp;Ve.className=or;import{jsx as Fi,jsxs as Hp}from"react/jsx-runtime";var ar="k-input-inner",_p=[],Dp={},Jt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...l}=e;return Hp("span",{...l,className:r(e.className,ar,A(ar,e)),children:[n,!n&&s&&Fi(S,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Fi("span",{className:"k-input-value-text",children:t})]})};Jt.states=_p;Jt.options=Dp;Jt.className=ar;import{jsx as Up}from"react/jsx-runtime";var nr="k-input-inner",zp=[],Gp={},Vi={value:"",placeholder:""},Ma=e=>{let{value:t=Vi.value,placeholder:o=Vi.placeholder,rows:a,disabled:n,...s}=e;return Up("textarea",{...s,className:r(e.className,nr,A(nr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ma.states=zp;Ma.options=Gp;Ma.className=nr;import{Fragment as Vp,jsx as $i}from"react/jsx-runtime";var Xi="k-input-loading-icon",Fp=[i.disabled,i.loading],Re=e=>{let{disabled:t,loading:o}=e;return t||!o?$i(Vp,{}):$i("span",{className:r(e.className,Xi,"k-icon k-i-loading")})};Re.states=Fp;Re.className=Xi;import{Fragment as Wp,jsx as Wi}from"react/jsx-runtime";var Ji="k-input-validation-icon",$p=[i.valid,i.invalid,i.disabled,i.loading],Xp={},Se=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Wi(Wp,{}):Wi(S,{className:r(Ji),icon:s})};Se.states=$p;Se.options=Xp;Se.className=Ji;import{Fragment as Yp,jsx as qi}from"react/jsx-runtime";var Jp="k-input-prefix",qp={direction:"horizontal"},we=e=>{let{direction:t=qp.direction,...o}=e;return e.children?qi("span",{...o,className:r(Jp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):qi(Yp,{})};import{Fragment as jp,jsx as Yi}from"react/jsx-runtime";var Qp="k-input-suffix",Zp={direction:"horizontal"},_e=e=>{let{direction:t=Zp.direction,...o}=e;return e.children?Yi("span",{...o,className:r(Qp,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Yi(jp,{})};import{jsx as TL}from"react/jsx-runtime";import{jsx as tm}from"react/jsx-runtime";var em="k-input-suffix-text",rr=e=>{let{children:t,...o}=e;return tm("span",{...o,className:r(em,e.className),children:t})};import{jsx as am}from"react/jsx-runtime";var Qi="k-input-separator",om={direction:"vertical"},ge=e=>{let{direction:t=om.direction,...o}=e;return am("span",{...o,className:r(Qi,e.className,{[`${Qi}-${t}`]:t})})};import{Fragment as Zi,jsx as ht,jsxs as ir}from"react/jsx-runtime";var nm=Z.states,rm=Z.defaultOptions,im=Z.options,sm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],lm=[],bo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:l,...m}=e,b=t?.prefix,N=t?.suffix,h=t?.["clear-button"],L=t?.["validation-icon"],c=t?.separators;return ir(Z,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:l,style:{width:300},children:[b&&ir(Zi,{children:[ht(we,{children:ht(S,{icon:"lock"})}),c&&ht(ge,{})]}),ht(Ve,{placeholder:"Placeholder",value:"Value"}),L&&ht(Se,{valid:o,invalid:a,loading:n,disabled:s}),ht(Re,{loading:n,disabled:s}),h&&ht(Fe,{loading:n,disabled:s,readonly:l,value:"Value"}),N&&ir(Zi,{children:[c&&ht(ge,{}),ht(_e,{children:ht(Wt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};bo.options=im;bo.states=nm;bo.variants=lm;bo.defaultOptions=rm;bo.modifiers=sm;bo.className=Z.className;import{jsx as ji,jsxs as mm}from"react/jsx-runtime";var es="k-color-preview",dm=[],pm={},Bt=e=>{let{color:t,iconName:o,...a}=e;return mm("span",{...a,className:r(e.className,es,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ji(S,{icon:o,className:"k-color-preview-icon"}),ji("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Bt.states=dm;Bt.options=pm;Bt.className=es;var sr="popup",ts=sr;import{jsx as os}from"react/jsx-runtime";var as="k-animation-container",cm=[],um={},lr={positionMode:"absolute",shown:!0},Nt=e=>{let{positionMode:t=lr.positionMode,shown:o=lr.shown,animationStyle:a,offset:n,...s}=e;return os("div",{...s,style:{...n,...e.style},className:r(e.className,as,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:os("div",{className:"k-child-animation-container",style:a,children:e.children})})};Nt.states=cm;Nt.options=um;Nt.className=as;Nt.defaultOptions=lr;Nt.moduleName=sr;Nt.folderName=ts;var dr="popup",ns=dr;import{jsx as rs}from"react/jsx-runtime";var is="k-popup",fm=[],bm={},ss={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=ss.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:l,...m}=e;return rs(Nt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":l,children:rs("div",{...m,className:r(e.className,is),children:e.children})})};U.states=fm;U.options=bm;U.className=is;U.defaultOptions=ss;U.moduleName=dr;U.folderName=ns;var pr="action-buttons",ls=pr;import{jsx as Nm}from"react/jsx-runtime";var tn="k-actions",xm=[],hm={},mr={alignment:"start",orientation:"horizontal"},G=e=>{let{alignment:t=mr.alignment,orientation:o=mr.orientation,...a}=e;return Nm("div",{...a,className:r(tn,{[`${tn}-${t}`]:t,[`${tn}-${o}`]:o},e.className),children:e.children})};G.states=xm;G.options=hm;G.className=tn;G.defaultOptions=mr;G.moduleName=pr;G.folderName=ls;import{jsx as Cm}from"react/jsx-runtime";var vm="k-actionsheet-footer",ds={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=ds.alignment,orientation:o=ds.orientation,template:a,as:n=a?"div":G,...s}=e;return Cm(n,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,vm),children:e.children})};var cr="searchbox",ps=cr;import{jsx as Sa,jsxs as Sm}from"react/jsx-runtime";var ms="k-searchbox",Lm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Mm={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},ur={showIcon:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:b,invalid:N,required:h,loading:L,disabled:c,showIcon:M=ur.showIcon,icon:v=ur.icon,"aria-label":g,...y}=e;return Sm(Z,{...y,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:b,invalid:N,required:h,loading:L,disabled:c,className:r(e.className,ms),children:[M&&Sa(S,{className:"k-input-icon",icon:v}),Sa(Ve,{placeholder:o,value:t,"aria-label":g}),Sa(Re,{...e}),Sa(Se,{...e}),Sa(Fe,{...e})]})};Qe.states=Lm;Qe.options=Mm;Qe.className=ms;Qe.defaultOptions=ur;Qe.moduleName=cr;Qe.folderName=ps;import{jsx as jM}from"react/jsx-runtime";var fr="textbox",cs=fr;import{Fragment as us,jsx as Kt,jsxs as br}from"react/jsx-runtime";var fs="k-textbox",gm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Im={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},on={showClearButton:!0,showValidationIcon:!0,separators:!0},Ne=e=>{let{size:t,rounded:o,fillMode:a,separators:n=on.separators,showClearButton:s=on.showClearButton,showValidationIcon:l=on.showValidationIcon,prefix:m,suffix:b,type:N,value:h,placeholder:L,hover:c,focus:M,valid:v,invalid:g,required:y,loading:E,disabled:K,readonly:J,id:pe,"aria-label":ce,"aria-describedby":ue,...fe}=e;return br(Z,{...fe,size:t,rounded:o,fillMode:a,hover:c,focus:M,valid:v,invalid:g,required:y,loading:E,disabled:K,readonly:J,className:r(e.className,fs),children:[m&&br(us,{children:[Kt(we,{children:m}),n&&Kt(ge,{})]}),Kt(Ve,{id:pe,placeholder:L,value:h,type:N,disabled:K,"aria-label":ce,"aria-describedby":ue,"aria-invalid":g?"true":void 0}),l&&Kt(Se,{valid:v,invalid:g,loading:E,disabled:K}),Kt(Re,{loading:E,disabled:K}),s&&Kt(Fe,{loading:E,disabled:K,readonly:J,value:h}),b&&br(us,{children:[n&&Kt(ge,{}),Kt(_e,{children:b})]})]})};Ne.states=gm;Ne.options=Im;Ne.className=fs;Ne.defaultOptions=on;Ne.moduleName=fr;Ne.folderName=cs;var ga=Ne;import{jsx as km}from"react/jsx-runtime";var bs=e=>km(ga,{...e});import{Fragment as hS,jsx as xS}from"react/jsx-runtime";import{Fragment as SS,jsx as MS}from"react/jsx-runtime";import{jsx as AS}from"react/jsx-runtime";import{jsx as xr}from"react/jsx-runtime";var Am=Ne.states,Tm=Ne.defaultOptions,ym=Ne.options,Em=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Om=[],xo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?xr(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?xr(Wt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),xr(bs,{value:"Value",style:{width:300},...o,...a})};xo.options=ym;xo.states=Am;xo.variants=Om;xo.defaultOptions=Tm;xo.modifiers=Em;xo.className=Ne.className;import{jsx as Rt,jsxs as hr}from"react/jsx-runtime";var xs="k-actionsheet-titlebar",Bm={},Ie=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:l,inputValue:m,inputPlaceholder:b,adaptive:N,titleId:h,children:L,...c}=e;return hr("div",{...c,className:r(e.className,xs),children:[hr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Rt("div",{className:"k-actionsheet-actions",children:a}),!L&&hr("div",{className:"k-actionsheet-title",id:h,children:[t&&Rt("div",{className:"k-text-center",children:t}),o&&Rt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),L&&Rt("div",{className:"k-actionsheet-title",id:h,children:L}),n&&Rt("div",{className:"k-actionsheet-actions",children:n})]}),(l||s)&&Rt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Rt(Ne,{value:m,placeholder:b,size:N?"large":"medium","aria-label":t||b||"Input"}):Rt(Qe,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ie.className=xs;Ie.defaultOptions=Bm;import{jsx as Nr,jsxs as wm}from"react/jsx-runtime";var vr="k-actionsheet-view",Pm=[],Km={},Rm={},ho=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:l,...m}=e,b=n?.type===Ie&&Nr(Ie,{adaptive:t,titleId:l,...n?.props}),N=s?.type===Pt&&Nr(Pt,{...s?.props});return wm("div",{...m,className:r(e.className,vr,{[`${vr}-animated`]:o}),children:[b,Nr("div",{className:"k-actionsheet-content",children:a}),N]})};ho.states=Pm;ho.options=Km;ho.className=vr;ho.defaultOptions=Rm;var Ia="action-sheet",an=Ia;var Cr="overlay",hs=Cr;import{jsx as zm}from"react/jsx-runtime";var Ns="k-overlay",_m=[],Dm={},Hm={},wt=e=>{let{...t}=e;return zm("div",{...t,className:r(e.className,Ns),children:e.children})};wt.states=_m;wt.options=Dm;wt.className=Ns;wt.defaultOptions=Hm;wt.moduleName=Cr;wt.folderName=hs;import{jsx as nn,jsxs as Fm}from"react/jsx-runtime";var vs="k-actionsheet",Gm=[],Um={},ka={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=ka.side,fullscreen:o=ka.fullscreen,adaptive:a=ka.adaptive,overlay:n=ka.overlay,template:s,children:l,header:m,footer:b,id:N,...h}=e,L=N&&!s&&m?`${N}-title`:void 0;return Fm("div",{className:"k-actionsheet-container",children:[n&&nn(wt,{}),nn(Nt,{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:nn("div",{...h,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":L,className:r(e.className,vs,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||nn(ho,{header:m,footer:b,adaptive:a,titleId:L,...e,children:l})})})]})};oe.states=Gm;oe.options=Um;oe.className=vs;oe.defaultOptions=ka;oe.moduleName=Ia;oe.folderName=an;import{jsx as Wm}from"react/jsx-runtime";var Cs="k-actionsheet-container",Vm=[],$m={},Xm={},No=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:Cs,children:t})};No.states=Vm;No.options=$m;No.className=Cs;No.defaultOptions=Xm;No.moduleName=Ia;No.folderName=an;import{jsx as Jm}from"react/jsx-runtime";var Lr=e=>{let{...t}=e;return Jm("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ym,jsx as Aa,jsxs as Mr}from"react/jsx-runtime";var Sr="k-actionsheet-item",qm=[i.hover,i.focus,i.selected,i.disabled],_t=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:l,disabled:m,...b}=e;return Mr("span",{...b,className:r(e.className,Sr,I(Sr,{hover:n,focus:s,selected:l,disabled:m})),children:[!e.children&&Aa(Ym,{children:Mr("span",{className:"k-actionsheet-action",children:[t&&Aa("span",{className:"k-icon-wrap",children:Aa(S,{className:"k-actionsheet-item-icon",icon:t})}),Mr("span",{className:"k-actionsheet-item-text",children:[o&&Aa("span",{className:"k-actionsheet-item-title",children:o}),a&&Aa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};_t.states=qm;_t.className=Sr;import{jsx as kg,jsxs as Ag}from"react/jsx-runtime";import{jsx as Og}from"react/jsx-runtime";import{jsx as Rg}from"react/jsx-runtime";import{jsx as Hg}from"react/jsx-runtime";import{jsx as be,jsxs as gr}from"react/jsx-runtime";var Qm=oe.options,Zm=oe.states,Ms={...oe.defaultOptions,variant:"normal"},jm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ec=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],vo=e=>{let{variant:t,modifiers:o,...a}={...Ms,...e},n={},s=gr(Lr,{children:[be(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),be(_t,{text:"Add to Favorites",iconName:"heart"}),be(_t,{text:"Upload New",iconName:"upload",disabled:!0}),be("hr",{className:"k-hr"}),be(_t,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(b=>{switch(b){case"actions":n.actionsStart=!!o?.[b],n.actionsEnd=!!o?.[b];break;case"subtitle":n.subtitle=o?.[b]?l:void 0;break;case"footer":n.footer=!!o?.[b];break;default:break}}),t==="adaptive"?be(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:be(Ie,{actionsStart:n.actionsStart?be(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?be(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?gr(Pt,{alignment:"stretched",children:[be(p,{text:"Cancel",size:"large",themeColor:"base"}),be(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):be(oe,{...a,fullscreen:n.fullScreen,header:be(Ie,{actionsStart:n.actionsStart?be(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?be(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?gr(Pt,{alignment:"stretched",children:[be(p,{text:"Apply",themeColor:"primary"}),be(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};vo.options=Qm;vo.states=Zm;vo.variants=jm;vo.defaultOptions=Ms;vo.modifiers=ec;vo.className=oe.className;var Ir="slider",Ss=Ir;import{jsx as Co,jsxs as kr}from"react/jsx-runtime";var Ta="k-slider",tc=[i.hover,i.focus,i.active,i.disabled,i.readonly],oc={},Ze={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},q=e=>{let{type:t=Ze.type,orientation:o=Ze.orientation,gradientType:a=Ze.gradientType,readonly:n=Ze.readonly,disabled:s=Ze.disabled,handlePosition:l=Ze.handlePosition,showButtons:m=Ze.showButtons,showTicks:b=Ze.showTicks,value:N=Ze.value,min:h=Ze.min,max:L=Ze.max,startValue:c,endValue:M,hover:v,focus:g,active:y,trackStyle:E,dir:K,...J}=e,ce=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ue,fe;return o==="horizontal"?(ue=K==="rtl"?"chevron-left":"chevron-right",fe=K==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ue="chevron-up",fe="chevron-down"),kr("div",{...J,className:r(Ta,e.className,I(Ta,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:K,children:[m&&Co(p,{className:"k-button-decrease",rounded:"full",icon:fe,tabIndex:-1,title:"Decrease"}),kr("div",{className:"k-slider-track-wrap",children:[b&&Co("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),kr("div",{className:"k-slider-track",style:E,children:[Co("div",{className:"k-slider-selection"}),t==="range"&&Co("span",{className:r("k-draghandle","k-draghandle-start",I(Ta,{hover:v,focus:g,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??h,"aria-valuemin":h,"aria-valuemax":M??L,"aria-orientation":ce,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":J["aria-label"]?`${J["aria-label"]} start`:"Range start"}),Co("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(Ta,{hover:v,focus:g,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?M??L:N,"aria-valuemin":t==="range"?c??h:h,"aria-valuemax":L,"aria-orientation":ce,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?J["aria-label"]?`${J["aria-label"]} end`:"Range end":J["aria-label"]})]})]}),m&&Co(p,{className:"k-button-increase",rounded:"full",icon:ue,tabIndex:-1,title:"Increase"})]})};q.states=tc;q.options=oc;q.className=Ta;q.defaultOptions=Ze;q.moduleName=Ir;q.folderName=Ss;import{jsx as gs}from"react/jsx-runtime";var Is="k-tick",ac=[],nc={},ks={label:!1},O=e=>{let{style:t,label:o=ks.label,orientation:a,large:n,text:s,...l}=e;return gs("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,Is,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&gs("span",{className:"k-label",children:s})})};O.states=ac;O.options=nc;O.className=Is;O.defaultOptions=ks;import{Fragment as rc,jsx as je,jsxs as ic}from"react/jsx-runtime";var As=e=>je(q,{"aria-label":e["aria-label"]||"Slider",children:ic(rc,{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 sc,jsx as et,jsxs as lc}from"react/jsx-runtime";var Ts=e=>et(q,{children:lc(sc,{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 AI,jsx as kI,jsxs as TI}from"react/jsx-runtime";import{Fragment as PI,jsx as BI,jsxs as KI}from"react/jsx-runtime";import{jsx as dc}from"react/jsx-runtime";var Ar=e=>dc(q,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pc}from"react/jsx-runtime";var Tr=e=>pc(q,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as $I,jsx as VI,jsxs as XI}from"react/jsx-runtime";import{Fragment as QI,jsx as YI,jsxs as ZI}from"react/jsx-runtime";import{jsx as vt,jsxs as ys}from"react/jsx-runtime";var mc=q.options,cc=q.states,Es={...q.defaultOptions,variant:"horizontal",label:!0},uc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Lo=e=>{let{variant:t,modifiers:o,...a}=e,n=Es.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?ys(Ts,{style:{height:"300px",...l},...a,...s,children:[vt(O,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),vt(O,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),vt(O,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),vt(O,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),vt(O,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):ys(As,{style:{width:"400px",...l},...a,...s,children:[vt(O,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),vt(O,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),vt(O,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),vt(O,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),vt(O,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Lo.options=mc;Lo.states=cc;Lo.variants=uc;Lo.defaultOptions=Es;Lo.modifiers=fc;Lo.className=q.className;import{jsx as Os,jsxs as vc}from"react/jsx-runtime";var Bs="k-spin-button",hc=[],Nc={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},yr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=yr.increaseLabel,decreaseLabel:s=yr.decreaseLabel,...l}=e;return vc("span",{...l,className:r(Bs,e.className),children:[Os(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Os(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Dt.states=hc;Dt.options=Nc;Dt.className=Bs;Dt.defaultOptions=yr;Dt.moduleName=null;Dt.folderName=null;var Ps="numeric-textbox",Ks="numerictextbox";import{Fragment as Rs,jsx as gt,jsxs as Er}from"react/jsx-runtime";var ws="k-numerictextbox",Cc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Lc={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},rn={showSpinButton:!0,showClearButton:!0,separators:!0},$=e=>{let{size:t,rounded:o,fillMode:a,separators:n=rn.separators,showClearButton:s=rn.showClearButton,showSpinButton:l=rn.showSpinButton,prefix:m,suffix:b,value:N,placeholder:h,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,id:J,"aria-label":pe,"aria-describedby":ce,...ue}=e;return Er(Z,{...ue,size:t,rounded:o,fillMode:a,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,className:r(e.className,ws),children:[m&&Er(Rs,{children:[gt(we,{children:m}),n&&gt(ge,{})]}),gt(Ve,{id:J,placeholder:h,value:N,role:"spinbutton",disabled:E,"aria-label":pe,"aria-describedby":ce,"aria-invalid":v?"true":void 0}),gt(Se,{valid:M,invalid:v,loading:y,disabled:E}),gt(Re,{loading:y,disabled:E}),s&&gt(Fe,{loading:y,disabled:E,readonly:K,value:N}),b&&Er(Rs,{children:[n&&gt(ge,{}),gt(_e,{children:b})]}),l&&gt(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};$.states=Cc;$.options=Lc;$.className=ws;$.defaultOptions=rn;$.moduleName=Ps;$.folderName=Ks;var ya=$;import{jsx as Mc}from"react/jsx-runtime";var _s=e=>Mc(ya,{...e});import Br from"react";import{jsx as Ds}from"react/jsx-runtime";var Sc="k-list-group-sticky-header",Or=e=>Ds("div",{className:r(Sc,e.className),children:Ds("div",{className:"k-list-header-text",children:e.children})});import{jsx as Ic}from"react/jsx-runtime";var gc="k-no-data",sn=e=>{let{live:t,...o}=e;return Ic("span",{...o,className:r(gc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var qt="list",Mo=qt;import{jsx as Hs,jsxs as zs}from"react/jsx-runtime";var Pr="k-list",kc=[],Ac={size:[d.undefined,d.small,d.medium,d.large]},Tc={},D=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:l,customValue:m,noData:b,screenReaders:N,...h}=e,c=Br.Children.toArray(a)[0],M=c?.props?.children?Br.Children.count(c.props.children):Br.Children.count(a);return zs("div",{...h,className:r(e.className,Pr,A(Pr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,n&&Hs(Or,{children:n}),a||(b!==void 0?b:Hs(sn,{live:!0,children:"No data found."})),N&&a&&zs(sn,{className:"k-sr-only",live:!0,children:[M," items found."]})]})};D.states=kc;D.options=Ac;D.className=Pr;D.defaultOptions=Tc;D.moduleName=qt;D.folderName=Mo;import{jsx as Bc}from"react/jsx-runtime";var Gs="k-list-container",yc=[],Ec={},Oc={},So=e=>{let{...t}=e;return Bc("div",{...t,className:r(e.className,Gs),children:e.children})};So.states=yc;So.options=Ec;So.className=Gs;So.defaultOptions=Oc;So.moduleName=qt;So.folderName=Mo;var Yt="checkbox",go=Yt;import{jsx as Us}from"react/jsx-runtime";var ln="k-checkbox",Pc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Kc={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Rc={},$e=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:l,invalid:m,valid:b,required:N,size:h,rounded:L,wrapperRole:c,...M}=e;return Us("span",{className:"k-checkbox-wrap",role:c,children:Us("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,ln,A(ln,{size:h,rounded:L}),I(ln,{hover:n,focus:s,disabled:l,invalid:m,valid:b,indeterminate:a,checked:o}))})})};$e.states=Pc;$e.options=Kc;$e.className=ln;$e.defaultOptions=Rc;$e.moduleName=Yt;$e.folderName=go;var mt=$e;import{jsx as Dc}from"react/jsx-runtime";var Fs="k-checkbox-list",wc=[],_c={},Vs={layout:"vertical"},ke=e=>{let{layout:t=Vs.layout,...o}=e;return Dc("ul",{...o,className:r(e.className,Fs,{[`k-list-${t}`]:t}),children:e.children})};ke.states=wc;ke.options=_c;ke.className=Fs;ke.defaultOptions=Vs;ke.moduleName=Yt;ke.folderName=go;import{jsx as Uc}from"react/jsx-runtime";var $s="k-checkbox-list-item",Hc=[],zc={},Gc={},Ae=e=>{let{...t}=e;return Uc("li",{...t,className:r(e.className,$s),children:e.children})};Ae.states=Hc;Ae.options=zc;Ae.className=$s;Ae.defaultOptions=Gc;Ae.moduleName=Yt;Ae.folderName=go;import{Fragment as Fc,jsx as Xs,jsxs as Vc}from"react/jsx-runtime";var It=({children:e="Label",id:t="cb-label-after",...o})=>Vc(Fc,{children:[Xs(mt,{id:t,...o}),Xs("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as MA,jsx as LA,jsxs as SA}from"react/jsx-runtime";import{Fragment as TA,jsx as AA,jsxs as yA}from"react/jsx-runtime";import{Fragment as KA,jsx as PA,jsxs as RA}from"react/jsx-runtime";import{jsx as HA}from"react/jsx-runtime";import{jsx as FA}from"react/jsx-runtime";import{jsx as WA}from"react/jsx-runtime";import{jsx as tt,jsxs as Ws}from"react/jsx-runtime";var $c=ke.options,Xc=ke.states,Wc={...ke.defaultOptions,variant:"vertical"},Jc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qc=[],Io=e=>{let{variant:t,...o}=e;return t==="horizontal"?Ws(ke,{layout:"horizontal",...o,children:[tt(Ae,{children:tt(It,{id:T("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(It,{id:T("cb"),children:"Label"})}),tt(Ae,{children:tt(It,{id:T("cb"),children:"Label"})})]}):Ws(ke,{...o,children:[tt(Ae,{children:tt(It,{id:T("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(It,{id:T("cb"),children:"Label"})}),tt(Ae,{children:tt(It,{id:T("cb"),children:"Label"})})]})};Io.options=$c;Io.states=Xc;Io.variants=Jc;Io.defaultOptions=Wc;Io.modifiers=qc;Io.className=ke.className;import{jsx as tu}from"react/jsx-runtime";var Yc=mt.options,Qc=mt.states,Zc=mt.defaultOptions,jc=[],eu=[],ko=e=>tu(It,{id:T("checkbox"),...e,defaultChecked:!0,children:"Label"});ko.options=Yc;ko.states=Qc;ko.variants=jc;ko.defaultOptions=Zc;ko.modifiers=eu;ko.className=mt.className;import{jsx as Ao,jsxs as ru}from"react/jsx-runtime";var Kr="k-list-item",ou=[i.hover,i.focus,i.selected,i.disabled],au={},nu={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:s,hover:l,focus:m,selected:b,disabled:N,actions:h,description:L,id:c,...M}=e,v=t||e.children,g=t||(typeof v=="string"?v:void 0);return ru("li",{...M,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":b?"true":"false","aria-disabled":N?"true":void 0,className:r(e.className,Kr,I(Kr,{hover:l,focus:m,disabled:N,selected:b})),children:[n&&Ao($e,{checked:s,disabled:N,"aria-label":g,tabIndex:-1}),o&&Ao("span",{className:"k-list-item-icon-wrapper",children:Ao(S,{icon:o,className:r("k-list-item-icon",a)})}),Ao("span",{className:"k-list-item-text",children:v}),h&&Ao("div",{className:"k-list-item-actions",children:h}),L&&Ao("span",{className:"k-list-item-description",children:L})]})};P.states=ou;P.options=au;P.className=Kr;P.defaultOptions=nu;P.moduleName=qt;P.folderName=Mo;import{jsx as su}from"react/jsx-runtime";var iu="k-list-ul",Ht=e=>{let{children:t,role:o,id:a,...n}=e;return su("ul",{...n,id:a,role:o,className:r(iu,e.className),children:t})};import{jsx as Rr,jsxs as du}from"react/jsx-runtime";var lu="k-list-content",X=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...l}=e;return du("div",{...l,className:r(lu,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:Rr(Ht,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&Rr("div",{className:"k-height-container",children:Rr("div",{})})]})};import{jsx as wr,jsxs as uu}from"react/jsx-runtime";var dn="k-list-sticky-header",pu=[i.hover,i.focus,i.selected],mu={},cu={},pn=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:l,selected:m,...b}=e;return wr("div",{...b,className:r(dn,e.className),children:uu("div",{className:r(`${dn}-item`,I(`${dn}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&wr($e,{checked:a,indeterminate:n,"aria-label":t}),wr("span",{className:"k-list-item-text",children:t})]})})};pn.states=pu;pn.options=mu;pn.className=dn;pn.defaultOptions=cu;import{Fragment as GT,jsx as zT,jsxs as UT}from"react/jsx-runtime";import{jsx as WT,jsxs as JT}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";var _r="k-list-optionlabel",fu=[i.hover,i.focus,i.selected,i.disabled],bu={},xu={},mn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return hu("div",{...l,className:r(_r,I(_r,{hover:o,focus:a,selected:n,disabled:s})),children:t})};mn.states=fu;mn.options=bu;mn.className=_r;mn.defaultOptions=xu;import{jsx as Lu}from"react/jsx-runtime";var Dr="k-list-custom-value",Nu=[i.hover,i.focus,i.selected,i.disabled],vu={},Cu={},zt=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return Lu("div",{...l,className:r(Dr,I(Dr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};zt.states=Nu;zt.options=vu;zt.className=Dr;zt.defaultOptions=Cu;import{Fragment as iy,jsx as ry,jsxs as sy}from"react/jsx-runtime";import{Fragment as uy,jsx as cy,jsxs as fy}from"react/jsx-runtime";import{Fragment as Ly,jsx as vy,jsxs as Cy}from"react/jsx-runtime";import{Fragment as Ty,jsx as ky,jsxs as Ay}from"react/jsx-runtime";import{jsx as By}from"react/jsx-runtime";import{Fragment as Dy,jsx as _y,jsxs as Hy}from"react/jsx-runtime";import{Fragment as $y,jsx as Vy,jsxs as Xy}from"react/jsx-runtime";var Js="dropdown-list",qs="dropdownlist";import{Fragment as gu,jsx as Te,jsxs as Hr}from"react/jsx-runtime";var Ys="k-dropdownlist",Mu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Su={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},zr={showValue:!0,arrowIconName:"chevron-down"},me=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=zr.arrowIconName,showValue:s=zr.showValue,valueIconName:l,prefix:m,suffix:b,value:N,placeholder:h,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,popup:J,opened:pe,adaptive:ce,adaptiveSettings:ue,adaptiveTitle:fe,adaptiveSubtitle:Xt,adaptiveFilter:Gn,id:Ot,activeDescendant:Wa,"aria-label":Un,...Fn}=e,Vd=Ot?`${Ot}-listbox`:void 0,yi=Ot?`${Ot}-value`:void 0;return Hr(gu,{children:[Hr(xt,{...Fn,id:Ot,size:t,rounded:o,fillMode:a,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,className:r(e.className,Ys,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":pe?"true":"false","aria-controls":pe?Vd:void 0,"aria-activedescendant":pe&&Wa?Wa:void 0,"aria-describedby":pe?yi:void 0,"aria-disabled":E?"true":void 0,"aria-label":Un,tabIndex:0,children:[Te(we,{children:m}),Te(Jt,{placeholder:h,value:N,showValue:s,valueIconName:l,id:yi}),Te(Se,{valid:M,invalid:v,loading:y,disabled:E}),Te(Re,{loading:y,disabled:E}),Te(_e,{children:b}),Te(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),pe&&J&&Te(U,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:J}),ce&&Te(oe,{adaptive:!0,...ue,header:Te(Ie,{actionsEnd:Te(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Gn,inputValue:N,inputPlaceholder:h,title:fe,subtitle:Xt}),children:Te("div",{className:"k-list-container",children:Te(D,{size:"large",children:Hr(X,{"aria-label":"Options",children:[Te(P,{text:"List item"}),Te(P,{text:"List item"}),Te(P,{text:"List item"})]})})})})]})};me.states=Mu;me.options=Su;me.className=Ys;me.defaultOptions=zr;me.moduleName=Js;me.folderName=qs;import{jsx as AE}from"react/jsx-runtime";import{jsx as PE,jsxs as KE}from"react/jsx-runtime";import{Fragment as FE,jsx as GE,jsxs as UE}from"react/jsx-runtime";import{jsx as JE}from"react/jsx-runtime";import{jsx as eO,jsxs as tO}from"react/jsx-runtime";import{Fragment as pO,jsx as lO,jsxs as dO}from"react/jsx-runtime";import{jsx as bO}from"react/jsx-runtime";import{Fragment as Eu,jsx as Gt,jsxs as Qs}from"react/jsx-runtime";var Iu=me.states,ku=me.defaultOptions,Au=me.options,Tu=[{name:"opened",title:"Opened"}],yu=[],yo=e=>{let{modifiers:t,...o}=e,a={},n=Qs(Eu,{children:[Gt("div",{className:"k-list-filter",children:Gt(Qe,{})}),Gt(D,{style:{width:300},size:o.size,children:Qs(X,{children:[Gt(P,{children:"List item"}),Gt(P,{children:"List item"}),Gt(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),Gt("div",{children:Gt(me,{placeholder:"Value",style:{width:300},...o,...a})})};yo.options=Au;yo.states=Iu;yo.variants=yu;yo.defaultOptions=ku;yo.modifiers=Tu;yo.className=me.className;import{Fragment as _O,jsx as wO}from"react/jsx-runtime";import{Fragment as FO,jsx as UO}from"react/jsx-runtime";import{jsx as WO}from"react/jsx-runtime";import{jsx as Gr}from"react/jsx-runtime";var Ou=$.states,Bu=$.defaultOptions,Pu=$.options,Ku=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Ru=[],Eo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Gr(me,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Gr(rr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),Gr(_s,{value:"Value",style:{width:300},...o,...a})};Eo.options=Pu;Eo.states=Ou;Eo.variants=Ru;Eo.defaultOptions=Bu;Eo.modifiers=Ku;Eo.className=$.className;import{Fragment as Oa,jsx as w,jsxs as ae}from"react/jsx-runtime";var Zs="k-colorgradient-inputs",wu=[],_u={size:[d.undefined,d.small,d.medium,d.large]},js={mode:"rgba"},Oo=e=>{let{mode:t=js.mode,size:o,...a}=e;return ae("div",{...a,className:r(Zs,"k-hstack"),children:[w("div",{className:"k-vstack",children:w(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ae(Oa,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ae(Oa,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ae(Oa,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ae(Oa,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&w(Oa,{children:ae("div",{className:"k-vstack k-flex-1",children:[w(Ne,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),w("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Oo.states=wu;Oo.options=_u;Oo.className=Zs;Oo.defaultOptions=js;import{jsx as Qt,jsxs as Zt}from"react/jsx-runtime";var el="k-colorgradient-color-contrast",Du=[],Hu={},zu={},Bo=()=>Zt("div",{className:r(el,"k-vbox"),children:[Zt("div",{className:"k-contrast-ratio",children:[Qt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Zt("span",{className:"k-contrast-validation !k-text-success",children:[Qt(S,{icon:"check"}),Qt(S,{icon:"check"})]})]}),Zt("div",{children:[Qt("span",{children:"AA: 4.5"}),Zt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Qt(S,{icon:"check"})]})]}),Zt("div",{children:[Qt("span",{children:"AAA: 7.0"}),Zt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Qt(S,{icon:"x"})]})]})]});Bo.states=Du;Bo.options=Hu;Bo.className=el;Bo.defaultOptions=zu;var tl="color-gradient",ol="colorgradient";import{jsx as ot,jsxs as Ba}from"react/jsx-runtime";var cn="k-colorgradient",Gu=[i.hover,i.focus,i.readonly,i.disabled],Uu={size:[d.undefined,d.small,d.medium,d.large]},Ct={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"},xe=e=>{let{size:t,mode:o=Ct.mode,readonly:a=Ct.readonly,disabled:n=Ct.disabled,gradientStyle:s=Ct.gradientStyle,dragHandleStyle:l=Ct.dragHandleStyle,alphaStyle:m=Ct.alphaStyle,alphaStyleHorizontal:b=Ct.alphaStyleHorizontal,contrast:N=Ct.contrast,dir:h,hover:L,focus:c,hoverHandle:M,focusHandle:v,canvasOrientation:g=Ct.canvasOrientation,role:y,tabIndex:E,...K}=e;return Ba("div",{...K,role:y??"textbox","aria-label":y==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":n?"true":void 0,className:r(e.className,cn,A(cn,{size:t}),I(cn,{hover:L,focus:c,readonly:a,disabled:n})),dir:h,children:[!g||g==="horizontal"&&Ba("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":M,"k-focus":v}),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})})}),Ba("div",{className:"k-hsv-controls k-hstack",children:[ot(Tr,{className:"k-hue-slider",hover:M,focus:v}),o!=="rgb"&&o!=="hsv"&&ot(Tr,{className:"k-alpha-slider",hover:M,focus:v,trackStyle:m})]})]}),g==="vertical"&&Ba("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":M,"k-focus":v}),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})})}),Ba("div",{className:"k-hsv-controls k-vstack",children:[ot(Ar,{className:"k-hue-slider",hover:M,focus:v}),o!=="rgb"&&o!=="hsv"&&ot(Ar,{className:"k-alpha-slider",hover:M,focus:v,trackStyle:b})]})]}),ot(Oo,{mode:e.mode,size:t}),N&&ot(Bo,{})]})};xe.states=Gu;xe.options=Uu;xe.className=cn;xe.defaultOptions=Ct;xe.moduleName=tl;xe.folderName=ol;import{jsx as Fu}from"react/jsx-runtime";var un=e=>Fu(xe,{...e});import{jsx as BB}from"react/jsx-runtime";import{jsx as wB}from"react/jsx-runtime";import{jsx as Ur}from"react/jsx-runtime";var Vu=xe.options,$u=xe.states,Xu={...xe.defaultOptions,variant:"rgba"},Wu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Ju=[],Po=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Ur(un,{...o,mode:t});case"rgb":return Ur(un,{...o,mode:t});default:return Ur(un,{...o,mode:t})}};Po.options=Vu;Po.states=$u;Po.variants=Wu;Po.defaultOptions=Xu;Po.modifiers=Ju;Po.className=xe.className;import{jsx as qu}from"react/jsx-runtime";var Fr=e=>qu("tr",{role:"row",children:e.children});import{jsx as Zu}from"react/jsx-runtime";var Vr="k-colorpalette-tile",Yu=[i.hover,i.focus,i.selected],Qu={},Ut=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Zu("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,Vr,I(Vr,{hover:a,focus:n,selected:s})),style:m})};Ut.states=Yu;Ut.options=Qu;Ut.className=Vr;Ut.moduleName=null;Ut.folderName=null;var al="color-palette",nl="colorpalette";import{jsx as Pa}from"react/jsx-runtime";var fn="k-colorpalette",ju=[i.disabled],ef={size:[d.undefined,d.small,d.medium,d.large]},rl={columns:10},De=e=>{let{size:t,palette:o,columns:a=rl.columns,tileSize:n,disabled:s,...l}=e,m=[];if(o){let b=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/b)},(h,L)=>{let c=[];N.slice(L*b,(L+1)*b).map((v,g)=>{c.push(Pa(Ut,{color:v,tileSize:n},g))});let M=Pa(Fr,{children:c},L);m.push(M)})}return Pa("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,fn,I(fn,{disabled:s}),A(fn,{size:t})),children:Pa("table",{className:"k-colorpalette-table",role:"none",children:Pa("tbody",{children:m.length>0?m:e.children})})})};De.states=ju;De.options=ef;De.className=fn;De.defaultOptions=rl;De.moduleName=al;De.folderName=nl;var bn=De;var Ka={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 tf}from"react/jsx-runtime";var il=e=>tf(bn,{palette:Ka.basic,...e});import{jsx as hP}from"react/jsx-runtime";import{jsx as SP,jsxs as gP}from"react/jsx-runtime";import{jsx as df}from"react/jsx-runtime";var of=De.options,af=De.states,nf={...De.defaultOptions,variant:"basic"},rf=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sf={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}},lf=[],Ko=e=>{let{variant:t="basic",...o}=e,a=sf[t];return df(il,{columns:a.columns,palette:a,...o})};Ko.options=of;Ko.states=af;Ko.variants=rf;Ko.defaultOptions=nf;Ko.modifiers=lf;Ko.className=De.className;var sl="color-editor",ll="coloreditor";import{jsx as at,jsxs as Ro}from"react/jsx-runtime";var xn="k-coloreditor",pf=[i.focus],mf={size:[d.undefined,d.small,d.medium,d.large]},Ra={view:"gradient",palette:Ka.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=Ra.view,palette:a=Ra.palette,color:n,currentColor:s,focus:l,focusView:m,dir:b,group:N,actionButtons:h=Ra.actionButtons,canvasOrientation:L=Ra.canvasOrientation,...c}=e;return Ro("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",xn,A(xn,{size:t}),I(xn,{focus:l})),dir:b,children:[Ro("div",{className:"k-coloreditor-header k-hstack",children:[at("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Ro(B,{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"}),Ro("div",{className:"k-coloreditor-header-actions k-hstack",children:[at(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Ro("div",{className:"k-coloreditor-preview k-vstack",children:[at(Bt,{className:"k-coloreditor-preview-color",color:n}),at(Bt,{className:"k-coloreditor-current-color",color:s})]})]})]}),at("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?at(xe,{focus:m,size:t,canvasOrientation:L,role:"none",tabIndex:-1}):at(De,{palette:a,size:t})}),h&&Ro(G,{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"})]})]})};ne.states=pf;ne.options=mf;ne.className=xn;ne.defaultOptions=Ra;ne.moduleName=sl;ne.folderName=ll;var wo=ne;import{jsx as jP}from"react/jsx-runtime";import{jsx as aK}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var dl=e=>cf(wo,{group:!0,currentColor:"fuchsia",...e});import{jsx as uf}from"react/jsx-runtime";var pl=e=>uf(wo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as ml}from"react/jsx-runtime";var ff=ne.options,bf=ne.states,xf={...ne.defaultOptions,variant:"gradient"},hf=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Nf=[],_o=e=>{let{variant:t,...o}=e;return t==="palette"?ml(pl,{...o,color:"white"}):ml(dl,{...o,color:"rgba(183, 118 , 118, 1.00)"})};_o.options=ff;_o.states=bf;_o.variants=hf;_o.defaultOptions=xf;_o.modifiers=Nf;_o.className=ne.className;var cl="color-picker",ul="colorpicker";import{Fragment as Lf,jsx as nt,jsxs as $r}from"react/jsx-runtime";var fl="k-colorpicker",vf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Cf={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},bl={arrowIconName:"chevron-down"},rt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=bl.arrowIconName,prefix:s,suffix:l,value:m,placeholder:b,hover:N,focus:h,valid:L,invalid:c,required:M,disabled:v,valueIconName:g,popup:y,opened:E,adaptive:K,adaptiveSettings:J,adaptiveTitle:pe,adaptiveSubtitle:ce,...ue}=e,fe="colorpicker-popup";return $r(Lf,{children:[$r(xt,{...ue,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:L,invalid:c,required:M,disabled:v,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||K?fe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":v?"true":void 0,className:r(e.className,fl,"k-icon-picker"),children:[nt(we,{children:s}),nt(Jt,{placeholder:b,value:m,showValue:!1,valueIcon:nt(Bt,{className:"k-value-icon",color:m,iconName:g}),valueIconName:g}),nt(_e,{children:l}),nt(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:v})]}),E&&y&&nt(U,{id:fe,className:"k-colorpicker-popup",children:y}),K&&nt(oe,{adaptive:!0,id:fe,...J,header:nt(Ie,{actionsEnd:nt(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:pe,subtitle:ce}),footer:$r(Pt,{children:[nt(p,{text:"Cancel",size:"large"}),nt(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:nt(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};rt.states=vf;rt.options=Cf;rt.className=fl;rt.defaultOptions=bl;rt.moduleName=cl;rt.folderName=ul;var kt=rt;import{jsx as Mf}from"react/jsx-runtime";var hn=e=>Mf(kt,{...e});import{jsx as zK}from"react/jsx-runtime";import{jsx as $K}from"react/jsx-runtime";import{jsx as qK}from"react/jsx-runtime";import{jsx as jK}from"react/jsx-runtime";import{jsx as aR}from"react/jsx-runtime";import{jsx as sR}from"react/jsx-runtime";import{jsx as jt}from"react/jsx-runtime";var Sf=kt.options,gf=kt.states,xl={...kt.defaultOptions,variant:"color"},If=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],kf=[{name:"opened",title:"Opened"}],Do=e=>{let{variant:t,modifiers:o,...a}={...xl,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?jt(ne,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return jt("div",{style:s,children:jt(hn,{...a,...n})});case"icon":return jt("div",{style:s,children:jt(hn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return jt("div",{style:s,children:jt(hn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Do.options=Sf;Do.states=gf;Do.variants=If;Do.defaultOptions=xl;Do.modifiers=kf;Do.className=kt.className;var Xr="combobox",hl=Xr;import{Fragment as Wr,jsx as ie,jsxs as wa}from"react/jsx-runtime";var Nl="k-combobox",Af=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Tf={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},vl={separators:!0},ye=e=>{let{size:t,rounded:o,fillMode:a,separators:n=vl.separators,prefix:s,suffix:l,value:m,placeholder:b,hover:N,focus:h,valid:L,invalid:c,required:M,loading:v,disabled:g,popup:y,opened:E,readonly:K,adaptive:J,adaptiveSettings:pe,adaptiveTitle:ce,adaptiveSubtitle:ue,adaptiveCustomValue:fe,id:Xt,autocomplete:Gn,activeDescendant:Ot,"aria-label":Wa,...Un}=e,Fn=Xt?`${Xt}-listbox`:void 0;return wa(Wr,{children:[wa(Z,{...Un,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:L,invalid:c,required:M,loading:v,disabled:g,readonly:K,className:r(e.className,Nl),children:[s&&wa(Wr,{children:[ie(we,{children:s}),n&&ie(ge,{})]}),ie(Ve,{id:Xt,placeholder:b,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":E?"true":"false","aria-controls":E?Fn:void 0,"aria-activedescendant":E&&Ot?Ot:void 0,"aria-autocomplete":Gn,"aria-invalid":c?"true":void 0,"aria-busy":v?"true":void 0,"aria-label":Wa,disabled:g,readOnly:K}),ie(Se,{valid:L,invalid:c,loading:v,disabled:g}),ie(Re,{loading:v,disabled:g}),ie(Fe,{loading:v,disabled:g,readonly:K,value:m}),l&&wa(Wr,{children:[n&&ie(ge,{}),ie(_e,{children:l})]}),ie(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:g})]}),E&&y&&ie(U,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:y}),J&&ie(oe,{adaptive:!0,id:Xt?`${Xt}-adaptive`:void 0,...pe,header:ie(Ie,{actionsEnd:ie(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:b,title:ce,subtitle:ue}),children:ie("div",{className:"k-list-container",children:ie(D,{customValue:fe?ie(zt,{text:`Use "${m}"`}):void 0,size:"large",children:wa(X,{"aria-label":ce||"Options",children:[ie(P,{text:"List item"}),ie(P,{text:"List item"}),ie(P,{text:"List item"})]})})})})]})};ye.states=Af;ye.options=Tf;ye.className=Nl;ye.defaultOptions=vl;ye.moduleName=Xr;ye.folderName=hl;var Xe=ye;import{jsx as yf}from"react/jsx-runtime";var Cl=e=>yf(Xe,{...e});import{jsx as FR,jsxs as VR}from"react/jsx-runtime";import{jsx as YR,jsxs as QR}from"react/jsx-runtime";import{jsx as aw,jsxs as nw}from"react/jsx-runtime";import{Fragment as pw,jsx as dw}from"react/jsx-runtime";import{Fragment as xw,jsx as bw}from"react/jsx-runtime";import{jsx as Mw,jsxs as Sw}from"react/jsx-runtime";import{Fragment as Ow,jsx as yw,jsxs as Ew}from"react/jsx-runtime";import{jsx as Rw}from"react/jsx-runtime";import{jsx as Hw}from"react/jsx-runtime";import{jsx as $w,jsxs as Xw}from"react/jsx-runtime";import{jsx as Zw,jsxs as jw}from"react/jsx-runtime";import{jsx as Ft,jsxs as Rf}from"react/jsx-runtime";var Ef=ye.states,Of=ye.defaultOptions,Bf=ye.options,Pf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Kf=[],Ho=e=>{let{modifiers:t,...o}=e,a={},n=Ft(D,{style:{width:300},size:o.size,children:Rf(X,{children:[Ft(P,{children:"List item"}),Ft(P,{children:"List item"}),Ft(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Ft(S,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Ft(V,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0;break;default:break}}),Ft("div",{children:Ft(Cl,{value:"Value",style:{width:300},...o,...a})})};Ho.options=Bf;Ho.states=Ef;Ho.variants=Kf;Ho.defaultOptions=Of;Ho.modifiers=Pf;Ho.className=ye.className;var Jr="menu-button",Ll=Jr;import{jsx as Df}from"react/jsx-runtime";var Ml="k-menu-button",wf=[i.hover,i.focus,i.active,i.selected,i.disabled],_f={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},qr={showArrow:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,icon:h,text:L,showArrow:c=qr.showArrow,arrowIconName:M=qr.arrowIconName,expanded:v,...g}=e;return Df(p,{...g,className:r(e.className,Ml),text:L,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,ariaDisabled:N||void 0,icon:h,showArrow:c,arrowIconName:M,"aria-expanded":v?"true":"false",...!L&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};W.states=wf;W.options=_f;W.className=Ml;W.defaultOptions=qr;W.moduleName=Jr;W.folderName=Ll;import{jsx as B_}from"react/jsx-runtime";import{jsx as w_}from"react/jsx-runtime";import{jsx as z_}from"react/jsx-runtime";var We="menu",it=We;import{jsx as _a,jsxs as Sl}from"react/jsx-runtime";var Yr="k-menu-item",Hf=[i.hover,i.focus,i.active,i.selected,i.disabled],zf={},gl={iconPosition:"before"},ve=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:b,arrowIconName:N,iconPosition:h=gl.iconPosition,dir:L,children:c,expanded:M,...v}=e,g=N;return g||(g=L==="rtl"?"chevron-left":"chevron-right"),Sl("li",{...v,className:r(e.className,Yr,"k-item",I(Yr,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":M?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Sl("span",{className:r("k-link k-menu-link"),children:[l&&h==="before"&&_a(S,{className:"k-menu-link-icon",icon:l}),_a("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&_a(S,{className:"k-menu-link-icon",icon:l}),b&&_a("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:_a(S,{icon:g})})]}),c]})};ve.states=Hf;ve.options=zf;ve.className=Yr;ve.defaultOptions=gl;ve.moduleName=We;ve.folderName=it;import{jsx as eo,jsxs as Il}from"react/jsx-runtime";var Qr="k-menu-item",Gf=[i.hover,i.focus,i.active,i.selected,i.disabled],Uf={},Zr={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:b,arrowIconName:N,iconPosition:h=Zr.iconPosition,dir:L=Zr.dir,children:c,popup:M,expanded:v,actions:g,description:y,...E}=e,K=N;return K||(K=L==="rtl"?"chevron-left":"chevron-right"),Il("li",{role:"menuitem",...E,className:r(e.className,Qr,"k-item",I(Qr,{focus:o,disabled:s})),...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":v?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Il("span",{className:r("k-link k-menu-link",I("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[l&&h==="before"&&eo(S,{className:"k-menu-link-icon",icon:l}),eo("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&eo(S,{className:"k-menu-link-icon",icon:l}),g&&eo("span",{className:"k-menu-link-actions",children:g}),b&&eo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:eo(S,{icon:K})}),y&&eo("span",{className:"k-menu-link-description",children:y})]}),c,M]})};j.states=Gf;j.options=Uf;j.className=Qr;j.defaultOptions=Zr;j.moduleName=We;j.folderName=it;import{jsx as Xf}from"react/jsx-runtime";var kl="k-menu-scroll-wrapper",Ff=[],Vf={},$f={},to=e=>{let{className:t,children:o,orientation:a,...n}=e;return Xf("div",{...n,className:r(t,kl,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};to.states=Ff;to.options=Vf;to.className=kl;to.defaultOptions=$f;to.moduleName=We;to.folderName=it;var Al=to;import{Fragment as jr,jsx as oo,jsxs as vn}from"react/jsx-runtime";var Cn="k-menu",Wf=[],Jf={size:[d.undefined,d.small,d.medium,d.large]},Ln={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},he=e=>{let{children:t,orientation:o=Ln.orientation,header:a=Ln.header,scrollable:n,scrollButtonsPosition:s=Ln.scrollButtonsPosition,wrapperStyles:l,dir:m,size:b,popup:N,contextMenu:h,...L}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},M=oo("ul",{dir:m,...L,className:r(e.className,"k-reset",Cn,{[`${Cn}-${o}`]:o,"k-header":a},A(Cn,{size:b})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return vn(jr,{children:[n?vn(Al,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&vn(jr,{children:[oo(p,{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"}),oo(p,{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"})]}),s==="around"&&oo(p,{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"}),M,s==="end"&&vn(jr,{children:[oo(p,{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"}),oo(p,{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"})]}),s==="around"&&oo(p,{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"})]}):M,N]})};he.states=Wf;he.options=Jf;he.className=Cn;he.defaultOptions=Ln;he.moduleName=We;he.folderName=it;import{jsx as qf}from"react/jsx-runtime";var ei="k-separator",Tl={orientation:"horizontal"},zo=e=>{let{orientation:t=Tl.orientation,...o}=e;return qf("li",{...o,className:r(e.className,"k-item",ei,{[`${ei}-${t}`]:t}),role:"separator"})};zo.className=ei;zo.defaultOptions=Tl;zo.moduleName=We;zo.folderName=it;import{Fragment as b0,jsx as x0}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";var ti="k-menu-group",Yf=[],Qf={size:[d.undefined,d.small,d.medium,d.large]},Zf={},Ce=e=>{let{children:t,size:o,...a}=e;return jf("ul",{role:"menu",...a,className:r(e.className,ti,A(ti,{size:o})),children:t})};Ce.states=Yf;Ce.options=Qf;Ce.className=ti;Ce.defaultOptions=Zf;Ce.moduleName=We;Ce.folderName=it;import{jsx as I0,jsxs as k0}from"react/jsx-runtime";import{Fragment as eb,jsx as Go,jsxs as tb}from"react/jsx-runtime";var oi=e=>Go(he,{children:tb(eb,{children:[Go(ve,{text:"Item 1"}),Go(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Go(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Go(ve,{text:"Item 4"}),Go(ve,{text:"Item 5"})]}),...e});import{Fragment as w0,jsx as K0,jsxs as R0}from"react/jsx-runtime";import{Fragment as G0,jsx as z0,jsxs as U0}from"react/jsx-runtime";import{Fragment as W0,jsx as X0,jsxs as J0}from"react/jsx-runtime";import{Fragment as j0,jsx as Z0,jsxs as eD}from"react/jsx-runtime";import{jsx as ao,jsxs as ib}from"react/jsx-runtime";var ob={...he.options,scrollable:{type:"boolean"}},ab=he.states,yl={...he.defaultOptions,variant:"horizontal"},nb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rb=[{name:"opened",title:"Opened"}],Uo=e=>{let{variant:t,modifiers:o,...a}={...yl,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?ao(U,{className:"k-menu-popup",offset:s,children:ib(Ce,{children:[ao(j,{text:"Item 1"}),ao(j,{text:"Item 2"}),ao(zo,{}),ao(j,{text:"Item 3"})]})}):null)}),t==="vertical"?ao(oi,{...a,...n,orientation:"vertical",style:{width:"200px"}}):ao(oi,{...a,...n})};Uo.options=ob;Uo.states=ab;Uo.variants=nb;Uo.defaultOptions=yl;Uo.modifiers=rb;Uo.className=he.className;import{Fragment as PD,jsx as OD,jsxs as BD}from"react/jsx-runtime";import{jsx as _D}from"react/jsx-runtime";import{Fragment as mb,jsx as Lt,jsxs as El}from"react/jsx-runtime";var sb=p.states,Ol={...p.defaultOptions,variant:"text"},lb=p.options,db=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pb=[{name:"opened",title:"Opened"}],Fo=e=>{let{variant:t,modifiers:o,...a}={...Ol,...e},n={},s=Lt(U,{className:"k-menu-popup",children:El(Ce,{size:a.size,children:[Lt(j,{text:"Menu Item"}),Lt(j,{text:"Menu Item"}),Lt(j,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=Lt("div",{children:Lt(W,{...a,...n,icon:"star"})});break;case"icon-and-text":l=Lt("div",{children:Lt(W,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=Lt("div",{children:Lt(W,{...a,...n,children:"Dropdown Button"})});break}return El(mb,{children:[l,o?.opened&&s]})};Fo.options=lb;Fo.states=sb;Fo.variants=db;Fo.defaultOptions=Ol;Fo.modifiers=pb;Fo.className=W.className;var ai="split-button",Bl=ai;import{Fragment as fb,jsx as ni,jsxs as Pl}from"react/jsx-runtime";var ri="k-split-button",cb=[i.hover,i.focus,i.active,i.selected,i.disabled],ub={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Kl={arrowIconName:"chevron-down"},H=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,icon:h,text:L,arrowIconName:c=Kl.arrowIconName,popup:M,opened:v,popupId:g,...y}=e;return Pl(fb,{children:[Pl("div",{...y,className:r(e.className,ri,"k-button-group",A(ri,{rounded:o})),children:[ni(p,{text:L,icon:h,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,...!L&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),ni(p,{className:"k-split-button-arrow",icon:c,size:t,rounded:o,fillMode:a,disabled:N,ariaDisabled:N||void 0,"aria-label":"Toggle dropdown","aria-expanded":v?"true":"false","aria-controls":v?g:void 0,tabIndex:-1})]}),v&&M&&ni(U,{className:"k-menu-popup",children:M})]})};H.states=cb;H.options=ub;H.className=ri;H.defaultOptions=Kl;H.moduleName=ai;H.folderName=Bl;var ii=H;import{jsx as xb}from"react/jsx-runtime";var bb="k-toolbar-separator",ct=e=>xb("div",{className:r(bb,e.className,"k-separator")});var no="toolbar",Vo=no;import{Fragment as si,jsx as z,jsxs as $o}from"react/jsx-runtime";var At="k-toolbar",hb=[i.focus],Nb={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},vb={scrollButtons:"around"},_=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:l,scrollingPosition:m,section:b,...N}=e,h=[],L=(c,M)=>{let v=[];if(c.type===p&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))v.push(z(p,{...c.props,className:`${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===p)v.push(z(p,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===R)v.push(z(R,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===V)v.push(z(V,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===W)v.push(z(W,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===ii)v.push(z(ii,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===B||c.props.className&&c.props.className.includes("k-button-group")){let g=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((E,K)=>{g.push(z(p,{...E.props,className:`${E.props.className?E.props.className:""}`},`${K}-${new Date().getTime()}`))}),v.push(z(B,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:g},`${M}-${new Date().getTime()}`))}else c.type===ye?v.push(z(ye,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`)):c.type===me?v.push(z(me,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`)):c.type===rt?v.push(z(rt,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`)):v.push(c);v.forEach(g=>{h.push(g)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((M,v)=>{L(M,v)}),$o("div",{...N,className:r(e.className,At,A(At,{size:t,fillMode:o}),I(At,{focus:a}),{[`${At}-resizable`]:n,[`${At}-scrollable`]:s,[`${At}-scrollable-overlay`]:s&&l==="hidden",[`${At}-scrollable-${m}`]:m&&m!=="both",[`${At}-section`]:b}),role:"toolbar","aria-label":"Toolbar",children:[!s&&h,s&&l==="hidden"&&z("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),s&&l==="start"&&$o(si,{children:[$o(B,{children:[z("span",{className:r("k-toolbar-prev","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:z(S,{className:"k-button-icon",icon:"chevron-left"})}),z("span",{className:r("k-toolbar-next","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:z(S,{className:"k-button-icon",icon:"chevron-right"})})]}),z(ct,{className:"k-toolbar-button-separator"}),z("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),s&&l==="end"&&$o(si,{children:[z("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),z(ct,{className:"k-toolbar-button-separator"}),$o(B,{children:[z("span",{className:r("k-toolbar-prev","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:z(S,{className:"k-button-icon",icon:"chevron-left"})}),z("span",{className:r("k-toolbar-next","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:z(S,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&$o(si,{children:[z("span",{className:r("k-toolbar-prev","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:z(S,{className:"k-button-icon",icon:"chevron-left"})}),z(ct,{className:"k-toolbar-button-separator"}),z("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),z(ct,{className:"k-toolbar-button-separator"}),z("span",{className:r("k-toolbar-next","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:z(S,{className:"k-button-icon",icon:"chevron-right"})})]})]})};_.states=hb;_.options=Nb;_.className=At;_.defaultOptions=vb;_.moduleName=no;_.folderName=Vo;import{jsx as Sb}from"react/jsx-runtime";var li="k-toolbar-item",Cb=[i.focus],Lb={},Mb={},Xo=e=>{let{focus:t,...o}=e;return Sb("div",{...o,className:r(e.className,li,I(li,{focus:t})),children:e.children})};Xo.states=Cb;Xo.options=Lb;Xo.className=li;Xo.defaultOptions=Mb;Xo.moduleName=no;Xo.folderName=Vo;import{jsx as Rl}from"react/jsx-runtime";var wl="k-toolbar-popup",gb=[],Ib={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},kb={},ro=e=>{let{size:t,fillMode:o,section:a,...n}=e;return Rl(U,{...n,className:r(e.className,wl),children:a?Rl("span",{className:r("k-toolbar-items-list",A("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};ro.states=gb;ro.options=Ib;ro.className=wl;ro.defaultOptions=kb;ro.moduleName=no;ro.folderName=Vo;var Mn=ro;import{jsx as wH}from"react/jsx-runtime";import{jsx as zH}from"react/jsx-runtime";import{jsx as VH}from"react/jsx-runtime";import{jsx as YH,jsxs as QH}from"react/jsx-runtime";import{jsx as t1}from"react/jsx-runtime";import{jsx as Tt,jsxs as Ob}from"react/jsx-runtime";var Ab=H.states,_l={...H.defaultOptions,variant:"text"},Tb=H.options,yb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Eb=[{name:"opened",title:"Opened"}],Wo=e=>{let{variant:t,modifiers:o,...a}={..._l,...e},n={},s=Ob(Ce,{size:a.size,children:[Tt(j,{text:"Menu Item"}),Tt(j,{text:"Menu Item"}),Tt(j,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?s:"")}),t){case"icon-only":return Tt("div",{children:Tt(H,{...a,...n,icon:"star"})});case"icon-and-text":return Tt("div",{children:Tt(H,{...a,...n,icon:"star",children:"Split Button"})});default:return Tt("div",{children:Tt(H,{...a,...n,children:"Split Button"})})}};Wo.options=Tb;Wo.states=Ab;Wo.variants=yb;Wo.defaultOptions=_l;Wo.modifiers=Eb;Wo.className=H.className;import{jsx as io,jsxs as Bb}from"react/jsx-runtime";var Dl=e=>io(_,{children:[io(p,{children:"Button"},"toolbar-button"),io(W,{text:"Menu button"},"toolbar-menu-button"),io(H,{children:"Split button"},"toolbar-split-button"),Bb(B,{children:[io(p,{className:"k-group-start",icon:"align-left",children:"Left"}),io(p,{icon:"align-center",children:"Center"}),io(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as E1,jsxs as O1}from"react/jsx-runtime";import{jsx as Je,jsxs as Hl}from"react/jsx-runtime";var zl=e=>Je(_,{scrollable:!0,...e,children:[Je(p,{children:"Button"},"toolbar-button"),Je(W,{text:"Menu button"},"toolbar-menu-button"),Je(H,{children:"Split button"},"toolbar-split-button"),Hl(B,{children:[Je(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(p,{icon:"align-center",children:"Center"}),Je(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Je(p,{children:"Button"},"toolbar-button"),Je(W,{text:"Menu button"},"toolbar-menu-button"),Je(H,{children:"Split button"},"toolbar-split-button"),Hl(B,{children:[Je(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(p,{icon:"align-center",children:"Center"}),Je(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as qe,jsxs as Gl}from"react/jsx-runtime";var Ul=({scrollingPosition:e="start",...t})=>qe(_,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[qe(p,{children:"Button"},"toolbar-button"),qe(W,{text:"Menu button"},"toolbar-menu-button"),qe(H,{children:"Split button"},"toolbar-split-button"),Gl(B,{children:[qe(p,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(p,{icon:"align-center",children:"Center"}),qe(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),qe(p,{children:"Button"},"toolbar-button"),qe(W,{text:"Menu button"},"toolbar-menu-button"),qe(H,{children:"Split button"},"toolbar-split-button"),Gl(B,{children:[qe(p,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(p,{icon:"align-center",children:"Center"}),qe(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Pb,jsx as He,jsxs as Sn}from"react/jsx-runtime";var Fl=({fillMode:e,size:t,...o})=>Sn(Pb,{children:[He(_,{section:!0,fillMode:e,size:t,children:[He(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Sn(B,{fillMode:e,children:[He(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),He(ct,{className:"k-toolbar-button-separator"}),He(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Sn(Mn,{size:t,fillMode:e,section:!0,...o,children:[He(H,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),He(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),He(ct,{}),He(W,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Sn(B,{fillMode:e,children:[He(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as p2,jsx as l2,jsxs as d2}from"react/jsx-runtime";import{Fragment as L2,jsx as v2,jsxs as C2}from"react/jsx-runtime";import{jsx as Vt}from"react/jsx-runtime";var Kb=_.options,Rb=_.states,Vl={..._.defaultOptions,variant:"default"},wb=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],_b=[],Jo=e=>{let{variant:t,...o}={...Vl,...e};switch(t){case"responsive":return Vt("div",{children:Vt(Fl,{style:{width:"583px"},...o})});case"overlay":return Vt("div",{children:Vt(Ul,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Vt("div",{children:Vt(zl,{style:{width:"583px"},...o})});default:return Vt("div",{children:Vt(Dl,{style:{width:"583px"},...o})})}};Jo.options=Kb;Jo.states=Rb;Jo.variants=wb;Jo.defaultOptions=Vl;Jo.modifiers=_b;Jo.className=_.className;var di="prompt",$l=di;import{Fragment as Gb,jsx as Xl}from"react/jsx-runtime";var Wl="k-prompt",Db=[],Hb={},zb={},F=e=>{let{...t}=e;return Xl("div",{...t,className:r(e.className,Wl),children:Xl(Gb,{children:e.children})})};F.states=Db;F.options=Hb;F.className=Wl;F.defaultOptions=zb;F.moduleName=di;F.folderName=$l;import{jsx as Fb}from"react/jsx-runtime";var Ub="k-prompt-header",ut=e=>{let{...t}=e;return Fb("div",{...t,className:r(e.className,Ub),children:e.children})};import{Fragment as $b,jsx as Jl}from"react/jsx-runtime";var Vb="k-prompt-content",Ee=e=>{let{...t}=e;return Jl("div",{...t,className:r(e.className,Vb),children:Jl($b,{children:e.children})})};import{jsx as Wb}from"react/jsx-runtime";var Xb="k-prompt-view",Oe=e=>{let{...t}=e;return Wb("div",{...t,className:r(e.className,Xb),children:e.children})};import{jsx as ql,jsxs as qb}from"react/jsx-runtime";var Jb="k-prompt-expander",gn=e=>{let{title:t,children:o,expanded:a,...n}=e,s=T("prompt-expander-content");return qb("div",{...n,className:r(e.className,Jb),children:[ql(R,{fillMode:"flat",icon:a?"chevron-up":"chevron-down","aria-expanded":a?"true":"false","aria-controls":a?s:void 0,children:t}),a&&ql("div",{className:"k-prompt-expander-content",id:s,children:o})]})};import{jsx as Qb}from"react/jsx-runtime";var Yb="k-prompt-footer",qo=e=>{let{...t}=e;return Qb("div",{...t,className:r(e.className,Yb),children:e.children})};import{jsx as uz}from"react/jsx-runtime";import{jsx as Zb}from"react/jsx-runtime";var Yl="k-prompt-send",Ql={generating:!1},Mt=e=>{let{generating:t=Ql.generating,...o}=e;return Zb(p,{...o,className:r(e.className,Yl,{"k-generating":t}),icon:t?"stop":"paper-plane",active:t,fillMode:"flat","aria-label":t?"Stop generating":"Send prompt"})};Mt.states=p.states;Mt.options=p.options;Mt.className=Yl;Mt.moduleName=null;Mt.folderName=null;Mt.defaultOptions=Ql;import{jsx as Zl,jsxs as ax}from"react/jsx-runtime";var In="k-fab",tx=[i.hover,i.focus,i.active,i.selected,i.disabled],ox={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},jl={type:"button"},re=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:s,type:l=jl.type,position:m,hover:b,focus:N,active:h,selected:L,disabled:c,...M}=e;return ax("button",{...M,type:l,className:r(e.className,In,A(In,{size:t,rounded:o,themeColor:a}),I(In,{hover:b,focus:N,active:h,disabled:c,selected:L}),{[`!k-pos-absolute k-${m}`]:m}),...!n&&s&&!e["aria-label"]&&{"aria-label":"Action"},...c&&{"aria-disabled":"true"},disabled:c||void 0,children:[s&&Zl(S,{className:"k-fab-icon",icon:s}),n&&Zl("span",{className:"k-fab-text",children:n})]})};re.states=tx;re.options=ox;re.className=In;re.defaultOptions=jl;re.moduleName="fab";re.folderName="fab";import{jsx as rx}from"react/jsx-runtime";var nx="k-fab-items",ed=e=>{let{position:t,...o}=e;return rx("ul",{...o,className:r(e.className,nx,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as od,jsxs as sx}from"react/jsx-runtime";var td="k-fab-item",ix=[i.hover,i.focus,i.active,i.disabled],pi=e=>{let{text:t,icon:o,align:a,hover:n,focus:s,active:l,disabled:m,...b}=e;return sx("li",{...b,className:r(e.className,td,{[`k-text-${a}`]:a},I(td,{hover:n,focus:s,active:l,disabled:m})),children:[od("span",{className:"k-fab-item-text",children:t}),od(S,{className:"k-fab-item-icon",icon:o})]})};pi.states=ix;import{jsx as wz}from"react/jsx-runtime";import{jsx as zz}from"react/jsx-runtime";import{jsx as Vz}from"react/jsx-runtime";import{jsx as Jz}from"react/jsx-runtime";import{jsx as Yo,jsxs as ux}from"react/jsx-runtime";var lx=re.options,dx=re.states,px={...re.defaultOptions,variant:"text"},mx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],cx=[{name:"opened",title:"Opened"}],Qo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},s=n?Yo("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:Yo(ed,{position:"bottom",children:Yo(pi,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=Yo(re,{...a,icon:"star"});break;case"icon-and-text":l=Yo(re,{...a,icon:"star",text:"Action"});break;default:l=Yo(re,{...a,text:"Action"});break}return ux("span",{style:{position:"relative"},children:[l,s]})};Qo.options=lx;Qo.states=dx;Qo.variants=mx;Qo.defaultOptions=px;Qo.modifiers=cx;Qo.className=re.className;import{jsx as fx}from"react/jsx-runtime";var ad="k-prompt-stop-fab",nd={generating:!0},so=e=>{let{generating:t=nd.generating,icon:o,...a}=e;return fx(re,{...a,className:r(e.className,ad,{"k-generating":t}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:t?"stop":o,active:t,"aria-label":t?"Stop generating":"Action"})};so.states=p.states;so.options=p.options;so.className=ad;so.defaultOptions=nd;var mi="speech-to-text-button",rd=mi;import{jsx as bx}from"react/jsx-runtime";var id="k-speech-to-text-button",sd={icon:"microphone"},te=e=>{let{listening:t=!1,icon:o=sd.icon,...a}=e;return bx(p,{...a,icon:t?"stop":o,className:r(e.className,id,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};te.states=p.states;te.options=p.options;te.className=id;te.defaultOptions=sd;te.moduleName=mi;te.folderName=rd;import{jsx as O3}from"react/jsx-runtime";import{jsx as R3}from"react/jsx-runtime";import{jsx as Cx}from"react/jsx-runtime";var xx=p.states,ld={...p.defaultOptions,variant:"normal"},hx={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Nx=[],vx=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],Zo=e=>{let{variant:t,...o}={...ld,...e},a={};return t==="listening"&&(a.listening=!0),Cx(te,{...o,...a})};Zo.options=hx;Zo.states=xx;Zo.variants=vx;Zo.defaultOptions=ld;Zo.modifiers=Nx;Zo.className=te.className;var ci="textarea",dd=ci;import{Fragment as pd,jsx as Da,jsxs as ui}from"react/jsx-runtime";var md="k-textarea",Lx=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Mx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},jo={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Y=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:n=jo.prefixSeparator,suffixSeparator:s=jo.prefixSeparator,affixesOrientation:l=jo.affixesOrientation,flow:m=jo.flow,resize:b=jo.resize,prefix:N,suffix:h,rows:L,value:c,placeholder:M,hover:v,focus:g,valid:y,invalid:E,required:K,disabled:J,id:pe,"aria-label":ce,"aria-describedby":ue,...fe}=e;return ui(Z,{...fe,size:t,rounded:o,fillMode:a,hover:v,focus:g,valid:y,invalid:E,required:K,disabled:J,className:r(e.className,md,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[N&&ui(pd,{children:[Da(we,{className:r({"!k-align-items-start":m===l}),direction:l,children:N}),n&&Da(ge,{direction:m==="horizontal"?"vertical":"horizontal"})]}),Da(Ma,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":b==="x","k-resize-y":b==="y","k-resize":b==="both","k-resize-none":b==="none"}),value:c,placeholder:M,rows:L,disabled:J,id:pe,"aria-label":ce,"aria-describedby":ue,"aria-invalid":E?"true":void 0}),h&&ui(pd,{children:[s&&Da(ge,{direction:m==="horizontal"?"vertical":"horizontal"}),Da(_e,{className:r({"!k-align-items-start":m===l}),direction:l,children:h})]})]})};Y.states=Lx;Y.options=Mx;Y.className=md;Y.defaultOptions=jo;Y.moduleName=ci;Y.folderName=dd;import{jsx as t5}from"react/jsx-runtime";import{Fragment as s5,jsx as i5}from"react/jsx-runtime";import{Fragment as u5,jsx as c5}from"react/jsx-runtime";import{jsx as h5}from"react/jsx-runtime";import{jsx as kn}from"react/jsx-runtime";var Sx=Y.options,gx=Y.states,cd={...Y.defaultOptions,variant:"vertical"},Ix=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],kx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],ea=e=>{let{variant:t,modifiers:o,...a}={...cd,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?kn(S,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?kn(S,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?kn(Y,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):kn(Y,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};ea.options=Sx;ea.states=gx;ea.variants=Ix;ea.defaultOptions=cd;ea.modifiers=kx;ea.className=Y.className;import{Fragment as z5,jsx as D5,jsxs as H5}from"react/jsx-runtime";var bi="suggestion",ud=bi;import{jsx as An,jsxs as yx}from"react/jsx-runtime";var Tn="k-suggestion-group",Ax=[],Tx={},fd={layout:"scrollable",scrollingPosition:"start"},st=e=>{let{layout:t=fd.layout,scrollingPosition:o,...a}=e,n=An("div",{...a,className:r(Tn,{"k-suggestion-group-scrollable":t=="scrollable",[`${Tn}-scrollable-start`]:o==="start"||o==="both",[`${Tn}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?An("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?yx("div",{className:"k-suggestion-scrollwrap",children:[An(p,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,An(p,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};st.states=Ax;st.options=Tx;st.className=Tn;st.defaultOptions=fd;st.moduleName=bi;st.folderName=ud;import{jsx as Px}from"react/jsx-runtime";var yn="k-suggestion",Ex=[i.active,i.hover,i.focus],Ox={themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Bx={text:"Suggestion"},ft=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:s,...l}=e;return Px("span",{...l,className:r(e.className,yn,I(yn,{hover:a,active:o,focus:n}),A(yn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":s,children:s})};ft.states=Ex;ft.options=Ox;ft.className=yn;ft.item=Bx;import{Fragment as eG,jsx as j5,jsxs as tG}from"react/jsx-runtime";import{Fragment as iG,jsx as rG,jsxs as sG}from"react/jsx-runtime";import{Fragment as cG,jsx as mG,jsxs as uG}from"react/jsx-runtime";import{Fragment as OG,jsx as yG,jsxs as EG}from"react/jsx-runtime";import{jsx as En}from"react/jsx-runtime";var Kx="k-chip-action";var yt=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=En(S,{icon:"x-circle",size:"small"});break;case"more":a=En(S,{icon:"more-vertical",size:"small"});break;default:return En(S,{icon:t,size:"small"})}return En("span",{...o,className:r(e.className,Kx,`k-chip-${t}-action`),children:a})};var xi="avatar",bd=xi;import{jsx as xd}from"react/jsx-runtime";var Ha="k-avatar";var Rx=[i.hover,i.focus,i.active,i.selected,i.disabled],wx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},hi={type:"text",border:!1},ze=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:s=hi.type,border:l=hi.border,...m}=e;return xd("div",{...m,className:r(e.className,Ha,A(Ha,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Ha}-bordered`]:l}),children:xd("span",{className:`${Ha}-${s}`,children:e.children})})};ze.states=Rx;ze.options=wx;ze.className=Ha;ze.defaultOptions=hi;ze.moduleName=xi;ze.folderName=bd;var lo=ze;import{jsx as _x}from"react/jsx-runtime";var hd=e=>_x(lo,{type:"icon",...e});import{jsx as Dx}from"react/jsx-runtime";var Nd=e=>Dx(lo,{type:"text",...e});import{jsx as Hx}from"react/jsx-runtime";var vd=e=>Hx(lo,{type:"image",...e});import{jsx as jG}from"react/jsx-runtime";import{jsx as za}from"react/jsx-runtime";var zx=ze.options,Gx=ze.states,Ux={...ze.defaultOptions,variant:"image"},Fx=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Vx=[],ta=e=>{let{variant:t,...o}=e;switch(t){case"icon":return za(hd,{...o,children:za(S,{icon:"star"})});case"text":return za(Nd,{...o,children:"JO"});default:return za(vd,{...o,children:za("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ta.options=zx;ta.states=Gx;ta.variants=Fx;ta.defaultOptions=Ux;ta.modifiers=Vx;ta.className=ze.className;var Ga="chip",On=Ga,Bn="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as oa,jsxs as Wx}from"react/jsx-runtime";var Pn="k-chip",$x=[i.hover,i.focus,i.active,i.selected,i.disabled],Xx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[x.undefined,x.base,x.success,x.warning,x.error,x.info]},Cd={avatarImage:"/packages/html/assets/avatar.jpg"},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:s,icon:l,actions:m,showAvatar:b,avatarImage:N=Cd.avatarImage,hover:h,focus:L,active:c,selected:M,disabled:v,...g}=e;return Wx("div",{...g,className:r(e.className,Pn,A(Pn,{size:t,rounded:o,fillMode:a,themeColor:n}),I(Pn,{hover:h,focus:L,active:c,disabled:v,selected:M})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:M?"true":"false",...e.role==="option"&&M!==void 0&&{"aria-selected":M?"true":"false"},"aria-disabled":v?"true":void 0,children:[l&&oa(S,{className:"k-chip-icon",icon:l,size:"small"}),b&&oa(ze,{className:"k-chip-avatar",type:"image",children:oa("img",{src:N,alt:""})}),oa("span",{className:"k-chip-content",children:e.children?e.children:s&&oa("span",{className:"k-chip-label",children:s})}),m&&oa("span",{className:"k-chip-actions",children:m})]})};Ge.states=$x;Ge.options=Xx;Ge.className=Pn;Ge.defaultOptions=Cd;Ge.moduleName=Ga;Ge.folderName=On;var lt=Ge;import{jsx as Qx}from"react/jsx-runtime";var Ni="k-chip-list",Jx=[],qx={size:[d.undefined,d.small,d.medium,d.large]},Yx={},Le=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return Qx("div",{...n,className:r(e.className,Ni,A(Ni,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:a||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};Le.states=Jx;Le.options=qx;Le.className=Ni;Le.defaultOptions=Yx;Le.moduleName=Ga;Le.folderName=On;import{jsx as yU}from"react/jsx-runtime";import{jsx as PU}from"react/jsx-runtime";import{jsx as Zx}from"react/jsx-runtime";var Kn=e=>Zx(lt,{text:"text",...e});import{jsx as GU}from"react/jsx-runtime";import{jsx as $U}from"react/jsx-runtime";import{Fragment as QU,jsx as YU,jsxs as ZU}from"react/jsx-runtime";import{jsx as aF,jsxs as nF}from"react/jsx-runtime";import{jsx as dF,jsxs as pF}from"react/jsx-runtime";import{jsx as xF,jsxs as hF}from"react/jsx-runtime";import{jsx as aa,jsxs as nh}from"react/jsx-runtime";var jx={...lt.options,...Le.options},eh=[],th=Le.states,oh={...lt.defaultOptions,...Le.defaultOptions},ah=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],na=e=>{let{modifiers:t,className:o,...a}=e,n=t?.icon,s=t?.actions,l=t?.avatar,m=l?Bn:void 0;return nh(Le,{size:a.size,className:o,children:[aa(Kn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),aa(Kn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),aa(Kn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"})]})};na.options=jx;na.states=th;na.variants=eh;na.defaultOptions=oh;na.modifiers=ah;na.className=Le.className;import{jsx as vi}from"react/jsx-runtime";var rh=Ge.states,ih=Ge.defaultOptions,sh=Ge.options,lh=[],dh=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],ra=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"icon":a.icon=t?.[n]?"arrow-down":void 0;break;case"avatar":a.showAvatar=!!t?.[n],a.avatarImage=t?.[n]?Bn:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[n]?vi(yt,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[n]?vi(yt,{type:"remove"}):void 0;break;default:break}}),vi(Ge,{...o,...a,children:"Chip component"})};ra.options=sh;ra.states=rh;ra.variants=lh;ra.defaultOptions=ih;ra.modifiers=dh;ra.className=Ge.className;import{Fragment as i9,jsx as n9,jsxs as r9}from"react/jsx-runtime";import{jsx as mh}from"react/jsx-runtime";var ph="k-card-callout",Ld=e=>{let{callout:t,...o}=e;return mh("span",{...o,className:r(e.className,ph,{[`k-callout-${Oi.calloutMap[t]||t}`]:t})})};var Ye="card",dt=Ye;import{Fragment as bh,jsx as Md,jsxs as xh}from"react/jsx-runtime";var Ci="k-card",ch=[i.hover,i.focus,i.selected,i.disabled],uh={},fh={},Q=e=>{let{orientation:t,callout:o,hover:a,focus:n,selected:s,disabled:l,...m}=e;return xh("div",{...m,className:r(e.className,Ci,I(Ci,{hover:a,focus:n,disabled:l,selected:s}),{[`k-card-${t}`]:t,"k-card-with-callout":o}),children:[o&&o!=="true"&&Md(Ld,{callout:o}),Md(bh,{children:e.children})]})};Q.states=ch;Q.options=uh;Q.className=Ci;Q.defaultOptions=fh;Q.moduleName=Ye;Q.folderName=dt;import{Fragment as Ch,jsx as Sd}from"react/jsx-runtime";var Li="k-card-list",hh=[],Nh={},vh={},po=e=>{let{...t}=e;return Sd("div",{...t,className:r(e.className,Li,I(Li,{})),role:"list",children:Sd(Ch,{children:e.children})})};po.states=hh;po.options=Nh;po.className=Li;po.defaultOptions=vh;po.moduleName=Ye;po.folderName=dt;import{jsx as gh}from"react/jsx-runtime";var gd="k-card-group",Lh=[],Mh={},Sh={},ia=e=>{let{...t}=e;return gh("div",{...t,className:r(e.className,gd),children:e.children})};ia.states=Lh;ia.options=Mh;ia.className=gd;ia.defaultOptions=Sh;ia.moduleName=Ye;ia.folderName=dt;import{jsx as Th}from"react/jsx-runtime";var Mi="k-card-wrap",Ih=[i.focus,i.selected],kh={},Ah={},sa=e=>{let{focus:t,selected:o,...a}=e;return Th("div",{...a,className:r(e.className,Mi,I(Mi,{focus:t,selected:o})),children:e.children})};sa.states=Ih;sa.options=kh;sa.className=Mi;sa.defaultOptions=Ah;sa.moduleName=Ye;sa.folderName=dt;import{jsx as Eh}from"react/jsx-runtime";var Si="k-card-title",yh=[i.hover,i.focus],mo=e=>{let{hover:t,focus:o,...a}=e;return Eh("div",{...a,className:r(e.className,Si,I(Si,{hover:t,focus:o})),children:e.children})};mo.states=yh;mo.className=Si;import{jsx as Bh}from"react/jsx-runtime";var Oh="k-card-subtitle",Rn=e=>{let{...t}=e;return Bh("div",{...t,className:r(e.className,Oh),children:e.children})};import{Fragment as kd,jsx as wn}from"react/jsx-runtime";var Id="k-card-media",gi=e=>{let{src:t,...o}=e;return wn(kd,{children:t?wn("img",{...o,className:r(e.className,Id),src:t}):wn("span",{...o,className:r(e.className,Id),children:wn(kd,{children:e.children})})})};import{Fragment as Kh,jsx as Ua,jsxs as Rh}from"react/jsx-runtime";var Ph="k-card-header",Et=e=>{let{title:t,subtitle:o,details:a,...n}=e;return Rh("div",{...n,className:r(e.className,Ph),children:[t&&Ua(mo,{children:t}),o&&Ua(Rn,{children:o}),Ua(Kh,{children:e.children}),a&&Ua("span",{className:"k-card-header-actions",children:Ua(p,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as _h}from"react/jsx-runtime";var wh="k-card-footer",Ii=e=>{let{...t}=e;return _h("div",{...t,className:r(e.className,wh),children:e.children})};import{Fragment as Hh,jsx as Fa,jsxs as zh}from"react/jsx-runtime";var Dh="k-card-body",Be=e=>{let{title:t,subtitle:o,details:a,...n}=e;return zh("div",{...n,className:r(e.className,Dh),children:[t&&Fa(mo,{children:t}),o&&Fa(Rn,{children:o}),Fa(Hh,{children:e.children}),a&&Fa("span",{className:"k-card-header-actions",children:Fa(p,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as Vh}from"react/jsx-runtime";var Ad="k-card-deck",Gh=[],Uh={},Fh={},la=e=>{let{...t}=e;return Vh("div",{...t,className:r(e.className,Ad),children:e.children})};la.states=Gh;la.options=Uh;la.className=Ad;la.defaultOptions=Fh;la.moduleName=Ye;la.folderName=dt;import{jsx as Jh}from"react/jsx-runtime";var Td="k-card-deck-scrollwrap",$h=[],Xh={},Wh={},da=e=>{let{...t}=e;return Jh("div",{...t,className:r(e.className,Td),children:e.children})};da.states=$h;da.options=Xh;da.className=Td;da.defaultOptions=Wh;da.moduleName=Ye;da.folderName=dt;import{Fragment as qh,jsx as pa,jsxs as yd}from"react/jsx-runtime";var Ed=e=>pa(Q,{orientation:"vertical",children:yd(qh,{children:[pa(Et,{children:"Card Header"}),pa(Be,{children:pa("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),yd(G,{className:"k-card-actions",children:[pa(p,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),pa(p,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{Fragment as Yh,jsx as Va,jsxs as Od}from"react/jsx-runtime";var Bd=e=>Va(Q,{orientation:"horizontal",children:Od(Yh,{children:[Va(Be,{title:"Card Title",children:Va("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Od(G,{orientation:"vertical",className:"k-card-actions",children:[Va(p,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),Va(p,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{jsx as M6,jsxs as S6}from"react/jsx-runtime";import{jsx as Pe,jsxs as $a}from"react/jsx-runtime";var Qh=Q.options,Zh=Q.states,Pd={...Q.defaultOptions,variant:"vertical"},jh=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],eN=[{name:"media",title:"Card with Media"},{name:"header",title:"Card with Header"},{name:"footer",title:"Card with Footer"}],ma=e=>{let{variant:t,modifiers:o,...a}={...Pd,...e},n=!1,s=!1,l=!1;return Object.keys(o||{}).forEach(m=>{switch(m){case"media":{n=!!o?.[m];break}case"header":{s=!!o?.[m];break}case"footer":{l=!!o?.[m];break}}}),t==="horizontal"?$a(Bd,{style:{maxWidth:"420px"},...a,children:[n&&Pe(gi,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),$a("div",{children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),Pe(Be,{title:"Title",subtitle:"Subtitle",children:Pe("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Pe(Ii,{children:"Card Footer"})]}),(s||l)&&Pe("span",{className:"k-separator k-separator-vertical"}),$a(G,{orientation:"vertical",alignment:"stretched",className:"k-card-actions",children:[Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]}):$a(Ed,{style:{maxHeight:"450px",width:"300px"},...a,children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),n&&Pe(gi,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Pe(Be,{title:"Title",subtitle:"Subtitle",children:Pe("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Pe(Ii,{children:"Card Footer"}),$a(G,{className:"k-card-actions",children:[Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]})};ma.options=Qh;ma.states=Zh;ma.variants=jh;ma.defaultOptions=Pd;ma.modifiers=eN;ma.className=Q.className;import{jsx as s7,jsxs as l7}from"react/jsx-runtime";import{Fragment as C7,jsx as N7,jsxs as v7}from"react/jsx-runtime";import{Fragment as O7,jsx as y7,jsxs as E7}from"react/jsx-runtime";import{Fragment as H7,jsx as D7,jsxs as z7}from"react/jsx-runtime";var ki="panelbar",Kd=ki;import{jsx as nN}from"react/jsx-runtime";var Rd="k-panelbar",tN=[],oN={},aN={},Me=e=>{let{activeDescendant:t,...o}=e;return nN("ul",{...o,className:r(e.className,Rd),role:"tree","aria-activedescendant":t,children:e.children})};Me.states=tN;Me.options=oN;Me.className=Rd;Me.defaultOptions=aN;Me.moduleName=ki;Me.folderName=Kd;import Ai from"react";import{jsx as _n,jsxs as wd}from"react/jsx-runtime";var _d="k-panelbar-item",rN=[i.hover,i.focus,i.selected,i.disabled],iN={},Dn={level:0,expanded:!1,text:"Item"},k=e=>{let{text:t=Dn.text,level:o=Dn.level,expanded:a=Dn.expanded,header:n,hover:s,focus:l,selected:m,disabled:b,icon:N,iconClass:h,ariaSelected:L,children:c,...M}=e,v=!!c;return wd("li",{...M,className:r(e.className,_d,{"k-panelbar-header":n,[`k-level-${o}`]:o||o===0,"k-expanded":a}),role:"treeitem","aria-expanded":v?a?"true":"false":void 0,"aria-selected":L?"true":"false","aria-disabled":b?"true":void 0,children:[wd("span",{className:r("k-link",I("k-link",{hover:s,focus:l,disabled:b,selected:m})),children:[N&&_n(S,{className:"k-panelbar-item-icon",icon:N}),h&&!N&&_n("span",{className:`k-panelbar-item-icon ${h}`}),_n("span",{className:"k-panelbar-item-text",children:t}),v&&_n(S,{className:r("k-panelbar-toggle",a?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${a?"up":"down"}`})]}),a&&c,!a&&c&&Ai.Children.map(c,g=>Ai.isValidElement(g)?Ai.cloneElement(g,{"aria-hidden":"true",style:{display:"none"}}):g)]})};k.states=rN;k.options=iN;k.className=_d;k.moduleName=null;k.folderName=null;k.defaultOptions=Dn;import{jsx as pN}from"react/jsx-runtime";var Dd="k-panelbar-group",sN=[],lN={},dN={},se=e=>{let{ariaHidden:t,...o}=e;return pN("ul",{...o,className:r(e.className,Dd),role:"group",...t!==void 0&&{"aria-hidden":t?"true":void 0},children:e.children})};se.states=sN;se.options=lN;se.className=Dd;se.moduleName=null;se.folderName=null;se.defaultOptions=dN;import{jsx as fN}from"react/jsx-runtime";var Hd="k-panelbar-content",mN=[],cN={},uN={},le=e=>{let{...t}=e;return fN("div",{...t,className:r(e.className,Hd),children:e.children})};le.states=mN;le.options=cN;le.className=Hd;le.defaultOptions=uN;import{Fragment as bN,jsx as $t,jsxs as xN}from"react/jsx-runtime";var ca=e=>{let t=T("pb-item"),o=T("pb-item"),a=T("pb-item"),n=T("pb-item");return $t(Me,{children:xN(bN,{children:[$t(k,{header:!0,text:"Item 1",id:t,children:$t(le,{children:"content"})}),$t(k,{header:!0,text:"Item 2",id:o,children:$t(le,{children:"content"})}),$t(k,{header:!0,text:"Item 3",id:a,children:$t(le,{children:"content"})}),$t(k,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as c4,jsx as m4,jsxs as u4}from"react/jsx-runtime";import{Fragment as hN,jsx as Ke,jsxs as Ti}from"react/jsx-runtime";var zd=e=>{let t=T("pb-item"),o=T("pb-item"),a=T("pb-item"),n=T("pb-item"),s=T("pb-child"),l=T("pb-child"),m=T("pb-child"),b=T("pb-child"),N=T("pb-child"),h=T("pb-child"),L=T("pb-child");return Ke(Me,{activeDescendant:o,children:Ti(hN,{children:[Ke(k,{header:!0,text:"Item 1",id:t,children:Ke(le,{children:"content"})}),Ke(k,{header:!0,expanded:!0,text:"Item 2",id:o,ariaSelected:!0,focus:!0,children:Ti(se,{children:[Ke(k,{level:1,text:"Child 1",id:s}),Ke(k,{level:1,expanded:!0,text:"Child 2",id:l,children:Ti(se,{children:[Ke(k,{level:2,text:"Child 2.1",id:m}),Ke(k,{level:2,text:"Child 2.2",id:b})]})}),Ke(k,{level:1,text:"Child 3",id:N,children:Ke(se,{children:Ke(k,{level:2,text:"Child 3.1",id:h})})}),Ke(k,{level:1,text:"Child 4",id:L})]})}),Ke(k,{header:!0,text:"Item 3",id:a,children:Ke(le,{children:"content"})}),Ke(k,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as Gd,jsx as ee,jsxs as Hn}from"react/jsx-runtime";var NN=Me.options,vN=Me.states,Ud={...Me.defaultOptions,variant:"normal"},CN=[{name:"normal",title:"Normal"},{name:"expand",title:"Expanded"}],LN=[{name:"icon",title:"Item icons"},{name:"disabled",title:"Disabled item"}],ua=e=>{let{variant:t,modifiers:o,...a}={...Ud,...e},n={},s={folder:"folder",gear:"gear",file:"file",image:"image"};return Object.keys(o||{}).forEach(l=>{switch(l){case"icon":{n.icon=o?.[l]?s:void 0;break}case"disabled":n.disabled=!!o?.[l]}}),t==="expand"?ee(Gd,{children:Hn(zd,{style:{width:"300px"},...a,children:[ee(k,{icon:n.icon?.gear,header:!0,text:"Item 1",children:ee(le,{children:"content"})}),ee(k,{icon:n.icon?.folder,selected:!0,header:!0,expanded:!0,text:"Item 2",children:Hn(se,{children:[ee(k,{level:1,text:"Child 1"}),ee(k,{level:1,expanded:!0,text:"Child 2",children:Hn(se,{children:[ee(k,{level:2,text:"Child 2.1"}),ee(k,{icon:n.icon?.image,level:2,text:"Child 2.2"})]})}),ee(k,{disabled:n.disabled,level:1,text:"Child 3",children:ee(le,{children:"content"})}),ee(k,{level:1,text:"Child 4"})]})}),ee(k,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:ee(le,{children:"content"})}),ee(k,{icon:n.icon?.file,header:!0,text:"Item 4"})]})}):ee(Gd,{children:Hn(ca,{style:{width:"300px"},...a,children:[ee(k,{icon:n.icon?.gear,header:!0,text:"Item 1",children:ee(le,{children:"content"})}),ee(k,{icon:n.icon?.folder,header:!0,text:"Item 2",children:ee(le,{children:"content"})}),ee(k,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:ee(le,{children:"content"})}),ee(k,{icon:n.icon?.file,header:!0,text:"Item 4"})]})})};ua.options=NN;ua.states=vN;ua.variants=CN;ua.defaultOptions=Ud;ua.modifiers=LN;ua.className=Me.className;import{Fragment as Fd,jsx as C,jsxs as de}from"react/jsx-runtime";var MN=F.options,SN=F.states,gN={...F.defaultOptions,variant:"ask"},IN=[{name:"ask",title:"Ask AI"},{name:"output",title:"Output"},{name:"more",title:"More Actions"}],kN=[{name:"stt",title:"SpeechToText"},{name:"suggestions",title:"Suggestions"}],fa=e=>{let{variant:t,modifiers:o,...a}={...e},n=C(Fd,{children:de(st,{layout:"wrap",children:[C(ft,{text:"Post for work-life balance importance"}),C(ft,{text:"Out of office"})]})}),s={suggestions:n,stt:!0};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"suggestions":s.suggestions=!!o?.[l];break;case"stt":s.stt=!!o?.[l];break}}),t){case"more":return C(U,{className:"k-prompt-popup",children:de(F,{style:{width:"330px",height:"350px"},...a,children:[C(ut,{children:de(_,{className:"k-toolbar-flat",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),C(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),C(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0})]})}),C(Ee,{children:C(Oe,{children:de(ca,{children:[C(k,{header:!0,icon:"brush",text:"Change Formality",children:de(se,{children:[C(k,{level:1,text:"Casual"}),C(k,{level:1,text:"Neutral"}),C(k,{level:1,text:"Formal"})]})}),C(k,{header:!0,expanded:!0,icon:"edit-tools",text:"Translate",children:de(se,{children:[C(k,{level:1,text:"German"}),C(k,{level:1,text:"Spanish"})]})}),C(k,{header:!0,icon:"min-width",text:"Simplify"}),C(k,{header:!0,icon:"arrows-left-right",text:"Expand"})]})})})]})});case"output":return C(U,{className:"k-prompt-popup",children:de(F,{style:{width:"330px",height:"350px"},...a,children:[C(ut,{children:de(_,{className:"k-toolbar-flat",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),C(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),C(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),de(Ee,{children:[C(so,{}),C(Oe,{children:de("div",{className:"k-card-list",children:[de(Q,{children:[C(Et,{title:"Generated with AI",subtitle:"Linked in post for work/life balance importance"}),C(Be,{children:de("p",{children:["\u{1F31F} Embracing Work/Life Balance for Success \u{1F31F}",C("br",{}),C("br",{}),"Hello LinkedIn network! \u{1F44B} Today, let's talk about a key to our well-being: work/life balance. \u{1F310}\u2696\uFE0F",C("br",{}),C("br",{}),"In our fast-paced world, balancing professional and personal life is not just a luxury, it's a necessity for health and productivity. \u{1F4C8}\u{1F33F}",C("br",{}),C("br",{}),"\u2728 Key Points \u2728",C("br",{}),C("br",{}),"Enhances Productivity: Less burnout, more motivation. \u{1F680}",C("br",{}),"Boosts Creativity: New experiences = fresh ideas. \u{1F4A1}",C("br",{}),"Improves Health: Mental and physical benefits. \u{1F9D8}\u200D\u2642\uFE0F",C("br",{}),"Strengthens Relationships: Quality time matters. \u{1F91D}",C("br",{}),"Let's champion a culture where success and well-being go hand in hand. Share your work/life balance tips below! \u{1F447}",C("br",{}),C("br",{}),"#WorkLifeBalance #Productivity #WellBeing"]})}),de(G,{className:"k-card-actions",alignment:"start",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),C(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),C("span",{className:"k-spacer"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]}),de(Q,{children:[C(Et,{title:"Generated with AI",subtitle:"Out of Office"}),C(Be,{children:de("p",{children:["Subject: Out of Office: [Your Name]",C("br",{}),C("br",{}),"Dear [Recipient's Name],",C("br",{}),C("br",{}),"I am currently out of the office until [Return Date] and won't have access to email. For urgent matters, please contact [Colleague's Name] at [Colleague's Email]. I'll respond to your email upon my return.",C("br",{}),C("br",{}),"Thank you,",C("br",{}),"[Your Name]"]})}),de(G,{className:"k-card-actions",alignment:"start",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),C(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),C("span",{className:"k-spacer"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]})]})})]})]})});default:return C(U,{className:"k-prompt-popup",children:de(F,{style:{width:"330px",height:"350px"},...a,children:[C(ut,{children:de(_,{className:"k-toolbar-flat",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),C(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),C(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),C(Ee,{children:de(Oe,{children:[C(Y,{resize:"none",rows:2,placeholder:"Ask or generate content with AI",suffixSeparator:!1,suffix:C(Fd,{children:s.stt?C(te,{fillMode:"flat"}):null})}),C(gn,{expanded:s.suggestions,title:"Suggestions",children:n})]})}),C(qo,{children:C(G,{className:"k-prompt-actions",alignment:"start",children:C(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})})}};fa.options=MN;fa.states=SN;fa.variants=IN;fa.defaultOptions=gN;fa.modifiers=kN;fa.className=F.className;import{Fragment as ON,jsx as pt,jsxs as zn}from"react/jsx-runtime";var AN=F.options,TN=F.states,yN={...F.defaultOptions},EN=[{name:"commands",title:"Commands Menu",default:!0},{name:"stt",title:"SpeechToText",default:!0},{name:"response",title:"Response Card"},{name:"generating",title:"Generating"}],ba=e=>{let{modifiers:t,...o}={...e},a={commands:!0,stt:!0};Object.keys(t||{}).forEach(s=>{switch(s){case"commands":a.commands=t?.[s]?!0:void 0;break;case"stt":a.stt=t?.[s]?!0:void 0;break;case"response":a.response=t?.[s]?!0:void 0;break;case"generating":a.generating=t?.[s]?!0:void 0;break;default:return}});let n=zn(Q,{children:[pt(Be,{style:{maxHeight:"150px",overflowY:"auto"},children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,"}),zn(G,{className:"k-card-actions",alignment:"start",children:[pt(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),pt(R,{fillMode:"flat",themeColor:"primary",icon:"insert-bottom",children:"Insert"}),pt(R,{fillMode:"flat",themeColor:"primary",icon:"check",children:"Replace"}),pt(R,{fillMode:"flat",themeColor:"base",icon:"cancel",children:"Discard"})]})]});return pt(U,{className:"k-prompt-popup",children:pt(F,{style:{width:"450px",height:"auto"},...o,children:pt(Ee,{children:zn(Oe,{children:[a.response?n:null,pt(Y,{rows:1,placeholder:"Edit, generate or explain ...",resize:"none",flow:"horizontal",prefixSeparator:a.commands&&a.stt,suffixSeparator:!1,prefix:zn(ON,{children:[a.commands?pt(V,{fillMode:"flat",icon:"menu"}):null,a.stt?pt(te,{fillMode:"flat"}):null]}),suffix:pt(Mt,{generating:!!a.generating})})]})})})})};ba.options=AN;ba.states=TN;ba.variants=[];ba.defaultOptions=yN;ba.modifiers=EN;ba.className=F.className;import{jsx as Ue,jsxs as Xa}from"react/jsx-runtime";var _8=e=>Xa(F,{...e,children:[Ue(ut,{children:Xa(_,{fillMode:"flat",children:[Ue(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),Ue(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),Ue(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0,"aria-label":"More actions"})]})}),Ue(Ee,{children:Ue(Oe,{children:Xa(ca,{children:[Ue(k,{header:!0,text:"Command"}),Ue(k,{header:!0,expanded:!0,text:"Command Expanded",children:Xa(se,{children:[Ue(k,{level:1,expanded:!0,text:"Child Expanded",children:Xa(se,{children:[Ue(k,{level:2,text:"Child"}),Ue(k,{level:2,text:"Child"}),Ue(k,{level:2,text:"Child"})]})}),Ue(k,{level:1,text:"Child"})]})}),Ue(k,{header:!0,text:"Command"})]})})})]});export{_8 as PromptMoreActions};