@progress/kendo-themes-html 14.7.1-dev.5 → 14.7.1-dev.7
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.
- package/dist/cjs/chat/chat-message.spec.js +1 -1
- package/dist/cjs/chat/demos/chat.js +1 -1
- package/dist/cjs/chat/templates/chat-empty.js +1 -1
- package/dist/cjs/chat/templates/chat-expandable.js +1 -1
- package/dist/cjs/chat/templates/chat-failed.js +1 -1
- package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
- package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
- package/dist/cjs/chat/templates/chat-normal.js +1 -1
- package/dist/cjs/chat/templates/chat-pinned.js +1 -1
- package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
- package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
- package/dist/cjs/chat/templates/chat-typing.js +1 -1
- package/dist/cjs/chat/templates/chat-upload.js +1 -1
- package/dist/cjs/datainsights-composer/demos/datainsights-composer.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-error.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-followup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-history-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-loading.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.js +1 -0
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/prompt/demos/prompt.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
- package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
- package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
- package/dist/cjs/prompt/templates/prompt-output.js +1 -1
- package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
- package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
- package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
- package/dist/cjs/suggestion/suggestion.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-normal.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-scrollable-buttons.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-wrap.js +1 -1
- package/dist/cjs/timepicker/demos/timepicker.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-adaptive.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-disabled.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-invalid.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-normal.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-popup.js +1 -1
- package/dist/cjs/timepicker/timepicker.spec.js +1 -1
- package/dist/esm/chat/chat-message.spec.mjs +1 -1
- package/dist/esm/chat/demos/chat.mjs +1 -1
- package/dist/esm/chat/templates/chat-empty.mjs +1 -1
- package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
- package/dist/esm/chat/templates/chat-failed.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
- package/dist/esm/chat/templates/chat-normal.mjs +1 -1
- package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
- package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
- package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
- package/dist/esm/chat/templates/chat-typing.mjs +1 -1
- package/dist/esm/chat/templates/chat-upload.mjs +1 -1
- package/dist/esm/datainsights-composer/demos/datainsights-composer.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-error.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-followup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-history-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-loading.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.mjs +1 -0
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/prompt/demos/prompt.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
- package/dist/esm/suggestion/suggestion.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-normal.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-scrollable-buttons.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-wrap.mjs +1 -1
- package/dist/esm/timepicker/demos/timepicker.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-adaptive.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-disabled.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-invalid.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-normal.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-popup.mjs +1 -1
- package/dist/esm/timepicker/timepicker.spec.mjs +1 -1
- package/dist/types/datainsights-composer/index.d.ts +1 -0
- package/dist/types/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.d.ts +2 -0
- package/package.json +1 -1
- package/src/action-sheet/tests/action-sheet-date-time-selector.tsx +1 -1
- package/src/action-sheet/tests/action-sheet-time-selector.tsx +2 -2
- package/src/datainsights-composer/index.ts +1 -0
- package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.tsx +65 -0
- package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel.tsx +3 -3
- package/src/datainsights-composer/tests/datainsights-composer-edit-mode-compact.tsx +10 -0
- package/src/suggestion/suggestion.tsx +3 -2
- 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 k=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),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((T,A)=>(A.startsWith("k-")?T[A]=S[A]:T[`k-${A}`]=S[A],T),{}))};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 y(e){return Xn[e]=(Xn[e]||0)+1,`k-${e}-${Xn[e]}`}var Wn="action-buttons",Ri=Wn;import{jsx as Wd}from"react/jsx-runtime";var Ya="k-actions",$d=[],Xd={},Jn={alignment:"start",orientation:"horizontal"},z=e=>{let{alignment:t=Jn.alignment,orientation:o=Jn.orientation,...a}=e;return Wd("div",{...a,className:r(Ya,{[`${Ya}-${t}`]:t,[`${Ya}-${o}`]:o},e.className),children:e.children})};z.states=$d;z.options=Xd;z.className=Ya;z.defaultOptions=Jn;z.moduleName=Wn;z.folderName=Ri;import{Fragment as Qd,jsx as wi}from"react/jsx-runtime";var qn="k-font-icon",Jd=[],qd={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]},Yd={},ha=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...l}=e;return a?wi("span",{...l,className:r(e.className,qn,k(qn,{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"}):wi(Qd,{})};ha.states=Jd;ha.options=qd;ha.className=qn;ha.defaultOptions=Yd;var _i=ha;import{Fragment as ep,jsx as Qa}from"react/jsx-runtime";var Yn="k-svg-icon",Zd=[],jd={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},Na=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 Qa(ep,{});if(m==="none")return Qa("span",{...f,className:r(e.className,Yn,k("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 Qa("span",{...f,className:r(e.className,Yn,k("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Qa("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})})};Na.states=Zd;Na.options=jd;Na.className=Yn;Na.defaultOptions=Qn;var Zn=Na;import*as jn from"@progress/kendo-svg-icons";var Di="icon",Hi="icons";import{useContext as op}from"react";import{createContext as tp}from"react";var zi=tp({iconsType:"svg"});import{Fragment as Gi,jsx as va}from"react/jsx-runtime";var Za="k-icon",ap=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),np=[],rp={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]},ja={viewBox:"0 0 24 24",type:"svg",variant:bt.outline},L=e=>{let{iconsType:t}=op(zi),{size:o,themeColor:a,icon:n,type:s=t||ja.type,rotate:l,flip:m,viewBox:f=ja.viewBox,variant:N=ja.variant,...h}=e;if(!n)return va(Gi,{});if((t||s)==="svg"){if(n==="none")return va(Zn,{...h,className:r(e.className,Za),icon:n,size:o,variant:N});let c=jn[n]?n:ap(`${n}-icon`);return jn[c]?va(Zn,{...h,className:r(e.className,Za),icon:jn[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:f,variant:N}):va(Gi,{})}return va(_i,{...h,className:r(e.className,Za),icon:n,size:o,themeColor:a,rotate:l,flip:m})};L.states=np;L.options=rp;L.defaultOptions=ja;L.className=Za;L.moduleName=Di;L.folderName=Hi;var er="button",Ui=er;import{Fragment as tr,jsx as Bt,jsxs as Fi}from"react/jsx-runtime";var Ca="k-button",ip=["icon-button"],sp=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],lp={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]},or={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:l=or.showArrow,arrowIconName:m=or.arrowIconName,variant:f,hover:N,focus:h,active:M,selected:c,disabled:C,togglable:g,ariaDisabled:S,icon:T,endIcon:A,iconSize:K,text:V,iconClassName:ie,className:he,...pe}=e,ce=T!=null,ba=e.children!==void 0;return Fi(t,{className:r(he,Ca,Pi(Ca,f),k(Ca,{size:o,rounded:a,fillMode:n,themeColor:s}),I(Ca,{hover:N,focus:h,active:M,disabled:C||S,selected:c}),{"k-icon-button":!V&&!ba&&ce}),"aria-pressed":g?c?"true":"false":void 0,...pe,"aria-disabled":S?"true":void 0,disabled:C||void 0,children:[typeof T=="string"&&T&&Bt(L,{className:r(ie,"k-button-icon"),icon:T,size:K}),T&&typeof T!="string"&&Bt(tr,{children:T}),V?Fi(tr,{children:[V&&Bt("span",{className:"k-button-text",children:V}),e.children]}):e.children&&Bt("span",{className:"k-button-text",children:e.children}),typeof A=="string"&&A&&Bt(L,{className:r(ie,"k-button-icon"),icon:A,size:K}),A&&typeof A!="string"&&Bt(tr,{children:A}),l&&Bt("span",{className:"k-menu-button-arrow k-button-arrow",children:Bt(L,{icon:m})})]})};d.states=sp;d.options=lp;d.variants=ip;d.className=Ca;d.defaultOptions=or;d.moduleName=er;d.folderName=Ui;import{jsx as dp}from"react/jsx-runtime";var $=e=>dp(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as pp}from"react/jsx-runtime";var R=e=>pp(d,{icon:"folder",children:"Button",...e});import{jsx as Bv}from"react/jsx-runtime";import{jsx as mp}from"react/jsx-runtime";var Jt=e=>mp(d,{children:"Button",...e});import{jsx as ar}from"react/jsx-runtime";var cp=d.options,up=d.states,fp={...d.defaultOptions,variant:"text"},bp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xp=[],fo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return ar($,{...o,icon:"star"});case"icon-and-text":return ar(R,{...o,icon:"star",children:"Button"});default:return ar(Jt,{...o,children:"Button"})}};fo.options=cp;fo.states=up;fo.variants=bp;fo.defaultOptions=fp;fo.modifiers=xp;fo.className=d.className;var nr="button",Vi=nr;import{jsx as Cp}from"react/jsx-runtime";var La="k-button-group",hp=[i.disabled],Np={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},vp={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Cp("div",{role:"group",...n,className:r(e.className,La,k(La,{fillMode:t}),I(La,{disabled:o}),{[`${La}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=hp;O.options=Np;O.className=La;O.defaultOptions=vp;O.moduleName=nr;O.folderName=Vi;import{Fragment as rC,jsx as nC,jsxs as iC}from"react/jsx-runtime";import{Fragment as cC,jsx as mC,jsxs as uC}from"react/jsx-runtime";import{Fragment as vC,jsx as NC,jsxs as CC}from"react/jsx-runtime";import{Fragment as kC,jsx as IC,jsxs as AC}from"react/jsx-runtime";import{Fragment as PC,jsx as OC,jsxs as KC}from"react/jsx-runtime";import{Fragment as zC,jsx as HC,jsxs as GC}from"react/jsx-runtime";import{Fragment as WC,jsx as XC,jsxs as JC}from"react/jsx-runtime";import{jsx as gt,jsxs as rr}from"react/jsx-runtime";var Lp={...d.options,...O.options},Mp=d.states,gp={...d.defaultOptions,...O.defaultOptions,variant:"text-button"},Sp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ip=[],bo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?rr(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"?rr(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"})]}):rr(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,children:"First"}),gt(d,{...a,children:"Middle"}),gt(d,{...a,children:"Last"})]})};bo.options=Lp;bo.states=Mp;bo.variants=Sp;bo.defaultOptions=gp;bo.modifiers=Ip;bo.className=O.className;var Ma="input",en=Ma;import{jsx as yp}from"react/jsx-runtime";var tn="k-input",kp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ap={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]},Tp={},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 yp("span",{...M,className:r(e.className,tn,k(tn,{size:f,rounded:N,fillMode:h}),I(tn,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m}))})};Z.states=kp;Z.options=Ap;Z.className=tn;Z.defaultOptions=Tp;Z.moduleName=Ma;Z.folderName=en;import{jsx as Pp}from"react/jsx-runtime";var on="k-picker",Ep=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bp={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]},Op={},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 Pp("span",{...M,className:r(e.className,on,k(on,{size:f,rounded:N,fillMode:h}),I(on,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m})),children:e.children})};xt.states=Ep;xt.options=Bp;xt.className=on;xt.defaultOptions=Op;xt.moduleName=Ma;xt.folderName=en;import{Fragment as wp,jsx as ir}from"react/jsx-runtime";var $i="k-clear-value",Kp=[i.disabled,i.loading,i.readonly],Rp={},Ve=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?ir(wp,{}):ir("span",{className:r(e.className,$i),children:ir(L,{icon:"x"})})};Ve.states=Kp;Ve.options=Rp;Ve.className=$i;import{jsx as Hp}from"react/jsx-runtime";var sr="k-input-inner",_p=[],Dp={},an={type:"text",autocomplete:"off",value:"",placeholder:""},$e=e=>{let{value:t=an.value,type:o=an.type,placeholder:a=an.placeholder,autocomplete:n=an.autocomplete,disabled:s,readOnly:l,...m}=e;return Hp("input",{...m,type:o,className:r(e.className,sr,k(sr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};$e.states=_p;$e.options=Dp;$e.className=sr;import{jsx as Xi,jsxs as Up}from"react/jsx-runtime";var lr="k-input-inner",zp=[],Gp={},qt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...l}=e;return Up("span",{...l,className:r(e.className,lr,k(lr,e)),children:[n,!n&&s&&Xi(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Xi("span",{className:"k-input-value-text",children:t})]})};qt.states=zp;qt.options=Gp;qt.className=lr;import{jsx as $p}from"react/jsx-runtime";var dr="k-input-inner",Fp=[],Vp={},Wi={value:"",placeholder:""},ga=e=>{let{value:t=Wi.value,placeholder:o=Wi.placeholder,rows:a,disabled:n,...s}=e;return $p("textarea",{...s,className:r(e.className,dr,k(dr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ga.states=Fp;ga.options=Vp;ga.className=dr;import{Fragment as Wp,jsx as Ji}from"react/jsx-runtime";var qi="k-input-loading-icon",Xp=[i.disabled,i.loading],we=e=>{let{disabled:t,loading:o}=e;return t||!o?Ji(Wp,{}):Ji("span",{className:r(e.className,qi,"k-icon k-i-loading")})};we.states=Xp;we.className=qi;import{Fragment as Yp,jsx as Yi}from"react/jsx-runtime";var Qi="k-input-validation-icon",Jp=[i.valid,i.invalid,i.disabled,i.loading],qp={},ge=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Yi(Yp,{}):Yi(L,{className:r(Qi),icon:s})};ge.states=Jp;ge.options=qp;ge.className=Qi;import{Fragment as jp,jsx as Zi}from"react/jsx-runtime";var Qp="k-input-prefix",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-prefix-${t}`]:t}),children:e.children}):Zi(jp,{})};import{Fragment as om,jsx as ji}from"react/jsx-runtime";var em="k-input-suffix",tm={direction:"horizontal"},De=e=>{let{direction:t=tm.direction,...o}=e;return e.children?ji("span",{...o,className:r(em,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):ji(om,{})};import{jsx as qL}from"react/jsx-runtime";import{jsx as nm}from"react/jsx-runtime";var am="k-input-suffix-text",pr=e=>{let{children:t,...o}=e;return nm("span",{...o,className:r(am,e.className),children:t})};import{jsx as im}from"react/jsx-runtime";var es="k-input-separator",rm={direction:"vertical"},Se=e=>{let{direction:t=rm.direction,...o}=e;return im("span",{...o,className:r(es,e.className,{[`${es}-${t}`]:t})})};import{Fragment as ts,jsx as ht,jsxs as mr}from"react/jsx-runtime";var sm=Z.states,lm=Z.defaultOptions,dm=Z.options,pm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],mm=[],xo=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 mr(Z,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:l,style:{width:300},children:[f&&mr(ts,{children:[ht(_e,{children:ht(L,{icon:"lock"})}),c&&ht(Se,{})]}),ht($e,{placeholder:"Placeholder",value:"Value"}),M&&ht(ge,{valid:o,invalid:a,loading:n,disabled:s}),ht(we,{loading:n,disabled:s}),h&&ht(Ve,{loading:n,disabled:s,readonly:l,value:"Value"}),N&&mr(ts,{children:[c&&ht(Se,{}),ht(De,{children:ht(Jt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};xo.options=dm;xo.states=sm;xo.variants=mm;xo.defaultOptions=lm;xo.modifiers=pm;xo.className=Z.className;import{jsx as os,jsxs as fm}from"react/jsx-runtime";var as="k-color-preview",cm=[],um={},Ot=e=>{let{color:t,iconName:o,...a}=e;return fm("span",{...a,className:r(e.className,as,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&os(L,{icon:o,className:"k-color-preview-icon"}),os("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ot.states=cm;Ot.options=um;Ot.className=as;var cr="popup",ns=cr;import{jsx as rs}from"react/jsx-runtime";var is="k-animation-container",bm=[],xm={},ur={positionMode:"absolute",shown:!0},Nt=e=>{let{positionMode:t=ur.positionMode,shown:o=ur.shown,animationStyle:a,offset:n,...s}=e;return rs("div",{...s,style:{...n,...e.style},className:r(e.className,is,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:rs("div",{className:"k-child-animation-container",style:a,children:e.children})})};Nt.states=bm;Nt.options=xm;Nt.className=is;Nt.defaultOptions=ur;Nt.moduleName=cr;Nt.folderName=ns;var fr="popup",ss=fr;import{jsx as ls}from"react/jsx-runtime";var ds="k-popup",hm=[],Nm={},ps={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=ps.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:l,...m}=e;return ls(Nt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":l,children:ls("div",{...m,className:r(e.className,ds),children:e.children})})};U.states=hm;U.options=Nm;U.className=ds;U.defaultOptions=ps;U.moduleName=fr;U.folderName=ss;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":z,...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 Sa,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"},je=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":T,...A}=e;return gm(Z,{...A,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&&Sa(L,{className:"k-input-icon",icon:S}),Sa($e,{placeholder:o,value:t,"aria-label":T}),Sa(we,{...e}),Sa(ge,{...e}),g&&Sa(Ve,{...e})]})};je.states=Lm;je.options=Mm;je.className=us;je.defaultOptions=nn;je.moduleName=br;je.folderName=cs;import{jsx as ug}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:T,loading:A,disabled:K,readonly:V,id:ie,"aria-label":he,"aria-describedby":pe,...ce}=e;return hr(Z,{...ce,size:t,rounded:o,fillMode:a,hover:c,focus:C,valid:g,invalid:S,required:T,loading:A,disabled:K,readonly:V,className:r(e.className,xs),children:[m&&hr(bs,{children:[Kt(_e,{children:m}),n&&Kt(Se,{})]}),Kt($e,{id:ie,placeholder:M,value:h,type:N,disabled:K,"aria-label":he,"aria-describedby":pe,"aria-invalid":S?"true":void 0}),l&&Kt(ge,{valid:g,invalid:S,loading:A,disabled:K}),Kt(we,{loading:A,disabled:K}),s&&Kt(Ve,{loading:A,disabled:K,readonly:V,value:h}),f&&hr(bs,{children:[n&&Kt(Se,{}),Kt(De,{children:f})]})]})};Ne.states=Sm;Ne.options=Im;Ne.className=xs;Ne.defaultOptions=rn;Ne.moduleName=xr;Ne.folderName=fs;var Ia=Ne;import{jsx as km}from"react/jsx-runtime";var hs=e=>km(Ia,{...e});import{Fragment as Bg,jsx as Eg}from"react/jsx-runtime";import{Fragment as _g,jsx as wg}from"react/jsx-runtime";import{jsx as Gg}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=[],ho=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})};ho.options=ym;ho.states=Am;ho.variants=Bm;ho.defaultOptions=Tm;ho.modifiers=Em;ho.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(je,{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={},No=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]})};No.states=Pm;No.options=Km;No.className=Lr;No.defaultOptions=Rm;var ka="action-sheet",sn=ka;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={},Aa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=Aa.side,fullscreen:o=Aa.fullscreen,adaptive:a=Aa.adaptive,overlay:n=Aa.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(No,{header:m,footer:f,adaptive:a,titleId:M,...e,children:l})})})]})};oe.states=Gm;oe.options=Um;oe.className=Ls;oe.defaultOptions=Aa;oe.moduleName=ka;oe.folderName=sn;import{jsx as Wm}from"react/jsx-runtime";var Ms="k-actionsheet-container",Vm=[],$m={},Xm={},vo=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:Ms,children:t})};vo.states=Vm;vo.options=$m;vo.className=Ms;vo.defaultOptions=Xm;vo.moduleName=ka;vo.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 Ta,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&&Ta(Ym,{children:Sr("span",{className:"k-actionsheet-action",children:[t&&Ta("span",{className:"k-icon-wrap",children:Ta(L,{className:"k-actionsheet-item-icon",icon:t})}),Sr("span",{className:"k-actionsheet-item-text",children:[o&&Ta("span",{className:"k-actionsheet-item-title",children:o}),a&&Ta("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};_t.states=qm;_t.className=Ir;import{jsx as zS,jsxs as GS}from"react/jsx-runtime";import{jsx as $S}from"react/jsx-runtime";import{jsx as qS}from"react/jsx-runtime";import{jsx as jS}from"react/jsx-runtime";import{jsx as ue,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"}],Co=e=>{let{variant:t,modifiers:o,...a}={...Ss,...e},n={},s=kr(gr,{children:[ue(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ue(_t,{text:"Add to Favorites",iconName:"heart"}),ue(_t,{text:"Upload New",iconName:"upload",disabled:!0}),ue("hr",{className:"k-hr"}),ue(_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"?ue(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:ue(Ie,{actionsStart:n.actionsStart?ue(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?ue(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?kr(Pt,{alignment:"stretched",children:[ue(d,{text:"Cancel",size:"large",themeColor:"base"}),ue(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ue(oe,{...a,fullscreen:n.fullScreen,header:ue(Ie,{actionsStart:n.actionsStart?ue(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?ue(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?kr(Pt,{alignment:"stretched",children:[ue(d,{text:"Apply",themeColor:"primary"}),ue(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Co.options=Qm;Co.states=Zm;Co.variants=jm;Co.defaultOptions=Ss;Co.modifiers=ec;Co.className=oe.className;var Ar="slider",Is=Ar;import{jsx as Lo,jsxs as Tr}from"react/jsx-runtime";var ya="k-slider",tc=[i.hover,i.focus,i.active,i.disabled,i.readonly],oc={},et={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},Y=e=>{let{type:t=et.type,orientation:o=et.orientation,gradientType:a=et.gradientType,readonly:n=et.readonly,disabled:s=et.disabled,handlePosition:l=et.handlePosition,showButtons:m=et.showButtons,showTicks:f=et.showTicks,value:N=et.value,min:h=et.min,max:M=et.max,startValue:c,endValue:C,hover:g,focus:S,active:T,trackStyle:A,dir:K,...V}=e,he=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),pe,ce;return o==="horizontal"?(pe=K==="rtl"?"chevron-left":"chevron-right",ce=K==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(pe="chevron-up",ce="chevron-down"),Tr("div",{...V,className:r(ya,e.className,I(ya,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:K,children:[m&&Lo(d,{className:"k-button-decrease",rounded:"full",icon:ce,tabIndex:-1,title:"Decrease"}),Tr("div",{className:"k-slider-track-wrap",children:[f&&Lo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Tr("div",{className:"k-slider-track",style:A,children:[Lo("div",{className:"k-slider-selection"}),t==="range"&&Lo("span",{className:r("k-draghandle","k-draghandle-start",I(ya,{hover:g,focus:S,active:T})),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"}),Lo("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(ya,{hover:g,focus:S,active:T})),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&&Lo(d,{className:"k-button-increase",rounded:"full",icon:pe,tabIndex:-1,title:"Increase"})]})};Y.states=tc;Y.options=oc;Y.className=ya;Y.defaultOptions=et;Y.moduleName=Ar;Y.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 tt,jsxs as ic}from"react/jsx-runtime";var ys=e=>tt(Y,{"aria-label":e["aria-label"]||"Slider",children:ic(rc,{children:[tt(B,{className:"k-first",label:!0,large:!0,text:"0"}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{label:!0,large:!0,text:"5"}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as sc,jsx as ot,jsxs as lc}from"react/jsx-runtime";var Es=e=>ot(Y,{children:lc(sc,{children:[ot(B,{className:"k-first",label:!0,large:!0,text:"0"}),ot(B,{}),ot(B,{}),ot(B,{}),ot(B,{}),ot(B,{label:!0,large:!0,text:"5"}),ot(B,{}),ot(B,{}),ot(B,{}),ot(B,{}),ot(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as GI,jsx as zI,jsxs as UI}from"react/jsx-runtime";import{Fragment as WI,jsx as XI,jsxs as JI}from"react/jsx-runtime";import{jsx as dc}from"react/jsx-runtime";var yr=e=>dc(Y,{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(Y,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as rk,jsx as nk,jsxs as ik}from"react/jsx-runtime";import{Fragment as mk,jsx as pk,jsxs as ck}from"react/jsx-runtime";import{jsx as vt,jsxs as Bs}from"react/jsx-runtime";var mc=Y.options,cc=Y.states,Os={...Y.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}],Mo=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%"}})]})};Mo.options=mc;Mo.states=cc;Mo.variants=uc;Mo.defaultOptions=Os;Mo.modifiers=fc;Mo.className=Y.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:T,disabled:A,readonly:K,id:V,"aria-label":ie,"aria-describedby":he,...pe}=e;return Or(Z,{...pe,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:K,className:r(e.className,Ds),children:[m&&Or(_s,{children:[St(_e,{children:m}),n&&St(Se,{})]}),St($e,{id:V,placeholder:h,value:N,role:"spinbutton",disabled:A,"aria-label":ie,"aria-describedby":he,"aria-invalid":g?"true":void 0}),St(ge,{valid:C,invalid:g,loading:T,disabled:A}),St(we,{loading:T,disabled:A}),s&&St(Ve,{loading:T,disabled:A,readonly:K,value:N}),f&&Or(_s,{children:[n&&St(Se,{}),St(De,{children:f})]}),l&&St(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:A})]})};X.states=Cc;X.options=Lc;X.className=Ds;X.defaultOptions=dn;X.moduleName=Rs;X.folderName=ws;var Ea=X;import{jsx as Mc}from"react/jsx-runtime";var Hs=e=>Mc(Ea,{...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",go=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,k(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=go;import{jsx as Oc}from"react/jsx-runtime";var Fs="k-list-container",yc=[],Ec={},Bc={},So=e=>{let{...t}=e;return Oc("div",{...t,className:r(e.className,Fs),children:e.children})};So.states=yc;So.options=Ec;So.className=Fs;So.defaultOptions=Bc;So.moduleName=Yt;So.folderName=go;var Qt="checkbox",Io=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={},Xe=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,k(mn,{size:h,rounded:M}),I(mn,{hover:n,focus:s,disabled:l,invalid:m,valid:f,indeterminate:a,checked:o}))})})};Xe.states=Pc;Xe.options=Kc;Xe.className=mn;Xe.defaultOptions=Rc;Xe.moduleName=Qt;Xe.folderName=Io;var ct=Xe;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=Io;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=Io;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(ct,{id:t,...o}),Js("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as wA,jsx as RA,jsxs as _A}from"react/jsx-runtime";import{Fragment as UA,jsx as GA,jsxs as FA}from"react/jsx-runtime";import{Fragment as JA,jsx as WA,jsxs as qA}from"react/jsx-runtime";import{jsx as jA}from"react/jsx-runtime";import{jsx as aT}from"react/jsx-runtime";import{jsx as sT}from"react/jsx-runtime";import{jsx as at,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=[],ko=e=>{let{variant:t,...o}=e;return t==="horizontal"?qs(ke,{layout:"horizontal",...o,children:[at(Ae,{children:at(It,{id:y("cb"),defaultChecked:!0,children:"Label"})}),at(Ae,{children:at(It,{id:y("cb"),children:"Label"})}),at(Ae,{children:at(It,{id:y("cb"),children:"Label"})})]}):qs(ke,{...o,children:[at(Ae,{children:at(It,{id:y("cb"),defaultChecked:!0,children:"Label"})}),at(Ae,{children:at(It,{id:y("cb"),children:"Label"})}),at(Ae,{children:at(It,{id:y("cb"),children:"Label"})})]})};ko.options=$c;ko.states=Xc;ko.variants=Jc;ko.defaultOptions=Wc;ko.modifiers=qc;ko.className=ke.className;import{jsx as tu}from"react/jsx-runtime";var Yc=ct.options,Qc=ct.states,Zc=ct.defaultOptions,jc=[],eu=[],Ao=e=>tu(It,{id:y("checkbox"),...e,defaultChecked:!0,children:"Label"});Ao.options=Yc;Ao.states=Qc;Ao.variants=jc;Ao.defaultOptions=Zc;Ao.modifiers=eu;Ao.className=ct.className;import{jsx as To,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&&To(Xe,{checked:s,disabled:N,"aria-label":S,tabIndex:-1}),o&&To("span",{className:"k-list-item-icon-wrapper",children:To(L,{icon:o,className:r("k-list-item-icon",a)})}),To("span",{className:"k-list-item-text",children:g}),h&&To("div",{className:"k-list-item-actions",children:h}),M&&To("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=go;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(Xe,{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 ty,jsx as ey,jsxs as oy}from"react/jsx-runtime";import{jsx as sy,jsxs as ly}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 Cy,jsx as vy,jsxs as Ly}from"react/jsx-runtime";import{Fragment as Ay,jsx as ky,jsxs as Ty}from"react/jsx-runtime";import{Fragment as Ry,jsx as Py,jsxs as Ky}from"react/jsx-runtime";import{Fragment as Uy,jsx as zy,jsxs as Gy}from"react/jsx-runtime";import{jsx as Xy}from"react/jsx-runtime";import{Fragment as Zy,jsx as Qy,jsxs as jy}from"react/jsx-runtime";import{Fragment as rE,jsx as nE,jsxs as iE}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"},me=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:T,disabled:A,readonly:K,popup:V,opened:ie,adaptive:he,adaptiveSettings:pe,adaptiveTitle:ce,adaptiveSubtitle:ba,adaptiveFilter:Xt,id:Wt,activeDescendant:xa,"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:T,disabled:A,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&&xa?xa:void 0,"aria-describedby":ie?Oi:void 0,"aria-disabled":A?"true":void 0,"aria-label":Fn,tabIndex:0,children:[Te(_e,{children:m}),Te(qt,{placeholder:h,value:N,showValue:s,valueIconName:l,id:Oi}),Te(ge,{valid:C,invalid:g,loading:T,disabled:A}),Te(we,{loading:T,disabled:A}),Te(De,{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,...pe,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:ce,subtitle:ba}),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"})]})})})})]})};me.states=Mu;me.options=gu;me.className=Zs;me.defaultOptions=Ur;me.moduleName=Ys;me.folderName=Qs;import{jsx as GE}from"react/jsx-runtime";import{jsx as WE,jsxs as JE}from"react/jsx-runtime";import{Fragment as aB,jsx as tB,jsxs as oB}from"react/jsx-runtime";import{jsx as lB}from"react/jsx-runtime";import{jsx as fB,jsxs as bB}from"react/jsx-runtime";import{Fragment as SB,jsx as MB,jsxs as gB}from"react/jsx-runtime";import{jsx as yB}from"react/jsx-runtime";import{Fragment as Eu,jsx as Gt,jsxs as js}from"react/jsx-runtime";var Iu=me.states,ku=me.defaultOptions,Au=me.options,Tu=[{name:"opened",title:"Opened"}],yu=[],Eo=e=>{let{modifiers:t,...o}=e,a={},n=js(Eu,{children:[Gt("div",{className:"k-list-filter",children:Gt(je,{})}),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(me,{placeholder:"Value",style:{width:300},...o,...a})})};Eo.options=Au;Eo.states=Iu;Eo.variants=yu;Eo.defaultOptions=ku;Eo.modifiers=Tu;Eo.className=me.className;import{Fragment as QB,jsx as YB}from"react/jsx-runtime";import{Fragment as aO,jsx as oO}from"react/jsx-runtime";import{jsx as sO}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=[],Bo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Fr(me,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Fr(pr,{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})};Bo.options=Pu;Bo.states=Bu;Bo.variants=Ru;Bo.defaultOptions=Ou;Bo.modifiers=Ku;Bo.className=X.className;import{Fragment as Oa,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"},Oo=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(Oa,{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(Oa,{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(Oa,{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(Oa,{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(Oa,{children:ae("div",{className:"k-vstack k-flex-1",children:[w(Ne,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),w("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Oo.states=wu;Oo.options=_u;Oo.className=el;Oo.defaultOptions=tl;import{jsx as Zt,jsxs as jt}from"react/jsx-runtime";var ol="k-colorgradient-color-contrast",Du=[],Hu={},zu={},Po=()=>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"})]})]})]});Po.states=Du;Po.options=Hu;Po.className=ol;Po.defaultOptions=zu;var al="color-gradient",nl="colorgradient";import{jsx as nt,jsxs as Pa}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"},fe=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:T,tabIndex:A,...K}=e;return Pa("div",{...K,role:T??"textbox","aria-label":T==="none"?void 0:"Color gradient",tabIndex:A??0,"aria-disabled":n?"true":void 0,className:r(e.className,bn,k(bn,{size:t}),I(bn,{hover:M,focus:c,readonly:a,disabled:n})),dir:h,children:[!S||S==="horizontal"&&Pa("div",{className:"k-colorgradient-canvas k-hstack",children:[nt("div",{className:"k-hsv-rectangle",style:s,children:nt("div",{className:"k-hsv-gradient",children:nt("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})})}),Pa("div",{className:"k-hsv-controls k-hstack",children:[nt(Er,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&nt(Er,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:m})]})]}),S==="vertical"&&Pa("div",{className:"k-colorgradient-canvas k-vstack",children:[nt("div",{className:"k-hsv-rectangle",style:s,children:nt("div",{className:"k-hsv-gradient",children:nt("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})})}),Pa("div",{className:"k-hsv-controls k-vstack",children:[nt(yr,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&nt(yr,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:f})]})]}),nt(Oo,{mode:e.mode,size:t}),N&&nt(Po,{})]})};fe.states=Gu;fe.options=Uu;fe.className=bn;fe.defaultOptions=Ct;fe.moduleName=al;fe.folderName=nl;import{jsx as Fu}from"react/jsx-runtime";var xn=e=>Fu(fe,{...e});import{jsx as XO}from"react/jsx-runtime";import{jsx as YO}from"react/jsx-runtime";import{jsx as Vr}from"react/jsx-runtime";var Vu=fe.options,$u=fe.states,Xu={...fe.defaultOptions,variant:"rgba"},Wu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Ju=[],Ko=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})}};Ko.options=Vu;Ko.states=$u;Ko.variants=Wu;Ko.defaultOptions=Xu;Ko.modifiers=Ju;Ko.className=fe.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 Ka}from"react/jsx-runtime";var hn="k-colorpalette",ju=[i.disabled],ef={size:[p.undefined,p.small,p.medium,p.large]},sl={columns:10},He=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(Ka(Ut,{color:g,tileSize:n},S))});let C=Ka($r,{children:c},M);m.push(C)})}return Ka("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}),k(hn,{size:t})),children:Ka("table",{className:"k-colorpalette-table",role:"none",children:Ka("tbody",{children:m.length>0?m:e.children})})})};He.states=ju;He.options=ef;He.className=hn;He.defaultOptions=sl;He.moduleName=rl;He.folderName=il;var Nn=He;var Ra={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:Ra.basic,...e});import{jsx as BP}from"react/jsx-runtime";import{jsx as _P,jsxs as DP}from"react/jsx-runtime";import{jsx as df}from"react/jsx-runtime";var of=He.options,af=He.states,nf={...He.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=[],Ro=e=>{let{variant:t="basic",...o}=e,a=sf[t];return df(ll,{columns:a.columns,palette:a,...o})};Ro.options=of;Ro.states=af;Ro.variants=rf;Ro.defaultOptions=nf;Ro.modifiers=lf;Ro.className=He.className;var dl="color-editor",pl="coloreditor";import{jsx as rt,jsxs as wo}from"react/jsx-runtime";var vn="k-coloreditor",pf=[i.focus],mf={size:[p.undefined,p.small,p.medium,p.large]},wa={view:"gradient",palette:Ra.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=wa.view,palette:a=wa.palette,color:n,currentColor:s,focus:l,focusView:m,dir:f,group:N,actionButtons:h=wa.actionButtons,canvasOrientation:M=wa.canvasOrientation,...c}=e;return wo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",vn,k(vn,{size:t}),I(vn,{focus:l})),dir:f,children:[wo("div",{className:"k-coloreditor-header k-hstack",children:[rt("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&wo(O,{fillMode:"flat",children:[rt(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),rt(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),rt("div",{className:"k-spacer"}),wo("div",{className:"k-coloreditor-header-actions k-hstack",children:[rt(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),wo("div",{className:"k-coloreditor-preview k-vstack",children:[rt(Ot,{className:"k-coloreditor-preview-color",color:n}),rt(Ot,{className:"k-coloreditor-current-color",color:s})]})]})]}),rt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?rt(fe,{focus:m,size:t,canvasOrientation:M,role:"none",tabIndex:-1}):rt(He,{palette:a,size:t})}),h&&wo(z,{className:"k-coloreditor-footer",alignment:"start",children:[rt(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),rt(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=pf;ne.options=mf;ne.className=vn;ne.defaultOptions=wa;ne.moduleName=dl;ne.folderName=pl;var _o=ne;import{jsx as uK}from"react/jsx-runtime";import{jsx as hK}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var ml=e=>cf(_o,{group:!0,currentColor:"fuchsia",...e});import{jsx as uf}from"react/jsx-runtime";var cl=e=>uf(_o,{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=[],Do=e=>{let{variant:t,...o}=e;return t==="palette"?ul(cl,{...o,color:"white"}):ul(ml,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Do.options=ff;Do.states=bf;Do.variants=hf;Do.defaultOptions=xf;Do.modifiers=Nf;Do.className=ne.className;var fl="color-picker",bl="colorpicker";import{Fragment as Lf,jsx as it,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"},st=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:T,opened:A,adaptive:K,adaptiveSettings:V,adaptiveTitle:ie,adaptiveSubtitle:he,...pe}=e,ce="colorpicker-popup";return Wr(Lf,{children:[Wr(xt,{...pe,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":A?"true":"false","aria-controls":A||K?ce:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":g?"true":void 0,className:r(e.className,xl,"k-icon-picker"),children:[it(_e,{children:s}),it(qt,{placeholder:f,value:m,showValue:!1,valueIcon:it(Ot,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),it(De,{children:l}),it(d,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:g})]}),A&&T&&it(U,{id:ce,className:"k-colorpicker-popup",children:T}),K&&it(oe,{adaptive:!0,id:ce,...V,header:it(Ie,{actionsEnd:it(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ie,subtitle:he}),footer:Wr(Pt,{children:[it(d,{text:"Cancel",size:"large"}),it(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:it(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};st.states=vf;st.options=Cf;st.className=xl;st.defaultOptions=hl;st.moduleName=fl;st.folderName=bl;var kt=st;import{jsx as Mf}from"react/jsx-runtime";var Cn=e=>Mf(kt,{...e});import{jsx as eR}from"react/jsx-runtime";import{jsx as rR}from"react/jsx-runtime";import{jsx as dR}from"react/jsx-runtime";import{jsx as uR}from"react/jsx-runtime";import{jsx as hR}from"react/jsx-runtime";import{jsx as LR}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"}],Ho=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})})}};Ho.options=gf;Ho.states=Sf;Ho.variants=If;Ho.defaultOptions=Nl;Ho.modifiers=kf;Ho.className=kt.className;var Jr="combobox",vl=Jr;import{Fragment as qr,jsx as se,jsxs as _a}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:T,popup:A,opened:K,readonly:V,adaptive:ie,adaptiveSettings:he,adaptiveTitle:pe,adaptiveSubtitle:ce,adaptiveCustomValue:ba,id:Xt,autocomplete:Wt,activeDescendant:xa,"aria-label":Fn,...Vn}=e,$n=Xt?`${Xt}-listbox`:void 0;return _a(qr,{children:[_a(Z,{...Vn,size:t,rounded:o,fillMode:a,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:T,readonly:V,className:r(e.className,Cl),children:[l&&_a(qr,{children:[se(_e,{children:l}),n&&se(Se,{})]}),se($e,{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&&xa?xa:void 0,"aria-autocomplete":Wt,"aria-invalid":C?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Fn,disabled:T,readOnly:V}),se(ge,{valid:c,invalid:C,loading:S,disabled:T}),se(we,{loading:S,disabled:T}),s&&se(Ve,{loading:S,disabled:T,readonly:V,value:f}),m&&_a(qr,{children:[n&&se(Se,{}),se(De,{children:m})]}),se(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:T})]}),K&&A&&se(U,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:A}),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:pe,subtitle:ce}),children:se("div",{className:"k-list-container",children:se(H,{customValue:ba?se(zt,{text:`Use "${f}"`}):void 0,size:"large",children:_a(W,{"aria-label":pe||"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 We=ye;import{jsx as yf}from"react/jsx-runtime";var Ll=e=>yf(We,{...e});import{jsx as aw,jsxs as nw}from"react/jsx-runtime";import{jsx as pw,jsxs as mw}from"react/jsx-runtime";import{jsx as hw,jsxs as Nw}from"react/jsx-runtime";import{Fragment as Sw,jsx as gw}from"react/jsx-runtime";import{Fragment as Ew,jsx as yw}from"react/jsx-runtime";import{jsx as ww,jsxs as _w}from"react/jsx-runtime";import{Fragment as $w,jsx as Fw,jsxs as Vw}from"react/jsx-runtime";import{jsx as qw}from"react/jsx-runtime";import{jsx as jw}from"react/jsx-runtime";import{jsx as r_,jsxs as i_}from"react/jsx-runtime";import{jsx as c_,jsxs as u_}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=[],zo=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})})};zo.options=Of;zo.states=Ef;zo.variants=Kf;zo.defaultOptions=Bf;zo.modifiers=Pf;zo.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,...T}=e;return Df(d,{...T,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 X_}from"react/jsx-runtime";import{jsx as Y_}from"react/jsx-runtime";import{jsx as e0}from"react/jsx-runtime";import{jsx as n0}from"react/jsx-runtime";var Je="menu",lt=Je;import{jsx as Ha,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"&&Ha(L,{className:"k-menu-link-icon",icon:l}),Ha("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&Ha(L,{className:"k-menu-link-icon",icon:l}),f&&Ha("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ha(L,{icon:S})})]}),c]})};ve.states=Hf;ve.options=zf;ve.className=jr;ve.defaultOptions=Il;ve.moduleName=Je;ve.folderName=lt;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:T,...A}=e,K=N;return K||(K=M==="rtl"?"chevron-left":"chevron-right"),kl("li",{role:"menuitem",...A,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})}),T&&to("span",{className:"k-menu-link-description",children:T})]}),c,C]})};j.states=Gf;j.options=Uf;j.className=ei;j.defaultOptions=ti;j.moduleName=Je;j.folderName=lt;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=Je;oo.folderName=lt;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"},be=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},k(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]})};be.states=Wf;be.options=Jf;be.className=Mn;be.defaultOptions=gn;be.moduleName=Je;be.folderName=lt;import{jsx as qf}from"react/jsx-runtime";var ai="k-separator",yl={orientation:"horizontal"},Go=e=>{let{orientation:t=yl.orientation,...o}=e;return qf("li",{...o,className:r(e.className,"k-item",ai,{[`${ai}-${t}`]:t}),role:"separator"})};Go.className=ai;Go.defaultOptions=yl;Go.moduleName=Je;Go.folderName=lt;import{Fragment as P0,jsx as K0}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,k(ni,{size:o})),children:t})};Ce.states=Yf;Ce.options=Qf;Ce.className=ni;Ce.defaultOptions=Zf;Ce.moduleName=Je;Ce.folderName=lt;import{jsx as F0,jsxs as V0}from"react/jsx-runtime";import{Fragment as eb,jsx as Uo,jsxs as tb}from"react/jsx-runtime";var ri=e=>Uo(be,{children:tb(eb,{children:[Uo(ve,{text:"Item 1"}),Uo(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Uo(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Uo(ve,{text:"Item 4"}),Uo(ve,{text:"Item 5"})]}),...e});import{Fragment as eD,jsx as Z0,jsxs as j0}from"react/jsx-runtime";import{Fragment as rD,jsx as nD,jsxs as iD}from"react/jsx-runtime";import{Fragment as mD,jsx as pD,jsxs as cD}from"react/jsx-runtime";import{Fragment as hD,jsx as xD,jsxs as ND}from"react/jsx-runtime";import{jsx as no,jsxs as ib}from"react/jsx-runtime";var ob={...be.options,scrollable:{type:"boolean"}},ab=be.states,El={...be.defaultOptions,variant:"horizontal"},nb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rb=[{name:"opened",title:"Opened"}],Fo=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(Go,{}),no(j,{text:"Item 3"})]})}):null)}),t==="vertical"?no(ri,{...a,...n,orientation:"vertical",style:{width:"200px"}}):no(ri,{...a,...n})};Fo.options=ob;Fo.states=ab;Fo.variants=nb;Fo.defaultOptions=El;Fo.modifiers=rb;Fo.className=be.className;import{Fragment as QD,jsx as qD,jsxs as YD}from"react/jsx-runtime";import{jsx as tH}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"}],Vo=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]})};Vo.options=lb;Vo.states=sb;Vo.variants=db;Vo.defaultOptions=Ol;Vo.modifiers=pb;Vo.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:T,...A}=e;return Kl(fb,{children:[Kl("div",{...A,className:r(e.className,li,"k-button-group",k(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?T: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",ut=e=>xb("div",{className:r(bb,e.className,"k-separator")});var ro="toolbar",$o=ro;import{Fragment as pi,jsx as G,jsxs as Xo}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(G(d,{...c.props,className:`${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===d)g.push(G(d,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===R)g.push(G(R,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===$)g.push(G($,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===J)g.push(G(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(G(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((A,K)=>{S.push(G(d,{...A.props,className:`${A.props.className?A.props.className:""}`},`${K}-${new Date().getTime()}`))}),g.push(G(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(G(ye,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===me?g.push(G(me,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===st?g.push(G(st,{...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)}),Xo("div",{...N,className:r(e.className,At,k(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"&&G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),s&&l==="start"&&Xo(pi,{children:[Xo(O,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-left"})}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-right"})})]}),G(ut,{className:"k-toolbar-button-separator"}),G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),s&&l==="end"&&Xo(pi,{children:[G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),G(ut,{className:"k-toolbar-button-separator"}),Xo(O,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-left"})}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&Xo(pi,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-left"})}),G(ut,{className:"k-toolbar-button-separator"}),G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),G(ut,{className:"k-toolbar-button-separator"}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(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=$o;import{jsx as gb}from"react/jsx-runtime";var mi="k-toolbar-item",Cb=[i.focus],Lb={},Mb={},Wo=e=>{let{focus:t,...o}=e;return gb("div",{...o,className:r(e.className,mi,I(mi,{focus:t})),children:e.children})};Wo.states=Cb;Wo.options=Lb;Wo.className=mi;Wo.defaultOptions=Mb;Wo.moduleName=ro;Wo.folderName=$o;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",k("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=$o;var Sn=io;import{jsx as t1}from"react/jsx-runtime";import{jsx as r1}from"react/jsx-runtime";import{jsx as d1}from"react/jsx-runtime";import{jsx as u1}from"react/jsx-runtime";import{jsx as v1,jsxs as C1}from"react/jsx-runtime";import{jsx as S1}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"}],Jo=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"})})}};Jo.options=Tb;Jo.states=Ab;Jo.variants=yb;Jo.defaultOptions=Dl;Jo.modifiers=Eb;Jo.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 e2,jsxs as t2}from"react/jsx-runtime";import{jsx as qe,jsxs as zl}from"react/jsx-runtime";var Gl=e=>qe(D,{scrollable:!0,...e,children:[qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(_,{children:"Split button"},"toolbar-split-button"),zl(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"),zl(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")],...e});import{jsx as Ye,jsxs as Ul}from"react/jsx-runtime";var Fl=({scrollingPosition:e="start",...t})=>Ye(D,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Ye(d,{children:"Button"},"toolbar-button"),Ye(J,{text:"Menu button"},"toolbar-menu-button"),Ye(_,{children:"Split button"},"toolbar-split-button"),Ul(O,{children:[Ye(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ye(d,{icon:"align-center",children:"Center"}),Ye(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ye(d,{children:"Button"},"toolbar-button"),Ye(J,{text:"Menu button"},"toolbar-menu-button"),Ye(_,{children:"Split button"},"toolbar-split-button"),Ul(O,{children:[Ye(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ye(d,{icon:"align-center",children:"Center"}),Ye(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Pb,jsx as ze,jsxs as In}from"react/jsx-runtime";var Vl=({fillMode:e,size:t,...o})=>In(Pb,{children:[ze(D,{section:!0,fillMode:e,size:t,children:[ze(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),In(O,{fillMode:e,children:[ze(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ze(ut,{className:"k-toolbar-button-separator"}),ze(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:[ze(_,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ze(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ze(ut,{}),ze(J,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),In(O,{fillMode:e,children:[ze(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as K2,jsx as O2,jsxs as P2}from"react/jsx-runtime";import{Fragment as $2,jsx as F2,jsxs as V2}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=[],qo=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})})}};qo.options=Kb;qo.states=Rb;qo.variants=wb;qo.defaultOptions=$l;qo.modifiers=_b;qo.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",ft=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",za=e=>{let{title:t,children:o,expanded:a,...n}=e,s=y("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",lo=e=>{let{...t}=e;return Qb("div",{...t,className:r(e.className,Yb),children:e.children})};import{jsx as _z}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 kn="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,kn,k(kn,{size:t,rounded:o,themeColor:a}),I(kn,{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=kn;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 i3}from"react/jsx-runtime";import{jsx as p3}from"react/jsx-runtime";import{jsx as f3}from"react/jsx-runtime";import{jsx as N3}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},po=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"})};po.states=d.states;po.options=d.options;po.className=nd;po.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"},ee=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"})};ee.states=d.states;ee.options=d.options;ee.className=sd;ee.defaultOptions=ld;ee.moduleName=fi;ee.folderName=id;import{jsx as t5}from"react/jsx-runtime";import{jsx as r5}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(ee,{...o,...a})};Zo.options=hx;Zo.states=xx;Zo.variants=vx;Zo.defaultOptions=dd;Zo.modifiers=Nx;Zo.className=ee.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},q=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:T,invalid:A,required:K,disabled:V,id:ie,"aria-label":he,"aria-describedby":pe,...ce}=e;return xi(Z,{...ce,size:t,rounded:o,fillMode:a,hover:g,focus:S,valid:T,invalid:A,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(_e,{className:r({"!k-align-items-start":m===l}),direction:l,children:N}),n&&Ga(Se,{direction:m==="horizontal"?"vertical":"horizontal"})]}),Ga(ga,{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":pe,"aria-invalid":A?"true":void 0}),h&&xi(md,{children:[s&&Ga(Se,{direction:m==="horizontal"?"vertical":"horizontal"}),Ga(De,{className:r({"!k-align-items-start":m===l}),direction:l,children:h})]})]})};q.states=Lx;q.options=Mx;q.className=cd;q.defaultOptions=jo;q.moduleName=bi;q.folderName=pd;import{jsx as I5}from"react/jsx-runtime";import{Fragment as B5,jsx as E5}from"react/jsx-runtime";import{Fragment as _5,jsx as w5}from"react/jsx-runtime";import{jsx as G5}from"react/jsx-runtime";import{jsx as An}from"react/jsx-runtime";var gx=q.options,Sx=q.states,ud={...q.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]?An(L,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?An(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?An(q,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):An(q,{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=q.className;import{Fragment as pG,jsx as lG,jsxs as dG}from"react/jsx-runtime";import{jsx as Tn}from"react/jsx-runtime";var Ax="k-chip-action";var yt=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=Tn(L,{icon:"x-circle",size:"small"});break;case"more":a=Tn(L,{icon:"more-vertical",size:"small"});break;default:return Tn(L,{icon:t,size:"small"})}return Tn("span",{...o,className:r(e.className,Ax,`k-chip-${t}-action`),children:a})};var Ni="avatar",fd=Ni;import{jsx as bd}from"react/jsx-runtime";var Ua="k-avatar";var Tx=[i.hover,i.focus,i.active,i.selected,i.disabled],yx={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]},vi={type:"text",border:!1},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:s=vi.type,border:l=vi.border,...m}=e;return bd("div",{...m,className:r(e.className,Ua,k(Ua,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Ua}-bordered`]:l}),children:bd("span",{className:`${Ua}-${s}`,children:e.children})})};Ge.states=Tx;Ge.options=yx;Ge.className=Ua;Ge.defaultOptions=vi;Ge.moduleName=Ni;Ge.folderName=fd;var mo=Ge;import{jsx as Ex}from"react/jsx-runtime";var xd=e=>Ex(mo,{type:"icon",...e});import{jsx as Bx}from"react/jsx-runtime";var hd=e=>Bx(mo,{type:"text",...e});import{jsx as Ox}from"react/jsx-runtime";var Nd=e=>Ox(mo,{type:"image",...e});import{jsx as OG}from"react/jsx-runtime";import{jsx as Fa}from"react/jsx-runtime";var Px=Ge.options,Kx=Ge.states,Rx={...Ge.defaultOptions,variant:"image"},wx=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],_x=[],ta=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Fa(xd,{...o,children:Fa(L,{icon:"star"})});case"text":return Fa(hd,{...o,children:"JO"});default:return Fa(Nd,{...o,children:Fa("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ta.options=Px;ta.states=Kx;ta.variants=wx;ta.defaultOptions=Rx;ta.modifiers=_x;ta.className=Ge.className;var Va="chip",yn=Va,En="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as oa,jsxs as zx}from"react/jsx-runtime";var Bn="k-chip",Dx=[i.hover,i.focus,i.active,i.selected,i.disabled],Hx={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]},vd={avatarImage:"/packages/html/assets/avatar.jpg"},Ue=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:s,icon:l,actions:m,showAvatar:f,avatarImage:N=vd.avatarImage,hover:h,focus:M,active:c,selected:C,disabled:g,...S}=e;return zx("div",{...S,className:r(e.className,Bn,k(Bn,{size:t,rounded:o,fillMode:a,themeColor:n}),I(Bn,{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(Ge,{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})]})};Ue.states=Dx;Ue.options=Hx;Ue.className=Bn;Ue.defaultOptions=vd;Ue.moduleName=Va;Ue.folderName=yn;var dt=Ue;import{jsx as Vx}from"react/jsx-runtime";var Ci="k-chip-list",Gx=[],Ux={size:[p.undefined,p.small,p.medium,p.large]},Fx={},Le=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return Vx("div",{...n,className:r(e.className,Ci,k(Ci,{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=Gx;Le.options=Ux;Le.className=Ci;Le.defaultOptions=Fx;Le.moduleName=Va;Le.folderName=yn;import{jsx as lU}from"react/jsx-runtime";import{jsx as cU}from"react/jsx-runtime";import{jsx as $x}from"react/jsx-runtime";var On=e=>$x(dt,{text:"text",...e});import{jsx as CU}from"react/jsx-runtime";import{jsx as SU}from"react/jsx-runtime";import{Fragment as EU,jsx as yU,jsxs as BU}from"react/jsx-runtime";import{jsx as wU,jsxs as _U}from"react/jsx-runtime";import{jsx as UU,jsxs as FU}from"react/jsx-runtime";import{jsx as qU,jsxs as YU}from"react/jsx-runtime";import{jsx as aa,jsxs as Qx}from"react/jsx-runtime";var Xx={...dt.options,...Le.options},Wx=[],Jx=Le.states,qx={...dt.defaultOptions,...Le.defaultOptions},Yx=[{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?En:void 0;return Qx(Le,{size:a.size,className:o,children:[aa(On,{...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(On,{...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(On,{...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=Xx;na.states=Jx;na.variants=Wx;na.defaultOptions=qx;na.modifiers=Yx;na.className=Le.className;import{jsx as Li}from"react/jsx-runtime";var Zx=Ue.states,jx=Ue.defaultOptions,eh=Ue.options,th=[],oh=[{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]?En:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[n]?Li(yt,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[n]?Li(yt,{type:"remove"}):void 0;break;default:break}}),Li(Ue,{...o,...a,children:"Chip component"})};ra.options=eh;ra.states=Zx;ra.variants=th;ra.defaultOptions=jx;ra.modifiers=oh;ra.className=Ue.className;import{Fragment as HF,jsx as _F,jsxs as DF}from"react/jsx-runtime";import{jsx as nh}from"react/jsx-runtime";var ah="k-card-callout",Cd=e=>{let{callout:t,...o}=e;return nh("span",{...o,className:r(e.className,ah,{[`k-callout-${Ki.calloutMap[t]||t}`]:t})})};var Qe="card",pt=Qe;import{Fragment as lh,jsx as Ld,jsxs as dh}from"react/jsx-runtime";var Mi="k-card",rh=[i.hover,i.focus,i.selected,i.disabled],ih={},sh={},Q=e=>{let{orientation:t,callout:o,hover:a,focus:n,selected:s,disabled:l,...m}=e;return dh("div",{...m,className:r(e.className,Mi,I(Mi,{hover:a,focus:n,disabled:l,selected:s}),{[`k-card-${t}`]:t,"k-card-with-callout":o}),children:[o&&o!=="true"&&Ld(Cd,{callout:o}),Ld(lh,{children:e.children})]})};Q.states=rh;Q.options=ih;Q.className=Mi;Q.defaultOptions=sh;Q.moduleName=Qe;Q.folderName=pt;import{Fragment as uh,jsx as Md}from"react/jsx-runtime";var gi="k-card-list",ph=[],mh={},ch={},co=e=>{let{...t}=e;return Md("div",{...t,className:r(e.className,gi,I(gi,{})),role:"list",children:Md(uh,{children:e.children})})};co.states=ph;co.options=mh;co.className=gi;co.defaultOptions=ch;co.moduleName=Qe;co.folderName=pt;import{jsx as hh}from"react/jsx-runtime";var gd="k-card-group",fh=[],bh={},xh={},ia=e=>{let{...t}=e;return hh("div",{...t,className:r(e.className,gd),children:e.children})};ia.states=fh;ia.options=bh;ia.className=gd;ia.defaultOptions=xh;ia.moduleName=Qe;ia.folderName=pt;import{jsx as Lh}from"react/jsx-runtime";var Si="k-card-wrap",Nh=[i.focus,i.selected],vh={},Ch={},sa=e=>{let{focus:t,selected:o,...a}=e;return Lh("div",{...a,className:r(e.className,Si,I(Si,{focus:t,selected:o})),children:e.children})};sa.states=Nh;sa.options=vh;sa.className=Si;sa.defaultOptions=Ch;sa.moduleName=Qe;sa.folderName=pt;import{jsx as gh}from"react/jsx-runtime";var Ii="k-card-title",Mh=[i.hover,i.focus],uo=e=>{let{hover:t,focus:o,...a}=e;return gh("div",{...a,className:r(e.className,Ii,I(Ii,{hover:t,focus:o})),children:e.children})};uo.states=Mh;uo.className=Ii;import{jsx as Ih}from"react/jsx-runtime";var Sh="k-card-subtitle",Pn=e=>{let{...t}=e;return Ih("div",{...t,className:r(e.className,Sh),children:e.children})};import{Fragment as Id,jsx as Kn}from"react/jsx-runtime";var Sd="k-card-media",ki=e=>{let{src:t,...o}=e;return Kn(Id,{children:t?Kn("img",{...o,className:r(e.className,Sd),src:t}):Kn("span",{...o,className:r(e.className,Sd),children:Kn(Id,{children:e.children})})})};import{Fragment as Ah,jsx as $a,jsxs as Th}from"react/jsx-runtime";var kh="k-card-header",Et=e=>{let{title:t,subtitle:o,details:a,...n}=e;return Th("div",{...n,className:r(e.className,kh),children:[t&&$a(uo,{children:t}),o&&$a(Pn,{children:o}),$a(Ah,{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 Eh}from"react/jsx-runtime";var yh="k-card-footer",Ai=e=>{let{...t}=e;return Eh("div",{...t,className:r(e.className,yh),children:e.children})};import{Fragment as Oh,jsx as Xa,jsxs as Ph}from"react/jsx-runtime";var Bh="k-card-body",Oe=e=>{let{title:t,subtitle:o,details:a,...n}=e;return Ph("div",{...n,className:r(e.className,Bh),children:[t&&Xa(uo,{children:t}),o&&Xa(Pn,{children:o}),Xa(Oh,{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 _h}from"react/jsx-runtime";var kd="k-card-deck",Kh=[],Rh={},wh={},la=e=>{let{...t}=e;return _h("div",{...t,className:r(e.className,kd),children:e.children})};la.states=Kh;la.options=Rh;la.className=kd;la.defaultOptions=wh;la.moduleName=Qe;la.folderName=pt;import{jsx as Gh}from"react/jsx-runtime";var Ad="k-card-deck-scrollwrap",Dh=[],Hh={},zh={},da=e=>{let{...t}=e;return Gh("div",{...t,className:r(e.className,Ad),children:e.children})};da.states=Dh;da.options=Hh;da.className=Ad;da.defaultOptions=zh;da.moduleName=Qe;da.folderName=pt;import{Fragment as Uh,jsx as pa,jsxs as Td}from"react/jsx-runtime";var yd=e=>pa(Q,{orientation:"vertical",children:Td(Uh,{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."})}),Td(z,{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 Fh,jsx as Wa,jsxs as Ed}from"react/jsx-runtime";var Bd=e=>Wa(Q,{orientation:"horizontal",children:Ed(Fh,{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."})}),Ed(z,{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 t6,jsxs as o6}from"react/jsx-runtime";import{jsx as Pe,jsxs as Ja}from"react/jsx-runtime";var Vh=Q.options,$h=Q.states,Od={...Q.defaultOptions,variant:"vertical"},Xh=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Wh=[{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}={...Od,...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(Bd,{style:{maxWidth:"420px"},...a,children:[n&&Pe(ki,{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(Ai,{children:"Card Footer"})]}),(s||l)&&Pe("span",{className:"k-separator k-separator-vertical"}),Ja(z,{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(yd,{style:{maxHeight:"450px",width:"300px"},...a,children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),n&&Pe(ki,{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(Ai,{children:"Card Footer"}),Ja(z,{className:"k-card-actions",children:[Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]})};ma.options=Vh;ma.states=$h;ma.variants=Xh;ma.defaultOptions=Od;ma.modifiers=Wh;ma.className=Q.className;import{jsx as z6,jsxs as G6}from"react/jsx-runtime";var Ti="panelbar",Pd=Ti;import{jsx as Qh}from"react/jsx-runtime";var Kd="k-panelbar",Jh=[],qh={},Yh={},Me=e=>{let{activeDescendant:t,...o}=e;return Qh("ul",{...o,className:r(e.className,Kd),role:"tree","aria-activedescendant":t,children:e.children})};Me.states=Jh;Me.options=qh;Me.className=Kd;Me.defaultOptions=Yh;Me.moduleName=Ti;Me.folderName=Pd;import yi from"react";import{jsx as Rn,jsxs as Rd}from"react/jsx-runtime";var wd="k-panelbar-item",Zh=[i.hover,i.focus,i.selected,i.disabled],jh={},wn={level:0,expanded:!1,text:"Item"},E=e=>{let{text:t=wn.text,level:o=wn.level,expanded:a=wn.expanded,header:n,hover:s,focus:l,selected:m,disabled:f,icon:N,iconClass:h,ariaSelected:M,children:c,...C}=e,g=!!c;return Rd("li",{...C,className:r(e.className,wd,{"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:[Rd("span",{className:r("k-link",I("k-link",{hover:s,focus:l,disabled:f,selected:m})),children:[N&&Rn(L,{className:"k-panelbar-item-icon",icon:N}),h&&!N&&Rn("span",{className:`k-panelbar-item-icon ${h}`}),Rn("span",{className:"k-panelbar-item-text",children:t}),g&&Rn(L,{className:r("k-panelbar-toggle",a?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${a?"up":"down"}`})]}),a&&c,!a&&c&&yi.Children.map(c,S=>yi.isValidElement(S)?yi.cloneElement(S,{"aria-hidden":"true",style:{display:"none"}}):S)]})};E.states=Zh;E.options=jh;E.className=wd;E.moduleName=null;E.folderName=null;E.defaultOptions=wn;import{jsx as aN}from"react/jsx-runtime";var _d="k-panelbar-group",eN=[],tN={},oN={},xe=e=>{let{ariaHidden:t,...o}=e;return aN("ul",{...o,className:r(e.className,_d),role:"group",...t!==void 0&&{"aria-hidden":t?"true":void 0},children:e.children})};xe.states=eN;xe.options=tN;xe.className=_d;xe.moduleName=null;xe.folderName=null;xe.defaultOptions=oN;import{jsx as sN}from"react/jsx-runtime";var Dd="k-panelbar-content",nN=[],rN={},iN={},le=e=>{let{...t}=e;return sN("div",{...t,className:r(e.className,Dd),children:e.children})};le.states=nN;le.options=rN;le.className=Dd;le.defaultOptions=iN;import{Fragment as lN,jsx as $t,jsxs as dN}from"react/jsx-runtime";var qa=e=>{let t=y("pb-item"),o=y("pb-item"),a=y("pb-item"),n=y("pb-item");return $t(Me,{children:dN(lN,{children:[$t(E,{header:!0,text:"Item 1",id:t,children:$t(le,{children:"content"})}),$t(E,{header:!0,text:"Item 2",id:o,children:$t(le,{children:"content"})}),$t(E,{header:!0,text:"Item 3",id:a,children:$t(le,{children:"content"})}),$t(E,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as u7,jsx as c7,jsxs as f7}from"react/jsx-runtime";import{Fragment as pN,jsx as Ke,jsxs as Ei}from"react/jsx-runtime";var Hd=e=>{let t=y("pb-item"),o=y("pb-item"),a=y("pb-item"),n=y("pb-item"),s=y("pb-child"),l=y("pb-child"),m=y("pb-child"),f=y("pb-child"),N=y("pb-child"),h=y("pb-child"),M=y("pb-child");return Ke(Me,{activeDescendant:o,children:Ei(pN,{children:[Ke(E,{header:!0,text:"Item 1",id:t,children:Ke(le,{children:"content"})}),Ke(E,{header:!0,expanded:!0,text:"Item 2",id:o,ariaSelected:!0,focus:!0,children:Ei(xe,{children:[Ke(E,{level:1,text:"Child 1",id:s}),Ke(E,{level:1,expanded:!0,text:"Child 2",id:l,children:Ei(xe,{children:[Ke(E,{level:2,text:"Child 2.1",id:m}),Ke(E,{level:2,text:"Child 2.2",id:f})]})}),Ke(E,{level:1,text:"Child 3",id:N,children:Ke(xe,{children:Ke(E,{level:2,text:"Child 3.1",id:h})})}),Ke(E,{level:1,text:"Child 4",id:M})]})}),Ke(E,{header:!0,text:"Item 3",id:a,children:Ke(le,{children:"content"})}),Ke(E,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as zd,jsx as te,jsxs as _n}from"react/jsx-runtime";var mN=Me.options,cN=Me.states,Gd={...Me.defaultOptions,variant:"normal"},uN=[{name:"normal",title:"Normal"},{name:"expand",title:"Expanded"}],fN=[{name:"icon",title:"Item icons"},{name:"disabled",title:"Disabled item"}],ca=e=>{let{variant:t,modifiers:o,...a}={...Gd,...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"?te(zd,{children:_n(Hd,{style:{width:"300px"},...a,children:[te(E,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.folder,selected:!0,header:!0,expanded:!0,text:"Item 2",children:_n(xe,{children:[te(E,{level:1,text:"Child 1"}),te(E,{level:1,expanded:!0,text:"Child 2",children:_n(xe,{children:[te(E,{level:2,text:"Child 2.1"}),te(E,{icon:n.icon?.image,level:2,text:"Child 2.2"})]})}),te(E,{disabled:n.disabled,level:1,text:"Child 3",children:te(le,{children:"content"})}),te(E,{level:1,text:"Child 4"})]})}),te(E,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.file,header:!0,text:"Item 4"})]})}):te(zd,{children:_n(qa,{style:{width:"300px"},...a,children:[te(E,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.folder,header:!0,text:"Item 2",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.file,header:!0,text:"Item 4"})]})})};ca.options=mN;ca.states=cN;ca.variants=uN;ca.defaultOptions=Gd;ca.modifiers=fN;ca.className=Me.className;import{jsx as U7,jsxs as F7}from"react/jsx-runtime";import{Fragment as t4,jsx as j7,jsxs as e4}from"react/jsx-runtime";import{Fragment as c4,jsx as p4,jsxs as m4}from"react/jsx-runtime";import{Fragment as C4,jsx as v4,jsxs as L4}from"react/jsx-runtime";var Bi="suggestion",Ud=Bi;import{jsx as Dn,jsxs as hN}from"react/jsx-runtime";var Hn="k-suggestion-group",bN=[],xN={},Fd={layout:"scrollable",scrollingPosition:"start"},Ze=e=>{let{layout:t=Fd.layout,scrollingPosition:o,...a}=e,n=Dn("div",{...a,className:r(Hn,{"k-suggestion-group-scrollable":t=="scrollable",[`${Hn}-scrollable-start`]:o==="start"||o==="both",[`${Hn}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?Dn("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?hN("div",{className:"k-suggestion-scrollwrap",children:[Dn(d,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,Dn(d,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};Ze.states=bN;Ze.options=xN;Ze.className=Hn;Ze.defaultOptions=Fd;Ze.moduleName=Bi;Ze.folderName=Ud;import{jsx as LN}from"react/jsx-runtime";var zn="k-suggestion",NN=[i.active,i.hover,i.focus],vN={themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},CN={text:"Suggestion"},Fe=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:s,...l}=e;return LN("span",{...l,className:r(e.className,zn,I(zn,{hover:a,active:o,focus:n}),k(zn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":s,children:s})};Fe.states=NN;Fe.options=vN;Fe.className=zn;Fe.item=CN;import{Fragment as R4,jsx as K4,jsxs as w4}from"react/jsx-runtime";import{Fragment as G4,jsx as z4,jsxs as U4}from"react/jsx-runtime";import{Fragment as W4,jsx as X4,jsxs as J4}from"react/jsx-runtime";import{Fragment as Vd,jsx as v,jsxs as de}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"}],ua=e=>{let{variant:t,modifiers:o,...a}={...e},n=v(Vd,{children:de(Ze,{layout:"wrap",children:[v(Fe,{text:"Post for work-life balance importance"}),v(Fe,{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:de(F,{style:{width:"330px",height:"350px"},...a,children:[v(ft,{children:de(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:de(qa,{children:[v(E,{header:!0,icon:"brush",text:"Change Formality",children:de(xe,{children:[v(E,{level:1,text:"Casual"}),v(E,{level:1,text:"Neutral"}),v(E,{level:1,text:"Formal"})]})}),v(E,{header:!0,expanded:!0,icon:"edit-tools",text:"Translate",children:de(xe,{children:[v(E,{level:1,text:"German"}),v(E,{level:1,text:"Spanish"})]})}),v(E,{header:!0,icon:"min-width",text:"Simplify"}),v(E,{header:!0,icon:"arrows-left-right",text:"Expand"})]})})})]})});case"output":return v(U,{className:"k-prompt-popup",children:de(F,{style:{width:"330px",height:"350px"},...a,children:[v(ft,{children:de(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"})]})}),de(Ee,{children:[v(po,{}),v(Be,{children:de("div",{className:"k-card-list",children:[de(Q,{children:[v(Et,{title:"Generated with AI",subtitle:"Linked in post for work/life balance importance"}),v(Oe,{children:de("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"]})}),de(z,{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"})]})]}),de(Q,{children:[v(Et,{title:"Generated with AI",subtitle:"Out of Office"}),v(Oe,{children:de("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]"]})}),de(z,{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:de(F,{style:{width:"330px",height:"350px"},...a,children:[v(ft,{children:de(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:de(Be,{children:[v(q,{resize:"none",rows:2,placeholder:"Ask or generate content with AI",suffixSeparator:!1,suffix:v(Vd,{children:s.stt?v(ee,{fillMode:"flat"}):null})}),v(za,{expanded:s.suggestions,title:"Suggestions",children:n})]})}),v(lo,{children:v(z,{className:"k-prompt-actions",alignment:"start",children:v(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})})}};ua.options=MN;ua.states=gN;ua.variants=IN;ua.defaultOptions=SN;ua.modifiers=kN;ua.className=F.className;import{Fragment as BN,jsx as mt,jsxs as Gn}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"}],fa=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=Gn(Q,{children:[mt(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,"}),Gn(z,{className:"k-card-actions",alignment:"start",children:[mt(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),mt(R,{fillMode:"flat",themeColor:"primary",icon:"insert-bottom",children:"Insert"}),mt(R,{fillMode:"flat",themeColor:"primary",icon:"check",children:"Replace"}),mt(R,{fillMode:"flat",themeColor:"base",icon:"cancel",children:"Discard"})]})]});return mt(U,{className:"k-prompt-popup",children:mt(F,{style:{width:"450px",height:"auto"},...o,children:mt(Ee,{children:Gn(Be,{children:[a.response?n:null,mt(q,{rows:1,placeholder:"Edit, generate or explain ...",resize:"none",flow:"horizontal",prefixSeparator:a.commands&&a.stt,suffixSeparator:!1,prefix:Gn(BN,{children:[a.commands?mt($,{fillMode:"flat",icon:"menu"}):null,a.stt?mt(ee,{fillMode:"flat"}):null]}),suffix:mt(Mt,{generating:!!a.generating})})]})})})})};fa.options=AN;fa.states=TN;fa.variants=[];fa.defaultOptions=yN;fa.modifiers=EN;fa.className=F.className;import{Fragment as ON,jsx as Re,jsxs as Un}from"react/jsx-runtime";var iV=e=>Un(F,{...e,children:[Re(ft,{children:Un(D,{fillMode:"flat",children:[Re(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),Re(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),Re($,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full","aria-label":"More actions"})]})}),Re(Ee,{children:Un(Be,{children:[Re(q,{resize:"y",rows:1,suffixSeparator:!1,placeholder:"Ask or generate content with AI","aria-label":"Ask or generate content with AI",suffix:Re(ON,{children:Re(ee,{fillMode:"flat"})})}),Re(za,{expanded:!0,title:"Prompt Suggestions",children:Un(Ze,{layout:"wrap",children:[Re(Fe,{text:"Suggestion 1"}),Re(Fe,{text:"Suggestion 2"}),Re(Fe,{text:"Reply with very very very very very very very long text"})]})})]})}),Re(lo,{children:Re(z,{className:"k-prompt-actions",alignment:"start",children:Re(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]});export{iV as PromptSuggestions};
|
|
1
|
+
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var k=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),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((T,A)=>(A.startsWith("k-")?T[A]=S[A]:T[`k-${A}`]=S[A],T),{}))};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 y(e){return Xn[e]=(Xn[e]||0)+1,`k-${e}-${Xn[e]}`}var Wn="action-buttons",Ri=Wn;import{jsx as Wd}from"react/jsx-runtime";var Ya="k-actions",$d=[],Xd={},Jn={alignment:"start",orientation:"horizontal"},z=e=>{let{alignment:t=Jn.alignment,orientation:o=Jn.orientation,...a}=e;return Wd("div",{...a,className:r(Ya,{[`${Ya}-${t}`]:t,[`${Ya}-${o}`]:o},e.className),children:e.children})};z.states=$d;z.options=Xd;z.className=Ya;z.defaultOptions=Jn;z.moduleName=Wn;z.folderName=Ri;import{Fragment as Qd,jsx as wi}from"react/jsx-runtime";var qn="k-font-icon",Jd=[],qd={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]},Yd={},ha=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...l}=e;return a?wi("span",{...l,className:r(e.className,qn,k(qn,{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"}):wi(Qd,{})};ha.states=Jd;ha.options=qd;ha.className=qn;ha.defaultOptions=Yd;var _i=ha;import{Fragment as ep,jsx as Qa}from"react/jsx-runtime";var Yn="k-svg-icon",Zd=[],jd={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},Na=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 Qa(ep,{});if(m==="none")return Qa("span",{...f,className:r(e.className,Yn,k("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 Qa("span",{...f,className:r(e.className,Yn,k("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Qa("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})})};Na.states=Zd;Na.options=jd;Na.className=Yn;Na.defaultOptions=Qn;var Zn=Na;import*as jn from"@progress/kendo-svg-icons";var Di="icon",Hi="icons";import{useContext as op}from"react";import{createContext as tp}from"react";var zi=tp({iconsType:"svg"});import{Fragment as Gi,jsx as va}from"react/jsx-runtime";var Za="k-icon",ap=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),np=[],rp={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]},ja={viewBox:"0 0 24 24",type:"svg",variant:bt.outline},L=e=>{let{iconsType:t}=op(zi),{size:o,themeColor:a,icon:n,type:s=t||ja.type,rotate:l,flip:m,viewBox:f=ja.viewBox,variant:N=ja.variant,...h}=e;if(!n)return va(Gi,{});if((t||s)==="svg"){if(n==="none")return va(Zn,{...h,className:r(e.className,Za),icon:n,size:o,variant:N});let c=jn[n]?n:ap(`${n}-icon`);return jn[c]?va(Zn,{...h,className:r(e.className,Za),icon:jn[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:f,variant:N}):va(Gi,{})}return va(_i,{...h,className:r(e.className,Za),icon:n,size:o,themeColor:a,rotate:l,flip:m})};L.states=np;L.options=rp;L.defaultOptions=ja;L.className=Za;L.moduleName=Di;L.folderName=Hi;var er="button",Ui=er;import{Fragment as tr,jsx as Bt,jsxs as Fi}from"react/jsx-runtime";var Ca="k-button",ip=["icon-button"],sp=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],lp={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]},or={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:l=or.showArrow,arrowIconName:m=or.arrowIconName,variant:f,hover:N,focus:h,active:M,selected:c,disabled:C,togglable:g,ariaDisabled:S,icon:T,endIcon:A,iconSize:K,text:V,iconClassName:ie,className:he,...pe}=e,ce=T!=null,ba=e.children!==void 0;return Fi(t,{className:r(he,Ca,Pi(Ca,f),k(Ca,{size:o,rounded:a,fillMode:n,themeColor:s}),I(Ca,{hover:N,focus:h,active:M,disabled:C||S,selected:c}),{"k-icon-button":!V&&!ba&&ce}),"aria-pressed":g?c?"true":"false":void 0,...pe,"aria-disabled":S?"true":void 0,disabled:C||void 0,children:[typeof T=="string"&&T&&Bt(L,{className:r(ie,"k-button-icon"),icon:T,size:K}),T&&typeof T!="string"&&Bt(tr,{children:T}),V?Fi(tr,{children:[V&&Bt("span",{className:"k-button-text",children:V}),e.children]}):e.children&&Bt("span",{className:"k-button-text",children:e.children}),typeof A=="string"&&A&&Bt(L,{className:r(ie,"k-button-icon"),icon:A,size:K}),A&&typeof A!="string"&&Bt(tr,{children:A}),l&&Bt("span",{className:"k-menu-button-arrow k-button-arrow",children:Bt(L,{icon:m})})]})};d.states=sp;d.options=lp;d.variants=ip;d.className=Ca;d.defaultOptions=or;d.moduleName=er;d.folderName=Ui;import{jsx as dp}from"react/jsx-runtime";var $=e=>dp(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as pp}from"react/jsx-runtime";var R=e=>pp(d,{icon:"folder",children:"Button",...e});import{jsx as Bv}from"react/jsx-runtime";import{jsx as mp}from"react/jsx-runtime";var Jt=e=>mp(d,{children:"Button",...e});import{jsx as ar}from"react/jsx-runtime";var cp=d.options,up=d.states,fp={...d.defaultOptions,variant:"text"},bp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xp=[],fo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return ar($,{...o,icon:"star"});case"icon-and-text":return ar(R,{...o,icon:"star",children:"Button"});default:return ar(Jt,{...o,children:"Button"})}};fo.options=cp;fo.states=up;fo.variants=bp;fo.defaultOptions=fp;fo.modifiers=xp;fo.className=d.className;var nr="button",Vi=nr;import{jsx as Cp}from"react/jsx-runtime";var La="k-button-group",hp=[i.disabled],Np={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},vp={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Cp("div",{role:"group",...n,className:r(e.className,La,k(La,{fillMode:t}),I(La,{disabled:o}),{[`${La}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=hp;O.options=Np;O.className=La;O.defaultOptions=vp;O.moduleName=nr;O.folderName=Vi;import{Fragment as rC,jsx as nC,jsxs as iC}from"react/jsx-runtime";import{Fragment as cC,jsx as mC,jsxs as uC}from"react/jsx-runtime";import{Fragment as vC,jsx as NC,jsxs as CC}from"react/jsx-runtime";import{Fragment as kC,jsx as IC,jsxs as AC}from"react/jsx-runtime";import{Fragment as PC,jsx as OC,jsxs as KC}from"react/jsx-runtime";import{Fragment as zC,jsx as HC,jsxs as GC}from"react/jsx-runtime";import{Fragment as WC,jsx as XC,jsxs as JC}from"react/jsx-runtime";import{jsx as gt,jsxs as rr}from"react/jsx-runtime";var Lp={...d.options,...O.options},Mp=d.states,gp={...d.defaultOptions,...O.defaultOptions,variant:"text-button"},Sp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ip=[],bo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?rr(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"?rr(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"})]}):rr(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,children:"First"}),gt(d,{...a,children:"Middle"}),gt(d,{...a,children:"Last"})]})};bo.options=Lp;bo.states=Mp;bo.variants=Sp;bo.defaultOptions=gp;bo.modifiers=Ip;bo.className=O.className;var Ma="input",en=Ma;import{jsx as yp}from"react/jsx-runtime";var tn="k-input",kp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ap={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]},Tp={},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 yp("span",{...M,className:r(e.className,tn,k(tn,{size:f,rounded:N,fillMode:h}),I(tn,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m}))})};Z.states=kp;Z.options=Ap;Z.className=tn;Z.defaultOptions=Tp;Z.moduleName=Ma;Z.folderName=en;import{jsx as Pp}from"react/jsx-runtime";var on="k-picker",Ep=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bp={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]},Op={},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 Pp("span",{...M,className:r(e.className,on,k(on,{size:f,rounded:N,fillMode:h}),I(on,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m})),children:e.children})};xt.states=Ep;xt.options=Bp;xt.className=on;xt.defaultOptions=Op;xt.moduleName=Ma;xt.folderName=en;import{Fragment as wp,jsx as ir}from"react/jsx-runtime";var $i="k-clear-value",Kp=[i.disabled,i.loading,i.readonly],Rp={},Ve=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?ir(wp,{}):ir("span",{className:r(e.className,$i),children:ir(L,{icon:"x"})})};Ve.states=Kp;Ve.options=Rp;Ve.className=$i;import{jsx as Hp}from"react/jsx-runtime";var sr="k-input-inner",_p=[],Dp={},an={type:"text",autocomplete:"off",value:"",placeholder:""},$e=e=>{let{value:t=an.value,type:o=an.type,placeholder:a=an.placeholder,autocomplete:n=an.autocomplete,disabled:s,readOnly:l,...m}=e;return Hp("input",{...m,type:o,className:r(e.className,sr,k(sr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};$e.states=_p;$e.options=Dp;$e.className=sr;import{jsx as Xi,jsxs as Up}from"react/jsx-runtime";var lr="k-input-inner",zp=[],Gp={},qt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...l}=e;return Up("span",{...l,className:r(e.className,lr,k(lr,e)),children:[n,!n&&s&&Xi(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Xi("span",{className:"k-input-value-text",children:t})]})};qt.states=zp;qt.options=Gp;qt.className=lr;import{jsx as $p}from"react/jsx-runtime";var dr="k-input-inner",Fp=[],Vp={},Wi={value:"",placeholder:""},ga=e=>{let{value:t=Wi.value,placeholder:o=Wi.placeholder,rows:a,disabled:n,...s}=e;return $p("textarea",{...s,className:r(e.className,dr,k(dr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ga.states=Fp;ga.options=Vp;ga.className=dr;import{Fragment as Wp,jsx as Ji}from"react/jsx-runtime";var qi="k-input-loading-icon",Xp=[i.disabled,i.loading],we=e=>{let{disabled:t,loading:o}=e;return t||!o?Ji(Wp,{}):Ji("span",{className:r(e.className,qi,"k-icon k-i-loading")})};we.states=Xp;we.className=qi;import{Fragment as Yp,jsx as Yi}from"react/jsx-runtime";var Qi="k-input-validation-icon",Jp=[i.valid,i.invalid,i.disabled,i.loading],qp={},ge=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Yi(Yp,{}):Yi(L,{className:r(Qi),icon:s})};ge.states=Jp;ge.options=qp;ge.className=Qi;import{Fragment as jp,jsx as Zi}from"react/jsx-runtime";var Qp="k-input-prefix",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-prefix-${t}`]:t}),children:e.children}):Zi(jp,{})};import{Fragment as om,jsx as ji}from"react/jsx-runtime";var em="k-input-suffix",tm={direction:"horizontal"},De=e=>{let{direction:t=tm.direction,...o}=e;return e.children?ji("span",{...o,className:r(em,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):ji(om,{})};import{jsx as qL}from"react/jsx-runtime";import{jsx as nm}from"react/jsx-runtime";var am="k-input-suffix-text",pr=e=>{let{children:t,...o}=e;return nm("span",{...o,className:r(am,e.className),children:t})};import{jsx as im}from"react/jsx-runtime";var es="k-input-separator",rm={direction:"vertical"},Se=e=>{let{direction:t=rm.direction,...o}=e;return im("span",{...o,className:r(es,e.className,{[`${es}-${t}`]:t})})};import{Fragment as ts,jsx as ht,jsxs as mr}from"react/jsx-runtime";var sm=Z.states,lm=Z.defaultOptions,dm=Z.options,pm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],mm=[],xo=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 mr(Z,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:l,style:{width:300},children:[f&&mr(ts,{children:[ht(_e,{children:ht(L,{icon:"lock"})}),c&&ht(Se,{})]}),ht($e,{placeholder:"Placeholder",value:"Value"}),M&&ht(ge,{valid:o,invalid:a,loading:n,disabled:s}),ht(we,{loading:n,disabled:s}),h&&ht(Ve,{loading:n,disabled:s,readonly:l,value:"Value"}),N&&mr(ts,{children:[c&&ht(Se,{}),ht(De,{children:ht(Jt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};xo.options=dm;xo.states=sm;xo.variants=mm;xo.defaultOptions=lm;xo.modifiers=pm;xo.className=Z.className;import{jsx as os,jsxs as fm}from"react/jsx-runtime";var as="k-color-preview",cm=[],um={},Ot=e=>{let{color:t,iconName:o,...a}=e;return fm("span",{...a,className:r(e.className,as,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&os(L,{icon:o,className:"k-color-preview-icon"}),os("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ot.states=cm;Ot.options=um;Ot.className=as;var cr="popup",ns=cr;import{jsx as rs}from"react/jsx-runtime";var is="k-animation-container",bm=[],xm={},ur={positionMode:"absolute",shown:!0},Nt=e=>{let{positionMode:t=ur.positionMode,shown:o=ur.shown,animationStyle:a,offset:n,...s}=e;return rs("div",{...s,style:{...n,...e.style},className:r(e.className,is,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:rs("div",{className:"k-child-animation-container",style:a,children:e.children})})};Nt.states=bm;Nt.options=xm;Nt.className=is;Nt.defaultOptions=ur;Nt.moduleName=cr;Nt.folderName=ns;var fr="popup",ss=fr;import{jsx as ls}from"react/jsx-runtime";var ds="k-popup",hm=[],Nm={},ps={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=ps.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:l,...m}=e;return ls(Nt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":l,children:ls("div",{...m,className:r(e.className,ds),children:e.children})})};U.states=hm;U.options=Nm;U.className=ds;U.defaultOptions=ps;U.moduleName=fr;U.folderName=ss;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":z,...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 Sa,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"},je=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":T,...A}=e;return gm(Z,{...A,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&&Sa(L,{className:"k-input-icon",icon:S}),Sa($e,{placeholder:o,value:t,"aria-label":T}),Sa(we,{...e}),Sa(ge,{...e}),g&&Sa(Ve,{...e})]})};je.states=Lm;je.options=Mm;je.className=us;je.defaultOptions=nn;je.moduleName=br;je.folderName=cs;import{jsx as ug}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:T,loading:A,disabled:K,readonly:V,id:ie,"aria-label":he,"aria-describedby":pe,...ce}=e;return hr(Z,{...ce,size:t,rounded:o,fillMode:a,hover:c,focus:C,valid:g,invalid:S,required:T,loading:A,disabled:K,readonly:V,className:r(e.className,xs),children:[m&&hr(bs,{children:[Kt(_e,{children:m}),n&&Kt(Se,{})]}),Kt($e,{id:ie,placeholder:M,value:h,type:N,disabled:K,"aria-label":he,"aria-describedby":pe,"aria-invalid":S?"true":void 0}),l&&Kt(ge,{valid:g,invalid:S,loading:A,disabled:K}),Kt(we,{loading:A,disabled:K}),s&&Kt(Ve,{loading:A,disabled:K,readonly:V,value:h}),f&&hr(bs,{children:[n&&Kt(Se,{}),Kt(De,{children:f})]})]})};Ne.states=Sm;Ne.options=Im;Ne.className=xs;Ne.defaultOptions=rn;Ne.moduleName=xr;Ne.folderName=fs;var Ia=Ne;import{jsx as km}from"react/jsx-runtime";var hs=e=>km(Ia,{...e});import{Fragment as Bg,jsx as Eg}from"react/jsx-runtime";import{Fragment as _g,jsx as wg}from"react/jsx-runtime";import{jsx as Gg}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=[],ho=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})};ho.options=ym;ho.states=Am;ho.variants=Bm;ho.defaultOptions=Tm;ho.modifiers=Em;ho.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(je,{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={},No=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]})};No.states=Pm;No.options=Km;No.className=Lr;No.defaultOptions=Rm;var ka="action-sheet",sn=ka;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={},Aa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=Aa.side,fullscreen:o=Aa.fullscreen,adaptive:a=Aa.adaptive,overlay:n=Aa.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(No,{header:m,footer:f,adaptive:a,titleId:M,...e,children:l})})})]})};oe.states=Gm;oe.options=Um;oe.className=Ls;oe.defaultOptions=Aa;oe.moduleName=ka;oe.folderName=sn;import{jsx as Wm}from"react/jsx-runtime";var Ms="k-actionsheet-container",Vm=[],$m={},Xm={},vo=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:Ms,children:t})};vo.states=Vm;vo.options=$m;vo.className=Ms;vo.defaultOptions=Xm;vo.moduleName=ka;vo.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 Ta,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&&Ta(Ym,{children:Sr("span",{className:"k-actionsheet-action",children:[t&&Ta("span",{className:"k-icon-wrap",children:Ta(L,{className:"k-actionsheet-item-icon",icon:t})}),Sr("span",{className:"k-actionsheet-item-text",children:[o&&Ta("span",{className:"k-actionsheet-item-title",children:o}),a&&Ta("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};_t.states=qm;_t.className=Ir;import{jsx as zS,jsxs as GS}from"react/jsx-runtime";import{jsx as $S}from"react/jsx-runtime";import{jsx as qS}from"react/jsx-runtime";import{jsx as jS}from"react/jsx-runtime";import{jsx as ue,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"}],Co=e=>{let{variant:t,modifiers:o,...a}={...Ss,...e},n={},s=kr(gr,{children:[ue(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ue(_t,{text:"Add to Favorites",iconName:"heart"}),ue(_t,{text:"Upload New",iconName:"upload",disabled:!0}),ue("hr",{className:"k-hr"}),ue(_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"?ue(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:ue(Ie,{actionsStart:n.actionsStart?ue(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?ue(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?kr(Pt,{alignment:"stretched",children:[ue(d,{text:"Cancel",size:"large",themeColor:"base"}),ue(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ue(oe,{...a,fullscreen:n.fullScreen,header:ue(Ie,{actionsStart:n.actionsStart?ue(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?ue(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?kr(Pt,{alignment:"stretched",children:[ue(d,{text:"Apply",themeColor:"primary"}),ue(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Co.options=Qm;Co.states=Zm;Co.variants=jm;Co.defaultOptions=Ss;Co.modifiers=ec;Co.className=oe.className;var Ar="slider",Is=Ar;import{jsx as Lo,jsxs as Tr}from"react/jsx-runtime";var ya="k-slider",tc=[i.hover,i.focus,i.active,i.disabled,i.readonly],oc={},et={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},Y=e=>{let{type:t=et.type,orientation:o=et.orientation,gradientType:a=et.gradientType,readonly:n=et.readonly,disabled:s=et.disabled,handlePosition:l=et.handlePosition,showButtons:m=et.showButtons,showTicks:f=et.showTicks,value:N=et.value,min:h=et.min,max:M=et.max,startValue:c,endValue:C,hover:g,focus:S,active:T,trackStyle:A,dir:K,...V}=e,he=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),pe,ce;return o==="horizontal"?(pe=K==="rtl"?"chevron-left":"chevron-right",ce=K==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(pe="chevron-up",ce="chevron-down"),Tr("div",{...V,className:r(ya,e.className,I(ya,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:K,children:[m&&Lo(d,{className:"k-button-decrease",rounded:"full",icon:ce,tabIndex:-1,title:"Decrease"}),Tr("div",{className:"k-slider-track-wrap",children:[f&&Lo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Tr("div",{className:"k-slider-track",style:A,children:[Lo("div",{className:"k-slider-selection"}),t==="range"&&Lo("span",{className:r("k-draghandle","k-draghandle-start",I(ya,{hover:g,focus:S,active:T})),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"}),Lo("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(ya,{hover:g,focus:S,active:T})),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&&Lo(d,{className:"k-button-increase",rounded:"full",icon:pe,tabIndex:-1,title:"Increase"})]})};Y.states=tc;Y.options=oc;Y.className=ya;Y.defaultOptions=et;Y.moduleName=Ar;Y.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 tt,jsxs as ic}from"react/jsx-runtime";var ys=e=>tt(Y,{"aria-label":e["aria-label"]||"Slider",children:ic(rc,{children:[tt(B,{className:"k-first",label:!0,large:!0,text:"0"}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{label:!0,large:!0,text:"5"}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as sc,jsx as ot,jsxs as lc}from"react/jsx-runtime";var Es=e=>ot(Y,{children:lc(sc,{children:[ot(B,{className:"k-first",label:!0,large:!0,text:"0"}),ot(B,{}),ot(B,{}),ot(B,{}),ot(B,{}),ot(B,{label:!0,large:!0,text:"5"}),ot(B,{}),ot(B,{}),ot(B,{}),ot(B,{}),ot(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as GI,jsx as zI,jsxs as UI}from"react/jsx-runtime";import{Fragment as WI,jsx as XI,jsxs as JI}from"react/jsx-runtime";import{jsx as dc}from"react/jsx-runtime";var yr=e=>dc(Y,{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(Y,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as rk,jsx as nk,jsxs as ik}from"react/jsx-runtime";import{Fragment as mk,jsx as pk,jsxs as ck}from"react/jsx-runtime";import{jsx as vt,jsxs as Bs}from"react/jsx-runtime";var mc=Y.options,cc=Y.states,Os={...Y.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}],Mo=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%"}})]})};Mo.options=mc;Mo.states=cc;Mo.variants=uc;Mo.defaultOptions=Os;Mo.modifiers=fc;Mo.className=Y.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:T,disabled:A,readonly:K,id:V,"aria-label":ie,"aria-describedby":he,...pe}=e;return Or(Z,{...pe,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:K,className:r(e.className,Ds),children:[m&&Or(_s,{children:[St(_e,{children:m}),n&&St(Se,{})]}),St($e,{id:V,placeholder:h,value:N,role:"spinbutton",disabled:A,"aria-label":ie,"aria-describedby":he,"aria-invalid":g?"true":void 0}),St(ge,{valid:C,invalid:g,loading:T,disabled:A}),St(we,{loading:T,disabled:A}),s&&St(Ve,{loading:T,disabled:A,readonly:K,value:N}),f&&Or(_s,{children:[n&&St(Se,{}),St(De,{children:f})]}),l&&St(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:A})]})};X.states=Cc;X.options=Lc;X.className=Ds;X.defaultOptions=dn;X.moduleName=Rs;X.folderName=ws;var Ea=X;import{jsx as Mc}from"react/jsx-runtime";var Hs=e=>Mc(Ea,{...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",go=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,k(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=go;import{jsx as Oc}from"react/jsx-runtime";var Fs="k-list-container",yc=[],Ec={},Bc={},So=e=>{let{...t}=e;return Oc("div",{...t,className:r(e.className,Fs),children:e.children})};So.states=yc;So.options=Ec;So.className=Fs;So.defaultOptions=Bc;So.moduleName=Yt;So.folderName=go;var Qt="checkbox",Io=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={},Xe=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,k(mn,{size:h,rounded:M}),I(mn,{hover:n,focus:s,disabled:l,invalid:m,valid:f,indeterminate:a,checked:o}))})})};Xe.states=Pc;Xe.options=Kc;Xe.className=mn;Xe.defaultOptions=Rc;Xe.moduleName=Qt;Xe.folderName=Io;var ct=Xe;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=Io;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=Io;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(ct,{id:t,...o}),Js("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as wA,jsx as RA,jsxs as _A}from"react/jsx-runtime";import{Fragment as UA,jsx as GA,jsxs as FA}from"react/jsx-runtime";import{Fragment as JA,jsx as WA,jsxs as qA}from"react/jsx-runtime";import{jsx as jA}from"react/jsx-runtime";import{jsx as aT}from"react/jsx-runtime";import{jsx as sT}from"react/jsx-runtime";import{jsx as at,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=[],ko=e=>{let{variant:t,...o}=e;return t==="horizontal"?qs(ke,{layout:"horizontal",...o,children:[at(Ae,{children:at(It,{id:y("cb"),defaultChecked:!0,children:"Label"})}),at(Ae,{children:at(It,{id:y("cb"),children:"Label"})}),at(Ae,{children:at(It,{id:y("cb"),children:"Label"})})]}):qs(ke,{...o,children:[at(Ae,{children:at(It,{id:y("cb"),defaultChecked:!0,children:"Label"})}),at(Ae,{children:at(It,{id:y("cb"),children:"Label"})}),at(Ae,{children:at(It,{id:y("cb"),children:"Label"})})]})};ko.options=$c;ko.states=Xc;ko.variants=Jc;ko.defaultOptions=Wc;ko.modifiers=qc;ko.className=ke.className;import{jsx as tu}from"react/jsx-runtime";var Yc=ct.options,Qc=ct.states,Zc=ct.defaultOptions,jc=[],eu=[],Ao=e=>tu(It,{id:y("checkbox"),...e,defaultChecked:!0,children:"Label"});Ao.options=Yc;Ao.states=Qc;Ao.variants=jc;Ao.defaultOptions=Zc;Ao.modifiers=eu;Ao.className=ct.className;import{jsx as To,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&&To(Xe,{checked:s,disabled:N,"aria-label":S,tabIndex:-1}),o&&To("span",{className:"k-list-item-icon-wrapper",children:To(L,{icon:o,className:r("k-list-item-icon",a)})}),To("span",{className:"k-list-item-text",children:g}),h&&To("div",{className:"k-list-item-actions",children:h}),M&&To("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=go;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(Xe,{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 ty,jsx as ey,jsxs as oy}from"react/jsx-runtime";import{jsx as sy,jsxs as ly}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 Cy,jsx as vy,jsxs as Ly}from"react/jsx-runtime";import{Fragment as Ay,jsx as ky,jsxs as Ty}from"react/jsx-runtime";import{Fragment as Ry,jsx as Py,jsxs as Ky}from"react/jsx-runtime";import{Fragment as Uy,jsx as zy,jsxs as Gy}from"react/jsx-runtime";import{jsx as Xy}from"react/jsx-runtime";import{Fragment as Zy,jsx as Qy,jsxs as jy}from"react/jsx-runtime";import{Fragment as rE,jsx as nE,jsxs as iE}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"},me=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:T,disabled:A,readonly:K,popup:V,opened:ie,adaptive:he,adaptiveSettings:pe,adaptiveTitle:ce,adaptiveSubtitle:ba,adaptiveFilter:Xt,id:Wt,activeDescendant:xa,"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:T,disabled:A,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&&xa?xa:void 0,"aria-describedby":ie?Oi:void 0,"aria-disabled":A?"true":void 0,"aria-label":Fn,tabIndex:0,children:[Te(_e,{children:m}),Te(qt,{placeholder:h,value:N,showValue:s,valueIconName:l,id:Oi}),Te(ge,{valid:C,invalid:g,loading:T,disabled:A}),Te(we,{loading:T,disabled:A}),Te(De,{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,...pe,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:ce,subtitle:ba}),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"})]})})})})]})};me.states=Mu;me.options=gu;me.className=Zs;me.defaultOptions=Ur;me.moduleName=Ys;me.folderName=Qs;import{jsx as GE}from"react/jsx-runtime";import{jsx as WE,jsxs as JE}from"react/jsx-runtime";import{Fragment as aB,jsx as tB,jsxs as oB}from"react/jsx-runtime";import{jsx as lB}from"react/jsx-runtime";import{jsx as fB,jsxs as bB}from"react/jsx-runtime";import{Fragment as SB,jsx as MB,jsxs as gB}from"react/jsx-runtime";import{jsx as yB}from"react/jsx-runtime";import{Fragment as Eu,jsx as Gt,jsxs as js}from"react/jsx-runtime";var Iu=me.states,ku=me.defaultOptions,Au=me.options,Tu=[{name:"opened",title:"Opened"}],yu=[],Eo=e=>{let{modifiers:t,...o}=e,a={},n=js(Eu,{children:[Gt("div",{className:"k-list-filter",children:Gt(je,{})}),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(me,{placeholder:"Value",style:{width:300},...o,...a})})};Eo.options=Au;Eo.states=Iu;Eo.variants=yu;Eo.defaultOptions=ku;Eo.modifiers=Tu;Eo.className=me.className;import{Fragment as QB,jsx as YB}from"react/jsx-runtime";import{Fragment as aO,jsx as oO}from"react/jsx-runtime";import{jsx as sO}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=[],Bo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Fr(me,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Fr(pr,{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})};Bo.options=Pu;Bo.states=Bu;Bo.variants=Ru;Bo.defaultOptions=Ou;Bo.modifiers=Ku;Bo.className=X.className;import{Fragment as Oa,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"},Oo=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(Oa,{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(Oa,{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(Oa,{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(Oa,{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(Oa,{children:ae("div",{className:"k-vstack k-flex-1",children:[w(Ne,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),w("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Oo.states=wu;Oo.options=_u;Oo.className=el;Oo.defaultOptions=tl;import{jsx as Zt,jsxs as jt}from"react/jsx-runtime";var ol="k-colorgradient-color-contrast",Du=[],Hu={},zu={},Po=()=>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"})]})]})]});Po.states=Du;Po.options=Hu;Po.className=ol;Po.defaultOptions=zu;var al="color-gradient",nl="colorgradient";import{jsx as nt,jsxs as Pa}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"},fe=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:T,tabIndex:A,...K}=e;return Pa("div",{...K,role:T??"textbox","aria-label":T==="none"?void 0:"Color gradient",tabIndex:A??0,"aria-disabled":n?"true":void 0,className:r(e.className,bn,k(bn,{size:t}),I(bn,{hover:M,focus:c,readonly:a,disabled:n})),dir:h,children:[!S||S==="horizontal"&&Pa("div",{className:"k-colorgradient-canvas k-hstack",children:[nt("div",{className:"k-hsv-rectangle",style:s,children:nt("div",{className:"k-hsv-gradient",children:nt("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})})}),Pa("div",{className:"k-hsv-controls k-hstack",children:[nt(Er,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&nt(Er,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:m})]})]}),S==="vertical"&&Pa("div",{className:"k-colorgradient-canvas k-vstack",children:[nt("div",{className:"k-hsv-rectangle",style:s,children:nt("div",{className:"k-hsv-gradient",children:nt("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})})}),Pa("div",{className:"k-hsv-controls k-vstack",children:[nt(yr,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&nt(yr,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:f})]})]}),nt(Oo,{mode:e.mode,size:t}),N&&nt(Po,{})]})};fe.states=Gu;fe.options=Uu;fe.className=bn;fe.defaultOptions=Ct;fe.moduleName=al;fe.folderName=nl;import{jsx as Fu}from"react/jsx-runtime";var xn=e=>Fu(fe,{...e});import{jsx as XO}from"react/jsx-runtime";import{jsx as YO}from"react/jsx-runtime";import{jsx as Vr}from"react/jsx-runtime";var Vu=fe.options,$u=fe.states,Xu={...fe.defaultOptions,variant:"rgba"},Wu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Ju=[],Ko=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})}};Ko.options=Vu;Ko.states=$u;Ko.variants=Wu;Ko.defaultOptions=Xu;Ko.modifiers=Ju;Ko.className=fe.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 Ka}from"react/jsx-runtime";var hn="k-colorpalette",ju=[i.disabled],ef={size:[p.undefined,p.small,p.medium,p.large]},sl={columns:10},He=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(Ka(Ut,{color:g,tileSize:n},S))});let C=Ka($r,{children:c},M);m.push(C)})}return Ka("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}),k(hn,{size:t})),children:Ka("table",{className:"k-colorpalette-table",role:"none",children:Ka("tbody",{children:m.length>0?m:e.children})})})};He.states=ju;He.options=ef;He.className=hn;He.defaultOptions=sl;He.moduleName=rl;He.folderName=il;var Nn=He;var Ra={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:Ra.basic,...e});import{jsx as BP}from"react/jsx-runtime";import{jsx as _P,jsxs as DP}from"react/jsx-runtime";import{jsx as df}from"react/jsx-runtime";var of=He.options,af=He.states,nf={...He.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=[],Ro=e=>{let{variant:t="basic",...o}=e,a=sf[t];return df(ll,{columns:a.columns,palette:a,...o})};Ro.options=of;Ro.states=af;Ro.variants=rf;Ro.defaultOptions=nf;Ro.modifiers=lf;Ro.className=He.className;var dl="color-editor",pl="coloreditor";import{jsx as rt,jsxs as wo}from"react/jsx-runtime";var vn="k-coloreditor",pf=[i.focus],mf={size:[p.undefined,p.small,p.medium,p.large]},wa={view:"gradient",palette:Ra.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=wa.view,palette:a=wa.palette,color:n,currentColor:s,focus:l,focusView:m,dir:f,group:N,actionButtons:h=wa.actionButtons,canvasOrientation:M=wa.canvasOrientation,...c}=e;return wo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",vn,k(vn,{size:t}),I(vn,{focus:l})),dir:f,children:[wo("div",{className:"k-coloreditor-header k-hstack",children:[rt("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&wo(O,{fillMode:"flat",children:[rt(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),rt(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),rt("div",{className:"k-spacer"}),wo("div",{className:"k-coloreditor-header-actions k-hstack",children:[rt(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),wo("div",{className:"k-coloreditor-preview k-vstack",children:[rt(Ot,{className:"k-coloreditor-preview-color",color:n}),rt(Ot,{className:"k-coloreditor-current-color",color:s})]})]})]}),rt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?rt(fe,{focus:m,size:t,canvasOrientation:M,role:"none",tabIndex:-1}):rt(He,{palette:a,size:t})}),h&&wo(z,{className:"k-coloreditor-footer",alignment:"start",children:[rt(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),rt(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=pf;ne.options=mf;ne.className=vn;ne.defaultOptions=wa;ne.moduleName=dl;ne.folderName=pl;var _o=ne;import{jsx as uK}from"react/jsx-runtime";import{jsx as hK}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var ml=e=>cf(_o,{group:!0,currentColor:"fuchsia",...e});import{jsx as uf}from"react/jsx-runtime";var cl=e=>uf(_o,{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=[],Do=e=>{let{variant:t,...o}=e;return t==="palette"?ul(cl,{...o,color:"white"}):ul(ml,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Do.options=ff;Do.states=bf;Do.variants=hf;Do.defaultOptions=xf;Do.modifiers=Nf;Do.className=ne.className;var fl="color-picker",bl="colorpicker";import{Fragment as Lf,jsx as it,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"},st=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:T,opened:A,adaptive:K,adaptiveSettings:V,adaptiveTitle:ie,adaptiveSubtitle:he,...pe}=e,ce="colorpicker-popup";return Wr(Lf,{children:[Wr(xt,{...pe,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":A?"true":"false","aria-controls":A||K?ce:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":g?"true":void 0,className:r(e.className,xl,"k-icon-picker"),children:[it(_e,{children:s}),it(qt,{placeholder:f,value:m,showValue:!1,valueIcon:it(Ot,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),it(De,{children:l}),it(d,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:g})]}),A&&T&&it(U,{id:ce,className:"k-colorpicker-popup",children:T}),K&&it(oe,{adaptive:!0,id:ce,...V,header:it(Ie,{actionsEnd:it(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ie,subtitle:he}),footer:Wr(Pt,{children:[it(d,{text:"Cancel",size:"large"}),it(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:it(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};st.states=vf;st.options=Cf;st.className=xl;st.defaultOptions=hl;st.moduleName=fl;st.folderName=bl;var kt=st;import{jsx as Mf}from"react/jsx-runtime";var Cn=e=>Mf(kt,{...e});import{jsx as eR}from"react/jsx-runtime";import{jsx as rR}from"react/jsx-runtime";import{jsx as dR}from"react/jsx-runtime";import{jsx as uR}from"react/jsx-runtime";import{jsx as hR}from"react/jsx-runtime";import{jsx as LR}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"}],Ho=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})})}};Ho.options=gf;Ho.states=Sf;Ho.variants=If;Ho.defaultOptions=Nl;Ho.modifiers=kf;Ho.className=kt.className;var Jr="combobox",vl=Jr;import{Fragment as qr,jsx as se,jsxs as _a}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:T,popup:A,opened:K,readonly:V,adaptive:ie,adaptiveSettings:he,adaptiveTitle:pe,adaptiveSubtitle:ce,adaptiveCustomValue:ba,id:Xt,autocomplete:Wt,activeDescendant:xa,"aria-label":Fn,...Vn}=e,$n=Xt?`${Xt}-listbox`:void 0;return _a(qr,{children:[_a(Z,{...Vn,size:t,rounded:o,fillMode:a,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:T,readonly:V,className:r(e.className,Cl),children:[l&&_a(qr,{children:[se(_e,{children:l}),n&&se(Se,{})]}),se($e,{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&&xa?xa:void 0,"aria-autocomplete":Wt,"aria-invalid":C?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Fn,disabled:T,readOnly:V}),se(ge,{valid:c,invalid:C,loading:S,disabled:T}),se(we,{loading:S,disabled:T}),s&&se(Ve,{loading:S,disabled:T,readonly:V,value:f}),m&&_a(qr,{children:[n&&se(Se,{}),se(De,{children:m})]}),se(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:T})]}),K&&A&&se(U,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:A}),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:pe,subtitle:ce}),children:se("div",{className:"k-list-container",children:se(H,{customValue:ba?se(zt,{text:`Use "${f}"`}):void 0,size:"large",children:_a(W,{"aria-label":pe||"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 We=ye;import{jsx as yf}from"react/jsx-runtime";var Ll=e=>yf(We,{...e});import{jsx as aw,jsxs as nw}from"react/jsx-runtime";import{jsx as pw,jsxs as mw}from"react/jsx-runtime";import{jsx as hw,jsxs as Nw}from"react/jsx-runtime";import{Fragment as Sw,jsx as gw}from"react/jsx-runtime";import{Fragment as Ew,jsx as yw}from"react/jsx-runtime";import{jsx as ww,jsxs as _w}from"react/jsx-runtime";import{Fragment as $w,jsx as Fw,jsxs as Vw}from"react/jsx-runtime";import{jsx as qw}from"react/jsx-runtime";import{jsx as jw}from"react/jsx-runtime";import{jsx as r_,jsxs as i_}from"react/jsx-runtime";import{jsx as c_,jsxs as u_}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=[],zo=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})})};zo.options=Of;zo.states=Ef;zo.variants=Kf;zo.defaultOptions=Bf;zo.modifiers=Pf;zo.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,...T}=e;return Df(d,{...T,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 X_}from"react/jsx-runtime";import{jsx as Y_}from"react/jsx-runtime";import{jsx as e0}from"react/jsx-runtime";import{jsx as n0}from"react/jsx-runtime";var Je="menu",lt=Je;import{jsx as Ha,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"&&Ha(L,{className:"k-menu-link-icon",icon:l}),Ha("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&Ha(L,{className:"k-menu-link-icon",icon:l}),f&&Ha("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ha(L,{icon:S})})]}),c]})};ve.states=Hf;ve.options=zf;ve.className=jr;ve.defaultOptions=Il;ve.moduleName=Je;ve.folderName=lt;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:T,...A}=e,K=N;return K||(K=M==="rtl"?"chevron-left":"chevron-right"),kl("li",{role:"menuitem",...A,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})}),T&&to("span",{className:"k-menu-link-description",children:T})]}),c,C]})};j.states=Gf;j.options=Uf;j.className=ei;j.defaultOptions=ti;j.moduleName=Je;j.folderName=lt;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=Je;oo.folderName=lt;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"},be=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},k(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]})};be.states=Wf;be.options=Jf;be.className=Mn;be.defaultOptions=gn;be.moduleName=Je;be.folderName=lt;import{jsx as qf}from"react/jsx-runtime";var ai="k-separator",yl={orientation:"horizontal"},Go=e=>{let{orientation:t=yl.orientation,...o}=e;return qf("li",{...o,className:r(e.className,"k-item",ai,{[`${ai}-${t}`]:t}),role:"separator"})};Go.className=ai;Go.defaultOptions=yl;Go.moduleName=Je;Go.folderName=lt;import{Fragment as P0,jsx as K0}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,k(ni,{size:o})),children:t})};Ce.states=Yf;Ce.options=Qf;Ce.className=ni;Ce.defaultOptions=Zf;Ce.moduleName=Je;Ce.folderName=lt;import{jsx as F0,jsxs as V0}from"react/jsx-runtime";import{Fragment as eb,jsx as Uo,jsxs as tb}from"react/jsx-runtime";var ri=e=>Uo(be,{children:tb(eb,{children:[Uo(ve,{text:"Item 1"}),Uo(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Uo(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Uo(ve,{text:"Item 4"}),Uo(ve,{text:"Item 5"})]}),...e});import{Fragment as eD,jsx as Z0,jsxs as j0}from"react/jsx-runtime";import{Fragment as rD,jsx as nD,jsxs as iD}from"react/jsx-runtime";import{Fragment as mD,jsx as pD,jsxs as cD}from"react/jsx-runtime";import{Fragment as hD,jsx as xD,jsxs as ND}from"react/jsx-runtime";import{jsx as no,jsxs as ib}from"react/jsx-runtime";var ob={...be.options,scrollable:{type:"boolean"}},ab=be.states,El={...be.defaultOptions,variant:"horizontal"},nb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rb=[{name:"opened",title:"Opened"}],Fo=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(Go,{}),no(j,{text:"Item 3"})]})}):null)}),t==="vertical"?no(ri,{...a,...n,orientation:"vertical",style:{width:"200px"}}):no(ri,{...a,...n})};Fo.options=ob;Fo.states=ab;Fo.variants=nb;Fo.defaultOptions=El;Fo.modifiers=rb;Fo.className=be.className;import{Fragment as QD,jsx as qD,jsxs as YD}from"react/jsx-runtime";import{jsx as tH}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"}],Vo=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]})};Vo.options=lb;Vo.states=sb;Vo.variants=db;Vo.defaultOptions=Ol;Vo.modifiers=pb;Vo.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:T,...A}=e;return Kl(fb,{children:[Kl("div",{...A,className:r(e.className,li,"k-button-group",k(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?T: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",ut=e=>xb("div",{className:r(bb,e.className,"k-separator")});var ro="toolbar",$o=ro;import{Fragment as pi,jsx as G,jsxs as Xo}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(G(d,{...c.props,className:`${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===d)g.push(G(d,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===R)g.push(G(R,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===$)g.push(G($,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===J)g.push(G(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(G(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((A,K)=>{S.push(G(d,{...A.props,className:`${A.props.className?A.props.className:""}`},`${K}-${new Date().getTime()}`))}),g.push(G(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(G(ye,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===me?g.push(G(me,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===st?g.push(G(st,{...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)}),Xo("div",{...N,className:r(e.className,At,k(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"&&G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),s&&l==="start"&&Xo(pi,{children:[Xo(O,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-left"})}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-right"})})]}),G(ut,{className:"k-toolbar-button-separator"}),G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),s&&l==="end"&&Xo(pi,{children:[G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),G(ut,{className:"k-toolbar-button-separator"}),Xo(O,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-left"})}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&Xo(pi,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-left"})}),G(ut,{className:"k-toolbar-button-separator"}),G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),G(ut,{className:"k-toolbar-button-separator"}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(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=$o;import{jsx as gb}from"react/jsx-runtime";var mi="k-toolbar-item",Cb=[i.focus],Lb={},Mb={},Wo=e=>{let{focus:t,...o}=e;return gb("div",{...o,className:r(e.className,mi,I(mi,{focus:t})),children:e.children})};Wo.states=Cb;Wo.options=Lb;Wo.className=mi;Wo.defaultOptions=Mb;Wo.moduleName=ro;Wo.folderName=$o;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",k("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=$o;var Sn=io;import{jsx as t1}from"react/jsx-runtime";import{jsx as r1}from"react/jsx-runtime";import{jsx as d1}from"react/jsx-runtime";import{jsx as u1}from"react/jsx-runtime";import{jsx as v1,jsxs as C1}from"react/jsx-runtime";import{jsx as S1}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"}],Jo=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"})})}};Jo.options=Tb;Jo.states=Ab;Jo.variants=yb;Jo.defaultOptions=Dl;Jo.modifiers=Eb;Jo.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 e2,jsxs as t2}from"react/jsx-runtime";import{jsx as qe,jsxs as zl}from"react/jsx-runtime";var Gl=e=>qe(D,{scrollable:!0,...e,children:[qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(_,{children:"Split button"},"toolbar-split-button"),zl(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"),zl(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")],...e});import{jsx as Ye,jsxs as Ul}from"react/jsx-runtime";var Fl=({scrollingPosition:e="start",...t})=>Ye(D,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Ye(d,{children:"Button"},"toolbar-button"),Ye(J,{text:"Menu button"},"toolbar-menu-button"),Ye(_,{children:"Split button"},"toolbar-split-button"),Ul(O,{children:[Ye(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ye(d,{icon:"align-center",children:"Center"}),Ye(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ye(d,{children:"Button"},"toolbar-button"),Ye(J,{text:"Menu button"},"toolbar-menu-button"),Ye(_,{children:"Split button"},"toolbar-split-button"),Ul(O,{children:[Ye(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ye(d,{icon:"align-center",children:"Center"}),Ye(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Pb,jsx as ze,jsxs as In}from"react/jsx-runtime";var Vl=({fillMode:e,size:t,...o})=>In(Pb,{children:[ze(D,{section:!0,fillMode:e,size:t,children:[ze(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),In(O,{fillMode:e,children:[ze(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ze(ut,{className:"k-toolbar-button-separator"}),ze(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:[ze(_,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ze(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ze(ut,{}),ze(J,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),In(O,{fillMode:e,children:[ze(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as K2,jsx as O2,jsxs as P2}from"react/jsx-runtime";import{Fragment as $2,jsx as F2,jsxs as V2}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=[],qo=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})})}};qo.options=Kb;qo.states=Rb;qo.variants=wb;qo.defaultOptions=$l;qo.modifiers=_b;qo.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",ft=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",za=e=>{let{title:t,children:o,expanded:a,...n}=e,s=y("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",lo=e=>{let{...t}=e;return Qb("div",{...t,className:r(e.className,Yb),children:e.children})};import{jsx as _z}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 kn="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,kn,k(kn,{size:t,rounded:o,themeColor:a}),I(kn,{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=kn;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 i3}from"react/jsx-runtime";import{jsx as p3}from"react/jsx-runtime";import{jsx as f3}from"react/jsx-runtime";import{jsx as N3}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},po=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"})};po.states=d.states;po.options=d.options;po.className=nd;po.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"},ee=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"})};ee.states=d.states;ee.options=d.options;ee.className=sd;ee.defaultOptions=ld;ee.moduleName=fi;ee.folderName=id;import{jsx as t5}from"react/jsx-runtime";import{jsx as r5}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(ee,{...o,...a})};Zo.options=hx;Zo.states=xx;Zo.variants=vx;Zo.defaultOptions=dd;Zo.modifiers=Nx;Zo.className=ee.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},q=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:T,invalid:A,required:K,disabled:V,id:ie,"aria-label":he,"aria-describedby":pe,...ce}=e;return xi(Z,{...ce,size:t,rounded:o,fillMode:a,hover:g,focus:S,valid:T,invalid:A,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(_e,{className:r({"!k-align-items-start":m===l}),direction:l,children:N}),n&&Ga(Se,{direction:m==="horizontal"?"vertical":"horizontal"})]}),Ga(ga,{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":pe,"aria-invalid":A?"true":void 0}),h&&xi(md,{children:[s&&Ga(Se,{direction:m==="horizontal"?"vertical":"horizontal"}),Ga(De,{className:r({"!k-align-items-start":m===l}),direction:l,children:h})]})]})};q.states=Lx;q.options=Mx;q.className=cd;q.defaultOptions=jo;q.moduleName=bi;q.folderName=pd;import{jsx as I5}from"react/jsx-runtime";import{Fragment as B5,jsx as E5}from"react/jsx-runtime";import{Fragment as _5,jsx as w5}from"react/jsx-runtime";import{jsx as G5}from"react/jsx-runtime";import{jsx as An}from"react/jsx-runtime";var gx=q.options,Sx=q.states,ud={...q.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]?An(L,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?An(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?An(q,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):An(q,{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=q.className;import{Fragment as pG,jsx as lG,jsxs as dG}from"react/jsx-runtime";import{jsx as Tn}from"react/jsx-runtime";var Ax="k-chip-action";var yt=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=Tn(L,{icon:"x-circle",size:"small"});break;case"more":a=Tn(L,{icon:"more-vertical",size:"small"});break;default:return Tn(L,{icon:t,size:"small"})}return Tn("span",{...o,className:r(e.className,Ax,`k-chip-${t}-action`),children:a})};var Ni="avatar",fd=Ni;import{jsx as bd}from"react/jsx-runtime";var Ua="k-avatar";var Tx=[i.hover,i.focus,i.active,i.selected,i.disabled],yx={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]},vi={type:"text",border:!1},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:s=vi.type,border:l=vi.border,...m}=e;return bd("div",{...m,className:r(e.className,Ua,k(Ua,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Ua}-bordered`]:l}),children:bd("span",{className:`${Ua}-${s}`,children:e.children})})};Ge.states=Tx;Ge.options=yx;Ge.className=Ua;Ge.defaultOptions=vi;Ge.moduleName=Ni;Ge.folderName=fd;var mo=Ge;import{jsx as Ex}from"react/jsx-runtime";var xd=e=>Ex(mo,{type:"icon",...e});import{jsx as Bx}from"react/jsx-runtime";var hd=e=>Bx(mo,{type:"text",...e});import{jsx as Ox}from"react/jsx-runtime";var Nd=e=>Ox(mo,{type:"image",...e});import{jsx as OG}from"react/jsx-runtime";import{jsx as Fa}from"react/jsx-runtime";var Px=Ge.options,Kx=Ge.states,Rx={...Ge.defaultOptions,variant:"image"},wx=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],_x=[],ta=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Fa(xd,{...o,children:Fa(L,{icon:"star"})});case"text":return Fa(hd,{...o,children:"JO"});default:return Fa(Nd,{...o,children:Fa("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ta.options=Px;ta.states=Kx;ta.variants=wx;ta.defaultOptions=Rx;ta.modifiers=_x;ta.className=Ge.className;var Va="chip",yn=Va,En="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as oa,jsxs as zx}from"react/jsx-runtime";var Bn="k-chip",Dx=[i.hover,i.focus,i.active,i.selected,i.disabled],Hx={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]},vd={avatarImage:"/packages/html/assets/avatar.jpg"},Ue=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:s,icon:l,actions:m,showAvatar:f,avatarImage:N=vd.avatarImage,hover:h,focus:M,active:c,selected:C,disabled:g,...S}=e;return zx("div",{...S,className:r(e.className,Bn,k(Bn,{size:t,rounded:o,fillMode:a,themeColor:n}),I(Bn,{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(Ge,{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})]})};Ue.states=Dx;Ue.options=Hx;Ue.className=Bn;Ue.defaultOptions=vd;Ue.moduleName=Va;Ue.folderName=yn;var dt=Ue;import{jsx as Vx}from"react/jsx-runtime";var Ci="k-chip-list",Gx=[],Ux={size:[p.undefined,p.small,p.medium,p.large]},Fx={},Le=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return Vx("div",{...n,className:r(e.className,Ci,k(Ci,{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=Gx;Le.options=Ux;Le.className=Ci;Le.defaultOptions=Fx;Le.moduleName=Va;Le.folderName=yn;import{jsx as lU}from"react/jsx-runtime";import{jsx as cU}from"react/jsx-runtime";import{jsx as $x}from"react/jsx-runtime";var On=e=>$x(dt,{text:"text",...e});import{jsx as CU}from"react/jsx-runtime";import{jsx as SU}from"react/jsx-runtime";import{Fragment as EU,jsx as yU,jsxs as BU}from"react/jsx-runtime";import{jsx as wU,jsxs as _U}from"react/jsx-runtime";import{jsx as UU,jsxs as FU}from"react/jsx-runtime";import{jsx as qU,jsxs as YU}from"react/jsx-runtime";import{jsx as aa,jsxs as Qx}from"react/jsx-runtime";var Xx={...dt.options,...Le.options},Wx=[],Jx=Le.states,qx={...dt.defaultOptions,...Le.defaultOptions},Yx=[{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?En:void 0;return Qx(Le,{size:a.size,className:o,children:[aa(On,{...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(On,{...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(On,{...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=Xx;na.states=Jx;na.variants=Wx;na.defaultOptions=qx;na.modifiers=Yx;na.className=Le.className;import{jsx as Li}from"react/jsx-runtime";var Zx=Ue.states,jx=Ue.defaultOptions,eh=Ue.options,th=[],oh=[{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]?En:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[n]?Li(yt,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[n]?Li(yt,{type:"remove"}):void 0;break;default:break}}),Li(Ue,{...o,...a,children:"Chip component"})};ra.options=eh;ra.states=Zx;ra.variants=th;ra.defaultOptions=jx;ra.modifiers=oh;ra.className=Ue.className;import{Fragment as HF,jsx as _F,jsxs as DF}from"react/jsx-runtime";import{jsx as nh}from"react/jsx-runtime";var ah="k-card-callout",Cd=e=>{let{callout:t,...o}=e;return nh("span",{...o,className:r(e.className,ah,{[`k-callout-${Ki.calloutMap[t]||t}`]:t})})};var Qe="card",pt=Qe;import{Fragment as lh,jsx as Ld,jsxs as dh}from"react/jsx-runtime";var Mi="k-card",rh=[i.hover,i.focus,i.selected,i.disabled],ih={},sh={},Q=e=>{let{orientation:t,callout:o,hover:a,focus:n,selected:s,disabled:l,...m}=e;return dh("div",{...m,className:r(e.className,Mi,I(Mi,{hover:a,focus:n,disabled:l,selected:s}),{[`k-card-${t}`]:t,"k-card-with-callout":o}),children:[o&&o!=="true"&&Ld(Cd,{callout:o}),Ld(lh,{children:e.children})]})};Q.states=rh;Q.options=ih;Q.className=Mi;Q.defaultOptions=sh;Q.moduleName=Qe;Q.folderName=pt;import{Fragment as uh,jsx as Md}from"react/jsx-runtime";var gi="k-card-list",ph=[],mh={},ch={},co=e=>{let{...t}=e;return Md("div",{...t,className:r(e.className,gi,I(gi,{})),role:"list",children:Md(uh,{children:e.children})})};co.states=ph;co.options=mh;co.className=gi;co.defaultOptions=ch;co.moduleName=Qe;co.folderName=pt;import{jsx as hh}from"react/jsx-runtime";var gd="k-card-group",fh=[],bh={},xh={},ia=e=>{let{...t}=e;return hh("div",{...t,className:r(e.className,gd),children:e.children})};ia.states=fh;ia.options=bh;ia.className=gd;ia.defaultOptions=xh;ia.moduleName=Qe;ia.folderName=pt;import{jsx as Lh}from"react/jsx-runtime";var Si="k-card-wrap",Nh=[i.focus,i.selected],vh={},Ch={},sa=e=>{let{focus:t,selected:o,...a}=e;return Lh("div",{...a,className:r(e.className,Si,I(Si,{focus:t,selected:o})),children:e.children})};sa.states=Nh;sa.options=vh;sa.className=Si;sa.defaultOptions=Ch;sa.moduleName=Qe;sa.folderName=pt;import{jsx as gh}from"react/jsx-runtime";var Ii="k-card-title",Mh=[i.hover,i.focus],uo=e=>{let{hover:t,focus:o,...a}=e;return gh("div",{...a,className:r(e.className,Ii,I(Ii,{hover:t,focus:o})),children:e.children})};uo.states=Mh;uo.className=Ii;import{jsx as Ih}from"react/jsx-runtime";var Sh="k-card-subtitle",Pn=e=>{let{...t}=e;return Ih("div",{...t,className:r(e.className,Sh),children:e.children})};import{Fragment as Id,jsx as Kn}from"react/jsx-runtime";var Sd="k-card-media",ki=e=>{let{src:t,...o}=e;return Kn(Id,{children:t?Kn("img",{...o,className:r(e.className,Sd),src:t}):Kn("span",{...o,className:r(e.className,Sd),children:Kn(Id,{children:e.children})})})};import{Fragment as Ah,jsx as $a,jsxs as Th}from"react/jsx-runtime";var kh="k-card-header",Et=e=>{let{title:t,subtitle:o,details:a,...n}=e;return Th("div",{...n,className:r(e.className,kh),children:[t&&$a(uo,{children:t}),o&&$a(Pn,{children:o}),$a(Ah,{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 Eh}from"react/jsx-runtime";var yh="k-card-footer",Ai=e=>{let{...t}=e;return Eh("div",{...t,className:r(e.className,yh),children:e.children})};import{Fragment as Oh,jsx as Xa,jsxs as Ph}from"react/jsx-runtime";var Bh="k-card-body",Oe=e=>{let{title:t,subtitle:o,details:a,...n}=e;return Ph("div",{...n,className:r(e.className,Bh),children:[t&&Xa(uo,{children:t}),o&&Xa(Pn,{children:o}),Xa(Oh,{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 _h}from"react/jsx-runtime";var kd="k-card-deck",Kh=[],Rh={},wh={},la=e=>{let{...t}=e;return _h("div",{...t,className:r(e.className,kd),children:e.children})};la.states=Kh;la.options=Rh;la.className=kd;la.defaultOptions=wh;la.moduleName=Qe;la.folderName=pt;import{jsx as Gh}from"react/jsx-runtime";var Ad="k-card-deck-scrollwrap",Dh=[],Hh={},zh={},da=e=>{let{...t}=e;return Gh("div",{...t,className:r(e.className,Ad),children:e.children})};da.states=Dh;da.options=Hh;da.className=Ad;da.defaultOptions=zh;da.moduleName=Qe;da.folderName=pt;import{Fragment as Uh,jsx as pa,jsxs as Td}from"react/jsx-runtime";var yd=e=>pa(Q,{orientation:"vertical",children:Td(Uh,{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."})}),Td(z,{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 Fh,jsx as Wa,jsxs as Ed}from"react/jsx-runtime";var Bd=e=>Wa(Q,{orientation:"horizontal",children:Ed(Fh,{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."})}),Ed(z,{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 t6,jsxs as o6}from"react/jsx-runtime";import{jsx as Pe,jsxs as Ja}from"react/jsx-runtime";var Vh=Q.options,$h=Q.states,Od={...Q.defaultOptions,variant:"vertical"},Xh=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Wh=[{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}={...Od,...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(Bd,{style:{maxWidth:"420px"},...a,children:[n&&Pe(ki,{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(Ai,{children:"Card Footer"})]}),(s||l)&&Pe("span",{className:"k-separator k-separator-vertical"}),Ja(z,{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(yd,{style:{maxHeight:"450px",width:"300px"},...a,children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),n&&Pe(ki,{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(Ai,{children:"Card Footer"}),Ja(z,{className:"k-card-actions",children:[Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]})};ma.options=Vh;ma.states=$h;ma.variants=Xh;ma.defaultOptions=Od;ma.modifiers=Wh;ma.className=Q.className;import{jsx as z6,jsxs as G6}from"react/jsx-runtime";var Ti="panelbar",Pd=Ti;import{jsx as Qh}from"react/jsx-runtime";var Kd="k-panelbar",Jh=[],qh={},Yh={},Me=e=>{let{activeDescendant:t,...o}=e;return Qh("ul",{...o,className:r(e.className,Kd),role:"tree","aria-activedescendant":t,children:e.children})};Me.states=Jh;Me.options=qh;Me.className=Kd;Me.defaultOptions=Yh;Me.moduleName=Ti;Me.folderName=Pd;import yi from"react";import{jsx as Rn,jsxs as Rd}from"react/jsx-runtime";var wd="k-panelbar-item",Zh=[i.hover,i.focus,i.selected,i.disabled],jh={},wn={level:0,expanded:!1,text:"Item"},E=e=>{let{text:t=wn.text,level:o=wn.level,expanded:a=wn.expanded,header:n,hover:s,focus:l,selected:m,disabled:f,icon:N,iconClass:h,ariaSelected:M,children:c,...C}=e,g=!!c;return Rd("li",{...C,className:r(e.className,wd,{"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:[Rd("span",{className:r("k-link",I("k-link",{hover:s,focus:l,disabled:f,selected:m})),children:[N&&Rn(L,{className:"k-panelbar-item-icon",icon:N}),h&&!N&&Rn("span",{className:`k-panelbar-item-icon ${h}`}),Rn("span",{className:"k-panelbar-item-text",children:t}),g&&Rn(L,{className:r("k-panelbar-toggle",a?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${a?"up":"down"}`})]}),a&&c,!a&&c&&yi.Children.map(c,S=>yi.isValidElement(S)?yi.cloneElement(S,{"aria-hidden":"true",style:{display:"none"}}):S)]})};E.states=Zh;E.options=jh;E.className=wd;E.moduleName=null;E.folderName=null;E.defaultOptions=wn;import{jsx as aN}from"react/jsx-runtime";var _d="k-panelbar-group",eN=[],tN={},oN={},xe=e=>{let{ariaHidden:t,...o}=e;return aN("ul",{...o,className:r(e.className,_d),role:"group",...t!==void 0&&{"aria-hidden":t?"true":void 0},children:e.children})};xe.states=eN;xe.options=tN;xe.className=_d;xe.moduleName=null;xe.folderName=null;xe.defaultOptions=oN;import{jsx as sN}from"react/jsx-runtime";var Dd="k-panelbar-content",nN=[],rN={},iN={},le=e=>{let{...t}=e;return sN("div",{...t,className:r(e.className,Dd),children:e.children})};le.states=nN;le.options=rN;le.className=Dd;le.defaultOptions=iN;import{Fragment as lN,jsx as $t,jsxs as dN}from"react/jsx-runtime";var qa=e=>{let t=y("pb-item"),o=y("pb-item"),a=y("pb-item"),n=y("pb-item");return $t(Me,{children:dN(lN,{children:[$t(E,{header:!0,text:"Item 1",id:t,children:$t(le,{children:"content"})}),$t(E,{header:!0,text:"Item 2",id:o,children:$t(le,{children:"content"})}),$t(E,{header:!0,text:"Item 3",id:a,children:$t(le,{children:"content"})}),$t(E,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as u7,jsx as c7,jsxs as f7}from"react/jsx-runtime";import{Fragment as pN,jsx as Ke,jsxs as Ei}from"react/jsx-runtime";var Hd=e=>{let t=y("pb-item"),o=y("pb-item"),a=y("pb-item"),n=y("pb-item"),s=y("pb-child"),l=y("pb-child"),m=y("pb-child"),f=y("pb-child"),N=y("pb-child"),h=y("pb-child"),M=y("pb-child");return Ke(Me,{activeDescendant:o,children:Ei(pN,{children:[Ke(E,{header:!0,text:"Item 1",id:t,children:Ke(le,{children:"content"})}),Ke(E,{header:!0,expanded:!0,text:"Item 2",id:o,ariaSelected:!0,focus:!0,children:Ei(xe,{children:[Ke(E,{level:1,text:"Child 1",id:s}),Ke(E,{level:1,expanded:!0,text:"Child 2",id:l,children:Ei(xe,{children:[Ke(E,{level:2,text:"Child 2.1",id:m}),Ke(E,{level:2,text:"Child 2.2",id:f})]})}),Ke(E,{level:1,text:"Child 3",id:N,children:Ke(xe,{children:Ke(E,{level:2,text:"Child 3.1",id:h})})}),Ke(E,{level:1,text:"Child 4",id:M})]})}),Ke(E,{header:!0,text:"Item 3",id:a,children:Ke(le,{children:"content"})}),Ke(E,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as zd,jsx as te,jsxs as _n}from"react/jsx-runtime";var mN=Me.options,cN=Me.states,Gd={...Me.defaultOptions,variant:"normal"},uN=[{name:"normal",title:"Normal"},{name:"expand",title:"Expanded"}],fN=[{name:"icon",title:"Item icons"},{name:"disabled",title:"Disabled item"}],ca=e=>{let{variant:t,modifiers:o,...a}={...Gd,...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"?te(zd,{children:_n(Hd,{style:{width:"300px"},...a,children:[te(E,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.folder,selected:!0,header:!0,expanded:!0,text:"Item 2",children:_n(xe,{children:[te(E,{level:1,text:"Child 1"}),te(E,{level:1,expanded:!0,text:"Child 2",children:_n(xe,{children:[te(E,{level:2,text:"Child 2.1"}),te(E,{icon:n.icon?.image,level:2,text:"Child 2.2"})]})}),te(E,{disabled:n.disabled,level:1,text:"Child 3",children:te(le,{children:"content"})}),te(E,{level:1,text:"Child 4"})]})}),te(E,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.file,header:!0,text:"Item 4"})]})}):te(zd,{children:_n(qa,{style:{width:"300px"},...a,children:[te(E,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.folder,header:!0,text:"Item 2",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.file,header:!0,text:"Item 4"})]})})};ca.options=mN;ca.states=cN;ca.variants=uN;ca.defaultOptions=Gd;ca.modifiers=fN;ca.className=Me.className;import{jsx as U7,jsxs as F7}from"react/jsx-runtime";import{Fragment as t4,jsx as j7,jsxs as e4}from"react/jsx-runtime";import{Fragment as c4,jsx as p4,jsxs as m4}from"react/jsx-runtime";import{Fragment as C4,jsx as v4,jsxs as L4}from"react/jsx-runtime";var Bi="suggestion",Ud=Bi;import{jsx as Dn,jsxs as hN}from"react/jsx-runtime";var Hn="k-suggestion-group",bN=[],xN={},Fd={layout:"scrollable",scrollingPosition:"start"},Ze=e=>{let{layout:t=Fd.layout,scrollingPosition:o,...a}=e,n=Dn("div",{...a,className:r(Hn,{"k-suggestion-group-scrollable":t=="scrollable",[`${Hn}-scrollable-start`]:o==="start"||o==="both",[`${Hn}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?Dn("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?hN("div",{className:"k-suggestion-scrollwrap",children:[Dn(d,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,Dn(d,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};Ze.states=bN;Ze.options=xN;Ze.className=Hn;Ze.defaultOptions=Fd;Ze.moduleName=Bi;Ze.folderName=Ud;import{jsx as LN}from"react/jsx-runtime";var zn="k-suggestion",NN=[i.active,i.hover,i.focus],vN={themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},CN={text:"Suggestion"},Fe=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:s,children:l,...m}=e;return LN("span",{...m,className:r(e.className,zn,I(zn,{hover:a,active:o,focus:n}),k(zn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":e["aria-label"]||s,children:l||s})};Fe.states=NN;Fe.options=vN;Fe.className=zn;Fe.item=CN;import{Fragment as R4,jsx as K4,jsxs as w4}from"react/jsx-runtime";import{Fragment as G4,jsx as z4,jsxs as U4}from"react/jsx-runtime";import{Fragment as W4,jsx as X4,jsxs as J4}from"react/jsx-runtime";import{Fragment as Vd,jsx as v,jsxs as de}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"}],ua=e=>{let{variant:t,modifiers:o,...a}={...e},n=v(Vd,{children:de(Ze,{layout:"wrap",children:[v(Fe,{text:"Post for work-life balance importance"}),v(Fe,{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:de(F,{style:{width:"330px",height:"350px"},...a,children:[v(ft,{children:de(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:de(qa,{children:[v(E,{header:!0,icon:"brush",text:"Change Formality",children:de(xe,{children:[v(E,{level:1,text:"Casual"}),v(E,{level:1,text:"Neutral"}),v(E,{level:1,text:"Formal"})]})}),v(E,{header:!0,expanded:!0,icon:"edit-tools",text:"Translate",children:de(xe,{children:[v(E,{level:1,text:"German"}),v(E,{level:1,text:"Spanish"})]})}),v(E,{header:!0,icon:"min-width",text:"Simplify"}),v(E,{header:!0,icon:"arrows-left-right",text:"Expand"})]})})})]})});case"output":return v(U,{className:"k-prompt-popup",children:de(F,{style:{width:"330px",height:"350px"},...a,children:[v(ft,{children:de(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"})]})}),de(Ee,{children:[v(po,{}),v(Be,{children:de("div",{className:"k-card-list",children:[de(Q,{children:[v(Et,{title:"Generated with AI",subtitle:"Linked in post for work/life balance importance"}),v(Oe,{children:de("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"]})}),de(z,{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"})]})]}),de(Q,{children:[v(Et,{title:"Generated with AI",subtitle:"Out of Office"}),v(Oe,{children:de("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]"]})}),de(z,{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:de(F,{style:{width:"330px",height:"350px"},...a,children:[v(ft,{children:de(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:de(Be,{children:[v(q,{resize:"none",rows:2,placeholder:"Ask or generate content with AI",suffixSeparator:!1,suffix:v(Vd,{children:s.stt?v(ee,{fillMode:"flat"}):null})}),v(za,{expanded:s.suggestions,title:"Suggestions",children:n})]})}),v(lo,{children:v(z,{className:"k-prompt-actions",alignment:"start",children:v(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})})}};ua.options=MN;ua.states=gN;ua.variants=IN;ua.defaultOptions=SN;ua.modifiers=kN;ua.className=F.className;import{Fragment as BN,jsx as mt,jsxs as Gn}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"}],fa=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=Gn(Q,{children:[mt(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,"}),Gn(z,{className:"k-card-actions",alignment:"start",children:[mt(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),mt(R,{fillMode:"flat",themeColor:"primary",icon:"insert-bottom",children:"Insert"}),mt(R,{fillMode:"flat",themeColor:"primary",icon:"check",children:"Replace"}),mt(R,{fillMode:"flat",themeColor:"base",icon:"cancel",children:"Discard"})]})]});return mt(U,{className:"k-prompt-popup",children:mt(F,{style:{width:"450px",height:"auto"},...o,children:mt(Ee,{children:Gn(Be,{children:[a.response?n:null,mt(q,{rows:1,placeholder:"Edit, generate or explain ...",resize:"none",flow:"horizontal",prefixSeparator:a.commands&&a.stt,suffixSeparator:!1,prefix:Gn(BN,{children:[a.commands?mt($,{fillMode:"flat",icon:"menu"}):null,a.stt?mt(ee,{fillMode:"flat"}):null]}),suffix:mt(Mt,{generating:!!a.generating})})]})})})})};fa.options=AN;fa.states=TN;fa.variants=[];fa.defaultOptions=yN;fa.modifiers=EN;fa.className=F.className;import{Fragment as ON,jsx as Re,jsxs as Un}from"react/jsx-runtime";var iV=e=>Un(F,{...e,children:[Re(ft,{children:Un(D,{fillMode:"flat",children:[Re(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),Re(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),Re($,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full","aria-label":"More actions"})]})}),Re(Ee,{children:Un(Be,{children:[Re(q,{resize:"y",rows:1,suffixSeparator:!1,placeholder:"Ask or generate content with AI","aria-label":"Ask or generate content with AI",suffix:Re(ON,{children:Re(ee,{fillMode:"flat"})})}),Re(za,{expanded:!0,title:"Prompt Suggestions",children:Un(Ze,{layout:"wrap",children:[Re(Fe,{text:"Suggestion 1"}),Re(Fe,{text:"Suggestion 2"}),Re(Fe,{text:"Reply with very very very very very very very long text"})]})})]})}),Re(lo,{children:Re(z,{className:"k-prompt-actions",alignment:"start",children:Re(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]});export{iV as PromptSuggestions};
|