@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines • 80 kB
JavaScript
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"},p={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"},Fn={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{jsx as Dr}from"react/jsx-runtime";var lo="k-actions",Hr=[],Gr={},Go={alignment:"start",orientation:"horizontal"},G=t=>{let{alignment:e=Go.alignment,orientation:o=Go.orientation,...r}=t;return Dr("div",{...r,className:n(lo,{[`${lo}-${e}`]:e,[`${lo}-${o}`]:o},t.className),children:t.children})};G.states=Hr;G.options=Gr;G.className=lo;G.defaultOptions=Go;import{Fragment as Fr,jsx as Xn}from"react/jsx-runtime";var Do="k-icon k-font-icon",$r=[],Vr={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark]},_r={},we=t=>{let{size:e,themeColor:o,icon:r,rotate:l,flip:c,...i}=t;return r?Xn("span",{...i,className:n(t.className,Do,k(Do,{size:e}),{[`k-i-${r}`]:r,[`k-color-${o}`]:o,[`k-rotate-${l}`]:l,"k-flip-h":c==="h"||c==="both","k-flip-v":c==="v"||c==="both"})}):Xn(Fr,{})};we.states=$r;we.options=Vr;we.className=Do;we.defaultOptions=_r;var Jn=we;import{Fragment as Ur,jsx as po}from"react/jsx-runtime";var $o="k-icon k-svg-icon",Xr=[],Jr={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark]},Un={viewBox:"0 0 24 24"},Ke=t=>{let{size:e,themeColor:o,rotate:r,flip:l,viewBox:c=Un.viewBox,icon:i,...u}=t;if(!i)return po(Ur,{});i==="none"&&{...u,className:n(t.className,$o,"k-none")};let b=typeof i=="object"&&i.name&&i.name;return po("span",{...u,className:n(t.className,$o,k("k-icon",{size:e}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),children:po("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})})};Ke.states=Xr;Ke.options=Jr;Ke.className=$o;Ke.defaultOptions=Un;var Vo=Ke;import*as qn from"@progress/kendo-svg-icons";import{Fragment as Wn,jsx as Re}from"react/jsx-runtime";var qr=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),Wr=[],Yr={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark]},_o={viewBox:"0 0 24 24",type:"svg"},C=t=>{let{size:e,themeColor:o,icon:r,type:l=_o.type,rotate:c,flip:i,viewBox:u=_o.viewBox,...b}=t;if(!r)return Re(Wn,{});if(l==="svg"){if(r==="none")return Re(Vo,{...b,icon:r,size:e});let h=qr(`${r}-icon`);return qn[h]?Re(Vo,{...b,icon:qn[h],size:e,themeColor:o,rotate:c,flip:i,viewBox:u}):Re(Wn,{})}return Re(Jn,{...b,icon:r,size:e,themeColor:o,rotate:c,flip:i})};C.states=Wr;C.options=Yr;C.defaultOptions=_o;import{Fragment as jr,jsx as He,jsxs as Yn}from"react/jsx-runtime";var co="k-button",Qr=[a.hover,a.focus,a.active,a.selected,a.disabled],Zr={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:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark,p.inverse]},$t={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:p.base,showArrow:!1,arrowIconName:"caret-alt-down"},x=t=>{let{size:e=$t.size,rounded:o=$t.rounded,fillMode:r=$t.fillMode,themeColor:l=$t.themeColor,showArrow:c=$t.showArrow,arrowIconName:i=$t.arrowIconName,hover:u,focus:b,active:h,selected:N,disabled:g,icon:m,text:S,iconClassName:v,...M}=t,y=m!==void 0,T=t.children!==void 0;return Yn("button",{...M,className:n(t.className,co,k(co,{size:e,rounded:o,fillMode:r,themeColor:l}),L(co,{hover:u,focus:b,active:h,disabled:g,selected:N}),{"k-icon-button":!S&&!T&&y}),children:[m&&He(C,{className:n(v,"k-button-icon"),icon:m}),S?Yn(jr,{children:[S&&He("span",{className:"k-button-text",children:S}),t.children]}):t.children&&He("span",{className:"k-button-text",children:t.children}),c&&He("span",{className:"k-menu-button-arrow k-button-arrow",children:He(C,{icon:i})})]})};x.states=Qr;x.options=Zr;x.className=co;x.defaultOptions=$t;import{jsx as ts}from"react/jsx-runtime";var w=t=>ts(x,{icon:"folder",...t,children:void 0});import{jsx as es}from"react/jsx-runtime";var _=t=>es(x,{icon:"folder",children:"Button",...t});import{jsx as em}from"react/jsx-runtime";import{jsx as as}from"react/jsx-runtime";var Ge="k-button-group",os=[a.disabled],ns={fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},Qn={fillMode:d.solid},K=t=>{let{fillMode:e=Qn.fillMode,disabled:o,stretched:r,...l}=t;return as("div",{...l,className:n(t.className,Ge,k(Ge,{fillMode:e}),L(Ge,{disabled:o}),{[`${Ge}-stretched`]:r}),children:t.children})};K.states=os;K.options=ns;K.className=Ge;K.defaultOptions=Qn;import{Fragment as bm,jsx as fm,jsxs as xm}from"react/jsx-runtime";import{Fragment as km,jsx as gm,jsxs as Lm}from"react/jsx-runtime";import{Fragment as Am,jsx as Tm,jsxs as Bm}from"react/jsx-runtime";import{Fragment as Km,jsx as wm,jsxs as Rm}from"react/jsx-runtime";import{jsx as is}from"react/jsx-runtime";var mo="k-input",rs=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],ss={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},uo={size:s.medium,rounded:s.medium,fillMode:d.solid},P=t=>{let{hover:e,focus:o,disabled:r,invalid:l,valid:c,loading:i,readonly:u,size:b=uo.size,rounded:h=uo.rounded,fillMode:N=uo.fillMode,...g}=t;return is("span",{...g,className:n(t.className,mo,k(mo,{size:b,rounded:h,fillMode:N}),L(mo,{hover:e,focus:o,disabled:r,invalid:l,valid:c,loading:i,readonly:u}))})};P.states=rs;P.options=ss;P.className=mo;P.defaultOptions=uo;import{jsx as cs}from"react/jsx-runtime";var fo="k-picker",ls=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],ps={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},bo={size:s.medium,rounded:f.medium,fillMode:d.solid},it=t=>{let{hover:e,focus:o,disabled:r,invalid:l,valid:c,loading:i,readonly:u,size:b=bo.size,rounded:h=bo.rounded,fillMode:N=bo.fillMode,...g}=t;return cs("span",{...g,className:n(t.className,fo,k(fo,{size:b,rounded:h,fillMode:N}),L(fo,{hover:e,focus:o,disabled:r,invalid:l,valid:c,loading:i,readonly:u})),children:t.children})};it.states=ls;it.options=ps;it.className=fo;it.defaultOptions=bo;import{Fragment as us,jsx as Fo}from"react/jsx-runtime";var Zn="k-clear-value",ms=[a.disabled,a.loading,a.readonly],ds={},lt=t=>{let{disabled:e,loading:o,readonly:r,value:l}=t;return e||r||o||!l?Fo(us,{}):Fo("span",{className:n(t.className,Zn),children:Fo(C,{icon:"x"})})};lt.states=ms;lt.options=ds;lt.className=Zn;import{jsx as xs}from"react/jsx-runtime";var Xo="k-input-inner",fs=[],bs={},xo={type:"text",autocomplete:"off",value:"",placeholder:""},pt=t=>{let{value:e=xo.value,type:o=xo.type,placeholder:r=xo.placeholder,autocomplete:l=xo.autocomplete,...c}=t;return xs("input",{...c,type:o,className:n(t.className,Xo,k(Xo,t)),placeholder:r,autoComplete:l,defaultValue:e})};pt.states=fs;pt.options=bs;pt.className=Xo;import{jsx as jn,jsxs as Ss}from"react/jsx-runtime";var Jo="k-input-inner",hs=[],Ns={},Vt=t=>{let{value:e,placeholder:o,showValue:r,valueIcon:l,valueIconName:c,...i}=t;return Ss("span",{...i,className:n(t.className,Jo,k(Jo,t)),children:[l,!l&&c&&jn(C,{className:"k-input-value-icon",icon:c}),r&&!e&&o,r&&e&&jn("span",{className:"k-input-value-text",children:e})]})};Vt.states=hs;Vt.options=Ns;Vt.className=Jo;import{jsx as ks}from"react/jsx-runtime";var Uo="k-input-inner",vs=[],gs={},ta={value:"",placeholder:""},De=t=>{let{value:e=ta.value,placeholder:o=ta.placeholder,rows:r,...l}=t;return ks("textarea",{...l,className:n(t.className,Uo,k(Uo,t)),placeholder:o,rows:r,defaultValue:e})};De.states=vs;De.options=gs;De.className=Uo;import{Fragment as Cs,jsx as ea}from"react/jsx-runtime";var oa="k-input-loading-icon",Ls=[a.disabled,a.loading],Y=t=>{let{disabled:e,loading:o}=t;return e||!o?ea(Cs,{}):ea("span",{className:n(t.className,oa,"k-icon k-i-loading")})};Y.states=Ls;Y.className=oa;import{Fragment as ys,jsx as na}from"react/jsx-runtime";var aa="k-input-validation-icon",Ms=[a.valid,a.invalid,a.disabled,a.loading],Is={},q=t=>{let{valid:e,invalid:o,disabled:r,loading:l}=t,c=o?"warning-circle":"check-circle";return r||l||!!!(e||o)?na(ys,{}):na(C,{className:n(aa),icon:c})};q.states=Ms;q.options=Is;q.className=aa;import{Fragment as Bs,jsx as ra}from"react/jsx-runtime";var Ts="k-input-prefix",As={direction:"horizontal"},Q=t=>{let{direction:e=As.direction,...o}=t;return t.children?ra("span",{...o,className:n(Ts,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):ra(Bs,{})};import{Fragment as zs,jsx as sa}from"react/jsx-runtime";var Ps="k-input-suffix",Es={direction:"horizontal"},Z=t=>{let{direction:e=Es.direction,...o}=t;return t.children?sa("span",{...o,className:n(Ps,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):sa(zs,{})};import{jsx as Id}from"react/jsx-runtime";import{jsx as Bd}from"react/jsx-runtime";import{jsx as ws}from"react/jsx-runtime";var ia="k-input-separator",Os={direction:"vertical"},j=t=>{let{direction:e=Os.direction,...o}=t;return ws("span",{...o,className:n(ia,t.className,{[`${ia}-${e}`]:e})})};import{jsx as la,jsxs as Hs}from"react/jsx-runtime";var pa="k-color-preview",Ks=[],Rs={},yt=t=>{let{color:e,iconName:o,...r}=t;return Hs("span",{...r,className:n(t.className,pa,{"k-icon-color-preview":o,"k-no-color":!e}),children:[o&&la(C,{icon:o,className:"k-color-preview-icon"}),la("span",{className:"k-color-preview-mask",style:{backgroundColor:e}})]})};yt.states=Ks;yt.options=Rs;yt.className=pa;import{jsx as ca}from"react/jsx-runtime";var ma="k-animation-container",Gs=[],Ds={},da={positionMode:"absolute"},Tt=t=>{let{positionMode:e=da.positionMode,animationStyle:o,offset:r,...l}=t;return ca("div",{...l,style:{...r,...t.style},className:n(t.className,ma,"k-animation-container-shown",{"k-animation-container-fixed":e==="fixed"}),children:ca("div",{className:"k-child-animation-container",style:o,children:t.children})})};Tt.states=Gs;Tt.options=Ds;Tt.className=ma;Tt.defaultOptions=da;import{jsx as ua}from"react/jsx-runtime";var fa="k-popup",$s=[],Vs={},ba={positionMode:"absolute"},D=t=>{let{offset:e,positionMode:o=ba.positionMode,animationStyle:r,...l}=t;return ua(Tt,{positionMode:o,offset:e,animationStyle:r,children:ua("div",{...l,className:n(t.className,fa),children:t.children})})};D.states=$s;D.options=Vs;D.className=fa;D.defaultOptions=ba;import{jsx as Fs}from"react/jsx-runtime";var _s="k-actionsheet-footer",xa={alignment:"stretched",orientation:"horizontal"},$e=t=>{let{alignment:e=xa.alignment,orientation:o=xa.orientation,template:r,as:l=r?"div":G,...c}=t;return Fs(l,{...c,...!r&&{alignment:e,orientation:o},className:n(t.className,_s),children:t.children})};import{jsx as Ve,jsxs as Us}from"react/jsx-runtime";var ha="k-searchbox",Xs=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],Js={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},qo={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:l,fillMode:c,hover:i,focus:u,valid:b,invalid:h,required:N,loading:g,disabled:m,showIcon:S=qo.showIcon,icon:v=qo.icon,...M}=t;return Us(P,{...M,size:r,rounded:l,fillMode:c,hover:i,focus:u,valid:b,invalid:h,required:N,loading:g,disabled:m,className:n(t.className,ha),children:[S&&Ve(C,{className:"k-input-icon",icon:v}),Ve(pt,{placeholder:o,value:e}),Ve(Y,{...t}),Ve(q,{...t}),Ve(lt,{...t})]})};ht.states=Xs;ht.options=Js;ht.className=ha;ht.defaultOptions=qo;import{jsx as Cu}from"react/jsx-runtime";import{Fragment as Na,jsx as At,jsxs as Wo}from"react/jsx-runtime";var Sa="k-textbox",qs=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ws={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:l=_t.separators,showClearButton:c=_t.showClearButton,showValidationIcon:i=_t.showValidationIcon,prefix:u,suffix:b,type:h,value:N,placeholder:g,hover:m,focus:S,valid:v,invalid:M,required:y,loading:T,disabled:E,readonly:V,...dt}=t;return Wo(P,{...dt,size:e,rounded:o,fillMode:r,hover:m,focus:S,valid:v,invalid:M,required:y,loading:T,disabled:E,readonly:V,className:n(t.className,Sa),children:[u&&Wo(Na,{children:[At(Q,{children:u}),l&&At(j,{})]}),At(pt,{placeholder:g,value:N,type:h}),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:V,value:N}),b&&Wo(Na,{children:[l&&At(j,{}),At(Z,{children:b})]})]})};Bt.states=qs;Bt.options=Ws;Bt.className=Sa;Bt.defaultOptions=_t;import{jsx as wu}from"react/jsx-runtime";import{Fragment as $u,jsx as Du}from"react/jsx-runtime";import{Fragment as qu,jsx as Uu}from"react/jsx-runtime";import{jsx as Pt,jsxs as Yo}from"react/jsx-runtime";var ga="k-actionsheet-titlebar",Ys={},tt=t=>{let{title:e,subtitle:o,actionsStart:r,actionsEnd:l,filter:c,input:i,inputValue:u,inputPlaceholder:b,adaptive:h,children:N,...g}=t;return Yo("div",{...g,className:n(t.className,ga),children:[Yo("div",{className:"k-actionsheet-titlebar-group",children:[r&&Pt("div",{className:"k-actionsheet-actions",children:r}),!N&&Yo("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}),l&&Pt("div",{className:"k-actionsheet-actions",children:l})]}),(i||c)&&Pt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:i?Pt(Bt,{value:u,placeholder:b,size:h?"large":"medium"}):Pt(ht,{placeholder:"Filter",size:h?"large":"medium"})})]})};tt.className=ga;tt.defaultOptions=Ys;import{jsx as Qo,jsxs as ti}from"react/jsx-runtime";var Zo="k-actionsheet-view",Qs=[],Zs={},js={},ie=t=>{let{adaptive:e,animated:o,children:r,header:l,footer:c,...i}=t,u=l?.type===tt&&Qo(tt,{adaptive:e,...l?.props}),b=c?.type===$e&&Qo($e,{...c?.props});return ti("div",{...i,className:n(t.className,Zo,{[`${Zo}-animated`]:o}),children:[u,Qo("div",{className:"k-actionsheet-content",children:r}),b]})};ie.states=Qs;ie.options=Zs;ie.className=Zo;ie.defaultOptions=js;import{jsx as ho,jsxs as ni}from"react/jsx-runtime";var ka="k-actionsheet",ei=[],oi={},_e={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ct=t=>{let{side:e=_e.side,fullscreen:o=_e.fullscreen,adaptive:r=_e.adaptive,overlay:l=_e.overlay,template:c,children:i,header:u,footer:b,...h}=t;return ni("div",{className:"k-actionsheet-container",children:[l&&ho("div",{className:"k-overlay"}),ho(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:ho("div",{...h,className:n(t.className,ka,{[`k-actionsheet-${e}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:c||ho(ie,{header:u,footer:b,adaptive:r,...t,children:i})})})]})};ct.states=ei;ct.options=oi;ct.className=ka;ct.defaultOptions=_e;import{jsx as Sf}from"react/jsx-runtime";import{Fragment as ri,jsx as Fe,jsxs as jo}from"react/jsx-runtime";var tn="k-actionsheet-item",ai=[a.hover,a.focus,a.selected,a.disabled],en=t=>{let{iconName:e,text:o,description:r,hover:l,focus:c,selected:i,disabled:u,...b}=t;return jo("span",{...b,className:n(t.className,tn,L(tn,{hover:l,focus:c,selected:i,disabled:u})),children:[!t.children&&Fe(ri,{children:jo("span",{className:"k-actionsheet-action",children:[e&&Fe("span",{className:"k-icon-wrap",children:Fe(C,{className:"k-actionsheet-item-icon",icon:e})}),jo("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]})};en.states=ai;en.className=tn;import{jsx as Tf,jsxs as Af}from"react/jsx-runtime";import{jsx as zf}from"react/jsx-runtime";import{jsx as Rf}from"react/jsx-runtime";import{jsx as $f}from"react/jsx-runtime";import{jsx as le,jsxs as on}from"react/jsx-runtime";var Xe="k-slider",si=[a.hover,a.focus,a.active,a.disabled,a.readonly],ii={},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:l=Et.disabled,handlePosition:c=Et.handlePosition,showButtons:i=Et.showButtons,showTicks:u=Et.showTicks,hover:b,focus:h,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"),on("div",{...S,className:n(Xe,t.className,L(Xe,{readonly:r,disabled:l}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":e==="gradient"}),dir:m,children:[i&&le(x,{className:"k-button-decrease",rounded:"full",icon:M}),on("div",{className:"k-slider-track-wrap",children:[u&&le("ul",{className:"k-reset k-slider-items",children:t.children}),on("div",{className:"k-slider-track",style:g,children:[le("div",{className:"k-slider-selection"}),e==="range"&&le("span",{className:n("k-draghandle","k-draghandle-start",L(Xe,{hover:b,focus:h,active:N}))}),le("span",{className:n("k-draghandle",`k-draghandle-${c}`,L(Xe,{hover:b,focus:h,active:N}))})]})]}),i&&le(x,{className:"k-button-increase",rounded:"full",icon:v})]})};et.states=si;et.options=ii;et.className=Xe;et.defaultOptions=Et;import{jsx as Ca}from"react/jsx-runtime";var Ma="k-tick",li=[],pi={},Ia={label:!1},zt=t=>{let{style:e,label:o=Ia.label,orientation:r,large:l,text:c,...i}=t;return Ca("li",{...i,className:n(t.className,Ma,{[`k-tick-${r}`]:r,"k-tick-large":l}),style:e,children:o&&Ca("span",{className:"k-label",children:c})})};zt.states=li;zt.options=pi;zt.className=Ma;zt.defaultOptions=Ia;import{Fragment as cb,jsx as pb,jsxs as mb}from"react/jsx-runtime";import{Fragment as xb,jsx as bb,jsxs as hb}from"react/jsx-runtime";import{Fragment as kb,jsx as gb,jsxs as Lb}from"react/jsx-runtime";import{Fragment as Tb,jsx as yb,jsxs as Ab}from"react/jsx-runtime";import{jsx as ci}from"react/jsx-runtime";var nn=t=>ci(et,{type:"gradient",showButtons:!1,showTicks:!1,...t});import{jsx as mi}from"react/jsx-runtime";var an=t=>mi(et,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...t});import{jsx as ya,jsxs as fi}from"react/jsx-runtime";var Ta="k-spin-button",di=[],ui={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},rn={size:s.medium,fillMode:d.solid},pe=t=>{let{size:e=rn.size,fillMode:o=rn.fillMode,...r}=t;return fi("span",{...r,className:n(Ta,t.className),children:[ya(x,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:e,fillMode:o}),ya(x,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:e,fillMode:o})]})};pe.states=di;pe.options=ui;pe.className=Ta;pe.defaultOptions=rn;import{Fragment as Aa,jsx as Nt,jsxs as sn}from"react/jsx-runtime";var Ba="k-numerictextbox",bi=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],xi={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},H=t=>{let{size:e=Ft.size,rounded:o=Ft.rounded,fillMode:r=Ft.fillMode,separators:l=Ft.separators,showClearButton:c=Ft.showClearButton,showSpinButton:i=Ft.showSpinButton,prefix:u,suffix:b,value:h,placeholder:N,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,...V}=t;return sn(P,{...V,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,Ba),children:[u&&sn(Aa,{children:[Nt(Q,{children:u}),l&&Nt(j,{})]}),Nt(pt,{placeholder:N,value:h}),Nt(q,{valid:S,invalid:v,loading:y,disabled:T}),Nt(Y,{loading:y,disabled:T}),c&&Nt(lt,{loading:y,disabled:T,readonly:E,value:h}),b&&sn(Aa,{children:[l&&Nt(j,{}),Nt(Z,{children:b})]}),i&&Nt(pe,{className:"k-input-spinner",size:e,fillMode:r})]})};H.states=bi;H.options=xi;H.className=Ba;H.defaultOptions=Ft;import{jsx as rx}from"react/jsx-runtime";import{jsx as Ni}from"react/jsx-runtime";var hi="k-no-data",Je=t=>Ni("span",{className:n(hi,t.className),children:t.children});import{jsx as ce,jsxs as Ea}from"react/jsx-runtime";var ln="k-list",Si=[],vi={size:[s.small,s.medium,s.large]},za={size:s.medium},O=t=>{let{size:e=za.size,virtualization:o,children:r,optionLabel:l,customValue:c,screenReaders:i,...u}=t,b,h,N,g,m=[];return r?r.map((S,v)=>{S.type===F?(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()}`))}),h=ce(F,{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=Ea(Je,{className:"k-sr-only",children:[m.length," items found."]})))}):g=ce(Je,{children:"No data found."}),Ea("div",{...u,className:n(t.className,ln,k(ln,{size:e}),{"k-virtual-list":o}),children:[l,c,h,N,g]})};O.states=Si;O.options=vi;O.className=ln;O.defaultOptions=za;import{jsx as Xt,jsxs as Li}from"react/jsx-runtime";var pn="k-list",gi=[],ki={size:[s.small,s.medium,s.large]},Oa={size:s.medium},Jt=t=>{let{size:e=Oa.size,virtualization:o,children:r,...l}=t,c,i,u,b=[];return r?r.map((h,N)=>{h.type===F?(h.props.root===!0?(c=h.props.label,h.props.children.map((g,m)=>{b.push(Xt(I,{...g.props},`optChild-${m}-${new Date().getTime()}`))})):(b.push(Xt(wa,{...h.props,children:h.props.label},`listChild-${N}`)),h.props.children.map((g,m)=>{b.push(Xt(I,{...g.props},`fwOptChild-${m}-${new Date().getTime()}`))})),i=Xt(F,{label:c,virtualization:o,children:b})):h.type===I&&(b.push(Xt(I,{...h.props},`${h.type}-${N}`)),u=Xt(me,{virtualization:o,children:b}))}):u=Xt(Je,{children:"No data found."}),Li("div",{...l,className:n(t.className,pn,k(pn,{size:e}),{"k-virtual-list":o}),children:[i,u]})};Jt.states=gi;Jt.options=ki;Jt.className=pn;Jt.defaultOptions=Oa;import{jsx as Ka}from"react/jsx-runtime";var No="k-checkbox",Ci=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Mi={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full]},cn={size:s.medium,rounded:f.medium},Ot=t=>{let{id:e,checked:o,indeterminate:r,hover:l,focus:c,disabled:i,invalid:u,valid:b,required:h,size:N=cn.size,rounded:g=cn.rounded,...m}=t;return Ka("span",{className:"k-checkbox-wrap",children:Ka("input",{...m,id:e,type:"checkbox",defaultChecked:o,required:h,className:n(t.className,No,k(No,{size:N,rounded:g}),L(No,{hover:l,focus:c,disabled:i,invalid:u,valid:b,indeterminate:r,checked:o}))})})};Ot.states=Ci;Ot.options=Mi;Ot.className=No;Ot.defaultOptions=cn;import{jsx as Ti}from"react/jsx-runtime";var Ra="k-checkbox-list",Ii=[],yi={},Ha={layout:"vertical"},de=t=>{let{layout:e=Ha.layout,...o}=t;return Ti("ul",{...o,className:n(t.className,Ra,{[`k-list-${e}`]:e}),children:t.children})};de.states=Ii;de.options=yi;de.className=Ra;de.defaultOptions=Ha;import{jsx as Ei}from"react/jsx-runtime";var Ga="k-checkbox-list-item",Ai=[],Bi={},Pi={},ue=t=>{let{...e}=t;return Ei("li",{...e,className:n(t.className,Ga),children:t.children})};ue.states=Ai;ue.options=Bi;ue.className=Ga;ue.defaultOptions=Pi;import{Fragment as Ox,jsx as zx,jsxs as wx}from"react/jsx-runtime";import{Fragment as Dx,jsx as Gx,jsxs as $x}from"react/jsx-runtime";import{Fragment as Jx,jsx as Xx,jsxs as Ux}from"react/jsx-runtime";import{Fragment as Zx,jsx as Qx,jsxs as jx}from"react/jsx-runtime";import{jsx as nh}from"react/jsx-runtime";import{jsx as ih}from"react/jsx-runtime";import{jsx as So,jsxs as Ki}from"react/jsx-runtime";var dn="k-list-item",zi=[a.hover,a.focus,a.selected,a.disabled],Oi={},wi={},I=t=>{let{text:e,groupLabel:o,group:r,showIcon:l,iconName:c,showCheckbox:i,checked:u,hover:b,focus:h,selected:N,disabled:g,...m}=t,S=e||t.children;return Ki("li",{...m,className:n(t.className,r?"k-list-group-item":dn,L(dn,{hover:b,focus:h,disabled:g,selected:N})),children:[i&&So(Ot,{checked:u}),l&&So(C,{icon:c}),So("span",{className:"k-list-item-text",children:S}),o&&o!==""&&So("div",{className:"k-list-item-group-label",children:o})]})};I.states=zi;I.options=Oi;I.className=dn;I.defaultOptions=wi;import{jsx as un,jsxs as Hi}from"react/jsx-runtime";var Ri="k-list-content",me=t=>{let{virtualization:e,...o}=t;return Hi("div",{...o,className:n(Ri,t.className),children:[un("ul",{className:n("k-list-ul"),children:t.children}),e&&un("div",{className:"k-height-container",children:un("div",{})})]})};import{jsx as Da}from"react/jsx-runtime";var Gi="k-list-group-sticky-header",$a=t=>Da("div",{className:n(Gi,t.className),children:Da("div",{className:"k-list-header-text",children:t.children})});import{Fragment as Di,jsx as Va,jsxs as $i}from"react/jsx-runtime";var F=t=>{let{virtualization:e,label:o}=t;return $i(Di,{children:[o&&Va($a,{children:o}),t.children&&Va(me,{virtualization:e,children:t.children})]})};import{jsx as _a}from"react/jsx-runtime";var Vi="k-list-group-item",wa=t=>_a("li",{className:n(Vi,t.className),children:_a("span",{className:"k-list-item-text",children:t.children})});import{jsx as Ji}from"react/jsx-runtime";var fn="k-list-optionlabel",_i=[a.hover,a.focus,a.selected,a.disabled],Fi={},Xi={},vo=t=>{let{text:e,hover:o,focus:r,selected:l,disabled:c,...i}=t;return Ji("div",{...i,className:n(fn,L(fn,{hover:o,focus:r,selected:l,disabled:c})),children:e})};vo.states=_i;vo.options=Fi;vo.className=fn;vo.defaultOptions=Xi;import{jsx as Yi}from"react/jsx-runtime";var bn="k-list-custom-value",Ui=[a.hover,a.focus,a.selected,a.disabled],qi={},Wi={},wt=t=>{let{text:e,hover:o,focus:r,selected:l,disabled:c,...i}=t;return Yi("div",{...i,className:n(bn,L(bn,{hover:o,focus:r,selected:l,disabled:c})),children:e})};wt.states=Ui;wt.options=qi;wt.className=bn;wt.defaultOptions=Wi;import{jsx as Fh}from"react/jsx-runtime";import{jsx as qh}from"react/jsx-runtime";import{jsx as Zh,jsxs as jh}from"react/jsx-runtime";import{jsx as nN,jsxs as aN}from"react/jsx-runtime";import{jsx as lN}from"react/jsx-runtime";import{jsx as dN,jsxs as uN}from"react/jsx-runtime";import{jsx as hN,jsxs as NN}from"react/jsx-runtime";import{Fragment as ji,jsx as J,jsxs as xn}from"react/jsx-runtime";var Fa="k-dropdownlist",Qi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Zi={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:l=fe.arrowIconName,showValue:c=fe.showValue,valueIconName:i,prefix:u,suffix:b,value:h,placeholder:N,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,popup:V,opened:dt,adaptive:ze,adaptiveSettings:Oe,adaptiveTitle:Ro,adaptiveSubtitle:Ho,adaptiveFilter:Kr,...Rr}=t;return xn(ji,{children:[xn(it,{...Rr,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,Fa,{"k-icon-picker":!c&&i}),children:[J(Q,{children:u}),J(Vt,{placeholder:N,value:h,showValue:c,valueIconName:i}),J(q,{valid:S,invalid:v,loading:y,disabled:T}),J(Y,{loading:y,disabled:T}),J(Z,{children:b}),J(x,{className:"k-input-button",icon:l,rounded:null,size:t.size,fillMode:t.fillMode})]}),dt&&V&&J(D,{className:"k-list-container k-dropdownlist-popup",children:V}),ze&&J(ct,{adaptive:!0,...Oe,header:J(tt,{actionsEnd:J(x,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Kr,inputValue:h,inputPlaceholder:N,title:Ro,subtitle:Ho}),children:J("div",{className:"k-list-container",children:xn(O,{size:"large",children:[J(I,{text:"List item"}),J(I,{text:"List item"}),J(I,{text:"List item"})]})})})]})};Kt.states=Qi;Kt.options=Zi;Kt.className=Fa;Kt.defaultOptions=fe;import{jsx as qN}from"react/jsx-runtime";import{jsx as jN,jsxs as tS}from"react/jsx-runtime";import{Fragment as lS,jsx as sS,jsxs as iS}from"react/jsx-runtime";import{jsx as dS}from"react/jsx-runtime";import{jsx as hS,jsxs as NS}from"react/jsx-runtime";import{jsx as LS,jsxs as CS}from"react/jsx-runtime";import{Fragment as ES,jsx as BS,jsxs as PS}from"react/jsx-runtime";import{Fragment as DS,jsx as HS,jsxs as GS}from"react/jsx-runtime";import{Fragment as ov,jsx as ev}from"react/jsx-runtime";import{Fragment as pv,jsx as lv}from"react/jsx-runtime";import{Fragment as Ue,jsx as A,jsxs as R}from"react/jsx-runtime";var Xa="k-colorgradient-inputs",tl=[],el={size:[s.small,s.medium,s.large]},Ja={mode:"rgba",size:s.medium},be=t=>{let{mode:e=Ja.mode,size:o,...r}=t;return R("div",{...r,className:n(Xa,"k-hstack"),children:[A("div",{className:"k-vstack",children:A(x,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),e==="rgba"&&R(Ue,{children:[R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"B"})]}),R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),e==="rgb"&&R(Ue,{children:[R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),e==="hsva"&&R(Ue,{children:[R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]}),R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),e==="hsv"&&R(Ue,{children:[R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),R("div",{className:"k-vstack",children:[A(H,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),e==="hex"&&A(Ue,{children:R("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=tl;be.options=el;be.className=Xa;be.defaultOptions=Ja;import{jsx as qt,jsxs as Wt}from"react/jsx-runtime";var Ua="k-colorgradient-color-contrast",ol=[],nl={},al={},xe=()=>Wt("div",{className:n(Ua,"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=ol;xe.options=nl;xe.className=Ua;xe.defaultOptions=al;import{jsx as ot,jsxs as qe}from"react/jsx-runtime";var go="k-colorgradient",rl=[a.hover,a.focus,a.readonly,a.disabled],sl={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:l=mt.disabled,gradientStyle:c=mt.gradientStyle,dragHandleStyle:i=mt.dragHandleStyle,alphaStyle:u=mt.alphaStyle,alphaStyleHorizontal:b=mt.alphaStyleHorizontal,contrast:h=mt.contrast,dir:N,hover:g,focus:m,hoverHandle:S,focusHandle:v,canvasOrientation:M=mt.canvasOrientation,...y}=t;return qe("div",{...y,className:n(t.className,go,k(go,{size:e}),L(go,{hover:g,focus:m,readonly:r,disabled:l})),dir:N,children:[!M||M==="horizontal"&&qe("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:n("k-hsv-draghandle","k-draghandle",{"k-hover":S,"k-focus":v}),style:i})})}),qe("div",{className:"k-hsv-controls k-hstack",children:[ot(an,{className:"k-hue-slider",hover:S,focus:v}),o!=="rgb"&&o!=="hsv"&&ot(an,{className:"k-alpha-slider",hover:S,focus:v,trackStyle:u})]})]}),M==="vertical"&&qe("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:n("k-hsv-draghandle","k-draghandle",{"k-hover":S,"k-focus":v}),style:i})})}),qe("div",{className:"k-hsv-controls k-vstack",children:[ot(nn,{className:"k-hue-slider",hover:S,focus:v}),o!=="rgb"&&o!=="hsv"&&ot(nn,{className:"k-alpha-slider",hover:S,focus:v,trackStyle:b})]})]}),ot(be,{mode:t.mode,size:e}),h&&ot(xe,{})]})};Rt.states=rl;Rt.options=sl;Rt.className=go;Rt.defaultOptions=mt;import{jsx as Ov}from"react/jsx-runtime";import{jsx as Hv}from"react/jsx-runtime";import{jsx as il}from"react/jsx-runtime";var qa=t=>il("tr",{children:t.children});import{jsx as cl}from"react/jsx-runtime";var hn="k-colorpalette-tile",ll=[a.hover,a.focus,a.selected],pl={},We=t=>{let{color:e,tileSize:o,hover:r,focus:l,selected:c,...i}=t,u={backgroundColor:e,width:o?o+"px":"",height:o?o+"px":""};return cl("td",{...i,className:n(t.className,hn,L(hn,{hover:r,focus:l,selected:c})),style:u})};We.states=ll;We.options=pl;We.className=hn;import{jsx as Ye}from"react/jsx-runtime";var ko="k-colorpalette",ml=[a.disabled],dl={size:[s.small,s.medium,s.large]},Nn={columns:10,size:s.medium},he=t=>{let{size:e=Nn.size,palette:o,columns:r=Nn.columns,tileSize:l,disabled:c,...i}=t,u=[];if(o){let b=r||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/b)},(N,g)=>{let m=[];h.slice(g*b,(g+1)*b).map((v,M)=>{m.push(Ye(We,{color:v,tileSize:l},M))});let S=Ye(qa,{children:m},g);u.push(S)})}return Ye("div",{...i,className:n(t.className,ko,L(ko,{disabled:c}),k(ko,{size:e})),children:Ye("table",{className:"k-colorpalette-table",children:Ye("tbody",{children:u.length>0?u:t.children})})})};he.states=ml;he.options=dl;he.className=ko;he.defaultOptions=Nn;var Sn={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 ig}from"react/jsx-runtime";import{jsx as nt,jsxs as Ne}from"react/jsx-runtime";var Lo="k-coloreditor",ul=[a.focus],fl={size:[s.small,s.medium,s.large]},Se={size:s.medium,view:"gradient",palette:Sn.office,actionButtons:!0,canvasOrientation:"horizontal"},ut=t=>{let{size:e=Se.size,view:o=Se.view,palette:r=Se.palette,color:l,currentColor:c,focus:i,focusView:u,dir:b,group:h,actionButtons:N=Se.actionButtons,canvasOrientation:g=Se.canvasOrientation,...m}=t;return Ne("div",{...m,className:n(t.className,"k-flatcolorpicker",Lo,k(Lo,{size:e}),L(Lo,{focus:i})),dir:b,children:[Ne("div",{className:"k-coloreditor-header k-hstack",children:[nt("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&Ne(K,{fillMode:"flat",children:[nt(x,{className:"k-group-start",size:e,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),nt(x,{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(x,{fillMode:"flat",icon:"droplet-slash",size:e}),Ne("div",{className:"k-coloreditor-preview k-vstack",children:[nt(yt,{className:"k-coloreditor-preview-color",color:l}),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(G,{className:"k-coloreditor-footer",alignment:"start",children:[nt(x,{themeColor:"primary",size:e,className:"k-coloreditor-apply",children:"Apply"}),nt(x,{className:"k-coloreditor-cancel",size:e,children:"Cancel"})]})]})};ut.states=ul;ut.options=fl;ut.className=Lo;ut.defaultOptions=Se;import{jsx as Ig}from"react/jsx-runtime";import{jsx as Bg}from"react/jsx-runtime";import{jsx as Og}from"react/jsx-runtime";import{jsx as Hg}from"react/jsx-runtime";import{Fragment as hl,jsx as at,jsxs as gn}from"react/jsx-runtime";var Wa="k-colorpicker",bl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],xl={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:it.defaultOptions.size,rounded:it.defaultOptions.rounded,fillMode:it.defaultOptions.fillMode},St=t=>{let{size:e=Qe.size,rounded:o=Qe.rounded,fillMode:r=Qe.fillMode,arrowIconName:l=Qe.arrowIconName,prefix:c,suffix:i,value:u,placeholder:b,hover:h,focus:N,valid:g,invalid:m,required:S,disabled:v,valueIconName:M,popup:y,opened:T,adaptive:E,adaptiveSettings:V,adaptiveTitle:dt,adaptiveSubtitle:ze,...Oe}=t;return gn(hl,{children:[gn(it,{...Oe,size:e,rounded:o,fillMode:r,hover:h,focus:N,valid:g,invalid:m,required:S,disabled:v,className:n(t.className,Wa,"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(x,{className:"k-input-button",icon:l,rounded:null,size:e,fillMode:r})]}),T&&y&&at(D,{className:"k-colorpicker-popup",children:y}),E&&at(ct,{adaptive:!0,...V,header:at(tt,{actionsEnd:at(x,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:dt,subtitle:ze}),footer:gn($e,{children:[at(x,{text:"Cancel",size:"large",themeColor:"base"}),at(x,{text:"Set",size:"large",themeColor:"primary"})]}),children:at(ut,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};St.states=bl;St.options=xl;St.className=Wa;St.defaultOptions=Qe;import{jsx as ak}from"react/jsx-runtime";import{jsx as pk}from"react/jsx-runtime";import{jsx as fk}from"react/jsx-runtime";import{jsx as Nk}from"react/jsx-runtime";import{jsx as kk}from"react/jsx-runtime";import{jsx as Ik}from"react/jsx-runtime";import{Fragment as kn,jsx as $,jsxs as Ze}from"react/jsx-runtime";var Ya="k-combobox",Sl=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],vl={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},Yt=t=>{let{size:e=je.size,rounded:o=je.rounded,fillMode:r=je.fillMode,separators:l=je.separators,prefix:c,suffix:i,value:u,placeholder:b,hover:h,focus:N,valid:g,invalid:m,required:S,loading:v,disabled:M,popup:y,opened:T,readonly:E,adaptive:V,adaptiveSettings:dt,adaptiveTitle:ze,adaptiveSubtitle:Oe,adaptiveCustomValue:Ro,...Ho}=t;return Ze(kn,{children:[Ze(P,{...Ho,size:e,rounded:o,fillMode:r,hover:h,focus:N,valid:g,invalid:m,required:S,loading:v,disabled:M,readonly:E,className:n(t.className,Ya),children:[c&&Ze(kn,{children:[$(Q,{children:c}),l&&$(j,{})]}),$(pt,{placeholder:b,value:u}),$(q,{valid:g,invalid:m,loading:v,disabled:M}),$(Y,{loading:v,disabled:M}),$(lt,{loading:v,disabled:M,readonly:E,value:u}),i&&Ze(kn,{children:[l&&$(j,{}),$(Z,{children:i})]}),$(x,{className:"k-input-button",icon:"caret-alt-down",rounded:null,size:e,fillMode:r})]}),T&&y&&$(D,{className:"k-list-container k-combobox-popup",children:y}),V&&$(ct,{adaptive:!0,...dt,header:$(tt,{actionsEnd:$(x,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),input:!0,inputValue:u,inputPlaceholder:b,title:ze,subtitle:Oe}),children:$("div",{className:"k-list-container",children:Ze(O,{customValue:Ro?$(wt,{text:`Use "${u}"`}):void 0,size:"large",children:[$(I,{text:"List item"}),$(I,{text:"List item"}),$(I,{text:"List item"})]})})})]})};Yt.states=Sl;Yt.options=vl;Yt.className=Ya;Yt.defaultOptions=je;import{jsx as Uk}from"react/jsx-runtime";import{jsx as Zk,jsxs as jk}from"react/jsx-runtime";import{jsx as aL,jsxs as rL}from"react/jsx-runtime";import{jsx as cL,jsxs as mL}from"react/jsx-runtime";import{jsx as bL}from"react/jsx-runtime";import{Fragment as gL,jsx as vL}from"react/jsx-runtime";import{Fragment as yL,jsx as IL}from"react/jsx-runtime";import{jsx as EL,jsxs as zL}from"react/jsx-runtime";import{Fragment as DL,jsx as HL,jsxs as GL}from"react/jsx-runtime";import{Fragment as Ll,jsx as Qa,jsxs as Cl}from"react/jsx-runtime";var Za="k-menu-button",gl=[a.hover,a.focus,a.active,a.selected,a.disabled],kl={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:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark,p.inverse]},Qt={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:p.base,showArrow:!0,arrowIconName:"caret-alt-down"},rt=t=>{let{size:e=Qt.size,rounded:o=Qt.rounded,fillMode:r=Qt.fillMode,themeColor:l=Qt.themeColor,hover:c,focus:i,active:u,selected:b,disabled:h,icon:N,text:g,showArrow:m=Qt.showArrow,arrowIconName:S=Qt.arrowIconName,popup:v,opened:M,...y}=t;return Cl(Ll,{children:[Qa(x,{...y,className:n(t.className,Za),text:g,size:e,rounded:o,fillMode:r,themeColor:l,hover:c,focus:i,active:u,selected:b,disabled:h,icon:N,showArrow:m,arrowIconName:S}),M&&v&&Qa(D,{className:"k-menu-popup",children:v})]})};rt.states=gl;rt.options=kl;rt.className=Za;rt.defaultOptions=Qt;import{jsx as sC}from"react/jsx-runtime";import{jsx as cC}from"react/jsx-runtime";import{jsx as fC}from"react/jsx-runtime";import{Fragment as yl,jsx as ve,jsxs as ja}from"react/jsx-runtime";var Cn="k-menu-item",Ml=[a.hover,a.focus,a.active,a.selected,a.disabled],Il={},tr={iconPosition:"before"},vt=t=>{let{hover:e,focus:o,active:r,selected:l,disabled:c,icon:i,text:u,first:b,last:h,showArrow:N,arrowIconName:g,iconPosition:m=tr.iconPosition,dir:S,children:v,...M}=t,y=ve(yl,{});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"),ja("li",{...M,className:n(t.className,Cn,"k-item",L(Cn,{focus:o,disabled:c,hover:e,active:r,selected:l}),{"k-first":b,"k-last":h}),children:[ja("span",{className:n("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]})};vt.states=Ml;vt.options=Il;vt.className=Cn;vt.defaultOptions=tr;import{Fragment as Bl,jsx as ge,jsxs as er}from"react/jsx-runtime";var Mn="k-menu-item",Tl=[a.hover,a.focus,a.active,a.selected,a.disabled],Al={},In={dir:"ltr",iconPosition:"before"},ft=t=>{let{hover:e,focus:o,active:r,selected:l,disabled:c,icon:i,text:u,first:b,last:h,showArrow:N,arrowIconName:g,iconPosition:m=In.iconPosition,dir:S=In.dir,children:v,popup:M,...y}=t,T=ge(Bl,{});v&&v.forEach(V=>{if(V.type==="MenuListItemContent"){T.props.children.push(V);return}});let E=g;return E||(E=S==="rtl"?"caret-alt-left":"caret-alt-right"),er("li",{...y,className:n(t.className,Mn,"k-item",L(Mn,{focus:o,disabled:c}),{"k-first":b,"k-last":h}),children:[er("span",{className:n("k-link k-menu-link",L("k-menu-link",{hover:e,active:r,selected:l,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]})};ft.states=Tl;ft.options=Al;ft.className=Mn;ft.defaultOptions=In;import{jsx as Ol}from"react/jsx-runtime";var or="k-menu-scroll-wrapper",Pl=[],El={},zl={},to=t=>{let{className:e,children:o,orientation:r,...l}=t;return Ol("div",{...l,className:n(e,or,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:o})};to.states=Pl;to.options=El;to.className=or;to.defaultOptions=zl;var nr=to;import{Fragment as yn,jsx as Zt,jsxs as Co}from"react/jsx-runtime";var Tn="k-menu",wl=[],Kl={},Mo={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},gt=t=>{let{children:e,orientation:o=Mo.orientation,header:r=Mo.header,scrollable:l,scrollButtonsPosition:c=Mo.scrollButtonsPosition,wrapperStyles:i,dir:u,popup:b,...h}=t,N={horizontal:{prev:u!=="rtl"?"left":"right",next:u!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},g=Zt("ul",{dir:u,...h,className:n(t.className,"k-reset",Tn,{[`${Tn}-${o}`]:o,"k-header":r}),children:e});return Co(yn,{children:[l?Co(nr,{orientation:o,style:i,dir:t.dir,children:[c==="start"&&Co(yn,{children:[Zt(x,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Zt(x,{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(x,{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"&&Co(yn,{children:[Zt(x,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Zt(x,{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(x,{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=wl;gt.options=Kl;gt.className=Tn;gt.defaultOptions=Mo;import{jsx as Rl}from"react/jsx-runtime";var An="k-separator",ar={orientation:"horizontal"},eo=t=>{let{orientation:e=ar.orientation,...o}=t;return Rl("li",{...o,className:n(t.className,"k-item",An,{[`${An}-${e}`]:e})})};eo.className=An;eo.defaultOptions=ar;import{Fragment as RC,jsx as HC}from"react/jsx-runtime";import{jsx as rr}from"react/jsx-runtime";import{createElement as Dl}from"react";var Bn="k-menu-group",Hl=[],Gl={size:[s.small,s.medium,s.large]},Pn={size:s.medium,dir:"ltr"},jt=t=>{let{children:e,size:o=Pn.size,dir:r=Pn.dir,...l}=t,c=[];return e&&Array.isArray(e)&&e.map((i,u)=>{i.type===ft?c.push(Dl(ft,{...i.props,dir:r,key:u})):i.type===eo?c.push(rr(eo,{})):c.push(i)}),rr("ul",{...l,className:n(t.className,Bn,k(Bn,{size:o})),children:c})};jt.states=Hl;jt.options=Gl;jt.className=Bn;jt.defaultOptions=Pn;import{Fragment as qC,jsx as UC,jsxs as WC}from"react/jsx-runtime";import{Fragment as oM,jsx as tM,jsxs as eM}from"react/jsx-runtime";import{Fragment as iM,jsx as sM,jsxs as lM}from"react/jsx-runtime";import{Fragment as uM,jsx as dM,jsxs as fM}from"react/jsx-runtime";import{Fragment as SM,jsx as NM,jsxs as vM}from"react/jsx-runtime";import{jsx as HM,jsxs as GM}from"react/jsx-runtime";import{Fragment as _l,jsx as En,jsxs as sr}from"react/jsx-runtime";var zn="k-split-button",$l=[a.hover,a.focus,a.active,a.selected,a.disabled],Vl={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:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark,p.inverse]},ke={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:p.base,arrowIconName:"caret-alt-down"},U=t=>{let{size:e=ke.size,rounded:o=ke.rounded,fillMode:r=ke.fillMode,themeColor:l=ke.themeColor,hover:c,focus:i,active:u,selected:b,disabled:h,icon:N,text:g,arrowIconName:m=ke.arrowIconName,popup:S,opened:v,...M}=t;return sr(_l,{children:[sr("div",{...M,className:n(t.className,zn,"k-button-group",k(zn,{rounded:o})),children:[En(x,{text:g,icon:N,size:e,rounded:o,fillMode:r,themeColor:l,hover:c,focus:i,active:u,selected:b,disabled:h,children:t.children}),En(x,{className:"k-split-button-arrow",icon:m,size:e,rounded:o,fillMode:r,disabled:h})]}),v&&S&&En(D,{className:"k-menu-popup",children:S})]})};U.states=$l;U.options=Vl;U.className=zn;U.defaultOptions=ke;var On=U;import{jsx as Xl}from"react/jsx-runtime";var Fl="k-toolbar-separator",te=t=>Xl("div",{className:n(Fl,t.className,"k-separator")});import{Fragment as wn,jsx as B,jsxs as Le}from"react/jsx-runtime";var kt="k-toolbar",Jl=[a.focus],Ul={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.outline,d.flat]},Kn={size:s.medium,fillMode:d.solid,scrollButtons:"around"},X=t=>{let{size:e=Kn.size,fillMode:o=Kn.fillMode,focus:r,resizable:l,scrollable:c,scrollButtons:i,scrollingPosition:u,section:b,...h}=t,N=[],g=(m,S)=>{let v=[];if(m.type===x&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))v.push(B(x,{...m.props,className:`${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===_)v.push(B(_,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===w)v.push(B(w,{...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===On)v.push(B(On,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===K||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(x,{...T.props,className:`${T.props.className?T.props.className:""}`},`${E}-${new Date().getTime()}`))}),v.push(B(K,{...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===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)}),Le("div",{...h,className:n(t.className,kt,k(kt,{size:e,fillMode:o}),L(kt,{focus:r}),{[`${kt}-resizable`]:l,[`${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"&&Le(wn,{children:[Le(K,{children:[B("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:e,fillMode:o,themeColor:p.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:p.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(wn,{children:[B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),B(te,{className:"k-toolbar-button-separator"}),Le(K,{children:[B("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:e,fillMode:o,themeColor:p.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:p.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-right"})})]})]}),c&&(i==="around"||!i)&&Le(wn,{children:[B("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:e,fillMode:o,themeColor:p.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:n("k-toolbar-next","k-button",k("k-button",{size:e,fillMode:o,themeColor:p.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-right"})})]})]})};X.states=Jl;X.options=Ul;X.className=kt;X.defaultOptions=Kn;import{jsx as Ql}from"react/jsx-runtime";var Rn="k-toolbar-item",ql=[a.focus],Wl={},Yl={},Io=t=>{let{focus:e,...o}=t;return Ql("div",{...o,className:n(t.className,Rn,L(Rn,{focus:e})),children:t.children})};Io.states=ql;Io.options=Wl;Io.className=Rn;Io.defaultOptions=Yl;import{jsx as ir}from"react/jsx-runtime";var lr="k-toolbar-popup",Zl=[],jl={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.outline,d.flat]},Hn={size:s.medium,fillMode:d.solid},yo=t=>{let{size:e=Hn.size,fillMode:o=Hn.fillMode,section:r,...l}=t;return ir(D,{...l,className:n(t.className,lr),children:r?ir("span",{className:n("k-toolbar-items-list",k("k-toolbar-items-list",{size:e,fillMode:o})),children:t.children}):t.children})};yo.states=Zl;yo.options=jl;yo.className=lr;yo.defaultOptions=Hn;import{jsx as kI}from"react/jsx-runtime";import{jsx as II}from"react/jsx-runtime";import{jsx as BI}from"react/jsx-runtime";import{jsx as wI,jsxs as KI}from"react/jsx-runtime";import{jsx as YI,jsxs as QI}from"react/jsx-runtime";import{jsx as sy,jsxs as iy}from"react/jsx-runtime";import{jsx as by,jsxs as xy}from"react/jsx-runtime";import{jsx as Cy,jsxs as My}from"react/jsx-runtime";import{Fragment as Hy,jsx as Ky,jsxs as Ry}from"react/jsx-runtime";import{Fragment as np,jsx as pr}from"react/jsx-runtime";var cr="k-prompt",tp=[],ep={},op={},W=t=>{let{...e}=t;return pr("div",{...e,className:n(t.className,cr),children:pr(np,{children:t.children})})};W.states=tp;W.options=ep;W.className=cr;W.defaultOptions=op;import{jsx as rp}from"react/jsx-runtime";var ap="k-prompt-header",ee=t=>{let{...e}=t;return rp("div",{...e,className:n(t.className,ap),children:t.children})};import{Fragment as ip,jsx as mr}from"react/jsx-runtime";var sp="k-prompt-content",Lt=t=>{let{...e}=t;return mr("div",{...e,className:n(t.className,sp),children:mr(ip,{children:t.children})})};import{jsx as pp}from"react/jsx-runtime";var lp="k-prompt-view",Ct=t=>{let{...e}=t;return pp("div",{...e,className:n(t.className,lp),children:t.children})};import{jsx as mT,jsxs as dT}from"react/jsx-runtime";import{jsx as xT}from"react/jsx-runtime";import{jsx as vT}from"react/jsx-runtime";import{jsx as cp}from"react/jsx-runtime";var dr="k-prompt-send",ur={generating:!1},Ce=t=>{let{generating:e=ur.generating,...o}=t;return cp(x,{...o,className:n(t.className,dr,{"k-generating":e}),icon:e?"stop-sm":"paper-plane",active:e,fillMode:"flat"})};Ce.states=x.states;Ce.options=x.options;Ce.className=dr;Ce.defaultOptions=ur;import{jsx as fr,jsxs as up}from"react/jsx-runtime";var To="k-fab",mp=[a.hover,a.focus,a.active,a.selected,a.disabled],dp={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:[p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark,p.inverse]},Me={size:s.medium,rounded:f.full,fillMode:d.solid,themeColor:p.primary,type:"button"},Mt=t=>{let{size:e=Me.size,rounded:o=Me.rounded,fillMode:r=Me.fillMode,themeColor:l=Me.themeColor,text:c,icon:i,type:u=Me.type,position:b,hover:h,focus:N,active:g,selected:m,disabled:S,...v}=t;return up("button",{...v,type:u,className:n(t.className,To,k(To,{size:e,rounded:o,fillMode:r,themeColor:l}),L(To,{hover:h,focus:N,active:g,disabled:S,selected:m}),{[`!k-pos-absolute k-${b}`]:b}),children:[i&&fr(C,{className:"k-fab-icon",icon:i}),c&&fr("span",{className:"k-fab-text",children:c})]})};Mt.states=mp;Mt.options=dp;Mt.className=To;Mt.defaultOptions=Me;import{jsx as OT}from"react/jsx-runtime";import{jsx as xr,jsxs as xp}from"react/jsx-runtime";var br="k-fab-item",fp=[a.hover,a.focus,a.active,a.disabled],bp=t=>{let{text:e,icon:o,align:r,hover:l,focus:c,active:i,disabled:u,...b}=t;return xp("li",{...b,className:n(t.className,br,{[`k-text-${r}`]:r},L(br,{hover:l,focus:c,active:i,disabled:u})),children:[xr("span",{className:"k-fab-item-text",children:e}),xr(C,{className:"k-fab-item-icon",icon:o})]})};bp.states=fp;import{jsx as VT}from"react/jsx-runtime";import{jsx as JT}from"react/jsx-runtime";import{jsx as YT}from"react/jsx-runtime";import{jsx as hp}from"react/jsx-runtime";var hr="k-prompt-stop-fab",Nr={generating:!0},Ie=t=>{let{generating:e=Nr.generating,icon:o,...r}=t;return hp(Mt,{...r,className:n(t.className,hr,{"k-generating":e}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:e?"stop-sm":o,active:e})};Ie.states=x.states;Ie.options=x.options;Ie.className=hr;Ie.defaultOptions=Nr;import{jsx as Np}from"react/jsx-runtime";var Sr="k-speech-to-text-button",vr={icon:"microphone-outline"},st=t=>{let{listening:e=!1,icon:o=vr.icon,...r}=t;return Np(x,{...r,icon:e?"stop-sm":o,className:n(t.className,Sr,{"k-listening":e})})};st.states=x.states;st.options=x.options;st.className=Sr;st.defaultOptions=vr;import{jsx as LA}from"react/jsx-runtime";import{jsx as yA}from"react/jsx-runtime";import{Fragment as gr,jsx as oo,jsxs as Gn}from"react/jsx-runtime";var kr="k-textarea",Sp=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],vp={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},bt=t=>{let{size:e=It.size,rounded:o=It.rounded,fillMode:r=It.fillMode,prefixSeparator:l=It.prefixSeparator,suffixSeparator:c=It.prefixSeparator,affixesOrientation:i=It.affixesOrientation,flow:u=It.flow,resize:b=It.resize,prefix:h,suffix:N,rows:g,value:m,placeholder:S,hover:v,focus:M,valid:y,invalid:T,required:E,disabled:V,...dt}=t;return Gn(P,{...dt,size:e,rounded:o,fillMode:r,hover:v,focus:M,valid:y,invalid:T,required:E,disabled:V,className:n(t.className,kr,{"!k-flex-col":u==="vertical","!k-flex-row":u==="horizontal"}),children:[h&&Gn(gr,{children:[oo(Q,{className:n({"!k-align-items-start":u===i}),direction:i,children:h}),l&&oo(j,{direction:u==="horizontal"?"vertical":"horizontal"})]}),oo(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&&Gn(gr,{children:[c&&oo(j,{direction:u==="horizontal"?"vertical":"horizontal"}),oo(Z,{className:n({"!k-align-items-start":u===i}),direction:i,children:N})]})]})};bt.states=Sp;bt.options=vp;bt.className=kr;bt.defaultOptions=It;import{jsx as GA}from"react/jsx-runtime";import{Fragment as XA,jsx as FA}from"react/jsx-runtime";import{Fragment as QA,jsx as YA}from"react/jsx-runtime";import{Fragment as uB,jsx as mB,jsxs as dB}from"react/jsx-runtime";import{jsx as $n,jsxs as Lp}from"react/jsx-runtime";var Cr="k-suggestion-group",gp=[],kp={},Mr={scrollable:!0},oe=t=>{let{scrollable:e=Mr.scrollable,...o}=t,r=$n("div",{...o,className:n(Cr,t.className),children:t.children});return e?Lp("div",{className:"k-suggestion-scrollwrap",children:[$n(x,{icon:"chevron-left"}),r,$n(x,{icon:"chevron-right"})]}):r};oe.states=gp;oe.options=kp;oe.className=Cr;oe.defaultOptions=Mr;import{jsx as yp}from"react/jsx-runtime";var Ao="k-suggestion",Cp=[a.active,a.hover,a.focus],Mp={themeColor:[p.base,p.primary,p.secondary]},Ip={text:"Suggestion"},ne=t=>{let{themeColor:e,active:o,hover:r,focus:l,text:c,...i}=t;return yp("span",{...i,className:n(t.className,Ao,L(Ao,{hover:r,active:o,focus:l}),k(Ao,{themeColor:e})),children:c})};ne.states=Cp;ne.options=Mp;ne.className=Ao;ne.item=Ip;import{Fragment as MB,jsx as CB,jsxs as IB}from"react/jsx-runtime";import{Fragment as PB,jsx as BB,jsxs as EB}from"react/jsx-runtime";import{Fragment as WB,jsx as UB,jsxs as qB}from"react/jsx-runtime";import{jsx as tP}from"react/jsx-runtime";import{jsx as Ir}from"react/jsx-runtime";var no="k-avatar";var Ap=[a.hover,a.focus,a.active,a.selected,a.disabled],Bp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark,p.inverse]},ae={type:"text",size:s.medium,rounded:f.full,fillMode:d.solid,themeColor:p.primary,border:!1},ye=t=>{let{size:e=ae.size,rounded:o=ae.rounded,fillMode:r=ae.fillMode,themeColor:l=ae.themeColor,type:c=ae.type,border:i=ae.border,...u}=t;return Ir("div",{...u,className:n(t.className,no,k(no,{size:e,rounded:o,fillMode:r,themeColor:l}),{[`${no}-bordered`]:i}),children:Ir("span",{className:`${no}-${c}`,children:t.children})})};ye.states=Ap;ye.options=Bp;ye.className=no;ye.defaultOptions=ae;import{jsx as iP}from"react/jsx-runtime";import{jsx as mP}from"react/jsx-runtime";import{jsx as bP}from"react/jsx-runtime";import{jsx as Te,jsxs as zp}from"react/jsx-runtime";var Bo="k-chip",Pp=[a.hover,a.focus,a.active,a.selected,a.disabled],Ep={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.outline],themeColor:[p.base,p.success,p.warning,p.error,p.info]},Ae={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:p.base,avatarImage:"/packages/html/assets/avatar.jpg"},ao=t=>{let{size:e=Ae.size,rounded:o=Ae.rounded,fillMode:r=Ae.fillMode,themeColor:l=Ae.themeColor,text:c,icon:i,actions:u,showAvatar:b,avatarImage:h=Ae.avatarImage,hover:N,focus:g,active:m,selected:S,disabled:v,...M}=t;return zp("div",{...M,className:n(t.className,Bo,k(Bo,{size:e,rounded:o,fillMode:r,themeColor:l}),L(Bo,{hover:N,focus:g,active:m,disabled:v,selected:S})),children:[i&&Te(C,{className:"k-chip-icon",icon:i,size:"small"}),b&&Te(ye,{className:"k-chip-avatar",type:"image",children:Te("img",{src:h})}),Te("span",{className:"k-chip-content",children:t.children?t.children:c&&Te("span",{className:"k-chip-label",children:c})}),u&&Te("span",{className:"k-chip-actions",children:u})]})};ao.states=Pp;ao.options=Ep;ao.className=Bo;ao.defaultOptions=Ae;import{jsx as Kp}from"react/jsx-runtime";var Vn="k-chip-list",Op=[],wp={size:[s.small,s.medium,s.large]},Tr={size:s.medium},ro=t=>{let{size:e=Tr.size,...o}=t;return Kp("div",{...o,className:n(t.className,Vn,k(Vn,{size:e})),children:t.children})};ro.states=Op;ro.options=wp;ro.className=Vn;ro.defaultOptions=Tr;import{jsx as EP}from"react/jsx-runtime";import{jsx as KP}from"react/jsx-runtime";import{jsx as DP}from"react/jsx-runtime";import{jsx as XP}from"react/jsx-runtime";import{Fragment as QP,jsx as YP,jsxs as ZP}from"react/jsx-runtime";import{Fragment as vE,jsx as NE,jsxs as SE}from"react/jsx-runtime";import{jsx as $p}from"react/jsx-runtime";var Ar="k-panelbar",Hp=[],Gp={},Dp={},re=t=>{let{...e}=t;return $p("ul",{...e,className:n(t.className,Ar),children:t.children})};re.states=Hp;re.options=Gp;re.className=Ar;re.defaultOptions=Dp;import{jsx as Eo,jsxs as Br}from"react/jsx-runtime";var Pr="k-panelbar-item",Vp=[a.hover,a.focus,a.selected,a.disabled],_p={},zo={level:0,expanded:!1,text:"Item"},Gt=t=>{let{text:e=zo.text,level:o=zo.level,expanded:r=zo.expanded,header:l,hover:c,focus:i,selected:u,disabled:b,icon:h,iconClass:N,children:g,...m}=t;return Br("li",{...m,className:n(t.className,Pr,{"k-panelbar-header":l,[`k-level-${o}`]:o||o===0,"k-expanded":r}),children:[Br("span",{className:n("k-link",L("k-link",{hover:c,focus:i,disabled:b,selected:u})),children:[h&&Eo(C,{className:"k-panelbar-item-icon",icon:h}),N&&!h&&Eo("span",{className:`k-panelbar-item-icon ${N}`}),Eo("span",{className:"k-panelbar-item-text",children:e}),g&&Eo(C,{className:n("k-panelbar-toggle",r?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${r?"up":"down"}`})]}),r&&g]})};Gt.states=Vp;Gt.options=_p;Gt.className=Pr;Gt.defaultOptions=zo;import{jsx as Up}from"react/jsx-runtime";var Er="k-panelbar-group",Fp=[],Xp={},Jp={},Be=t=>{let{...e}=t;return Up("ul",{...e,className:n(t.className,Er),children:t.children})};Be.states=Fp;Be.options=Xp;Be.className=Er;Be.defaultOptions=Jp;import{jsx as Qp}from"react/jsx-runtime";var zr="k-panelbar-content",qp=[],Wp={},Yp={},se=t=>{let{...e}=t;return Qp("div",{...e,className:n(t.className,zr),children:t.children})};se.states=qp;se.options=Wp;se.className=zr;se.defaultOptions=Yp;import{Fragment as HE,jsx as RE,jsxs as GE}from"react/jsx-runtime";import{Fragment as FE,jsx as _E,jsxs as XE}from"react/jsx-runtime";import{Fragment as QE,jsx as WE,jsxs as YE}from"react/jsx-runtime";import{jsx as u0,jsxs as f0}from"react/jsx-runtime";import{Fragment as I0,jsx as C0,jsxs as M0}from"react/jsx-runtime";import{jsx as jp}from"react/jsx-runtime";var Zp="k-card-callout",Or=t=>{let{callout:e,...o}=t;return jp("span",{...o,className:n(t.className,Zp,{[`k-callout-${Fn.calloutMap[e]||e}`]:e})})};import{Fragment as nc,jsx as wr,jsxs as ac}from"react/jsx-runtime";var Oo="k-card",tc=[a.hover,a.focus,a.selected,a.disabled],ec={themeColor:[p.primary,p.success,p.warning,p.error,p.info]},oc={},xt=t=>{let{orientation:e,themeColor:o,callout:r,hover:l,focus:c,selected:i,disabled:u,...b}=t;return ac("div",{...b,className:n(t.className,Oo,k(Oo,{themeColor:o}),L(Oo,{hover:l,focus:c,disabled:u,selected:i}),{[`k-card-${e}`]:e,"k-card-with-callout":r}),children:[r&&r!=="true"&&wr(Or,{callout:r}),wr(nc,{children:t.children})]})};xt.states=tc;xt.options=ec;xt.className=Oo;xt.defaultOptions=oc;import{jsx as sc}from"react/jsx-runtime";var _n="k-card-title",rc=[a.hover,a.focus],Pe=t=>{let{hover:e,focus:o,...r}=t;return sc("div",{...r,className:n(t.className,_n,L(_n,{hover:e,focus:o})),children:t.children})};Pe.states=rc;Pe.className=_n;import{jsx as lc}from"react/jsx-runtime";var ic="k-card-subtitle",wo=t=>{let{...e}=t;return lc("div",{...e,className:n(t.className,ic),children:t.children})};import{Fragment as F0,jsx as _0}from"react/jsx-runtime";import{Fragment as cc,jsx as so,jsxs as mc}from"react/jsx-runtime";var pc="k-card-header",Ko=t=>{let{title:e,subtitle:o,details:r,...l}=t;return mc("div",{...l,className:n(t.className,pc),children:[e&&so(Pe,{children:e}),o&&so(wo,{children:o}),so(cc,{children:t.children}),r&&so("span",{className:"k-card-header-actions",children:so(x,{className:"k-card-details",icon:"more-vertical",rounded:"medium",size:"medium",fillMode:"flat",themeColor:"base"})})]})};import{jsx as tz}from"react/jsx-runtime";import{Fragment as uc,jsx as io,jsxs as fc}from"react/jsx-runtime";var dc="k-card-body",Ee=t=>{let{title:e,subtitle:o,details:r,...l}=t;return fc("div",{...l,className:n(t.className,dc),children:[e&&io(Pe,{children:e}),o&&io(wo,{children:o}),io(uc,{children:t.children}),r&&io("span",{className:"k-card-header-actions",children:io(x,{className:"k-card-details",icon:"more-vertical",rounded:"medium",size:"medium",fillMode:"flat",themeColor:"base"})})]})};import{jsx as cz}from"react/jsx-runtime";import{Fragment as Nz,jsx as xz,jsxs as hz}from"react/jsx-runtime";import{Fragment as Iz,jsx as Cz,jsxs as Mz}from"react/jsx-runtime";import{Fragment as Wz,jsx as Uz,jsxs as qz}from"react/jsx-runtime";import{Fragment as nO,jsx as oO,jsxs as aO}from"react/jsx-runtime";import{jsx as z,jsxs as Dt}from"react/jsx-runtime";var AO=t=>Dt(W,{...t,children:[z(ee,{children:Dt(X,{fillMode:"flat",children:[z(_,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),z(_,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),z(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),Dt(Lt,{children:[z(Ie,{}),z(Ct,{children:Dt("div",{className:"k-card-list",children:[Dt(xt,{children:[z(Ko,{title:"Card Title",subtitle:"Card Subtitle"}),z(Ee,{children:z("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Dt(G,{className:"k-card-actions",alignment:"start",children:[z(_,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),z(_,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),z(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal"}),z("span",{className:"k-spacer"}),z(w,{fillMode:"flat",themeColor:"base",icon:"thumb-up-outline"}),z(w,{fillMode:"flat",themeColor:"base",icon:"thumb-down-outline"})]})]}),Dt(xt,{children:[z(Ko,{title:"Card Title",subtitle:"Card Subtitle"}),z(Ee,{children:z("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Dt(G,{className:"k-card-actions",alignment:"start",children:[z(_,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),z(_,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),z(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal"}),z("span",{className:"k-spacer"}),z(w,{fillMode:"flat",themeColor:"base",icon:"thumb-up-outline"}),z(w,{fillMode:"flat",themeColor:"base",icon:"thumb-down-outline"})]})]})]})})]})]});export{AO as PromptOutput};