@progress/kendo-themes-html 14.7.1-dev.4 → 14.7.1-dev.6

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 (103) hide show
  1. package/dist/cjs/chat/chat-message.spec.js +1 -1
  2. package/dist/cjs/chat/demos/chat.js +1 -1
  3. package/dist/cjs/chat/templates/chat-empty.js +1 -1
  4. package/dist/cjs/chat/templates/chat-expandable.js +1 -1
  5. package/dist/cjs/chat/templates/chat-failed.js +1 -1
  6. package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
  7. package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
  8. package/dist/cjs/chat/templates/chat-normal.js +1 -1
  9. package/dist/cjs/chat/templates/chat-pinned.js +1 -1
  10. package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
  11. package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
  12. package/dist/cjs/chat/templates/chat-typing.js +1 -1
  13. package/dist/cjs/chat/templates/chat-upload.js +1 -1
  14. package/dist/cjs/datainsights-composer/demos/datainsights-composer.js +1 -1
  15. package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.js +1 -1
  16. package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.js +1 -1
  17. package/dist/cjs/datainsights-composer/templates/datainsights-composer-error.js +1 -1
  18. package/dist/cjs/datainsights-composer/templates/datainsights-composer-followup.js +1 -1
  19. package/dist/cjs/datainsights-composer/templates/datainsights-composer-history-popup.js +1 -1
  20. package/dist/cjs/datainsights-composer/templates/datainsights-composer-loading.js +1 -1
  21. package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.js +1 -1
  22. package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt.js +1 -1
  23. package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.js +1 -0
  24. package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel.js +1 -1
  25. package/dist/cjs/datainsights-composer/templates/datainsights-composer-report.js +1 -1
  26. package/dist/cjs/index.js +8 -8
  27. package/dist/cjs/prompt/demos/prompt.js +1 -1
  28. package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
  29. package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
  30. package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
  31. package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
  32. package/dist/cjs/prompt/templates/prompt-output.js +1 -1
  33. package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
  34. package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
  35. package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
  36. package/dist/cjs/suggestion/suggestion.js +1 -1
  37. package/dist/cjs/suggestion/templates/suggestion-group-normal.js +1 -1
  38. package/dist/cjs/suggestion/templates/suggestion-group-scrollable-buttons.js +1 -1
  39. package/dist/cjs/suggestion/templates/suggestion-group-wrap.js +1 -1
  40. package/dist/cjs/timepicker/demos/timepicker.js +1 -1
  41. package/dist/cjs/timepicker/templates/timepicker-adaptive.js +1 -1
  42. package/dist/cjs/timepicker/templates/timepicker-disabled.js +1 -1
  43. package/dist/cjs/timepicker/templates/timepicker-invalid.js +1 -1
  44. package/dist/cjs/timepicker/templates/timepicker-normal.js +1 -1
  45. package/dist/cjs/timepicker/templates/timepicker-popup.js +1 -1
  46. package/dist/cjs/timepicker/timepicker.spec.js +1 -1
  47. package/dist/esm/chat/chat-message.spec.mjs +1 -1
  48. package/dist/esm/chat/demos/chat.mjs +1 -1
  49. package/dist/esm/chat/templates/chat-empty.mjs +1 -1
  50. package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
  51. package/dist/esm/chat/templates/chat-failed.mjs +1 -1
  52. package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
  53. package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
  54. package/dist/esm/chat/templates/chat-normal.mjs +1 -1
  55. package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
  56. package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
  57. package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
  58. package/dist/esm/chat/templates/chat-typing.mjs +1 -1
  59. package/dist/esm/chat/templates/chat-upload.mjs +1 -1
  60. package/dist/esm/datainsights-composer/demos/datainsights-composer.mjs +1 -1
  61. package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.mjs +1 -1
  62. package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.mjs +1 -1
  63. package/dist/esm/datainsights-composer/templates/datainsights-composer-error.mjs +1 -1
  64. package/dist/esm/datainsights-composer/templates/datainsights-composer-followup.mjs +1 -1
  65. package/dist/esm/datainsights-composer/templates/datainsights-composer-history-popup.mjs +1 -1
  66. package/dist/esm/datainsights-composer/templates/datainsights-composer-loading.mjs +1 -1
  67. package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.mjs +1 -1
  68. package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt.mjs +1 -1
  69. package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.mjs +1 -0
  70. package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel.mjs +1 -1
  71. package/dist/esm/datainsights-composer/templates/datainsights-composer-report.mjs +1 -1
  72. package/dist/esm/index.mjs +8 -8
  73. package/dist/esm/prompt/demos/prompt.mjs +1 -1
  74. package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
  75. package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
  76. package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
  77. package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
  78. package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
  79. package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
  80. package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
  81. package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
  82. package/dist/esm/suggestion/suggestion.mjs +1 -1
  83. package/dist/esm/suggestion/templates/suggestion-group-normal.mjs +1 -1
  84. package/dist/esm/suggestion/templates/suggestion-group-scrollable-buttons.mjs +1 -1
  85. package/dist/esm/suggestion/templates/suggestion-group-wrap.mjs +1 -1
  86. package/dist/esm/timepicker/demos/timepicker.mjs +1 -1
  87. package/dist/esm/timepicker/templates/timepicker-adaptive.mjs +1 -1
  88. package/dist/esm/timepicker/templates/timepicker-disabled.mjs +1 -1
  89. package/dist/esm/timepicker/templates/timepicker-invalid.mjs +1 -1
  90. package/dist/esm/timepicker/templates/timepicker-normal.mjs +1 -1
  91. package/dist/esm/timepicker/templates/timepicker-popup.mjs +1 -1
  92. package/dist/esm/timepicker/timepicker.spec.mjs +1 -1
  93. package/dist/types/datainsights-composer/index.d.ts +1 -0
  94. package/dist/types/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.d.ts +2 -0
  95. package/package.json +1 -1
  96. package/src/action-sheet/tests/action-sheet-date-time-selector.tsx +1 -1
  97. package/src/action-sheet/tests/action-sheet-time-selector.tsx +2 -2
  98. package/src/datainsights-composer/index.ts +1 -0
  99. package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.tsx +65 -0
  100. package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel.tsx +3 -3
  101. package/src/datainsights-composer/tests/datainsights-composer-edit-mode-compact.tsx +10 -0
  102. package/src/suggestion/suggestion.tsx +3 -2
  103. package/src/timepicker/timepicker.spec.tsx +1 -1
@@ -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:f,disabled:N,indeterminate:h,loading:M,empty:c,readonly:C,highlighted:g,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":f,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":M,"k-empty":c,"k-readonly":C,"k-highlighted":g},Object.keys(S).reduce((y,T)=>(T.startsWith("k-")?y[T]=S[T]:y[`k-${T}`]=S[T],y),{}))};function Pi(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",tint:"tint",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"},Ki={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Xn={};function E(e){return Xn[e]=(Xn[e]||0)+1,`k-${e}-${Xn[e]}`}import{Fragment as Jd,jsx as Ri}from"react/jsx-runtime";var Wn="k-font-icon",$d=[],Xd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info]},Wd={},Na=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...l}=e;return a?Ri("span",{...l,className:r(e.className,Wn,A(Wn,{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"}):Ri(Jd,{})};Na.states=$d;Na.options=Xd;Na.className=Wn;Na.defaultOptions=Wd;var wi=Na;import{Fragment as Qd,jsx as Ya}from"react/jsx-runtime";var Jn="k-svg-icon",qd=[],Yd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.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]},qn={viewBox:"0 0 24 24",variant:bt.outline},va=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=qn.viewBox,variant:l=qn.variant,icon:m,...f}=e;if(!m)return Ya(Qd,{});if(m==="none")return Ya("span",{...f,className:r(e.className,Jn,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 Ya("span",{...f,className:r(e.className,Jn,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:Ya("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})})};va.states=qd;va.options=Yd;va.className=Jn;va.defaultOptions=qn;var Yn=va;import*as Qn from"@progress/kendo-svg-icons";var _i="icon",Di="icons";import{useContext as jd}from"react";import{createContext as Zd}from"react";var Hi=Zd({iconsType:"svg"});import{Fragment as zi,jsx as Ca}from"react/jsx-runtime";var Qa="k-icon",ep=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),tp=[],op={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.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]},Za={viewBox:"0 0 24 24",type:"svg",variant:bt.outline},L=e=>{let{iconsType:t}=jd(Hi),{size:o,themeColor:a,icon:n,type:s=t||Za.type,rotate:l,flip:m,viewBox:f=Za.viewBox,variant:N=Za.variant,...h}=e;if(!n)return Ca(zi,{});if((t||s)==="svg"){if(n==="none")return Ca(Yn,{...h,className:r(e.className,Qa),icon:n,size:o,variant:N});let c=Qn[n]?n:ep(`${n}-icon`);return Qn[c]?Ca(Yn,{...h,className:r(e.className,Qa),icon:Qn[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:f,variant:N}):Ca(zi,{})}return Ca(wi,{...h,className:r(e.className,Qa),icon:n,size:o,themeColor:a,rotate:l,flip:m})};L.states=tp;L.options=op;L.defaultOptions=Za;L.className=Qa;L.moduleName=_i;L.folderName=Di;var Zn="button",Gi=Zn;import{Fragment as jn,jsx as Bt,jsxs as Ui}from"react/jsx-runtime";var La="k-button",ap=["icon-button"],np=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],rp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},er={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:l=er.showArrow,arrowIconName:m=er.arrowIconName,variant:f,hover:N,focus:h,active:M,selected:c,disabled:C,togglable:g,ariaDisabled:S,icon:y,endIcon:T,iconSize:K,text:V,iconClassName:ie,className:he,...me}=e,ue=y!=null,xa=e.children!==void 0;return Ui(t,{className:r(he,La,Pi(La,f),A(La,{size:o,rounded:a,fillMode:n,themeColor:s}),I(La,{hover:N,focus:h,active:M,disabled:C||S,selected:c}),{"k-icon-button":!V&&!xa&&ue}),"aria-pressed":g?c?"true":"false":void 0,...me,"aria-disabled":S?"true":void 0,disabled:C||void 0,children:[typeof y=="string"&&y&&Bt(L,{className:r(ie,"k-button-icon"),icon:y,size:K}),y&&typeof y!="string"&&Bt(jn,{children:y}),V?Ui(jn,{children:[V&&Bt("span",{className:"k-button-text",children:V}),e.children]}):e.children&&Bt("span",{className:"k-button-text",children:e.children}),typeof T=="string"&&T&&Bt(L,{className:r(ie,"k-button-icon"),icon:T,size:K}),T&&typeof T!="string"&&Bt(jn,{children:T}),l&&Bt("span",{className:"k-menu-button-arrow k-button-arrow",children:Bt(L,{icon:m})})]})};d.states=np;d.options=rp;d.variants=ap;d.className=La;d.defaultOptions=er;d.moduleName=Zn;d.folderName=Gi;import{jsx as ip}from"react/jsx-runtime";var $=e=>ip(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as sp}from"react/jsx-runtime";var R=e=>sp(d,{icon:"folder",children:"Button",...e});import{jsx as gv}from"react/jsx-runtime";import{jsx as lp}from"react/jsx-runtime";var Jt=e=>lp(d,{children:"Button",...e});import{jsx as tr}from"react/jsx-runtime";var dp=d.options,pp=d.states,mp={...d.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 tr($,{...o,icon:"star"});case"icon-and-text":return tr(R,{...o,icon:"star",children:"Button"});default:return tr(Jt,{...o,children:"Button"})}};uo.options=dp;uo.states=pp;uo.variants=cp;uo.defaultOptions=mp;uo.modifiers=up;uo.className=d.className;var or="button",Fi=or;import{jsx as hp}from"react/jsx-runtime";var Ma="k-button-group",fp=[i.disabled],bp={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},xp={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return hp("div",{role:"group",...n,className:r(e.className,Ma,A(Ma,{fillMode:t}),I(Ma,{disabled:o}),{[`${Ma}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=fp;O.options=bp;O.className=Ma;O.defaultOptions=xp;O.moduleName=or;O.folderName=Fi;import{Fragment as Qv,jsx as Yv,jsxs as Zv}from"react/jsx-runtime";import{Fragment as nC,jsx as aC,jsxs as rC}from"react/jsx-runtime";import{Fragment as mC,jsx as pC,jsxs as cC}from"react/jsx-runtime";import{Fragment as NC,jsx as hC,jsxs as vC}from"react/jsx-runtime";import{Fragment as IC,jsx as SC,jsxs as kC}from"react/jsx-runtime";import{Fragment as OC,jsx as BC,jsxs as PC}from"react/jsx-runtime";import{Fragment as HC,jsx as DC,jsxs as zC}from"react/jsx-runtime";import{jsx as gt,jsxs as ar}from"react/jsx-runtime";var Np={...d.options,...O.options},vp=d.states,Cp={...d.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"?ar(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,icon:"star"}),gt(d,{...a,icon:"star"}),gt(d,{...a,icon:"star"})]}):t==="icon-text-button"?ar(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,icon:"star",children:"First"}),gt(d,{...a,icon:"star",children:"Middle"}),gt(d,{...a,icon:"star",children:"Last"})]}):ar(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,children:"First"}),gt(d,{...a,children:"Middle"}),gt(d,{...a,children:"Last"})]})};fo.options=Np;fo.states=vp;fo.variants=Lp;fo.defaultOptions=Cp;fo.modifiers=Mp;fo.className=O.className;var ga="input",ja=ga;import{jsx as kp}from"react/jsx-runtime";var en="k-input",gp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Sp={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ip={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:f,rounded:N,fillMode:h,...M}=e;return kp("span",{...M,className:r(e.className,en,A(en,{size:f,rounded:N,fillMode:h}),I(en,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m}))})};Z.states=gp;Z.options=Sp;Z.className=en;Z.defaultOptions=Ip;Z.moduleName=ga;Z.folderName=ja;import{jsx as Ep}from"react/jsx-runtime";var tn="k-picker",Ap=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Tp={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},yp={},xt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:f,rounded:N,fillMode:h,...M}=e;return Ep("span",{...M,className:r(e.className,tn,A(tn,{size:f,rounded:N,fillMode:h}),I(tn,{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=tn;xt.defaultOptions=yp;xt.moduleName=ga;xt.folderName=ja;import{Fragment as Pp,jsx as nr}from"react/jsx-runtime";var Vi="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?nr(Pp,{}):nr("span",{className:r(e.className,Vi),children:nr(L,{icon:"x"})})};Fe.states=Bp;Fe.options=Op;Fe.className=Vi;import{jsx as wp}from"react/jsx-runtime";var rr="k-input-inner",Kp=[],Rp={},on={type:"text",autocomplete:"off",value:"",placeholder:""},Ve=e=>{let{value:t=on.value,type:o=on.type,placeholder:a=on.placeholder,autocomplete:n=on.autocomplete,disabled:s,readOnly:l,...m}=e;return wp("input",{...m,type:o,className:r(e.className,rr,A(rr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};Ve.states=Kp;Ve.options=Rp;Ve.className=rr;import{jsx as $i,jsxs as Hp}from"react/jsx-runtime";var ir="k-input-inner",_p=[],Dp={},qt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...l}=e;return Hp("span",{...l,className:r(e.className,ir,A(ir,e)),children:[n,!n&&s&&$i(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&$i("span",{className:"k-input-value-text",children:t})]})};qt.states=_p;qt.options=Dp;qt.className=ir;import{jsx as Up}from"react/jsx-runtime";var sr="k-input-inner",zp=[],Gp={},Xi={value:"",placeholder:""},Sa=e=>{let{value:t=Xi.value,placeholder:o=Xi.placeholder,rows:a,disabled:n,...s}=e;return Up("textarea",{...s,className:r(e.className,sr,A(sr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Sa.states=zp;Sa.options=Gp;Sa.className=sr;import{Fragment as Vp,jsx as Wi}from"react/jsx-runtime";var Ji="k-input-loading-icon",Fp=[i.disabled,i.loading],Re=e=>{let{disabled:t,loading:o}=e;return t||!o?Wi(Vp,{}):Wi("span",{className:r(e.className,Ji,"k-icon k-i-loading")})};Re.states=Fp;Re.className=Ji;import{Fragment as Wp,jsx as qi}from"react/jsx-runtime";var Yi="k-input-validation-icon",$p=[i.valid,i.invalid,i.disabled,i.loading],Xp={},ge=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?qi(Wp,{}):qi(L,{className:r(Yi),icon:s})};ge.states=$p;ge.options=Xp;ge.className=Yi;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 Zi}from"react/jsx-runtime";var Qp="k-input-suffix",Zp={direction:"horizontal"},_e=e=>{let{direction:t=Zp.direction,...o}=e;return e.children?Zi("span",{...o,className:r(Qp,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Zi(jp,{})};import{jsx as GL}from"react/jsx-runtime";import{jsx as tm}from"react/jsx-runtime";var em="k-input-suffix-text",lr=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 ji="k-input-separator",om={direction:"vertical"},Se=e=>{let{direction:t=om.direction,...o}=e;return am("span",{...o,className:r(ji,e.className,{[`${ji}-${t}`]:t})})};import{Fragment as es,jsx as ht,jsxs as dr}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,f=t?.prefix,N=t?.suffix,h=t?.["clear-button"],M=t?.["validation-icon"],c=t?.separators;return dr(Z,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:l,style:{width:300},children:[f&&dr(es,{children:[ht(we,{children:ht(L,{icon:"lock"})}),c&&ht(Se,{})]}),ht(Ve,{placeholder:"Placeholder",value:"Value"}),M&&ht(ge,{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&&dr(es,{children:[c&&ht(Se,{}),ht(_e,{children:ht(Jt,{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 ts,jsxs as mm}from"react/jsx-runtime";var os="k-color-preview",dm=[],pm={},Ot=e=>{let{color:t,iconName:o,...a}=e;return mm("span",{...a,className:r(e.className,os,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ts(L,{icon:o,className:"k-color-preview-icon"}),ts("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ot.states=dm;Ot.options=pm;Ot.className=os;var pr="popup",as=pr;import{jsx as ns}from"react/jsx-runtime";var rs="k-animation-container",cm=[],um={},mr={positionMode:"absolute",shown:!0},Nt=e=>{let{positionMode:t=mr.positionMode,shown:o=mr.shown,animationStyle:a,offset:n,...s}=e;return ns("div",{...s,style:{...n,...e.style},className:r(e.className,rs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:ns("div",{className:"k-child-animation-container",style:a,children:e.children})})};Nt.states=cm;Nt.options=um;Nt.className=rs;Nt.defaultOptions=mr;Nt.moduleName=pr;Nt.folderName=as;var cr="popup",is=cr;import{jsx as ss}from"react/jsx-runtime";var ls="k-popup",fm=[],bm={},ds={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=ds.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:l,...m}=e;return ss(Nt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":l,children:ss("div",{...m,className:r(e.className,ls),children:e.children})})};U.states=fm;U.options=bm;U.className=ls;U.defaultOptions=ds;U.moduleName=cr;U.folderName=is;var ur="action-buttons",ps=ur;import{jsx as Nm}from"react/jsx-runtime";var an="k-actions",xm=[],hm={},fr={alignment:"start",orientation:"horizontal"},G=e=>{let{alignment:t=fr.alignment,orientation:o=fr.orientation,...a}=e;return Nm("div",{...a,className:r(an,{[`${an}-${t}`]:t,[`${an}-${o}`]:o},e.className),children:e.children})};G.states=xm;G.options=hm;G.className=an;G.defaultOptions=fr;G.moduleName=ur;G.folderName=ps;import{jsx as Cm}from"react/jsx-runtime";var vm="k-actionsheet-footer",ms={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=ms.alignment,orientation:o=ms.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 br="searchbox",cs=br;import{jsx as Ia,jsxs as gm}from"react/jsx-runtime";var us="k-searchbox",Lm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Mm={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},nn={showIcon:!0,showClearButton:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:f,invalid:N,required:h,loading:M,disabled:c,showIcon:C=nn.showIcon,showClearButton:g=nn.showClearButton,icon:S=nn.icon,"aria-label":y,...T}=e;return gm(Z,{...T,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:f,invalid:N,required:h,loading:M,disabled:c,className:r(e.className,us),children:[C&&Ia(L,{className:"k-input-icon",icon:S}),Ia(Ve,{placeholder:o,value:t,"aria-label":y}),Ia(Re,{...e}),Ia(ge,{...e}),g&&Ia(Fe,{...e})]})};Qe.states=Lm;Qe.options=Mm;Qe.className=us;Qe.defaultOptions=nn;Qe.moduleName=br;Qe.folderName=cs;import{jsx as cg}from"react/jsx-runtime";var xr="textbox",fs=xr;import{Fragment as bs,jsx as Kt,jsxs as hr}from"react/jsx-runtime";var xs="k-textbox",Sm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Im={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},rn={showClearButton:!0,showValidationIcon:!0,separators:!0},Ne=e=>{let{size:t,rounded:o,fillMode:a,separators:n=rn.separators,showClearButton:s=rn.showClearButton,showValidationIcon:l=rn.showValidationIcon,prefix:m,suffix:f,type:N,value:h,placeholder:M,hover:c,focus:C,valid:g,invalid:S,required:y,loading:T,disabled:K,readonly:V,id:ie,"aria-label":he,"aria-describedby":me,...ue}=e;return hr(Z,{...ue,size:t,rounded:o,fillMode:a,hover:c,focus:C,valid:g,invalid:S,required:y,loading:T,disabled:K,readonly:V,className:r(e.className,xs),children:[m&&hr(bs,{children:[Kt(we,{children:m}),n&&Kt(Se,{})]}),Kt(Ve,{id:ie,placeholder:M,value:h,type:N,disabled:K,"aria-label":he,"aria-describedby":me,"aria-invalid":S?"true":void 0}),l&&Kt(ge,{valid:g,invalid:S,loading:T,disabled:K}),Kt(Re,{loading:T,disabled:K}),s&&Kt(Fe,{loading:T,disabled:K,readonly:V,value:h}),f&&hr(bs,{children:[n&&Kt(Se,{}),Kt(_e,{children:f})]})]})};Ne.states=Sm;Ne.options=Im;Ne.className=xs;Ne.defaultOptions=rn;Ne.moduleName=xr;Ne.folderName=fs;var ka=Ne;import{jsx as km}from"react/jsx-runtime";var hs=e=>km(ka,{...e});import{Fragment as Eg,jsx as yg}from"react/jsx-runtime";import{Fragment as wg,jsx as Rg}from"react/jsx-runtime";import{jsx as zg}from"react/jsx-runtime";import{jsx as Nr}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]?Nr(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Nr(Jt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Nr(hs,{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 vr}from"react/jsx-runtime";var Ns="k-actionsheet-titlebar",Om={},Ie=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:l,inputValue:m,inputPlaceholder:f,adaptive:N,titleId:h,children:M,...c}=e;return vr("div",{...c,className:r(e.className,Ns),children:[vr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Rt("div",{className:"k-actionsheet-actions",children:a}),!M&&vr("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})]}),M&&Rt("div",{className:"k-actionsheet-title",id:h,children:M}),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:f,size:N?"large":"medium","aria-label":t||f||"Input"}):Rt(Qe,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ie.className=Ns;Ie.defaultOptions=Om;import{jsx as Cr,jsxs as wm}from"react/jsx-runtime";var Lr="k-actionsheet-view",Pm=[],Km={},Rm={},ho=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:l,...m}=e,f=n?.type===Ie&&Cr(Ie,{adaptive:t,titleId:l,...n?.props}),N=s?.type===Pt&&Cr(Pt,{...s?.props});return wm("div",{...m,className:r(e.className,Lr,{[`${Lr}-animated`]:o}),children:[f,Cr("div",{className:"k-actionsheet-content",children:a}),N]})};ho.states=Pm;ho.options=Km;ho.className=Lr;ho.defaultOptions=Rm;var Aa="action-sheet",sn=Aa;var Mr="overlay",vs=Mr;import{jsx as zm}from"react/jsx-runtime";var Cs="k-overlay",_m=[],Dm={},Hm={},wt=e=>{let{...t}=e;return zm("div",{...t,className:r(e.className,Cs),children:e.children})};wt.states=_m;wt.options=Dm;wt.className=Cs;wt.defaultOptions=Hm;wt.moduleName=Mr;wt.folderName=vs;import{jsx as ln,jsxs as Fm}from"react/jsx-runtime";var Ls="k-actionsheet",Gm=[],Um={},Ta={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=Ta.side,fullscreen:o=Ta.fullscreen,adaptive:a=Ta.adaptive,overlay:n=Ta.overlay,template:s,children:l,header:m,footer:f,id:N,...h}=e,M=N&&!s&&m?`${N}-title`:void 0;return Fm("div",{className:"k-actionsheet-container",children:[n&&ln(wt,{}),ln(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:ln("div",{...h,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":M,className:r(e.className,Ls,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||ln(ho,{header:m,footer:f,adaptive:a,titleId:M,...e,children:l})})})]})};oe.states=Gm;oe.options=Um;oe.className=Ls;oe.defaultOptions=Ta;oe.moduleName=Aa;oe.folderName=sn;import{jsx as Wm}from"react/jsx-runtime";var Ms="k-actionsheet-container",Vm=[],$m={},Xm={},No=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:Ms,children:t})};No.states=Vm;No.options=$m;No.className=Ms;No.defaultOptions=Xm;No.moduleName=Aa;No.folderName=sn;import{jsx as Jm}from"react/jsx-runtime";var gr=e=>{let{...t}=e;return Jm("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ym,jsx as ya,jsxs as Sr}from"react/jsx-runtime";var Ir="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,...f}=e;return Sr("span",{...f,className:r(e.className,Ir,I(Ir,{hover:n,focus:s,selected:l,disabled:m})),children:[!e.children&&ya(Ym,{children:Sr("span",{className:"k-actionsheet-action",children:[t&&ya("span",{className:"k-icon-wrap",children:ya(L,{className:"k-actionsheet-item-icon",icon:t})}),Sr("span",{className:"k-actionsheet-item-text",children:[o&&ya("span",{className:"k-actionsheet-item-title",children:o}),a&&ya("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};_t.states=qm;_t.className=Ir;import{jsx as HS,jsxs as zS}from"react/jsx-runtime";import{jsx as VS}from"react/jsx-runtime";import{jsx as JS}from"react/jsx-runtime";import{jsx as ZS}from"react/jsx-runtime";import{jsx as fe,jsxs as kr}from"react/jsx-runtime";var Qm=oe.options,Zm=oe.states,Ss={...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}={...Ss,...e},n={},s=kr(gr,{children:[fe(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),fe(_t,{text:"Add to Favorites",iconName:"heart"}),fe(_t,{text:"Upload New",iconName:"upload",disabled:!0}),fe("hr",{className:"k-hr"}),fe(_t,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":n.actionsStart=!!o?.[f],n.actionsEnd=!!o?.[f];break;case"subtitle":n.subtitle=o?.[f]?l:void 0;break;case"footer":n.footer=!!o?.[f];break;default:break}}),t==="adaptive"?fe(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:fe(Ie,{actionsStart:n.actionsStart?fe(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?fe(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?kr(Pt,{alignment:"stretched",children:[fe(d,{text:"Cancel",size:"large",themeColor:"base"}),fe(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):fe(oe,{...a,fullscreen:n.fullScreen,header:fe(Ie,{actionsStart:n.actionsStart?fe(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?fe(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?kr(Pt,{alignment:"stretched",children:[fe(d,{text:"Apply",themeColor:"primary"}),fe(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};vo.options=Qm;vo.states=Zm;vo.variants=jm;vo.defaultOptions=Ss;vo.modifiers=ec;vo.className=oe.className;var Ar="slider",Is=Ar;import{jsx as Co,jsxs as Tr}from"react/jsx-runtime";var Ea="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:f=Ze.showTicks,value:N=Ze.value,min:h=Ze.min,max:M=Ze.max,startValue:c,endValue:C,hover:g,focus:S,active:y,trackStyle:T,dir:K,...V}=e,he=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),me,ue;return o==="horizontal"?(me=K==="rtl"?"chevron-left":"chevron-right",ue=K==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(me="chevron-up",ue="chevron-down"),Tr("div",{...V,className:r(Ea,e.className,I(Ea,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:K,children:[m&&Co(d,{className:"k-button-decrease",rounded:"full",icon:ue,tabIndex:-1,title:"Decrease"}),Tr("div",{className:"k-slider-track-wrap",children:[f&&Co("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Tr("div",{className:"k-slider-track",style:T,children:[Co("div",{className:"k-slider-selection"}),t==="range"&&Co("span",{className:r("k-draghandle","k-draghandle-start",I(Ea,{hover:g,focus:S,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??h,"aria-valuemin":h,"aria-valuemax":C??M,"aria-orientation":he,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":V["aria-label"]?`${V["aria-label"]} start`:"Range start"}),Co("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(Ea,{hover:g,focus:S,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?C??M:N,"aria-valuemin":t==="range"?c??h:h,"aria-valuemax":M,"aria-orientation":he,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?V["aria-label"]?`${V["aria-label"]} end`:"Range end":V["aria-label"]})]})]}),m&&Co(d,{className:"k-button-increase",rounded:"full",icon:me,tabIndex:-1,title:"Increase"})]})};q.states=tc;q.options=oc;q.className=Ea;q.defaultOptions=Ze;q.moduleName=Ar;q.folderName=Is;import{jsx as ks}from"react/jsx-runtime";var As="k-tick",ac=[],nc={},Ts={label:!1},B=e=>{let{style:t,label:o=Ts.label,orientation:a,large:n,text:s,...l}=e;return ks("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,As,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&ks("span",{className:"k-label",children:s})})};B.states=ac;B.options=nc;B.className=As;B.defaultOptions=Ts;import{Fragment as rc,jsx as je,jsxs as ic}from"react/jsx-runtime";var ys=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 Es=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 zI,jsx as HI,jsxs as GI}from"react/jsx-runtime";import{Fragment as XI,jsx as $I,jsxs as WI}from"react/jsx-runtime";import{jsx as dc}from"react/jsx-runtime";var yr=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 Er=e=>pc(q,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as nk,jsx as ak,jsxs as rk}from"react/jsx-runtime";import{Fragment as pk,jsx as dk,jsxs as mk}from"react/jsx-runtime";import{jsx as vt,jsxs as Bs}from"react/jsx-runtime";var mc=q.options,cc=q.states,Os={...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=Os.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"?Bs(Es,{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%"}})]}):Bs(ys,{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=Os;Lo.modifiers=fc;Lo.className=q.className;import{jsx as Ps,jsxs as vc}from"react/jsx-runtime";var Ks="k-spin-button",hc=[],Nc={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Br={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Br.increaseLabel,decreaseLabel:s=Br.decreaseLabel,...l}=e;return vc("span",{...l,className:r(Ks,e.className),children:[Ps(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Ps(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Dt.states=hc;Dt.options=Nc;Dt.className=Ks;Dt.defaultOptions=Br;Dt.moduleName=null;Dt.folderName=null;var Rs="numeric-textbox",ws="numerictextbox";import{Fragment as _s,jsx as St,jsxs as Or}from"react/jsx-runtime";var Ds="k-numerictextbox",Cc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Lc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},dn={showSpinButton:!0,showClearButton:!0,separators:!0},X=e=>{let{size:t,rounded:o,fillMode:a,separators:n=dn.separators,showClearButton:s=dn.showClearButton,showSpinButton:l=dn.showSpinButton,prefix:m,suffix:f,value:N,placeholder:h,hover:M,focus:c,valid:C,invalid:g,required:S,loading:y,disabled:T,readonly:K,id:V,"aria-label":ie,"aria-describedby":he,...me}=e;return Or(Z,{...me,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:y,disabled:T,readonly:K,className:r(e.className,Ds),children:[m&&Or(_s,{children:[St(we,{children:m}),n&&St(Se,{})]}),St(Ve,{id:V,placeholder:h,value:N,role:"spinbutton",disabled:T,"aria-label":ie,"aria-describedby":he,"aria-invalid":g?"true":void 0}),St(ge,{valid:C,invalid:g,loading:y,disabled:T}),St(Re,{loading:y,disabled:T}),s&&St(Fe,{loading:y,disabled:T,readonly:K,value:N}),f&&Or(_s,{children:[n&&St(Se,{}),St(_e,{children:f})]}),l&&St(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:T})]})};X.states=Cc;X.options=Lc;X.className=Ds;X.defaultOptions=dn;X.moduleName=Rs;X.folderName=ws;var Ba=X;import{jsx as Mc}from"react/jsx-runtime";var Hs=e=>Mc(Ba,{...e});import Kr from"react";import{jsx as zs}from"react/jsx-runtime";var gc="k-list-group-sticky-header",Pr=e=>zs("div",{className:r(gc,e.className),children:zs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Ic}from"react/jsx-runtime";var Sc="k-no-data",pn=e=>{let{live:t,...o}=e;return Ic("span",{...o,className:r(Sc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Yt="list",Mo=Yt;import{jsx as Gs,jsxs as Us}from"react/jsx-runtime";var Rr="k-list",kc=[],Ac={size:[p.undefined,p.small,p.medium,p.large]},Tc={},H=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:l,customValue:m,noData:f,screenReaders:N,...h}=e,c=Kr.Children.toArray(a)[0],C=c?.props?.children?Kr.Children.count(c.props.children):Kr.Children.count(a);return Us("div",{...h,className:r(e.className,Rr,A(Rr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,n&&Gs(Pr,{children:n}),a||(f!==void 0?f:Gs(pn,{live:!0,children:"No data found."})),N&&a&&Us(pn,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};H.states=kc;H.options=Ac;H.className=Rr;H.defaultOptions=Tc;H.moduleName=Yt;H.folderName=Mo;import{jsx as Oc}from"react/jsx-runtime";var Fs="k-list-container",yc=[],Ec={},Bc={},go=e=>{let{...t}=e;return Oc("div",{...t,className:r(e.className,Fs),children:e.children})};go.states=yc;go.options=Ec;go.className=Fs;go.defaultOptions=Bc;go.moduleName=Yt;go.folderName=Mo;var Qt="checkbox",So=Qt;import{jsx as Vs}from"react/jsx-runtime";var mn="k-checkbox",Pc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Kc={size:[p.undefined,p.small,p.medium,p.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:f,required:N,size:h,rounded:M,wrapperRole:c,...C}=e;return Vs("span",{className:"k-checkbox-wrap",role:c,children:Vs("input",{...C,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,mn,A(mn,{size:h,rounded:M}),I(mn,{hover:n,focus:s,disabled:l,invalid:m,valid:f,indeterminate:a,checked:o}))})})};$e.states=Pc;$e.options=Kc;$e.className=mn;$e.defaultOptions=Rc;$e.moduleName=Qt;$e.folderName=So;var mt=$e;import{jsx as Dc}from"react/jsx-runtime";var $s="k-checkbox-list",wc=[],_c={},Xs={layout:"vertical"},ke=e=>{let{layout:t=Xs.layout,...o}=e;return Dc("ul",{...o,className:r(e.className,$s,{[`k-list-${t}`]:t}),children:e.children})};ke.states=wc;ke.options=_c;ke.className=$s;ke.defaultOptions=Xs;ke.moduleName=Qt;ke.folderName=So;import{jsx as Uc}from"react/jsx-runtime";var Ws="k-checkbox-list-item",Hc=[],zc={},Gc={},Ae=e=>{let{...t}=e;return Uc("li",{...t,className:r(e.className,Ws),children:e.children})};Ae.states=Hc;Ae.options=zc;Ae.className=Ws;Ae.defaultOptions=Gc;Ae.moduleName=Qt;Ae.folderName=So;import{Fragment as Fc,jsx as Js,jsxs as Vc}from"react/jsx-runtime";var It=({children:e="Label",id:t="cb-label-after",...o})=>Vc(Fc,{children:[Js(mt,{id:t,...o}),Js("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as RA,jsx as KA,jsxs as wA}from"react/jsx-runtime";import{Fragment as GA,jsx as zA,jsxs as UA}from"react/jsx-runtime";import{Fragment as WA,jsx as XA,jsxs as JA}from"react/jsx-runtime";import{jsx as ZA}from"react/jsx-runtime";import{jsx as oT}from"react/jsx-runtime";import{jsx as iT}from"react/jsx-runtime";import{jsx as tt,jsxs as qs}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"?qs(ke,{layout:"horizontal",...o,children:[tt(Ae,{children:tt(It,{id:E("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(It,{id:E("cb"),children:"Label"})}),tt(Ae,{children:tt(It,{id:E("cb"),children:"Label"})})]}):qs(ke,{...o,children:[tt(Ae,{children:tt(It,{id:E("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(It,{id:E("cb"),children:"Label"})}),tt(Ae,{children:tt(It,{id:E("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:E("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 wr="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:f,disabled:N,actions:h,description:M,id:c,...C}=e,g=t||e.children,S=t||(typeof g=="string"?g:void 0);return ru("li",{...C,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":N?"true":void 0,className:r(e.className,wr,I(wr,{hover:l,focus:m,disabled:N,selected:f})),children:[n&&Ao($e,{checked:s,disabled:N,"aria-label":S,tabIndex:-1}),o&&Ao("span",{className:"k-list-item-icon-wrapper",children:Ao(L,{icon:o,className:r("k-list-item-icon",a)})}),Ao("span",{className:"k-list-item-text",children:g}),h&&Ao("div",{className:"k-list-item-actions",children:h}),M&&Ao("span",{className:"k-list-item-description",children:M})]})};P.states=ou;P.options=au;P.className=wr;P.defaultOptions=nu;P.moduleName=Yt;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 _r,jsxs as du}from"react/jsx-runtime";var lu="k-list-content",W=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:_r(Ht,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&_r("div",{className:"k-height-container",children:_r("div",{})})]})};import{jsx as Dr,jsxs as uu}from"react/jsx-runtime";var cn="k-list-sticky-header",pu=[i.hover,i.focus,i.selected],mu={},cu={},un=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:l,selected:m,...f}=e;return Dr("div",{...f,className:r(cn,e.className),children:uu("div",{className:r(`${cn}-item`,I(`${cn}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&Dr($e,{checked:a,indeterminate:n,"aria-label":t}),Dr("span",{className:"k-list-item-text",children:t})]})})};un.states=pu;un.options=mu;un.className=cn;un.defaultOptions=cu;import{Fragment as ey,jsx as jT,jsxs as ty}from"react/jsx-runtime";import{jsx as iy,jsxs as sy}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";var Hr="k-list-optionlabel",fu=[i.hover,i.focus,i.selected,i.disabled],bu={},xu={},fn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return hu("div",{...l,className:r(Hr,I(Hr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};fn.states=fu;fn.options=bu;fn.className=Hr;fn.defaultOptions=xu;import{jsx as Lu}from"react/jsx-runtime";var zr="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(zr,I(zr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};zt.states=Nu;zt.options=vu;zt.className=zr;zt.defaultOptions=Cu;import{Fragment as vy,jsx as Ny,jsxs as Cy}from"react/jsx-runtime";import{Fragment as ky,jsx as Iy,jsxs as Ay}from"react/jsx-runtime";import{Fragment as Ky,jsx as Oy,jsxs as Py}from"react/jsx-runtime";import{Fragment as Gy,jsx as Hy,jsxs as zy}from"react/jsx-runtime";import{jsx as $y}from"react/jsx-runtime";import{Fragment as Qy,jsx as Yy,jsxs as Zy}from"react/jsx-runtime";import{Fragment as nE,jsx as aE,jsxs as rE}from"react/jsx-runtime";var Ys="dropdown-list",Qs="dropdownlist";import{Fragment as Su,jsx as Te,jsxs as Gr}from"react/jsx-runtime";var Zs="k-dropdownlist",Mu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gu={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ur={showValue:!0,arrowIconName:"chevron-down"},ce=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Ur.arrowIconName,showValue:s=Ur.showValue,valueIconName:l,prefix:m,suffix:f,value:N,placeholder:h,hover:M,focus:c,valid:C,invalid:g,required:S,loading:y,disabled:T,readonly:K,popup:V,opened:ie,adaptive:he,adaptiveSettings:me,adaptiveTitle:ue,adaptiveSubtitle:xa,adaptiveFilter:Xt,id:Wt,activeDescendant:ha,"aria-label":Fn,...Vn}=e,$n=Wt?`${Wt}-listbox`:void 0,Oi=Wt?`${Wt}-value`:void 0;return Gr(Su,{children:[Gr(xt,{...Vn,id:Wt,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:y,disabled:T,readonly:K,className:r(e.className,Zs,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ie?"true":"false","aria-controls":ie?$n:void 0,"aria-activedescendant":ie&&ha?ha:void 0,"aria-describedby":ie?Oi:void 0,"aria-disabled":T?"true":void 0,"aria-label":Fn,tabIndex:0,children:[Te(we,{children:m}),Te(qt,{placeholder:h,value:N,showValue:s,valueIconName:l,id:Oi}),Te(ge,{valid:C,invalid:g,loading:y,disabled:T}),Te(Re,{loading:y,disabled:T}),Te(_e,{children:f}),Te(d,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),ie&&V&&Te(U,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:V}),he&&Te(oe,{adaptive:!0,...me,header:Te(Ie,{actionsEnd:Te(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Xt,inputValue:N,inputPlaceholder:h,title:ue,subtitle:xa}),children:Te("div",{className:"k-list-container",children:Te(H,{size:"large",children:Gr(W,{"aria-label":"Options",children:[Te(P,{text:"List item"}),Te(P,{text:"List item"}),Te(P,{text:"List item"})]})})})})]})};ce.states=Mu;ce.options=gu;ce.className=Zs;ce.defaultOptions=Ur;ce.moduleName=Ys;ce.folderName=Qs;import{jsx as zE}from"react/jsx-runtime";import{jsx as XE,jsxs as WE}from"react/jsx-runtime";import{Fragment as oB,jsx as eB,jsxs as tB}from"react/jsx-runtime";import{jsx as sB}from"react/jsx-runtime";import{jsx as uB,jsxs as fB}from"react/jsx-runtime";import{Fragment as gB,jsx as LB,jsxs as MB}from"react/jsx-runtime";import{jsx as TB}from"react/jsx-runtime";import{Fragment as Eu,jsx as Gt,jsxs as js}from"react/jsx-runtime";var Iu=ce.states,ku=ce.defaultOptions,Au=ce.options,Tu=[{name:"opened",title:"Opened"}],yu=[],yo=e=>{let{modifiers:t,...o}=e,a={},n=js(Eu,{children:[Gt("div",{className:"k-list-filter",children:Gt(Qe,{})}),Gt(H,{style:{width:300},size:o.size,children:js(W,{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(ce,{placeholder:"Value",style:{width:300},...o,...a})})};yo.options=Au;yo.states=Iu;yo.variants=yu;yo.defaultOptions=ku;yo.modifiers=Tu;yo.className=ce.className;import{Fragment as YB,jsx as qB}from"react/jsx-runtime";import{Fragment as oO,jsx as tO}from"react/jsx-runtime";import{jsx as iO}from"react/jsx-runtime";import{jsx as Fr}from"react/jsx-runtime";var Bu=X.states,Ou=X.defaultOptions,Pu=X.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]?Fr(ce,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Fr(lr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),Fr(Hs,{value:"Value",style:{width:300},...o,...a})};Eo.options=Pu;Eo.states=Bu;Eo.variants=Ru;Eo.defaultOptions=Ou;Eo.modifiers=Ku;Eo.className=X.className;import{Fragment as Pa,jsx as w,jsxs as ae}from"react/jsx-runtime";var el="k-colorgradient-inputs",wu=[],_u={size:[p.undefined,p.small,p.medium,p.large]},tl={mode:"rgba"},Bo=e=>{let{mode:t=tl.mode,size:o,...a}=e;return ae("div",{...a,className:r(el,"k-hstack"),children:[w("div",{className:"k-vstack",children:w(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ae(Pa,{children:[ae("div",{className:"k-vstack",children:[w(X,{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(X,{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(X,{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(X,{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(Pa,{children:[ae("div",{className:"k-vstack",children:[w(X,{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(X,{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(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ae(Pa,{children:[ae("div",{className:"k-vstack",children:[w(X,{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(X,{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(X,{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(X,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ae(Pa,{children:[ae("div",{className:"k-vstack",children:[w(X,{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(X,{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(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&w(Pa,{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=el;Bo.defaultOptions=tl;import{jsx as Zt,jsxs as jt}from"react/jsx-runtime";var ol="k-colorgradient-color-contrast",Du=[],Hu={},zu={},Oo=()=>jt("div",{className:r(ol,"k-vbox"),children:[jt("div",{className:"k-contrast-ratio",children:[Zt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),jt("span",{className:"k-contrast-validation !k-text-success",children:[Zt(L,{icon:"check"}),Zt(L,{icon:"check"})]})]}),jt("div",{children:[Zt("span",{children:"AA: 4.5"}),jt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Zt(L,{icon:"check"})]})]}),jt("div",{children:[Zt("span",{children:"AAA: 7.0"}),jt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Zt(L,{icon:"x"})]})]})]});Oo.states=Du;Oo.options=Hu;Oo.className=ol;Oo.defaultOptions=zu;var al="color-gradient",nl="colorgradient";import{jsx as ot,jsxs as Ka}from"react/jsx-runtime";var bn="k-colorgradient",Gu=[i.hover,i.focus,i.readonly,i.disabled],Uu={size:[p.undefined,p.small,p.medium,p.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"},be=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:f=Ct.alphaStyleHorizontal,contrast:N=Ct.contrast,dir:h,hover:M,focus:c,hoverHandle:C,focusHandle:g,canvasOrientation:S=Ct.canvasOrientation,role:y,tabIndex:T,...K}=e;return Ka("div",{...K,role:y??"textbox","aria-label":y==="none"?void 0:"Color gradient",tabIndex:T??0,"aria-disabled":n?"true":void 0,className:r(e.className,bn,A(bn,{size:t}),I(bn,{hover:M,focus:c,readonly:a,disabled:n})),dir:h,children:[!S||S==="horizontal"&&Ka("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":C,"k-focus":g}),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})})}),Ka("div",{className:"k-hsv-controls k-hstack",children:[ot(Er,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&ot(Er,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:m})]})]}),S==="vertical"&&Ka("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":C,"k-focus":g}),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})})}),Ka("div",{className:"k-hsv-controls k-vstack",children:[ot(yr,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&ot(yr,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:f})]})]}),ot(Bo,{mode:e.mode,size:t}),N&&ot(Oo,{})]})};be.states=Gu;be.options=Uu;be.className=bn;be.defaultOptions=Ct;be.moduleName=al;be.folderName=nl;import{jsx as Fu}from"react/jsx-runtime";var xn=e=>Fu(be,{...e});import{jsx as $O}from"react/jsx-runtime";import{jsx as qO}from"react/jsx-runtime";import{jsx as Vr}from"react/jsx-runtime";var Vu=be.options,$u=be.states,Xu={...be.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 Vr(xn,{...o,mode:t});case"rgb":return Vr(xn,{...o,mode:t});default:return Vr(xn,{...o,mode:t})}};Po.options=Vu;Po.states=$u;Po.variants=Wu;Po.defaultOptions=Xu;Po.modifiers=Ju;Po.className=be.className;import{jsx as qu}from"react/jsx-runtime";var $r=e=>qu("tr",{role:"row",children:e.children});import{jsx as Zu}from"react/jsx-runtime";var Xr="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,Xr,I(Xr,{hover:a,focus:n,selected:s})),style:m})};Ut.states=Yu;Ut.options=Qu;Ut.className=Xr;Ut.moduleName=null;Ut.folderName=null;var rl="color-palette",il="colorpalette";import{jsx as Ra}from"react/jsx-runtime";var hn="k-colorpalette",ju=[i.disabled],ef={size:[p.undefined,p.small,p.medium,p.large]},sl={columns:10},De=e=>{let{size:t,palette:o,columns:a=sl.columns,tileSize:n,disabled:s,...l}=e,m=[];if(o){let f=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/f)},(h,M)=>{let c=[];N.slice(M*f,(M+1)*f).map((g,S)=>{c.push(Ra(Ut,{color:g,tileSize:n},S))});let C=Ra($r,{children:c},M);m.push(C)})}return Ra("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,hn,I(hn,{disabled:s}),A(hn,{size:t})),children:Ra("table",{className:"k-colorpalette-table",role:"none",children:Ra("tbody",{children:m.length>0?m:e.children})})})};De.states=ju;De.options=ef;De.className=hn;De.defaultOptions=sl;De.moduleName=rl;De.folderName=il;var Nn=De;var wa={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 ll=e=>tf(Nn,{palette:wa.basic,...e});import{jsx as EP}from"react/jsx-runtime";import{jsx as wP,jsxs as _P}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(ll,{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 dl="color-editor",pl="coloreditor";import{jsx as at,jsxs as Ro}from"react/jsx-runtime";var vn="k-coloreditor",pf=[i.focus],mf={size:[p.undefined,p.small,p.medium,p.large]},_a={view:"gradient",palette:wa.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=_a.view,palette:a=_a.palette,color:n,currentColor:s,focus:l,focusView:m,dir:f,group:N,actionButtons:h=_a.actionButtons,canvasOrientation:M=_a.canvasOrientation,...c}=e;return Ro("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",vn,A(vn,{size:t}),I(vn,{focus:l})),dir:f,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(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),at(d,{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(d,{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(be,{focus:m,size:t,canvasOrientation:M,role:"none",tabIndex:-1}):at(De,{palette:a,size:t})}),h&&Ro(G,{className:"k-coloreditor-footer",alignment:"start",children:[at(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),at(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=pf;ne.options=mf;ne.className=vn;ne.defaultOptions=_a;ne.moduleName=dl;ne.folderName=pl;var wo=ne;import{jsx as cK}from"react/jsx-runtime";import{jsx as xK}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var ml=e=>cf(wo,{group:!0,currentColor:"fuchsia",...e});import{jsx as uf}from"react/jsx-runtime";var cl=e=>uf(wo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as ul}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"?ul(cl,{...o,color:"white"}):ul(ml,{...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 fl="color-picker",bl="colorpicker";import{Fragment as Lf,jsx as nt,jsxs as Wr}from"react/jsx-runtime";var xl="k-colorpicker",vf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Cf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},hl={arrowIconName:"chevron-down"},rt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=hl.arrowIconName,prefix:s,suffix:l,value:m,placeholder:f,hover:N,focus:h,valid:M,invalid:c,required:C,disabled:g,valueIconName:S,popup:y,opened:T,adaptive:K,adaptiveSettings:V,adaptiveTitle:ie,adaptiveSubtitle:he,...me}=e,ue="colorpicker-popup";return Wr(Lf,{children:[Wr(xt,{...me,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:M,invalid:c,required:C,disabled:g,role:"combobox","aria-haspopup":"dialog","aria-expanded":T?"true":"false","aria-controls":T||K?ue:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":g?"true":void 0,className:r(e.className,xl,"k-icon-picker"),children:[nt(we,{children:s}),nt(qt,{placeholder:f,value:m,showValue:!1,valueIcon:nt(Ot,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),nt(_e,{children:l}),nt(d,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:g})]}),T&&y&&nt(U,{id:ue,className:"k-colorpicker-popup",children:y}),K&&nt(oe,{adaptive:!0,id:ue,...V,header:nt(Ie,{actionsEnd:nt(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ie,subtitle:he}),footer:Wr(Pt,{children:[nt(d,{text:"Cancel",size:"large"}),nt(d,{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=xl;rt.defaultOptions=hl;rt.moduleName=fl;rt.folderName=bl;var kt=rt;import{jsx as Mf}from"react/jsx-runtime";var Cn=e=>Mf(kt,{...e});import{jsx as jK}from"react/jsx-runtime";import{jsx as nR}from"react/jsx-runtime";import{jsx as lR}from"react/jsx-runtime";import{jsx as cR}from"react/jsx-runtime";import{jsx as xR}from"react/jsx-runtime";import{jsx as CR}from"react/jsx-runtime";import{jsx as eo}from"react/jsx-runtime";var gf=kt.options,Sf=kt.states,Nl={...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}={...Nl,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?eo(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 eo("div",{style:s,children:eo(Cn,{...a,...n})});case"icon":return eo("div",{style:s,children:eo(Cn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return eo("div",{style:s,children:eo(Cn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Do.options=gf;Do.states=Sf;Do.variants=If;Do.defaultOptions=Nl;Do.modifiers=kf;Do.className=kt.className;var Jr="combobox",vl=Jr;import{Fragment as qr,jsx as se,jsxs as Da}from"react/jsx-runtime";var Cl="k-combobox",Af=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Tf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Yr={separators:!0,showClearButton:!0},ye=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Yr.separators,showClearButton:s=Yr.showClearButton,prefix:l,suffix:m,value:f,placeholder:N,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:y,popup:T,opened:K,readonly:V,adaptive:ie,adaptiveSettings:he,adaptiveTitle:me,adaptiveSubtitle:ue,adaptiveCustomValue:xa,id:Xt,autocomplete:Wt,activeDescendant:ha,"aria-label":Fn,...Vn}=e,$n=Xt?`${Xt}-listbox`:void 0;return Da(qr,{children:[Da(Z,{...Vn,size:t,rounded:o,fillMode:a,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:y,readonly:V,className:r(e.className,Cl),children:[l&&Da(qr,{children:[se(we,{children:l}),n&&se(Se,{})]}),se(Ve,{id:Xt,placeholder:N,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":K?"true":"false","aria-controls":K?$n:void 0,"aria-activedescendant":K&&ha?ha:void 0,"aria-autocomplete":Wt,"aria-invalid":C?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Fn,disabled:y,readOnly:V}),se(ge,{valid:c,invalid:C,loading:S,disabled:y}),se(Re,{loading:S,disabled:y}),s&&se(Fe,{loading:S,disabled:y,readonly:V,value:f}),m&&Da(qr,{children:[n&&se(Se,{}),se(_e,{children:m})]}),se(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:y})]}),K&&T&&se(U,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:T}),ie&&se(oe,{adaptive:!0,id:Xt?`${Xt}-adaptive`:void 0,...he,header:se(Ie,{actionsEnd:se(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:N,title:me,subtitle:ue}),children:se("div",{className:"k-list-container",children:se(H,{customValue:xa?se(zt,{text:`Use "${f}"`}):void 0,size:"large",children:Da(W,{"aria-label":me||"Options",children:[se(P,{text:"List item"}),se(P,{text:"List item"}),se(P,{text:"List item"})]})})})})]})};ye.states=Af;ye.options=Tf;ye.className=Cl;ye.defaultOptions=Yr;ye.moduleName=Jr;ye.folderName=vl;var Xe=ye;import{jsx as yf}from"react/jsx-runtime";var Ll=e=>yf(Xe,{...e});import{jsx as ow,jsxs as aw}from"react/jsx-runtime";import{jsx as dw,jsxs as pw}from"react/jsx-runtime";import{jsx as xw,jsxs as hw}from"react/jsx-runtime";import{Fragment as gw,jsx as Mw}from"react/jsx-runtime";import{Fragment as yw,jsx as Tw}from"react/jsx-runtime";import{jsx as Rw,jsxs as ww}from"react/jsx-runtime";import{Fragment as Vw,jsx as Uw,jsxs as Fw}from"react/jsx-runtime";import{jsx as Jw}from"react/jsx-runtime";import{jsx as Zw}from"react/jsx-runtime";import{jsx as n_,jsxs as r_}from"react/jsx-runtime";import{jsx as m_,jsxs as c_}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(H,{style:{width:300},size:o.size,children:Rf(W,{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(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Ft($,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0;break;default:break}}),Ft("div",{children:Ft(Ll,{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 Qr="menu-button",Ml=Qr;import{jsx as Df}from"react/jsx-runtime";var gl="k-menu-button",wf=[i.hover,i.focus,i.active,i.selected,i.disabled],_f={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Zr={showArrow:!0,arrowIconName:"chevron-down"},J=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,icon:h,endIcon:M,text:c,showArrow:C=Zr.showArrow,arrowIconName:g=Zr.arrowIconName,expanded:S,...y}=e;return Df(d,{...y,className:r(e.className,gl),text:c,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,ariaDisabled:N||void 0,icon:h,endIcon:M,showArrow:C,arrowIconName:g,"aria-expanded":S?"true":"false",...!c&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};J.states=wf;J.options=_f;J.className=gl;J.defaultOptions=Zr;J.moduleName=Qr;J.folderName=Ml;import{jsx as $_}from"react/jsx-runtime";import{jsx as q_}from"react/jsx-runtime";import{jsx as j_}from"react/jsx-runtime";import{jsx as a0}from"react/jsx-runtime";var We="menu",it=We;import{jsx as za,jsxs as Sl}from"react/jsx-runtime";var jr="k-menu-item",Hf=[i.hover,i.focus,i.active,i.selected,i.disabled],zf={},Il={iconPosition:"before"},ve=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:f,arrowIconName:N,iconPosition:h=Il.iconPosition,dir:M,children:c,expanded:C,...g}=e,S=N;return S||(S=M==="rtl"?"chevron-left":"chevron-right"),Sl("li",{...g,className:r(e.className,jr,"k-item",I(jr,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":C?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Sl("span",{className:r("k-link k-menu-link"),children:[l&&h==="before"&&za(L,{className:"k-menu-link-icon",icon:l}),za("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&za(L,{className:"k-menu-link-icon",icon:l}),f&&za("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:za(L,{icon:S})})]}),c]})};ve.states=Hf;ve.options=zf;ve.className=jr;ve.defaultOptions=Il;ve.moduleName=We;ve.folderName=it;import{jsx as to,jsxs as kl}from"react/jsx-runtime";var ei="k-menu-item",Gf=[i.hover,i.focus,i.active,i.selected,i.disabled],Uf={},ti={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:f,arrowIconName:N,iconPosition:h=ti.iconPosition,dir:M=ti.dir,children:c,popup:C,expanded:g,actions:S,description:y,...T}=e,K=N;return K||(K=M==="rtl"?"chevron-left":"chevron-right"),kl("li",{role:"menuitem",...T,className:r(e.className,ei,"k-item",I(ei,{focus:o,disabled:s})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":g?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[kl("span",{className:r("k-link k-menu-link",I("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[l&&h==="before"&&to(L,{className:"k-menu-link-icon",icon:l}),to("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&to(L,{className:"k-menu-link-icon",icon:l}),S&&to("span",{className:"k-menu-link-actions",children:S}),f&&to("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:to(L,{icon:K})}),y&&to("span",{className:"k-menu-link-description",children:y})]}),c,C]})};j.states=Gf;j.options=Uf;j.className=ei;j.defaultOptions=ti;j.moduleName=We;j.folderName=it;import{jsx as Xf}from"react/jsx-runtime";var Al="k-menu-scroll-wrapper",Ff=[],Vf={},$f={},oo=e=>{let{className:t,children:o,orientation:a,...n}=e;return Xf("div",{...n,className:r(t,Al,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};oo.states=Ff;oo.options=Vf;oo.className=Al;oo.defaultOptions=$f;oo.moduleName=We;oo.folderName=it;var Tl=oo;import{Fragment as oi,jsx as ao,jsxs as Ln}from"react/jsx-runtime";var Mn="k-menu",Wf=[],Jf={size:[p.undefined,p.small,p.medium,p.large]},gn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},xe=e=>{let{children:t,orientation:o=gn.orientation,header:a=gn.header,scrollable:n,scrollButtonsPosition:s=gn.scrollButtonsPosition,wrapperStyles:l,dir:m,size:f,popup:N,contextMenu:h,...M}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},C=ao("ul",{dir:m,...M,className:r(e.className,"k-reset",Mn,{[`${Mn}-${o}`]:o,"k-header":a},A(Mn,{size:f})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Ln(oi,{children:[n?Ln(Tl,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&Ln(oi,{children:[ao(d,{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"}),ao(d,{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"&&ao(d,{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"}),C,s==="end"&&Ln(oi,{children:[ao(d,{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"}),ao(d,{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"&&ao(d,{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"})]}):C,N]})};xe.states=Wf;xe.options=Jf;xe.className=Mn;xe.defaultOptions=gn;xe.moduleName=We;xe.folderName=it;import{jsx as qf}from"react/jsx-runtime";var ai="k-separator",yl={orientation:"horizontal"},zo=e=>{let{orientation:t=yl.orientation,...o}=e;return qf("li",{...o,className:r(e.className,"k-item",ai,{[`${ai}-${t}`]:t}),role:"separator"})};zo.className=ai;zo.defaultOptions=yl;zo.moduleName=We;zo.folderName=it;import{Fragment as O0,jsx as P0}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";var ni="k-menu-group",Yf=[],Qf={size:[p.undefined,p.small,p.medium,p.large]},Zf={},Ce=e=>{let{children:t,size:o,...a}=e;return jf("ul",{role:"menu",...a,className:r(e.className,ni,A(ni,{size:o})),children:t})};Ce.states=Yf;Ce.options=Qf;Ce.className=ni;Ce.defaultOptions=Zf;Ce.moduleName=We;Ce.folderName=it;import{jsx as U0,jsxs as F0}from"react/jsx-runtime";import{Fragment as eb,jsx as Go,jsxs as tb}from"react/jsx-runtime";var ri=e=>Go(xe,{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 j0,jsx as Q0,jsxs as Z0}from"react/jsx-runtime";import{Fragment as nD,jsx as aD,jsxs as rD}from"react/jsx-runtime";import{Fragment as pD,jsx as dD,jsxs as mD}from"react/jsx-runtime";import{Fragment as xD,jsx as bD,jsxs as hD}from"react/jsx-runtime";import{jsx as no,jsxs as ib}from"react/jsx-runtime";var ob={...xe.options,scrollable:{type:"boolean"}},ab=xe.states,El={...xe.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}={...El,...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]?no(U,{className:"k-menu-popup",offset:s,children:ib(Ce,{children:[no(j,{text:"Item 1"}),no(j,{text:"Item 2"}),no(zo,{}),no(j,{text:"Item 3"})]})}):null)}),t==="vertical"?no(ri,{...a,...n,orientation:"vertical",style:{width:"200px"}}):no(ri,{...a,...n})};Uo.options=ob;Uo.states=ab;Uo.variants=nb;Uo.defaultOptions=El;Uo.modifiers=rb;Uo.className=xe.className;import{Fragment as YD,jsx as JD,jsxs as qD}from"react/jsx-runtime";import{jsx as eH}from"react/jsx-runtime";import{Fragment as mb,jsx as Lt,jsxs as Bl}from"react/jsx-runtime";var sb=d.states,Ol={...d.defaultOptions,variant:"text"},lb=d.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:Bl(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(J,{...a,...n,icon:"star"})});break;case"icon-and-text":l=Lt("div",{children:Lt(J,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=Lt("div",{children:Lt(J,{...a,...n,children:"Dropdown Button"})});break}return Bl(mb,{children:[l,o?.opened&&s]})};Fo.options=lb;Fo.states=sb;Fo.variants=db;Fo.defaultOptions=Ol;Fo.modifiers=pb;Fo.className=J.className;var ii="split-button",Pl=ii;import{Fragment as fb,jsx as si,jsxs as Kl}from"react/jsx-runtime";var li="k-split-button",cb=[i.hover,i.focus,i.active,i.selected,i.disabled],ub={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Rl={arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,icon:h,endIcon:M,text:c,arrowIconName:C=Rl.arrowIconName,popup:g,opened:S,popupId:y,...T}=e;return Kl(fb,{children:[Kl("div",{...T,className:r(e.className,li,"k-button-group",A(li,{rounded:o})),children:[si(d,{text:c,icon:h,endIcon:M,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,...!c&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),si(d,{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":S?"true":"false","aria-controls":S?y:void 0,tabIndex:-1})]}),S&&g&&si(U,{className:"k-menu-popup",children:g})]})};_.states=cb;_.options=ub;_.className=li;_.defaultOptions=Rl;_.moduleName=ii;_.folderName=Pl;var di=_;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 ro="toolbar",Vo=ro;import{Fragment as pi,jsx as z,jsxs as $o}from"react/jsx-runtime";var At="k-toolbar",hb=[i.focus],Nb={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},vb={scrollButtons:"around"},D=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:l,scrollingPosition:m,section:f,...N}=e,h=[],M=(c,C)=>{let g=[];if(c.type===d&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))g.push(z(d,{...c.props,className:`${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===d)g.push(z(d,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===R)g.push(z(R,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===$)g.push(z($,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===J)g.push(z(J,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===di)g.push(z(di,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===O||c.props.className&&c.props.className.includes("k-button-group")){let S=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((T,K)=>{S.push(z(d,{...T.props,className:`${T.props.className?T.props.className:""}`},`${K}-${new Date().getTime()}`))}),g.push(z(O,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:S},`${C}-${new Date().getTime()}`))}else c.type===ye?g.push(z(ye,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===ce?g.push(z(ce,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===rt?g.push(z(rt,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):g.push(c);g.forEach(S=>{h.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((C,g)=>{M(C,g)}),$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`]:f}),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(pi,{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(L,{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(L,{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(pi,{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(L,{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(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&$o(pi,{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(L,{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(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};D.states=hb;D.options=Nb;D.className=At;D.defaultOptions=vb;D.moduleName=ro;D.folderName=Vo;import{jsx as gb}from"react/jsx-runtime";var mi="k-toolbar-item",Cb=[i.focus],Lb={},Mb={},Xo=e=>{let{focus:t,...o}=e;return gb("div",{...o,className:r(e.className,mi,I(mi,{focus:t})),children:e.children})};Xo.states=Cb;Xo.options=Lb;Xo.className=mi;Xo.defaultOptions=Mb;Xo.moduleName=ro;Xo.folderName=Vo;import{jsx as wl}from"react/jsx-runtime";var _l="k-toolbar-popup",Sb=[],Ib={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},kb={},io=e=>{let{size:t,fillMode:o,section:a,...n}=e;return wl(U,{...n,className:r(e.className,_l),children:a?wl("span",{className:r("k-toolbar-items-list",A("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};io.states=Sb;io.options=Ib;io.className=_l;io.defaultOptions=kb;io.moduleName=ro;io.folderName=Vo;var Sn=io;import{jsx as e1}from"react/jsx-runtime";import{jsx as n1}from"react/jsx-runtime";import{jsx as l1}from"react/jsx-runtime";import{jsx as c1}from"react/jsx-runtime";import{jsx as N1,jsxs as v1}from"react/jsx-runtime";import{jsx as g1}from"react/jsx-runtime";import{jsx as Tt,jsxs as Bb}from"react/jsx-runtime";var Ab=_.states,Dl={..._.defaultOptions,variant:"text"},Tb=_.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}={...Dl,...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(_,{...a,...n,icon:"star"})});case"icon-and-text":return Tt("div",{children:Tt(_,{...a,...n,icon:"star",children:"Split Button"})});default:return Tt("div",{children:Tt(_,{...a,...n,children:"Split Button"})})}};Wo.options=Tb;Wo.states=Ab;Wo.variants=yb;Wo.defaultOptions=Dl;Wo.modifiers=Eb;Wo.className=_.className;import{jsx as so,jsxs as Ob}from"react/jsx-runtime";var Hl=e=>so(D,{children:[so(d,{children:"Button"},"toolbar-button"),so(J,{text:"Menu button"},"toolbar-menu-button"),so(_,{children:"Split button"},"toolbar-split-button"),Ob(O,{children:[so(d,{className:"k-group-start",icon:"align-left",children:"Left"}),so(d,{icon:"align-center",children:"Center"}),so(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as j1,jsxs as e2}from"react/jsx-runtime";import{jsx as Je,jsxs as zl}from"react/jsx-runtime";var Gl=e=>Je(D,{scrollable:!0,...e,children:[Je(d,{children:"Button"},"toolbar-button"),Je(J,{text:"Menu button"},"toolbar-menu-button"),Je(_,{children:"Split button"},"toolbar-split-button"),zl(O,{children:[Je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(d,{icon:"align-center",children:"Center"}),Je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Je(d,{children:"Button"},"toolbar-button"),Je(J,{text:"Menu button"},"toolbar-menu-button"),Je(_,{children:"Split button"},"toolbar-split-button"),zl(O,{children:[Je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(d,{icon:"align-center",children:"Center"}),Je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as qe,jsxs as Ul}from"react/jsx-runtime";var Fl=({scrollingPosition:e="start",...t})=>qe(D,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(_,{children:"Split button"},"toolbar-split-button"),Ul(O,{children:[qe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(d,{icon:"align-center",children:"Center"}),qe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(_,{children:"Split button"},"toolbar-split-button"),Ul(O,{children:[qe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(d,{icon:"align-center",children:"Center"}),qe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Pb,jsx as He,jsxs as In}from"react/jsx-runtime";var Vl=({fillMode:e,size:t,...o})=>In(Pb,{children:[He(D,{section:!0,fillMode:e,size:t,children:[He(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),In(O,{fillMode:e,children:[He(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),He(ct,{className:"k-toolbar-button-separator"}),He(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),In(Sn,{size:t,fillMode:e,section:!0,...o,children:[He(_,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),He(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),He(ct,{}),He(J,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),In(O,{fillMode:e,children:[He(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as P2,jsx as B2,jsxs as O2}from"react/jsx-runtime";import{Fragment as V2,jsx as U2,jsxs as F2}from"react/jsx-runtime";import{jsx as Vt}from"react/jsx-runtime";var Kb=D.options,Rb=D.states,$l={...D.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}={...$l,...e};switch(t){case"responsive":return Vt("div",{children:Vt(Vl,{style:{width:"583px"},...o})});case"overlay":return Vt("div",{children:Vt(Fl,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Vt("div",{children:Vt(Gl,{style:{width:"583px"},...o})});default:return Vt("div",{children:Vt(Hl,{style:{width:"583px"},...o})})}};Jo.options=Kb;Jo.states=Rb;Jo.variants=wb;Jo.defaultOptions=$l;Jo.modifiers=_b;Jo.className=D.className;var ci="prompt",Xl=ci;import{Fragment as Gb,jsx as Wl}from"react/jsx-runtime";var Jl="k-prompt",Db=[],Hb={},zb={},F=e=>{let{...t}=e;return Wl("div",{...t,className:r(e.className,Jl),children:Wl(Gb,{children:e.children})})};F.states=Db;F.options=Hb;F.className=Jl;F.defaultOptions=zb;F.moduleName=ci;F.folderName=Xl;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 ql}from"react/jsx-runtime";var Vb="k-prompt-content",Ee=e=>{let{...t}=e;return ql("div",{...t,className:r(e.className,Vb),children:ql($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 Yl,jsxs as qb}from"react/jsx-runtime";var Jb="k-prompt-expander",kn=e=>{let{title:t,children:o,expanded:a,...n}=e,s=E("prompt-expander-content");return qb("div",{...n,className:r(e.className,Jb),children:[Yl(R,{fillMode:"flat",icon:a?"chevron-up":"chevron-down","aria-expanded":a?"true":"false","aria-controls":a?s:void 0,children:t}),a&&Yl("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 wz}from"react/jsx-runtime";import{jsx as Zb}from"react/jsx-runtime";var Ql="k-prompt-send",Zl={generating:!1},Mt=e=>{let{generating:t=Zl.generating,...o}=e;return Zb(d,{...o,className:r(e.className,Ql,{"k-generating":t}),icon:t?"stop":"paper-plane",active:t,fillMode:"flat","aria-label":t?"Stop generating":"Send prompt"})};Mt.states=d.states;Mt.options=d.options;Mt.className=Ql;Mt.moduleName=null;Mt.folderName=null;Mt.defaultOptions=Zl;import{jsx as jl,jsxs as ax}from"react/jsx-runtime";var An="k-fab",tx=[i.hover,i.focus,i.active,i.selected,i.disabled],ox={size:[p.undefined,p.small,p.medium,p.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]},ed={type:"button"},re=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:s,type:l=ed.type,position:m,hover:f,focus:N,active:h,selected:M,disabled:c,...C}=e;return ax("button",{...C,type:l,className:r(e.className,An,A(An,{size:t,rounded:o,themeColor:a}),I(An,{hover:f,focus:N,active:h,disabled:c,selected:M}),{[`!k-pos-absolute k-${m}`]:m}),...!n&&s&&!e["aria-label"]&&{"aria-label":"Action"},...c&&{"aria-disabled":"true"},disabled:c||void 0,children:[s&&jl(L,{className:"k-fab-icon",icon:s}),n&&jl("span",{className:"k-fab-text",children:n})]})};re.states=tx;re.options=ox;re.className=An;re.defaultOptions=ed;re.moduleName="fab";re.folderName="fab";import{jsx as rx}from"react/jsx-runtime";var nx="k-fab-items",td=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 ad,jsxs as sx}from"react/jsx-runtime";var od="k-fab-item",ix=[i.hover,i.focus,i.active,i.disabled],ui=e=>{let{text:t,icon:o,align:a,hover:n,focus:s,active:l,disabled:m,...f}=e;return sx("li",{...f,className:r(e.className,od,{[`k-text-${a}`]:a},I(od,{hover:n,focus:s,active:l,disabled:m})),children:[ad("span",{className:"k-fab-item-text",children:t}),ad(L,{className:"k-fab-item-icon",icon:o})]})};ui.states=ix;import{jsx as r3}from"react/jsx-runtime";import{jsx as d3}from"react/jsx-runtime";import{jsx as u3}from"react/jsx-runtime";import{jsx as h3}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(td,{position:"bottom",children:Yo(ui,{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 nd="k-prompt-stop-fab",rd={generating:!0},lo=e=>{let{generating:t=rd.generating,icon:o,...a}=e;return fx(re,{...a,className:r(e.className,nd,{"k-generating":t}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:t?"stop":o,active:t,"aria-label":t?"Stop generating":"Action"})};lo.states=d.states;lo.options=d.options;lo.className=nd;lo.defaultOptions=rd;var fi="speech-to-text-button",id=fi;import{jsx as bx}from"react/jsx-runtime";var sd="k-speech-to-text-button",ld={icon:"microphone"},te=e=>{let{listening:t=!1,icon:o=ld.icon,...a}=e;return bx(d,{...a,icon:t?"stop":o,className:r(e.className,sd,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};te.states=d.states;te.options=d.options;te.className=sd;te.defaultOptions=ld;te.moduleName=fi;te.folderName=id;import{jsx as e5}from"react/jsx-runtime";import{jsx as n5}from"react/jsx-runtime";import{jsx as Cx}from"react/jsx-runtime";var xx=d.states,dd={...d.defaultOptions,variant:"normal"},hx={...d.options,fillMode:d.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Nx=[],vx=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],Zo=e=>{let{variant:t,...o}={...dd,...e},a={};return t==="listening"&&(a.listening=!0),Cx(te,{...o,...a})};Zo.options=hx;Zo.states=xx;Zo.variants=vx;Zo.defaultOptions=dd;Zo.modifiers=Nx;Zo.className=te.className;var bi="textarea",pd=bi;import{Fragment as md,jsx as Ga,jsxs as xi}from"react/jsx-runtime";var cd="k-textarea",Lx=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Mx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.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:f=jo.resize,prefix:N,suffix:h,rows:M,value:c,placeholder:C,hover:g,focus:S,valid:y,invalid:T,required:K,disabled:V,id:ie,"aria-label":he,"aria-describedby":me,...ue}=e;return xi(Z,{...ue,size:t,rounded:o,fillMode:a,hover:g,focus:S,valid:y,invalid:T,required:K,disabled:V,className:r(e.className,cd,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[N&&xi(md,{children:[Ga(we,{className:r({"!k-align-items-start":m===l}),direction:l,children:N}),n&&Ga(Se,{direction:m==="horizontal"?"vertical":"horizontal"})]}),Ga(Sa,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:c,placeholder:C,rows:M,disabled:V,id:ie,"aria-label":he,"aria-describedby":me,"aria-invalid":T?"true":void 0}),h&&xi(md,{children:[s&&Ga(Se,{direction:m==="horizontal"?"vertical":"horizontal"}),Ga(_e,{className:r({"!k-align-items-start":m===l}),direction:l,children:h})]})]})};Y.states=Lx;Y.options=Mx;Y.className=cd;Y.defaultOptions=jo;Y.moduleName=bi;Y.folderName=pd;import{jsx as S5}from"react/jsx-runtime";import{Fragment as E5,jsx as y5}from"react/jsx-runtime";import{Fragment as w5,jsx as R5}from"react/jsx-runtime";import{jsx as z5}from"react/jsx-runtime";import{jsx as Tn}from"react/jsx-runtime";var gx=Y.options,Sx=Y.states,ud={...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}={...ud,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?Tn(L,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?Tn(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?Tn(Y,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):Tn(Y,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};ea.options=gx;ea.states=Sx;ea.variants=Ix;ea.defaultOptions=ud;ea.modifiers=kx;ea.className=Y.className;import{Fragment as dG,jsx as sG,jsxs as lG}from"react/jsx-runtime";var Ni="suggestion",fd=Ni;import{jsx as yn,jsxs as yx}from"react/jsx-runtime";var En="k-suggestion-group",Ax=[],Tx={},bd={layout:"scrollable",scrollingPosition:"start"},st=e=>{let{layout:t=bd.layout,scrollingPosition:o,...a}=e,n=yn("div",{...a,className:r(En,{"k-suggestion-group-scrollable":t=="scrollable",[`${En}-scrollable-start`]:o==="start"||o==="both",[`${En}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?yn("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?yx("div",{className:"k-suggestion-scrollwrap",children:[yn(d,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,yn(d,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};st.states=Ax;st.options=Tx;st.className=En;st.defaultOptions=bd;st.moduleName=Ni;st.folderName=fd;import{jsx as Px}from"react/jsx-runtime";var Bn="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,Bn,I(Bn,{hover:a,active:o,focus:n}),A(Bn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":s,children:s})};ft.states=Ex;ft.options=Bx;ft.className=Bn;ft.item=Ox;import{Fragment as gG,jsx as MG,jsxs as SG}from"react/jsx-runtime";import{Fragment as yG,jsx as TG,jsxs as EG}from"react/jsx-runtime";import{Fragment as RG,jsx as KG,jsxs as wG}from"react/jsx-runtime";import{Fragment as eU,jsx as ZG,jsxs as jG}from"react/jsx-runtime";import{jsx as On}from"react/jsx-runtime";var Kx="k-chip-action";var yt=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=On(L,{icon:"x-circle",size:"small"});break;case"more":a=On(L,{icon:"more-vertical",size:"small"});break;default:return On(L,{icon:t,size:"small"})}return On("span",{...o,className:r(e.className,Kx,`k-chip-${t}-action`),children:a})};var vi="avatar",xd=vi;import{jsx as hd}from"react/jsx-runtime";var Ua="k-avatar";var Rx=[i.hover,i.focus,i.active,i.selected,i.disabled],wx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.outline],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Ci={type:"text",border:!1},ze=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:s=Ci.type,border:l=Ci.border,...m}=e;return hd("div",{...m,className:r(e.className,Ua,A(Ua,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Ua}-bordered`]:l}),children:hd("span",{className:`${Ua}-${s}`,children:e.children})})};ze.states=Rx;ze.options=wx;ze.className=Ua;ze.defaultOptions=Ci;ze.moduleName=vi;ze.folderName=xd;var po=ze;import{jsx as _x}from"react/jsx-runtime";var Nd=e=>_x(po,{type:"icon",...e});import{jsx as Dx}from"react/jsx-runtime";var vd=e=>Dx(po,{type:"text",...e});import{jsx as Hx}from"react/jsx-runtime";var Cd=e=>Hx(po,{type:"image",...e});import{jsx as MU}from"react/jsx-runtime";import{jsx as Fa}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 Fa(Nd,{...o,children:Fa(L,{icon:"star"})});case"text":return Fa(vd,{...o,children:"JO"});default:return Fa(Cd,{...o,children:Fa("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 Va="chip",Pn=Va,Kn="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as oa,jsxs as Wx}from"react/jsx-runtime";var Rn="k-chip",$x=[i.hover,i.focus,i.active,i.selected,i.disabled],Xx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.outline],themeColor:[x.undefined,x.base,x.success,x.warning,x.error,x.info]},Ld={avatarImage:"/packages/html/assets/avatar.jpg"},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:s,icon:l,actions:m,showAvatar:f,avatarImage:N=Ld.avatarImage,hover:h,focus:M,active:c,selected:C,disabled:g,...S}=e;return Wx("div",{...S,className:r(e.className,Rn,A(Rn,{size:t,rounded:o,fillMode:a,themeColor:n}),I(Rn,{hover:h,focus:M,active:c,disabled:g,selected:C})),role:e.role||"button","aria-pressed":e.role==="option"||e.role==="listitem"||e.role==="presentation"||e["aria-haspopup"]?void 0:C?"true":"false",...e.role==="option"&&C!==void 0&&{"aria-selected":C?"true":"false"},"aria-disabled":g?"true":void 0,children:[l&&oa(L,{className:"k-chip-icon",icon:l,size:"small"}),f&&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=Rn;Ge.defaultOptions=Ld;Ge.moduleName=Va;Ge.folderName=Pn;var lt=Ge;import{jsx as Qx}from"react/jsx-runtime";var Li="k-chip-list",Jx=[],qx={size:[p.undefined,p.small,p.medium,p.large]},Yx={},Le=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return Qx("div",{...n,className:r(e.className,Li,A(Li,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:a||"chip list","aria-orientation":e.role==="none"||e.role==="group"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};Le.states=Jx;Le.options=qx;Le.className=Li;Le.defaultOptions=Yx;Le.moduleName=Va;Le.folderName=Pn;import{jsx as ZU}from"react/jsx-runtime";import{jsx as oF}from"react/jsx-runtime";import{jsx as Zx}from"react/jsx-runtime";var wn=e=>Zx(lt,{text:"text",...e});import{jsx as pF}from"react/jsx-runtime";import{jsx as fF}from"react/jsx-runtime";import{Fragment as CF,jsx as vF,jsxs as LF}from"react/jsx-runtime";import{jsx as kF,jsxs as AF}from"react/jsx-runtime";import{jsx as OF,jsxs as PF}from"react/jsx-runtime";import{jsx as HF,jsxs as zF}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?Kn:void 0;return nh(Le,{size:a.size,className:o,children:[aa(wn,{...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(wn,{...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(wn,{...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 Mi}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]?Kn:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[n]?Mi(yt,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[n]?Mi(yt,{type:"remove"}):void 0;break;default:break}}),Mi(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 y9,jsx as A9,jsxs as T9}from"react/jsx-runtime";import{jsx as mh}from"react/jsx-runtime";var ph="k-card-callout",Md=e=>{let{callout:t,...o}=e;return mh("span",{...o,className:r(e.className,ph,{[`k-callout-${Ki.calloutMap[t]||t}`]:t})})};var Ye="card",dt=Ye;import{Fragment as bh,jsx as gd,jsxs as xh}from"react/jsx-runtime";var gi="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,gi,I(gi,{hover:a,focus:n,disabled:l,selected:s}),{[`k-card-${t}`]:t,"k-card-with-callout":o}),children:[o&&o!=="true"&&gd(Md,{callout:o}),gd(bh,{children:e.children})]})};Q.states=ch;Q.options=uh;Q.className=gi;Q.defaultOptions=fh;Q.moduleName=Ye;Q.folderName=dt;import{Fragment as Ch,jsx as Sd}from"react/jsx-runtime";var Si="k-card-list",hh=[],Nh={},vh={},mo=e=>{let{...t}=e;return Sd("div",{...t,className:r(e.className,Si,I(Si,{})),role:"list",children:Sd(Ch,{children:e.children})})};mo.states=hh;mo.options=Nh;mo.className=Si;mo.defaultOptions=vh;mo.moduleName=Ye;mo.folderName=dt;import{jsx as Sh}from"react/jsx-runtime";var Id="k-card-group",Lh=[],Mh={},gh={},ia=e=>{let{...t}=e;return Sh("div",{...t,className:r(e.className,Id),children:e.children})};ia.states=Lh;ia.options=Mh;ia.className=Id;ia.defaultOptions=gh;ia.moduleName=Ye;ia.folderName=dt;import{jsx as Th}from"react/jsx-runtime";var Ii="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,Ii,I(Ii,{focus:t,selected:o})),children:e.children})};sa.states=Ih;sa.options=kh;sa.className=Ii;sa.defaultOptions=Ah;sa.moduleName=Ye;sa.folderName=dt;import{jsx as Eh}from"react/jsx-runtime";var ki="k-card-title",yh=[i.hover,i.focus],co=e=>{let{hover:t,focus:o,...a}=e;return Eh("div",{...a,className:r(e.className,ki,I(ki,{hover:t,focus:o})),children:e.children})};co.states=yh;co.className=ki;import{jsx as Oh}from"react/jsx-runtime";var Bh="k-card-subtitle",_n=e=>{let{...t}=e;return Oh("div",{...t,className:r(e.className,Bh),children:e.children})};import{Fragment as Ad,jsx as Dn}from"react/jsx-runtime";var kd="k-card-media",Ai=e=>{let{src:t,...o}=e;return Dn(Ad,{children:t?Dn("img",{...o,className:r(e.className,kd),src:t}):Dn("span",{...o,className:r(e.className,kd),children:Dn(Ad,{children:e.children})})})};import{Fragment as Kh,jsx as $a,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&&$a(co,{children:t}),o&&$a(_n,{children:o}),$a(Kh,{children:e.children}),a&&$a("span",{className:"k-card-header-actions",children:$a(d,{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",Ti=e=>{let{...t}=e;return _h("div",{...t,className:r(e.className,wh),children:e.children})};import{Fragment as Hh,jsx as Xa,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&&Xa(co,{children:t}),o&&Xa(_n,{children:o}),Xa(Hh,{children:e.children}),a&&Xa("span",{className:"k-card-header-actions",children:Xa(d,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as Vh}from"react/jsx-runtime";var Td="k-card-deck",Gh=[],Uh={},Fh={},la=e=>{let{...t}=e;return Vh("div",{...t,className:r(e.className,Td),children:e.children})};la.states=Gh;la.options=Uh;la.className=Td;la.defaultOptions=Fh;la.moduleName=Ye;la.folderName=dt;import{jsx as Jh}from"react/jsx-runtime";var yd="k-card-deck-scrollwrap",$h=[],Xh={},Wh={},da=e=>{let{...t}=e;return Jh("div",{...t,className:r(e.className,yd),children:e.children})};da.states=$h;da.options=Xh;da.className=yd;da.defaultOptions=Wh;da.moduleName=Ye;da.folderName=dt;import{Fragment as qh,jsx as pa,jsxs as Ed}from"react/jsx-runtime";var Bd=e=>pa(Q,{orientation:"vertical",children:Ed(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."})}),Ed(G,{className:"k-card-actions",children:[pa(d,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),pa(d,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{Fragment as Yh,jsx as Wa,jsxs as Od}from"react/jsx-runtime";var Pd=e=>Wa(Q,{orientation:"horizontal",children:Od(Yh,{children:[Wa(Oe,{title:"Card Title",children:Wa("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:[Wa(d,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),Wa(d,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{jsx as $6,jsxs as X6}from"react/jsx-runtime";import{jsx as Pe,jsxs as Ja}from"react/jsx-runtime";var Qh=Q.options,Zh=Q.states,Kd={...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}={...Kd,...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"?Ja(Pd,{style:{maxWidth:"420px"},...a,children:[n&&Pe(Ai,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Ja("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(Ti,{children:"Card Footer"})]}),(s||l)&&Pe("span",{className:"k-separator k-separator-vertical"}),Ja(G,{orientation:"vertical",alignment:"stretched",className:"k-card-actions",children:[Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]}):Ja(Bd,{style:{maxHeight:"450px",width:"300px"},...a,children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),n&&Pe(Ai,{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(Ti,{children:"Card Footer"}),Ja(G,{className:"k-card-actions",children:[Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]})};ma.options=Qh;ma.states=Zh;ma.variants=jh;ma.defaultOptions=Kd;ma.modifiers=eN;ma.className=Q.className;import{jsx as E7,jsxs as B7}from"react/jsx-runtime";import{Fragment as F7,jsx as G7,jsxs as U7}from"react/jsx-runtime";import{Fragment as e4,jsx as Z7,jsxs as j7}from"react/jsx-runtime";import{Fragment as l4,jsx as s4,jsxs as d4}from"react/jsx-runtime";var yi="panelbar",Rd=yi;import{jsx as nN}from"react/jsx-runtime";var wd="k-panelbar",tN=[],oN={},aN={},Me=e=>{let{activeDescendant:t,...o}=e;return nN("ul",{...o,className:r(e.className,wd),role:"tree","aria-activedescendant":t,children:e.children})};Me.states=tN;Me.options=oN;Me.className=wd;Me.defaultOptions=aN;Me.moduleName=yi;Me.folderName=Rd;import Ei from"react";import{jsx as Hn,jsxs as _d}from"react/jsx-runtime";var Dd="k-panelbar-item",rN=[i.hover,i.focus,i.selected,i.disabled],iN={},zn={level:0,expanded:!1,text:"Item"},k=e=>{let{text:t=zn.text,level:o=zn.level,expanded:a=zn.expanded,header:n,hover:s,focus:l,selected:m,disabled:f,icon:N,iconClass:h,ariaSelected:M,children:c,...C}=e,g=!!c;return _d("li",{...C,className:r(e.className,Dd,{"k-panelbar-header":n,[`k-level-${o}`]:o||o===0,"k-expanded":a}),role:"treeitem","aria-expanded":g?a?"true":"false":void 0,"aria-selected":M?"true":"false","aria-disabled":f?"true":void 0,children:[_d("span",{className:r("k-link",I("k-link",{hover:s,focus:l,disabled:f,selected:m})),children:[N&&Hn(L,{className:"k-panelbar-item-icon",icon:N}),h&&!N&&Hn("span",{className:`k-panelbar-item-icon ${h}`}),Hn("span",{className:"k-panelbar-item-text",children:t}),g&&Hn(L,{className:r("k-panelbar-toggle",a?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${a?"up":"down"}`})]}),a&&c,!a&&c&&Ei.Children.map(c,S=>Ei.isValidElement(S)?Ei.cloneElement(S,{"aria-hidden":"true",style:{display:"none"}}):S)]})};k.states=rN;k.options=iN;k.className=Dd;k.moduleName=null;k.folderName=null;k.defaultOptions=zn;import{jsx as pN}from"react/jsx-runtime";var Hd="k-panelbar-group",sN=[],lN={},dN={},le=e=>{let{ariaHidden:t,...o}=e;return pN("ul",{...o,className:r(e.className,Hd),role:"group",...t!==void 0&&{"aria-hidden":t?"true":void 0},children:e.children})};le.states=sN;le.options=lN;le.className=Hd;le.moduleName=null;le.folderName=null;le.defaultOptions=dN;import{jsx as fN}from"react/jsx-runtime";var zd="k-panelbar-content",mN=[],cN={},uN={},de=e=>{let{...t}=e;return fN("div",{...t,className:r(e.className,zd),children:e.children})};de.states=mN;de.options=cN;de.className=zd;de.defaultOptions=uN;import{Fragment as bN,jsx as $t,jsxs as xN}from"react/jsx-runtime";var ca=e=>{let t=E("pb-item"),o=E("pb-item"),a=E("pb-item"),n=E("pb-item");return $t(Me,{children:xN(bN,{children:[$t(k,{header:!0,text:"Item 1",id:t,children:$t(de,{children:"content"})}),$t(k,{header:!0,text:"Item 2",id:o,children:$t(de,{children:"content"})}),$t(k,{header:!0,text:"Item 3",id:a,children:$t(de,{children:"content"})}),$t(k,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as R4,jsx as K4,jsxs as w4}from"react/jsx-runtime";import{Fragment as hN,jsx as Ke,jsxs as Bi}from"react/jsx-runtime";var Gd=e=>{let t=E("pb-item"),o=E("pb-item"),a=E("pb-item"),n=E("pb-item"),s=E("pb-child"),l=E("pb-child"),m=E("pb-child"),f=E("pb-child"),N=E("pb-child"),h=E("pb-child"),M=E("pb-child");return Ke(Me,{activeDescendant:o,children:Bi(hN,{children:[Ke(k,{header:!0,text:"Item 1",id:t,children:Ke(de,{children:"content"})}),Ke(k,{header:!0,expanded:!0,text:"Item 2",id:o,ariaSelected:!0,focus:!0,children:Bi(le,{children:[Ke(k,{level:1,text:"Child 1",id:s}),Ke(k,{level:1,expanded:!0,text:"Child 2",id:l,children:Bi(le,{children:[Ke(k,{level:2,text:"Child 2.1",id:m}),Ke(k,{level:2,text:"Child 2.2",id:f})]})}),Ke(k,{level:1,text:"Child 3",id:N,children:Ke(le,{children:Ke(k,{level:2,text:"Child 3.1",id:h})})}),Ke(k,{level:1,text:"Child 4",id:M})]})}),Ke(k,{header:!0,text:"Item 3",id:a,children:Ke(de,{children:"content"})}),Ke(k,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as Ud,jsx as ee,jsxs as Gn}from"react/jsx-runtime";var NN=Me.options,vN=Me.states,Fd={...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}={...Fd,...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(Ud,{children:Gn(Gd,{style:{width:"300px"},...a,children:[ee(k,{icon:n.icon?.gear,header:!0,text:"Item 1",children:ee(de,{children:"content"})}),ee(k,{icon:n.icon?.folder,selected:!0,header:!0,expanded:!0,text:"Item 2",children:Gn(le,{children:[ee(k,{level:1,text:"Child 1"}),ee(k,{level:1,expanded:!0,text:"Child 2",children:Gn(le,{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(de,{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(de,{children:"content"})}),ee(k,{icon:n.icon?.file,header:!0,text:"Item 4"})]})}):ee(Ud,{children:Gn(ca,{style:{width:"300px"},...a,children:[ee(k,{icon:n.icon?.gear,header:!0,text:"Item 1",children:ee(de,{children:"content"})}),ee(k,{icon:n.icon?.folder,header:!0,text:"Item 2",children:ee(de,{children:"content"})}),ee(k,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:ee(de,{children:"content"})}),ee(k,{icon:n.icon?.file,header:!0,text:"Item 4"})]})})};ua.options=NN;ua.states=vN;ua.variants=CN;ua.defaultOptions=Fd;ua.modifiers=LN;ua.className=Me.className;import{Fragment as Vd,jsx as v,jsxs as pe}from"react/jsx-runtime";var MN=F.options,gN=F.states,SN={...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=v(Vd,{children:pe(st,{layout:"wrap",children:[v(ft,{text:"Post for work-life balance importance"}),v(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 v(U,{className:"k-prompt-popup",children:pe(F,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:pe(D,{className:"k-toolbar-flat",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),v(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),v($,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0})]})}),v(Ee,{children:v(Be,{children:pe(ca,{children:[v(k,{header:!0,icon:"brush",text:"Change Formality",children:pe(le,{children:[v(k,{level:1,text:"Casual"}),v(k,{level:1,text:"Neutral"}),v(k,{level:1,text:"Formal"})]})}),v(k,{header:!0,expanded:!0,icon:"edit-tools",text:"Translate",children:pe(le,{children:[v(k,{level:1,text:"German"}),v(k,{level:1,text:"Spanish"})]})}),v(k,{header:!0,icon:"min-width",text:"Simplify"}),v(k,{header:!0,icon:"arrows-left-right",text:"Expand"})]})})})]})});case"output":return v(U,{className:"k-prompt-popup",children:pe(F,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:pe(D,{className:"k-toolbar-flat",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),v(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),v($,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),pe(Ee,{children:[v(lo,{}),v(Be,{children:pe("div",{className:"k-card-list",children:[pe(Q,{children:[v(Et,{title:"Generated with AI",subtitle:"Linked in post for work/life balance importance"}),v(Oe,{children:pe("p",{children:["\u{1F31F} Embracing Work/Life Balance for Success \u{1F31F}",v("br",{}),v("br",{}),"Hello LinkedIn network! \u{1F44B} Today, let's talk about a key to our well-being: work/life balance. \u{1F310}\u2696\uFE0F",v("br",{}),v("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}",v("br",{}),v("br",{}),"\u2728 Key Points \u2728",v("br",{}),v("br",{}),"Enhances Productivity: Less burnout, more motivation. \u{1F680}",v("br",{}),"Boosts Creativity: New experiences = fresh ideas. \u{1F4A1}",v("br",{}),"Improves Health: Mental and physical benefits. \u{1F9D8}\u200D\u2642\uFE0F",v("br",{}),"Strengthens Relationships: Quality time matters. \u{1F91D}",v("br",{}),"Let's champion a culture where success and well-being go hand in hand. Share your work/life balance tips below! \u{1F447}",v("br",{}),v("br",{}),"#WorkLifeBalance #Productivity #WellBeing"]})}),pe(G,{className:"k-card-actions",alignment:"start",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),v(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),v("span",{className:"k-spacer"}),v($,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),v($,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]}),pe(Q,{children:[v(Et,{title:"Generated with AI",subtitle:"Out of Office"}),v(Oe,{children:pe("p",{children:["Subject: Out of Office: [Your Name]",v("br",{}),v("br",{}),"Dear [Recipient's Name],",v("br",{}),v("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.",v("br",{}),v("br",{}),"Thank you,",v("br",{}),"[Your Name]"]})}),pe(G,{className:"k-card-actions",alignment:"start",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),v(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),v("span",{className:"k-spacer"}),v($,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),v($,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]})]})})]})]})});default:return v(U,{className:"k-prompt-popup",children:pe(F,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:pe(D,{className:"k-toolbar-flat",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),v(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),v($,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),v(Ee,{children:pe(Be,{children:[v(Y,{resize:"none",rows:2,placeholder:"Ask or generate content with AI",suffixSeparator:!1,suffix:v(Vd,{children:s.stt?v(te,{fillMode:"flat"}):null})}),v(kn,{expanded:s.suggestions,title:"Suggestions",children:n})]})}),v(qo,{children:v(G,{className:"k-prompt-actions",alignment:"start",children:v(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})})}};fa.options=MN;fa.states=gN;fa.variants=IN;fa.defaultOptions=SN;fa.modifiers=kN;fa.className=F.className;import{Fragment as BN,jsx as pt,jsxs as Un}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=Un(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,"}),Un(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:Un(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:Un(BN,{children:[a.commands?pt($,{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 qa}from"react/jsx-runtime";var iV=e=>qa(F,{...e,children:[Ue(ut,{children:qa(D,{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($,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0,"aria-label":"More actions"})]})}),Ue(Ee,{children:Ue(Be,{children:qa(ca,{children:[Ue(k,{header:!0,text:"Command"}),Ue(k,{header:!0,expanded:!0,text:"Command Expanded",children:qa(le,{children:[Ue(k,{level:1,expanded:!0,text:"Child Expanded",children:qa(le,{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{iV 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:f,disabled:N,indeterminate:h,loading:M,empty:c,readonly:C,highlighted:g,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":f,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":M,"k-empty":c,"k-readonly":C,"k-highlighted":g},Object.keys(S).reduce((y,T)=>(T.startsWith("k-")?y[T]=S[T]:y[`k-${T}`]=S[T],y),{}))};function Pi(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",tint:"tint",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"},Ki={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Xn={};function E(e){return Xn[e]=(Xn[e]||0)+1,`k-${e}-${Xn[e]}`}import{Fragment as Jd,jsx as Ri}from"react/jsx-runtime";var Wn="k-font-icon",$d=[],Xd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info]},Wd={},Na=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...l}=e;return a?Ri("span",{...l,className:r(e.className,Wn,A(Wn,{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"}):Ri(Jd,{})};Na.states=$d;Na.options=Xd;Na.className=Wn;Na.defaultOptions=Wd;var wi=Na;import{Fragment as Qd,jsx as Ya}from"react/jsx-runtime";var Jn="k-svg-icon",qd=[],Yd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.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]},qn={viewBox:"0 0 24 24",variant:bt.outline},va=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=qn.viewBox,variant:l=qn.variant,icon:m,...f}=e;if(!m)return Ya(Qd,{});if(m==="none")return Ya("span",{...f,className:r(e.className,Jn,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 Ya("span",{...f,className:r(e.className,Jn,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:Ya("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})})};va.states=qd;va.options=Yd;va.className=Jn;va.defaultOptions=qn;var Yn=va;import*as Qn from"@progress/kendo-svg-icons";var _i="icon",Di="icons";import{useContext as jd}from"react";import{createContext as Zd}from"react";var Hi=Zd({iconsType:"svg"});import{Fragment as zi,jsx as Ca}from"react/jsx-runtime";var Qa="k-icon",ep=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),tp=[],op={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.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]},Za={viewBox:"0 0 24 24",type:"svg",variant:bt.outline},L=e=>{let{iconsType:t}=jd(Hi),{size:o,themeColor:a,icon:n,type:s=t||Za.type,rotate:l,flip:m,viewBox:f=Za.viewBox,variant:N=Za.variant,...h}=e;if(!n)return Ca(zi,{});if((t||s)==="svg"){if(n==="none")return Ca(Yn,{...h,className:r(e.className,Qa),icon:n,size:o,variant:N});let c=Qn[n]?n:ep(`${n}-icon`);return Qn[c]?Ca(Yn,{...h,className:r(e.className,Qa),icon:Qn[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:f,variant:N}):Ca(zi,{})}return Ca(wi,{...h,className:r(e.className,Qa),icon:n,size:o,themeColor:a,rotate:l,flip:m})};L.states=tp;L.options=op;L.defaultOptions=Za;L.className=Qa;L.moduleName=_i;L.folderName=Di;var Zn="button",Gi=Zn;import{Fragment as jn,jsx as Bt,jsxs as Ui}from"react/jsx-runtime";var La="k-button",ap=["icon-button"],np=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],rp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},er={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:l=er.showArrow,arrowIconName:m=er.arrowIconName,variant:f,hover:N,focus:h,active:M,selected:c,disabled:C,togglable:g,ariaDisabled:S,icon:y,endIcon:T,iconSize:K,text:V,iconClassName:ie,className:he,...me}=e,ue=y!=null,xa=e.children!==void 0;return Ui(t,{className:r(he,La,Pi(La,f),A(La,{size:o,rounded:a,fillMode:n,themeColor:s}),I(La,{hover:N,focus:h,active:M,disabled:C||S,selected:c}),{"k-icon-button":!V&&!xa&&ue}),"aria-pressed":g?c?"true":"false":void 0,...me,"aria-disabled":S?"true":void 0,disabled:C||void 0,children:[typeof y=="string"&&y&&Bt(L,{className:r(ie,"k-button-icon"),icon:y,size:K}),y&&typeof y!="string"&&Bt(jn,{children:y}),V?Ui(jn,{children:[V&&Bt("span",{className:"k-button-text",children:V}),e.children]}):e.children&&Bt("span",{className:"k-button-text",children:e.children}),typeof T=="string"&&T&&Bt(L,{className:r(ie,"k-button-icon"),icon:T,size:K}),T&&typeof T!="string"&&Bt(jn,{children:T}),l&&Bt("span",{className:"k-menu-button-arrow k-button-arrow",children:Bt(L,{icon:m})})]})};d.states=np;d.options=rp;d.variants=ap;d.className=La;d.defaultOptions=er;d.moduleName=Zn;d.folderName=Gi;import{jsx as ip}from"react/jsx-runtime";var $=e=>ip(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as sp}from"react/jsx-runtime";var R=e=>sp(d,{icon:"folder",children:"Button",...e});import{jsx as gv}from"react/jsx-runtime";import{jsx as lp}from"react/jsx-runtime";var Jt=e=>lp(d,{children:"Button",...e});import{jsx as tr}from"react/jsx-runtime";var dp=d.options,pp=d.states,mp={...d.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 tr($,{...o,icon:"star"});case"icon-and-text":return tr(R,{...o,icon:"star",children:"Button"});default:return tr(Jt,{...o,children:"Button"})}};uo.options=dp;uo.states=pp;uo.variants=cp;uo.defaultOptions=mp;uo.modifiers=up;uo.className=d.className;var or="button",Fi=or;import{jsx as hp}from"react/jsx-runtime";var Ma="k-button-group",fp=[i.disabled],bp={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},xp={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return hp("div",{role:"group",...n,className:r(e.className,Ma,A(Ma,{fillMode:t}),I(Ma,{disabled:o}),{[`${Ma}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=fp;O.options=bp;O.className=Ma;O.defaultOptions=xp;O.moduleName=or;O.folderName=Fi;import{Fragment as Qv,jsx as Yv,jsxs as Zv}from"react/jsx-runtime";import{Fragment as nC,jsx as aC,jsxs as rC}from"react/jsx-runtime";import{Fragment as mC,jsx as pC,jsxs as cC}from"react/jsx-runtime";import{Fragment as NC,jsx as hC,jsxs as vC}from"react/jsx-runtime";import{Fragment as IC,jsx as SC,jsxs as kC}from"react/jsx-runtime";import{Fragment as OC,jsx as BC,jsxs as PC}from"react/jsx-runtime";import{Fragment as HC,jsx as DC,jsxs as zC}from"react/jsx-runtime";import{jsx as gt,jsxs as ar}from"react/jsx-runtime";var Np={...d.options,...O.options},vp=d.states,Cp={...d.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"?ar(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,icon:"star"}),gt(d,{...a,icon:"star"}),gt(d,{...a,icon:"star"})]}):t==="icon-text-button"?ar(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,icon:"star",children:"First"}),gt(d,{...a,icon:"star",children:"Middle"}),gt(d,{...a,icon:"star",children:"Last"})]}):ar(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,children:"First"}),gt(d,{...a,children:"Middle"}),gt(d,{...a,children:"Last"})]})};fo.options=Np;fo.states=vp;fo.variants=Lp;fo.defaultOptions=Cp;fo.modifiers=Mp;fo.className=O.className;var ga="input",ja=ga;import{jsx as kp}from"react/jsx-runtime";var en="k-input",gp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Sp={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ip={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:f,rounded:N,fillMode:h,...M}=e;return kp("span",{...M,className:r(e.className,en,A(en,{size:f,rounded:N,fillMode:h}),I(en,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m}))})};Z.states=gp;Z.options=Sp;Z.className=en;Z.defaultOptions=Ip;Z.moduleName=ga;Z.folderName=ja;import{jsx as Ep}from"react/jsx-runtime";var tn="k-picker",Ap=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Tp={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},yp={},xt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:f,rounded:N,fillMode:h,...M}=e;return Ep("span",{...M,className:r(e.className,tn,A(tn,{size:f,rounded:N,fillMode:h}),I(tn,{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=tn;xt.defaultOptions=yp;xt.moduleName=ga;xt.folderName=ja;import{Fragment as Pp,jsx as nr}from"react/jsx-runtime";var Vi="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?nr(Pp,{}):nr("span",{className:r(e.className,Vi),children:nr(L,{icon:"x"})})};Fe.states=Bp;Fe.options=Op;Fe.className=Vi;import{jsx as wp}from"react/jsx-runtime";var rr="k-input-inner",Kp=[],Rp={},on={type:"text",autocomplete:"off",value:"",placeholder:""},Ve=e=>{let{value:t=on.value,type:o=on.type,placeholder:a=on.placeholder,autocomplete:n=on.autocomplete,disabled:s,readOnly:l,...m}=e;return wp("input",{...m,type:o,className:r(e.className,rr,A(rr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};Ve.states=Kp;Ve.options=Rp;Ve.className=rr;import{jsx as $i,jsxs as Hp}from"react/jsx-runtime";var ir="k-input-inner",_p=[],Dp={},qt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...l}=e;return Hp("span",{...l,className:r(e.className,ir,A(ir,e)),children:[n,!n&&s&&$i(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&$i("span",{className:"k-input-value-text",children:t})]})};qt.states=_p;qt.options=Dp;qt.className=ir;import{jsx as Up}from"react/jsx-runtime";var sr="k-input-inner",zp=[],Gp={},Xi={value:"",placeholder:""},Sa=e=>{let{value:t=Xi.value,placeholder:o=Xi.placeholder,rows:a,disabled:n,...s}=e;return Up("textarea",{...s,className:r(e.className,sr,A(sr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Sa.states=zp;Sa.options=Gp;Sa.className=sr;import{Fragment as Vp,jsx as Wi}from"react/jsx-runtime";var Ji="k-input-loading-icon",Fp=[i.disabled,i.loading],Re=e=>{let{disabled:t,loading:o}=e;return t||!o?Wi(Vp,{}):Wi("span",{className:r(e.className,Ji,"k-icon k-i-loading")})};Re.states=Fp;Re.className=Ji;import{Fragment as Wp,jsx as qi}from"react/jsx-runtime";var Yi="k-input-validation-icon",$p=[i.valid,i.invalid,i.disabled,i.loading],Xp={},ge=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?qi(Wp,{}):qi(L,{className:r(Yi),icon:s})};ge.states=$p;ge.options=Xp;ge.className=Yi;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 Zi}from"react/jsx-runtime";var Qp="k-input-suffix",Zp={direction:"horizontal"},_e=e=>{let{direction:t=Zp.direction,...o}=e;return e.children?Zi("span",{...o,className:r(Qp,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Zi(jp,{})};import{jsx as GL}from"react/jsx-runtime";import{jsx as tm}from"react/jsx-runtime";var em="k-input-suffix-text",lr=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 ji="k-input-separator",om={direction:"vertical"},Se=e=>{let{direction:t=om.direction,...o}=e;return am("span",{...o,className:r(ji,e.className,{[`${ji}-${t}`]:t})})};import{Fragment as es,jsx as ht,jsxs as dr}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,f=t?.prefix,N=t?.suffix,h=t?.["clear-button"],M=t?.["validation-icon"],c=t?.separators;return dr(Z,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:l,style:{width:300},children:[f&&dr(es,{children:[ht(we,{children:ht(L,{icon:"lock"})}),c&&ht(Se,{})]}),ht(Ve,{placeholder:"Placeholder",value:"Value"}),M&&ht(ge,{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&&dr(es,{children:[c&&ht(Se,{}),ht(_e,{children:ht(Jt,{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 ts,jsxs as mm}from"react/jsx-runtime";var os="k-color-preview",dm=[],pm={},Ot=e=>{let{color:t,iconName:o,...a}=e;return mm("span",{...a,className:r(e.className,os,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ts(L,{icon:o,className:"k-color-preview-icon"}),ts("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ot.states=dm;Ot.options=pm;Ot.className=os;var pr="popup",as=pr;import{jsx as ns}from"react/jsx-runtime";var rs="k-animation-container",cm=[],um={},mr={positionMode:"absolute",shown:!0},Nt=e=>{let{positionMode:t=mr.positionMode,shown:o=mr.shown,animationStyle:a,offset:n,...s}=e;return ns("div",{...s,style:{...n,...e.style},className:r(e.className,rs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:ns("div",{className:"k-child-animation-container",style:a,children:e.children})})};Nt.states=cm;Nt.options=um;Nt.className=rs;Nt.defaultOptions=mr;Nt.moduleName=pr;Nt.folderName=as;var cr="popup",is=cr;import{jsx as ss}from"react/jsx-runtime";var ls="k-popup",fm=[],bm={},ds={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=ds.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:l,...m}=e;return ss(Nt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":l,children:ss("div",{...m,className:r(e.className,ls),children:e.children})})};U.states=fm;U.options=bm;U.className=ls;U.defaultOptions=ds;U.moduleName=cr;U.folderName=is;var ur="action-buttons",ps=ur;import{jsx as Nm}from"react/jsx-runtime";var an="k-actions",xm=[],hm={},fr={alignment:"start",orientation:"horizontal"},G=e=>{let{alignment:t=fr.alignment,orientation:o=fr.orientation,...a}=e;return Nm("div",{...a,className:r(an,{[`${an}-${t}`]:t,[`${an}-${o}`]:o},e.className),children:e.children})};G.states=xm;G.options=hm;G.className=an;G.defaultOptions=fr;G.moduleName=ur;G.folderName=ps;import{jsx as Cm}from"react/jsx-runtime";var vm="k-actionsheet-footer",ms={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=ms.alignment,orientation:o=ms.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 br="searchbox",cs=br;import{jsx as Ia,jsxs as gm}from"react/jsx-runtime";var us="k-searchbox",Lm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Mm={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},nn={showIcon:!0,showClearButton:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:f,invalid:N,required:h,loading:M,disabled:c,showIcon:C=nn.showIcon,showClearButton:g=nn.showClearButton,icon:S=nn.icon,"aria-label":y,...T}=e;return gm(Z,{...T,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:f,invalid:N,required:h,loading:M,disabled:c,className:r(e.className,us),children:[C&&Ia(L,{className:"k-input-icon",icon:S}),Ia(Ve,{placeholder:o,value:t,"aria-label":y}),Ia(Re,{...e}),Ia(ge,{...e}),g&&Ia(Fe,{...e})]})};Qe.states=Lm;Qe.options=Mm;Qe.className=us;Qe.defaultOptions=nn;Qe.moduleName=br;Qe.folderName=cs;import{jsx as cg}from"react/jsx-runtime";var xr="textbox",fs=xr;import{Fragment as bs,jsx as Kt,jsxs as hr}from"react/jsx-runtime";var xs="k-textbox",Sm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Im={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},rn={showClearButton:!0,showValidationIcon:!0,separators:!0},Ne=e=>{let{size:t,rounded:o,fillMode:a,separators:n=rn.separators,showClearButton:s=rn.showClearButton,showValidationIcon:l=rn.showValidationIcon,prefix:m,suffix:f,type:N,value:h,placeholder:M,hover:c,focus:C,valid:g,invalid:S,required:y,loading:T,disabled:K,readonly:V,id:ie,"aria-label":he,"aria-describedby":me,...ue}=e;return hr(Z,{...ue,size:t,rounded:o,fillMode:a,hover:c,focus:C,valid:g,invalid:S,required:y,loading:T,disabled:K,readonly:V,className:r(e.className,xs),children:[m&&hr(bs,{children:[Kt(we,{children:m}),n&&Kt(Se,{})]}),Kt(Ve,{id:ie,placeholder:M,value:h,type:N,disabled:K,"aria-label":he,"aria-describedby":me,"aria-invalid":S?"true":void 0}),l&&Kt(ge,{valid:g,invalid:S,loading:T,disabled:K}),Kt(Re,{loading:T,disabled:K}),s&&Kt(Fe,{loading:T,disabled:K,readonly:V,value:h}),f&&hr(bs,{children:[n&&Kt(Se,{}),Kt(_e,{children:f})]})]})};Ne.states=Sm;Ne.options=Im;Ne.className=xs;Ne.defaultOptions=rn;Ne.moduleName=xr;Ne.folderName=fs;var ka=Ne;import{jsx as km}from"react/jsx-runtime";var hs=e=>km(ka,{...e});import{Fragment as Eg,jsx as yg}from"react/jsx-runtime";import{Fragment as wg,jsx as Rg}from"react/jsx-runtime";import{jsx as zg}from"react/jsx-runtime";import{jsx as Nr}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]?Nr(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Nr(Jt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Nr(hs,{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 vr}from"react/jsx-runtime";var Ns="k-actionsheet-titlebar",Om={},Ie=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:l,inputValue:m,inputPlaceholder:f,adaptive:N,titleId:h,children:M,...c}=e;return vr("div",{...c,className:r(e.className,Ns),children:[vr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Rt("div",{className:"k-actionsheet-actions",children:a}),!M&&vr("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})]}),M&&Rt("div",{className:"k-actionsheet-title",id:h,children:M}),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:f,size:N?"large":"medium","aria-label":t||f||"Input"}):Rt(Qe,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ie.className=Ns;Ie.defaultOptions=Om;import{jsx as Cr,jsxs as wm}from"react/jsx-runtime";var Lr="k-actionsheet-view",Pm=[],Km={},Rm={},ho=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:l,...m}=e,f=n?.type===Ie&&Cr(Ie,{adaptive:t,titleId:l,...n?.props}),N=s?.type===Pt&&Cr(Pt,{...s?.props});return wm("div",{...m,className:r(e.className,Lr,{[`${Lr}-animated`]:o}),children:[f,Cr("div",{className:"k-actionsheet-content",children:a}),N]})};ho.states=Pm;ho.options=Km;ho.className=Lr;ho.defaultOptions=Rm;var Aa="action-sheet",sn=Aa;var Mr="overlay",vs=Mr;import{jsx as zm}from"react/jsx-runtime";var Cs="k-overlay",_m=[],Dm={},Hm={},wt=e=>{let{...t}=e;return zm("div",{...t,className:r(e.className,Cs),children:e.children})};wt.states=_m;wt.options=Dm;wt.className=Cs;wt.defaultOptions=Hm;wt.moduleName=Mr;wt.folderName=vs;import{jsx as ln,jsxs as Fm}from"react/jsx-runtime";var Ls="k-actionsheet",Gm=[],Um={},Ta={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=Ta.side,fullscreen:o=Ta.fullscreen,adaptive:a=Ta.adaptive,overlay:n=Ta.overlay,template:s,children:l,header:m,footer:f,id:N,...h}=e,M=N&&!s&&m?`${N}-title`:void 0;return Fm("div",{className:"k-actionsheet-container",children:[n&&ln(wt,{}),ln(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:ln("div",{...h,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":M,className:r(e.className,Ls,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||ln(ho,{header:m,footer:f,adaptive:a,titleId:M,...e,children:l})})})]})};oe.states=Gm;oe.options=Um;oe.className=Ls;oe.defaultOptions=Ta;oe.moduleName=Aa;oe.folderName=sn;import{jsx as Wm}from"react/jsx-runtime";var Ms="k-actionsheet-container",Vm=[],$m={},Xm={},No=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:Ms,children:t})};No.states=Vm;No.options=$m;No.className=Ms;No.defaultOptions=Xm;No.moduleName=Aa;No.folderName=sn;import{jsx as Jm}from"react/jsx-runtime";var gr=e=>{let{...t}=e;return Jm("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ym,jsx as ya,jsxs as Sr}from"react/jsx-runtime";var Ir="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,...f}=e;return Sr("span",{...f,className:r(e.className,Ir,I(Ir,{hover:n,focus:s,selected:l,disabled:m})),children:[!e.children&&ya(Ym,{children:Sr("span",{className:"k-actionsheet-action",children:[t&&ya("span",{className:"k-icon-wrap",children:ya(L,{className:"k-actionsheet-item-icon",icon:t})}),Sr("span",{className:"k-actionsheet-item-text",children:[o&&ya("span",{className:"k-actionsheet-item-title",children:o}),a&&ya("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};_t.states=qm;_t.className=Ir;import{jsx as HS,jsxs as zS}from"react/jsx-runtime";import{jsx as VS}from"react/jsx-runtime";import{jsx as JS}from"react/jsx-runtime";import{jsx as ZS}from"react/jsx-runtime";import{jsx as fe,jsxs as kr}from"react/jsx-runtime";var Qm=oe.options,Zm=oe.states,Ss={...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}={...Ss,...e},n={},s=kr(gr,{children:[fe(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),fe(_t,{text:"Add to Favorites",iconName:"heart"}),fe(_t,{text:"Upload New",iconName:"upload",disabled:!0}),fe("hr",{className:"k-hr"}),fe(_t,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":n.actionsStart=!!o?.[f],n.actionsEnd=!!o?.[f];break;case"subtitle":n.subtitle=o?.[f]?l:void 0;break;case"footer":n.footer=!!o?.[f];break;default:break}}),t==="adaptive"?fe(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:fe(Ie,{actionsStart:n.actionsStart?fe(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?fe(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?kr(Pt,{alignment:"stretched",children:[fe(d,{text:"Cancel",size:"large",themeColor:"base"}),fe(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):fe(oe,{...a,fullscreen:n.fullScreen,header:fe(Ie,{actionsStart:n.actionsStart?fe(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?fe(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?kr(Pt,{alignment:"stretched",children:[fe(d,{text:"Apply",themeColor:"primary"}),fe(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};vo.options=Qm;vo.states=Zm;vo.variants=jm;vo.defaultOptions=Ss;vo.modifiers=ec;vo.className=oe.className;var Ar="slider",Is=Ar;import{jsx as Co,jsxs as Tr}from"react/jsx-runtime";var Ea="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:f=Ze.showTicks,value:N=Ze.value,min:h=Ze.min,max:M=Ze.max,startValue:c,endValue:C,hover:g,focus:S,active:y,trackStyle:T,dir:K,...V}=e,he=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),me,ue;return o==="horizontal"?(me=K==="rtl"?"chevron-left":"chevron-right",ue=K==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(me="chevron-up",ue="chevron-down"),Tr("div",{...V,className:r(Ea,e.className,I(Ea,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:K,children:[m&&Co(d,{className:"k-button-decrease",rounded:"full",icon:ue,tabIndex:-1,title:"Decrease"}),Tr("div",{className:"k-slider-track-wrap",children:[f&&Co("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Tr("div",{className:"k-slider-track",style:T,children:[Co("div",{className:"k-slider-selection"}),t==="range"&&Co("span",{className:r("k-draghandle","k-draghandle-start",I(Ea,{hover:g,focus:S,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??h,"aria-valuemin":h,"aria-valuemax":C??M,"aria-orientation":he,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":V["aria-label"]?`${V["aria-label"]} start`:"Range start"}),Co("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(Ea,{hover:g,focus:S,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?C??M:N,"aria-valuemin":t==="range"?c??h:h,"aria-valuemax":M,"aria-orientation":he,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?V["aria-label"]?`${V["aria-label"]} end`:"Range end":V["aria-label"]})]})]}),m&&Co(d,{className:"k-button-increase",rounded:"full",icon:me,tabIndex:-1,title:"Increase"})]})};q.states=tc;q.options=oc;q.className=Ea;q.defaultOptions=Ze;q.moduleName=Ar;q.folderName=Is;import{jsx as ks}from"react/jsx-runtime";var As="k-tick",ac=[],nc={},Ts={label:!1},B=e=>{let{style:t,label:o=Ts.label,orientation:a,large:n,text:s,...l}=e;return ks("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,As,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&ks("span",{className:"k-label",children:s})})};B.states=ac;B.options=nc;B.className=As;B.defaultOptions=Ts;import{Fragment as rc,jsx as je,jsxs as ic}from"react/jsx-runtime";var ys=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 Es=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 zI,jsx as HI,jsxs as GI}from"react/jsx-runtime";import{Fragment as XI,jsx as $I,jsxs as WI}from"react/jsx-runtime";import{jsx as dc}from"react/jsx-runtime";var yr=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 Er=e=>pc(q,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as nk,jsx as ak,jsxs as rk}from"react/jsx-runtime";import{Fragment as pk,jsx as dk,jsxs as mk}from"react/jsx-runtime";import{jsx as vt,jsxs as Bs}from"react/jsx-runtime";var mc=q.options,cc=q.states,Os={...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=Os.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"?Bs(Es,{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%"}})]}):Bs(ys,{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=Os;Lo.modifiers=fc;Lo.className=q.className;import{jsx as Ps,jsxs as vc}from"react/jsx-runtime";var Ks="k-spin-button",hc=[],Nc={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Br={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Br.increaseLabel,decreaseLabel:s=Br.decreaseLabel,...l}=e;return vc("span",{...l,className:r(Ks,e.className),children:[Ps(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Ps(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Dt.states=hc;Dt.options=Nc;Dt.className=Ks;Dt.defaultOptions=Br;Dt.moduleName=null;Dt.folderName=null;var Rs="numeric-textbox",ws="numerictextbox";import{Fragment as _s,jsx as St,jsxs as Or}from"react/jsx-runtime";var Ds="k-numerictextbox",Cc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Lc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},dn={showSpinButton:!0,showClearButton:!0,separators:!0},X=e=>{let{size:t,rounded:o,fillMode:a,separators:n=dn.separators,showClearButton:s=dn.showClearButton,showSpinButton:l=dn.showSpinButton,prefix:m,suffix:f,value:N,placeholder:h,hover:M,focus:c,valid:C,invalid:g,required:S,loading:y,disabled:T,readonly:K,id:V,"aria-label":ie,"aria-describedby":he,...me}=e;return Or(Z,{...me,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:y,disabled:T,readonly:K,className:r(e.className,Ds),children:[m&&Or(_s,{children:[St(we,{children:m}),n&&St(Se,{})]}),St(Ve,{id:V,placeholder:h,value:N,role:"spinbutton",disabled:T,"aria-label":ie,"aria-describedby":he,"aria-invalid":g?"true":void 0}),St(ge,{valid:C,invalid:g,loading:y,disabled:T}),St(Re,{loading:y,disabled:T}),s&&St(Fe,{loading:y,disabled:T,readonly:K,value:N}),f&&Or(_s,{children:[n&&St(Se,{}),St(_e,{children:f})]}),l&&St(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:T})]})};X.states=Cc;X.options=Lc;X.className=Ds;X.defaultOptions=dn;X.moduleName=Rs;X.folderName=ws;var Ba=X;import{jsx as Mc}from"react/jsx-runtime";var Hs=e=>Mc(Ba,{...e});import Kr from"react";import{jsx as zs}from"react/jsx-runtime";var gc="k-list-group-sticky-header",Pr=e=>zs("div",{className:r(gc,e.className),children:zs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Ic}from"react/jsx-runtime";var Sc="k-no-data",pn=e=>{let{live:t,...o}=e;return Ic("span",{...o,className:r(Sc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Yt="list",Mo=Yt;import{jsx as Gs,jsxs as Us}from"react/jsx-runtime";var Rr="k-list",kc=[],Ac={size:[p.undefined,p.small,p.medium,p.large]},Tc={},H=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:l,customValue:m,noData:f,screenReaders:N,...h}=e,c=Kr.Children.toArray(a)[0],C=c?.props?.children?Kr.Children.count(c.props.children):Kr.Children.count(a);return Us("div",{...h,className:r(e.className,Rr,A(Rr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,n&&Gs(Pr,{children:n}),a||(f!==void 0?f:Gs(pn,{live:!0,children:"No data found."})),N&&a&&Us(pn,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};H.states=kc;H.options=Ac;H.className=Rr;H.defaultOptions=Tc;H.moduleName=Yt;H.folderName=Mo;import{jsx as Oc}from"react/jsx-runtime";var Fs="k-list-container",yc=[],Ec={},Bc={},go=e=>{let{...t}=e;return Oc("div",{...t,className:r(e.className,Fs),children:e.children})};go.states=yc;go.options=Ec;go.className=Fs;go.defaultOptions=Bc;go.moduleName=Yt;go.folderName=Mo;var Qt="checkbox",So=Qt;import{jsx as Vs}from"react/jsx-runtime";var mn="k-checkbox",Pc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Kc={size:[p.undefined,p.small,p.medium,p.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:f,required:N,size:h,rounded:M,wrapperRole:c,...C}=e;return Vs("span",{className:"k-checkbox-wrap",role:c,children:Vs("input",{...C,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,mn,A(mn,{size:h,rounded:M}),I(mn,{hover:n,focus:s,disabled:l,invalid:m,valid:f,indeterminate:a,checked:o}))})})};$e.states=Pc;$e.options=Kc;$e.className=mn;$e.defaultOptions=Rc;$e.moduleName=Qt;$e.folderName=So;var mt=$e;import{jsx as Dc}from"react/jsx-runtime";var $s="k-checkbox-list",wc=[],_c={},Xs={layout:"vertical"},ke=e=>{let{layout:t=Xs.layout,...o}=e;return Dc("ul",{...o,className:r(e.className,$s,{[`k-list-${t}`]:t}),children:e.children})};ke.states=wc;ke.options=_c;ke.className=$s;ke.defaultOptions=Xs;ke.moduleName=Qt;ke.folderName=So;import{jsx as Uc}from"react/jsx-runtime";var Ws="k-checkbox-list-item",Hc=[],zc={},Gc={},Ae=e=>{let{...t}=e;return Uc("li",{...t,className:r(e.className,Ws),children:e.children})};Ae.states=Hc;Ae.options=zc;Ae.className=Ws;Ae.defaultOptions=Gc;Ae.moduleName=Qt;Ae.folderName=So;import{Fragment as Fc,jsx as Js,jsxs as Vc}from"react/jsx-runtime";var It=({children:e="Label",id:t="cb-label-after",...o})=>Vc(Fc,{children:[Js(mt,{id:t,...o}),Js("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as RA,jsx as KA,jsxs as wA}from"react/jsx-runtime";import{Fragment as GA,jsx as zA,jsxs as UA}from"react/jsx-runtime";import{Fragment as WA,jsx as XA,jsxs as JA}from"react/jsx-runtime";import{jsx as ZA}from"react/jsx-runtime";import{jsx as oT}from"react/jsx-runtime";import{jsx as iT}from"react/jsx-runtime";import{jsx as tt,jsxs as qs}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"?qs(ke,{layout:"horizontal",...o,children:[tt(Ae,{children:tt(It,{id:E("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(It,{id:E("cb"),children:"Label"})}),tt(Ae,{children:tt(It,{id:E("cb"),children:"Label"})})]}):qs(ke,{...o,children:[tt(Ae,{children:tt(It,{id:E("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(It,{id:E("cb"),children:"Label"})}),tt(Ae,{children:tt(It,{id:E("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:E("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 wr="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:f,disabled:N,actions:h,description:M,id:c,...C}=e,g=t||e.children,S=t||(typeof g=="string"?g:void 0);return ru("li",{...C,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":N?"true":void 0,className:r(e.className,wr,I(wr,{hover:l,focus:m,disabled:N,selected:f})),children:[n&&Ao($e,{checked:s,disabled:N,"aria-label":S,tabIndex:-1}),o&&Ao("span",{className:"k-list-item-icon-wrapper",children:Ao(L,{icon:o,className:r("k-list-item-icon",a)})}),Ao("span",{className:"k-list-item-text",children:g}),h&&Ao("div",{className:"k-list-item-actions",children:h}),M&&Ao("span",{className:"k-list-item-description",children:M})]})};P.states=ou;P.options=au;P.className=wr;P.defaultOptions=nu;P.moduleName=Yt;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 _r,jsxs as du}from"react/jsx-runtime";var lu="k-list-content",W=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:_r(Ht,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&_r("div",{className:"k-height-container",children:_r("div",{})})]})};import{jsx as Dr,jsxs as uu}from"react/jsx-runtime";var cn="k-list-sticky-header",pu=[i.hover,i.focus,i.selected],mu={},cu={},un=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:l,selected:m,...f}=e;return Dr("div",{...f,className:r(cn,e.className),children:uu("div",{className:r(`${cn}-item`,I(`${cn}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&Dr($e,{checked:a,indeterminate:n,"aria-label":t}),Dr("span",{className:"k-list-item-text",children:t})]})})};un.states=pu;un.options=mu;un.className=cn;un.defaultOptions=cu;import{Fragment as ey,jsx as jT,jsxs as ty}from"react/jsx-runtime";import{jsx as iy,jsxs as sy}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";var Hr="k-list-optionlabel",fu=[i.hover,i.focus,i.selected,i.disabled],bu={},xu={},fn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return hu("div",{...l,className:r(Hr,I(Hr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};fn.states=fu;fn.options=bu;fn.className=Hr;fn.defaultOptions=xu;import{jsx as Lu}from"react/jsx-runtime";var zr="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(zr,I(zr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};zt.states=Nu;zt.options=vu;zt.className=zr;zt.defaultOptions=Cu;import{Fragment as vy,jsx as Ny,jsxs as Cy}from"react/jsx-runtime";import{Fragment as ky,jsx as Iy,jsxs as Ay}from"react/jsx-runtime";import{Fragment as Ky,jsx as Oy,jsxs as Py}from"react/jsx-runtime";import{Fragment as Gy,jsx as Hy,jsxs as zy}from"react/jsx-runtime";import{jsx as $y}from"react/jsx-runtime";import{Fragment as Qy,jsx as Yy,jsxs as Zy}from"react/jsx-runtime";import{Fragment as nE,jsx as aE,jsxs as rE}from"react/jsx-runtime";var Ys="dropdown-list",Qs="dropdownlist";import{Fragment as Su,jsx as Te,jsxs as Gr}from"react/jsx-runtime";var Zs="k-dropdownlist",Mu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gu={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ur={showValue:!0,arrowIconName:"chevron-down"},ce=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Ur.arrowIconName,showValue:s=Ur.showValue,valueIconName:l,prefix:m,suffix:f,value:N,placeholder:h,hover:M,focus:c,valid:C,invalid:g,required:S,loading:y,disabled:T,readonly:K,popup:V,opened:ie,adaptive:he,adaptiveSettings:me,adaptiveTitle:ue,adaptiveSubtitle:xa,adaptiveFilter:Xt,id:Wt,activeDescendant:ha,"aria-label":Fn,...Vn}=e,$n=Wt?`${Wt}-listbox`:void 0,Oi=Wt?`${Wt}-value`:void 0;return Gr(Su,{children:[Gr(xt,{...Vn,id:Wt,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:y,disabled:T,readonly:K,className:r(e.className,Zs,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ie?"true":"false","aria-controls":ie?$n:void 0,"aria-activedescendant":ie&&ha?ha:void 0,"aria-describedby":ie?Oi:void 0,"aria-disabled":T?"true":void 0,"aria-label":Fn,tabIndex:0,children:[Te(we,{children:m}),Te(qt,{placeholder:h,value:N,showValue:s,valueIconName:l,id:Oi}),Te(ge,{valid:C,invalid:g,loading:y,disabled:T}),Te(Re,{loading:y,disabled:T}),Te(_e,{children:f}),Te(d,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),ie&&V&&Te(U,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:V}),he&&Te(oe,{adaptive:!0,...me,header:Te(Ie,{actionsEnd:Te(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Xt,inputValue:N,inputPlaceholder:h,title:ue,subtitle:xa}),children:Te("div",{className:"k-list-container",children:Te(H,{size:"large",children:Gr(W,{"aria-label":"Options",children:[Te(P,{text:"List item"}),Te(P,{text:"List item"}),Te(P,{text:"List item"})]})})})})]})};ce.states=Mu;ce.options=gu;ce.className=Zs;ce.defaultOptions=Ur;ce.moduleName=Ys;ce.folderName=Qs;import{jsx as zE}from"react/jsx-runtime";import{jsx as XE,jsxs as WE}from"react/jsx-runtime";import{Fragment as oB,jsx as eB,jsxs as tB}from"react/jsx-runtime";import{jsx as sB}from"react/jsx-runtime";import{jsx as uB,jsxs as fB}from"react/jsx-runtime";import{Fragment as gB,jsx as LB,jsxs as MB}from"react/jsx-runtime";import{jsx as TB}from"react/jsx-runtime";import{Fragment as Eu,jsx as Gt,jsxs as js}from"react/jsx-runtime";var Iu=ce.states,ku=ce.defaultOptions,Au=ce.options,Tu=[{name:"opened",title:"Opened"}],yu=[],yo=e=>{let{modifiers:t,...o}=e,a={},n=js(Eu,{children:[Gt("div",{className:"k-list-filter",children:Gt(Qe,{})}),Gt(H,{style:{width:300},size:o.size,children:js(W,{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(ce,{placeholder:"Value",style:{width:300},...o,...a})})};yo.options=Au;yo.states=Iu;yo.variants=yu;yo.defaultOptions=ku;yo.modifiers=Tu;yo.className=ce.className;import{Fragment as YB,jsx as qB}from"react/jsx-runtime";import{Fragment as oO,jsx as tO}from"react/jsx-runtime";import{jsx as iO}from"react/jsx-runtime";import{jsx as Fr}from"react/jsx-runtime";var Bu=X.states,Ou=X.defaultOptions,Pu=X.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]?Fr(ce,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Fr(lr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),Fr(Hs,{value:"Value",style:{width:300},...o,...a})};Eo.options=Pu;Eo.states=Bu;Eo.variants=Ru;Eo.defaultOptions=Ou;Eo.modifiers=Ku;Eo.className=X.className;import{Fragment as Pa,jsx as w,jsxs as ae}from"react/jsx-runtime";var el="k-colorgradient-inputs",wu=[],_u={size:[p.undefined,p.small,p.medium,p.large]},tl={mode:"rgba"},Bo=e=>{let{mode:t=tl.mode,size:o,...a}=e;return ae("div",{...a,className:r(el,"k-hstack"),children:[w("div",{className:"k-vstack",children:w(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ae(Pa,{children:[ae("div",{className:"k-vstack",children:[w(X,{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(X,{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(X,{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(X,{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(Pa,{children:[ae("div",{className:"k-vstack",children:[w(X,{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(X,{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(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ae(Pa,{children:[ae("div",{className:"k-vstack",children:[w(X,{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(X,{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(X,{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(X,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ae(Pa,{children:[ae("div",{className:"k-vstack",children:[w(X,{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(X,{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(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&w(Pa,{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=el;Bo.defaultOptions=tl;import{jsx as Zt,jsxs as jt}from"react/jsx-runtime";var ol="k-colorgradient-color-contrast",Du=[],Hu={},zu={},Oo=()=>jt("div",{className:r(ol,"k-vbox"),children:[jt("div",{className:"k-contrast-ratio",children:[Zt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),jt("span",{className:"k-contrast-validation !k-text-success",children:[Zt(L,{icon:"check"}),Zt(L,{icon:"check"})]})]}),jt("div",{children:[Zt("span",{children:"AA: 4.5"}),jt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Zt(L,{icon:"check"})]})]}),jt("div",{children:[Zt("span",{children:"AAA: 7.0"}),jt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Zt(L,{icon:"x"})]})]})]});Oo.states=Du;Oo.options=Hu;Oo.className=ol;Oo.defaultOptions=zu;var al="color-gradient",nl="colorgradient";import{jsx as ot,jsxs as Ka}from"react/jsx-runtime";var bn="k-colorgradient",Gu=[i.hover,i.focus,i.readonly,i.disabled],Uu={size:[p.undefined,p.small,p.medium,p.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"},be=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:f=Ct.alphaStyleHorizontal,contrast:N=Ct.contrast,dir:h,hover:M,focus:c,hoverHandle:C,focusHandle:g,canvasOrientation:S=Ct.canvasOrientation,role:y,tabIndex:T,...K}=e;return Ka("div",{...K,role:y??"textbox","aria-label":y==="none"?void 0:"Color gradient",tabIndex:T??0,"aria-disabled":n?"true":void 0,className:r(e.className,bn,A(bn,{size:t}),I(bn,{hover:M,focus:c,readonly:a,disabled:n})),dir:h,children:[!S||S==="horizontal"&&Ka("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":C,"k-focus":g}),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})})}),Ka("div",{className:"k-hsv-controls k-hstack",children:[ot(Er,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&ot(Er,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:m})]})]}),S==="vertical"&&Ka("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":C,"k-focus":g}),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})})}),Ka("div",{className:"k-hsv-controls k-vstack",children:[ot(yr,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&ot(yr,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:f})]})]}),ot(Bo,{mode:e.mode,size:t}),N&&ot(Oo,{})]})};be.states=Gu;be.options=Uu;be.className=bn;be.defaultOptions=Ct;be.moduleName=al;be.folderName=nl;import{jsx as Fu}from"react/jsx-runtime";var xn=e=>Fu(be,{...e});import{jsx as $O}from"react/jsx-runtime";import{jsx as qO}from"react/jsx-runtime";import{jsx as Vr}from"react/jsx-runtime";var Vu=be.options,$u=be.states,Xu={...be.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 Vr(xn,{...o,mode:t});case"rgb":return Vr(xn,{...o,mode:t});default:return Vr(xn,{...o,mode:t})}};Po.options=Vu;Po.states=$u;Po.variants=Wu;Po.defaultOptions=Xu;Po.modifiers=Ju;Po.className=be.className;import{jsx as qu}from"react/jsx-runtime";var $r=e=>qu("tr",{role:"row",children:e.children});import{jsx as Zu}from"react/jsx-runtime";var Xr="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,Xr,I(Xr,{hover:a,focus:n,selected:s})),style:m})};Ut.states=Yu;Ut.options=Qu;Ut.className=Xr;Ut.moduleName=null;Ut.folderName=null;var rl="color-palette",il="colorpalette";import{jsx as Ra}from"react/jsx-runtime";var hn="k-colorpalette",ju=[i.disabled],ef={size:[p.undefined,p.small,p.medium,p.large]},sl={columns:10},De=e=>{let{size:t,palette:o,columns:a=sl.columns,tileSize:n,disabled:s,...l}=e,m=[];if(o){let f=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/f)},(h,M)=>{let c=[];N.slice(M*f,(M+1)*f).map((g,S)=>{c.push(Ra(Ut,{color:g,tileSize:n},S))});let C=Ra($r,{children:c},M);m.push(C)})}return Ra("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,hn,I(hn,{disabled:s}),A(hn,{size:t})),children:Ra("table",{className:"k-colorpalette-table",role:"none",children:Ra("tbody",{children:m.length>0?m:e.children})})})};De.states=ju;De.options=ef;De.className=hn;De.defaultOptions=sl;De.moduleName=rl;De.folderName=il;var Nn=De;var wa={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 ll=e=>tf(Nn,{palette:wa.basic,...e});import{jsx as EP}from"react/jsx-runtime";import{jsx as wP,jsxs as _P}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(ll,{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 dl="color-editor",pl="coloreditor";import{jsx as at,jsxs as Ro}from"react/jsx-runtime";var vn="k-coloreditor",pf=[i.focus],mf={size:[p.undefined,p.small,p.medium,p.large]},_a={view:"gradient",palette:wa.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=_a.view,palette:a=_a.palette,color:n,currentColor:s,focus:l,focusView:m,dir:f,group:N,actionButtons:h=_a.actionButtons,canvasOrientation:M=_a.canvasOrientation,...c}=e;return Ro("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",vn,A(vn,{size:t}),I(vn,{focus:l})),dir:f,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(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),at(d,{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(d,{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(be,{focus:m,size:t,canvasOrientation:M,role:"none",tabIndex:-1}):at(De,{palette:a,size:t})}),h&&Ro(G,{className:"k-coloreditor-footer",alignment:"start",children:[at(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),at(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=pf;ne.options=mf;ne.className=vn;ne.defaultOptions=_a;ne.moduleName=dl;ne.folderName=pl;var wo=ne;import{jsx as cK}from"react/jsx-runtime";import{jsx as xK}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var ml=e=>cf(wo,{group:!0,currentColor:"fuchsia",...e});import{jsx as uf}from"react/jsx-runtime";var cl=e=>uf(wo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as ul}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"?ul(cl,{...o,color:"white"}):ul(ml,{...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 fl="color-picker",bl="colorpicker";import{Fragment as Lf,jsx as nt,jsxs as Wr}from"react/jsx-runtime";var xl="k-colorpicker",vf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Cf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},hl={arrowIconName:"chevron-down"},rt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=hl.arrowIconName,prefix:s,suffix:l,value:m,placeholder:f,hover:N,focus:h,valid:M,invalid:c,required:C,disabled:g,valueIconName:S,popup:y,opened:T,adaptive:K,adaptiveSettings:V,adaptiveTitle:ie,adaptiveSubtitle:he,...me}=e,ue="colorpicker-popup";return Wr(Lf,{children:[Wr(xt,{...me,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:M,invalid:c,required:C,disabled:g,role:"combobox","aria-haspopup":"dialog","aria-expanded":T?"true":"false","aria-controls":T||K?ue:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":g?"true":void 0,className:r(e.className,xl,"k-icon-picker"),children:[nt(we,{children:s}),nt(qt,{placeholder:f,value:m,showValue:!1,valueIcon:nt(Ot,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),nt(_e,{children:l}),nt(d,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:g})]}),T&&y&&nt(U,{id:ue,className:"k-colorpicker-popup",children:y}),K&&nt(oe,{adaptive:!0,id:ue,...V,header:nt(Ie,{actionsEnd:nt(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ie,subtitle:he}),footer:Wr(Pt,{children:[nt(d,{text:"Cancel",size:"large"}),nt(d,{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=xl;rt.defaultOptions=hl;rt.moduleName=fl;rt.folderName=bl;var kt=rt;import{jsx as Mf}from"react/jsx-runtime";var Cn=e=>Mf(kt,{...e});import{jsx as jK}from"react/jsx-runtime";import{jsx as nR}from"react/jsx-runtime";import{jsx as lR}from"react/jsx-runtime";import{jsx as cR}from"react/jsx-runtime";import{jsx as xR}from"react/jsx-runtime";import{jsx as CR}from"react/jsx-runtime";import{jsx as eo}from"react/jsx-runtime";var gf=kt.options,Sf=kt.states,Nl={...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}={...Nl,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?eo(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 eo("div",{style:s,children:eo(Cn,{...a,...n})});case"icon":return eo("div",{style:s,children:eo(Cn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return eo("div",{style:s,children:eo(Cn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Do.options=gf;Do.states=Sf;Do.variants=If;Do.defaultOptions=Nl;Do.modifiers=kf;Do.className=kt.className;var Jr="combobox",vl=Jr;import{Fragment as qr,jsx as se,jsxs as Da}from"react/jsx-runtime";var Cl="k-combobox",Af=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Tf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Yr={separators:!0,showClearButton:!0},ye=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Yr.separators,showClearButton:s=Yr.showClearButton,prefix:l,suffix:m,value:f,placeholder:N,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:y,popup:T,opened:K,readonly:V,adaptive:ie,adaptiveSettings:he,adaptiveTitle:me,adaptiveSubtitle:ue,adaptiveCustomValue:xa,id:Xt,autocomplete:Wt,activeDescendant:ha,"aria-label":Fn,...Vn}=e,$n=Xt?`${Xt}-listbox`:void 0;return Da(qr,{children:[Da(Z,{...Vn,size:t,rounded:o,fillMode:a,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:y,readonly:V,className:r(e.className,Cl),children:[l&&Da(qr,{children:[se(we,{children:l}),n&&se(Se,{})]}),se(Ve,{id:Xt,placeholder:N,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":K?"true":"false","aria-controls":K?$n:void 0,"aria-activedescendant":K&&ha?ha:void 0,"aria-autocomplete":Wt,"aria-invalid":C?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Fn,disabled:y,readOnly:V}),se(ge,{valid:c,invalid:C,loading:S,disabled:y}),se(Re,{loading:S,disabled:y}),s&&se(Fe,{loading:S,disabled:y,readonly:V,value:f}),m&&Da(qr,{children:[n&&se(Se,{}),se(_e,{children:m})]}),se(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:y})]}),K&&T&&se(U,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:T}),ie&&se(oe,{adaptive:!0,id:Xt?`${Xt}-adaptive`:void 0,...he,header:se(Ie,{actionsEnd:se(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:N,title:me,subtitle:ue}),children:se("div",{className:"k-list-container",children:se(H,{customValue:xa?se(zt,{text:`Use "${f}"`}):void 0,size:"large",children:Da(W,{"aria-label":me||"Options",children:[se(P,{text:"List item"}),se(P,{text:"List item"}),se(P,{text:"List item"})]})})})})]})};ye.states=Af;ye.options=Tf;ye.className=Cl;ye.defaultOptions=Yr;ye.moduleName=Jr;ye.folderName=vl;var Xe=ye;import{jsx as yf}from"react/jsx-runtime";var Ll=e=>yf(Xe,{...e});import{jsx as ow,jsxs as aw}from"react/jsx-runtime";import{jsx as dw,jsxs as pw}from"react/jsx-runtime";import{jsx as xw,jsxs as hw}from"react/jsx-runtime";import{Fragment as gw,jsx as Mw}from"react/jsx-runtime";import{Fragment as yw,jsx as Tw}from"react/jsx-runtime";import{jsx as Rw,jsxs as ww}from"react/jsx-runtime";import{Fragment as Vw,jsx as Uw,jsxs as Fw}from"react/jsx-runtime";import{jsx as Jw}from"react/jsx-runtime";import{jsx as Zw}from"react/jsx-runtime";import{jsx as n_,jsxs as r_}from"react/jsx-runtime";import{jsx as m_,jsxs as c_}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(H,{style:{width:300},size:o.size,children:Rf(W,{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(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Ft($,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0;break;default:break}}),Ft("div",{children:Ft(Ll,{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 Qr="menu-button",Ml=Qr;import{jsx as Df}from"react/jsx-runtime";var gl="k-menu-button",wf=[i.hover,i.focus,i.active,i.selected,i.disabled],_f={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Zr={showArrow:!0,arrowIconName:"chevron-down"},J=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,icon:h,endIcon:M,text:c,showArrow:C=Zr.showArrow,arrowIconName:g=Zr.arrowIconName,expanded:S,...y}=e;return Df(d,{...y,className:r(e.className,gl),text:c,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,ariaDisabled:N||void 0,icon:h,endIcon:M,showArrow:C,arrowIconName:g,"aria-expanded":S?"true":"false",...!c&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};J.states=wf;J.options=_f;J.className=gl;J.defaultOptions=Zr;J.moduleName=Qr;J.folderName=Ml;import{jsx as $_}from"react/jsx-runtime";import{jsx as q_}from"react/jsx-runtime";import{jsx as j_}from"react/jsx-runtime";import{jsx as a0}from"react/jsx-runtime";var We="menu",it=We;import{jsx as za,jsxs as Sl}from"react/jsx-runtime";var jr="k-menu-item",Hf=[i.hover,i.focus,i.active,i.selected,i.disabled],zf={},Il={iconPosition:"before"},ve=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:f,arrowIconName:N,iconPosition:h=Il.iconPosition,dir:M,children:c,expanded:C,...g}=e,S=N;return S||(S=M==="rtl"?"chevron-left":"chevron-right"),Sl("li",{...g,className:r(e.className,jr,"k-item",I(jr,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":C?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Sl("span",{className:r("k-link k-menu-link"),children:[l&&h==="before"&&za(L,{className:"k-menu-link-icon",icon:l}),za("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&za(L,{className:"k-menu-link-icon",icon:l}),f&&za("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:za(L,{icon:S})})]}),c]})};ve.states=Hf;ve.options=zf;ve.className=jr;ve.defaultOptions=Il;ve.moduleName=We;ve.folderName=it;import{jsx as to,jsxs as kl}from"react/jsx-runtime";var ei="k-menu-item",Gf=[i.hover,i.focus,i.active,i.selected,i.disabled],Uf={},ti={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:f,arrowIconName:N,iconPosition:h=ti.iconPosition,dir:M=ti.dir,children:c,popup:C,expanded:g,actions:S,description:y,...T}=e,K=N;return K||(K=M==="rtl"?"chevron-left":"chevron-right"),kl("li",{role:"menuitem",...T,className:r(e.className,ei,"k-item",I(ei,{focus:o,disabled:s})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":g?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[kl("span",{className:r("k-link k-menu-link",I("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[l&&h==="before"&&to(L,{className:"k-menu-link-icon",icon:l}),to("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&to(L,{className:"k-menu-link-icon",icon:l}),S&&to("span",{className:"k-menu-link-actions",children:S}),f&&to("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:to(L,{icon:K})}),y&&to("span",{className:"k-menu-link-description",children:y})]}),c,C]})};j.states=Gf;j.options=Uf;j.className=ei;j.defaultOptions=ti;j.moduleName=We;j.folderName=it;import{jsx as Xf}from"react/jsx-runtime";var Al="k-menu-scroll-wrapper",Ff=[],Vf={},$f={},oo=e=>{let{className:t,children:o,orientation:a,...n}=e;return Xf("div",{...n,className:r(t,Al,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};oo.states=Ff;oo.options=Vf;oo.className=Al;oo.defaultOptions=$f;oo.moduleName=We;oo.folderName=it;var Tl=oo;import{Fragment as oi,jsx as ao,jsxs as Ln}from"react/jsx-runtime";var Mn="k-menu",Wf=[],Jf={size:[p.undefined,p.small,p.medium,p.large]},gn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},xe=e=>{let{children:t,orientation:o=gn.orientation,header:a=gn.header,scrollable:n,scrollButtonsPosition:s=gn.scrollButtonsPosition,wrapperStyles:l,dir:m,size:f,popup:N,contextMenu:h,...M}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},C=ao("ul",{dir:m,...M,className:r(e.className,"k-reset",Mn,{[`${Mn}-${o}`]:o,"k-header":a},A(Mn,{size:f})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Ln(oi,{children:[n?Ln(Tl,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&Ln(oi,{children:[ao(d,{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"}),ao(d,{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"&&ao(d,{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"}),C,s==="end"&&Ln(oi,{children:[ao(d,{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"}),ao(d,{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"&&ao(d,{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"})]}):C,N]})};xe.states=Wf;xe.options=Jf;xe.className=Mn;xe.defaultOptions=gn;xe.moduleName=We;xe.folderName=it;import{jsx as qf}from"react/jsx-runtime";var ai="k-separator",yl={orientation:"horizontal"},zo=e=>{let{orientation:t=yl.orientation,...o}=e;return qf("li",{...o,className:r(e.className,"k-item",ai,{[`${ai}-${t}`]:t}),role:"separator"})};zo.className=ai;zo.defaultOptions=yl;zo.moduleName=We;zo.folderName=it;import{Fragment as O0,jsx as P0}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";var ni="k-menu-group",Yf=[],Qf={size:[p.undefined,p.small,p.medium,p.large]},Zf={},Ce=e=>{let{children:t,size:o,...a}=e;return jf("ul",{role:"menu",...a,className:r(e.className,ni,A(ni,{size:o})),children:t})};Ce.states=Yf;Ce.options=Qf;Ce.className=ni;Ce.defaultOptions=Zf;Ce.moduleName=We;Ce.folderName=it;import{jsx as U0,jsxs as F0}from"react/jsx-runtime";import{Fragment as eb,jsx as Go,jsxs as tb}from"react/jsx-runtime";var ri=e=>Go(xe,{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 j0,jsx as Q0,jsxs as Z0}from"react/jsx-runtime";import{Fragment as nD,jsx as aD,jsxs as rD}from"react/jsx-runtime";import{Fragment as pD,jsx as dD,jsxs as mD}from"react/jsx-runtime";import{Fragment as xD,jsx as bD,jsxs as hD}from"react/jsx-runtime";import{jsx as no,jsxs as ib}from"react/jsx-runtime";var ob={...xe.options,scrollable:{type:"boolean"}},ab=xe.states,El={...xe.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}={...El,...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]?no(U,{className:"k-menu-popup",offset:s,children:ib(Ce,{children:[no(j,{text:"Item 1"}),no(j,{text:"Item 2"}),no(zo,{}),no(j,{text:"Item 3"})]})}):null)}),t==="vertical"?no(ri,{...a,...n,orientation:"vertical",style:{width:"200px"}}):no(ri,{...a,...n})};Uo.options=ob;Uo.states=ab;Uo.variants=nb;Uo.defaultOptions=El;Uo.modifiers=rb;Uo.className=xe.className;import{Fragment as YD,jsx as JD,jsxs as qD}from"react/jsx-runtime";import{jsx as eH}from"react/jsx-runtime";import{Fragment as mb,jsx as Lt,jsxs as Bl}from"react/jsx-runtime";var sb=d.states,Ol={...d.defaultOptions,variant:"text"},lb=d.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:Bl(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(J,{...a,...n,icon:"star"})});break;case"icon-and-text":l=Lt("div",{children:Lt(J,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=Lt("div",{children:Lt(J,{...a,...n,children:"Dropdown Button"})});break}return Bl(mb,{children:[l,o?.opened&&s]})};Fo.options=lb;Fo.states=sb;Fo.variants=db;Fo.defaultOptions=Ol;Fo.modifiers=pb;Fo.className=J.className;var ii="split-button",Pl=ii;import{Fragment as fb,jsx as si,jsxs as Kl}from"react/jsx-runtime";var li="k-split-button",cb=[i.hover,i.focus,i.active,i.selected,i.disabled],ub={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Rl={arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,icon:h,endIcon:M,text:c,arrowIconName:C=Rl.arrowIconName,popup:g,opened:S,popupId:y,...T}=e;return Kl(fb,{children:[Kl("div",{...T,className:r(e.className,li,"k-button-group",A(li,{rounded:o})),children:[si(d,{text:c,icon:h,endIcon:M,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,...!c&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),si(d,{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":S?"true":"false","aria-controls":S?y:void 0,tabIndex:-1})]}),S&&g&&si(U,{className:"k-menu-popup",children:g})]})};_.states=cb;_.options=ub;_.className=li;_.defaultOptions=Rl;_.moduleName=ii;_.folderName=Pl;var di=_;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 ro="toolbar",Vo=ro;import{Fragment as pi,jsx as z,jsxs as $o}from"react/jsx-runtime";var At="k-toolbar",hb=[i.focus],Nb={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},vb={scrollButtons:"around"},D=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:l,scrollingPosition:m,section:f,...N}=e,h=[],M=(c,C)=>{let g=[];if(c.type===d&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))g.push(z(d,{...c.props,className:`${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===d)g.push(z(d,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===R)g.push(z(R,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===$)g.push(z($,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===J)g.push(z(J,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===di)g.push(z(di,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===O||c.props.className&&c.props.className.includes("k-button-group")){let S=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((T,K)=>{S.push(z(d,{...T.props,className:`${T.props.className?T.props.className:""}`},`${K}-${new Date().getTime()}`))}),g.push(z(O,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:S},`${C}-${new Date().getTime()}`))}else c.type===ye?g.push(z(ye,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===ce?g.push(z(ce,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===rt?g.push(z(rt,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):g.push(c);g.forEach(S=>{h.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((C,g)=>{M(C,g)}),$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`]:f}),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(pi,{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(L,{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(L,{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(pi,{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(L,{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(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&$o(pi,{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(L,{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(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};D.states=hb;D.options=Nb;D.className=At;D.defaultOptions=vb;D.moduleName=ro;D.folderName=Vo;import{jsx as gb}from"react/jsx-runtime";var mi="k-toolbar-item",Cb=[i.focus],Lb={},Mb={},Xo=e=>{let{focus:t,...o}=e;return gb("div",{...o,className:r(e.className,mi,I(mi,{focus:t})),children:e.children})};Xo.states=Cb;Xo.options=Lb;Xo.className=mi;Xo.defaultOptions=Mb;Xo.moduleName=ro;Xo.folderName=Vo;import{jsx as wl}from"react/jsx-runtime";var _l="k-toolbar-popup",Sb=[],Ib={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},kb={},io=e=>{let{size:t,fillMode:o,section:a,...n}=e;return wl(U,{...n,className:r(e.className,_l),children:a?wl("span",{className:r("k-toolbar-items-list",A("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};io.states=Sb;io.options=Ib;io.className=_l;io.defaultOptions=kb;io.moduleName=ro;io.folderName=Vo;var Sn=io;import{jsx as e1}from"react/jsx-runtime";import{jsx as n1}from"react/jsx-runtime";import{jsx as l1}from"react/jsx-runtime";import{jsx as c1}from"react/jsx-runtime";import{jsx as N1,jsxs as v1}from"react/jsx-runtime";import{jsx as g1}from"react/jsx-runtime";import{jsx as Tt,jsxs as Bb}from"react/jsx-runtime";var Ab=_.states,Dl={..._.defaultOptions,variant:"text"},Tb=_.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}={...Dl,...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(_,{...a,...n,icon:"star"})});case"icon-and-text":return Tt("div",{children:Tt(_,{...a,...n,icon:"star",children:"Split Button"})});default:return Tt("div",{children:Tt(_,{...a,...n,children:"Split Button"})})}};Wo.options=Tb;Wo.states=Ab;Wo.variants=yb;Wo.defaultOptions=Dl;Wo.modifiers=Eb;Wo.className=_.className;import{jsx as so,jsxs as Ob}from"react/jsx-runtime";var Hl=e=>so(D,{children:[so(d,{children:"Button"},"toolbar-button"),so(J,{text:"Menu button"},"toolbar-menu-button"),so(_,{children:"Split button"},"toolbar-split-button"),Ob(O,{children:[so(d,{className:"k-group-start",icon:"align-left",children:"Left"}),so(d,{icon:"align-center",children:"Center"}),so(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as j1,jsxs as e2}from"react/jsx-runtime";import{jsx as Je,jsxs as zl}from"react/jsx-runtime";var Gl=e=>Je(D,{scrollable:!0,...e,children:[Je(d,{children:"Button"},"toolbar-button"),Je(J,{text:"Menu button"},"toolbar-menu-button"),Je(_,{children:"Split button"},"toolbar-split-button"),zl(O,{children:[Je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(d,{icon:"align-center",children:"Center"}),Je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Je(d,{children:"Button"},"toolbar-button"),Je(J,{text:"Menu button"},"toolbar-menu-button"),Je(_,{children:"Split button"},"toolbar-split-button"),zl(O,{children:[Je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(d,{icon:"align-center",children:"Center"}),Je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as qe,jsxs as Ul}from"react/jsx-runtime";var Fl=({scrollingPosition:e="start",...t})=>qe(D,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(_,{children:"Split button"},"toolbar-split-button"),Ul(O,{children:[qe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(d,{icon:"align-center",children:"Center"}),qe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(_,{children:"Split button"},"toolbar-split-button"),Ul(O,{children:[qe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(d,{icon:"align-center",children:"Center"}),qe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Pb,jsx as He,jsxs as In}from"react/jsx-runtime";var Vl=({fillMode:e,size:t,...o})=>In(Pb,{children:[He(D,{section:!0,fillMode:e,size:t,children:[He(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),In(O,{fillMode:e,children:[He(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),He(ct,{className:"k-toolbar-button-separator"}),He(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),In(Sn,{size:t,fillMode:e,section:!0,...o,children:[He(_,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),He(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),He(ct,{}),He(J,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),In(O,{fillMode:e,children:[He(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as P2,jsx as B2,jsxs as O2}from"react/jsx-runtime";import{Fragment as V2,jsx as U2,jsxs as F2}from"react/jsx-runtime";import{jsx as Vt}from"react/jsx-runtime";var Kb=D.options,Rb=D.states,$l={...D.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}={...$l,...e};switch(t){case"responsive":return Vt("div",{children:Vt(Vl,{style:{width:"583px"},...o})});case"overlay":return Vt("div",{children:Vt(Fl,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Vt("div",{children:Vt(Gl,{style:{width:"583px"},...o})});default:return Vt("div",{children:Vt(Hl,{style:{width:"583px"},...o})})}};Jo.options=Kb;Jo.states=Rb;Jo.variants=wb;Jo.defaultOptions=$l;Jo.modifiers=_b;Jo.className=D.className;var ci="prompt",Xl=ci;import{Fragment as Gb,jsx as Wl}from"react/jsx-runtime";var Jl="k-prompt",Db=[],Hb={},zb={},F=e=>{let{...t}=e;return Wl("div",{...t,className:r(e.className,Jl),children:Wl(Gb,{children:e.children})})};F.states=Db;F.options=Hb;F.className=Jl;F.defaultOptions=zb;F.moduleName=ci;F.folderName=Xl;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 ql}from"react/jsx-runtime";var Vb="k-prompt-content",Ee=e=>{let{...t}=e;return ql("div",{...t,className:r(e.className,Vb),children:ql($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 Yl,jsxs as qb}from"react/jsx-runtime";var Jb="k-prompt-expander",kn=e=>{let{title:t,children:o,expanded:a,...n}=e,s=E("prompt-expander-content");return qb("div",{...n,className:r(e.className,Jb),children:[Yl(R,{fillMode:"flat",icon:a?"chevron-up":"chevron-down","aria-expanded":a?"true":"false","aria-controls":a?s:void 0,children:t}),a&&Yl("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 wz}from"react/jsx-runtime";import{jsx as Zb}from"react/jsx-runtime";var Ql="k-prompt-send",Zl={generating:!1},Mt=e=>{let{generating:t=Zl.generating,...o}=e;return Zb(d,{...o,className:r(e.className,Ql,{"k-generating":t}),icon:t?"stop":"paper-plane",active:t,fillMode:"flat","aria-label":t?"Stop generating":"Send prompt"})};Mt.states=d.states;Mt.options=d.options;Mt.className=Ql;Mt.moduleName=null;Mt.folderName=null;Mt.defaultOptions=Zl;import{jsx as jl,jsxs as ax}from"react/jsx-runtime";var An="k-fab",tx=[i.hover,i.focus,i.active,i.selected,i.disabled],ox={size:[p.undefined,p.small,p.medium,p.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]},ed={type:"button"},re=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:s,type:l=ed.type,position:m,hover:f,focus:N,active:h,selected:M,disabled:c,...C}=e;return ax("button",{...C,type:l,className:r(e.className,An,A(An,{size:t,rounded:o,themeColor:a}),I(An,{hover:f,focus:N,active:h,disabled:c,selected:M}),{[`!k-pos-absolute k-${m}`]:m}),...!n&&s&&!e["aria-label"]&&{"aria-label":"Action"},...c&&{"aria-disabled":"true"},disabled:c||void 0,children:[s&&jl(L,{className:"k-fab-icon",icon:s}),n&&jl("span",{className:"k-fab-text",children:n})]})};re.states=tx;re.options=ox;re.className=An;re.defaultOptions=ed;re.moduleName="fab";re.folderName="fab";import{jsx as rx}from"react/jsx-runtime";var nx="k-fab-items",td=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 ad,jsxs as sx}from"react/jsx-runtime";var od="k-fab-item",ix=[i.hover,i.focus,i.active,i.disabled],ui=e=>{let{text:t,icon:o,align:a,hover:n,focus:s,active:l,disabled:m,...f}=e;return sx("li",{...f,className:r(e.className,od,{[`k-text-${a}`]:a},I(od,{hover:n,focus:s,active:l,disabled:m})),children:[ad("span",{className:"k-fab-item-text",children:t}),ad(L,{className:"k-fab-item-icon",icon:o})]})};ui.states=ix;import{jsx as r3}from"react/jsx-runtime";import{jsx as d3}from"react/jsx-runtime";import{jsx as u3}from"react/jsx-runtime";import{jsx as h3}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(td,{position:"bottom",children:Yo(ui,{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 nd="k-prompt-stop-fab",rd={generating:!0},lo=e=>{let{generating:t=rd.generating,icon:o,...a}=e;return fx(re,{...a,className:r(e.className,nd,{"k-generating":t}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:t?"stop":o,active:t,"aria-label":t?"Stop generating":"Action"})};lo.states=d.states;lo.options=d.options;lo.className=nd;lo.defaultOptions=rd;var fi="speech-to-text-button",id=fi;import{jsx as bx}from"react/jsx-runtime";var sd="k-speech-to-text-button",ld={icon:"microphone"},te=e=>{let{listening:t=!1,icon:o=ld.icon,...a}=e;return bx(d,{...a,icon:t?"stop":o,className:r(e.className,sd,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};te.states=d.states;te.options=d.options;te.className=sd;te.defaultOptions=ld;te.moduleName=fi;te.folderName=id;import{jsx as e5}from"react/jsx-runtime";import{jsx as n5}from"react/jsx-runtime";import{jsx as Cx}from"react/jsx-runtime";var xx=d.states,dd={...d.defaultOptions,variant:"normal"},hx={...d.options,fillMode:d.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Nx=[],vx=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],Zo=e=>{let{variant:t,...o}={...dd,...e},a={};return t==="listening"&&(a.listening=!0),Cx(te,{...o,...a})};Zo.options=hx;Zo.states=xx;Zo.variants=vx;Zo.defaultOptions=dd;Zo.modifiers=Nx;Zo.className=te.className;var bi="textarea",pd=bi;import{Fragment as md,jsx as Ga,jsxs as xi}from"react/jsx-runtime";var cd="k-textarea",Lx=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Mx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.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:f=jo.resize,prefix:N,suffix:h,rows:M,value:c,placeholder:C,hover:g,focus:S,valid:y,invalid:T,required:K,disabled:V,id:ie,"aria-label":he,"aria-describedby":me,...ue}=e;return xi(Z,{...ue,size:t,rounded:o,fillMode:a,hover:g,focus:S,valid:y,invalid:T,required:K,disabled:V,className:r(e.className,cd,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[N&&xi(md,{children:[Ga(we,{className:r({"!k-align-items-start":m===l}),direction:l,children:N}),n&&Ga(Se,{direction:m==="horizontal"?"vertical":"horizontal"})]}),Ga(Sa,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:c,placeholder:C,rows:M,disabled:V,id:ie,"aria-label":he,"aria-describedby":me,"aria-invalid":T?"true":void 0}),h&&xi(md,{children:[s&&Ga(Se,{direction:m==="horizontal"?"vertical":"horizontal"}),Ga(_e,{className:r({"!k-align-items-start":m===l}),direction:l,children:h})]})]})};Y.states=Lx;Y.options=Mx;Y.className=cd;Y.defaultOptions=jo;Y.moduleName=bi;Y.folderName=pd;import{jsx as S5}from"react/jsx-runtime";import{Fragment as E5,jsx as y5}from"react/jsx-runtime";import{Fragment as w5,jsx as R5}from"react/jsx-runtime";import{jsx as z5}from"react/jsx-runtime";import{jsx as Tn}from"react/jsx-runtime";var gx=Y.options,Sx=Y.states,ud={...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}={...ud,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?Tn(L,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?Tn(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?Tn(Y,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):Tn(Y,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};ea.options=gx;ea.states=Sx;ea.variants=Ix;ea.defaultOptions=ud;ea.modifiers=kx;ea.className=Y.className;import{Fragment as dG,jsx as sG,jsxs as lG}from"react/jsx-runtime";var Ni="suggestion",fd=Ni;import{jsx as yn,jsxs as yx}from"react/jsx-runtime";var En="k-suggestion-group",Ax=[],Tx={},bd={layout:"scrollable",scrollingPosition:"start"},st=e=>{let{layout:t=bd.layout,scrollingPosition:o,...a}=e,n=yn("div",{...a,className:r(En,{"k-suggestion-group-scrollable":t=="scrollable",[`${En}-scrollable-start`]:o==="start"||o==="both",[`${En}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?yn("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?yx("div",{className:"k-suggestion-scrollwrap",children:[yn(d,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,yn(d,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};st.states=Ax;st.options=Tx;st.className=En;st.defaultOptions=bd;st.moduleName=Ni;st.folderName=fd;import{jsx as Px}from"react/jsx-runtime";var Bn="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,children:l,...m}=e;return Px("span",{...m,className:r(e.className,Bn,I(Bn,{hover:a,active:o,focus:n}),A(Bn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":e["aria-label"]||s,children:l||s})};ft.states=Ex;ft.options=Bx;ft.className=Bn;ft.item=Ox;import{Fragment as gG,jsx as MG,jsxs as SG}from"react/jsx-runtime";import{Fragment as yG,jsx as TG,jsxs as EG}from"react/jsx-runtime";import{Fragment as RG,jsx as KG,jsxs as wG}from"react/jsx-runtime";import{Fragment as eU,jsx as ZG,jsxs as jG}from"react/jsx-runtime";import{jsx as On}from"react/jsx-runtime";var Kx="k-chip-action";var yt=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=On(L,{icon:"x-circle",size:"small"});break;case"more":a=On(L,{icon:"more-vertical",size:"small"});break;default:return On(L,{icon:t,size:"small"})}return On("span",{...o,className:r(e.className,Kx,`k-chip-${t}-action`),children:a})};var vi="avatar",xd=vi;import{jsx as hd}from"react/jsx-runtime";var Ua="k-avatar";var Rx=[i.hover,i.focus,i.active,i.selected,i.disabled],wx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.outline],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Ci={type:"text",border:!1},ze=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:s=Ci.type,border:l=Ci.border,...m}=e;return hd("div",{...m,className:r(e.className,Ua,A(Ua,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Ua}-bordered`]:l}),children:hd("span",{className:`${Ua}-${s}`,children:e.children})})};ze.states=Rx;ze.options=wx;ze.className=Ua;ze.defaultOptions=Ci;ze.moduleName=vi;ze.folderName=xd;var po=ze;import{jsx as _x}from"react/jsx-runtime";var Nd=e=>_x(po,{type:"icon",...e});import{jsx as Dx}from"react/jsx-runtime";var vd=e=>Dx(po,{type:"text",...e});import{jsx as Hx}from"react/jsx-runtime";var Cd=e=>Hx(po,{type:"image",...e});import{jsx as MU}from"react/jsx-runtime";import{jsx as Fa}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 Fa(Nd,{...o,children:Fa(L,{icon:"star"})});case"text":return Fa(vd,{...o,children:"JO"});default:return Fa(Cd,{...o,children:Fa("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 Va="chip",Pn=Va,Kn="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as oa,jsxs as Wx}from"react/jsx-runtime";var Rn="k-chip",$x=[i.hover,i.focus,i.active,i.selected,i.disabled],Xx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.outline],themeColor:[x.undefined,x.base,x.success,x.warning,x.error,x.info]},Ld={avatarImage:"/packages/html/assets/avatar.jpg"},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:s,icon:l,actions:m,showAvatar:f,avatarImage:N=Ld.avatarImage,hover:h,focus:M,active:c,selected:C,disabled:g,...S}=e;return Wx("div",{...S,className:r(e.className,Rn,A(Rn,{size:t,rounded:o,fillMode:a,themeColor:n}),I(Rn,{hover:h,focus:M,active:c,disabled:g,selected:C})),role:e.role||"button","aria-pressed":e.role==="option"||e.role==="listitem"||e.role==="presentation"||e["aria-haspopup"]?void 0:C?"true":"false",...e.role==="option"&&C!==void 0&&{"aria-selected":C?"true":"false"},"aria-disabled":g?"true":void 0,children:[l&&oa(L,{className:"k-chip-icon",icon:l,size:"small"}),f&&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=Rn;Ge.defaultOptions=Ld;Ge.moduleName=Va;Ge.folderName=Pn;var lt=Ge;import{jsx as Qx}from"react/jsx-runtime";var Li="k-chip-list",Jx=[],qx={size:[p.undefined,p.small,p.medium,p.large]},Yx={},Le=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return Qx("div",{...n,className:r(e.className,Li,A(Li,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:a||"chip list","aria-orientation":e.role==="none"||e.role==="group"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};Le.states=Jx;Le.options=qx;Le.className=Li;Le.defaultOptions=Yx;Le.moduleName=Va;Le.folderName=Pn;import{jsx as ZU}from"react/jsx-runtime";import{jsx as oF}from"react/jsx-runtime";import{jsx as Zx}from"react/jsx-runtime";var wn=e=>Zx(lt,{text:"text",...e});import{jsx as pF}from"react/jsx-runtime";import{jsx as fF}from"react/jsx-runtime";import{Fragment as CF,jsx as vF,jsxs as LF}from"react/jsx-runtime";import{jsx as kF,jsxs as AF}from"react/jsx-runtime";import{jsx as OF,jsxs as PF}from"react/jsx-runtime";import{jsx as HF,jsxs as zF}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?Kn:void 0;return nh(Le,{size:a.size,className:o,children:[aa(wn,{...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(wn,{...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(wn,{...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 Mi}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]?Kn:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[n]?Mi(yt,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[n]?Mi(yt,{type:"remove"}):void 0;break;default:break}}),Mi(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 y9,jsx as A9,jsxs as T9}from"react/jsx-runtime";import{jsx as mh}from"react/jsx-runtime";var ph="k-card-callout",Md=e=>{let{callout:t,...o}=e;return mh("span",{...o,className:r(e.className,ph,{[`k-callout-${Ki.calloutMap[t]||t}`]:t})})};var Ye="card",dt=Ye;import{Fragment as bh,jsx as gd,jsxs as xh}from"react/jsx-runtime";var gi="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,gi,I(gi,{hover:a,focus:n,disabled:l,selected:s}),{[`k-card-${t}`]:t,"k-card-with-callout":o}),children:[o&&o!=="true"&&gd(Md,{callout:o}),gd(bh,{children:e.children})]})};Q.states=ch;Q.options=uh;Q.className=gi;Q.defaultOptions=fh;Q.moduleName=Ye;Q.folderName=dt;import{Fragment as Ch,jsx as Sd}from"react/jsx-runtime";var Si="k-card-list",hh=[],Nh={},vh={},mo=e=>{let{...t}=e;return Sd("div",{...t,className:r(e.className,Si,I(Si,{})),role:"list",children:Sd(Ch,{children:e.children})})};mo.states=hh;mo.options=Nh;mo.className=Si;mo.defaultOptions=vh;mo.moduleName=Ye;mo.folderName=dt;import{jsx as Sh}from"react/jsx-runtime";var Id="k-card-group",Lh=[],Mh={},gh={},ia=e=>{let{...t}=e;return Sh("div",{...t,className:r(e.className,Id),children:e.children})};ia.states=Lh;ia.options=Mh;ia.className=Id;ia.defaultOptions=gh;ia.moduleName=Ye;ia.folderName=dt;import{jsx as Th}from"react/jsx-runtime";var Ii="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,Ii,I(Ii,{focus:t,selected:o})),children:e.children})};sa.states=Ih;sa.options=kh;sa.className=Ii;sa.defaultOptions=Ah;sa.moduleName=Ye;sa.folderName=dt;import{jsx as Eh}from"react/jsx-runtime";var ki="k-card-title",yh=[i.hover,i.focus],co=e=>{let{hover:t,focus:o,...a}=e;return Eh("div",{...a,className:r(e.className,ki,I(ki,{hover:t,focus:o})),children:e.children})};co.states=yh;co.className=ki;import{jsx as Oh}from"react/jsx-runtime";var Bh="k-card-subtitle",_n=e=>{let{...t}=e;return Oh("div",{...t,className:r(e.className,Bh),children:e.children})};import{Fragment as Ad,jsx as Dn}from"react/jsx-runtime";var kd="k-card-media",Ai=e=>{let{src:t,...o}=e;return Dn(Ad,{children:t?Dn("img",{...o,className:r(e.className,kd),src:t}):Dn("span",{...o,className:r(e.className,kd),children:Dn(Ad,{children:e.children})})})};import{Fragment as Kh,jsx as $a,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&&$a(co,{children:t}),o&&$a(_n,{children:o}),$a(Kh,{children:e.children}),a&&$a("span",{className:"k-card-header-actions",children:$a(d,{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",Ti=e=>{let{...t}=e;return _h("div",{...t,className:r(e.className,wh),children:e.children})};import{Fragment as Hh,jsx as Xa,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&&Xa(co,{children:t}),o&&Xa(_n,{children:o}),Xa(Hh,{children:e.children}),a&&Xa("span",{className:"k-card-header-actions",children:Xa(d,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as Vh}from"react/jsx-runtime";var Td="k-card-deck",Gh=[],Uh={},Fh={},la=e=>{let{...t}=e;return Vh("div",{...t,className:r(e.className,Td),children:e.children})};la.states=Gh;la.options=Uh;la.className=Td;la.defaultOptions=Fh;la.moduleName=Ye;la.folderName=dt;import{jsx as Jh}from"react/jsx-runtime";var yd="k-card-deck-scrollwrap",$h=[],Xh={},Wh={},da=e=>{let{...t}=e;return Jh("div",{...t,className:r(e.className,yd),children:e.children})};da.states=$h;da.options=Xh;da.className=yd;da.defaultOptions=Wh;da.moduleName=Ye;da.folderName=dt;import{Fragment as qh,jsx as pa,jsxs as Ed}from"react/jsx-runtime";var Bd=e=>pa(Q,{orientation:"vertical",children:Ed(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."})}),Ed(G,{className:"k-card-actions",children:[pa(d,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),pa(d,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{Fragment as Yh,jsx as Wa,jsxs as Od}from"react/jsx-runtime";var Pd=e=>Wa(Q,{orientation:"horizontal",children:Od(Yh,{children:[Wa(Oe,{title:"Card Title",children:Wa("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:[Wa(d,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),Wa(d,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{jsx as $6,jsxs as X6}from"react/jsx-runtime";import{jsx as Pe,jsxs as Ja}from"react/jsx-runtime";var Qh=Q.options,Zh=Q.states,Kd={...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}={...Kd,...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"?Ja(Pd,{style:{maxWidth:"420px"},...a,children:[n&&Pe(Ai,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Ja("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(Ti,{children:"Card Footer"})]}),(s||l)&&Pe("span",{className:"k-separator k-separator-vertical"}),Ja(G,{orientation:"vertical",alignment:"stretched",className:"k-card-actions",children:[Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]}):Ja(Bd,{style:{maxHeight:"450px",width:"300px"},...a,children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),n&&Pe(Ai,{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(Ti,{children:"Card Footer"}),Ja(G,{className:"k-card-actions",children:[Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]})};ma.options=Qh;ma.states=Zh;ma.variants=jh;ma.defaultOptions=Kd;ma.modifiers=eN;ma.className=Q.className;import{jsx as E7,jsxs as B7}from"react/jsx-runtime";import{Fragment as F7,jsx as G7,jsxs as U7}from"react/jsx-runtime";import{Fragment as e4,jsx as Z7,jsxs as j7}from"react/jsx-runtime";import{Fragment as l4,jsx as s4,jsxs as d4}from"react/jsx-runtime";var yi="panelbar",Rd=yi;import{jsx as nN}from"react/jsx-runtime";var wd="k-panelbar",tN=[],oN={},aN={},Me=e=>{let{activeDescendant:t,...o}=e;return nN("ul",{...o,className:r(e.className,wd),role:"tree","aria-activedescendant":t,children:e.children})};Me.states=tN;Me.options=oN;Me.className=wd;Me.defaultOptions=aN;Me.moduleName=yi;Me.folderName=Rd;import Ei from"react";import{jsx as Hn,jsxs as _d}from"react/jsx-runtime";var Dd="k-panelbar-item",rN=[i.hover,i.focus,i.selected,i.disabled],iN={},zn={level:0,expanded:!1,text:"Item"},k=e=>{let{text:t=zn.text,level:o=zn.level,expanded:a=zn.expanded,header:n,hover:s,focus:l,selected:m,disabled:f,icon:N,iconClass:h,ariaSelected:M,children:c,...C}=e,g=!!c;return _d("li",{...C,className:r(e.className,Dd,{"k-panelbar-header":n,[`k-level-${o}`]:o||o===0,"k-expanded":a}),role:"treeitem","aria-expanded":g?a?"true":"false":void 0,"aria-selected":M?"true":"false","aria-disabled":f?"true":void 0,children:[_d("span",{className:r("k-link",I("k-link",{hover:s,focus:l,disabled:f,selected:m})),children:[N&&Hn(L,{className:"k-panelbar-item-icon",icon:N}),h&&!N&&Hn("span",{className:`k-panelbar-item-icon ${h}`}),Hn("span",{className:"k-panelbar-item-text",children:t}),g&&Hn(L,{className:r("k-panelbar-toggle",a?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${a?"up":"down"}`})]}),a&&c,!a&&c&&Ei.Children.map(c,S=>Ei.isValidElement(S)?Ei.cloneElement(S,{"aria-hidden":"true",style:{display:"none"}}):S)]})};k.states=rN;k.options=iN;k.className=Dd;k.moduleName=null;k.folderName=null;k.defaultOptions=zn;import{jsx as pN}from"react/jsx-runtime";var Hd="k-panelbar-group",sN=[],lN={},dN={},le=e=>{let{ariaHidden:t,...o}=e;return pN("ul",{...o,className:r(e.className,Hd),role:"group",...t!==void 0&&{"aria-hidden":t?"true":void 0},children:e.children})};le.states=sN;le.options=lN;le.className=Hd;le.moduleName=null;le.folderName=null;le.defaultOptions=dN;import{jsx as fN}from"react/jsx-runtime";var zd="k-panelbar-content",mN=[],cN={},uN={},de=e=>{let{...t}=e;return fN("div",{...t,className:r(e.className,zd),children:e.children})};de.states=mN;de.options=cN;de.className=zd;de.defaultOptions=uN;import{Fragment as bN,jsx as $t,jsxs as xN}from"react/jsx-runtime";var ca=e=>{let t=E("pb-item"),o=E("pb-item"),a=E("pb-item"),n=E("pb-item");return $t(Me,{children:xN(bN,{children:[$t(k,{header:!0,text:"Item 1",id:t,children:$t(de,{children:"content"})}),$t(k,{header:!0,text:"Item 2",id:o,children:$t(de,{children:"content"})}),$t(k,{header:!0,text:"Item 3",id:a,children:$t(de,{children:"content"})}),$t(k,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as R4,jsx as K4,jsxs as w4}from"react/jsx-runtime";import{Fragment as hN,jsx as Ke,jsxs as Bi}from"react/jsx-runtime";var Gd=e=>{let t=E("pb-item"),o=E("pb-item"),a=E("pb-item"),n=E("pb-item"),s=E("pb-child"),l=E("pb-child"),m=E("pb-child"),f=E("pb-child"),N=E("pb-child"),h=E("pb-child"),M=E("pb-child");return Ke(Me,{activeDescendant:o,children:Bi(hN,{children:[Ke(k,{header:!0,text:"Item 1",id:t,children:Ke(de,{children:"content"})}),Ke(k,{header:!0,expanded:!0,text:"Item 2",id:o,ariaSelected:!0,focus:!0,children:Bi(le,{children:[Ke(k,{level:1,text:"Child 1",id:s}),Ke(k,{level:1,expanded:!0,text:"Child 2",id:l,children:Bi(le,{children:[Ke(k,{level:2,text:"Child 2.1",id:m}),Ke(k,{level:2,text:"Child 2.2",id:f})]})}),Ke(k,{level:1,text:"Child 3",id:N,children:Ke(le,{children:Ke(k,{level:2,text:"Child 3.1",id:h})})}),Ke(k,{level:1,text:"Child 4",id:M})]})}),Ke(k,{header:!0,text:"Item 3",id:a,children:Ke(de,{children:"content"})}),Ke(k,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as Ud,jsx as ee,jsxs as Gn}from"react/jsx-runtime";var NN=Me.options,vN=Me.states,Fd={...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}={...Fd,...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(Ud,{children:Gn(Gd,{style:{width:"300px"},...a,children:[ee(k,{icon:n.icon?.gear,header:!0,text:"Item 1",children:ee(de,{children:"content"})}),ee(k,{icon:n.icon?.folder,selected:!0,header:!0,expanded:!0,text:"Item 2",children:Gn(le,{children:[ee(k,{level:1,text:"Child 1"}),ee(k,{level:1,expanded:!0,text:"Child 2",children:Gn(le,{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(de,{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(de,{children:"content"})}),ee(k,{icon:n.icon?.file,header:!0,text:"Item 4"})]})}):ee(Ud,{children:Gn(ca,{style:{width:"300px"},...a,children:[ee(k,{icon:n.icon?.gear,header:!0,text:"Item 1",children:ee(de,{children:"content"})}),ee(k,{icon:n.icon?.folder,header:!0,text:"Item 2",children:ee(de,{children:"content"})}),ee(k,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:ee(de,{children:"content"})}),ee(k,{icon:n.icon?.file,header:!0,text:"Item 4"})]})})};ua.options=NN;ua.states=vN;ua.variants=CN;ua.defaultOptions=Fd;ua.modifiers=LN;ua.className=Me.className;import{Fragment as Vd,jsx as v,jsxs as pe}from"react/jsx-runtime";var MN=F.options,gN=F.states,SN={...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=v(Vd,{children:pe(st,{layout:"wrap",children:[v(ft,{text:"Post for work-life balance importance"}),v(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 v(U,{className:"k-prompt-popup",children:pe(F,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:pe(D,{className:"k-toolbar-flat",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),v(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),v($,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0})]})}),v(Ee,{children:v(Be,{children:pe(ca,{children:[v(k,{header:!0,icon:"brush",text:"Change Formality",children:pe(le,{children:[v(k,{level:1,text:"Casual"}),v(k,{level:1,text:"Neutral"}),v(k,{level:1,text:"Formal"})]})}),v(k,{header:!0,expanded:!0,icon:"edit-tools",text:"Translate",children:pe(le,{children:[v(k,{level:1,text:"German"}),v(k,{level:1,text:"Spanish"})]})}),v(k,{header:!0,icon:"min-width",text:"Simplify"}),v(k,{header:!0,icon:"arrows-left-right",text:"Expand"})]})})})]})});case"output":return v(U,{className:"k-prompt-popup",children:pe(F,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:pe(D,{className:"k-toolbar-flat",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),v(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),v($,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),pe(Ee,{children:[v(lo,{}),v(Be,{children:pe("div",{className:"k-card-list",children:[pe(Q,{children:[v(Et,{title:"Generated with AI",subtitle:"Linked in post for work/life balance importance"}),v(Oe,{children:pe("p",{children:["\u{1F31F} Embracing Work/Life Balance for Success \u{1F31F}",v("br",{}),v("br",{}),"Hello LinkedIn network! \u{1F44B} Today, let's talk about a key to our well-being: work/life balance. \u{1F310}\u2696\uFE0F",v("br",{}),v("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}",v("br",{}),v("br",{}),"\u2728 Key Points \u2728",v("br",{}),v("br",{}),"Enhances Productivity: Less burnout, more motivation. \u{1F680}",v("br",{}),"Boosts Creativity: New experiences = fresh ideas. \u{1F4A1}",v("br",{}),"Improves Health: Mental and physical benefits. \u{1F9D8}\u200D\u2642\uFE0F",v("br",{}),"Strengthens Relationships: Quality time matters. \u{1F91D}",v("br",{}),"Let's champion a culture where success and well-being go hand in hand. Share your work/life balance tips below! \u{1F447}",v("br",{}),v("br",{}),"#WorkLifeBalance #Productivity #WellBeing"]})}),pe(G,{className:"k-card-actions",alignment:"start",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),v(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),v("span",{className:"k-spacer"}),v($,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),v($,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]}),pe(Q,{children:[v(Et,{title:"Generated with AI",subtitle:"Out of Office"}),v(Oe,{children:pe("p",{children:["Subject: Out of Office: [Your Name]",v("br",{}),v("br",{}),"Dear [Recipient's Name],",v("br",{}),v("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.",v("br",{}),v("br",{}),"Thank you,",v("br",{}),"[Your Name]"]})}),pe(G,{className:"k-card-actions",alignment:"start",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),v(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),v("span",{className:"k-spacer"}),v($,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),v($,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]})]})})]})]})});default:return v(U,{className:"k-prompt-popup",children:pe(F,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:pe(D,{className:"k-toolbar-flat",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),v(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),v($,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),v(Ee,{children:pe(Be,{children:[v(Y,{resize:"none",rows:2,placeholder:"Ask or generate content with AI",suffixSeparator:!1,suffix:v(Vd,{children:s.stt?v(te,{fillMode:"flat"}):null})}),v(kn,{expanded:s.suggestions,title:"Suggestions",children:n})]})}),v(qo,{children:v(G,{className:"k-prompt-actions",alignment:"start",children:v(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})})}};fa.options=MN;fa.states=gN;fa.variants=IN;fa.defaultOptions=SN;fa.modifiers=kN;fa.className=F.className;import{Fragment as BN,jsx as pt,jsxs as Un}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=Un(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,"}),Un(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:Un(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:Un(BN,{children:[a.commands?pt($,{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 qa}from"react/jsx-runtime";var iV=e=>qa(F,{...e,children:[Ue(ut,{children:qa(D,{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($,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0,"aria-label":"More actions"})]})}),Ue(Ee,{children:Ue(Be,{children:qa(ca,{children:[Ue(k,{header:!0,text:"Command"}),Ue(k,{header:!0,expanded:!0,text:"Command Expanded",children:qa(le,{children:[Ue(k,{level:1,expanded:!0,text:"Child Expanded",children:qa(le,{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{iV as PromptMoreActions};