@progress/kendo-themes-html 14.7.1-dev.5 → 14.7.1-dev.6
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 $c=Object.create;var Nn=Object.defineProperty;var Xc=Object.getOwnPropertyDescriptor;var qc=Object.getOwnPropertyNames;var Wc=Object.getPrototypeOf,Jc=Object.prototype.hasOwnProperty;var Yc=(e,t)=>{for(var o in t)Nn(e,o,{get:t[o],enumerable:!0})},Fi=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of qc(t))!Jc.call(e,n)&&n!==o&&Nn(e,n,{get:()=>t[n],enumerable:!(a=Xc(t,n))||a.enumerable});return e};var Gi=(e,t,o)=>(o=e!=null?$c(Wc(e)):{},Fi(t||!e||!e.__esModule?Nn(o,"default",{value:e,enumerable:!0}):o,e)),Zc=e=>Fi(Nn({},"__esModule",{value:!0}),e);var Lv={};Yc(Lv,{CHATMESSAGE_CLASSNAME:()=>zi,ChatMessage:()=>V,default:()=>gv});module.exports=Zc(Lv);var s=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?s(...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 y=(e,t)=>s({[`${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"}),C=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:i,checked:l,active:c,selected:u,disabled:b,indeterminate:x,loading:g,empty:m,readonly:L,highlighted:M,...S}=t;return s({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":i,"k-checked":l,"k-active":c,"k-selected":u,"k-disabled":b,"k-indeterminate":x&&!l,"k-loading":g,"k-empty":m,"k-readonly":L,"k-highlighted":M},Object.keys(S).reduce((E,k)=>(k.startsWith("k-")?E[k]=S[k]:E[`k-${k}`]=S[k],E),{}))};function hn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},Bt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},h={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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"};var cs={};function K(e){return cs[e]=(cs[e]||0)+1,`k-${e}-${cs[e]}`}var _a=require("react/jsx-runtime"),ms="k-font-icon",Qc=[],jc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info]},em={},wa=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...l}=e;return a?(0,_a.jsx)("span",{...l,className:s(e.className,ms,y(ms,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):(0,_a.jsx)(_a.Fragment,{})};wa.states=Qc;wa.options=jc;wa.className=ms;wa.defaultOptions=em;var Vi=wa;var go=require("react/jsx-runtime"),us="k-svg-icon",tm=[],om={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info],variant:[Bt.outline,Bt.solid,Bt.duotone]},fs={viewBox:"0 0 24 24",variant:Bt.outline},Da=e=>{var g,m;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=fs.viewBox,variant:l=fs.variant,icon:c,...u}=e;if(!c)return(0,go.jsx)(go.Fragment,{});if(c==="none")return(0,go.jsx)("span",{...u,className:s(e.className,us,y("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof c=="object"&&c.name&&c.name,x=typeof c=="object"?l&&((g=c.variants)==null?void 0:g[l])||((m=c.variants)==null?void 0:m.outline)||c.content:void 0;return(0,go.jsx)("span",{...u,className:s(e.className,us,y("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`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:(0,go.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:i,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:c?void 0:e.children})})};Da.states=tm;Da.options=om;Da.className=us;Da.defaultOptions=fs;var bs=Da;var xs=Gi(require("@progress/kendo-svg-icons"));var $i="icon",Xi="icons";var Ji=require("react");var qi=require("react"),Wi=(0,qi.createContext)({iconsType:"svg"});var Xt=require("react/jsx-runtime"),vn="k-icon",am=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),nm=[],sm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info],variant:[Bt.outline,Bt.solid,Bt.duotone]},gn={viewBox:"0 0 24 24",type:"svg",variant:Bt.outline},v=e=>{let{iconsType:t}=(0,Ji.useContext)(Wi),{size:o,themeColor:a,icon:n,type:i=t||gn.type,rotate:l,flip:c,viewBox:u=gn.viewBox,variant:b=gn.variant,...x}=e;if(!n)return(0,Xt.jsx)(Xt.Fragment,{});if((t||i)==="svg"){if(n==="none")return(0,Xt.jsx)(bs,{...x,className:s(e.className,vn),icon:n,size:o,variant:b});let m=xs[n]?n:am(`${n}-icon`);return xs[m]?(0,Xt.jsx)(bs,{...x,className:s(e.className,vn),icon:xs[m],size:o,themeColor:a,rotate:l,flip:c,viewBox:u,variant:b}):(0,Xt.jsx)(Xt.Fragment,{})}return(0,Xt.jsx)(Vi,{...x,className:s(e.className,vn),icon:n,size:o,themeColor:a,rotate:l,flip:c})};v.states=nm;v.options=sm;v.defaultOptions=gn;v.className=vn;v.moduleName=$i;v.folderName=Xi;var Ns="button",Yi=Ns;var Ce=require("react/jsx-runtime"),Ha="k-button",rm=["icon-button"],im=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],lm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info,h.inverse]},hs={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:l=hs.showArrow,arrowIconName:c=hs.arrowIconName,variant:u,hover:b,focus:x,active:g,selected:m,disabled:L,togglable:M,ariaDisabled:S,icon:E,endIcon:k,iconSize:I,text:D,iconClassName:ue,className:We,...ke}=e,Pe=E!=null,Ka=e.children!==void 0;return(0,Ce.jsxs)(t,{className:s(We,Ha,hn(Ha,u),y(Ha,{size:o,rounded:a,fillMode:n,themeColor:i}),C(Ha,{hover:b,focus:x,active:g,disabled:L||S,selected:m}),{"k-icon-button":!D&&!Ka&&Pe}),"aria-pressed":M?m?"true":"false":void 0,...ke,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof E=="string"&&E&&(0,Ce.jsx)(v,{className:s(ue,"k-button-icon"),icon:E,size:I}),E&&typeof E!="string"&&(0,Ce.jsx)(Ce.Fragment,{children:E}),D?(0,Ce.jsxs)(Ce.Fragment,{children:[D&&(0,Ce.jsx)("span",{className:"k-button-text",children:D}),e.children]}):e.children&&(0,Ce.jsx)("span",{className:"k-button-text",children:e.children}),typeof k=="string"&&k&&(0,Ce.jsx)(v,{className:s(ue,"k-button-icon"),icon:k,size:I}),k&&typeof k!="string"&&(0,Ce.jsx)(Ce.Fragment,{children:k}),l&&(0,Ce.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Ce.jsx)(v,{icon:c})})]})};p.states=im;p.options=lm;p.variants=rm;p.className=Ha;p.defaultOptions=hs;p.moduleName=Ns;p.folderName=Yi;var Zi=require("react/jsx-runtime"),W=e=>(0,Zi.jsx)(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Qi=require("react/jsx-runtime"),za=e=>(0,Qi.jsx)(p,{icon:"folder",children:"Button",...e});var pm=require("react/jsx-runtime");var ji=require("react/jsx-runtime"),kt=e=>(0,ji.jsx)(p,{children:"Button",...e});var Ln=require("react/jsx-runtime"),dm=p.options,cm=p.states,mm={...p.defaultOptions,variant:"text"},um=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],fm=[],_o=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Ln.jsx)(W,{...o,icon:"star"});case"icon-and-text":return(0,Ln.jsx)(za,{...o,icon:"star",children:"Button"});default:return(0,Ln.jsx)(kt,{...o,children:"Button"})}};_o.options=dm;_o.states=cm;_o.variants=um;_o.defaultOptions=mm;_o.modifiers=fm;_o.className=p.className;var vs="button",el=vs;var tl=require("react/jsx-runtime"),Ua="k-button-group",bm=[r.disabled],xm={fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},Nm={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,tl.jsx)("div",{role:"group",...n,className:s(e.className,Ua,y(Ua,{fillMode:t}),C(Ua,{disabled:o}),{[`${Ua}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=bm;B.options=xm;B.className=Ua;B.defaultOptions=Nm;B.moduleName=vs;B.folderName=el;var gs=require("react/jsx-runtime");var Ls=require("react/jsx-runtime");var Ms=require("react/jsx-runtime");var Ss=require("react/jsx-runtime");var ks=require("react/jsx-runtime");var Cs=require("react/jsx-runtime");var As=require("react/jsx-runtime");var Je=require("react/jsx-runtime"),hm={...p.options,...B.options},vm=p.states,gm={...p.defaultOptions,...B.defaultOptions,variant:"text-button"},Lm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Mm=[],wo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Je.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,Je.jsx)(p,{...a,icon:"star"}),(0,Je.jsx)(p,{...a,icon:"star"}),(0,Je.jsx)(p,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Je.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,Je.jsx)(p,{...a,icon:"star",children:"First"}),(0,Je.jsx)(p,{...a,icon:"star",children:"Middle"}),(0,Je.jsx)(p,{...a,icon:"star",children:"Last"})]}):(0,Je.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,Je.jsx)(p,{...a,children:"First"}),(0,Je.jsx)(p,{...a,children:"Middle"}),(0,Je.jsx)(p,{...a,children:"Last"})]})};wo.options=hm;wo.states=vm;wo.variants=Lm;wo.defaultOptions=gm;wo.modifiers=Mm;wo.className=B.className;var Fa="input",Mn=Fa;var ol=require("react/jsx-runtime"),Sn="k-input",Sm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],km={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Cm={},te=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:b,fillMode:x,...g}=e;return(0,ol.jsx)("span",{...g,className:s(e.className,Sn,y(Sn,{size:u,rounded:b,fillMode:x}),C(Sn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c}))})};te.states=Sm;te.options=km;te.className=Sn;te.defaultOptions=Cm;te.moduleName=Fa;te.folderName=Mn;var al=require("react/jsx-runtime"),kn="k-picker",Am=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Em={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},ym={},Pt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:b,fillMode:x,...g}=e;return(0,al.jsx)("span",{...g,className:s(e.className,kn,y(kn,{size:u,rounded:b,fillMode:x}),C(kn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c})),children:e.children})};Pt.states=Am;Pt.options=Em;Pt.className=kn;Pt.defaultOptions=ym;Pt.moduleName=Fa;Pt.folderName=Mn;var Do=require("react/jsx-runtime"),nl="k-clear-value",Im=[r.disabled,r.loading,r.readonly],Tm={},at=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Do.jsx)(Do.Fragment,{}):(0,Do.jsx)("span",{className:s(e.className,nl),children:(0,Do.jsx)(v,{icon:"x"})})};at.states=Im;at.options=Tm;at.className=nl;var sl=require("react/jsx-runtime"),Es="k-input-inner",Om=[],Bm={},Cn={type:"text",autocomplete:"off",value:"",placeholder:""},Ke=e=>{let{value:t=Cn.value,type:o=Cn.type,placeholder:a=Cn.placeholder,autocomplete:n=Cn.autocomplete,disabled:i,readOnly:l,...c}=e;return(0,sl.jsx)("input",{...c,type:o,className:s(e.className,Es,y(Es,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:l||void 0})};Ke.states=Om;Ke.options=Bm;Ke.className=Es;var Ga=require("react/jsx-runtime"),ys="k-input-inner",Pm=[],Km={},Lo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...l}=e;return(0,Ga.jsxs)("span",{...l,className:s(e.className,ys,y(ys,e)),children:[n,!n&&i&&(0,Ga.jsx)(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&(0,Ga.jsx)("span",{className:"k-input-value-text",children:t})]})};Lo.states=Pm;Lo.options=Km;Lo.className=ys;var il=require("react/jsx-runtime"),Is="k-input-inner",Rm=[],_m={},rl={value:"",placeholder:""},Va=e=>{let{value:t=rl.value,placeholder:o=rl.placeholder,rows:a,disabled:n,...i}=e;return(0,il.jsx)("textarea",{...i,className:s(e.className,Is,y(Is,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Va.states=Rm;Va.options=_m;Va.className=Is;var $a=require("react/jsx-runtime"),ll="k-input-loading-icon",wm=[r.disabled,r.loading],Ye=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,$a.jsx)($a.Fragment,{}):(0,$a.jsx)("span",{className:s(e.className,ll,"k-icon k-i-loading")})};Ye.states=wm;Ye.className=ll;var Xa=require("react/jsx-runtime"),pl="k-input-validation-icon",Dm=[r.valid,r.invalid,r.disabled,r.loading],Hm={},Re=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,i=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Xa.jsx)(Xa.Fragment,{}):(0,Xa.jsx)(v,{className:s(pl),icon:i})};Re.states=Dm;Re.options=Hm;Re.className=pl;var qa=require("react/jsx-runtime"),zm="k-input-prefix",Um={direction:"horizontal"},ct=e=>{let{direction:t=Um.direction,...o}=e;return e.children?(0,qa.jsx)("span",{...o,className:s(zm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,qa.jsx)(qa.Fragment,{})};var Wa=require("react/jsx-runtime"),Fm="k-input-suffix",Gm={direction:"horizontal"},mt=e=>{let{direction:t=Gm.direction,...o}=e;return e.children?(0,Wa.jsx)("span",{...o,className:s(Fm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Wa.jsx)(Wa.Fragment,{})};var Vm=require("react/jsx-runtime");var dl=require("react/jsx-runtime"),$m="k-input-suffix-text",Ts=e=>{let{children:t,...o}=e;return(0,dl.jsx)("span",{...o,className:s($m,e.className),children:t})};var ml=require("react/jsx-runtime"),cl="k-input-separator",Xm={direction:"vertical"},ut=e=>{let{direction:t=Xm.direction,...o}=e;return(0,ml.jsx)("span",{...o,className:s(cl,e.className,{[`${cl}-${t}`]:t})})};var ce=require("react/jsx-runtime"),qm=te.states,Wm=te.defaultOptions,Jm=te.options,Ym=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Zm=[],Ho=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:l,...c}=e,u=t==null?void 0:t.prefix,b=t==null?void 0:t.suffix,x=t==null?void 0:t["clear-button"],g=t==null?void 0:t["validation-icon"],m=t==null?void 0:t.separators;return(0,ce.jsxs)(te,{...c,valid:o,invalid:a,loading:n,disabled:i,readonly:l,style:{width:300},children:[u&&(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(ct,{children:(0,ce.jsx)(v,{icon:"lock"})}),m&&(0,ce.jsx)(ut,{})]}),(0,ce.jsx)(Ke,{placeholder:"Placeholder",value:"Value"}),g&&(0,ce.jsx)(Re,{valid:o,invalid:a,loading:n,disabled:i}),(0,ce.jsx)(Ye,{loading:n,disabled:i}),x&&(0,ce.jsx)(at,{loading:n,disabled:i,readonly:l,value:"Value"}),b&&(0,ce.jsxs)(ce.Fragment,{children:[m&&(0,ce.jsx)(ut,{}),(0,ce.jsx)(mt,{children:(0,ce.jsx)(kt,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Ho.options=Jm;Ho.states=qm;Ho.variants=Zm;Ho.defaultOptions=Wm;Ho.modifiers=Ym;Ho.className=te.className;var Ja=require("react/jsx-runtime"),ul="k-color-preview",Qm=[],jm={},ao=e=>{let{color:t,iconName:o,...a}=e;return(0,Ja.jsxs)("span",{...a,className:s(e.className,ul,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Ja.jsx)(v,{icon:o,className:"k-color-preview-icon"}),(0,Ja.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};ao.states=Qm;ao.options=jm;ao.className=ul;var Os="popup",fl=Os;var Ps=require("react/jsx-runtime"),bl="k-animation-container",eu=[],tu={},Bs={positionMode:"absolute",shown:!0},Kt=e=>{let{positionMode:t=Bs.positionMode,shown:o=Bs.shown,animationStyle:a,offset:n,...i}=e;return(0,Ps.jsx)("div",{...i,style:{...n,...e.style},className:s(e.className,bl,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Ps.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Kt.states=eu;Kt.options=tu;Kt.className=bl;Kt.defaultOptions=Bs;Kt.moduleName=Os;Kt.folderName=fl;var Ks="popup",xl=Ks;var Rs=require("react/jsx-runtime"),Nl="k-popup",ou=[],au={},hl={positionMode:"absolute"},J=e=>{let{offset:t,positionMode:o=hl.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:l,...c}=e;return(0,Rs.jsx)(Kt,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":l,children:(0,Rs.jsx)("div",{...c,className:s(e.className,Nl),children:e.children})})};J.states=ou;J.options=au;J.className=Nl;J.defaultOptions=hl;J.moduleName=Ks;J.folderName=xl;var _s="action-buttons",vl=_s;var Ll=require("react/jsx-runtime"),An="k-actions",nu=[],su={},ws={alignment:"start",orientation:"horizontal"},nt=e=>{let{alignment:t=ws.alignment,orientation:o=ws.orientation,...a}=e;return(0,Ll.jsx)("div",{...a,className:s(An,{[`${An}-${t}`]:t,[`${An}-${o}`]:o},e.className),children:e.children})};nt.states=nu;nt.options=su;nt.className=An;nt.defaultOptions=ws;nt.moduleName=_s;nt.folderName=vl;var gl=nt;var Sl=require("react/jsx-runtime"),ru="k-actionsheet-footer",Ml={alignment:"stretched",orientation:"horizontal"},no=e=>{let{alignment:t=Ml.alignment,orientation:o=Ml.orientation,template:a,as:n=a?"div":nt,...i}=e;return(0,Sl.jsx)(n,{...i,...!a&&{alignment:t,orientation:o},className:s(e.className,ru),children:e.children})};var Ds="searchbox",kl=Ds;var so=require("react/jsx-runtime"),Cl="k-searchbox",iu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],lu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},En={showIcon:!0,showClearButton:!0,icon:"search"},ft=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:b,required:x,loading:g,disabled:m,showIcon:L=En.showIcon,showClearButton:M=En.showClearButton,icon:S=En.icon,"aria-label":E,...k}=e;return(0,so.jsxs)(te,{...k,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:b,required:x,loading:g,disabled:m,className:s(e.className,Cl),children:[L&&(0,so.jsx)(v,{className:"k-input-icon",icon:S}),(0,so.jsx)(Ke,{placeholder:o,value:t,"aria-label":E}),(0,so.jsx)(Ye,{...e}),(0,so.jsx)(Re,{...e}),M&&(0,so.jsx)(at,{...e})]})};ft.states=iu;ft.options=lu;ft.className=Cl;ft.defaultOptions=En;ft.moduleName=Ds;ft.folderName=kl;var pu=require("react/jsx-runtime");var Hs="textbox",Al=Hs;var Ae=require("react/jsx-runtime"),El="k-textbox",du=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],cu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},yn={showClearButton:!0,showValidationIcon:!0,separators:!0},Ee=e=>{let{size:t,rounded:o,fillMode:a,separators:n=yn.separators,showClearButton:i=yn.showClearButton,showValidationIcon:l=yn.showValidationIcon,prefix:c,suffix:u,type:b,value:x,placeholder:g,hover:m,focus:L,valid:M,invalid:S,required:E,loading:k,disabled:I,readonly:D,id:ue,"aria-label":We,"aria-describedby":ke,...Pe}=e;return(0,Ae.jsxs)(te,{...Pe,size:t,rounded:o,fillMode:a,hover:m,focus:L,valid:M,invalid:S,required:E,loading:k,disabled:I,readonly:D,className:s(e.className,El),children:[c&&(0,Ae.jsxs)(Ae.Fragment,{children:[(0,Ae.jsx)(ct,{children:c}),n&&(0,Ae.jsx)(ut,{})]}),(0,Ae.jsx)(Ke,{id:ue,placeholder:g,value:x,type:b,disabled:I,"aria-label":We,"aria-describedby":ke,"aria-invalid":S?"true":void 0}),l&&(0,Ae.jsx)(Re,{valid:M,invalid:S,loading:k,disabled:I}),(0,Ae.jsx)(Ye,{loading:k,disabled:I}),i&&(0,Ae.jsx)(at,{loading:k,disabled:I,readonly:D,value:x}),u&&(0,Ae.jsxs)(Ae.Fragment,{children:[n&&(0,Ae.jsx)(ut,{}),(0,Ae.jsx)(mt,{children:u})]})]})};Ee.states=du;Ee.options=cu;Ee.className=El;Ee.defaultOptions=yn;Ee.moduleName=Hs;Ee.folderName=Al;var Ya=Ee;var yl=require("react/jsx-runtime"),In=e=>(0,yl.jsx)(Ya,{...e});var Il=require("react/jsx-runtime");var Tl=require("react/jsx-runtime");var mu=require("react/jsx-runtime");var Tn=require("react/jsx-runtime"),uu=Ee.states,fu=Ee.defaultOptions,bu=Ee.options,xu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Nu=[],zo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Tn.jsx)(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Tn.jsx)(kt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,Tn.jsx)(In,{value:"Value",style:{width:300},...o,...a})};zo.options=bu;zo.states=uu;zo.variants=Nu;zo.defaultOptions=fu;zo.modifiers=xu;zo.className=Ee.className;var st=require("react/jsx-runtime"),Ol="k-actionsheet-titlebar",hu={},_e=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:l,inputValue:c,inputPlaceholder:u,adaptive:b,titleId:x,children:g,...m}=e;return(0,st.jsxs)("div",{...m,className:s(e.className,Ol),children:[(0,st.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,st.jsx)("div",{className:"k-actionsheet-actions",children:a}),!g&&(0,st.jsxs)("div",{className:"k-actionsheet-title",id:x,children:[t&&(0,st.jsx)("div",{className:"k-text-center",children:t}),o&&(0,st.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&(0,st.jsx)("div",{className:"k-actionsheet-title",id:x,children:g}),n&&(0,st.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(l||i)&&(0,st.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?(0,st.jsx)(Ee,{value:c,placeholder:u,size:b?"large":"medium","aria-label":t||u||"Input"}):(0,st.jsx)(ft,{placeholder:"Filter",size:b?"large":"medium","aria-label":"Filter options"})})]})};_e.className=Ol;_e.defaultOptions=hu;var Uo=require("react/jsx-runtime"),zs="k-actionsheet-view",vu=[],gu={},Lu={},Fo=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:l,...c}=e,u=(n==null?void 0:n.type)===_e&&(0,Uo.jsx)(_e,{adaptive:t,titleId:l,...n==null?void 0:n.props}),b=(i==null?void 0:i.type)===no&&(0,Uo.jsx)(no,{...i==null?void 0:i.props});return(0,Uo.jsxs)("div",{...c,className:s(e.className,zs,{[`${zs}-animated`]:o}),children:[u,(0,Uo.jsx)("div",{className:"k-actionsheet-content",children:a}),b]})};Fo.states=vu;Fo.options=gu;Fo.className=zs;Fo.defaultOptions=Lu;var Za="action-sheet",On=Za;var Us="overlay",Bl=Us;var Kl=require("react/jsx-runtime"),Pl="k-overlay",Mu=[],Su={},ku={},Rt=e=>{let{...t}=e;return(0,Kl.jsx)("div",{...t,className:s(e.className,Pl),children:e.children})};Rt.states=Mu;Rt.options=Su;Rt.className=Pl;Rt.defaultOptions=ku;Rt.moduleName=Us;Rt.folderName=Bl;var Mo=require("react/jsx-runtime"),Rl="k-actionsheet",Cu=[],Au={},Qa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=Qa.side,fullscreen:o=Qa.fullscreen,adaptive:a=Qa.adaptive,overlay:n=Qa.overlay,template:i,children:l,header:c,footer:u,id:b,...x}=e,g=b&&!i&&c?`${b}-title`:void 0;return(0,Mo.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,Mo.jsx)(Rt,{}),(0,Mo.jsx)(Kt,{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:(0,Mo.jsx)("div",{...x,id:b,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":g,className:s(e.className,Rl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||(0,Mo.jsx)(Fo,{header:c,footer:u,adaptive:a,titleId:g,...e,children:l})})})]})};oe.states=Cu;oe.options=Au;oe.className=Rl;oe.defaultOptions=Qa;oe.moduleName=Za;oe.folderName=On;var wl=require("react/jsx-runtime"),_l="k-actionsheet-container",Eu=[],yu={},Iu={},Go=e=>{let{children:t,...o}=e;return(0,wl.jsx)("div",{...o,className:_l,children:t})};Go.states=Eu;Go.options=yu;Go.className=_l;Go.defaultOptions=Iu;Go.moduleName=Za;Go.folderName=On;var Dl=require("react/jsx-runtime"),Fs=e=>{let{...t}=e;return(0,Dl.jsx)("div",{...t,className:s(e.className,"k-list-ul"),children:e.children})};var bt=require("react/jsx-runtime"),Gs="k-actionsheet-item",Tu=[r.hover,r.focus,r.selected,r.disabled],ro=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:l,disabled:c,...u}=e;return(0,bt.jsxs)("span",{...u,className:s(e.className,Gs,C(Gs,{hover:n,focus:i,selected:l,disabled:c})),children:[!e.children&&(0,bt.jsx)(bt.Fragment,{children:(0,bt.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,bt.jsx)("span",{className:"k-icon-wrap",children:(0,bt.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,bt.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,bt.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,bt.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};ro.states=Tu;ro.className=Gs;var Hl=require("react/jsx-runtime");var Ou=require("react/jsx-runtime");var Bu=require("react/jsx-runtime");var Pu=require("react/jsx-runtime");var Y=require("react/jsx-runtime"),Ku=oe.options,Ru=oe.states,Ul={...oe.defaultOptions,variant:"normal"},_u=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],wu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...Ul,...e},n={},i=(0,Y.jsxs)(Fs,{children:[(0,Y.jsx)(ro,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,Y.jsx)(ro,{text:"Add to Favorites",iconName:"heart"}),(0,Y.jsx)(ro,{text:"Upload New",iconName:"upload",disabled:!0}),(0,Y.jsx)("hr",{className:"k-hr"}),(0,Y.jsx)(ro,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":n.actionsStart=!!(o!=null&&o[u]),n.actionsEnd=!!(o!=null&&o[u]);break;case"subtitle":n.subtitle=o!=null&&o[u]?l:void 0;break;case"footer":n.footer=!!(o!=null&&o[u]);break;default:break}}),t==="adaptive"?(0,Y.jsx)(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,Y.jsx)(_e,{actionsStart:n.actionsStart?(0,Y.jsx)(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,Y.jsx)(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?(0,Y.jsxs)(no,{alignment:"stretched",children:[(0,Y.jsx)(p,{text:"Cancel",size:"large",themeColor:"base"}),(0,Y.jsx)(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):(0,Y.jsx)(oe,{...a,fullscreen:n.fullScreen,header:(0,Y.jsx)(_e,{actionsStart:n.actionsStart?(0,Y.jsx)(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,Y.jsx)(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,Y.jsxs)(no,{alignment:"stretched",children:[(0,Y.jsx)(p,{text:"Apply",themeColor:"primary"}),(0,Y.jsx)(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};Vo.options=Ku;Vo.states=Ru;Vo.variants=_u;Vo.defaultOptions=Ul;Vo.modifiers=wu;Vo.className=oe.className;var Vs="slider",Fl=Vs;var Ct=require("react/jsx-runtime"),ja="k-slider",Du=[r.hover,r.focus,r.active,r.disabled,r.readonly],Hu={},xt={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},X=e=>{let{type:t=xt.type,orientation:o=xt.orientation,gradientType:a=xt.gradientType,readonly:n=xt.readonly,disabled:i=xt.disabled,handlePosition:l=xt.handlePosition,showButtons:c=xt.showButtons,showTicks:u=xt.showTicks,value:b=xt.value,min:x=xt.min,max:g=xt.max,startValue:m,endValue:L,hover:M,focus:S,active:E,trackStyle:k,dir:I,...D}=e,We=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ke,Pe;return o==="horizontal"?(ke=I==="rtl"?"chevron-left":"chevron-right",Pe=I==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ke="chevron-up",Pe="chevron-down"),(0,Ct.jsxs)("div",{...D,className:s(ja,e.className,C(ja,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:I,children:[c&&(0,Ct.jsx)(p,{className:"k-button-decrease",rounded:"full",icon:Pe,tabIndex:-1,title:"Decrease"}),(0,Ct.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,Ct.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Ct.jsxs)("div",{className:"k-slider-track",style:k,children:[(0,Ct.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Ct.jsx)("span",{className:s("k-draghandle","k-draghandle-start",C(ja,{hover:M,focus:S,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":m??x,"aria-valuemin":x,"aria-valuemax":L??g,"aria-orientation":We,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":D["aria-label"]?`${D["aria-label"]} start`:"Range start"}),(0,Ct.jsx)("span",{className:s("k-draghandle",`k-draghandle-${l}`,C(ja,{hover:M,focus:S,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??g:b,"aria-valuemin":t==="range"?m??x:x,"aria-valuemax":g,"aria-orientation":We,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?D["aria-label"]?`${D["aria-label"]} end`:"Range end":D["aria-label"]})]})]}),c&&(0,Ct.jsx)(p,{className:"k-button-increase",rounded:"full",icon:ke,tabIndex:-1,title:"Increase"})]})};X.states=Du;X.options=Hu;X.className=ja;X.defaultOptions=xt;X.moduleName=Vs;X.folderName=Fl;var $s=require("react/jsx-runtime"),Gl="k-tick",zu=[],Uu={},Vl={label:!1},T=e=>{let{style:t,label:o=Vl.label,orientation:a,large:n,text:i,...l}=e;return(0,$s.jsx)("li",{...l,role:"presentation",title:i||"Tick",className:s(e.className,Gl,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,$s.jsx)("span",{className:"k-label",children:i})})};T.states=zu;T.options=Uu;T.className=Gl;T.defaultOptions=Vl;var fe=require("react/jsx-runtime"),$l=e=>(0,fe.jsx)(X,{"aria-label":e["aria-label"]||"Slider",children:(0,fe.jsxs)(fe.Fragment,{children:[(0,fe.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{label:!0,large:!0,text:"5"}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var be=require("react/jsx-runtime"),Xl=e=>(0,be.jsx)(X,{children:(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{label:!0,large:!0,text:"5"}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Xs=require("react/jsx-runtime");var qs=require("react/jsx-runtime");var ql=require("react/jsx-runtime"),Ws=e=>(0,ql.jsx)(X,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Wl=require("react/jsx-runtime"),Js=e=>(0,Wl.jsx)(X,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Ys=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var Ze=require("react/jsx-runtime"),Fu=X.options,Gu=X.states,Jl={...X.defaultOptions,variant:"horizontal",label:!0},Vu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],$u=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],$o=e=>{let{variant:t,modifiers:o,...a}=e,n=Jl.label,i={};Object.keys(o||{}).forEach(c=>{switch(c){case"button":{i.showButtons=!!(o!=null&&o[c]);break}case"label":{n=!!(o!=null&&o[c]);break}case"tick":{i.showTicks=!!(o!=null&&o[c]);break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Ze.jsxs)(Xl,{style:{height:"300px",...l},...a,...i,children:[(0,Ze.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Ze.jsxs)($l,{style:{width:"400px",...l},...a,...i,children:[(0,Ze.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};$o.options=Fu;$o.states=Gu;$o.variants=Vu;$o.defaultOptions=Jl;$o.modifiers=$u;$o.className=X.className;var en=require("react/jsx-runtime"),Yl="k-spin-button",Wu=[],Ju={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},Qs={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},io=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Qs.increaseLabel,decreaseLabel:i=Qs.decreaseLabel,...l}=e;return(0,en.jsxs)("span",{...l,className:s(Yl,e.className),children:[(0,en.jsx)(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,en.jsx)(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};io.states=Wu;io.options=Ju;io.className=Yl;io.defaultOptions=Qs;io.moduleName=null;io.folderName=null;var Zl="numeric-textbox",Ql="numerictextbox";var xe=require("react/jsx-runtime"),jl="k-numerictextbox",Yu=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Zu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Bn={showSpinButton:!0,showClearButton:!0,separators:!0},U=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Bn.separators,showClearButton:i=Bn.showClearButton,showSpinButton:l=Bn.showSpinButton,prefix:c,suffix:u,value:b,placeholder:x,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,id:D,"aria-label":ue,"aria-describedby":We,...ke}=e;return(0,xe.jsxs)(te,{...ke,size:t,rounded:o,fillMode:a,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,className:s(e.className,jl),children:[c&&(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)(ct,{children:c}),n&&(0,xe.jsx)(ut,{})]}),(0,xe.jsx)(Ke,{id:D,placeholder:x,value:b,role:"spinbutton",disabled:k,"aria-label":ue,"aria-describedby":We,"aria-invalid":M?"true":void 0}),(0,xe.jsx)(Re,{valid:L,invalid:M,loading:E,disabled:k}),(0,xe.jsx)(Ye,{loading:E,disabled:k}),i&&(0,xe.jsx)(at,{loading:E,disabled:k,readonly:I,value:b}),u&&(0,xe.jsxs)(xe.Fragment,{children:[n&&(0,xe.jsx)(ut,{}),(0,xe.jsx)(mt,{children:u})]}),l&&(0,xe.jsx)(io,{className:"k-input-spinner",size:t,fillMode:a,disabled:k})]})};U.states=Yu;U.options=Zu;U.className=jl;U.defaultOptions=Bn;U.moduleName=Zl;U.folderName=Ql;var tn=U;var tp=require("react/jsx-runtime"),ep=e=>(0,tp.jsx)(tn,{...e});var Kn=Gi(require("react"));var js=require("react/jsx-runtime"),Qu="k-list-group-sticky-header",er=e=>(0,js.jsx)("div",{className:s(Qu,e.className),children:(0,js.jsx)("div",{className:"k-list-header-text",children:e.children})});var op=require("react/jsx-runtime"),ju="k-no-data",Pn=e=>{let{live:t,...o}=e;return(0,op.jsx)("span",{...o,className:s(ju,e.className),"aria-live":t?"polite":void 0,children:e.children})};var So="list",Xo=So;var qo=require("react/jsx-runtime"),tr="k-list",ef=[],tf={size:[d.undefined,d.small,d.medium,d.large]},of={},_=e=>{var M;let{size:t,virtualization:o,children:a,header:n,selectAll:i,optionLabel:l,customValue:c,noData:u,screenReaders:b,...x}=e,m=Kn.default.Children.toArray(a)[0],L=(M=m==null?void 0:m.props)!=null&&M.children?Kn.default.Children.count(m.props.children):Kn.default.Children.count(a);return(0,qo.jsxs)("div",{...x,className:s(e.className,tr,y(tr,{size:t}),{"k-virtual-list":o}),children:[l,i,c,n&&(0,qo.jsx)(er,{children:n}),a||(u!==void 0?u:(0,qo.jsx)(Pn,{live:!0,children:"No data found."})),b&&a&&(0,qo.jsxs)(Pn,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};_.states=ef;_.options=tf;_.className=tr;_.defaultOptions=of;_.moduleName=So;_.folderName=Xo;var np=require("react/jsx-runtime"),ap="k-list-container",af=[],nf={},sf={},Wo=e=>{let{...t}=e;return(0,np.jsx)("div",{...t,className:s(e.className,ap),children:e.children})};Wo.states=af;Wo.options=nf;Wo.className=ap;Wo.defaultOptions=sf;Wo.moduleName=So;Wo.folderName=Xo;var ko="checkbox",Jo=ko;var or=require("react/jsx-runtime"),Rn="k-checkbox",rf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],lf={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},pf={},rt=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:l,invalid:c,valid:u,required:b,size:x,rounded:g,wrapperRole:m,...L}=e;return(0,or.jsx)("span",{className:"k-checkbox-wrap",role:m,children:(0,or.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:b,disabled:l||void 0,"aria-invalid":c?"true":void 0,className:s(e.className,Rn,y(Rn,{size:x,rounded:g}),C(Rn,{hover:n,focus:i,disabled:l,invalid:c,valid:u,indeterminate:a,checked:o}))})})};rt.states=rf;rt.options=lf;rt.className=Rn;rt.defaultOptions=pf;rt.moduleName=ko;rt.folderName=Jo;var At=rt;var ip=require("react/jsx-runtime"),sp="k-checkbox-list",df=[],cf={},rp={layout:"vertical"},we=e=>{let{layout:t=rp.layout,...o}=e;return(0,ip.jsx)("ul",{...o,className:s(e.className,sp,{[`k-list-${t}`]:t}),children:e.children})};we.states=df;we.options=cf;we.className=sp;we.defaultOptions=rp;we.moduleName=ko;we.folderName=Jo;var pp=require("react/jsx-runtime"),lp="k-checkbox-list-item",mf=[],uf={},ff={},De=e=>{let{...t}=e;return(0,pp.jsx)("li",{...t,className:s(e.className,lp),children:e.children})};De.states=mf;De.options=uf;De.className=lp;De.defaultOptions=ff;De.moduleName=ko;De.folderName=Jo;var Co=require("react/jsx-runtime"),qt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Co.jsxs)(Co.Fragment,{children:[(0,Co.jsx)(At,{id:t,...o}),(0,Co.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var ar=require("react/jsx-runtime");var nr=require("react/jsx-runtime");var sr=require("react/jsx-runtime");var bf=require("react/jsx-runtime");var xf=require("react/jsx-runtime");var Nf=require("react/jsx-runtime");var ye=require("react/jsx-runtime"),hf=we.options,vf=we.states,gf={...we.defaultOptions,variant:"vertical"},Lf=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Mf=[],Yo=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,ye.jsxs)(we,{layout:"horizontal",...o,children:[(0,ye.jsx)(De,{children:(0,ye.jsx)(qt,{id:K("cb"),defaultChecked:!0,children:"Label"})}),(0,ye.jsx)(De,{children:(0,ye.jsx)(qt,{id:K("cb"),children:"Label"})}),(0,ye.jsx)(De,{children:(0,ye.jsx)(qt,{id:K("cb"),children:"Label"})})]}):(0,ye.jsxs)(we,{...o,children:[(0,ye.jsx)(De,{children:(0,ye.jsx)(qt,{id:K("cb"),defaultChecked:!0,children:"Label"})}),(0,ye.jsx)(De,{children:(0,ye.jsx)(qt,{id:K("cb"),children:"Label"})}),(0,ye.jsx)(De,{children:(0,ye.jsx)(qt,{id:K("cb"),children:"Label"})})]})};Yo.options=hf;Yo.states=vf;Yo.variants=Lf;Yo.defaultOptions=gf;Yo.modifiers=Mf;Yo.className=we.className;var dp=require("react/jsx-runtime"),Sf=At.options,kf=At.states,Cf=At.defaultOptions,Af=[],Ef=[],Zo=e=>(0,dp.jsx)(qt,{id:K("checkbox"),...e,defaultChecked:!0,children:"Label"});Zo.options=Sf;Zo.states=kf;Zo.variants=Af;Zo.defaultOptions=Cf;Zo.modifiers=Ef;Zo.className=At.className;var Wt=require("react/jsx-runtime"),rr="k-list-item",yf=[r.hover,r.focus,r.selected,r.disabled],If={},Tf={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:i,hover:l,focus:c,selected:u,disabled:b,actions:x,description:g,id:m,...L}=e,M=t||e.children,S=t||(typeof M=="string"?M:void 0);return(0,Wt.jsxs)("li",{...L,id:m,role:"option",tabIndex:c?0:-1,"aria-selected":u?"true":"false","aria-disabled":b?"true":void 0,className:s(e.className,rr,C(rr,{hover:l,focus:c,disabled:b,selected:u})),children:[n&&(0,Wt.jsx)(rt,{checked:i,disabled:b,"aria-label":S,tabIndex:-1}),o&&(0,Wt.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Wt.jsx)(v,{icon:o,className:s("k-list-item-icon",a)})}),(0,Wt.jsx)("span",{className:"k-list-item-text",children:M}),x&&(0,Wt.jsx)("div",{className:"k-list-item-actions",children:x}),g&&(0,Wt.jsx)("span",{className:"k-list-item-description",children:g})]})};P.states=yf;P.options=If;P.className=rr;P.defaultOptions=Tf;P.moduleName=So;P.folderName=Xo;var cp=require("react/jsx-runtime"),Of="k-list-ul",lo=e=>{let{children:t,role:o,id:a,...n}=e;return(0,cp.jsx)("ul",{...n,id:a,role:o,className:s(Of,e.className),children:t})};var Qo=require("react/jsx-runtime"),Bf="k-list-content",G=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:i,...l}=e;return(0,Qo.jsxs)("div",{...l,className:s(Bf,e.className),role:o?"listbox":void 0,id:o?i:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:(0,Qo.jsx)(lo,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&(0,Qo.jsx)("div",{className:"k-height-container",children:(0,Qo.jsx)("div",{})})]})};var jo=require("react/jsx-runtime"),_n="k-list-sticky-header",Pf=[r.hover,r.focus,r.selected],Kf={},Rf={},wn=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:i,focus:l,selected:c,...u}=e;return(0,jo.jsx)("div",{...u,className:s(_n,e.className),children:(0,jo.jsxs)("div",{className:s(`${_n}-item`,C(`${_n}-item`,{hover:i,focus:l,selected:c})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":c?"true":"false"},children:[o&&(0,jo.jsx)(rt,{checked:a,indeterminate:n,"aria-label":t}),(0,jo.jsx)("span",{className:"k-list-item-text",children:t})]})})};wn.states=Pf;wn.options=Kf;wn.className=_n;wn.defaultOptions=Rf;var ir=require("react/jsx-runtime");var mp=require("react/jsx-runtime");var up=require("react/jsx-runtime"),lr="k-list-optionlabel",_f=[r.hover,r.focus,r.selected,r.disabled],wf={},Df={},Dn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,up.jsx)("div",{...l,className:s(lr,C(lr,{hover:o,focus:a,selected:n,disabled:i})),children:t})};Dn.states=_f;Dn.options=wf;Dn.className=lr;Dn.defaultOptions=Df;var fp=require("react/jsx-runtime"),pr="k-list-custom-value",Hf=[r.hover,r.focus,r.selected,r.disabled],zf={},Uf={},po=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,fp.jsx)("div",{...l,className:s(pr,C(pr,{hover:o,focus:a,selected:n,disabled:i})),children:t})};po.states=Hf;po.options=zf;po.className=pr;po.defaultOptions=Uf;var dr=require("react/jsx-runtime");var cr=require("react/jsx-runtime");var mr=require("react/jsx-runtime");var ur=require("react/jsx-runtime");var Ff=require("react/jsx-runtime");var fr=require("react/jsx-runtime");var br=require("react/jsx-runtime");var bp="dropdown-list",xp="dropdownlist";var Z=require("react/jsx-runtime"),Np="k-dropdownlist",Gf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Vf={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},xr={showValue:!0,arrowIconName:"chevron-down"},me=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=xr.arrowIconName,showValue:i=xr.showValue,valueIconName:l,prefix:c,suffix:u,value:b,placeholder:x,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,popup:D,opened:ue,adaptive:We,adaptiveSettings:ke,adaptiveTitle:Pe,adaptiveSubtitle:Ka,adaptiveFilter:ho,id:vo,activeDescendant:Ra,"aria-label":ls,...ps}=e,ds=vo?`${vo}-listbox`:void 0,Ui=vo?`${vo}-value`:void 0;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(Pt,{...ps,id:vo,size:t,rounded:o,fillMode:a,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,className:s(e.className,Np,{"k-icon-picker":!i&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ue?"true":"false","aria-controls":ue?ds:void 0,"aria-activedescendant":ue&&Ra?Ra:void 0,"aria-describedby":ue?Ui:void 0,"aria-disabled":k?"true":void 0,"aria-label":ls,tabIndex:0,children:[(0,Z.jsx)(ct,{children:c}),(0,Z.jsx)(Lo,{placeholder:x,value:b,showValue:i,valueIconName:l,id:Ui}),(0,Z.jsx)(Re,{valid:L,invalid:M,loading:E,disabled:k}),(0,Z.jsx)(Ye,{loading:E,disabled:k}),(0,Z.jsx)(mt,{children:u}),(0,Z.jsx)(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),ue&&D&&(0,Z.jsx)(J,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:D}),We&&(0,Z.jsx)(oe,{adaptive:!0,...ke,header:(0,Z.jsx)(_e,{actionsEnd:(0,Z.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ho,inputValue:b,inputPlaceholder:x,title:Pe,subtitle:Ka}),children:(0,Z.jsx)("div",{className:"k-list-container",children:(0,Z.jsx)(_,{size:"large",children:(0,Z.jsxs)(G,{"aria-label":"Options",children:[(0,Z.jsx)(P,{text:"List item"}),(0,Z.jsx)(P,{text:"List item"}),(0,Z.jsx)(P,{text:"List item"})]})})})})]})};me.states=Gf;me.options=Vf;me.className=Np;me.defaultOptions=xr;me.moduleName=bp;me.folderName=xp;var $f=require("react/jsx-runtime");var hp=require("react/jsx-runtime");var Nr=require("react/jsx-runtime");var Xf=require("react/jsx-runtime");var vp=require("react/jsx-runtime");var hr=require("react/jsx-runtime");var qf=require("react/jsx-runtime");var Qe=require("react/jsx-runtime"),Wf=me.states,Jf=me.defaultOptions,Yf=me.options,Zf=[{name:"opened",title:"Opened"}],Qf=[],ta=e=>{let{modifiers:t,...o}=e,a={},n=(0,Qe.jsxs)(Qe.Fragment,{children:[(0,Qe.jsx)("div",{className:"k-list-filter",children:(0,Qe.jsx)(ft,{})}),(0,Qe.jsx)(_,{style:{width:300},size:o.size,children:(0,Qe.jsxs)(G,{children:[(0,Qe.jsx)(P,{children:"List item"}),(0,Qe.jsx)(P,{children:"List item"}),(0,Qe.jsx)(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?n:void 0)}),(0,Qe.jsx)("div",{children:(0,Qe.jsx)(me,{placeholder:"Value",style:{width:300},...o,...a})})};ta.options=Yf;ta.states=Wf;ta.variants=Qf;ta.defaultOptions=Jf;ta.modifiers=Zf;ta.className=me.className;var gp=require("react/jsx-runtime");var Lp=require("react/jsx-runtime");var jf=require("react/jsx-runtime");var Hn=require("react/jsx-runtime"),eb=U.states,tb=U.defaultOptions,ob=U.options,ab=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],nb=[],oa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Hn.jsx)(me,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Hn.jsx)(Ts,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;case"spin-button":a.showSpinButton=t==null?void 0:t[n];break;default:break}}),(0,Hn.jsx)(ep,{value:"Value",style:{width:300},...o,...a})};oa.options=ob;oa.states=eb;oa.variants=nb;oa.defaultOptions=tb;oa.modifiers=ab;oa.className=U.className;var A=require("react/jsx-runtime"),Mp="k-colorgradient-inputs",sb=[],rb={size:[d.undefined,d.small,d.medium,d.large]},Sp={mode:"rgba"},aa=e=>{let{mode:t=Sp.mode,size:o,...a}=e;return(0,A.jsxs)("div",{...a,className:s(Mp,"k-hstack"),children:[(0,A.jsx)("div",{className:"k-vstack",children:(0,A.jsx)(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,A.jsx)(Ee,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};aa.states=sb;aa.options=rb;aa.className=Mp;aa.defaultOptions=Sp;var Ie=require("react/jsx-runtime"),kp="k-colorgradient-color-contrast",ib=[],lb={},pb={},na=()=>(0,Ie.jsxs)("div",{className:s(kp,"k-vbox"),children:[(0,Ie.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Ie.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Ie.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Ie.jsx)(v,{icon:"check"}),(0,Ie.jsx)(v,{icon:"check"})]})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("span",{children:"AA: 4.5"}),(0,Ie.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Ie.jsx)(v,{icon:"check"})]})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("span",{children:"AAA: 7.0"}),(0,Ie.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Ie.jsx)(v,{icon:"x"})]})]})]});na.states=ib;na.options=lb;na.className=kp;na.defaultOptions=pb;var Cp="color-gradient",Ap="colorgradient";var ie=require("react/jsx-runtime"),zn="k-colorgradient",db=[r.hover,r.focus,r.readonly,r.disabled],cb={size:[d.undefined,d.small,d.medium,d.large]},_t={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"},Ne=e=>{let{size:t,mode:o=_t.mode,readonly:a=_t.readonly,disabled:n=_t.disabled,gradientStyle:i=_t.gradientStyle,dragHandleStyle:l=_t.dragHandleStyle,alphaStyle:c=_t.alphaStyle,alphaStyleHorizontal:u=_t.alphaStyleHorizontal,contrast:b=_t.contrast,dir:x,hover:g,focus:m,hoverHandle:L,focusHandle:M,canvasOrientation:S=_t.canvasOrientation,role:E,tabIndex:k,...I}=e;return(0,ie.jsxs)("div",{...I,role:E??"textbox","aria-label":E==="none"?void 0:"Color gradient",tabIndex:k??0,"aria-disabled":n?"true":void 0,className:s(e.className,zn,y(zn,{size:t}),C(zn,{hover:g,focus:m,readonly:a,disabled:n})),dir:x,children:[!S||S==="horizontal"&&(0,ie.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,ie.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,ie.jsx)("div",{className:"k-hsv-gradient",children:(0,ie.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":M}),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})})}),(0,ie.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,ie.jsx)(Js,{className:"k-hue-slider",hover:L,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,ie.jsx)(Js,{className:"k-alpha-slider",hover:L,focus:M,trackStyle:c})]})]}),S==="vertical"&&(0,ie.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,ie.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,ie.jsx)("div",{className:"k-hsv-gradient",children:(0,ie.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":M}),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})})}),(0,ie.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,ie.jsx)(Ws,{className:"k-hue-slider",hover:L,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,ie.jsx)(Ws,{className:"k-alpha-slider",hover:L,focus:M,trackStyle:u})]})]}),(0,ie.jsx)(aa,{mode:e.mode,size:t}),b&&(0,ie.jsx)(na,{})]})};Ne.states=db;Ne.options=cb;Ne.className=zn;Ne.defaultOptions=_t;Ne.moduleName=Cp;Ne.folderName=Ap;var Ep=require("react/jsx-runtime"),Un=e=>(0,Ep.jsx)(Ne,{...e});var mb=require("react/jsx-runtime");var ub=require("react/jsx-runtime");var Fn=require("react/jsx-runtime"),fb=Ne.options,bb=Ne.states,xb={...Ne.defaultOptions,variant:"rgba"},Nb=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],hb=[],sa=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,Fn.jsx)(Un,{...o,mode:t});case"rgb":return(0,Fn.jsx)(Un,{...o,mode:t});default:return(0,Fn.jsx)(Un,{...o,mode:t})}};sa.options=fb;sa.states=bb;sa.variants=Nb;sa.defaultOptions=xb;sa.modifiers=hb;sa.className=Ne.className;var yp=require("react/jsx-runtime"),vr=e=>(0,yp.jsx)("tr",{role:"row",children:e.children});var Ip=require("react/jsx-runtime"),gr="k-colorpalette-tile",vb=[r.hover,r.focus,r.selected],gb={},co=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:i,...l}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Ip.jsx)("td",{...l,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:s(e.className,gr,C(gr,{hover:a,focus:n,selected:i})),style:c})};co.states=vb;co.options=gb;co.className=gr;co.moduleName=null;co.folderName=null;var Tp="color-palette",Op="colorpalette";var ra=require("react/jsx-runtime"),Gn="k-colorpalette",Lb=[r.disabled],Mb={size:[d.undefined,d.small,d.medium,d.large]},Bp={columns:10},je=e=>{let{size:t,palette:o,columns:a=Bp.columns,tileSize:n,disabled:i,...l}=e,c=[];if(o){let u=a||o.columns,b=o.colors?o.colors:o;Array.isArray(b)&&Array.from({length:Math.ceil(b.length/u)},(x,g)=>{let m=[];b.slice(g*u,(g+1)*u).map((M,S)=>{m.push((0,ra.jsx)(co,{color:M,tileSize:n},S))});let L=(0,ra.jsx)(vr,{children:m},g);c.push(L)})}return(0,ra.jsx)("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:s(e.className,Gn,C(Gn,{disabled:i}),y(Gn,{size:t})),children:(0,ra.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,ra.jsx)("tbody",{children:c.length>0?c:e.children})})})};je.states=Lb;je.options=Mb;je.className=Gn;je.defaultOptions=Bp;je.moduleName=Tp;je.folderName=Op;var Vn=je;var an={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}};var Kp=require("react/jsx-runtime"),Pp=e=>(0,Kp.jsx)(Vn,{palette:an.basic,...e});var Sb=require("react/jsx-runtime");var Rp=require("react/jsx-runtime");var _p=require("react/jsx-runtime"),kb=je.options,Cb=je.states,Ab={...je.defaultOptions,variant:"basic"},Eb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],yb={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}},Ib=[],ia=e=>{let{variant:t="basic",...o}=e,a=yb[t];return(0,_p.jsx)(Pp,{columns:a.columns,palette:a,...o})};ia.options=kb;ia.states=Cb;ia.variants=Eb;ia.defaultOptions=Ab;ia.modifiers=Ib;ia.className=je.className;var wp="color-editor",Dp="coloreditor";var ae=require("react/jsx-runtime"),$n="k-coloreditor",Tb=[r.focus],Ob={size:[d.undefined,d.small,d.medium,d.large]},nn={view:"gradient",palette:an.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=nn.view,palette:a=nn.palette,color:n,currentColor:i,focus:l,focusView:c,dir:u,group:b,actionButtons:x=nn.actionButtons,canvasOrientation:g=nn.canvasOrientation,...m}=e;return(0,ae.jsxs)("div",{...m,role:"textbox","aria-label":"Color editor",tabIndex:0,className:s(e.className,"k-flatcolorpicker",$n,y($n,{size:t}),C($n,{focus:l})),dir:u,children:[(0,ae.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,ae.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:b&&(0,ae.jsxs)(B,{fillMode:"flat",children:[(0,ae.jsx)(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,ae.jsx)(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,ae.jsx)("div",{className:"k-spacer"}),(0,ae.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,ae.jsx)(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,ae.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,ae.jsx)(ao,{className:"k-coloreditor-preview-color",color:n}),(0,ae.jsx)(ao,{className:"k-coloreditor-current-color",color:i})]})]})]}),(0,ae.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,ae.jsx)(Ne,{focus:c,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):(0,ae.jsx)(je,{palette:a,size:t})}),x&&(0,ae.jsxs)(nt,{className:"k-coloreditor-footer",alignment:"start",children:[(0,ae.jsx)(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,ae.jsx)(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=Tb;ne.options=Ob;ne.className=$n;ne.defaultOptions=nn;ne.moduleName=wp;ne.folderName=Dp;var la=ne;var Bb=require("react/jsx-runtime");var Pb=require("react/jsx-runtime");var zp=require("react/jsx-runtime"),Hp=e=>(0,zp.jsx)(la,{group:!0,currentColor:"fuchsia",...e});var Fp=require("react/jsx-runtime"),Up=e=>(0,Fp.jsx)(la,{view:"palette",group:!0,currentColor:"fuchsia",...e});var Lr=require("react/jsx-runtime"),Kb=ne.options,Rb=ne.states,_b={...ne.defaultOptions,variant:"gradient"},wb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Db=[],pa=e=>{let{variant:t,...o}=e;return t==="palette"?(0,Lr.jsx)(Up,{...o,color:"white"}):(0,Lr.jsx)(Hp,{...o,color:"rgba(183, 118 , 118, 1.00)"})};pa.options=Kb;pa.states=Rb;pa.variants=wb;pa.defaultOptions=_b;pa.modifiers=Db;pa.className=ne.className;var Gp="color-picker",Vp="colorpicker";var le=require("react/jsx-runtime"),$p="k-colorpicker",Hb=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],zb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Xp={arrowIconName:"chevron-down"},Nt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Xp.arrowIconName,prefix:i,suffix:l,value:c,placeholder:u,hover:b,focus:x,valid:g,invalid:m,required:L,disabled:M,valueIconName:S,popup:E,opened:k,adaptive:I,adaptiveSettings:D,adaptiveTitle:ue,adaptiveSubtitle:We,...ke}=e,Pe="colorpicker-popup";return(0,le.jsxs)(le.Fragment,{children:[(0,le.jsxs)(Pt,{...ke,size:t,rounded:o,fillMode:a,hover:b,focus:x,valid:g,invalid:m,required:L,disabled:M,role:"combobox","aria-haspopup":"dialog","aria-expanded":k?"true":"false","aria-controls":k||I?Pe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":M?"true":void 0,className:s(e.className,$p,"k-icon-picker"),children:[(0,le.jsx)(ct,{children:i}),(0,le.jsx)(Lo,{placeholder:u,value:c,showValue:!1,valueIcon:(0,le.jsx)(ao,{className:"k-value-icon",color:c,iconName:S}),valueIconName:S}),(0,le.jsx)(mt,{children:l}),(0,le.jsx)(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:M})]}),k&&E&&(0,le.jsx)(J,{id:Pe,className:"k-colorpicker-popup",children:E}),I&&(0,le.jsx)(oe,{adaptive:!0,id:Pe,...D,header:(0,le.jsx)(_e,{actionsEnd:(0,le.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ue,subtitle:We}),footer:(0,le.jsxs)(no,{children:[(0,le.jsx)(p,{text:"Cancel",size:"large"}),(0,le.jsx)(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,le.jsx)(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Nt.states=Hb;Nt.options=zb;Nt.className=$p;Nt.defaultOptions=Xp;Nt.moduleName=Gp;Nt.folderName=Vp;var Jt=Nt;var qp=require("react/jsx-runtime"),Xn=e=>(0,qp.jsx)(Jt,{...e});var Ub=require("react/jsx-runtime");var Fb=require("react/jsx-runtime");var Gb=require("react/jsx-runtime");var Vb=require("react/jsx-runtime");var $b=require("react/jsx-runtime");var Xb=require("react/jsx-runtime");var mo=require("react/jsx-runtime"),qb=Jt.options,Wb=Jt.states,Wp={...Jt.defaultOptions,variant:"color"},Jb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Yb=[{name:"opened",title:"Opened"}],da=e=>{let{variant:t,modifiers:o,...a}={...Wp,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?(0,mo.jsx)(ne,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let i=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,mo.jsx)("div",{style:i,children:(0,mo.jsx)(Xn,{...a,...n})});case"icon":return(0,mo.jsx)("div",{style:i,children:(0,mo.jsx)(Xn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return(0,mo.jsx)("div",{style:i,children:(0,mo.jsx)(Xn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};da.options=qb;da.states=Wb;da.variants=Jb;da.defaultOptions=Wp;da.modifiers=Yb;da.className=Jt.className;var Mr="combobox",Jp=Mr;var w=require("react/jsx-runtime"),Yp="k-combobox",Zb=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Qb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Sr={separators:!0,showClearButton:!0},He=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Sr.separators,showClearButton:i=Sr.showClearButton,prefix:l,suffix:c,value:u,placeholder:b,hover:x,focus:g,valid:m,invalid:L,required:M,loading:S,disabled:E,popup:k,opened:I,readonly:D,adaptive:ue,adaptiveSettings:We,adaptiveTitle:ke,adaptiveSubtitle:Pe,adaptiveCustomValue:Ka,id:ho,autocomplete:vo,activeDescendant:Ra,"aria-label":ls,...ps}=e,ds=ho?`${ho}-listbox`:void 0;return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(te,{...ps,size:t,rounded:o,fillMode:a,hover:x,focus:g,valid:m,invalid:L,required:M,loading:S,disabled:E,readonly:D,className:s(e.className,Yp),children:[l&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(ct,{children:l}),n&&(0,w.jsx)(ut,{})]}),(0,w.jsx)(Ke,{id:ho,placeholder:b,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":I?"true":"false","aria-controls":I?ds:void 0,"aria-activedescendant":I&&Ra?Ra:void 0,"aria-autocomplete":vo,"aria-invalid":L?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":ls,disabled:E,readOnly:D}),(0,w.jsx)(Re,{valid:m,invalid:L,loading:S,disabled:E}),(0,w.jsx)(Ye,{loading:S,disabled:E}),i&&(0,w.jsx)(at,{loading:S,disabled:E,readonly:D,value:u}),c&&(0,w.jsxs)(w.Fragment,{children:[n&&(0,w.jsx)(ut,{}),(0,w.jsx)(mt,{children:c})]}),(0,w.jsx)(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:E})]}),I&&k&&(0,w.jsx)(J,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:k}),ue&&(0,w.jsx)(oe,{adaptive:!0,id:ho?`${ho}-adaptive`:void 0,...We,header:(0,w.jsx)(_e,{actionsEnd:(0,w.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:b,title:ke,subtitle:Pe}),children:(0,w.jsx)("div",{className:"k-list-container",children:(0,w.jsx)(_,{customValue:Ka?(0,w.jsx)(po,{text:`Use "${u}"`}):void 0,size:"large",children:(0,w.jsxs)(G,{"aria-label":ke||"Options",children:[(0,w.jsx)(P,{text:"List item"}),(0,w.jsx)(P,{text:"List item"}),(0,w.jsx)(P,{text:"List item"})]})})})})]})};He.states=Zb;He.options=Qb;He.className=Yp;He.defaultOptions=Sr;He.moduleName=Mr;He.folderName=Jp;var it=He;var Qp=require("react/jsx-runtime"),Zp=e=>(0,Qp.jsx)(it,{...e});var jp=require("react/jsx-runtime");var ed=require("react/jsx-runtime");var td=require("react/jsx-runtime");var od=require("react/jsx-runtime");var ad=require("react/jsx-runtime");var nd=require("react/jsx-runtime");var kr=require("react/jsx-runtime");var jb=require("react/jsx-runtime");var ex=require("react/jsx-runtime");var sd=require("react/jsx-runtime");var rd=require("react/jsx-runtime");var Et=require("react/jsx-runtime"),tx=He.states,ox=He.defaultOptions,ax=He.options,nx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],sx=[],ca=e=>{let{modifiers:t,...o}=e,a={},n=(0,Et.jsx)(_,{style:{width:300},size:o.size,children:(0,Et.jsxs)(G,{children:[(0,Et.jsx)(P,{children:"List item"}),(0,Et.jsx)(P,{children:"List item"}),(0,Et.jsx)(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,Et.jsx)(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,Et.jsx)(W,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?n:void 0;break;default:break}}),(0,Et.jsx)("div",{children:(0,Et.jsx)(Zp,{value:"Value",style:{width:300},...o,...a})})};ca.options=ax;ca.states=tx;ca.variants=sx;ca.defaultOptions=ox;ca.modifiers=nx;ca.className=He.className;var Cr="menu-button",id=Cr;var pd=require("react/jsx-runtime"),ld="k-menu-button",rx=[r.hover,r.focus,r.active,r.selected,r.disabled],ix={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info,h.inverse]},Ar={showArrow:!0,arrowIconName:"chevron-down"},F=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,icon:x,endIcon:g,text:m,showArrow:L=Ar.showArrow,arrowIconName:M=Ar.arrowIconName,expanded:S,...E}=e;return(0,pd.jsx)(p,{...E,className:s(e.className,ld),text:m,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,ariaDisabled:b||void 0,icon:x,endIcon:g,showArrow:L,arrowIconName:M,"aria-expanded":S?"true":"false",...!m&&x&&!e["aria-label"]&&{"aria-label":"Menu"}})};F.states=rx;F.options=ix;F.className=ld;F.defaultOptions=Ar;F.moduleName=Cr;F.folderName=id;var lx=require("react/jsx-runtime");var px=require("react/jsx-runtime");var dx=require("react/jsx-runtime");var cx=require("react/jsx-runtime");var lt="menu",ht=lt;var Yt=require("react/jsx-runtime"),Er="k-menu-item",mx=[r.hover,r.focus,r.active,r.selected,r.disabled],ux={},dd={iconPosition:"before"},Te=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,showArrow:u,arrowIconName:b,iconPosition:x=dd.iconPosition,dir:g,children:m,expanded:L,...M}=e,S=b;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),(0,Yt.jsxs)("li",{...M,className:s(e.className,Er,"k-item",C(Er,{focus:o,disabled:i,hover:t,active:a,selected:n})),role:"menuitem",...u&&{"aria-haspopup":"menu"},...u&&{"aria-expanded":L?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Yt.jsxs)("span",{className:s("k-link k-menu-link"),children:[l&&x==="before"&&(0,Yt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,Yt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&x==="after"&&(0,Yt.jsx)(v,{className:"k-menu-link-icon",icon:l}),u&&(0,Yt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Yt.jsx)(v,{icon:S})})]}),m]})};Te.states=mx;Te.options=ux;Te.className=Er;Te.defaultOptions=dd;Te.moduleName=lt;Te.folderName=ht;var yt=require("react/jsx-runtime"),yr="k-menu-item",fx=[r.hover,r.focus,r.active,r.selected,r.disabled],bx={},Ir={dir:"ltr",iconPosition:"before"},Q=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,showArrow:u,arrowIconName:b,iconPosition:x=Ir.iconPosition,dir:g=Ir.dir,children:m,popup:L,expanded:M,actions:S,description:E,...k}=e,I=b;return I||(I=g==="rtl"?"chevron-left":"chevron-right"),(0,yt.jsxs)("li",{role:"menuitem",...k,className:s(e.className,yr,"k-item",C(yr,{focus:o,disabled:i})),...u&&{"aria-haspopup":"menu"},...u&&{"aria-expanded":M?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,yt.jsxs)("span",{className:s("k-link k-menu-link",C("k-menu-link",{hover:t,active:a,selected:n,disabled:i})),children:[l&&x==="before"&&(0,yt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,yt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&x==="after"&&(0,yt.jsx)(v,{className:"k-menu-link-icon",icon:l}),S&&(0,yt.jsx)("span",{className:"k-menu-link-actions",children:S}),u&&(0,yt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,yt.jsx)(v,{icon:I})}),E&&(0,yt.jsx)("span",{className:"k-menu-link-description",children:E})]}),m,L]})};Q.states=fx;Q.options=bx;Q.className=yr;Q.defaultOptions=Ir;Q.moduleName=lt;Q.folderName=ht;var ud=require("react/jsx-runtime"),cd="k-menu-scroll-wrapper",xx=[],Nx={},hx={},Ao=e=>{let{className:t,children:o,orientation:a,...n}=e;return(0,ud.jsx)("div",{...n,className:s(t,cd,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Ao.states=xx;Ao.options=Nx;Ao.className=cd;Ao.defaultOptions=hx;Ao.moduleName=lt;Ao.folderName=ht;var md=Ao;var he=require("react/jsx-runtime"),qn="k-menu",vx=[],gx={size:[d.undefined,d.small,d.medium,d.large]},Wn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ve=e=>{let{children:t,orientation:o=Wn.orientation,header:a=Wn.header,scrollable:n,scrollButtonsPosition:i=Wn.scrollButtonsPosition,wrapperStyles:l,dir:c,size:u,popup:b,contextMenu:x,...g}=e,m={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},L=(0,he.jsx)("ul",{dir:c,...g,className:s(e.className,"k-reset",qn,{[`${qn}-${o}`]:o,"k-header":a},y(qn,{size:u})),role:x?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,he.jsxs)(he.Fragment,{children:[n?(0,he.jsxs)(md,{orientation:o,style:l,dir:e.dir,children:[i==="start"&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,he.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,he.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),L,i==="end"&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,he.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,he.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):L,b]})};ve.states=vx;ve.options=gx;ve.className=qn;ve.defaultOptions=Wn;ve.moduleName=lt;ve.folderName=ht;var bd=require("react/jsx-runtime"),Tr="k-separator",fd={orientation:"horizontal"},ma=e=>{let{orientation:t=fd.orientation,...o}=e;return(0,bd.jsx)("li",{...o,className:s(e.className,"k-item",Tr,{[`${Tr}-${t}`]:t}),role:"separator"})};ma.className=Tr;ma.defaultOptions=fd;ma.moduleName=lt;ma.folderName=ht;var xd=require("react/jsx-runtime");var Nd=require("react/jsx-runtime"),Or="k-menu-group",Lx=[],Mx={size:[d.undefined,d.small,d.medium,d.large]},Sx={},Oe=e=>{let{children:t,size:o,...a}=e;return(0,Nd.jsx)("ul",{role:"menu",...a,className:s(e.className,Or,y(Or,{size:o})),children:t})};Oe.states=Lx;Oe.options=Mx;Oe.className=Or;Oe.defaultOptions=Sx;Oe.moduleName=lt;Oe.folderName=ht;var hd=require("react/jsx-runtime");var It=require("react/jsx-runtime"),Br=e=>(0,It.jsx)(ve,{children:(0,It.jsxs)(It.Fragment,{children:[(0,It.jsx)(Te,{text:"Item 1"}),(0,It.jsx)(Te,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,It.jsx)(Te,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,It.jsx)(Te,{text:"Item 4"}),(0,It.jsx)(Te,{text:"Item 5"})]}),...e});var Pr=require("react/jsx-runtime");var Kr=require("react/jsx-runtime");var Rr=require("react/jsx-runtime");var _r=require("react/jsx-runtime");var wt=require("react/jsx-runtime"),kx={...ve.options,scrollable:{type:"boolean"}},Cx=ve.states,vd={...ve.defaultOptions,variant:"horizontal"},Ax=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Ex=[{name:"opened",title:"Opened"}],ua=e=>{let{variant:t,modifiers:o,...a}={...vd,...e},n={},i=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?(0,wt.jsx)(J,{className:"k-menu-popup",offset:i,children:(0,wt.jsxs)(Oe,{children:[(0,wt.jsx)(Q,{text:"Item 1"}),(0,wt.jsx)(Q,{text:"Item 2"}),(0,wt.jsx)(ma,{}),(0,wt.jsx)(Q,{text:"Item 3"})]})}):null)}),t==="vertical"?(0,wt.jsx)(Br,{...a,...n,orientation:"vertical",style:{width:"200px"}}):(0,wt.jsx)(Br,{...a,...n})};ua.options=kx;ua.states=Cx;ua.variants=Ax;ua.defaultOptions=vd;ua.modifiers=Ex;ua.className=ve.className;var wr=require("react/jsx-runtime");var yx=require("react/jsx-runtime");var Be=require("react/jsx-runtime"),Ix=p.states,gd={...p.defaultOptions,variant:"text"},Tx=p.options,Ox=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Bx=[{name:"opened",title:"Opened"}],fa=e=>{let{variant:t,modifiers:o,...a}={...gd,...e},n={},i=(0,Be.jsx)(J,{className:"k-menu-popup",children:(0,Be.jsxs)(Oe,{size:a.size,children:[(0,Be.jsx)(Q,{text:"Menu Item"}),(0,Be.jsx)(Q,{text:"Menu Item"}),(0,Be.jsx)(Q,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=(0,Be.jsx)("div",{children:(0,Be.jsx)(F,{...a,...n,icon:"star"})});break;case"icon-and-text":l=(0,Be.jsx)("div",{children:(0,Be.jsx)(F,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=(0,Be.jsx)("div",{children:(0,Be.jsx)(F,{...a,...n,children:"Dropdown Button"})});break}return(0,Be.jsxs)(Be.Fragment,{children:[l,(o==null?void 0:o.opened)&&i]})};fa.options=Tx;fa.states=Ix;fa.variants=Ox;fa.defaultOptions=gd;fa.modifiers=Bx;fa.className=F.className;var Dr="split-button",Ld=Dr;var Zt=require("react/jsx-runtime"),Hr="k-split-button",Px=[r.hover,r.focus,r.active,r.selected,r.disabled],Kx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info,h.inverse]},Md={arrowIconName:"chevron-down"},R=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,icon:x,endIcon:g,text:m,arrowIconName:L=Md.arrowIconName,popup:M,opened:S,popupId:E,...k}=e;return(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsxs)("div",{...k,className:s(e.className,Hr,"k-button-group",y(Hr,{rounded:o})),children:[(0,Zt.jsx)(p,{text:m,icon:x,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,...!m&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),(0,Zt.jsx)(p,{className:"k-split-button-arrow",icon:L,size:t,rounded:o,fillMode:a,disabled:b,ariaDisabled:b||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?E:void 0,tabIndex:-1})]}),S&&M&&(0,Zt.jsx)(J,{className:"k-menu-popup",children:M})]})};R.states=Px;R.options=Kx;R.className=Hr;R.defaultOptions=Md;R.moduleName=Dr;R.folderName=Ld;var zr=R;var Sd=require("react/jsx-runtime"),Rx="k-toolbar-separator",Tt=e=>(0,Sd.jsx)("div",{className:s(Rx,e.className,"k-separator")});var Eo="toolbar",ba=Eo;var O=require("react/jsx-runtime"),Qt="k-toolbar",_x=[r.focus],wx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.outline,N.flat]},Dx={scrollButtons:"around"},$=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:i,scrollButtons:l,scrollingPosition:c,section:u,...b}=e,x=[],g=(m,L)=>{let M=[];if(m.type===p&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))M.push((0,O.jsx)(p,{...m.props,className:`${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===p)M.push((0,O.jsx)(p,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===za)M.push((0,O.jsx)(za,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===W)M.push((0,O.jsx)(W,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===F)M.push((0,O.jsx)(F,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===zr)M.push((0,O.jsx)(zr,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===B||m.props.className&&m.props.className.includes("k-button-group")){let S=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((k,I)=>{S.push((0,O.jsx)(p,{...k.props,className:`${k.props.className?k.props.className:""}`},`${I}-${new Date().getTime()}`))}),M.push((0,O.jsx)(B,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:S},`${L}-${new Date().getTime()}`))}else m.type===He?M.push((0,O.jsx)(He,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===me?M.push((0,O.jsx)(me,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===Nt?M.push((0,O.jsx)(Nt,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):M.push(m);M.forEach(S=>{x.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,M)=>{g(L,M)}),(0,O.jsxs)("div",{...b,className:s(e.className,Qt,y(Qt,{size:t,fillMode:o}),C(Qt,{focus:a}),{[`${Qt}-resizable`]:n,[`${Qt}-scrollable`]:i,[`${Qt}-scrollable-overlay`]:i&&l==="hidden",[`${Qt}-scrollable-${c}`]:c&&c!=="both",[`${Qt}-section`]:u}),role:"toolbar","aria-label":"Toolbar",children:[!i&&x,i&&l==="hidden"&&(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),i&&l==="start"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(B,{children:[(0,O.jsx)("span",{className:s("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:s("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,O.jsx)(Tt,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),i&&l==="end"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),(0,O.jsx)(Tt,{className:"k-toolbar-button-separator"}),(0,O.jsxs)(B,{children:[(0,O.jsx)("span",{className:s("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:s("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(l==="around"||!l)&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("span",{className:s("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)(Tt,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),(0,O.jsx)(Tt,{className:"k-toolbar-button-separator"}),(0,O.jsx)("span",{className:s("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};$.states=_x;$.options=wx;$.className=Qt;$.defaultOptions=Dx;$.moduleName=Eo;$.folderName=ba;var kd=require("react/jsx-runtime"),Ur="k-toolbar-item",Hx=[r.focus],zx={},Ux={},xa=e=>{let{focus:t,...o}=e;return(0,kd.jsx)("div",{...o,className:s(e.className,Ur,C(Ur,{focus:t})),children:e.children})};xa.states=Hx;xa.options=zx;xa.className=Ur;xa.defaultOptions=Ux;xa.moduleName=Eo;xa.folderName=ba;var Fr=require("react/jsx-runtime"),Cd="k-toolbar-popup",Fx=[],Gx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.outline,N.flat]},Vx={},yo=e=>{let{size:t,fillMode:o,section:a,...n}=e;return(0,Fr.jsx)(J,{...n,className:s(e.className,Cd),children:a?(0,Fr.jsx)("span",{className:s("k-toolbar-items-list",y("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};yo.states=Fx;yo.options=Gx;yo.className=Cd;yo.defaultOptions=Vx;yo.moduleName=Eo;yo.folderName=ba;var Jn=yo;var $x=require("react/jsx-runtime");var Xx=require("react/jsx-runtime");var qx=require("react/jsx-runtime");var Wx=require("react/jsx-runtime");var Ad=require("react/jsx-runtime");var Jx=require("react/jsx-runtime");var vt=require("react/jsx-runtime"),Yx=R.states,Ed={...R.defaultOptions,variant:"text"},Zx=R.options,Qx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],jx=[{name:"opened",title:"Opened"}],Na=e=>{let{variant:t,modifiers:o,...a}={...Ed,...e},n={},i=(0,vt.jsxs)(Oe,{size:a.size,children:[(0,vt.jsx)(Q,{text:"Menu Item"}),(0,vt.jsx)(Q,{text:"Menu Item"}),(0,vt.jsx)(Q,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?i:"")}),t){case"icon-only":return(0,vt.jsx)("div",{children:(0,vt.jsx)(R,{...a,...n,icon:"star"})});case"icon-and-text":return(0,vt.jsx)("div",{children:(0,vt.jsx)(R,{...a,...n,icon:"star",children:"Split Button"})});default:return(0,vt.jsx)("div",{children:(0,vt.jsx)(R,{...a,...n,children:"Split Button"})})}};Na.options=Zx;Na.states=Yx;Na.variants=Qx;Na.defaultOptions=Ed;Na.modifiers=jx;Na.className=R.className;var Dt=require("react/jsx-runtime"),yd=e=>(0,Dt.jsx)($,{children:[(0,Dt.jsx)(p,{children:"Button"},"toolbar-button"),(0,Dt.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Dt.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Dt.jsxs)(B,{children:[(0,Dt.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Dt.jsx)(p,{icon:"align-center",children:"Center"}),(0,Dt.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Id=require("react/jsx-runtime");var ge=require("react/jsx-runtime"),Td=e=>(0,ge.jsx)($,{scrollable:!0,...e,children:[(0,ge.jsx)(p,{children:"Button"},"toolbar-button"),(0,ge.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,ge.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,ge.jsxs)(B,{children:[(0,ge.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ge.jsx)(p,{icon:"align-center",children:"Center"}),(0,ge.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ge.jsx)(p,{children:"Button"},"toolbar-button"),(0,ge.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,ge.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,ge.jsxs)(B,{children:[(0,ge.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ge.jsx)(p,{icon:"align-center",children:"Center"}),(0,ge.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Le=require("react/jsx-runtime"),Od=({scrollingPosition:e="start",...t})=>(0,Le.jsx)($,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,Le.jsx)(p,{children:"Button"},"toolbar-button"),(0,Le.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Le.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Le.jsxs)(B,{children:[(0,Le.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Le.jsx)(p,{icon:"align-center",children:"Center"}),(0,Le.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Le.jsx)(p,{children:"Button"},"toolbar-button"),(0,Le.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Le.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Le.jsxs)(B,{children:[(0,Le.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Le.jsx)(p,{icon:"align-center",children:"Center"}),(0,Le.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var j=require("react/jsx-runtime"),Bd=({fillMode:e,size:t,...o})=>(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)($,{section:!0,fillMode:e,size:t,children:[(0,j.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,j.jsxs)(B,{fillMode:e,children:[(0,j.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,j.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,j.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,j.jsx)(Tt,{className:"k-toolbar-button-separator"}),(0,j.jsx)(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),(0,j.jsxs)(Jn,{size:t,fillMode:e,section:!0,...o,children:[(0,j.jsx)(R,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,j.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,j.jsx)(Tt,{}),(0,j.jsx)(F,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,j.jsxs)(B,{fillMode:e,children:[(0,j.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,j.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,j.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var Gr=require("react/jsx-runtime");var Vr=require("react/jsx-runtime");var jt=require("react/jsx-runtime"),eN=$.options,tN=$.states,Pd={...$.defaultOptions,variant:"default"},oN=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],aN=[],ha=e=>{let{variant:t,...o}={...Pd,...e};switch(t){case"responsive":return(0,jt.jsx)("div",{children:(0,jt.jsx)(Bd,{style:{width:"583px"},...o})});case"overlay":return(0,jt.jsx)("div",{children:(0,jt.jsx)(Od,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,jt.jsx)("div",{children:(0,jt.jsx)(Td,{style:{width:"583px"},...o})});default:return(0,jt.jsx)("div",{children:(0,jt.jsx)(yd,{style:{width:"583px"},...o})})}};ha.options=eN;ha.states=tN;ha.variants=oN;ha.defaultOptions=Pd;ha.modifiers=aN;ha.className=$.className;var rn=require("react/jsx-runtime"),Yn="k-fab",rN=[r.hover,r.focus,r.active,r.selected,r.disabled],iN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},Kd={type:"button"},pe=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:i,type:l=Kd.type,position:c,hover:u,focus:b,active:x,selected:g,disabled:m,...L}=e;return(0,rn.jsxs)("button",{...L,type:l,className:s(e.className,Yn,y(Yn,{size:t,rounded:o,themeColor:a}),C(Yn,{hover:u,focus:b,active:x,disabled:m,selected:g}),{[`!k-pos-absolute k-${c}`]:c}),...!n&&i&&!e["aria-label"]&&{"aria-label":"Action"},...m&&{"aria-disabled":"true"},disabled:m||void 0,children:[i&&(0,rn.jsx)(v,{className:"k-fab-icon",icon:i}),n&&(0,rn.jsx)("span",{className:"k-fab-text",children:n})]})};pe.states=rN;pe.options=iN;pe.className=Yn;pe.defaultOptions=Kd;pe.moduleName="fab";pe.folderName="fab";var _d=require("react/jsx-runtime"),lN="k-fab-items",Rd=e=>{let{position:t,...o}=e;return(0,_d.jsx)("ul",{...o,className:s(e.className,lN,{[`k-fab-items-${t}`]:t}),children:e.children})};var ln=require("react/jsx-runtime"),wd="k-fab-item",pN=[r.hover,r.focus,r.active,r.disabled],$r=e=>{let{text:t,icon:o,align:a,hover:n,focus:i,active:l,disabled:c,...u}=e;return(0,ln.jsxs)("li",{...u,className:s(e.className,wd,{[`k-text-${a}`]:a},C(wd,{hover:n,focus:i,active:l,disabled:c})),children:[(0,ln.jsx)("span",{className:"k-fab-item-text",children:t}),(0,ln.jsx)(v,{className:"k-fab-item-icon",icon:o})]})};$r.states=pN;var dN=require("react/jsx-runtime");var Hd=require("react/jsx-runtime"),Dd=e=>(0,Hd.jsx)(pe,{icon:"plus",...e});var cN=require("react/jsx-runtime");var mN=require("react/jsx-runtime");var eo=require("react/jsx-runtime"),uN=pe.options,fN=pe.states,bN={...pe.defaultOptions,variant:"text"},xN=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],NN=[{name:"opened",title:"Opened"}],va=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},i=n?(0,eo.jsx)("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:(0,eo.jsx)(Rd,{position:"bottom",children:(0,eo.jsx)($r,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=(0,eo.jsx)(pe,{...a,icon:"star"});break;case"icon-and-text":l=(0,eo.jsx)(pe,{...a,icon:"star",text:"Action"});break;default:l=(0,eo.jsx)(pe,{...a,text:"Action"});break}return(0,eo.jsxs)("span",{style:{position:"relative"},children:[l,i]})};va.options=uN;va.states=fN;va.variants=xN;va.defaultOptions=bN;va.modifiers=NN;va.className=pe.className;var Xr="prompt-box",zd=Xr;var qr="speech-to-text-button",Ud=qr;var Vd=require("react/jsx-runtime"),Fd="k-speech-to-text-button",Gd={icon:"microphone"},pt=e=>{let{listening:t=!1,icon:o=Gd.icon,...a}=e;return(0,Vd.jsx)(p,{...a,icon:t?"stop":o,className:s(e.className,Fd,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};pt.states=p.states;pt.options=p.options;pt.className=Fd;pt.defaultOptions=Gd;pt.moduleName=qr;pt.folderName=Ud;var hN=require("react/jsx-runtime");var vN=require("react/jsx-runtime");var Xd=require("react/jsx-runtime"),gN=p.states,$d={...p.defaultOptions,variant:"normal"},LN={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},MN=[],SN=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],ga=e=>{let{variant:t,...o}={...$d,...e},a={};return t==="listening"&&(a.listening=!0),(0,Xd.jsx)(pt,{...o,...a})};ga.options=LN;ga.states=gN;ga.variants=SN;ga.defaultOptions=$d;ga.modifiers=MN;ga.className=pt.className;var gt=require("react/jsx-runtime"),Ht="k-prompt-box",kN=[r.hover,r.focus,r.disabled],CN={fillMode:[N.undefined,N.solid,N.flat,N.outline]},Wr={lineMode:"auto",isExpanded:!1},ze=e=>{let{fillMode:t,lineMode:o=Wr.lineMode,startAffix:a,endAffix:n,header:i,isExpanded:l=Wr.isExpanded,className:c,children:u,value:b,placeholder:x,generating:g,actionButtonConfig:m,speechToTextButtonConfig:L,uploadButtonConfig:M,hover:S,focus:E,disabled:k,...I}=e,D=o==="multi"||o==="auto"&&l;return(0,gt.jsxs)("div",{...I,className:s(c,"k-input",Ht,{[`${Ht}-singleline`]:o==="single",[`${Ht}-multiline`]:D,[`k-input-${t}`]:t,"k-hover":S,"k-focus":E,"k-disabled":k}),children:[i&&(0,gt.jsx)("div",{className:`${Ht}-header`,children:i}),(0,gt.jsxs)("div",{className:`${Ht}-content`,children:[a&&(0,gt.jsx)("div",{className:`${Ht}-affix`,children:a}),o==="single"?(0,gt.jsx)(Ke,{value:b,placeholder:x,className:`${Ht}-input`,type:"text","aria-label":"Prompt input"}):(0,gt.jsx)(Va,{value:b,placeholder:x,className:`${Ht}-textarea`,rows:o==="multi"||l?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),(0,gt.jsxs)("div",{className:`${Ht}-affix`,children:[n,M&&(0,gt.jsx)(W,{icon:"paperclip",size:"small",fillMode:"flat",rounded:"full","aria-label":"Attach files",...M}),L!==!1&&(0,gt.jsx)(pt,{size:"small",fillMode:"flat",rounded:"full",...L}),(0,gt.jsx)(W,{icon:g?"stop":"arrow-up",size:"small",rounded:"full",active:g,disabled:!b&&!g,"aria-label":g?"Stop generating":"Send prompt","aria-live":"polite",...m,className:s({"k-generating":g},m==null?void 0:m.className)})]})]}),u]})};ze.states=kN;ze.options=CN;ze.className=Ht;ze.defaultOptions=Wr;ze.moduleName=Xr;ze.folderName=zd;var AN=require("react/jsx-runtime");var EN=require("react/jsx-runtime");var yN=require("react/jsx-runtime");var IN=require("react/jsx-runtime");var TN=require("react/jsx-runtime");var Ue=require("react/jsx-runtime"),ON=ze.options,BN=ze.states,PN={...ze.defaultOptions,variant:"Single"},KN=[{name:"Single",title:"Singleline"},{name:"Multi",title:"Multiline"}],RN=[{name:"header",title:"Header"},{name:"endAffix",title:"End Affix"},{name:"startAffix",title:"Start Affix"}],La=e=>{let{variant:t,modifiers:o,...a}=e,n={},i=(0,Ue.jsx)(Ue.Fragment,{children:(0,Ue.jsx)(W,{size:"small",icon:"send",fillMode:"flat"})});return Object.keys(o||{}).forEach(l=>{switch(l){case"header":n.header=o!=null&&o[l]?(0,Ue.jsx)(p,{children:"Button in header"}):void 0;break;case"endAffix":o!=null&&o[l]&&(n.endAffix=(0,Ue.jsxs)(Ue.Fragment,{children:[i,(0,Ue.jsx)(W,{icon:"paperclip",size:"small",fillMode:"flat"})]}));break;case"startAffix":n.startAffix=o!=null&&o[l]?(0,Ue.jsx)(Ue.Fragment,{children:(0,Ue.jsx)(W,{icon:"plus",size:"small",fillMode:"flat"})}):void 0;break;default:break}}),t==="Multi"?(0,Ue.jsx)(ze,{style:{width:300},lineMode:"multi",endAffix:i,placeholder:"Enter your prompt...",...a,...n}):(0,Ue.jsx)(ze,{style:{width:300},lineMode:"single",endAffix:i,placeholder:"Enter your prompt...",...a,...n})};La.options=ON;La.states=BN;La.variants=KN;La.defaultOptions=PN;La.modifiers=RN;La.className=ze.className;var Jr="chat",qd=Jr;var Me=require("react/jsx-runtime"),Wd="k-chat",_N=[],wN={},DN=(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(W,{icon:"paperclip",fillMode:"clear",rounded:"full",size:"small","aria-label":"Attach file"},"paperclip"),(0,Me.jsx)("div",{className:"k-spacer"})]}),Jd={tools:DN},q=e=>{let{header:t,dir:o,suggestedActions:a,files:n,pinned:i,replied:l,generating:c,tools:u=Jd.tools,value:b,empty:x,scrollToBottom:g,scrollbar:m,promptBoxProps:L,...M}=e;return(0,Me.jsxs)("div",{...M,className:s(Wd,e.className),dir:o,children:[t,(0,Me.jsxs)("div",{className:"k-message-list",role:"log","aria-label":"Message list","aria-live":"polite",children:[i,(0,Me.jsx)("div",{className:s("k-message-list-content",x&&"k-message-list-content-empty"),children:e.children}),g&&(0,Me.jsx)("div",{className:"k-chat-scroll-to-bottom-container",children:(0,Me.jsx)(Dd,{themeColor:"base",icon:"arrow-down",size:"small"})})]}),m&&(0,Me.jsx)("div",{className:"k-separator"}),(0,Me.jsxs)("div",{className:"k-message-box-wrapper",children:[a,(0,Me.jsx)(ze,{lineMode:"multi",placeholder:"Type a message",generating:c,value:b,header:n||l?(0,Me.jsxs)(Me.Fragment,{children:[l,n]}):void 0,endAffix:u,...L})]})]})};q.states=_N;q.options=wN;q.className=Wd;q.defaultOptions=Jd;q.moduleName=Jr;q.folderName=qd;var Yr="avatar",Yd=Yr;var Qr=require("react/jsx-runtime"),pn="k-avatar";var HN=[r.hover,r.focus,r.active,r.selected,r.disabled],zN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.outline],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},Zr={type:"text",border:!1},Fe=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:i=Zr.type,border:l=Zr.border,...c}=e;return(0,Qr.jsx)("div",{...c,className:s(e.className,pn,y(pn,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${pn}-bordered`]:l}),children:(0,Qr.jsx)("span",{className:`${pn}-${i}`,children:e.children})})};Fe.states=HN;Fe.options=zN;Fe.className=pn;Fe.defaultOptions=Zr;Fe.moduleName=Yr;Fe.folderName=Yd;var Io=Fe;var Qd=require("react/jsx-runtime"),Zd=e=>(0,Qd.jsx)(Io,{type:"icon",...e});var ec=require("react/jsx-runtime"),jd=e=>(0,ec.jsx)(Io,{type:"text",...e});var tc=require("react/jsx-runtime"),Qn=e=>(0,tc.jsx)(Io,{type:"image",...e});var UN=require("react/jsx-runtime");var Ma=require("react/jsx-runtime"),FN=Fe.options,GN=Fe.states,VN={...Fe.defaultOptions,variant:"image"},$N=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],XN=[],Sa=e=>{let{variant:t,...o}=e;switch(t){case"icon":return(0,Ma.jsx)(Zd,{...o,children:(0,Ma.jsx)(v,{icon:"star"})});case"text":return(0,Ma.jsx)(jd,{...o,children:"JO"});default:return(0,Ma.jsx)(Qn,{...o,children:(0,Ma.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Sa.options=FN;Sa.states=GN;Sa.variants=$N;Sa.defaultOptions=VN;Sa.modifiers=XN;Sa.className=Fe.className;var Ot=require("react/jsx-runtime"),dn="k-message-group",qN=[r.selected],WN={},jn={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},ee=e=>{let{type:t=jn.type,author:o=jn.author,avatar:a=jn.avatar,status:n,selected:i,fullWidth:l,...c}=e;return(0,Ot.jsxs)("div",{...c,className:s(dn,e.className,C(dn,{selected:i}),{[`${dn}-${t}`]:t,"k-no-avatar":!a,[`${dn}-full-width`]:l}),children:[a&&!n&&(0,Ot.jsx)(Fe,{type:"image",children:(0,Ot.jsx)("img",{src:a,alt:o||""})}),n&&a&&(0,Ot.jsxs)("div",{className:"k-chat-user-status-wrapper",children:[(0,Ot.jsx)(Fe,{type:"image",children:(0,Ot.jsx)("img",{src:a,alt:o||""})}),(0,Ot.jsx)("div",{className:"k-chat-user-status"})]}),(0,Ot.jsxs)("div",{className:"k-message-group-content",children:[o&&(0,Ot.jsx)("span",{className:"k-message-author",children:o}),e.children]})]})};ee.states=qN;ee.options=WN;ee.className=dn;ee.defaultOptions=jn;var zt=require("react/jsx-runtime"),jr="k-message-reference",JN={},oc={type:"receiver"},uo=e=>{let{content:t,closeable:o,pinned:a,type:n=oc.type,...i}=e;return(0,zt.jsxs)("div",{...i,className:s(jr,e.className,{[`${jr}-${n}`]:n,"k-message-pinned":a}),children:[a&&(0,zt.jsx)(v,{icon:"pin"}),(0,zt.jsx)("div",{className:"k-message-reference-content",children:t}),o&&(0,zt.jsxs)(zt.Fragment,{children:[(0,zt.jsx)("span",{className:"k-spacer"}),(0,zt.jsx)(p,{icon:"x-circle",fillMode:"flat",size:"xsmall","aria-label":"Close"})]})]})};uo.options=JN;uo.className=jr;uo.moduleName=null;uo.folderName=null;uo.defaultOptions=oc;var ei="bubble",ac=ei;var To=require("react/jsx-runtime"),ti="k-bubble",YN=[r.hover,r.active,r.selected,r.focus],oi={expandable:!1,expanded:!1},Oo=e=>{let{content:t,hover:o,active:a,focus:n,selected:i,expandable:l=oi.expandable,expanded:c=oi.expanded,...u}=e;return(0,To.jsxs)("div",{...u,className:s(e.className,ti,C(ti,{hover:o,active:a,focus:n,selected:i}),{"k-bubble-expandable":l},{"k-expanded":c}),tabIndex:0,children:[(0,To.jsx)("div",{className:"k-bubble-content",children:t??e.children}),l&&(0,To.jsx)("span",{className:"k-bubble-expandable-indicator",role:"button","aria-label":c?"Show less":"Show more",tabIndex:0,children:c?(0,To.jsx)(v,{icon:"chevron-up"}):(0,To.jsx)(v,{icon:"chevron-down"})})]})};Oo.states=YN;Oo.className=ti;Oo.defaultOptions=oi;Oo.moduleName=ei;Oo.folderName=ac;var ZN=require("react/jsx-runtime");var QN=require("react/jsx-runtime");var jN=require("react/jsx-runtime");var Bo=require("react/jsx-runtime"),eh="k-chat-bubble",sc=e=>{let{typing:t,content:o,files:a,...n}=e;return(0,Bo.jsxs)(Oo,{...n,className:s(e.className,eh),children:[t?(0,Bo.jsxs)("div",{className:"k-typing-indicator",tabIndex:-1,children:[(0,Bo.jsx)("span",{}),(0,Bo.jsx)("span",{}),(0,Bo.jsx)("span",{})]}):o,a]})};var th=require("react/jsx-runtime");var cn=require("react/jsx-runtime"),rc="k-chat-event",ai={icon:"trash",text:"You deleted Chat history."},ic=e=>{let{icon:t=ai.icon,text:o=ai.text,...a}=e;return(0,cn.jsxs)("div",{...a,className:s(e.className,rc),children:[t&&(0,cn.jsx)(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&(0,cn.jsx)("span",{className:"k-chat-event-text",children:o})]})};ic.className=rc;ic.defaultOptions=ai;var oh=require("react/jsx-runtime");var Ge=require("react/jsx-runtime"),lc=e=>(0,Ge.jsx)(q,{children:(0,Ge.jsxs)(Ge.Fragment,{children:[(0,Ge.jsx)("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),(0,Ge.jsx)(ee,{children:(0,Ge.jsx)(V,{})}),(0,Ge.jsx)(ee,{type:"sender",children:(0,Ge.jsx)(V,{})}),(0,Ge.jsx)(ee,{children:(0,Ge.jsx)(V,{text:"Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior."})}),(0,Ge.jsx)(ee,{type:"sender",children:(0,Ge.jsx)(V,{text:"Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior"})})]}),...e});var ni=require("react/jsx-runtime"),es="k-file-box-wrapper",pc={layout:"horizontal"},Ut=e=>{let{layout:t=pc.layout,scrollingPosition:o,...a}=e;return(0,ni.jsx)("ul",{role:"list","aria-label":"Attached files",...a,className:s(e.className,es,{"k-files-vertical":t==="vertical","k-files-wrap":t==="wrap",[`${es}-scrollable-start`]:t==="horizontal"&&(o==="start"||o==="both"),[`${es}-scrollable-end`]:t==="horizontal"&&(o==="end"||o==="both")}),children:t==="horizontal"?(0,ni.jsx)("div",{className:"k-files-scroll",role:"presentation",children:e.children}):e.children})};Ut.className=es;Ut.defaultOptions=pc;var si="file-box",dc=si;var Ft=require("react/jsx-runtime"),cc="k-file-box",ah=[r.selected],nh={},mn={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},et=e=>{let{icon:t=mn.icon,name:o=mn.name,size:a=mn.size,status:n,deleted:i,removeButton:l,showButton:c=mn.showButton,...u}=e,b=[o,a].filter(Boolean).join(" ");return(0,Ft.jsxs)("li",{role:"listitem",tabIndex:0,"aria-label":b||void 0,...u,className:s(cc,e.className,{"k-file-deleted":i}),children:[(0,Ft.jsx)(v,{icon:t,size:"xlarge","aria-hidden":"true"}),(0,Ft.jsxs)("div",{className:"k-file-info",children:[o&&(0,Ft.jsx)("span",{className:"k-file-name",children:o}),a&&(0,Ft.jsx)("span",{className:"k-file-size",children:a}),n&&(0,Ft.jsx)("span",{className:"k-file-status",children:n})]}),c&&(l?(0,Ft.jsx)(p,{as:"span",icon:"x-circle",fillMode:"flat",size:"xsmall","aria-hidden":"true"}):(0,Ft.jsx)(F,{icon:"more-vertical",fillMode:"flat",size:"xsmall",showArrow:!1,"aria-label":"File actions"}))]})};et.states=ah;et.options=nh;et.className=cc;et.defaultOptions=mn;et.moduleName=si;et.folderName=dc;var sh=require("react/jsx-runtime");var rh=require("react/jsx-runtime");var mc=require("react/jsx-runtime");var uc=require("react/jsx-runtime");var ih=require("react/jsx-runtime");var ri=require("react/jsx-runtime");var ii=require("react/jsx-runtime");var li="skeleton",fc=li;var bc=require("react/jsx-runtime"),pi="k-skeleton",lh=["circle","text","rect"],ph=[],dh={},di={variant:"text",shape:"text",animation:"pulse"},Gt=e=>{let{variant:t,shape:o,animation:a=di.animation,...n}=e,i=`skeleton-${t||o||di.variant}`;return(0,bc.jsx)("span",{...n,className:s(e.className,pi,hn(pi,i),{[`k-skeleton-${a}`]:a}),style:e.style})};Gt.states=ph;Gt.options=dh;Gt.variants=lh;Gt.className=pi;Gt.defaultOptions=di;Gt.moduleName=li;Gt.folderName=fc;var ch=require("react/jsx-runtime");var mh=require("react/jsx-runtime");var uh=require("react/jsx-runtime");var ci=require("react/jsx-runtime");var mi=require("react/jsx-runtime");var ui="window",xc=ui;var hc=require("react/jsx-runtime"),Nc="k-window-content",fh=[],bh={},xh={},fo=e=>{let{children:t,...o}=e;return(0,hc.jsx)("div",{...o,className:s(Nc,e.className),children:t})};fo.states=fh;fo.options=bh;fo.className=Nc;fo.defaultOptions=xh;fo.moduleName=ui;fo.folderName=xc;var un="dialog",ts=un;var tt=require("react/jsx-runtime"),vc="k-dialog",Nh=[],hh={},fi={actionButtonsAlign:"stretched",modal:!0},dt=e=>{let{title:t,actions:o,actionButtons:a,actionButtonsAlign:n=fi.actionButtonsAlign,modal:i=fi.modal,...l}=e,c=t!==void 0?K("dialog-titlebar"):void 0,u=K("dialog-content");return(0,tt.jsxs)("div",{className:"k-dialog-wrapper",children:[i&&(0,tt.jsx)(Rt,{}),(0,tt.jsxs)("div",{...l,className:s(e.className,vc,"k-window"),role:"dialog","aria-labelledby":c,"aria-describedby":u,...i&&{"aria-modal":"true"},children:[(t!==void 0||o)&&(0,tt.jsxs)("div",{className:"k-window-titlebar k-dialog-titlebar",id:c,children:[t!==void 0&&(0,tt.jsx)("span",{className:"k-window-title k-dialog-title",children:t}),o&&(0,tt.jsx)(tt.Fragment,{children:(0,tt.jsx)("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(b=>(0,tt.jsx)(p,{icon:b,fillMode:"flat",size:"xsmall",className:"k-window-titlebar-action k-dialog-titlebar-action","aria-label":b},b))})})]}),(0,tt.jsx)(fo,{className:"k-dialog-content",id:u,children:e.children}),a&&(0,tt.jsx)(nt,{alignment:n,className:"k-window-actions k-dialog-actions",children:a})]})]})};dt.states=Nh;dt.options=hh;dt.className=vc;dt.defaultOptions=fi;dt.moduleName=un;dt.folderName=ts;var bi=dt;var Lc=require("react/jsx-runtime"),gc="k-dialog-wrapper",vh=[],gh={},Lh={},ka=e=>{let{...t}=e;return(0,Lc.jsx)("div",{...t,className:s(e.className,gc),children:e.children})};ka.states=vh;ka.options=gh;ka.className=gc;ka.defaultOptions=Lh;ka.moduleName=un;ka.folderName=ts;var Vt=require("react/jsx-runtime"),Mc=e=>(0,Vt.jsx)(bi,{title:"Title",children:(0,Vt.jsx)(Vt.Fragment,{children:"Dialog content"}),actionButtons:(0,Vt.jsxs)(Vt.Fragment,{children:[(0,Vt.jsx)(p,{children:"Action"}),(0,Vt.jsx)(p,{themeColor:"primary",children:"Primary"})]}),actions:["x"],...e});var xi=require("react/jsx-runtime");var to=require("react/jsx-runtime"),Mh=dt.options,Sh=[],kh=dt.states,Ch=dt.defaultOptions,Ah=[],Ca=e=>(0,to.jsx)(Mc,{style:{width:"350px",height:"215px"},...e,title:"Please confirm",actions:["x"],actionButtonsAlign:"stretched",actionButtons:(0,to.jsxs)(to.Fragment,{children:[(0,to.jsx)(p,{children:"No"}),(0,to.jsx)(p,{themeColor:"primary",children:"Yes"})]}),children:(0,to.jsx)("p",{style:{margin:"36px",textAlign:"center"},children:"Are you sure you want to continue?"})});Ca.options=Mh;Ca.states=kh;Ca.variants=Sh;Ca.defaultOptions=Ch;Ca.modifiers=Ah;Ca.className=dt.className;var Ni="dropzone",Sc=Ni;var Po=require("react/jsx-runtime"),hi="k-external-dropzone",Eh=[r.disabled,r.hover],yh={},vi={icon:"upload",hint:"Drag and drop files here to upload"},Ve=e=>{let{hover:t,disabled:o,icon:a=vi.icon,hint:n=vi.hint,note:i,...l}=e;return(0,Po.jsx)("div",{...l,className:s(e.className,hi,C(hi,{disabled:o}),{"k-external-dropzone-hover":t}),children:(0,Po.jsxs)("div",{className:"k-dropzone-inner",children:[a&&(0,Po.jsx)(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),n&&(0,Po.jsx)("span",{className:"k-dropzone-hint",children:n}),i&&(0,Po.jsx)("span",{className:"k-dropzone-note",children:i})]})})};Ve.states=Eh;Ve.options=yh;Ve.className=hi;Ve.defaultOptions=vi;Ve.moduleName=Ni;Ve.folderName=Sc;var Cc=require("react/jsx-runtime"),kc=e=>(0,Cc.jsx)(Ve,{...e});var Ih=require("react/jsx-runtime");var Ac=require("react/jsx-runtime"),Th=Ve.options,Oh=Ve.states,Bh=Ve.defaultOptions,Ph=[{name:"note",title:"Note"}],Kh=[],Aa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="note"&&(a.note=t!=null&&t[n]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),(0,Ac.jsx)(kc,{style:{width:"500px"},...o,...a})};Aa.options=Th;Aa.states=Oh;Aa.variants=Kh;Aa.defaultOptions=Bh;Aa.modifiers=Ph;Aa.className=Ve.className;var se=require("react/jsx-runtime"),gi="k-upload-dropzone",Rh=[r.hover],os=e=>{let{hover:t,status:o,disabled:a,hasFiles:n,filesId:i,buttonText:l="Select files...",...c}=e,u;switch(o){case"uploading":u=(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(v,{icon:"upload"}),"Uploading..."]});break;case"done":u=(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(v,{icon:"check"}),"Done"]});break;case"failed":u=(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(v,{icon:"exclamation-circle"}),"Done"]});break;default:u=(0,se.jsx)(se.Fragment,{});break}return(0,se.jsxs)("div",{...c,className:s(e.className,gi,"k-dropzone",C(gi,{hover:t})),children:[(0,se.jsxs)("div",{className:"k-upload-button-wrap",children:[(0,se.jsx)(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...n&&i?{"aria-controls":i}:{},children:l}),(0,se.jsx)("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),(0,se.jsx)("span",{className:s("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&(0,se.jsx)("span",{className:"k-upload-status",children:u})]})};os.states=Rh;os.className=gi;var Li="upload",Ec=Li;var bo=require("react/jsx-runtime"),Mi="k-upload",_h=[r.hover,r.disabled],wh={},Ic={actionsLayout:"end"},yc="upload-files-list",de=e=>{let{async:t,empty:o,actions:a,actionsLayout:n=Ic.actionsLayout,hover:i,status:l,disabled:c,buttonText:u,...b}=e,x=!!e.children;return(0,bo.jsxs)("div",{...b,className:s(e.className,Mi,C(Mi,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[(0,bo.jsx)(os,{status:l,hover:i,disabled:c,hasFiles:x,filesId:yc,buttonText:u}),x&&(0,bo.jsx)("ul",{className:"k-upload-files",role:"list",id:yc,children:e.children}),a&&x&&(0,bo.jsxs)(gl,{alignment:n,orientation:"horizontal",children:[(0,bo.jsx)(p,{className:"k-clear-selected",children:"Clear"}),(0,bo.jsx)(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};de.states=_h;de.options=wh;de.className=Mi;de.defaultOptions=Ic;de.moduleName=Li;de.folderName=Ec;var fn="progressbar",as=fn;var xo=require("react/jsx-runtime"),Lt="k-progressbar",Dh=[r.disabled,r.indeterminate],Hh={orientation:["horizontal","vertical"]},Ko={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},$e=e=>{let{disabled:t,height:o,indeterminate:a=Ko.indeterminate,label:n=Ko.label,labelPosition:i=Ko.labelPosition,orientation:l=Ko.orientation,reverse:c=Ko.reverse,value:u=Ko.value,width:b,style:x,ariaLabel:g,...m}=e;return(0,xo.jsxs)("div",{...m,className:s(e.className,Lt,C(Lt,{disabled:t}),{[`${Lt}-${l}`]:l,[`${Lt}-indeterminate`]:a,[`${Lt}-reverse`]:c}),style:{...x,"--kendo-progressbar-value":u,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:b},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(u),"aria-valuemin":0,"aria-valuemax":100,children:[(0,xo.jsx)("span",{className:s("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:n&&(0,xo.jsxs)("span",{className:"k-progress-status",children:[u,"%"]})}),!a&&(0,xo.jsx)("div",{className:"k-progressbar-value k-selected",children:(0,xo.jsx)("span",{className:s("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:n&&(0,xo.jsxs)("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};$e.states=Dh;$e.options=Hh;$e.className=Lt;$e.defaultOptions=Ko;$e.moduleName=fn;$e.folderName=as;var Tc=$e;var ss=require("react/jsx-runtime"),Oc="k-chunk-progressbar",zh=(e,t)=>t<=e-1,Uh=[r.disabled,r.indeterminate],Fh={},ns={chunkCount:5,orientation:"horizontal",progress:0},Ea=e=>{let{disabled:t,chunkCount:o=ns.chunkCount,indeterminate:a,orientation:n=ns.orientation,progress:i=ns.progress,reverse:l,ariaLabel:c,...u}=e;return(0,ss.jsx)("div",{...u,className:s(e.className,Lt,Oc,C(Lt,{disabled:t}),{[`${Lt}-${n}`]:n,[`${Lt}-indeterminate`]:a,[`${Lt}-reverse`]:l}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:(0,ss.jsx)("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((b,x)=>(0,ss.jsx)("li",{className:s("k-progressbar-chunk",{"k-first":x===0,"k-last":x===[...Array(o)].length-1,"k-selected":zh(i,x)})},x))})})};Ea.states=Uh;Ea.options=Fh;Ea.className=Oc;Ea.defaultOptions=ns;Ea.moduleName=fn;Ea.folderName=as;var Bc=require("react/jsx-runtime"),bn=e=>(0,Bc.jsx)(Tc,{...e});var Gh=require("react/jsx-runtime");var oo=require("react/jsx-runtime"),Vh=$e.options,$h=$e.states,Pc={...$e.defaultOptions,variant:"start"},Xh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],qh=[],ya=e=>{let{variant:t,modifiers:o,...a}={...Pc,...e},n={},i={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":n.reverse=!!(o!=null&&o[l]);break;case"vertical":n.orientation=o!=null&&o[l]?"vertical":void 0,i.style=o!=null&&o[l]?void 0:{width:"324px"};break}}),t){case"end":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(bn,{...a,...n,labelPosition:"end",value:"50"})});case"center":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(bn,{...a,...n,labelPosition:"center",value:"50"})});case"empty":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(bn,{...a,...n,label:!1,value:"50"})});default:return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(bn,{...a,...n,labelPosition:"start",value:"50"})})}};ya.options=Vh;ya.states=$h;ya.variants=Xh;ya.defaultOptions=Pc;ya.modifiers=qh;ya.className=$e.className;var Ia=require("react/jsx-runtime"),Wh="k-file-info",Si=e=>{let{name:t,size:o,validationMsg:a,...n}=e;return(0,Ia.jsxs)("div",{...n,className:s(e.className,Wh),children:[t&&(0,Ia.jsx)("span",{className:"k-file-name",children:t}),o&&(0,Ia.jsx)("span",{className:"k-file-size",children:o}),a&&(0,Ia.jsx)("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};var Se=require("react/jsx-runtime"),Jh="k-file",ot=e=>{let{status:t,progress:o,name:a,icon:n,size:i,state:l,validationMsg:c,...u}=e;return(0,Se.jsx)("li",{...u,className:s(e.className,Jh,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:(0,Se.jsxs)("div",{className:"k-file-single",children:[(0,Se.jsx)($e,{className:s({"k-hidden":t!=="progress"}),value:o,label:!1}),(0,Se.jsxs)("span",{className:"k-file-icon-wrapper",children:[(0,Se.jsx)(v,{className:"k-file-icon",icon:n,size:"xxlarge"}),l&&(0,Se.jsx)("span",{className:"k-file-state",children:l})]}),(0,Se.jsx)(Si,{name:a,size:i,validationMsg:c}),(0,Se.jsx)("div",{className:"k-upload-actions",children:t==="progress"?(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsxs)("span",{className:"k-upload-pct",children:[o,"%"]}),(0,Se.jsx)(p,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),(0,Se.jsx)(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):(0,Se.jsx)(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};var ki=require("react/jsx-runtime");var No=require("react/jsx-runtime"),xn=e=>(0,No.jsx)(de,{async:!0,children:(0,No.jsxs)(No.Fragment,{children:[(0,No.jsx)(ot,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),(0,No.jsx)(ot,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});var Ci=require("react/jsx-runtime");var Rc=require("react/jsx-runtime"),Kc=e=>(0,Rc.jsx)(de,{async:!0,empty:!0,...e});var Ai=require("react/jsx-runtime");var Ei=require("react/jsx-runtime");var Xe=require("react/jsx-runtime"),Yh=de.options,Zh=de.states,_c={...de.defaultOptions,variant:"empty"},Qh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],jh=[],Ta=e=>{let{variant:t,...o}={..._c,...e};switch(t){case"success":return(0,Xe.jsxs)(xn,{status:"done",style:{width:"586px"},...o,children:[(0,Xe.jsx)(ot,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),(0,Xe.jsx)(ot,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return(0,Xe.jsxs)(xn,{status:"failed",style:{width:"586px"},...o,children:[(0,Xe.jsx)(ot,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),(0,Xe.jsx)(ot,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return(0,Xe.jsxs)(xn,{status:"uploading",style:{width:"586px"},...o,children:[(0,Xe.jsx)(ot,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),(0,Xe.jsx)(ot,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return(0,Xe.jsxs)(xn,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[(0,Xe.jsx)(ot,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),(0,Xe.jsx)(ot,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return(0,Xe.jsx)(Kc,{async:!0,status:"upload",style:{width:"586px"},...o})}};Ta.options=Yh;Ta.states=Zh;Ta.variants=Qh;Ta.defaultOptions=_c;Ta.modifiers=jh;Ta.className=de.className;var yi=require("react/jsx-runtime");var ev=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var Ti=require("react/jsx-runtime");var Oi=require("react/jsx-runtime");var wc=require("react/jsx-runtime");var Bi="appbar",Dc=Bi;var Hc=require("react/jsx-runtime"),Pi="k-appbar",tv=[],ov={themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.inverse]},av={},qe=e=>{let{themeColor:t,positionMode:o,position:a,...n}=e;return(0,Hc.jsx)("div",{...n,className:s(e.className,Pi,y(Pi,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${a}`]:a}),children:e.children})};qe.states=tv;qe.options=ov;qe.className=Pi;qe.defaultOptions=av;qe.moduleName=Bi;qe.folderName=Dc;var zc=require("react/jsx-runtime"),nv="k-appbar-section",$t=e=>{let{...t}=e;return(0,zc.jsx)("div",{...t,className:s(nv,e.className),children:e.children})};var Ki=require("react/jsx-runtime");var H=require("react/jsx-runtime"),Ri={...qe.options,positionMode:["static","sticky","fixed"]},sv=qe.states,Uc={...qe.defaultOptions,themeColor:"primary",variant:"top",positionMode:"sticky"};Ri.themeColor=["primary",...Ri.themeColor.filter(e=>e!=="primary")];var rv=[{name:"top",title:"Top"},{name:"bottom",title:"Bottom"}],Oa=e=>{let{variant:t,...o}={...Uc,...e},a=(0,H.jsxs)(qe,{position:t,...o,children:[(0,H.jsx)($t,{children:(0,H.jsx)(W,{fillMode:"flat",icon:"menu"})}),(0,H.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,H.jsx)($t,{children:(0,H.jsx)("h3",{className:"k-m-0",children:"AppBar"})}),(0,H.jsx)("span",{className:"k-spacer"}),(0,H.jsxs)($t,{children:[(0,H.jsx)(kt,{fillMode:"flat",children:"Button"}),(0,H.jsx)(kt,{fillMode:"flat",children:"Button"}),(0,H.jsx)(kt,{fillMode:"flat",children:"Button"})]}),(0,H.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,H.jsx)($t,{children:(0,H.jsx)(In,{value:"Input value"})}),(0,H.jsxs)($t,{children:[(0,H.jsx)(W,{className:"k-mx-sm",fillMode:"flat",icon:"bell"}),(0,H.jsx)("span",{className:"k-appbar-separator"}),(0,H.jsx)(Qn,{className:"k-mx-sm",children:(0,H.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})]})]}),n=(0,H.jsxs)("div",{style:{padding:"25px 10px"},children:[(0,H.jsx)("p",{children:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugit, harum magnam? Possimus magnam non natus error consectetur voluptatum, unde quasi rerum ad facere, hic in! Qui ducimus ab sed consequuntur excepturi fugiat! Facilis fuga asperiores pariatur sed. Eligendi aliquid vel nemo, ipsum tempora minima consequatur culpa molestias maiores nihil eveniet accusantium porro. Inventore saepe ut ad in a. Quo itaque est expedita quidem consectetur enim quam minima, quisquam harum velit, earum adipisci provident, officia eveniet voluptas vero accusamus ad ducimus laudantium!"}),(0,H.jsx)("p",{children:"Consequatur incidunt sequi explicabo adipisci saepe, accusamus, numquam fuga quam ex, provident possimus ratione blanditiis ducimus quos nulla repellat error pariatur nemo nobis illo! Saepe deleniti dolore cumque, sequi similique eligendi consectetur corrupti iste reprehenderit adipisci enim laudantium inventore totam quos non impedit quibusdam et consequuntur blanditiis accusamus! Rerum, nostrum. Rerum, tempore earum officia alias suscipit ut minima recusandae dolorem reprehenderit ea?"}),(0,H.jsx)("p",{children:"Aliquam pariatur ut expedita, repellat architecto aut, consequatur iure recusandae tempora odit consequuntur, nihil nostrum totam accusantium at. Dignissimos repellendus culpa nesciunt. Officia repudiandae, laudantium error iure in minus ratione reprehenderit dolorum alias quo voluptatibus doloremque aliquid exercitationem quidem odit earum natus autem eaque tempore nulla esse sapiente? Dolore aliquid aliquam modi velit quaerat!"}),(0,H.jsx)("p",{children:"Sunt consequuntur, aliquam eius beatae ex odit quasi iusto, accusamus architecto corrupti reprehenderit dolores itaque aliquid veniam odio eaque vel doloremque? Corporis, tenetur delectus deleniti voluptatum autem necessitatibus esse nisi ad, optio cumque quas dignissimos reprehenderit. Optio dolores quam corporis ea, reiciendis eos sit. Voluptate vel esse necessitatibus eum, sunt fuga, quaerat, eos natus quod repellendus nulla voluptatem ut quo quas ipsa animi incidunt autem saepe perferendis. Sequi ratione in iste, quibusdam, neque facilis accusantium, eum rem error sunt a explicabo commodi impedit quam."})]});return t==="bottom"?(0,H.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[n,a]}):(0,H.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[a,n]})};Oa.options=Ri;Oa.states=sv;Oa.variants=rv;Oa.defaultOptions=Uc;Oa.modifiers=[];Oa.className=qe.className;var _i="suggestion",Fc=_i;var Ro=require("react/jsx-runtime"),rs="k-suggestion-group",iv=[],lv={},Gc={layout:"scrollable",scrollingPosition:"start"},Mt=e=>{let{layout:t=Gc.layout,scrollingPosition:o,...a}=e,n=(0,Ro.jsx)("div",{...a,className:s(rs,{"k-suggestion-group-scrollable":t=="scrollable",[`${rs}-scrollable-start`]:o==="start"||o==="both",[`${rs}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?(0,Ro.jsx)("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?(0,Ro.jsxs)("div",{className:"k-suggestion-scrollwrap",children:[(0,Ro.jsx)(p,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,(0,Ro.jsx)(p,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};Mt.states=iv;Mt.options=lv;Mt.className=rs;Mt.defaultOptions=Gc;Mt.moduleName=_i;Mt.folderName=Fc;var Vc=require("react/jsx-runtime"),is="k-suggestion",pv=[r.active,r.hover,r.focus],dv={themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},cv={text:"Suggestion"},St=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:i,...l}=e;return(0,Vc.jsx)("span",{...l,className:s(e.className,is,C(is,{hover:a,active:o,focus:n}),y(is,{themeColor:t})),role:"button",tabIndex:0,"aria-label":i,children:i})};St.states=pv;St.options=dv;St.className=is;St.item=cv;var wi=require("react/jsx-runtime");var Di=require("react/jsx-runtime");var Hi=require("react/jsx-runtime");var z=require("react/jsx-runtime"),mv=q.states,uv=q.defaultOptions,fv=q.options,bv=[{name:"header",title:"Header"},{name:"pinned",title:"Pinned"},{name:"suggested",title:"Suggested Actions"},{name:"author",title:"Author"},{name:"avatar",title:"Avatar"},{name:"quick",title:"Quick Replies"}],xv=[],Ba=e=>{let{modifiers:t,...o}=e,a={author:null,avatar:null},n=(0,z.jsxs)(qe,{className:"k-chat-header",positionMode:"sticky",themeColor:"primary",children:[(0,z.jsx)("span",{className:"k-spacer k-spacer-sized k-w-1"}),(0,z.jsx)($t,{children:(0,z.jsx)("span",{children:"Chat with demo bot"})}),(0,z.jsx)("span",{className:"k-spacer"}),(0,z.jsx)($t,{children:(0,z.jsx)(p,{fillMode:"flat",icon:"more-vertical"})})]}),i=(0,z.jsx)(uo,{type:"sender",pinned:!0,content:"Hello! Generate a cover letter.",closeable:!0}),l=(0,z.jsxs)(Mt,{children:[(0,z.jsx)(St,{text:"Provide a CV template"}),(0,z.jsx)(St,{text:"Generate a cover letter"})]}),c=(0,z.jsxs)(Mt,{children:[(0,z.jsx)(St,{themeColor:"primary",text:"Thank you!"}),(0,z.jsx)(St,{themeColor:"primary",text:"Great!"})]}),u="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",b=null,x="User",g="Demo Bot";Object.keys(t||{}).forEach(I=>{switch(I){case"header":a.header=t!=null&&t[I]?n:!1;break;case"pinned":a.pinned=t!=null&&t[I]?i:!1;break;case"suggested":a.suggestedActions=t!=null&&t[I]?l:!1;break;case"author":a.author=t!=null&&t[I]?!0:null;break;case"avatar":a.avatar=t!=null&&t[I]?u:null;break;case"quick":a.quickReplies=t!=null&&t[I]?c:(0,z.jsx)(z.Fragment,{});break;default:break}});let{header:m,pinned:L,suggestedActions:M,author:S,avatar:E,quickReplies:k}=a;return(0,z.jsxs)(lc,{value:"Thank you!",style:{minHeight:"100%"},...o,header:m,pinned:L,suggestedActions:M,children:[(0,z.jsx)(ee,{avatar:b,author:S?g:null,children:(0,z.jsx)(V,{text:"Hello, this is a demo bot. How can I help you ?"})}),(0,z.jsx)(ee,{avatar:E?u:null,author:S?x:null,type:"sender",children:(0,z.jsx)(V,{text:"Hello! Generate a cover letter."})}),(0,z.jsx)(ee,{avatar:b,author:S?g:null,children:(0,z.jsx)(V,{text:"Sure. Here is a cover letter template",files:(0,z.jsx)(Ut,{children:(0,z.jsx)(et,{icon:"file-pdf",name:"cover_letter.pdf",size:"1.43MB"})})})}),k]})};Ba.options=fv;Ba.states=mv;Ba.variants=xv;Ba.defaultOptions=uv;Ba.modifiers=bv;Ba.className=q.className;var re=require("react/jsx-runtime"),zi="k-message",Nv=[r.hover,r.selected,r.active,r.focus],hv={},vv=[(0,re.jsx)(p,{icon:"copy",fillMode:"flat","aria-label":"Copy"}),(0,re.jsx)(p,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Retry"}),(0,re.jsx)(p,{icon:"download",fillMode:"flat","aria-label":"Download"})],Pa={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:vv,failed:"Failed to send"},V=e=>{let{time:t=Pa.time,text:o=Pa.text,content:a,status:n=Pa.status,statusIcon:i,toolbarItems:l=Pa.toolbarItems,hover:c,selected:u,active:b,focus:x,toolbar:g,typing:m,expandable:L,expanded:M,removed:S,files:E,failed:k,...I}=e,D=k===!0?Pa.failed:k;return(0,re.jsxs)("div",{...I,className:s(zi,e.className,{"k-message-removed":S,"k-message-failed":k}),children:[k&&(0,re.jsx)(W,{className:"k-resend-button",icon:"arrow-rotate-cw",size:"xsmall",fillMode:"clear","aria-label":"Resend"}),(0,re.jsx)(sc,{typing:m,selected:u,hover:c,active:b,focus:x,content:(0,re.jsxs)(re.Fragment,{children:[a,o&&(0,re.jsx)("span",{className:"k-chat-bubble-text",children:o})]}),expandable:L,expanded:M,files:E}),(0,re.jsxs)("div",{className:"k-message-info",children:[n&&(0,re.jsxs)("span",{className:"k-message-status",children:[i&&(0,re.jsx)(v,{icon:i,size:"xsmall"}),n]}),t&&(0,re.jsx)("time",{className:"k-message-time",children:t}),k&&(0,re.jsxs)("span",{className:"k-message-failed-content",children:[k&&(0,re.jsx)(v,{icon:"warning-triangle",size:"xsmall"}),k&&(0,re.jsx)("span",{className:"k-message-failed-text",children:D})]})]}),g&&(0,re.jsx)($,{className:"k-chat-message-toolbar",fillMode:"flat",children:l})]})};V.states=Nv;V.options=hv;V.className=zi;V.moduleName=null;V.folderName=null;V.defaultOptions=Pa;var gv=V;
|
|
1
|
+
var $c=Object.create;var Nn=Object.defineProperty;var Xc=Object.getOwnPropertyDescriptor;var qc=Object.getOwnPropertyNames;var Wc=Object.getPrototypeOf,Jc=Object.prototype.hasOwnProperty;var Yc=(e,t)=>{for(var o in t)Nn(e,o,{get:t[o],enumerable:!0})},Fi=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of qc(t))!Jc.call(e,n)&&n!==o&&Nn(e,n,{get:()=>t[n],enumerable:!(a=Xc(t,n))||a.enumerable});return e};var Gi=(e,t,o)=>(o=e!=null?$c(Wc(e)):{},Fi(t||!e||!e.__esModule?Nn(o,"default",{value:e,enumerable:!0}):o,e)),Zc=e=>Fi(Nn({},"__esModule",{value:!0}),e);var Lv={};Yc(Lv,{CHATMESSAGE_CLASSNAME:()=>zi,ChatMessage:()=>V,default:()=>gv});module.exports=Zc(Lv);var s=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?s(...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 y=(e,t)=>s({[`${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"}),C=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:i,checked:l,active:c,selected:u,disabled:b,indeterminate:x,loading:g,empty:m,readonly:L,highlighted:M,...S}=t;return s({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":i,"k-checked":l,"k-active":c,"k-selected":u,"k-disabled":b,"k-indeterminate":x&&!l,"k-loading":g,"k-empty":m,"k-readonly":L,"k-highlighted":M},Object.keys(S).reduce((E,k)=>(k.startsWith("k-")?E[k]=S[k]:E[`k-${k}`]=S[k],E),{}))};function hn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},Bt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},h={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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"};var cs={};function K(e){return cs[e]=(cs[e]||0)+1,`k-${e}-${cs[e]}`}var _a=require("react/jsx-runtime"),ms="k-font-icon",Qc=[],jc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info]},em={},wa=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...l}=e;return a?(0,_a.jsx)("span",{...l,className:s(e.className,ms,y(ms,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):(0,_a.jsx)(_a.Fragment,{})};wa.states=Qc;wa.options=jc;wa.className=ms;wa.defaultOptions=em;var Vi=wa;var go=require("react/jsx-runtime"),us="k-svg-icon",tm=[],om={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info],variant:[Bt.outline,Bt.solid,Bt.duotone]},fs={viewBox:"0 0 24 24",variant:Bt.outline},Da=e=>{var g,m;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=fs.viewBox,variant:l=fs.variant,icon:c,...u}=e;if(!c)return(0,go.jsx)(go.Fragment,{});if(c==="none")return(0,go.jsx)("span",{...u,className:s(e.className,us,y("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof c=="object"&&c.name&&c.name,x=typeof c=="object"?l&&((g=c.variants)==null?void 0:g[l])||((m=c.variants)==null?void 0:m.outline)||c.content:void 0;return(0,go.jsx)("span",{...u,className:s(e.className,us,y("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`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:(0,go.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:i,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:c?void 0:e.children})})};Da.states=tm;Da.options=om;Da.className=us;Da.defaultOptions=fs;var bs=Da;var xs=Gi(require("@progress/kendo-svg-icons"));var $i="icon",Xi="icons";var Ji=require("react");var qi=require("react"),Wi=(0,qi.createContext)({iconsType:"svg"});var Xt=require("react/jsx-runtime"),vn="k-icon",am=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),nm=[],sm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info],variant:[Bt.outline,Bt.solid,Bt.duotone]},gn={viewBox:"0 0 24 24",type:"svg",variant:Bt.outline},v=e=>{let{iconsType:t}=(0,Ji.useContext)(Wi),{size:o,themeColor:a,icon:n,type:i=t||gn.type,rotate:l,flip:c,viewBox:u=gn.viewBox,variant:b=gn.variant,...x}=e;if(!n)return(0,Xt.jsx)(Xt.Fragment,{});if((t||i)==="svg"){if(n==="none")return(0,Xt.jsx)(bs,{...x,className:s(e.className,vn),icon:n,size:o,variant:b});let m=xs[n]?n:am(`${n}-icon`);return xs[m]?(0,Xt.jsx)(bs,{...x,className:s(e.className,vn),icon:xs[m],size:o,themeColor:a,rotate:l,flip:c,viewBox:u,variant:b}):(0,Xt.jsx)(Xt.Fragment,{})}return(0,Xt.jsx)(Vi,{...x,className:s(e.className,vn),icon:n,size:o,themeColor:a,rotate:l,flip:c})};v.states=nm;v.options=sm;v.defaultOptions=gn;v.className=vn;v.moduleName=$i;v.folderName=Xi;var Ns="button",Yi=Ns;var Ce=require("react/jsx-runtime"),Ha="k-button",rm=["icon-button"],im=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],lm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info,h.inverse]},hs={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:l=hs.showArrow,arrowIconName:c=hs.arrowIconName,variant:u,hover:b,focus:x,active:g,selected:m,disabled:L,togglable:M,ariaDisabled:S,icon:E,endIcon:k,iconSize:I,text:D,iconClassName:ue,className:We,...ke}=e,Pe=E!=null,Ka=e.children!==void 0;return(0,Ce.jsxs)(t,{className:s(We,Ha,hn(Ha,u),y(Ha,{size:o,rounded:a,fillMode:n,themeColor:i}),C(Ha,{hover:b,focus:x,active:g,disabled:L||S,selected:m}),{"k-icon-button":!D&&!Ka&&Pe}),"aria-pressed":M?m?"true":"false":void 0,...ke,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof E=="string"&&E&&(0,Ce.jsx)(v,{className:s(ue,"k-button-icon"),icon:E,size:I}),E&&typeof E!="string"&&(0,Ce.jsx)(Ce.Fragment,{children:E}),D?(0,Ce.jsxs)(Ce.Fragment,{children:[D&&(0,Ce.jsx)("span",{className:"k-button-text",children:D}),e.children]}):e.children&&(0,Ce.jsx)("span",{className:"k-button-text",children:e.children}),typeof k=="string"&&k&&(0,Ce.jsx)(v,{className:s(ue,"k-button-icon"),icon:k,size:I}),k&&typeof k!="string"&&(0,Ce.jsx)(Ce.Fragment,{children:k}),l&&(0,Ce.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Ce.jsx)(v,{icon:c})})]})};p.states=im;p.options=lm;p.variants=rm;p.className=Ha;p.defaultOptions=hs;p.moduleName=Ns;p.folderName=Yi;var Zi=require("react/jsx-runtime"),W=e=>(0,Zi.jsx)(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Qi=require("react/jsx-runtime"),za=e=>(0,Qi.jsx)(p,{icon:"folder",children:"Button",...e});var pm=require("react/jsx-runtime");var ji=require("react/jsx-runtime"),kt=e=>(0,ji.jsx)(p,{children:"Button",...e});var Ln=require("react/jsx-runtime"),dm=p.options,cm=p.states,mm={...p.defaultOptions,variant:"text"},um=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],fm=[],_o=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Ln.jsx)(W,{...o,icon:"star"});case"icon-and-text":return(0,Ln.jsx)(za,{...o,icon:"star",children:"Button"});default:return(0,Ln.jsx)(kt,{...o,children:"Button"})}};_o.options=dm;_o.states=cm;_o.variants=um;_o.defaultOptions=mm;_o.modifiers=fm;_o.className=p.className;var vs="button",el=vs;var tl=require("react/jsx-runtime"),Ua="k-button-group",bm=[r.disabled],xm={fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},Nm={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,tl.jsx)("div",{role:"group",...n,className:s(e.className,Ua,y(Ua,{fillMode:t}),C(Ua,{disabled:o}),{[`${Ua}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=bm;B.options=xm;B.className=Ua;B.defaultOptions=Nm;B.moduleName=vs;B.folderName=el;var gs=require("react/jsx-runtime");var Ls=require("react/jsx-runtime");var Ms=require("react/jsx-runtime");var Ss=require("react/jsx-runtime");var ks=require("react/jsx-runtime");var Cs=require("react/jsx-runtime");var As=require("react/jsx-runtime");var Je=require("react/jsx-runtime"),hm={...p.options,...B.options},vm=p.states,gm={...p.defaultOptions,...B.defaultOptions,variant:"text-button"},Lm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Mm=[],wo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Je.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,Je.jsx)(p,{...a,icon:"star"}),(0,Je.jsx)(p,{...a,icon:"star"}),(0,Je.jsx)(p,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Je.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,Je.jsx)(p,{...a,icon:"star",children:"First"}),(0,Je.jsx)(p,{...a,icon:"star",children:"Middle"}),(0,Je.jsx)(p,{...a,icon:"star",children:"Last"})]}):(0,Je.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,Je.jsx)(p,{...a,children:"First"}),(0,Je.jsx)(p,{...a,children:"Middle"}),(0,Je.jsx)(p,{...a,children:"Last"})]})};wo.options=hm;wo.states=vm;wo.variants=Lm;wo.defaultOptions=gm;wo.modifiers=Mm;wo.className=B.className;var Fa="input",Mn=Fa;var ol=require("react/jsx-runtime"),Sn="k-input",Sm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],km={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Cm={},te=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:b,fillMode:x,...g}=e;return(0,ol.jsx)("span",{...g,className:s(e.className,Sn,y(Sn,{size:u,rounded:b,fillMode:x}),C(Sn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c}))})};te.states=Sm;te.options=km;te.className=Sn;te.defaultOptions=Cm;te.moduleName=Fa;te.folderName=Mn;var al=require("react/jsx-runtime"),kn="k-picker",Am=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Em={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},ym={},Pt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:b,fillMode:x,...g}=e;return(0,al.jsx)("span",{...g,className:s(e.className,kn,y(kn,{size:u,rounded:b,fillMode:x}),C(kn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c})),children:e.children})};Pt.states=Am;Pt.options=Em;Pt.className=kn;Pt.defaultOptions=ym;Pt.moduleName=Fa;Pt.folderName=Mn;var Do=require("react/jsx-runtime"),nl="k-clear-value",Im=[r.disabled,r.loading,r.readonly],Tm={},at=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Do.jsx)(Do.Fragment,{}):(0,Do.jsx)("span",{className:s(e.className,nl),children:(0,Do.jsx)(v,{icon:"x"})})};at.states=Im;at.options=Tm;at.className=nl;var sl=require("react/jsx-runtime"),Es="k-input-inner",Om=[],Bm={},Cn={type:"text",autocomplete:"off",value:"",placeholder:""},Ke=e=>{let{value:t=Cn.value,type:o=Cn.type,placeholder:a=Cn.placeholder,autocomplete:n=Cn.autocomplete,disabled:i,readOnly:l,...c}=e;return(0,sl.jsx)("input",{...c,type:o,className:s(e.className,Es,y(Es,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:l||void 0})};Ke.states=Om;Ke.options=Bm;Ke.className=Es;var Ga=require("react/jsx-runtime"),ys="k-input-inner",Pm=[],Km={},Lo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...l}=e;return(0,Ga.jsxs)("span",{...l,className:s(e.className,ys,y(ys,e)),children:[n,!n&&i&&(0,Ga.jsx)(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&(0,Ga.jsx)("span",{className:"k-input-value-text",children:t})]})};Lo.states=Pm;Lo.options=Km;Lo.className=ys;var il=require("react/jsx-runtime"),Is="k-input-inner",Rm=[],_m={},rl={value:"",placeholder:""},Va=e=>{let{value:t=rl.value,placeholder:o=rl.placeholder,rows:a,disabled:n,...i}=e;return(0,il.jsx)("textarea",{...i,className:s(e.className,Is,y(Is,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Va.states=Rm;Va.options=_m;Va.className=Is;var $a=require("react/jsx-runtime"),ll="k-input-loading-icon",wm=[r.disabled,r.loading],Ye=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,$a.jsx)($a.Fragment,{}):(0,$a.jsx)("span",{className:s(e.className,ll,"k-icon k-i-loading")})};Ye.states=wm;Ye.className=ll;var Xa=require("react/jsx-runtime"),pl="k-input-validation-icon",Dm=[r.valid,r.invalid,r.disabled,r.loading],Hm={},Re=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,i=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Xa.jsx)(Xa.Fragment,{}):(0,Xa.jsx)(v,{className:s(pl),icon:i})};Re.states=Dm;Re.options=Hm;Re.className=pl;var qa=require("react/jsx-runtime"),zm="k-input-prefix",Um={direction:"horizontal"},ct=e=>{let{direction:t=Um.direction,...o}=e;return e.children?(0,qa.jsx)("span",{...o,className:s(zm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,qa.jsx)(qa.Fragment,{})};var Wa=require("react/jsx-runtime"),Fm="k-input-suffix",Gm={direction:"horizontal"},mt=e=>{let{direction:t=Gm.direction,...o}=e;return e.children?(0,Wa.jsx)("span",{...o,className:s(Fm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Wa.jsx)(Wa.Fragment,{})};var Vm=require("react/jsx-runtime");var dl=require("react/jsx-runtime"),$m="k-input-suffix-text",Ts=e=>{let{children:t,...o}=e;return(0,dl.jsx)("span",{...o,className:s($m,e.className),children:t})};var ml=require("react/jsx-runtime"),cl="k-input-separator",Xm={direction:"vertical"},ut=e=>{let{direction:t=Xm.direction,...o}=e;return(0,ml.jsx)("span",{...o,className:s(cl,e.className,{[`${cl}-${t}`]:t})})};var ce=require("react/jsx-runtime"),qm=te.states,Wm=te.defaultOptions,Jm=te.options,Ym=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Zm=[],Ho=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:l,...c}=e,u=t==null?void 0:t.prefix,b=t==null?void 0:t.suffix,x=t==null?void 0:t["clear-button"],g=t==null?void 0:t["validation-icon"],m=t==null?void 0:t.separators;return(0,ce.jsxs)(te,{...c,valid:o,invalid:a,loading:n,disabled:i,readonly:l,style:{width:300},children:[u&&(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(ct,{children:(0,ce.jsx)(v,{icon:"lock"})}),m&&(0,ce.jsx)(ut,{})]}),(0,ce.jsx)(Ke,{placeholder:"Placeholder",value:"Value"}),g&&(0,ce.jsx)(Re,{valid:o,invalid:a,loading:n,disabled:i}),(0,ce.jsx)(Ye,{loading:n,disabled:i}),x&&(0,ce.jsx)(at,{loading:n,disabled:i,readonly:l,value:"Value"}),b&&(0,ce.jsxs)(ce.Fragment,{children:[m&&(0,ce.jsx)(ut,{}),(0,ce.jsx)(mt,{children:(0,ce.jsx)(kt,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Ho.options=Jm;Ho.states=qm;Ho.variants=Zm;Ho.defaultOptions=Wm;Ho.modifiers=Ym;Ho.className=te.className;var Ja=require("react/jsx-runtime"),ul="k-color-preview",Qm=[],jm={},ao=e=>{let{color:t,iconName:o,...a}=e;return(0,Ja.jsxs)("span",{...a,className:s(e.className,ul,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Ja.jsx)(v,{icon:o,className:"k-color-preview-icon"}),(0,Ja.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};ao.states=Qm;ao.options=jm;ao.className=ul;var Os="popup",fl=Os;var Ps=require("react/jsx-runtime"),bl="k-animation-container",eu=[],tu={},Bs={positionMode:"absolute",shown:!0},Kt=e=>{let{positionMode:t=Bs.positionMode,shown:o=Bs.shown,animationStyle:a,offset:n,...i}=e;return(0,Ps.jsx)("div",{...i,style:{...n,...e.style},className:s(e.className,bl,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Ps.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Kt.states=eu;Kt.options=tu;Kt.className=bl;Kt.defaultOptions=Bs;Kt.moduleName=Os;Kt.folderName=fl;var Ks="popup",xl=Ks;var Rs=require("react/jsx-runtime"),Nl="k-popup",ou=[],au={},hl={positionMode:"absolute"},J=e=>{let{offset:t,positionMode:o=hl.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:l,...c}=e;return(0,Rs.jsx)(Kt,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":l,children:(0,Rs.jsx)("div",{...c,className:s(e.className,Nl),children:e.children})})};J.states=ou;J.options=au;J.className=Nl;J.defaultOptions=hl;J.moduleName=Ks;J.folderName=xl;var _s="action-buttons",vl=_s;var Ll=require("react/jsx-runtime"),An="k-actions",nu=[],su={},ws={alignment:"start",orientation:"horizontal"},nt=e=>{let{alignment:t=ws.alignment,orientation:o=ws.orientation,...a}=e;return(0,Ll.jsx)("div",{...a,className:s(An,{[`${An}-${t}`]:t,[`${An}-${o}`]:o},e.className),children:e.children})};nt.states=nu;nt.options=su;nt.className=An;nt.defaultOptions=ws;nt.moduleName=_s;nt.folderName=vl;var gl=nt;var Sl=require("react/jsx-runtime"),ru="k-actionsheet-footer",Ml={alignment:"stretched",orientation:"horizontal"},no=e=>{let{alignment:t=Ml.alignment,orientation:o=Ml.orientation,template:a,as:n=a?"div":nt,...i}=e;return(0,Sl.jsx)(n,{...i,...!a&&{alignment:t,orientation:o},className:s(e.className,ru),children:e.children})};var Ds="searchbox",kl=Ds;var so=require("react/jsx-runtime"),Cl="k-searchbox",iu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],lu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},En={showIcon:!0,showClearButton:!0,icon:"search"},ft=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:b,required:x,loading:g,disabled:m,showIcon:L=En.showIcon,showClearButton:M=En.showClearButton,icon:S=En.icon,"aria-label":E,...k}=e;return(0,so.jsxs)(te,{...k,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:b,required:x,loading:g,disabled:m,className:s(e.className,Cl),children:[L&&(0,so.jsx)(v,{className:"k-input-icon",icon:S}),(0,so.jsx)(Ke,{placeholder:o,value:t,"aria-label":E}),(0,so.jsx)(Ye,{...e}),(0,so.jsx)(Re,{...e}),M&&(0,so.jsx)(at,{...e})]})};ft.states=iu;ft.options=lu;ft.className=Cl;ft.defaultOptions=En;ft.moduleName=Ds;ft.folderName=kl;var pu=require("react/jsx-runtime");var Hs="textbox",Al=Hs;var Ae=require("react/jsx-runtime"),El="k-textbox",du=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],cu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},yn={showClearButton:!0,showValidationIcon:!0,separators:!0},Ee=e=>{let{size:t,rounded:o,fillMode:a,separators:n=yn.separators,showClearButton:i=yn.showClearButton,showValidationIcon:l=yn.showValidationIcon,prefix:c,suffix:u,type:b,value:x,placeholder:g,hover:m,focus:L,valid:M,invalid:S,required:E,loading:k,disabled:I,readonly:D,id:ue,"aria-label":We,"aria-describedby":ke,...Pe}=e;return(0,Ae.jsxs)(te,{...Pe,size:t,rounded:o,fillMode:a,hover:m,focus:L,valid:M,invalid:S,required:E,loading:k,disabled:I,readonly:D,className:s(e.className,El),children:[c&&(0,Ae.jsxs)(Ae.Fragment,{children:[(0,Ae.jsx)(ct,{children:c}),n&&(0,Ae.jsx)(ut,{})]}),(0,Ae.jsx)(Ke,{id:ue,placeholder:g,value:x,type:b,disabled:I,"aria-label":We,"aria-describedby":ke,"aria-invalid":S?"true":void 0}),l&&(0,Ae.jsx)(Re,{valid:M,invalid:S,loading:k,disabled:I}),(0,Ae.jsx)(Ye,{loading:k,disabled:I}),i&&(0,Ae.jsx)(at,{loading:k,disabled:I,readonly:D,value:x}),u&&(0,Ae.jsxs)(Ae.Fragment,{children:[n&&(0,Ae.jsx)(ut,{}),(0,Ae.jsx)(mt,{children:u})]})]})};Ee.states=du;Ee.options=cu;Ee.className=El;Ee.defaultOptions=yn;Ee.moduleName=Hs;Ee.folderName=Al;var Ya=Ee;var yl=require("react/jsx-runtime"),In=e=>(0,yl.jsx)(Ya,{...e});var Il=require("react/jsx-runtime");var Tl=require("react/jsx-runtime");var mu=require("react/jsx-runtime");var Tn=require("react/jsx-runtime"),uu=Ee.states,fu=Ee.defaultOptions,bu=Ee.options,xu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Nu=[],zo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Tn.jsx)(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Tn.jsx)(kt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,Tn.jsx)(In,{value:"Value",style:{width:300},...o,...a})};zo.options=bu;zo.states=uu;zo.variants=Nu;zo.defaultOptions=fu;zo.modifiers=xu;zo.className=Ee.className;var st=require("react/jsx-runtime"),Ol="k-actionsheet-titlebar",hu={},_e=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:l,inputValue:c,inputPlaceholder:u,adaptive:b,titleId:x,children:g,...m}=e;return(0,st.jsxs)("div",{...m,className:s(e.className,Ol),children:[(0,st.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,st.jsx)("div",{className:"k-actionsheet-actions",children:a}),!g&&(0,st.jsxs)("div",{className:"k-actionsheet-title",id:x,children:[t&&(0,st.jsx)("div",{className:"k-text-center",children:t}),o&&(0,st.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&(0,st.jsx)("div",{className:"k-actionsheet-title",id:x,children:g}),n&&(0,st.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(l||i)&&(0,st.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?(0,st.jsx)(Ee,{value:c,placeholder:u,size:b?"large":"medium","aria-label":t||u||"Input"}):(0,st.jsx)(ft,{placeholder:"Filter",size:b?"large":"medium","aria-label":"Filter options"})})]})};_e.className=Ol;_e.defaultOptions=hu;var Uo=require("react/jsx-runtime"),zs="k-actionsheet-view",vu=[],gu={},Lu={},Fo=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:l,...c}=e,u=(n==null?void 0:n.type)===_e&&(0,Uo.jsx)(_e,{adaptive:t,titleId:l,...n==null?void 0:n.props}),b=(i==null?void 0:i.type)===no&&(0,Uo.jsx)(no,{...i==null?void 0:i.props});return(0,Uo.jsxs)("div",{...c,className:s(e.className,zs,{[`${zs}-animated`]:o}),children:[u,(0,Uo.jsx)("div",{className:"k-actionsheet-content",children:a}),b]})};Fo.states=vu;Fo.options=gu;Fo.className=zs;Fo.defaultOptions=Lu;var Za="action-sheet",On=Za;var Us="overlay",Bl=Us;var Kl=require("react/jsx-runtime"),Pl="k-overlay",Mu=[],Su={},ku={},Rt=e=>{let{...t}=e;return(0,Kl.jsx)("div",{...t,className:s(e.className,Pl),children:e.children})};Rt.states=Mu;Rt.options=Su;Rt.className=Pl;Rt.defaultOptions=ku;Rt.moduleName=Us;Rt.folderName=Bl;var Mo=require("react/jsx-runtime"),Rl="k-actionsheet",Cu=[],Au={},Qa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=Qa.side,fullscreen:o=Qa.fullscreen,adaptive:a=Qa.adaptive,overlay:n=Qa.overlay,template:i,children:l,header:c,footer:u,id:b,...x}=e,g=b&&!i&&c?`${b}-title`:void 0;return(0,Mo.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,Mo.jsx)(Rt,{}),(0,Mo.jsx)(Kt,{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:(0,Mo.jsx)("div",{...x,id:b,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":g,className:s(e.className,Rl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||(0,Mo.jsx)(Fo,{header:c,footer:u,adaptive:a,titleId:g,...e,children:l})})})]})};oe.states=Cu;oe.options=Au;oe.className=Rl;oe.defaultOptions=Qa;oe.moduleName=Za;oe.folderName=On;var wl=require("react/jsx-runtime"),_l="k-actionsheet-container",Eu=[],yu={},Iu={},Go=e=>{let{children:t,...o}=e;return(0,wl.jsx)("div",{...o,className:_l,children:t})};Go.states=Eu;Go.options=yu;Go.className=_l;Go.defaultOptions=Iu;Go.moduleName=Za;Go.folderName=On;var Dl=require("react/jsx-runtime"),Fs=e=>{let{...t}=e;return(0,Dl.jsx)("div",{...t,className:s(e.className,"k-list-ul"),children:e.children})};var bt=require("react/jsx-runtime"),Gs="k-actionsheet-item",Tu=[r.hover,r.focus,r.selected,r.disabled],ro=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:l,disabled:c,...u}=e;return(0,bt.jsxs)("span",{...u,className:s(e.className,Gs,C(Gs,{hover:n,focus:i,selected:l,disabled:c})),children:[!e.children&&(0,bt.jsx)(bt.Fragment,{children:(0,bt.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,bt.jsx)("span",{className:"k-icon-wrap",children:(0,bt.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,bt.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,bt.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,bt.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};ro.states=Tu;ro.className=Gs;var Hl=require("react/jsx-runtime");var Ou=require("react/jsx-runtime");var Bu=require("react/jsx-runtime");var Pu=require("react/jsx-runtime");var Y=require("react/jsx-runtime"),Ku=oe.options,Ru=oe.states,Ul={...oe.defaultOptions,variant:"normal"},_u=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],wu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...Ul,...e},n={},i=(0,Y.jsxs)(Fs,{children:[(0,Y.jsx)(ro,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,Y.jsx)(ro,{text:"Add to Favorites",iconName:"heart"}),(0,Y.jsx)(ro,{text:"Upload New",iconName:"upload",disabled:!0}),(0,Y.jsx)("hr",{className:"k-hr"}),(0,Y.jsx)(ro,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":n.actionsStart=!!(o!=null&&o[u]),n.actionsEnd=!!(o!=null&&o[u]);break;case"subtitle":n.subtitle=o!=null&&o[u]?l:void 0;break;case"footer":n.footer=!!(o!=null&&o[u]);break;default:break}}),t==="adaptive"?(0,Y.jsx)(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,Y.jsx)(_e,{actionsStart:n.actionsStart?(0,Y.jsx)(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,Y.jsx)(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?(0,Y.jsxs)(no,{alignment:"stretched",children:[(0,Y.jsx)(p,{text:"Cancel",size:"large",themeColor:"base"}),(0,Y.jsx)(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):(0,Y.jsx)(oe,{...a,fullscreen:n.fullScreen,header:(0,Y.jsx)(_e,{actionsStart:n.actionsStart?(0,Y.jsx)(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,Y.jsx)(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,Y.jsxs)(no,{alignment:"stretched",children:[(0,Y.jsx)(p,{text:"Apply",themeColor:"primary"}),(0,Y.jsx)(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};Vo.options=Ku;Vo.states=Ru;Vo.variants=_u;Vo.defaultOptions=Ul;Vo.modifiers=wu;Vo.className=oe.className;var Vs="slider",Fl=Vs;var Ct=require("react/jsx-runtime"),ja="k-slider",Du=[r.hover,r.focus,r.active,r.disabled,r.readonly],Hu={},xt={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},X=e=>{let{type:t=xt.type,orientation:o=xt.orientation,gradientType:a=xt.gradientType,readonly:n=xt.readonly,disabled:i=xt.disabled,handlePosition:l=xt.handlePosition,showButtons:c=xt.showButtons,showTicks:u=xt.showTicks,value:b=xt.value,min:x=xt.min,max:g=xt.max,startValue:m,endValue:L,hover:M,focus:S,active:E,trackStyle:k,dir:I,...D}=e,We=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ke,Pe;return o==="horizontal"?(ke=I==="rtl"?"chevron-left":"chevron-right",Pe=I==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ke="chevron-up",Pe="chevron-down"),(0,Ct.jsxs)("div",{...D,className:s(ja,e.className,C(ja,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:I,children:[c&&(0,Ct.jsx)(p,{className:"k-button-decrease",rounded:"full",icon:Pe,tabIndex:-1,title:"Decrease"}),(0,Ct.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,Ct.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Ct.jsxs)("div",{className:"k-slider-track",style:k,children:[(0,Ct.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Ct.jsx)("span",{className:s("k-draghandle","k-draghandle-start",C(ja,{hover:M,focus:S,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":m??x,"aria-valuemin":x,"aria-valuemax":L??g,"aria-orientation":We,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":D["aria-label"]?`${D["aria-label"]} start`:"Range start"}),(0,Ct.jsx)("span",{className:s("k-draghandle",`k-draghandle-${l}`,C(ja,{hover:M,focus:S,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??g:b,"aria-valuemin":t==="range"?m??x:x,"aria-valuemax":g,"aria-orientation":We,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?D["aria-label"]?`${D["aria-label"]} end`:"Range end":D["aria-label"]})]})]}),c&&(0,Ct.jsx)(p,{className:"k-button-increase",rounded:"full",icon:ke,tabIndex:-1,title:"Increase"})]})};X.states=Du;X.options=Hu;X.className=ja;X.defaultOptions=xt;X.moduleName=Vs;X.folderName=Fl;var $s=require("react/jsx-runtime"),Gl="k-tick",zu=[],Uu={},Vl={label:!1},T=e=>{let{style:t,label:o=Vl.label,orientation:a,large:n,text:i,...l}=e;return(0,$s.jsx)("li",{...l,role:"presentation",title:i||"Tick",className:s(e.className,Gl,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,$s.jsx)("span",{className:"k-label",children:i})})};T.states=zu;T.options=Uu;T.className=Gl;T.defaultOptions=Vl;var fe=require("react/jsx-runtime"),$l=e=>(0,fe.jsx)(X,{"aria-label":e["aria-label"]||"Slider",children:(0,fe.jsxs)(fe.Fragment,{children:[(0,fe.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{label:!0,large:!0,text:"5"}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{}),(0,fe.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var be=require("react/jsx-runtime"),Xl=e=>(0,be.jsx)(X,{children:(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{label:!0,large:!0,text:"5"}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{}),(0,be.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Xs=require("react/jsx-runtime");var qs=require("react/jsx-runtime");var ql=require("react/jsx-runtime"),Ws=e=>(0,ql.jsx)(X,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Wl=require("react/jsx-runtime"),Js=e=>(0,Wl.jsx)(X,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Ys=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var Ze=require("react/jsx-runtime"),Fu=X.options,Gu=X.states,Jl={...X.defaultOptions,variant:"horizontal",label:!0},Vu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],$u=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],$o=e=>{let{variant:t,modifiers:o,...a}=e,n=Jl.label,i={};Object.keys(o||{}).forEach(c=>{switch(c){case"button":{i.showButtons=!!(o!=null&&o[c]);break}case"label":{n=!!(o!=null&&o[c]);break}case"tick":{i.showTicks=!!(o!=null&&o[c]);break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Ze.jsxs)(Xl,{style:{height:"300px",...l},...a,...i,children:[(0,Ze.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Ze.jsxs)($l,{style:{width:"400px",...l},...a,...i,children:[(0,Ze.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Ze.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};$o.options=Fu;$o.states=Gu;$o.variants=Vu;$o.defaultOptions=Jl;$o.modifiers=$u;$o.className=X.className;var en=require("react/jsx-runtime"),Yl="k-spin-button",Wu=[],Ju={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},Qs={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},io=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Qs.increaseLabel,decreaseLabel:i=Qs.decreaseLabel,...l}=e;return(0,en.jsxs)("span",{...l,className:s(Yl,e.className),children:[(0,en.jsx)(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,en.jsx)(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};io.states=Wu;io.options=Ju;io.className=Yl;io.defaultOptions=Qs;io.moduleName=null;io.folderName=null;var Zl="numeric-textbox",Ql="numerictextbox";var xe=require("react/jsx-runtime"),jl="k-numerictextbox",Yu=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Zu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Bn={showSpinButton:!0,showClearButton:!0,separators:!0},U=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Bn.separators,showClearButton:i=Bn.showClearButton,showSpinButton:l=Bn.showSpinButton,prefix:c,suffix:u,value:b,placeholder:x,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,id:D,"aria-label":ue,"aria-describedby":We,...ke}=e;return(0,xe.jsxs)(te,{...ke,size:t,rounded:o,fillMode:a,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,className:s(e.className,jl),children:[c&&(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)(ct,{children:c}),n&&(0,xe.jsx)(ut,{})]}),(0,xe.jsx)(Ke,{id:D,placeholder:x,value:b,role:"spinbutton",disabled:k,"aria-label":ue,"aria-describedby":We,"aria-invalid":M?"true":void 0}),(0,xe.jsx)(Re,{valid:L,invalid:M,loading:E,disabled:k}),(0,xe.jsx)(Ye,{loading:E,disabled:k}),i&&(0,xe.jsx)(at,{loading:E,disabled:k,readonly:I,value:b}),u&&(0,xe.jsxs)(xe.Fragment,{children:[n&&(0,xe.jsx)(ut,{}),(0,xe.jsx)(mt,{children:u})]}),l&&(0,xe.jsx)(io,{className:"k-input-spinner",size:t,fillMode:a,disabled:k})]})};U.states=Yu;U.options=Zu;U.className=jl;U.defaultOptions=Bn;U.moduleName=Zl;U.folderName=Ql;var tn=U;var tp=require("react/jsx-runtime"),ep=e=>(0,tp.jsx)(tn,{...e});var Kn=Gi(require("react"));var js=require("react/jsx-runtime"),Qu="k-list-group-sticky-header",er=e=>(0,js.jsx)("div",{className:s(Qu,e.className),children:(0,js.jsx)("div",{className:"k-list-header-text",children:e.children})});var op=require("react/jsx-runtime"),ju="k-no-data",Pn=e=>{let{live:t,...o}=e;return(0,op.jsx)("span",{...o,className:s(ju,e.className),"aria-live":t?"polite":void 0,children:e.children})};var So="list",Xo=So;var qo=require("react/jsx-runtime"),tr="k-list",ef=[],tf={size:[d.undefined,d.small,d.medium,d.large]},of={},_=e=>{var M;let{size:t,virtualization:o,children:a,header:n,selectAll:i,optionLabel:l,customValue:c,noData:u,screenReaders:b,...x}=e,m=Kn.default.Children.toArray(a)[0],L=(M=m==null?void 0:m.props)!=null&&M.children?Kn.default.Children.count(m.props.children):Kn.default.Children.count(a);return(0,qo.jsxs)("div",{...x,className:s(e.className,tr,y(tr,{size:t}),{"k-virtual-list":o}),children:[l,i,c,n&&(0,qo.jsx)(er,{children:n}),a||(u!==void 0?u:(0,qo.jsx)(Pn,{live:!0,children:"No data found."})),b&&a&&(0,qo.jsxs)(Pn,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};_.states=ef;_.options=tf;_.className=tr;_.defaultOptions=of;_.moduleName=So;_.folderName=Xo;var np=require("react/jsx-runtime"),ap="k-list-container",af=[],nf={},sf={},Wo=e=>{let{...t}=e;return(0,np.jsx)("div",{...t,className:s(e.className,ap),children:e.children})};Wo.states=af;Wo.options=nf;Wo.className=ap;Wo.defaultOptions=sf;Wo.moduleName=So;Wo.folderName=Xo;var ko="checkbox",Jo=ko;var or=require("react/jsx-runtime"),Rn="k-checkbox",rf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],lf={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},pf={},rt=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:l,invalid:c,valid:u,required:b,size:x,rounded:g,wrapperRole:m,...L}=e;return(0,or.jsx)("span",{className:"k-checkbox-wrap",role:m,children:(0,or.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:b,disabled:l||void 0,"aria-invalid":c?"true":void 0,className:s(e.className,Rn,y(Rn,{size:x,rounded:g}),C(Rn,{hover:n,focus:i,disabled:l,invalid:c,valid:u,indeterminate:a,checked:o}))})})};rt.states=rf;rt.options=lf;rt.className=Rn;rt.defaultOptions=pf;rt.moduleName=ko;rt.folderName=Jo;var At=rt;var ip=require("react/jsx-runtime"),sp="k-checkbox-list",df=[],cf={},rp={layout:"vertical"},we=e=>{let{layout:t=rp.layout,...o}=e;return(0,ip.jsx)("ul",{...o,className:s(e.className,sp,{[`k-list-${t}`]:t}),children:e.children})};we.states=df;we.options=cf;we.className=sp;we.defaultOptions=rp;we.moduleName=ko;we.folderName=Jo;var pp=require("react/jsx-runtime"),lp="k-checkbox-list-item",mf=[],uf={},ff={},De=e=>{let{...t}=e;return(0,pp.jsx)("li",{...t,className:s(e.className,lp),children:e.children})};De.states=mf;De.options=uf;De.className=lp;De.defaultOptions=ff;De.moduleName=ko;De.folderName=Jo;var Co=require("react/jsx-runtime"),qt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Co.jsxs)(Co.Fragment,{children:[(0,Co.jsx)(At,{id:t,...o}),(0,Co.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var ar=require("react/jsx-runtime");var nr=require("react/jsx-runtime");var sr=require("react/jsx-runtime");var bf=require("react/jsx-runtime");var xf=require("react/jsx-runtime");var Nf=require("react/jsx-runtime");var ye=require("react/jsx-runtime"),hf=we.options,vf=we.states,gf={...we.defaultOptions,variant:"vertical"},Lf=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Mf=[],Yo=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,ye.jsxs)(we,{layout:"horizontal",...o,children:[(0,ye.jsx)(De,{children:(0,ye.jsx)(qt,{id:K("cb"),defaultChecked:!0,children:"Label"})}),(0,ye.jsx)(De,{children:(0,ye.jsx)(qt,{id:K("cb"),children:"Label"})}),(0,ye.jsx)(De,{children:(0,ye.jsx)(qt,{id:K("cb"),children:"Label"})})]}):(0,ye.jsxs)(we,{...o,children:[(0,ye.jsx)(De,{children:(0,ye.jsx)(qt,{id:K("cb"),defaultChecked:!0,children:"Label"})}),(0,ye.jsx)(De,{children:(0,ye.jsx)(qt,{id:K("cb"),children:"Label"})}),(0,ye.jsx)(De,{children:(0,ye.jsx)(qt,{id:K("cb"),children:"Label"})})]})};Yo.options=hf;Yo.states=vf;Yo.variants=Lf;Yo.defaultOptions=gf;Yo.modifiers=Mf;Yo.className=we.className;var dp=require("react/jsx-runtime"),Sf=At.options,kf=At.states,Cf=At.defaultOptions,Af=[],Ef=[],Zo=e=>(0,dp.jsx)(qt,{id:K("checkbox"),...e,defaultChecked:!0,children:"Label"});Zo.options=Sf;Zo.states=kf;Zo.variants=Af;Zo.defaultOptions=Cf;Zo.modifiers=Ef;Zo.className=At.className;var Wt=require("react/jsx-runtime"),rr="k-list-item",yf=[r.hover,r.focus,r.selected,r.disabled],If={},Tf={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:i,hover:l,focus:c,selected:u,disabled:b,actions:x,description:g,id:m,...L}=e,M=t||e.children,S=t||(typeof M=="string"?M:void 0);return(0,Wt.jsxs)("li",{...L,id:m,role:"option",tabIndex:c?0:-1,"aria-selected":u?"true":"false","aria-disabled":b?"true":void 0,className:s(e.className,rr,C(rr,{hover:l,focus:c,disabled:b,selected:u})),children:[n&&(0,Wt.jsx)(rt,{checked:i,disabled:b,"aria-label":S,tabIndex:-1}),o&&(0,Wt.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Wt.jsx)(v,{icon:o,className:s("k-list-item-icon",a)})}),(0,Wt.jsx)("span",{className:"k-list-item-text",children:M}),x&&(0,Wt.jsx)("div",{className:"k-list-item-actions",children:x}),g&&(0,Wt.jsx)("span",{className:"k-list-item-description",children:g})]})};P.states=yf;P.options=If;P.className=rr;P.defaultOptions=Tf;P.moduleName=So;P.folderName=Xo;var cp=require("react/jsx-runtime"),Of="k-list-ul",lo=e=>{let{children:t,role:o,id:a,...n}=e;return(0,cp.jsx)("ul",{...n,id:a,role:o,className:s(Of,e.className),children:t})};var Qo=require("react/jsx-runtime"),Bf="k-list-content",G=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:i,...l}=e;return(0,Qo.jsxs)("div",{...l,className:s(Bf,e.className),role:o?"listbox":void 0,id:o?i:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:(0,Qo.jsx)(lo,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&(0,Qo.jsx)("div",{className:"k-height-container",children:(0,Qo.jsx)("div",{})})]})};var jo=require("react/jsx-runtime"),_n="k-list-sticky-header",Pf=[r.hover,r.focus,r.selected],Kf={},Rf={},wn=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:i,focus:l,selected:c,...u}=e;return(0,jo.jsx)("div",{...u,className:s(_n,e.className),children:(0,jo.jsxs)("div",{className:s(`${_n}-item`,C(`${_n}-item`,{hover:i,focus:l,selected:c})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":c?"true":"false"},children:[o&&(0,jo.jsx)(rt,{checked:a,indeterminate:n,"aria-label":t}),(0,jo.jsx)("span",{className:"k-list-item-text",children:t})]})})};wn.states=Pf;wn.options=Kf;wn.className=_n;wn.defaultOptions=Rf;var ir=require("react/jsx-runtime");var mp=require("react/jsx-runtime");var up=require("react/jsx-runtime"),lr="k-list-optionlabel",_f=[r.hover,r.focus,r.selected,r.disabled],wf={},Df={},Dn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,up.jsx)("div",{...l,className:s(lr,C(lr,{hover:o,focus:a,selected:n,disabled:i})),children:t})};Dn.states=_f;Dn.options=wf;Dn.className=lr;Dn.defaultOptions=Df;var fp=require("react/jsx-runtime"),pr="k-list-custom-value",Hf=[r.hover,r.focus,r.selected,r.disabled],zf={},Uf={},po=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,fp.jsx)("div",{...l,className:s(pr,C(pr,{hover:o,focus:a,selected:n,disabled:i})),children:t})};po.states=Hf;po.options=zf;po.className=pr;po.defaultOptions=Uf;var dr=require("react/jsx-runtime");var cr=require("react/jsx-runtime");var mr=require("react/jsx-runtime");var ur=require("react/jsx-runtime");var Ff=require("react/jsx-runtime");var fr=require("react/jsx-runtime");var br=require("react/jsx-runtime");var bp="dropdown-list",xp="dropdownlist";var Z=require("react/jsx-runtime"),Np="k-dropdownlist",Gf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Vf={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},xr={showValue:!0,arrowIconName:"chevron-down"},me=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=xr.arrowIconName,showValue:i=xr.showValue,valueIconName:l,prefix:c,suffix:u,value:b,placeholder:x,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,popup:D,opened:ue,adaptive:We,adaptiveSettings:ke,adaptiveTitle:Pe,adaptiveSubtitle:Ka,adaptiveFilter:ho,id:vo,activeDescendant:Ra,"aria-label":ls,...ps}=e,ds=vo?`${vo}-listbox`:void 0,Ui=vo?`${vo}-value`:void 0;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(Pt,{...ps,id:vo,size:t,rounded:o,fillMode:a,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,className:s(e.className,Np,{"k-icon-picker":!i&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ue?"true":"false","aria-controls":ue?ds:void 0,"aria-activedescendant":ue&&Ra?Ra:void 0,"aria-describedby":ue?Ui:void 0,"aria-disabled":k?"true":void 0,"aria-label":ls,tabIndex:0,children:[(0,Z.jsx)(ct,{children:c}),(0,Z.jsx)(Lo,{placeholder:x,value:b,showValue:i,valueIconName:l,id:Ui}),(0,Z.jsx)(Re,{valid:L,invalid:M,loading:E,disabled:k}),(0,Z.jsx)(Ye,{loading:E,disabled:k}),(0,Z.jsx)(mt,{children:u}),(0,Z.jsx)(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),ue&&D&&(0,Z.jsx)(J,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:D}),We&&(0,Z.jsx)(oe,{adaptive:!0,...ke,header:(0,Z.jsx)(_e,{actionsEnd:(0,Z.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ho,inputValue:b,inputPlaceholder:x,title:Pe,subtitle:Ka}),children:(0,Z.jsx)("div",{className:"k-list-container",children:(0,Z.jsx)(_,{size:"large",children:(0,Z.jsxs)(G,{"aria-label":"Options",children:[(0,Z.jsx)(P,{text:"List item"}),(0,Z.jsx)(P,{text:"List item"}),(0,Z.jsx)(P,{text:"List item"})]})})})})]})};me.states=Gf;me.options=Vf;me.className=Np;me.defaultOptions=xr;me.moduleName=bp;me.folderName=xp;var $f=require("react/jsx-runtime");var hp=require("react/jsx-runtime");var Nr=require("react/jsx-runtime");var Xf=require("react/jsx-runtime");var vp=require("react/jsx-runtime");var hr=require("react/jsx-runtime");var qf=require("react/jsx-runtime");var Qe=require("react/jsx-runtime"),Wf=me.states,Jf=me.defaultOptions,Yf=me.options,Zf=[{name:"opened",title:"Opened"}],Qf=[],ta=e=>{let{modifiers:t,...o}=e,a={},n=(0,Qe.jsxs)(Qe.Fragment,{children:[(0,Qe.jsx)("div",{className:"k-list-filter",children:(0,Qe.jsx)(ft,{})}),(0,Qe.jsx)(_,{style:{width:300},size:o.size,children:(0,Qe.jsxs)(G,{children:[(0,Qe.jsx)(P,{children:"List item"}),(0,Qe.jsx)(P,{children:"List item"}),(0,Qe.jsx)(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?n:void 0)}),(0,Qe.jsx)("div",{children:(0,Qe.jsx)(me,{placeholder:"Value",style:{width:300},...o,...a})})};ta.options=Yf;ta.states=Wf;ta.variants=Qf;ta.defaultOptions=Jf;ta.modifiers=Zf;ta.className=me.className;var gp=require("react/jsx-runtime");var Lp=require("react/jsx-runtime");var jf=require("react/jsx-runtime");var Hn=require("react/jsx-runtime"),eb=U.states,tb=U.defaultOptions,ob=U.options,ab=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],nb=[],oa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Hn.jsx)(me,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Hn.jsx)(Ts,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;case"spin-button":a.showSpinButton=t==null?void 0:t[n];break;default:break}}),(0,Hn.jsx)(ep,{value:"Value",style:{width:300},...o,...a})};oa.options=ob;oa.states=eb;oa.variants=nb;oa.defaultOptions=tb;oa.modifiers=ab;oa.className=U.className;var A=require("react/jsx-runtime"),Mp="k-colorgradient-inputs",sb=[],rb={size:[d.undefined,d.small,d.medium,d.large]},Sp={mode:"rgba"},aa=e=>{let{mode:t=Sp.mode,size:o,...a}=e;return(0,A.jsxs)("div",{...a,className:s(Mp,"k-hstack"),children:[(0,A.jsx)("div",{className:"k-vstack",children:(0,A.jsx)(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,A.jsx)(Ee,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};aa.states=sb;aa.options=rb;aa.className=Mp;aa.defaultOptions=Sp;var Ie=require("react/jsx-runtime"),kp="k-colorgradient-color-contrast",ib=[],lb={},pb={},na=()=>(0,Ie.jsxs)("div",{className:s(kp,"k-vbox"),children:[(0,Ie.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Ie.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Ie.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Ie.jsx)(v,{icon:"check"}),(0,Ie.jsx)(v,{icon:"check"})]})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("span",{children:"AA: 4.5"}),(0,Ie.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Ie.jsx)(v,{icon:"check"})]})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("span",{children:"AAA: 7.0"}),(0,Ie.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Ie.jsx)(v,{icon:"x"})]})]})]});na.states=ib;na.options=lb;na.className=kp;na.defaultOptions=pb;var Cp="color-gradient",Ap="colorgradient";var ie=require("react/jsx-runtime"),zn="k-colorgradient",db=[r.hover,r.focus,r.readonly,r.disabled],cb={size:[d.undefined,d.small,d.medium,d.large]},_t={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"},Ne=e=>{let{size:t,mode:o=_t.mode,readonly:a=_t.readonly,disabled:n=_t.disabled,gradientStyle:i=_t.gradientStyle,dragHandleStyle:l=_t.dragHandleStyle,alphaStyle:c=_t.alphaStyle,alphaStyleHorizontal:u=_t.alphaStyleHorizontal,contrast:b=_t.contrast,dir:x,hover:g,focus:m,hoverHandle:L,focusHandle:M,canvasOrientation:S=_t.canvasOrientation,role:E,tabIndex:k,...I}=e;return(0,ie.jsxs)("div",{...I,role:E??"textbox","aria-label":E==="none"?void 0:"Color gradient",tabIndex:k??0,"aria-disabled":n?"true":void 0,className:s(e.className,zn,y(zn,{size:t}),C(zn,{hover:g,focus:m,readonly:a,disabled:n})),dir:x,children:[!S||S==="horizontal"&&(0,ie.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,ie.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,ie.jsx)("div",{className:"k-hsv-gradient",children:(0,ie.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":M}),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})})}),(0,ie.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,ie.jsx)(Js,{className:"k-hue-slider",hover:L,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,ie.jsx)(Js,{className:"k-alpha-slider",hover:L,focus:M,trackStyle:c})]})]}),S==="vertical"&&(0,ie.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,ie.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,ie.jsx)("div",{className:"k-hsv-gradient",children:(0,ie.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":M}),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})})}),(0,ie.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,ie.jsx)(Ws,{className:"k-hue-slider",hover:L,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,ie.jsx)(Ws,{className:"k-alpha-slider",hover:L,focus:M,trackStyle:u})]})]}),(0,ie.jsx)(aa,{mode:e.mode,size:t}),b&&(0,ie.jsx)(na,{})]})};Ne.states=db;Ne.options=cb;Ne.className=zn;Ne.defaultOptions=_t;Ne.moduleName=Cp;Ne.folderName=Ap;var Ep=require("react/jsx-runtime"),Un=e=>(0,Ep.jsx)(Ne,{...e});var mb=require("react/jsx-runtime");var ub=require("react/jsx-runtime");var Fn=require("react/jsx-runtime"),fb=Ne.options,bb=Ne.states,xb={...Ne.defaultOptions,variant:"rgba"},Nb=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],hb=[],sa=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,Fn.jsx)(Un,{...o,mode:t});case"rgb":return(0,Fn.jsx)(Un,{...o,mode:t});default:return(0,Fn.jsx)(Un,{...o,mode:t})}};sa.options=fb;sa.states=bb;sa.variants=Nb;sa.defaultOptions=xb;sa.modifiers=hb;sa.className=Ne.className;var yp=require("react/jsx-runtime"),vr=e=>(0,yp.jsx)("tr",{role:"row",children:e.children});var Ip=require("react/jsx-runtime"),gr="k-colorpalette-tile",vb=[r.hover,r.focus,r.selected],gb={},co=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:i,...l}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Ip.jsx)("td",{...l,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:s(e.className,gr,C(gr,{hover:a,focus:n,selected:i})),style:c})};co.states=vb;co.options=gb;co.className=gr;co.moduleName=null;co.folderName=null;var Tp="color-palette",Op="colorpalette";var ra=require("react/jsx-runtime"),Gn="k-colorpalette",Lb=[r.disabled],Mb={size:[d.undefined,d.small,d.medium,d.large]},Bp={columns:10},je=e=>{let{size:t,palette:o,columns:a=Bp.columns,tileSize:n,disabled:i,...l}=e,c=[];if(o){let u=a||o.columns,b=o.colors?o.colors:o;Array.isArray(b)&&Array.from({length:Math.ceil(b.length/u)},(x,g)=>{let m=[];b.slice(g*u,(g+1)*u).map((M,S)=>{m.push((0,ra.jsx)(co,{color:M,tileSize:n},S))});let L=(0,ra.jsx)(vr,{children:m},g);c.push(L)})}return(0,ra.jsx)("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:s(e.className,Gn,C(Gn,{disabled:i}),y(Gn,{size:t})),children:(0,ra.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,ra.jsx)("tbody",{children:c.length>0?c:e.children})})})};je.states=Lb;je.options=Mb;je.className=Gn;je.defaultOptions=Bp;je.moduleName=Tp;je.folderName=Op;var Vn=je;var an={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}};var Kp=require("react/jsx-runtime"),Pp=e=>(0,Kp.jsx)(Vn,{palette:an.basic,...e});var Sb=require("react/jsx-runtime");var Rp=require("react/jsx-runtime");var _p=require("react/jsx-runtime"),kb=je.options,Cb=je.states,Ab={...je.defaultOptions,variant:"basic"},Eb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],yb={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}},Ib=[],ia=e=>{let{variant:t="basic",...o}=e,a=yb[t];return(0,_p.jsx)(Pp,{columns:a.columns,palette:a,...o})};ia.options=kb;ia.states=Cb;ia.variants=Eb;ia.defaultOptions=Ab;ia.modifiers=Ib;ia.className=je.className;var wp="color-editor",Dp="coloreditor";var ae=require("react/jsx-runtime"),$n="k-coloreditor",Tb=[r.focus],Ob={size:[d.undefined,d.small,d.medium,d.large]},nn={view:"gradient",palette:an.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=nn.view,palette:a=nn.palette,color:n,currentColor:i,focus:l,focusView:c,dir:u,group:b,actionButtons:x=nn.actionButtons,canvasOrientation:g=nn.canvasOrientation,...m}=e;return(0,ae.jsxs)("div",{...m,role:"textbox","aria-label":"Color editor",tabIndex:0,className:s(e.className,"k-flatcolorpicker",$n,y($n,{size:t}),C($n,{focus:l})),dir:u,children:[(0,ae.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,ae.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:b&&(0,ae.jsxs)(B,{fillMode:"flat",children:[(0,ae.jsx)(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,ae.jsx)(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,ae.jsx)("div",{className:"k-spacer"}),(0,ae.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,ae.jsx)(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,ae.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,ae.jsx)(ao,{className:"k-coloreditor-preview-color",color:n}),(0,ae.jsx)(ao,{className:"k-coloreditor-current-color",color:i})]})]})]}),(0,ae.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,ae.jsx)(Ne,{focus:c,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):(0,ae.jsx)(je,{palette:a,size:t})}),x&&(0,ae.jsxs)(nt,{className:"k-coloreditor-footer",alignment:"start",children:[(0,ae.jsx)(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,ae.jsx)(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=Tb;ne.options=Ob;ne.className=$n;ne.defaultOptions=nn;ne.moduleName=wp;ne.folderName=Dp;var la=ne;var Bb=require("react/jsx-runtime");var Pb=require("react/jsx-runtime");var zp=require("react/jsx-runtime"),Hp=e=>(0,zp.jsx)(la,{group:!0,currentColor:"fuchsia",...e});var Fp=require("react/jsx-runtime"),Up=e=>(0,Fp.jsx)(la,{view:"palette",group:!0,currentColor:"fuchsia",...e});var Lr=require("react/jsx-runtime"),Kb=ne.options,Rb=ne.states,_b={...ne.defaultOptions,variant:"gradient"},wb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Db=[],pa=e=>{let{variant:t,...o}=e;return t==="palette"?(0,Lr.jsx)(Up,{...o,color:"white"}):(0,Lr.jsx)(Hp,{...o,color:"rgba(183, 118 , 118, 1.00)"})};pa.options=Kb;pa.states=Rb;pa.variants=wb;pa.defaultOptions=_b;pa.modifiers=Db;pa.className=ne.className;var Gp="color-picker",Vp="colorpicker";var le=require("react/jsx-runtime"),$p="k-colorpicker",Hb=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],zb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Xp={arrowIconName:"chevron-down"},Nt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Xp.arrowIconName,prefix:i,suffix:l,value:c,placeholder:u,hover:b,focus:x,valid:g,invalid:m,required:L,disabled:M,valueIconName:S,popup:E,opened:k,adaptive:I,adaptiveSettings:D,adaptiveTitle:ue,adaptiveSubtitle:We,...ke}=e,Pe="colorpicker-popup";return(0,le.jsxs)(le.Fragment,{children:[(0,le.jsxs)(Pt,{...ke,size:t,rounded:o,fillMode:a,hover:b,focus:x,valid:g,invalid:m,required:L,disabled:M,role:"combobox","aria-haspopup":"dialog","aria-expanded":k?"true":"false","aria-controls":k||I?Pe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":M?"true":void 0,className:s(e.className,$p,"k-icon-picker"),children:[(0,le.jsx)(ct,{children:i}),(0,le.jsx)(Lo,{placeholder:u,value:c,showValue:!1,valueIcon:(0,le.jsx)(ao,{className:"k-value-icon",color:c,iconName:S}),valueIconName:S}),(0,le.jsx)(mt,{children:l}),(0,le.jsx)(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:M})]}),k&&E&&(0,le.jsx)(J,{id:Pe,className:"k-colorpicker-popup",children:E}),I&&(0,le.jsx)(oe,{adaptive:!0,id:Pe,...D,header:(0,le.jsx)(_e,{actionsEnd:(0,le.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ue,subtitle:We}),footer:(0,le.jsxs)(no,{children:[(0,le.jsx)(p,{text:"Cancel",size:"large"}),(0,le.jsx)(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,le.jsx)(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Nt.states=Hb;Nt.options=zb;Nt.className=$p;Nt.defaultOptions=Xp;Nt.moduleName=Gp;Nt.folderName=Vp;var Jt=Nt;var qp=require("react/jsx-runtime"),Xn=e=>(0,qp.jsx)(Jt,{...e});var Ub=require("react/jsx-runtime");var Fb=require("react/jsx-runtime");var Gb=require("react/jsx-runtime");var Vb=require("react/jsx-runtime");var $b=require("react/jsx-runtime");var Xb=require("react/jsx-runtime");var mo=require("react/jsx-runtime"),qb=Jt.options,Wb=Jt.states,Wp={...Jt.defaultOptions,variant:"color"},Jb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Yb=[{name:"opened",title:"Opened"}],da=e=>{let{variant:t,modifiers:o,...a}={...Wp,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?(0,mo.jsx)(ne,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let i=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,mo.jsx)("div",{style:i,children:(0,mo.jsx)(Xn,{...a,...n})});case"icon":return(0,mo.jsx)("div",{style:i,children:(0,mo.jsx)(Xn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return(0,mo.jsx)("div",{style:i,children:(0,mo.jsx)(Xn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};da.options=qb;da.states=Wb;da.variants=Jb;da.defaultOptions=Wp;da.modifiers=Yb;da.className=Jt.className;var Mr="combobox",Jp=Mr;var w=require("react/jsx-runtime"),Yp="k-combobox",Zb=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Qb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Sr={separators:!0,showClearButton:!0},He=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Sr.separators,showClearButton:i=Sr.showClearButton,prefix:l,suffix:c,value:u,placeholder:b,hover:x,focus:g,valid:m,invalid:L,required:M,loading:S,disabled:E,popup:k,opened:I,readonly:D,adaptive:ue,adaptiveSettings:We,adaptiveTitle:ke,adaptiveSubtitle:Pe,adaptiveCustomValue:Ka,id:ho,autocomplete:vo,activeDescendant:Ra,"aria-label":ls,...ps}=e,ds=ho?`${ho}-listbox`:void 0;return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(te,{...ps,size:t,rounded:o,fillMode:a,hover:x,focus:g,valid:m,invalid:L,required:M,loading:S,disabled:E,readonly:D,className:s(e.className,Yp),children:[l&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(ct,{children:l}),n&&(0,w.jsx)(ut,{})]}),(0,w.jsx)(Ke,{id:ho,placeholder:b,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":I?"true":"false","aria-controls":I?ds:void 0,"aria-activedescendant":I&&Ra?Ra:void 0,"aria-autocomplete":vo,"aria-invalid":L?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":ls,disabled:E,readOnly:D}),(0,w.jsx)(Re,{valid:m,invalid:L,loading:S,disabled:E}),(0,w.jsx)(Ye,{loading:S,disabled:E}),i&&(0,w.jsx)(at,{loading:S,disabled:E,readonly:D,value:u}),c&&(0,w.jsxs)(w.Fragment,{children:[n&&(0,w.jsx)(ut,{}),(0,w.jsx)(mt,{children:c})]}),(0,w.jsx)(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:E})]}),I&&k&&(0,w.jsx)(J,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:k}),ue&&(0,w.jsx)(oe,{adaptive:!0,id:ho?`${ho}-adaptive`:void 0,...We,header:(0,w.jsx)(_e,{actionsEnd:(0,w.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:b,title:ke,subtitle:Pe}),children:(0,w.jsx)("div",{className:"k-list-container",children:(0,w.jsx)(_,{customValue:Ka?(0,w.jsx)(po,{text:`Use "${u}"`}):void 0,size:"large",children:(0,w.jsxs)(G,{"aria-label":ke||"Options",children:[(0,w.jsx)(P,{text:"List item"}),(0,w.jsx)(P,{text:"List item"}),(0,w.jsx)(P,{text:"List item"})]})})})})]})};He.states=Zb;He.options=Qb;He.className=Yp;He.defaultOptions=Sr;He.moduleName=Mr;He.folderName=Jp;var it=He;var Qp=require("react/jsx-runtime"),Zp=e=>(0,Qp.jsx)(it,{...e});var jp=require("react/jsx-runtime");var ed=require("react/jsx-runtime");var td=require("react/jsx-runtime");var od=require("react/jsx-runtime");var ad=require("react/jsx-runtime");var nd=require("react/jsx-runtime");var kr=require("react/jsx-runtime");var jb=require("react/jsx-runtime");var ex=require("react/jsx-runtime");var sd=require("react/jsx-runtime");var rd=require("react/jsx-runtime");var Et=require("react/jsx-runtime"),tx=He.states,ox=He.defaultOptions,ax=He.options,nx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],sx=[],ca=e=>{let{modifiers:t,...o}=e,a={},n=(0,Et.jsx)(_,{style:{width:300},size:o.size,children:(0,Et.jsxs)(G,{children:[(0,Et.jsx)(P,{children:"List item"}),(0,Et.jsx)(P,{children:"List item"}),(0,Et.jsx)(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,Et.jsx)(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,Et.jsx)(W,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?n:void 0;break;default:break}}),(0,Et.jsx)("div",{children:(0,Et.jsx)(Zp,{value:"Value",style:{width:300},...o,...a})})};ca.options=ax;ca.states=tx;ca.variants=sx;ca.defaultOptions=ox;ca.modifiers=nx;ca.className=He.className;var Cr="menu-button",id=Cr;var pd=require("react/jsx-runtime"),ld="k-menu-button",rx=[r.hover,r.focus,r.active,r.selected,r.disabled],ix={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info,h.inverse]},Ar={showArrow:!0,arrowIconName:"chevron-down"},F=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,icon:x,endIcon:g,text:m,showArrow:L=Ar.showArrow,arrowIconName:M=Ar.arrowIconName,expanded:S,...E}=e;return(0,pd.jsx)(p,{...E,className:s(e.className,ld),text:m,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,ariaDisabled:b||void 0,icon:x,endIcon:g,showArrow:L,arrowIconName:M,"aria-expanded":S?"true":"false",...!m&&x&&!e["aria-label"]&&{"aria-label":"Menu"}})};F.states=rx;F.options=ix;F.className=ld;F.defaultOptions=Ar;F.moduleName=Cr;F.folderName=id;var lx=require("react/jsx-runtime");var px=require("react/jsx-runtime");var dx=require("react/jsx-runtime");var cx=require("react/jsx-runtime");var lt="menu",ht=lt;var Yt=require("react/jsx-runtime"),Er="k-menu-item",mx=[r.hover,r.focus,r.active,r.selected,r.disabled],ux={},dd={iconPosition:"before"},Te=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,showArrow:u,arrowIconName:b,iconPosition:x=dd.iconPosition,dir:g,children:m,expanded:L,...M}=e,S=b;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),(0,Yt.jsxs)("li",{...M,className:s(e.className,Er,"k-item",C(Er,{focus:o,disabled:i,hover:t,active:a,selected:n})),role:"menuitem",...u&&{"aria-haspopup":"menu"},...u&&{"aria-expanded":L?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Yt.jsxs)("span",{className:s("k-link k-menu-link"),children:[l&&x==="before"&&(0,Yt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,Yt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&x==="after"&&(0,Yt.jsx)(v,{className:"k-menu-link-icon",icon:l}),u&&(0,Yt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Yt.jsx)(v,{icon:S})})]}),m]})};Te.states=mx;Te.options=ux;Te.className=Er;Te.defaultOptions=dd;Te.moduleName=lt;Te.folderName=ht;var yt=require("react/jsx-runtime"),yr="k-menu-item",fx=[r.hover,r.focus,r.active,r.selected,r.disabled],bx={},Ir={dir:"ltr",iconPosition:"before"},Q=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,showArrow:u,arrowIconName:b,iconPosition:x=Ir.iconPosition,dir:g=Ir.dir,children:m,popup:L,expanded:M,actions:S,description:E,...k}=e,I=b;return I||(I=g==="rtl"?"chevron-left":"chevron-right"),(0,yt.jsxs)("li",{role:"menuitem",...k,className:s(e.className,yr,"k-item",C(yr,{focus:o,disabled:i})),...u&&{"aria-haspopup":"menu"},...u&&{"aria-expanded":M?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,yt.jsxs)("span",{className:s("k-link k-menu-link",C("k-menu-link",{hover:t,active:a,selected:n,disabled:i})),children:[l&&x==="before"&&(0,yt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,yt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&x==="after"&&(0,yt.jsx)(v,{className:"k-menu-link-icon",icon:l}),S&&(0,yt.jsx)("span",{className:"k-menu-link-actions",children:S}),u&&(0,yt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,yt.jsx)(v,{icon:I})}),E&&(0,yt.jsx)("span",{className:"k-menu-link-description",children:E})]}),m,L]})};Q.states=fx;Q.options=bx;Q.className=yr;Q.defaultOptions=Ir;Q.moduleName=lt;Q.folderName=ht;var ud=require("react/jsx-runtime"),cd="k-menu-scroll-wrapper",xx=[],Nx={},hx={},Ao=e=>{let{className:t,children:o,orientation:a,...n}=e;return(0,ud.jsx)("div",{...n,className:s(t,cd,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Ao.states=xx;Ao.options=Nx;Ao.className=cd;Ao.defaultOptions=hx;Ao.moduleName=lt;Ao.folderName=ht;var md=Ao;var he=require("react/jsx-runtime"),qn="k-menu",vx=[],gx={size:[d.undefined,d.small,d.medium,d.large]},Wn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ve=e=>{let{children:t,orientation:o=Wn.orientation,header:a=Wn.header,scrollable:n,scrollButtonsPosition:i=Wn.scrollButtonsPosition,wrapperStyles:l,dir:c,size:u,popup:b,contextMenu:x,...g}=e,m={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},L=(0,he.jsx)("ul",{dir:c,...g,className:s(e.className,"k-reset",qn,{[`${qn}-${o}`]:o,"k-header":a},y(qn,{size:u})),role:x?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,he.jsxs)(he.Fragment,{children:[n?(0,he.jsxs)(md,{orientation:o,style:l,dir:e.dir,children:[i==="start"&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,he.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,he.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),L,i==="end"&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,he.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,he.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):L,b]})};ve.states=vx;ve.options=gx;ve.className=qn;ve.defaultOptions=Wn;ve.moduleName=lt;ve.folderName=ht;var bd=require("react/jsx-runtime"),Tr="k-separator",fd={orientation:"horizontal"},ma=e=>{let{orientation:t=fd.orientation,...o}=e;return(0,bd.jsx)("li",{...o,className:s(e.className,"k-item",Tr,{[`${Tr}-${t}`]:t}),role:"separator"})};ma.className=Tr;ma.defaultOptions=fd;ma.moduleName=lt;ma.folderName=ht;var xd=require("react/jsx-runtime");var Nd=require("react/jsx-runtime"),Or="k-menu-group",Lx=[],Mx={size:[d.undefined,d.small,d.medium,d.large]},Sx={},Oe=e=>{let{children:t,size:o,...a}=e;return(0,Nd.jsx)("ul",{role:"menu",...a,className:s(e.className,Or,y(Or,{size:o})),children:t})};Oe.states=Lx;Oe.options=Mx;Oe.className=Or;Oe.defaultOptions=Sx;Oe.moduleName=lt;Oe.folderName=ht;var hd=require("react/jsx-runtime");var It=require("react/jsx-runtime"),Br=e=>(0,It.jsx)(ve,{children:(0,It.jsxs)(It.Fragment,{children:[(0,It.jsx)(Te,{text:"Item 1"}),(0,It.jsx)(Te,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,It.jsx)(Te,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,It.jsx)(Te,{text:"Item 4"}),(0,It.jsx)(Te,{text:"Item 5"})]}),...e});var Pr=require("react/jsx-runtime");var Kr=require("react/jsx-runtime");var Rr=require("react/jsx-runtime");var _r=require("react/jsx-runtime");var wt=require("react/jsx-runtime"),kx={...ve.options,scrollable:{type:"boolean"}},Cx=ve.states,vd={...ve.defaultOptions,variant:"horizontal"},Ax=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Ex=[{name:"opened",title:"Opened"}],ua=e=>{let{variant:t,modifiers:o,...a}={...vd,...e},n={},i=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?(0,wt.jsx)(J,{className:"k-menu-popup",offset:i,children:(0,wt.jsxs)(Oe,{children:[(0,wt.jsx)(Q,{text:"Item 1"}),(0,wt.jsx)(Q,{text:"Item 2"}),(0,wt.jsx)(ma,{}),(0,wt.jsx)(Q,{text:"Item 3"})]})}):null)}),t==="vertical"?(0,wt.jsx)(Br,{...a,...n,orientation:"vertical",style:{width:"200px"}}):(0,wt.jsx)(Br,{...a,...n})};ua.options=kx;ua.states=Cx;ua.variants=Ax;ua.defaultOptions=vd;ua.modifiers=Ex;ua.className=ve.className;var wr=require("react/jsx-runtime");var yx=require("react/jsx-runtime");var Be=require("react/jsx-runtime"),Ix=p.states,gd={...p.defaultOptions,variant:"text"},Tx=p.options,Ox=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Bx=[{name:"opened",title:"Opened"}],fa=e=>{let{variant:t,modifiers:o,...a}={...gd,...e},n={},i=(0,Be.jsx)(J,{className:"k-menu-popup",children:(0,Be.jsxs)(Oe,{size:a.size,children:[(0,Be.jsx)(Q,{text:"Menu Item"}),(0,Be.jsx)(Q,{text:"Menu Item"}),(0,Be.jsx)(Q,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=(0,Be.jsx)("div",{children:(0,Be.jsx)(F,{...a,...n,icon:"star"})});break;case"icon-and-text":l=(0,Be.jsx)("div",{children:(0,Be.jsx)(F,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=(0,Be.jsx)("div",{children:(0,Be.jsx)(F,{...a,...n,children:"Dropdown Button"})});break}return(0,Be.jsxs)(Be.Fragment,{children:[l,(o==null?void 0:o.opened)&&i]})};fa.options=Tx;fa.states=Ix;fa.variants=Ox;fa.defaultOptions=gd;fa.modifiers=Bx;fa.className=F.className;var Dr="split-button",Ld=Dr;var Zt=require("react/jsx-runtime"),Hr="k-split-button",Px=[r.hover,r.focus,r.active,r.selected,r.disabled],Kx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info,h.inverse]},Md={arrowIconName:"chevron-down"},R=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,icon:x,endIcon:g,text:m,arrowIconName:L=Md.arrowIconName,popup:M,opened:S,popupId:E,...k}=e;return(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsxs)("div",{...k,className:s(e.className,Hr,"k-button-group",y(Hr,{rounded:o})),children:[(0,Zt.jsx)(p,{text:m,icon:x,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,...!m&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),(0,Zt.jsx)(p,{className:"k-split-button-arrow",icon:L,size:t,rounded:o,fillMode:a,disabled:b,ariaDisabled:b||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?E:void 0,tabIndex:-1})]}),S&&M&&(0,Zt.jsx)(J,{className:"k-menu-popup",children:M})]})};R.states=Px;R.options=Kx;R.className=Hr;R.defaultOptions=Md;R.moduleName=Dr;R.folderName=Ld;var zr=R;var Sd=require("react/jsx-runtime"),Rx="k-toolbar-separator",Tt=e=>(0,Sd.jsx)("div",{className:s(Rx,e.className,"k-separator")});var Eo="toolbar",ba=Eo;var O=require("react/jsx-runtime"),Qt="k-toolbar",_x=[r.focus],wx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.outline,N.flat]},Dx={scrollButtons:"around"},$=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:i,scrollButtons:l,scrollingPosition:c,section:u,...b}=e,x=[],g=(m,L)=>{let M=[];if(m.type===p&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))M.push((0,O.jsx)(p,{...m.props,className:`${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===p)M.push((0,O.jsx)(p,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===za)M.push((0,O.jsx)(za,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===W)M.push((0,O.jsx)(W,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===F)M.push((0,O.jsx)(F,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===zr)M.push((0,O.jsx)(zr,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===B||m.props.className&&m.props.className.includes("k-button-group")){let S=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((k,I)=>{S.push((0,O.jsx)(p,{...k.props,className:`${k.props.className?k.props.className:""}`},`${I}-${new Date().getTime()}`))}),M.push((0,O.jsx)(B,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:S},`${L}-${new Date().getTime()}`))}else m.type===He?M.push((0,O.jsx)(He,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===me?M.push((0,O.jsx)(me,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===Nt?M.push((0,O.jsx)(Nt,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):M.push(m);M.forEach(S=>{x.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,M)=>{g(L,M)}),(0,O.jsxs)("div",{...b,className:s(e.className,Qt,y(Qt,{size:t,fillMode:o}),C(Qt,{focus:a}),{[`${Qt}-resizable`]:n,[`${Qt}-scrollable`]:i,[`${Qt}-scrollable-overlay`]:i&&l==="hidden",[`${Qt}-scrollable-${c}`]:c&&c!=="both",[`${Qt}-section`]:u}),role:"toolbar","aria-label":"Toolbar",children:[!i&&x,i&&l==="hidden"&&(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),i&&l==="start"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(B,{children:[(0,O.jsx)("span",{className:s("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:s("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,O.jsx)(Tt,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),i&&l==="end"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),(0,O.jsx)(Tt,{className:"k-toolbar-button-separator"}),(0,O.jsxs)(B,{children:[(0,O.jsx)("span",{className:s("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:s("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(l==="around"||!l)&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("span",{className:s("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)(Tt,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),(0,O.jsx)(Tt,{className:"k-toolbar-button-separator"}),(0,O.jsx)("span",{className:s("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};$.states=_x;$.options=wx;$.className=Qt;$.defaultOptions=Dx;$.moduleName=Eo;$.folderName=ba;var kd=require("react/jsx-runtime"),Ur="k-toolbar-item",Hx=[r.focus],zx={},Ux={},xa=e=>{let{focus:t,...o}=e;return(0,kd.jsx)("div",{...o,className:s(e.className,Ur,C(Ur,{focus:t})),children:e.children})};xa.states=Hx;xa.options=zx;xa.className=Ur;xa.defaultOptions=Ux;xa.moduleName=Eo;xa.folderName=ba;var Fr=require("react/jsx-runtime"),Cd="k-toolbar-popup",Fx=[],Gx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.outline,N.flat]},Vx={},yo=e=>{let{size:t,fillMode:o,section:a,...n}=e;return(0,Fr.jsx)(J,{...n,className:s(e.className,Cd),children:a?(0,Fr.jsx)("span",{className:s("k-toolbar-items-list",y("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};yo.states=Fx;yo.options=Gx;yo.className=Cd;yo.defaultOptions=Vx;yo.moduleName=Eo;yo.folderName=ba;var Jn=yo;var $x=require("react/jsx-runtime");var Xx=require("react/jsx-runtime");var qx=require("react/jsx-runtime");var Wx=require("react/jsx-runtime");var Ad=require("react/jsx-runtime");var Jx=require("react/jsx-runtime");var vt=require("react/jsx-runtime"),Yx=R.states,Ed={...R.defaultOptions,variant:"text"},Zx=R.options,Qx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],jx=[{name:"opened",title:"Opened"}],Na=e=>{let{variant:t,modifiers:o,...a}={...Ed,...e},n={},i=(0,vt.jsxs)(Oe,{size:a.size,children:[(0,vt.jsx)(Q,{text:"Menu Item"}),(0,vt.jsx)(Q,{text:"Menu Item"}),(0,vt.jsx)(Q,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?i:"")}),t){case"icon-only":return(0,vt.jsx)("div",{children:(0,vt.jsx)(R,{...a,...n,icon:"star"})});case"icon-and-text":return(0,vt.jsx)("div",{children:(0,vt.jsx)(R,{...a,...n,icon:"star",children:"Split Button"})});default:return(0,vt.jsx)("div",{children:(0,vt.jsx)(R,{...a,...n,children:"Split Button"})})}};Na.options=Zx;Na.states=Yx;Na.variants=Qx;Na.defaultOptions=Ed;Na.modifiers=jx;Na.className=R.className;var Dt=require("react/jsx-runtime"),yd=e=>(0,Dt.jsx)($,{children:[(0,Dt.jsx)(p,{children:"Button"},"toolbar-button"),(0,Dt.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Dt.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Dt.jsxs)(B,{children:[(0,Dt.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Dt.jsx)(p,{icon:"align-center",children:"Center"}),(0,Dt.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Id=require("react/jsx-runtime");var ge=require("react/jsx-runtime"),Td=e=>(0,ge.jsx)($,{scrollable:!0,...e,children:[(0,ge.jsx)(p,{children:"Button"},"toolbar-button"),(0,ge.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,ge.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,ge.jsxs)(B,{children:[(0,ge.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ge.jsx)(p,{icon:"align-center",children:"Center"}),(0,ge.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ge.jsx)(p,{children:"Button"},"toolbar-button"),(0,ge.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,ge.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,ge.jsxs)(B,{children:[(0,ge.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ge.jsx)(p,{icon:"align-center",children:"Center"}),(0,ge.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Le=require("react/jsx-runtime"),Od=({scrollingPosition:e="start",...t})=>(0,Le.jsx)($,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,Le.jsx)(p,{children:"Button"},"toolbar-button"),(0,Le.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Le.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Le.jsxs)(B,{children:[(0,Le.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Le.jsx)(p,{icon:"align-center",children:"Center"}),(0,Le.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Le.jsx)(p,{children:"Button"},"toolbar-button"),(0,Le.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Le.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Le.jsxs)(B,{children:[(0,Le.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Le.jsx)(p,{icon:"align-center",children:"Center"}),(0,Le.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var j=require("react/jsx-runtime"),Bd=({fillMode:e,size:t,...o})=>(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)($,{section:!0,fillMode:e,size:t,children:[(0,j.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,j.jsxs)(B,{fillMode:e,children:[(0,j.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,j.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,j.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,j.jsx)(Tt,{className:"k-toolbar-button-separator"}),(0,j.jsx)(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),(0,j.jsxs)(Jn,{size:t,fillMode:e,section:!0,...o,children:[(0,j.jsx)(R,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,j.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,j.jsx)(Tt,{}),(0,j.jsx)(F,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,j.jsxs)(B,{fillMode:e,children:[(0,j.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,j.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,j.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var Gr=require("react/jsx-runtime");var Vr=require("react/jsx-runtime");var jt=require("react/jsx-runtime"),eN=$.options,tN=$.states,Pd={...$.defaultOptions,variant:"default"},oN=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],aN=[],ha=e=>{let{variant:t,...o}={...Pd,...e};switch(t){case"responsive":return(0,jt.jsx)("div",{children:(0,jt.jsx)(Bd,{style:{width:"583px"},...o})});case"overlay":return(0,jt.jsx)("div",{children:(0,jt.jsx)(Od,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,jt.jsx)("div",{children:(0,jt.jsx)(Td,{style:{width:"583px"},...o})});default:return(0,jt.jsx)("div",{children:(0,jt.jsx)(yd,{style:{width:"583px"},...o})})}};ha.options=eN;ha.states=tN;ha.variants=oN;ha.defaultOptions=Pd;ha.modifiers=aN;ha.className=$.className;var rn=require("react/jsx-runtime"),Yn="k-fab",rN=[r.hover,r.focus,r.active,r.selected,r.disabled],iN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},Kd={type:"button"},pe=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:i,type:l=Kd.type,position:c,hover:u,focus:b,active:x,selected:g,disabled:m,...L}=e;return(0,rn.jsxs)("button",{...L,type:l,className:s(e.className,Yn,y(Yn,{size:t,rounded:o,themeColor:a}),C(Yn,{hover:u,focus:b,active:x,disabled:m,selected:g}),{[`!k-pos-absolute k-${c}`]:c}),...!n&&i&&!e["aria-label"]&&{"aria-label":"Action"},...m&&{"aria-disabled":"true"},disabled:m||void 0,children:[i&&(0,rn.jsx)(v,{className:"k-fab-icon",icon:i}),n&&(0,rn.jsx)("span",{className:"k-fab-text",children:n})]})};pe.states=rN;pe.options=iN;pe.className=Yn;pe.defaultOptions=Kd;pe.moduleName="fab";pe.folderName="fab";var _d=require("react/jsx-runtime"),lN="k-fab-items",Rd=e=>{let{position:t,...o}=e;return(0,_d.jsx)("ul",{...o,className:s(e.className,lN,{[`k-fab-items-${t}`]:t}),children:e.children})};var ln=require("react/jsx-runtime"),wd="k-fab-item",pN=[r.hover,r.focus,r.active,r.disabled],$r=e=>{let{text:t,icon:o,align:a,hover:n,focus:i,active:l,disabled:c,...u}=e;return(0,ln.jsxs)("li",{...u,className:s(e.className,wd,{[`k-text-${a}`]:a},C(wd,{hover:n,focus:i,active:l,disabled:c})),children:[(0,ln.jsx)("span",{className:"k-fab-item-text",children:t}),(0,ln.jsx)(v,{className:"k-fab-item-icon",icon:o})]})};$r.states=pN;var dN=require("react/jsx-runtime");var Hd=require("react/jsx-runtime"),Dd=e=>(0,Hd.jsx)(pe,{icon:"plus",...e});var cN=require("react/jsx-runtime");var mN=require("react/jsx-runtime");var eo=require("react/jsx-runtime"),uN=pe.options,fN=pe.states,bN={...pe.defaultOptions,variant:"text"},xN=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],NN=[{name:"opened",title:"Opened"}],va=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},i=n?(0,eo.jsx)("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:(0,eo.jsx)(Rd,{position:"bottom",children:(0,eo.jsx)($r,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=(0,eo.jsx)(pe,{...a,icon:"star"});break;case"icon-and-text":l=(0,eo.jsx)(pe,{...a,icon:"star",text:"Action"});break;default:l=(0,eo.jsx)(pe,{...a,text:"Action"});break}return(0,eo.jsxs)("span",{style:{position:"relative"},children:[l,i]})};va.options=uN;va.states=fN;va.variants=xN;va.defaultOptions=bN;va.modifiers=NN;va.className=pe.className;var Xr="prompt-box",zd=Xr;var qr="speech-to-text-button",Ud=qr;var Vd=require("react/jsx-runtime"),Fd="k-speech-to-text-button",Gd={icon:"microphone"},pt=e=>{let{listening:t=!1,icon:o=Gd.icon,...a}=e;return(0,Vd.jsx)(p,{...a,icon:t?"stop":o,className:s(e.className,Fd,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};pt.states=p.states;pt.options=p.options;pt.className=Fd;pt.defaultOptions=Gd;pt.moduleName=qr;pt.folderName=Ud;var hN=require("react/jsx-runtime");var vN=require("react/jsx-runtime");var Xd=require("react/jsx-runtime"),gN=p.states,$d={...p.defaultOptions,variant:"normal"},LN={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},MN=[],SN=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],ga=e=>{let{variant:t,...o}={...$d,...e},a={};return t==="listening"&&(a.listening=!0),(0,Xd.jsx)(pt,{...o,...a})};ga.options=LN;ga.states=gN;ga.variants=SN;ga.defaultOptions=$d;ga.modifiers=MN;ga.className=pt.className;var gt=require("react/jsx-runtime"),Ht="k-prompt-box",kN=[r.hover,r.focus,r.disabled],CN={fillMode:[N.undefined,N.solid,N.flat,N.outline]},Wr={lineMode:"auto",isExpanded:!1},ze=e=>{let{fillMode:t,lineMode:o=Wr.lineMode,startAffix:a,endAffix:n,header:i,isExpanded:l=Wr.isExpanded,className:c,children:u,value:b,placeholder:x,generating:g,actionButtonConfig:m,speechToTextButtonConfig:L,uploadButtonConfig:M,hover:S,focus:E,disabled:k,...I}=e,D=o==="multi"||o==="auto"&&l;return(0,gt.jsxs)("div",{...I,className:s(c,"k-input",Ht,{[`${Ht}-singleline`]:o==="single",[`${Ht}-multiline`]:D,[`k-input-${t}`]:t,"k-hover":S,"k-focus":E,"k-disabled":k}),children:[i&&(0,gt.jsx)("div",{className:`${Ht}-header`,children:i}),(0,gt.jsxs)("div",{className:`${Ht}-content`,children:[a&&(0,gt.jsx)("div",{className:`${Ht}-affix`,children:a}),o==="single"?(0,gt.jsx)(Ke,{value:b,placeholder:x,className:`${Ht}-input`,type:"text","aria-label":"Prompt input"}):(0,gt.jsx)(Va,{value:b,placeholder:x,className:`${Ht}-textarea`,rows:o==="multi"||l?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),(0,gt.jsxs)("div",{className:`${Ht}-affix`,children:[n,M&&(0,gt.jsx)(W,{icon:"paperclip",size:"small",fillMode:"flat",rounded:"full","aria-label":"Attach files",...M}),L!==!1&&(0,gt.jsx)(pt,{size:"small",fillMode:"flat",rounded:"full",...L}),(0,gt.jsx)(W,{icon:g?"stop":"arrow-up",size:"small",rounded:"full",active:g,disabled:!b&&!g,"aria-label":g?"Stop generating":"Send prompt","aria-live":"polite",...m,className:s({"k-generating":g},m==null?void 0:m.className)})]})]}),u]})};ze.states=kN;ze.options=CN;ze.className=Ht;ze.defaultOptions=Wr;ze.moduleName=Xr;ze.folderName=zd;var AN=require("react/jsx-runtime");var EN=require("react/jsx-runtime");var yN=require("react/jsx-runtime");var IN=require("react/jsx-runtime");var TN=require("react/jsx-runtime");var Ue=require("react/jsx-runtime"),ON=ze.options,BN=ze.states,PN={...ze.defaultOptions,variant:"Single"},KN=[{name:"Single",title:"Singleline"},{name:"Multi",title:"Multiline"}],RN=[{name:"header",title:"Header"},{name:"endAffix",title:"End Affix"},{name:"startAffix",title:"Start Affix"}],La=e=>{let{variant:t,modifiers:o,...a}=e,n={},i=(0,Ue.jsx)(Ue.Fragment,{children:(0,Ue.jsx)(W,{size:"small",icon:"send",fillMode:"flat"})});return Object.keys(o||{}).forEach(l=>{switch(l){case"header":n.header=o!=null&&o[l]?(0,Ue.jsx)(p,{children:"Button in header"}):void 0;break;case"endAffix":o!=null&&o[l]&&(n.endAffix=(0,Ue.jsxs)(Ue.Fragment,{children:[i,(0,Ue.jsx)(W,{icon:"paperclip",size:"small",fillMode:"flat"})]}));break;case"startAffix":n.startAffix=o!=null&&o[l]?(0,Ue.jsx)(Ue.Fragment,{children:(0,Ue.jsx)(W,{icon:"plus",size:"small",fillMode:"flat"})}):void 0;break;default:break}}),t==="Multi"?(0,Ue.jsx)(ze,{style:{width:300},lineMode:"multi",endAffix:i,placeholder:"Enter your prompt...",...a,...n}):(0,Ue.jsx)(ze,{style:{width:300},lineMode:"single",endAffix:i,placeholder:"Enter your prompt...",...a,...n})};La.options=ON;La.states=BN;La.variants=KN;La.defaultOptions=PN;La.modifiers=RN;La.className=ze.className;var Jr="chat",qd=Jr;var Me=require("react/jsx-runtime"),Wd="k-chat",_N=[],wN={},DN=(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(W,{icon:"paperclip",fillMode:"clear",rounded:"full",size:"small","aria-label":"Attach file"},"paperclip"),(0,Me.jsx)("div",{className:"k-spacer"})]}),Jd={tools:DN},q=e=>{let{header:t,dir:o,suggestedActions:a,files:n,pinned:i,replied:l,generating:c,tools:u=Jd.tools,value:b,empty:x,scrollToBottom:g,scrollbar:m,promptBoxProps:L,...M}=e;return(0,Me.jsxs)("div",{...M,className:s(Wd,e.className),dir:o,children:[t,(0,Me.jsxs)("div",{className:"k-message-list",role:"log","aria-label":"Message list","aria-live":"polite",children:[i,(0,Me.jsx)("div",{className:s("k-message-list-content",x&&"k-message-list-content-empty"),children:e.children}),g&&(0,Me.jsx)("div",{className:"k-chat-scroll-to-bottom-container",children:(0,Me.jsx)(Dd,{themeColor:"base",icon:"arrow-down",size:"small"})})]}),m&&(0,Me.jsx)("div",{className:"k-separator"}),(0,Me.jsxs)("div",{className:"k-message-box-wrapper",children:[a,(0,Me.jsx)(ze,{lineMode:"multi",placeholder:"Type a message",generating:c,value:b,header:n||l?(0,Me.jsxs)(Me.Fragment,{children:[l,n]}):void 0,endAffix:u,...L})]})]})};q.states=_N;q.options=wN;q.className=Wd;q.defaultOptions=Jd;q.moduleName=Jr;q.folderName=qd;var Yr="avatar",Yd=Yr;var Qr=require("react/jsx-runtime"),pn="k-avatar";var HN=[r.hover,r.focus,r.active,r.selected,r.disabled],zN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.outline],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},Zr={type:"text",border:!1},Fe=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:i=Zr.type,border:l=Zr.border,...c}=e;return(0,Qr.jsx)("div",{...c,className:s(e.className,pn,y(pn,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${pn}-bordered`]:l}),children:(0,Qr.jsx)("span",{className:`${pn}-${i}`,children:e.children})})};Fe.states=HN;Fe.options=zN;Fe.className=pn;Fe.defaultOptions=Zr;Fe.moduleName=Yr;Fe.folderName=Yd;var Io=Fe;var Qd=require("react/jsx-runtime"),Zd=e=>(0,Qd.jsx)(Io,{type:"icon",...e});var ec=require("react/jsx-runtime"),jd=e=>(0,ec.jsx)(Io,{type:"text",...e});var tc=require("react/jsx-runtime"),Qn=e=>(0,tc.jsx)(Io,{type:"image",...e});var UN=require("react/jsx-runtime");var Ma=require("react/jsx-runtime"),FN=Fe.options,GN=Fe.states,VN={...Fe.defaultOptions,variant:"image"},$N=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],XN=[],Sa=e=>{let{variant:t,...o}=e;switch(t){case"icon":return(0,Ma.jsx)(Zd,{...o,children:(0,Ma.jsx)(v,{icon:"star"})});case"text":return(0,Ma.jsx)(jd,{...o,children:"JO"});default:return(0,Ma.jsx)(Qn,{...o,children:(0,Ma.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Sa.options=FN;Sa.states=GN;Sa.variants=$N;Sa.defaultOptions=VN;Sa.modifiers=XN;Sa.className=Fe.className;var Ot=require("react/jsx-runtime"),dn="k-message-group",qN=[r.selected],WN={},jn={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},ee=e=>{let{type:t=jn.type,author:o=jn.author,avatar:a=jn.avatar,status:n,selected:i,fullWidth:l,...c}=e;return(0,Ot.jsxs)("div",{...c,className:s(dn,e.className,C(dn,{selected:i}),{[`${dn}-${t}`]:t,"k-no-avatar":!a,[`${dn}-full-width`]:l}),children:[a&&!n&&(0,Ot.jsx)(Fe,{type:"image",children:(0,Ot.jsx)("img",{src:a,alt:o||""})}),n&&a&&(0,Ot.jsxs)("div",{className:"k-chat-user-status-wrapper",children:[(0,Ot.jsx)(Fe,{type:"image",children:(0,Ot.jsx)("img",{src:a,alt:o||""})}),(0,Ot.jsx)("div",{className:"k-chat-user-status"})]}),(0,Ot.jsxs)("div",{className:"k-message-group-content",children:[o&&(0,Ot.jsx)("span",{className:"k-message-author",children:o}),e.children]})]})};ee.states=qN;ee.options=WN;ee.className=dn;ee.defaultOptions=jn;var zt=require("react/jsx-runtime"),jr="k-message-reference",JN={},oc={type:"receiver"},uo=e=>{let{content:t,closeable:o,pinned:a,type:n=oc.type,...i}=e;return(0,zt.jsxs)("div",{...i,className:s(jr,e.className,{[`${jr}-${n}`]:n,"k-message-pinned":a}),children:[a&&(0,zt.jsx)(v,{icon:"pin"}),(0,zt.jsx)("div",{className:"k-message-reference-content",children:t}),o&&(0,zt.jsxs)(zt.Fragment,{children:[(0,zt.jsx)("span",{className:"k-spacer"}),(0,zt.jsx)(p,{icon:"x-circle",fillMode:"flat",size:"xsmall","aria-label":"Close"})]})]})};uo.options=JN;uo.className=jr;uo.moduleName=null;uo.folderName=null;uo.defaultOptions=oc;var ei="bubble",ac=ei;var To=require("react/jsx-runtime"),ti="k-bubble",YN=[r.hover,r.active,r.selected,r.focus],oi={expandable:!1,expanded:!1},Oo=e=>{let{content:t,hover:o,active:a,focus:n,selected:i,expandable:l=oi.expandable,expanded:c=oi.expanded,...u}=e;return(0,To.jsxs)("div",{...u,className:s(e.className,ti,C(ti,{hover:o,active:a,focus:n,selected:i}),{"k-bubble-expandable":l},{"k-expanded":c}),tabIndex:0,children:[(0,To.jsx)("div",{className:"k-bubble-content",children:t??e.children}),l&&(0,To.jsx)("span",{className:"k-bubble-expandable-indicator",role:"button","aria-label":c?"Show less":"Show more",tabIndex:0,children:c?(0,To.jsx)(v,{icon:"chevron-up"}):(0,To.jsx)(v,{icon:"chevron-down"})})]})};Oo.states=YN;Oo.className=ti;Oo.defaultOptions=oi;Oo.moduleName=ei;Oo.folderName=ac;var ZN=require("react/jsx-runtime");var QN=require("react/jsx-runtime");var jN=require("react/jsx-runtime");var Bo=require("react/jsx-runtime"),eh="k-chat-bubble",sc=e=>{let{typing:t,content:o,files:a,...n}=e;return(0,Bo.jsxs)(Oo,{...n,className:s(e.className,eh),children:[t?(0,Bo.jsxs)("div",{className:"k-typing-indicator",tabIndex:-1,children:[(0,Bo.jsx)("span",{}),(0,Bo.jsx)("span",{}),(0,Bo.jsx)("span",{})]}):o,a]})};var th=require("react/jsx-runtime");var cn=require("react/jsx-runtime"),rc="k-chat-event",ai={icon:"trash",text:"You deleted Chat history."},ic=e=>{let{icon:t=ai.icon,text:o=ai.text,...a}=e;return(0,cn.jsxs)("div",{...a,className:s(e.className,rc),children:[t&&(0,cn.jsx)(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&(0,cn.jsx)("span",{className:"k-chat-event-text",children:o})]})};ic.className=rc;ic.defaultOptions=ai;var oh=require("react/jsx-runtime");var Ge=require("react/jsx-runtime"),lc=e=>(0,Ge.jsx)(q,{children:(0,Ge.jsxs)(Ge.Fragment,{children:[(0,Ge.jsx)("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),(0,Ge.jsx)(ee,{children:(0,Ge.jsx)(V,{})}),(0,Ge.jsx)(ee,{type:"sender",children:(0,Ge.jsx)(V,{})}),(0,Ge.jsx)(ee,{children:(0,Ge.jsx)(V,{text:"Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior."})}),(0,Ge.jsx)(ee,{type:"sender",children:(0,Ge.jsx)(V,{text:"Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior"})})]}),...e});var ni=require("react/jsx-runtime"),es="k-file-box-wrapper",pc={layout:"horizontal"},Ut=e=>{let{layout:t=pc.layout,scrollingPosition:o,...a}=e;return(0,ni.jsx)("ul",{role:"list","aria-label":"Attached files",...a,className:s(e.className,es,{"k-files-vertical":t==="vertical","k-files-wrap":t==="wrap",[`${es}-scrollable-start`]:t==="horizontal"&&(o==="start"||o==="both"),[`${es}-scrollable-end`]:t==="horizontal"&&(o==="end"||o==="both")}),children:t==="horizontal"?(0,ni.jsx)("div",{className:"k-files-scroll",role:"presentation",children:e.children}):e.children})};Ut.className=es;Ut.defaultOptions=pc;var si="file-box",dc=si;var Ft=require("react/jsx-runtime"),cc="k-file-box",ah=[r.selected],nh={},mn={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},et=e=>{let{icon:t=mn.icon,name:o=mn.name,size:a=mn.size,status:n,deleted:i,removeButton:l,showButton:c=mn.showButton,...u}=e,b=[o,a].filter(Boolean).join(" ");return(0,Ft.jsxs)("li",{role:"listitem",tabIndex:0,"aria-label":b||void 0,...u,className:s(cc,e.className,{"k-file-deleted":i}),children:[(0,Ft.jsx)(v,{icon:t,size:"xlarge","aria-hidden":"true"}),(0,Ft.jsxs)("div",{className:"k-file-info",children:[o&&(0,Ft.jsx)("span",{className:"k-file-name",children:o}),a&&(0,Ft.jsx)("span",{className:"k-file-size",children:a}),n&&(0,Ft.jsx)("span",{className:"k-file-status",children:n})]}),c&&(l?(0,Ft.jsx)(p,{as:"span",icon:"x-circle",fillMode:"flat",size:"xsmall","aria-hidden":"true"}):(0,Ft.jsx)(F,{icon:"more-vertical",fillMode:"flat",size:"xsmall",showArrow:!1,"aria-label":"File actions"}))]})};et.states=ah;et.options=nh;et.className=cc;et.defaultOptions=mn;et.moduleName=si;et.folderName=dc;var sh=require("react/jsx-runtime");var rh=require("react/jsx-runtime");var mc=require("react/jsx-runtime");var uc=require("react/jsx-runtime");var ih=require("react/jsx-runtime");var ri=require("react/jsx-runtime");var ii=require("react/jsx-runtime");var li="skeleton",fc=li;var bc=require("react/jsx-runtime"),pi="k-skeleton",lh=["circle","text","rect"],ph=[],dh={},di={variant:"text",shape:"text",animation:"pulse"},Gt=e=>{let{variant:t,shape:o,animation:a=di.animation,...n}=e,i=`skeleton-${t||o||di.variant}`;return(0,bc.jsx)("span",{...n,className:s(e.className,pi,hn(pi,i),{[`k-skeleton-${a}`]:a}),style:e.style})};Gt.states=ph;Gt.options=dh;Gt.variants=lh;Gt.className=pi;Gt.defaultOptions=di;Gt.moduleName=li;Gt.folderName=fc;var ch=require("react/jsx-runtime");var mh=require("react/jsx-runtime");var uh=require("react/jsx-runtime");var ci=require("react/jsx-runtime");var mi=require("react/jsx-runtime");var ui="window",xc=ui;var hc=require("react/jsx-runtime"),Nc="k-window-content",fh=[],bh={},xh={},fo=e=>{let{children:t,...o}=e;return(0,hc.jsx)("div",{...o,className:s(Nc,e.className),children:t})};fo.states=fh;fo.options=bh;fo.className=Nc;fo.defaultOptions=xh;fo.moduleName=ui;fo.folderName=xc;var un="dialog",ts=un;var tt=require("react/jsx-runtime"),vc="k-dialog",Nh=[],hh={},fi={actionButtonsAlign:"stretched",modal:!0},dt=e=>{let{title:t,actions:o,actionButtons:a,actionButtonsAlign:n=fi.actionButtonsAlign,modal:i=fi.modal,...l}=e,c=t!==void 0?K("dialog-titlebar"):void 0,u=K("dialog-content");return(0,tt.jsxs)("div",{className:"k-dialog-wrapper",children:[i&&(0,tt.jsx)(Rt,{}),(0,tt.jsxs)("div",{...l,className:s(e.className,vc,"k-window"),role:"dialog","aria-labelledby":c,"aria-describedby":u,...i&&{"aria-modal":"true"},children:[(t!==void 0||o)&&(0,tt.jsxs)("div",{className:"k-window-titlebar k-dialog-titlebar",id:c,children:[t!==void 0&&(0,tt.jsx)("span",{className:"k-window-title k-dialog-title",children:t}),o&&(0,tt.jsx)(tt.Fragment,{children:(0,tt.jsx)("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(b=>(0,tt.jsx)(p,{icon:b,fillMode:"flat",size:"xsmall",className:"k-window-titlebar-action k-dialog-titlebar-action","aria-label":b},b))})})]}),(0,tt.jsx)(fo,{className:"k-dialog-content",id:u,children:e.children}),a&&(0,tt.jsx)(nt,{alignment:n,className:"k-window-actions k-dialog-actions",children:a})]})]})};dt.states=Nh;dt.options=hh;dt.className=vc;dt.defaultOptions=fi;dt.moduleName=un;dt.folderName=ts;var bi=dt;var Lc=require("react/jsx-runtime"),gc="k-dialog-wrapper",vh=[],gh={},Lh={},ka=e=>{let{...t}=e;return(0,Lc.jsx)("div",{...t,className:s(e.className,gc),children:e.children})};ka.states=vh;ka.options=gh;ka.className=gc;ka.defaultOptions=Lh;ka.moduleName=un;ka.folderName=ts;var Vt=require("react/jsx-runtime"),Mc=e=>(0,Vt.jsx)(bi,{title:"Title",children:(0,Vt.jsx)(Vt.Fragment,{children:"Dialog content"}),actionButtons:(0,Vt.jsxs)(Vt.Fragment,{children:[(0,Vt.jsx)(p,{children:"Action"}),(0,Vt.jsx)(p,{themeColor:"primary",children:"Primary"})]}),actions:["x"],...e});var xi=require("react/jsx-runtime");var to=require("react/jsx-runtime"),Mh=dt.options,Sh=[],kh=dt.states,Ch=dt.defaultOptions,Ah=[],Ca=e=>(0,to.jsx)(Mc,{style:{width:"350px",height:"215px"},...e,title:"Please confirm",actions:["x"],actionButtonsAlign:"stretched",actionButtons:(0,to.jsxs)(to.Fragment,{children:[(0,to.jsx)(p,{children:"No"}),(0,to.jsx)(p,{themeColor:"primary",children:"Yes"})]}),children:(0,to.jsx)("p",{style:{margin:"36px",textAlign:"center"},children:"Are you sure you want to continue?"})});Ca.options=Mh;Ca.states=kh;Ca.variants=Sh;Ca.defaultOptions=Ch;Ca.modifiers=Ah;Ca.className=dt.className;var Ni="dropzone",Sc=Ni;var Po=require("react/jsx-runtime"),hi="k-external-dropzone",Eh=[r.disabled,r.hover],yh={},vi={icon:"upload",hint:"Drag and drop files here to upload"},Ve=e=>{let{hover:t,disabled:o,icon:a=vi.icon,hint:n=vi.hint,note:i,...l}=e;return(0,Po.jsx)("div",{...l,className:s(e.className,hi,C(hi,{disabled:o}),{"k-external-dropzone-hover":t}),children:(0,Po.jsxs)("div",{className:"k-dropzone-inner",children:[a&&(0,Po.jsx)(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),n&&(0,Po.jsx)("span",{className:"k-dropzone-hint",children:n}),i&&(0,Po.jsx)("span",{className:"k-dropzone-note",children:i})]})})};Ve.states=Eh;Ve.options=yh;Ve.className=hi;Ve.defaultOptions=vi;Ve.moduleName=Ni;Ve.folderName=Sc;var Cc=require("react/jsx-runtime"),kc=e=>(0,Cc.jsx)(Ve,{...e});var Ih=require("react/jsx-runtime");var Ac=require("react/jsx-runtime"),Th=Ve.options,Oh=Ve.states,Bh=Ve.defaultOptions,Ph=[{name:"note",title:"Note"}],Kh=[],Aa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="note"&&(a.note=t!=null&&t[n]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),(0,Ac.jsx)(kc,{style:{width:"500px"},...o,...a})};Aa.options=Th;Aa.states=Oh;Aa.variants=Kh;Aa.defaultOptions=Bh;Aa.modifiers=Ph;Aa.className=Ve.className;var se=require("react/jsx-runtime"),gi="k-upload-dropzone",Rh=[r.hover],os=e=>{let{hover:t,status:o,disabled:a,hasFiles:n,filesId:i,buttonText:l="Select files...",...c}=e,u;switch(o){case"uploading":u=(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(v,{icon:"upload"}),"Uploading..."]});break;case"done":u=(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(v,{icon:"check"}),"Done"]});break;case"failed":u=(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)(v,{icon:"exclamation-circle"}),"Done"]});break;default:u=(0,se.jsx)(se.Fragment,{});break}return(0,se.jsxs)("div",{...c,className:s(e.className,gi,"k-dropzone",C(gi,{hover:t})),children:[(0,se.jsxs)("div",{className:"k-upload-button-wrap",children:[(0,se.jsx)(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...n&&i?{"aria-controls":i}:{},children:l}),(0,se.jsx)("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),(0,se.jsx)("span",{className:s("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&(0,se.jsx)("span",{className:"k-upload-status",children:u})]})};os.states=Rh;os.className=gi;var Li="upload",Ec=Li;var bo=require("react/jsx-runtime"),Mi="k-upload",_h=[r.hover,r.disabled],wh={},Ic={actionsLayout:"end"},yc="upload-files-list",de=e=>{let{async:t,empty:o,actions:a,actionsLayout:n=Ic.actionsLayout,hover:i,status:l,disabled:c,buttonText:u,...b}=e,x=!!e.children;return(0,bo.jsxs)("div",{...b,className:s(e.className,Mi,C(Mi,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[(0,bo.jsx)(os,{status:l,hover:i,disabled:c,hasFiles:x,filesId:yc,buttonText:u}),x&&(0,bo.jsx)("ul",{className:"k-upload-files",role:"list",id:yc,children:e.children}),a&&x&&(0,bo.jsxs)(gl,{alignment:n,orientation:"horizontal",children:[(0,bo.jsx)(p,{className:"k-clear-selected",children:"Clear"}),(0,bo.jsx)(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};de.states=_h;de.options=wh;de.className=Mi;de.defaultOptions=Ic;de.moduleName=Li;de.folderName=Ec;var fn="progressbar",as=fn;var xo=require("react/jsx-runtime"),Lt="k-progressbar",Dh=[r.disabled,r.indeterminate],Hh={orientation:["horizontal","vertical"]},Ko={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},$e=e=>{let{disabled:t,height:o,indeterminate:a=Ko.indeterminate,label:n=Ko.label,labelPosition:i=Ko.labelPosition,orientation:l=Ko.orientation,reverse:c=Ko.reverse,value:u=Ko.value,width:b,style:x,ariaLabel:g,...m}=e;return(0,xo.jsxs)("div",{...m,className:s(e.className,Lt,C(Lt,{disabled:t}),{[`${Lt}-${l}`]:l,[`${Lt}-indeterminate`]:a,[`${Lt}-reverse`]:c}),style:{...x,"--kendo-progressbar-value":u,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:b},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(u),"aria-valuemin":0,"aria-valuemax":100,children:[(0,xo.jsx)("span",{className:s("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:n&&(0,xo.jsxs)("span",{className:"k-progress-status",children:[u,"%"]})}),!a&&(0,xo.jsx)("div",{className:"k-progressbar-value k-selected",children:(0,xo.jsx)("span",{className:s("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:n&&(0,xo.jsxs)("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};$e.states=Dh;$e.options=Hh;$e.className=Lt;$e.defaultOptions=Ko;$e.moduleName=fn;$e.folderName=as;var Tc=$e;var ss=require("react/jsx-runtime"),Oc="k-chunk-progressbar",zh=(e,t)=>t<=e-1,Uh=[r.disabled,r.indeterminate],Fh={},ns={chunkCount:5,orientation:"horizontal",progress:0},Ea=e=>{let{disabled:t,chunkCount:o=ns.chunkCount,indeterminate:a,orientation:n=ns.orientation,progress:i=ns.progress,reverse:l,ariaLabel:c,...u}=e;return(0,ss.jsx)("div",{...u,className:s(e.className,Lt,Oc,C(Lt,{disabled:t}),{[`${Lt}-${n}`]:n,[`${Lt}-indeterminate`]:a,[`${Lt}-reverse`]:l}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:(0,ss.jsx)("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((b,x)=>(0,ss.jsx)("li",{className:s("k-progressbar-chunk",{"k-first":x===0,"k-last":x===[...Array(o)].length-1,"k-selected":zh(i,x)})},x))})})};Ea.states=Uh;Ea.options=Fh;Ea.className=Oc;Ea.defaultOptions=ns;Ea.moduleName=fn;Ea.folderName=as;var Bc=require("react/jsx-runtime"),bn=e=>(0,Bc.jsx)(Tc,{...e});var Gh=require("react/jsx-runtime");var oo=require("react/jsx-runtime"),Vh=$e.options,$h=$e.states,Pc={...$e.defaultOptions,variant:"start"},Xh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],qh=[],ya=e=>{let{variant:t,modifiers:o,...a}={...Pc,...e},n={},i={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":n.reverse=!!(o!=null&&o[l]);break;case"vertical":n.orientation=o!=null&&o[l]?"vertical":void 0,i.style=o!=null&&o[l]?void 0:{width:"324px"};break}}),t){case"end":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(bn,{...a,...n,labelPosition:"end",value:"50"})});case"center":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(bn,{...a,...n,labelPosition:"center",value:"50"})});case"empty":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(bn,{...a,...n,label:!1,value:"50"})});default:return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(bn,{...a,...n,labelPosition:"start",value:"50"})})}};ya.options=Vh;ya.states=$h;ya.variants=Xh;ya.defaultOptions=Pc;ya.modifiers=qh;ya.className=$e.className;var Ia=require("react/jsx-runtime"),Wh="k-file-info",Si=e=>{let{name:t,size:o,validationMsg:a,...n}=e;return(0,Ia.jsxs)("div",{...n,className:s(e.className,Wh),children:[t&&(0,Ia.jsx)("span",{className:"k-file-name",children:t}),o&&(0,Ia.jsx)("span",{className:"k-file-size",children:o}),a&&(0,Ia.jsx)("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};var Se=require("react/jsx-runtime"),Jh="k-file",ot=e=>{let{status:t,progress:o,name:a,icon:n,size:i,state:l,validationMsg:c,...u}=e;return(0,Se.jsx)("li",{...u,className:s(e.className,Jh,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:(0,Se.jsxs)("div",{className:"k-file-single",children:[(0,Se.jsx)($e,{className:s({"k-hidden":t!=="progress"}),value:o,label:!1}),(0,Se.jsxs)("span",{className:"k-file-icon-wrapper",children:[(0,Se.jsx)(v,{className:"k-file-icon",icon:n,size:"xxlarge"}),l&&(0,Se.jsx)("span",{className:"k-file-state",children:l})]}),(0,Se.jsx)(Si,{name:a,size:i,validationMsg:c}),(0,Se.jsx)("div",{className:"k-upload-actions",children:t==="progress"?(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsxs)("span",{className:"k-upload-pct",children:[o,"%"]}),(0,Se.jsx)(p,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),(0,Se.jsx)(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):(0,Se.jsx)(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};var ki=require("react/jsx-runtime");var No=require("react/jsx-runtime"),xn=e=>(0,No.jsx)(de,{async:!0,children:(0,No.jsxs)(No.Fragment,{children:[(0,No.jsx)(ot,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),(0,No.jsx)(ot,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});var Ci=require("react/jsx-runtime");var Rc=require("react/jsx-runtime"),Kc=e=>(0,Rc.jsx)(de,{async:!0,empty:!0,...e});var Ai=require("react/jsx-runtime");var Ei=require("react/jsx-runtime");var Xe=require("react/jsx-runtime"),Yh=de.options,Zh=de.states,_c={...de.defaultOptions,variant:"empty"},Qh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],jh=[],Ta=e=>{let{variant:t,...o}={..._c,...e};switch(t){case"success":return(0,Xe.jsxs)(xn,{status:"done",style:{width:"586px"},...o,children:[(0,Xe.jsx)(ot,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),(0,Xe.jsx)(ot,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return(0,Xe.jsxs)(xn,{status:"failed",style:{width:"586px"},...o,children:[(0,Xe.jsx)(ot,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),(0,Xe.jsx)(ot,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return(0,Xe.jsxs)(xn,{status:"uploading",style:{width:"586px"},...o,children:[(0,Xe.jsx)(ot,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),(0,Xe.jsx)(ot,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return(0,Xe.jsxs)(xn,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[(0,Xe.jsx)(ot,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),(0,Xe.jsx)(ot,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return(0,Xe.jsx)(Kc,{async:!0,status:"upload",style:{width:"586px"},...o})}};Ta.options=Yh;Ta.states=Zh;Ta.variants=Qh;Ta.defaultOptions=_c;Ta.modifiers=jh;Ta.className=de.className;var yi=require("react/jsx-runtime");var ev=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var Ti=require("react/jsx-runtime");var Oi=require("react/jsx-runtime");var wc=require("react/jsx-runtime");var Bi="appbar",Dc=Bi;var Hc=require("react/jsx-runtime"),Pi="k-appbar",tv=[],ov={themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.inverse]},av={},qe=e=>{let{themeColor:t,positionMode:o,position:a,...n}=e;return(0,Hc.jsx)("div",{...n,className:s(e.className,Pi,y(Pi,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${a}`]:a}),children:e.children})};qe.states=tv;qe.options=ov;qe.className=Pi;qe.defaultOptions=av;qe.moduleName=Bi;qe.folderName=Dc;var zc=require("react/jsx-runtime"),nv="k-appbar-section",$t=e=>{let{...t}=e;return(0,zc.jsx)("div",{...t,className:s(nv,e.className),children:e.children})};var Ki=require("react/jsx-runtime");var H=require("react/jsx-runtime"),Ri={...qe.options,positionMode:["static","sticky","fixed"]},sv=qe.states,Uc={...qe.defaultOptions,themeColor:"primary",variant:"top",positionMode:"sticky"};Ri.themeColor=["primary",...Ri.themeColor.filter(e=>e!=="primary")];var rv=[{name:"top",title:"Top"},{name:"bottom",title:"Bottom"}],Oa=e=>{let{variant:t,...o}={...Uc,...e},a=(0,H.jsxs)(qe,{position:t,...o,children:[(0,H.jsx)($t,{children:(0,H.jsx)(W,{fillMode:"flat",icon:"menu"})}),(0,H.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,H.jsx)($t,{children:(0,H.jsx)("h3",{className:"k-m-0",children:"AppBar"})}),(0,H.jsx)("span",{className:"k-spacer"}),(0,H.jsxs)($t,{children:[(0,H.jsx)(kt,{fillMode:"flat",children:"Button"}),(0,H.jsx)(kt,{fillMode:"flat",children:"Button"}),(0,H.jsx)(kt,{fillMode:"flat",children:"Button"})]}),(0,H.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,H.jsx)($t,{children:(0,H.jsx)(In,{value:"Input value"})}),(0,H.jsxs)($t,{children:[(0,H.jsx)(W,{className:"k-mx-sm",fillMode:"flat",icon:"bell"}),(0,H.jsx)("span",{className:"k-appbar-separator"}),(0,H.jsx)(Qn,{className:"k-mx-sm",children:(0,H.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})]})]}),n=(0,H.jsxs)("div",{style:{padding:"25px 10px"},children:[(0,H.jsx)("p",{children:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugit, harum magnam? Possimus magnam non natus error consectetur voluptatum, unde quasi rerum ad facere, hic in! Qui ducimus ab sed consequuntur excepturi fugiat! Facilis fuga asperiores pariatur sed. Eligendi aliquid vel nemo, ipsum tempora minima consequatur culpa molestias maiores nihil eveniet accusantium porro. Inventore saepe ut ad in a. Quo itaque est expedita quidem consectetur enim quam minima, quisquam harum velit, earum adipisci provident, officia eveniet voluptas vero accusamus ad ducimus laudantium!"}),(0,H.jsx)("p",{children:"Consequatur incidunt sequi explicabo adipisci saepe, accusamus, numquam fuga quam ex, provident possimus ratione blanditiis ducimus quos nulla repellat error pariatur nemo nobis illo! Saepe deleniti dolore cumque, sequi similique eligendi consectetur corrupti iste reprehenderit adipisci enim laudantium inventore totam quos non impedit quibusdam et consequuntur blanditiis accusamus! Rerum, nostrum. Rerum, tempore earum officia alias suscipit ut minima recusandae dolorem reprehenderit ea?"}),(0,H.jsx)("p",{children:"Aliquam pariatur ut expedita, repellat architecto aut, consequatur iure recusandae tempora odit consequuntur, nihil nostrum totam accusantium at. Dignissimos repellendus culpa nesciunt. Officia repudiandae, laudantium error iure in minus ratione reprehenderit dolorum alias quo voluptatibus doloremque aliquid exercitationem quidem odit earum natus autem eaque tempore nulla esse sapiente? Dolore aliquid aliquam modi velit quaerat!"}),(0,H.jsx)("p",{children:"Sunt consequuntur, aliquam eius beatae ex odit quasi iusto, accusamus architecto corrupti reprehenderit dolores itaque aliquid veniam odio eaque vel doloremque? Corporis, tenetur delectus deleniti voluptatum autem necessitatibus esse nisi ad, optio cumque quas dignissimos reprehenderit. Optio dolores quam corporis ea, reiciendis eos sit. Voluptate vel esse necessitatibus eum, sunt fuga, quaerat, eos natus quod repellendus nulla voluptatem ut quo quas ipsa animi incidunt autem saepe perferendis. Sequi ratione in iste, quibusdam, neque facilis accusantium, eum rem error sunt a explicabo commodi impedit quam."})]});return t==="bottom"?(0,H.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[n,a]}):(0,H.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[a,n]})};Oa.options=Ri;Oa.states=sv;Oa.variants=rv;Oa.defaultOptions=Uc;Oa.modifiers=[];Oa.className=qe.className;var _i="suggestion",Fc=_i;var Ro=require("react/jsx-runtime"),rs="k-suggestion-group",iv=[],lv={},Gc={layout:"scrollable",scrollingPosition:"start"},Mt=e=>{let{layout:t=Gc.layout,scrollingPosition:o,...a}=e,n=(0,Ro.jsx)("div",{...a,className:s(rs,{"k-suggestion-group-scrollable":t=="scrollable",[`${rs}-scrollable-start`]:o==="start"||o==="both",[`${rs}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?(0,Ro.jsx)("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?(0,Ro.jsxs)("div",{className:"k-suggestion-scrollwrap",children:[(0,Ro.jsx)(p,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,(0,Ro.jsx)(p,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};Mt.states=iv;Mt.options=lv;Mt.className=rs;Mt.defaultOptions=Gc;Mt.moduleName=_i;Mt.folderName=Fc;var Vc=require("react/jsx-runtime"),is="k-suggestion",pv=[r.active,r.hover,r.focus],dv={themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},cv={text:"Suggestion"},St=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:i,children:l,...c}=e;return(0,Vc.jsx)("span",{...c,className:s(e.className,is,C(is,{hover:a,active:o,focus:n}),y(is,{themeColor:t})),role:"button",tabIndex:0,"aria-label":e["aria-label"]||i,children:l||i})};St.states=pv;St.options=dv;St.className=is;St.item=cv;var wi=require("react/jsx-runtime");var Di=require("react/jsx-runtime");var Hi=require("react/jsx-runtime");var z=require("react/jsx-runtime"),mv=q.states,uv=q.defaultOptions,fv=q.options,bv=[{name:"header",title:"Header"},{name:"pinned",title:"Pinned"},{name:"suggested",title:"Suggested Actions"},{name:"author",title:"Author"},{name:"avatar",title:"Avatar"},{name:"quick",title:"Quick Replies"}],xv=[],Ba=e=>{let{modifiers:t,...o}=e,a={author:null,avatar:null},n=(0,z.jsxs)(qe,{className:"k-chat-header",positionMode:"sticky",themeColor:"primary",children:[(0,z.jsx)("span",{className:"k-spacer k-spacer-sized k-w-1"}),(0,z.jsx)($t,{children:(0,z.jsx)("span",{children:"Chat with demo bot"})}),(0,z.jsx)("span",{className:"k-spacer"}),(0,z.jsx)($t,{children:(0,z.jsx)(p,{fillMode:"flat",icon:"more-vertical"})})]}),i=(0,z.jsx)(uo,{type:"sender",pinned:!0,content:"Hello! Generate a cover letter.",closeable:!0}),l=(0,z.jsxs)(Mt,{children:[(0,z.jsx)(St,{text:"Provide a CV template"}),(0,z.jsx)(St,{text:"Generate a cover letter"})]}),c=(0,z.jsxs)(Mt,{children:[(0,z.jsx)(St,{themeColor:"primary",text:"Thank you!"}),(0,z.jsx)(St,{themeColor:"primary",text:"Great!"})]}),u="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",b=null,x="User",g="Demo Bot";Object.keys(t||{}).forEach(I=>{switch(I){case"header":a.header=t!=null&&t[I]?n:!1;break;case"pinned":a.pinned=t!=null&&t[I]?i:!1;break;case"suggested":a.suggestedActions=t!=null&&t[I]?l:!1;break;case"author":a.author=t!=null&&t[I]?!0:null;break;case"avatar":a.avatar=t!=null&&t[I]?u:null;break;case"quick":a.quickReplies=t!=null&&t[I]?c:(0,z.jsx)(z.Fragment,{});break;default:break}});let{header:m,pinned:L,suggestedActions:M,author:S,avatar:E,quickReplies:k}=a;return(0,z.jsxs)(lc,{value:"Thank you!",style:{minHeight:"100%"},...o,header:m,pinned:L,suggestedActions:M,children:[(0,z.jsx)(ee,{avatar:b,author:S?g:null,children:(0,z.jsx)(V,{text:"Hello, this is a demo bot. How can I help you ?"})}),(0,z.jsx)(ee,{avatar:E?u:null,author:S?x:null,type:"sender",children:(0,z.jsx)(V,{text:"Hello! Generate a cover letter."})}),(0,z.jsx)(ee,{avatar:b,author:S?g:null,children:(0,z.jsx)(V,{text:"Sure. Here is a cover letter template",files:(0,z.jsx)(Ut,{children:(0,z.jsx)(et,{icon:"file-pdf",name:"cover_letter.pdf",size:"1.43MB"})})})}),k]})};Ba.options=fv;Ba.states=mv;Ba.variants=xv;Ba.defaultOptions=uv;Ba.modifiers=bv;Ba.className=q.className;var re=require("react/jsx-runtime"),zi="k-message",Nv=[r.hover,r.selected,r.active,r.focus],hv={},vv=[(0,re.jsx)(p,{icon:"copy",fillMode:"flat","aria-label":"Copy"}),(0,re.jsx)(p,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Retry"}),(0,re.jsx)(p,{icon:"download",fillMode:"flat","aria-label":"Download"})],Pa={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:vv,failed:"Failed to send"},V=e=>{let{time:t=Pa.time,text:o=Pa.text,content:a,status:n=Pa.status,statusIcon:i,toolbarItems:l=Pa.toolbarItems,hover:c,selected:u,active:b,focus:x,toolbar:g,typing:m,expandable:L,expanded:M,removed:S,files:E,failed:k,...I}=e,D=k===!0?Pa.failed:k;return(0,re.jsxs)("div",{...I,className:s(zi,e.className,{"k-message-removed":S,"k-message-failed":k}),children:[k&&(0,re.jsx)(W,{className:"k-resend-button",icon:"arrow-rotate-cw",size:"xsmall",fillMode:"clear","aria-label":"Resend"}),(0,re.jsx)(sc,{typing:m,selected:u,hover:c,active:b,focus:x,content:(0,re.jsxs)(re.Fragment,{children:[a,o&&(0,re.jsx)("span",{className:"k-chat-bubble-text",children:o})]}),expandable:L,expanded:M,files:E}),(0,re.jsxs)("div",{className:"k-message-info",children:[n&&(0,re.jsxs)("span",{className:"k-message-status",children:[i&&(0,re.jsx)(v,{icon:i,size:"xsmall"}),n]}),t&&(0,re.jsx)("time",{className:"k-message-time",children:t}),k&&(0,re.jsxs)("span",{className:"k-message-failed-content",children:[k&&(0,re.jsx)(v,{icon:"warning-triangle",size:"xsmall"}),k&&(0,re.jsx)("span",{className:"k-message-failed-text",children:D})]})]}),g&&(0,re.jsx)($,{className:"k-chat-message-toolbar",fillMode:"flat",children:l})]})};V.states=Nv;V.options=hv;V.className=zi;V.moduleName=null;V.folderName=null;V.defaultOptions=Pa;var gv=V;
|