@progress/kendo-themes-html 14.7.1-dev.5 → 14.7.1-dev.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/chat/chat-message.spec.js +1 -1
- package/dist/cjs/chat/demos/chat.js +1 -1
- package/dist/cjs/chat/templates/chat-empty.js +1 -1
- package/dist/cjs/chat/templates/chat-expandable.js +1 -1
- package/dist/cjs/chat/templates/chat-failed.js +1 -1
- package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
- package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
- package/dist/cjs/chat/templates/chat-normal.js +1 -1
- package/dist/cjs/chat/templates/chat-pinned.js +1 -1
- package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
- package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
- package/dist/cjs/chat/templates/chat-typing.js +1 -1
- package/dist/cjs/chat/templates/chat-upload.js +1 -1
- package/dist/cjs/datainsights-composer/demos/datainsights-composer.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-error.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-followup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-history-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-loading.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.js +1 -0
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/prompt/demos/prompt.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
- package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
- package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
- package/dist/cjs/prompt/templates/prompt-output.js +1 -1
- package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
- package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
- package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
- package/dist/cjs/suggestion/suggestion.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-normal.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-scrollable-buttons.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-wrap.js +1 -1
- package/dist/cjs/timepicker/demos/timepicker.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-adaptive.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-disabled.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-invalid.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-normal.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-popup.js +1 -1
- package/dist/cjs/timepicker/timepicker.spec.js +1 -1
- package/dist/esm/chat/chat-message.spec.mjs +1 -1
- package/dist/esm/chat/demos/chat.mjs +1 -1
- package/dist/esm/chat/templates/chat-empty.mjs +1 -1
- package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
- package/dist/esm/chat/templates/chat-failed.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
- package/dist/esm/chat/templates/chat-normal.mjs +1 -1
- package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
- package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
- package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
- package/dist/esm/chat/templates/chat-typing.mjs +1 -1
- package/dist/esm/chat/templates/chat-upload.mjs +1 -1
- package/dist/esm/datainsights-composer/demos/datainsights-composer.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-error.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-followup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-history-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-loading.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.mjs +1 -0
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/prompt/demos/prompt.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
- package/dist/esm/suggestion/suggestion.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-normal.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-scrollable-buttons.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-wrap.mjs +1 -1
- package/dist/esm/timepicker/demos/timepicker.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-adaptive.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-disabled.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-invalid.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-normal.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-popup.mjs +1 -1
- package/dist/esm/timepicker/timepicker.spec.mjs +1 -1
- package/dist/types/datainsights-composer/index.d.ts +1 -0
- package/dist/types/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.d.ts +2 -0
- package/package.json +1 -1
- package/src/action-sheet/tests/action-sheet-date-time-selector.tsx +1 -1
- package/src/action-sheet/tests/action-sheet-time-selector.tsx +2 -2
- package/src/datainsights-composer/index.ts +1 -0
- package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.tsx +65 -0
- package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel.tsx +3 -3
- package/src/datainsights-composer/tests/datainsights-composer-edit-mode-compact.tsx +10 -0
- package/src/suggestion/suggestion.tsx +3 -2
- package/src/timepicker/timepicker.spec.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var k=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),I=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:l,active:m,selected:f,disabled:N,indeterminate:h,loading:M,empty:c,readonly:C,highlighted:g,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":f,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":M,"k-empty":c,"k-readonly":C,"k-highlighted":g},Object.keys(S).reduce((T,A)=>(A.startsWith("k-")?T[A]=S[A]:T[`k-${A}`]=S[A],T),{}))};function Pi(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},xt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},x={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"},Ki={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Xn={};function y(e){return Xn[e]=(Xn[e]||0)+1,`k-${e}-${Xn[e]}`}var Wn="action-buttons",Ri=Wn;import{jsx as Wd}from"react/jsx-runtime";var Ya="k-actions",$d=[],Xd={},Jn={alignment:"start",orientation:"horizontal"},z=e=>{let{alignment:t=Jn.alignment,orientation:o=Jn.orientation,...a}=e;return Wd("div",{...a,className:r(Ya,{[`${Ya}-${t}`]:t,[`${Ya}-${o}`]:o},e.className),children:e.children})};z.states=$d;z.options=Xd;z.className=Ya;z.defaultOptions=Jn;z.moduleName=Wn;z.folderName=Ri;import{Fragment as Qd,jsx as wi}from"react/jsx-runtime";var qn="k-font-icon",Jd=[],qd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info]},Yd={},Na=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...l}=e;return a?wi("span",{...l,className:r(e.className,qn,k(qn,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):wi(Qd,{})};Na.states=Jd;Na.options=qd;Na.className=qn;Na.defaultOptions=Yd;var _i=Na;import{Fragment as ep,jsx as Qa}from"react/jsx-runtime";var Yn="k-svg-icon",Zd=[],jd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[xt.outline,xt.solid,xt.duotone]},Qn={viewBox:"0 0 24 24",variant:xt.outline},va=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Qn.viewBox,variant:l=Qn.variant,icon:m,...f}=e;if(!m)return Qa(ep,{});if(m==="none")return Qa("span",{...f,className:r(e.className,Yn,k("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,h=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return Qa("span",{...f,className:r(e.className,Yn,k("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Qa("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:m?void 0:e.children})})};va.states=Zd;va.options=jd;va.className=Yn;va.defaultOptions=Qn;var Zn=va;import*as jn from"@progress/kendo-svg-icons";var Di="icon",Hi="icons";import{useContext as op}from"react";import{createContext as tp}from"react";var zi=tp({iconsType:"svg"});import{Fragment as Gi,jsx as Ca}from"react/jsx-runtime";var Za="k-icon",ap=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),np=[],rp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[xt.outline,xt.solid,xt.duotone]},ja={viewBox:"0 0 24 24",type:"svg",variant:xt.outline},L=e=>{let{iconsType:t}=op(zi),{size:o,themeColor:a,icon:n,type:s=t||ja.type,rotate:l,flip:m,viewBox:f=ja.viewBox,variant:N=ja.variant,...h}=e;if(!n)return Ca(Gi,{});if((t||s)==="svg"){if(n==="none")return Ca(Zn,{...h,className:r(e.className,Za),icon:n,size:o,variant:N});let c=jn[n]?n:ap(`${n}-icon`);return jn[c]?Ca(Zn,{...h,className:r(e.className,Za),icon:jn[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:f,variant:N}):Ca(Gi,{})}return Ca(_i,{...h,className:r(e.className,Za),icon:n,size:o,themeColor:a,rotate:l,flip:m})};L.states=np;L.options=rp;L.defaultOptions=ja;L.className=Za;L.moduleName=Di;L.folderName=Hi;var er="button",Ui=er;import{Fragment as tr,jsx as Bt,jsxs as Fi}from"react/jsx-runtime";var La="k-button",ip=["icon-button"],sp=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],lp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},or={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:l=or.showArrow,arrowIconName:m=or.arrowIconName,variant:f,hover:N,focus:h,active:M,selected:c,disabled:C,togglable:g,ariaDisabled:S,icon:T,endIcon:A,iconSize:R,text:$,iconClassName:se,className:ve,...me}=e,ue=T!=null,xa=e.children!==void 0;return Fi(t,{className:r(ve,La,Pi(La,f),k(La,{size:o,rounded:a,fillMode:n,themeColor:s}),I(La,{hover:N,focus:h,active:M,disabled:C||S,selected:c}),{"k-icon-button":!$&&!xa&&ue}),"aria-pressed":g?c?"true":"false":void 0,...me,"aria-disabled":S?"true":void 0,disabled:C||void 0,children:[typeof T=="string"&&T&&Bt(L,{className:r(se,"k-button-icon"),icon:T,size:R}),T&&typeof T!="string"&&Bt(tr,{children:T}),$?Fi(tr,{children:[$&&Bt("span",{className:"k-button-text",children:$}),e.children]}):e.children&&Bt("span",{className:"k-button-text",children:e.children}),typeof A=="string"&&A&&Bt(L,{className:r(se,"k-button-icon"),icon:A,size:R}),A&&typeof A!="string"&&Bt(tr,{children:A}),l&&Bt("span",{className:"k-menu-button-arrow k-button-arrow",children:Bt(L,{icon:m})})]})};d.states=sp;d.options=lp;d.variants=ip;d.className=La;d.defaultOptions=or;d.moduleName=er;d.folderName=Ui;import{jsx as dp}from"react/jsx-runtime";var w=e=>dp(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as pp}from"react/jsx-runtime";var K=e=>pp(d,{icon:"folder",children:"Button",...e});import{jsx as Ev}from"react/jsx-runtime";import{jsx as mp}from"react/jsx-runtime";var Yt=e=>mp(d,{children:"Button",...e});import{jsx as ar}from"react/jsx-runtime";var cp=d.options,up=d.states,fp={...d.defaultOptions,variant:"text"},bp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xp=[],fo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return ar(w,{...o,icon:"star"});case"icon-and-text":return ar(K,{...o,icon:"star",children:"Button"});default:return ar(Yt,{...o,children:"Button"})}};fo.options=cp;fo.states=up;fo.variants=bp;fo.defaultOptions=fp;fo.modifiers=xp;fo.className=d.className;var nr="button",Vi=nr;import{jsx as Cp}from"react/jsx-runtime";var Ma="k-button-group",hp=[i.disabled],Np={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},vp={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Cp("div",{role:"group",...n,className:r(e.className,Ma,k(Ma,{fillMode:t}),I(Ma,{disabled:o}),{[`${Ma}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=hp;O.options=Np;O.className=Ma;O.defaultOptions=vp;O.moduleName=nr;O.folderName=Vi;import{Fragment as nC,jsx as aC,jsxs as rC}from"react/jsx-runtime";import{Fragment as mC,jsx as pC,jsxs as cC}from"react/jsx-runtime";import{Fragment as NC,jsx as hC,jsxs as vC}from"react/jsx-runtime";import{Fragment as IC,jsx as SC,jsxs as kC}from"react/jsx-runtime";import{Fragment as OC,jsx as BC,jsxs as PC}from"react/jsx-runtime";import{Fragment as HC,jsx as DC,jsxs as zC}from"react/jsx-runtime";import{Fragment as XC,jsx as $C,jsxs as WC}from"react/jsx-runtime";import{jsx as St,jsxs as rr}from"react/jsx-runtime";var Lp={...d.options,...O.options},Mp=d.states,gp={...d.defaultOptions,...O.defaultOptions,variant:"text-button"},Sp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ip=[],bo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?rr(O,{fillMode:a.fillMode,className:o,children:[St(d,{...a,icon:"star"}),St(d,{...a,icon:"star"}),St(d,{...a,icon:"star"})]}):t==="icon-text-button"?rr(O,{fillMode:a.fillMode,className:o,children:[St(d,{...a,icon:"star",children:"First"}),St(d,{...a,icon:"star",children:"Middle"}),St(d,{...a,icon:"star",children:"Last"})]}):rr(O,{fillMode:a.fillMode,className:o,children:[St(d,{...a,children:"First"}),St(d,{...a,children:"Middle"}),St(d,{...a,children:"Last"})]})};bo.options=Lp;bo.states=Mp;bo.variants=Sp;bo.defaultOptions=gp;bo.modifiers=Ip;bo.className=O.className;var ga="input",en=ga;import{jsx as yp}from"react/jsx-runtime";var tn="k-input",kp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ap={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Tp={},j=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:f,rounded:N,fillMode:h,...M}=e;return yp("span",{...M,className:r(e.className,tn,k(tn,{size:f,rounded:N,fillMode:h}),I(tn,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m}))})};j.states=kp;j.options=Ap;j.className=tn;j.defaultOptions=Tp;j.moduleName=ga;j.folderName=en;import{jsx as Pp}from"react/jsx-runtime";var on="k-picker",Ep=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bp={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Op={},ht=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:f,rounded:N,fillMode:h,...M}=e;return Pp("span",{...M,className:r(e.className,on,k(on,{size:f,rounded:N,fillMode:h}),I(on,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m})),children:e.children})};ht.states=Ep;ht.options=Bp;ht.className=on;ht.defaultOptions=Op;ht.moduleName=ga;ht.folderName=en;import{Fragment as wp,jsx as ir}from"react/jsx-runtime";var $i="k-clear-value",Kp=[i.disabled,i.loading,i.readonly],Rp={},Fe=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?ir(wp,{}):ir("span",{className:r(e.className,$i),children:ir(L,{icon:"x"})})};Fe.states=Kp;Fe.options=Rp;Fe.className=$i;import{jsx as Hp}from"react/jsx-runtime";var sr="k-input-inner",_p=[],Dp={},an={type:"text",autocomplete:"off",value:"",placeholder:""},Ve=e=>{let{value:t=an.value,type:o=an.type,placeholder:a=an.placeholder,autocomplete:n=an.autocomplete,disabled:s,readOnly:l,...m}=e;return Hp("input",{...m,type:o,className:r(e.className,sr,k(sr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};Ve.states=_p;Ve.options=Dp;Ve.className=sr;import{jsx as Xi,jsxs as Up}from"react/jsx-runtime";var lr="k-input-inner",zp=[],Gp={},Qt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...l}=e;return Up("span",{...l,className:r(e.className,lr,k(lr,e)),children:[n,!n&&s&&Xi(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Xi("span",{className:"k-input-value-text",children:t})]})};Qt.states=zp;Qt.options=Gp;Qt.className=lr;import{jsx as $p}from"react/jsx-runtime";var dr="k-input-inner",Fp=[],Vp={},Wi={value:"",placeholder:""},Sa=e=>{let{value:t=Wi.value,placeholder:o=Wi.placeholder,rows:a,disabled:n,...s}=e;return $p("textarea",{...s,className:r(e.className,dr,k(dr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Sa.states=Fp;Sa.options=Vp;Sa.className=dr;import{Fragment as Wp,jsx as Ji}from"react/jsx-runtime";var qi="k-input-loading-icon",Xp=[i.disabled,i.loading],we=e=>{let{disabled:t,loading:o}=e;return t||!o?Ji(Wp,{}):Ji("span",{className:r(e.className,qi,"k-icon k-i-loading")})};we.states=Xp;we.className=qi;import{Fragment as Yp,jsx as Yi}from"react/jsx-runtime";var Qi="k-input-validation-icon",Jp=[i.valid,i.invalid,i.disabled,i.loading],qp={},Ie=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Yi(Yp,{}):Yi(L,{className:r(Qi),icon:s})};Ie.states=Jp;Ie.options=qp;Ie.className=Qi;import{Fragment as jp,jsx as Zi}from"react/jsx-runtime";var Qp="k-input-prefix",Zp={direction:"horizontal"},_e=e=>{let{direction:t=Zp.direction,...o}=e;return e.children?Zi("span",{...o,className:r(Qp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Zi(jp,{})};import{Fragment as om,jsx as ji}from"react/jsx-runtime";var em="k-input-suffix",tm={direction:"horizontal"},De=e=>{let{direction:t=tm.direction,...o}=e;return e.children?ji("span",{...o,className:r(em,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):ji(om,{})};import{jsx as JL}from"react/jsx-runtime";import{jsx as nm}from"react/jsx-runtime";var am="k-input-suffix-text",pr=e=>{let{children:t,...o}=e;return nm("span",{...o,className:r(am,e.className),children:t})};import{jsx as im}from"react/jsx-runtime";var es="k-input-separator",rm={direction:"vertical"},ke=e=>{let{direction:t=rm.direction,...o}=e;return im("span",{...o,className:r(es,e.className,{[`${es}-${t}`]:t})})};import{Fragment as ts,jsx as Nt,jsxs as mr}from"react/jsx-runtime";var sm=j.states,lm=j.defaultOptions,dm=j.options,pm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],mm=[],xo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:l,...m}=e,f=t?.prefix,N=t?.suffix,h=t?.["clear-button"],M=t?.["validation-icon"],c=t?.separators;return mr(j,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:l,style:{width:300},children:[f&&mr(ts,{children:[Nt(_e,{children:Nt(L,{icon:"lock"})}),c&&Nt(ke,{})]}),Nt(Ve,{placeholder:"Placeholder",value:"Value"}),M&&Nt(Ie,{valid:o,invalid:a,loading:n,disabled:s}),Nt(we,{loading:n,disabled:s}),h&&Nt(Fe,{loading:n,disabled:s,readonly:l,value:"Value"}),N&&mr(ts,{children:[c&&Nt(ke,{}),Nt(De,{children:Nt(Yt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};xo.options=dm;xo.states=sm;xo.variants=mm;xo.defaultOptions=lm;xo.modifiers=pm;xo.className=j.className;import{jsx as os,jsxs as fm}from"react/jsx-runtime";var as="k-color-preview",cm=[],um={},Ot=e=>{let{color:t,iconName:o,...a}=e;return fm("span",{...a,className:r(e.className,as,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&os(L,{icon:o,className:"k-color-preview-icon"}),os("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ot.states=cm;Ot.options=um;Ot.className=as;var cr="popup",ns=cr;import{jsx as rs}from"react/jsx-runtime";var is="k-animation-container",bm=[],xm={},ur={positionMode:"absolute",shown:!0},vt=e=>{let{positionMode:t=ur.positionMode,shown:o=ur.shown,animationStyle:a,offset:n,...s}=e;return rs("div",{...s,style:{...n,...e.style},className:r(e.className,is,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:rs("div",{className:"k-child-animation-container",style:a,children:e.children})})};vt.states=bm;vt.options=xm;vt.className=is;vt.defaultOptions=ur;vt.moduleName=cr;vt.folderName=ns;var fr="popup",ss=fr;import{jsx as ls}from"react/jsx-runtime";var ds="k-popup",hm=[],Nm={},ps={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:o=ps.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:l,...m}=e;return ls(vt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":l,children:ls("div",{...m,className:r(e.className,ds),children:e.children})})};F.states=hm;F.options=Nm;F.className=ds;F.defaultOptions=ps;F.moduleName=fr;F.folderName=ss;import{jsx as Cm}from"react/jsx-runtime";var vm="k-actionsheet-footer",ms={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=ms.alignment,orientation:o=ms.orientation,template:a,as:n=a?"div":z,...s}=e;return Cm(n,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,vm),children:e.children})};var br="searchbox",cs=br;import{jsx as Ia,jsxs as gm}from"react/jsx-runtime";var us="k-searchbox",Lm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Mm={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},nn={showIcon:!0,showClearButton:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:f,invalid:N,required:h,loading:M,disabled:c,showIcon:C=nn.showIcon,showClearButton:g=nn.showClearButton,icon:S=nn.icon,"aria-label":T,...A}=e;return gm(j,{...A,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:f,invalid:N,required:h,loading:M,disabled:c,className:r(e.className,us),children:[C&&Ia(L,{className:"k-input-icon",icon:S}),Ia(Ve,{placeholder:o,value:t,"aria-label":T}),Ia(we,{...e}),Ia(Ie,{...e}),g&&Ia(Fe,{...e})]})};Qe.states=Lm;Qe.options=Mm;Qe.className=us;Qe.defaultOptions=nn;Qe.moduleName=br;Qe.folderName=cs;import{jsx as cg}from"react/jsx-runtime";var xr="textbox",fs=xr;import{Fragment as bs,jsx as Kt,jsxs as hr}from"react/jsx-runtime";var xs="k-textbox",Sm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Im={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},rn={showClearButton:!0,showValidationIcon:!0,separators:!0},Ce=e=>{let{size:t,rounded:o,fillMode:a,separators:n=rn.separators,showClearButton:s=rn.showClearButton,showValidationIcon:l=rn.showValidationIcon,prefix:m,suffix:f,type:N,value:h,placeholder:M,hover:c,focus:C,valid:g,invalid:S,required:T,loading:A,disabled:R,readonly:$,id:se,"aria-label":ve,"aria-describedby":me,...ue}=e;return hr(j,{...ue,size:t,rounded:o,fillMode:a,hover:c,focus:C,valid:g,invalid:S,required:T,loading:A,disabled:R,readonly:$,className:r(e.className,xs),children:[m&&hr(bs,{children:[Kt(_e,{children:m}),n&&Kt(ke,{})]}),Kt(Ve,{id:se,placeholder:M,value:h,type:N,disabled:R,"aria-label":ve,"aria-describedby":me,"aria-invalid":S?"true":void 0}),l&&Kt(Ie,{valid:g,invalid:S,loading:A,disabled:R}),Kt(we,{loading:A,disabled:R}),s&&Kt(Fe,{loading:A,disabled:R,readonly:$,value:h}),f&&hr(bs,{children:[n&&Kt(ke,{}),Kt(De,{children:f})]})]})};Ce.states=Sm;Ce.options=Im;Ce.className=xs;Ce.defaultOptions=rn;Ce.moduleName=xr;Ce.folderName=fs;var ka=Ce;import{jsx as km}from"react/jsx-runtime";var hs=e=>km(ka,{...e});import{Fragment as Eg,jsx as yg}from"react/jsx-runtime";import{Fragment as wg,jsx as Rg}from"react/jsx-runtime";import{jsx as zg}from"react/jsx-runtime";import{jsx as Nr}from"react/jsx-runtime";var Am=Ce.states,Tm=Ce.defaultOptions,ym=Ce.options,Em=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Bm=[],ho=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Nr(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Nr(Yt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Nr(hs,{value:"Value",style:{width:300},...o,...a})};ho.options=ym;ho.states=Am;ho.variants=Bm;ho.defaultOptions=Tm;ho.modifiers=Em;ho.className=Ce.className;import{jsx as Rt,jsxs as vr}from"react/jsx-runtime";var Ns="k-actionsheet-titlebar",Om={},Ae=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:l,inputValue:m,inputPlaceholder:f,adaptive:N,titleId:h,children:M,...c}=e;return vr("div",{...c,className:r(e.className,Ns),children:[vr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Rt("div",{className:"k-actionsheet-actions",children:a}),!M&&vr("div",{className:"k-actionsheet-title",id:h,children:[t&&Rt("div",{className:"k-text-center",children:t}),o&&Rt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),M&&Rt("div",{className:"k-actionsheet-title",id:h,children:M}),n&&Rt("div",{className:"k-actionsheet-actions",children:n})]}),(l||s)&&Rt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Rt(Ce,{value:m,placeholder:f,size:N?"large":"medium","aria-label":t||f||"Input"}):Rt(Qe,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ae.className=Ns;Ae.defaultOptions=Om;import{jsx as Cr,jsxs as wm}from"react/jsx-runtime";var Lr="k-actionsheet-view",Pm=[],Km={},Rm={},No=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:l,...m}=e,f=n?.type===Ae&&Cr(Ae,{adaptive:t,titleId:l,...n?.props}),N=s?.type===Pt&&Cr(Pt,{...s?.props});return wm("div",{...m,className:r(e.className,Lr,{[`${Lr}-animated`]:o}),children:[f,Cr("div",{className:"k-actionsheet-content",children:a}),N]})};No.states=Pm;No.options=Km;No.className=Lr;No.defaultOptions=Rm;var Aa="action-sheet",sn=Aa;var Mr="overlay",vs=Mr;import{jsx as zm}from"react/jsx-runtime";var Cs="k-overlay",_m=[],Dm={},Hm={},wt=e=>{let{...t}=e;return zm("div",{...t,className:r(e.className,Cs),children:e.children})};wt.states=_m;wt.options=Dm;wt.className=Cs;wt.defaultOptions=Hm;wt.moduleName=Mr;wt.folderName=vs;import{jsx as ln,jsxs as Fm}from"react/jsx-runtime";var Ls="k-actionsheet",Gm=[],Um={},Ta={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ae=e=>{let{side:t=Ta.side,fullscreen:o=Ta.fullscreen,adaptive:a=Ta.adaptive,overlay:n=Ta.overlay,template:s,children:l,header:m,footer:f,id:N,...h}=e,M=N&&!s&&m?`${N}-title`:void 0;return Fm("div",{className:"k-actionsheet-container",children:[n&&ln(wt,{}),ln(vt,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:ln("div",{...h,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":M,className:r(e.className,Ls,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||ln(No,{header:m,footer:f,adaptive:a,titleId:M,...e,children:l})})})]})};ae.states=Gm;ae.options=Um;ae.className=Ls;ae.defaultOptions=Ta;ae.moduleName=Aa;ae.folderName=sn;import{jsx as Wm}from"react/jsx-runtime";var Ms="k-actionsheet-container",Vm=[],$m={},Xm={},vo=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:Ms,children:t})};vo.states=Vm;vo.options=$m;vo.className=Ms;vo.defaultOptions=Xm;vo.moduleName=Aa;vo.folderName=sn;import{jsx as Jm}from"react/jsx-runtime";var gr=e=>{let{...t}=e;return Jm("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ym,jsx as ya,jsxs as Sr}from"react/jsx-runtime";var Ir="k-actionsheet-item",qm=[i.hover,i.focus,i.selected,i.disabled],_t=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:l,disabled:m,...f}=e;return Sr("span",{...f,className:r(e.className,Ir,I(Ir,{hover:n,focus:s,selected:l,disabled:m})),children:[!e.children&&ya(Ym,{children:Sr("span",{className:"k-actionsheet-action",children:[t&&ya("span",{className:"k-icon-wrap",children:ya(L,{className:"k-actionsheet-item-icon",icon:t})}),Sr("span",{className:"k-actionsheet-item-text",children:[o&&ya("span",{className:"k-actionsheet-item-title",children:o}),a&&ya("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};_t.states=qm;_t.className=Ir;import{jsx as HS,jsxs as zS}from"react/jsx-runtime";import{jsx as VS}from"react/jsx-runtime";import{jsx as JS}from"react/jsx-runtime";import{jsx as ZS}from"react/jsx-runtime";import{jsx as fe,jsxs as kr}from"react/jsx-runtime";var Qm=ae.options,Zm=ae.states,Ss={...ae.defaultOptions,variant:"normal"},jm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ec=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Co=e=>{let{variant:t,modifiers:o,...a}={...Ss,...e},n={},s=kr(gr,{children:[fe(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),fe(_t,{text:"Add to Favorites",iconName:"heart"}),fe(_t,{text:"Upload New",iconName:"upload",disabled:!0}),fe("hr",{className:"k-hr"}),fe(_t,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":n.actionsStart=!!o?.[f],n.actionsEnd=!!o?.[f];break;case"subtitle":n.subtitle=o?.[f]?l:void 0;break;case"footer":n.footer=!!o?.[f];break;default:break}}),t==="adaptive"?fe(ae,{...a,adaptive:!0,fullscreen:n.fullScreen,header:fe(Ae,{actionsStart:n.actionsStart?fe(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?fe(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?kr(Pt,{alignment:"stretched",children:[fe(d,{text:"Cancel",size:"large",themeColor:"base"}),fe(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):fe(ae,{...a,fullscreen:n.fullScreen,header:fe(Ae,{actionsStart:n.actionsStart?fe(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?fe(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?kr(Pt,{alignment:"stretched",children:[fe(d,{text:"Apply",themeColor:"primary"}),fe(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Co.options=Qm;Co.states=Zm;Co.variants=jm;Co.defaultOptions=Ss;Co.modifiers=ec;Co.className=ae.className;var Ar="slider",Is=Ar;import{jsx as Lo,jsxs as Tr}from"react/jsx-runtime";var Ea="k-slider",tc=[i.hover,i.focus,i.active,i.disabled,i.readonly],oc={},Ze={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},Q=e=>{let{type:t=Ze.type,orientation:o=Ze.orientation,gradientType:a=Ze.gradientType,readonly:n=Ze.readonly,disabled:s=Ze.disabled,handlePosition:l=Ze.handlePosition,showButtons:m=Ze.showButtons,showTicks:f=Ze.showTicks,value:N=Ze.value,min:h=Ze.min,max:M=Ze.max,startValue:c,endValue:C,hover:g,focus:S,active:T,trackStyle:A,dir:R,...$}=e,ve=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),me,ue;return o==="horizontal"?(me=R==="rtl"?"chevron-left":"chevron-right",ue=R==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(me="chevron-up",ue="chevron-down"),Tr("div",{...$,className:r(Ea,e.className,I(Ea,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:R,children:[m&&Lo(d,{className:"k-button-decrease",rounded:"full",icon:ue,tabIndex:-1,title:"Decrease"}),Tr("div",{className:"k-slider-track-wrap",children:[f&&Lo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Tr("div",{className:"k-slider-track",style:A,children:[Lo("div",{className:"k-slider-selection"}),t==="range"&&Lo("span",{className:r("k-draghandle","k-draghandle-start",I(Ea,{hover:g,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??h,"aria-valuemin":h,"aria-valuemax":C??M,"aria-orientation":ve,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":$["aria-label"]?`${$["aria-label"]} start`:"Range start"}),Lo("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(Ea,{hover:g,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?C??M:N,"aria-valuemin":t==="range"?c??h:h,"aria-valuemax":M,"aria-orientation":ve,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?$["aria-label"]?`${$["aria-label"]} end`:"Range end":$["aria-label"]})]})]}),m&&Lo(d,{className:"k-button-increase",rounded:"full",icon:me,tabIndex:-1,title:"Increase"})]})};Q.states=tc;Q.options=oc;Q.className=Ea;Q.defaultOptions=Ze;Q.moduleName=Ar;Q.folderName=Is;import{jsx as ks}from"react/jsx-runtime";var As="k-tick",ac=[],nc={},Ts={label:!1},B=e=>{let{style:t,label:o=Ts.label,orientation:a,large:n,text:s,...l}=e;return ks("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,As,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&ks("span",{className:"k-label",children:s})})};B.states=ac;B.options=nc;B.className=As;B.defaultOptions=Ts;import{Fragment as rc,jsx as je,jsxs as ic}from"react/jsx-runtime";var ys=e=>je(Q,{"aria-label":e["aria-label"]||"Slider",children:ic(rc,{children:[je(B,{className:"k-first",label:!0,large:!0,text:"0"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{label:!0,large:!0,text:"5"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as sc,jsx as et,jsxs as lc}from"react/jsx-runtime";var Es=e=>et(Q,{children:lc(sc,{children:[et(B,{className:"k-first",label:!0,large:!0,text:"0"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{label:!0,large:!0,text:"5"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as zI,jsx as HI,jsxs as GI}from"react/jsx-runtime";import{Fragment as XI,jsx as $I,jsxs as WI}from"react/jsx-runtime";import{jsx as dc}from"react/jsx-runtime";var yr=e=>dc(Q,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pc}from"react/jsx-runtime";var Er=e=>pc(Q,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as nk,jsx as ak,jsxs as rk}from"react/jsx-runtime";import{Fragment as pk,jsx as dk,jsxs as mk}from"react/jsx-runtime";import{jsx as Ct,jsxs as Bs}from"react/jsx-runtime";var mc=Q.options,cc=Q.states,Os={...Q.defaultOptions,variant:"horizontal",label:!0},uc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Mo=e=>{let{variant:t,modifiers:o,...a}=e,n=Os.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Bs(Es,{style:{height:"300px",...l},...a,...s,children:[Ct(B,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Ct(B,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Ct(B,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Ct(B,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Ct(B,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Bs(ys,{style:{width:"400px",...l},...a,...s,children:[Ct(B,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Ct(B,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Ct(B,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Ct(B,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Ct(B,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Mo.options=mc;Mo.states=cc;Mo.variants=uc;Mo.defaultOptions=Os;Mo.modifiers=fc;Mo.className=Q.className;import{jsx as Ps,jsxs as vc}from"react/jsx-runtime";var Ks="k-spin-button",hc=[],Nc={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Br={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Br.increaseLabel,decreaseLabel:s=Br.decreaseLabel,...l}=e;return vc("span",{...l,className:r(Ks,e.className),children:[Ps(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Ps(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Dt.states=hc;Dt.options=Nc;Dt.className=Ks;Dt.defaultOptions=Br;Dt.moduleName=null;Dt.folderName=null;var Rs="numeric-textbox",ws="numerictextbox";import{Fragment as _s,jsx as It,jsxs as Or}from"react/jsx-runtime";var Ds="k-numerictextbox",Cc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Lc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},dn={showSpinButton:!0,showClearButton:!0,separators:!0},X=e=>{let{size:t,rounded:o,fillMode:a,separators:n=dn.separators,showClearButton:s=dn.showClearButton,showSpinButton:l=dn.showSpinButton,prefix:m,suffix:f,value:N,placeholder:h,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:R,id:$,"aria-label":se,"aria-describedby":ve,...me}=e;return Or(j,{...me,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:R,className:r(e.className,Ds),children:[m&&Or(_s,{children:[It(_e,{children:m}),n&&It(ke,{})]}),It(Ve,{id:$,placeholder:h,value:N,role:"spinbutton",disabled:A,"aria-label":se,"aria-describedby":ve,"aria-invalid":g?"true":void 0}),It(Ie,{valid:C,invalid:g,loading:T,disabled:A}),It(we,{loading:T,disabled:A}),s&&It(Fe,{loading:T,disabled:A,readonly:R,value:N}),f&&Or(_s,{children:[n&&It(ke,{}),It(De,{children:f})]}),l&&It(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:A})]})};X.states=Cc;X.options=Lc;X.className=Ds;X.defaultOptions=dn;X.moduleName=Rs;X.folderName=ws;var Ba=X;import{jsx as Mc}from"react/jsx-runtime";var Hs=e=>Mc(Ba,{...e});import Kr from"react";import{jsx as zs}from"react/jsx-runtime";var gc="k-list-group-sticky-header",Pr=e=>zs("div",{className:r(gc,e.className),children:zs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Ic}from"react/jsx-runtime";var Sc="k-no-data",pn=e=>{let{live:t,...o}=e;return Ic("span",{...o,className:r(Sc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Zt="list",go=Zt;import{jsx as Gs,jsxs as Us}from"react/jsx-runtime";var Rr="k-list",kc=[],Ac={size:[p.undefined,p.small,p.medium,p.large]},Tc={},G=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:l,customValue:m,noData:f,screenReaders:N,...h}=e,c=Kr.Children.toArray(a)[0],C=c?.props?.children?Kr.Children.count(c.props.children):Kr.Children.count(a);return Us("div",{...h,className:r(e.className,Rr,k(Rr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,n&&Gs(Pr,{children:n}),a||(f!==void 0?f:Gs(pn,{live:!0,children:"No data found."})),N&&a&&Us(pn,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};G.states=kc;G.options=Ac;G.className=Rr;G.defaultOptions=Tc;G.moduleName=Zt;G.folderName=go;import{jsx as Oc}from"react/jsx-runtime";var Fs="k-list-container",yc=[],Ec={},Bc={},So=e=>{let{...t}=e;return Oc("div",{...t,className:r(e.className,Fs),children:e.children})};So.states=yc;So.options=Ec;So.className=Fs;So.defaultOptions=Bc;So.moduleName=Zt;So.folderName=go;var jt="checkbox",Io=jt;import{jsx as Vs}from"react/jsx-runtime";var mn="k-checkbox",Pc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Kc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Rc={},$e=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:l,invalid:m,valid:f,required:N,size:h,rounded:M,wrapperRole:c,...C}=e;return Vs("span",{className:"k-checkbox-wrap",role:c,children:Vs("input",{...C,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,mn,k(mn,{size:h,rounded:M}),I(mn,{hover:n,focus:s,disabled:l,invalid:m,valid:f,indeterminate:a,checked:o}))})})};$e.states=Pc;$e.options=Kc;$e.className=mn;$e.defaultOptions=Rc;$e.moduleName=jt;$e.folderName=Io;var mt=$e;import{jsx as Dc}from"react/jsx-runtime";var $s="k-checkbox-list",wc=[],_c={},Xs={layout:"vertical"},Te=e=>{let{layout:t=Xs.layout,...o}=e;return Dc("ul",{...o,className:r(e.className,$s,{[`k-list-${t}`]:t}),children:e.children})};Te.states=wc;Te.options=_c;Te.className=$s;Te.defaultOptions=Xs;Te.moduleName=jt;Te.folderName=Io;import{jsx as Uc}from"react/jsx-runtime";var Ws="k-checkbox-list-item",Hc=[],zc={},Gc={},ye=e=>{let{...t}=e;return Uc("li",{...t,className:r(e.className,Ws),children:e.children})};ye.states=Hc;ye.options=zc;ye.className=Ws;ye.defaultOptions=Gc;ye.moduleName=jt;ye.folderName=Io;import{Fragment as Fc,jsx as Js,jsxs as Vc}from"react/jsx-runtime";var kt=({children:e="Label",id:t="cb-label-after",...o})=>Vc(Fc,{children:[Js(mt,{id:t,...o}),Js("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as RA,jsx as KA,jsxs as wA}from"react/jsx-runtime";import{Fragment as GA,jsx as zA,jsxs as UA}from"react/jsx-runtime";import{Fragment as WA,jsx as XA,jsxs as JA}from"react/jsx-runtime";import{jsx as ZA}from"react/jsx-runtime";import{jsx as oT}from"react/jsx-runtime";import{jsx as iT}from"react/jsx-runtime";import{jsx as tt,jsxs as qs}from"react/jsx-runtime";var $c=Te.options,Xc=Te.states,Wc={...Te.defaultOptions,variant:"vertical"},Jc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qc=[],ko=e=>{let{variant:t,...o}=e;return t==="horizontal"?qs(Te,{layout:"horizontal",...o,children:[tt(ye,{children:tt(kt,{id:y("cb"),defaultChecked:!0,children:"Label"})}),tt(ye,{children:tt(kt,{id:y("cb"),children:"Label"})}),tt(ye,{children:tt(kt,{id:y("cb"),children:"Label"})})]}):qs(Te,{...o,children:[tt(ye,{children:tt(kt,{id:y("cb"),defaultChecked:!0,children:"Label"})}),tt(ye,{children:tt(kt,{id:y("cb"),children:"Label"})}),tt(ye,{children:tt(kt,{id:y("cb"),children:"Label"})})]})};ko.options=$c;ko.states=Xc;ko.variants=Jc;ko.defaultOptions=Wc;ko.modifiers=qc;ko.className=Te.className;import{jsx as tu}from"react/jsx-runtime";var Yc=mt.options,Qc=mt.states,Zc=mt.defaultOptions,jc=[],eu=[],Ao=e=>tu(kt,{id:y("checkbox"),...e,defaultChecked:!0,children:"Label"});Ao.options=Yc;Ao.states=Qc;Ao.variants=jc;Ao.defaultOptions=Zc;Ao.modifiers=eu;Ao.className=mt.className;import{jsx as To,jsxs as ru}from"react/jsx-runtime";var wr="k-list-item",ou=[i.hover,i.focus,i.selected,i.disabled],au={},nu={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:s,hover:l,focus:m,selected:f,disabled:N,actions:h,description:M,id:c,...C}=e,g=t||e.children,S=t||(typeof g=="string"?g:void 0);return ru("li",{...C,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":N?"true":void 0,className:r(e.className,wr,I(wr,{hover:l,focus:m,disabled:N,selected:f})),children:[n&&To($e,{checked:s,disabled:N,"aria-label":S,tabIndex:-1}),o&&To("span",{className:"k-list-item-icon-wrapper",children:To(L,{icon:o,className:r("k-list-item-icon",a)})}),To("span",{className:"k-list-item-text",children:g}),h&&To("div",{className:"k-list-item-actions",children:h}),M&&To("span",{className:"k-list-item-description",children:M})]})};P.states=ou;P.options=au;P.className=wr;P.defaultOptions=nu;P.moduleName=Zt;P.folderName=go;import{jsx as su}from"react/jsx-runtime";var iu="k-list-ul",Ht=e=>{let{children:t,role:o,id:a,...n}=e;return su("ul",{...n,id:a,role:o,className:r(iu,e.className),children:t})};import{jsx as _r,jsxs as du}from"react/jsx-runtime";var lu="k-list-content",W=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...l}=e;return du("div",{...l,className:r(lu,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:_r(Ht,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&_r("div",{className:"k-height-container",children:_r("div",{})})]})};import{jsx as Dr,jsxs as uu}from"react/jsx-runtime";var cn="k-list-sticky-header",pu=[i.hover,i.focus,i.selected],mu={},cu={},un=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:l,selected:m,...f}=e;return Dr("div",{...f,className:r(cn,e.className),children:uu("div",{className:r(`${cn}-item`,I(`${cn}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&Dr($e,{checked:a,indeterminate:n,"aria-label":t}),Dr("span",{className:"k-list-item-text",children:t})]})})};un.states=pu;un.options=mu;un.className=cn;un.defaultOptions=cu;import{Fragment as ey,jsx as jT,jsxs as ty}from"react/jsx-runtime";import{jsx as iy,jsxs as sy}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";var Hr="k-list-optionlabel",fu=[i.hover,i.focus,i.selected,i.disabled],bu={},xu={},fn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return hu("div",{...l,className:r(Hr,I(Hr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};fn.states=fu;fn.options=bu;fn.className=Hr;fn.defaultOptions=xu;import{jsx as Lu}from"react/jsx-runtime";var zr="k-list-custom-value",Nu=[i.hover,i.focus,i.selected,i.disabled],vu={},Cu={},zt=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return Lu("div",{...l,className:r(zr,I(zr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};zt.states=Nu;zt.options=vu;zt.className=zr;zt.defaultOptions=Cu;import{Fragment as vy,jsx as Ny,jsxs as Cy}from"react/jsx-runtime";import{Fragment as ky,jsx as Iy,jsxs as Ay}from"react/jsx-runtime";import{Fragment as Ky,jsx as Oy,jsxs as Py}from"react/jsx-runtime";import{Fragment as Gy,jsx as Hy,jsxs as zy}from"react/jsx-runtime";import{jsx as $y}from"react/jsx-runtime";import{Fragment as Qy,jsx as Yy,jsxs as Zy}from"react/jsx-runtime";import{Fragment as nE,jsx as aE,jsxs as rE}from"react/jsx-runtime";var Ys="dropdown-list",Qs="dropdownlist";import{Fragment as Su,jsx as Ee,jsxs as Gr}from"react/jsx-runtime";var Zs="k-dropdownlist",Mu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gu={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ur={showValue:!0,arrowIconName:"chevron-down"},ce=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Ur.arrowIconName,showValue:s=Ur.showValue,valueIconName:l,prefix:m,suffix:f,value:N,placeholder:h,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:R,popup:$,opened:se,adaptive:ve,adaptiveSettings:me,adaptiveTitle:ue,adaptiveSubtitle:xa,adaptiveFilter:Jt,id:qt,activeDescendant:ha,"aria-label":Fn,...Vn}=e,$n=qt?`${qt}-listbox`:void 0,Oi=qt?`${qt}-value`:void 0;return Gr(Su,{children:[Gr(ht,{...Vn,id:qt,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:R,className:r(e.className,Zs,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":se?"true":"false","aria-controls":se?$n:void 0,"aria-activedescendant":se&&ha?ha:void 0,"aria-describedby":se?Oi:void 0,"aria-disabled":A?"true":void 0,"aria-label":Fn,tabIndex:0,children:[Ee(_e,{children:m}),Ee(Qt,{placeholder:h,value:N,showValue:s,valueIconName:l,id:Oi}),Ee(Ie,{valid:C,invalid:g,loading:T,disabled:A}),Ee(we,{loading:T,disabled:A}),Ee(De,{children:f}),Ee(d,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),se&&$&&Ee(F,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:$}),ve&&Ee(ae,{adaptive:!0,...me,header:Ee(Ae,{actionsEnd:Ee(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Jt,inputValue:N,inputPlaceholder:h,title:ue,subtitle:xa}),children:Ee("div",{className:"k-list-container",children:Ee(G,{size:"large",children:Gr(W,{"aria-label":"Options",children:[Ee(P,{text:"List item"}),Ee(P,{text:"List item"}),Ee(P,{text:"List item"})]})})})})]})};ce.states=Mu;ce.options=gu;ce.className=Zs;ce.defaultOptions=Ur;ce.moduleName=Ys;ce.folderName=Qs;import{jsx as zE}from"react/jsx-runtime";import{jsx as XE,jsxs as WE}from"react/jsx-runtime";import{Fragment as oB,jsx as eB,jsxs as tB}from"react/jsx-runtime";import{jsx as sB}from"react/jsx-runtime";import{jsx as uB,jsxs as fB}from"react/jsx-runtime";import{Fragment as gB,jsx as LB,jsxs as MB}from"react/jsx-runtime";import{jsx as TB}from"react/jsx-runtime";import{Fragment as Eu,jsx as Gt,jsxs as js}from"react/jsx-runtime";var Iu=ce.states,ku=ce.defaultOptions,Au=ce.options,Tu=[{name:"opened",title:"Opened"}],yu=[],Eo=e=>{let{modifiers:t,...o}=e,a={},n=js(Eu,{children:[Gt("div",{className:"k-list-filter",children:Gt(Qe,{})}),Gt(G,{style:{width:300},size:o.size,children:js(W,{children:[Gt(P,{children:"List item"}),Gt(P,{children:"List item"}),Gt(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),Gt("div",{children:Gt(ce,{placeholder:"Value",style:{width:300},...o,...a})})};Eo.options=Au;Eo.states=Iu;Eo.variants=yu;Eo.defaultOptions=ku;Eo.modifiers=Tu;Eo.className=ce.className;import{Fragment as YB,jsx as qB}from"react/jsx-runtime";import{Fragment as oO,jsx as tO}from"react/jsx-runtime";import{jsx as iO}from"react/jsx-runtime";import{jsx as Fr}from"react/jsx-runtime";var Bu=X.states,Ou=X.defaultOptions,Pu=X.options,Ku=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Ru=[],Bo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Fr(ce,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Fr(pr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),Fr(Hs,{value:"Value",style:{width:300},...o,...a})};Bo.options=Pu;Bo.states=Bu;Bo.variants=Ru;Bo.defaultOptions=Ou;Bo.modifiers=Ku;Bo.className=X.className;import{Fragment as Pa,jsx as _,jsxs as ne}from"react/jsx-runtime";var el="k-colorgradient-inputs",wu=[],_u={size:[p.undefined,p.small,p.medium,p.large]},tl={mode:"rgba"},Oo=e=>{let{mode:t=tl.mode,size:o,...a}=e;return ne("div",{...a,className:r(el,"k-hstack"),children:[_("div",{className:"k-vstack",children:_(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ne(Pa,{children:[ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ne(Pa,{children:[ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ne(Pa,{children:[ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ne(Pa,{children:[ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&_(Pa,{children:ne("div",{className:"k-vstack k-flex-1",children:[_(Ce,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),_("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Oo.states=wu;Oo.options=_u;Oo.className=el;Oo.defaultOptions=tl;import{jsx as eo,jsxs as to}from"react/jsx-runtime";var ol="k-colorgradient-color-contrast",Du=[],Hu={},zu={},Po=()=>to("div",{className:r(ol,"k-vbox"),children:[to("div",{className:"k-contrast-ratio",children:[eo("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),to("span",{className:"k-contrast-validation !k-text-success",children:[eo(L,{icon:"check"}),eo(L,{icon:"check"})]})]}),to("div",{children:[eo("span",{children:"AA: 4.5"}),to("span",{className:"k-contrast-validation !k-text-success",children:["Pass",eo(L,{icon:"check"})]})]}),to("div",{children:[eo("span",{children:"AAA: 7.0"}),to("span",{className:"k-contrast-validation !k-text-error",children:["Fail",eo(L,{icon:"x"})]})]})]});Po.states=Du;Po.options=Hu;Po.className=ol;Po.defaultOptions=zu;var al="color-gradient",nl="colorgradient";import{jsx as ot,jsxs as Ka}from"react/jsx-runtime";var bn="k-colorgradient",Gu=[i.hover,i.focus,i.readonly,i.disabled],Uu={size:[p.undefined,p.small,p.medium,p.large]},Lt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},be=e=>{let{size:t,mode:o=Lt.mode,readonly:a=Lt.readonly,disabled:n=Lt.disabled,gradientStyle:s=Lt.gradientStyle,dragHandleStyle:l=Lt.dragHandleStyle,alphaStyle:m=Lt.alphaStyle,alphaStyleHorizontal:f=Lt.alphaStyleHorizontal,contrast:N=Lt.contrast,dir:h,hover:M,focus:c,hoverHandle:C,focusHandle:g,canvasOrientation:S=Lt.canvasOrientation,role:T,tabIndex:A,...R}=e;return Ka("div",{...R,role:T??"textbox","aria-label":T==="none"?void 0:"Color gradient",tabIndex:A??0,"aria-disabled":n?"true":void 0,className:r(e.className,bn,k(bn,{size:t}),I(bn,{hover:M,focus:c,readonly:a,disabled:n})),dir:h,children:[!S||S==="horizontal"&&Ka("div",{className:"k-colorgradient-canvas k-hstack",children:[ot("div",{className:"k-hsv-rectangle",style:s,children:ot("div",{className:"k-hsv-gradient",children:ot("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":C,"k-focus":g}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ka("div",{className:"k-hsv-controls k-hstack",children:[ot(Er,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&ot(Er,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:m})]})]}),S==="vertical"&&Ka("div",{className:"k-colorgradient-canvas k-vstack",children:[ot("div",{className:"k-hsv-rectangle",style:s,children:ot("div",{className:"k-hsv-gradient",children:ot("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":C,"k-focus":g}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ka("div",{className:"k-hsv-controls k-vstack",children:[ot(yr,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&ot(yr,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:f})]})]}),ot(Oo,{mode:e.mode,size:t}),N&&ot(Po,{})]})};be.states=Gu;be.options=Uu;be.className=bn;be.defaultOptions=Lt;be.moduleName=al;be.folderName=nl;import{jsx as Fu}from"react/jsx-runtime";var xn=e=>Fu(be,{...e});import{jsx as $O}from"react/jsx-runtime";import{jsx as qO}from"react/jsx-runtime";import{jsx as Vr}from"react/jsx-runtime";var Vu=be.options,$u=be.states,Xu={...be.defaultOptions,variant:"rgba"},Wu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Ju=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Vr(xn,{...o,mode:t});case"rgb":return Vr(xn,{...o,mode:t});default:return Vr(xn,{...o,mode:t})}};Ko.options=Vu;Ko.states=$u;Ko.variants=Wu;Ko.defaultOptions=Xu;Ko.modifiers=Ju;Ko.className=be.className;import{jsx as qu}from"react/jsx-runtime";var $r=e=>qu("tr",{role:"row",children:e.children});import{jsx as Zu}from"react/jsx-runtime";var Xr="k-colorpalette-tile",Yu=[i.hover,i.focus,i.selected],Qu={},Ut=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Zu("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,Xr,I(Xr,{hover:a,focus:n,selected:s})),style:m})};Ut.states=Yu;Ut.options=Qu;Ut.className=Xr;Ut.moduleName=null;Ut.folderName=null;var rl="color-palette",il="colorpalette";import{jsx as Ra}from"react/jsx-runtime";var hn="k-colorpalette",ju=[i.disabled],ef={size:[p.undefined,p.small,p.medium,p.large]},sl={columns:10},He=e=>{let{size:t,palette:o,columns:a=sl.columns,tileSize:n,disabled:s,...l}=e,m=[];if(o){let f=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/f)},(h,M)=>{let c=[];N.slice(M*f,(M+1)*f).map((g,S)=>{c.push(Ra(Ut,{color:g,tileSize:n},S))});let C=Ra($r,{children:c},M);m.push(C)})}return Ra("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,hn,I(hn,{disabled:s}),k(hn,{size:t})),children:Ra("table",{className:"k-colorpalette-table",role:"none",children:Ra("tbody",{children:m.length>0?m:e.children})})})};He.states=ju;He.options=ef;He.className=hn;He.defaultOptions=sl;He.moduleName=rl;He.folderName=il;var Nn=He;var wa={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as tf}from"react/jsx-runtime";var ll=e=>tf(Nn,{palette:wa.basic,...e});import{jsx as EP}from"react/jsx-runtime";import{jsx as wP,jsxs as _P}from"react/jsx-runtime";import{jsx as df}from"react/jsx-runtime";var of=He.options,af=He.states,nf={...He.defaultOptions,variant:"basic"},rf=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sf={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},lf=[],Ro=e=>{let{variant:t="basic",...o}=e,a=sf[t];return df(ll,{columns:a.columns,palette:a,...o})};Ro.options=of;Ro.states=af;Ro.variants=rf;Ro.defaultOptions=nf;Ro.modifiers=lf;Ro.className=He.className;var dl="color-editor",pl="coloreditor";import{jsx as at,jsxs as wo}from"react/jsx-runtime";var vn="k-coloreditor",pf=[i.focus],mf={size:[p.undefined,p.small,p.medium,p.large]},_a={view:"gradient",palette:wa.office,actionButtons:!0,canvasOrientation:"horizontal"},re=e=>{let{size:t,view:o=_a.view,palette:a=_a.palette,color:n,currentColor:s,focus:l,focusView:m,dir:f,group:N,actionButtons:h=_a.actionButtons,canvasOrientation:M=_a.canvasOrientation,...c}=e;return wo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",vn,k(vn,{size:t}),I(vn,{focus:l})),dir:f,children:[wo("div",{className:"k-coloreditor-header k-hstack",children:[at("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&wo(O,{fillMode:"flat",children:[at(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),at(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),at("div",{className:"k-spacer"}),wo("div",{className:"k-coloreditor-header-actions k-hstack",children:[at(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),wo("div",{className:"k-coloreditor-preview k-vstack",children:[at(Ot,{className:"k-coloreditor-preview-color",color:n}),at(Ot,{className:"k-coloreditor-current-color",color:s})]})]})]}),at("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?at(be,{focus:m,size:t,canvasOrientation:M,role:"none",tabIndex:-1}):at(He,{palette:a,size:t})}),h&&wo(z,{className:"k-coloreditor-footer",alignment:"start",children:[at(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),at(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};re.states=pf;re.options=mf;re.className=vn;re.defaultOptions=_a;re.moduleName=dl;re.folderName=pl;var _o=re;import{jsx as cK}from"react/jsx-runtime";import{jsx as xK}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var ml=e=>cf(_o,{group:!0,currentColor:"fuchsia",...e});import{jsx as uf}from"react/jsx-runtime";var cl=e=>uf(_o,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as ul}from"react/jsx-runtime";var ff=re.options,bf=re.states,xf={...re.defaultOptions,variant:"gradient"},hf=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Nf=[],Do=e=>{let{variant:t,...o}=e;return t==="palette"?ul(cl,{...o,color:"white"}):ul(ml,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Do.options=ff;Do.states=bf;Do.variants=hf;Do.defaultOptions=xf;Do.modifiers=Nf;Do.className=re.className;var fl="color-picker",bl="colorpicker";import{Fragment as Lf,jsx as nt,jsxs as Wr}from"react/jsx-runtime";var xl="k-colorpicker",vf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Cf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},hl={arrowIconName:"chevron-down"},rt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=hl.arrowIconName,prefix:s,suffix:l,value:m,placeholder:f,hover:N,focus:h,valid:M,invalid:c,required:C,disabled:g,valueIconName:S,popup:T,opened:A,adaptive:R,adaptiveSettings:$,adaptiveTitle:se,adaptiveSubtitle:ve,...me}=e,ue="colorpicker-popup";return Wr(Lf,{children:[Wr(ht,{...me,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:M,invalid:c,required:C,disabled:g,role:"combobox","aria-haspopup":"dialog","aria-expanded":A?"true":"false","aria-controls":A||R?ue:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":g?"true":void 0,className:r(e.className,xl,"k-icon-picker"),children:[nt(_e,{children:s}),nt(Qt,{placeholder:f,value:m,showValue:!1,valueIcon:nt(Ot,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),nt(De,{children:l}),nt(d,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:g})]}),A&&T&&nt(F,{id:ue,className:"k-colorpicker-popup",children:T}),R&&nt(ae,{adaptive:!0,id:ue,...$,header:nt(Ae,{actionsEnd:nt(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:se,subtitle:ve}),footer:Wr(Pt,{children:[nt(d,{text:"Cancel",size:"large"}),nt(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:nt(re,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};rt.states=vf;rt.options=Cf;rt.className=xl;rt.defaultOptions=hl;rt.moduleName=fl;rt.folderName=bl;var At=rt;import{jsx as Mf}from"react/jsx-runtime";var Cn=e=>Mf(At,{...e});import{jsx as jK}from"react/jsx-runtime";import{jsx as nR}from"react/jsx-runtime";import{jsx as lR}from"react/jsx-runtime";import{jsx as cR}from"react/jsx-runtime";import{jsx as xR}from"react/jsx-runtime";import{jsx as CR}from"react/jsx-runtime";import{jsx as oo}from"react/jsx-runtime";var gf=At.options,Sf=At.states,Nl={...At.defaultOptions,variant:"color"},If=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],kf=[{name:"opened",title:"Opened"}],Ho=e=>{let{variant:t,modifiers:o,...a}={...Nl,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?oo(re,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return oo("div",{style:s,children:oo(Cn,{...a,...n})});case"icon":return oo("div",{style:s,children:oo(Cn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return oo("div",{style:s,children:oo(Cn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Ho.options=gf;Ho.states=Sf;Ho.variants=If;Ho.defaultOptions=Nl;Ho.modifiers=kf;Ho.className=At.className;var Jr="combobox",vl=Jr;import{Fragment as qr,jsx as le,jsxs as Da}from"react/jsx-runtime";var Cl="k-combobox",Af=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Tf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Yr={separators:!0,showClearButton:!0},Be=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Yr.separators,showClearButton:s=Yr.showClearButton,prefix:l,suffix:m,value:f,placeholder:N,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:T,popup:A,opened:R,readonly:$,adaptive:se,adaptiveSettings:ve,adaptiveTitle:me,adaptiveSubtitle:ue,adaptiveCustomValue:xa,id:Jt,autocomplete:qt,activeDescendant:ha,"aria-label":Fn,...Vn}=e,$n=Jt?`${Jt}-listbox`:void 0;return Da(qr,{children:[Da(j,{...Vn,size:t,rounded:o,fillMode:a,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:T,readonly:$,className:r(e.className,Cl),children:[l&&Da(qr,{children:[le(_e,{children:l}),n&&le(ke,{})]}),le(Ve,{id:Jt,placeholder:N,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":R?"true":"false","aria-controls":R?$n:void 0,"aria-activedescendant":R&&ha?ha:void 0,"aria-autocomplete":qt,"aria-invalid":C?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Fn,disabled:T,readOnly:$}),le(Ie,{valid:c,invalid:C,loading:S,disabled:T}),le(we,{loading:S,disabled:T}),s&&le(Fe,{loading:S,disabled:T,readonly:$,value:f}),m&&Da(qr,{children:[n&&le(ke,{}),le(De,{children:m})]}),le(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:T})]}),R&&A&&le(F,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:A}),se&&le(ae,{adaptive:!0,id:Jt?`${Jt}-adaptive`:void 0,...ve,header:le(Ae,{actionsEnd:le(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:N,title:me,subtitle:ue}),children:le("div",{className:"k-list-container",children:le(G,{customValue:xa?le(zt,{text:`Use "${f}"`}):void 0,size:"large",children:Da(W,{"aria-label":me||"Options",children:[le(P,{text:"List item"}),le(P,{text:"List item"}),le(P,{text:"List item"})]})})})})]})};Be.states=Af;Be.options=Tf;Be.className=Cl;Be.defaultOptions=Yr;Be.moduleName=Jr;Be.folderName=vl;var Xe=Be;import{jsx as yf}from"react/jsx-runtime";var Ll=e=>yf(Xe,{...e});import{jsx as ow,jsxs as aw}from"react/jsx-runtime";import{jsx as dw,jsxs as pw}from"react/jsx-runtime";import{jsx as xw,jsxs as hw}from"react/jsx-runtime";import{Fragment as gw,jsx as Mw}from"react/jsx-runtime";import{Fragment as yw,jsx as Tw}from"react/jsx-runtime";import{jsx as Rw,jsxs as ww}from"react/jsx-runtime";import{Fragment as Vw,jsx as Uw,jsxs as Fw}from"react/jsx-runtime";import{jsx as Jw}from"react/jsx-runtime";import{jsx as Zw}from"react/jsx-runtime";import{jsx as n_,jsxs as r_}from"react/jsx-runtime";import{jsx as m_,jsxs as c_}from"react/jsx-runtime";import{jsx as Ft,jsxs as Rf}from"react/jsx-runtime";var Ef=Be.states,Bf=Be.defaultOptions,Of=Be.options,Pf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Kf=[],zo=e=>{let{modifiers:t,...o}=e,a={},n=Ft(G,{style:{width:300},size:o.size,children:Rf(W,{children:[Ft(P,{children:"List item"}),Ft(P,{children:"List item"}),Ft(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Ft(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Ft(w,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0;break;default:break}}),Ft("div",{children:Ft(Ll,{value:"Value",style:{width:300},...o,...a})})};zo.options=Of;zo.states=Ef;zo.variants=Kf;zo.defaultOptions=Bf;zo.modifiers=Pf;zo.className=Be.className;var Qr="menu-button",Ml=Qr;import{jsx as Df}from"react/jsx-runtime";var gl="k-menu-button",wf=[i.hover,i.focus,i.active,i.selected,i.disabled],_f={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Zr={showArrow:!0,arrowIconName:"chevron-down"},J=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,icon:h,endIcon:M,text:c,showArrow:C=Zr.showArrow,arrowIconName:g=Zr.arrowIconName,expanded:S,...T}=e;return Df(d,{...T,className:r(e.className,gl),text:c,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,ariaDisabled:N||void 0,icon:h,endIcon:M,showArrow:C,arrowIconName:g,"aria-expanded":S?"true":"false",...!c&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};J.states=wf;J.options=_f;J.className=gl;J.defaultOptions=Zr;J.moduleName=Qr;J.folderName=Ml;import{jsx as $_}from"react/jsx-runtime";import{jsx as q_}from"react/jsx-runtime";import{jsx as j_}from"react/jsx-runtime";import{jsx as a0}from"react/jsx-runtime";var We="menu",it=We;import{jsx as za,jsxs as Sl}from"react/jsx-runtime";var jr="k-menu-item",Hf=[i.hover,i.focus,i.active,i.selected,i.disabled],zf={},Il={iconPosition:"before"},Le=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:f,arrowIconName:N,iconPosition:h=Il.iconPosition,dir:M,children:c,expanded:C,...g}=e,S=N;return S||(S=M==="rtl"?"chevron-left":"chevron-right"),Sl("li",{...g,className:r(e.className,jr,"k-item",I(jr,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":C?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Sl("span",{className:r("k-link k-menu-link"),children:[l&&h==="before"&&za(L,{className:"k-menu-link-icon",icon:l}),za("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&za(L,{className:"k-menu-link-icon",icon:l}),f&&za("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:za(L,{icon:S})})]}),c]})};Le.states=Hf;Le.options=zf;Le.className=jr;Le.defaultOptions=Il;Le.moduleName=We;Le.folderName=it;import{jsx as ao,jsxs as kl}from"react/jsx-runtime";var ei="k-menu-item",Gf=[i.hover,i.focus,i.active,i.selected,i.disabled],Uf={},ti={dir:"ltr",iconPosition:"before"},ee=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:f,arrowIconName:N,iconPosition:h=ti.iconPosition,dir:M=ti.dir,children:c,popup:C,expanded:g,actions:S,description:T,...A}=e,R=N;return R||(R=M==="rtl"?"chevron-left":"chevron-right"),kl("li",{role:"menuitem",...A,className:r(e.className,ei,"k-item",I(ei,{focus:o,disabled:s})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":g?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[kl("span",{className:r("k-link k-menu-link",I("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[l&&h==="before"&&ao(L,{className:"k-menu-link-icon",icon:l}),ao("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&ao(L,{className:"k-menu-link-icon",icon:l}),S&&ao("span",{className:"k-menu-link-actions",children:S}),f&&ao("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ao(L,{icon:R})}),T&&ao("span",{className:"k-menu-link-description",children:T})]}),c,C]})};ee.states=Gf;ee.options=Uf;ee.className=ei;ee.defaultOptions=ti;ee.moduleName=We;ee.folderName=it;import{jsx as Xf}from"react/jsx-runtime";var Al="k-menu-scroll-wrapper",Ff=[],Vf={},$f={},no=e=>{let{className:t,children:o,orientation:a,...n}=e;return Xf("div",{...n,className:r(t,Al,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};no.states=Ff;no.options=Vf;no.className=Al;no.defaultOptions=$f;no.moduleName=We;no.folderName=it;var Tl=no;import{Fragment as oi,jsx as ro,jsxs as Ln}from"react/jsx-runtime";var Mn="k-menu",Wf=[],Jf={size:[p.undefined,p.small,p.medium,p.large]},gn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},xe=e=>{let{children:t,orientation:o=gn.orientation,header:a=gn.header,scrollable:n,scrollButtonsPosition:s=gn.scrollButtonsPosition,wrapperStyles:l,dir:m,size:f,popup:N,contextMenu:h,...M}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},C=ro("ul",{dir:m,...M,className:r(e.className,"k-reset",Mn,{[`${Mn}-${o}`]:o,"k-header":a},k(Mn,{size:f})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Ln(oi,{children:[n?Ln(Tl,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&Ln(oi,{children:[ro(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ro(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&ro(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),C,s==="end"&&Ln(oi,{children:[ro(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ro(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&ro(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):C,N]})};xe.states=Wf;xe.options=Jf;xe.className=Mn;xe.defaultOptions=gn;xe.moduleName=We;xe.folderName=it;import{jsx as qf}from"react/jsx-runtime";var ai="k-separator",yl={orientation:"horizontal"},Go=e=>{let{orientation:t=yl.orientation,...o}=e;return qf("li",{...o,className:r(e.className,"k-item",ai,{[`${ai}-${t}`]:t}),role:"separator"})};Go.className=ai;Go.defaultOptions=yl;Go.moduleName=We;Go.folderName=it;import{Fragment as O0,jsx as P0}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";var ni="k-menu-group",Yf=[],Qf={size:[p.undefined,p.small,p.medium,p.large]},Zf={},Me=e=>{let{children:t,size:o,...a}=e;return jf("ul",{role:"menu",...a,className:r(e.className,ni,k(ni,{size:o})),children:t})};Me.states=Yf;Me.options=Qf;Me.className=ni;Me.defaultOptions=Zf;Me.moduleName=We;Me.folderName=it;import{jsx as U0,jsxs as F0}from"react/jsx-runtime";import{Fragment as eb,jsx as Uo,jsxs as tb}from"react/jsx-runtime";var ri=e=>Uo(xe,{children:tb(eb,{children:[Uo(Le,{text:"Item 1"}),Uo(Le,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Uo(Le,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Uo(Le,{text:"Item 4"}),Uo(Le,{text:"Item 5"})]}),...e});import{Fragment as j0,jsx as Q0,jsxs as Z0}from"react/jsx-runtime";import{Fragment as nD,jsx as aD,jsxs as rD}from"react/jsx-runtime";import{Fragment as pD,jsx as dD,jsxs as mD}from"react/jsx-runtime";import{Fragment as xD,jsx as bD,jsxs as hD}from"react/jsx-runtime";import{jsx as io,jsxs as ib}from"react/jsx-runtime";var ob={...xe.options,scrollable:{type:"boolean"}},ab=xe.states,El={...xe.defaultOptions,variant:"horizontal"},nb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rb=[{name:"opened",title:"Opened"}],Fo=e=>{let{variant:t,modifiers:o,...a}={...El,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?io(F,{className:"k-menu-popup",offset:s,children:ib(Me,{children:[io(ee,{text:"Item 1"}),io(ee,{text:"Item 2"}),io(Go,{}),io(ee,{text:"Item 3"})]})}):null)}),t==="vertical"?io(ri,{...a,...n,orientation:"vertical",style:{width:"200px"}}):io(ri,{...a,...n})};Fo.options=ob;Fo.states=ab;Fo.variants=nb;Fo.defaultOptions=El;Fo.modifiers=rb;Fo.className=xe.className;import{Fragment as YD,jsx as JD,jsxs as qD}from"react/jsx-runtime";import{jsx as eH}from"react/jsx-runtime";import{Fragment as mb,jsx as Mt,jsxs as Bl}from"react/jsx-runtime";var sb=d.states,Ol={...d.defaultOptions,variant:"text"},lb=d.options,db=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pb=[{name:"opened",title:"Opened"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...Ol,...e},n={},s=Mt(F,{className:"k-menu-popup",children:Bl(Me,{size:a.size,children:[Mt(ee,{text:"Menu Item"}),Mt(ee,{text:"Menu Item"}),Mt(ee,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=Mt("div",{children:Mt(J,{...a,...n,icon:"star"})});break;case"icon-and-text":l=Mt("div",{children:Mt(J,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=Mt("div",{children:Mt(J,{...a,...n,children:"Dropdown Button"})});break}return Bl(mb,{children:[l,o?.opened&&s]})};Vo.options=lb;Vo.states=sb;Vo.variants=db;Vo.defaultOptions=Ol;Vo.modifiers=pb;Vo.className=J.className;var ii="split-button",Pl=ii;import{Fragment as fb,jsx as si,jsxs as Kl}from"react/jsx-runtime";var li="k-split-button",cb=[i.hover,i.focus,i.active,i.selected,i.disabled],ub={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Rl={arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,icon:h,endIcon:M,text:c,arrowIconName:C=Rl.arrowIconName,popup:g,opened:S,popupId:T,...A}=e;return Kl(fb,{children:[Kl("div",{...A,className:r(e.className,li,"k-button-group",k(li,{rounded:o})),children:[si(d,{text:c,icon:h,endIcon:M,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,...!c&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),si(d,{className:"k-split-button-arrow",icon:C,size:t,rounded:o,fillMode:a,disabled:N,ariaDisabled:N||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?T:void 0,tabIndex:-1})]}),S&&g&&si(F,{className:"k-menu-popup",children:g})]})};D.states=cb;D.options=ub;D.className=li;D.defaultOptions=Rl;D.moduleName=ii;D.folderName=Pl;var di=D;import{jsx as xb}from"react/jsx-runtime";var bb="k-toolbar-separator",ct=e=>xb("div",{className:r(bb,e.className,"k-separator")});var so="toolbar",$o=so;import{Fragment as pi,jsx as U,jsxs as Xo}from"react/jsx-runtime";var Tt="k-toolbar",hb=[i.focus],Nb={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},vb={scrollButtons:"around"},H=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:l,scrollingPosition:m,section:f,...N}=e,h=[],M=(c,C)=>{let g=[];if(c.type===d&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))g.push(U(d,{...c.props,className:`${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===d)g.push(U(d,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===K)g.push(U(K,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===w)g.push(U(w,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===J)g.push(U(J,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===di)g.push(U(di,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===O||c.props.className&&c.props.className.includes("k-button-group")){let S=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((A,R)=>{S.push(U(d,{...A.props,className:`${A.props.className?A.props.className:""}`},`${R}-${new Date().getTime()}`))}),g.push(U(O,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:S},`${C}-${new Date().getTime()}`))}else c.type===Be?g.push(U(Be,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===ce?g.push(U(ce,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===rt?g.push(U(rt,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):g.push(c);g.forEach(S=>{h.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((C,g)=>{M(C,g)}),Xo("div",{...N,className:r(e.className,Tt,k(Tt,{size:t,fillMode:o}),I(Tt,{focus:a}),{[`${Tt}-resizable`]:n,[`${Tt}-scrollable`]:s,[`${Tt}-scrollable-overlay`]:s&&l==="hidden",[`${Tt}-scrollable-${m}`]:m&&m!=="both",[`${Tt}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!s&&h,s&&l==="hidden"&&U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),s&&l==="start"&&Xo(pi,{children:[Xo(O,{children:[U("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(L,{className:"k-button-icon",icon:"chevron-left"})}),U("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(L,{className:"k-button-icon",icon:"chevron-right"})})]}),U(ct,{className:"k-toolbar-button-separator"}),U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),s&&l==="end"&&Xo(pi,{children:[U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),U(ct,{className:"k-toolbar-button-separator"}),Xo(O,{children:[U("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(L,{className:"k-button-icon",icon:"chevron-left"})}),U("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&Xo(pi,{children:[U("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(L,{className:"k-button-icon",icon:"chevron-left"})}),U(ct,{className:"k-toolbar-button-separator"}),U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),U(ct,{className:"k-toolbar-button-separator"}),U("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};H.states=hb;H.options=Nb;H.className=Tt;H.defaultOptions=vb;H.moduleName=so;H.folderName=$o;import{jsx as gb}from"react/jsx-runtime";var mi="k-toolbar-item",Cb=[i.focus],Lb={},Mb={},Wo=e=>{let{focus:t,...o}=e;return gb("div",{...o,className:r(e.className,mi,I(mi,{focus:t})),children:e.children})};Wo.states=Cb;Wo.options=Lb;Wo.className=mi;Wo.defaultOptions=Mb;Wo.moduleName=so;Wo.folderName=$o;import{jsx as wl}from"react/jsx-runtime";var _l="k-toolbar-popup",Sb=[],Ib={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},kb={},lo=e=>{let{size:t,fillMode:o,section:a,...n}=e;return wl(F,{...n,className:r(e.className,_l),children:a?wl("span",{className:r("k-toolbar-items-list",k("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};lo.states=Sb;lo.options=Ib;lo.className=_l;lo.defaultOptions=kb;lo.moduleName=so;lo.folderName=$o;var Sn=lo;import{jsx as e1}from"react/jsx-runtime";import{jsx as n1}from"react/jsx-runtime";import{jsx as l1}from"react/jsx-runtime";import{jsx as c1}from"react/jsx-runtime";import{jsx as N1,jsxs as v1}from"react/jsx-runtime";import{jsx as g1}from"react/jsx-runtime";import{jsx as yt,jsxs as Bb}from"react/jsx-runtime";var Ab=D.states,Dl={...D.defaultOptions,variant:"text"},Tb=D.options,yb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Eb=[{name:"opened",title:"Opened"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...Dl,...e},n={},s=Bb(Me,{size:a.size,children:[yt(ee,{text:"Menu Item"}),yt(ee,{text:"Menu Item"}),yt(ee,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?s:"")}),t){case"icon-only":return yt("div",{children:yt(D,{...a,...n,icon:"star"})});case"icon-and-text":return yt("div",{children:yt(D,{...a,...n,icon:"star",children:"Split Button"})});default:return yt("div",{children:yt(D,{...a,...n,children:"Split Button"})})}};Jo.options=Tb;Jo.states=Ab;Jo.variants=yb;Jo.defaultOptions=Dl;Jo.modifiers=Eb;Jo.className=D.className;import{jsx as po,jsxs as Ob}from"react/jsx-runtime";var Hl=e=>po(H,{children:[po(d,{children:"Button"},"toolbar-button"),po(J,{text:"Menu button"},"toolbar-menu-button"),po(D,{children:"Split button"},"toolbar-split-button"),Ob(O,{children:[po(d,{className:"k-group-start",icon:"align-left",children:"Left"}),po(d,{icon:"align-center",children:"Center"}),po(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as j1,jsxs as e2}from"react/jsx-runtime";import{jsx as Je,jsxs as zl}from"react/jsx-runtime";var Gl=e=>Je(H,{scrollable:!0,...e,children:[Je(d,{children:"Button"},"toolbar-button"),Je(J,{text:"Menu button"},"toolbar-menu-button"),Je(D,{children:"Split button"},"toolbar-split-button"),zl(O,{children:[Je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(d,{icon:"align-center",children:"Center"}),Je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Je(d,{children:"Button"},"toolbar-button"),Je(J,{text:"Menu button"},"toolbar-menu-button"),Je(D,{children:"Split button"},"toolbar-split-button"),zl(O,{children:[Je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(d,{icon:"align-center",children:"Center"}),Je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as qe,jsxs as Ul}from"react/jsx-runtime";var Fl=({scrollingPosition:e="start",...t})=>qe(H,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(D,{children:"Split button"},"toolbar-split-button"),Ul(O,{children:[qe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(d,{icon:"align-center",children:"Center"}),qe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(D,{children:"Split button"},"toolbar-split-button"),Ul(O,{children:[qe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(d,{icon:"align-center",children:"Center"}),qe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Pb,jsx as ze,jsxs as In}from"react/jsx-runtime";var Vl=({fillMode:e,size:t,...o})=>In(Pb,{children:[ze(H,{section:!0,fillMode:e,size:t,children:[ze(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),In(O,{fillMode:e,children:[ze(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ze(ct,{className:"k-toolbar-button-separator"}),ze(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),In(Sn,{size:t,fillMode:e,section:!0,...o,children:[ze(D,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ze(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ze(ct,{}),ze(J,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),In(O,{fillMode:e,children:[ze(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as P2,jsx as B2,jsxs as O2}from"react/jsx-runtime";import{Fragment as V2,jsx as U2,jsxs as F2}from"react/jsx-runtime";import{jsx as Vt}from"react/jsx-runtime";var Kb=H.options,Rb=H.states,$l={...H.defaultOptions,variant:"default"},wb=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],_b=[],qo=e=>{let{variant:t,...o}={...$l,...e};switch(t){case"responsive":return Vt("div",{children:Vt(Vl,{style:{width:"583px"},...o})});case"overlay":return Vt("div",{children:Vt(Fl,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Vt("div",{children:Vt(Gl,{style:{width:"583px"},...o})});default:return Vt("div",{children:Vt(Hl,{style:{width:"583px"},...o})})}};qo.options=Kb;qo.states=Rb;qo.variants=wb;qo.defaultOptions=$l;qo.modifiers=_b;qo.className=H.className;var ci="prompt",Xl=ci;import{Fragment as Gb,jsx as Wl}from"react/jsx-runtime";var Jl="k-prompt",Db=[],Hb={},zb={},V=e=>{let{...t}=e;return Wl("div",{...t,className:r(e.className,Jl),children:Wl(Gb,{children:e.children})})};V.states=Db;V.options=Hb;V.className=Jl;V.defaultOptions=zb;V.moduleName=ci;V.folderName=Xl;import{jsx as Fb}from"react/jsx-runtime";var Ub="k-prompt-header",ut=e=>{let{...t}=e;return Fb("div",{...t,className:r(e.className,Ub),children:e.children})};import{Fragment as $b,jsx as ql}from"react/jsx-runtime";var Vb="k-prompt-content",Oe=e=>{let{...t}=e;return ql("div",{...t,className:r(e.className,Vb),children:ql($b,{children:e.children})})};import{jsx as Wb}from"react/jsx-runtime";var Xb="k-prompt-view",Pe=e=>{let{...t}=e;return Wb("div",{...t,className:r(e.className,Xb),children:e.children})};import{jsx as Yl,jsxs as qb}from"react/jsx-runtime";var Jb="k-prompt-expander",kn=e=>{let{title:t,children:o,expanded:a,...n}=e,s=y("prompt-expander-content");return qb("div",{...n,className:r(e.className,Jb),children:[Yl(K,{fillMode:"flat",icon:a?"chevron-up":"chevron-down","aria-expanded":a?"true":"false","aria-controls":a?s:void 0,children:t}),a&&Yl("div",{className:"k-prompt-expander-content",id:s,children:o})]})};import{jsx as Qb}from"react/jsx-runtime";var Yb="k-prompt-footer",Yo=e=>{let{...t}=e;return Qb("div",{...t,className:r(e.className,Yb),children:e.children})};import{jsx as wz}from"react/jsx-runtime";import{jsx as Zb}from"react/jsx-runtime";var Ql="k-prompt-send",Zl={generating:!1},gt=e=>{let{generating:t=Zl.generating,...o}=e;return Zb(d,{...o,className:r(e.className,Ql,{"k-generating":t}),icon:t?"stop":"paper-plane",active:t,fillMode:"flat","aria-label":t?"Stop generating":"Send prompt"})};gt.states=d.states;gt.options=d.options;gt.className=Ql;gt.moduleName=null;gt.folderName=null;gt.defaultOptions=Zl;import{jsx as jl,jsxs as ax}from"react/jsx-runtime";var An="k-fab",tx=[i.hover,i.focus,i.active,i.selected,i.disabled],ox={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},ed={type:"button"},ie=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:s,type:l=ed.type,position:m,hover:f,focus:N,active:h,selected:M,disabled:c,...C}=e;return ax("button",{...C,type:l,className:r(e.className,An,k(An,{size:t,rounded:o,themeColor:a}),I(An,{hover:f,focus:N,active:h,disabled:c,selected:M}),{[`!k-pos-absolute k-${m}`]:m}),...!n&&s&&!e["aria-label"]&&{"aria-label":"Action"},...c&&{"aria-disabled":"true"},disabled:c||void 0,children:[s&&jl(L,{className:"k-fab-icon",icon:s}),n&&jl("span",{className:"k-fab-text",children:n})]})};ie.states=tx;ie.options=ox;ie.className=An;ie.defaultOptions=ed;ie.moduleName="fab";ie.folderName="fab";import{jsx as rx}from"react/jsx-runtime";var nx="k-fab-items",td=e=>{let{position:t,...o}=e;return rx("ul",{...o,className:r(e.className,nx,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as ad,jsxs as sx}from"react/jsx-runtime";var od="k-fab-item",ix=[i.hover,i.focus,i.active,i.disabled],ui=e=>{let{text:t,icon:o,align:a,hover:n,focus:s,active:l,disabled:m,...f}=e;return sx("li",{...f,className:r(e.className,od,{[`k-text-${a}`]:a},I(od,{hover:n,focus:s,active:l,disabled:m})),children:[ad("span",{className:"k-fab-item-text",children:t}),ad(L,{className:"k-fab-item-icon",icon:o})]})};ui.states=ix;import{jsx as r3}from"react/jsx-runtime";import{jsx as d3}from"react/jsx-runtime";import{jsx as u3}from"react/jsx-runtime";import{jsx as h3}from"react/jsx-runtime";import{jsx as Qo,jsxs as ux}from"react/jsx-runtime";var lx=ie.options,dx=ie.states,px={...ie.defaultOptions,variant:"text"},mx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],cx=[{name:"opened",title:"Opened"}],Zo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},s=n?Qo("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:Qo(td,{position:"bottom",children:Qo(ui,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=Qo(ie,{...a,icon:"star"});break;case"icon-and-text":l=Qo(ie,{...a,icon:"star",text:"Action"});break;default:l=Qo(ie,{...a,text:"Action"});break}return ux("span",{style:{position:"relative"},children:[l,s]})};Zo.options=lx;Zo.states=dx;Zo.variants=mx;Zo.defaultOptions=px;Zo.modifiers=cx;Zo.className=ie.className;import{jsx as fx}from"react/jsx-runtime";var nd="k-prompt-stop-fab",rd={generating:!0},$t=e=>{let{generating:t=rd.generating,icon:o,...a}=e;return fx(ie,{...a,className:r(e.className,nd,{"k-generating":t}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:t?"stop":o,active:t,"aria-label":t?"Stop generating":"Action"})};$t.states=d.states;$t.options=d.options;$t.className=nd;$t.defaultOptions=rd;var fi="speech-to-text-button",id=fi;import{jsx as bx}from"react/jsx-runtime";var sd="k-speech-to-text-button",ld={icon:"microphone"},oe=e=>{let{listening:t=!1,icon:o=ld.icon,...a}=e;return bx(d,{...a,icon:t?"stop":o,className:r(e.className,sd,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};oe.states=d.states;oe.options=d.options;oe.className=sd;oe.defaultOptions=ld;oe.moduleName=fi;oe.folderName=id;import{jsx as e5}from"react/jsx-runtime";import{jsx as n5}from"react/jsx-runtime";import{jsx as Cx}from"react/jsx-runtime";var xx=d.states,dd={...d.defaultOptions,variant:"normal"},hx={...d.options,fillMode:d.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Nx=[],vx=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],jo=e=>{let{variant:t,...o}={...dd,...e},a={};return t==="listening"&&(a.listening=!0),Cx(oe,{...o,...a})};jo.options=hx;jo.states=xx;jo.variants=vx;jo.defaultOptions=dd;jo.modifiers=Nx;jo.className=oe.className;var bi="textarea",pd=bi;import{Fragment as md,jsx as Ga,jsxs as xi}from"react/jsx-runtime";var cd="k-textarea",Lx=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Mx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},ea={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Z=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:n=ea.prefixSeparator,suffixSeparator:s=ea.prefixSeparator,affixesOrientation:l=ea.affixesOrientation,flow:m=ea.flow,resize:f=ea.resize,prefix:N,suffix:h,rows:M,value:c,placeholder:C,hover:g,focus:S,valid:T,invalid:A,required:R,disabled:$,id:se,"aria-label":ve,"aria-describedby":me,...ue}=e;return xi(j,{...ue,size:t,rounded:o,fillMode:a,hover:g,focus:S,valid:T,invalid:A,required:R,disabled:$,className:r(e.className,cd,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[N&&xi(md,{children:[Ga(_e,{className:r({"!k-align-items-start":m===l}),direction:l,children:N}),n&&Ga(ke,{direction:m==="horizontal"?"vertical":"horizontal"})]}),Ga(Sa,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:c,placeholder:C,rows:M,disabled:$,id:se,"aria-label":ve,"aria-describedby":me,"aria-invalid":A?"true":void 0}),h&&xi(md,{children:[s&&Ga(ke,{direction:m==="horizontal"?"vertical":"horizontal"}),Ga(De,{className:r({"!k-align-items-start":m===l}),direction:l,children:h})]})]})};Z.states=Lx;Z.options=Mx;Z.className=cd;Z.defaultOptions=ea;Z.moduleName=bi;Z.folderName=pd;import{jsx as S5}from"react/jsx-runtime";import{Fragment as E5,jsx as y5}from"react/jsx-runtime";import{Fragment as w5,jsx as R5}from"react/jsx-runtime";import{jsx as z5}from"react/jsx-runtime";import{jsx as Tn}from"react/jsx-runtime";var gx=Z.options,Sx=Z.states,ud={...Z.defaultOptions,variant:"vertical"},Ix=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],kx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],ta=e=>{let{variant:t,modifiers:o,...a}={...ud,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?Tn(L,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?Tn(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?Tn(Z,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):Tn(Z,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};ta.options=gx;ta.states=Sx;ta.variants=Ix;ta.defaultOptions=ud;ta.modifiers=kx;ta.className=Z.className;import{Fragment as dG,jsx as sG,jsxs as lG}from"react/jsx-runtime";var Ni="suggestion",fd=Ni;import{jsx as yn,jsxs as yx}from"react/jsx-runtime";var En="k-suggestion-group",Ax=[],Tx={},bd={layout:"scrollable",scrollingPosition:"start"},st=e=>{let{layout:t=bd.layout,scrollingPosition:o,...a}=e,n=yn("div",{...a,className:r(En,{"k-suggestion-group-scrollable":t=="scrollable",[`${En}-scrollable-start`]:o==="start"||o==="both",[`${En}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?yn("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?yx("div",{className:"k-suggestion-scrollwrap",children:[yn(d,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,yn(d,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};st.states=Ax;st.options=Tx;st.className=En;st.defaultOptions=bd;st.moduleName=Ni;st.folderName=fd;import{jsx as Px}from"react/jsx-runtime";var Bn="k-suggestion",Ex=[i.active,i.hover,i.focus],Bx={themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Ox={text:"Suggestion"},ft=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:s,...l}=e;return Px("span",{...l,className:r(e.className,Bn,I(Bn,{hover:a,active:o,focus:n}),k(Bn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":s,children:s})};ft.states=Ex;ft.options=Bx;ft.className=Bn;ft.item=Ox;import{Fragment as gG,jsx as MG,jsxs as SG}from"react/jsx-runtime";import{Fragment as yG,jsx as TG,jsxs as EG}from"react/jsx-runtime";import{Fragment as RG,jsx as KG,jsxs as wG}from"react/jsx-runtime";import{Fragment as eU,jsx as ZG,jsxs as jG}from"react/jsx-runtime";import{jsx as On}from"react/jsx-runtime";var Kx="k-chip-action";var Et=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=On(L,{icon:"x-circle",size:"small"});break;case"more":a=On(L,{icon:"more-vertical",size:"small"});break;default:return On(L,{icon:t,size:"small"})}return On("span",{...o,className:r(e.className,Kx,`k-chip-${t}-action`),children:a})};var vi="avatar",xd=vi;import{jsx as hd}from"react/jsx-runtime";var Ua="k-avatar";var Rx=[i.hover,i.focus,i.active,i.selected,i.disabled],wx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.outline],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Ci={type:"text",border:!1},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:s=Ci.type,border:l=Ci.border,...m}=e;return hd("div",{...m,className:r(e.className,Ua,k(Ua,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Ua}-bordered`]:l}),children:hd("span",{className:`${Ua}-${s}`,children:e.children})})};Ge.states=Rx;Ge.options=wx;Ge.className=Ua;Ge.defaultOptions=Ci;Ge.moduleName=vi;Ge.folderName=xd;var mo=Ge;import{jsx as _x}from"react/jsx-runtime";var Nd=e=>_x(mo,{type:"icon",...e});import{jsx as Dx}from"react/jsx-runtime";var vd=e=>Dx(mo,{type:"text",...e});import{jsx as Hx}from"react/jsx-runtime";var Cd=e=>Hx(mo,{type:"image",...e});import{jsx as MU}from"react/jsx-runtime";import{jsx as Fa}from"react/jsx-runtime";var zx=Ge.options,Gx=Ge.states,Ux={...Ge.defaultOptions,variant:"image"},Fx=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Vx=[],oa=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Fa(Nd,{...o,children:Fa(L,{icon:"star"})});case"text":return Fa(vd,{...o,children:"JO"});default:return Fa(Cd,{...o,children:Fa("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};oa.options=zx;oa.states=Gx;oa.variants=Fx;oa.defaultOptions=Ux;oa.modifiers=Vx;oa.className=Ge.className;var Va="chip",Pn=Va,Kn="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as aa,jsxs as Wx}from"react/jsx-runtime";var Rn="k-chip",$x=[i.hover,i.focus,i.active,i.selected,i.disabled],Xx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.outline],themeColor:[x.undefined,x.base,x.success,x.warning,x.error,x.info]},Ld={avatarImage:"/packages/html/assets/avatar.jpg"},Ue=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:s,icon:l,actions:m,showAvatar:f,avatarImage:N=Ld.avatarImage,hover:h,focus:M,active:c,selected:C,disabled:g,...S}=e;return Wx("div",{...S,className:r(e.className,Rn,k(Rn,{size:t,rounded:o,fillMode:a,themeColor:n}),I(Rn,{hover:h,focus:M,active:c,disabled:g,selected:C})),role:e.role||"button","aria-pressed":e.role==="option"||e.role==="listitem"||e.role==="presentation"||e["aria-haspopup"]?void 0:C?"true":"false",...e.role==="option"&&C!==void 0&&{"aria-selected":C?"true":"false"},"aria-disabled":g?"true":void 0,children:[l&&aa(L,{className:"k-chip-icon",icon:l,size:"small"}),f&&aa(Ge,{className:"k-chip-avatar",type:"image",children:aa("img",{src:N,alt:""})}),aa("span",{className:"k-chip-content",children:e.children?e.children:s&&aa("span",{className:"k-chip-label",children:s})}),m&&aa("span",{className:"k-chip-actions",children:m})]})};Ue.states=$x;Ue.options=Xx;Ue.className=Rn;Ue.defaultOptions=Ld;Ue.moduleName=Va;Ue.folderName=Pn;var lt=Ue;import{jsx as Qx}from"react/jsx-runtime";var Li="k-chip-list",Jx=[],qx={size:[p.undefined,p.small,p.medium,p.large]},Yx={},ge=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return Qx("div",{...n,className:r(e.className,Li,k(Li,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:a||"chip list","aria-orientation":e.role==="none"||e.role==="group"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};ge.states=Jx;ge.options=qx;ge.className=Li;ge.defaultOptions=Yx;ge.moduleName=Va;ge.folderName=Pn;import{jsx as ZU}from"react/jsx-runtime";import{jsx as oF}from"react/jsx-runtime";import{jsx as Zx}from"react/jsx-runtime";var wn=e=>Zx(lt,{text:"text",...e});import{jsx as pF}from"react/jsx-runtime";import{jsx as fF}from"react/jsx-runtime";import{Fragment as CF,jsx as vF,jsxs as LF}from"react/jsx-runtime";import{jsx as kF,jsxs as AF}from"react/jsx-runtime";import{jsx as OF,jsxs as PF}from"react/jsx-runtime";import{jsx as HF,jsxs as zF}from"react/jsx-runtime";import{jsx as na,jsxs as nh}from"react/jsx-runtime";var jx={...lt.options,...ge.options},eh=[],th=ge.states,oh={...lt.defaultOptions,...ge.defaultOptions},ah=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],ra=e=>{let{modifiers:t,className:o,...a}=e,n=t?.icon,s=t?.actions,l=t?.avatar,m=l?Kn:void 0;return nh(ge,{size:a.size,className:o,children:[na(wn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?na(Et,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),na(wn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?na(Et,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),na(wn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?na(Et,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"})]})};ra.options=jx;ra.states=th;ra.variants=eh;ra.defaultOptions=oh;ra.modifiers=ah;ra.className=ge.className;import{jsx as Mi}from"react/jsx-runtime";var rh=Ue.states,ih=Ue.defaultOptions,sh=Ue.options,lh=[],dh=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],ia=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"icon":a.icon=t?.[n]?"arrow-down":void 0;break;case"avatar":a.showAvatar=!!t?.[n],a.avatarImage=t?.[n]?Kn:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[n]?Mi(Et,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[n]?Mi(Et,{type:"remove"}):void 0;break;default:break}}),Mi(Ue,{...o,...a,children:"Chip component"})};ia.options=sh;ia.states=rh;ia.variants=lh;ia.defaultOptions=ih;ia.modifiers=dh;ia.className=Ue.className;import{Fragment as y9,jsx as A9,jsxs as T9}from"react/jsx-runtime";var gi="panelbar",Md=gi;import{jsx as uh}from"react/jsx-runtime";var gd="k-panelbar",ph=[],mh={},ch={},Se=e=>{let{activeDescendant:t,...o}=e;return uh("ul",{...o,className:r(e.className,gd),role:"tree","aria-activedescendant":t,children:e.children})};Se.states=ph;Se.options=mh;Se.className=gd;Se.defaultOptions=ch;Se.moduleName=gi;Se.folderName=Md;import Si from"react";import{jsx as _n,jsxs as Sd}from"react/jsx-runtime";var Id="k-panelbar-item",fh=[i.hover,i.focus,i.selected,i.disabled],bh={},Dn={level:0,expanded:!1,text:"Item"},E=e=>{let{text:t=Dn.text,level:o=Dn.level,expanded:a=Dn.expanded,header:n,hover:s,focus:l,selected:m,disabled:f,icon:N,iconClass:h,ariaSelected:M,children:c,...C}=e,g=!!c;return Sd("li",{...C,className:r(e.className,Id,{"k-panelbar-header":n,[`k-level-${o}`]:o||o===0,"k-expanded":a}),role:"treeitem","aria-expanded":g?a?"true":"false":void 0,"aria-selected":M?"true":"false","aria-disabled":f?"true":void 0,children:[Sd("span",{className:r("k-link",I("k-link",{hover:s,focus:l,disabled:f,selected:m})),children:[N&&_n(L,{className:"k-panelbar-item-icon",icon:N}),h&&!N&&_n("span",{className:`k-panelbar-item-icon ${h}`}),_n("span",{className:"k-panelbar-item-text",children:t}),g&&_n(L,{className:r("k-panelbar-toggle",a?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${a?"up":"down"}`})]}),a&&c,!a&&c&&Si.Children.map(c,S=>Si.isValidElement(S)?Si.cloneElement(S,{"aria-hidden":"true",style:{display:"none"}}):S)]})};E.states=fh;E.options=bh;E.className=Id;E.moduleName=null;E.folderName=null;E.defaultOptions=Dn;import{jsx as vh}from"react/jsx-runtime";var kd="k-panelbar-group",xh=[],hh={},Nh={},he=e=>{let{ariaHidden:t,...o}=e;return vh("ul",{...o,className:r(e.className,kd),role:"group",...t!==void 0&&{"aria-hidden":t?"true":void 0},children:e.children})};he.states=xh;he.options=hh;he.className=kd;he.moduleName=null;he.folderName=null;he.defaultOptions=Nh;import{jsx as gh}from"react/jsx-runtime";var Ad="k-panelbar-content",Ch=[],Lh={},Mh={},de=e=>{let{...t}=e;return gh("div",{...t,className:r(e.className,Ad),children:e.children})};de.states=Ch;de.options=Lh;de.className=Ad;de.defaultOptions=Mh;import{Fragment as Sh,jsx as Xt,jsxs as Ih}from"react/jsx-runtime";var $a=e=>{let t=y("pb-item"),o=y("pb-item"),a=y("pb-item"),n=y("pb-item");return Xt(Se,{children:Ih(Sh,{children:[Xt(E,{header:!0,text:"Item 1",id:t,children:Xt(de,{children:"content"})}),Xt(E,{header:!0,text:"Item 2",id:o,children:Xt(de,{children:"content"})}),Xt(E,{header:!0,text:"Item 3",id:a,children:Xt(de,{children:"content"})}),Xt(E,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as t6,jsx as e6,jsxs as o6}from"react/jsx-runtime";import{Fragment as kh,jsx as Ke,jsxs as Ii}from"react/jsx-runtime";var Td=e=>{let t=y("pb-item"),o=y("pb-item"),a=y("pb-item"),n=y("pb-item"),s=y("pb-child"),l=y("pb-child"),m=y("pb-child"),f=y("pb-child"),N=y("pb-child"),h=y("pb-child"),M=y("pb-child");return Ke(Se,{activeDescendant:o,children:Ii(kh,{children:[Ke(E,{header:!0,text:"Item 1",id:t,children:Ke(de,{children:"content"})}),Ke(E,{header:!0,expanded:!0,text:"Item 2",id:o,ariaSelected:!0,focus:!0,children:Ii(he,{children:[Ke(E,{level:1,text:"Child 1",id:s}),Ke(E,{level:1,expanded:!0,text:"Child 2",id:l,children:Ii(he,{children:[Ke(E,{level:2,text:"Child 2.1",id:m}),Ke(E,{level:2,text:"Child 2.2",id:f})]})}),Ke(E,{level:1,text:"Child 3",id:N,children:Ke(he,{children:Ke(E,{level:2,text:"Child 3.1",id:h})})}),Ke(E,{level:1,text:"Child 4",id:M})]})}),Ke(E,{header:!0,text:"Item 3",id:a,children:Ke(de,{children:"content"})}),Ke(E,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as yd,jsx as te,jsxs as Hn}from"react/jsx-runtime";var Ah=Se.options,Th=Se.states,Ed={...Se.defaultOptions,variant:"normal"},yh=[{name:"normal",title:"Normal"},{name:"expand",title:"Expanded"}],Eh=[{name:"icon",title:"Item icons"},{name:"disabled",title:"Disabled item"}],sa=e=>{let{variant:t,modifiers:o,...a}={...Ed,...e},n={},s={folder:"folder",gear:"gear",file:"file",image:"image"};return Object.keys(o||{}).forEach(l=>{switch(l){case"icon":{n.icon=o?.[l]?s:void 0;break}case"disabled":n.disabled=!!o?.[l]}}),t==="expand"?te(yd,{children:Hn(Td,{style:{width:"300px"},...a,children:[te(E,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(de,{children:"content"})}),te(E,{icon:n.icon?.folder,selected:!0,header:!0,expanded:!0,text:"Item 2",children:Hn(he,{children:[te(E,{level:1,text:"Child 1"}),te(E,{level:1,expanded:!0,text:"Child 2",children:Hn(he,{children:[te(E,{level:2,text:"Child 2.1"}),te(E,{icon:n.icon?.image,level:2,text:"Child 2.2"})]})}),te(E,{disabled:n.disabled,level:1,text:"Child 3",children:te(de,{children:"content"})}),te(E,{level:1,text:"Child 4"})]})}),te(E,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(de,{children:"content"})}),te(E,{icon:n.icon?.file,header:!0,text:"Item 4"})]})}):te(yd,{children:Hn($a,{style:{width:"300px"},...a,children:[te(E,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(de,{children:"content"})}),te(E,{icon:n.icon?.folder,header:!0,text:"Item 2",children:te(de,{children:"content"})}),te(E,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(de,{children:"content"})}),te(E,{icon:n.icon?.file,header:!0,text:"Item 4"})]})})};sa.options=Ah;sa.states=Th;sa.variants=yh;sa.defaultOptions=Ed;sa.modifiers=Eh;sa.className=Se.className;import{jsx as E6,jsxs as B6}from"react/jsx-runtime";import{Fragment as F6,jsx as G6,jsxs as U6}from"react/jsx-runtime";import{jsx as Oh}from"react/jsx-runtime";var Bh="k-card-callout",Bd=e=>{let{callout:t,...o}=e;return Oh("span",{...o,className:r(e.className,Bh,{[`k-callout-${Ki.calloutMap[t]||t}`]:t})})};var Ye="card",dt=Ye;import{Fragment as wh,jsx as Od,jsxs as _h}from"react/jsx-runtime";var ki="k-card",Ph=[i.hover,i.focus,i.selected,i.disabled],Kh={},Rh={},q=e=>{let{orientation:t,callout:o,hover:a,focus:n,selected:s,disabled:l,...m}=e;return _h("div",{...m,className:r(e.className,ki,I(ki,{hover:a,focus:n,disabled:l,selected:s}),{[`k-card-${t}`]:t,"k-card-with-callout":o}),children:[o&&o!=="true"&&Od(Bd,{callout:o}),Od(wh,{children:e.children})]})};q.states=Ph;q.options=Kh;q.className=ki;q.defaultOptions=Rh;q.moduleName=Ye;q.folderName=dt;import{Fragment as Gh,jsx as Pd}from"react/jsx-runtime";var Ai="k-card-list",Dh=[],Hh={},zh={},co=e=>{let{...t}=e;return Pd("div",{...t,className:r(e.className,Ai,I(Ai,{})),role:"list",children:Pd(Gh,{children:e.children})})};co.states=Dh;co.options=Hh;co.className=Ai;co.defaultOptions=zh;co.moduleName=Ye;co.folderName=dt;import{jsx as $h}from"react/jsx-runtime";var Kd="k-card-group",Uh=[],Fh={},Vh={},la=e=>{let{...t}=e;return $h("div",{...t,className:r(e.className,Kd),children:e.children})};la.states=Uh;la.options=Fh;la.className=Kd;la.defaultOptions=Vh;la.moduleName=Ye;la.folderName=dt;import{jsx as qh}from"react/jsx-runtime";var Ti="k-card-wrap",Xh=[i.focus,i.selected],Wh={},Jh={},da=e=>{let{focus:t,selected:o,...a}=e;return qh("div",{...a,className:r(e.className,Ti,I(Ti,{focus:t,selected:o})),children:e.children})};da.states=Xh;da.options=Wh;da.className=Ti;da.defaultOptions=Jh;da.moduleName=Ye;da.folderName=dt;import{jsx as Qh}from"react/jsx-runtime";var yi="k-card-title",Yh=[i.hover,i.focus],uo=e=>{let{hover:t,focus:o,...a}=e;return Qh("div",{...a,className:r(e.className,yi,I(yi,{hover:t,focus:o})),children:e.children})};uo.states=Yh;uo.className=yi;import{jsx as jh}from"react/jsx-runtime";var Zh="k-card-subtitle",zn=e=>{let{...t}=e;return jh("div",{...t,className:r(e.className,Zh),children:e.children})};import{Fragment as wd,jsx as Gn}from"react/jsx-runtime";var Rd="k-card-media",Ei=e=>{let{src:t,...o}=e;return Gn(wd,{children:t?Gn("img",{...o,className:r(e.className,Rd),src:t}):Gn("span",{...o,className:r(e.className,Rd),children:Gn(wd,{children:e.children})})})};import{Fragment as tN,jsx as Xa,jsxs as oN}from"react/jsx-runtime";var eN="k-card-header",bt=e=>{let{title:t,subtitle:o,details:a,...n}=e;return oN("div",{...n,className:r(e.className,eN),children:[t&&Xa(uo,{children:t}),o&&Xa(zn,{children:o}),Xa(tN,{children:e.children}),a&&Xa("span",{className:"k-card-header-actions",children:Xa(d,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as nN}from"react/jsx-runtime";var aN="k-card-footer",Bi=e=>{let{...t}=e;return nN("div",{...t,className:r(e.className,aN),children:e.children})};import{Fragment as iN,jsx as Wa,jsxs as sN}from"react/jsx-runtime";var rN="k-card-body",Ne=e=>{let{title:t,subtitle:o,details:a,...n}=e;return sN("div",{...n,className:r(e.className,rN),children:[t&&Wa(uo,{children:t}),o&&Wa(zn,{children:o}),Wa(iN,{children:e.children}),a&&Wa("span",{className:"k-card-header-actions",children:Wa(d,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as mN}from"react/jsx-runtime";var _d="k-card-deck",lN=[],dN={},pN={},pa=e=>{let{...t}=e;return mN("div",{...t,className:r(e.className,_d),children:e.children})};pa.states=lN;pa.options=dN;pa.className=_d;pa.defaultOptions=pN;pa.moduleName=Ye;pa.folderName=dt;import{jsx as bN}from"react/jsx-runtime";var Dd="k-card-deck-scrollwrap",cN=[],uN={},fN={},ma=e=>{let{...t}=e;return bN("div",{...t,className:r(e.className,Dd),children:e.children})};ma.states=cN;ma.options=uN;ma.className=Dd;ma.defaultOptions=fN;ma.moduleName=Ye;ma.folderName=dt;import{Fragment as xN,jsx as ca,jsxs as Hd}from"react/jsx-runtime";var zd=e=>ca(q,{orientation:"vertical",children:Hd(xN,{children:[ca(bt,{children:"Card Header"}),ca(Ne,{children:ca("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Hd(z,{className:"k-card-actions",children:[ca(d,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),ca(d,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{Fragment as hN,jsx as Ja,jsxs as Gd}from"react/jsx-runtime";var Ud=e=>Ja(q,{orientation:"horizontal",children:Gd(hN,{children:[Ja(Ne,{title:"Card Title",children:Ja("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Gd(z,{orientation:"vertical",className:"k-card-actions",children:[Ja(d,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),Ja(d,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{jsx as r4,jsxs as i4}from"react/jsx-runtime";import{jsx as Re,jsxs as qa}from"react/jsx-runtime";var NN=q.options,vN=q.states,Fd={...q.defaultOptions,variant:"vertical"},CN=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],LN=[{name:"media",title:"Card with Media"},{name:"header",title:"Card with Header"},{name:"footer",title:"Card with Footer"}],ua=e=>{let{variant:t,modifiers:o,...a}={...Fd,...e},n=!1,s=!1,l=!1;return Object.keys(o||{}).forEach(m=>{switch(m){case"media":{n=!!o?.[m];break}case"header":{s=!!o?.[m];break}case"footer":{l=!!o?.[m];break}}}),t==="horizontal"?qa(Ud,{style:{maxWidth:"420px"},...a,children:[n&&Re(Ei,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),qa("div",{children:[s&&Re(bt,{title:"Header Title",subtitle:"Header Subtitle"}),Re(Ne,{title:"Title",subtitle:"Subtitle",children:Re("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Re(Bi,{children:"Card Footer"})]}),(s||l)&&Re("span",{className:"k-separator k-separator-vertical"}),qa(z,{orientation:"vertical",alignment:"stretched",className:"k-card-actions",children:[Re(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Re(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]}):qa(zd,{style:{maxHeight:"450px",width:"300px"},...a,children:[s&&Re(bt,{title:"Header Title",subtitle:"Header Subtitle"}),n&&Re(Ei,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Re(Ne,{title:"Title",subtitle:"Subtitle",children:Re("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Re(Bi,{children:"Card Footer"}),qa(z,{className:"k-card-actions",children:[Re(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Re(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]})};ua.options=NN;ua.states=vN;ua.variants=CN;ua.defaultOptions=Fd;ua.modifiers=LN;ua.className=q.className;import{Fragment as W4,jsx as $4,jsxs as X4}from"react/jsx-runtime";import{Fragment as t8,jsx as e8,jsxs as o8}from"react/jsx-runtime";import{Fragment as Vd,jsx as v,jsxs as pe}from"react/jsx-runtime";var MN=V.options,gN=V.states,SN={...V.defaultOptions,variant:"ask"},IN=[{name:"ask",title:"Ask AI"},{name:"output",title:"Output"},{name:"more",title:"More Actions"}],kN=[{name:"stt",title:"SpeechToText"},{name:"suggestions",title:"Suggestions"}],fa=e=>{let{variant:t,modifiers:o,...a}={...e},n=v(Vd,{children:pe(st,{layout:"wrap",children:[v(ft,{text:"Post for work-life balance importance"}),v(ft,{text:"Out of office"})]})}),s={suggestions:n,stt:!0};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"suggestions":s.suggestions=!!o?.[l];break;case"stt":s.stt=!!o?.[l];break}}),t){case"more":return v(F,{className:"k-prompt-popup",children:pe(V,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:pe(H,{className:"k-toolbar-flat",children:[v(K,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),v(K,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),v(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0})]})}),v(Oe,{children:v(Pe,{children:pe($a,{children:[v(E,{header:!0,icon:"brush",text:"Change Formality",children:pe(he,{children:[v(E,{level:1,text:"Casual"}),v(E,{level:1,text:"Neutral"}),v(E,{level:1,text:"Formal"})]})}),v(E,{header:!0,expanded:!0,icon:"edit-tools",text:"Translate",children:pe(he,{children:[v(E,{level:1,text:"German"}),v(E,{level:1,text:"Spanish"})]})}),v(E,{header:!0,icon:"min-width",text:"Simplify"}),v(E,{header:!0,icon:"arrows-left-right",text:"Expand"})]})})})]})});case"output":return v(F,{className:"k-prompt-popup",children:pe(V,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:pe(H,{className:"k-toolbar-flat",children:[v(K,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),v(K,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),v(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),pe(Oe,{children:[v($t,{}),v(Pe,{children:pe("div",{className:"k-card-list",children:[pe(q,{children:[v(bt,{title:"Generated with AI",subtitle:"Linked in post for work/life balance importance"}),v(Ne,{children:pe("p",{children:["\u{1F31F} Embracing Work/Life Balance for Success \u{1F31F}",v("br",{}),v("br",{}),"Hello LinkedIn network! \u{1F44B} Today, let's talk about a key to our well-being: work/life balance. \u{1F310}\u2696\uFE0F",v("br",{}),v("br",{}),"In our fast-paced world, balancing professional and personal life is not just a luxury, it's a necessity for health and productivity. \u{1F4C8}\u{1F33F}",v("br",{}),v("br",{}),"\u2728 Key Points \u2728",v("br",{}),v("br",{}),"Enhances Productivity: Less burnout, more motivation. \u{1F680}",v("br",{}),"Boosts Creativity: New experiences = fresh ideas. \u{1F4A1}",v("br",{}),"Improves Health: Mental and physical benefits. \u{1F9D8}\u200D\u2642\uFE0F",v("br",{}),"Strengthens Relationships: Quality time matters. \u{1F91D}",v("br",{}),"Let's champion a culture where success and well-being go hand in hand. Share your work/life balance tips below! \u{1F447}",v("br",{}),v("br",{}),"#WorkLifeBalance #Productivity #WellBeing"]})}),pe(z,{className:"k-card-actions",alignment:"start",children:[v(K,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),v(K,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),v("span",{className:"k-spacer"}),v(w,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),v(w,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]}),pe(q,{children:[v(bt,{title:"Generated with AI",subtitle:"Out of Office"}),v(Ne,{children:pe("p",{children:["Subject: Out of Office: [Your Name]",v("br",{}),v("br",{}),"Dear [Recipient's Name],",v("br",{}),v("br",{}),"I am currently out of the office until [Return Date] and won't have access to email. For urgent matters, please contact [Colleague's Name] at [Colleague's Email]. I'll respond to your email upon my return.",v("br",{}),v("br",{}),"Thank you,",v("br",{}),"[Your Name]"]})}),pe(z,{className:"k-card-actions",alignment:"start",children:[v(K,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),v(K,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),v("span",{className:"k-spacer"}),v(w,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),v(w,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]})]})})]})]})});default:return v(F,{className:"k-prompt-popup",children:pe(V,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:pe(H,{className:"k-toolbar-flat",children:[v(K,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),v(K,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),v(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),v(Oe,{children:pe(Pe,{children:[v(Z,{resize:"none",rows:2,placeholder:"Ask or generate content with AI",suffixSeparator:!1,suffix:v(Vd,{children:s.stt?v(oe,{fillMode:"flat"}):null})}),v(kn,{expanded:s.suggestions,title:"Suggestions",children:n})]})}),v(Yo,{children:v(z,{className:"k-prompt-actions",alignment:"start",children:v(K,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})})}};fa.options=MN;fa.states=gN;fa.variants=IN;fa.defaultOptions=SN;fa.modifiers=kN;fa.className=V.className;import{Fragment as BN,jsx as pt,jsxs as Un}from"react/jsx-runtime";var AN=V.options,TN=V.states,yN={...V.defaultOptions},EN=[{name:"commands",title:"Commands Menu",default:!0},{name:"stt",title:"SpeechToText",default:!0},{name:"response",title:"Response Card"},{name:"generating",title:"Generating"}],ba=e=>{let{modifiers:t,...o}={...e},a={commands:!0,stt:!0};Object.keys(t||{}).forEach(s=>{switch(s){case"commands":a.commands=t?.[s]?!0:void 0;break;case"stt":a.stt=t?.[s]?!0:void 0;break;case"response":a.response=t?.[s]?!0:void 0;break;case"generating":a.generating=t?.[s]?!0:void 0;break;default:return}});let n=Un(q,{children:[pt(Ne,{style:{maxHeight:"150px",overflowY:"auto"},children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,"}),Un(z,{className:"k-card-actions",alignment:"start",children:[pt(K,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),pt(K,{fillMode:"flat",themeColor:"primary",icon:"insert-bottom",children:"Insert"}),pt(K,{fillMode:"flat",themeColor:"primary",icon:"check",children:"Replace"}),pt(K,{fillMode:"flat",themeColor:"base",icon:"cancel",children:"Discard"})]})]});return pt(F,{className:"k-prompt-popup",children:pt(V,{style:{width:"450px",height:"auto"},...o,children:pt(Oe,{children:Un(Pe,{children:[a.response?n:null,pt(Z,{rows:1,placeholder:"Edit, generate or explain ...",resize:"none",flow:"horizontal",prefixSeparator:a.commands&&a.stt,suffixSeparator:!1,prefix:Un(BN,{children:[a.commands?pt(w,{fillMode:"flat",icon:"menu"}):null,a.stt?pt(oe,{fillMode:"flat"}):null]}),suffix:pt(gt,{generating:!!a.generating})})]})})})})};ba.options=AN;ba.states=TN;ba.variants=[];ba.defaultOptions=yN;ba.modifiers=EN;ba.className=V.className;import{jsx as Y,jsxs as Wt}from"react/jsx-runtime";var iV=e=>Wt(V,{...e,children:[Y(ut,{children:Wt(H,{fillMode:"flat",children:[Y(K,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),Y(K,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),Y(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full","aria-label":"More actions"})]})}),Wt(Oe,{children:[Y($t,{}),Y(Pe,{children:Wt("div",{className:"k-card-list",children:[Wt(q,{children:[Y(bt,{title:"Card Title",subtitle:"Card Subtitle"}),Y(Ne,{children:Y("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Wt(z,{className:"k-card-actions",alignment:"start",children:[Y(K,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),Y(K,{fillMode:"flat",icon:"arrow-rotate-cw",children:"Retry"}),Y(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal","aria-label":"More actions"}),Y("span",{className:"k-spacer"}),Y(w,{fillMode:"flat",icon:"thumb-up","aria-label":"Thumbs up"}),Y(w,{fillMode:"flat",icon:"thumb-down","aria-label":"Thumbs down"})]})]}),Wt(q,{children:[Y(bt,{title:"Card Title",subtitle:"Card Subtitle"}),Y(Ne,{children:Y("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Wt(z,{className:"k-card-actions",alignment:"start",children:[Y(K,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),Y(K,{fillMode:"flat",icon:"arrow-rotate-cw",children:"Retry"}),Y(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal","aria-label":"More actions"}),Y("span",{className:"k-spacer"}),Y(w,{fillMode:"flat",icon:"thumb-up","aria-label":"Thumbs up"}),Y(w,{fillMode:"flat",icon:"thumb-down","aria-label":"Thumbs down"})]})]})]})})]})]});export{iV as PromptOutput};
|
|
1
|
+
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var k=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),I=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:l,active:m,selected:f,disabled:N,indeterminate:h,loading:M,empty:c,readonly:C,highlighted:g,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":f,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":M,"k-empty":c,"k-readonly":C,"k-highlighted":g},Object.keys(S).reduce((T,A)=>(A.startsWith("k-")?T[A]=S[A]:T[`k-${A}`]=S[A],T),{}))};function Pi(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},xt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},x={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"},Ki={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Xn={};function y(e){return Xn[e]=(Xn[e]||0)+1,`k-${e}-${Xn[e]}`}var Wn="action-buttons",Ri=Wn;import{jsx as Wd}from"react/jsx-runtime";var Ya="k-actions",$d=[],Xd={},Jn={alignment:"start",orientation:"horizontal"},z=e=>{let{alignment:t=Jn.alignment,orientation:o=Jn.orientation,...a}=e;return Wd("div",{...a,className:r(Ya,{[`${Ya}-${t}`]:t,[`${Ya}-${o}`]:o},e.className),children:e.children})};z.states=$d;z.options=Xd;z.className=Ya;z.defaultOptions=Jn;z.moduleName=Wn;z.folderName=Ri;import{Fragment as Qd,jsx as wi}from"react/jsx-runtime";var qn="k-font-icon",Jd=[],qd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info]},Yd={},Na=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...l}=e;return a?wi("span",{...l,className:r(e.className,qn,k(qn,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):wi(Qd,{})};Na.states=Jd;Na.options=qd;Na.className=qn;Na.defaultOptions=Yd;var _i=Na;import{Fragment as ep,jsx as Qa}from"react/jsx-runtime";var Yn="k-svg-icon",Zd=[],jd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[xt.outline,xt.solid,xt.duotone]},Qn={viewBox:"0 0 24 24",variant:xt.outline},va=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Qn.viewBox,variant:l=Qn.variant,icon:m,...f}=e;if(!m)return Qa(ep,{});if(m==="none")return Qa("span",{...f,className:r(e.className,Yn,k("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,h=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return Qa("span",{...f,className:r(e.className,Yn,k("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Qa("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:m?void 0:e.children})})};va.states=Zd;va.options=jd;va.className=Yn;va.defaultOptions=Qn;var Zn=va;import*as jn from"@progress/kendo-svg-icons";var Di="icon",Hi="icons";import{useContext as op}from"react";import{createContext as tp}from"react";var zi=tp({iconsType:"svg"});import{Fragment as Gi,jsx as Ca}from"react/jsx-runtime";var Za="k-icon",ap=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),np=[],rp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[xt.outline,xt.solid,xt.duotone]},ja={viewBox:"0 0 24 24",type:"svg",variant:xt.outline},L=e=>{let{iconsType:t}=op(zi),{size:o,themeColor:a,icon:n,type:s=t||ja.type,rotate:l,flip:m,viewBox:f=ja.viewBox,variant:N=ja.variant,...h}=e;if(!n)return Ca(Gi,{});if((t||s)==="svg"){if(n==="none")return Ca(Zn,{...h,className:r(e.className,Za),icon:n,size:o,variant:N});let c=jn[n]?n:ap(`${n}-icon`);return jn[c]?Ca(Zn,{...h,className:r(e.className,Za),icon:jn[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:f,variant:N}):Ca(Gi,{})}return Ca(_i,{...h,className:r(e.className,Za),icon:n,size:o,themeColor:a,rotate:l,flip:m})};L.states=np;L.options=rp;L.defaultOptions=ja;L.className=Za;L.moduleName=Di;L.folderName=Hi;var er="button",Ui=er;import{Fragment as tr,jsx as Bt,jsxs as Fi}from"react/jsx-runtime";var La="k-button",ip=["icon-button"],sp=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],lp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},or={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:l=or.showArrow,arrowIconName:m=or.arrowIconName,variant:f,hover:N,focus:h,active:M,selected:c,disabled:C,togglable:g,ariaDisabled:S,icon:T,endIcon:A,iconSize:R,text:$,iconClassName:se,className:ve,...me}=e,ue=T!=null,xa=e.children!==void 0;return Fi(t,{className:r(ve,La,Pi(La,f),k(La,{size:o,rounded:a,fillMode:n,themeColor:s}),I(La,{hover:N,focus:h,active:M,disabled:C||S,selected:c}),{"k-icon-button":!$&&!xa&&ue}),"aria-pressed":g?c?"true":"false":void 0,...me,"aria-disabled":S?"true":void 0,disabled:C||void 0,children:[typeof T=="string"&&T&&Bt(L,{className:r(se,"k-button-icon"),icon:T,size:R}),T&&typeof T!="string"&&Bt(tr,{children:T}),$?Fi(tr,{children:[$&&Bt("span",{className:"k-button-text",children:$}),e.children]}):e.children&&Bt("span",{className:"k-button-text",children:e.children}),typeof A=="string"&&A&&Bt(L,{className:r(se,"k-button-icon"),icon:A,size:R}),A&&typeof A!="string"&&Bt(tr,{children:A}),l&&Bt("span",{className:"k-menu-button-arrow k-button-arrow",children:Bt(L,{icon:m})})]})};d.states=sp;d.options=lp;d.variants=ip;d.className=La;d.defaultOptions=or;d.moduleName=er;d.folderName=Ui;import{jsx as dp}from"react/jsx-runtime";var w=e=>dp(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as pp}from"react/jsx-runtime";var K=e=>pp(d,{icon:"folder",children:"Button",...e});import{jsx as Ev}from"react/jsx-runtime";import{jsx as mp}from"react/jsx-runtime";var Yt=e=>mp(d,{children:"Button",...e});import{jsx as ar}from"react/jsx-runtime";var cp=d.options,up=d.states,fp={...d.defaultOptions,variant:"text"},bp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xp=[],fo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return ar(w,{...o,icon:"star"});case"icon-and-text":return ar(K,{...o,icon:"star",children:"Button"});default:return ar(Yt,{...o,children:"Button"})}};fo.options=cp;fo.states=up;fo.variants=bp;fo.defaultOptions=fp;fo.modifiers=xp;fo.className=d.className;var nr="button",Vi=nr;import{jsx as Cp}from"react/jsx-runtime";var Ma="k-button-group",hp=[i.disabled],Np={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},vp={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Cp("div",{role:"group",...n,className:r(e.className,Ma,k(Ma,{fillMode:t}),I(Ma,{disabled:o}),{[`${Ma}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=hp;O.options=Np;O.className=Ma;O.defaultOptions=vp;O.moduleName=nr;O.folderName=Vi;import{Fragment as nC,jsx as aC,jsxs as rC}from"react/jsx-runtime";import{Fragment as mC,jsx as pC,jsxs as cC}from"react/jsx-runtime";import{Fragment as NC,jsx as hC,jsxs as vC}from"react/jsx-runtime";import{Fragment as IC,jsx as SC,jsxs as kC}from"react/jsx-runtime";import{Fragment as OC,jsx as BC,jsxs as PC}from"react/jsx-runtime";import{Fragment as HC,jsx as DC,jsxs as zC}from"react/jsx-runtime";import{Fragment as XC,jsx as $C,jsxs as WC}from"react/jsx-runtime";import{jsx as St,jsxs as rr}from"react/jsx-runtime";var Lp={...d.options,...O.options},Mp=d.states,gp={...d.defaultOptions,...O.defaultOptions,variant:"text-button"},Sp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ip=[],bo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?rr(O,{fillMode:a.fillMode,className:o,children:[St(d,{...a,icon:"star"}),St(d,{...a,icon:"star"}),St(d,{...a,icon:"star"})]}):t==="icon-text-button"?rr(O,{fillMode:a.fillMode,className:o,children:[St(d,{...a,icon:"star",children:"First"}),St(d,{...a,icon:"star",children:"Middle"}),St(d,{...a,icon:"star",children:"Last"})]}):rr(O,{fillMode:a.fillMode,className:o,children:[St(d,{...a,children:"First"}),St(d,{...a,children:"Middle"}),St(d,{...a,children:"Last"})]})};bo.options=Lp;bo.states=Mp;bo.variants=Sp;bo.defaultOptions=gp;bo.modifiers=Ip;bo.className=O.className;var ga="input",en=ga;import{jsx as yp}from"react/jsx-runtime";var tn="k-input",kp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ap={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Tp={},j=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:f,rounded:N,fillMode:h,...M}=e;return yp("span",{...M,className:r(e.className,tn,k(tn,{size:f,rounded:N,fillMode:h}),I(tn,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m}))})};j.states=kp;j.options=Ap;j.className=tn;j.defaultOptions=Tp;j.moduleName=ga;j.folderName=en;import{jsx as Pp}from"react/jsx-runtime";var on="k-picker",Ep=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bp={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Op={},ht=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:f,rounded:N,fillMode:h,...M}=e;return Pp("span",{...M,className:r(e.className,on,k(on,{size:f,rounded:N,fillMode:h}),I(on,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m})),children:e.children})};ht.states=Ep;ht.options=Bp;ht.className=on;ht.defaultOptions=Op;ht.moduleName=ga;ht.folderName=en;import{Fragment as wp,jsx as ir}from"react/jsx-runtime";var $i="k-clear-value",Kp=[i.disabled,i.loading,i.readonly],Rp={},Fe=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?ir(wp,{}):ir("span",{className:r(e.className,$i),children:ir(L,{icon:"x"})})};Fe.states=Kp;Fe.options=Rp;Fe.className=$i;import{jsx as Hp}from"react/jsx-runtime";var sr="k-input-inner",_p=[],Dp={},an={type:"text",autocomplete:"off",value:"",placeholder:""},Ve=e=>{let{value:t=an.value,type:o=an.type,placeholder:a=an.placeholder,autocomplete:n=an.autocomplete,disabled:s,readOnly:l,...m}=e;return Hp("input",{...m,type:o,className:r(e.className,sr,k(sr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};Ve.states=_p;Ve.options=Dp;Ve.className=sr;import{jsx as Xi,jsxs as Up}from"react/jsx-runtime";var lr="k-input-inner",zp=[],Gp={},Qt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...l}=e;return Up("span",{...l,className:r(e.className,lr,k(lr,e)),children:[n,!n&&s&&Xi(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Xi("span",{className:"k-input-value-text",children:t})]})};Qt.states=zp;Qt.options=Gp;Qt.className=lr;import{jsx as $p}from"react/jsx-runtime";var dr="k-input-inner",Fp=[],Vp={},Wi={value:"",placeholder:""},Sa=e=>{let{value:t=Wi.value,placeholder:o=Wi.placeholder,rows:a,disabled:n,...s}=e;return $p("textarea",{...s,className:r(e.className,dr,k(dr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Sa.states=Fp;Sa.options=Vp;Sa.className=dr;import{Fragment as Wp,jsx as Ji}from"react/jsx-runtime";var qi="k-input-loading-icon",Xp=[i.disabled,i.loading],we=e=>{let{disabled:t,loading:o}=e;return t||!o?Ji(Wp,{}):Ji("span",{className:r(e.className,qi,"k-icon k-i-loading")})};we.states=Xp;we.className=qi;import{Fragment as Yp,jsx as Yi}from"react/jsx-runtime";var Qi="k-input-validation-icon",Jp=[i.valid,i.invalid,i.disabled,i.loading],qp={},Ie=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Yi(Yp,{}):Yi(L,{className:r(Qi),icon:s})};Ie.states=Jp;Ie.options=qp;Ie.className=Qi;import{Fragment as jp,jsx as Zi}from"react/jsx-runtime";var Qp="k-input-prefix",Zp={direction:"horizontal"},_e=e=>{let{direction:t=Zp.direction,...o}=e;return e.children?Zi("span",{...o,className:r(Qp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Zi(jp,{})};import{Fragment as om,jsx as ji}from"react/jsx-runtime";var em="k-input-suffix",tm={direction:"horizontal"},De=e=>{let{direction:t=tm.direction,...o}=e;return e.children?ji("span",{...o,className:r(em,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):ji(om,{})};import{jsx as JL}from"react/jsx-runtime";import{jsx as nm}from"react/jsx-runtime";var am="k-input-suffix-text",pr=e=>{let{children:t,...o}=e;return nm("span",{...o,className:r(am,e.className),children:t})};import{jsx as im}from"react/jsx-runtime";var es="k-input-separator",rm={direction:"vertical"},ke=e=>{let{direction:t=rm.direction,...o}=e;return im("span",{...o,className:r(es,e.className,{[`${es}-${t}`]:t})})};import{Fragment as ts,jsx as Nt,jsxs as mr}from"react/jsx-runtime";var sm=j.states,lm=j.defaultOptions,dm=j.options,pm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],mm=[],xo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:l,...m}=e,f=t?.prefix,N=t?.suffix,h=t?.["clear-button"],M=t?.["validation-icon"],c=t?.separators;return mr(j,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:l,style:{width:300},children:[f&&mr(ts,{children:[Nt(_e,{children:Nt(L,{icon:"lock"})}),c&&Nt(ke,{})]}),Nt(Ve,{placeholder:"Placeholder",value:"Value"}),M&&Nt(Ie,{valid:o,invalid:a,loading:n,disabled:s}),Nt(we,{loading:n,disabled:s}),h&&Nt(Fe,{loading:n,disabled:s,readonly:l,value:"Value"}),N&&mr(ts,{children:[c&&Nt(ke,{}),Nt(De,{children:Nt(Yt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};xo.options=dm;xo.states=sm;xo.variants=mm;xo.defaultOptions=lm;xo.modifiers=pm;xo.className=j.className;import{jsx as os,jsxs as fm}from"react/jsx-runtime";var as="k-color-preview",cm=[],um={},Ot=e=>{let{color:t,iconName:o,...a}=e;return fm("span",{...a,className:r(e.className,as,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&os(L,{icon:o,className:"k-color-preview-icon"}),os("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ot.states=cm;Ot.options=um;Ot.className=as;var cr="popup",ns=cr;import{jsx as rs}from"react/jsx-runtime";var is="k-animation-container",bm=[],xm={},ur={positionMode:"absolute",shown:!0},vt=e=>{let{positionMode:t=ur.positionMode,shown:o=ur.shown,animationStyle:a,offset:n,...s}=e;return rs("div",{...s,style:{...n,...e.style},className:r(e.className,is,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:rs("div",{className:"k-child-animation-container",style:a,children:e.children})})};vt.states=bm;vt.options=xm;vt.className=is;vt.defaultOptions=ur;vt.moduleName=cr;vt.folderName=ns;var fr="popup",ss=fr;import{jsx as ls}from"react/jsx-runtime";var ds="k-popup",hm=[],Nm={},ps={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:o=ps.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:l,...m}=e;return ls(vt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":l,children:ls("div",{...m,className:r(e.className,ds),children:e.children})})};F.states=hm;F.options=Nm;F.className=ds;F.defaultOptions=ps;F.moduleName=fr;F.folderName=ss;import{jsx as Cm}from"react/jsx-runtime";var vm="k-actionsheet-footer",ms={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=ms.alignment,orientation:o=ms.orientation,template:a,as:n=a?"div":z,...s}=e;return Cm(n,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,vm),children:e.children})};var br="searchbox",cs=br;import{jsx as Ia,jsxs as gm}from"react/jsx-runtime";var us="k-searchbox",Lm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Mm={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},nn={showIcon:!0,showClearButton:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:f,invalid:N,required:h,loading:M,disabled:c,showIcon:C=nn.showIcon,showClearButton:g=nn.showClearButton,icon:S=nn.icon,"aria-label":T,...A}=e;return gm(j,{...A,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:f,invalid:N,required:h,loading:M,disabled:c,className:r(e.className,us),children:[C&&Ia(L,{className:"k-input-icon",icon:S}),Ia(Ve,{placeholder:o,value:t,"aria-label":T}),Ia(we,{...e}),Ia(Ie,{...e}),g&&Ia(Fe,{...e})]})};Qe.states=Lm;Qe.options=Mm;Qe.className=us;Qe.defaultOptions=nn;Qe.moduleName=br;Qe.folderName=cs;import{jsx as cg}from"react/jsx-runtime";var xr="textbox",fs=xr;import{Fragment as bs,jsx as Kt,jsxs as hr}from"react/jsx-runtime";var xs="k-textbox",Sm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Im={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},rn={showClearButton:!0,showValidationIcon:!0,separators:!0},Ce=e=>{let{size:t,rounded:o,fillMode:a,separators:n=rn.separators,showClearButton:s=rn.showClearButton,showValidationIcon:l=rn.showValidationIcon,prefix:m,suffix:f,type:N,value:h,placeholder:M,hover:c,focus:C,valid:g,invalid:S,required:T,loading:A,disabled:R,readonly:$,id:se,"aria-label":ve,"aria-describedby":me,...ue}=e;return hr(j,{...ue,size:t,rounded:o,fillMode:a,hover:c,focus:C,valid:g,invalid:S,required:T,loading:A,disabled:R,readonly:$,className:r(e.className,xs),children:[m&&hr(bs,{children:[Kt(_e,{children:m}),n&&Kt(ke,{})]}),Kt(Ve,{id:se,placeholder:M,value:h,type:N,disabled:R,"aria-label":ve,"aria-describedby":me,"aria-invalid":S?"true":void 0}),l&&Kt(Ie,{valid:g,invalid:S,loading:A,disabled:R}),Kt(we,{loading:A,disabled:R}),s&&Kt(Fe,{loading:A,disabled:R,readonly:$,value:h}),f&&hr(bs,{children:[n&&Kt(ke,{}),Kt(De,{children:f})]})]})};Ce.states=Sm;Ce.options=Im;Ce.className=xs;Ce.defaultOptions=rn;Ce.moduleName=xr;Ce.folderName=fs;var ka=Ce;import{jsx as km}from"react/jsx-runtime";var hs=e=>km(ka,{...e});import{Fragment as Eg,jsx as yg}from"react/jsx-runtime";import{Fragment as wg,jsx as Rg}from"react/jsx-runtime";import{jsx as zg}from"react/jsx-runtime";import{jsx as Nr}from"react/jsx-runtime";var Am=Ce.states,Tm=Ce.defaultOptions,ym=Ce.options,Em=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Bm=[],ho=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Nr(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Nr(Yt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Nr(hs,{value:"Value",style:{width:300},...o,...a})};ho.options=ym;ho.states=Am;ho.variants=Bm;ho.defaultOptions=Tm;ho.modifiers=Em;ho.className=Ce.className;import{jsx as Rt,jsxs as vr}from"react/jsx-runtime";var Ns="k-actionsheet-titlebar",Om={},Ae=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:l,inputValue:m,inputPlaceholder:f,adaptive:N,titleId:h,children:M,...c}=e;return vr("div",{...c,className:r(e.className,Ns),children:[vr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Rt("div",{className:"k-actionsheet-actions",children:a}),!M&&vr("div",{className:"k-actionsheet-title",id:h,children:[t&&Rt("div",{className:"k-text-center",children:t}),o&&Rt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),M&&Rt("div",{className:"k-actionsheet-title",id:h,children:M}),n&&Rt("div",{className:"k-actionsheet-actions",children:n})]}),(l||s)&&Rt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Rt(Ce,{value:m,placeholder:f,size:N?"large":"medium","aria-label":t||f||"Input"}):Rt(Qe,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ae.className=Ns;Ae.defaultOptions=Om;import{jsx as Cr,jsxs as wm}from"react/jsx-runtime";var Lr="k-actionsheet-view",Pm=[],Km={},Rm={},No=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:l,...m}=e,f=n?.type===Ae&&Cr(Ae,{adaptive:t,titleId:l,...n?.props}),N=s?.type===Pt&&Cr(Pt,{...s?.props});return wm("div",{...m,className:r(e.className,Lr,{[`${Lr}-animated`]:o}),children:[f,Cr("div",{className:"k-actionsheet-content",children:a}),N]})};No.states=Pm;No.options=Km;No.className=Lr;No.defaultOptions=Rm;var Aa="action-sheet",sn=Aa;var Mr="overlay",vs=Mr;import{jsx as zm}from"react/jsx-runtime";var Cs="k-overlay",_m=[],Dm={},Hm={},wt=e=>{let{...t}=e;return zm("div",{...t,className:r(e.className,Cs),children:e.children})};wt.states=_m;wt.options=Dm;wt.className=Cs;wt.defaultOptions=Hm;wt.moduleName=Mr;wt.folderName=vs;import{jsx as ln,jsxs as Fm}from"react/jsx-runtime";var Ls="k-actionsheet",Gm=[],Um={},Ta={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ae=e=>{let{side:t=Ta.side,fullscreen:o=Ta.fullscreen,adaptive:a=Ta.adaptive,overlay:n=Ta.overlay,template:s,children:l,header:m,footer:f,id:N,...h}=e,M=N&&!s&&m?`${N}-title`:void 0;return Fm("div",{className:"k-actionsheet-container",children:[n&&ln(wt,{}),ln(vt,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:ln("div",{...h,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":M,className:r(e.className,Ls,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||ln(No,{header:m,footer:f,adaptive:a,titleId:M,...e,children:l})})})]})};ae.states=Gm;ae.options=Um;ae.className=Ls;ae.defaultOptions=Ta;ae.moduleName=Aa;ae.folderName=sn;import{jsx as Wm}from"react/jsx-runtime";var Ms="k-actionsheet-container",Vm=[],$m={},Xm={},vo=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:Ms,children:t})};vo.states=Vm;vo.options=$m;vo.className=Ms;vo.defaultOptions=Xm;vo.moduleName=Aa;vo.folderName=sn;import{jsx as Jm}from"react/jsx-runtime";var gr=e=>{let{...t}=e;return Jm("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ym,jsx as ya,jsxs as Sr}from"react/jsx-runtime";var Ir="k-actionsheet-item",qm=[i.hover,i.focus,i.selected,i.disabled],_t=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:l,disabled:m,...f}=e;return Sr("span",{...f,className:r(e.className,Ir,I(Ir,{hover:n,focus:s,selected:l,disabled:m})),children:[!e.children&&ya(Ym,{children:Sr("span",{className:"k-actionsheet-action",children:[t&&ya("span",{className:"k-icon-wrap",children:ya(L,{className:"k-actionsheet-item-icon",icon:t})}),Sr("span",{className:"k-actionsheet-item-text",children:[o&&ya("span",{className:"k-actionsheet-item-title",children:o}),a&&ya("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};_t.states=qm;_t.className=Ir;import{jsx as HS,jsxs as zS}from"react/jsx-runtime";import{jsx as VS}from"react/jsx-runtime";import{jsx as JS}from"react/jsx-runtime";import{jsx as ZS}from"react/jsx-runtime";import{jsx as fe,jsxs as kr}from"react/jsx-runtime";var Qm=ae.options,Zm=ae.states,Ss={...ae.defaultOptions,variant:"normal"},jm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ec=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Co=e=>{let{variant:t,modifiers:o,...a}={...Ss,...e},n={},s=kr(gr,{children:[fe(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),fe(_t,{text:"Add to Favorites",iconName:"heart"}),fe(_t,{text:"Upload New",iconName:"upload",disabled:!0}),fe("hr",{className:"k-hr"}),fe(_t,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":n.actionsStart=!!o?.[f],n.actionsEnd=!!o?.[f];break;case"subtitle":n.subtitle=o?.[f]?l:void 0;break;case"footer":n.footer=!!o?.[f];break;default:break}}),t==="adaptive"?fe(ae,{...a,adaptive:!0,fullscreen:n.fullScreen,header:fe(Ae,{actionsStart:n.actionsStart?fe(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?fe(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?kr(Pt,{alignment:"stretched",children:[fe(d,{text:"Cancel",size:"large",themeColor:"base"}),fe(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):fe(ae,{...a,fullscreen:n.fullScreen,header:fe(Ae,{actionsStart:n.actionsStart?fe(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?fe(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?kr(Pt,{alignment:"stretched",children:[fe(d,{text:"Apply",themeColor:"primary"}),fe(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Co.options=Qm;Co.states=Zm;Co.variants=jm;Co.defaultOptions=Ss;Co.modifiers=ec;Co.className=ae.className;var Ar="slider",Is=Ar;import{jsx as Lo,jsxs as Tr}from"react/jsx-runtime";var Ea="k-slider",tc=[i.hover,i.focus,i.active,i.disabled,i.readonly],oc={},Ze={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},Q=e=>{let{type:t=Ze.type,orientation:o=Ze.orientation,gradientType:a=Ze.gradientType,readonly:n=Ze.readonly,disabled:s=Ze.disabled,handlePosition:l=Ze.handlePosition,showButtons:m=Ze.showButtons,showTicks:f=Ze.showTicks,value:N=Ze.value,min:h=Ze.min,max:M=Ze.max,startValue:c,endValue:C,hover:g,focus:S,active:T,trackStyle:A,dir:R,...$}=e,ve=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),me,ue;return o==="horizontal"?(me=R==="rtl"?"chevron-left":"chevron-right",ue=R==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(me="chevron-up",ue="chevron-down"),Tr("div",{...$,className:r(Ea,e.className,I(Ea,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:R,children:[m&&Lo(d,{className:"k-button-decrease",rounded:"full",icon:ue,tabIndex:-1,title:"Decrease"}),Tr("div",{className:"k-slider-track-wrap",children:[f&&Lo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Tr("div",{className:"k-slider-track",style:A,children:[Lo("div",{className:"k-slider-selection"}),t==="range"&&Lo("span",{className:r("k-draghandle","k-draghandle-start",I(Ea,{hover:g,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??h,"aria-valuemin":h,"aria-valuemax":C??M,"aria-orientation":ve,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":$["aria-label"]?`${$["aria-label"]} start`:"Range start"}),Lo("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(Ea,{hover:g,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?C??M:N,"aria-valuemin":t==="range"?c??h:h,"aria-valuemax":M,"aria-orientation":ve,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?$["aria-label"]?`${$["aria-label"]} end`:"Range end":$["aria-label"]})]})]}),m&&Lo(d,{className:"k-button-increase",rounded:"full",icon:me,tabIndex:-1,title:"Increase"})]})};Q.states=tc;Q.options=oc;Q.className=Ea;Q.defaultOptions=Ze;Q.moduleName=Ar;Q.folderName=Is;import{jsx as ks}from"react/jsx-runtime";var As="k-tick",ac=[],nc={},Ts={label:!1},B=e=>{let{style:t,label:o=Ts.label,orientation:a,large:n,text:s,...l}=e;return ks("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,As,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&ks("span",{className:"k-label",children:s})})};B.states=ac;B.options=nc;B.className=As;B.defaultOptions=Ts;import{Fragment as rc,jsx as je,jsxs as ic}from"react/jsx-runtime";var ys=e=>je(Q,{"aria-label":e["aria-label"]||"Slider",children:ic(rc,{children:[je(B,{className:"k-first",label:!0,large:!0,text:"0"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{label:!0,large:!0,text:"5"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as sc,jsx as et,jsxs as lc}from"react/jsx-runtime";var Es=e=>et(Q,{children:lc(sc,{children:[et(B,{className:"k-first",label:!0,large:!0,text:"0"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{label:!0,large:!0,text:"5"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as zI,jsx as HI,jsxs as GI}from"react/jsx-runtime";import{Fragment as XI,jsx as $I,jsxs as WI}from"react/jsx-runtime";import{jsx as dc}from"react/jsx-runtime";var yr=e=>dc(Q,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pc}from"react/jsx-runtime";var Er=e=>pc(Q,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as nk,jsx as ak,jsxs as rk}from"react/jsx-runtime";import{Fragment as pk,jsx as dk,jsxs as mk}from"react/jsx-runtime";import{jsx as Ct,jsxs as Bs}from"react/jsx-runtime";var mc=Q.options,cc=Q.states,Os={...Q.defaultOptions,variant:"horizontal",label:!0},uc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Mo=e=>{let{variant:t,modifiers:o,...a}=e,n=Os.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Bs(Es,{style:{height:"300px",...l},...a,...s,children:[Ct(B,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Ct(B,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Ct(B,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Ct(B,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Ct(B,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Bs(ys,{style:{width:"400px",...l},...a,...s,children:[Ct(B,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Ct(B,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Ct(B,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Ct(B,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Ct(B,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Mo.options=mc;Mo.states=cc;Mo.variants=uc;Mo.defaultOptions=Os;Mo.modifiers=fc;Mo.className=Q.className;import{jsx as Ps,jsxs as vc}from"react/jsx-runtime";var Ks="k-spin-button",hc=[],Nc={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Br={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Br.increaseLabel,decreaseLabel:s=Br.decreaseLabel,...l}=e;return vc("span",{...l,className:r(Ks,e.className),children:[Ps(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Ps(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Dt.states=hc;Dt.options=Nc;Dt.className=Ks;Dt.defaultOptions=Br;Dt.moduleName=null;Dt.folderName=null;var Rs="numeric-textbox",ws="numerictextbox";import{Fragment as _s,jsx as It,jsxs as Or}from"react/jsx-runtime";var Ds="k-numerictextbox",Cc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Lc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},dn={showSpinButton:!0,showClearButton:!0,separators:!0},X=e=>{let{size:t,rounded:o,fillMode:a,separators:n=dn.separators,showClearButton:s=dn.showClearButton,showSpinButton:l=dn.showSpinButton,prefix:m,suffix:f,value:N,placeholder:h,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:R,id:$,"aria-label":se,"aria-describedby":ve,...me}=e;return Or(j,{...me,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:R,className:r(e.className,Ds),children:[m&&Or(_s,{children:[It(_e,{children:m}),n&&It(ke,{})]}),It(Ve,{id:$,placeholder:h,value:N,role:"spinbutton",disabled:A,"aria-label":se,"aria-describedby":ve,"aria-invalid":g?"true":void 0}),It(Ie,{valid:C,invalid:g,loading:T,disabled:A}),It(we,{loading:T,disabled:A}),s&&It(Fe,{loading:T,disabled:A,readonly:R,value:N}),f&&Or(_s,{children:[n&&It(ke,{}),It(De,{children:f})]}),l&&It(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:A})]})};X.states=Cc;X.options=Lc;X.className=Ds;X.defaultOptions=dn;X.moduleName=Rs;X.folderName=ws;var Ba=X;import{jsx as Mc}from"react/jsx-runtime";var Hs=e=>Mc(Ba,{...e});import Kr from"react";import{jsx as zs}from"react/jsx-runtime";var gc="k-list-group-sticky-header",Pr=e=>zs("div",{className:r(gc,e.className),children:zs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Ic}from"react/jsx-runtime";var Sc="k-no-data",pn=e=>{let{live:t,...o}=e;return Ic("span",{...o,className:r(Sc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Zt="list",go=Zt;import{jsx as Gs,jsxs as Us}from"react/jsx-runtime";var Rr="k-list",kc=[],Ac={size:[p.undefined,p.small,p.medium,p.large]},Tc={},G=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:l,customValue:m,noData:f,screenReaders:N,...h}=e,c=Kr.Children.toArray(a)[0],C=c?.props?.children?Kr.Children.count(c.props.children):Kr.Children.count(a);return Us("div",{...h,className:r(e.className,Rr,k(Rr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,n&&Gs(Pr,{children:n}),a||(f!==void 0?f:Gs(pn,{live:!0,children:"No data found."})),N&&a&&Us(pn,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};G.states=kc;G.options=Ac;G.className=Rr;G.defaultOptions=Tc;G.moduleName=Zt;G.folderName=go;import{jsx as Oc}from"react/jsx-runtime";var Fs="k-list-container",yc=[],Ec={},Bc={},So=e=>{let{...t}=e;return Oc("div",{...t,className:r(e.className,Fs),children:e.children})};So.states=yc;So.options=Ec;So.className=Fs;So.defaultOptions=Bc;So.moduleName=Zt;So.folderName=go;var jt="checkbox",Io=jt;import{jsx as Vs}from"react/jsx-runtime";var mn="k-checkbox",Pc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Kc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Rc={},$e=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:l,invalid:m,valid:f,required:N,size:h,rounded:M,wrapperRole:c,...C}=e;return Vs("span",{className:"k-checkbox-wrap",role:c,children:Vs("input",{...C,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,mn,k(mn,{size:h,rounded:M}),I(mn,{hover:n,focus:s,disabled:l,invalid:m,valid:f,indeterminate:a,checked:o}))})})};$e.states=Pc;$e.options=Kc;$e.className=mn;$e.defaultOptions=Rc;$e.moduleName=jt;$e.folderName=Io;var mt=$e;import{jsx as Dc}from"react/jsx-runtime";var $s="k-checkbox-list",wc=[],_c={},Xs={layout:"vertical"},Te=e=>{let{layout:t=Xs.layout,...o}=e;return Dc("ul",{...o,className:r(e.className,$s,{[`k-list-${t}`]:t}),children:e.children})};Te.states=wc;Te.options=_c;Te.className=$s;Te.defaultOptions=Xs;Te.moduleName=jt;Te.folderName=Io;import{jsx as Uc}from"react/jsx-runtime";var Ws="k-checkbox-list-item",Hc=[],zc={},Gc={},ye=e=>{let{...t}=e;return Uc("li",{...t,className:r(e.className,Ws),children:e.children})};ye.states=Hc;ye.options=zc;ye.className=Ws;ye.defaultOptions=Gc;ye.moduleName=jt;ye.folderName=Io;import{Fragment as Fc,jsx as Js,jsxs as Vc}from"react/jsx-runtime";var kt=({children:e="Label",id:t="cb-label-after",...o})=>Vc(Fc,{children:[Js(mt,{id:t,...o}),Js("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as RA,jsx as KA,jsxs as wA}from"react/jsx-runtime";import{Fragment as GA,jsx as zA,jsxs as UA}from"react/jsx-runtime";import{Fragment as WA,jsx as XA,jsxs as JA}from"react/jsx-runtime";import{jsx as ZA}from"react/jsx-runtime";import{jsx as oT}from"react/jsx-runtime";import{jsx as iT}from"react/jsx-runtime";import{jsx as tt,jsxs as qs}from"react/jsx-runtime";var $c=Te.options,Xc=Te.states,Wc={...Te.defaultOptions,variant:"vertical"},Jc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qc=[],ko=e=>{let{variant:t,...o}=e;return t==="horizontal"?qs(Te,{layout:"horizontal",...o,children:[tt(ye,{children:tt(kt,{id:y("cb"),defaultChecked:!0,children:"Label"})}),tt(ye,{children:tt(kt,{id:y("cb"),children:"Label"})}),tt(ye,{children:tt(kt,{id:y("cb"),children:"Label"})})]}):qs(Te,{...o,children:[tt(ye,{children:tt(kt,{id:y("cb"),defaultChecked:!0,children:"Label"})}),tt(ye,{children:tt(kt,{id:y("cb"),children:"Label"})}),tt(ye,{children:tt(kt,{id:y("cb"),children:"Label"})})]})};ko.options=$c;ko.states=Xc;ko.variants=Jc;ko.defaultOptions=Wc;ko.modifiers=qc;ko.className=Te.className;import{jsx as tu}from"react/jsx-runtime";var Yc=mt.options,Qc=mt.states,Zc=mt.defaultOptions,jc=[],eu=[],Ao=e=>tu(kt,{id:y("checkbox"),...e,defaultChecked:!0,children:"Label"});Ao.options=Yc;Ao.states=Qc;Ao.variants=jc;Ao.defaultOptions=Zc;Ao.modifiers=eu;Ao.className=mt.className;import{jsx as To,jsxs as ru}from"react/jsx-runtime";var wr="k-list-item",ou=[i.hover,i.focus,i.selected,i.disabled],au={},nu={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:s,hover:l,focus:m,selected:f,disabled:N,actions:h,description:M,id:c,...C}=e,g=t||e.children,S=t||(typeof g=="string"?g:void 0);return ru("li",{...C,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":N?"true":void 0,className:r(e.className,wr,I(wr,{hover:l,focus:m,disabled:N,selected:f})),children:[n&&To($e,{checked:s,disabled:N,"aria-label":S,tabIndex:-1}),o&&To("span",{className:"k-list-item-icon-wrapper",children:To(L,{icon:o,className:r("k-list-item-icon",a)})}),To("span",{className:"k-list-item-text",children:g}),h&&To("div",{className:"k-list-item-actions",children:h}),M&&To("span",{className:"k-list-item-description",children:M})]})};P.states=ou;P.options=au;P.className=wr;P.defaultOptions=nu;P.moduleName=Zt;P.folderName=go;import{jsx as su}from"react/jsx-runtime";var iu="k-list-ul",Ht=e=>{let{children:t,role:o,id:a,...n}=e;return su("ul",{...n,id:a,role:o,className:r(iu,e.className),children:t})};import{jsx as _r,jsxs as du}from"react/jsx-runtime";var lu="k-list-content",W=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...l}=e;return du("div",{...l,className:r(lu,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:_r(Ht,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&_r("div",{className:"k-height-container",children:_r("div",{})})]})};import{jsx as Dr,jsxs as uu}from"react/jsx-runtime";var cn="k-list-sticky-header",pu=[i.hover,i.focus,i.selected],mu={},cu={},un=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:l,selected:m,...f}=e;return Dr("div",{...f,className:r(cn,e.className),children:uu("div",{className:r(`${cn}-item`,I(`${cn}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&Dr($e,{checked:a,indeterminate:n,"aria-label":t}),Dr("span",{className:"k-list-item-text",children:t})]})})};un.states=pu;un.options=mu;un.className=cn;un.defaultOptions=cu;import{Fragment as ey,jsx as jT,jsxs as ty}from"react/jsx-runtime";import{jsx as iy,jsxs as sy}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";var Hr="k-list-optionlabel",fu=[i.hover,i.focus,i.selected,i.disabled],bu={},xu={},fn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return hu("div",{...l,className:r(Hr,I(Hr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};fn.states=fu;fn.options=bu;fn.className=Hr;fn.defaultOptions=xu;import{jsx as Lu}from"react/jsx-runtime";var zr="k-list-custom-value",Nu=[i.hover,i.focus,i.selected,i.disabled],vu={},Cu={},zt=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return Lu("div",{...l,className:r(zr,I(zr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};zt.states=Nu;zt.options=vu;zt.className=zr;zt.defaultOptions=Cu;import{Fragment as vy,jsx as Ny,jsxs as Cy}from"react/jsx-runtime";import{Fragment as ky,jsx as Iy,jsxs as Ay}from"react/jsx-runtime";import{Fragment as Ky,jsx as Oy,jsxs as Py}from"react/jsx-runtime";import{Fragment as Gy,jsx as Hy,jsxs as zy}from"react/jsx-runtime";import{jsx as $y}from"react/jsx-runtime";import{Fragment as Qy,jsx as Yy,jsxs as Zy}from"react/jsx-runtime";import{Fragment as nE,jsx as aE,jsxs as rE}from"react/jsx-runtime";var Ys="dropdown-list",Qs="dropdownlist";import{Fragment as Su,jsx as Ee,jsxs as Gr}from"react/jsx-runtime";var Zs="k-dropdownlist",Mu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gu={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ur={showValue:!0,arrowIconName:"chevron-down"},ce=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Ur.arrowIconName,showValue:s=Ur.showValue,valueIconName:l,prefix:m,suffix:f,value:N,placeholder:h,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:R,popup:$,opened:se,adaptive:ve,adaptiveSettings:me,adaptiveTitle:ue,adaptiveSubtitle:xa,adaptiveFilter:Jt,id:qt,activeDescendant:ha,"aria-label":Fn,...Vn}=e,$n=qt?`${qt}-listbox`:void 0,Oi=qt?`${qt}-value`:void 0;return Gr(Su,{children:[Gr(ht,{...Vn,id:qt,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:R,className:r(e.className,Zs,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":se?"true":"false","aria-controls":se?$n:void 0,"aria-activedescendant":se&&ha?ha:void 0,"aria-describedby":se?Oi:void 0,"aria-disabled":A?"true":void 0,"aria-label":Fn,tabIndex:0,children:[Ee(_e,{children:m}),Ee(Qt,{placeholder:h,value:N,showValue:s,valueIconName:l,id:Oi}),Ee(Ie,{valid:C,invalid:g,loading:T,disabled:A}),Ee(we,{loading:T,disabled:A}),Ee(De,{children:f}),Ee(d,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),se&&$&&Ee(F,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:$}),ve&&Ee(ae,{adaptive:!0,...me,header:Ee(Ae,{actionsEnd:Ee(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Jt,inputValue:N,inputPlaceholder:h,title:ue,subtitle:xa}),children:Ee("div",{className:"k-list-container",children:Ee(G,{size:"large",children:Gr(W,{"aria-label":"Options",children:[Ee(P,{text:"List item"}),Ee(P,{text:"List item"}),Ee(P,{text:"List item"})]})})})})]})};ce.states=Mu;ce.options=gu;ce.className=Zs;ce.defaultOptions=Ur;ce.moduleName=Ys;ce.folderName=Qs;import{jsx as zE}from"react/jsx-runtime";import{jsx as XE,jsxs as WE}from"react/jsx-runtime";import{Fragment as oB,jsx as eB,jsxs as tB}from"react/jsx-runtime";import{jsx as sB}from"react/jsx-runtime";import{jsx as uB,jsxs as fB}from"react/jsx-runtime";import{Fragment as gB,jsx as LB,jsxs as MB}from"react/jsx-runtime";import{jsx as TB}from"react/jsx-runtime";import{Fragment as Eu,jsx as Gt,jsxs as js}from"react/jsx-runtime";var Iu=ce.states,ku=ce.defaultOptions,Au=ce.options,Tu=[{name:"opened",title:"Opened"}],yu=[],Eo=e=>{let{modifiers:t,...o}=e,a={},n=js(Eu,{children:[Gt("div",{className:"k-list-filter",children:Gt(Qe,{})}),Gt(G,{style:{width:300},size:o.size,children:js(W,{children:[Gt(P,{children:"List item"}),Gt(P,{children:"List item"}),Gt(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),Gt("div",{children:Gt(ce,{placeholder:"Value",style:{width:300},...o,...a})})};Eo.options=Au;Eo.states=Iu;Eo.variants=yu;Eo.defaultOptions=ku;Eo.modifiers=Tu;Eo.className=ce.className;import{Fragment as YB,jsx as qB}from"react/jsx-runtime";import{Fragment as oO,jsx as tO}from"react/jsx-runtime";import{jsx as iO}from"react/jsx-runtime";import{jsx as Fr}from"react/jsx-runtime";var Bu=X.states,Ou=X.defaultOptions,Pu=X.options,Ku=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Ru=[],Bo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Fr(ce,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Fr(pr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),Fr(Hs,{value:"Value",style:{width:300},...o,...a})};Bo.options=Pu;Bo.states=Bu;Bo.variants=Ru;Bo.defaultOptions=Ou;Bo.modifiers=Ku;Bo.className=X.className;import{Fragment as Pa,jsx as _,jsxs as ne}from"react/jsx-runtime";var el="k-colorgradient-inputs",wu=[],_u={size:[p.undefined,p.small,p.medium,p.large]},tl={mode:"rgba"},Oo=e=>{let{mode:t=tl.mode,size:o,...a}=e;return ne("div",{...a,className:r(el,"k-hstack"),children:[_("div",{className:"k-vstack",children:_(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ne(Pa,{children:[ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ne(Pa,{children:[ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ne(Pa,{children:[ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ne(Pa,{children:[ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),ne("div",{className:"k-vstack",children:[_(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&_(Pa,{children:ne("div",{className:"k-vstack k-flex-1",children:[_(Ce,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),_("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Oo.states=wu;Oo.options=_u;Oo.className=el;Oo.defaultOptions=tl;import{jsx as eo,jsxs as to}from"react/jsx-runtime";var ol="k-colorgradient-color-contrast",Du=[],Hu={},zu={},Po=()=>to("div",{className:r(ol,"k-vbox"),children:[to("div",{className:"k-contrast-ratio",children:[eo("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),to("span",{className:"k-contrast-validation !k-text-success",children:[eo(L,{icon:"check"}),eo(L,{icon:"check"})]})]}),to("div",{children:[eo("span",{children:"AA: 4.5"}),to("span",{className:"k-contrast-validation !k-text-success",children:["Pass",eo(L,{icon:"check"})]})]}),to("div",{children:[eo("span",{children:"AAA: 7.0"}),to("span",{className:"k-contrast-validation !k-text-error",children:["Fail",eo(L,{icon:"x"})]})]})]});Po.states=Du;Po.options=Hu;Po.className=ol;Po.defaultOptions=zu;var al="color-gradient",nl="colorgradient";import{jsx as ot,jsxs as Ka}from"react/jsx-runtime";var bn="k-colorgradient",Gu=[i.hover,i.focus,i.readonly,i.disabled],Uu={size:[p.undefined,p.small,p.medium,p.large]},Lt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},be=e=>{let{size:t,mode:o=Lt.mode,readonly:a=Lt.readonly,disabled:n=Lt.disabled,gradientStyle:s=Lt.gradientStyle,dragHandleStyle:l=Lt.dragHandleStyle,alphaStyle:m=Lt.alphaStyle,alphaStyleHorizontal:f=Lt.alphaStyleHorizontal,contrast:N=Lt.contrast,dir:h,hover:M,focus:c,hoverHandle:C,focusHandle:g,canvasOrientation:S=Lt.canvasOrientation,role:T,tabIndex:A,...R}=e;return Ka("div",{...R,role:T??"textbox","aria-label":T==="none"?void 0:"Color gradient",tabIndex:A??0,"aria-disabled":n?"true":void 0,className:r(e.className,bn,k(bn,{size:t}),I(bn,{hover:M,focus:c,readonly:a,disabled:n})),dir:h,children:[!S||S==="horizontal"&&Ka("div",{className:"k-colorgradient-canvas k-hstack",children:[ot("div",{className:"k-hsv-rectangle",style:s,children:ot("div",{className:"k-hsv-gradient",children:ot("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":C,"k-focus":g}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ka("div",{className:"k-hsv-controls k-hstack",children:[ot(Er,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&ot(Er,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:m})]})]}),S==="vertical"&&Ka("div",{className:"k-colorgradient-canvas k-vstack",children:[ot("div",{className:"k-hsv-rectangle",style:s,children:ot("div",{className:"k-hsv-gradient",children:ot("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":C,"k-focus":g}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ka("div",{className:"k-hsv-controls k-vstack",children:[ot(yr,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&ot(yr,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:f})]})]}),ot(Oo,{mode:e.mode,size:t}),N&&ot(Po,{})]})};be.states=Gu;be.options=Uu;be.className=bn;be.defaultOptions=Lt;be.moduleName=al;be.folderName=nl;import{jsx as Fu}from"react/jsx-runtime";var xn=e=>Fu(be,{...e});import{jsx as $O}from"react/jsx-runtime";import{jsx as qO}from"react/jsx-runtime";import{jsx as Vr}from"react/jsx-runtime";var Vu=be.options,$u=be.states,Xu={...be.defaultOptions,variant:"rgba"},Wu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Ju=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Vr(xn,{...o,mode:t});case"rgb":return Vr(xn,{...o,mode:t});default:return Vr(xn,{...o,mode:t})}};Ko.options=Vu;Ko.states=$u;Ko.variants=Wu;Ko.defaultOptions=Xu;Ko.modifiers=Ju;Ko.className=be.className;import{jsx as qu}from"react/jsx-runtime";var $r=e=>qu("tr",{role:"row",children:e.children});import{jsx as Zu}from"react/jsx-runtime";var Xr="k-colorpalette-tile",Yu=[i.hover,i.focus,i.selected],Qu={},Ut=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Zu("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,Xr,I(Xr,{hover:a,focus:n,selected:s})),style:m})};Ut.states=Yu;Ut.options=Qu;Ut.className=Xr;Ut.moduleName=null;Ut.folderName=null;var rl="color-palette",il="colorpalette";import{jsx as Ra}from"react/jsx-runtime";var hn="k-colorpalette",ju=[i.disabled],ef={size:[p.undefined,p.small,p.medium,p.large]},sl={columns:10},He=e=>{let{size:t,palette:o,columns:a=sl.columns,tileSize:n,disabled:s,...l}=e,m=[];if(o){let f=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/f)},(h,M)=>{let c=[];N.slice(M*f,(M+1)*f).map((g,S)=>{c.push(Ra(Ut,{color:g,tileSize:n},S))});let C=Ra($r,{children:c},M);m.push(C)})}return Ra("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,hn,I(hn,{disabled:s}),k(hn,{size:t})),children:Ra("table",{className:"k-colorpalette-table",role:"none",children:Ra("tbody",{children:m.length>0?m:e.children})})})};He.states=ju;He.options=ef;He.className=hn;He.defaultOptions=sl;He.moduleName=rl;He.folderName=il;var Nn=He;var wa={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as tf}from"react/jsx-runtime";var ll=e=>tf(Nn,{palette:wa.basic,...e});import{jsx as EP}from"react/jsx-runtime";import{jsx as wP,jsxs as _P}from"react/jsx-runtime";import{jsx as df}from"react/jsx-runtime";var of=He.options,af=He.states,nf={...He.defaultOptions,variant:"basic"},rf=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sf={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},lf=[],Ro=e=>{let{variant:t="basic",...o}=e,a=sf[t];return df(ll,{columns:a.columns,palette:a,...o})};Ro.options=of;Ro.states=af;Ro.variants=rf;Ro.defaultOptions=nf;Ro.modifiers=lf;Ro.className=He.className;var dl="color-editor",pl="coloreditor";import{jsx as at,jsxs as wo}from"react/jsx-runtime";var vn="k-coloreditor",pf=[i.focus],mf={size:[p.undefined,p.small,p.medium,p.large]},_a={view:"gradient",palette:wa.office,actionButtons:!0,canvasOrientation:"horizontal"},re=e=>{let{size:t,view:o=_a.view,palette:a=_a.palette,color:n,currentColor:s,focus:l,focusView:m,dir:f,group:N,actionButtons:h=_a.actionButtons,canvasOrientation:M=_a.canvasOrientation,...c}=e;return wo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",vn,k(vn,{size:t}),I(vn,{focus:l})),dir:f,children:[wo("div",{className:"k-coloreditor-header k-hstack",children:[at("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&wo(O,{fillMode:"flat",children:[at(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),at(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),at("div",{className:"k-spacer"}),wo("div",{className:"k-coloreditor-header-actions k-hstack",children:[at(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),wo("div",{className:"k-coloreditor-preview k-vstack",children:[at(Ot,{className:"k-coloreditor-preview-color",color:n}),at(Ot,{className:"k-coloreditor-current-color",color:s})]})]})]}),at("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?at(be,{focus:m,size:t,canvasOrientation:M,role:"none",tabIndex:-1}):at(He,{palette:a,size:t})}),h&&wo(z,{className:"k-coloreditor-footer",alignment:"start",children:[at(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),at(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};re.states=pf;re.options=mf;re.className=vn;re.defaultOptions=_a;re.moduleName=dl;re.folderName=pl;var _o=re;import{jsx as cK}from"react/jsx-runtime";import{jsx as xK}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var ml=e=>cf(_o,{group:!0,currentColor:"fuchsia",...e});import{jsx as uf}from"react/jsx-runtime";var cl=e=>uf(_o,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as ul}from"react/jsx-runtime";var ff=re.options,bf=re.states,xf={...re.defaultOptions,variant:"gradient"},hf=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Nf=[],Do=e=>{let{variant:t,...o}=e;return t==="palette"?ul(cl,{...o,color:"white"}):ul(ml,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Do.options=ff;Do.states=bf;Do.variants=hf;Do.defaultOptions=xf;Do.modifiers=Nf;Do.className=re.className;var fl="color-picker",bl="colorpicker";import{Fragment as Lf,jsx as nt,jsxs as Wr}from"react/jsx-runtime";var xl="k-colorpicker",vf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Cf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},hl={arrowIconName:"chevron-down"},rt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=hl.arrowIconName,prefix:s,suffix:l,value:m,placeholder:f,hover:N,focus:h,valid:M,invalid:c,required:C,disabled:g,valueIconName:S,popup:T,opened:A,adaptive:R,adaptiveSettings:$,adaptiveTitle:se,adaptiveSubtitle:ve,...me}=e,ue="colorpicker-popup";return Wr(Lf,{children:[Wr(ht,{...me,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:M,invalid:c,required:C,disabled:g,role:"combobox","aria-haspopup":"dialog","aria-expanded":A?"true":"false","aria-controls":A||R?ue:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":g?"true":void 0,className:r(e.className,xl,"k-icon-picker"),children:[nt(_e,{children:s}),nt(Qt,{placeholder:f,value:m,showValue:!1,valueIcon:nt(Ot,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),nt(De,{children:l}),nt(d,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:g})]}),A&&T&&nt(F,{id:ue,className:"k-colorpicker-popup",children:T}),R&&nt(ae,{adaptive:!0,id:ue,...$,header:nt(Ae,{actionsEnd:nt(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:se,subtitle:ve}),footer:Wr(Pt,{children:[nt(d,{text:"Cancel",size:"large"}),nt(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:nt(re,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};rt.states=vf;rt.options=Cf;rt.className=xl;rt.defaultOptions=hl;rt.moduleName=fl;rt.folderName=bl;var At=rt;import{jsx as Mf}from"react/jsx-runtime";var Cn=e=>Mf(At,{...e});import{jsx as jK}from"react/jsx-runtime";import{jsx as nR}from"react/jsx-runtime";import{jsx as lR}from"react/jsx-runtime";import{jsx as cR}from"react/jsx-runtime";import{jsx as xR}from"react/jsx-runtime";import{jsx as CR}from"react/jsx-runtime";import{jsx as oo}from"react/jsx-runtime";var gf=At.options,Sf=At.states,Nl={...At.defaultOptions,variant:"color"},If=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],kf=[{name:"opened",title:"Opened"}],Ho=e=>{let{variant:t,modifiers:o,...a}={...Nl,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?oo(re,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return oo("div",{style:s,children:oo(Cn,{...a,...n})});case"icon":return oo("div",{style:s,children:oo(Cn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return oo("div",{style:s,children:oo(Cn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Ho.options=gf;Ho.states=Sf;Ho.variants=If;Ho.defaultOptions=Nl;Ho.modifiers=kf;Ho.className=At.className;var Jr="combobox",vl=Jr;import{Fragment as qr,jsx as le,jsxs as Da}from"react/jsx-runtime";var Cl="k-combobox",Af=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Tf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Yr={separators:!0,showClearButton:!0},Be=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Yr.separators,showClearButton:s=Yr.showClearButton,prefix:l,suffix:m,value:f,placeholder:N,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:T,popup:A,opened:R,readonly:$,adaptive:se,adaptiveSettings:ve,adaptiveTitle:me,adaptiveSubtitle:ue,adaptiveCustomValue:xa,id:Jt,autocomplete:qt,activeDescendant:ha,"aria-label":Fn,...Vn}=e,$n=Jt?`${Jt}-listbox`:void 0;return Da(qr,{children:[Da(j,{...Vn,size:t,rounded:o,fillMode:a,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:T,readonly:$,className:r(e.className,Cl),children:[l&&Da(qr,{children:[le(_e,{children:l}),n&&le(ke,{})]}),le(Ve,{id:Jt,placeholder:N,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":R?"true":"false","aria-controls":R?$n:void 0,"aria-activedescendant":R&&ha?ha:void 0,"aria-autocomplete":qt,"aria-invalid":C?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Fn,disabled:T,readOnly:$}),le(Ie,{valid:c,invalid:C,loading:S,disabled:T}),le(we,{loading:S,disabled:T}),s&&le(Fe,{loading:S,disabled:T,readonly:$,value:f}),m&&Da(qr,{children:[n&&le(ke,{}),le(De,{children:m})]}),le(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:T})]}),R&&A&&le(F,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:A}),se&&le(ae,{adaptive:!0,id:Jt?`${Jt}-adaptive`:void 0,...ve,header:le(Ae,{actionsEnd:le(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:N,title:me,subtitle:ue}),children:le("div",{className:"k-list-container",children:le(G,{customValue:xa?le(zt,{text:`Use "${f}"`}):void 0,size:"large",children:Da(W,{"aria-label":me||"Options",children:[le(P,{text:"List item"}),le(P,{text:"List item"}),le(P,{text:"List item"})]})})})})]})};Be.states=Af;Be.options=Tf;Be.className=Cl;Be.defaultOptions=Yr;Be.moduleName=Jr;Be.folderName=vl;var Xe=Be;import{jsx as yf}from"react/jsx-runtime";var Ll=e=>yf(Xe,{...e});import{jsx as ow,jsxs as aw}from"react/jsx-runtime";import{jsx as dw,jsxs as pw}from"react/jsx-runtime";import{jsx as xw,jsxs as hw}from"react/jsx-runtime";import{Fragment as gw,jsx as Mw}from"react/jsx-runtime";import{Fragment as yw,jsx as Tw}from"react/jsx-runtime";import{jsx as Rw,jsxs as ww}from"react/jsx-runtime";import{Fragment as Vw,jsx as Uw,jsxs as Fw}from"react/jsx-runtime";import{jsx as Jw}from"react/jsx-runtime";import{jsx as Zw}from"react/jsx-runtime";import{jsx as n_,jsxs as r_}from"react/jsx-runtime";import{jsx as m_,jsxs as c_}from"react/jsx-runtime";import{jsx as Ft,jsxs as Rf}from"react/jsx-runtime";var Ef=Be.states,Bf=Be.defaultOptions,Of=Be.options,Pf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Kf=[],zo=e=>{let{modifiers:t,...o}=e,a={},n=Ft(G,{style:{width:300},size:o.size,children:Rf(W,{children:[Ft(P,{children:"List item"}),Ft(P,{children:"List item"}),Ft(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Ft(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Ft(w,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0;break;default:break}}),Ft("div",{children:Ft(Ll,{value:"Value",style:{width:300},...o,...a})})};zo.options=Of;zo.states=Ef;zo.variants=Kf;zo.defaultOptions=Bf;zo.modifiers=Pf;zo.className=Be.className;var Qr="menu-button",Ml=Qr;import{jsx as Df}from"react/jsx-runtime";var gl="k-menu-button",wf=[i.hover,i.focus,i.active,i.selected,i.disabled],_f={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Zr={showArrow:!0,arrowIconName:"chevron-down"},J=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,icon:h,endIcon:M,text:c,showArrow:C=Zr.showArrow,arrowIconName:g=Zr.arrowIconName,expanded:S,...T}=e;return Df(d,{...T,className:r(e.className,gl),text:c,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,ariaDisabled:N||void 0,icon:h,endIcon:M,showArrow:C,arrowIconName:g,"aria-expanded":S?"true":"false",...!c&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};J.states=wf;J.options=_f;J.className=gl;J.defaultOptions=Zr;J.moduleName=Qr;J.folderName=Ml;import{jsx as $_}from"react/jsx-runtime";import{jsx as q_}from"react/jsx-runtime";import{jsx as j_}from"react/jsx-runtime";import{jsx as a0}from"react/jsx-runtime";var We="menu",it=We;import{jsx as za,jsxs as Sl}from"react/jsx-runtime";var jr="k-menu-item",Hf=[i.hover,i.focus,i.active,i.selected,i.disabled],zf={},Il={iconPosition:"before"},Le=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:f,arrowIconName:N,iconPosition:h=Il.iconPosition,dir:M,children:c,expanded:C,...g}=e,S=N;return S||(S=M==="rtl"?"chevron-left":"chevron-right"),Sl("li",{...g,className:r(e.className,jr,"k-item",I(jr,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":C?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Sl("span",{className:r("k-link k-menu-link"),children:[l&&h==="before"&&za(L,{className:"k-menu-link-icon",icon:l}),za("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&za(L,{className:"k-menu-link-icon",icon:l}),f&&za("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:za(L,{icon:S})})]}),c]})};Le.states=Hf;Le.options=zf;Le.className=jr;Le.defaultOptions=Il;Le.moduleName=We;Le.folderName=it;import{jsx as ao,jsxs as kl}from"react/jsx-runtime";var ei="k-menu-item",Gf=[i.hover,i.focus,i.active,i.selected,i.disabled],Uf={},ti={dir:"ltr",iconPosition:"before"},ee=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:f,arrowIconName:N,iconPosition:h=ti.iconPosition,dir:M=ti.dir,children:c,popup:C,expanded:g,actions:S,description:T,...A}=e,R=N;return R||(R=M==="rtl"?"chevron-left":"chevron-right"),kl("li",{role:"menuitem",...A,className:r(e.className,ei,"k-item",I(ei,{focus:o,disabled:s})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":g?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[kl("span",{className:r("k-link k-menu-link",I("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[l&&h==="before"&&ao(L,{className:"k-menu-link-icon",icon:l}),ao("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&ao(L,{className:"k-menu-link-icon",icon:l}),S&&ao("span",{className:"k-menu-link-actions",children:S}),f&&ao("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ao(L,{icon:R})}),T&&ao("span",{className:"k-menu-link-description",children:T})]}),c,C]})};ee.states=Gf;ee.options=Uf;ee.className=ei;ee.defaultOptions=ti;ee.moduleName=We;ee.folderName=it;import{jsx as Xf}from"react/jsx-runtime";var Al="k-menu-scroll-wrapper",Ff=[],Vf={},$f={},no=e=>{let{className:t,children:o,orientation:a,...n}=e;return Xf("div",{...n,className:r(t,Al,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};no.states=Ff;no.options=Vf;no.className=Al;no.defaultOptions=$f;no.moduleName=We;no.folderName=it;var Tl=no;import{Fragment as oi,jsx as ro,jsxs as Ln}from"react/jsx-runtime";var Mn="k-menu",Wf=[],Jf={size:[p.undefined,p.small,p.medium,p.large]},gn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},xe=e=>{let{children:t,orientation:o=gn.orientation,header:a=gn.header,scrollable:n,scrollButtonsPosition:s=gn.scrollButtonsPosition,wrapperStyles:l,dir:m,size:f,popup:N,contextMenu:h,...M}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},C=ro("ul",{dir:m,...M,className:r(e.className,"k-reset",Mn,{[`${Mn}-${o}`]:o,"k-header":a},k(Mn,{size:f})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Ln(oi,{children:[n?Ln(Tl,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&Ln(oi,{children:[ro(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ro(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&ro(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),C,s==="end"&&Ln(oi,{children:[ro(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ro(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&ro(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):C,N]})};xe.states=Wf;xe.options=Jf;xe.className=Mn;xe.defaultOptions=gn;xe.moduleName=We;xe.folderName=it;import{jsx as qf}from"react/jsx-runtime";var ai="k-separator",yl={orientation:"horizontal"},Go=e=>{let{orientation:t=yl.orientation,...o}=e;return qf("li",{...o,className:r(e.className,"k-item",ai,{[`${ai}-${t}`]:t}),role:"separator"})};Go.className=ai;Go.defaultOptions=yl;Go.moduleName=We;Go.folderName=it;import{Fragment as O0,jsx as P0}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";var ni="k-menu-group",Yf=[],Qf={size:[p.undefined,p.small,p.medium,p.large]},Zf={},Me=e=>{let{children:t,size:o,...a}=e;return jf("ul",{role:"menu",...a,className:r(e.className,ni,k(ni,{size:o})),children:t})};Me.states=Yf;Me.options=Qf;Me.className=ni;Me.defaultOptions=Zf;Me.moduleName=We;Me.folderName=it;import{jsx as U0,jsxs as F0}from"react/jsx-runtime";import{Fragment as eb,jsx as Uo,jsxs as tb}from"react/jsx-runtime";var ri=e=>Uo(xe,{children:tb(eb,{children:[Uo(Le,{text:"Item 1"}),Uo(Le,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Uo(Le,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Uo(Le,{text:"Item 4"}),Uo(Le,{text:"Item 5"})]}),...e});import{Fragment as j0,jsx as Q0,jsxs as Z0}from"react/jsx-runtime";import{Fragment as nD,jsx as aD,jsxs as rD}from"react/jsx-runtime";import{Fragment as pD,jsx as dD,jsxs as mD}from"react/jsx-runtime";import{Fragment as xD,jsx as bD,jsxs as hD}from"react/jsx-runtime";import{jsx as io,jsxs as ib}from"react/jsx-runtime";var ob={...xe.options,scrollable:{type:"boolean"}},ab=xe.states,El={...xe.defaultOptions,variant:"horizontal"},nb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rb=[{name:"opened",title:"Opened"}],Fo=e=>{let{variant:t,modifiers:o,...a}={...El,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?io(F,{className:"k-menu-popup",offset:s,children:ib(Me,{children:[io(ee,{text:"Item 1"}),io(ee,{text:"Item 2"}),io(Go,{}),io(ee,{text:"Item 3"})]})}):null)}),t==="vertical"?io(ri,{...a,...n,orientation:"vertical",style:{width:"200px"}}):io(ri,{...a,...n})};Fo.options=ob;Fo.states=ab;Fo.variants=nb;Fo.defaultOptions=El;Fo.modifiers=rb;Fo.className=xe.className;import{Fragment as YD,jsx as JD,jsxs as qD}from"react/jsx-runtime";import{jsx as eH}from"react/jsx-runtime";import{Fragment as mb,jsx as Mt,jsxs as Bl}from"react/jsx-runtime";var sb=d.states,Ol={...d.defaultOptions,variant:"text"},lb=d.options,db=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pb=[{name:"opened",title:"Opened"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...Ol,...e},n={},s=Mt(F,{className:"k-menu-popup",children:Bl(Me,{size:a.size,children:[Mt(ee,{text:"Menu Item"}),Mt(ee,{text:"Menu Item"}),Mt(ee,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=Mt("div",{children:Mt(J,{...a,...n,icon:"star"})});break;case"icon-and-text":l=Mt("div",{children:Mt(J,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=Mt("div",{children:Mt(J,{...a,...n,children:"Dropdown Button"})});break}return Bl(mb,{children:[l,o?.opened&&s]})};Vo.options=lb;Vo.states=sb;Vo.variants=db;Vo.defaultOptions=Ol;Vo.modifiers=pb;Vo.className=J.className;var ii="split-button",Pl=ii;import{Fragment as fb,jsx as si,jsxs as Kl}from"react/jsx-runtime";var li="k-split-button",cb=[i.hover,i.focus,i.active,i.selected,i.disabled],ub={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Rl={arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,icon:h,endIcon:M,text:c,arrowIconName:C=Rl.arrowIconName,popup:g,opened:S,popupId:T,...A}=e;return Kl(fb,{children:[Kl("div",{...A,className:r(e.className,li,"k-button-group",k(li,{rounded:o})),children:[si(d,{text:c,icon:h,endIcon:M,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,...!c&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),si(d,{className:"k-split-button-arrow",icon:C,size:t,rounded:o,fillMode:a,disabled:N,ariaDisabled:N||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?T:void 0,tabIndex:-1})]}),S&&g&&si(F,{className:"k-menu-popup",children:g})]})};D.states=cb;D.options=ub;D.className=li;D.defaultOptions=Rl;D.moduleName=ii;D.folderName=Pl;var di=D;import{jsx as xb}from"react/jsx-runtime";var bb="k-toolbar-separator",ct=e=>xb("div",{className:r(bb,e.className,"k-separator")});var so="toolbar",$o=so;import{Fragment as pi,jsx as U,jsxs as Xo}from"react/jsx-runtime";var Tt="k-toolbar",hb=[i.focus],Nb={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},vb={scrollButtons:"around"},H=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:l,scrollingPosition:m,section:f,...N}=e,h=[],M=(c,C)=>{let g=[];if(c.type===d&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))g.push(U(d,{...c.props,className:`${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===d)g.push(U(d,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===K)g.push(U(K,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===w)g.push(U(w,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===J)g.push(U(J,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===di)g.push(U(di,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===O||c.props.className&&c.props.className.includes("k-button-group")){let S=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((A,R)=>{S.push(U(d,{...A.props,className:`${A.props.className?A.props.className:""}`},`${R}-${new Date().getTime()}`))}),g.push(U(O,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:S},`${C}-${new Date().getTime()}`))}else c.type===Be?g.push(U(Be,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===ce?g.push(U(ce,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===rt?g.push(U(rt,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):g.push(c);g.forEach(S=>{h.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((C,g)=>{M(C,g)}),Xo("div",{...N,className:r(e.className,Tt,k(Tt,{size:t,fillMode:o}),I(Tt,{focus:a}),{[`${Tt}-resizable`]:n,[`${Tt}-scrollable`]:s,[`${Tt}-scrollable-overlay`]:s&&l==="hidden",[`${Tt}-scrollable-${m}`]:m&&m!=="both",[`${Tt}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!s&&h,s&&l==="hidden"&&U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),s&&l==="start"&&Xo(pi,{children:[Xo(O,{children:[U("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(L,{className:"k-button-icon",icon:"chevron-left"})}),U("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(L,{className:"k-button-icon",icon:"chevron-right"})})]}),U(ct,{className:"k-toolbar-button-separator"}),U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),s&&l==="end"&&Xo(pi,{children:[U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),U(ct,{className:"k-toolbar-button-separator"}),Xo(O,{children:[U("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(L,{className:"k-button-icon",icon:"chevron-left"})}),U("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&Xo(pi,{children:[U("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(L,{className:"k-button-icon",icon:"chevron-left"})}),U(ct,{className:"k-toolbar-button-separator"}),U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),U(ct,{className:"k-toolbar-button-separator"}),U("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};H.states=hb;H.options=Nb;H.className=Tt;H.defaultOptions=vb;H.moduleName=so;H.folderName=$o;import{jsx as gb}from"react/jsx-runtime";var mi="k-toolbar-item",Cb=[i.focus],Lb={},Mb={},Wo=e=>{let{focus:t,...o}=e;return gb("div",{...o,className:r(e.className,mi,I(mi,{focus:t})),children:e.children})};Wo.states=Cb;Wo.options=Lb;Wo.className=mi;Wo.defaultOptions=Mb;Wo.moduleName=so;Wo.folderName=$o;import{jsx as wl}from"react/jsx-runtime";var _l="k-toolbar-popup",Sb=[],Ib={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},kb={},lo=e=>{let{size:t,fillMode:o,section:a,...n}=e;return wl(F,{...n,className:r(e.className,_l),children:a?wl("span",{className:r("k-toolbar-items-list",k("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};lo.states=Sb;lo.options=Ib;lo.className=_l;lo.defaultOptions=kb;lo.moduleName=so;lo.folderName=$o;var Sn=lo;import{jsx as e1}from"react/jsx-runtime";import{jsx as n1}from"react/jsx-runtime";import{jsx as l1}from"react/jsx-runtime";import{jsx as c1}from"react/jsx-runtime";import{jsx as N1,jsxs as v1}from"react/jsx-runtime";import{jsx as g1}from"react/jsx-runtime";import{jsx as yt,jsxs as Bb}from"react/jsx-runtime";var Ab=D.states,Dl={...D.defaultOptions,variant:"text"},Tb=D.options,yb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Eb=[{name:"opened",title:"Opened"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...Dl,...e},n={},s=Bb(Me,{size:a.size,children:[yt(ee,{text:"Menu Item"}),yt(ee,{text:"Menu Item"}),yt(ee,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?s:"")}),t){case"icon-only":return yt("div",{children:yt(D,{...a,...n,icon:"star"})});case"icon-and-text":return yt("div",{children:yt(D,{...a,...n,icon:"star",children:"Split Button"})});default:return yt("div",{children:yt(D,{...a,...n,children:"Split Button"})})}};Jo.options=Tb;Jo.states=Ab;Jo.variants=yb;Jo.defaultOptions=Dl;Jo.modifiers=Eb;Jo.className=D.className;import{jsx as po,jsxs as Ob}from"react/jsx-runtime";var Hl=e=>po(H,{children:[po(d,{children:"Button"},"toolbar-button"),po(J,{text:"Menu button"},"toolbar-menu-button"),po(D,{children:"Split button"},"toolbar-split-button"),Ob(O,{children:[po(d,{className:"k-group-start",icon:"align-left",children:"Left"}),po(d,{icon:"align-center",children:"Center"}),po(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as j1,jsxs as e2}from"react/jsx-runtime";import{jsx as Je,jsxs as zl}from"react/jsx-runtime";var Gl=e=>Je(H,{scrollable:!0,...e,children:[Je(d,{children:"Button"},"toolbar-button"),Je(J,{text:"Menu button"},"toolbar-menu-button"),Je(D,{children:"Split button"},"toolbar-split-button"),zl(O,{children:[Je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(d,{icon:"align-center",children:"Center"}),Je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Je(d,{children:"Button"},"toolbar-button"),Je(J,{text:"Menu button"},"toolbar-menu-button"),Je(D,{children:"Split button"},"toolbar-split-button"),zl(O,{children:[Je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(d,{icon:"align-center",children:"Center"}),Je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as qe,jsxs as Ul}from"react/jsx-runtime";var Fl=({scrollingPosition:e="start",...t})=>qe(H,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(D,{children:"Split button"},"toolbar-split-button"),Ul(O,{children:[qe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(d,{icon:"align-center",children:"Center"}),qe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(D,{children:"Split button"},"toolbar-split-button"),Ul(O,{children:[qe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(d,{icon:"align-center",children:"Center"}),qe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Pb,jsx as ze,jsxs as In}from"react/jsx-runtime";var Vl=({fillMode:e,size:t,...o})=>In(Pb,{children:[ze(H,{section:!0,fillMode:e,size:t,children:[ze(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),In(O,{fillMode:e,children:[ze(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ze(ct,{className:"k-toolbar-button-separator"}),ze(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),In(Sn,{size:t,fillMode:e,section:!0,...o,children:[ze(D,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ze(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ze(ct,{}),ze(J,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),In(O,{fillMode:e,children:[ze(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as P2,jsx as B2,jsxs as O2}from"react/jsx-runtime";import{Fragment as V2,jsx as U2,jsxs as F2}from"react/jsx-runtime";import{jsx as Vt}from"react/jsx-runtime";var Kb=H.options,Rb=H.states,$l={...H.defaultOptions,variant:"default"},wb=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],_b=[],qo=e=>{let{variant:t,...o}={...$l,...e};switch(t){case"responsive":return Vt("div",{children:Vt(Vl,{style:{width:"583px"},...o})});case"overlay":return Vt("div",{children:Vt(Fl,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Vt("div",{children:Vt(Gl,{style:{width:"583px"},...o})});default:return Vt("div",{children:Vt(Hl,{style:{width:"583px"},...o})})}};qo.options=Kb;qo.states=Rb;qo.variants=wb;qo.defaultOptions=$l;qo.modifiers=_b;qo.className=H.className;var ci="prompt",Xl=ci;import{Fragment as Gb,jsx as Wl}from"react/jsx-runtime";var Jl="k-prompt",Db=[],Hb={},zb={},V=e=>{let{...t}=e;return Wl("div",{...t,className:r(e.className,Jl),children:Wl(Gb,{children:e.children})})};V.states=Db;V.options=Hb;V.className=Jl;V.defaultOptions=zb;V.moduleName=ci;V.folderName=Xl;import{jsx as Fb}from"react/jsx-runtime";var Ub="k-prompt-header",ut=e=>{let{...t}=e;return Fb("div",{...t,className:r(e.className,Ub),children:e.children})};import{Fragment as $b,jsx as ql}from"react/jsx-runtime";var Vb="k-prompt-content",Oe=e=>{let{...t}=e;return ql("div",{...t,className:r(e.className,Vb),children:ql($b,{children:e.children})})};import{jsx as Wb}from"react/jsx-runtime";var Xb="k-prompt-view",Pe=e=>{let{...t}=e;return Wb("div",{...t,className:r(e.className,Xb),children:e.children})};import{jsx as Yl,jsxs as qb}from"react/jsx-runtime";var Jb="k-prompt-expander",kn=e=>{let{title:t,children:o,expanded:a,...n}=e,s=y("prompt-expander-content");return qb("div",{...n,className:r(e.className,Jb),children:[Yl(K,{fillMode:"flat",icon:a?"chevron-up":"chevron-down","aria-expanded":a?"true":"false","aria-controls":a?s:void 0,children:t}),a&&Yl("div",{className:"k-prompt-expander-content",id:s,children:o})]})};import{jsx as Qb}from"react/jsx-runtime";var Yb="k-prompt-footer",Yo=e=>{let{...t}=e;return Qb("div",{...t,className:r(e.className,Yb),children:e.children})};import{jsx as wz}from"react/jsx-runtime";import{jsx as Zb}from"react/jsx-runtime";var Ql="k-prompt-send",Zl={generating:!1},gt=e=>{let{generating:t=Zl.generating,...o}=e;return Zb(d,{...o,className:r(e.className,Ql,{"k-generating":t}),icon:t?"stop":"paper-plane",active:t,fillMode:"flat","aria-label":t?"Stop generating":"Send prompt"})};gt.states=d.states;gt.options=d.options;gt.className=Ql;gt.moduleName=null;gt.folderName=null;gt.defaultOptions=Zl;import{jsx as jl,jsxs as ax}from"react/jsx-runtime";var An="k-fab",tx=[i.hover,i.focus,i.active,i.selected,i.disabled],ox={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},ed={type:"button"},ie=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:s,type:l=ed.type,position:m,hover:f,focus:N,active:h,selected:M,disabled:c,...C}=e;return ax("button",{...C,type:l,className:r(e.className,An,k(An,{size:t,rounded:o,themeColor:a}),I(An,{hover:f,focus:N,active:h,disabled:c,selected:M}),{[`!k-pos-absolute k-${m}`]:m}),...!n&&s&&!e["aria-label"]&&{"aria-label":"Action"},...c&&{"aria-disabled":"true"},disabled:c||void 0,children:[s&&jl(L,{className:"k-fab-icon",icon:s}),n&&jl("span",{className:"k-fab-text",children:n})]})};ie.states=tx;ie.options=ox;ie.className=An;ie.defaultOptions=ed;ie.moduleName="fab";ie.folderName="fab";import{jsx as rx}from"react/jsx-runtime";var nx="k-fab-items",td=e=>{let{position:t,...o}=e;return rx("ul",{...o,className:r(e.className,nx,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as ad,jsxs as sx}from"react/jsx-runtime";var od="k-fab-item",ix=[i.hover,i.focus,i.active,i.disabled],ui=e=>{let{text:t,icon:o,align:a,hover:n,focus:s,active:l,disabled:m,...f}=e;return sx("li",{...f,className:r(e.className,od,{[`k-text-${a}`]:a},I(od,{hover:n,focus:s,active:l,disabled:m})),children:[ad("span",{className:"k-fab-item-text",children:t}),ad(L,{className:"k-fab-item-icon",icon:o})]})};ui.states=ix;import{jsx as r3}from"react/jsx-runtime";import{jsx as d3}from"react/jsx-runtime";import{jsx as u3}from"react/jsx-runtime";import{jsx as h3}from"react/jsx-runtime";import{jsx as Qo,jsxs as ux}from"react/jsx-runtime";var lx=ie.options,dx=ie.states,px={...ie.defaultOptions,variant:"text"},mx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],cx=[{name:"opened",title:"Opened"}],Zo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},s=n?Qo("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:Qo(td,{position:"bottom",children:Qo(ui,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=Qo(ie,{...a,icon:"star"});break;case"icon-and-text":l=Qo(ie,{...a,icon:"star",text:"Action"});break;default:l=Qo(ie,{...a,text:"Action"});break}return ux("span",{style:{position:"relative"},children:[l,s]})};Zo.options=lx;Zo.states=dx;Zo.variants=mx;Zo.defaultOptions=px;Zo.modifiers=cx;Zo.className=ie.className;import{jsx as fx}from"react/jsx-runtime";var nd="k-prompt-stop-fab",rd={generating:!0},$t=e=>{let{generating:t=rd.generating,icon:o,...a}=e;return fx(ie,{...a,className:r(e.className,nd,{"k-generating":t}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:t?"stop":o,active:t,"aria-label":t?"Stop generating":"Action"})};$t.states=d.states;$t.options=d.options;$t.className=nd;$t.defaultOptions=rd;var fi="speech-to-text-button",id=fi;import{jsx as bx}from"react/jsx-runtime";var sd="k-speech-to-text-button",ld={icon:"microphone"},oe=e=>{let{listening:t=!1,icon:o=ld.icon,...a}=e;return bx(d,{...a,icon:t?"stop":o,className:r(e.className,sd,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};oe.states=d.states;oe.options=d.options;oe.className=sd;oe.defaultOptions=ld;oe.moduleName=fi;oe.folderName=id;import{jsx as e5}from"react/jsx-runtime";import{jsx as n5}from"react/jsx-runtime";import{jsx as Cx}from"react/jsx-runtime";var xx=d.states,dd={...d.defaultOptions,variant:"normal"},hx={...d.options,fillMode:d.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Nx=[],vx=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],jo=e=>{let{variant:t,...o}={...dd,...e},a={};return t==="listening"&&(a.listening=!0),Cx(oe,{...o,...a})};jo.options=hx;jo.states=xx;jo.variants=vx;jo.defaultOptions=dd;jo.modifiers=Nx;jo.className=oe.className;var bi="textarea",pd=bi;import{Fragment as md,jsx as Ga,jsxs as xi}from"react/jsx-runtime";var cd="k-textarea",Lx=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Mx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},ea={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Z=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:n=ea.prefixSeparator,suffixSeparator:s=ea.prefixSeparator,affixesOrientation:l=ea.affixesOrientation,flow:m=ea.flow,resize:f=ea.resize,prefix:N,suffix:h,rows:M,value:c,placeholder:C,hover:g,focus:S,valid:T,invalid:A,required:R,disabled:$,id:se,"aria-label":ve,"aria-describedby":me,...ue}=e;return xi(j,{...ue,size:t,rounded:o,fillMode:a,hover:g,focus:S,valid:T,invalid:A,required:R,disabled:$,className:r(e.className,cd,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[N&&xi(md,{children:[Ga(_e,{className:r({"!k-align-items-start":m===l}),direction:l,children:N}),n&&Ga(ke,{direction:m==="horizontal"?"vertical":"horizontal"})]}),Ga(Sa,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:c,placeholder:C,rows:M,disabled:$,id:se,"aria-label":ve,"aria-describedby":me,"aria-invalid":A?"true":void 0}),h&&xi(md,{children:[s&&Ga(ke,{direction:m==="horizontal"?"vertical":"horizontal"}),Ga(De,{className:r({"!k-align-items-start":m===l}),direction:l,children:h})]})]})};Z.states=Lx;Z.options=Mx;Z.className=cd;Z.defaultOptions=ea;Z.moduleName=bi;Z.folderName=pd;import{jsx as S5}from"react/jsx-runtime";import{Fragment as E5,jsx as y5}from"react/jsx-runtime";import{Fragment as w5,jsx as R5}from"react/jsx-runtime";import{jsx as z5}from"react/jsx-runtime";import{jsx as Tn}from"react/jsx-runtime";var gx=Z.options,Sx=Z.states,ud={...Z.defaultOptions,variant:"vertical"},Ix=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],kx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],ta=e=>{let{variant:t,modifiers:o,...a}={...ud,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?Tn(L,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?Tn(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?Tn(Z,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):Tn(Z,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};ta.options=gx;ta.states=Sx;ta.variants=Ix;ta.defaultOptions=ud;ta.modifiers=kx;ta.className=Z.className;import{Fragment as dG,jsx as sG,jsxs as lG}from"react/jsx-runtime";var Ni="suggestion",fd=Ni;import{jsx as yn,jsxs as yx}from"react/jsx-runtime";var En="k-suggestion-group",Ax=[],Tx={},bd={layout:"scrollable",scrollingPosition:"start"},st=e=>{let{layout:t=bd.layout,scrollingPosition:o,...a}=e,n=yn("div",{...a,className:r(En,{"k-suggestion-group-scrollable":t=="scrollable",[`${En}-scrollable-start`]:o==="start"||o==="both",[`${En}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?yn("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?yx("div",{className:"k-suggestion-scrollwrap",children:[yn(d,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,yn(d,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};st.states=Ax;st.options=Tx;st.className=En;st.defaultOptions=bd;st.moduleName=Ni;st.folderName=fd;import{jsx as Px}from"react/jsx-runtime";var Bn="k-suggestion",Ex=[i.active,i.hover,i.focus],Bx={themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Ox={text:"Suggestion"},ft=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:s,children:l,...m}=e;return Px("span",{...m,className:r(e.className,Bn,I(Bn,{hover:a,active:o,focus:n}),k(Bn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":e["aria-label"]||s,children:l||s})};ft.states=Ex;ft.options=Bx;ft.className=Bn;ft.item=Ox;import{Fragment as gG,jsx as MG,jsxs as SG}from"react/jsx-runtime";import{Fragment as yG,jsx as TG,jsxs as EG}from"react/jsx-runtime";import{Fragment as RG,jsx as KG,jsxs as wG}from"react/jsx-runtime";import{Fragment as eU,jsx as ZG,jsxs as jG}from"react/jsx-runtime";import{jsx as On}from"react/jsx-runtime";var Kx="k-chip-action";var Et=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=On(L,{icon:"x-circle",size:"small"});break;case"more":a=On(L,{icon:"more-vertical",size:"small"});break;default:return On(L,{icon:t,size:"small"})}return On("span",{...o,className:r(e.className,Kx,`k-chip-${t}-action`),children:a})};var vi="avatar",xd=vi;import{jsx as hd}from"react/jsx-runtime";var Ua="k-avatar";var Rx=[i.hover,i.focus,i.active,i.selected,i.disabled],wx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.outline],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Ci={type:"text",border:!1},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:s=Ci.type,border:l=Ci.border,...m}=e;return hd("div",{...m,className:r(e.className,Ua,k(Ua,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Ua}-bordered`]:l}),children:hd("span",{className:`${Ua}-${s}`,children:e.children})})};Ge.states=Rx;Ge.options=wx;Ge.className=Ua;Ge.defaultOptions=Ci;Ge.moduleName=vi;Ge.folderName=xd;var mo=Ge;import{jsx as _x}from"react/jsx-runtime";var Nd=e=>_x(mo,{type:"icon",...e});import{jsx as Dx}from"react/jsx-runtime";var vd=e=>Dx(mo,{type:"text",...e});import{jsx as Hx}from"react/jsx-runtime";var Cd=e=>Hx(mo,{type:"image",...e});import{jsx as MU}from"react/jsx-runtime";import{jsx as Fa}from"react/jsx-runtime";var zx=Ge.options,Gx=Ge.states,Ux={...Ge.defaultOptions,variant:"image"},Fx=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Vx=[],oa=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Fa(Nd,{...o,children:Fa(L,{icon:"star"})});case"text":return Fa(vd,{...o,children:"JO"});default:return Fa(Cd,{...o,children:Fa("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};oa.options=zx;oa.states=Gx;oa.variants=Fx;oa.defaultOptions=Ux;oa.modifiers=Vx;oa.className=Ge.className;var Va="chip",Pn=Va,Kn="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as aa,jsxs as Wx}from"react/jsx-runtime";var Rn="k-chip",$x=[i.hover,i.focus,i.active,i.selected,i.disabled],Xx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.outline],themeColor:[x.undefined,x.base,x.success,x.warning,x.error,x.info]},Ld={avatarImage:"/packages/html/assets/avatar.jpg"},Ue=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:s,icon:l,actions:m,showAvatar:f,avatarImage:N=Ld.avatarImage,hover:h,focus:M,active:c,selected:C,disabled:g,...S}=e;return Wx("div",{...S,className:r(e.className,Rn,k(Rn,{size:t,rounded:o,fillMode:a,themeColor:n}),I(Rn,{hover:h,focus:M,active:c,disabled:g,selected:C})),role:e.role||"button","aria-pressed":e.role==="option"||e.role==="listitem"||e.role==="presentation"||e["aria-haspopup"]?void 0:C?"true":"false",...e.role==="option"&&C!==void 0&&{"aria-selected":C?"true":"false"},"aria-disabled":g?"true":void 0,children:[l&&aa(L,{className:"k-chip-icon",icon:l,size:"small"}),f&&aa(Ge,{className:"k-chip-avatar",type:"image",children:aa("img",{src:N,alt:""})}),aa("span",{className:"k-chip-content",children:e.children?e.children:s&&aa("span",{className:"k-chip-label",children:s})}),m&&aa("span",{className:"k-chip-actions",children:m})]})};Ue.states=$x;Ue.options=Xx;Ue.className=Rn;Ue.defaultOptions=Ld;Ue.moduleName=Va;Ue.folderName=Pn;var lt=Ue;import{jsx as Qx}from"react/jsx-runtime";var Li="k-chip-list",Jx=[],qx={size:[p.undefined,p.small,p.medium,p.large]},Yx={},ge=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return Qx("div",{...n,className:r(e.className,Li,k(Li,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:a||"chip list","aria-orientation":e.role==="none"||e.role==="group"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};ge.states=Jx;ge.options=qx;ge.className=Li;ge.defaultOptions=Yx;ge.moduleName=Va;ge.folderName=Pn;import{jsx as ZU}from"react/jsx-runtime";import{jsx as oF}from"react/jsx-runtime";import{jsx as Zx}from"react/jsx-runtime";var wn=e=>Zx(lt,{text:"text",...e});import{jsx as pF}from"react/jsx-runtime";import{jsx as fF}from"react/jsx-runtime";import{Fragment as CF,jsx as vF,jsxs as LF}from"react/jsx-runtime";import{jsx as kF,jsxs as AF}from"react/jsx-runtime";import{jsx as OF,jsxs as PF}from"react/jsx-runtime";import{jsx as HF,jsxs as zF}from"react/jsx-runtime";import{jsx as na,jsxs as nh}from"react/jsx-runtime";var jx={...lt.options,...ge.options},eh=[],th=ge.states,oh={...lt.defaultOptions,...ge.defaultOptions},ah=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],ra=e=>{let{modifiers:t,className:o,...a}=e,n=t?.icon,s=t?.actions,l=t?.avatar,m=l?Kn:void 0;return nh(ge,{size:a.size,className:o,children:[na(wn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?na(Et,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),na(wn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?na(Et,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),na(wn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?na(Et,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"})]})};ra.options=jx;ra.states=th;ra.variants=eh;ra.defaultOptions=oh;ra.modifiers=ah;ra.className=ge.className;import{jsx as Mi}from"react/jsx-runtime";var rh=Ue.states,ih=Ue.defaultOptions,sh=Ue.options,lh=[],dh=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],ia=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"icon":a.icon=t?.[n]?"arrow-down":void 0;break;case"avatar":a.showAvatar=!!t?.[n],a.avatarImage=t?.[n]?Kn:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[n]?Mi(Et,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[n]?Mi(Et,{type:"remove"}):void 0;break;default:break}}),Mi(Ue,{...o,...a,children:"Chip component"})};ia.options=sh;ia.states=rh;ia.variants=lh;ia.defaultOptions=ih;ia.modifiers=dh;ia.className=Ue.className;import{Fragment as y9,jsx as A9,jsxs as T9}from"react/jsx-runtime";var gi="panelbar",Md=gi;import{jsx as uh}from"react/jsx-runtime";var gd="k-panelbar",ph=[],mh={},ch={},Se=e=>{let{activeDescendant:t,...o}=e;return uh("ul",{...o,className:r(e.className,gd),role:"tree","aria-activedescendant":t,children:e.children})};Se.states=ph;Se.options=mh;Se.className=gd;Se.defaultOptions=ch;Se.moduleName=gi;Se.folderName=Md;import Si from"react";import{jsx as _n,jsxs as Sd}from"react/jsx-runtime";var Id="k-panelbar-item",fh=[i.hover,i.focus,i.selected,i.disabled],bh={},Dn={level:0,expanded:!1,text:"Item"},E=e=>{let{text:t=Dn.text,level:o=Dn.level,expanded:a=Dn.expanded,header:n,hover:s,focus:l,selected:m,disabled:f,icon:N,iconClass:h,ariaSelected:M,children:c,...C}=e,g=!!c;return Sd("li",{...C,className:r(e.className,Id,{"k-panelbar-header":n,[`k-level-${o}`]:o||o===0,"k-expanded":a}),role:"treeitem","aria-expanded":g?a?"true":"false":void 0,"aria-selected":M?"true":"false","aria-disabled":f?"true":void 0,children:[Sd("span",{className:r("k-link",I("k-link",{hover:s,focus:l,disabled:f,selected:m})),children:[N&&_n(L,{className:"k-panelbar-item-icon",icon:N}),h&&!N&&_n("span",{className:`k-panelbar-item-icon ${h}`}),_n("span",{className:"k-panelbar-item-text",children:t}),g&&_n(L,{className:r("k-panelbar-toggle",a?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${a?"up":"down"}`})]}),a&&c,!a&&c&&Si.Children.map(c,S=>Si.isValidElement(S)?Si.cloneElement(S,{"aria-hidden":"true",style:{display:"none"}}):S)]})};E.states=fh;E.options=bh;E.className=Id;E.moduleName=null;E.folderName=null;E.defaultOptions=Dn;import{jsx as vh}from"react/jsx-runtime";var kd="k-panelbar-group",xh=[],hh={},Nh={},he=e=>{let{ariaHidden:t,...o}=e;return vh("ul",{...o,className:r(e.className,kd),role:"group",...t!==void 0&&{"aria-hidden":t?"true":void 0},children:e.children})};he.states=xh;he.options=hh;he.className=kd;he.moduleName=null;he.folderName=null;he.defaultOptions=Nh;import{jsx as gh}from"react/jsx-runtime";var Ad="k-panelbar-content",Ch=[],Lh={},Mh={},de=e=>{let{...t}=e;return gh("div",{...t,className:r(e.className,Ad),children:e.children})};de.states=Ch;de.options=Lh;de.className=Ad;de.defaultOptions=Mh;import{Fragment as Sh,jsx as Xt,jsxs as Ih}from"react/jsx-runtime";var $a=e=>{let t=y("pb-item"),o=y("pb-item"),a=y("pb-item"),n=y("pb-item");return Xt(Se,{children:Ih(Sh,{children:[Xt(E,{header:!0,text:"Item 1",id:t,children:Xt(de,{children:"content"})}),Xt(E,{header:!0,text:"Item 2",id:o,children:Xt(de,{children:"content"})}),Xt(E,{header:!0,text:"Item 3",id:a,children:Xt(de,{children:"content"})}),Xt(E,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as t6,jsx as e6,jsxs as o6}from"react/jsx-runtime";import{Fragment as kh,jsx as Ke,jsxs as Ii}from"react/jsx-runtime";var Td=e=>{let t=y("pb-item"),o=y("pb-item"),a=y("pb-item"),n=y("pb-item"),s=y("pb-child"),l=y("pb-child"),m=y("pb-child"),f=y("pb-child"),N=y("pb-child"),h=y("pb-child"),M=y("pb-child");return Ke(Se,{activeDescendant:o,children:Ii(kh,{children:[Ke(E,{header:!0,text:"Item 1",id:t,children:Ke(de,{children:"content"})}),Ke(E,{header:!0,expanded:!0,text:"Item 2",id:o,ariaSelected:!0,focus:!0,children:Ii(he,{children:[Ke(E,{level:1,text:"Child 1",id:s}),Ke(E,{level:1,expanded:!0,text:"Child 2",id:l,children:Ii(he,{children:[Ke(E,{level:2,text:"Child 2.1",id:m}),Ke(E,{level:2,text:"Child 2.2",id:f})]})}),Ke(E,{level:1,text:"Child 3",id:N,children:Ke(he,{children:Ke(E,{level:2,text:"Child 3.1",id:h})})}),Ke(E,{level:1,text:"Child 4",id:M})]})}),Ke(E,{header:!0,text:"Item 3",id:a,children:Ke(de,{children:"content"})}),Ke(E,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as yd,jsx as te,jsxs as Hn}from"react/jsx-runtime";var Ah=Se.options,Th=Se.states,Ed={...Se.defaultOptions,variant:"normal"},yh=[{name:"normal",title:"Normal"},{name:"expand",title:"Expanded"}],Eh=[{name:"icon",title:"Item icons"},{name:"disabled",title:"Disabled item"}],sa=e=>{let{variant:t,modifiers:o,...a}={...Ed,...e},n={},s={folder:"folder",gear:"gear",file:"file",image:"image"};return Object.keys(o||{}).forEach(l=>{switch(l){case"icon":{n.icon=o?.[l]?s:void 0;break}case"disabled":n.disabled=!!o?.[l]}}),t==="expand"?te(yd,{children:Hn(Td,{style:{width:"300px"},...a,children:[te(E,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(de,{children:"content"})}),te(E,{icon:n.icon?.folder,selected:!0,header:!0,expanded:!0,text:"Item 2",children:Hn(he,{children:[te(E,{level:1,text:"Child 1"}),te(E,{level:1,expanded:!0,text:"Child 2",children:Hn(he,{children:[te(E,{level:2,text:"Child 2.1"}),te(E,{icon:n.icon?.image,level:2,text:"Child 2.2"})]})}),te(E,{disabled:n.disabled,level:1,text:"Child 3",children:te(de,{children:"content"})}),te(E,{level:1,text:"Child 4"})]})}),te(E,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(de,{children:"content"})}),te(E,{icon:n.icon?.file,header:!0,text:"Item 4"})]})}):te(yd,{children:Hn($a,{style:{width:"300px"},...a,children:[te(E,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(de,{children:"content"})}),te(E,{icon:n.icon?.folder,header:!0,text:"Item 2",children:te(de,{children:"content"})}),te(E,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(de,{children:"content"})}),te(E,{icon:n.icon?.file,header:!0,text:"Item 4"})]})})};sa.options=Ah;sa.states=Th;sa.variants=yh;sa.defaultOptions=Ed;sa.modifiers=Eh;sa.className=Se.className;import{jsx as E6,jsxs as B6}from"react/jsx-runtime";import{Fragment as F6,jsx as G6,jsxs as U6}from"react/jsx-runtime";import{jsx as Oh}from"react/jsx-runtime";var Bh="k-card-callout",Bd=e=>{let{callout:t,...o}=e;return Oh("span",{...o,className:r(e.className,Bh,{[`k-callout-${Ki.calloutMap[t]||t}`]:t})})};var Ye="card",dt=Ye;import{Fragment as wh,jsx as Od,jsxs as _h}from"react/jsx-runtime";var ki="k-card",Ph=[i.hover,i.focus,i.selected,i.disabled],Kh={},Rh={},q=e=>{let{orientation:t,callout:o,hover:a,focus:n,selected:s,disabled:l,...m}=e;return _h("div",{...m,className:r(e.className,ki,I(ki,{hover:a,focus:n,disabled:l,selected:s}),{[`k-card-${t}`]:t,"k-card-with-callout":o}),children:[o&&o!=="true"&&Od(Bd,{callout:o}),Od(wh,{children:e.children})]})};q.states=Ph;q.options=Kh;q.className=ki;q.defaultOptions=Rh;q.moduleName=Ye;q.folderName=dt;import{Fragment as Gh,jsx as Pd}from"react/jsx-runtime";var Ai="k-card-list",Dh=[],Hh={},zh={},co=e=>{let{...t}=e;return Pd("div",{...t,className:r(e.className,Ai,I(Ai,{})),role:"list",children:Pd(Gh,{children:e.children})})};co.states=Dh;co.options=Hh;co.className=Ai;co.defaultOptions=zh;co.moduleName=Ye;co.folderName=dt;import{jsx as $h}from"react/jsx-runtime";var Kd="k-card-group",Uh=[],Fh={},Vh={},la=e=>{let{...t}=e;return $h("div",{...t,className:r(e.className,Kd),children:e.children})};la.states=Uh;la.options=Fh;la.className=Kd;la.defaultOptions=Vh;la.moduleName=Ye;la.folderName=dt;import{jsx as qh}from"react/jsx-runtime";var Ti="k-card-wrap",Xh=[i.focus,i.selected],Wh={},Jh={},da=e=>{let{focus:t,selected:o,...a}=e;return qh("div",{...a,className:r(e.className,Ti,I(Ti,{focus:t,selected:o})),children:e.children})};da.states=Xh;da.options=Wh;da.className=Ti;da.defaultOptions=Jh;da.moduleName=Ye;da.folderName=dt;import{jsx as Qh}from"react/jsx-runtime";var yi="k-card-title",Yh=[i.hover,i.focus],uo=e=>{let{hover:t,focus:o,...a}=e;return Qh("div",{...a,className:r(e.className,yi,I(yi,{hover:t,focus:o})),children:e.children})};uo.states=Yh;uo.className=yi;import{jsx as jh}from"react/jsx-runtime";var Zh="k-card-subtitle",zn=e=>{let{...t}=e;return jh("div",{...t,className:r(e.className,Zh),children:e.children})};import{Fragment as wd,jsx as Gn}from"react/jsx-runtime";var Rd="k-card-media",Ei=e=>{let{src:t,...o}=e;return Gn(wd,{children:t?Gn("img",{...o,className:r(e.className,Rd),src:t}):Gn("span",{...o,className:r(e.className,Rd),children:Gn(wd,{children:e.children})})})};import{Fragment as tN,jsx as Xa,jsxs as oN}from"react/jsx-runtime";var eN="k-card-header",bt=e=>{let{title:t,subtitle:o,details:a,...n}=e;return oN("div",{...n,className:r(e.className,eN),children:[t&&Xa(uo,{children:t}),o&&Xa(zn,{children:o}),Xa(tN,{children:e.children}),a&&Xa("span",{className:"k-card-header-actions",children:Xa(d,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as nN}from"react/jsx-runtime";var aN="k-card-footer",Bi=e=>{let{...t}=e;return nN("div",{...t,className:r(e.className,aN),children:e.children})};import{Fragment as iN,jsx as Wa,jsxs as sN}from"react/jsx-runtime";var rN="k-card-body",Ne=e=>{let{title:t,subtitle:o,details:a,...n}=e;return sN("div",{...n,className:r(e.className,rN),children:[t&&Wa(uo,{children:t}),o&&Wa(zn,{children:o}),Wa(iN,{children:e.children}),a&&Wa("span",{className:"k-card-header-actions",children:Wa(d,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as mN}from"react/jsx-runtime";var _d="k-card-deck",lN=[],dN={},pN={},pa=e=>{let{...t}=e;return mN("div",{...t,className:r(e.className,_d),children:e.children})};pa.states=lN;pa.options=dN;pa.className=_d;pa.defaultOptions=pN;pa.moduleName=Ye;pa.folderName=dt;import{jsx as bN}from"react/jsx-runtime";var Dd="k-card-deck-scrollwrap",cN=[],uN={},fN={},ma=e=>{let{...t}=e;return bN("div",{...t,className:r(e.className,Dd),children:e.children})};ma.states=cN;ma.options=uN;ma.className=Dd;ma.defaultOptions=fN;ma.moduleName=Ye;ma.folderName=dt;import{Fragment as xN,jsx as ca,jsxs as Hd}from"react/jsx-runtime";var zd=e=>ca(q,{orientation:"vertical",children:Hd(xN,{children:[ca(bt,{children:"Card Header"}),ca(Ne,{children:ca("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Hd(z,{className:"k-card-actions",children:[ca(d,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),ca(d,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{Fragment as hN,jsx as Ja,jsxs as Gd}from"react/jsx-runtime";var Ud=e=>Ja(q,{orientation:"horizontal",children:Gd(hN,{children:[Ja(Ne,{title:"Card Title",children:Ja("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Gd(z,{orientation:"vertical",className:"k-card-actions",children:[Ja(d,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),Ja(d,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{jsx as r4,jsxs as i4}from"react/jsx-runtime";import{jsx as Re,jsxs as qa}from"react/jsx-runtime";var NN=q.options,vN=q.states,Fd={...q.defaultOptions,variant:"vertical"},CN=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],LN=[{name:"media",title:"Card with Media"},{name:"header",title:"Card with Header"},{name:"footer",title:"Card with Footer"}],ua=e=>{let{variant:t,modifiers:o,...a}={...Fd,...e},n=!1,s=!1,l=!1;return Object.keys(o||{}).forEach(m=>{switch(m){case"media":{n=!!o?.[m];break}case"header":{s=!!o?.[m];break}case"footer":{l=!!o?.[m];break}}}),t==="horizontal"?qa(Ud,{style:{maxWidth:"420px"},...a,children:[n&&Re(Ei,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),qa("div",{children:[s&&Re(bt,{title:"Header Title",subtitle:"Header Subtitle"}),Re(Ne,{title:"Title",subtitle:"Subtitle",children:Re("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Re(Bi,{children:"Card Footer"})]}),(s||l)&&Re("span",{className:"k-separator k-separator-vertical"}),qa(z,{orientation:"vertical",alignment:"stretched",className:"k-card-actions",children:[Re(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Re(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]}):qa(zd,{style:{maxHeight:"450px",width:"300px"},...a,children:[s&&Re(bt,{title:"Header Title",subtitle:"Header Subtitle"}),n&&Re(Ei,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Re(Ne,{title:"Title",subtitle:"Subtitle",children:Re("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Re(Bi,{children:"Card Footer"}),qa(z,{className:"k-card-actions",children:[Re(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Re(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]})};ua.options=NN;ua.states=vN;ua.variants=CN;ua.defaultOptions=Fd;ua.modifiers=LN;ua.className=q.className;import{Fragment as W4,jsx as $4,jsxs as X4}from"react/jsx-runtime";import{Fragment as t8,jsx as e8,jsxs as o8}from"react/jsx-runtime";import{Fragment as Vd,jsx as v,jsxs as pe}from"react/jsx-runtime";var MN=V.options,gN=V.states,SN={...V.defaultOptions,variant:"ask"},IN=[{name:"ask",title:"Ask AI"},{name:"output",title:"Output"},{name:"more",title:"More Actions"}],kN=[{name:"stt",title:"SpeechToText"},{name:"suggestions",title:"Suggestions"}],fa=e=>{let{variant:t,modifiers:o,...a}={...e},n=v(Vd,{children:pe(st,{layout:"wrap",children:[v(ft,{text:"Post for work-life balance importance"}),v(ft,{text:"Out of office"})]})}),s={suggestions:n,stt:!0};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"suggestions":s.suggestions=!!o?.[l];break;case"stt":s.stt=!!o?.[l];break}}),t){case"more":return v(F,{className:"k-prompt-popup",children:pe(V,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:pe(H,{className:"k-toolbar-flat",children:[v(K,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),v(K,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),v(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0})]})}),v(Oe,{children:v(Pe,{children:pe($a,{children:[v(E,{header:!0,icon:"brush",text:"Change Formality",children:pe(he,{children:[v(E,{level:1,text:"Casual"}),v(E,{level:1,text:"Neutral"}),v(E,{level:1,text:"Formal"})]})}),v(E,{header:!0,expanded:!0,icon:"edit-tools",text:"Translate",children:pe(he,{children:[v(E,{level:1,text:"German"}),v(E,{level:1,text:"Spanish"})]})}),v(E,{header:!0,icon:"min-width",text:"Simplify"}),v(E,{header:!0,icon:"arrows-left-right",text:"Expand"})]})})})]})});case"output":return v(F,{className:"k-prompt-popup",children:pe(V,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:pe(H,{className:"k-toolbar-flat",children:[v(K,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),v(K,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),v(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),pe(Oe,{children:[v($t,{}),v(Pe,{children:pe("div",{className:"k-card-list",children:[pe(q,{children:[v(bt,{title:"Generated with AI",subtitle:"Linked in post for work/life balance importance"}),v(Ne,{children:pe("p",{children:["\u{1F31F} Embracing Work/Life Balance for Success \u{1F31F}",v("br",{}),v("br",{}),"Hello LinkedIn network! \u{1F44B} Today, let's talk about a key to our well-being: work/life balance. \u{1F310}\u2696\uFE0F",v("br",{}),v("br",{}),"In our fast-paced world, balancing professional and personal life is not just a luxury, it's a necessity for health and productivity. \u{1F4C8}\u{1F33F}",v("br",{}),v("br",{}),"\u2728 Key Points \u2728",v("br",{}),v("br",{}),"Enhances Productivity: Less burnout, more motivation. \u{1F680}",v("br",{}),"Boosts Creativity: New experiences = fresh ideas. \u{1F4A1}",v("br",{}),"Improves Health: Mental and physical benefits. \u{1F9D8}\u200D\u2642\uFE0F",v("br",{}),"Strengthens Relationships: Quality time matters. \u{1F91D}",v("br",{}),"Let's champion a culture where success and well-being go hand in hand. Share your work/life balance tips below! \u{1F447}",v("br",{}),v("br",{}),"#WorkLifeBalance #Productivity #WellBeing"]})}),pe(z,{className:"k-card-actions",alignment:"start",children:[v(K,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),v(K,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),v("span",{className:"k-spacer"}),v(w,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),v(w,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]}),pe(q,{children:[v(bt,{title:"Generated with AI",subtitle:"Out of Office"}),v(Ne,{children:pe("p",{children:["Subject: Out of Office: [Your Name]",v("br",{}),v("br",{}),"Dear [Recipient's Name],",v("br",{}),v("br",{}),"I am currently out of the office until [Return Date] and won't have access to email. For urgent matters, please contact [Colleague's Name] at [Colleague's Email]. I'll respond to your email upon my return.",v("br",{}),v("br",{}),"Thank you,",v("br",{}),"[Your Name]"]})}),pe(z,{className:"k-card-actions",alignment:"start",children:[v(K,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),v(K,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),v("span",{className:"k-spacer"}),v(w,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),v(w,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]})]})})]})]})});default:return v(F,{className:"k-prompt-popup",children:pe(V,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:pe(H,{className:"k-toolbar-flat",children:[v(K,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),v(K,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),v(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),v(Oe,{children:pe(Pe,{children:[v(Z,{resize:"none",rows:2,placeholder:"Ask or generate content with AI",suffixSeparator:!1,suffix:v(Vd,{children:s.stt?v(oe,{fillMode:"flat"}):null})}),v(kn,{expanded:s.suggestions,title:"Suggestions",children:n})]})}),v(Yo,{children:v(z,{className:"k-prompt-actions",alignment:"start",children:v(K,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})})}};fa.options=MN;fa.states=gN;fa.variants=IN;fa.defaultOptions=SN;fa.modifiers=kN;fa.className=V.className;import{Fragment as BN,jsx as pt,jsxs as Un}from"react/jsx-runtime";var AN=V.options,TN=V.states,yN={...V.defaultOptions},EN=[{name:"commands",title:"Commands Menu",default:!0},{name:"stt",title:"SpeechToText",default:!0},{name:"response",title:"Response Card"},{name:"generating",title:"Generating"}],ba=e=>{let{modifiers:t,...o}={...e},a={commands:!0,stt:!0};Object.keys(t||{}).forEach(s=>{switch(s){case"commands":a.commands=t?.[s]?!0:void 0;break;case"stt":a.stt=t?.[s]?!0:void 0;break;case"response":a.response=t?.[s]?!0:void 0;break;case"generating":a.generating=t?.[s]?!0:void 0;break;default:return}});let n=Un(q,{children:[pt(Ne,{style:{maxHeight:"150px",overflowY:"auto"},children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,"}),Un(z,{className:"k-card-actions",alignment:"start",children:[pt(K,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),pt(K,{fillMode:"flat",themeColor:"primary",icon:"insert-bottom",children:"Insert"}),pt(K,{fillMode:"flat",themeColor:"primary",icon:"check",children:"Replace"}),pt(K,{fillMode:"flat",themeColor:"base",icon:"cancel",children:"Discard"})]})]});return pt(F,{className:"k-prompt-popup",children:pt(V,{style:{width:"450px",height:"auto"},...o,children:pt(Oe,{children:Un(Pe,{children:[a.response?n:null,pt(Z,{rows:1,placeholder:"Edit, generate or explain ...",resize:"none",flow:"horizontal",prefixSeparator:a.commands&&a.stt,suffixSeparator:!1,prefix:Un(BN,{children:[a.commands?pt(w,{fillMode:"flat",icon:"menu"}):null,a.stt?pt(oe,{fillMode:"flat"}):null]}),suffix:pt(gt,{generating:!!a.generating})})]})})})})};ba.options=AN;ba.states=TN;ba.variants=[];ba.defaultOptions=yN;ba.modifiers=EN;ba.className=V.className;import{jsx as Y,jsxs as Wt}from"react/jsx-runtime";var iV=e=>Wt(V,{...e,children:[Y(ut,{children:Wt(H,{fillMode:"flat",children:[Y(K,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),Y(K,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),Y(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full","aria-label":"More actions"})]})}),Wt(Oe,{children:[Y($t,{}),Y(Pe,{children:Wt("div",{className:"k-card-list",children:[Wt(q,{children:[Y(bt,{title:"Card Title",subtitle:"Card Subtitle"}),Y(Ne,{children:Y("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Wt(z,{className:"k-card-actions",alignment:"start",children:[Y(K,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),Y(K,{fillMode:"flat",icon:"arrow-rotate-cw",children:"Retry"}),Y(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal","aria-label":"More actions"}),Y("span",{className:"k-spacer"}),Y(w,{fillMode:"flat",icon:"thumb-up","aria-label":"Thumbs up"}),Y(w,{fillMode:"flat",icon:"thumb-down","aria-label":"Thumbs down"})]})]}),Wt(q,{children:[Y(bt,{title:"Card Title",subtitle:"Card Subtitle"}),Y(Ne,{children:Y("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Wt(z,{className:"k-card-actions",alignment:"start",children:[Y(K,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),Y(K,{fillMode:"flat",icon:"arrow-rotate-cw",children:"Retry"}),Y(w,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal","aria-label":"More actions"}),Y("span",{className:"k-spacer"}),Y(w,{fillMode:"flat",icon:"thumb-up","aria-label":"Thumbs up"}),Y(w,{fillMode:"flat",icon:"thumb-down","aria-label":"Thumbs down"})]})]})]})})]})]});export{iV as PromptOutput};
|