UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines 78.5 kB
var a=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?a(...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)=>a({[`${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)=>a({"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"},n={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted"},Vn={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{jsx as Gr}from"react/jsx-runtime";var so="k-actions",Rr=[],Hr={},Ko={alignment:"start",orientation:"horizontal"},D=t=>{let{alignment:e=Ko.alignment,orientation:o=Ko.orientation,...r}=t;return Gr("div",{...r,className:a(so,{[`${so}-${e}`]:e,[`${so}-${o}`]:o},t.className),children:t.children})};D.states=Rr;D.options=Hr;D.className=so;D.defaultOptions=Ko;import{Fragment as _r,jsx as _n}from"react/jsx-runtime";var Ro="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={},Be=t=>{let{size:e,themeColor:o,icon:r,rotate:p,flip:c,...i}=t;return r?_n("span",{...i,className:a(t.className,Ro,k(Ro,{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,{})};Be.states=Dr;Be.options=$r;Be.className=Ro;Be.defaultOptions=Vr;var Fn=Be;import{Fragment as Jr,jsx as io}from"react/jsx-runtime";var Ho="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"},Pe=t=>{let{size:e,themeColor:o,rotate:r,flip:p,viewBox:c=Xn.viewBox,icon:i,...u}=t;if(!i)return io(Jr,{});i==="none"&&{...u,className:a(t.className,Ho,"k-none")};let b=typeof i=="object"&&i.name&&i.name;return io("span",{...u,className:a(t.className,Ho,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:io("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})})};Pe.states=Fr;Pe.options=Xr;Pe.className=Ho;Pe.defaultOptions=Xn;var Go=Pe;import*as Jn from"@progress/kendo-svg-icons";import{Fragment as Un,jsx as Ee}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]},Do={viewBox:"0 0 24 24",type:"svg"},C=t=>{let{size:e,themeColor:o,icon:r,type:p=Do.type,rotate:c,flip:i,viewBox:u=Do.viewBox,...b}=t;if(!r)return Ee(Un,{});if(p==="svg"){if(r==="none")return Ee(Go,{...b,icon:r,size:e});let x=Ur(`${r}-icon`);return Jn[x]?Ee(Go,{...b,icon:Jn[x],size:e,themeColor:o,rotate:c,flip:i,viewBox:u}):Ee(Un,{})}return Ee(Fn,{...b,icon:r,size:e,themeColor:o,rotate:c,flip:i})};C.states=qr;C.options=Wr;C.defaultOptions=Do;import{Fragment as Zr,jsx as ze,jsxs as qn}from"react/jsx-runtime";var lo="k-button",Yr=[n.hover,n.focus,n.active,n.selected,n.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]},Dt={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,showArrow:!1,arrowIconName:"caret-alt-down"},h=t=>{let{size:e=Dt.size,rounded:o=Dt.rounded,fillMode:r=Dt.fillMode,themeColor:p=Dt.themeColor,showArrow:c=Dt.showArrow,arrowIconName:i=Dt.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:a(t.className,lo,k(lo,{size:e,rounded:o,fillMode:r,themeColor:p}),L(lo,{hover:u,focus:b,active:x,disabled:g,selected:N}),{"k-icon-button":!S&&!T&&y}),children:[m&&ze(C,{className:a(v,"k-button-icon"),icon:m}),S?qn(Zr,{children:[S&&ze("span",{className:"k-button-text",children:S}),t.children]}):t.children&&ze("span",{className:"k-button-text",children:t.children}),c&&ze("span",{className:"k-menu-button-arrow k-button-arrow",children:ze(C,{icon:i})})]})};h.states=Yr;h.options=Qr;h.className=lo;h.defaultOptions=Dt;import{jsx as jr}from"react/jsx-runtime";var F=t=>jr(h,{icon:"folder",...t,children:void 0});import{jsx as ts}from"react/jsx-runtime";var V=t=>ts(h,{icon:"folder",children:"Button",...t});import{jsx as Yc}from"react/jsx-runtime";import{Fragment as as,jsx as Wn}from"react/jsx-runtime";var Yn="k-prompt",es=[],os={},ns={},U=t=>{let{...e}=t;return Wn("div",{...e,className:a(t.className,Yn),children:Wn(as,{children:t.children})})};U.states=es;U.options=os;U.className=Yn;U.defaultOptions=ns;import{jsx as lm}from"react/jsx-runtime";import{Fragment as ss,jsx as Qn}from"react/jsx-runtime";var rs="k-prompt-content",xt=t=>{let{...e}=t;return Qn("div",{...e,className:a(t.className,rs),children:Qn(ss,{children:t.children})})};import{jsx as ls}from"react/jsx-runtime";var is="k-prompt-view",ht=t=>{let{...e}=t;return ls("div",{...e,className:a(t.className,is),children:t.children})};import{jsx as Sm,jsxs as vm}from"react/jsx-runtime";import{jsx as Cm}from"react/jsx-runtime";import{jsx as Tm}from"react/jsx-runtime";import{jsx as ps}from"react/jsx-runtime";var Zn="k-prompt-send",jn={generating:!1},$t=t=>{let{generating:e=jn.generating,...o}=t;return ps(h,{...o,className:a(t.className,Zn,{"k-generating":e}),icon:e?"stop-sm":"paper-plane",active:e,fillMode:"flat"})};$t.states=h.states;$t.options=h.options;$t.className=Zn;$t.defaultOptions=jn;import{jsx as ta,jsxs as ds}from"react/jsx-runtime";var po="k-fab",cs=[n.hover,n.focus,n.active,n.selected,n.disabled],ms={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]},se={size:s.medium,rounded:f.full,fillMode:d.solid,themeColor:l.primary,type:"button"},Nt=t=>{let{size:e=se.size,rounded:o=se.rounded,fillMode:r=se.fillMode,themeColor:p=se.themeColor,text:c,icon:i,type:u=se.type,position:b,hover:x,focus:N,active:g,selected:m,disabled:S,...v}=t;return ds("button",{...v,type:u,className:a(t.className,po,k(po,{size:e,rounded:o,fillMode:r,themeColor:p}),L(po,{hover:x,focus:N,active:g,disabled:S,selected:m}),{[`!k-pos-absolute k-${b}`]:b}),children:[i&&ta(C,{className:"k-fab-icon",icon:i}),c&&ta("span",{className:"k-fab-text",children:c})]})};Nt.states=cs;Nt.options=ms;Nt.className=po;Nt.defaultOptions=se;import{jsx as Vm}from"react/jsx-runtime";import{jsx as oa,jsxs as bs}from"react/jsx-runtime";var ea="k-fab-item",us=[n.hover,n.focus,n.active,n.disabled],fs=t=>{let{text:e,icon:o,align:r,hover:p,focus:c,active:i,disabled:u,...b}=t;return bs("li",{...b,className:a(t.className,ea,{[`k-text-${r}`]:r},L(ea,{hover:p,focus:c,active:i,disabled:u})),children:[oa("span",{className:"k-fab-item-text",children:e}),oa(C,{className:"k-fab-item-icon",icon:o})]})};fs.states=us;import{jsx as Ym}from"react/jsx-runtime";import{jsx as td}from"react/jsx-runtime";import{jsx as ad}from"react/jsx-runtime";import{jsx as xs}from"react/jsx-runtime";var na="k-prompt-stop-fab",aa={generating:!0},Oe=t=>{let{generating:e=aa.generating,icon:o,...r}=t;return xs(Nt,{...r,className:a(t.className,na,{"k-generating":e}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:e?"stop-sm":o,active:e})};Oe.states=h.states;Oe.options=h.options;Oe.className=na;Oe.defaultOptions=aa;import{jsx as Ss}from"react/jsx-runtime";var we="k-button-group",hs=[n.disabled],Ns={fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},ra={fillMode:d.solid},O=t=>{let{fillMode:e=ra.fillMode,disabled:o,stretched:r,...p}=t;return Ss("div",{...p,className:a(t.className,we,k(we,{fillMode:e}),L(we,{disabled:o}),{[`${we}-stretched`]:r}),children:t.children})};O.states=hs;O.options=Ns;O.className=we;O.defaultOptions=ra;import{Fragment as Ad,jsx as Td,jsxs as Bd}from"react/jsx-runtime";import{Fragment as Kd,jsx as wd,jsxs as Rd}from"react/jsx-runtime";import{Fragment as _d,jsx as Vd,jsxs as Fd}from"react/jsx-runtime";import{Fragment as Yd,jsx as Wd,jsxs as Qd}from"react/jsx-runtime";import{jsx as ks}from"react/jsx-runtime";var co="k-input",vs=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],gs={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 ks("span",{...g,className:a(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=vs;P.options=gs;P.className=co;P.defaultOptions=mo;import{jsx as Ms}from"react/jsx-runtime";var uo="k-picker",Ls=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Cs={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},it=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 Ms("span",{...g,className:a(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})};it.states=Ls;it.options=Cs;it.className=uo;it.defaultOptions=fo;import{Fragment as Ts,jsx as $o}from"react/jsx-runtime";var sa="k-clear-value",Is=[n.disabled,n.loading,n.readonly],ys={},lt=t=>{let{disabled:e,loading:o,readonly:r,value:p}=t;return e||r||o||!p?$o(Ts,{}):$o("span",{className:a(t.className,sa),children:$o(C,{icon:"x"})})};lt.states=Is;lt.options=ys;lt.className=sa;import{jsx as Ps}from"react/jsx-runtime";var Vo="k-input-inner",As=[],Bs={},bo={type:"text",autocomplete:"off",value:"",placeholder:""},pt=t=>{let{value:e=bo.value,type:o=bo.type,placeholder:r=bo.placeholder,autocomplete:p=bo.autocomplete,...c}=t;return Ps("input",{...c,type:o,className:a(t.className,Vo,k(Vo,t)),placeholder:r,autoComplete:p,defaultValue:e})};pt.states=As;pt.options=Bs;pt.className=Vo;import{jsx as ia,jsxs as Os}from"react/jsx-runtime";var _o="k-input-inner",Es=[],zs={},Vt=t=>{let{value:e,placeholder:o,showValue:r,valueIcon:p,valueIconName:c,...i}=t;return Os("span",{...i,className:a(t.className,_o,k(_o,t)),children:[p,!p&&c&&ia(C,{className:"k-input-value-icon",icon:c}),r&&!e&&o,r&&e&&ia("span",{className:"k-input-value-text",children:e})]})};Vt.states=Es;Vt.options=zs;Vt.className=_o;import{jsx as Rs}from"react/jsx-runtime";var Fo="k-input-inner",ws=[],Ks={},la={value:"",placeholder:""},Ke=t=>{let{value:e=la.value,placeholder:o=la.placeholder,rows:r,...p}=t;return Rs("textarea",{...p,className:a(t.className,Fo,k(Fo,t)),placeholder:o,rows:r,defaultValue:e})};Ke.states=ws;Ke.options=Ks;Ke.className=Fo;import{Fragment as Gs,jsx as pa}from"react/jsx-runtime";var ca="k-input-loading-icon",Hs=[n.disabled,n.loading],Y=t=>{let{disabled:e,loading:o}=t;return e||!o?pa(Gs,{}):pa("span",{className:a(t.className,ca,"k-icon k-i-loading")})};Y.states=Hs;Y.className=ca;import{Fragment as Vs,jsx as ma}from"react/jsx-runtime";var da="k-input-validation-icon",Ds=[n.valid,n.invalid,n.disabled,n.loading],$s={},q=t=>{let{valid:e,invalid:o,disabled:r,loading:p}=t,c=o?"warning-circle":"check-circle";return r||p||!!!(e||o)?ma(Vs,{}):ma(C,{className:a(da),icon:c})};q.states=Ds;q.options=$s;q.className=da;import{Fragment as Xs,jsx as ua}from"react/jsx-runtime";var _s="k-input-prefix",Fs={direction:"horizontal"},Q=t=>{let{direction:e=Fs.direction,...o}=t;return t.children?ua("span",{...o,className:a(_s,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):ua(Xs,{})};import{Fragment as qs,jsx as fa}from"react/jsx-runtime";var Js="k-input-suffix",Us={direction:"horizontal"},Z=t=>{let{direction:e=Us.direction,...o}=t;return t.children?fa("span",{...o,className:a(Js,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):fa(qs,{})};import{jsx as Du}from"react/jsx-runtime";import{jsx as Fu}from"react/jsx-runtime";import{jsx as Ys}from"react/jsx-runtime";var ba="k-input-separator",Ws={direction:"vertical"},j=t=>{let{direction:e=Ws.direction,...o}=t;return Ys("span",{...o,className:a(ba,t.className,{[`${ba}-${e}`]:e})})};import{jsx as xa,jsxs as js}from"react/jsx-runtime";var ha="k-color-preview",Qs=[],Zs={},yt=t=>{let{color:e,iconName:o,...r}=t;return js("span",{...r,className:a(t.className,ha,{"k-icon-color-preview":o,"k-no-color":!e}),children:[o&&xa(C,{icon:o,className:"k-color-preview-icon"}),xa("span",{className:"k-color-preview-mask",style:{backgroundColor:e}})]})};yt.states=Qs;yt.options=Zs;yt.className=ha;import{jsx as Na}from"react/jsx-runtime";var Sa="k-animation-container",ti=[],ei={},va={positionMode:"absolute"},Tt=t=>{let{positionMode:e=va.positionMode,animationStyle:o,offset:r,...p}=t;return Na("div",{...p,style:{...r,...t.style},className:a(t.className,Sa,"k-animation-container-shown",{"k-animation-container-fixed":e==="fixed"}),children:Na("div",{className:"k-child-animation-container",style:o,children:t.children})})};Tt.states=ti;Tt.options=ei;Tt.className=Sa;Tt.defaultOptions=va;import{jsx as ga}from"react/jsx-runtime";var ka="k-popup",oi=[],ni={},La={positionMode:"absolute"},R=t=>{let{offset:e,positionMode:o=La.positionMode,animationStyle:r,...p}=t;return ga(Tt,{positionMode:o,offset:e,animationStyle:r,children:ga("div",{...p,className:a(t.className,ka),children:t.children})})};R.states=oi;R.options=ni;R.className=ka;R.defaultOptions=La;import{jsx as ri}from"react/jsx-runtime";var ai="k-actionsheet-footer",Ca={alignment:"stretched",orientation:"horizontal"},Re=t=>{let{alignment:e=Ca.alignment,orientation:o=Ca.orientation,template:r,as:p=r?"div":D,...c}=t;return ri(p,{...c,...!r&&{alignment:e,orientation:o},className:a(t.className,ai),children:t.children})};import{jsx as He,jsxs as li}from"react/jsx-runtime";var Ma="k-searchbox",si=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],ii={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},St=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 li(P,{...M,size:r,rounded:p,fillMode:c,hover:i,focus:u,valid:b,invalid:x,required:N,loading:g,disabled:m,className:a(t.className,Ma),children:[S&&He(C,{className:"k-input-icon",icon:v}),He(pt,{placeholder:o,value:e}),He(Y,{...t}),He(q,{...t}),He(lt,{...t})]})};St.states=si;St.options=ii;St.className=Ma;St.defaultOptions=Xo;import{jsx as Gf}from"react/jsx-runtime";import{Fragment as Ia,jsx as At,jsxs as Jo}from"react/jsx-runtime";var ya="k-textbox",pi=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.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]},_t={showClearButton:!0,showValidationIcon:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},Bt=t=>{let{size:e=_t.size,rounded:o=_t.rounded,fillMode:r=_t.fillMode,separators:p=_t.separators,showClearButton:c=_t.showClearButton,showValidationIcon:i=_t.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:G,...ut}=t;return Jo(P,{...ut,size:e,rounded:o,fillMode:r,hover:m,focus:S,valid:v,invalid:M,required:y,loading:T,disabled:E,readonly:G,className:a(t.className,ya),children:[u&&Jo(Ia,{children:[At(Q,{children:u}),p&&At(j,{})]}),At(pt,{placeholder:g,value:N,type:x}),i&&At(q,{valid:v,invalid:M,loading:T,disabled:E}),At(Y,{loading:T,disabled:E}),c&&At(lt,{loading:T,disabled:E,readonly:G,value:N}),b&&Jo(Ia,{children:[p&&At(j,{}),At(Z,{children:b})]})]})};Bt.states=pi;Bt.options=ci;Bt.className=ya;Bt.defaultOptions=_t;import{jsx as Yf}from"react/jsx-runtime";import{Fragment as ob,jsx as eb}from"react/jsx-runtime";import{Fragment as pb,jsx as lb}from"react/jsx-runtime";import{jsx as Pt,jsxs as Uo}from"react/jsx-runtime";var Aa="k-actionsheet-titlebar",mi={},tt=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:a(t.className,Aa),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(St,{placeholder:"Filter",size:x?"large":"medium"})})]})};tt.className=Aa;tt.defaultOptions=mi;import{jsx as qo,jsxs as bi}from"react/jsx-runtime";var Wo="k-actionsheet-view",di=[],ui={},fi={},ie=t=>{let{adaptive:e,animated:o,children:r,header:p,footer:c,...i}=t,u=p?.type===tt&&qo(tt,{adaptive:e,...p?.props}),b=c?.type===Re&&qo(Re,{...c?.props});return bi("div",{...i,className:a(t.className,Wo,{[`${Wo}-animated`]:o}),children:[u,qo("div",{className:"k-actionsheet-content",children:r}),b]})};ie.states=di;ie.options=ui;ie.className=Wo;ie.defaultOptions=fi;import{jsx as xo,jsxs as Ni}from"react/jsx-runtime";var Ba="k-actionsheet",xi=[],hi={},Ge={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ct=t=>{let{side:e=Ge.side,fullscreen:o=Ge.fullscreen,adaptive:r=Ge.adaptive,overlay:p=Ge.overlay,template:c,children:i,header:u,footer:b,...x}=t;return Ni("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:a(t.className,Ba,{[`k-actionsheet-${e}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:c||xo(ie,{header:u,footer:b,adaptive:r,...t,children:i})})})]})};ct.states=xi;ct.options=hi;ct.className=Ba;ct.defaultOptions=Ge;import{jsx as zb}from"react/jsx-runtime";import{Fragment as vi,jsx as De,jsxs as Yo}from"react/jsx-runtime";var Qo="k-actionsheet-item",Si=[n.hover,n.focus,n.selected,n.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:a(t.className,Qo,L(Qo,{hover:p,focus:c,selected:i,disabled:u})),children:[!t.children&&De(vi,{children:Yo("span",{className:"k-actionsheet-action",children:[e&&De("span",{className:"k-icon-wrap",children:De(C,{className:"k-actionsheet-item-icon",icon:e})}),Yo("span",{className:"k-actionsheet-item-text",children:[o&&De("span",{className:"k-actionsheet-item-title",children:o}),r&&De("span",{className:"k-actionsheet-item-description",children:r})]})]})}),t.children]})};Zo.states=Si;Zo.className=Qo;import{jsx as Vb,jsxs as _b}from"react/jsx-runtime";import{jsx as Ub}from"react/jsx-runtime";import{jsx as Qb}from"react/jsx-runtime";import{jsx as ex}from"react/jsx-runtime";import{jsx as le,jsxs as jo}from"react/jsx-runtime";var $e="k-slider",gi=[n.hover,n.focus,n.active,n.disabled,n.readonly],ki={},Et={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},et=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:a($e,t.className,L($e,{readonly:r,disabled:p}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":e==="gradient"}),dir:m,children:[i&&le(h,{className:"k-button-decrease",rounded:"full",icon:M}),jo("div",{className:"k-slider-track-wrap",children:[u&&le("ul",{className:"k-reset k-slider-items",children:t.children}),jo("div",{className:"k-slider-track",style:g,children:[le("div",{className:"k-slider-selection"}),e==="range"&&le("span",{className:a("k-draghandle","k-draghandle-start",L($e,{hover:b,focus:x,active:N}))}),le("span",{className:a("k-draghandle",`k-draghandle-${c}`,L($e,{hover:b,focus:x,active:N}))})]})]}),i&&le(h,{className:"k-button-increase",rounded:"full",icon:v})]})};et.states=gi;et.options=ki;et.className=$e;et.defaultOptions=Et;import{jsx as Ea}from"react/jsx-runtime";var za="k-tick",Li=[],Ci={},Oa={label:!1},zt=t=>{let{style:e,label:o=Oa.label,orientation:r,large:p,text:c,...i}=t;return Ea("li",{...i,className:a(t.className,za,{[`k-tick-${r}`]:r,"k-tick-large":p}),style:e,children:o&&Ea("span",{className:"k-label",children:c})})};zt.states=Li;zt.options=Ci;zt.className=za;zt.defaultOptions=Oa;import{Fragment as Cx,jsx as Lx,jsxs as Mx}from"react/jsx-runtime";import{Fragment as Bx,jsx as Ax,jsxs as Px}from"react/jsx-runtime";import{Fragment as Kx,jsx as wx,jsxs as Rx}from"react/jsx-runtime";import{Fragment as Vx,jsx as $x,jsxs as _x}from"react/jsx-runtime";import{jsx as Mi}from"react/jsx-runtime";var tn=t=>Mi(et,{type:"gradient",showButtons:!1,showTicks:!1,...t});import{jsx as Ii}from"react/jsx-runtime";var en=t=>Ii(et,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...t});import{jsx as wa,jsxs as Ai}from"react/jsx-runtime";var Ka="k-spin-button",yi=[],Ti={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},pe=t=>{let{size:e=on.size,fillMode:o=on.fillMode,...r}=t;return Ai("span",{...r,className:a(Ka,t.className),children:[wa(h,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:e,fillMode:o}),wa(h,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:e,fillMode:o})]})};pe.states=yi;pe.options=Ti;pe.className=Ka;pe.defaultOptions=on;import{Fragment as Ra,jsx as vt,jsxs as nn}from"react/jsx-runtime";var Ha="k-numerictextbox",Bi=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Pi={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ft={showSpinButton:!0,showClearButton:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},K=t=>{let{size:e=Ft.size,rounded:o=Ft.rounded,fillMode:r=Ft.fillMode,separators:p=Ft.separators,showClearButton:c=Ft.showClearButton,showSpinButton:i=Ft.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,...G}=t;return nn(P,{...G,size:e,rounded:o,fillMode:r,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,className:a(t.className,Ha),children:[u&&nn(Ra,{children:[vt(Q,{children:u}),p&&vt(j,{})]}),vt(pt,{placeholder:N,value:x}),vt(q,{valid:S,invalid:v,loading:y,disabled:T}),vt(Y,{loading:y,disabled:T}),c&&vt(lt,{loading:y,disabled:T,readonly:E,value:x}),b&&nn(Ra,{children:[p&&vt(j,{}),vt(Z,{children:b})]}),i&&vt(pe,{className:"k-input-spinner",size:e,fillMode:r})]})};K.states=Bi;K.options=Pi;K.className=Ha;K.defaultOptions=Ft;import{jsx as Sh}from"react/jsx-runtime";import{jsx as zi}from"react/jsx-runtime";var Ei="k-no-data",Ve=t=>zi("span",{className:a(Ei,t.className),children:t.children});import{jsx as ce,jsxs as Da}from"react/jsx-runtime";var an="k-list",Oi=[],wi={size:[s.small,s.medium,s.large]},$a={size:s.medium},z=t=>{let{size:e=$a.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===$?(S.props.root===!0?(b=S.props.label,S.props.children.map((M,y)=>{m.push(ce(I,{...M.props},`optChild-${y}-${new Date().getTime()}`))})):S.props.children.forEach((M,y)=>{let T="";y===0&&(T=S.props.label),m.push(ce(I,{className:y===0?"k-first":"",...M.props,groupLabel:T},`groupLabel-${y}-${new Date().getTime()}`))}),x=ce($,{label:b,virtualization:o,children:m})):S.type===I&&(m.push(ce(I,{...S.props},`${S.type}-${v}`)),N=ce(me,{virtualization:o,children:m}),i&&(g=Da(Ve,{className:"k-sr-only",children:[m.length," items found."]})))}):g=ce(Ve,{children:"No data found."}),Da("div",{...u,className:a(t.className,an,k(an,{size:e}),{"k-virtual-list":o}),children:[p,c,x,N,g]})};z.states=Oi;z.options=wi;z.className=an;z.defaultOptions=$a;import{jsx as Xt,jsxs as Hi}from"react/jsx-runtime";var rn="k-list",Ki=[],Ri={size:[s.small,s.medium,s.large]},Va={size:s.medium},Jt=t=>{let{size:e=Va.size,virtualization:o,children:r,...p}=t,c,i,u,b=[];return r?r.map((x,N)=>{x.type===$?(x.props.root===!0?(c=x.props.label,x.props.children.map((g,m)=>{b.push(Xt(I,{...g.props},`optChild-${m}-${new Date().getTime()}`))})):(b.push(Xt(_a,{...x.props,children:x.props.label},`listChild-${N}`)),x.props.children.map((g,m)=>{b.push(Xt(I,{...g.props},`fwOptChild-${m}-${new Date().getTime()}`))})),i=Xt($,{label:c,virtualization:o,children:b})):x.type===I&&(b.push(Xt(I,{...x.props},`${x.type}-${N}`)),u=Xt(me,{virtualization:o,children:b}))}):u=Xt(Ve,{children:"No data found."}),Hi("div",{...p,className:a(t.className,rn,k(rn,{size:e}),{"k-virtual-list":o}),children:[i,u]})};Jt.states=Ki;Jt.options=Ri;Jt.className=rn;Jt.defaultOptions=Va;import{jsx as Fa}from"react/jsx-runtime";var ho="k-checkbox",Gi=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Di={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 Fa("span",{className:"k-checkbox-wrap",children:Fa("input",{...m,id:e,type:"checkbox",defaultChecked:o,required:x,className:a(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=Gi;Ot.options=Di;Ot.className=ho;Ot.defaultOptions=sn;import{jsx as _i}from"react/jsx-runtime";var Xa="k-checkbox-list",$i=[],Vi={},Ja={layout:"vertical"},de=t=>{let{layout:e=Ja.layout,...o}=t;return _i("ul",{...o,className:a(t.className,Xa,{[`k-list-${e}`]:e}),children:t.children})};de.states=$i;de.options=Vi;de.className=Xa;de.defaultOptions=Ja;import{jsx as Ui}from"react/jsx-runtime";var Ua="k-checkbox-list-item",Fi=[],Xi={},Ji={},ue=t=>{let{...e}=t;return Ui("li",{...e,className:a(t.className,Ua),children:t.children})};ue.states=Fi;ue.options=Xi;ue.className=Ua;ue.defaultOptions=Ji;import{Fragment as qh,jsx as Uh,jsxs as Wh}from"react/jsx-runtime";import{Fragment as tN,jsx as jh,jsxs as eN}from"react/jsx-runtime";import{Fragment as sN,jsx as rN,jsxs as iN}from"react/jsx-runtime";import{Fragment as dN,jsx as mN,jsxs as uN}from"react/jsx-runtime";import{jsx as hN}from"react/jsx-runtime";import{jsx as gN}from"react/jsx-runtime";import{jsx as No,jsxs as Qi}from"react/jsx-runtime";var pn="k-list-item",qi=[n.hover,n.focus,n.selected,n.disabled],Wi={},Yi={},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 Qi("li",{...m,className:a(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=qi;I.options=Wi;I.className=pn;I.defaultOptions=Yi;import{jsx as cn,jsxs as ji}from"react/jsx-runtime";var Zi="k-list-content",me=t=>{let{virtualization:e,...o}=t;return ji("div",{...o,className:a(Zi,t.className),children:[cn("ul",{className:a("k-list-ul"),children:t.children}),e&&cn("div",{className:"k-height-container",children:cn("div",{})})]})};import{jsx as qa}from"react/jsx-runtime";var tl="k-list-group-sticky-header",Wa=t=>qa("div",{className:a(tl,t.className),children:qa("div",{className:"k-list-header-text",children:t.children})});import{Fragment as el,jsx as Ya,jsxs as ol}from"react/jsx-runtime";var $=t=>{let{virtualization:e,label:o}=t;return ol(el,{children:[o&&Ya(Wa,{children:o}),t.children&&Ya(me,{virtualization:e,children:t.children})]})};import{jsx as Qa}from"react/jsx-runtime";var nl="k-list-group-item",_a=t=>Qa("li",{className:a(nl,t.className),children:Qa("span",{className:"k-list-item-text",children:t.children})});import{jsx as il}from"react/jsx-runtime";var mn="k-list-optionlabel",al=[n.hover,n.focus,n.selected,n.disabled],rl={},sl={},So=t=>{let{text:e,hover:o,focus:r,selected:p,disabled:c,...i}=t;return il("div",{...i,className:a(mn,L(mn,{hover:o,focus:r,selected:p,disabled:c})),children:e})};So.states=al;So.options=rl;So.className=mn;So.defaultOptions=sl;import{jsx as ml}from"react/jsx-runtime";var dn="k-list-custom-value",ll=[n.hover,n.focus,n.selected,n.disabled],pl={},cl={},wt=t=>{let{text:e,hover:o,focus:r,selected:p,disabled:c,...i}=t;return ml("div",{...i,className:a(dn,L(dn,{hover:o,focus:r,selected:p,disabled:c})),children:e})};wt.states=ll;wt.options=pl;wt.className=dn;wt.defaultOptions=cl;import{jsx as aS}from"react/jsx-runtime";import{jsx as lS}from"react/jsx-runtime";import{jsx as dS,jsxs as uS}from"react/jsx-runtime";import{jsx as hS,jsxs as NS}from"react/jsx-runtime";import{jsx as kS}from"react/jsx-runtime";import{jsx as IS,jsxs as yS}from"react/jsx-runtime";import{jsx as PS,jsxs as ES}from"react/jsx-runtime";import{Fragment as fl,jsx as X,jsxs as un}from"react/jsx-runtime";var Za="k-dropdownlist",dl=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],ul={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},fe={showValue:!0,arrowIconName:"caret-alt-down",size:s.medium,rounded:f.medium,fillMode:d.solid},Kt=t=>{let{size:e=fe.size,rounded:o=fe.rounded,fillMode:r=fe.fillMode,arrowIconName:p=fe.arrowIconName,showValue:c=fe.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:G,opened:ut,adaptive:Te,adaptiveSettings:Ae,adaptiveTitle:Oo,adaptiveSubtitle:wo,adaptiveFilter:wr,...Kr}=t;return un(fl,{children:[un(it,{...Kr,size:e,rounded:o,fillMode:r,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,className:a(t.className,Za,{"k-icon-picker":!c&&i}),children:[X(Q,{children:u}),X(Vt,{placeholder:N,value:x,showValue:c,valueIconName:i}),X(q,{valid:S,invalid:v,loading:y,disabled:T}),X(Y,{loading:y,disabled:T}),X(Z,{children:b}),X(h,{className:"k-input-button",icon:p,rounded:null,size:t.size,fillMode:t.fillMode})]}),ut&&G&&X(R,{className:"k-list-container k-dropdownlist-popup",children:G}),Te&&X(ct,{adaptive:!0,...Ae,header:X(tt,{actionsEnd:X(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:wr,inputValue:x,inputPlaceholder:N,title:Oo,subtitle:wo}),children:X("div",{className:"k-list-container",children:un(z,{size:"large",children:[X(I,{text:"List item"}),X(I,{text:"List item"}),X(I,{text:"List item"})]})})})]})};Kt.states=dl;Kt.options=ul;Kt.className=Za;Kt.defaultOptions=fe;import{jsx as lv}from"react/jsx-runtime";import{jsx as uv,jsxs as fv}from"react/jsx-runtime";import{Fragment as kv,jsx as vv,jsxs as gv}from"react/jsx-runtime";import{jsx as Iv}from"react/jsx-runtime";import{jsx as Pv,jsxs as Ev}from"react/jsx-runtime";import{jsx as Rv,jsxs as Hv}from"react/jsx-runtime";import{Fragment as Jv,jsx as Fv,jsxs as Xv}from"react/jsx-runtime";import{Fragment as tg,jsx as Zv,jsxs as jv}from"react/jsx-runtime";import{Fragment as xg,jsx as bg}from"react/jsx-runtime";import{Fragment as Lg,jsx as kg}from"react/jsx-runtime";import{Fragment as _e,jsx as A,jsxs as w}from"react/jsx-runtime";var ja="k-colorgradient-inputs",bl=[],xl={size:[s.small,s.medium,s.large]},tr={mode:"rgba",size:s.medium},be=t=>{let{mode:e=tr.mode,size:o,...r}=t;return w("div",{...r,className:a(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(_e,{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(_e,{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(_e,{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(_e,{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(_e,{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"})]})})]})};be.states=bl;be.options=xl;be.className=ja;be.defaultOptions=tr;import{jsx as qt,jsxs as Wt}from"react/jsx-runtime";var er="k-colorgradient-color-contrast",hl=[],Nl={},Sl={},xe=()=>Wt("div",{className:a(er,"k-vbox"),children:[Wt("div",{className:"k-contrast-ratio",children:[qt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Wt("span",{className:"k-contrast-validation !k-text-success",children:[qt(C,{icon:"check"}),qt(C,{icon:"check"})]})]}),Wt("div",{children:[qt("span",{children:"AA: 4.5"}),Wt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",qt(C,{icon:"check"})]})]}),Wt("div",{children:[qt("span",{children:"AAA: 7.0"}),Wt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",qt(C,{icon:"x"})]})]})]});xe.states=hl;xe.options=Nl;xe.className=er;xe.defaultOptions=Sl;import{jsx as ot,jsxs as Fe}from"react/jsx-runtime";var vo="k-colorgradient",vl=[n.hover,n.focus,n.readonly,n.disabled],gl={size:[s.small,s.medium,s.large]},mt={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=mt.size,mode:o=mt.mode,readonly:r=mt.readonly,disabled:p=mt.disabled,gradientStyle:c=mt.gradientStyle,dragHandleStyle:i=mt.dragHandleStyle,alphaStyle:u=mt.alphaStyle,alphaStyleHorizontal:b=mt.alphaStyleHorizontal,contrast:x=mt.contrast,dir:N,hover:g,focus:m,hoverHandle:S,focusHandle:v,canvasOrientation:M=mt.canvasOrientation,...y}=t;return Fe("div",{...y,className:a(t.className,vo,k(vo,{size:e}),L(vo,{hover:g,focus:m,readonly:r,disabled:p})),dir:N,children:[!M||M==="horizontal"&&Fe("div",{className:"k-colorgradient-canvas k-hstack",children:[ot("div",{className:"k-hsv-rectangle",style:c,children:ot("div",{className:"k-hsv-gradient",children:ot("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":S,"k-focus":v}),style:i})})}),Fe("div",{className:"k-hsv-controls k-hstack",children:[ot(en,{className:"k-hue-slider",hover:S,focus:v}),o!=="rgb"&&o!=="hsv"&&ot(en,{className:"k-alpha-slider",hover:S,focus:v,trackStyle:u})]})]}),M==="vertical"&&Fe("div",{className:"k-colorgradient-canvas k-vstack",children:[ot("div",{className:"k-hsv-rectangle",style:c,children:ot("div",{className:"k-hsv-gradient",children:ot("div",{className:a("k-hsv-draghandle","k-draghandle",{"k-hover":S,"k-focus":v}),style:i})})}),Fe("div",{className:"k-hsv-controls k-vstack",children:[ot(tn,{className:"k-hue-slider",hover:S,focus:v}),o!=="rgb"&&o!=="hsv"&&ot(tn,{className:"k-alpha-slider",hover:S,focus:v,trackStyle:b})]})]}),ot(be,{mode:t.mode,size:e}),x&&ot(xe,{})]})};Rt.states=vl;Rt.options=gl;Rt.className=vo;Rt.defaultOptions=mt;import{jsx as qg}from"react/jsx-runtime";import{jsx as Zg}from"react/jsx-runtime";import{jsx as kl}from"react/jsx-runtime";var or=t=>kl("tr",{children:t.children});import{jsx as Ml}from"react/jsx-runtime";var fn="k-colorpalette-tile",Ll=[n.hover,n.focus,n.selected],Cl={},Xe=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 Ml("td",{...i,className:a(t.className,fn,L(fn,{hover:r,focus:p,selected:c})),style:u})};Xe.states=Ll;Xe.options=Cl;Xe.className=fn;import{jsx as Je}from"react/jsx-runtime";var go="k-colorpalette",Il=[n.disabled],yl={size:[s.small,s.medium,s.large]},bn={columns:10,size:s.medium},he=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(Je(Xe,{color:v,tileSize:p},M))});let S=Je(or,{children:m},g);u.push(S)})}return Je("div",{...i,className:a(t.className,go,L(go,{disabled:c}),k(go,{size:e})),children:Je("table",{className:"k-colorpalette-table",children:Je("tbody",{children:u.length>0?u:t.children})})})};he.states=Il;he.options=yl;he.className=go;he.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 gk}from"react/jsx-runtime";import{jsx as nt,jsxs as Ne}from"react/jsx-runtime";var ko="k-coloreditor",Tl=[n.focus],Al={size:[s.small,s.medium,s.large]},Se={size:s.medium,view:"gradient",palette:xn.office,actionButtons:!0,canvasOrientation:"horizontal"},ft=t=>{let{size:e=Se.size,view:o=Se.view,palette:r=Se.palette,color:p,currentColor:c,focus:i,focusView:u,dir:b,group:x,actionButtons:N=Se.actionButtons,canvasOrientation:g=Se.canvasOrientation,...m}=t;return Ne("div",{...m,className:a(t.className,"k-flatcolorpicker",ko,k(ko,{size:e}),L(ko,{focus:i})),dir:b,children:[Ne("div",{className:"k-coloreditor-header k-hstack",children:[nt("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&Ne(O,{fillMode:"flat",children:[nt(h,{className:"k-group-start",size:e,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),nt(h,{className:"k-group-end",size:e,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),nt("div",{className:"k-spacer"}),Ne("div",{className:"k-coloreditor-header-actions k-hstack",children:[nt(h,{fillMode:"flat",icon:"droplet-slash",size:e}),Ne("div",{className:"k-coloreditor-preview k-vstack",children:[nt(yt,{className:"k-coloreditor-preview-color",color:p}),nt(yt,{className:"k-coloreditor-current-color",color:c})]})]})]}),nt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?nt(Rt,{focus:u,size:e,canvasOrientation:g}):nt(he,{palette:r,size:e})}),N&&Ne(D,{className:"k-coloreditor-footer",alignment:"start",children:[nt(h,{themeColor:"primary",size:e,className:"k-coloreditor-apply",children:"Apply"}),nt(h,{className:"k-coloreditor-cancel",size:e,children:"Cancel"})]})]})};ft.states=Tl;ft.options=Al;ft.className=ko;ft.defaultOptions=Se;import{jsx as Dk}from"react/jsx-runtime";import{jsx as Fk}from"react/jsx-runtime";import{jsx as qk}from"react/jsx-runtime";import{jsx as Zk}from"react/jsx-runtime";import{Fragment as El,jsx as at,jsxs as Nn}from"react/jsx-runtime";var nr="k-colorpicker",Bl=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],Pl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ue={arrowIconName:"caret-alt-down",size:it.defaultOptions.size,rounded:it.defaultOptions.rounded,fillMode:it.defaultOptions.fillMode},gt=t=>{let{size:e=Ue.size,rounded:o=Ue.rounded,fillMode:r=Ue.fillMode,arrowIconName:p=Ue.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:G,adaptiveTitle:ut,adaptiveSubtitle:Te,...Ae}=t;return Nn(El,{children:[Nn(it,{...Ae,size:e,rounded:o,fillMode:r,hover:x,focus:N,valid:g,invalid:m,required:S,disabled:v,className:a(t.className,nr,"k-icon-picker"),children:[at(Q,{children:c}),at(Vt,{placeholder:b,value:u,showValue:!1,valueIcon:at(yt,{className:"k-value-icon",color:u,iconName:M}),valueIconName:M}),at(Z,{children:i}),at(h,{className:"k-input-button",icon:p,rounded:null,size:e,fillMode:r})]}),T&&y&&at(R,{className:"k-colorpicker-popup",children:y}),E&&at(ct,{adaptive:!0,...G,header:at(tt,{actionsEnd:at(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:ut,subtitle:Te}),footer:Nn(Re,{children:[at(h,{text:"Cancel",size:"large",themeColor:"base"}),at(h,{text:"Set",size:"large",themeColor:"primary"})]}),children:at(ft,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};gt.states=Bl;gt.options=Pl;gt.className=nr;gt.defaultOptions=Ue;import{jsx as NL}from"react/jsx-runtime";import{jsx as LL}from"react/jsx-runtime";import{jsx as TL}from"react/jsx-runtime";import{jsx as EL}from"react/jsx-runtime";import{jsx as KL}from"react/jsx-runtime";import{jsx as DL}from"react/jsx-runtime";import{Fragment as Sn,jsx as H,jsxs as qe}from"react/jsx-runtime";var ar="k-combobox",Ol=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],wl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},We={size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},Yt=t=>{let{size:e=We.size,rounded:o=We.rounded,fillMode:r=We.fillMode,separators:p=We.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:G,adaptiveSettings:ut,adaptiveTitle:Te,adaptiveSubtitle:Ae,adaptiveCustomValue:Oo,...wo}=t;return qe(Sn,{children:[qe(P,{...wo,size:e,rounded:o,fillMode:r,hover:x,focus:N,valid:g,invalid:m,required:S,loading:v,disabled:M,readonly:E,className:a(t.className,ar),children:[c&&qe(Sn,{children:[H(Q,{children:c}),p&&H(j,{})]}),H(pt,{placeholder:b,value:u}),H(q,{valid:g,invalid:m,loading:v,disabled:M}),H(Y,{loading:v,disabled:M}),H(lt,{loading:v,disabled:M,readonly:E,value:u}),i&&qe(Sn,{children:[p&&H(j,{}),H(Z,{children:i})]}),H(h,{className:"k-input-button",icon:"caret-alt-down",rounded:null,size:e,fillMode:r})]}),T&&y&&H(R,{className:"k-list-container k-combobox-popup",children:y}),G&&H(ct,{adaptive:!0,...ut,header:H(tt,{actionsEnd:H(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),input:!0,inputValue:u,inputPlaceholder:b,title:Te,subtitle:Ae}),children:H("div",{className:"k-list-container",children:qe(z,{customValue:Oo?H(wt,{text:`Use "${u}"`}):void 0,size:"large",children:[H(I,{text:"List item"}),H(I,{text:"List item"}),H(I,{text:"List item"})]})})})]})};Yt.states=Ol;Yt.options=wl;Yt.className=ar;Yt.defaultOptions=We;import{jsx as iC}from"react/jsx-runtime";import{jsx as dC,jsxs as uC}from"react/jsx-runtime";import{jsx as NC,jsxs as SC}from"react/jsx-runtime";import{jsx as CC,jsxs as MC}from"react/jsx-runtime";import{jsx as AC}from"react/jsx-runtime";import{Fragment as wC,jsx as OC}from"react/jsx-runtime";import{Fragment as $C,jsx as DC}from"react/jsx-runtime";import{jsx as JC,jsxs as UC}from"react/jsx-runtime";import{Fragment as tM,jsx as ZC,jsxs as jC}from"react/jsx-runtime";import{Fragment as Hl,jsx as rr,jsxs as Gl}from"react/jsx-runtime";var sr="k-menu-button",Kl=[n.hover,n.focus,n.active,n.selected,n.disabled],Rl={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]},Qt={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,showArrow:!0,arrowIconName:"caret-alt-down"},rt=t=>{let{size:e=Qt.size,rounded:o=Qt.rounded,fillMode:r=Qt.fillMode,themeColor:p=Qt.themeColor,hover:c,focus:i,active:u,selected:b,disabled:x,icon:N,text:g,showArrow:m=Qt.showArrow,arrowIconName:S=Qt.arrowIconName,popup:v,opened:M,...y}=t;return Gl(Hl,{children:[rr(h,{...y,className:a(t.className,sr),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&&rr(R,{className:"k-menu-popup",children:v})]})};rt.states=Kl;rt.options=Rl;rt.className=sr;rt.defaultOptions=Qt;import{jsx as vM}from"react/jsx-runtime";import{jsx as CM}from"react/jsx-runtime";import{jsx as TM}from"react/jsx-runtime";import{Fragment as Vl,jsx as ve,jsxs as ir}from"react/jsx-runtime";var gn="k-menu-item",Dl=[n.hover,n.focus,n.active,n.selected,n.disabled],$l={},lr={iconPosition:"before"},kt=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=lr.iconPosition,dir:S,children:v,...M}=t,y=ve(Vl,{});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"),ir("li",{...M,className:a(t.className,gn,"k-item",L(gn,{focus:o,disabled:c,hover:e,active:r,selected:p}),{"k-first":b,"k-last":x}),children:[ir("span",{className:a("k-link k-menu-link"),children:[i&&m==="before"&&ve(C,{className:"k-menu-link-icon",icon:i}),ve("span",{className:"k-menu-link-text",children:u}),i&&m==="after"&&ve(C,{className:"k-menu-link-icon",icon:i}),N&&ve("span",{className:"k-menu-expand-arrow",children:ve(C,{icon:T})})]}),y]})};kt.states=Dl;kt.options=$l;kt.className=gn;kt.defaultOptions=lr;import{Fragment as Xl,jsx as ge,jsxs as pr}from"react/jsx-runtime";var kn="k-menu-item",_l=[n.hover,n.focus,n.active,n.selected,n.disabled],Fl={},Ln={dir:"ltr",iconPosition:"before"},bt=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=ge(Xl,{});v&&v.forEach(G=>{if(G.type==="MenuListItemContent"){T.props.children.push(G);return}});let E=g;return E||(E=S==="rtl"?"caret-alt-left":"caret-alt-right"),pr("li",{...y,className:a(t.className,kn,"k-item",L(kn,{focus:o,disabled:c}),{"k-first":b,"k-last":x}),children:[pr("span",{className:a("k-link k-menu-link",L("k-menu-link",{hover:e,active:r,selected:p,disabled:c})),children:[i&&m==="before"&&ge(C,{className:"k-menu-link-icon",icon:i}),ge("span",{className:"k-menu-link-text",children:u}),i&&m==="after"&&ge(C,{className:"k-menu-link-icon",icon:i}),N&&ge("span",{className:"k-menu-expand-arrow",children:ge(C,{icon:E})})]}),T,M]})};bt.states=_l;bt.options=Fl;bt.className=kn;bt.defaultOptions=Ln;import{jsx as Wl}from"react/jsx-runtime";var cr="k-menu-scroll-wrapper",Jl=[],Ul={},ql={},Ye=t=>{let{className:e,children:o,orientation:r,...p}=t;return Wl("div",{...p,className:a(e,cr,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:o})};Ye.states=Jl;Ye.options=Ul;Ye.className=cr;Ye.defaultOptions=ql;var mr=Ye;import{Fragment as Cn,jsx as Zt,jsxs as Lo}from"react/jsx-runtime";var Mn="k-menu",Yl=[],Ql={},Co={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Lt=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=Zt("ul",{dir:u,...x,className:a(t.className,"k-reset",Mn,{[`${Mn}-${o}`]:o,"k-header":r}),children:e});return Lo(Cn,{children:[p?Lo(mr,{orientation:o,style:i,dir:t.dir,children:[c==="start"&&Lo(Cn,{children:[Zt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Zt(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"&&Zt(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:[Zt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Zt(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"&&Zt(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]})};Lt.states=Yl;Lt.options=Ql;Lt.className=Mn;Lt.defaultOptions=Co;import{jsx as Zl}from"react/jsx-runtime";var In="k-separator",dr={orientation:"horizontal"},Qe=t=>{let{orientation:e=dr.orientation,...o}=t;return Zl("li",{...o,className:a(t.className,"k-item",In,{[`${In}-${e}`]:e})})};Qe.className=In;Qe.defaultOptions=dr;import{Fragment as QM,jsx as ZM}from"react/jsx-runtime";import{jsx as ur}from"react/jsx-runtime";import{createElement as ep}from"react";var yn="k-menu-group",jl=[],tp={size:[s.small,s.medium,s.large]},Tn={size:s.medium,dir:"ltr"},jt=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===bt?c.push(ep(bt,{...i.props,dir:r,key:u})):i.type===Qe?c.push(ur(Qe,{})):c.push(i)}),ur("ul",{...p,className:a(t.className,yn,k(yn,{size:o})),children:c})};jt.states=jl;jt.options=tp;jt.className=yn;jt.defaultOptions=Tn;import{Fragment as lI,jsx as iI,jsxs as pI}from"react/jsx-runtime";import{Fragment as xI,jsx as fI,jsxs as bI}from"react/jsx-runtime";import{Fragment as gI,jsx as vI,jsxs as kI}from"react/jsx-runtime";import{Fragment as yI,jsx as II,jsxs as TI}from"react/jsx-runtime";import{Fragment as zI,jsx as EI,jsxs as OI}from"react/jsx-runtime";import{jsx as ZI,jsxs as jI}from"react/jsx-runtime";import{Fragment as ap,jsx as An,jsxs as fr}from"react/jsx-runtime";var Bn="k-split-button",op=[n.hover,n.focus,n.active,n.selected,n.disabled],np={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]},ke={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,arrowIconName:"caret-alt-down"},J=t=>{let{size:e=ke.size,rounded:o=ke.rounded,fillMode:r=ke.fillMode,themeColor:p=ke.themeColor,hover:c,focus:i,active:u,selected:b,disabled:x,icon:N,text:g,arrowIconName:m=ke.arrowIconName,popup:S,opened:v,...M}=t;return fr(ap,{children:[fr("div",{...M,className:a(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(R,{className:"k-menu-popup",children:S})]})};J.states=op;J.options=np;J.className=Bn;J.defaultOptions=ke;var Pn=J;import{jsx as sp}from"react/jsx-runtime";var rp="k-toolbar-separator",te=t=>sp("div",{className:a(rp,t.className,"k-separator")});import{Fragment as En,jsx as B,jsxs as Le}from"react/jsx-runtime";var Ct="k-toolbar",ip=[n.focus],lp={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===V)v.push(B(V,{...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===rt)v.push(B(rt,{...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===Yt?v.push(B(Yt,{...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===gt?v.push(B(gt,{...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)}),Le("div",{...x,className:a(t.className,Ct,k(Ct,{size:e,fillMode:o}),L(Ct,{focus:r}),{[`${Ct}-resizable`]:p,[`${Ct}-scrollable`]:c,[`${Ct}-scrollable-overlay`]:c&&i==="hidden",[`${Ct}-scrollable-${u}`]:u&&u!=="both",[`${Ct}-section`]:b}),children:[!c&&N,c&&i==="hidden"&&B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),c&&i==="start"&&Le(En,{children:[Le(O,{children:[B("span",{className:a("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:a("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(te,{className:"k-toolbar-button-separator"}),B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),c&&i==="end"&&Le(En,{children:[B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),B(te,{className:"k-toolbar-button-separator"}),Le(O,{children:[B("span",{className:a("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:a("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)&&Le(En,{children:[B("span",{className:a("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(te,{className:"k-toolbar-button-separator"}),B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),B(te,{className:"k-toolbar-button-separator"}),B("span",{className:a("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=ip;_.options=lp;_.className=Ct;_.defaultOptions=zn;import{jsx as dp}from"react/jsx-runtime";var On="k-toolbar-item",pp=[n.focus],cp={},mp={},Mo=t=>{let{focus:e,...o}=t;return dp("div",{...o,className:a(t.className,On,L(On,{focus:e})),children:t.children})};Mo.states=pp;Mo.options=cp;Mo.className=On;Mo.defaultOptions=mp;import{jsx as br}from"react/jsx-runtime";var xr="k-toolbar-popup",up=[],fp={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 br(R,{...p,className:a(t.className,xr),children:r?br("span",{className:a("k-toolbar-items-list",k("k-toolbar-items-list",{size:e,fillMode:o})),children:t.children}):t.children})};Io.states=up;Io.options=fp;Io.className=xr;Io.defaultOptions=wn;import{jsx as Ky}from"react/jsx-runtime";import{jsx as Dy}from"react/jsx-runtime";import{jsx as Fy}from"react/jsx-runtime";import{jsx as Wy,jsxs as Yy}from"react/jsx-runtime";import{jsx as cT,jsxs as mT}from"react/jsx-runtime";import{jsx as vT,jsxs as gT}from"react/jsx-runtime";import{jsx as AT,jsxs as BT}from"react/jsx-runtime";import{jsx as HT,jsxs as GT}from"react/jsx-runtime";import{Fragment as ZT,jsx as YT,jsxs as QT}from"react/jsx-runtime";import{jsx as bp}from"react/jsx-runtime";var hr="k-speech-to-text-button",Nr={icon:"microphone-outline"},W=t=>{let{listening:e=!1,icon:o=Nr.icon,...r}=t;return bp(h,{...r,icon:e?"stop-sm":o,className:a(t.className,hr,{"k-listening":e})})};W.states=h.states;W.options=h.options;W.className=hr;W.defaultOptions=Nr;import{jsx as SA}from"react/jsx-runtime";import{jsx as LA}from"react/jsx-runtime";import{Fragment as Sr,jsx as Ze,jsxs as Kn}from"react/jsx-runtime";var vr="k-textarea",xp=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],hp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Mt={size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},dt=t=>{let{size:e=Mt.size,rounded:o=Mt.rounded,fillMode:r=Mt.fillMode,prefixSeparator:p=Mt.prefixSeparator,suffixSeparator:c=Mt.prefixSeparator,affixesOrientation:i=Mt.affixesOrientation,flow:u=Mt.flow,resize:b=Mt.resize,prefix:x,suffix:N,rows:g,value:m,placeholder:S,hover:v,focus:M,valid:y,invalid:T,required:E,disabled:G,...ut}=t;return Kn(P,{...ut,size:e,rounded:o,fillMode:r,hover:v,focus:M,valid:y,invalid:T,required:E,disabled:G,className:a(t.className,vr,{"!k-flex-col":u==="vertical","!k-flex-row":u==="horizontal"}),children:[x&&Kn(Sr,{children:[Ze(Q,{className:a({"!k-align-items-start":u===i}),direction:i,children:x}),p&&Ze(j,{direction:u==="horizontal"?"vertical":"horizontal"})]}),Ze(Ke,{className:a("!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&&Kn(Sr,{children:[c&&Ze(j,{direction:u==="horizontal"?"vertical":"horizontal"}),Ze(Z,{className:a({"!k-align-items-start":u===i}),direction:i,children:N})]})]})};dt.states=xp;dt.options=hp;dt.className=vr;dt.defaultOptions=Mt;import{jsx as wA}from"react/jsx-runtime";import{Fragment as $A,jsx as DA}from"react/jsx-runtime";import{Fragment as UA,jsx as JA}from"react/jsx-runtime";import{Fragment as pB,jsx as iB,jsxs as lB}from"react/jsx-runtime";import{jsx as Hn,jsxs as vp}from"react/jsx-runtime";var kr="k-suggestion-group",Np=[],Sp={},Lr={scrollable:!0},ee=t=>{let{scrollable:e=Lr.scrollable,...o}=t,r=Hn("div",{...o,className:a(kr,t.className),children:t.children});return e?vp("div",{className:"k-suggestion-scrollwrap",children:[Hn(h,{icon:"chevron-left"}),r,Hn(h,{icon:"chevron-right"})]}):r};ee.states=Np;ee.options=Sp;ee.className=kr;ee.defaultOptions=Lr;import{jsx as Cp}from"react/jsx-runtime";var yo="k-suggestion",gp=[n.active,n.hover,n.focus],kp={themeColor:[l.base,l.primary,l.secondary]},Lp={text:"Suggestion"},oe=t=>{let{themeColor:e,active:o,hover:r,focus:p,text:c,...i}=t;return Cp("span",{...i,className:a(t.className,yo,L(yo,{hover:r,active:o,focus:p}),k(yo,{themeColor:e})),children:c})};oe.states=gp;oe.options=kp;oe.className=yo;oe.item=Lp;import{Fragment as gB,jsx as vB,jsxs as kB}from"react/jsx-runtime";import{Fragment as yB,jsx as IB,jsxs as TB}from"react/jsx-runtime";import{Fragment as XB,jsx as _B,jsxs as FB}from"react/jsx-runtime";import{jsx as YB}from"react/jsx-runtime";import{jsx as Cr}from"react/jsx-runtime";var to="k-avatar";var Ip=[n.hover,n.focus,n.active,n.selected,n.disabled],yp={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]},ne={type:"text",size:s.medium,rounded:f.full,fillMode:d.solid,themeColor:l.primary,border:!1},Ce=t=>{let{size:e=ne.size,rounded:o=ne.rounded,fillMode:r=ne.fillMode,themeColor:p=ne.themeColor,type:c=ne.type,border:i=ne.border,...u}=t;return Cr("div",{...u,className:a(t.className,to,k(to,{size:e,rounded:o,fillMode:r,themeColor:p}),{[`${to}-bordered`]:i}),children:Cr("span",{className:`${to}-${c}`,children:t.children})})};Ce.states=Ip;Ce.options=yp;Ce.className=to;Ce.defaultOptions=ne;import{jsx as nP}from"react/jsx-runtime";import{jsx as iP}from"react/jsx-runtime";import{jsx as mP}from"react/jsx-runtime";import{jsx as Me,jsxs as Bp}from"react/jsx-runtime";var To="k-chip",Tp=[n.hover,n.focus,n.active,n.selected,n.disabled],Ap={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]},Ie={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,avatarImage:"/packages/html/assets/avatar.jpg"},eo=t=>{let{size:e=Ie.size,rounded:o=Ie.rounded,fillMode:r=Ie.fillMode,themeColor:p=Ie.themeColor,text:c,icon:i,actions:u,showAvatar:b,avatarImage:x=Ie.avatarImage,hover:N,focus:g,active:m,selected:S,disabled:v,...M}=t;return Bp("div",{...M,className:a(t.className,To,k(To,{size:e,rounded:o,fillMode:r,themeColor:p}),L(To,{hover:N,focus:g,active:m,disabled:v,selected:S})),children:[i&&Me(C,{className:"k-chip-icon",icon:i,size:"small"}),b&&Me(Ce,{className:"k-chip-avatar",type:"image",children:Me("img",{src:x})}),Me("span",{className:"k-chip-content",children:t.children?t.children:c&&Me("span",{className:"k-chip-label",children:c})}),u&&Me("span",{className:"k-chip-actions",children:u})]})};eo.states=Tp;eo.options=Ap;eo.className=To;eo.defaultOptions=Ie;import{jsx as zp}from"react/jsx-runtime";var Gn="k-chip-list",Pp=[],Ep={size:[s.small,s.medium,s.large]},Ir={size:s.medium},oo=t=>{let{size:e=Ir.size,...o}=t;return zp("div",{...o,className:a(t.className,Gn,k(Gn,{size:e})),children:t.children})};oo.states=Pp;oo.options=Ep;oo.className=Gn;oo.defaultOptions=Ir;import{jsx as TP}from"react/jsx-runtime";import{jsx as EP}from"react/jsx-runtime";import{jsx as KP}from"react/jsx-runtime";import{jsx as $P}from"react/jsx-runtime";import{Fragment as UP,jsx as JP,jsxs as qP}from"react/jsx-runtime";import{Fragment as xE,jsx as fE,jsxs as bE}from"react/jsx-runtime";import{jsx as Kp}from"react/jsx-runtime";var wp="k-card-callout",yr=t=>{let{callout:e,...o}=t;return Kp("span",{...o,className:a(t.className,wp,{[`k-callout-${Vn.calloutMap[e]||e}`]:e})})};import{Fragment as Dp,jsx as Tr,jsxs as $p}from"react/jsx-runtime";var Bo="k-card",Rp=[n.hover,n.focus,n.selected,n.disabled],Hp={themeColor:[l.primary,l.success,l.warning,l.error,l.info]},Gp={},It=t=>{let{orientation:e,themeColor:o,callout:r,hover:p,focus:c,selected:i,disabled:u,...b}=t;return $p("div",{...b,className:a(t.className,Bo,k(Bo,{themeColor:o}),L(Bo,{hover:p,focus:c,disabled:u,selected:i}),{[`k-card-${e}`]:e,"k-card-with-callout":r}),children:[r&&r!=="true"&&Tr(yr,{callout:r}),Tr(Dp,{children:t.children})]})};It.states=Rp;It.options=Hp;It.className=Bo;It.defaultOptions=Gp;import{jsx as _p}from"react/jsx-runtime";var Dn="k-card-title",Vp=[n.hover,n.focus],no=t=>{let{hover:e,focus:o,...r}=t;return _p("div",{...r,className:a(t.className,Dn,L(Dn,{hover:e,focus:o})),children:t.children})};no.states=Vp;no.className=Dn;import{jsx as Xp}from"react/jsx-runtime";var Fp="k-card-subtitle",$n=t=>{let{...e}=t;return Xp("div",{...e,className:a(t.className,Fp),children:t.children})};import{Fragment as OE,jsx as zE}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 Up,jsx as ao,jsxs as qp}from"react/jsx-runtime";var Jp="k-card-body",ro=t=>{let{title:e,subtitle:o,details:r,...p}=t;return qp("div",{...p,className:a(t.className,Jp),children:[e&&ao(no,{children:e}),o&&ao($n,{children:o}),ao(Up,{children:t.children}),r&&ao("span",{className:"k-card-header-actions",children:ao(h,{className:"k-card-details",icon:"more-vertical",rounded:"medium",size:"medium",fillMode:"flat",themeColor:"base"})})]})};import{jsx as n0}from"react/jsx-runtime";import{Fragment as m0,jsx as p0,jsxs as c0}from"react/jsx-runtime";import{Fragment as S0,jsx as h0,jsxs as N0}from"react/jsx-runtime";import{jsx as G0,jsxs as D0}from"react/jsx-runtime";import{jsx as jp}from"react/jsx-runtime";var Ar="k-panelbar",Yp=[],Qp={},Zp={},ae=t=>{let{...e}=t;return jp("ul",{...e,className:a(t.className,Ar),children:t.children})};ae.states=Yp;ae.options=Qp;ae.className=Ar;ae.defaultOptions=Zp;import{jsx as Po,jsxs as Br}from"react/jsx-runtime";var Pr="k-panelbar-item",tc=[n.hover,n.focus,n.selected,n.disabled],ec={},Eo={level:0,expanded:!1,text:"Item"},Gt=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 Br("li",{...m,className:a(t.className,Pr,{"k-panelbar-header":p,[`k-level-${o}`]:o||o===0,"k-expanded":r}),children:[Br("span",{className:a("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:a("k-panelbar-toggle",r?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${r?"up":"down"}`})]}),r&&g]})};Gt.states=tc;Gt.options=ec;Gt.className=Pr;Gt.defaultOptions=Eo;import{jsx as rc}from"react/jsx-runtime";var Er="k-panelbar-group",oc=[],nc={},ac={},ye=t=>{let{...e}=t;return rc("ul",{...e,className:a(t.className,Er),children:t.children})};ye.states=oc;ye.options=nc;ye.className=Er;ye.defaultOptions=ac;import{jsx as pc}from"react/jsx-runtime";var zr="k-panelbar-content",sc=[],ic={},lc={},re=t=>{let{...e}=t;return pc("div",{...e,className:a(t.className,zr),children:t.children})};re.states=sc;re.options=ic;re.className=zr;re.defaultOptions=lc;import{Fragment as az,jsx as nz,jsxs as rz}from"react/jsx-runtime";import{Fragment as cz,jsx as pz,jsxs as mz}from"react/jsx-runtime";import{Fragment as hz,jsx as bz,jsxs as xz}from"react/jsx-runtime";import{jsx as zz,jsxs as Oz}from"react/jsx-runtime";import{Fragment as Jz,jsx as Fz,jsxs as Xz}from"react/jsx-runtime";import{Fragment as tO,jsx as jz,jsxs as eO}from"react/jsx-runtime";import{Fragment as Or,jsx as st,jsxs as zo}from"react/jsx-runtime";var yO=({text:t,...e})=>st(U,{...e,children:st(xt,{children:zo(ht,{children:[zo(It,{children:[st(ro,{style:{maxHeight:"150px",overflowY:"auto"},children:t}),zo(D,{className:"k-card-actions",alignment:"start",children:[st(V,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),st(V,{fillMode:"flat",themeColor:"primary",icon:"insert-bottom",children:"Insert"}),st(V,{fillMode:"flat",themeColor:"primary",icon:"check",children:"Replace"}),st(V,{fillMode:"flat",themeColor:"base",icon:"cancel-outline",children:"Discard"})]})]}),st(dt,{rows:1,placeholder:"Edit, generate or explain ...",resize:"none",flow:"horizontal",suffixSeparator:!1,prefix:zo(Or,{children:[st(F,{fillMode:"flat",icon:"menu"}),st(W,{fillMode:"flat"})]}),suffix:st(Or,{children:st($t,{disabled:!0})})})]})})});export{yO as PromptInline};