UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines 78.9 kB
var n=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?n(...e):typeof e=="object"?Object.keys(e).map((o,r)=>e[r]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var k=(t,e)=>n({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.fillMode}-${e.themeColor}`]:e.fillMode&&e.themeColor},{[`${t}-${e.themeColor}`]:e.themeColor&&e.fillMode===void 0},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full"}),L=(t,e)=>n({"k-valid":e.valid,"k-invalid":e.invalid,"k-hover":e.hover,"k-focus":e.focus,"k-checked":e.checked,"k-active":e.active,"k-selected":e.selected,"k-disabled":e.disabled,"k-indeterminate":e.indeterminate&&!e.checked,"k-loading":e.loading,"k-empty":e.empty,"k-readonly":e.readonly,"k-highlighted":e.highlighted});var s={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},d={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},l={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={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"},Vn={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{jsx as Gr}from"react/jsx-runtime";var ro="k-actions",Rr=[],Hr={},wo={alignment:"start",orientation:"horizontal"},$=t=>{let{alignment:e=wo.alignment,orientation:o=wo.orientation,...r}=t;return Gr("div",{...r,className:n(ro,{[`${ro}-${e}`]:e,[`${ro}-${o}`]:o},t.className),children:t.children})};$.states=Rr;$.options=Hr;$.className=ro;$.defaultOptions=wo;import{Fragment as _r,jsx as _n}from"react/jsx-runtime";var Ko="k-icon k-font-icon",Dr=[],$r={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark]},Vr={},Oe=t=>{let{size:e,themeColor:o,icon:r,rotate:p,flip:c,...i}=t;return r?_n("span",{...i,className:n(t.className,Ko,k(Ko,{size:e}),{[`k-i-${r}`]:r,[`k-color-${o}`]:o,[`k-rotate-${p}`]:p,"k-flip-h":c==="h"||c==="both","k-flip-v":c==="v"||c==="both"})}):_n(_r,{})};Oe.states=Dr;Oe.options=$r;Oe.className=Ko;Oe.defaultOptions=Vr;var Fn=Oe;import{Fragment as Jr,jsx as so}from"react/jsx-runtime";var Ro="k-icon k-svg-icon",Fr=[],Xr={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark]},Xn={viewBox:"0 0 24 24"},we=t=>{let{size:e,themeColor:o,rotate:r,flip:p,viewBox:c=Xn.viewBox,icon:i,...u}=t;if(!i)return so(Jr,{});i==="none"&&{...u,className:n(t.className,Ro,"k-none")};let b=typeof i=="object"&&i.name&&i.name;return so("span",{...u,className:n(t.className,Ro,k("k-icon",{size:e}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":p==="h"||p==="both","k-flip-v":p==="v"||p==="both"}),children:so("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:c,dangerouslySetInnerHTML:typeof i=="object"?{__html:i.content}:void 0,children:i?void 0:t.children})})};we.states=Fr;we.options=Xr;we.className=Ro;we.defaultOptions=Xn;var Ho=we;import*as Jn from"@progress/kendo-svg-icons";import{Fragment as Un,jsx as Ke}from"react/jsx-runtime";var Ur=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),qr=[],Wr={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark]},Go={viewBox:"0 0 24 24",type:"svg"},C=t=>{let{size:e,themeColor:o,icon:r,type:p=Go.type,rotate:c,flip:i,viewBox:u=Go.viewBox,...b}=t;if(!r)return Ke(Un,{});if(p==="svg"){if(r==="none")return Ke(Ho,{...b,icon:r,size:e});let x=Ur(`${r}-icon`);return Jn[x]?Ke(Ho,{...b,icon:Jn[x],size:e,themeColor:o,rotate:c,flip:i,viewBox:u}):Ke(Un,{})}return Ke(Fn,{...b,icon:r,size:e,themeColor:o,rotate:c,flip:i})};C.states=qr;C.options=Wr;C.defaultOptions=Go;import{Fragment as Zr,jsx as Re,jsxs as qn}from"react/jsx-runtime";var io="k-button",Yr=[a.hover,a.focus,a.active,a.selected,a.disabled],Qr={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},Vt={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,showArrow:!1,arrowIconName:"caret-alt-down"},h=t=>{let{size:e=Vt.size,rounded:o=Vt.rounded,fillMode:r=Vt.fillMode,themeColor:p=Vt.themeColor,showArrow:c=Vt.showArrow,arrowIconName:i=Vt.arrowIconName,hover:u,focus:b,active:x,selected:N,disabled:g,icon:m,text:S,iconClassName:v,...M}=t,y=m!==void 0,T=t.children!==void 0;return qn("button",{...M,className:n(t.className,io,k(io,{size:e,rounded:o,fillMode:r,themeColor:p}),L(io,{hover:u,focus:b,active:x,disabled:g,selected:N}),{"k-icon-button":!S&&!T&&y}),children:[m&&Re(C,{className:n(v,"k-button-icon"),icon:m}),S?qn(Zr,{children:[S&&Re("span",{className:"k-button-text",children:S}),t.children]}):t.children&&Re("span",{className:"k-button-text",children:t.children}),c&&Re("span",{className:"k-menu-button-arrow k-button-arrow",children:Re(C,{icon:i})})]})};h.states=Yr;h.options=Qr;h.className=io;h.defaultOptions=Vt;import{jsx as jr}from"react/jsx-runtime";var X=t=>jr(h,{icon:"folder",...t,children:void 0});import{jsx as ts}from"react/jsx-runtime";var F=t=>ts(h,{icon:"folder",children:"Button",...t});import{jsx as tm}from"react/jsx-runtime";import{jsx as cm}from"react/jsx-runtime";import{jsx as Wn}from"react/jsx-runtime";var He="k-avatar";var es=[a.hover,a.focus,a.active,a.selected,a.disabled],os={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},_t={type:"text",size:s.medium,rounded:f.full,fillMode:d.solid,themeColor:l.primary,border:!1},pe=t=>{let{size:e=_t.size,rounded:o=_t.rounded,fillMode:r=_t.fillMode,themeColor:p=_t.themeColor,type:c=_t.type,border:i=_t.border,...u}=t;return Wn("div",{...u,className:n(t.className,He,k(He,{size:e,rounded:o,fillMode:r,themeColor:p}),{[`${He}-bordered`]:i}),children:Wn("span",{className:`${He}-${c}`,children:t.children})})};pe.states=es;pe.options=os;pe.className=He;pe.defaultOptions=_t;import{jsx as hm}from"react/jsx-runtime";import{jsx as gm}from"react/jsx-runtime";import{jsx as Mm}from"react/jsx-runtime";import{jsx as ce,jsxs as rs}from"react/jsx-runtime";var lo="k-chip",ns=[a.hover,a.focus,a.active,a.selected,a.disabled],as={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.outline],themeColor:[l.base,l.success,l.warning,l.error,l.info]},me={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,avatarImage:"/packages/html/assets/avatar.jpg"},q=t=>{let{size:e=me.size,rounded:o=me.rounded,fillMode:r=me.fillMode,themeColor:p=me.themeColor,text:c,icon:i,actions:u,showAvatar:b,avatarImage:x=me.avatarImage,hover:N,focus:g,active:m,selected:S,disabled:v,...M}=t;return rs("div",{...M,className:n(t.className,lo,k(lo,{size:e,rounded:o,fillMode:r,themeColor:p}),L(lo,{hover:N,focus:g,active:m,disabled:v,selected:S})),children:[i&&ce(C,{className:"k-chip-icon",icon:i,size:"small"}),b&&ce(pe,{className:"k-chip-avatar",type:"image",children:ce("img",{src:x})}),ce("span",{className:"k-chip-content",children:t.children?t.children:c&&ce("span",{className:"k-chip-label",children:c})}),u&&ce("span",{className:"k-chip-actions",children:u})]})};q.states=ns;q.options=as;q.className=lo;q.defaultOptions=me;import{jsx as ls}from"react/jsx-runtime";var Do="k-chip-list",ss=[],is={size:[s.small,s.medium,s.large]},Qn={size:s.medium},Ft=t=>{let{size:e=Qn.size,...o}=t;return ls("div",{...o,className:n(t.className,Do,k(Do,{size:e})),children:t.children})};Ft.states=ss;Ft.options=is;Ft.className=Do;Ft.defaultOptions=Qn;import{jsx as Vm}from"react/jsx-runtime";import{jsx as Jm}from"react/jsx-runtime";import{jsx as Ym}from"react/jsx-runtime";import{jsx as ed}from"react/jsx-runtime";import{Fragment as id,jsx as sd,jsxs as ld}from"react/jsx-runtime";import{jsx as ds}from"react/jsx-runtime";var Ge="k-button-group",cs=[a.disabled],ms={fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},Zn={fillMode:d.solid},O=t=>{let{fillMode:e=Zn.fillMode,disabled:o,stretched:r,...p}=t;return ds("div",{...p,className:n(t.className,Ge,k(Ge,{fillMode:e}),L(Ge,{disabled:o}),{[`${Ge}-stretched`]:r}),children:t.children})};O.states=cs;O.options=ms;O.className=Ge;O.defaultOptions=Zn;import{Fragment as Id,jsx as Md,jsxs as yd}from"react/jsx-runtime";import{Fragment as zd,jsx as Ed,jsxs as Od}from"react/jsx-runtime";import{Fragment as Dd,jsx as Gd,jsxs as $d}from"react/jsx-runtime";import{Fragment as Ud,jsx as Jd,jsxs as qd}from"react/jsx-runtime";import{jsx as bs}from"react/jsx-runtime";var co="k-input",us=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],fs={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},mo={size:s.medium,rounded:s.medium,fillMode:d.solid},P=t=>{let{hover:e,focus:o,disabled:r,invalid:p,valid:c,loading:i,readonly:u,size:b=mo.size,rounded:x=mo.rounded,fillMode:N=mo.fillMode,...g}=t;return bs("span",{...g,className:n(t.className,co,k(co,{size:b,rounded:x,fillMode:N}),L(co,{hover:e,focus:o,disabled:r,invalid:p,valid:c,loading:i,readonly:u}))})};P.states=us;P.options=fs;P.className=co;P.defaultOptions=mo;import{jsx as Ns}from"react/jsx-runtime";var uo="k-picker",xs=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],hs={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},fo={size:s.medium,rounded:f.medium,fillMode:d.solid},lt=t=>{let{hover:e,focus:o,disabled:r,invalid:p,valid:c,loading:i,readonly:u,size:b=fo.size,rounded:x=fo.rounded,fillMode:N=fo.fillMode,...g}=t;return Ns("span",{...g,className:n(t.className,uo,k(uo,{size:b,rounded:x,fillMode:N}),L(uo,{hover:e,focus:o,disabled:r,invalid:p,valid:c,loading:i,readonly:u})),children:t.children})};lt.states=xs;lt.options=hs;lt.className=uo;lt.defaultOptions=fo;import{Fragment as gs,jsx as $o}from"react/jsx-runtime";var jn="k-clear-value",Ss=[a.disabled,a.loading,a.readonly],vs={},pt=t=>{let{disabled:e,loading:o,readonly:r,value:p}=t;return e||r||o||!p?$o(gs,{}):$o("span",{className:n(t.className,jn),children:$o(C,{icon:"x"})})};pt.states=Ss;pt.options=vs;pt.className=jn;import{jsx as Cs}from"react/jsx-runtime";var Vo="k-input-inner",ks=[],Ls={},bo={type:"text",autocomplete:"off",value:"",placeholder:""},ct=t=>{let{value:e=bo.value,type:o=bo.type,placeholder:r=bo.placeholder,autocomplete:p=bo.autocomplete,...c}=t;return Cs("input",{...c,type:o,className:n(t.className,Vo,k(Vo,t)),placeholder:r,autoComplete:p,defaultValue:e})};ct.states=ks;ct.options=Ls;ct.className=Vo;import{jsx as ta,jsxs as ys}from"react/jsx-runtime";var _o="k-input-inner",Ms=[],Is={},Xt=t=>{let{value:e,placeholder:o,showValue:r,valueIcon:p,valueIconName:c,...i}=t;return ys("span",{...i,className:n(t.className,_o,k(_o,t)),children:[p,!p&&c&&ta(C,{className:"k-input-value-icon",icon:c}),r&&!e&&o,r&&e&&ta("span",{className:"k-input-value-text",children:e})]})};Xt.states=Ms;Xt.options=Is;Xt.className=_o;import{jsx as Bs}from"react/jsx-runtime";var Fo="k-input-inner",Ts=[],As={},ea={value:"",placeholder:""},De=t=>{let{value:e=ea.value,placeholder:o=ea.placeholder,rows:r,...p}=t;return Bs("textarea",{...p,className:n(t.className,Fo,k(Fo,t)),placeholder:o,rows:r,defaultValue:e})};De.states=Ts;De.options=As;De.className=Fo;import{Fragment as Es,jsx as oa}from"react/jsx-runtime";var na="k-input-loading-icon",Ps=[a.disabled,a.loading],Z=t=>{let{disabled:e,loading:o}=t;return e||!o?oa(Es,{}):oa("span",{className:n(t.className,na,"k-icon k-i-loading")})};Z.states=Ps;Z.className=na;import{Fragment as ws,jsx as aa}from"react/jsx-runtime";var ra="k-input-validation-icon",zs=[a.valid,a.invalid,a.disabled,a.loading],Os={},W=t=>{let{valid:e,invalid:o,disabled:r,loading:p}=t,c=o?"warning-circle":"check-circle";return r||p||!!!(e||o)?aa(ws,{}):aa(C,{className:n(ra),icon:c})};W.states=zs;W.options=Os;W.className=ra;import{Fragment as Hs,jsx as sa}from"react/jsx-runtime";var Ks="k-input-prefix",Rs={direction:"horizontal"},j=t=>{let{direction:e=Rs.direction,...o}=t;return t.children?sa("span",{...o,className:n(Ks,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):sa(Hs,{})};import{Fragment as $s,jsx as ia}from"react/jsx-runtime";var Gs="k-input-suffix",Ds={direction:"horizontal"},tt=t=>{let{direction:e=Ds.direction,...o}=t;return t.children?ia("span",{...o,className:n(Gs,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):ia($s,{})};import{jsx as Ru}from"react/jsx-runtime";import{jsx as $u}from"react/jsx-runtime";import{jsx as _s}from"react/jsx-runtime";var la="k-input-separator",Vs={direction:"vertical"},et=t=>{let{direction:e=Vs.direction,...o}=t;return _s("span",{...o,className:n(la,t.className,{[`${la}-${e}`]:e})})};import{jsx as pa,jsxs as Js}from"react/jsx-runtime";var ca="k-color-preview",Fs=[],Xs={},yt=t=>{let{color:e,iconName:o,...r}=t;return Js("span",{...r,className:n(t.className,ca,{"k-icon-color-preview":o,"k-no-color":!e}),children:[o&&pa(C,{icon:o,className:"k-color-preview-icon"}),pa("span",{className:"k-color-preview-mask",style:{backgroundColor:e}})]})};yt.states=Fs;yt.options=Xs;yt.className=ca;import{jsx as ma}from"react/jsx-runtime";var da="k-animation-container",Us=[],qs={},ua={positionMode:"absolute"},Tt=t=>{let{positionMode:e=ua.positionMode,animationStyle:o,offset:r,...p}=t;return ma("div",{...p,style:{...r,...t.style},className:n(t.className,da,"k-animation-container-shown",{"k-animation-container-fixed":e==="fixed"}),children:ma("div",{className:"k-child-animation-container",style:o,children:t.children})})};Tt.states=Us;Tt.options=qs;Tt.className=da;Tt.defaultOptions=ua;import{jsx as fa}from"react/jsx-runtime";var ba="k-popup",Ws=[],Ys={},xa={positionMode:"absolute"},H=t=>{let{offset:e,positionMode:o=xa.positionMode,animationStyle:r,...p}=t;return fa(Tt,{positionMode:o,offset:e,animationStyle:r,children:fa("div",{...p,className:n(t.className,ba),children:t.children})})};H.states=Ws;H.options=Ys;H.className=ba;H.defaultOptions=xa;import{jsx as Zs}from"react/jsx-runtime";var Qs="k-actionsheet-footer",ha={alignment:"stretched",orientation:"horizontal"},$e=t=>{let{alignment:e=ha.alignment,orientation:o=ha.orientation,template:r,as:p=r?"div":$,...c}=t;return Zs(p,{...c,...!r&&{alignment:e,orientation:o},className:n(t.className,Qs),children:t.children})};import{jsx as Ve,jsxs as ei}from"react/jsx-runtime";var Na="k-searchbox",js=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],ti={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Xo={showIcon:!0,icon:"search",size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode},ht=t=>{let{value:e,placeholder:o,size:r,rounded:p,fillMode:c,hover:i,focus:u,valid:b,invalid:x,required:N,loading:g,disabled:m,showIcon:S=Xo.showIcon,icon:v=Xo.icon,...M}=t;return ei(P,{...M,size:r,rounded:p,fillMode:c,hover:i,focus:u,valid:b,invalid:x,required:N,loading:g,disabled:m,className:n(t.className,Na),children:[S&&Ve(C,{className:"k-input-icon",icon:v}),Ve(ct,{placeholder:o,value:e}),Ve(Z,{...t}),Ve(W,{...t}),Ve(pt,{...t})]})};ht.states=js;ht.options=ti;ht.className=Na;ht.defaultOptions=Xo;import{jsx as Kf}from"react/jsx-runtime";import{Fragment as Sa,jsx as At,jsxs as Jo}from"react/jsx-runtime";var va="k-textbox",oi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],ni={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Jt={showClearButton:!0,showValidationIcon:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},Bt=t=>{let{size:e=Jt.size,rounded:o=Jt.rounded,fillMode:r=Jt.fillMode,separators:p=Jt.separators,showClearButton:c=Jt.showClearButton,showValidationIcon:i=Jt.showValidationIcon,prefix:u,suffix:b,type:x,value:N,placeholder:g,hover:m,focus:S,valid:v,invalid:M,required:y,loading:T,disabled:E,readonly:D,...ft}=t;return Jo(P,{...ft,size:e,rounded:o,fillMode:r,hover:m,focus:S,valid:v,invalid:M,required:y,loading:T,disabled:E,readonly:D,className:n(t.className,va),children:[u&&Jo(Sa,{children:[At(j,{children:u}),p&&At(et,{})]}),At(ct,{placeholder:g,value:N,type:x}),i&&At(W,{valid:v,invalid:M,loading:T,disabled:E}),At(Z,{loading:T,disabled:E}),c&&At(pt,{loading:T,disabled:E,readonly:D,value:N}),b&&Jo(Sa,{children:[p&&At(et,{}),At(tt,{children:b})]})]})};Bt.states=oi;Bt.options=ni;Bt.className=va;Bt.defaultOptions=Jt;import{jsx as Uf}from"react/jsx-runtime";import{Fragment as jf,jsx as Zf}from"react/jsx-runtime";import{Fragment as sb,jsx as rb}from"react/jsx-runtime";import{jsx as Pt,jsxs as Uo}from"react/jsx-runtime";var ka="k-actionsheet-titlebar",ai={},ot=t=>{let{title:e,subtitle:o,actionsStart:r,actionsEnd:p,filter:c,input:i,inputValue:u,inputPlaceholder:b,adaptive:x,children:N,...g}=t;return Uo("div",{...g,className:n(t.className,ka),children:[Uo("div",{className:"k-actionsheet-titlebar-group",children:[r&&Pt("div",{className:"k-actionsheet-actions",children:r}),!N&&Uo("div",{className:"k-actionsheet-title",children:[e&&Pt("div",{className:"k-text-center",children:e}),o&&Pt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&Pt("div",{className:"k-actionsheet-title",children:N}),p&&Pt("div",{className:"k-actionsheet-actions",children:p})]}),(i||c)&&Pt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:i?Pt(Bt,{value:u,placeholder:b,size:x?"large":"medium"}):Pt(ht,{placeholder:"Filter",size:x?"large":"medium"})})]})};ot.className=ka;ot.defaultOptions=ai;import{jsx as qo,jsxs as li}from"react/jsx-runtime";var Wo="k-actionsheet-view",ri=[],si={},ii={},de=t=>{let{adaptive:e,animated:o,children:r,header:p,footer:c,...i}=t,u=p?.type===ot&&qo(ot,{adaptive:e,...p?.props}),b=c?.type===$e&&qo($e,{...c?.props});return li("div",{...i,className:n(t.className,Wo,{[`${Wo}-animated`]:o}),children:[u,qo("div",{className:"k-actionsheet-content",children:r}),b]})};de.states=ri;de.options=si;de.className=Wo;de.defaultOptions=ii;import{jsx as xo,jsxs as mi}from"react/jsx-runtime";var La="k-actionsheet",pi=[],ci={},_e={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},mt=t=>{let{side:e=_e.side,fullscreen:o=_e.fullscreen,adaptive:r=_e.adaptive,overlay:p=_e.overlay,template:c,children:i,header:u,footer:b,...x}=t;return mi("div",{className:"k-actionsheet-container",children:[p&&xo("div",{className:"k-overlay"}),xo(Tt,{animationStyle:{[`${o===!0?"top":e}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${e==="top"||e==="bottom"?"width":null}`]:"100%",[`${e==="left"||e==="right"?"height":null}`]:"100%"},children:xo("div",{...x,className:n(t.className,La,{[`k-actionsheet-${e}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:c||xo(de,{header:u,footer:b,adaptive:r,...t,children:i})})})]})};mt.states=pi;mt.options=ci;mt.className=La;mt.defaultOptions=_e;import{jsx as Bb}from"react/jsx-runtime";import{Fragment as ui,jsx as Fe,jsxs as Yo}from"react/jsx-runtime";var Qo="k-actionsheet-item",di=[a.hover,a.focus,a.selected,a.disabled],Zo=t=>{let{iconName:e,text:o,description:r,hover:p,focus:c,selected:i,disabled:u,...b}=t;return Yo("span",{...b,className:n(t.className,Qo,L(Qo,{hover:p,focus:c,selected:i,disabled:u})),children:[!t.children&&Fe(ui,{children:Yo("span",{className:"k-actionsheet-action",children:[e&&Fe("span",{className:"k-icon-wrap",children:Fe(C,{className:"k-actionsheet-item-icon",icon:e})}),Yo("span",{className:"k-actionsheet-item-text",children:[o&&Fe("span",{className:"k-actionsheet-item-title",children:o}),r&&Fe("span",{className:"k-actionsheet-item-description",children:r})]})]})}),t.children]})};Zo.states=di;Zo.className=Qo;import{jsx as Gb,jsxs as Db}from"react/jsx-runtime";import{jsx as Fb}from"react/jsx-runtime";import{jsx as qb}from"react/jsx-runtime";import{jsx as Zb}from"react/jsx-runtime";import{jsx as ue,jsxs as jo}from"react/jsx-runtime";var Xe="k-slider",fi=[a.hover,a.focus,a.active,a.disabled,a.readonly],bi={},Et={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},nt=t=>{let{type:e=Et.type,orientation:o=Et.orientation,readonly:r=Et.readonly,disabled:p=Et.disabled,handlePosition:c=Et.handlePosition,showButtons:i=Et.showButtons,showTicks:u=Et.showTicks,hover:b,focus:x,active:N,trackStyle:g,dir:m,...S}=t,v,M;return o==="horizontal"?(v=m==="rtl"?"caret-alt-left":"caret-alt-right",M=m==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(v="caret-alt-up",M="caret-alt-down"),jo("div",{...S,className:n(Xe,t.className,L(Xe,{readonly:r,disabled:p}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":e==="gradient"}),dir:m,children:[i&&ue(h,{className:"k-button-decrease",rounded:"full",icon:M}),jo("div",{className:"k-slider-track-wrap",children:[u&&ue("ul",{className:"k-reset k-slider-items",children:t.children}),jo("div",{className:"k-slider-track",style:g,children:[ue("div",{className:"k-slider-selection"}),e==="range"&&ue("span",{className:n("k-draghandle","k-draghandle-start",L(Xe,{hover:b,focus:x,active:N}))}),ue("span",{className:n("k-draghandle",`k-draghandle-${c}`,L(Xe,{hover:b,focus:x,active:N}))})]})]}),i&&ue(h,{className:"k-button-increase",rounded:"full",icon:v})]})};nt.states=fi;nt.options=bi;nt.className=Xe;nt.defaultOptions=Et;import{jsx as Ma}from"react/jsx-runtime";var Ia="k-tick",xi=[],hi={},ya={label:!1},zt=t=>{let{style:e,label:o=ya.label,orientation:r,large:p,text:c,...i}=t;return Ma("li",{...i,className:n(t.className,Ia,{[`k-tick-${r}`]:r,"k-tick-large":p}),style:e,children:o&&Ma("span",{className:"k-label",children:c})})};zt.states=xi;zt.options=hi;zt.className=Ia;zt.defaultOptions=ya;import{Fragment as gx,jsx as vx,jsxs as kx}from"react/jsx-runtime";import{Fragment as yx,jsx as Ix,jsxs as Tx}from"react/jsx-runtime";import{Fragment as zx,jsx as Ex,jsxs as Ox}from"react/jsx-runtime";import{Fragment as Gx,jsx as Hx,jsxs as Dx}from"react/jsx-runtime";import{jsx as Ni}from"react/jsx-runtime";var tn=t=>Ni(nt,{type:"gradient",showButtons:!1,showTicks:!1,...t});import{jsx as Si}from"react/jsx-runtime";var en=t=>Si(nt,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...t});import{jsx as Ta,jsxs as ki}from"react/jsx-runtime";var Aa="k-spin-button",vi=[],gi={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},on={size:s.medium,fillMode:d.solid},fe=t=>{let{size:e=on.size,fillMode:o=on.fillMode,...r}=t;return ki("span",{...r,className:n(Aa,t.className),children:[Ta(h,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:e,fillMode:o}),Ta(h,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:e,fillMode:o})]})};fe.states=vi;fe.options=gi;fe.className=Aa;fe.defaultOptions=on;import{Fragment as Ba,jsx as Nt,jsxs as nn}from"react/jsx-runtime";var Pa="k-numerictextbox",Li=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],Ci={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ut={showSpinButton:!0,showClearButton:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},K=t=>{let{size:e=Ut.size,rounded:o=Ut.rounded,fillMode:r=Ut.fillMode,separators:p=Ut.separators,showClearButton:c=Ut.showClearButton,showSpinButton:i=Ut.showSpinButton,prefix:u,suffix:b,value:x,placeholder:N,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,...D}=t;return nn(P,{...D,size:e,rounded:o,fillMode:r,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,className:n(t.className,Pa),children:[u&&nn(Ba,{children:[Nt(j,{children:u}),p&&Nt(et,{})]}),Nt(ct,{placeholder:N,value:x}),Nt(W,{valid:S,invalid:v,loading:y,disabled:T}),Nt(Z,{loading:y,disabled:T}),c&&Nt(pt,{loading:y,disabled:T,readonly:E,value:x}),b&&nn(Ba,{children:[p&&Nt(et,{}),Nt(tt,{children:b})]}),i&&Nt(fe,{className:"k-input-spinner",size:e,fillMode:r})]})};K.states=Li;K.options=Ci;K.className=Pa;K.defaultOptions=Ut;import{jsx as xh}from"react/jsx-runtime";import{jsx as Ii}from"react/jsx-runtime";var Mi="k-no-data",Je=t=>Ii("span",{className:n(Mi,t.className),children:t.children});import{jsx as be,jsxs as za}from"react/jsx-runtime";var an="k-list",yi=[],Ti={size:[s.small,s.medium,s.large]},Oa={size:s.medium},z=t=>{let{size:e=Oa.size,virtualization:o,children:r,optionLabel:p,customValue:c,screenReaders:i,...u}=t,b,x,N,g,m=[];return r?r.map((S,v)=>{S.type===V?(S.props.root===!0?(b=S.props.label,S.props.children.map((M,y)=>{m.push(be(I,{...M.props},`optChild-${y}-${new Date().getTime()}`))})):S.props.children.forEach((M,y)=>{let T="";y===0&&(T=S.props.label),m.push(be(I,{className:y===0?"k-first":"",...M.props,groupLabel:T},`groupLabel-${y}-${new Date().getTime()}`))}),x=be(V,{label:b,virtualization:o,children:m})):S.type===I&&(m.push(be(I,{...S.props},`${S.type}-${v}`)),N=be(xe,{virtualization:o,children:m}),i&&(g=za(Je,{className:"k-sr-only",children:[m.length," items found."]})))}):g=be(Je,{children:"No data found."}),za("div",{...u,className:n(t.className,an,k(an,{size:e}),{"k-virtual-list":o}),children:[p,c,x,N,g]})};z.states=yi;z.options=Ti;z.className=an;z.defaultOptions=Oa;import{jsx as qt,jsxs as Pi}from"react/jsx-runtime";var rn="k-list",Ai=[],Bi={size:[s.small,s.medium,s.large]},wa={size:s.medium},Wt=t=>{let{size:e=wa.size,virtualization:o,children:r,...p}=t,c,i,u,b=[];return r?r.map((x,N)=>{x.type===V?(x.props.root===!0?(c=x.props.label,x.props.children.map((g,m)=>{b.push(qt(I,{...g.props},`optChild-${m}-${new Date().getTime()}`))})):(b.push(qt(Ka,{...x.props,children:x.props.label},`listChild-${N}`)),x.props.children.map((g,m)=>{b.push(qt(I,{...g.props},`fwOptChild-${m}-${new Date().getTime()}`))})),i=qt(V,{label:c,virtualization:o,children:b})):x.type===I&&(b.push(qt(I,{...x.props},`${x.type}-${N}`)),u=qt(xe,{virtualization:o,children:b}))}):u=qt(Je,{children:"No data found."}),Pi("div",{...p,className:n(t.className,rn,k(rn,{size:e}),{"k-virtual-list":o}),children:[i,u]})};Wt.states=Ai;Wt.options=Bi;Wt.className=rn;Wt.defaultOptions=wa;import{jsx as Ra}from"react/jsx-runtime";var ho="k-checkbox",Ei=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],zi={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full]},sn={size:s.medium,rounded:f.medium},Ot=t=>{let{id:e,checked:o,indeterminate:r,hover:p,focus:c,disabled:i,invalid:u,valid:b,required:x,size:N=sn.size,rounded:g=sn.rounded,...m}=t;return Ra("span",{className:"k-checkbox-wrap",children:Ra("input",{...m,id:e,type:"checkbox",defaultChecked:o,required:x,className:n(t.className,ho,k(ho,{size:N,rounded:g}),L(ho,{hover:p,focus:c,disabled:i,invalid:u,valid:b,indeterminate:r,checked:o}))})})};Ot.states=Ei;Ot.options=zi;Ot.className=ho;Ot.defaultOptions=sn;import{jsx as Ki}from"react/jsx-runtime";var Ha="k-checkbox-list",Oi=[],wi={},Ga={layout:"vertical"},he=t=>{let{layout:e=Ga.layout,...o}=t;return Ki("ul",{...o,className:n(t.className,Ha,{[`k-list-${e}`]:e}),children:t.children})};he.states=Oi;he.options=wi;he.className=Ha;he.defaultOptions=Ga;import{jsx as Di}from"react/jsx-runtime";var Da="k-checkbox-list-item",Ri=[],Hi={},Gi={},Ne=t=>{let{...e}=t;return Di("li",{...e,className:n(t.className,Da),children:t.children})};Ne.states=Ri;Ne.options=Hi;Ne.className=Da;Ne.defaultOptions=Gi;import{Fragment as Xh,jsx as Fh,jsxs as Jh}from"react/jsx-runtime";import{Fragment as Qh,jsx as Yh,jsxs as Zh}from"react/jsx-runtime";import{Fragment as nN,jsx as oN,jsxs as aN}from"react/jsx-runtime";import{Fragment as pN,jsx as lN,jsxs as cN}from"react/jsx-runtime";import{jsx as fN}from"react/jsx-runtime";import{jsx as NN}from"react/jsx-runtime";import{jsx as No,jsxs as Fi}from"react/jsx-runtime";var pn="k-list-item",$i=[a.hover,a.focus,a.selected,a.disabled],Vi={},_i={},I=t=>{let{text:e,groupLabel:o,group:r,showIcon:p,iconName:c,showCheckbox:i,checked:u,hover:b,focus:x,selected:N,disabled:g,...m}=t,S=e||t.children;return Fi("li",{...m,className:n(t.className,r?"k-list-group-item":pn,L(pn,{hover:b,focus:x,disabled:g,selected:N})),children:[i&&No(Ot,{checked:u}),p&&No(C,{icon:c}),No("span",{className:"k-list-item-text",children:S}),o&&o!==""&&No("div",{className:"k-list-item-group-label",children:o})]})};I.states=$i;I.options=Vi;I.className=pn;I.defaultOptions=_i;import{jsx as cn,jsxs as Ji}from"react/jsx-runtime";var Xi="k-list-content",xe=t=>{let{virtualization:e,...o}=t;return Ji("div",{...o,className:n(Xi,t.className),children:[cn("ul",{className:n("k-list-ul"),children:t.children}),e&&cn("div",{className:"k-height-container",children:cn("div",{})})]})};import{jsx as $a}from"react/jsx-runtime";var Ui="k-list-group-sticky-header",Va=t=>$a("div",{className:n(Ui,t.className),children:$a("div",{className:"k-list-header-text",children:t.children})});import{Fragment as qi,jsx as _a,jsxs as Wi}from"react/jsx-runtime";var V=t=>{let{virtualization:e,label:o}=t;return Wi(qi,{children:[o&&_a(Va,{children:o}),t.children&&_a(xe,{virtualization:e,children:t.children})]})};import{jsx as Fa}from"react/jsx-runtime";var Yi="k-list-group-item",Ka=t=>Fa("li",{className:n(Yi,t.className),children:Fa("span",{className:"k-list-item-text",children:t.children})});import{jsx as tl}from"react/jsx-runtime";var mn="k-list-optionlabel",Qi=[a.hover,a.focus,a.selected,a.disabled],Zi={},ji={},So=t=>{let{text:e,hover:o,focus:r,selected:p,disabled:c,...i}=t;return tl("div",{...i,className:n(mn,L(mn,{hover:o,focus:r,selected:p,disabled:c})),children:e})};So.states=Qi;So.options=Zi;So.className=mn;So.defaultOptions=ji;import{jsx as al}from"react/jsx-runtime";var dn="k-list-custom-value",el=[a.hover,a.focus,a.selected,a.disabled],ol={},nl={},wt=t=>{let{text:e,hover:o,focus:r,selected:p,disabled:c,...i}=t;return al("div",{...i,className:n(dn,L(dn,{hover:o,focus:r,selected:p,disabled:c})),children:e})};wt.states=el;wt.options=ol;wt.className=dn;wt.defaultOptions=nl;import{jsx as eS}from"react/jsx-runtime";import{jsx as rS}from"react/jsx-runtime";import{jsx as pS,jsxs as cS}from"react/jsx-runtime";import{jsx as fS,jsxs as bS}from"react/jsx-runtime";import{jsx as SS}from"react/jsx-runtime";import{jsx as LS,jsxs as CS}from"react/jsx-runtime";import{jsx as TS,jsxs as AS}from"react/jsx-runtime";import{Fragment as il,jsx as J,jsxs as un}from"react/jsx-runtime";var Xa="k-dropdownlist",rl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],sl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Se={showValue:!0,arrowIconName:"caret-alt-down",size:s.medium,rounded:f.medium,fillMode:d.solid},Kt=t=>{let{size:e=Se.size,rounded:o=Se.rounded,fillMode:r=Se.fillMode,arrowIconName:p=Se.arrowIconName,showValue:c=Se.showValue,valueIconName:i,prefix:u,suffix:b,value:x,placeholder:N,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,popup:D,opened:ft,adaptive:Ee,adaptiveSettings:ze,adaptiveTitle:zo,adaptiveSubtitle:Oo,adaptiveFilter:wr,...Kr}=t;return un(il,{children:[un(lt,{...Kr,size:e,rounded:o,fillMode:r,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,className:n(t.className,Xa,{"k-icon-picker":!c&&i}),children:[J(j,{children:u}),J(Xt,{placeholder:N,value:x,showValue:c,valueIconName:i}),J(W,{valid:S,invalid:v,loading:y,disabled:T}),J(Z,{loading:y,disabled:T}),J(tt,{children:b}),J(h,{className:"k-input-button",icon:p,rounded:null,size:t.size,fillMode:t.fillMode})]}),ft&&D&&J(H,{className:"k-list-container k-dropdownlist-popup",children:D}),Ee&&J(mt,{adaptive:!0,...ze,header:J(ot,{actionsEnd:J(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:wr,inputValue:x,inputPlaceholder:N,title:zo,subtitle:Oo}),children:J("div",{className:"k-list-container",children:un(z,{size:"large",children:[J(I,{text:"List item"}),J(I,{text:"List item"}),J(I,{text:"List item"})]})})})]})};Kt.states=rl;Kt.options=sl;Kt.className=Xa;Kt.defaultOptions=Se;import{jsx as rv}from"react/jsx-runtime";import{jsx as cv,jsxs as mv}from"react/jsx-runtime";import{Fragment as Sv,jsx as hv,jsxs as Nv}from"react/jsx-runtime";import{jsx as Lv}from"react/jsx-runtime";import{jsx as Tv,jsxs as Av}from"react/jsx-runtime";import{jsx as Ov,jsxs as wv}from"react/jsx-runtime";import{Fragment as _v,jsx as $v,jsxs as Vv}from"react/jsx-runtime";import{Fragment as Qv,jsx as Wv,jsxs as Yv}from"react/jsx-runtime";import{Fragment as ug,jsx as dg}from"react/jsx-runtime";import{Fragment as vg,jsx as Sg}from"react/jsx-runtime";import{Fragment as Ue,jsx as A,jsxs as w}from"react/jsx-runtime";var Ja="k-colorgradient-inputs",ll=[],pl={size:[s.small,s.medium,s.large]},Ua={mode:"rgba",size:s.medium},ve=t=>{let{mode:e=Ua.mode,size:o,...r}=t;return w("div",{...r,className:n(Ja,"k-hstack"),children:[A("div",{className:"k-vstack",children:A(h,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),e==="rgba"&&w(Ue,{children:[w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"B"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),e==="rgb"&&w(Ue,{children:[w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),e==="hsva"&&w(Ue,{children:[w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),e==="hsv"&&w(Ue,{children:[w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),e==="hex"&&A(Ue,{children:w("div",{className:"k-vstack k-flex-1",children:[A(Bt,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),A("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};ve.states=ll;ve.options=pl;ve.className=Ja;ve.defaultOptions=Ua;import{jsx as Qt,jsxs as Zt}from"react/jsx-runtime";var qa="k-colorgradient-color-contrast",cl=[],ml={},dl={},ge=()=>Zt("div",{className:n(qa,"k-vbox"),children:[Zt("div",{className:"k-contrast-ratio",children:[Qt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Zt("span",{className:"k-contrast-validation !k-text-success",children:[Qt(C,{icon:"check"}),Qt(C,{icon:"check"})]})]}),Zt("div",{children:[Qt("span",{children:"AA: 4.5"}),Zt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Qt(C,{icon:"check"})]})]}),Zt("div",{children:[Qt("span",{children:"AAA: 7.0"}),Zt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Qt(C,{icon:"x"})]})]})]});ge.states=cl;ge.options=ml;ge.className=qa;ge.defaultOptions=dl;import{jsx as at,jsxs as qe}from"react/jsx-runtime";var vo="k-colorgradient",ul=[a.hover,a.focus,a.readonly,a.disabled],fl={size:[s.small,s.medium,s.large]},dt={size:s.medium,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"},Rt=t=>{let{size:e=dt.size,mode:o=dt.mode,readonly:r=dt.readonly,disabled:p=dt.disabled,gradientStyle:c=dt.gradientStyle,dragHandleStyle:i=dt.dragHandleStyle,alphaStyle:u=dt.alphaStyle,alphaStyleHorizontal:b=dt.alphaStyleHorizontal,contrast:x=dt.contrast,dir:N,hover:g,focus:m,hoverHandle:S,focusHandle:v,canvasOrientation:M=dt.canvasOrientation,...y}=t;return qe("div",{...y,className:n(t.className,vo,k(vo,{size:e}),L(vo,{hover:g,focus:m,readonly:r,disabled:p})),dir:N,children:[!M||M==="horizontal"&&qe("div",{className:"k-colorgradient-canvas k-hstack",children:[at("div",{className:"k-hsv-rectangle",style:c,children:at("div",{className:"k-hsv-gradient",children:at("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":S,"k-focus":v}),style:i})})}),qe("div",{className:"k-hsv-controls k-hstack",children:[at(en,{className:"k-hue-slider",hover:S,focus:v}),o!=="rgb"&&o!=="hsv"&&at(en,{className:"k-alpha-slider",hover:S,focus:v,trackStyle:u})]})]}),M==="vertical"&&qe("div",{className:"k-colorgradient-canvas k-vstack",children:[at("div",{className:"k-hsv-rectangle",style:c,children:at("div",{className:"k-hsv-gradient",children:at("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":S,"k-focus":v}),style:i})})}),qe("div",{className:"k-hsv-controls k-vstack",children:[at(tn,{className:"k-hue-slider",hover:S,focus:v}),o!=="rgb"&&o!=="hsv"&&at(tn,{className:"k-alpha-slider",hover:S,focus:v,trackStyle:b})]})]}),at(ve,{mode:t.mode,size:e}),x&&at(ge,{})]})};Rt.states=ul;Rt.options=fl;Rt.className=vo;Rt.defaultOptions=dt;import{jsx as Xg}from"react/jsx-runtime";import{jsx as Wg}from"react/jsx-runtime";import{jsx as bl}from"react/jsx-runtime";var Wa=t=>bl("tr",{children:t.children});import{jsx as Nl}from"react/jsx-runtime";var fn="k-colorpalette-tile",xl=[a.hover,a.focus,a.selected],hl={},We=t=>{let{color:e,tileSize:o,hover:r,focus:p,selected:c,...i}=t,u={backgroundColor:e,width:o?o+"px":"",height:o?o+"px":""};return Nl("td",{...i,className:n(t.className,fn,L(fn,{hover:r,focus:p,selected:c})),style:u})};We.states=xl;We.options=hl;We.className=fn;import{jsx as Ye}from"react/jsx-runtime";var go="k-colorpalette",Sl=[a.disabled],vl={size:[s.small,s.medium,s.large]},bn={columns:10,size:s.medium},ke=t=>{let{size:e=bn.size,palette:o,columns:r=bn.columns,tileSize:p,disabled:c,...i}=t,u=[];if(o){let b=r||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/b)},(N,g)=>{let m=[];x.slice(g*b,(g+1)*b).map((v,M)=>{m.push(Ye(We,{color:v,tileSize:p},M))});let S=Ye(Wa,{children:m},g);u.push(S)})}return Ye("div",{...i,className:n(t.className,go,L(go,{disabled:c}),k(go,{size:e})),children:Ye("table",{className:"k-colorpalette-table",children:Ye("tbody",{children:u.length>0?u:t.children})})})};ke.states=Sl;ke.options=vl;ke.className=go;ke.defaultOptions=bn;var xn={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 Nk}from"react/jsx-runtime";import{jsx as rt,jsxs as Le}from"react/jsx-runtime";var ko="k-coloreditor",gl=[a.focus],kl={size:[s.small,s.medium,s.large]},Ce={size:s.medium,view:"gradient",palette:xn.office,actionButtons:!0,canvasOrientation:"horizontal"},bt=t=>{let{size:e=Ce.size,view:o=Ce.view,palette:r=Ce.palette,color:p,currentColor:c,focus:i,focusView:u,dir:b,group:x,actionButtons:N=Ce.actionButtons,canvasOrientation:g=Ce.canvasOrientation,...m}=t;return Le("div",{...m,className:n(t.className,"k-flatcolorpicker",ko,k(ko,{size:e}),L(ko,{focus:i})),dir:b,children:[Le("div",{className:"k-coloreditor-header k-hstack",children:[rt("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&Le(O,{fillMode:"flat",children:[rt(h,{className:"k-group-start",size:e,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),rt(h,{className:"k-group-end",size:e,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),rt("div",{className:"k-spacer"}),Le("div",{className:"k-coloreditor-header-actions k-hstack",children:[rt(h,{fillMode:"flat",icon:"droplet-slash",size:e}),Le("div",{className:"k-coloreditor-preview k-vstack",children:[rt(yt,{className:"k-coloreditor-preview-color",color:p}),rt(yt,{className:"k-coloreditor-current-color",color:c})]})]})]}),rt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?rt(Rt,{focus:u,size:e,canvasOrientation:g}):rt(ke,{palette:r,size:e})}),N&&Le($,{className:"k-coloreditor-footer",alignment:"start",children:[rt(h,{themeColor:"primary",size:e,className:"k-coloreditor-apply",children:"Apply"}),rt(h,{className:"k-coloreditor-cancel",size:e,children:"Cancel"})]})]})};bt.states=gl;bt.options=kl;bt.className=ko;bt.defaultOptions=Ce;import{jsx as Rk}from"react/jsx-runtime";import{jsx as $k}from"react/jsx-runtime";import{jsx as Xk}from"react/jsx-runtime";import{jsx as Wk}from"react/jsx-runtime";import{Fragment as Ml,jsx as st,jsxs as Nn}from"react/jsx-runtime";var Ya="k-colorpicker",Ll=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],Cl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Qe={arrowIconName:"caret-alt-down",size:lt.defaultOptions.size,rounded:lt.defaultOptions.rounded,fillMode:lt.defaultOptions.fillMode},St=t=>{let{size:e=Qe.size,rounded:o=Qe.rounded,fillMode:r=Qe.fillMode,arrowIconName:p=Qe.arrowIconName,prefix:c,suffix:i,value:u,placeholder:b,hover:x,focus:N,valid:g,invalid:m,required:S,disabled:v,valueIconName:M,popup:y,opened:T,adaptive:E,adaptiveSettings:D,adaptiveTitle:ft,adaptiveSubtitle:Ee,...ze}=t;return Nn(Ml,{children:[Nn(lt,{...ze,size:e,rounded:o,fillMode:r,hover:x,focus:N,valid:g,invalid:m,required:S,disabled:v,className:n(t.className,Ya,"k-icon-picker"),children:[st(j,{children:c}),st(Xt,{placeholder:b,value:u,showValue:!1,valueIcon:st(yt,{className:"k-value-icon",color:u,iconName:M}),valueIconName:M}),st(tt,{children:i}),st(h,{className:"k-input-button",icon:p,rounded:null,size:e,fillMode:r})]}),T&&y&&st(H,{className:"k-colorpicker-popup",children:y}),E&&st(mt,{adaptive:!0,...D,header:st(ot,{actionsEnd:st(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:ft,subtitle:Ee}),footer:Nn($e,{children:[st(h,{text:"Cancel",size:"large",themeColor:"base"}),st(h,{text:"Set",size:"large",themeColor:"primary"})]}),children:st(bt,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};St.states=Ll;St.options=Cl;St.className=Ya;St.defaultOptions=Qe;import{jsx as bL}from"react/jsx-runtime";import{jsx as vL}from"react/jsx-runtime";import{jsx as ML}from"react/jsx-runtime";import{jsx as AL}from"react/jsx-runtime";import{jsx as zL}from"react/jsx-runtime";import{jsx as RL}from"react/jsx-runtime";import{Fragment as Sn,jsx as G,jsxs as Ze}from"react/jsx-runtime";var Qa="k-combobox",yl=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],Tl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},je={size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},jt=t=>{let{size:e=je.size,rounded:o=je.rounded,fillMode:r=je.fillMode,separators:p=je.separators,prefix:c,suffix:i,value:u,placeholder:b,hover:x,focus:N,valid:g,invalid:m,required:S,loading:v,disabled:M,popup:y,opened:T,readonly:E,adaptive:D,adaptiveSettings:ft,adaptiveTitle:Ee,adaptiveSubtitle:ze,adaptiveCustomValue:zo,...Oo}=t;return Ze(Sn,{children:[Ze(P,{...Oo,size:e,rounded:o,fillMode:r,hover:x,focus:N,valid:g,invalid:m,required:S,loading:v,disabled:M,readonly:E,className:n(t.className,Qa),children:[c&&Ze(Sn,{children:[G(j,{children:c}),p&&G(et,{})]}),G(ct,{placeholder:b,value:u}),G(W,{valid:g,invalid:m,loading:v,disabled:M}),G(Z,{loading:v,disabled:M}),G(pt,{loading:v,disabled:M,readonly:E,value:u}),i&&Ze(Sn,{children:[p&&G(et,{}),G(tt,{children:i})]}),G(h,{className:"k-input-button",icon:"caret-alt-down",rounded:null,size:e,fillMode:r})]}),T&&y&&G(H,{className:"k-list-container k-combobox-popup",children:y}),D&&G(mt,{adaptive:!0,...ft,header:G(ot,{actionsEnd:G(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),input:!0,inputValue:u,inputPlaceholder:b,title:Ee,subtitle:ze}),children:G("div",{className:"k-list-container",children:Ze(z,{customValue:zo?G(wt,{text:`Use "${u}"`}):void 0,size:"large",children:[G(I,{text:"List item"}),G(I,{text:"List item"}),G(I,{text:"List item"})]})})})]})};jt.states=yl;jt.options=Tl;jt.className=Qa;jt.defaultOptions=je;import{jsx as aC}from"react/jsx-runtime";import{jsx as pC,jsxs as cC}from"react/jsx-runtime";import{jsx as bC,jsxs as xC}from"react/jsx-runtime";import{jsx as gC,jsxs as kC}from"react/jsx-runtime";import{jsx as IC}from"react/jsx-runtime";import{Fragment as EC,jsx as PC}from"react/jsx-runtime";import{Fragment as HC,jsx as RC}from"react/jsx-runtime";import{jsx as _C,jsxs as FC}from"react/jsx-runtime";import{Fragment as QC,jsx as WC,jsxs as YC}from"react/jsx-runtime";import{Fragment as Pl,jsx as Za,jsxs as El}from"react/jsx-runtime";var ja="k-menu-button",Al=[a.hover,a.focus,a.active,a.selected,a.disabled],Bl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},te={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,showArrow:!0,arrowIconName:"caret-alt-down"},it=t=>{let{size:e=te.size,rounded:o=te.rounded,fillMode:r=te.fillMode,themeColor:p=te.themeColor,hover:c,focus:i,active:u,selected:b,disabled:x,icon:N,text:g,showArrow:m=te.showArrow,arrowIconName:S=te.arrowIconName,popup:v,opened:M,...y}=t;return El(Pl,{children:[Za(h,{...y,className:n(t.className,ja),text:g,size:e,rounded:o,fillMode:r,themeColor:p,hover:c,focus:i,active:u,selected:b,disabled:x,icon:N,showArrow:m,arrowIconName:S}),M&&v&&Za(H,{className:"k-menu-popup",children:v})]})};it.states=Al;it.options=Bl;it.className=ja;it.defaultOptions=te;import{jsx as hM}from"react/jsx-runtime";import{jsx as gM}from"react/jsx-runtime";import{jsx as MM}from"react/jsx-runtime";import{Fragment as wl,jsx as Me,jsxs as tr}from"react/jsx-runtime";var gn="k-menu-item",zl=[a.hover,a.focus,a.active,a.selected,a.disabled],Ol={},er={iconPosition:"before"},vt=t=>{let{hover:e,focus:o,active:r,selected:p,disabled:c,icon:i,text:u,first:b,last:x,showArrow:N,arrowIconName:g,iconPosition:m=er.iconPosition,dir:S,children:v,...M}=t,y=Me(wl,{});v&&v.forEach(E=>{if(E.type==="MenuItemContent"){y.props.children.push(E);return}});let T=g;return T||(T=S==="rtl"?"caret-alt-left":"caret-alt-right"),tr("li",{...M,className:n(t.className,gn,"k-item",L(gn,{focus:o,disabled:c,hover:e,active:r,selected:p}),{"k-first":b,"k-last":x}),children:[tr("span",{className:n("k-link k-menu-link"),children:[i&&m==="before"&&Me(C,{className:"k-menu-link-icon",icon:i}),Me("span",{className:"k-menu-link-text",children:u}),i&&m==="after"&&Me(C,{className:"k-menu-link-icon",icon:i}),N&&Me("span",{className:"k-menu-expand-arrow",children:Me(C,{icon:T})})]}),y]})};vt.states=zl;vt.options=Ol;vt.className=gn;vt.defaultOptions=er;import{Fragment as Hl,jsx as Ie,jsxs as or}from"react/jsx-runtime";var kn="k-menu-item",Kl=[a.hover,a.focus,a.active,a.selected,a.disabled],Rl={},Ln={dir:"ltr",iconPosition:"before"},xt=t=>{let{hover:e,focus:o,active:r,selected:p,disabled:c,icon:i,text:u,first:b,last:x,showArrow:N,arrowIconName:g,iconPosition:m=Ln.iconPosition,dir:S=Ln.dir,children:v,popup:M,...y}=t,T=Ie(Hl,{});v&&v.forEach(D=>{if(D.type==="MenuListItemContent"){T.props.children.push(D);return}});let E=g;return E||(E=S==="rtl"?"caret-alt-left":"caret-alt-right"),or("li",{...y,className:n(t.className,kn,"k-item",L(kn,{focus:o,disabled:c}),{"k-first":b,"k-last":x}),children:[or("span",{className:n("k-link k-menu-link",L("k-menu-link",{hover:e,active:r,selected:p,disabled:c})),children:[i&&m==="before"&&Ie(C,{className:"k-menu-link-icon",icon:i}),Ie("span",{className:"k-menu-link-text",children:u}),i&&m==="after"&&Ie(C,{className:"k-menu-link-icon",icon:i}),N&&Ie("span",{className:"k-menu-expand-arrow",children:Ie(C,{icon:E})})]}),T,M]})};xt.states=Kl;xt.options=Rl;xt.className=kn;xt.defaultOptions=Ln;import{jsx as Vl}from"react/jsx-runtime";var nr="k-menu-scroll-wrapper",Gl=[],Dl={},$l={},to=t=>{let{className:e,children:o,orientation:r,...p}=t;return Vl("div",{...p,className:n(e,nr,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:o})};to.states=Gl;to.options=Dl;to.className=nr;to.defaultOptions=$l;var ar=to;import{Fragment as Cn,jsx as ee,jsxs as Lo}from"react/jsx-runtime";var Mn="k-menu",_l=[],Fl={},Co={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},gt=t=>{let{children:e,orientation:o=Co.orientation,header:r=Co.header,scrollable:p,scrollButtonsPosition:c=Co.scrollButtonsPosition,wrapperStyles:i,dir:u,popup:b,...x}=t,N={horizontal:{prev:u!=="rtl"?"left":"right",next:u!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},g=ee("ul",{dir:u,...x,className:n(t.className,"k-reset",Mn,{[`${Mn}-${o}`]:o,"k-header":r}),children:e});return Lo(Cn,{children:[p?Lo(ar,{orientation:o,style:i,dir:t.dir,children:[c==="start"&&Lo(Cn,{children:[ee(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),ee(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),c==="around"&&ee(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),g,c==="end"&&Lo(Cn,{children:[ee(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),ee(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),c==="around"&&ee(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):g,b]})};gt.states=_l;gt.options=Fl;gt.className=Mn;gt.defaultOptions=Co;import{jsx as Xl}from"react/jsx-runtime";var In="k-separator",rr={orientation:"horizontal"},eo=t=>{let{orientation:e=rr.orientation,...o}=t;return Xl("li",{...o,className:n(t.className,"k-item",In,{[`${In}-${e}`]:e})})};eo.className=In;eo.defaultOptions=rr;import{Fragment as qM,jsx as WM}from"react/jsx-runtime";import{jsx as sr}from"react/jsx-runtime";import{createElement as ql}from"react";var yn="k-menu-group",Jl=[],Ul={size:[s.small,s.medium,s.large]},Tn={size:s.medium,dir:"ltr"},oe=t=>{let{children:e,size:o=Tn.size,dir:r=Tn.dir,...p}=t,c=[];return e&&Array.isArray(e)&&e.map((i,u)=>{i.type===xt?c.push(ql(xt,{...i.props,dir:r,key:u})):i.type===eo?c.push(sr(eo,{})):c.push(i)}),sr("ul",{...p,className:n(t.className,yn,k(yn,{size:o})),children:c})};oe.states=Jl;oe.options=Ul;oe.className=yn;oe.defaultOptions=Tn;import{Fragment as rI,jsx as aI,jsxs as sI}from"react/jsx-runtime";import{Fragment as uI,jsx as mI,jsxs as dI}from"react/jsx-runtime";import{Fragment as NI,jsx as hI,jsxs as SI}from"react/jsx-runtime";import{Fragment as CI,jsx as LI,jsxs as MI}from"react/jsx-runtime";import{Fragment as BI,jsx as AI,jsxs as PI}from"react/jsx-runtime";import{jsx as WI,jsxs as YI}from"react/jsx-runtime";import{Fragment as Ql,jsx as An,jsxs as ir}from"react/jsx-runtime";var Bn="k-split-button",Wl=[a.hover,a.focus,a.active,a.selected,a.disabled],Yl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},ye={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,arrowIconName:"caret-alt-down"},U=t=>{let{size:e=ye.size,rounded:o=ye.rounded,fillMode:r=ye.fillMode,themeColor:p=ye.themeColor,hover:c,focus:i,active:u,selected:b,disabled:x,icon:N,text:g,arrowIconName:m=ye.arrowIconName,popup:S,opened:v,...M}=t;return ir(Ql,{children:[ir("div",{...M,className:n(t.className,Bn,"k-button-group",k(Bn,{rounded:o})),children:[An(h,{text:g,icon:N,size:e,rounded:o,fillMode:r,themeColor:p,hover:c,focus:i,active:u,selected:b,disabled:x,children:t.children}),An(h,{className:"k-split-button-arrow",icon:m,size:e,rounded:o,fillMode:r,disabled:x})]}),v&&S&&An(H,{className:"k-menu-popup",children:S})]})};U.states=Wl;U.options=Yl;U.className=Bn;U.defaultOptions=ye;var Pn=U;import{jsx as jl}from"react/jsx-runtime";var Zl="k-toolbar-separator",ne=t=>jl("div",{className:n(Zl,t.className,"k-separator")});import{Fragment as En,jsx as B,jsxs as Te}from"react/jsx-runtime";var kt="k-toolbar",tp=[a.focus],ep={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.outline,d.flat]},zn={size:s.medium,fillMode:d.solid,scrollButtons:"around"},_=t=>{let{size:e=zn.size,fillMode:o=zn.fillMode,focus:r,resizable:p,scrollable:c,scrollButtons:i,scrollingPosition:u,section:b,...x}=t,N=[],g=(m,S)=>{let v=[];if(m.type===h&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))v.push(B(h,{...m.props,className:`${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===h)v.push(B(h,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===F)v.push(B(F,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===X)v.push(B(X,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===it)v.push(B(it,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===Pn)v.push(B(Pn,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===O||m.props.className&&m.props.className.includes("k-button-group")){let M=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((T,E)=>{M.push(B(h,{...T.props,className:`${T.props.className?T.props.className:""}`},`${E}-${new Date().getTime()}`))}),v.push(B(O,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:M},`${S}-${new Date().getTime()}`))}else m.type===jt?v.push(B(jt,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`)):m.type===Kt?v.push(B(Kt,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`)):m.type===St?v.push(B(St,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`)):v.push(m);v.forEach(M=>{N.push(M)})};return t.children&&(Array.isArray(t.children)?t.children:[t.children]).forEach((S,v)=>{g(S,v)}),Te("div",{...x,className:n(t.className,kt,k(kt,{size:e,fillMode:o}),L(kt,{focus:r}),{[`${kt}-resizable`]:p,[`${kt}-scrollable`]:c,[`${kt}-scrollable-overlay`]:c&&i==="hidden",[`${kt}-scrollable-${u}`]:u&&u!=="both",[`${kt}-section`]:b}),children:[!c&&N,c&&i==="hidden"&&B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),c&&i==="start"&&Te(En,{children:[Te(O,{children:[B("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-left"})}),B("span",{className:n("k-toolbar-next","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-right"})})]}),B(ne,{className:"k-toolbar-button-separator"}),B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),c&&i==="end"&&Te(En,{children:[B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),B(ne,{className:"k-toolbar-button-separator"}),Te(O,{children:[B("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-left"})}),B("span",{className:n("k-toolbar-next","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-right"})})]})]}),c&&(i==="around"||!i)&&Te(En,{children:[B("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-left"})}),B(ne,{className:"k-toolbar-button-separator"}),B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),B(ne,{className:"k-toolbar-button-separator"}),B("span",{className:n("k-toolbar-next","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-right"})})]})]})};_.states=tp;_.options=ep;_.className=kt;_.defaultOptions=zn;import{jsx as rp}from"react/jsx-runtime";var On="k-toolbar-item",op=[a.focus],np={},ap={},Mo=t=>{let{focus:e,...o}=t;return rp("div",{...o,className:n(t.className,On,L(On,{focus:e})),children:t.children})};Mo.states=op;Mo.options=np;Mo.className=On;Mo.defaultOptions=ap;import{jsx as lr}from"react/jsx-runtime";var pr="k-toolbar-popup",sp=[],ip={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.outline,d.flat]},wn={size:s.medium,fillMode:d.solid},Io=t=>{let{size:e=wn.size,fillMode:o=wn.fillMode,section:r,...p}=t;return lr(H,{...p,className:n(t.className,pr),children:r?lr("span",{className:n("k-toolbar-items-list",k("k-toolbar-items-list",{size:e,fillMode:o})),children:t.children}):t.children})};Io.states=sp;Io.options=ip;Io.className=pr;Io.defaultOptions=wn;import{jsx as zy}from"react/jsx-runtime";import{jsx as Ry}from"react/jsx-runtime";import{jsx as $y}from"react/jsx-runtime";import{jsx as Jy,jsxs as Uy}from"react/jsx-runtime";import{jsx as iT,jsxs as lT}from"react/jsx-runtime";import{jsx as hT,jsxs as NT}from"react/jsx-runtime";import{jsx as IT,jsxs as yT}from"react/jsx-runtime";import{jsx as wT,jsxs as KT}from"react/jsx-runtime";import{Fragment as WT,jsx as UT,jsxs as qT}from"react/jsx-runtime";import{Fragment as mp,jsx as cr}from"react/jsx-runtime";var mr="k-prompt",lp=[],pp={},cp={},Y=t=>{let{...e}=t;return cr("div",{...e,className:n(t.className,mr),children:cr(mp,{children:t.children})})};Y.states=lp;Y.options=pp;Y.className=mr;Y.defaultOptions=cp;import{jsx as up}from"react/jsx-runtime";var dp="k-prompt-header",ae=t=>{let{...e}=t;return up("div",{...e,className:n(t.className,dp),children:t.children})};import{Fragment as bp,jsx as dr}from"react/jsx-runtime";var fp="k-prompt-content",Lt=t=>{let{...e}=t;return dr("div",{...e,className:n(t.className,fp),children:dr(bp,{children:t.children})})};import{jsx as hp}from"react/jsx-runtime";var xp="k-prompt-view",Ct=t=>{let{...e}=t;return hp("div",{...e,className:n(t.className,xp),children:t.children})};import{jsx as ur,jsxs as Sp}from"react/jsx-runtime";var Np="k-prompt-expander",Kn=t=>{let{title:e,children:o,expanded:r,...p}=t;return Sp("div",{...p,className:n(t.className,Np),children:[ur(F,{fillMode:"flat",icon:r?"chevron-up":"chevron-down",children:e}),r&&ur("div",{className:"k-prompt-expander-content",children:o})]})};import{jsx as gp}from"react/jsx-runtime";var vp="k-prompt-footer",oo=t=>{let{...e}=t;return gp("div",{...e,className:n(t.className,vp),children:t.children})};import{jsx as Lp}from"react/jsx-runtime";var kp="k-prompt-setting",Rn=t=>{let{...e}=t;return Lp("div",{...e,className:n(t.className,kp),children:t.children})};import{jsx as Cp}from"react/jsx-runtime";var fr="k-prompt-send",br={generating:!1},Ae=t=>{let{generating:e=br.generating,...o}=t;return Cp(h,{...o,className:n(t.className,fr,{"k-generating":e}),icon:e?"stop-sm":"paper-plane",active:e,fillMode:"flat"})};Ae.states=h.states;Ae.options=h.options;Ae.className=fr;Ae.defaultOptions=br;import{jsx as xr,jsxs as yp}from"react/jsx-runtime";var yo="k-fab",Mp=[a.hover,a.focus,a.active,a.selected,a.disabled],Ip={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},Be={size:s.medium,rounded:f.full,fillMode:d.solid,themeColor:l.primary,type:"button"},Mt=t=>{let{size:e=Be.size,rounded:o=Be.rounded,fillMode:r=Be.fillMode,themeColor:p=Be.themeColor,text:c,icon:i,type:u=Be.type,position:b,hover:x,focus:N,active:g,selected:m,disabled:S,...v}=t;return yp("button",{...v,type:u,className:n(t.className,yo,k(yo,{size:e,rounded:o,fillMode:r,themeColor:p}),L(yo,{hover:x,focus:N,active:g,disabled:S,selected:m}),{[`!k-pos-absolute k-${b}`]:b}),children:[i&&xr(C,{className:"k-fab-icon",icon:i}),c&&xr("span",{className:"k-fab-text",children:c})]})};Mt.states=Mp;Mt.options=Ip;Mt.className=yo;Mt.defaultOptions=Be;import{jsx as $A}from"react/jsx-runtime";import{jsx as Nr,jsxs as Bp}from"react/jsx-runtime";var hr="k-fab-item",Tp=[a.hover,a.focus,a.active,a.disabled],Ap=t=>{let{text:e,icon:o,align:r,hover:p,focus:c,active:i,disabled:u,...b}=t;return Bp("li",{...b,className:n(t.className,hr,{[`k-text-${r}`]:r},L(hr,{hover:p,focus:c,active:i,disabled:u})),children:[Nr("span",{className:"k-fab-item-text",children:e}),Nr(C,{className:"k-fab-item-icon",icon:o})]})};Ap.states=Tp;import{jsx as WA}from"react/jsx-runtime";import{jsx as jA}from"react/jsx-runtime";import{jsx as nB}from"react/jsx-runtime";import{jsx as Pp}from"react/jsx-runtime";var Sr="k-prompt-stop-fab",vr={generating:!0},no=t=>{let{generating:e=vr.generating,icon:o,...r}=t;return Pp(Mt,{...r,className:n(t.className,Sr,{"k-generating":e}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:e?"stop-sm":o,active:e})};no.states=h.states;no.options=h.options;no.className=Sr;no.defaultOptions=vr;import{jsx as Ep}from"react/jsx-runtime";var gr="k-speech-to-text-button",kr={icon:"microphone-outline"},Q=t=>{let{listening:e=!1,icon:o=kr.icon,...r}=t;return Ep(h,{...r,icon:e?"stop-sm":o,className:n(t.className,gr,{"k-listening":e})})};Q.states=h.states;Q.options=h.options;Q.className=gr;Q.defaultOptions=kr;import{jsx as BB}from"react/jsx-runtime";import{jsx as OB}from"react/jsx-runtime";import{Fragment as Lr,jsx as ao,jsxs as Hn}from"react/jsx-runtime";var Cr="k-textarea",zp=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],Op={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},It={size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},ut=t=>{let{size:e=It.size,rounded:o=It.rounded,fillMode:r=It.fillMode,prefixSeparator:p=It.prefixSeparator,suffixSeparator:c=It.prefixSeparator,affixesOrientation:i=It.affixesOrientation,flow:u=It.flow,resize:b=It.resize,prefix:x,suffix:N,rows:g,value:m,placeholder:S,hover:v,focus:M,valid:y,invalid:T,required:E,disabled:D,...ft}=t;return Hn(P,{...ft,size:e,rounded:o,fillMode:r,hover:v,focus:M,valid:y,invalid:T,required:E,disabled:D,className:n(t.className,Cr,{"!k-flex-col":u==="vertical","!k-flex-row":u==="horizontal"}),children:[x&&Hn(Lr,{children:[ao(j,{className:n({"!k-align-items-start":u===i}),direction:i,children:x}),p&&ao(et,{direction:u==="horizontal"?"vertical":"horizontal"})]}),ao(De,{className:n("!k-overflow-auto",{"!k-flex-none":u==="vertical","k-resize-x":b==="x","k-resize-y":b==="y","k-resize":b==="both","k-resize-none":b==="none"}),value:m,placeholder:S,rows:g}),N&&Hn(Lr,{children:[c&&ao(et,{direction:u==="horizontal"?"vertical":"horizontal"}),ao(tt,{className:n({"!k-align-items-start":u===i}),direction:i,children:N})]})]})};ut.states=zp;ut.options=Op;ut.className=Cr;ut.defaultOptions=It;import{jsx as JB}from"react/jsx-runtime";import{Fragment as ZB,jsx as QB}from"react/jsx-runtime";import{Fragment as aP,jsx as nP}from"react/jsx-runtime";import{Fragment as vP,jsx as NP,jsxs as SP}from"react/jsx-runtime";import{jsx as Gn,jsxs as Rp}from"react/jsx-runtime";var Ir="k-suggestion-group",wp=[],Kp={},yr={scrollable:!0},re=t=>{let{scrollable:e=yr.scrollable,...o}=t,r=Gn("div",{...o,className:n(Ir,t.className),children:t.children});return e?Rp("div",{className:"k-suggestion-scrollwrap",children:[Gn(h,{icon:"chevron-left"}),r,Gn(h,{icon:"chevron-right"})]}):r};re.states=wp;re.options=Kp;re.className=Ir;re.defaultOptions=yr;import{jsx as $p}from"react/jsx-runtime";var To="k-suggestion",Hp=[a.active,a.hover,a.focus],Gp={themeColor:[l.base,l.primary,l.secondary]},Dp={text:"Suggestion"},se=t=>{let{themeColor:e,active:o,hover:r,focus:p,text:c,...i}=t;return $p("span",{...i,className:n(t.className,To,L(To,{hover:r,active:o,focus:p}),k(To,{themeColor:e})),children:c})};se.states=Hp;se.options=Gp;se.className=To;se.item=Dp;import{Fragment as EP,jsx as PP,jsxs as zP}from"react/jsx-runtime";import{Fragment as HP,jsx as RP,jsxs as GP}from"react/jsx-runtime";import{Fragment as oE,jsx as tE,jsxs as eE}from"react/jsx-runtime";import{jsx as _p}from"react/jsx-runtime";var Vp="k-card-callout",Tr=t=>{let{callout:e,...o}=t;return _p("span",{...o,className:n(t.className,Vp,{[`k-callout-${Vn.calloutMap[e]||e}`]:e})})};import{Fragment as Up,jsx as Ar,jsxs as qp}from"react/jsx-runtime";var Ao="k-card",Fp=[a.hover,a.focus,a.selected,a.disabled],Xp={themeColor:[l.primary,l.success,l.warning,l.error,l.info]},Jp={},Gt=t=>{let{orientation:e,themeColor:o,callout:r,hover:p,focus:c,selected:i,disabled:u,...b}=t;return qp("div",{...b,className:n(t.className,Ao,k(Ao,{themeColor:o}),L(Ao,{hover:p,focus:c,disabled:u,selected:i}),{[`k-card-${e}`]:e,"k-card-with-callout":r}),children:[r&&r!=="true"&&Ar(Tr,{callout:r}),Ar(Up,{children:t.children})]})};Gt.states=Fp;Gt.options=Xp;Gt.className=Ao;Gt.defaultOptions=Jp;import{jsx as Yp}from"react/jsx-runtime";var Dn="k-card-title",Wp=[a.hover,a.focus],Bo=t=>{let{hover:e,focus:o,...r}=t;return Yp("div",{...r,className:n(t.className,Dn,L(Dn,{hover:e,focus:o})),children:t.children})};Bo.states=Wp;Bo.className=Dn;import{jsx as xE}from"react/jsx-runtime";import{Fragment as gE,jsx as vE}from"react/jsx-runtime";import{Fragment as AE,jsx as TE,jsxs as BE}from"react/jsx-runtime";import{jsx as OE}from"react/jsx-runtime";import{Fragment as VE,jsx as $E,jsxs as _E}from"react/jsx-runtime";import{jsx as UE}from"react/jsx-runtime";import{Fragment as e0,jsx as jE,jsxs as t0}from"react/jsx-runtime";import{Fragment as p0,jsx as i0,jsxs as l0}from"react/jsx-runtime";import{jsx as A0,jsxs as B0}from"react/jsx-runtime";import{jsx as oc}from"react/jsx-runtime";var Br="k-panelbar",jp=[],tc={},ec={},ie=t=>{let{...e}=t;return oc("ul",{...e,className:n(t.className,Br),children:t.children})};ie.states=jp;ie.options=tc;ie.className=Br;ie.defaultOptions=ec;import{jsx as Po,jsxs as Pr}from"react/jsx-runtime";var Er="k-panelbar-item",nc=[a.hover,a.focus,a.selected,a.disabled],ac={},Eo={level:0,expanded:!1,text:"Item"},Dt=t=>{let{text:e=Eo.text,level:o=Eo.level,expanded:r=Eo.expanded,header:p,hover:c,focus:i,selected:u,disabled:b,icon:x,iconClass:N,children:g,...m}=t;return Pr("li",{...m,className:n(t.className,Er,{"k-panelbar-header":p,[`k-level-${o}`]:o||o===0,"k-expanded":r}),children:[Pr("span",{className:n("k-link",L("k-link",{hover:c,focus:i,disabled:b,selected:u})),children:[x&&Po(C,{className:"k-panelbar-item-icon",icon:x}),N&&!x&&Po("span",{className:`k-panelbar-item-icon ${N}`}),Po("span",{className:"k-panelbar-item-text",children:e}),g&&Po(C,{className:n("k-panelbar-toggle",r?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${r?"up":"down"}`})]}),r&&g]})};Dt.states=nc;Dt.options=ac;Dt.className=Er;Dt.defaultOptions=Eo;import{jsx as lc}from"react/jsx-runtime";var zr="k-panelbar-group",rc=[],sc={},ic={},Pe=t=>{let{...e}=t;return lc("ul",{...e,className:n(t.className,zr),children:t.children})};Pe.states=rc;Pe.options=sc;Pe.className=zr;Pe.defaultOptions=ic;import{jsx as dc}from"react/jsx-runtime";var Or="k-panelbar-content",pc=[],cc={},mc={},le=t=>{let{...e}=t;return dc("div",{...e,className:n(t.className,Or),children:t.children})};le.states=pc;le.options=cc;le.className=Or;le.defaultOptions=mc;import{Fragment as q0,jsx as U0,jsxs as W0}from"react/jsx-runtime";import{Fragment as tz,jsx as j0,jsxs as ez}from"react/jsx-runtime";import{Fragment as iz,jsx as rz,jsxs as sz}from"react/jsx-runtime";import{jsx as Lz,jsxs as Cz}from"react/jsx-runtime";import{Fragment as Kz,jsx as Oz,jsxs as wz}from"react/jsx-runtime";import{Fragment as Uz,jsx as Xz,jsxs as Jz}from"react/jsx-runtime";import{Fragment as eO,jsx as tO,jsxs as oO}from"react/jsx-runtime";import{Fragment as uc,jsx as R,jsxs as $t}from"react/jsx-runtime";var AO=t=>$t(Y,{...t,children:[R(ae,{children:$t(_,{fillMode:"flat",children:[R(F,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),R(F,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),R(X,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),R(Lt,{children:$t(Ct,{children:[R(ut,{resize:"y",rows:1,suffixSeparator:!1,placeholder:"Ask or generate content with AI",suffix:R(uc,{children:R(Q,{fillMode:"flat"})})}),$t(Kn,{expanded:!0,title:"Settings",children:[$t(Rn,{children:["Length:",$t(Ft,{children:[R(q,{text:"Small"}),R(q,{text:"Medium"}),R(q,{text:"Large"})]})]}),$t(Rn,{children:["Tone:",$t(Ft,{children:[R(q,{text:"Professional"}),R(q,{text:"Friendly"}),R(q,{text:"Casual"}),R(q,{text:"Straightforward"}),R(q,{text:"Confident"})]})]})]})]})}),R(oo,{children:R($,{className:"k-prompt-actions",alignment:"start",children:R(F,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]});export{AO as PromptSettings};