@progress/kendo-themes-html 14.0.0-dev.5 → 14.0.0-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.js +1 -1
- package/dist/cjs/chat/chat.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/editor/demos/editor.js +1 -1
- package/dist/cjs/editor/templates/editor-normal.js +1 -1
- package/dist/cjs/editor/templates/editor-resizable.js +1 -1
- package/dist/cjs/editor/templates/editor-responsive-toolbar.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-resize.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/prompt-box/prompt-box.spec.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-auto-expanded.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-auto.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-multi.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-single.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-stop-response.js +1 -1
- package/dist/cjs/rating/demos/rating.js +1 -1
- package/dist/cjs/rating/rating-item.js +1 -1
- package/dist/cjs/rating/rating.spec.js +1 -1
- package/dist/cjs/rating/templates/rating-disabled.js +1 -1
- package/dist/cjs/rating/templates/rating-normal.js +1 -1
- package/dist/cjs/rating/templates/rating-readonly.js +1 -1
- package/dist/cjs/rating/templates/rating-with-label.js +1 -1
- package/dist/cjs/smart-box/smart-box-send-button.js +1 -1
- package/dist/cjs/smart-box/templates/smart-box-disabled-send.js +1 -1
- package/dist/cjs/smart-box/templates/smart-box-normal.js +1 -1
- package/dist/cjs/smart-box/templates/smart-box-opened-focused.js +1 -1
- package/dist/cjs/smart-box/templates/smart-box-processing.js +1 -1
- package/dist/cjs/speech-to-text-button/demos/speech-to-text-button.js +1 -1
- package/dist/cjs/speech-to-text-button/speech-to-text-button.spec.js +1 -1
- package/dist/cjs/speech-to-text-button/templates/speech-to-text-button-listening.js +1 -1
- package/dist/cjs/speech-to-text-button/templates/speech-to-text-button-normal.js +1 -1
- package/dist/cjs/spreadsheet/demos/spreadsheet.js +1 -1
- package/dist/cjs/spreadsheet/spreadsheet-header.js +1 -1
- package/dist/cjs/spreadsheet/spreadsheet-view.js +1 -1
- package/dist/cjs/spreadsheet/templates/spreadsheet-formula-open.js +1 -1
- package/dist/cjs/spreadsheet/templates/spreadsheet-normal.js +1 -1
- package/dist/esm/chat/chat-message.mjs +1 -1
- package/dist/esm/chat/chat.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/editor/demos/editor.mjs +1 -1
- package/dist/esm/editor/templates/editor-normal.mjs +1 -1
- package/dist/esm/editor/templates/editor-resizable.mjs +1 -1
- package/dist/esm/editor/templates/editor-responsive-toolbar.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-resize.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/prompt-box/prompt-box.spec.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-auto-expanded.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-auto.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-multi.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-single.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-stop-response.mjs +1 -1
- package/dist/esm/rating/demos/rating.mjs +1 -1
- package/dist/esm/rating/rating-item.mjs +1 -1
- package/dist/esm/rating/rating.spec.mjs +1 -1
- package/dist/esm/rating/templates/rating-disabled.mjs +1 -1
- package/dist/esm/rating/templates/rating-normal.mjs +1 -1
- package/dist/esm/rating/templates/rating-readonly.mjs +1 -1
- package/dist/esm/rating/templates/rating-with-label.mjs +1 -1
- package/dist/esm/smart-box/smart-box-send-button.mjs +1 -1
- package/dist/esm/smart-box/templates/smart-box-disabled-send.mjs +1 -1
- package/dist/esm/smart-box/templates/smart-box-normal.mjs +1 -1
- package/dist/esm/smart-box/templates/smart-box-opened-focused.mjs +1 -1
- package/dist/esm/smart-box/templates/smart-box-processing.mjs +1 -1
- package/dist/esm/speech-to-text-button/demos/speech-to-text-button.mjs +1 -1
- package/dist/esm/speech-to-text-button/speech-to-text-button.spec.mjs +1 -1
- package/dist/esm/speech-to-text-button/templates/speech-to-text-button-listening.mjs +1 -1
- package/dist/esm/speech-to-text-button/templates/speech-to-text-button-normal.mjs +1 -1
- package/dist/esm/spreadsheet/demos/spreadsheet.mjs +1 -1
- package/dist/esm/spreadsheet/spreadsheet-header.mjs +1 -1
- package/dist/esm/spreadsheet/spreadsheet-view.mjs +1 -1
- package/dist/esm/spreadsheet/templates/spreadsheet-formula-open.mjs +1 -1
- package/dist/esm/spreadsheet/templates/spreadsheet-normal.mjs +1 -1
- package/package.json +3 -3
- package/src/_preview/tests/preview-components.tsx +2 -2
- package/src/chat/chat-message.tsx +3 -3
- package/src/chat/chat.spec.tsx +2 -2
- package/src/chat/tests/chat-files-layout.tsx +8 -8
- package/src/chat/tests/chat-files-pin.tsx +2 -2
- package/src/chat/tests/chat-files.tsx +6 -6
- package/src/chat/tests/chat-message-toolbar.tsx +2 -2
- package/src/drawer/tests/drawer-item-states.tsx +3 -3
- package/src/editor/demos/editor.tsx +1 -1
- package/src/editor/templates/editor-normal.tsx +1 -1
- package/src/editor/templates/editor-resizable.tsx +1 -1
- package/src/editor/templates/editor-responsive-toolbar.tsx +1 -1
- package/src/editor/tests/editor-table-wizard.tsx +1 -1
- package/src/editor/tests/editor.tsx +2 -2
- package/src/grid/tests/grid-assistant-window.tsx +4 -4
- package/src/grid/tests/grid-row-pinning-adaptive.tsx +1 -1
- package/src/grid/tests/grid-semantic-search-popup.tsx +10 -10
- package/src/grid/tests/grid-toolbar.tsx +2 -2
- package/src/imageeditor/templates/imageeditor-crop.tsx +1 -1
- package/src/imageeditor/templates/imageeditor-resize.tsx +1 -1
- package/src/prompt/demos/prompt.tsx +4 -4
- package/src/prompt/templates/prompt-inline.tsx +1 -1
- package/src/prompt/templates/prompt-output.tsx +4 -4
- package/src/prompt/tests/prompt-inline-response-generation.tsx +2 -2
- package/src/prompt-box/prompt-box.spec.tsx +1 -1
- package/src/prompt-box/tests/prompt-box-affixes.tsx +8 -8
- package/src/prompt-box/tests/prompt-box-files.tsx +2 -2
- package/src/rating/rating-item.tsx +20 -5
- package/src/smart-box/smart-box-send-button.tsx +1 -1
- package/src/smart-box/templates/smart-box-disabled-send.tsx +1 -1
- package/src/smart-box/templates/smart-box-normal.tsx +1 -1
- package/src/smart-box/templates/smart-box-opened-focused.tsx +1 -1
- package/src/smart-box/templates/smart-box-processing.tsx +1 -1
- package/src/speech-to-text-button/speech-to-text-button.spec.tsx +2 -2
- package/src/spreadsheet/spreadsheet-header.tsx +1 -1
- package/src/spreadsheet/tests/spreadsheet-tools.tsx +1 -1
- package/src/toolbar/tests/toolbar-fill-modes.tsx +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
var Hc=Object.create;var un=Object.defineProperty;var zc=Object.getOwnPropertyDescriptor;var Uc=Object.getOwnPropertyNames;var Fc=Object.getPrototypeOf,Gc=Object.prototype.hasOwnProperty;var Vc=(e,t)=>{for(var o in t)un(e,o,{get:t[o],enumerable:!0})},Oi=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Uc(t))!Gc.call(e,n)&&n!==o&&un(e,n,{get:()=>t[n],enumerable:!(a=zc(t,n))||a.enumerable});return e};var Bi=(e,t,o)=>(o=e!=null?Hc(Fc(e)):{},Oi(t||!e||!e.__esModule?un(o,"default",{value:e,enumerable:!0}):o,e)),$c=e=>Oi(un({},"__esModule",{value:!0}),e);var lN={};Vc(lN,{ChatDemo:()=>go,default:()=>iN});module.exports=$c(lN);var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),y=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:i,checked:l,active:c,selected:u,disabled:f,indeterminate:N,loading:x,empty:m,readonly:L,highlighted:k,...A}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":i,"k-checked":l,"k-active":c,"k-selected":u,"k-disabled":f,"k-indeterminate":N&&!l,"k-loading":x,"k-empty":m,"k-readonly":L,"k-highlighted":k},Object.keys(A).reduce((E,M)=>(M.startsWith("k-")?E[M]=A[M]:E[`k-${M}`]=A[M],E),{}))};function fn(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"},b={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},g={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={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 ar={};function R(e){return ar[e]=(ar[e]||0)+1,`k-${e}-${ar[e]}`}var Pa=require("react/jsx-runtime"),nr="k-font-icon",Xc=[],qc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},Wc={},wa=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...l}=e;return a?(0,Pa.jsx)("span",{...l,className:r(e.className,nr,C(nr,{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,Pa.jsx)(Pa.Fragment,{})};wa.states=Xc;wa.options=qc;wa.className=nr;wa.defaultOptions=Wc;var Pi=wa;var vo=require("react/jsx-runtime"),rr="k-svg-icon",Jc=[],Yc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},wi={viewBox:"0 0 24 24"},Ra=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=wi.viewBox,icon:l,...c}=e;if(!l)return(0,vo.jsx)(vo.Fragment,{});if(l==="none")return(0,vo.jsx)("span",{...c,className:r(e.className,rr,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let u=typeof l=="object"&&l.name&&l.name;return(0,vo.jsx)("span",{...c,className:r(e.className,rr,C("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`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,vo.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:i,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};Ra.states=Jc;Ra.options=Yc;Ra.className=rr;Ra.defaultOptions=wi;var sr=Ra;var ir=Bi(require("@progress/kendo-svg-icons"));var Ri="icon",Ki="icons";var Hi=require("react");var _i=require("react"),Di=(0,_i.createContext)({iconsType:"svg"});var Gt=require("react/jsx-runtime"),bn="k-icon",Zc=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Qc=[],jc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},lr={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{iconsType:t}=(0,Hi.useContext)(Di),{size:o,themeColor:a,icon:n,type:i=t||lr.type,rotate:l,flip:c,viewBox:u=lr.viewBox,...f}=e;if(!n)return(0,Gt.jsx)(Gt.Fragment,{});if((t||i)==="svg"){if(n==="none")return(0,Gt.jsx)(sr,{...f,className:r(e.className,bn),icon:n,size:o});let x=ir[n]?n:Zc(`${n}-icon`);return ir[x]?(0,Gt.jsx)(sr,{...f,className:r(e.className,bn),icon:ir[x],size:o,themeColor:a,rotate:l,flip:c,viewBox:u}):(0,Gt.jsx)(Gt.Fragment,{})}return(0,Gt.jsx)(Pi,{...f,className:r(e.className,bn),icon:n,size:o,themeColor:a,rotate:l,flip:c})};v.states=Qc;v.options=jc;v.defaultOptions=lr;v.className=bn;v.moduleName=Ri;v.folderName=Ki;v.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var pr="button",zi=pr;var vt=require("react/jsx-runtime"),Ka="k-button",em=["icon-button"],tm=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],om={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},dr={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:l=dr.showArrow,arrowIconName:c=dr.arrowIconName,variant:u,hover:f,focus:N,active:x,selected:m,disabled:L,togglable:k,ariaDisabled:A,icon:E,text:M,iconClassName:O,className:q,...Se}=e,Re=E!==void 0,Ke=e.children!==void 0;return(0,vt.jsxs)(t,{className:r(q,Ka,fn(Ka,u),C(Ka,{size:o,rounded:a,fillMode:n,themeColor:i}),y(Ka,{hover:f,focus:N,active:x,disabled:L||A,selected:m}),{"k-icon-button":!M&&!Ke&&Re}),...Se,"aria-pressed":k?m?"true":"false":void 0,"aria-disabled":A?"true":void 0,disabled:L||void 0,children:[E&&(0,vt.jsx)(v,{className:r(O,"k-button-icon"),icon:E}),M?(0,vt.jsxs)(vt.Fragment,{children:[M&&(0,vt.jsx)("span",{className:"k-button-text",children:M}),e.children]}):e.children&&(0,vt.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,vt.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,vt.jsx)(v,{icon:c})})]})};p.states=tm;p.options=om;p.variants=em;p.className=Ka;p.defaultOptions=dr;p.moduleName=pr;p.folderName=zi;p.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Ui=require("react/jsx-runtime"),fe=e=>(0,Ui.jsx)(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Fi=require("react/jsx-runtime"),_a=e=>(0,Fi.jsx)(p,{icon:"folder",children:"Button",...e});var Gi=require("react/jsx-runtime"),kt=e=>(0,Gi.jsx)(p,{children:"Button",...e});var hn=require("react/jsx-runtime"),am=p.options,nm=p.states,rm={...p.defaultOptions,variant:"text"},sm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],im=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,hn.jsx)(fe,{...o,icon:"star"});case"icon-and-text":return(0,hn.jsx)(_a,{...o,icon:"star",children:"Button"});default:return(0,hn.jsx)(kt,{...o,children:"Button"})}};Ko.options=am;Ko.states=nm;Ko.variants=sm;Ko.defaultOptions=rm;Ko.modifiers=im;Ko.className=p.className;var Da=require("react/jsx-runtime"),xn="k-fab",dm=[s.hover,s.focus,s.active,s.selected,s.disabled],cm={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},Vi={type:"button"},oe=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:i,type:l=Vi.type,position:c,hover:u,focus:f,active:N,selected:x,disabled:m,...L}=e;return(0,Da.jsxs)("button",{...L,type:l,className:r(e.className,xn,C(xn,{size:t,rounded:o,themeColor:a}),y(xn,{hover:u,focus:f,active:N,disabled:m,selected:x}),{[`!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,Da.jsx)(v,{className:"k-fab-icon",icon:i}),n&&(0,Da.jsx)("span",{className:"k-fab-text",children:n})]})};oe.states=dm;oe.options=cm;oe.className=xn;oe.defaultOptions=Vi;oe.moduleName="fab";oe.folderName="fab";oe.ariaSpec={selector:".k-fab",rules:[{selector:".k-fab",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-fab",attribute:"aria-label or title (when icon-only)",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-fab.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."}]};var Xi=require("react/jsx-runtime"),mm="k-fab-items",$i=e=>{let{position:t,...o}=e;return(0,Xi.jsx)("ul",{...o,className:r(e.className,mm,{[`k-fab-items-${t}`]:t}),children:e.children})};var Ha=require("react/jsx-runtime"),qi="k-fab-item",um=[s.hover,s.focus,s.active,s.disabled],cr=e=>{let{text:t,icon:o,align:a,hover:n,focus:i,active:l,disabled:c,...u}=e;return(0,Ha.jsxs)("li",{...u,className:r(e.className,qi,{[`k-text-${a}`]:a},y(qi,{hover:n,focus:i,active:l,disabled:c})),children:[(0,Ha.jsx)("span",{className:"k-fab-item-text",children:t}),(0,Ha.jsx)(v,{className:"k-fab-item-icon",icon:o})]})};cr.states=um;var fm=require("react/jsx-runtime");var Ji=require("react/jsx-runtime"),Wi=e=>(0,Ji.jsx)(oe,{icon:"plus",...e});var bm=require("react/jsx-runtime");var hm=require("react/jsx-runtime");var Vt=require("react/jsx-runtime"),xm=oe.options,gm=oe.states,Nm={...oe.defaultOptions,variant:"text"},vm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],km=[{name:"opened",title:"Opened"}],_o=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},i=n?(0,Vt.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,Vt.jsx)($i,{position:"bottom",children:(0,Vt.jsx)(cr,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=(0,Vt.jsx)(oe,{...a,icon:"star"});break;case"icon-and-text":l=(0,Vt.jsx)(oe,{...a,icon:"star",text:"Action"});break;default:l=(0,Vt.jsx)(oe,{...a,text:"Action"});break}return(0,Vt.jsxs)("span",{style:{position:"relative"},children:[l,i]})};_o.options=xm;_o.states=gm;_o.variants=vm;_o.defaultOptions=Nm;_o.modifiers=km;_o.className=oe.className;var Yi=require("react/jsx-runtime"),mr="k-input-inner",Lm=[],Mm={},gn={type:"text",autocomplete:"off",value:"",placeholder:""},_e=e=>{let{value:t=gn.value,type:o=gn.type,placeholder:a=gn.placeholder,autocomplete:n=gn.autocomplete,disabled:i,readOnly:l,...c}=e;return(0,Yi.jsx)("input",{...c,type:o,className:r(e.className,mr,C(mr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:l||void 0})};_e.states=Lm;_e.options=Mm;_e.className=mr;var Qi=require("react/jsx-runtime"),ur="k-input-inner",Sm=[],ym={},Zi={value:"",placeholder:""},za=e=>{let{value:t=Zi.value,placeholder:o=Zi.placeholder,rows:a,disabled:n,...i}=e;return(0,Qi.jsx)("textarea",{...i,className:r(e.className,ur,C(ur,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};za.states=Sm;za.options=ym;za.className=ur;var fr="prompt-box",ji=fr;var br="speech-to-text-button",el=br;var al=require("react/jsx-runtime"),tl="k-speech-to-text-button",ol={icon:"microphone-outline"},qe=e=>{let{listening:t=!1,icon:o=ol.icon,...a}=e;return(0,al.jsx)(p,{...a,icon:t?"stop-sm":o,className:r(e.className,tl,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};qe.states=p.states;qe.options=p.options;qe.className=tl;qe.defaultOptions=ol;qe.moduleName=br;qe.folderName=el;qe.ariaSpec={selector:".k-speech-to-text-button",rules:[{selector:".k-button.k-speech-to-text-button",attribute:"role=button or nodeName=button",usage:"If the used element is not <button>, explicitly set its role to button."},{selector:".k-button.k-speech-to-text-button",attribute:"aria-pressed",usage:"Announces the toggle behaviour of the button."},{selector:".k-button.k-speech-to-text-button",attribute:"aria-label",usage:"Accessible name for the speech-to-text button."}]};var Am=require("react/jsx-runtime");var Cm=require("react/jsx-runtime");var rl=require("react/jsx-runtime"),Em=p.states,nl={...p.defaultOptions,variant:"normal"},Im={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Tm=[],Om=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],Do=e=>{let{variant:t,...o}={...nl,...e},a={};return t==="listening"&&(a.listening=!0),(0,rl.jsx)(qe,{...o,...a})};Do.options=Im;Do.states=Em;Do.variants=Om;Do.defaultOptions=nl;Do.modifiers=Tm;Do.className=qe.className;var Lt=require("react/jsx-runtime"),Tt="k-prompt-box",Bm=[s.hover,s.focus,s.disabled],Pm={fillMode:[h.undefined,h.solid,h.flat,h.outline]},hr={lineMode:"auto",isExpanded:!1},$t=e=>{let{fillMode:t,lineMode:o=hr.lineMode,startAffix:a,endAffix:n,header:i,isExpanded:l=hr.isExpanded,className:c,children:u,value:f,placeholder:N,generating:x,hover:m,focus:L,disabled:k,...A}=e,E=o==="multi"||o==="auto"&&l;return(0,Lt.jsxs)("div",{...A,className:r(c,"k-input",Tt,{[`${Tt}-singleline`]:o==="single",[`${Tt}-multiline`]:E,[`k-input-${t}`]:t,"k-hover":m,"k-focus":L,"k-disabled":k}),children:[i&&(0,Lt.jsx)("div",{className:`${Tt}-header`,children:i}),(0,Lt.jsxs)("div",{className:`${Tt}-content`,children:[a&&(0,Lt.jsx)("div",{className:`${Tt}-affix`,children:a}),o==="single"?(0,Lt.jsx)(_e,{value:f,placeholder:N,className:`${Tt}-input`,type:"text","aria-label":"Prompt input"}):(0,Lt.jsx)(za,{value:f,placeholder:N,className:`${Tt}-textarea`,rows:o==="multi"||l?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),(0,Lt.jsxs)("div",{className:`${Tt}-affix`,children:[n,(0,Lt.jsx)(qe,{size:"small",fillMode:"flat",rounded:"full"}),(0,Lt.jsx)(fe,{icon:x?"stop-sm":"arrow-up-outline",size:"small",rounded:"full",active:x,disabled:!f&&!x,className:r({"k-generating":x}),"aria-label":x?"Stop generating":"Send prompt","aria-live":"polite"})]})]}),u]})};$t.states=Bm;$t.options=Pm;$t.className=Tt;$t.defaultOptions=hr;$t.moduleName=fr;$t.folderName=ji;$t.ariaSpec={selector:".k-prompt-box",rules:[{selector:".k-prompt-box-singleline .k-prompt-box-input",attribute:"nodeName=input",usage:"Ensures the input field has the proper textbox role."},{selector:".k-prompt-box-singleline .k-prompt-box-input",attribute:"aria-label",usage:"Provides an accessible label for the single-line input."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"nodeName=textarea",usage:"Ensures the textarea has the proper textbox role."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"aria-label",usage:"Provides an accessible label for the textarea."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"aria-multiline=true",usage:"Indicates the textarea supports multiple lines of text."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"nodeName=textarea",usage:"Ensures the auto-mode textarea has the proper textbox role."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"aria-label",usage:"Provides an accessible label for the auto-mode textarea."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"aria-multiline=true",usage:"Indicates the auto-mode textarea supports multiple lines of text."},{selector:".k-prompt-box-affix .k-button:not(.k-speech-to-text-button)",attribute:"aria-label",usage:"The send/stop button is labelled to indicate its current action."},{selector:".k-prompt-box-affix .k-button:not(.k-speech-to-text-button)",attribute:"aria-live=polite",usage:"Announces the change in status of the send/stop button."}]};var wm=require("react/jsx-runtime");var Rm=require("react/jsx-runtime");var Km=require("react/jsx-runtime");var _m=require("react/jsx-runtime");var Dm=require("react/jsx-runtime");var xr="chat",sl=xr;var be=require("react/jsx-runtime"),il="k-chat",Hm=[],zm={},Um=(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(fe,{icon:"paperclip-outline-alt-right",fillMode:"clear",rounded:"full",size:"small","aria-label":"Attach file"},"paperclip"),(0,be.jsx)("div",{className:"k-spacer"})]}),ll={tools:Um},V=e=>{let{header:t,dir:o,suggestedActions:a,files:n,pinned:i,replied:l,generating:c,tools:u=ll.tools,value:f,empty:N,scrollToBottom:x,scrollbar:m,promptBoxProps:L,...k}=e;return(0,be.jsxs)("div",{...k,className:r(il,e.className),dir:o,children:[t,(0,be.jsxs)("div",{className:"k-message-list",role:"log","aria-label":"Message list","aria-live":"polite",children:[i,(0,be.jsx)("div",{className:r("k-message-list-content",N&&"k-message-list-content-empty"),children:e.children}),x&&(0,be.jsx)("div",{className:"k-chat-scroll-to-bottom-container",children:(0,be.jsx)(Wi,{themeColor:"base",icon:"arrow-down-outline",size:"small"})})]}),m&&(0,be.jsx)("div",{className:"k-separator"}),(0,be.jsxs)("div",{className:"k-message-box-wrapper",children:[a,(0,be.jsx)($t,{lineMode:"multi",placeholder:"Type a message",generating:c,value:f,header:n||l?(0,be.jsxs)(be.Fragment,{children:[l,n]}):void 0,endAffix:u,...L})]})]})};V.states=Hm;V.options=zm;V.className=il;V.defaultOptions=ll;V.moduleName=xr;V.folderName=sl;V.ariaSpec={selector:".k-chat",rules:[{selector:".k-message-list",attribute:"role=log",usage:"The role of the Chat message list must imply that there is a log (list) of messages."},{selector:".k-message-list",attribute:"aria-label",usage:"Announces the purpose of the Chat message list."},{selector:".k-message-list",attribute:"aria-live=polite",usage:"Announces new messages in the Chat message list."},{selector:".k-bubble",attribute:"tabindex=0",usage:"The Chat bubble must be focusable."},{selector:".k-bubble .k-typing-indicator",attribute:"tabindex=-1",usage:"The Chat bubble typing indicator should not be focusable."},{selector:".k-bubble-expandable-indicator",attribute:"role=button",usage:"The expandable indicator must have an appropriate role."},{selector:".k-bubble-expandable-indicator",attribute:"aria-label or title",usage:"The expandable indicator must be properly labelled."},{selector:".k-bubble-expandable-indicator",attribute:"tabindex=0",usage:"The expandable indicator must be part of the page tabsequence."},{selector:".k-message-reference>.k-button",attribute:"aria-label or title",usage:"The reference close button must be properly labelled."},{selector:".k-message-reference>.k-button",attribute:"role=button or nodeName=button",usage:"The reference close button must have an appropriate role."},{selector:".k-prompt-box-affix>.k-button",attribute:"role=button or nodeName=button",usage:"The buttons must have appropriate role."},{selector:".k-prompt-box-affix>.k-button",attribute:"aria-label or title",usage:"The buttons must be properly labelled."},{selector:".k-prompt-box-affix>.k-button.k-disabled",attribute:"disabled",usage:"Announces the send action as disabled when necessary."}]};var gr=require("react/jsx-runtime"),vn="k-file-box-wrapper",pl={layout:"horizontal"},Ot=e=>{let{layout:t=pl.layout,scrollingPosition:o,...a}=e;return(0,gr.jsx)("ul",{role:"list","aria-label":"Attached files",...a,className:r(e.className,vn,{"k-files-vertical":t==="vertical","k-files-wrap":t==="wrap",[`${vn}-scrollable-start`]:t==="horizontal"&&(o==="start"||o==="both"),[`${vn}-scrollable-end`]:t==="horizontal"&&(o==="end"||o==="both")}),children:t==="horizontal"?(0,gr.jsx)("div",{className:"k-files-scroll",role:"presentation",children:e.children}):e.children})};Ot.className=vn;Ot.defaultOptions=pl;var Nr="menu-button",dl=Nr;var ml=require("react/jsx-runtime"),cl="k-menu-button",Fm=[s.hover,s.focus,s.active,s.selected,s.disabled],Gm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},vr={showArrow:!0,arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,icon:N,text:x,showArrow:m=vr.showArrow,arrowIconName:L=vr.arrowIconName,expanded:k,...A}=e;return(0,ml.jsx)(p,{...A,className:r(e.className,cl),text:x,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,icon:N,showArrow:m,arrowIconName:L,"aria-expanded":k?"true":"false",...!x&&N&&!e["aria-label"]&&{"aria-label":"Menu"},...f&&{"aria-disabled":"true"}})};D.states=Fm;D.options=Gm;D.className=cl;D.defaultOptions=vr;D.moduleName=Nr;D.folderName=dl;D.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var Vm=require("react/jsx-runtime");var $m=require("react/jsx-runtime");var Xm=require("react/jsx-runtime");var ot="menu",lt=ot;var Xt=require("react/jsx-runtime"),kr="k-menu-item",qm=[s.hover,s.focus,s.active,s.selected,s.disabled],Wm={},ul={iconPosition:"before"},ye=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,first:u,last:f,showArrow:N,arrowIconName:x,iconPosition:m=ul.iconPosition,dir:L,children:k,expanded:A,...E}=e,M=x;return M||(M=L==="rtl"?"chevron-left":"chevron-right"),(0,Xt.jsxs)("li",{...E,className:r(e.className,kr,"k-item",y(kr,{focus:o,disabled:i,hover:t,active:a,selected:n}),{"k-first":u,"k-last":f}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":A?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Xt.jsxs)("span",{className:r("k-link k-menu-link"),children:[l&&m==="before"&&(0,Xt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,Xt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&m==="after"&&(0,Xt.jsx)(v,{className:"k-menu-link-icon",icon:l}),N&&(0,Xt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Xt.jsx)(v,{icon:M})})]}),k]})};ye.states=qm;ye.options=Wm;ye.className=kr;ye.defaultOptions=ul;ye.moduleName=ot;ye.folderName=lt;var qt=require("react/jsx-runtime"),Lr="k-menu-item",Jm=[s.hover,s.focus,s.active,s.selected,s.disabled],Ym={},Mr={dir:"ltr",iconPosition:"before"},W=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,first:u,last:f,showArrow:N,arrowIconName:x,iconPosition:m=Mr.iconPosition,dir:L=Mr.dir,children:k,popup:A,expanded:E,...M}=e,O=x;return O||(O=L==="rtl"?"chevron-left":"chevron-right"),(0,qt.jsxs)("li",{...M,className:r(e.className,Lr,"k-item",y(Lr,{focus:o,disabled:i}),{"k-first":u,"k-last":f}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":E?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,qt.jsxs)("span",{className:r("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:n,disabled:i})),children:[l&&m==="before"&&(0,qt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,qt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&m==="after"&&(0,qt.jsx)(v,{className:"k-menu-link-icon",icon:l}),N&&(0,qt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,qt.jsx)(v,{icon:O})})]}),k,A]})};W.states=Jm;W.options=Ym;W.className=Lr;W.defaultOptions=Mr;W.moduleName=ot;W.folderName=lt;var hl=require("react/jsx-runtime"),fl="k-menu-scroll-wrapper",Zm=[],Qm={},jm={},ko=e=>{let{className:t,children:o,orientation:a,...n}=e;return(0,hl.jsx)("div",{...n,className:r(t,fl,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};ko.states=Zm;ko.options=Qm;ko.className=fl;ko.defaultOptions=jm;ko.moduleName=ot;ko.folderName=lt;var bl=ko;var he=require("react/jsx-runtime"),Sr="k-menu",eu=[],tu={},Ln={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ce=e=>{let{children:t,orientation:o=Ln.orientation,header:a=Ln.header,scrollable:n,scrollButtonsPosition:i=Ln.scrollButtonsPosition,wrapperStyles:l,dir:c,popup:u,contextMenu:f,...N}=e,x={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},m=(0,he.jsx)("ul",{dir:c,...N,className:r(e.className,"k-reset",Sr,{[`${Sr}-${o}`]:o,"k-header":a}),role:f?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,he.jsxs)(he.Fragment,{children:[n?(0,he.jsxs)(bl,{orientation:o,style:l,dir:e.dir,children:[i==="start"&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,he.jsx)(p,{fillMode:"flat",icon:`chevron-${x[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",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),m,i==="end"&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,he.jsx)(p,{fillMode:"flat",icon:`chevron-${x[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",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):m,u]})};ce.states=eu;ce.options=tu;ce.className=Sr;ce.defaultOptions=Ln;ce.moduleName=ot;ce.folderName=lt;ce.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};var gl=require("react/jsx-runtime"),yr="k-separator",xl={orientation:"horizontal"},Ho=e=>{let{orientation:t=xl.orientation,...o}=e;return(0,gl.jsx)("li",{...o,className:r(e.className,"k-item",yr,{[`${yr}-${t}`]:t}),role:"separator"})};Ho.className=yr;Ho.defaultOptions=xl;Ho.moduleName=ot;Ho.folderName=lt;var Nl=require("react/jsx-runtime");var vl=require("react/jsx-runtime"),Ar="k-menu-group",ou=[],au={size:[d.undefined,d.small,d.medium,d.large]},nu={},Ae=e=>{let{children:t,size:o,...a}=e;return(0,vl.jsx)("ul",{...a,className:r(e.className,Ar,C(Ar,{size:o})),role:"menu",children:t})};Ae.states=ou;Ae.options=au;Ae.className=Ar;Ae.defaultOptions=nu;Ae.moduleName=ot;Ae.folderName=lt;var Mt=require("react/jsx-runtime"),Cr=e=>(0,Mt.jsx)(ce,{children:(0,Mt.jsxs)(Mt.Fragment,{children:[(0,Mt.jsx)(ye,{first:!0,text:"Item 1"}),(0,Mt.jsx)(ye,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,Mt.jsx)(ye,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,Mt.jsx)(ye,{text:"Item 4"}),(0,Mt.jsx)(ye,{last:!0,text:"Item 5"})]}),...e});var Er="popup",kl=Er;var Ir=require("react/jsx-runtime"),Ll="k-animation-container",ru=[],su={},Ml={positionMode:"absolute"},Bt=e=>{let{positionMode:t=Ml.positionMode,animationStyle:o,offset:a,...n}=e;return(0,Ir.jsx)("div",{...n,style:{...a,...e.style},className:r(e.className,Ll,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Ir.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Bt.states=ru;Bt.options=su;Bt.className=Ll;Bt.defaultOptions=Ml;Bt.moduleName=Er;Bt.folderName=kl;var Tr="popup",Sl=Tr;var Or=require("react/jsx-runtime"),yl="k-popup",iu=[],lu={},Al={positionMode:"absolute"},X=e=>{let{offset:t,positionMode:o=Al.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:l,...c}=e;return(0,Or.jsx)(Bt,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":l,children:(0,Or.jsx)("div",{...c,className:r(e.className,yl),children:e.children})})};X.states=iu;X.options=lu;X.className=yl;X.defaultOptions=Al;X.moduleName=Tr;X.folderName=Sl;X.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Br=require("react/jsx-runtime");var Pr=require("react/jsx-runtime");var wr=require("react/jsx-runtime");var Rr=require("react/jsx-runtime");var Pt=require("react/jsx-runtime"),pu=ce.options,du=ce.states,Cl={...ce.defaultOptions,variant:"horizontal"},cu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],mu=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],zo=e=>{let{variant:t,modifiers:o,...a}={...Cl,...e},n={};return Object.keys(o||{}).forEach(i=>{switch(i){case"scrollable":n.scrollable=!!(o!=null&&o[i]);break;case"opened":n.opened=!!(o!=null&&o[i]),n.popup=(0,Pt.jsx)(X,{className:"k-menu-popup",children:(0,Pt.jsxs)(Ae,{children:[(0,Pt.jsx)(W,{text:"Item 1"}),(0,Pt.jsx)(W,{text:"Item 2"}),(0,Pt.jsx)(Ho,{}),(0,Pt.jsx)(W,{text:"Item 3"})]})});break}}),t==="vertical"?(0,Pt.jsx)(Cr,{...a,...n,orientation:"vertical",style:{width:"200px"}}):(0,Pt.jsx)(Cr,{...a,...n})};zo.options=pu;zo.states=du;zo.variants=cu;zo.defaultOptions=Cl;zo.modifiers=mu;zo.className=ce.className;var Kr=require("react/jsx-runtime");var uu=require("react/jsx-runtime");var Ce=require("react/jsx-runtime"),fu=p.states,El={...p.defaultOptions,variant:"text"},bu=p.options,hu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xu=[{name:"opened",title:"Opened"}],Uo=e=>{let{variant:t,modifiers:o,...a}={...El,...e},n={},i=(0,Ce.jsx)(X,{className:"k-menu-popup",children:(0,Ce.jsxs)(Ae,{size:a.size,children:[(0,Ce.jsx)(W,{first:!0,text:"Menu Item"}),(0,Ce.jsx)(W,{text:"Menu Item"}),(0,Ce.jsx)(W,{last:!0,text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=(0,Ce.jsx)("div",{children:(0,Ce.jsx)(D,{...a,...n,icon:"star"})});break;case"icon-and-text":l=(0,Ce.jsx)("div",{children:(0,Ce.jsx)(D,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=(0,Ce.jsx)("div",{children:(0,Ce.jsx)(D,{...a,...n,children:"Dropdown Button"})});break}return(0,Ce.jsxs)(Ce.Fragment,{children:[l,(o==null?void 0:o.opened)&&i]})};Uo.options=bu;Uo.states=fu;Uo.variants=hu;Uo.defaultOptions=El;Uo.modifiers=xu;Uo.className=D.className;var _r="file-box",Il=_r;var wt=require("react/jsx-runtime"),Tl="k-file-box",gu=[s.selected],Nu={},Ua={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},De=e=>{let{icon:t=Ua.icon,name:o=Ua.name,size:a=Ua.size,status:n,deleted:i,removeButton:l,showButton:c=Ua.showButton,...u}=e,f=[o,a].filter(Boolean).join(" ");return(0,wt.jsxs)("li",{role:"listitem",tabIndex:0,"aria-label":f||void 0,...u,className:r(Tl,e.className,{"k-file-deleted":i}),children:[(0,wt.jsx)(v,{icon:t,size:"xlarge","aria-hidden":"true"}),(0,wt.jsxs)("div",{className:"k-file-info",children:[o&&(0,wt.jsx)("span",{className:"k-file-name",children:o}),a&&(0,wt.jsx)("span",{className:"k-file-size",children:a}),n&&(0,wt.jsx)("span",{className:"k-file-status",children:n})]}),c&&(l?(0,wt.jsx)(p,{as:"span",icon:"x-mark-sm-outline",fillMode:"flat",size:"xsmall","aria-hidden":"true"}):(0,wt.jsx)(D,{icon:"more-vertical",fillMode:"flat",size:"xsmall",showArrow:!1,"aria-label":"File actions"}))]})};De.states=gu;De.options=Nu;De.className=Tl;De.defaultOptions=Ua;De.moduleName=_r;De.folderName=Il;De.ariaSpec={selector:".k-file-box-wrapper",rules:[{selector:".k-file-box-wrapper",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-file-box-wrapper",attribute:"aria-label",usage:'Provides an accessible name for the file list (e.g. "Attached files").'},{selector:".k-file-box-wrapper .k-files-scroll",attribute:"role=presentation",usage:"The scrollable container between the list and its items is presentational, ensuring the list\u2192listitem relationship is preserved in the accessibility tree."},{selector:".k-file-box-wrapper .k-file-box",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-file-box-wrapper .k-file-box",attribute:"tabindex",usage:"Makes the file box focusable. Uses roving tabindex: 0 for the focused item, -1 for the rest."},{selector:".k-file-box-wrapper .k-file-box",attribute:"aria-label",usage:'Provides an accessible name describing the file. Can include the file name and size (e.g. "FileName.pdf 2MB").'},{selector:".k-file-box-wrapper .k-file-box .k-icon",attribute:"aria-hidden=true",usage:"The file type icon is decorative and hidden from screen readers."},{selector:".k-file-box-wrapper .k-file-box span.k-button",attribute:"aria-hidden=true",usage:"The remove button is rendered as a decorative span and hidden from screen readers. File removal is handled by keyboard interaction on the listitem itself."}]};var vu=require("react/jsx-runtime");var ku=require("react/jsx-runtime");var Ol=require("react/jsx-runtime");var Bl=require("react/jsx-runtime");var Lu=require("react/jsx-runtime");var Dr="button",Pl=Dr;var wl=require("react/jsx-runtime"),Fa="k-button-group",Mu=[s.disabled],Su={fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},yu={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,wl.jsx)("div",{role:"group",...n,className:r(e.className,Fa,C(Fa,{fillMode:t}),y(Fa,{disabled:o}),{[`${Fa}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=Mu;B.options=Su;B.className=Fa;B.defaultOptions=yu;B.moduleName=Dr;B.folderName=Pl;B.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var Hr=require("react/jsx-runtime");var zr=require("react/jsx-runtime");var Ur=require("react/jsx-runtime");var Fr=require("react/jsx-runtime");var Gr=require("react/jsx-runtime");var Vr=require("react/jsx-runtime");var We=require("react/jsx-runtime"),Au={...p.options,...B.options},Cu=p.states,Eu={...p.defaultOptions,...B.defaultOptions,variant:"text-button"},Iu=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Tu=[],Fo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,We.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,We.jsx)(p,{...a,icon:"star"}),(0,We.jsx)(p,{...a,icon:"star"}),(0,We.jsx)(p,{...a,icon:"star"})]}):t==="icon-text-button"?(0,We.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,We.jsx)(p,{...a,icon:"star",children:"First"}),(0,We.jsx)(p,{...a,icon:"star",children:"Middle"}),(0,We.jsx)(p,{...a,icon:"star",children:"Last"})]}):(0,We.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,We.jsx)(p,{...a,children:"First"}),(0,We.jsx)(p,{...a,children:"Middle"}),(0,We.jsx)(p,{...a,children:"Last"})]})};Fo.options=Au;Fo.states=Cu;Fo.variants=Iu;Fo.defaultOptions=Eu;Fo.modifiers=Tu;Fo.className=B.className;var Ga="input",Mn=Ga;var Rl=require("react/jsx-runtime"),Sn="k-input",Ou=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Bu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Pu={},ae=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:f,fillMode:N,...x}=e;return(0,Rl.jsx)("span",{...x,className:r(e.className,Sn,C(Sn,{size:u,rounded:f,fillMode:N}),y(Sn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c}))})};ae.states=Ou;ae.options=Bu;ae.className=Sn;ae.defaultOptions=Pu;ae.moduleName=Ga;ae.folderName=Mn;var Kl=require("react/jsx-runtime"),yn="k-picker",wu=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ru={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ku={},Rt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:f,fillMode:N,...x}=e;return(0,Kl.jsx)("span",{...x,className:r(e.className,yn,C(yn,{size:u,rounded:f,fillMode:N}),y(yn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c})),children:e.children})};Rt.states=wu;Rt.options=Ru;Rt.className=yn;Rt.defaultOptions=Ku;Rt.moduleName=Ga;Rt.folderName=Mn;var Go=require("react/jsx-runtime"),_l="k-clear-value",_u=[s.disabled,s.loading,s.readonly],Du={},at=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Go.jsx)(Go.Fragment,{}):(0,Go.jsx)("span",{className:r(e.className,_l),children:(0,Go.jsx)(v,{icon:"x"})})};at.states=_u;at.options=Du;at.className=_l;var Va=require("react/jsx-runtime"),$r="k-input-inner",Hu=[],zu={},Lo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...l}=e;return(0,Va.jsxs)("span",{...l,className:r(e.className,$r,C($r,e)),children:[n,!n&&i&&(0,Va.jsx)(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&(0,Va.jsx)("span",{className:"k-input-value-text",children:t})]})};Lo.states=Hu;Lo.options=zu;Lo.className=$r;var $a=require("react/jsx-runtime"),Dl="k-input-loading-icon",Uu=[s.disabled,s.loading],Je=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,$a.jsx)($a.Fragment,{}):(0,$a.jsx)("span",{className:r(e.className,Dl,"k-icon k-i-loading")})};Je.states=Uu;Je.className=Dl;var Xa=require("react/jsx-runtime"),Hl="k-input-validation-icon",Fu=[s.valid,s.invalid,s.disabled,s.loading],Gu={},He=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:r(Hl),icon:i})};He.states=Fu;He.options=Gu;He.className=Hl;var qa=require("react/jsx-runtime"),Vu="k-input-prefix",$u={direction:"horizontal"},pt=e=>{let{direction:t=$u.direction,...o}=e;return e.children?(0,qa.jsx)("span",{...o,className:r(Vu,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,qa.jsx)(qa.Fragment,{})};var Wa=require("react/jsx-runtime"),Xu="k-input-suffix",qu={direction:"horizontal"},dt=e=>{let{direction:t=qu.direction,...o}=e;return e.children?(0,Wa.jsx)("span",{...o,className:r(Xu,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Wa.jsx)(Wa.Fragment,{})};var Wu=require("react/jsx-runtime");var zl=require("react/jsx-runtime"),Ju="k-input-suffix-text",Xr=e=>{let{children:t,...o}=e;return(0,zl.jsx)("span",{...o,className:r(Ju,e.className),children:t})};var Fl=require("react/jsx-runtime"),Ul="k-input-separator",Yu={direction:"vertical"},ct=e=>{let{direction:t=Yu.direction,...o}=e;return(0,Fl.jsx)("span",{...o,className:r(Ul,e.className,{[`${Ul}-${t}`]:t})})};var me=require("react/jsx-runtime"),Zu=ae.states,Qu=ae.defaultOptions,ju=ae.options,ef=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],tf=[],Vo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:l,...c}=e,u=t==null?void 0:t.prefix,f=t==null?void 0:t.suffix,N=t==null?void 0:t["clear-button"],x=t==null?void 0:t["validation-icon"],m=t==null?void 0:t.separators;return(0,me.jsxs)(ae,{...c,valid:o,invalid:a,loading:n,disabled:i,readonly:l,style:{width:300},children:[u&&(0,me.jsxs)(me.Fragment,{children:[(0,me.jsx)(pt,{children:(0,me.jsx)(v,{icon:"lock"})}),m&&(0,me.jsx)(ct,{})]}),(0,me.jsx)(_e,{placeholder:"Placeholder",value:"Value"}),x&&(0,me.jsx)(He,{valid:o,invalid:a,loading:n,disabled:i}),(0,me.jsx)(Je,{loading:n,disabled:i}),N&&(0,me.jsx)(at,{loading:n,disabled:i,readonly:l,value:"Value"}),f&&(0,me.jsxs)(me.Fragment,{children:[m&&(0,me.jsx)(ct,{}),(0,me.jsx)(dt,{children:(0,me.jsx)(kt,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Vo.options=ju;Vo.states=Zu;Vo.variants=tf;Vo.defaultOptions=Qu;Vo.modifiers=ef;Vo.className=ae.className;var Ja=require("react/jsx-runtime"),Gl="k-color-preview",of=[],af={},no=e=>{let{color:t,iconName:o,...a}=e;return(0,Ja.jsxs)("span",{...a,className:r(e.className,Gl,{"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}})]})};no.states=of;no.options=af;no.className=Gl;var qr="action-buttons",Vl=qr;var Xl=require("react/jsx-runtime"),An="k-actions",nf=[],rf={},Wr={alignment:"start",orientation:"horizontal"},nt=e=>{let{alignment:t=Wr.alignment,orientation:o=Wr.orientation,...a}=e;return(0,Xl.jsx)("div",{...a,className:r(An,{[`${An}-${t}`]:t,[`${An}-${o}`]:o},e.className),children:e.children})};nt.states=nf;nt.options=rf;nt.className=An;nt.defaultOptions=Wr;nt.moduleName=qr;nt.folderName=Vl;var $l=nt;var Wl=require("react/jsx-runtime"),sf="k-actionsheet-footer",ql={alignment:"stretched",orientation:"horizontal"},ro=e=>{let{alignment:t=ql.alignment,orientation:o=ql.orientation,template:a,as:n=a?"div":nt,...i}=e;return(0,Wl.jsx)(n,{...i,...!a&&{alignment:t,orientation:o},className:r(e.className,sf),children:e.children})};var Jr="searchbox",Jl=Jr;var so=require("react/jsx-runtime"),Yl="k-searchbox",lf=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],pf={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Yr={showIcon:!0,icon:"search"},mt=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:f,required:N,loading:x,disabled:m,showIcon:L=Yr.showIcon,icon:k=Yr.icon,"aria-label":A,...E}=e;return(0,so.jsxs)(ae,{...E,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:f,required:N,loading:x,disabled:m,className:r(e.className,Yl),children:[L&&(0,so.jsx)(v,{className:"k-input-icon",icon:k}),(0,so.jsx)(_e,{placeholder:o,value:t,"aria-label":A}),(0,so.jsx)(Je,{...e}),(0,so.jsx)(He,{...e}),(0,so.jsx)(at,{...e})]})};mt.states=lf;mt.options=pf;mt.className=Yl;mt.defaultOptions=Yr;mt.moduleName=Jr;mt.folderName=Jl;var df=require("react/jsx-runtime");var Zr="textbox",Zl=Zr;var Ee=require("react/jsx-runtime"),Ql="k-textbox",cf=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],mf={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Cn={showClearButton:!0,showValidationIcon:!0,separators:!0},xe=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Cn.separators,showClearButton:i=Cn.showClearButton,showValidationIcon:l=Cn.showValidationIcon,prefix:c,suffix:u,type:f,value:N,placeholder:x,hover:m,focus:L,valid:k,invalid:A,required:E,loading:M,disabled:O,readonly:q,id:Se,"aria-label":Re,"aria-describedby":Ke,...tt}=e;return(0,Ee.jsxs)(ae,{...tt,size:t,rounded:o,fillMode:a,hover:m,focus:L,valid:k,invalid:A,required:E,loading:M,disabled:O,readonly:q,className:r(e.className,Ql),children:[c&&(0,Ee.jsxs)(Ee.Fragment,{children:[(0,Ee.jsx)(pt,{children:c}),n&&(0,Ee.jsx)(ct,{})]}),(0,Ee.jsx)(_e,{id:Se,placeholder:x,value:N,type:f,disabled:O,"aria-label":Re,"aria-describedby":Ke,"aria-invalid":A?"true":void 0}),l&&(0,Ee.jsx)(He,{valid:k,invalid:A,loading:M,disabled:O}),(0,Ee.jsx)(Je,{loading:M,disabled:O}),i&&(0,Ee.jsx)(at,{loading:M,disabled:O,readonly:q,value:N}),u&&(0,Ee.jsxs)(Ee.Fragment,{children:[n&&(0,Ee.jsx)(ct,{}),(0,Ee.jsx)(dt,{children:u})]})]})};xe.states=cf;xe.options=mf;xe.className=Ql;xe.defaultOptions=Cn;xe.moduleName=Zr;xe.folderName=Zl;xe.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var Ya=xe;var jl=require("react/jsx-runtime"),En=e=>(0,jl.jsx)(Ya,{...e});var ep=require("react/jsx-runtime");var tp=require("react/jsx-runtime");var uf=require("react/jsx-runtime");var In=require("react/jsx-runtime"),ff=xe.states,bf=xe.defaultOptions,hf=xe.options,xf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],gf=[],$o=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,In.jsx)(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,In.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,In.jsx)(En,{value:"Value",style:{width:300},...o,...a})};$o.options=hf;$o.states=ff;$o.variants=gf;$o.defaultOptions=bf;$o.modifiers=xf;$o.className=xe.className;var rt=require("react/jsx-runtime"),op="k-actionsheet-titlebar",Nf={},ze=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:l,inputValue:c,inputPlaceholder:u,adaptive:f,titleId:N,children:x,...m}=e;return(0,rt.jsxs)("div",{...m,className:r(e.className,op),children:[(0,rt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,rt.jsx)("div",{className:"k-actionsheet-actions",children:a}),!x&&(0,rt.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[t&&(0,rt.jsx)("div",{className:"k-text-center",children:t}),o&&(0,rt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,rt.jsx)("div",{className:"k-actionsheet-title",id:N,children:x}),n&&(0,rt.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(l||i)&&(0,rt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?(0,rt.jsx)(xe,{value:c,placeholder:u,size:f?"large":"medium","aria-label":t||u||"Input"}):(0,rt.jsx)(mt,{placeholder:"Filter",size:f?"large":"medium","aria-label":"Filter options"})})]})};ze.className=op;ze.defaultOptions=Nf;var Xo=require("react/jsx-runtime"),Qr="k-actionsheet-view",vf=[],kf={},Lf={},qo=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:l,...c}=e,u=(n==null?void 0:n.type)===ze&&(0,Xo.jsx)(ze,{adaptive:t,titleId:l,...n==null?void 0:n.props}),f=(i==null?void 0:i.type)===ro&&(0,Xo.jsx)(ro,{...i==null?void 0:i.props});return(0,Xo.jsxs)("div",{...c,className:r(e.className,Qr,{[`${Qr}-animated`]:o}),children:[u,(0,Xo.jsx)("div",{className:"k-actionsheet-content",children:a}),f]})};qo.states=vf;qo.options=kf;qo.className=Qr;qo.defaultOptions=Lf;var Za="action-sheet",Tn=Za;var jr="overlay",ap=jr;var rp=require("react/jsx-runtime"),np="k-overlay",Mf=[],Sf={},yf={},Kt=e=>{let{...t}=e;return(0,rp.jsx)("div",{...t,className:r(e.className,np),children:e.children})};Kt.states=Mf;Kt.options=Sf;Kt.className=np;Kt.defaultOptions=yf;Kt.moduleName=jr;Kt.folderName=ap;var Mo=require("react/jsx-runtime"),sp="k-actionsheet",Af=[],Cf={},Qa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ee=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:f,...N}=e,x=f&&!i&&c?`${f}-title`:void 0;return(0,Mo.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,Mo.jsx)(Kt,{}),(0,Mo.jsx)(Bt,{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",{...N,id:f,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":x,className:r(e.className,sp,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||(0,Mo.jsx)(qo,{header:c,footer:u,adaptive:a,titleId:x,...e,children:l})})})]})};ee.states=Af;ee.options=Cf;ee.className=sp;ee.defaultOptions=Qa;ee.moduleName=Za;ee.folderName=Tn;ee.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var lp=require("react/jsx-runtime"),ip="k-actionsheet-container",Ef=[],If={},Tf={},Wo=e=>{let{children:t,...o}=e;return(0,lp.jsx)("div",{...o,className:ip,children:t})};Wo.states=Ef;Wo.options=If;Wo.className=ip;Wo.defaultOptions=Tf;Wo.moduleName=Za;Wo.folderName=Tn;var pp=require("react/jsx-runtime"),es=e=>{let{...t}=e;return(0,pp.jsx)("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};var ut=require("react/jsx-runtime"),ts="k-actionsheet-item",Of=[s.hover,s.focus,s.selected,s.disabled],io=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:l,disabled:c,...u}=e;return(0,ut.jsxs)("span",{...u,className:r(e.className,ts,y(ts,{hover:n,focus:i,selected:l,disabled:c})),children:[!e.children&&(0,ut.jsx)(ut.Fragment,{children:(0,ut.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ut.jsx)("span",{className:"k-icon-wrap",children:(0,ut.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,ut.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,ut.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,ut.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};io.states=Of;io.className=ts;var dp=require("react/jsx-runtime");var Bf=require("react/jsx-runtime");var Pf=require("react/jsx-runtime");var wf=require("react/jsx-runtime");var J=require("react/jsx-runtime"),Rf=ee.options,Kf=ee.states,mp={...ee.defaultOptions,variant:"normal"},_f=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Df=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...mp,...e},n={},i=(0,J.jsxs)(es,{children:[(0,J.jsx)(io,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,J.jsx)(io,{text:"Add to Favorites",iconName:"heart"}),(0,J.jsx)(io,{text:"Upload New",iconName:"upload",disabled:!0}),(0,J.jsx)("hr",{className:"k-hr"}),(0,J.jsx)(io,{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,J.jsx)(ee,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,J.jsx)(ze,{actionsStart:n.actionsStart?(0,J.jsx)(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,J.jsx)(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?(0,J.jsxs)(ro,{alignment:"stretched",children:[(0,J.jsx)(p,{text:"Cancel",size:"large",themeColor:"base"}),(0,J.jsx)(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):(0,J.jsx)(ee,{...a,fullscreen:n.fullScreen,header:(0,J.jsx)(ze,{actionsStart:n.actionsStart?(0,J.jsx)(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,J.jsx)(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,J.jsxs)(ro,{alignment:"stretched",children:[(0,J.jsx)(p,{text:"Apply",themeColor:"primary"}),(0,J.jsx)(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};Jo.options=Rf;Jo.states=Kf;Jo.variants=_f;Jo.defaultOptions=mp;Jo.modifiers=Df;Jo.className=ee.className;var os="slider",up=os;var St=require("react/jsx-runtime"),ja="k-slider",Hf=[s.hover,s.focus,s.active,s.disabled,s.readonly],zf={},ft={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},$=e=>{let{type:t=ft.type,orientation:o=ft.orientation,gradientType:a=ft.gradientType,readonly:n=ft.readonly,disabled:i=ft.disabled,handlePosition:l=ft.handlePosition,showButtons:c=ft.showButtons,showTicks:u=ft.showTicks,value:f=ft.value,min:N=ft.min,max:x=ft.max,startValue:m,endValue:L,hover:k,focus:A,active:E,trackStyle:M,dir:O,...q}=e,Re=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Ke,tt;return o==="horizontal"?(Ke=O==="rtl"?"chevron-left":"chevron-right",tt=O==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Ke="chevron-up",tt="chevron-down"),(0,St.jsxs)("div",{...q,className:r(ja,e.className,y(ja,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:O,children:[c&&(0,St.jsx)(p,{className:"k-button-decrease",rounded:"full",icon:tt,tabIndex:-1,title:"Decrease"}),(0,St.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,St.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,St.jsxs)("div",{className:"k-slider-track",style:M,children:[(0,St.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,St.jsx)("span",{className:r("k-draghandle","k-draghandle-start",y(ja,{hover:k,focus:A,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":m??N,"aria-valuemin":N,"aria-valuemax":L??x,"aria-orientation":Re,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":q["aria-label"]?`${q["aria-label"]} start`:"Range start"}),(0,St.jsx)("span",{className:r("k-draghandle",`k-draghandle-${l}`,y(ja,{hover:k,focus:A,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??x:f,"aria-valuemin":t==="range"?m??N:N,"aria-valuemax":x,"aria-orientation":Re,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?q["aria-label"]?`${q["aria-label"]} end`:"Range end":q["aria-label"]})]})]}),c&&(0,St.jsx)(p,{className:"k-button-increase",rounded:"full",icon:Ke,tabIndex:-1,title:"Increase"})]})};$.states=Hf;$.options=zf;$.className=ja;$.defaultOptions=ft;$.moduleName=os;$.folderName=up;$.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var as=require("react/jsx-runtime"),fp="k-tick",Uf=[],Ff={},bp={label:!1},I=e=>{let{style:t,label:o=bp.label,orientation:a,large:n,text:i,...l}=e;return(0,as.jsx)("li",{...l,role:"presentation",title:i||"Tick",className:r(e.className,fp,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,as.jsx)("span",{className:"k-label",children:i})})};I.states=Uf;I.options=Ff;I.className=fp;I.defaultOptions=bp;var ge=require("react/jsx-runtime"),hp=e=>(0,ge.jsx)($,{"aria-label":e["aria-label"]||"Slider",children:(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsx)(I,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{label:!0,large:!0,text:"5"}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var Ne=require("react/jsx-runtime"),xp=e=>(0,Ne.jsx)($,{children:(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(I,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{label:!0,large:!0,text:"5"}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var ns=require("react/jsx-runtime");var rs=require("react/jsx-runtime");var gp=require("react/jsx-runtime"),ss=e=>(0,gp.jsx)($,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Np=require("react/jsx-runtime"),is=e=>(0,Np.jsx)($,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var ls=require("react/jsx-runtime");var ps=require("react/jsx-runtime");var Ye=require("react/jsx-runtime"),Gf=$.options,Vf=$.states,vp={...$.defaultOptions,variant:"horizontal",label:!0},$f=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Xf=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Yo=e=>{let{variant:t,modifiers:o,...a}={...vp,...e},n={};Object.keys(o||{}).forEach(f=>{switch(f){case"button":{n.showButtons=!!(o!=null&&o[f]);break}case"label":{n.label=!!(o!=null&&o[f]);break}case"tick":{n.showTicks=!!(o!=null&&o[f]);break}}});let{label:i=!0,showButtons:l,showTicks:c}=n,u={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Ye.jsxs)(xp,{showTicks:c,showButtons:l,style:{height:"300px",...u},...a,children:[(0,Ye.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Ye.jsxs)(hp,{showTicks:c,showButtons:l,style:{width:"400px",...u},...a,children:[(0,Ye.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Yo.options=Gf;Yo.states=Vf;Yo.variants=$f;Yo.defaultOptions=vp;Yo.modifiers=Xf;Yo.className=$.className;var en=require("react/jsx-runtime"),kp="k-spin-button",Jf=[],Yf={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},ds={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},lo=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=ds.increaseLabel,decreaseLabel:i=ds.decreaseLabel,...l}=e;return(0,en.jsxs)("span",{...l,className:r(kp,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})]})};lo.states=Jf;lo.options=Yf;lo.className=kp;lo.defaultOptions=ds;lo.moduleName=null;lo.folderName=null;var Lp="numeric-textbox",Mp="numerictextbox";var ve=require("react/jsx-runtime"),Sp="k-numerictextbox",Zf=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Qf={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},On={showSpinButton:!0,showClearButton:!0,separators:!0},H=e=>{let{size:t,rounded:o,fillMode:a,separators:n=On.separators,showClearButton:i=On.showClearButton,showSpinButton:l=On.showSpinButton,prefix:c,suffix:u,value:f,placeholder:N,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,id:q,"aria-label":Se,"aria-describedby":Re,...Ke}=e;return(0,ve.jsxs)(ae,{...Ke,size:t,rounded:o,fillMode:a,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,className:r(e.className,Sp),children:[c&&(0,ve.jsxs)(ve.Fragment,{children:[(0,ve.jsx)(pt,{children:c}),n&&(0,ve.jsx)(ct,{})]}),(0,ve.jsx)(_e,{id:q,placeholder:N,value:f,role:"spinbutton",disabled:M,"aria-label":Se,"aria-describedby":Re,"aria-invalid":k?"true":void 0}),(0,ve.jsx)(He,{valid:L,invalid:k,loading:E,disabled:M}),(0,ve.jsx)(Je,{loading:E,disabled:M}),i&&(0,ve.jsx)(at,{loading:E,disabled:M,readonly:O,value:f}),u&&(0,ve.jsxs)(ve.Fragment,{children:[n&&(0,ve.jsx)(ct,{}),(0,ve.jsx)(dt,{children:u})]}),l&&(0,ve.jsx)(lo,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};H.states=Zf;H.options=Qf;H.className=Sp;H.defaultOptions=On;H.moduleName=Lp;H.folderName=Mp;H.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var tn=H;var Ap=require("react/jsx-runtime"),yp=e=>(0,Ap.jsx)(tn,{...e});var Pn=Bi(require("react"));var cs=require("react/jsx-runtime"),jf="k-list-group-sticky-header",ms=e=>(0,cs.jsx)("div",{className:r(jf,e.className),children:(0,cs.jsx)("div",{className:"k-list-header-text",children:e.children})});var Cp=require("react/jsx-runtime"),eb="k-no-data",Bn=e=>{let{live:t,...o}=e;return(0,Cp.jsx)("span",{...o,className:r(eb,e.className),"aria-live":t?"polite":void 0,children:e.children})};var So="list",Zo=So;var Qo=require("react/jsx-runtime"),us="k-list",tb=[],ob={size:[d.undefined,d.small,d.medium,d.large]},ab={},K=e=>{var L;let{size:t,virtualization:o,children:a,header:n,optionLabel:i,customValue:l,noData:c,screenReaders:u,...f}=e,x=Pn.default.Children.toArray(a)[0],m=(L=x==null?void 0:x.props)!=null&&L.children?Pn.default.Children.count(x.props.children):Pn.default.Children.count(a);return(0,Qo.jsxs)("div",{...f,className:r(e.className,us,C(us,{size:t}),{"k-virtual-list":o}),children:[i,l,n&&(0,Qo.jsx)(ms,{children:n}),a||(c!==void 0?c:(0,Qo.jsx)(Bn,{live:!0,children:"No data found."})),u&&a&&(0,Qo.jsxs)(Bn,{className:"k-sr-only",live:!0,children:[m," items found."]})]})};K.states=tb;K.options=ob;K.className=us;K.defaultOptions=ab;K.moduleName=So;K.folderName=Zo;K.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var Ip=require("react/jsx-runtime"),Ep="k-list-container",nb=[],rb={},sb={},jo=e=>{let{...t}=e;return(0,Ip.jsx)("div",{...t,className:r(e.className,Ep),children:e.children})};jo.states=nb;jo.options=rb;jo.className=Ep;jo.defaultOptions=sb;jo.moduleName=So;jo.folderName=Zo;var yo="checkbox",ea=yo;var fs=require("react/jsx-runtime"),wn="k-checkbox",ib=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],lb={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full]},pb={},bt=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:l,invalid:c,valid:u,required:f,size:N,rounded:x,wrapperRole:m,...L}=e;return(0,fs.jsx)("span",{className:"k-checkbox-wrap",role:m,children:(0,fs.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:f,disabled:l||void 0,"aria-invalid":c?"true":void 0,className:r(e.className,wn,C(wn,{size:N,rounded:x}),y(wn,{hover:n,focus:i,disabled:l,invalid:c,valid:u,indeterminate:a,checked:o}))})})};bt.states=ib;bt.options=lb;bt.className=wn;bt.defaultOptions=pb;bt.moduleName=yo;bt.folderName=ea;bt.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var yt=bt;var Bp=require("react/jsx-runtime"),Tp="k-checkbox-list",db=[],cb={},Op={layout:"vertical"},Ue=e=>{let{layout:t=Op.layout,...o}=e;return(0,Bp.jsx)("ul",{...o,className:r(e.className,Tp,{[`k-list-${t}`]:t}),children:e.children})};Ue.states=db;Ue.options=cb;Ue.className=Tp;Ue.defaultOptions=Op;Ue.moduleName=yo;Ue.folderName=ea;var wp=require("react/jsx-runtime"),Pp="k-checkbox-list-item",mb=[],ub={},fb={},Fe=e=>{let{...t}=e;return(0,wp.jsx)("li",{...t,className:r(e.className,Pp),children:e.children})};Fe.states=mb;Fe.options=ub;Fe.className=Pp;Fe.defaultOptions=fb;Fe.moduleName=yo;Fe.folderName=ea;var Ao=require("react/jsx-runtime"),Wt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Ao.jsxs)(Ao.Fragment,{children:[(0,Ao.jsx)(yt,{id:t,...o}),(0,Ao.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var bs=require("react/jsx-runtime");var hs=require("react/jsx-runtime");var xs=require("react/jsx-runtime");var bb=require("react/jsx-runtime");var hb=require("react/jsx-runtime");var xb=require("react/jsx-runtime");var Ie=require("react/jsx-runtime"),gb=Ue.options,Nb=Ue.states,vb={...Ue.defaultOptions,variant:"vertical"},kb=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Lb=[],ta=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Ie.jsxs)(Ue,{layout:"horizontal",...o,children:[(0,Ie.jsx)(Fe,{children:(0,Ie.jsx)(Wt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Ie.jsx)(Fe,{children:(0,Ie.jsx)(Wt,{id:R("cb"),children:"Label"})}),(0,Ie.jsx)(Fe,{children:(0,Ie.jsx)(Wt,{id:R("cb"),children:"Label"})})]}):(0,Ie.jsxs)(Ue,{...o,children:[(0,Ie.jsx)(Fe,{children:(0,Ie.jsx)(Wt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Ie.jsx)(Fe,{children:(0,Ie.jsx)(Wt,{id:R("cb"),children:"Label"})}),(0,Ie.jsx)(Fe,{children:(0,Ie.jsx)(Wt,{id:R("cb"),children:"Label"})})]})};ta.options=gb;ta.states=Nb;ta.variants=kb;ta.defaultOptions=vb;ta.modifiers=Lb;ta.className=Ue.className;var Rp=require("react/jsx-runtime"),Mb=yt.options,Sb=yt.states,yb=yt.defaultOptions,Ab=[],Cb=[],oa=e=>(0,Rp.jsx)(Wt,{id:R("checkbox"),...e,defaultChecked:!0,children:"Label"});oa.options=Mb;oa.states=Sb;oa.variants=Ab;oa.defaultOptions=yb;oa.modifiers=Cb;oa.className=yt.className;var _t=require("react/jsx-runtime"),gs="k-list-item",Eb=[s.hover,s.focus,s.selected,s.disabled],Ib={},Tb={},P=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:i,showCheckbox:l,checked:c,hover:u,focus:f,selected:N,disabled:x,actions:m,description:L,id:k,...A}=e,E=t||e.children;return(0,_t.jsxs)("li",{...A,id:k,role:a?"presentation":"option",tabIndex:a?void 0:f?0:-1,"aria-selected":!a&&N?"true":a?void 0:"false","aria-disabled":!a&&x?"true":void 0,className:r(e.className,a?"k-list-group-item":gs,y(gs,{hover:u,focus:f,disabled:x,selected:N})),children:[l&&(0,_t.jsx)(bt,{checked:c}),n&&(0,_t.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,_t.jsx)(v,{icon:n,className:r("k-list-item-icon",i)})}),(0,_t.jsx)("span",{className:"k-list-item-text",children:E}),m&&(0,_t.jsx)("div",{className:"k-list-item-actions",children:m}),L&&(0,_t.jsx)("span",{className:"k-list-item-description",children:L}),o&&o!==""&&(0,_t.jsx)("div",{className:"k-list-item-group-label",children:o})]})};P.states=Eb;P.options=Ib;P.className=gs;P.defaultOptions=Tb;P.moduleName=So;P.folderName=Zo;P.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var Kp=require("react/jsx-runtime"),Ob="k-list-ul",Jt=e=>{let{children:t,role:o,id:a,...n}=e;return(0,Kp.jsx)("ul",{...n,id:a,role:o,className:r(Ob,e.className),children:t})};Jt.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};var aa=require("react/jsx-runtime"),Bb="k-list-content",F=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:i,...l}=e;return(0,aa.jsxs)("div",{...l,className:r(Bb,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,aa.jsx)(Jt,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&(0,aa.jsx)("div",{className:"k-height-container",children:(0,aa.jsx)("div",{})})]})};F.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var Ns=require("react/jsx-runtime");var na=require("react/jsx-runtime"),Pb="k-list-group-item",Co=e=>{let{groupIconName:t,...o}=e;return(0,na.jsxs)("li",{...o,role:"presentation",className:r(Pb,e.className),children:[t&&(0,na.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,na.jsx)(v,{icon:t,className:"k-list-item-icon"})}),(0,na.jsx)("span",{className:"k-list-item-text",children:e.children})]})};Co.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var _p=require("react/jsx-runtime"),vs="k-list-optionlabel",wb=[s.hover,s.focus,s.selected,s.disabled],Rb={},Kb={},Rn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,_p.jsx)("div",{...l,className:r(vs,y(vs,{hover:o,focus:a,selected:n,disabled:i})),children:t})};Rn.states=wb;Rn.options=Rb;Rn.className=vs;Rn.defaultOptions=Kb;var Dp=require("react/jsx-runtime"),ks="k-list-custom-value",_b=[s.hover,s.focus,s.selected,s.disabled],Db={},Hb={},po=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,Dp.jsx)("div",{...l,className:r(ks,y(ks,{hover:o,focus:a,selected:n,disabled:i})),children:t})};po.states=_b;po.options=Db;po.className=ks;po.defaultOptions=Hb;var Ls=require("react/jsx-runtime");var Ms=require("react/jsx-runtime");var Ss=require("react/jsx-runtime");var ys=require("react/jsx-runtime");var zb=require("react/jsx-runtime");var As=require("react/jsx-runtime");var Hp="dropdown-list",zp="dropdownlist";var Y=require("react/jsx-runtime"),Up="k-dropdownlist",Ub=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Fb={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Cs={showValue:!0,arrowIconName:"chevron-down"},le=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Cs.arrowIconName,showValue:i=Cs.showValue,valueIconName:l,prefix:c,suffix:u,value:f,placeholder:N,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,popup:q,opened:Se,adaptive:Re,adaptiveSettings:Ke,adaptiveTitle:tt,adaptiveSubtitle:No,adaptiveFilter:er,id:ao,activeDescendant:mn,"aria-label":tr,...or}=e,Dc=ao?`${ao}-listbox`:void 0,Ti=ao?`${ao}-value`:void 0;return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)(Rt,{...or,id:ao,size:t,rounded:o,fillMode:a,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,className:r(e.className,Up,{"k-icon-picker":!i&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":Se?"true":"false","aria-controls":Se?Dc:void 0,"aria-activedescendant":Se&&mn?mn:void 0,"aria-describedby":Se?Ti:void 0,"aria-disabled":M?"true":void 0,"aria-label":tr,tabIndex:0,children:[(0,Y.jsx)(pt,{children:c}),(0,Y.jsx)(Lo,{placeholder:N,value:f,showValue:i,valueIconName:l,id:Ti}),(0,Y.jsx)(He,{valid:L,invalid:k,loading:E,disabled:M}),(0,Y.jsx)(Je,{loading:E,disabled:M}),(0,Y.jsx)(dt,{children:u}),(0,Y.jsx)(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),Se&&q&&(0,Y.jsx)(X,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:q}),Re&&(0,Y.jsx)(ee,{adaptive:!0,...Ke,header:(0,Y.jsx)(ze,{actionsEnd:(0,Y.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:er,inputValue:f,inputPlaceholder:N,title:tt,subtitle:No}),children:(0,Y.jsx)("div",{className:"k-list-container",children:(0,Y.jsx)(K,{size:"large",children:(0,Y.jsxs)(F,{"aria-label":"Options",children:[(0,Y.jsx)(P,{text:"List item"}),(0,Y.jsx)(P,{text:"List item"}),(0,Y.jsx)(P,{text:"List item"})]})})})})]})};le.states=Ub;le.options=Fb;le.className=Up;le.defaultOptions=Cs;le.moduleName=Hp;le.folderName=zp;le.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};var Gb=require("react/jsx-runtime");var Fp=require("react/jsx-runtime");var Es=require("react/jsx-runtime");var Vb=require("react/jsx-runtime");var Gp=require("react/jsx-runtime");var Is=require("react/jsx-runtime");var $b=require("react/jsx-runtime");var Ze=require("react/jsx-runtime"),Xb=le.states,qb=le.defaultOptions,Wb=le.options,Jb=[{name:"opened",title:"Opened"}],Yb=[],sa=e=>{let{modifiers:t,...o}=e,a={},n=(0,Ze.jsxs)(Ze.Fragment,{children:[(0,Ze.jsx)("div",{className:"k-list-filter",children:(0,Ze.jsx)(mt,{})}),(0,Ze.jsx)(K,{style:{width:300},size:o.size,children:(0,Ze.jsxs)(F,{children:[(0,Ze.jsx)(P,{children:"List item"}),(0,Ze.jsx)(P,{children:"List item"}),(0,Ze.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,Ze.jsx)("div",{children:(0,Ze.jsx)(le,{placeholder:"Value",style:{width:300},...o,...a})})};sa.options=Wb;sa.states=Xb;sa.variants=Yb;sa.defaultOptions=qb;sa.modifiers=Jb;sa.className=le.className;var Vp=require("react/jsx-runtime");var $p=require("react/jsx-runtime");var Zb=require("react/jsx-runtime");var Kn=require("react/jsx-runtime"),Qb=H.states,jb=H.defaultOptions,eh=H.options,th=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],oh=[],ia=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Kn.jsx)(le,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Kn.jsx)(Xr,{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,Kn.jsx)(yp,{value:"Value",style:{width:300},...o,...a})};ia.options=eh;ia.states=Qb;ia.variants=oh;ia.defaultOptions=jb;ia.modifiers=th;ia.className=H.className;var S=require("react/jsx-runtime"),Xp="k-colorgradient-inputs",ah=[],nh={size:[d.undefined,d.small,d.medium,d.large]},qp={mode:"rgba"},la=e=>{let{mode:t=qp.mode,size:o,...a}=e;return(0,S.jsxs)("div",{...a,className:r(Xp,"k-hstack"),children:[(0,S.jsx)("div",{className:"k-vstack",children:(0,S.jsx)(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,S.jsx)(S.Fragment,{children:(0,S.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,S.jsx)(xe,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};la.states=ah;la.options=nh;la.className=Xp;la.defaultOptions=qp;var Te=require("react/jsx-runtime"),Wp="k-colorgradient-color-contrast",rh=[],sh={},ih={},pa=()=>(0,Te.jsxs)("div",{className:r(Wp,"k-vbox"),children:[(0,Te.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Te.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Te.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Te.jsx)(v,{icon:"check"}),(0,Te.jsx)(v,{icon:"check"})]})]}),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("span",{children:"AA: 4.5"}),(0,Te.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Te.jsx)(v,{icon:"check"})]})]}),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("span",{children:"AAA: 7.0"}),(0,Te.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Te.jsx)(v,{icon:"x"})]})]})]});pa.states=rh;pa.options=sh;pa.className=Wp;pa.defaultOptions=ih;var Jp="color-gradient",Yp="colorgradient";var pe=require("react/jsx-runtime"),_n="k-colorgradient",lh=[s.hover,s.focus,s.readonly,s.disabled],ph={size:[d.undefined,d.small,d.medium,d.large]},Dt={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"},ue=e=>{let{size:t,mode:o=Dt.mode,readonly:a=Dt.readonly,disabled:n=Dt.disabled,gradientStyle:i=Dt.gradientStyle,dragHandleStyle:l=Dt.dragHandleStyle,alphaStyle:c=Dt.alphaStyle,alphaStyleHorizontal:u=Dt.alphaStyleHorizontal,contrast:f=Dt.contrast,dir:N,hover:x,focus:m,hoverHandle:L,focusHandle:k,canvasOrientation:A=Dt.canvasOrientation,role:E,tabIndex:M,...O}=e;return(0,pe.jsxs)("div",{...O,role:E??"textbox","aria-label":E==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":n?"true":void 0,className:r(e.className,_n,C(_n,{size:t}),y(_n,{hover:x,focus:m,readonly:a,disabled:n})),dir:N,children:[!A||A==="horizontal"&&(0,pe.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,pe.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,pe.jsx)("div",{className:"k-hsv-gradient",children:(0,pe.jsx)("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),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,pe.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,pe.jsx)(is,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,pe.jsx)(is,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:c})]})]}),A==="vertical"&&(0,pe.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,pe.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,pe.jsx)("div",{className:"k-hsv-gradient",children:(0,pe.jsx)("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),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,pe.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,pe.jsx)(ss,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,pe.jsx)(ss,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:u})]})]}),(0,pe.jsx)(la,{mode:e.mode,size:t}),f&&(0,pe.jsx)(pa,{})]})};ue.states=lh;ue.options=ph;ue.className=_n;ue.defaultOptions=Dt;ue.moduleName=Jp;ue.folderName=Yp;ue.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};var Zp=require("react/jsx-runtime"),Dn=e=>(0,Zp.jsx)(ue,{...e});var dh=require("react/jsx-runtime");var ch=require("react/jsx-runtime");var Hn=require("react/jsx-runtime"),mh=ue.options,uh=ue.states,fh={...ue.defaultOptions,variant:"rgba"},bh=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],hh=[],da=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,Hn.jsx)(Dn,{...o,mode:t});case"rgb":return(0,Hn.jsx)(Dn,{...o,mode:t});default:return(0,Hn.jsx)(Dn,{...o,mode:t})}};da.options=mh;da.states=uh;da.variants=bh;da.defaultOptions=fh;da.modifiers=hh;da.className=ue.className;var Qp=require("react/jsx-runtime"),Ts=e=>(0,Qp.jsx)("tr",{role:"row",children:e.children});var jp=require("react/jsx-runtime"),Os="k-colorpalette-tile",xh=[s.hover,s.focus,s.selected],gh={},ca=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,jp.jsx)("td",{...l,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:r(e.className,Os,y(Os,{hover:a,focus:n,selected:i})),style:c})};ca.states=xh;ca.options=gh;ca.className=Os;var ed="color-palette",td="colorpalette";var ma=require("react/jsx-runtime"),zn="k-colorpalette",Nh=[s.disabled],vh={size:[d.undefined,d.small,d.medium,d.large]},od={columns:10},Ge=e=>{let{size:t,palette:o,columns:a=od.columns,tileSize:n,disabled:i,...l}=e,c=[];if(o){let u=a||o.columns,f=o.colors?o.colors:o;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/u)},(N,x)=>{let m=[];f.slice(x*u,(x+1)*u).map((k,A)=>{m.push((0,ma.jsx)(ca,{color:k,tileSize:n},A))});let L=(0,ma.jsx)(Ts,{children:m},x);c.push(L)})}return(0,ma.jsx)("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:r(e.className,zn,y(zn,{disabled:i}),C(zn,{size:t})),children:(0,ma.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,ma.jsx)("tbody",{children:c.length>0?c:e.children})})})};Ge.states=Nh;Ge.options=vh;Ge.className=zn;Ge.defaultOptions=od;Ge.moduleName=ed;Ge.folderName=td;Ge.ariaSpec={selector:".k-colorpalette",rules:[{selector:".k-colorpalette",attribute:"role=grid",usage:"The focusable wrapper announces its role as a grid."},{selector:".k-colorpalette",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpalette",attribute:"aria-activedescendant",usage:"Points to the focused cell in the table."},{selector:".k-colorpalette",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpalette.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorPalette is disabled."},{selector:".k-colorpalette-table",attribute:"role=none or role=presentation",usage:"Negates the default role of the table element."},{selector:".k-colorpalette-table>tbody>tr",attribute:"role=row",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"role=gridcell",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"aria-label or title",usage:"The text representation of the color value for the current cell."},{selector:".k-colorpalette-tile.k-selected",attribute:"aria-selected=true",usage:"Present on the currently selected cell."}]};var Un=Ge;var on={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 nd=require("react/jsx-runtime"),ad=e=>(0,nd.jsx)(Un,{palette:on.basic,...e});var kh=require("react/jsx-runtime");var rd=require("react/jsx-runtime");var sd=require("react/jsx-runtime"),Lh=Ge.options,Mh=Ge.states,Sh={...Ge.defaultOptions,variant:"basic"},yh=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Ah={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}},Ch=[],ua=e=>{let{variant:t="basic",...o}=e,a=Ah[t];return(0,sd.jsx)(ad,{columns:a.columns,palette:a,...o})};ua.options=Lh;ua.states=Mh;ua.variants=yh;ua.defaultOptions=Sh;ua.modifiers=Ch;ua.className=Ge.className;var id="color-editor",ld="coloreditor";var ne=require("react/jsx-runtime"),Fn="k-coloreditor",Eh=[s.focus],Ih={size:[d.undefined,d.small,d.medium,d.large]},an={view:"gradient",palette:on.office,actionButtons:!0,canvasOrientation:"horizontal"},te=e=>{let{size:t,view:o=an.view,palette:a=an.palette,color:n,currentColor:i,focus:l,focusView:c,dir:u,group:f,actionButtons:N=an.actionButtons,canvasOrientation:x=an.canvasOrientation,...m}=e;return(0,ne.jsxs)("div",{...m,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",Fn,C(Fn,{size:t}),y(Fn,{focus:l})),dir:u,children:[(0,ne.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,ne.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&(0,ne.jsxs)(B,{fillMode:"flat",children:[(0,ne.jsx)(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,ne.jsx)(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,ne.jsx)("div",{className:"k-spacer"}),(0,ne.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,ne.jsx)(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,ne.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,ne.jsx)(no,{className:"k-coloreditor-preview-color",color:n}),(0,ne.jsx)(no,{className:"k-coloreditor-current-color",color:i})]})]})]}),(0,ne.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,ne.jsx)(ue,{focus:c,size:t,canvasOrientation:x,role:"none",tabIndex:-1}):(0,ne.jsx)(Ge,{palette:a,size:t})}),N&&(0,ne.jsxs)(nt,{className:"k-coloreditor-footer",alignment:"start",children:[(0,ne.jsx)(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,ne.jsx)(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};te.states=Eh;te.options=Ih;te.className=Fn;te.defaultOptions=an;te.moduleName=id;te.folderName=ld;te.ariaSpec={selector:".k-flatcolorpicker",rules:[{selector:".k-flatcolorpicker",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a submittable value."},{selector:".k-flatcolorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-flatcolorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-flatcolorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the FlatColorPicker is disabled."},{selector:".k-colorgradient",attribute:"role=none",usage:"The inner ColorGradient must have its role removed."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var fa=te;var Th=require("react/jsx-runtime");var Oh=require("react/jsx-runtime");var dd=require("react/jsx-runtime"),pd=e=>(0,dd.jsx)(fa,{group:!0,currentColor:"fuchsia",...e});var md=require("react/jsx-runtime"),cd=e=>(0,md.jsx)(fa,{view:"palette",group:!0,currentColor:"fuchsia",...e});var Bs=require("react/jsx-runtime"),Bh=te.options,Ph=te.states,wh={...te.defaultOptions,variant:"gradient"},Rh=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Kh=[],ba=e=>{let{variant:t,...o}=e;return t==="palette"?(0,Bs.jsx)(cd,{...o,color:"white"}):(0,Bs.jsx)(pd,{...o,color:"rgba(183, 118 , 118, 1.00)"})};ba.options=Bh;ba.states=Ph;ba.variants=Rh;ba.defaultOptions=wh;ba.modifiers=Kh;ba.className=te.className;var ud="color-picker",fd="colorpicker";var de=require("react/jsx-runtime"),bd="k-colorpicker",_h=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],Dh={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},hd={arrowIconName:"chevron-down"},st=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=hd.arrowIconName,prefix:i,suffix:l,value:c,placeholder:u,hover:f,focus:N,valid:x,invalid:m,required:L,disabled:k,valueIconName:A,popup:E,opened:M,adaptive:O,adaptiveSettings:q,adaptiveTitle:Se,adaptiveSubtitle:Re,...Ke}=e,tt="colorpicker-popup";return(0,de.jsxs)(de.Fragment,{children:[(0,de.jsxs)(Rt,{...Ke,size:t,rounded:o,fillMode:a,hover:f,focus:N,valid:x,invalid:m,required:L,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||O?tt:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:r(e.className,bd,"k-icon-picker"),children:[(0,de.jsx)(pt,{children:i}),(0,de.jsx)(Lo,{placeholder:u,value:c,showValue:!1,valueIcon:(0,de.jsx)(no,{className:"k-value-icon",color:c,iconName:A}),valueIconName:A}),(0,de.jsx)(dt,{children:l}),(0,de.jsx)(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),M&&E&&(0,de.jsx)(X,{id:tt,className:"k-colorpicker-popup",children:E}),O&&(0,de.jsx)(ee,{adaptive:!0,id:tt,...q,header:(0,de.jsx)(ze,{actionsEnd:(0,de.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Se,subtitle:Re}),footer:(0,de.jsxs)(ro,{children:[(0,de.jsx)(p,{text:"Cancel",size:"large"}),(0,de.jsx)(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,de.jsx)(te,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};st.states=_h;st.options=Dh;st.className=bd;st.defaultOptions=hd;st.moduleName=ud;st.folderName=fd;st.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var Yt=st;var xd=require("react/jsx-runtime"),Gn=e=>(0,xd.jsx)(Yt,{...e});var Hh=require("react/jsx-runtime");var zh=require("react/jsx-runtime");var Uh=require("react/jsx-runtime");var Fh=require("react/jsx-runtime");var Gh=require("react/jsx-runtime");var Vh=require("react/jsx-runtime");var co=require("react/jsx-runtime"),$h=Yt.options,Xh=Yt.states,gd={...Yt.defaultOptions,variant:"color"},qh=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Wh=[{name:"opened",title:"Opened"}],ha=e=>{let{variant:t,modifiers:o,...a}={...gd,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?(0,co.jsx)(te,{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,co.jsx)("div",{style:i,children:(0,co.jsx)(Gn,{...a,...n})});case"icon":return(0,co.jsx)("div",{style:i,children:(0,co.jsx)(Gn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return(0,co.jsx)("div",{style:i,children:(0,co.jsx)(Gn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};ha.options=$h;ha.states=Xh;ha.variants=qh;ha.defaultOptions=gd;ha.modifiers=Wh;ha.className=Yt.className;var Ps="combobox",Nd=Ps;var _=require("react/jsx-runtime"),vd="k-combobox",Jh=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Yh={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},kd={separators:!0},Oe=e=>{let{size:t,rounded:o,fillMode:a,separators:n=kd.separators,prefix:i,suffix:l,value:c,placeholder:u,hover:f,focus:N,valid:x,invalid:m,required:L,loading:k,disabled:A,popup:E,opened:M,readonly:O,adaptive:q,adaptiveSettings:Se,adaptiveTitle:Re,adaptiveSubtitle:Ke,adaptiveCustomValue:tt,id:No,autocomplete:er,activeDescendant:ao,"aria-label":mn,...tr}=e,or=No?`${No}-listbox`:void 0;return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(ae,{...tr,size:t,rounded:o,fillMode:a,hover:f,focus:N,valid:x,invalid:m,required:L,loading:k,disabled:A,readonly:O,className:r(e.className,vd),children:[i&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(pt,{children:i}),n&&(0,_.jsx)(ct,{})]}),(0,_.jsx)(_e,{id:No,placeholder:u,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":M?"true":"false","aria-controls":M?or:void 0,"aria-activedescendant":M&&ao?ao:void 0,"aria-autocomplete":er,"aria-invalid":m?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":mn,disabled:A,readOnly:O}),(0,_.jsx)(He,{valid:x,invalid:m,loading:k,disabled:A}),(0,_.jsx)(Je,{loading:k,disabled:A}),(0,_.jsx)(at,{loading:k,disabled:A,readonly:O,value:c}),l&&(0,_.jsxs)(_.Fragment,{children:[n&&(0,_.jsx)(ct,{}),(0,_.jsx)(dt,{children:l})]}),(0,_.jsx)(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:A})]}),M&&E&&(0,_.jsx)(X,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),q&&(0,_.jsx)(ee,{adaptive:!0,id:No?`${No}-adaptive`:void 0,...Se,header:(0,_.jsx)(ze,{actionsEnd:(0,_.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:u,title:Re,subtitle:Ke}),children:(0,_.jsx)("div",{className:"k-list-container",children:(0,_.jsx)(K,{customValue:tt?(0,_.jsx)(po,{text:`Use "${c}"`}):void 0,size:"large",children:(0,_.jsxs)(F,{"aria-label":Re||"Options",children:[(0,_.jsx)(P,{text:"List item"}),(0,_.jsx)(P,{text:"List item"}),(0,_.jsx)(P,{text:"List item"})]})})})})]})};Oe.states=Jh;Oe.options=Yh;Oe.className=vd;Oe.defaultOptions=kd;Oe.moduleName=Ps;Oe.folderName=Nd;Oe.ariaSpec={selector:".k-combobox",rules:[{selector:".k-combobox > .k-input-inner",attribute:"role=combobox",usage:"Identifies the input as a combobox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates the combobox has a listbox popup."},{selector:".k-combobox > .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-controls=${id}-listbox (when open)",usage:"Points to the listbox element when popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the listbox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-autocomplete=list|both|inline (when has autocomplete)",usage:"Indicates the autocomplete behavior."},{selector:".k-combobox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the combobox is in an invalid state."},{selector:".k-combobox > .k-input-inner",attribute:"aria-busy=true (when loading)",usage:"Rendered when the combobox is loading data."},{selector:".k-combobox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name provided by consuming app."},{selector:".k-combobox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the combobox is disabled."},{selector:".k-combobox .k-input-button",attribute:"role=button or nodeName=button",usage:"The dropdown toggle button."},{selector:".k-combobox .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-combobox .k-input-button",attribute:"tabindex=-1",usage:"Dropdown button is not in the tab order."},{selector:".k-combobox-popup .k-list-content, .k-combobox-popup .k-list-ul",attribute:"role=listbox",usage:"The popup list container has the listbox role."},{selector:'.k-combobox-popup .k-list-ul[role="listbox"], .k-combobox-popup .k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-combobox-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."},{selector:".k-combobox-popup .k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state."},{selector:".k-combobox-popup .k-no-data",attribute:"aria-live=polite",usage:"Announces no-data state to screen readers."}]};var it=Oe;var Md=require("react/jsx-runtime"),Ld=e=>(0,Md.jsx)(it,{...e});var Sd=require("react/jsx-runtime");var yd=require("react/jsx-runtime");var Ad=require("react/jsx-runtime");var Cd=require("react/jsx-runtime");var Ed=require("react/jsx-runtime");var Id=require("react/jsx-runtime");var ws=require("react/jsx-runtime");var Zh=require("react/jsx-runtime");var Qh=require("react/jsx-runtime");var Td=require("react/jsx-runtime");var Od=require("react/jsx-runtime");var At=require("react/jsx-runtime"),jh=Oe.states,ex=Oe.defaultOptions,tx=Oe.options,ox=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],ax=[],xa=e=>{let{modifiers:t,...o}=e,a={},n=(0,At.jsx)(K,{style:{width:300},size:o.size,children:(0,At.jsxs)(F,{children:[(0,At.jsx)(P,{children:"List item"}),(0,At.jsx)(P,{children:"List item"}),(0,At.jsx)(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,At.jsx)(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,At.jsx)(fe,{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,At.jsx)("div",{children:(0,At.jsx)(Ld,{value:"Value",style:{width:300},...o,...a})})};xa.options=tx;xa.states=jh;xa.variants=ax;xa.defaultOptions=ex;xa.modifiers=ox;xa.className=Oe.className;var Rs="split-button",Bd=Rs;var Zt=require("react/jsx-runtime"),Ks="k-split-button",nx=[s.hover,s.focus,s.active,s.selected,s.disabled],rx={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},Pd={arrowIconName:"chevron-down"},w=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,icon:N,text:x,arrowIconName:m=Pd.arrowIconName,popup:L,opened:k,popupId:A,...E}=e;return(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsxs)("div",{...E,className:r(e.className,Ks,"k-button-group",C(Ks,{rounded:o})),children:[(0,Zt.jsx)(p,{text:x,icon:N,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,...!x&&!e.children&&N&&{"aria-label":"Action"},children:e.children}),(0,Zt.jsx)(p,{className:"k-split-button-arrow",icon:m,size:t,rounded:o,fillMode:a,disabled:f,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?A:void 0,tabIndex:-1,...f&&{"aria-disabled":"true"}})]}),k&&L&&(0,Zt.jsx)(X,{className:"k-menu-popup",children:L})]})};w.states=nx;w.options=rx;w.className=Ks;w.defaultOptions=Pd;w.moduleName=Rs;w.folderName=Bd;w.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var _s=w;var wd=require("react/jsx-runtime"),sx="k-toolbar-separator",Ct=e=>(0,wd.jsx)("div",{className:r(sx,e.className,"k-separator")});var Qt="toolbar",mo=Qt;var T=require("react/jsx-runtime"),jt="k-toolbar",ix=[s.focus],lx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},px={scrollButtons:"around"},G=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:i,scrollButtons:l,scrollingPosition:c,section:u,...f}=e,N=[],x=(m,L)=>{let k=[];if(m.type===p&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))k.push((0,T.jsx)(p,{...m.props,className:`${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===p)k.push((0,T.jsx)(p,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===_a)k.push((0,T.jsx)(_a,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===fe)k.push((0,T.jsx)(fe,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===D)k.push((0,T.jsx)(D,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===_s)k.push((0,T.jsx)(_s,{...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 A=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((M,O)=>{A.push((0,T.jsx)(p,{...M.props,className:`${M.props.className?M.props.className:""}`},`${O}-${new Date().getTime()}`))}),k.push((0,T.jsx)(B,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:A},`${L}-${new Date().getTime()}`))}else m.type===Oe?k.push((0,T.jsx)(Oe,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===le?k.push((0,T.jsx)(le,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===st?k.push((0,T.jsx)(st,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):k.push(m);k.forEach(A=>{N.push(A)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,k)=>{x(L,k)}),(0,T.jsxs)("div",{...f,className:r(e.className,jt,C(jt,{size:t,fillMode:o}),y(jt,{focus:a}),{[`${jt}-resizable`]:n,[`${jt}-scrollable`]:i,[`${jt}-scrollable-overlay`]:i&&l==="hidden",[`${jt}-scrollable-${c}`]:c&&c!=="both",[`${jt}-section`]:u}),role:"toolbar","aria-label":"Toolbar",children:[!i&&N,i&&l==="hidden"&&(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),i&&l==="start"&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(B,{children:[(0,T.jsx)("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,T.jsx)("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,T.jsx)(Ct,{className:"k-toolbar-button-separator"}),(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),i&&l==="end"&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,T.jsx)(Ct,{className:"k-toolbar-button-separator"}),(0,T.jsxs)(B,{children:[(0,T.jsx)("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,T.jsx)("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(l==="around"||!l)&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,T.jsx)(Ct,{className:"k-toolbar-button-separator"}),(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,T.jsx)(Ct,{className:"k-toolbar-button-separator"}),(0,T.jsx)("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};G.states=ix;G.options=lx;G.className=jt;G.defaultOptions=px;G.moduleName=Qt;G.folderName=mo;G.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};var Kd=require("react/jsx-runtime"),Rd="k-floating-toolbar",dx=[],cx={},mx={},ga=e=>{let{...t}=e;return(0,Kd.jsx)("div",{...t,className:r(e.className,Rd),children:e.children})};ga.states=dx;ga.options=cx;ga.className=Rd;ga.defaultOptions=mx;ga.moduleName=Qt;ga.folderName=mo;var _d=require("react/jsx-runtime"),Ds="k-toolbar-item",ux=[s.focus],fx={},bx={},Na=e=>{let{focus:t,...o}=e;return(0,_d.jsx)("div",{...o,className:r(e.className,Ds,y(Ds,{focus:t})),children:e.children})};Na.states=ux;Na.options=fx;Na.className=Ds;Na.defaultOptions=bx;Na.moduleName=Qt;Na.folderName=mo;var Hs=require("react/jsx-runtime"),Dd="k-toolbar-popup",hx=[],xx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},gx={},Eo=e=>{let{size:t,fillMode:o,section:a,...n}=e;return(0,Hs.jsx)(X,{...n,className:r(e.className,Dd),children:a?(0,Hs.jsx)("span",{className:r("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Eo.states=hx;Eo.options=xx;Eo.className=Dd;Eo.defaultOptions=gx;Eo.moduleName=Qt;Eo.folderName=mo;var Vn=Eo;var Nx=require("react/jsx-runtime");var vx=require("react/jsx-runtime");var kx=require("react/jsx-runtime");var Hd=require("react/jsx-runtime");var Lx=require("react/jsx-runtime");var ht=require("react/jsx-runtime"),Mx=w.states,zd={...w.defaultOptions,variant:"text"},Sx=w.options,yx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ax=[{name:"opened",title:"Opened"}],va=e=>{let{variant:t,modifiers:o,...a}={...zd,...e},n={},i=(0,ht.jsxs)(Ae,{size:a.size,children:[(0,ht.jsx)(W,{first:!0,text:"Menu Item"}),(0,ht.jsx)(W,{text:"Menu Item"}),(0,ht.jsx)(W,{last:!0,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,ht.jsx)("div",{children:(0,ht.jsx)(w,{...a,...n,icon:"star"})});case"icon-and-text":return(0,ht.jsx)("div",{children:(0,ht.jsx)(w,{...a,...n,icon:"star",children:"Split Button"})});default:return(0,ht.jsx)("div",{children:(0,ht.jsx)(w,{...a,...n,children:"Split Button"})})}};va.options=Sx;va.states=Mx;va.variants=yx;va.defaultOptions=zd;va.modifiers=Ax;va.className=w.className;var Ht=require("react/jsx-runtime"),Ud=e=>(0,Ht.jsx)(G,{children:[(0,Ht.jsx)(p,{children:"Button"},"toolbar-button"),(0,Ht.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,Ht.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,Ht.jsxs)(B,{children:[(0,Ht.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ht.jsx)(p,{icon:"align-center",children:"Center"}),(0,Ht.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Fd=require("react/jsx-runtime");var ke=require("react/jsx-runtime"),Gd=e=>(0,ke.jsx)(G,{scrollable:!0,...e,children:[(0,ke.jsx)(p,{children:"Button"},"toolbar-button"),(0,ke.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,ke.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,ke.jsxs)(B,{children:[(0,ke.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ke.jsx)(p,{icon:"align-center",children:"Center"}),(0,ke.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ke.jsx)(p,{children:"Button"},"toolbar-button"),(0,ke.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,ke.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,ke.jsxs)(B,{children:[(0,ke.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ke.jsx)(p,{icon:"align-center",children:"Center"}),(0,ke.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Le=require("react/jsx-runtime"),Vd=({scrollingPosition:e="start",...t})=>(0,Le.jsx)(G,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,Le.jsx)(p,{children:"Button"},"toolbar-button"),(0,Le.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,Le.jsx)(w,{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)(D,{text:"Menu button"},"toolbar-menu-button"),(0,Le.jsx)(w,{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 Z=require("react/jsx-runtime"),$d=({fillMode:e,size:t,...o})=>(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(G,{section:!0,fillMode:e,size:t,children:[(0,Z.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Z.jsxs)(B,{fillMode:e,children:[(0,Z.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Z.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Z.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,Z.jsx)(Ct,{className:"k-toolbar-button-separator"}),(0,Z.jsx)(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),(0,Z.jsxs)(Vn,{size:t,fillMode:e,section:!0,...o,children:[(0,Z.jsx)(w,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,Z.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Z.jsx)(Ct,{}),(0,Z.jsx)(D,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,Z.jsxs)(B,{fillMode:e,children:[(0,Z.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Z.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Z.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var zs=require("react/jsx-runtime");var Us=require("react/jsx-runtime");var eo=require("react/jsx-runtime"),Cx=G.options,Ex=G.states,Xd={...G.defaultOptions,variant:"default"},Ix=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Tx=[],ka=e=>{let{variant:t,...o}={...Xd,...e};switch(t){case"responsive":return(0,eo.jsx)("div",{children:(0,eo.jsx)($d,{style:{width:"583px"},...o})});case"overlay":return(0,eo.jsx)("div",{children:(0,eo.jsx)(Vd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,eo.jsx)("div",{children:(0,eo.jsx)(Gd,{style:{width:"583px"},...o})});default:return(0,eo.jsx)("div",{children:(0,eo.jsx)(Ud,{style:{width:"583px"},...o})})}};ka.options=Cx;ka.states=Ex;ka.variants=Ix;ka.defaultOptions=Xd;ka.modifiers=Tx;ka.className=G.className;var Fs="avatar",qd=Fs;var Vs=require("react/jsx-runtime"),nn="k-avatar";var Ox=[s.hover,s.focus,s.active,s.selected,s.disabled],Bx={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.outline],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},Gs={type:"text",border:!1},Be=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:i=Gs.type,border:l=Gs.border,...c}=e;return(0,Vs.jsx)("div",{...c,className:r(e.className,nn,C(nn,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${nn}-bordered`]:l}),children:(0,Vs.jsx)("span",{className:`${nn}-${i}`,children:e.children})})};Be.states=Ox;Be.options=Bx;Be.className=nn;Be.defaultOptions=Gs;Be.moduleName=Fs;Be.folderName=qd;Be.ariaSpec={selector:".k-avatar",rules:[{selector:".k-avatar img",attribute:"alt",usage:"Images inside Avatar must have alt text for screen readers."}]};var Io=Be;var Jd=require("react/jsx-runtime"),Wd=e=>(0,Jd.jsx)(Io,{type:"icon",...e});var Zd=require("react/jsx-runtime"),Yd=e=>(0,Zd.jsx)(Io,{type:"text",...e});var Qd=require("react/jsx-runtime"),$n=e=>(0,Qd.jsx)(Io,{type:"image",...e});var Px=require("react/jsx-runtime");var La=require("react/jsx-runtime"),wx=Be.options,Rx=Be.states,Kx={...Be.defaultOptions,variant:"image"},_x=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Dx=[],Ma=e=>{let{variant:t,...o}=e;switch(t){case"icon":return(0,La.jsx)(Wd,{...o,children:(0,La.jsx)(v,{icon:"star"})});case"text":return(0,La.jsx)(Yd,{...o,children:"JO"});default:return(0,La.jsx)($n,{...o,children:(0,La.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Ma.options=wx;Ma.states=Rx;Ma.variants=_x;Ma.defaultOptions=Kx;Ma.modifiers=Dx;Ma.className=Be.className;var Et=require("react/jsx-runtime"),rn="k-message-group",Hx=[s.selected],zx={},Xn={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},Q=e=>{let{type:t=Xn.type,author:o=Xn.author,avatar:a=Xn.avatar,status:n,selected:i,fullWidth:l,...c}=e;return(0,Et.jsxs)("div",{...c,className:r(rn,e.className,y(rn,{selected:i}),{[`${rn}-${t}`]:t,"k-no-avatar":!a,[`${rn}-full-width`]:l}),children:[a&&!n&&(0,Et.jsx)(Be,{type:"image",children:(0,Et.jsx)("img",{src:a,alt:o||""})}),n&&a&&(0,Et.jsxs)("div",{className:"k-chat-user-status-wrapper",children:[(0,Et.jsx)(Be,{type:"image",children:(0,Et.jsx)("img",{src:a,alt:o||""})}),(0,Et.jsx)("div",{className:"k-chat-user-status"})]}),(0,Et.jsxs)("div",{className:"k-message-group-content",children:[o&&(0,Et.jsx)("span",{className:"k-message-author",children:o}),e.children]})]})};Q.states=Hx;Q.options=zx;Q.className=rn;Q.defaultOptions=Xn;var zt=require("react/jsx-runtime"),$s="k-message-reference",Ux={},jd={type:"receiver"},Sa=e=>{let{content:t,closeable:o,pinned:a,type:n=jd.type,...i}=e;return(0,zt.jsxs)("div",{...i,className:r($s,e.className,{[`${$s}-${n}`]:n,"k-message-pinned":a}),children:[a&&(0,zt.jsx)(v,{icon:"pin-outline"}),(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-mark-sm-outline",fillMode:"flat",size:"xsmall","aria-label":"Close"})]})]})};Sa.options=Ux;Sa.className=$s;Sa.defaultOptions=jd;var Xs="bubble",ec=Xs;var To=require("react/jsx-runtime"),qs="k-bubble",Fx=[s.hover,s.active,s.selected,s.focus],Ws={expandable:!1,expanded:!1},uo=e=>{let{content:t,hover:o,active:a,focus:n,selected:i,expandable:l=Ws.expandable,expanded:c=Ws.expanded,...u}=e;return(0,To.jsxs)("div",{...u,className:r(e.className,qs,y(qs,{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"})})]})};uo.states=Fx;uo.className=qs;uo.defaultOptions=Ws;uo.moduleName=Xs;uo.folderName=ec;uo.ariaSpec={selector:".k-bubble",rules:[{selector:".k-bubble",attribute:"tabindex=0",usage:"The Chat bubble must be focusable."},{selector:".k-bubble-expandable-indicator",attribute:"role=button",usage:"The expandable indicator must have an appropriate role."},{selector:".k-bubble-expandable-indicator",attribute:"aria-label or title",usage:"The expandable indicator must be properly labelled."},{selector:".k-bubble-expandable-indicator",attribute:"tabindex=0",usage:"The expandable indicator must be part of the page tabsequence."}]};var Gx=require("react/jsx-runtime");var Vx=require("react/jsx-runtime");var $x=require("react/jsx-runtime");var Oo=require("react/jsx-runtime"),Xx="k-chat-bubble",oc=e=>{let{typing:t,content:o,files:a,...n}=e;return(0,Oo.jsxs)(uo,{...n,className:r(e.className,Xx),children:[t?(0,Oo.jsxs)("div",{className:"k-typing-indicator",tabIndex:-1,children:[(0,Oo.jsx)("span",{}),(0,Oo.jsx)("span",{}),(0,Oo.jsx)("span",{})]}):o,a]})};var qx=require("react/jsx-runtime");var sn=require("react/jsx-runtime"),ac="k-chat-event",Js={icon:"trash",text:"You deleted Chat history."},nc=e=>{let{icon:t=Js.icon,text:o=Js.text,...a}=e;return(0,sn.jsxs)("div",{...a,className:r(e.className,ac),children:[t&&(0,sn.jsx)(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&(0,sn.jsx)("span",{className:"k-chat-event-text",children:o})]})};nc.className=ac;nc.defaultOptions=Js;var Wx=require("react/jsx-runtime");var Ve=require("react/jsx-runtime"),rc=e=>(0,Ve.jsx)(V,{children:(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),(0,Ve.jsx)(Q,{children:(0,Ve.jsx)(j,{})}),(0,Ve.jsx)(Q,{type:"sender",children:(0,Ve.jsx)(j,{})}),(0,Ve.jsx)(Q,{children:(0,Ve.jsx)(j,{text:"Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior."})}),(0,Ve.jsx)(Q,{type:"sender",children:(0,Ve.jsx)(j,{text:"Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior"})})]}),...e});var Ys=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var Qs="skeleton",sc=Qs;var ic=require("react/jsx-runtime"),js="k-skeleton",Jx=["circle","text","rect"],Yx=[],Zx={},ei={variant:"text",shape:"text",animation:"pulse"},It=e=>{let{variant:t,shape:o,animation:a=ei.animation,...n}=e,i=`skeleton-${t||o||ei.variant}`;return(0,ic.jsx)("span",{...n,className:r(e.className,js,fn(js,i),{[`k-skeleton-${a}`]:a}),style:e.style})};It.states=Yx;It.options=Zx;It.variants=Jx;It.className=js;It.defaultOptions=ei;It.moduleName=Qs;It.folderName=sc;It.ariaSpec={selector:".k-skeleton",rules:[]};var Qx=require("react/jsx-runtime");var jx=require("react/jsx-runtime");var eg=require("react/jsx-runtime");var ti=require("react/jsx-runtime");var oi=require("react/jsx-runtime");var ai="window",lc=ai;var dc=require("react/jsx-runtime"),pc="k-window-content",tg=[],og={},ag={},fo=e=>{let{children:t,...o}=e;return(0,dc.jsx)("div",{...o,className:r(pc,e.className),children:t})};fo.states=tg;fo.options=og;fo.className=pc;fo.defaultOptions=ag;fo.moduleName=ai;fo.folderName=lc;var ln="dialog",qn=ln;var Qe=require("react/jsx-runtime"),cc="k-dialog",ng=[],rg={},ni={actionButtonsAlign:"stretched",modal:!0},je=e=>{let{title:t,actions:o,actionButtons:a,actionButtonsAlign:n=ni.actionButtonsAlign,modal:i=ni.modal,...l}=e,c=t!==void 0?R("dialog-titlebar"):void 0,u=R("dialog-content");return(0,Qe.jsxs)("div",{className:"k-dialog-wrapper",children:[i&&(0,Qe.jsx)(Kt,{}),(0,Qe.jsxs)("div",{...l,className:r(e.className,cc,"k-window"),role:"dialog","aria-labelledby":c,"aria-describedby":u,...i&&{"aria-modal":"true"},children:[(t!==void 0||o)&&(0,Qe.jsxs)("div",{className:"k-window-titlebar k-dialog-titlebar",id:c,children:[t!==void 0&&(0,Qe.jsx)("span",{className:"k-window-title k-dialog-title",children:t}),o&&(0,Qe.jsx)(Qe.Fragment,{children:(0,Qe.jsx)("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(f=>(0,Qe.jsx)(p,{icon:f,fillMode:"flat",size:"xsmall",className:"k-window-titlebar-action k-dialog-titlebar-action","aria-label":f},f))})})]}),(0,Qe.jsx)(fo,{className:"k-dialog-content",id:u,children:e.children}),a&&(0,Qe.jsx)(nt,{alignment:n,className:"k-window-actions k-dialog-actions",children:a})]})]})};je.states=ng;je.options=rg;je.className=cc;je.defaultOptions=ni;je.moduleName=ln;je.folderName=qn;je.ariaSpec={selector:".k-dialog",rules:[{selector:".k-dialog",attribute:"role=dialog or role=alertdialog",usage:"Announces the dialog or alertdialog role of the component."},{selector:".k-dialog",attribute:"aria-labelledby",usage:"Associate the title of the dialog."},{selector:".k-dialog",attribute:"aria-describedby",usage:"Associate the dialog content to the wrap element."},{selector:".k-overlay + .k-dialog",attribute:"aria-modal=true",usage:"Announces that the dialog is modal. Attribute is added only when the dialog is modal."}]};var ri=je;var uc=require("react/jsx-runtime"),mc="k-dialog-wrapper",sg=[],ig={},lg={},ya=e=>{let{...t}=e;return(0,uc.jsx)("div",{...t,className:r(e.className,mc),children:e.children})};ya.states=sg;ya.options=ig;ya.className=mc;ya.defaultOptions=lg;ya.moduleName=ln;ya.folderName=qn;var Ut=require("react/jsx-runtime"),fc=e=>(0,Ut.jsx)(ri,{title:"Title",children:(0,Ut.jsx)(Ut.Fragment,{children:"Dialog content"}),actionButtons:(0,Ut.jsxs)(Ut.Fragment,{children:[(0,Ut.jsx)(p,{children:"Action"}),(0,Ut.jsx)(p,{themeColor:"primary",children:"Primary"})]}),actions:["x"],...e});var si=require("react/jsx-runtime");var to=require("react/jsx-runtime"),pg=je.options,dg=[],cg=je.states,mg=je.defaultOptions,ug=[],Aa=e=>(0,to.jsx)(fc,{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?"})});Aa.options=pg;Aa.states=cg;Aa.variants=dg;Aa.defaultOptions=mg;Aa.modifiers=ug;Aa.className=je.className;var ii="dropzone",bc=ii;var Bo=require("react/jsx-runtime"),li="k-external-dropzone",fg=[s.disabled,s.hover],bg={},pi={icon:"upload",hint:"Drag and drop files here to upload"},$e=e=>{let{hover:t,disabled:o,icon:a=pi.icon,hint:n=pi.hint,note:i,...l}=e;return(0,Bo.jsx)("div",{...l,className:r(e.className,li,y(li,{disabled:o}),{"k-external-dropzone-hover":t}),children:(0,Bo.jsxs)("div",{className:"k-dropzone-inner",children:[a&&(0,Bo.jsx)(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),n&&(0,Bo.jsx)("span",{className:"k-dropzone-hint",children:n}),i&&(0,Bo.jsx)("span",{className:"k-dropzone-note",children:i})]})})};$e.states=fg;$e.options=bg;$e.className=li;$e.defaultOptions=pi;$e.moduleName=ii;$e.folderName=bc;var xc=require("react/jsx-runtime"),hc=e=>(0,xc.jsx)($e,{...e});var hg=require("react/jsx-runtime");var gc=require("react/jsx-runtime"),xg=$e.options,gg=$e.states,Ng=$e.defaultOptions,vg=[{name:"note",title:"Note"}],kg=[],Ca=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,gc.jsx)(hc,{style:{width:"500px"},...o,...a})};Ca.options=xg;Ca.states=gg;Ca.variants=kg;Ca.defaultOptions=Ng;Ca.modifiers=vg;Ca.className=$e.className;var re=require("react/jsx-runtime"),di="k-upload-dropzone",Lg=[s.hover],Wn=e=>{let{hover:t,status:o,disabled:a,hasFiles:n,filesId:i,...l}=e,c;switch(o){case"uploading":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(v,{icon:"upload"}),"Uploading..."]});break;case"done":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(v,{icon:"check"}),"Done"]});break;case"failed":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(v,{icon:"exclamation-circle"}),"Done"]});break;default:c=(0,re.jsx)(re.Fragment,{});break}return(0,re.jsxs)("div",{...l,className:r(e.className,di,"k-dropzone",y(di,{hover:t})),children:[(0,re.jsxs)("div",{className:"k-upload-button-wrap",children:[(0,re.jsx)(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...n&&i?{"aria-controls":i}:{},children:"Select files..."}),(0,re.jsx)("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),(0,re.jsx)("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&(0,re.jsx)("span",{className:"k-upload-status",children:c})]})};Wn.states=Lg;Wn.className=di;var ci="upload",Nc=ci;var bo=require("react/jsx-runtime"),mi="k-upload",Mg=[s.hover,s.disabled],Sg={},kc={actionsLayout:"end"},vc="upload-files-list",se=e=>{let{async:t,empty:o,actions:a,actionsLayout:n=kc.actionsLayout,hover:i,status:l,disabled:c,...u}=e,f=!!e.children;return(0,bo.jsxs)("div",{...u,className:r(e.className,mi,y(mi,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[(0,bo.jsx)(Wn,{status:l,hover:i,disabled:c,hasFiles:f,filesId:vc}),f&&(0,bo.jsx)("ul",{className:"k-upload-files",role:"list",id:vc,children:e.children}),a&&f&&(0,bo.jsxs)($l,{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"})]})]})};se.states=Mg;se.options=Sg;se.className=mi;se.defaultOptions=kc;se.moduleName=ci;se.folderName=Nc;se.ariaSpec={selector:".k-upload",rules:[{selector:".k-upload .k-upload-button",attribute:"aria-disabled",usage:"Announces the disabled state of the upload button."},{selector:".k-upload .k-upload-button",attribute:"aria-controls (when present)",usage:"Creates the relationship between the button and the list of selected files when the list is present."},{selector:".k-upload input",attribute:"tabindex=-1",usage:"Assures that the input element inside the upload is not focusable."},{selector:".k-upload input",attribute:"aria-hidden=true",usage:"The input needs to be hidden from screen readers."},{selector:".k-upload-files",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-upload-files",attribute:"id",usage:"Unique and deterministic id linked to the button aria-controls attribute."},{selector:".k-upload-files .k-file",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-upload .k-file .k-file-validation-message",attribute:"aria-live=polite",usage:"Announces the change in the upload status of the file."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"aria-label",usage:"Provides accessible names for the file action buttons."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"tabindex=-1",usage:"The list file action buttons are not focusable elements."}]};var pn="progressbar",Jn=pn;var ho=require("react/jsx-runtime"),xt="k-progressbar",yg=[s.disabled,s.indeterminate],Ag={orientation:["horizontal","vertical"]},Po={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Pe=e=>{let{disabled:t,height:o,indeterminate:a=Po.indeterminate,label:n=Po.label,labelPosition:i=Po.labelPosition,orientation:l=Po.orientation,reverse:c=Po.reverse,value:u=Po.value,width:f,style:N,ariaLabel:x,...m}=e;return(0,ho.jsxs)("div",{...m,className:r(e.className,xt,y(xt,{disabled:t}),{[`${xt}-${l}`]:l,[`${xt}-indeterminate`]:a,[`${xt}-reverse`]:c}),style:{...N,"--kendo-progressbar-value":u,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:f},role:"progressbar","aria-label":x||"progress","aria-valuenow":a?void 0:Number(u),"aria-valuemin":0,"aria-valuemax":100,children:[(0,ho.jsx)("span",{className:r("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:n&&(0,ho.jsxs)("span",{className:"k-progress-status",children:[u,"%"]})}),!a&&(0,ho.jsx)("div",{className:"k-progressbar-value k-selected",children:(0,ho.jsx)("span",{className:r("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:n&&(0,ho.jsxs)("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Pe.states=yg;Pe.options=Ag;Pe.className=xt;Pe.defaultOptions=Po;Pe.moduleName=pn;Pe.folderName=Jn;Pe.ariaSpec={selector:".k-progressbar",implicitRole:"progressbar",rules:[{selector:".k-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ProgressBar."},{selector:".k-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ProgressBar needs an accessible name to be assigned to it."},{selector:".k-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Decimal value between aria-valuemin and aria-valuemax."},{selector:".k-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to 100."}]};var Lc=Pe;var Zn=require("react/jsx-runtime"),Mc="k-chunk-progressbar",Cg=(e,t)=>t<=e-1,Eg=[s.disabled,s.indeterminate],Ig={},Yn={chunkCount:5,orientation:"horizontal",progress:0},wo=e=>{let{disabled:t,chunkCount:o=Yn.chunkCount,indeterminate:a,orientation:n=Yn.orientation,progress:i=Yn.progress,reverse:l,ariaLabel:c,...u}=e;return(0,Zn.jsx)("div",{...u,className:r(e.className,xt,Mc,y(xt,{disabled:t}),{[`${xt}-${n}`]:n,[`${xt}-indeterminate`]:a,[`${xt}-reverse`]:l}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:(0,Zn.jsx)("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((f,N)=>(0,Zn.jsx)("li",{className:r("k-progressbar-chunk",{"k-first":N===0,"k-last":N===[...Array(o)].length-1,"k-selected":Cg(i,N)})},N))})})};wo.states=Eg;wo.options=Ig;wo.className=Mc;wo.defaultOptions=Yn;wo.moduleName=pn;wo.folderName=Jn;wo.ariaSpec={selector:".k-chunk-progressbar",implicitRole:"progressbar",rules:[{selector:".k-chunk-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ChunkProgressBar."},{selector:".k-chunk-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ChunkProgressBar needs an accessible name to be assigned to it."},{selector:".k-chunk-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Value between aria-valuemin and aria-valuemax."},{selector:".k-chunk-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-chunk-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to chunk count."}]};var Sc=require("react/jsx-runtime"),dn=e=>(0,Sc.jsx)(Lc,{...e});var Tg=require("react/jsx-runtime");var oo=require("react/jsx-runtime"),Og=Pe.options,Bg=Pe.states,yc={...Pe.defaultOptions,variant:"start"},Pg=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],wg=[],Ea=e=>{let{variant:t,modifiers:o,...a}={...yc,...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)(dn,{...a,...n,labelPosition:"end",value:"50"})});case"center":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,labelPosition:"center",value:"50"})});case"empty":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,label:!1,value:"50"})});default:return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,labelPosition:"start",value:"50"})})}};Ea.options=Og;Ea.states=Bg;Ea.variants=Pg;Ea.defaultOptions=yc;Ea.modifiers=wg;Ea.className=Pe.className;var Ia=require("react/jsx-runtime"),Rg="k-file-info",ui=e=>{let{name:t,size:o,validationMsg:a,...n}=e;return(0,Ia.jsxs)("div",{...n,className:r(e.className,Rg),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 Me=require("react/jsx-runtime"),Kg="k-file",et=e=>{let{status:t,progress:o,name:a,icon:n,size:i,state:l,validationMsg:c,...u}=e;return(0,Me.jsx)("li",{...u,className:r(e.className,Kg,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:(0,Me.jsxs)("div",{className:"k-file-single",children:[(0,Me.jsx)(Pe,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),(0,Me.jsxs)("span",{className:"k-file-icon-wrapper",children:[(0,Me.jsx)(v,{className:"k-file-icon",icon:n,size:"xxlarge"}),l&&(0,Me.jsx)("span",{className:"k-file-state",children:l})]}),(0,Me.jsx)(ui,{name:a,size:i,validationMsg:c}),(0,Me.jsx)("div",{className:"k-upload-actions",children:t==="progress"?(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsxs)("span",{className:"k-upload-pct",children:[o,"%"]}),(0,Me.jsx)(p,{icon:"pause-sm",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),(0,Me.jsx)(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):(0,Me.jsx)(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};var fi=require("react/jsx-runtime");var xo=require("react/jsx-runtime"),cn=e=>(0,xo.jsx)(se,{async:!0,children:(0,xo.jsxs)(xo.Fragment,{children:[(0,xo.jsx)(et,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),(0,xo.jsx)(et,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});var bi=require("react/jsx-runtime");var Cc=require("react/jsx-runtime"),Ac=e=>(0,Cc.jsx)(se,{async:!0,empty:!0,...e});var hi=require("react/jsx-runtime");var xi=require("react/jsx-runtime");var Xe=require("react/jsx-runtime"),_g=se.options,Dg=se.states,Ec={...se.defaultOptions,variant:"empty"},Hg=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],zg=[],Ta=e=>{let{variant:t,...o}={...Ec,...e};switch(t){case"success":return(0,Xe.jsxs)(cn,{status:"done",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),(0,Xe.jsx)(et,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return(0,Xe.jsxs)(cn,{status:"failed",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),(0,Xe.jsx)(et,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return(0,Xe.jsxs)(cn,{status:"uploading",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),(0,Xe.jsx)(et,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return(0,Xe.jsxs)(cn,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),(0,Xe.jsx)(et,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return(0,Xe.jsx)(Ac,{async:!0,status:"upload",style:{width:"586px"},...o})}};Ta.options=_g;Ta.states=Dg;Ta.variants=Hg;Ta.defaultOptions=Ec;Ta.modifiers=zg;Ta.className=se.className;var gi=require("react/jsx-runtime");var Ug=require("react/jsx-runtime");var Ni=require("react/jsx-runtime");var vi=require("react/jsx-runtime");var ki=require("react/jsx-runtime");var Ic=require("react/jsx-runtime");var ie=require("react/jsx-runtime"),Tc="k-message",Fg=[s.hover,s.selected,s.active,s.focus],Gg={},Vg=[(0,ie.jsx)(p,{icon:"copy",fillMode:"flat","aria-label":"Copy"}),(0,ie.jsx)(p,{icon:"arrow-rotate-cw-outline",fillMode:"flat","aria-label":"Retry"}),(0,ie.jsx)(p,{icon:"download-light",fillMode:"flat","aria-label":"Download"})],Oa={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:Vg,failed:"Failed to send"},j=e=>{let{time:t=Oa.time,text:o=Oa.text,content:a,status:n=Oa.status,statusIcon:i,toolbarItems:l=Oa.toolbarItems,hover:c,selected:u,active:f,focus:N,toolbar:x,typing:m,expandable:L,expanded:k,removed:A,files:E,failed:M,...O}=e,q=M===!0?Oa.failed:M;return(0,ie.jsxs)("div",{...O,className:r(Tc,e.className,{"k-message-removed":A,"k-message-failed":M}),children:[M&&(0,ie.jsx)(fe,{className:"k-resend-button",icon:"arrow-rotate-cw-outline",size:"xsmall",fillMode:"clear","aria-label":"Resend"}),(0,ie.jsx)(oc,{typing:m,selected:u,hover:c,active:f,focus:N,content:(0,ie.jsxs)(ie.Fragment,{children:[a,o&&(0,ie.jsx)("span",{className:"k-chat-bubble-text",children:o})]}),expandable:L,expanded:k,files:E}),(0,ie.jsxs)("div",{className:"k-message-info",children:[n&&(0,ie.jsxs)("span",{className:"k-message-status",children:[i&&(0,ie.jsx)(v,{icon:i,size:"xsmall"}),n]}),t&&(0,ie.jsx)("time",{className:"k-message-time",children:t}),M&&(0,ie.jsxs)("span",{className:"k-message-failed-content",children:[M&&(0,ie.jsx)(v,{icon:"warning-triangle",size:"xsmall"}),M&&(0,ie.jsx)("span",{className:"k-message-failed-text",children:q})]})]}),x&&(0,ie.jsx)(G,{className:"k-chat-message-toolbar",fillMode:"flat",children:l})]})};j.states=Fg;j.options=Gg;j.className=Tc;j.defaultOptions=Oa;var Li="appbar",Oc=Li;var Bc=require("react/jsx-runtime"),Mi="k-appbar",$g=[],Xg={themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.inverse]},qg={},we=e=>{let{themeColor:t,positionMode:o,position:a,...n}=e;return(0,Bc.jsx)("div",{...n,className:r(e.className,Mi,C(Mi,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${a}`]:a}),children:e.children})};we.states=$g;we.options=Xg;we.className=Mi;we.defaultOptions=qg;we.moduleName=Li;we.folderName=Oc;we.ariaSpec={selector:".k-appbar",rules:[]};var Pc=require("react/jsx-runtime"),Wg="k-appbar-section",Ft=e=>{let{...t}=e;return(0,Pc.jsx)("div",{...t,className:r(Wg,e.className),children:e.children})};var Si=require("react/jsx-runtime");var z=require("react/jsx-runtime"),yi={...we.options,positionMode:["static","sticky","fixed"]},Jg=we.states,wc={...we.defaultOptions,themeColor:"primary",variant:"top",positionMode:"sticky"};yi.themeColor=["primary",...yi.themeColor.filter(e=>e!=="primary")];var Yg=[{name:"top",title:"Top"},{name:"bottom",title:"Bottom"}],Ba=e=>{let{variant:t,...o}={...wc,...e},a=(0,z.jsxs)(we,{position:t,...o,children:[(0,z.jsx)(Ft,{children:(0,z.jsx)(fe,{fillMode:"flat",icon:"menu"})}),(0,z.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,z.jsx)(Ft,{children:(0,z.jsx)("h3",{className:"k-m-0",children:"AppBar"})}),(0,z.jsx)("span",{className:"k-spacer"}),(0,z.jsxs)(Ft,{children:[(0,z.jsx)(kt,{fillMode:"flat",children:"Button"}),(0,z.jsx)(kt,{fillMode:"flat",children:"Button"}),(0,z.jsx)(kt,{fillMode:"flat",children:"Button"})]}),(0,z.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,z.jsx)(Ft,{children:(0,z.jsx)(En,{value:"Input value"})}),(0,z.jsxs)(Ft,{children:[(0,z.jsx)(fe,{className:"k-mx-sm",fillMode:"flat",icon:"bell"}),(0,z.jsx)("span",{className:"k-appbar-separator"}),(0,z.jsx)($n,{className:"k-mx-sm",children:(0,z.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})]})]}),n=(0,z.jsxs)("div",{style:{padding:"25px 10px"},children:[(0,z.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,z.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,z.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,z.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,z.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[n,a]}):(0,z.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[a,n]})};Ba.options=yi;Ba.states=Jg;Ba.variants=Yg;Ba.defaultOptions=wc;Ba.modifiers=[];Ba.className=we.className;var Ai="suggestion",Rc=Ai;var Ro=require("react/jsx-runtime"),Qn="k-suggestion-group",Zg=[],Qg={},Kc={layout:"scrollable",scrollingPosition:"start"},gt=e=>{let{layout:t=Kc.layout,scrollingPosition:o,...a}=e,n=(0,Ro.jsx)("div",{...a,className:r(Qn,{"k-suggestion-group-scrollable":t=="scrollable",[`${Qn}-scrollable-start`]:o==="start"||o==="both",[`${Qn}-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};gt.states=Zg;gt.options=Qg;gt.className=Qn;gt.defaultOptions=Kc;gt.moduleName=Ai;gt.folderName=Rc;var _c=require("react/jsx-runtime"),jn="k-suggestion",jg=[s.active,s.hover,s.focus],eN={themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},tN={text:"Suggestion"},Nt=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:i,...l}=e;return(0,_c.jsx)("span",{...l,className:r(e.className,jn,y(jn,{hover:a,active:o,focus:n}),C(jn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":i,children:i})};Nt.states=jg;Nt.options=eN;Nt.className=jn;Nt.item=tN;var Ci=require("react/jsx-runtime");var Ei=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var U=require("react/jsx-runtime"),oN=V.states,aN=V.defaultOptions,nN=V.options,rN=[{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"}],sN=[],go=e=>{let{modifiers:t,...o}=e,a={author:null,avatar:null},n=(0,U.jsxs)(we,{className:"k-chat-header",positionMode:"sticky",themeColor:"primary",children:[(0,U.jsx)("span",{className:"k-spacer k-spacer-sized k-w-1"}),(0,U.jsx)(Ft,{children:(0,U.jsx)("span",{children:"Chat with demo bot"})}),(0,U.jsx)("span",{className:"k-spacer"}),(0,U.jsx)(Ft,{children:(0,U.jsx)(p,{fillMode:"flat",icon:"more-vertical"})})]}),i=(0,U.jsx)(Sa,{type:"sender",pinned:!0,content:"Hello! Generate a cover letter.",closeable:!0}),l=(0,U.jsxs)(gt,{children:[(0,U.jsx)(Nt,{text:"Provide a CV template"}),(0,U.jsx)(Nt,{text:"Generate a cover letter"})]}),c=(0,U.jsxs)(gt,{children:[(0,U.jsx)(Nt,{themeColor:"primary",text:"Thank you!"}),(0,U.jsx)(Nt,{themeColor:"primary",text:"Great!"})]}),u="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",f=null,N="User",x="Demo Bot";Object.keys(t||{}).forEach(O=>{switch(O){case"header":a.header=t!=null&&t[O]?n:!1;break;case"pinned":a.pinned=t!=null&&t[O]?i:!1;break;case"suggested":a.suggestedActions=t!=null&&t[O]?l:!1;break;case"author":a.author=t!=null&&t[O]?!0:null;break;case"avatar":a.avatar=t!=null&&t[O]?u:null;break;case"quick":a.quickReplies=t!=null&&t[O]?c:(0,U.jsx)(U.Fragment,{});break;default:break}});let{header:m,pinned:L,suggestedActions:k,author:A,avatar:E,quickReplies:M}=a;return(0,U.jsxs)(rc,{value:"Thank you!",style:{minHeight:"100%"},...o,header:m,pinned:L,suggestedActions:k,children:[(0,U.jsx)(Q,{avatar:f,author:A?x:null,children:(0,U.jsx)(j,{text:"Hello, this is a demo bot. How can I help you ?"})}),(0,U.jsx)(Q,{avatar:E?u:null,author:A?N:null,type:"sender",children:(0,U.jsx)(j,{text:"Hello! Generate a cover letter."})}),(0,U.jsx)(Q,{avatar:f,author:A?x:null,children:(0,U.jsx)(j,{text:"Sure. Here is a cover letter template",files:(0,U.jsx)(Ot,{children:(0,U.jsx)(De,{icon:"file-pdf",name:"cover_letter.pdf",size:"1.43MB"})})})}),M]})};go.options=nN;go.states=oN;go.variants=sN;go.defaultOptions=aN;go.modifiers=rN;go.className=V.className;var iN=go;
|
|
1
|
+
var Hc=Object.create;var un=Object.defineProperty;var zc=Object.getOwnPropertyDescriptor;var Uc=Object.getOwnPropertyNames;var Fc=Object.getPrototypeOf,Gc=Object.prototype.hasOwnProperty;var Vc=(e,t)=>{for(var o in t)un(e,o,{get:t[o],enumerable:!0})},Oi=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Uc(t))!Gc.call(e,n)&&n!==o&&un(e,n,{get:()=>t[n],enumerable:!(a=zc(t,n))||a.enumerable});return e};var Bi=(e,t,o)=>(o=e!=null?Hc(Fc(e)):{},Oi(t||!e||!e.__esModule?un(o,"default",{value:e,enumerable:!0}):o,e)),$c=e=>Oi(un({},"__esModule",{value:!0}),e);var lN={};Vc(lN,{ChatDemo:()=>go,default:()=>iN});module.exports=$c(lN);var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),y=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:i,checked:l,active:c,selected:u,disabled:f,indeterminate:N,loading:x,empty:m,readonly:L,highlighted:k,...A}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":i,"k-checked":l,"k-active":c,"k-selected":u,"k-disabled":f,"k-indeterminate":N&&!l,"k-loading":x,"k-empty":m,"k-readonly":L,"k-highlighted":k},Object.keys(A).reduce((E,M)=>(M.startsWith("k-")?E[M]=A[M]:E[`k-${M}`]=A[M],E),{}))};function fn(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"},b={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},g={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={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 ar={};function R(e){return ar[e]=(ar[e]||0)+1,`k-${e}-${ar[e]}`}var Pa=require("react/jsx-runtime"),nr="k-font-icon",Xc=[],qc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},Wc={},wa=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...l}=e;return a?(0,Pa.jsx)("span",{...l,className:r(e.className,nr,C(nr,{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,Pa.jsx)(Pa.Fragment,{})};wa.states=Xc;wa.options=qc;wa.className=nr;wa.defaultOptions=Wc;var Pi=wa;var vo=require("react/jsx-runtime"),rr="k-svg-icon",Jc=[],Yc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},wi={viewBox:"0 0 24 24"},Ra=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=wi.viewBox,icon:l,...c}=e;if(!l)return(0,vo.jsx)(vo.Fragment,{});if(l==="none")return(0,vo.jsx)("span",{...c,className:r(e.className,rr,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let u=typeof l=="object"&&l.name&&l.name;return(0,vo.jsx)("span",{...c,className:r(e.className,rr,C("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`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,vo.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:i,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};Ra.states=Jc;Ra.options=Yc;Ra.className=rr;Ra.defaultOptions=wi;var sr=Ra;var ir=Bi(require("@progress/kendo-svg-icons"));var Ri="icon",Ki="icons";var Hi=require("react");var _i=require("react"),Di=(0,_i.createContext)({iconsType:"svg"});var Gt=require("react/jsx-runtime"),bn="k-icon",Zc=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Qc=[],jc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},lr={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{iconsType:t}=(0,Hi.useContext)(Di),{size:o,themeColor:a,icon:n,type:i=t||lr.type,rotate:l,flip:c,viewBox:u=lr.viewBox,...f}=e;if(!n)return(0,Gt.jsx)(Gt.Fragment,{});if((t||i)==="svg"){if(n==="none")return(0,Gt.jsx)(sr,{...f,className:r(e.className,bn),icon:n,size:o});let x=ir[n]?n:Zc(`${n}-icon`);return ir[x]?(0,Gt.jsx)(sr,{...f,className:r(e.className,bn),icon:ir[x],size:o,themeColor:a,rotate:l,flip:c,viewBox:u}):(0,Gt.jsx)(Gt.Fragment,{})}return(0,Gt.jsx)(Pi,{...f,className:r(e.className,bn),icon:n,size:o,themeColor:a,rotate:l,flip:c})};v.states=Qc;v.options=jc;v.defaultOptions=lr;v.className=bn;v.moduleName=Ri;v.folderName=Ki;v.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var pr="button",zi=pr;var vt=require("react/jsx-runtime"),Ka="k-button",em=["icon-button"],tm=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],om={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},dr={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:l=dr.showArrow,arrowIconName:c=dr.arrowIconName,variant:u,hover:f,focus:N,active:x,selected:m,disabled:L,togglable:k,ariaDisabled:A,icon:E,text:M,iconClassName:O,className:q,...Se}=e,Re=E!==void 0,Ke=e.children!==void 0;return(0,vt.jsxs)(t,{className:r(q,Ka,fn(Ka,u),C(Ka,{size:o,rounded:a,fillMode:n,themeColor:i}),y(Ka,{hover:f,focus:N,active:x,disabled:L||A,selected:m}),{"k-icon-button":!M&&!Ke&&Re}),...Se,"aria-pressed":k?m?"true":"false":void 0,"aria-disabled":A?"true":void 0,disabled:L||void 0,children:[E&&(0,vt.jsx)(v,{className:r(O,"k-button-icon"),icon:E}),M?(0,vt.jsxs)(vt.Fragment,{children:[M&&(0,vt.jsx)("span",{className:"k-button-text",children:M}),e.children]}):e.children&&(0,vt.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,vt.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,vt.jsx)(v,{icon:c})})]})};p.states=tm;p.options=om;p.variants=em;p.className=Ka;p.defaultOptions=dr;p.moduleName=pr;p.folderName=zi;p.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Ui=require("react/jsx-runtime"),fe=e=>(0,Ui.jsx)(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Fi=require("react/jsx-runtime"),_a=e=>(0,Fi.jsx)(p,{icon:"folder",children:"Button",...e});var Gi=require("react/jsx-runtime"),kt=e=>(0,Gi.jsx)(p,{children:"Button",...e});var hn=require("react/jsx-runtime"),am=p.options,nm=p.states,rm={...p.defaultOptions,variant:"text"},sm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],im=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,hn.jsx)(fe,{...o,icon:"star"});case"icon-and-text":return(0,hn.jsx)(_a,{...o,icon:"star",children:"Button"});default:return(0,hn.jsx)(kt,{...o,children:"Button"})}};Ko.options=am;Ko.states=nm;Ko.variants=sm;Ko.defaultOptions=rm;Ko.modifiers=im;Ko.className=p.className;var Da=require("react/jsx-runtime"),xn="k-fab",dm=[s.hover,s.focus,s.active,s.selected,s.disabled],cm={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},Vi={type:"button"},oe=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:i,type:l=Vi.type,position:c,hover:u,focus:f,active:N,selected:x,disabled:m,...L}=e;return(0,Da.jsxs)("button",{...L,type:l,className:r(e.className,xn,C(xn,{size:t,rounded:o,themeColor:a}),y(xn,{hover:u,focus:f,active:N,disabled:m,selected:x}),{[`!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,Da.jsx)(v,{className:"k-fab-icon",icon:i}),n&&(0,Da.jsx)("span",{className:"k-fab-text",children:n})]})};oe.states=dm;oe.options=cm;oe.className=xn;oe.defaultOptions=Vi;oe.moduleName="fab";oe.folderName="fab";oe.ariaSpec={selector:".k-fab",rules:[{selector:".k-fab",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-fab",attribute:"aria-label or title (when icon-only)",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-fab.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."}]};var Xi=require("react/jsx-runtime"),mm="k-fab-items",$i=e=>{let{position:t,...o}=e;return(0,Xi.jsx)("ul",{...o,className:r(e.className,mm,{[`k-fab-items-${t}`]:t}),children:e.children})};var Ha=require("react/jsx-runtime"),qi="k-fab-item",um=[s.hover,s.focus,s.active,s.disabled],cr=e=>{let{text:t,icon:o,align:a,hover:n,focus:i,active:l,disabled:c,...u}=e;return(0,Ha.jsxs)("li",{...u,className:r(e.className,qi,{[`k-text-${a}`]:a},y(qi,{hover:n,focus:i,active:l,disabled:c})),children:[(0,Ha.jsx)("span",{className:"k-fab-item-text",children:t}),(0,Ha.jsx)(v,{className:"k-fab-item-icon",icon:o})]})};cr.states=um;var fm=require("react/jsx-runtime");var Ji=require("react/jsx-runtime"),Wi=e=>(0,Ji.jsx)(oe,{icon:"plus",...e});var bm=require("react/jsx-runtime");var hm=require("react/jsx-runtime");var Vt=require("react/jsx-runtime"),xm=oe.options,gm=oe.states,Nm={...oe.defaultOptions,variant:"text"},vm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],km=[{name:"opened",title:"Opened"}],_o=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},i=n?(0,Vt.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,Vt.jsx)($i,{position:"bottom",children:(0,Vt.jsx)(cr,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=(0,Vt.jsx)(oe,{...a,icon:"star"});break;case"icon-and-text":l=(0,Vt.jsx)(oe,{...a,icon:"star",text:"Action"});break;default:l=(0,Vt.jsx)(oe,{...a,text:"Action"});break}return(0,Vt.jsxs)("span",{style:{position:"relative"},children:[l,i]})};_o.options=xm;_o.states=gm;_o.variants=vm;_o.defaultOptions=Nm;_o.modifiers=km;_o.className=oe.className;var Yi=require("react/jsx-runtime"),mr="k-input-inner",Lm=[],Mm={},gn={type:"text",autocomplete:"off",value:"",placeholder:""},_e=e=>{let{value:t=gn.value,type:o=gn.type,placeholder:a=gn.placeholder,autocomplete:n=gn.autocomplete,disabled:i,readOnly:l,...c}=e;return(0,Yi.jsx)("input",{...c,type:o,className:r(e.className,mr,C(mr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:l||void 0})};_e.states=Lm;_e.options=Mm;_e.className=mr;var Qi=require("react/jsx-runtime"),ur="k-input-inner",Sm=[],ym={},Zi={value:"",placeholder:""},za=e=>{let{value:t=Zi.value,placeholder:o=Zi.placeholder,rows:a,disabled:n,...i}=e;return(0,Qi.jsx)("textarea",{...i,className:r(e.className,ur,C(ur,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};za.states=Sm;za.options=ym;za.className=ur;var fr="prompt-box",ji=fr;var br="speech-to-text-button",el=br;var al=require("react/jsx-runtime"),tl="k-speech-to-text-button",ol={icon:"microphone"},qe=e=>{let{listening:t=!1,icon:o=ol.icon,...a}=e;return(0,al.jsx)(p,{...a,icon:t?"stop":o,className:r(e.className,tl,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};qe.states=p.states;qe.options=p.options;qe.className=tl;qe.defaultOptions=ol;qe.moduleName=br;qe.folderName=el;qe.ariaSpec={selector:".k-speech-to-text-button",rules:[{selector:".k-button.k-speech-to-text-button",attribute:"role=button or nodeName=button",usage:"If the used element is not <button>, explicitly set its role to button."},{selector:".k-button.k-speech-to-text-button",attribute:"aria-pressed",usage:"Announces the toggle behaviour of the button."},{selector:".k-button.k-speech-to-text-button",attribute:"aria-label",usage:"Accessible name for the speech-to-text button."}]};var Am=require("react/jsx-runtime");var Cm=require("react/jsx-runtime");var rl=require("react/jsx-runtime"),Em=p.states,nl={...p.defaultOptions,variant:"normal"},Im={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Tm=[],Om=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],Do=e=>{let{variant:t,...o}={...nl,...e},a={};return t==="listening"&&(a.listening=!0),(0,rl.jsx)(qe,{...o,...a})};Do.options=Im;Do.states=Em;Do.variants=Om;Do.defaultOptions=nl;Do.modifiers=Tm;Do.className=qe.className;var Lt=require("react/jsx-runtime"),Tt="k-prompt-box",Bm=[s.hover,s.focus,s.disabled],Pm={fillMode:[h.undefined,h.solid,h.flat,h.outline]},hr={lineMode:"auto",isExpanded:!1},$t=e=>{let{fillMode:t,lineMode:o=hr.lineMode,startAffix:a,endAffix:n,header:i,isExpanded:l=hr.isExpanded,className:c,children:u,value:f,placeholder:N,generating:x,hover:m,focus:L,disabled:k,...A}=e,E=o==="multi"||o==="auto"&&l;return(0,Lt.jsxs)("div",{...A,className:r(c,"k-input",Tt,{[`${Tt}-singleline`]:o==="single",[`${Tt}-multiline`]:E,[`k-input-${t}`]:t,"k-hover":m,"k-focus":L,"k-disabled":k}),children:[i&&(0,Lt.jsx)("div",{className:`${Tt}-header`,children:i}),(0,Lt.jsxs)("div",{className:`${Tt}-content`,children:[a&&(0,Lt.jsx)("div",{className:`${Tt}-affix`,children:a}),o==="single"?(0,Lt.jsx)(_e,{value:f,placeholder:N,className:`${Tt}-input`,type:"text","aria-label":"Prompt input"}):(0,Lt.jsx)(za,{value:f,placeholder:N,className:`${Tt}-textarea`,rows:o==="multi"||l?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),(0,Lt.jsxs)("div",{className:`${Tt}-affix`,children:[n,(0,Lt.jsx)(qe,{size:"small",fillMode:"flat",rounded:"full"}),(0,Lt.jsx)(fe,{icon:x?"stop":"arrow-up",size:"small",rounded:"full",active:x,disabled:!f&&!x,className:r({"k-generating":x}),"aria-label":x?"Stop generating":"Send prompt","aria-live":"polite"})]})]}),u]})};$t.states=Bm;$t.options=Pm;$t.className=Tt;$t.defaultOptions=hr;$t.moduleName=fr;$t.folderName=ji;$t.ariaSpec={selector:".k-prompt-box",rules:[{selector:".k-prompt-box-singleline .k-prompt-box-input",attribute:"nodeName=input",usage:"Ensures the input field has the proper textbox role."},{selector:".k-prompt-box-singleline .k-prompt-box-input",attribute:"aria-label",usage:"Provides an accessible label for the single-line input."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"nodeName=textarea",usage:"Ensures the textarea has the proper textbox role."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"aria-label",usage:"Provides an accessible label for the textarea."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"aria-multiline=true",usage:"Indicates the textarea supports multiple lines of text."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"nodeName=textarea",usage:"Ensures the auto-mode textarea has the proper textbox role."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"aria-label",usage:"Provides an accessible label for the auto-mode textarea."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"aria-multiline=true",usage:"Indicates the auto-mode textarea supports multiple lines of text."},{selector:".k-prompt-box-affix .k-button:not(.k-speech-to-text-button)",attribute:"aria-label",usage:"The send/stop button is labelled to indicate its current action."},{selector:".k-prompt-box-affix .k-button:not(.k-speech-to-text-button)",attribute:"aria-live=polite",usage:"Announces the change in status of the send/stop button."}]};var wm=require("react/jsx-runtime");var Rm=require("react/jsx-runtime");var Km=require("react/jsx-runtime");var _m=require("react/jsx-runtime");var Dm=require("react/jsx-runtime");var xr="chat",sl=xr;var be=require("react/jsx-runtime"),il="k-chat",Hm=[],zm={},Um=(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(fe,{icon:"paperclip",fillMode:"clear",rounded:"full",size:"small","aria-label":"Attach file"},"paperclip"),(0,be.jsx)("div",{className:"k-spacer"})]}),ll={tools:Um},V=e=>{let{header:t,dir:o,suggestedActions:a,files:n,pinned:i,replied:l,generating:c,tools:u=ll.tools,value:f,empty:N,scrollToBottom:x,scrollbar:m,promptBoxProps:L,...k}=e;return(0,be.jsxs)("div",{...k,className:r(il,e.className),dir:o,children:[t,(0,be.jsxs)("div",{className:"k-message-list",role:"log","aria-label":"Message list","aria-live":"polite",children:[i,(0,be.jsx)("div",{className:r("k-message-list-content",N&&"k-message-list-content-empty"),children:e.children}),x&&(0,be.jsx)("div",{className:"k-chat-scroll-to-bottom-container",children:(0,be.jsx)(Wi,{themeColor:"base",icon:"arrow-down",size:"small"})})]}),m&&(0,be.jsx)("div",{className:"k-separator"}),(0,be.jsxs)("div",{className:"k-message-box-wrapper",children:[a,(0,be.jsx)($t,{lineMode:"multi",placeholder:"Type a message",generating:c,value:f,header:n||l?(0,be.jsxs)(be.Fragment,{children:[l,n]}):void 0,endAffix:u,...L})]})]})};V.states=Hm;V.options=zm;V.className=il;V.defaultOptions=ll;V.moduleName=xr;V.folderName=sl;V.ariaSpec={selector:".k-chat",rules:[{selector:".k-message-list",attribute:"role=log",usage:"The role of the Chat message list must imply that there is a log (list) of messages."},{selector:".k-message-list",attribute:"aria-label",usage:"Announces the purpose of the Chat message list."},{selector:".k-message-list",attribute:"aria-live=polite",usage:"Announces new messages in the Chat message list."},{selector:".k-bubble",attribute:"tabindex=0",usage:"The Chat bubble must be focusable."},{selector:".k-bubble .k-typing-indicator",attribute:"tabindex=-1",usage:"The Chat bubble typing indicator should not be focusable."},{selector:".k-bubble-expandable-indicator",attribute:"role=button",usage:"The expandable indicator must have an appropriate role."},{selector:".k-bubble-expandable-indicator",attribute:"aria-label or title",usage:"The expandable indicator must be properly labelled."},{selector:".k-bubble-expandable-indicator",attribute:"tabindex=0",usage:"The expandable indicator must be part of the page tabsequence."},{selector:".k-message-reference>.k-button",attribute:"aria-label or title",usage:"The reference close button must be properly labelled."},{selector:".k-message-reference>.k-button",attribute:"role=button or nodeName=button",usage:"The reference close button must have an appropriate role."},{selector:".k-prompt-box-affix>.k-button",attribute:"role=button or nodeName=button",usage:"The buttons must have appropriate role."},{selector:".k-prompt-box-affix>.k-button",attribute:"aria-label or title",usage:"The buttons must be properly labelled."},{selector:".k-prompt-box-affix>.k-button.k-disabled",attribute:"disabled",usage:"Announces the send action as disabled when necessary."}]};var gr=require("react/jsx-runtime"),vn="k-file-box-wrapper",pl={layout:"horizontal"},Ot=e=>{let{layout:t=pl.layout,scrollingPosition:o,...a}=e;return(0,gr.jsx)("ul",{role:"list","aria-label":"Attached files",...a,className:r(e.className,vn,{"k-files-vertical":t==="vertical","k-files-wrap":t==="wrap",[`${vn}-scrollable-start`]:t==="horizontal"&&(o==="start"||o==="both"),[`${vn}-scrollable-end`]:t==="horizontal"&&(o==="end"||o==="both")}),children:t==="horizontal"?(0,gr.jsx)("div",{className:"k-files-scroll",role:"presentation",children:e.children}):e.children})};Ot.className=vn;Ot.defaultOptions=pl;var Nr="menu-button",dl=Nr;var ml=require("react/jsx-runtime"),cl="k-menu-button",Fm=[s.hover,s.focus,s.active,s.selected,s.disabled],Gm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},vr={showArrow:!0,arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,icon:N,text:x,showArrow:m=vr.showArrow,arrowIconName:L=vr.arrowIconName,expanded:k,...A}=e;return(0,ml.jsx)(p,{...A,className:r(e.className,cl),text:x,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,icon:N,showArrow:m,arrowIconName:L,"aria-expanded":k?"true":"false",...!x&&N&&!e["aria-label"]&&{"aria-label":"Menu"},...f&&{"aria-disabled":"true"}})};D.states=Fm;D.options=Gm;D.className=cl;D.defaultOptions=vr;D.moduleName=Nr;D.folderName=dl;D.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var Vm=require("react/jsx-runtime");var $m=require("react/jsx-runtime");var Xm=require("react/jsx-runtime");var ot="menu",lt=ot;var Xt=require("react/jsx-runtime"),kr="k-menu-item",qm=[s.hover,s.focus,s.active,s.selected,s.disabled],Wm={},ul={iconPosition:"before"},ye=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,first:u,last:f,showArrow:N,arrowIconName:x,iconPosition:m=ul.iconPosition,dir:L,children:k,expanded:A,...E}=e,M=x;return M||(M=L==="rtl"?"chevron-left":"chevron-right"),(0,Xt.jsxs)("li",{...E,className:r(e.className,kr,"k-item",y(kr,{focus:o,disabled:i,hover:t,active:a,selected:n}),{"k-first":u,"k-last":f}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":A?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Xt.jsxs)("span",{className:r("k-link k-menu-link"),children:[l&&m==="before"&&(0,Xt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,Xt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&m==="after"&&(0,Xt.jsx)(v,{className:"k-menu-link-icon",icon:l}),N&&(0,Xt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Xt.jsx)(v,{icon:M})})]}),k]})};ye.states=qm;ye.options=Wm;ye.className=kr;ye.defaultOptions=ul;ye.moduleName=ot;ye.folderName=lt;var qt=require("react/jsx-runtime"),Lr="k-menu-item",Jm=[s.hover,s.focus,s.active,s.selected,s.disabled],Ym={},Mr={dir:"ltr",iconPosition:"before"},W=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,first:u,last:f,showArrow:N,arrowIconName:x,iconPosition:m=Mr.iconPosition,dir:L=Mr.dir,children:k,popup:A,expanded:E,...M}=e,O=x;return O||(O=L==="rtl"?"chevron-left":"chevron-right"),(0,qt.jsxs)("li",{...M,className:r(e.className,Lr,"k-item",y(Lr,{focus:o,disabled:i}),{"k-first":u,"k-last":f}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":E?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,qt.jsxs)("span",{className:r("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:n,disabled:i})),children:[l&&m==="before"&&(0,qt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,qt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&m==="after"&&(0,qt.jsx)(v,{className:"k-menu-link-icon",icon:l}),N&&(0,qt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,qt.jsx)(v,{icon:O})})]}),k,A]})};W.states=Jm;W.options=Ym;W.className=Lr;W.defaultOptions=Mr;W.moduleName=ot;W.folderName=lt;var hl=require("react/jsx-runtime"),fl="k-menu-scroll-wrapper",Zm=[],Qm={},jm={},ko=e=>{let{className:t,children:o,orientation:a,...n}=e;return(0,hl.jsx)("div",{...n,className:r(t,fl,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};ko.states=Zm;ko.options=Qm;ko.className=fl;ko.defaultOptions=jm;ko.moduleName=ot;ko.folderName=lt;var bl=ko;var he=require("react/jsx-runtime"),Sr="k-menu",eu=[],tu={},Ln={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ce=e=>{let{children:t,orientation:o=Ln.orientation,header:a=Ln.header,scrollable:n,scrollButtonsPosition:i=Ln.scrollButtonsPosition,wrapperStyles:l,dir:c,popup:u,contextMenu:f,...N}=e,x={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},m=(0,he.jsx)("ul",{dir:c,...N,className:r(e.className,"k-reset",Sr,{[`${Sr}-${o}`]:o,"k-header":a}),role:f?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,he.jsxs)(he.Fragment,{children:[n?(0,he.jsxs)(bl,{orientation:o,style:l,dir:e.dir,children:[i==="start"&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,he.jsx)(p,{fillMode:"flat",icon:`chevron-${x[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",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),m,i==="end"&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,he.jsx)(p,{fillMode:"flat",icon:`chevron-${x[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",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):m,u]})};ce.states=eu;ce.options=tu;ce.className=Sr;ce.defaultOptions=Ln;ce.moduleName=ot;ce.folderName=lt;ce.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};var gl=require("react/jsx-runtime"),yr="k-separator",xl={orientation:"horizontal"},Ho=e=>{let{orientation:t=xl.orientation,...o}=e;return(0,gl.jsx)("li",{...o,className:r(e.className,"k-item",yr,{[`${yr}-${t}`]:t}),role:"separator"})};Ho.className=yr;Ho.defaultOptions=xl;Ho.moduleName=ot;Ho.folderName=lt;var Nl=require("react/jsx-runtime");var vl=require("react/jsx-runtime"),Ar="k-menu-group",ou=[],au={size:[d.undefined,d.small,d.medium,d.large]},nu={},Ae=e=>{let{children:t,size:o,...a}=e;return(0,vl.jsx)("ul",{...a,className:r(e.className,Ar,C(Ar,{size:o})),role:"menu",children:t})};Ae.states=ou;Ae.options=au;Ae.className=Ar;Ae.defaultOptions=nu;Ae.moduleName=ot;Ae.folderName=lt;var Mt=require("react/jsx-runtime"),Cr=e=>(0,Mt.jsx)(ce,{children:(0,Mt.jsxs)(Mt.Fragment,{children:[(0,Mt.jsx)(ye,{first:!0,text:"Item 1"}),(0,Mt.jsx)(ye,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,Mt.jsx)(ye,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,Mt.jsx)(ye,{text:"Item 4"}),(0,Mt.jsx)(ye,{last:!0,text:"Item 5"})]}),...e});var Er="popup",kl=Er;var Ir=require("react/jsx-runtime"),Ll="k-animation-container",ru=[],su={},Ml={positionMode:"absolute"},Bt=e=>{let{positionMode:t=Ml.positionMode,animationStyle:o,offset:a,...n}=e;return(0,Ir.jsx)("div",{...n,style:{...a,...e.style},className:r(e.className,Ll,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Ir.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Bt.states=ru;Bt.options=su;Bt.className=Ll;Bt.defaultOptions=Ml;Bt.moduleName=Er;Bt.folderName=kl;var Tr="popup",Sl=Tr;var Or=require("react/jsx-runtime"),yl="k-popup",iu=[],lu={},Al={positionMode:"absolute"},X=e=>{let{offset:t,positionMode:o=Al.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:l,...c}=e;return(0,Or.jsx)(Bt,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":l,children:(0,Or.jsx)("div",{...c,className:r(e.className,yl),children:e.children})})};X.states=iu;X.options=lu;X.className=yl;X.defaultOptions=Al;X.moduleName=Tr;X.folderName=Sl;X.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Br=require("react/jsx-runtime");var Pr=require("react/jsx-runtime");var wr=require("react/jsx-runtime");var Rr=require("react/jsx-runtime");var Pt=require("react/jsx-runtime"),pu=ce.options,du=ce.states,Cl={...ce.defaultOptions,variant:"horizontal"},cu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],mu=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],zo=e=>{let{variant:t,modifiers:o,...a}={...Cl,...e},n={};return Object.keys(o||{}).forEach(i=>{switch(i){case"scrollable":n.scrollable=!!(o!=null&&o[i]);break;case"opened":n.opened=!!(o!=null&&o[i]),n.popup=(0,Pt.jsx)(X,{className:"k-menu-popup",children:(0,Pt.jsxs)(Ae,{children:[(0,Pt.jsx)(W,{text:"Item 1"}),(0,Pt.jsx)(W,{text:"Item 2"}),(0,Pt.jsx)(Ho,{}),(0,Pt.jsx)(W,{text:"Item 3"})]})});break}}),t==="vertical"?(0,Pt.jsx)(Cr,{...a,...n,orientation:"vertical",style:{width:"200px"}}):(0,Pt.jsx)(Cr,{...a,...n})};zo.options=pu;zo.states=du;zo.variants=cu;zo.defaultOptions=Cl;zo.modifiers=mu;zo.className=ce.className;var Kr=require("react/jsx-runtime");var uu=require("react/jsx-runtime");var Ce=require("react/jsx-runtime"),fu=p.states,El={...p.defaultOptions,variant:"text"},bu=p.options,hu=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xu=[{name:"opened",title:"Opened"}],Uo=e=>{let{variant:t,modifiers:o,...a}={...El,...e},n={},i=(0,Ce.jsx)(X,{className:"k-menu-popup",children:(0,Ce.jsxs)(Ae,{size:a.size,children:[(0,Ce.jsx)(W,{first:!0,text:"Menu Item"}),(0,Ce.jsx)(W,{text:"Menu Item"}),(0,Ce.jsx)(W,{last:!0,text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=(0,Ce.jsx)("div",{children:(0,Ce.jsx)(D,{...a,...n,icon:"star"})});break;case"icon-and-text":l=(0,Ce.jsx)("div",{children:(0,Ce.jsx)(D,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=(0,Ce.jsx)("div",{children:(0,Ce.jsx)(D,{...a,...n,children:"Dropdown Button"})});break}return(0,Ce.jsxs)(Ce.Fragment,{children:[l,(o==null?void 0:o.opened)&&i]})};Uo.options=bu;Uo.states=fu;Uo.variants=hu;Uo.defaultOptions=El;Uo.modifiers=xu;Uo.className=D.className;var _r="file-box",Il=_r;var wt=require("react/jsx-runtime"),Tl="k-file-box",gu=[s.selected],Nu={},Ua={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},De=e=>{let{icon:t=Ua.icon,name:o=Ua.name,size:a=Ua.size,status:n,deleted:i,removeButton:l,showButton:c=Ua.showButton,...u}=e,f=[o,a].filter(Boolean).join(" ");return(0,wt.jsxs)("li",{role:"listitem",tabIndex:0,"aria-label":f||void 0,...u,className:r(Tl,e.className,{"k-file-deleted":i}),children:[(0,wt.jsx)(v,{icon:t,size:"xlarge","aria-hidden":"true"}),(0,wt.jsxs)("div",{className:"k-file-info",children:[o&&(0,wt.jsx)("span",{className:"k-file-name",children:o}),a&&(0,wt.jsx)("span",{className:"k-file-size",children:a}),n&&(0,wt.jsx)("span",{className:"k-file-status",children:n})]}),c&&(l?(0,wt.jsx)(p,{as:"span",icon:"x-mark-sm-outline",fillMode:"flat",size:"xsmall","aria-hidden":"true"}):(0,wt.jsx)(D,{icon:"more-vertical",fillMode:"flat",size:"xsmall",showArrow:!1,"aria-label":"File actions"}))]})};De.states=gu;De.options=Nu;De.className=Tl;De.defaultOptions=Ua;De.moduleName=_r;De.folderName=Il;De.ariaSpec={selector:".k-file-box-wrapper",rules:[{selector:".k-file-box-wrapper",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-file-box-wrapper",attribute:"aria-label",usage:'Provides an accessible name for the file list (e.g. "Attached files").'},{selector:".k-file-box-wrapper .k-files-scroll",attribute:"role=presentation",usage:"The scrollable container between the list and its items is presentational, ensuring the list\u2192listitem relationship is preserved in the accessibility tree."},{selector:".k-file-box-wrapper .k-file-box",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-file-box-wrapper .k-file-box",attribute:"tabindex",usage:"Makes the file box focusable. Uses roving tabindex: 0 for the focused item, -1 for the rest."},{selector:".k-file-box-wrapper .k-file-box",attribute:"aria-label",usage:'Provides an accessible name describing the file. Can include the file name and size (e.g. "FileName.pdf 2MB").'},{selector:".k-file-box-wrapper .k-file-box .k-icon",attribute:"aria-hidden=true",usage:"The file type icon is decorative and hidden from screen readers."},{selector:".k-file-box-wrapper .k-file-box span.k-button",attribute:"aria-hidden=true",usage:"The remove button is rendered as a decorative span and hidden from screen readers. File removal is handled by keyboard interaction on the listitem itself."}]};var vu=require("react/jsx-runtime");var ku=require("react/jsx-runtime");var Ol=require("react/jsx-runtime");var Bl=require("react/jsx-runtime");var Lu=require("react/jsx-runtime");var Dr="button",Pl=Dr;var wl=require("react/jsx-runtime"),Fa="k-button-group",Mu=[s.disabled],Su={fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},yu={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,wl.jsx)("div",{role:"group",...n,className:r(e.className,Fa,C(Fa,{fillMode:t}),y(Fa,{disabled:o}),{[`${Fa}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=Mu;B.options=Su;B.className=Fa;B.defaultOptions=yu;B.moduleName=Dr;B.folderName=Pl;B.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var Hr=require("react/jsx-runtime");var zr=require("react/jsx-runtime");var Ur=require("react/jsx-runtime");var Fr=require("react/jsx-runtime");var Gr=require("react/jsx-runtime");var Vr=require("react/jsx-runtime");var We=require("react/jsx-runtime"),Au={...p.options,...B.options},Cu=p.states,Eu={...p.defaultOptions,...B.defaultOptions,variant:"text-button"},Iu=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Tu=[],Fo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,We.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,We.jsx)(p,{...a,icon:"star"}),(0,We.jsx)(p,{...a,icon:"star"}),(0,We.jsx)(p,{...a,icon:"star"})]}):t==="icon-text-button"?(0,We.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,We.jsx)(p,{...a,icon:"star",children:"First"}),(0,We.jsx)(p,{...a,icon:"star",children:"Middle"}),(0,We.jsx)(p,{...a,icon:"star",children:"Last"})]}):(0,We.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,We.jsx)(p,{...a,children:"First"}),(0,We.jsx)(p,{...a,children:"Middle"}),(0,We.jsx)(p,{...a,children:"Last"})]})};Fo.options=Au;Fo.states=Cu;Fo.variants=Iu;Fo.defaultOptions=Eu;Fo.modifiers=Tu;Fo.className=B.className;var Ga="input",Mn=Ga;var Rl=require("react/jsx-runtime"),Sn="k-input",Ou=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Bu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Pu={},ae=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:f,fillMode:N,...x}=e;return(0,Rl.jsx)("span",{...x,className:r(e.className,Sn,C(Sn,{size:u,rounded:f,fillMode:N}),y(Sn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c}))})};ae.states=Ou;ae.options=Bu;ae.className=Sn;ae.defaultOptions=Pu;ae.moduleName=Ga;ae.folderName=Mn;var Kl=require("react/jsx-runtime"),yn="k-picker",wu=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ru={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ku={},Rt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:f,fillMode:N,...x}=e;return(0,Kl.jsx)("span",{...x,className:r(e.className,yn,C(yn,{size:u,rounded:f,fillMode:N}),y(yn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c})),children:e.children})};Rt.states=wu;Rt.options=Ru;Rt.className=yn;Rt.defaultOptions=Ku;Rt.moduleName=Ga;Rt.folderName=Mn;var Go=require("react/jsx-runtime"),_l="k-clear-value",_u=[s.disabled,s.loading,s.readonly],Du={},at=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Go.jsx)(Go.Fragment,{}):(0,Go.jsx)("span",{className:r(e.className,_l),children:(0,Go.jsx)(v,{icon:"x"})})};at.states=_u;at.options=Du;at.className=_l;var Va=require("react/jsx-runtime"),$r="k-input-inner",Hu=[],zu={},Lo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...l}=e;return(0,Va.jsxs)("span",{...l,className:r(e.className,$r,C($r,e)),children:[n,!n&&i&&(0,Va.jsx)(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&(0,Va.jsx)("span",{className:"k-input-value-text",children:t})]})};Lo.states=Hu;Lo.options=zu;Lo.className=$r;var $a=require("react/jsx-runtime"),Dl="k-input-loading-icon",Uu=[s.disabled,s.loading],Je=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,$a.jsx)($a.Fragment,{}):(0,$a.jsx)("span",{className:r(e.className,Dl,"k-icon k-i-loading")})};Je.states=Uu;Je.className=Dl;var Xa=require("react/jsx-runtime"),Hl="k-input-validation-icon",Fu=[s.valid,s.invalid,s.disabled,s.loading],Gu={},He=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:r(Hl),icon:i})};He.states=Fu;He.options=Gu;He.className=Hl;var qa=require("react/jsx-runtime"),Vu="k-input-prefix",$u={direction:"horizontal"},pt=e=>{let{direction:t=$u.direction,...o}=e;return e.children?(0,qa.jsx)("span",{...o,className:r(Vu,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,qa.jsx)(qa.Fragment,{})};var Wa=require("react/jsx-runtime"),Xu="k-input-suffix",qu={direction:"horizontal"},dt=e=>{let{direction:t=qu.direction,...o}=e;return e.children?(0,Wa.jsx)("span",{...o,className:r(Xu,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Wa.jsx)(Wa.Fragment,{})};var Wu=require("react/jsx-runtime");var zl=require("react/jsx-runtime"),Ju="k-input-suffix-text",Xr=e=>{let{children:t,...o}=e;return(0,zl.jsx)("span",{...o,className:r(Ju,e.className),children:t})};var Fl=require("react/jsx-runtime"),Ul="k-input-separator",Yu={direction:"vertical"},ct=e=>{let{direction:t=Yu.direction,...o}=e;return(0,Fl.jsx)("span",{...o,className:r(Ul,e.className,{[`${Ul}-${t}`]:t})})};var me=require("react/jsx-runtime"),Zu=ae.states,Qu=ae.defaultOptions,ju=ae.options,ef=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],tf=[],Vo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:l,...c}=e,u=t==null?void 0:t.prefix,f=t==null?void 0:t.suffix,N=t==null?void 0:t["clear-button"],x=t==null?void 0:t["validation-icon"],m=t==null?void 0:t.separators;return(0,me.jsxs)(ae,{...c,valid:o,invalid:a,loading:n,disabled:i,readonly:l,style:{width:300},children:[u&&(0,me.jsxs)(me.Fragment,{children:[(0,me.jsx)(pt,{children:(0,me.jsx)(v,{icon:"lock"})}),m&&(0,me.jsx)(ct,{})]}),(0,me.jsx)(_e,{placeholder:"Placeholder",value:"Value"}),x&&(0,me.jsx)(He,{valid:o,invalid:a,loading:n,disabled:i}),(0,me.jsx)(Je,{loading:n,disabled:i}),N&&(0,me.jsx)(at,{loading:n,disabled:i,readonly:l,value:"Value"}),f&&(0,me.jsxs)(me.Fragment,{children:[m&&(0,me.jsx)(ct,{}),(0,me.jsx)(dt,{children:(0,me.jsx)(kt,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Vo.options=ju;Vo.states=Zu;Vo.variants=tf;Vo.defaultOptions=Qu;Vo.modifiers=ef;Vo.className=ae.className;var Ja=require("react/jsx-runtime"),Gl="k-color-preview",of=[],af={},no=e=>{let{color:t,iconName:o,...a}=e;return(0,Ja.jsxs)("span",{...a,className:r(e.className,Gl,{"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}})]})};no.states=of;no.options=af;no.className=Gl;var qr="action-buttons",Vl=qr;var Xl=require("react/jsx-runtime"),An="k-actions",nf=[],rf={},Wr={alignment:"start",orientation:"horizontal"},nt=e=>{let{alignment:t=Wr.alignment,orientation:o=Wr.orientation,...a}=e;return(0,Xl.jsx)("div",{...a,className:r(An,{[`${An}-${t}`]:t,[`${An}-${o}`]:o},e.className),children:e.children})};nt.states=nf;nt.options=rf;nt.className=An;nt.defaultOptions=Wr;nt.moduleName=qr;nt.folderName=Vl;var $l=nt;var Wl=require("react/jsx-runtime"),sf="k-actionsheet-footer",ql={alignment:"stretched",orientation:"horizontal"},ro=e=>{let{alignment:t=ql.alignment,orientation:o=ql.orientation,template:a,as:n=a?"div":nt,...i}=e;return(0,Wl.jsx)(n,{...i,...!a&&{alignment:t,orientation:o},className:r(e.className,sf),children:e.children})};var Jr="searchbox",Jl=Jr;var so=require("react/jsx-runtime"),Yl="k-searchbox",lf=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],pf={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Yr={showIcon:!0,icon:"search"},mt=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:f,required:N,loading:x,disabled:m,showIcon:L=Yr.showIcon,icon:k=Yr.icon,"aria-label":A,...E}=e;return(0,so.jsxs)(ae,{...E,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:f,required:N,loading:x,disabled:m,className:r(e.className,Yl),children:[L&&(0,so.jsx)(v,{className:"k-input-icon",icon:k}),(0,so.jsx)(_e,{placeholder:o,value:t,"aria-label":A}),(0,so.jsx)(Je,{...e}),(0,so.jsx)(He,{...e}),(0,so.jsx)(at,{...e})]})};mt.states=lf;mt.options=pf;mt.className=Yl;mt.defaultOptions=Yr;mt.moduleName=Jr;mt.folderName=Jl;var df=require("react/jsx-runtime");var Zr="textbox",Zl=Zr;var Ee=require("react/jsx-runtime"),Ql="k-textbox",cf=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],mf={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Cn={showClearButton:!0,showValidationIcon:!0,separators:!0},xe=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Cn.separators,showClearButton:i=Cn.showClearButton,showValidationIcon:l=Cn.showValidationIcon,prefix:c,suffix:u,type:f,value:N,placeholder:x,hover:m,focus:L,valid:k,invalid:A,required:E,loading:M,disabled:O,readonly:q,id:Se,"aria-label":Re,"aria-describedby":Ke,...tt}=e;return(0,Ee.jsxs)(ae,{...tt,size:t,rounded:o,fillMode:a,hover:m,focus:L,valid:k,invalid:A,required:E,loading:M,disabled:O,readonly:q,className:r(e.className,Ql),children:[c&&(0,Ee.jsxs)(Ee.Fragment,{children:[(0,Ee.jsx)(pt,{children:c}),n&&(0,Ee.jsx)(ct,{})]}),(0,Ee.jsx)(_e,{id:Se,placeholder:x,value:N,type:f,disabled:O,"aria-label":Re,"aria-describedby":Ke,"aria-invalid":A?"true":void 0}),l&&(0,Ee.jsx)(He,{valid:k,invalid:A,loading:M,disabled:O}),(0,Ee.jsx)(Je,{loading:M,disabled:O}),i&&(0,Ee.jsx)(at,{loading:M,disabled:O,readonly:q,value:N}),u&&(0,Ee.jsxs)(Ee.Fragment,{children:[n&&(0,Ee.jsx)(ct,{}),(0,Ee.jsx)(dt,{children:u})]})]})};xe.states=cf;xe.options=mf;xe.className=Ql;xe.defaultOptions=Cn;xe.moduleName=Zr;xe.folderName=Zl;xe.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var Ya=xe;var jl=require("react/jsx-runtime"),En=e=>(0,jl.jsx)(Ya,{...e});var ep=require("react/jsx-runtime");var tp=require("react/jsx-runtime");var uf=require("react/jsx-runtime");var In=require("react/jsx-runtime"),ff=xe.states,bf=xe.defaultOptions,hf=xe.options,xf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],gf=[],$o=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,In.jsx)(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,In.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,In.jsx)(En,{value:"Value",style:{width:300},...o,...a})};$o.options=hf;$o.states=ff;$o.variants=gf;$o.defaultOptions=bf;$o.modifiers=xf;$o.className=xe.className;var rt=require("react/jsx-runtime"),op="k-actionsheet-titlebar",Nf={},ze=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:l,inputValue:c,inputPlaceholder:u,adaptive:f,titleId:N,children:x,...m}=e;return(0,rt.jsxs)("div",{...m,className:r(e.className,op),children:[(0,rt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,rt.jsx)("div",{className:"k-actionsheet-actions",children:a}),!x&&(0,rt.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[t&&(0,rt.jsx)("div",{className:"k-text-center",children:t}),o&&(0,rt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,rt.jsx)("div",{className:"k-actionsheet-title",id:N,children:x}),n&&(0,rt.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(l||i)&&(0,rt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?(0,rt.jsx)(xe,{value:c,placeholder:u,size:f?"large":"medium","aria-label":t||u||"Input"}):(0,rt.jsx)(mt,{placeholder:"Filter",size:f?"large":"medium","aria-label":"Filter options"})})]})};ze.className=op;ze.defaultOptions=Nf;var Xo=require("react/jsx-runtime"),Qr="k-actionsheet-view",vf=[],kf={},Lf={},qo=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:l,...c}=e,u=(n==null?void 0:n.type)===ze&&(0,Xo.jsx)(ze,{adaptive:t,titleId:l,...n==null?void 0:n.props}),f=(i==null?void 0:i.type)===ro&&(0,Xo.jsx)(ro,{...i==null?void 0:i.props});return(0,Xo.jsxs)("div",{...c,className:r(e.className,Qr,{[`${Qr}-animated`]:o}),children:[u,(0,Xo.jsx)("div",{className:"k-actionsheet-content",children:a}),f]})};qo.states=vf;qo.options=kf;qo.className=Qr;qo.defaultOptions=Lf;var Za="action-sheet",Tn=Za;var jr="overlay",ap=jr;var rp=require("react/jsx-runtime"),np="k-overlay",Mf=[],Sf={},yf={},Kt=e=>{let{...t}=e;return(0,rp.jsx)("div",{...t,className:r(e.className,np),children:e.children})};Kt.states=Mf;Kt.options=Sf;Kt.className=np;Kt.defaultOptions=yf;Kt.moduleName=jr;Kt.folderName=ap;var Mo=require("react/jsx-runtime"),sp="k-actionsheet",Af=[],Cf={},Qa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ee=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:f,...N}=e,x=f&&!i&&c?`${f}-title`:void 0;return(0,Mo.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,Mo.jsx)(Kt,{}),(0,Mo.jsx)(Bt,{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",{...N,id:f,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":x,className:r(e.className,sp,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||(0,Mo.jsx)(qo,{header:c,footer:u,adaptive:a,titleId:x,...e,children:l})})})]})};ee.states=Af;ee.options=Cf;ee.className=sp;ee.defaultOptions=Qa;ee.moduleName=Za;ee.folderName=Tn;ee.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var lp=require("react/jsx-runtime"),ip="k-actionsheet-container",Ef=[],If={},Tf={},Wo=e=>{let{children:t,...o}=e;return(0,lp.jsx)("div",{...o,className:ip,children:t})};Wo.states=Ef;Wo.options=If;Wo.className=ip;Wo.defaultOptions=Tf;Wo.moduleName=Za;Wo.folderName=Tn;var pp=require("react/jsx-runtime"),es=e=>{let{...t}=e;return(0,pp.jsx)("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};var ut=require("react/jsx-runtime"),ts="k-actionsheet-item",Of=[s.hover,s.focus,s.selected,s.disabled],io=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:l,disabled:c,...u}=e;return(0,ut.jsxs)("span",{...u,className:r(e.className,ts,y(ts,{hover:n,focus:i,selected:l,disabled:c})),children:[!e.children&&(0,ut.jsx)(ut.Fragment,{children:(0,ut.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ut.jsx)("span",{className:"k-icon-wrap",children:(0,ut.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,ut.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,ut.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,ut.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};io.states=Of;io.className=ts;var dp=require("react/jsx-runtime");var Bf=require("react/jsx-runtime");var Pf=require("react/jsx-runtime");var wf=require("react/jsx-runtime");var J=require("react/jsx-runtime"),Rf=ee.options,Kf=ee.states,mp={...ee.defaultOptions,variant:"normal"},_f=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Df=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...mp,...e},n={},i=(0,J.jsxs)(es,{children:[(0,J.jsx)(io,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,J.jsx)(io,{text:"Add to Favorites",iconName:"heart"}),(0,J.jsx)(io,{text:"Upload New",iconName:"upload",disabled:!0}),(0,J.jsx)("hr",{className:"k-hr"}),(0,J.jsx)(io,{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,J.jsx)(ee,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,J.jsx)(ze,{actionsStart:n.actionsStart?(0,J.jsx)(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,J.jsx)(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?(0,J.jsxs)(ro,{alignment:"stretched",children:[(0,J.jsx)(p,{text:"Cancel",size:"large",themeColor:"base"}),(0,J.jsx)(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):(0,J.jsx)(ee,{...a,fullscreen:n.fullScreen,header:(0,J.jsx)(ze,{actionsStart:n.actionsStart?(0,J.jsx)(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,J.jsx)(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,J.jsxs)(ro,{alignment:"stretched",children:[(0,J.jsx)(p,{text:"Apply",themeColor:"primary"}),(0,J.jsx)(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};Jo.options=Rf;Jo.states=Kf;Jo.variants=_f;Jo.defaultOptions=mp;Jo.modifiers=Df;Jo.className=ee.className;var os="slider",up=os;var St=require("react/jsx-runtime"),ja="k-slider",Hf=[s.hover,s.focus,s.active,s.disabled,s.readonly],zf={},ft={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},$=e=>{let{type:t=ft.type,orientation:o=ft.orientation,gradientType:a=ft.gradientType,readonly:n=ft.readonly,disabled:i=ft.disabled,handlePosition:l=ft.handlePosition,showButtons:c=ft.showButtons,showTicks:u=ft.showTicks,value:f=ft.value,min:N=ft.min,max:x=ft.max,startValue:m,endValue:L,hover:k,focus:A,active:E,trackStyle:M,dir:O,...q}=e,Re=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Ke,tt;return o==="horizontal"?(Ke=O==="rtl"?"chevron-left":"chevron-right",tt=O==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Ke="chevron-up",tt="chevron-down"),(0,St.jsxs)("div",{...q,className:r(ja,e.className,y(ja,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:O,children:[c&&(0,St.jsx)(p,{className:"k-button-decrease",rounded:"full",icon:tt,tabIndex:-1,title:"Decrease"}),(0,St.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,St.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,St.jsxs)("div",{className:"k-slider-track",style:M,children:[(0,St.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,St.jsx)("span",{className:r("k-draghandle","k-draghandle-start",y(ja,{hover:k,focus:A,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":m??N,"aria-valuemin":N,"aria-valuemax":L??x,"aria-orientation":Re,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":q["aria-label"]?`${q["aria-label"]} start`:"Range start"}),(0,St.jsx)("span",{className:r("k-draghandle",`k-draghandle-${l}`,y(ja,{hover:k,focus:A,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??x:f,"aria-valuemin":t==="range"?m??N:N,"aria-valuemax":x,"aria-orientation":Re,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?q["aria-label"]?`${q["aria-label"]} end`:"Range end":q["aria-label"]})]})]}),c&&(0,St.jsx)(p,{className:"k-button-increase",rounded:"full",icon:Ke,tabIndex:-1,title:"Increase"})]})};$.states=Hf;$.options=zf;$.className=ja;$.defaultOptions=ft;$.moduleName=os;$.folderName=up;$.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var as=require("react/jsx-runtime"),fp="k-tick",Uf=[],Ff={},bp={label:!1},I=e=>{let{style:t,label:o=bp.label,orientation:a,large:n,text:i,...l}=e;return(0,as.jsx)("li",{...l,role:"presentation",title:i||"Tick",className:r(e.className,fp,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,as.jsx)("span",{className:"k-label",children:i})})};I.states=Uf;I.options=Ff;I.className=fp;I.defaultOptions=bp;var ge=require("react/jsx-runtime"),hp=e=>(0,ge.jsx)($,{"aria-label":e["aria-label"]||"Slider",children:(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsx)(I,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{label:!0,large:!0,text:"5"}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{}),(0,ge.jsx)(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var Ne=require("react/jsx-runtime"),xp=e=>(0,Ne.jsx)($,{children:(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(I,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{label:!0,large:!0,text:"5"}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{}),(0,Ne.jsx)(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var ns=require("react/jsx-runtime");var rs=require("react/jsx-runtime");var gp=require("react/jsx-runtime"),ss=e=>(0,gp.jsx)($,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Np=require("react/jsx-runtime"),is=e=>(0,Np.jsx)($,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var ls=require("react/jsx-runtime");var ps=require("react/jsx-runtime");var Ye=require("react/jsx-runtime"),Gf=$.options,Vf=$.states,vp={...$.defaultOptions,variant:"horizontal",label:!0},$f=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Xf=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Yo=e=>{let{variant:t,modifiers:o,...a}={...vp,...e},n={};Object.keys(o||{}).forEach(f=>{switch(f){case"button":{n.showButtons=!!(o!=null&&o[f]);break}case"label":{n.label=!!(o!=null&&o[f]);break}case"tick":{n.showTicks=!!(o!=null&&o[f]);break}}});let{label:i=!0,showButtons:l,showTicks:c}=n,u={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Ye.jsxs)(xp,{showTicks:c,showButtons:l,style:{height:"300px",...u},...a,children:[(0,Ye.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Ye.jsxs)(hp,{showTicks:c,showButtons:l,style:{width:"400px",...u},...a,children:[(0,Ye.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Ye.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Yo.options=Gf;Yo.states=Vf;Yo.variants=$f;Yo.defaultOptions=vp;Yo.modifiers=Xf;Yo.className=$.className;var en=require("react/jsx-runtime"),kp="k-spin-button",Jf=[],Yf={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},ds={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},lo=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=ds.increaseLabel,decreaseLabel:i=ds.decreaseLabel,...l}=e;return(0,en.jsxs)("span",{...l,className:r(kp,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})]})};lo.states=Jf;lo.options=Yf;lo.className=kp;lo.defaultOptions=ds;lo.moduleName=null;lo.folderName=null;var Lp="numeric-textbox",Mp="numerictextbox";var ve=require("react/jsx-runtime"),Sp="k-numerictextbox",Zf=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Qf={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},On={showSpinButton:!0,showClearButton:!0,separators:!0},H=e=>{let{size:t,rounded:o,fillMode:a,separators:n=On.separators,showClearButton:i=On.showClearButton,showSpinButton:l=On.showSpinButton,prefix:c,suffix:u,value:f,placeholder:N,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,id:q,"aria-label":Se,"aria-describedby":Re,...Ke}=e;return(0,ve.jsxs)(ae,{...Ke,size:t,rounded:o,fillMode:a,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,className:r(e.className,Sp),children:[c&&(0,ve.jsxs)(ve.Fragment,{children:[(0,ve.jsx)(pt,{children:c}),n&&(0,ve.jsx)(ct,{})]}),(0,ve.jsx)(_e,{id:q,placeholder:N,value:f,role:"spinbutton",disabled:M,"aria-label":Se,"aria-describedby":Re,"aria-invalid":k?"true":void 0}),(0,ve.jsx)(He,{valid:L,invalid:k,loading:E,disabled:M}),(0,ve.jsx)(Je,{loading:E,disabled:M}),i&&(0,ve.jsx)(at,{loading:E,disabled:M,readonly:O,value:f}),u&&(0,ve.jsxs)(ve.Fragment,{children:[n&&(0,ve.jsx)(ct,{}),(0,ve.jsx)(dt,{children:u})]}),l&&(0,ve.jsx)(lo,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};H.states=Zf;H.options=Qf;H.className=Sp;H.defaultOptions=On;H.moduleName=Lp;H.folderName=Mp;H.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var tn=H;var Ap=require("react/jsx-runtime"),yp=e=>(0,Ap.jsx)(tn,{...e});var Pn=Bi(require("react"));var cs=require("react/jsx-runtime"),jf="k-list-group-sticky-header",ms=e=>(0,cs.jsx)("div",{className:r(jf,e.className),children:(0,cs.jsx)("div",{className:"k-list-header-text",children:e.children})});var Cp=require("react/jsx-runtime"),eb="k-no-data",Bn=e=>{let{live:t,...o}=e;return(0,Cp.jsx)("span",{...o,className:r(eb,e.className),"aria-live":t?"polite":void 0,children:e.children})};var So="list",Zo=So;var Qo=require("react/jsx-runtime"),us="k-list",tb=[],ob={size:[d.undefined,d.small,d.medium,d.large]},ab={},K=e=>{var L;let{size:t,virtualization:o,children:a,header:n,optionLabel:i,customValue:l,noData:c,screenReaders:u,...f}=e,x=Pn.default.Children.toArray(a)[0],m=(L=x==null?void 0:x.props)!=null&&L.children?Pn.default.Children.count(x.props.children):Pn.default.Children.count(a);return(0,Qo.jsxs)("div",{...f,className:r(e.className,us,C(us,{size:t}),{"k-virtual-list":o}),children:[i,l,n&&(0,Qo.jsx)(ms,{children:n}),a||(c!==void 0?c:(0,Qo.jsx)(Bn,{live:!0,children:"No data found."})),u&&a&&(0,Qo.jsxs)(Bn,{className:"k-sr-only",live:!0,children:[m," items found."]})]})};K.states=tb;K.options=ob;K.className=us;K.defaultOptions=ab;K.moduleName=So;K.folderName=Zo;K.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var Ip=require("react/jsx-runtime"),Ep="k-list-container",nb=[],rb={},sb={},jo=e=>{let{...t}=e;return(0,Ip.jsx)("div",{...t,className:r(e.className,Ep),children:e.children})};jo.states=nb;jo.options=rb;jo.className=Ep;jo.defaultOptions=sb;jo.moduleName=So;jo.folderName=Zo;var yo="checkbox",ea=yo;var fs=require("react/jsx-runtime"),wn="k-checkbox",ib=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],lb={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full]},pb={},bt=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:l,invalid:c,valid:u,required:f,size:N,rounded:x,wrapperRole:m,...L}=e;return(0,fs.jsx)("span",{className:"k-checkbox-wrap",role:m,children:(0,fs.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:f,disabled:l||void 0,"aria-invalid":c?"true":void 0,className:r(e.className,wn,C(wn,{size:N,rounded:x}),y(wn,{hover:n,focus:i,disabled:l,invalid:c,valid:u,indeterminate:a,checked:o}))})})};bt.states=ib;bt.options=lb;bt.className=wn;bt.defaultOptions=pb;bt.moduleName=yo;bt.folderName=ea;bt.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var yt=bt;var Bp=require("react/jsx-runtime"),Tp="k-checkbox-list",db=[],cb={},Op={layout:"vertical"},Ue=e=>{let{layout:t=Op.layout,...o}=e;return(0,Bp.jsx)("ul",{...o,className:r(e.className,Tp,{[`k-list-${t}`]:t}),children:e.children})};Ue.states=db;Ue.options=cb;Ue.className=Tp;Ue.defaultOptions=Op;Ue.moduleName=yo;Ue.folderName=ea;var wp=require("react/jsx-runtime"),Pp="k-checkbox-list-item",mb=[],ub={},fb={},Fe=e=>{let{...t}=e;return(0,wp.jsx)("li",{...t,className:r(e.className,Pp),children:e.children})};Fe.states=mb;Fe.options=ub;Fe.className=Pp;Fe.defaultOptions=fb;Fe.moduleName=yo;Fe.folderName=ea;var Ao=require("react/jsx-runtime"),Wt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Ao.jsxs)(Ao.Fragment,{children:[(0,Ao.jsx)(yt,{id:t,...o}),(0,Ao.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var bs=require("react/jsx-runtime");var hs=require("react/jsx-runtime");var xs=require("react/jsx-runtime");var bb=require("react/jsx-runtime");var hb=require("react/jsx-runtime");var xb=require("react/jsx-runtime");var Ie=require("react/jsx-runtime"),gb=Ue.options,Nb=Ue.states,vb={...Ue.defaultOptions,variant:"vertical"},kb=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Lb=[],ta=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Ie.jsxs)(Ue,{layout:"horizontal",...o,children:[(0,Ie.jsx)(Fe,{children:(0,Ie.jsx)(Wt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Ie.jsx)(Fe,{children:(0,Ie.jsx)(Wt,{id:R("cb"),children:"Label"})}),(0,Ie.jsx)(Fe,{children:(0,Ie.jsx)(Wt,{id:R("cb"),children:"Label"})})]}):(0,Ie.jsxs)(Ue,{...o,children:[(0,Ie.jsx)(Fe,{children:(0,Ie.jsx)(Wt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Ie.jsx)(Fe,{children:(0,Ie.jsx)(Wt,{id:R("cb"),children:"Label"})}),(0,Ie.jsx)(Fe,{children:(0,Ie.jsx)(Wt,{id:R("cb"),children:"Label"})})]})};ta.options=gb;ta.states=Nb;ta.variants=kb;ta.defaultOptions=vb;ta.modifiers=Lb;ta.className=Ue.className;var Rp=require("react/jsx-runtime"),Mb=yt.options,Sb=yt.states,yb=yt.defaultOptions,Ab=[],Cb=[],oa=e=>(0,Rp.jsx)(Wt,{id:R("checkbox"),...e,defaultChecked:!0,children:"Label"});oa.options=Mb;oa.states=Sb;oa.variants=Ab;oa.defaultOptions=yb;oa.modifiers=Cb;oa.className=yt.className;var _t=require("react/jsx-runtime"),gs="k-list-item",Eb=[s.hover,s.focus,s.selected,s.disabled],Ib={},Tb={},P=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:i,showCheckbox:l,checked:c,hover:u,focus:f,selected:N,disabled:x,actions:m,description:L,id:k,...A}=e,E=t||e.children;return(0,_t.jsxs)("li",{...A,id:k,role:a?"presentation":"option",tabIndex:a?void 0:f?0:-1,"aria-selected":!a&&N?"true":a?void 0:"false","aria-disabled":!a&&x?"true":void 0,className:r(e.className,a?"k-list-group-item":gs,y(gs,{hover:u,focus:f,disabled:x,selected:N})),children:[l&&(0,_t.jsx)(bt,{checked:c}),n&&(0,_t.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,_t.jsx)(v,{icon:n,className:r("k-list-item-icon",i)})}),(0,_t.jsx)("span",{className:"k-list-item-text",children:E}),m&&(0,_t.jsx)("div",{className:"k-list-item-actions",children:m}),L&&(0,_t.jsx)("span",{className:"k-list-item-description",children:L}),o&&o!==""&&(0,_t.jsx)("div",{className:"k-list-item-group-label",children:o})]})};P.states=Eb;P.options=Ib;P.className=gs;P.defaultOptions=Tb;P.moduleName=So;P.folderName=Zo;P.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var Kp=require("react/jsx-runtime"),Ob="k-list-ul",Jt=e=>{let{children:t,role:o,id:a,...n}=e;return(0,Kp.jsx)("ul",{...n,id:a,role:o,className:r(Ob,e.className),children:t})};Jt.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};var aa=require("react/jsx-runtime"),Bb="k-list-content",F=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:i,...l}=e;return(0,aa.jsxs)("div",{...l,className:r(Bb,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,aa.jsx)(Jt,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&(0,aa.jsx)("div",{className:"k-height-container",children:(0,aa.jsx)("div",{})})]})};F.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var Ns=require("react/jsx-runtime");var na=require("react/jsx-runtime"),Pb="k-list-group-item",Co=e=>{let{groupIconName:t,...o}=e;return(0,na.jsxs)("li",{...o,role:"presentation",className:r(Pb,e.className),children:[t&&(0,na.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,na.jsx)(v,{icon:t,className:"k-list-item-icon"})}),(0,na.jsx)("span",{className:"k-list-item-text",children:e.children})]})};Co.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var _p=require("react/jsx-runtime"),vs="k-list-optionlabel",wb=[s.hover,s.focus,s.selected,s.disabled],Rb={},Kb={},Rn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,_p.jsx)("div",{...l,className:r(vs,y(vs,{hover:o,focus:a,selected:n,disabled:i})),children:t})};Rn.states=wb;Rn.options=Rb;Rn.className=vs;Rn.defaultOptions=Kb;var Dp=require("react/jsx-runtime"),ks="k-list-custom-value",_b=[s.hover,s.focus,s.selected,s.disabled],Db={},Hb={},po=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,Dp.jsx)("div",{...l,className:r(ks,y(ks,{hover:o,focus:a,selected:n,disabled:i})),children:t})};po.states=_b;po.options=Db;po.className=ks;po.defaultOptions=Hb;var Ls=require("react/jsx-runtime");var Ms=require("react/jsx-runtime");var Ss=require("react/jsx-runtime");var ys=require("react/jsx-runtime");var zb=require("react/jsx-runtime");var As=require("react/jsx-runtime");var Hp="dropdown-list",zp="dropdownlist";var Y=require("react/jsx-runtime"),Up="k-dropdownlist",Ub=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Fb={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Cs={showValue:!0,arrowIconName:"chevron-down"},le=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Cs.arrowIconName,showValue:i=Cs.showValue,valueIconName:l,prefix:c,suffix:u,value:f,placeholder:N,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,popup:q,opened:Se,adaptive:Re,adaptiveSettings:Ke,adaptiveTitle:tt,adaptiveSubtitle:No,adaptiveFilter:er,id:ao,activeDescendant:mn,"aria-label":tr,...or}=e,Dc=ao?`${ao}-listbox`:void 0,Ti=ao?`${ao}-value`:void 0;return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)(Rt,{...or,id:ao,size:t,rounded:o,fillMode:a,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,className:r(e.className,Up,{"k-icon-picker":!i&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":Se?"true":"false","aria-controls":Se?Dc:void 0,"aria-activedescendant":Se&&mn?mn:void 0,"aria-describedby":Se?Ti:void 0,"aria-disabled":M?"true":void 0,"aria-label":tr,tabIndex:0,children:[(0,Y.jsx)(pt,{children:c}),(0,Y.jsx)(Lo,{placeholder:N,value:f,showValue:i,valueIconName:l,id:Ti}),(0,Y.jsx)(He,{valid:L,invalid:k,loading:E,disabled:M}),(0,Y.jsx)(Je,{loading:E,disabled:M}),(0,Y.jsx)(dt,{children:u}),(0,Y.jsx)(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),Se&&q&&(0,Y.jsx)(X,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:q}),Re&&(0,Y.jsx)(ee,{adaptive:!0,...Ke,header:(0,Y.jsx)(ze,{actionsEnd:(0,Y.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:er,inputValue:f,inputPlaceholder:N,title:tt,subtitle:No}),children:(0,Y.jsx)("div",{className:"k-list-container",children:(0,Y.jsx)(K,{size:"large",children:(0,Y.jsxs)(F,{"aria-label":"Options",children:[(0,Y.jsx)(P,{text:"List item"}),(0,Y.jsx)(P,{text:"List item"}),(0,Y.jsx)(P,{text:"List item"})]})})})})]})};le.states=Ub;le.options=Fb;le.className=Up;le.defaultOptions=Cs;le.moduleName=Hp;le.folderName=zp;le.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};var Gb=require("react/jsx-runtime");var Fp=require("react/jsx-runtime");var Es=require("react/jsx-runtime");var Vb=require("react/jsx-runtime");var Gp=require("react/jsx-runtime");var Is=require("react/jsx-runtime");var $b=require("react/jsx-runtime");var Ze=require("react/jsx-runtime"),Xb=le.states,qb=le.defaultOptions,Wb=le.options,Jb=[{name:"opened",title:"Opened"}],Yb=[],sa=e=>{let{modifiers:t,...o}=e,a={},n=(0,Ze.jsxs)(Ze.Fragment,{children:[(0,Ze.jsx)("div",{className:"k-list-filter",children:(0,Ze.jsx)(mt,{})}),(0,Ze.jsx)(K,{style:{width:300},size:o.size,children:(0,Ze.jsxs)(F,{children:[(0,Ze.jsx)(P,{children:"List item"}),(0,Ze.jsx)(P,{children:"List item"}),(0,Ze.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,Ze.jsx)("div",{children:(0,Ze.jsx)(le,{placeholder:"Value",style:{width:300},...o,...a})})};sa.options=Wb;sa.states=Xb;sa.variants=Yb;sa.defaultOptions=qb;sa.modifiers=Jb;sa.className=le.className;var Vp=require("react/jsx-runtime");var $p=require("react/jsx-runtime");var Zb=require("react/jsx-runtime");var Kn=require("react/jsx-runtime"),Qb=H.states,jb=H.defaultOptions,eh=H.options,th=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],oh=[],ia=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Kn.jsx)(le,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Kn.jsx)(Xr,{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,Kn.jsx)(yp,{value:"Value",style:{width:300},...o,...a})};ia.options=eh;ia.states=Qb;ia.variants=oh;ia.defaultOptions=jb;ia.modifiers=th;ia.className=H.className;var S=require("react/jsx-runtime"),Xp="k-colorgradient-inputs",ah=[],nh={size:[d.undefined,d.small,d.medium,d.large]},qp={mode:"rgba"},la=e=>{let{mode:t=qp.mode,size:o,...a}=e;return(0,S.jsxs)("div",{...a,className:r(Xp,"k-hstack"),children:[(0,S.jsx)("div",{className:"k-vstack",children:(0,S.jsx)(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(H,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,S.jsx)(S.Fragment,{children:(0,S.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,S.jsx)(xe,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};la.states=ah;la.options=nh;la.className=Xp;la.defaultOptions=qp;var Te=require("react/jsx-runtime"),Wp="k-colorgradient-color-contrast",rh=[],sh={},ih={},pa=()=>(0,Te.jsxs)("div",{className:r(Wp,"k-vbox"),children:[(0,Te.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Te.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Te.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Te.jsx)(v,{icon:"check"}),(0,Te.jsx)(v,{icon:"check"})]})]}),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("span",{children:"AA: 4.5"}),(0,Te.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Te.jsx)(v,{icon:"check"})]})]}),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("span",{children:"AAA: 7.0"}),(0,Te.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Te.jsx)(v,{icon:"x"})]})]})]});pa.states=rh;pa.options=sh;pa.className=Wp;pa.defaultOptions=ih;var Jp="color-gradient",Yp="colorgradient";var pe=require("react/jsx-runtime"),_n="k-colorgradient",lh=[s.hover,s.focus,s.readonly,s.disabled],ph={size:[d.undefined,d.small,d.medium,d.large]},Dt={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"},ue=e=>{let{size:t,mode:o=Dt.mode,readonly:a=Dt.readonly,disabled:n=Dt.disabled,gradientStyle:i=Dt.gradientStyle,dragHandleStyle:l=Dt.dragHandleStyle,alphaStyle:c=Dt.alphaStyle,alphaStyleHorizontal:u=Dt.alphaStyleHorizontal,contrast:f=Dt.contrast,dir:N,hover:x,focus:m,hoverHandle:L,focusHandle:k,canvasOrientation:A=Dt.canvasOrientation,role:E,tabIndex:M,...O}=e;return(0,pe.jsxs)("div",{...O,role:E??"textbox","aria-label":E==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":n?"true":void 0,className:r(e.className,_n,C(_n,{size:t}),y(_n,{hover:x,focus:m,readonly:a,disabled:n})),dir:N,children:[!A||A==="horizontal"&&(0,pe.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,pe.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,pe.jsx)("div",{className:"k-hsv-gradient",children:(0,pe.jsx)("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),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,pe.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,pe.jsx)(is,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,pe.jsx)(is,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:c})]})]}),A==="vertical"&&(0,pe.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,pe.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,pe.jsx)("div",{className:"k-hsv-gradient",children:(0,pe.jsx)("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),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,pe.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,pe.jsx)(ss,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,pe.jsx)(ss,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:u})]})]}),(0,pe.jsx)(la,{mode:e.mode,size:t}),f&&(0,pe.jsx)(pa,{})]})};ue.states=lh;ue.options=ph;ue.className=_n;ue.defaultOptions=Dt;ue.moduleName=Jp;ue.folderName=Yp;ue.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};var Zp=require("react/jsx-runtime"),Dn=e=>(0,Zp.jsx)(ue,{...e});var dh=require("react/jsx-runtime");var ch=require("react/jsx-runtime");var Hn=require("react/jsx-runtime"),mh=ue.options,uh=ue.states,fh={...ue.defaultOptions,variant:"rgba"},bh=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],hh=[],da=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,Hn.jsx)(Dn,{...o,mode:t});case"rgb":return(0,Hn.jsx)(Dn,{...o,mode:t});default:return(0,Hn.jsx)(Dn,{...o,mode:t})}};da.options=mh;da.states=uh;da.variants=bh;da.defaultOptions=fh;da.modifiers=hh;da.className=ue.className;var Qp=require("react/jsx-runtime"),Ts=e=>(0,Qp.jsx)("tr",{role:"row",children:e.children});var jp=require("react/jsx-runtime"),Os="k-colorpalette-tile",xh=[s.hover,s.focus,s.selected],gh={},ca=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,jp.jsx)("td",{...l,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:r(e.className,Os,y(Os,{hover:a,focus:n,selected:i})),style:c})};ca.states=xh;ca.options=gh;ca.className=Os;var ed="color-palette",td="colorpalette";var ma=require("react/jsx-runtime"),zn="k-colorpalette",Nh=[s.disabled],vh={size:[d.undefined,d.small,d.medium,d.large]},od={columns:10},Ge=e=>{let{size:t,palette:o,columns:a=od.columns,tileSize:n,disabled:i,...l}=e,c=[];if(o){let u=a||o.columns,f=o.colors?o.colors:o;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/u)},(N,x)=>{let m=[];f.slice(x*u,(x+1)*u).map((k,A)=>{m.push((0,ma.jsx)(ca,{color:k,tileSize:n},A))});let L=(0,ma.jsx)(Ts,{children:m},x);c.push(L)})}return(0,ma.jsx)("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:r(e.className,zn,y(zn,{disabled:i}),C(zn,{size:t})),children:(0,ma.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,ma.jsx)("tbody",{children:c.length>0?c:e.children})})})};Ge.states=Nh;Ge.options=vh;Ge.className=zn;Ge.defaultOptions=od;Ge.moduleName=ed;Ge.folderName=td;Ge.ariaSpec={selector:".k-colorpalette",rules:[{selector:".k-colorpalette",attribute:"role=grid",usage:"The focusable wrapper announces its role as a grid."},{selector:".k-colorpalette",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpalette",attribute:"aria-activedescendant",usage:"Points to the focused cell in the table."},{selector:".k-colorpalette",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpalette.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorPalette is disabled."},{selector:".k-colorpalette-table",attribute:"role=none or role=presentation",usage:"Negates the default role of the table element."},{selector:".k-colorpalette-table>tbody>tr",attribute:"role=row",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"role=gridcell",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"aria-label or title",usage:"The text representation of the color value for the current cell."},{selector:".k-colorpalette-tile.k-selected",attribute:"aria-selected=true",usage:"Present on the currently selected cell."}]};var Un=Ge;var on={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 nd=require("react/jsx-runtime"),ad=e=>(0,nd.jsx)(Un,{palette:on.basic,...e});var kh=require("react/jsx-runtime");var rd=require("react/jsx-runtime");var sd=require("react/jsx-runtime"),Lh=Ge.options,Mh=Ge.states,Sh={...Ge.defaultOptions,variant:"basic"},yh=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Ah={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}},Ch=[],ua=e=>{let{variant:t="basic",...o}=e,a=Ah[t];return(0,sd.jsx)(ad,{columns:a.columns,palette:a,...o})};ua.options=Lh;ua.states=Mh;ua.variants=yh;ua.defaultOptions=Sh;ua.modifiers=Ch;ua.className=Ge.className;var id="color-editor",ld="coloreditor";var ne=require("react/jsx-runtime"),Fn="k-coloreditor",Eh=[s.focus],Ih={size:[d.undefined,d.small,d.medium,d.large]},an={view:"gradient",palette:on.office,actionButtons:!0,canvasOrientation:"horizontal"},te=e=>{let{size:t,view:o=an.view,palette:a=an.palette,color:n,currentColor:i,focus:l,focusView:c,dir:u,group:f,actionButtons:N=an.actionButtons,canvasOrientation:x=an.canvasOrientation,...m}=e;return(0,ne.jsxs)("div",{...m,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",Fn,C(Fn,{size:t}),y(Fn,{focus:l})),dir:u,children:[(0,ne.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,ne.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&(0,ne.jsxs)(B,{fillMode:"flat",children:[(0,ne.jsx)(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,ne.jsx)(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,ne.jsx)("div",{className:"k-spacer"}),(0,ne.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,ne.jsx)(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,ne.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,ne.jsx)(no,{className:"k-coloreditor-preview-color",color:n}),(0,ne.jsx)(no,{className:"k-coloreditor-current-color",color:i})]})]})]}),(0,ne.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,ne.jsx)(ue,{focus:c,size:t,canvasOrientation:x,role:"none",tabIndex:-1}):(0,ne.jsx)(Ge,{palette:a,size:t})}),N&&(0,ne.jsxs)(nt,{className:"k-coloreditor-footer",alignment:"start",children:[(0,ne.jsx)(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,ne.jsx)(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};te.states=Eh;te.options=Ih;te.className=Fn;te.defaultOptions=an;te.moduleName=id;te.folderName=ld;te.ariaSpec={selector:".k-flatcolorpicker",rules:[{selector:".k-flatcolorpicker",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a submittable value."},{selector:".k-flatcolorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-flatcolorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-flatcolorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the FlatColorPicker is disabled."},{selector:".k-colorgradient",attribute:"role=none",usage:"The inner ColorGradient must have its role removed."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var fa=te;var Th=require("react/jsx-runtime");var Oh=require("react/jsx-runtime");var dd=require("react/jsx-runtime"),pd=e=>(0,dd.jsx)(fa,{group:!0,currentColor:"fuchsia",...e});var md=require("react/jsx-runtime"),cd=e=>(0,md.jsx)(fa,{view:"palette",group:!0,currentColor:"fuchsia",...e});var Bs=require("react/jsx-runtime"),Bh=te.options,Ph=te.states,wh={...te.defaultOptions,variant:"gradient"},Rh=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Kh=[],ba=e=>{let{variant:t,...o}=e;return t==="palette"?(0,Bs.jsx)(cd,{...o,color:"white"}):(0,Bs.jsx)(pd,{...o,color:"rgba(183, 118 , 118, 1.00)"})};ba.options=Bh;ba.states=Ph;ba.variants=Rh;ba.defaultOptions=wh;ba.modifiers=Kh;ba.className=te.className;var ud="color-picker",fd="colorpicker";var de=require("react/jsx-runtime"),bd="k-colorpicker",_h=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],Dh={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},hd={arrowIconName:"chevron-down"},st=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=hd.arrowIconName,prefix:i,suffix:l,value:c,placeholder:u,hover:f,focus:N,valid:x,invalid:m,required:L,disabled:k,valueIconName:A,popup:E,opened:M,adaptive:O,adaptiveSettings:q,adaptiveTitle:Se,adaptiveSubtitle:Re,...Ke}=e,tt="colorpicker-popup";return(0,de.jsxs)(de.Fragment,{children:[(0,de.jsxs)(Rt,{...Ke,size:t,rounded:o,fillMode:a,hover:f,focus:N,valid:x,invalid:m,required:L,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||O?tt:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:r(e.className,bd,"k-icon-picker"),children:[(0,de.jsx)(pt,{children:i}),(0,de.jsx)(Lo,{placeholder:u,value:c,showValue:!1,valueIcon:(0,de.jsx)(no,{className:"k-value-icon",color:c,iconName:A}),valueIconName:A}),(0,de.jsx)(dt,{children:l}),(0,de.jsx)(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),M&&E&&(0,de.jsx)(X,{id:tt,className:"k-colorpicker-popup",children:E}),O&&(0,de.jsx)(ee,{adaptive:!0,id:tt,...q,header:(0,de.jsx)(ze,{actionsEnd:(0,de.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Se,subtitle:Re}),footer:(0,de.jsxs)(ro,{children:[(0,de.jsx)(p,{text:"Cancel",size:"large"}),(0,de.jsx)(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,de.jsx)(te,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};st.states=_h;st.options=Dh;st.className=bd;st.defaultOptions=hd;st.moduleName=ud;st.folderName=fd;st.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var Yt=st;var xd=require("react/jsx-runtime"),Gn=e=>(0,xd.jsx)(Yt,{...e});var Hh=require("react/jsx-runtime");var zh=require("react/jsx-runtime");var Uh=require("react/jsx-runtime");var Fh=require("react/jsx-runtime");var Gh=require("react/jsx-runtime");var Vh=require("react/jsx-runtime");var co=require("react/jsx-runtime"),$h=Yt.options,Xh=Yt.states,gd={...Yt.defaultOptions,variant:"color"},qh=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Wh=[{name:"opened",title:"Opened"}],ha=e=>{let{variant:t,modifiers:o,...a}={...gd,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?(0,co.jsx)(te,{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,co.jsx)("div",{style:i,children:(0,co.jsx)(Gn,{...a,...n})});case"icon":return(0,co.jsx)("div",{style:i,children:(0,co.jsx)(Gn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return(0,co.jsx)("div",{style:i,children:(0,co.jsx)(Gn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};ha.options=$h;ha.states=Xh;ha.variants=qh;ha.defaultOptions=gd;ha.modifiers=Wh;ha.className=Yt.className;var Ps="combobox",Nd=Ps;var _=require("react/jsx-runtime"),vd="k-combobox",Jh=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Yh={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},kd={separators:!0},Oe=e=>{let{size:t,rounded:o,fillMode:a,separators:n=kd.separators,prefix:i,suffix:l,value:c,placeholder:u,hover:f,focus:N,valid:x,invalid:m,required:L,loading:k,disabled:A,popup:E,opened:M,readonly:O,adaptive:q,adaptiveSettings:Se,adaptiveTitle:Re,adaptiveSubtitle:Ke,adaptiveCustomValue:tt,id:No,autocomplete:er,activeDescendant:ao,"aria-label":mn,...tr}=e,or=No?`${No}-listbox`:void 0;return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(ae,{...tr,size:t,rounded:o,fillMode:a,hover:f,focus:N,valid:x,invalid:m,required:L,loading:k,disabled:A,readonly:O,className:r(e.className,vd),children:[i&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(pt,{children:i}),n&&(0,_.jsx)(ct,{})]}),(0,_.jsx)(_e,{id:No,placeholder:u,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":M?"true":"false","aria-controls":M?or:void 0,"aria-activedescendant":M&&ao?ao:void 0,"aria-autocomplete":er,"aria-invalid":m?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":mn,disabled:A,readOnly:O}),(0,_.jsx)(He,{valid:x,invalid:m,loading:k,disabled:A}),(0,_.jsx)(Je,{loading:k,disabled:A}),(0,_.jsx)(at,{loading:k,disabled:A,readonly:O,value:c}),l&&(0,_.jsxs)(_.Fragment,{children:[n&&(0,_.jsx)(ct,{}),(0,_.jsx)(dt,{children:l})]}),(0,_.jsx)(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:A})]}),M&&E&&(0,_.jsx)(X,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),q&&(0,_.jsx)(ee,{adaptive:!0,id:No?`${No}-adaptive`:void 0,...Se,header:(0,_.jsx)(ze,{actionsEnd:(0,_.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:u,title:Re,subtitle:Ke}),children:(0,_.jsx)("div",{className:"k-list-container",children:(0,_.jsx)(K,{customValue:tt?(0,_.jsx)(po,{text:`Use "${c}"`}):void 0,size:"large",children:(0,_.jsxs)(F,{"aria-label":Re||"Options",children:[(0,_.jsx)(P,{text:"List item"}),(0,_.jsx)(P,{text:"List item"}),(0,_.jsx)(P,{text:"List item"})]})})})})]})};Oe.states=Jh;Oe.options=Yh;Oe.className=vd;Oe.defaultOptions=kd;Oe.moduleName=Ps;Oe.folderName=Nd;Oe.ariaSpec={selector:".k-combobox",rules:[{selector:".k-combobox > .k-input-inner",attribute:"role=combobox",usage:"Identifies the input as a combobox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates the combobox has a listbox popup."},{selector:".k-combobox > .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-controls=${id}-listbox (when open)",usage:"Points to the listbox element when popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the listbox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-autocomplete=list|both|inline (when has autocomplete)",usage:"Indicates the autocomplete behavior."},{selector:".k-combobox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the combobox is in an invalid state."},{selector:".k-combobox > .k-input-inner",attribute:"aria-busy=true (when loading)",usage:"Rendered when the combobox is loading data."},{selector:".k-combobox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name provided by consuming app."},{selector:".k-combobox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the combobox is disabled."},{selector:".k-combobox .k-input-button",attribute:"role=button or nodeName=button",usage:"The dropdown toggle button."},{selector:".k-combobox .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-combobox .k-input-button",attribute:"tabindex=-1",usage:"Dropdown button is not in the tab order."},{selector:".k-combobox-popup .k-list-content, .k-combobox-popup .k-list-ul",attribute:"role=listbox",usage:"The popup list container has the listbox role."},{selector:'.k-combobox-popup .k-list-ul[role="listbox"], .k-combobox-popup .k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-combobox-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."},{selector:".k-combobox-popup .k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state."},{selector:".k-combobox-popup .k-no-data",attribute:"aria-live=polite",usage:"Announces no-data state to screen readers."}]};var it=Oe;var Md=require("react/jsx-runtime"),Ld=e=>(0,Md.jsx)(it,{...e});var Sd=require("react/jsx-runtime");var yd=require("react/jsx-runtime");var Ad=require("react/jsx-runtime");var Cd=require("react/jsx-runtime");var Ed=require("react/jsx-runtime");var Id=require("react/jsx-runtime");var ws=require("react/jsx-runtime");var Zh=require("react/jsx-runtime");var Qh=require("react/jsx-runtime");var Td=require("react/jsx-runtime");var Od=require("react/jsx-runtime");var At=require("react/jsx-runtime"),jh=Oe.states,ex=Oe.defaultOptions,tx=Oe.options,ox=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],ax=[],xa=e=>{let{modifiers:t,...o}=e,a={},n=(0,At.jsx)(K,{style:{width:300},size:o.size,children:(0,At.jsxs)(F,{children:[(0,At.jsx)(P,{children:"List item"}),(0,At.jsx)(P,{children:"List item"}),(0,At.jsx)(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,At.jsx)(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,At.jsx)(fe,{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,At.jsx)("div",{children:(0,At.jsx)(Ld,{value:"Value",style:{width:300},...o,...a})})};xa.options=tx;xa.states=jh;xa.variants=ax;xa.defaultOptions=ex;xa.modifiers=ox;xa.className=Oe.className;var Rs="split-button",Bd=Rs;var Zt=require("react/jsx-runtime"),Ks="k-split-button",nx=[s.hover,s.focus,s.active,s.selected,s.disabled],rx={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},Pd={arrowIconName:"chevron-down"},w=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,icon:N,text:x,arrowIconName:m=Pd.arrowIconName,popup:L,opened:k,popupId:A,...E}=e;return(0,Zt.jsxs)(Zt.Fragment,{children:[(0,Zt.jsxs)("div",{...E,className:r(e.className,Ks,"k-button-group",C(Ks,{rounded:o})),children:[(0,Zt.jsx)(p,{text:x,icon:N,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,...!x&&!e.children&&N&&{"aria-label":"Action"},children:e.children}),(0,Zt.jsx)(p,{className:"k-split-button-arrow",icon:m,size:t,rounded:o,fillMode:a,disabled:f,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?A:void 0,tabIndex:-1,...f&&{"aria-disabled":"true"}})]}),k&&L&&(0,Zt.jsx)(X,{className:"k-menu-popup",children:L})]})};w.states=nx;w.options=rx;w.className=Ks;w.defaultOptions=Pd;w.moduleName=Rs;w.folderName=Bd;w.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var _s=w;var wd=require("react/jsx-runtime"),sx="k-toolbar-separator",Ct=e=>(0,wd.jsx)("div",{className:r(sx,e.className,"k-separator")});var Qt="toolbar",mo=Qt;var T=require("react/jsx-runtime"),jt="k-toolbar",ix=[s.focus],lx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},px={scrollButtons:"around"},G=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:i,scrollButtons:l,scrollingPosition:c,section:u,...f}=e,N=[],x=(m,L)=>{let k=[];if(m.type===p&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))k.push((0,T.jsx)(p,{...m.props,className:`${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===p)k.push((0,T.jsx)(p,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===_a)k.push((0,T.jsx)(_a,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===fe)k.push((0,T.jsx)(fe,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===D)k.push((0,T.jsx)(D,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===_s)k.push((0,T.jsx)(_s,{...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 A=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((M,O)=>{A.push((0,T.jsx)(p,{...M.props,className:`${M.props.className?M.props.className:""}`},`${O}-${new Date().getTime()}`))}),k.push((0,T.jsx)(B,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:A},`${L}-${new Date().getTime()}`))}else m.type===Oe?k.push((0,T.jsx)(Oe,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===le?k.push((0,T.jsx)(le,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===st?k.push((0,T.jsx)(st,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):k.push(m);k.forEach(A=>{N.push(A)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,k)=>{x(L,k)}),(0,T.jsxs)("div",{...f,className:r(e.className,jt,C(jt,{size:t,fillMode:o}),y(jt,{focus:a}),{[`${jt}-resizable`]:n,[`${jt}-scrollable`]:i,[`${jt}-scrollable-overlay`]:i&&l==="hidden",[`${jt}-scrollable-${c}`]:c&&c!=="both",[`${jt}-section`]:u}),role:"toolbar","aria-label":"Toolbar",children:[!i&&N,i&&l==="hidden"&&(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),i&&l==="start"&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(B,{children:[(0,T.jsx)("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,T.jsx)("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,T.jsx)(Ct,{className:"k-toolbar-button-separator"}),(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),i&&l==="end"&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,T.jsx)(Ct,{className:"k-toolbar-button-separator"}),(0,T.jsxs)(B,{children:[(0,T.jsx)("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,T.jsx)("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(l==="around"||!l)&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,T.jsx)(Ct,{className:"k-toolbar-button-separator"}),(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,T.jsx)(Ct,{className:"k-toolbar-button-separator"}),(0,T.jsx)("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};G.states=ix;G.options=lx;G.className=jt;G.defaultOptions=px;G.moduleName=Qt;G.folderName=mo;G.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};var Kd=require("react/jsx-runtime"),Rd="k-floating-toolbar",dx=[],cx={},mx={},ga=e=>{let{...t}=e;return(0,Kd.jsx)("div",{...t,className:r(e.className,Rd),children:e.children})};ga.states=dx;ga.options=cx;ga.className=Rd;ga.defaultOptions=mx;ga.moduleName=Qt;ga.folderName=mo;var _d=require("react/jsx-runtime"),Ds="k-toolbar-item",ux=[s.focus],fx={},bx={},Na=e=>{let{focus:t,...o}=e;return(0,_d.jsx)("div",{...o,className:r(e.className,Ds,y(Ds,{focus:t})),children:e.children})};Na.states=ux;Na.options=fx;Na.className=Ds;Na.defaultOptions=bx;Na.moduleName=Qt;Na.folderName=mo;var Hs=require("react/jsx-runtime"),Dd="k-toolbar-popup",hx=[],xx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},gx={},Eo=e=>{let{size:t,fillMode:o,section:a,...n}=e;return(0,Hs.jsx)(X,{...n,className:r(e.className,Dd),children:a?(0,Hs.jsx)("span",{className:r("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Eo.states=hx;Eo.options=xx;Eo.className=Dd;Eo.defaultOptions=gx;Eo.moduleName=Qt;Eo.folderName=mo;var Vn=Eo;var Nx=require("react/jsx-runtime");var vx=require("react/jsx-runtime");var kx=require("react/jsx-runtime");var Hd=require("react/jsx-runtime");var Lx=require("react/jsx-runtime");var ht=require("react/jsx-runtime"),Mx=w.states,zd={...w.defaultOptions,variant:"text"},Sx=w.options,yx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ax=[{name:"opened",title:"Opened"}],va=e=>{let{variant:t,modifiers:o,...a}={...zd,...e},n={},i=(0,ht.jsxs)(Ae,{size:a.size,children:[(0,ht.jsx)(W,{first:!0,text:"Menu Item"}),(0,ht.jsx)(W,{text:"Menu Item"}),(0,ht.jsx)(W,{last:!0,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,ht.jsx)("div",{children:(0,ht.jsx)(w,{...a,...n,icon:"star"})});case"icon-and-text":return(0,ht.jsx)("div",{children:(0,ht.jsx)(w,{...a,...n,icon:"star",children:"Split Button"})});default:return(0,ht.jsx)("div",{children:(0,ht.jsx)(w,{...a,...n,children:"Split Button"})})}};va.options=Sx;va.states=Mx;va.variants=yx;va.defaultOptions=zd;va.modifiers=Ax;va.className=w.className;var Ht=require("react/jsx-runtime"),Ud=e=>(0,Ht.jsx)(G,{children:[(0,Ht.jsx)(p,{children:"Button"},"toolbar-button"),(0,Ht.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,Ht.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,Ht.jsxs)(B,{children:[(0,Ht.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ht.jsx)(p,{icon:"align-center",children:"Center"}),(0,Ht.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Fd=require("react/jsx-runtime");var ke=require("react/jsx-runtime"),Gd=e=>(0,ke.jsx)(G,{scrollable:!0,...e,children:[(0,ke.jsx)(p,{children:"Button"},"toolbar-button"),(0,ke.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,ke.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,ke.jsxs)(B,{children:[(0,ke.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ke.jsx)(p,{icon:"align-center",children:"Center"}),(0,ke.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ke.jsx)(p,{children:"Button"},"toolbar-button"),(0,ke.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,ke.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,ke.jsxs)(B,{children:[(0,ke.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ke.jsx)(p,{icon:"align-center",children:"Center"}),(0,ke.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Le=require("react/jsx-runtime"),Vd=({scrollingPosition:e="start",...t})=>(0,Le.jsx)(G,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,Le.jsx)(p,{children:"Button"},"toolbar-button"),(0,Le.jsx)(D,{text:"Menu button"},"toolbar-menu-button"),(0,Le.jsx)(w,{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)(D,{text:"Menu button"},"toolbar-menu-button"),(0,Le.jsx)(w,{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 Z=require("react/jsx-runtime"),$d=({fillMode:e,size:t,...o})=>(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(G,{section:!0,fillMode:e,size:t,children:[(0,Z.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Z.jsxs)(B,{fillMode:e,children:[(0,Z.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Z.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Z.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,Z.jsx)(Ct,{className:"k-toolbar-button-separator"}),(0,Z.jsx)(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),(0,Z.jsxs)(Vn,{size:t,fillMode:e,section:!0,...o,children:[(0,Z.jsx)(w,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,Z.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Z.jsx)(Ct,{}),(0,Z.jsx)(D,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,Z.jsxs)(B,{fillMode:e,children:[(0,Z.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Z.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Z.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var zs=require("react/jsx-runtime");var Us=require("react/jsx-runtime");var eo=require("react/jsx-runtime"),Cx=G.options,Ex=G.states,Xd={...G.defaultOptions,variant:"default"},Ix=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Tx=[],ka=e=>{let{variant:t,...o}={...Xd,...e};switch(t){case"responsive":return(0,eo.jsx)("div",{children:(0,eo.jsx)($d,{style:{width:"583px"},...o})});case"overlay":return(0,eo.jsx)("div",{children:(0,eo.jsx)(Vd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,eo.jsx)("div",{children:(0,eo.jsx)(Gd,{style:{width:"583px"},...o})});default:return(0,eo.jsx)("div",{children:(0,eo.jsx)(Ud,{style:{width:"583px"},...o})})}};ka.options=Cx;ka.states=Ex;ka.variants=Ix;ka.defaultOptions=Xd;ka.modifiers=Tx;ka.className=G.className;var Fs="avatar",qd=Fs;var Vs=require("react/jsx-runtime"),nn="k-avatar";var Ox=[s.hover,s.focus,s.active,s.selected,s.disabled],Bx={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.outline],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},Gs={type:"text",border:!1},Be=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:i=Gs.type,border:l=Gs.border,...c}=e;return(0,Vs.jsx)("div",{...c,className:r(e.className,nn,C(nn,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${nn}-bordered`]:l}),children:(0,Vs.jsx)("span",{className:`${nn}-${i}`,children:e.children})})};Be.states=Ox;Be.options=Bx;Be.className=nn;Be.defaultOptions=Gs;Be.moduleName=Fs;Be.folderName=qd;Be.ariaSpec={selector:".k-avatar",rules:[{selector:".k-avatar img",attribute:"alt",usage:"Images inside Avatar must have alt text for screen readers."}]};var Io=Be;var Jd=require("react/jsx-runtime"),Wd=e=>(0,Jd.jsx)(Io,{type:"icon",...e});var Zd=require("react/jsx-runtime"),Yd=e=>(0,Zd.jsx)(Io,{type:"text",...e});var Qd=require("react/jsx-runtime"),$n=e=>(0,Qd.jsx)(Io,{type:"image",...e});var Px=require("react/jsx-runtime");var La=require("react/jsx-runtime"),wx=Be.options,Rx=Be.states,Kx={...Be.defaultOptions,variant:"image"},_x=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Dx=[],Ma=e=>{let{variant:t,...o}=e;switch(t){case"icon":return(0,La.jsx)(Wd,{...o,children:(0,La.jsx)(v,{icon:"star"})});case"text":return(0,La.jsx)(Yd,{...o,children:"JO"});default:return(0,La.jsx)($n,{...o,children:(0,La.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Ma.options=wx;Ma.states=Rx;Ma.variants=_x;Ma.defaultOptions=Kx;Ma.modifiers=Dx;Ma.className=Be.className;var Et=require("react/jsx-runtime"),rn="k-message-group",Hx=[s.selected],zx={},Xn={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},Q=e=>{let{type:t=Xn.type,author:o=Xn.author,avatar:a=Xn.avatar,status:n,selected:i,fullWidth:l,...c}=e;return(0,Et.jsxs)("div",{...c,className:r(rn,e.className,y(rn,{selected:i}),{[`${rn}-${t}`]:t,"k-no-avatar":!a,[`${rn}-full-width`]:l}),children:[a&&!n&&(0,Et.jsx)(Be,{type:"image",children:(0,Et.jsx)("img",{src:a,alt:o||""})}),n&&a&&(0,Et.jsxs)("div",{className:"k-chat-user-status-wrapper",children:[(0,Et.jsx)(Be,{type:"image",children:(0,Et.jsx)("img",{src:a,alt:o||""})}),(0,Et.jsx)("div",{className:"k-chat-user-status"})]}),(0,Et.jsxs)("div",{className:"k-message-group-content",children:[o&&(0,Et.jsx)("span",{className:"k-message-author",children:o}),e.children]})]})};Q.states=Hx;Q.options=zx;Q.className=rn;Q.defaultOptions=Xn;var zt=require("react/jsx-runtime"),$s="k-message-reference",Ux={},jd={type:"receiver"},Sa=e=>{let{content:t,closeable:o,pinned:a,type:n=jd.type,...i}=e;return(0,zt.jsxs)("div",{...i,className:r($s,e.className,{[`${$s}-${n}`]:n,"k-message-pinned":a}),children:[a&&(0,zt.jsx)(v,{icon:"pin-outline"}),(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-mark-sm-outline",fillMode:"flat",size:"xsmall","aria-label":"Close"})]})]})};Sa.options=Ux;Sa.className=$s;Sa.defaultOptions=jd;var Xs="bubble",ec=Xs;var To=require("react/jsx-runtime"),qs="k-bubble",Fx=[s.hover,s.active,s.selected,s.focus],Ws={expandable:!1,expanded:!1},uo=e=>{let{content:t,hover:o,active:a,focus:n,selected:i,expandable:l=Ws.expandable,expanded:c=Ws.expanded,...u}=e;return(0,To.jsxs)("div",{...u,className:r(e.className,qs,y(qs,{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"})})]})};uo.states=Fx;uo.className=qs;uo.defaultOptions=Ws;uo.moduleName=Xs;uo.folderName=ec;uo.ariaSpec={selector:".k-bubble",rules:[{selector:".k-bubble",attribute:"tabindex=0",usage:"The Chat bubble must be focusable."},{selector:".k-bubble-expandable-indicator",attribute:"role=button",usage:"The expandable indicator must have an appropriate role."},{selector:".k-bubble-expandable-indicator",attribute:"aria-label or title",usage:"The expandable indicator must be properly labelled."},{selector:".k-bubble-expandable-indicator",attribute:"tabindex=0",usage:"The expandable indicator must be part of the page tabsequence."}]};var Gx=require("react/jsx-runtime");var Vx=require("react/jsx-runtime");var $x=require("react/jsx-runtime");var Oo=require("react/jsx-runtime"),Xx="k-chat-bubble",oc=e=>{let{typing:t,content:o,files:a,...n}=e;return(0,Oo.jsxs)(uo,{...n,className:r(e.className,Xx),children:[t?(0,Oo.jsxs)("div",{className:"k-typing-indicator",tabIndex:-1,children:[(0,Oo.jsx)("span",{}),(0,Oo.jsx)("span",{}),(0,Oo.jsx)("span",{})]}):o,a]})};var qx=require("react/jsx-runtime");var sn=require("react/jsx-runtime"),ac="k-chat-event",Js={icon:"trash",text:"You deleted Chat history."},nc=e=>{let{icon:t=Js.icon,text:o=Js.text,...a}=e;return(0,sn.jsxs)("div",{...a,className:r(e.className,ac),children:[t&&(0,sn.jsx)(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&(0,sn.jsx)("span",{className:"k-chat-event-text",children:o})]})};nc.className=ac;nc.defaultOptions=Js;var Wx=require("react/jsx-runtime");var Ve=require("react/jsx-runtime"),rc=e=>(0,Ve.jsx)(V,{children:(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),(0,Ve.jsx)(Q,{children:(0,Ve.jsx)(j,{})}),(0,Ve.jsx)(Q,{type:"sender",children:(0,Ve.jsx)(j,{})}),(0,Ve.jsx)(Q,{children:(0,Ve.jsx)(j,{text:"Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior."})}),(0,Ve.jsx)(Q,{type:"sender",children:(0,Ve.jsx)(j,{text:"Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior"})})]}),...e});var Ys=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var Qs="skeleton",sc=Qs;var ic=require("react/jsx-runtime"),js="k-skeleton",Jx=["circle","text","rect"],Yx=[],Zx={},ei={variant:"text",shape:"text",animation:"pulse"},It=e=>{let{variant:t,shape:o,animation:a=ei.animation,...n}=e,i=`skeleton-${t||o||ei.variant}`;return(0,ic.jsx)("span",{...n,className:r(e.className,js,fn(js,i),{[`k-skeleton-${a}`]:a}),style:e.style})};It.states=Yx;It.options=Zx;It.variants=Jx;It.className=js;It.defaultOptions=ei;It.moduleName=Qs;It.folderName=sc;It.ariaSpec={selector:".k-skeleton",rules:[]};var Qx=require("react/jsx-runtime");var jx=require("react/jsx-runtime");var eg=require("react/jsx-runtime");var ti=require("react/jsx-runtime");var oi=require("react/jsx-runtime");var ai="window",lc=ai;var dc=require("react/jsx-runtime"),pc="k-window-content",tg=[],og={},ag={},fo=e=>{let{children:t,...o}=e;return(0,dc.jsx)("div",{...o,className:r(pc,e.className),children:t})};fo.states=tg;fo.options=og;fo.className=pc;fo.defaultOptions=ag;fo.moduleName=ai;fo.folderName=lc;var ln="dialog",qn=ln;var Qe=require("react/jsx-runtime"),cc="k-dialog",ng=[],rg={},ni={actionButtonsAlign:"stretched",modal:!0},je=e=>{let{title:t,actions:o,actionButtons:a,actionButtonsAlign:n=ni.actionButtonsAlign,modal:i=ni.modal,...l}=e,c=t!==void 0?R("dialog-titlebar"):void 0,u=R("dialog-content");return(0,Qe.jsxs)("div",{className:"k-dialog-wrapper",children:[i&&(0,Qe.jsx)(Kt,{}),(0,Qe.jsxs)("div",{...l,className:r(e.className,cc,"k-window"),role:"dialog","aria-labelledby":c,"aria-describedby":u,...i&&{"aria-modal":"true"},children:[(t!==void 0||o)&&(0,Qe.jsxs)("div",{className:"k-window-titlebar k-dialog-titlebar",id:c,children:[t!==void 0&&(0,Qe.jsx)("span",{className:"k-window-title k-dialog-title",children:t}),o&&(0,Qe.jsx)(Qe.Fragment,{children:(0,Qe.jsx)("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(f=>(0,Qe.jsx)(p,{icon:f,fillMode:"flat",size:"xsmall",className:"k-window-titlebar-action k-dialog-titlebar-action","aria-label":f},f))})})]}),(0,Qe.jsx)(fo,{className:"k-dialog-content",id:u,children:e.children}),a&&(0,Qe.jsx)(nt,{alignment:n,className:"k-window-actions k-dialog-actions",children:a})]})]})};je.states=ng;je.options=rg;je.className=cc;je.defaultOptions=ni;je.moduleName=ln;je.folderName=qn;je.ariaSpec={selector:".k-dialog",rules:[{selector:".k-dialog",attribute:"role=dialog or role=alertdialog",usage:"Announces the dialog or alertdialog role of the component."},{selector:".k-dialog",attribute:"aria-labelledby",usage:"Associate the title of the dialog."},{selector:".k-dialog",attribute:"aria-describedby",usage:"Associate the dialog content to the wrap element."},{selector:".k-overlay + .k-dialog",attribute:"aria-modal=true",usage:"Announces that the dialog is modal. Attribute is added only when the dialog is modal."}]};var ri=je;var uc=require("react/jsx-runtime"),mc="k-dialog-wrapper",sg=[],ig={},lg={},ya=e=>{let{...t}=e;return(0,uc.jsx)("div",{...t,className:r(e.className,mc),children:e.children})};ya.states=sg;ya.options=ig;ya.className=mc;ya.defaultOptions=lg;ya.moduleName=ln;ya.folderName=qn;var Ut=require("react/jsx-runtime"),fc=e=>(0,Ut.jsx)(ri,{title:"Title",children:(0,Ut.jsx)(Ut.Fragment,{children:"Dialog content"}),actionButtons:(0,Ut.jsxs)(Ut.Fragment,{children:[(0,Ut.jsx)(p,{children:"Action"}),(0,Ut.jsx)(p,{themeColor:"primary",children:"Primary"})]}),actions:["x"],...e});var si=require("react/jsx-runtime");var to=require("react/jsx-runtime"),pg=je.options,dg=[],cg=je.states,mg=je.defaultOptions,ug=[],Aa=e=>(0,to.jsx)(fc,{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?"})});Aa.options=pg;Aa.states=cg;Aa.variants=dg;Aa.defaultOptions=mg;Aa.modifiers=ug;Aa.className=je.className;var ii="dropzone",bc=ii;var Bo=require("react/jsx-runtime"),li="k-external-dropzone",fg=[s.disabled,s.hover],bg={},pi={icon:"upload",hint:"Drag and drop files here to upload"},$e=e=>{let{hover:t,disabled:o,icon:a=pi.icon,hint:n=pi.hint,note:i,...l}=e;return(0,Bo.jsx)("div",{...l,className:r(e.className,li,y(li,{disabled:o}),{"k-external-dropzone-hover":t}),children:(0,Bo.jsxs)("div",{className:"k-dropzone-inner",children:[a&&(0,Bo.jsx)(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),n&&(0,Bo.jsx)("span",{className:"k-dropzone-hint",children:n}),i&&(0,Bo.jsx)("span",{className:"k-dropzone-note",children:i})]})})};$e.states=fg;$e.options=bg;$e.className=li;$e.defaultOptions=pi;$e.moduleName=ii;$e.folderName=bc;var xc=require("react/jsx-runtime"),hc=e=>(0,xc.jsx)($e,{...e});var hg=require("react/jsx-runtime");var gc=require("react/jsx-runtime"),xg=$e.options,gg=$e.states,Ng=$e.defaultOptions,vg=[{name:"note",title:"Note"}],kg=[],Ca=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,gc.jsx)(hc,{style:{width:"500px"},...o,...a})};Ca.options=xg;Ca.states=gg;Ca.variants=kg;Ca.defaultOptions=Ng;Ca.modifiers=vg;Ca.className=$e.className;var re=require("react/jsx-runtime"),di="k-upload-dropzone",Lg=[s.hover],Wn=e=>{let{hover:t,status:o,disabled:a,hasFiles:n,filesId:i,...l}=e,c;switch(o){case"uploading":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(v,{icon:"upload"}),"Uploading..."]});break;case"done":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(v,{icon:"check"}),"Done"]});break;case"failed":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(v,{icon:"exclamation-circle"}),"Done"]});break;default:c=(0,re.jsx)(re.Fragment,{});break}return(0,re.jsxs)("div",{...l,className:r(e.className,di,"k-dropzone",y(di,{hover:t})),children:[(0,re.jsxs)("div",{className:"k-upload-button-wrap",children:[(0,re.jsx)(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...n&&i?{"aria-controls":i}:{},children:"Select files..."}),(0,re.jsx)("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),(0,re.jsx)("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&(0,re.jsx)("span",{className:"k-upload-status",children:c})]})};Wn.states=Lg;Wn.className=di;var ci="upload",Nc=ci;var bo=require("react/jsx-runtime"),mi="k-upload",Mg=[s.hover,s.disabled],Sg={},kc={actionsLayout:"end"},vc="upload-files-list",se=e=>{let{async:t,empty:o,actions:a,actionsLayout:n=kc.actionsLayout,hover:i,status:l,disabled:c,...u}=e,f=!!e.children;return(0,bo.jsxs)("div",{...u,className:r(e.className,mi,y(mi,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[(0,bo.jsx)(Wn,{status:l,hover:i,disabled:c,hasFiles:f,filesId:vc}),f&&(0,bo.jsx)("ul",{className:"k-upload-files",role:"list",id:vc,children:e.children}),a&&f&&(0,bo.jsxs)($l,{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"})]})]})};se.states=Mg;se.options=Sg;se.className=mi;se.defaultOptions=kc;se.moduleName=ci;se.folderName=Nc;se.ariaSpec={selector:".k-upload",rules:[{selector:".k-upload .k-upload-button",attribute:"aria-disabled",usage:"Announces the disabled state of the upload button."},{selector:".k-upload .k-upload-button",attribute:"aria-controls (when present)",usage:"Creates the relationship between the button and the list of selected files when the list is present."},{selector:".k-upload input",attribute:"tabindex=-1",usage:"Assures that the input element inside the upload is not focusable."},{selector:".k-upload input",attribute:"aria-hidden=true",usage:"The input needs to be hidden from screen readers."},{selector:".k-upload-files",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-upload-files",attribute:"id",usage:"Unique and deterministic id linked to the button aria-controls attribute."},{selector:".k-upload-files .k-file",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-upload .k-file .k-file-validation-message",attribute:"aria-live=polite",usage:"Announces the change in the upload status of the file."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"aria-label",usage:"Provides accessible names for the file action buttons."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"tabindex=-1",usage:"The list file action buttons are not focusable elements."}]};var pn="progressbar",Jn=pn;var ho=require("react/jsx-runtime"),xt="k-progressbar",yg=[s.disabled,s.indeterminate],Ag={orientation:["horizontal","vertical"]},Po={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Pe=e=>{let{disabled:t,height:o,indeterminate:a=Po.indeterminate,label:n=Po.label,labelPosition:i=Po.labelPosition,orientation:l=Po.orientation,reverse:c=Po.reverse,value:u=Po.value,width:f,style:N,ariaLabel:x,...m}=e;return(0,ho.jsxs)("div",{...m,className:r(e.className,xt,y(xt,{disabled:t}),{[`${xt}-${l}`]:l,[`${xt}-indeterminate`]:a,[`${xt}-reverse`]:c}),style:{...N,"--kendo-progressbar-value":u,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:f},role:"progressbar","aria-label":x||"progress","aria-valuenow":a?void 0:Number(u),"aria-valuemin":0,"aria-valuemax":100,children:[(0,ho.jsx)("span",{className:r("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:n&&(0,ho.jsxs)("span",{className:"k-progress-status",children:[u,"%"]})}),!a&&(0,ho.jsx)("div",{className:"k-progressbar-value k-selected",children:(0,ho.jsx)("span",{className:r("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:n&&(0,ho.jsxs)("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Pe.states=yg;Pe.options=Ag;Pe.className=xt;Pe.defaultOptions=Po;Pe.moduleName=pn;Pe.folderName=Jn;Pe.ariaSpec={selector:".k-progressbar",implicitRole:"progressbar",rules:[{selector:".k-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ProgressBar."},{selector:".k-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ProgressBar needs an accessible name to be assigned to it."},{selector:".k-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Decimal value between aria-valuemin and aria-valuemax."},{selector:".k-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to 100."}]};var Lc=Pe;var Zn=require("react/jsx-runtime"),Mc="k-chunk-progressbar",Cg=(e,t)=>t<=e-1,Eg=[s.disabled,s.indeterminate],Ig={},Yn={chunkCount:5,orientation:"horizontal",progress:0},wo=e=>{let{disabled:t,chunkCount:o=Yn.chunkCount,indeterminate:a,orientation:n=Yn.orientation,progress:i=Yn.progress,reverse:l,ariaLabel:c,...u}=e;return(0,Zn.jsx)("div",{...u,className:r(e.className,xt,Mc,y(xt,{disabled:t}),{[`${xt}-${n}`]:n,[`${xt}-indeterminate`]:a,[`${xt}-reverse`]:l}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:(0,Zn.jsx)("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((f,N)=>(0,Zn.jsx)("li",{className:r("k-progressbar-chunk",{"k-first":N===0,"k-last":N===[...Array(o)].length-1,"k-selected":Cg(i,N)})},N))})})};wo.states=Eg;wo.options=Ig;wo.className=Mc;wo.defaultOptions=Yn;wo.moduleName=pn;wo.folderName=Jn;wo.ariaSpec={selector:".k-chunk-progressbar",implicitRole:"progressbar",rules:[{selector:".k-chunk-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ChunkProgressBar."},{selector:".k-chunk-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ChunkProgressBar needs an accessible name to be assigned to it."},{selector:".k-chunk-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Value between aria-valuemin and aria-valuemax."},{selector:".k-chunk-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-chunk-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to chunk count."}]};var Sc=require("react/jsx-runtime"),dn=e=>(0,Sc.jsx)(Lc,{...e});var Tg=require("react/jsx-runtime");var oo=require("react/jsx-runtime"),Og=Pe.options,Bg=Pe.states,yc={...Pe.defaultOptions,variant:"start"},Pg=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],wg=[],Ea=e=>{let{variant:t,modifiers:o,...a}={...yc,...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)(dn,{...a,...n,labelPosition:"end",value:"50"})});case"center":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,labelPosition:"center",value:"50"})});case"empty":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,label:!1,value:"50"})});default:return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,labelPosition:"start",value:"50"})})}};Ea.options=Og;Ea.states=Bg;Ea.variants=Pg;Ea.defaultOptions=yc;Ea.modifiers=wg;Ea.className=Pe.className;var Ia=require("react/jsx-runtime"),Rg="k-file-info",ui=e=>{let{name:t,size:o,validationMsg:a,...n}=e;return(0,Ia.jsxs)("div",{...n,className:r(e.className,Rg),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 Me=require("react/jsx-runtime"),Kg="k-file",et=e=>{let{status:t,progress:o,name:a,icon:n,size:i,state:l,validationMsg:c,...u}=e;return(0,Me.jsx)("li",{...u,className:r(e.className,Kg,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:(0,Me.jsxs)("div",{className:"k-file-single",children:[(0,Me.jsx)(Pe,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),(0,Me.jsxs)("span",{className:"k-file-icon-wrapper",children:[(0,Me.jsx)(v,{className:"k-file-icon",icon:n,size:"xxlarge"}),l&&(0,Me.jsx)("span",{className:"k-file-state",children:l})]}),(0,Me.jsx)(ui,{name:a,size:i,validationMsg:c}),(0,Me.jsx)("div",{className:"k-upload-actions",children:t==="progress"?(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsxs)("span",{className:"k-upload-pct",children:[o,"%"]}),(0,Me.jsx)(p,{icon:"pause-sm",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),(0,Me.jsx)(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):(0,Me.jsx)(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};var fi=require("react/jsx-runtime");var xo=require("react/jsx-runtime"),cn=e=>(0,xo.jsx)(se,{async:!0,children:(0,xo.jsxs)(xo.Fragment,{children:[(0,xo.jsx)(et,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),(0,xo.jsx)(et,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});var bi=require("react/jsx-runtime");var Cc=require("react/jsx-runtime"),Ac=e=>(0,Cc.jsx)(se,{async:!0,empty:!0,...e});var hi=require("react/jsx-runtime");var xi=require("react/jsx-runtime");var Xe=require("react/jsx-runtime"),_g=se.options,Dg=se.states,Ec={...se.defaultOptions,variant:"empty"},Hg=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],zg=[],Ta=e=>{let{variant:t,...o}={...Ec,...e};switch(t){case"success":return(0,Xe.jsxs)(cn,{status:"done",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),(0,Xe.jsx)(et,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return(0,Xe.jsxs)(cn,{status:"failed",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),(0,Xe.jsx)(et,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return(0,Xe.jsxs)(cn,{status:"uploading",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),(0,Xe.jsx)(et,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return(0,Xe.jsxs)(cn,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),(0,Xe.jsx)(et,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return(0,Xe.jsx)(Ac,{async:!0,status:"upload",style:{width:"586px"},...o})}};Ta.options=_g;Ta.states=Dg;Ta.variants=Hg;Ta.defaultOptions=Ec;Ta.modifiers=zg;Ta.className=se.className;var gi=require("react/jsx-runtime");var Ug=require("react/jsx-runtime");var Ni=require("react/jsx-runtime");var vi=require("react/jsx-runtime");var ki=require("react/jsx-runtime");var Ic=require("react/jsx-runtime");var ie=require("react/jsx-runtime"),Tc="k-message",Fg=[s.hover,s.selected,s.active,s.focus],Gg={},Vg=[(0,ie.jsx)(p,{icon:"copy",fillMode:"flat","aria-label":"Copy"}),(0,ie.jsx)(p,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Retry"}),(0,ie.jsx)(p,{icon:"download",fillMode:"flat","aria-label":"Download"})],Oa={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:Vg,failed:"Failed to send"},j=e=>{let{time:t=Oa.time,text:o=Oa.text,content:a,status:n=Oa.status,statusIcon:i,toolbarItems:l=Oa.toolbarItems,hover:c,selected:u,active:f,focus:N,toolbar:x,typing:m,expandable:L,expanded:k,removed:A,files:E,failed:M,...O}=e,q=M===!0?Oa.failed:M;return(0,ie.jsxs)("div",{...O,className:r(Tc,e.className,{"k-message-removed":A,"k-message-failed":M}),children:[M&&(0,ie.jsx)(fe,{className:"k-resend-button",icon:"arrow-rotate-cw",size:"xsmall",fillMode:"clear","aria-label":"Resend"}),(0,ie.jsx)(oc,{typing:m,selected:u,hover:c,active:f,focus:N,content:(0,ie.jsxs)(ie.Fragment,{children:[a,o&&(0,ie.jsx)("span",{className:"k-chat-bubble-text",children:o})]}),expandable:L,expanded:k,files:E}),(0,ie.jsxs)("div",{className:"k-message-info",children:[n&&(0,ie.jsxs)("span",{className:"k-message-status",children:[i&&(0,ie.jsx)(v,{icon:i,size:"xsmall"}),n]}),t&&(0,ie.jsx)("time",{className:"k-message-time",children:t}),M&&(0,ie.jsxs)("span",{className:"k-message-failed-content",children:[M&&(0,ie.jsx)(v,{icon:"warning-triangle",size:"xsmall"}),M&&(0,ie.jsx)("span",{className:"k-message-failed-text",children:q})]})]}),x&&(0,ie.jsx)(G,{className:"k-chat-message-toolbar",fillMode:"flat",children:l})]})};j.states=Fg;j.options=Gg;j.className=Tc;j.defaultOptions=Oa;var Li="appbar",Oc=Li;var Bc=require("react/jsx-runtime"),Mi="k-appbar",$g=[],Xg={themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.inverse]},qg={},we=e=>{let{themeColor:t,positionMode:o,position:a,...n}=e;return(0,Bc.jsx)("div",{...n,className:r(e.className,Mi,C(Mi,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${a}`]:a}),children:e.children})};we.states=$g;we.options=Xg;we.className=Mi;we.defaultOptions=qg;we.moduleName=Li;we.folderName=Oc;we.ariaSpec={selector:".k-appbar",rules:[]};var Pc=require("react/jsx-runtime"),Wg="k-appbar-section",Ft=e=>{let{...t}=e;return(0,Pc.jsx)("div",{...t,className:r(Wg,e.className),children:e.children})};var Si=require("react/jsx-runtime");var z=require("react/jsx-runtime"),yi={...we.options,positionMode:["static","sticky","fixed"]},Jg=we.states,wc={...we.defaultOptions,themeColor:"primary",variant:"top",positionMode:"sticky"};yi.themeColor=["primary",...yi.themeColor.filter(e=>e!=="primary")];var Yg=[{name:"top",title:"Top"},{name:"bottom",title:"Bottom"}],Ba=e=>{let{variant:t,...o}={...wc,...e},a=(0,z.jsxs)(we,{position:t,...o,children:[(0,z.jsx)(Ft,{children:(0,z.jsx)(fe,{fillMode:"flat",icon:"menu"})}),(0,z.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,z.jsx)(Ft,{children:(0,z.jsx)("h3",{className:"k-m-0",children:"AppBar"})}),(0,z.jsx)("span",{className:"k-spacer"}),(0,z.jsxs)(Ft,{children:[(0,z.jsx)(kt,{fillMode:"flat",children:"Button"}),(0,z.jsx)(kt,{fillMode:"flat",children:"Button"}),(0,z.jsx)(kt,{fillMode:"flat",children:"Button"})]}),(0,z.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,z.jsx)(Ft,{children:(0,z.jsx)(En,{value:"Input value"})}),(0,z.jsxs)(Ft,{children:[(0,z.jsx)(fe,{className:"k-mx-sm",fillMode:"flat",icon:"bell"}),(0,z.jsx)("span",{className:"k-appbar-separator"}),(0,z.jsx)($n,{className:"k-mx-sm",children:(0,z.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})]})]}),n=(0,z.jsxs)("div",{style:{padding:"25px 10px"},children:[(0,z.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,z.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,z.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,z.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,z.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[n,a]}):(0,z.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[a,n]})};Ba.options=yi;Ba.states=Jg;Ba.variants=Yg;Ba.defaultOptions=wc;Ba.modifiers=[];Ba.className=we.className;var Ai="suggestion",Rc=Ai;var Ro=require("react/jsx-runtime"),Qn="k-suggestion-group",Zg=[],Qg={},Kc={layout:"scrollable",scrollingPosition:"start"},gt=e=>{let{layout:t=Kc.layout,scrollingPosition:o,...a}=e,n=(0,Ro.jsx)("div",{...a,className:r(Qn,{"k-suggestion-group-scrollable":t=="scrollable",[`${Qn}-scrollable-start`]:o==="start"||o==="both",[`${Qn}-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};gt.states=Zg;gt.options=Qg;gt.className=Qn;gt.defaultOptions=Kc;gt.moduleName=Ai;gt.folderName=Rc;var _c=require("react/jsx-runtime"),jn="k-suggestion",jg=[s.active,s.hover,s.focus],eN={themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},tN={text:"Suggestion"},Nt=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:i,...l}=e;return(0,_c.jsx)("span",{...l,className:r(e.className,jn,y(jn,{hover:a,active:o,focus:n}),C(jn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":i,children:i})};Nt.states=jg;Nt.options=eN;Nt.className=jn;Nt.item=tN;var Ci=require("react/jsx-runtime");var Ei=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var U=require("react/jsx-runtime"),oN=V.states,aN=V.defaultOptions,nN=V.options,rN=[{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"}],sN=[],go=e=>{let{modifiers:t,...o}=e,a={author:null,avatar:null},n=(0,U.jsxs)(we,{className:"k-chat-header",positionMode:"sticky",themeColor:"primary",children:[(0,U.jsx)("span",{className:"k-spacer k-spacer-sized k-w-1"}),(0,U.jsx)(Ft,{children:(0,U.jsx)("span",{children:"Chat with demo bot"})}),(0,U.jsx)("span",{className:"k-spacer"}),(0,U.jsx)(Ft,{children:(0,U.jsx)(p,{fillMode:"flat",icon:"more-vertical"})})]}),i=(0,U.jsx)(Sa,{type:"sender",pinned:!0,content:"Hello! Generate a cover letter.",closeable:!0}),l=(0,U.jsxs)(gt,{children:[(0,U.jsx)(Nt,{text:"Provide a CV template"}),(0,U.jsx)(Nt,{text:"Generate a cover letter"})]}),c=(0,U.jsxs)(gt,{children:[(0,U.jsx)(Nt,{themeColor:"primary",text:"Thank you!"}),(0,U.jsx)(Nt,{themeColor:"primary",text:"Great!"})]}),u="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",f=null,N="User",x="Demo Bot";Object.keys(t||{}).forEach(O=>{switch(O){case"header":a.header=t!=null&&t[O]?n:!1;break;case"pinned":a.pinned=t!=null&&t[O]?i:!1;break;case"suggested":a.suggestedActions=t!=null&&t[O]?l:!1;break;case"author":a.author=t!=null&&t[O]?!0:null;break;case"avatar":a.avatar=t!=null&&t[O]?u:null;break;case"quick":a.quickReplies=t!=null&&t[O]?c:(0,U.jsx)(U.Fragment,{});break;default:break}});let{header:m,pinned:L,suggestedActions:k,author:A,avatar:E,quickReplies:M}=a;return(0,U.jsxs)(rc,{value:"Thank you!",style:{minHeight:"100%"},...o,header:m,pinned:L,suggestedActions:k,children:[(0,U.jsx)(Q,{avatar:f,author:A?x:null,children:(0,U.jsx)(j,{text:"Hello, this is a demo bot. How can I help you ?"})}),(0,U.jsx)(Q,{avatar:E?u:null,author:A?N:null,type:"sender",children:(0,U.jsx)(j,{text:"Hello! Generate a cover letter."})}),(0,U.jsx)(Q,{avatar:f,author:A?x:null,children:(0,U.jsx)(j,{text:"Sure. Here is a cover letter template",files:(0,U.jsx)(Ot,{children:(0,U.jsx)(De,{icon:"file-pdf",name:"cover_letter.pdf",size:"1.43MB"})})})}),M]})};go.options=nN;go.states=oN;go.variants=sN;go.defaultOptions=aN;go.modifiers=rN;go.className=V.className;var iN=go;
|