@progress/kendo-themes-html 14.7.0-dev.13 → 14.7.0-dev.15
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/imageeditor/imageeditor-canvas.spec.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-option-list.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-pane.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-preview-thumbnail.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-sidebar.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-toolbar.js +1 -1
- package/dist/cjs/imageeditor/imageeditor.spec.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-adjustments-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-adjustments.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-blur-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-blur.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-crop-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-filters-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-filters.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-frames-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-frames.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-line-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-line.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-shape-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-shape.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-text-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-text.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-pixelate-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-pixelate.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-resize-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-rotate-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-rotate.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-shadow-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-shadow.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/esm/imageeditor/imageeditor-canvas.spec.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-option-list.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-pane.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-preview-thumbnail.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-sidebar.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-toolbar.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor.spec.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-adjustments-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-adjustments.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-blur-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-blur.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-crop-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-filters-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-filters.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-frames-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-frames.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-line-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-line.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-shape-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-shape.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-text-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-text.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-pixelate-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-pixelate.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-resize-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-rotate-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-rotate.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-shadow-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-shadow.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/types/imageeditor/constants.d.ts +9 -0
- package/dist/types/imageeditor/imageeditor-canvas.spec.d.ts +15 -0
- package/dist/types/imageeditor/imageeditor-option-list.d.ts +1 -0
- package/dist/types/imageeditor/imageeditor-pane.d.ts +2 -0
- package/dist/types/imageeditor/imageeditor-preview-thumbnail.d.ts +1 -0
- package/dist/types/imageeditor/imageeditor-sidebar.d.ts +8 -0
- package/dist/types/imageeditor/imageeditor-toolbar.d.ts +5 -4
- package/dist/types/imageeditor/imageeditor.spec.d.ts +7 -3
- package/dist/types/imageeditor/index.d.ts +13 -1
- package/dist/types/imageeditor/templates/imageeditor-adjustments-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-adjustments.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-blur-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-blur.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-crop-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-crop.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-filters-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-filters.d.ts +1 -6
- package/dist/types/imageeditor/templates/imageeditor-frames-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-frames.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-insert-line-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-line.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-insert-shape-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-shape.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-insert-text-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-text.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-pixelate-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-pixelate.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-resize-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-resize.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-rotate-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-rotate.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-shadow-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-shadow.d.ts +1 -1
- package/package.json +1 -1
- package/src/imageeditor/constants.ts +4 -0
- package/src/imageeditor/imageeditor-canvas.spec.tsx +30 -0
- package/src/imageeditor/imageeditor-option-list.tsx +2 -1
- package/src/imageeditor/imageeditor-pane.tsx +4 -1
- package/src/imageeditor/imageeditor-preview-thumbnail.tsx +3 -2
- package/src/imageeditor/imageeditor-sidebar.tsx +32 -19
- package/src/imageeditor/imageeditor-toolbar.tsx +27 -21
- package/src/imageeditor/imageeditor.spec.tsx +14 -6
- package/src/imageeditor/index.ts +13 -1
- package/src/imageeditor/templates/imageeditor-adjustments-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-adjustments.tsx +80 -57
- package/src/imageeditor/templates/imageeditor-blur-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-blur.tsx +9 -25
- package/src/imageeditor/templates/imageeditor-crop-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-crop.tsx +22 -28
- package/src/imageeditor/templates/imageeditor-filters-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-filters.tsx +32 -52
- package/src/imageeditor/templates/imageeditor-frames-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-frames.tsx +123 -149
- package/src/imageeditor/templates/imageeditor-insert-line-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-insert-line.tsx +24 -25
- package/src/imageeditor/templates/imageeditor-insert-shape-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-insert-shape.tsx +93 -50
- package/src/imageeditor/templates/imageeditor-insert-text-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-insert-text.tsx +24 -25
- package/src/imageeditor/templates/imageeditor-normal.tsx +2 -23
- package/src/imageeditor/templates/imageeditor-pixelate-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-pixelate.tsx +9 -24
- package/src/imageeditor/templates/imageeditor-resize-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-resize.tsx +10 -25
- package/src/imageeditor/templates/imageeditor-rotate-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-rotate.tsx +8 -23
- package/src/imageeditor/templates/imageeditor-shadow-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-shadow.tsx +20 -42
- package/src/imageeditor/tests/imageeditor-adaptive-panes.tsx +85 -0
- package/src/imageeditor/tests/imageeditor-adaptive-small.tsx +10 -305
- package/src/imageeditor/tests/imageeditor-adjustments-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-blur-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-crop-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-filters-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-frames-pane.tsx +4 -3
- package/src/imageeditor/tests/imageeditor-insert-shape-pane.tsx +1 -1
- package/src/imageeditor/tests/imageeditor-interactive-states.tsx +6 -6
- package/src/imageeditor/tests/imageeditor-pixelate-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-resize-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-responsive.tsx +4 -4
- package/src/imageeditor/tests/imageeditor-rotate-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-shadow-pane.tsx +2 -1
- package/src/list/tests/list-states.tsx +57 -0
- package/src/menu/tests/menu-states.tsx +13 -0
- package/dist/cjs/imageeditor/templates/imageeditor-disabled.js +0 -1
- package/dist/esm/imageeditor/templates/imageeditor-disabled.mjs +0 -1
- package/dist/types/imageeditor/templates/imageeditor-disabled.d.ts +0 -1
- package/src/imageeditor/templates/imageeditor-disabled.tsx +0 -54
|
@@ -1 +1 @@
|
|
|
1
|
-
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var E=(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:i,focus:l,checked:d,active:m,selected:f,disabled:h,indeterminate:b,loading:N,empty:c,readonly:v,highlighted:L,...I}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":l,"k-checked":d,"k-active":m,"k-selected":f,"k-disabled":h,"k-indeterminate":b&&!d,"k-loading":N,"k-empty":c,"k-readonly":v,"k-highlighted":L},Object.keys(I).reduce((S,M)=>(M.startsWith("k-")?S[M]=I[M]:S[`k-${M}`]=I[M],S),{}))};function fl(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},gt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},k={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var lr={};function B(e){return lr[e]=(lr[e]||0)+1,`k-${e}-${lr[e]}`}import{Fragment as Jp,jsx as bl}from"react/jsx-runtime";var sr="k-font-icon",Vp=[],Xp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info]},Wp={},Pa=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:l,...d}=e;return a?bl("span",{...d,className:r(e.className,sr,E(sr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):bl(Jp,{})};Pa.states=Vp;Pa.options=Xp;Pa.className=sr;Pa.defaultOptions=Wp;var xl=Pa;import{Fragment as Zp,jsx as fi}from"react/jsx-runtime";var dr="k-svg-icon",qp=[],Yp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[gt.outline,gt.solid,gt.duotone]},pr={viewBox:"0 0 24 24",variant:gt.outline},wa=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:l=pr.viewBox,variant:d=pr.variant,icon:m,...f}=e;if(!m)return fi(Zp,{});if(m==="none")return fi("span",{...f,className:r(e.className,dr,E("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof m=="object"&&m.name&&m.name,b=typeof m=="object"?d&&m.variants?.[d]||m.variants?.outline||m.content:void 0;return fi("span",{...f,className:r(e.className,dr,E("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:fi("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:l,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:m?void 0:e.children})})};wa.states=qp;wa.options=Yp;wa.className=dr;wa.defaultOptions=pr;var mr=wa;import*as cr from"@progress/kendo-svg-icons";var hl="icon",gl="icons";import{useContext as jp}from"react";import{createContext as Qp}from"react";var Nl=Qp({iconsType:"svg"});import{Fragment as vl,jsx as Ka}from"react/jsx-runtime";var bi="k-icon",em=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),tm=[],om={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[gt.outline,gt.solid,gt.duotone]},xi={viewBox:"0 0 24 24",type:"svg",variant:gt.outline},g=e=>{let{iconsType:t}=jp(Nl),{size:o,themeColor:a,icon:i,type:l=t||xi.type,rotate:d,flip:m,viewBox:f=xi.viewBox,variant:h=xi.variant,...b}=e;if(!i)return Ka(vl,{});if((t||l)==="svg"){if(i==="none")return Ka(mr,{...b,className:r(e.className,bi),icon:i,size:o,variant:h});let c=cr[i]?i:em(`${i}-icon`);return cr[c]?Ka(mr,{...b,className:r(e.className,bi),icon:cr[c],size:o,themeColor:a,rotate:d,flip:m,viewBox:f,variant:h}):Ka(vl,{})}return Ka(xl,{...b,className:r(e.className,bi),icon:i,size:o,themeColor:a,rotate:d,flip:m})};g.states=tm;g.options=om;g.defaultOptions=xi;g.className=bi;g.moduleName=hl;g.folderName=gl;var ur="button",kl=ur;import{Fragment as fr,jsx as Vt,jsxs as Ll}from"react/jsx-runtime";var za="k-button",am=["icon-button"],im=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],rm={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},br={showArrow:!1,arrowIconName:"chevron-down"},s=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:l,showArrow:d=br.showArrow,arrowIconName:m=br.arrowIconName,variant:f,hover:h,focus:b,active:N,selected:c,disabled:v,togglable:L,ariaDisabled:I,icon:S,endIcon:M,iconSize:T,text:K,iconClassName:Y,className:oe,...ae}=e,pe=S!=null,no=e.children!==void 0;return Ll(t,{className:r(oe,za,fl(za,f),E(za,{size:o,rounded:a,fillMode:i,themeColor:l}),y(za,{hover:h,focus:b,active:N,disabled:v||I,selected:c}),{"k-icon-button":!K&&!no&&pe}),"aria-pressed":L?c?"true":"false":void 0,...ae,"aria-disabled":I?"true":void 0,disabled:v||void 0,children:[typeof S=="string"&&S&&Vt(g,{className:r(Y,"k-button-icon"),icon:S,size:T}),S&&typeof S!="string"&&Vt(fr,{children:S}),K?Ll(fr,{children:[K&&Vt("span",{className:"k-button-text",children:K}),e.children]}):e.children&&Vt("span",{className:"k-button-text",children:e.children}),typeof M=="string"&&M&&Vt(g,{className:r(Y,"k-button-icon"),icon:M,size:T}),M&&typeof M!="string"&&Vt(fr,{children:M}),d&&Vt("span",{className:"k-menu-button-arrow k-button-arrow",children:Vt(g,{icon:m})})]})};s.states=im;s.options=rm;s.variants=am;s.className=za;s.defaultOptions=br;s.moduleName=ur;s.folderName=kl;import{jsx as nm}from"react/jsx-runtime";var Rt=e=>nm(s,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as lm}from"react/jsx-runtime";var _a=e=>lm(s,{icon:"folder",children:"Button",...e});import{jsx as Tv}from"react/jsx-runtime";import{jsx as sm}from"react/jsx-runtime";var Nt=e=>sm(s,{children:"Button",...e});import{jsx as xr}from"react/jsx-runtime";var dm=s.options,pm=s.states,mm={...s.defaultOptions,variant:"text"},cm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],um=[],Eo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return xr(Rt,{...o,icon:"star"});case"icon-and-text":return xr(_a,{...o,icon:"star",children:"Button"});default:return xr(Nt,{...o,children:"Button"})}};Eo.options=dm;Eo.states=pm;Eo.variants=cm;Eo.defaultOptions=mm;Eo.modifiers=um;Eo.className=s.className;var hr="button",Il=hr;import{jsx as hm}from"react/jsx-runtime";var Da="k-button-group",fm=[n.disabled],bm={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},xm={},A=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return hm("div",{role:"group",...i,className:r(e.className,Da,E(Da,{fillMode:t}),y(Da,{disabled:o}),{[`${Da}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};A.states=fm;A.options=bm;A.className=Da;A.defaultOptions=xm;A.moduleName=hr;A.folderName=Il;import{Fragment as ik,jsx as ak,jsxs as rk}from"react/jsx-runtime";import{Fragment as mk,jsx as pk,jsxs as ck}from"react/jsx-runtime";import{Fragment as gk,jsx as hk,jsxs as Nk}from"react/jsx-runtime";import{Fragment as Mk,jsx as Sk,jsxs as yk}from"react/jsx-runtime";import{Fragment as Ok,jsx as Ak,jsxs as Rk}from"react/jsx-runtime";import{Fragment as Dk,jsx as _k,jsxs as Fk}from"react/jsx-runtime";import{Fragment as Xk,jsx as Vk,jsxs as Wk}from"react/jsx-runtime";import{jsx as Pt,jsxs as gr}from"react/jsx-runtime";var gm={...s.options,...A.options},Nm=s.states,vm={...s.defaultOptions,...A.defaultOptions,variant:"text-button"},km=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Lm=[],Co=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?gr(A,{fillMode:a.fillMode,className:o,children:[Pt(s,{...a,icon:"star"}),Pt(s,{...a,icon:"star"}),Pt(s,{...a,icon:"star"})]}):t==="icon-text-button"?gr(A,{fillMode:a.fillMode,className:o,children:[Pt(s,{...a,icon:"star",children:"First"}),Pt(s,{...a,icon:"star",children:"Middle"}),Pt(s,{...a,icon:"star",children:"Last"})]}):gr(A,{fillMode:a.fillMode,className:o,children:[Pt(s,{...a,children:"First"}),Pt(s,{...a,children:"Middle"}),Pt(s,{...a,children:"Last"})]})};Co.options=gm;Co.states=Nm;Co.variants=km;Co.defaultOptions=vm;Co.modifiers=Lm;Co.className=A.className;var Fa="input",hi=Fa;import{jsx as ym}from"react/jsx-runtime";var gi="k-input",Im=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Sm={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Mm={},V=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m,size:f,rounded:h,fillMode:b,...N}=e;return ym("span",{...N,className:r(e.className,gi,E(gi,{size:f,rounded:h,fillMode:b}),y(gi,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m}))})};V.states=Im;V.options=Sm;V.className=gi;V.defaultOptions=Mm;V.moduleName=Fa;V.folderName=hi;import{jsx as Tm}from"react/jsx-runtime";var Ni="k-picker",Em=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Cm={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Bm={},vt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m,size:f,rounded:h,fillMode:b,...N}=e;return Tm("span",{...N,className:r(e.className,Ni,E(Ni,{size:f,rounded:h,fillMode:b}),y(Ni,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m})),children:e.children})};vt.states=Em;vt.options=Cm;vt.className=Ni;vt.defaultOptions=Bm;vt.moduleName=Fa;vt.folderName=hi;import{Fragment as Rm,jsx as Nr}from"react/jsx-runtime";var Sl="k-clear-value",Am=[n.disabled,n.loading,n.readonly],Om={},me=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?Nr(Rm,{}):Nr("span",{className:r(e.className,Sl),children:Nr(g,{icon:"x"})})};me.states=Am;me.options=Om;me.className=Sl;import{jsx as Km}from"react/jsx-runtime";var vr="k-input-inner",Pm=[],wm={},vi={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=vi.value,type:o=vi.type,placeholder:a=vi.placeholder,autocomplete:i=vi.autocomplete,disabled:l,readOnly:d,...m}=e;return Km("input",{...m,type:o,className:r(e.className,vr,E(vr,e)),placeholder:a,autoComplete:i,defaultValue:t,disabled:l||void 0,readOnly:d||void 0})};ce.states=Pm;ce.options=wm;ce.className=vr;import{jsx as Ml,jsxs as Dm}from"react/jsx-runtime";var kr="k-input-inner",zm=[],_m={},lo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:l,...d}=e;return Dm("span",{...d,className:r(e.className,kr,E(kr,e)),children:[i,!i&&l&&Ml(g,{className:"k-input-value-icon",icon:l}),a&&!t&&o,a&&t&&Ml("span",{className:"k-input-value-text",children:t})]})};lo.states=zm;lo.options=_m;lo.className=kr;import{jsx as Um}from"react/jsx-runtime";var Lr="k-input-inner",Fm=[],Hm={},yl={value:"",placeholder:""},Ha=e=>{let{value:t=yl.value,placeholder:o=yl.placeholder,rows:a,disabled:i,...l}=e;return Um("textarea",{...l,className:r(e.className,Lr,E(Lr,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Ha.states=Fm;Ha.options=Hm;Ha.className=Lr;import{Fragment as $m,jsx as El}from"react/jsx-runtime";var Cl="k-input-loading-icon",Gm=[n.disabled,n.loading],ie=e=>{let{disabled:t,loading:o}=e;return t||!o?El($m,{}):El("span",{className:r(e.className,Cl,"k-icon k-i-loading")})};ie.states=Gm;ie.className=Cl;import{Fragment as Wm,jsx as Bl}from"react/jsx-runtime";var Tl="k-input-validation-icon",Vm=[n.valid,n.invalid,n.disabled,n.loading],Xm={},j=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,l=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?Bl(Wm,{}):Bl(g,{className:r(Tl),icon:l})};j.states=Vm;j.options=Xm;j.className=Tl;import{Fragment as Ym,jsx as Al}from"react/jsx-runtime";var Jm="k-input-prefix",qm={direction:"horizontal"},be=e=>{let{direction:t=qm.direction,...o}=e;return e.children?Al("span",{...o,className:r(Jm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Al(Ym,{})};import{Fragment as jm,jsx as Ol}from"react/jsx-runtime";var Zm="k-input-suffix",Qm={direction:"horizontal"},xe=e=>{let{direction:t=Qm.direction,...o}=e;return e.children?Ol("span",{...o,className:r(Zm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ol(jm,{})};import{jsx as JL}from"react/jsx-runtime";import{jsx as tc}from"react/jsx-runtime";var ec="k-input-suffix-text",wt=e=>{let{children:t,...o}=e;return tc("span",{...o,className:r(ec,e.className),children:t})};import{jsx as ac}from"react/jsx-runtime";var Rl="k-input-separator",oc={direction:"vertical"},ee=e=>{let{direction:t=oc.direction,...o}=e;return ac("span",{...o,className:r(Rl,e.className,{[`${Rl}-${t}`]:t})})};import{Fragment as Pl,jsx as kt,jsxs as Ir}from"react/jsx-runtime";var ic=V.states,rc=V.defaultOptions,nc=V.options,lc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],sc=[],Bo=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:l,readonly:d,...m}=e,f=t?.prefix,h=t?.suffix,b=t?.["clear-button"],N=t?.["validation-icon"],c=t?.separators;return Ir(V,{...m,valid:o,invalid:a,loading:i,disabled:l,readonly:d,style:{width:300},children:[f&&Ir(Pl,{children:[kt(be,{children:kt(g,{icon:"lock"})}),c&&kt(ee,{})]}),kt(ce,{placeholder:"Placeholder",value:"Value"}),N&&kt(j,{valid:o,invalid:a,loading:i,disabled:l}),kt(ie,{loading:i,disabled:l}),b&&kt(me,{loading:i,disabled:l,readonly:d,value:"Value"}),h&&Ir(Pl,{children:[c&&kt(ee,{}),kt(xe,{children:kt(Nt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Bo.options=nc;Bo.states=ic;Bo.variants=sc;Bo.defaultOptions=rc;Bo.modifiers=lc;Bo.className=V.className;import{jsx as wl,jsxs as mc}from"react/jsx-runtime";var Kl="k-color-preview",dc=[],pc={},Xt=e=>{let{color:t,iconName:o,...a}=e;return mc("span",{...a,className:r(e.className,Kl,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&wl(g,{icon:o,className:"k-color-preview-icon"}),wl("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Xt.states=dc;Xt.options=pc;Xt.className=Kl;var Sr="popup",zl=Sr;import{jsx as _l}from"react/jsx-runtime";var Dl="k-animation-container",cc=[],uc={},Mr={positionMode:"absolute",shown:!0},Lt=e=>{let{positionMode:t=Mr.positionMode,shown:o=Mr.shown,animationStyle:a,offset:i,...l}=e;return _l("div",{...l,style:{...i,...e.style},className:r(e.className,Dl,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:_l("div",{className:"k-child-animation-container",style:a,children:e.children})})};Lt.states=cc;Lt.options=uc;Lt.className=Dl;Lt.defaultOptions=Mr;Lt.moduleName=Sr;Lt.folderName=zl;var yr="popup",Fl=yr;import{jsx as Hl}from"react/jsx-runtime";var Ul="k-popup",fc=[],bc={},Gl={positionMode:"absolute"},J=e=>{let{offset:t,positionMode:o=Gl.positionMode,animationStyle:a,containerClassName:i,containerRole:l,containerAriaLabel:d,...m}=e;return Hl(Lt,{positionMode:o,offset:t,animationStyle:a,className:i,role:l,"aria-label":d,children:Hl("div",{...m,className:r(e.className,Ul),children:e.children})})};J.states=fc;J.options=bc;J.className=Ul;J.defaultOptions=Gl;J.moduleName=yr;J.folderName=Fl;var Er="action-buttons",$l=Er;import{jsx as gc}from"react/jsx-runtime";var ki="k-actions",xc=[],hc={},Cr={alignment:"start",orientation:"horizontal"},He=e=>{let{alignment:t=Cr.alignment,orientation:o=Cr.orientation,...a}=e;return gc("div",{...a,className:r(ki,{[`${ki}-${t}`]:t,[`${ki}-${o}`]:o},e.className),children:e.children})};He.states=xc;He.options=hc;He.className=ki;He.defaultOptions=Cr;He.moduleName=Er;He.folderName=$l;var Vl=He;import{jsx as vc}from"react/jsx-runtime";var Nc="k-actionsheet-footer",Xl={alignment:"stretched",orientation:"horizontal"},Wt=e=>{let{alignment:t=Xl.alignment,orientation:o=Xl.orientation,template:a,as:i=a?"div":He,...l}=e;return vc(i,{...l,...!a&&{alignment:t,orientation:o},className:r(e.className,Nc),children:e.children})};var Br="searchbox",Wl=Br;import{jsx as Ua,jsxs as Ic}from"react/jsx-runtime";var Jl="k-searchbox",kc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Lc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Li={showIcon:!0,showClearButton:!0,icon:"search"},Ze=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:l,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,showIcon:v=Li.showIcon,showClearButton:L=Li.showClearButton,icon:I=Li.icon,"aria-label":S,...M}=e;return Ic(V,{...M,size:a,rounded:i,fillMode:l,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,className:r(e.className,Jl),children:[v&&Ua(g,{className:"k-input-icon",icon:I}),Ua(ce,{placeholder:o,value:t,"aria-label":S}),Ua(ie,{...e}),Ua(j,{...e}),L&&Ua(me,{...e})]})};Ze.states=kc;Ze.options=Lc;Ze.className=Jl;Ze.defaultOptions=Li;Ze.moduleName=Br;Ze.folderName=Wl;import{jsx as NS}from"react/jsx-runtime";var Tr="textbox",ql=Tr;import{Fragment as Yl,jsx as Jt,jsxs as Ar}from"react/jsx-runtime";var Zl="k-textbox",Sc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Mc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ii={showClearButton:!0,showValidationIcon:!0,separators:!0},U=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ii.separators,showClearButton:l=Ii.showClearButton,showValidationIcon:d=Ii.showValidationIcon,prefix:m,suffix:f,type:h,value:b,placeholder:N,hover:c,focus:v,valid:L,invalid:I,required:S,loading:M,disabled:T,readonly:K,id:Y,"aria-label":oe,"aria-describedby":ae,...pe}=e;return Ar(V,{...pe,size:t,rounded:o,fillMode:a,hover:c,focus:v,valid:L,invalid:I,required:S,loading:M,disabled:T,readonly:K,className:r(e.className,Zl),children:[m&&Ar(Yl,{children:[Jt(be,{children:m}),i&&Jt(ee,{})]}),Jt(ce,{id:Y,placeholder:N,value:b,type:h,disabled:T,"aria-label":oe,"aria-describedby":ae,"aria-invalid":I?"true":void 0}),d&&Jt(j,{valid:L,invalid:I,loading:M,disabled:T}),Jt(ie,{loading:M,disabled:T}),l&&Jt(me,{loading:M,disabled:T,readonly:K,value:b}),f&&Ar(Yl,{children:[i&&Jt(ee,{}),Jt(xe,{children:f})]})]})};U.states=Sc;U.options=Mc;U.className=Zl;U.defaultOptions=Ii;U.moduleName=Tr;U.folderName=ql;var Ga=U;import{jsx as yc}from"react/jsx-runtime";var Ql=e=>yc(Ga,{...e});import{Fragment as zS,jsx as KS}from"react/jsx-runtime";import{Fragment as GS,jsx as US}from"react/jsx-runtime";import{jsx as WS}from"react/jsx-runtime";import{jsx as Or}from"react/jsx-runtime";var Ec=U.states,Cc=U.defaultOptions,Bc=U.options,Tc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Ac=[],To=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?Or(g,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?Or(Nt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),Or(Ql,{value:"Value",style:{width:300},...o,...a})};To.options=Bc;To.states=Ec;To.variants=Ac;To.defaultOptions=Cc;To.modifiers=Tc;To.className=U.className;import{jsx as qt,jsxs as Rr}from"react/jsx-runtime";var jl="k-actionsheet-titlebar",Oc={},ve=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:l,input:d,inputValue:m,inputPlaceholder:f,adaptive:h,titleId:b,children:N,...c}=e;return Rr("div",{...c,className:r(e.className,jl),children:[Rr("div",{className:"k-actionsheet-titlebar-group",children:[a&&qt("div",{className:"k-actionsheet-actions",children:a}),!N&&Rr("div",{className:"k-actionsheet-title",id:b,children:[t&&qt("div",{className:"k-text-center",children:t}),o&&qt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&qt("div",{className:"k-actionsheet-title",id:b,children:N}),i&&qt("div",{className:"k-actionsheet-actions",children:i})]}),(d||l)&&qt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?qt(U,{value:m,placeholder:f,size:h?"large":"medium","aria-label":t||f||"Input"}):qt(Ze,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};ve.className=jl;ve.defaultOptions=Oc;import{jsx as Pr,jsxs as Kc}from"react/jsx-runtime";var wr="k-actionsheet-view",Rc=[],Pc={},wc={},Ao=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:l,titleId:d,...m}=e,f=i?.type===ve&&Pr(ve,{adaptive:t,titleId:d,...i?.props}),h=l?.type===Wt&&Pr(Wt,{...l?.props});return Kc("div",{...m,className:r(e.className,wr,{[`${wr}-animated`]:o}),children:[f,Pr("div",{className:"k-actionsheet-content",children:a}),h]})};Ao.states=Rc;Ao.options=Pc;Ao.className=wr;Ao.defaultOptions=wc;var $a="action-sheet",Si=$a;var Kr="overlay",es=Kr;import{jsx as Fc}from"react/jsx-runtime";var ts="k-overlay",zc=[],_c={},Dc={},ut=e=>{let{...t}=e;return Fc("div",{...t,className:r(e.className,ts),children:e.children})};ut.states=zc;ut.options=_c;ut.className=ts;ut.defaultOptions=Dc;ut.moduleName=Kr;ut.folderName=es;var os=ut;import{jsx as Mi,jsxs as Gc}from"react/jsx-runtime";var as="k-actionsheet",Hc=[],Uc={},Va={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Z=e=>{let{side:t=Va.side,fullscreen:o=Va.fullscreen,adaptive:a=Va.adaptive,overlay:i=Va.overlay,template:l,children:d,header:m,footer:f,id:h,...b}=e,N=h&&!l&&m?`${h}-title`:void 0;return Gc("div",{className:"k-actionsheet-container",children:[i&&Mi(ut,{}),Mi(Lt,{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:Mi("div",{...b,id:h,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":N,className:r(e.className,as,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:l||Mi(Ao,{header:m,footer:f,adaptive:a,titleId:N,...e,children:d})})})]})};Z.states=Hc;Z.options=Uc;Z.className=as;Z.defaultOptions=Va;Z.moduleName=$a;Z.folderName=Si;import{jsx as Wc}from"react/jsx-runtime";var is="k-actionsheet-container",$c=[],Vc={},Xc={},Oo=e=>{let{children:t,...o}=e;return Wc("div",{...o,className:is,children:t})};Oo.states=$c;Oo.options=Vc;Oo.className=is;Oo.defaultOptions=Xc;Oo.moduleName=$a;Oo.folderName=Si;import{jsx as Jc}from"react/jsx-runtime";var zr=e=>{let{...t}=e;return Jc("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Yc,jsx as Xa,jsxs as _r}from"react/jsx-runtime";var Dr="k-actionsheet-item",qc=[n.hover,n.focus,n.selected,n.disabled],Yt=e=>{let{iconName:t,text:o,description:a,hover:i,focus:l,selected:d,disabled:m,...f}=e;return _r("span",{...f,className:r(e.className,Dr,y(Dr,{hover:i,focus:l,selected:d,disabled:m})),children:[!e.children&&Xa(Yc,{children:_r("span",{className:"k-actionsheet-action",children:[t&&Xa("span",{className:"k-icon-wrap",children:Xa(g,{className:"k-actionsheet-item-icon",icon:t})}),_r("span",{className:"k-actionsheet-item-text",children:[o&&Xa("span",{className:"k-actionsheet-item-title",children:o}),a&&Xa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Yt.states=qc;Yt.className=Dr;import{jsx as XM,jsxs as WM}from"react/jsx-runtime";import{jsx as ZM}from"react/jsx-runtime";import{jsx as ty}from"react/jsx-runtime";import{jsx as ry}from"react/jsx-runtime";import{jsx as ke,jsxs as Fr}from"react/jsx-runtime";var Zc=Z.options,Qc=Z.states,ns={...Z.defaultOptions,variant:"normal"},jc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],eu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Ro=e=>{let{variant:t,modifiers:o,...a}={...ns,...e},i={},l=Fr(zr,{children:[ke(Yt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ke(Yt,{text:"Add to Favorites",iconName:"heart"}),ke(Yt,{text:"Upload New",iconName:"upload",disabled:!0}),ke("hr",{className:"k-hr"}),ke(Yt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",m="Select Item";return t==="fullScreen"&&(i.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":i.actionsStart=!!o?.[f],i.actionsEnd=!!o?.[f];break;case"subtitle":i.subtitle=o?.[f]?d:void 0;break;case"footer":i.footer=!!o?.[f];break;default:break}}),t==="adaptive"?ke(Z,{...a,adaptive:!0,fullscreen:i.fullScreen,header:ke(ve,{actionsStart:i.actionsStart?ke(s,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ke(s,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?Fr(Wt,{alignment:"stretched",children:[ke(s,{text:"Cancel",size:"large",themeColor:"base"}),ke(s,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):ke(Z,{...a,fullscreen:i.fullScreen,header:ke(ve,{actionsStart:i.actionsStart?ke(s,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ke(s,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?Fr(Wt,{alignment:"stretched",children:[ke(s,{text:"Apply",themeColor:"primary"}),ke(s,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};Ro.options=Zc;Ro.states=Qc;Ro.variants=jc;Ro.defaultOptions=ns;Ro.modifiers=eu;Ro.className=Z.className;var Hr="slider",ls=Hr;import{jsx as Po,jsxs as Ur}from"react/jsx-runtime";var Wa="k-slider",tu=[n.hover,n.focus,n.active,n.disabled,n.readonly],ou={},Qe={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},F=e=>{let{type:t=Qe.type,orientation:o=Qe.orientation,gradientType:a=Qe.gradientType,readonly:i=Qe.readonly,disabled:l=Qe.disabled,handlePosition:d=Qe.handlePosition,showButtons:m=Qe.showButtons,showTicks:f=Qe.showTicks,value:h=Qe.value,min:b=Qe.min,max:N=Qe.max,startValue:c,endValue:v,hover:L,focus:I,active:S,trackStyle:M,dir:T,...K}=e,oe=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ae,pe;return o==="horizontal"?(ae=T==="rtl"?"chevron-left":"chevron-right",pe=T==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ae="chevron-up",pe="chevron-down"),Ur("div",{...K,className:r(Wa,e.className,y(Wa,{readonly:i,disabled:l}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:T,children:[m&&Po(s,{className:"k-button-decrease",rounded:"full",icon:pe,tabIndex:-1,title:"Decrease"}),Ur("div",{className:"k-slider-track-wrap",children:[f&&Po("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Ur("div",{className:"k-slider-track",style:M,children:[Po("div",{className:"k-slider-selection"}),t==="range"&&Po("span",{className:r("k-draghandle","k-draghandle-start",y(Wa,{hover:L,focus:I,active:S})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":c??b,"aria-valuemin":b,"aria-valuemax":v??N,"aria-orientation":oe,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":K["aria-label"]?`${K["aria-label"]} start`:"Range start"}),Po("span",{className:r("k-draghandle",`k-draghandle-${d}`,y(Wa,{hover:L,focus:I,active:S})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":t==="range"?v??N:h,"aria-valuemin":t==="range"?c??b:b,"aria-valuemax":N,"aria-orientation":oe,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?K["aria-label"]?`${K["aria-label"]} end`:"Range end":K["aria-label"]})]})]}),m&&Po(s,{className:"k-button-increase",rounded:"full",icon:ae,tabIndex:-1,title:"Increase"})]})};F.states=tu;F.options=ou;F.className=Wa;F.defaultOptions=Qe;F.moduleName=Hr;F.folderName=ls;import{jsx as ss}from"react/jsx-runtime";var ds="k-tick",au=[],iu={},ps={label:!1},O=e=>{let{style:t,label:o=ps.label,orientation:a,large:i,text:l,...d}=e;return ss("li",{...d,role:"presentation",title:l||"Tick",className:r(e.className,ds,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&ss("span",{className:"k-label",children:l})})};O.states=au;O.options=iu;O.className=ds;O.defaultOptions=ps;import{Fragment as ru,jsx as je,jsxs as nu}from"react/jsx-runtime";var ms=e=>je(F,{"aria-label":e["aria-label"]||"Slider",children:nu(ru,{children:[je(O,{className:"k-first",label:!0,large:!0,text:"0"}),je(O,{}),je(O,{}),je(O,{}),je(O,{}),je(O,{label:!0,large:!0,text:"5"}),je(O,{}),je(O,{}),je(O,{}),je(O,{}),je(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as lu,jsx as et,jsxs as su}from"react/jsx-runtime";var cs=e=>et(F,{children:su(lu,{children:[et(O,{className:"k-first",label:!0,large:!0,text:"0"}),et(O,{}),et(O,{}),et(O,{}),et(O,{}),et(O,{label:!0,large:!0,text:"5"}),et(O,{}),et(O,{}),et(O,{}),et(O,{}),et(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as Wy,jsx as Xy,jsxs as Jy}from"react/jsx-runtime";import{Fragment as jy,jsx as Qy,jsxs as eE}from"react/jsx-runtime";import{jsx as du}from"react/jsx-runtime";var Gr=e=>du(F,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pu}from"react/jsx-runtime";var $r=e=>pu(F,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as mE,jsx as pE,jsxs as cE}from"react/jsx-runtime";import{Fragment as hE,jsx as xE,jsxs as gE}from"react/jsx-runtime";import{jsx as It,jsxs as us}from"react/jsx-runtime";var mu=F.options,cu=F.states,fs={...F.defaultOptions,variant:"horizontal",label:!0},uu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fu=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],wo=e=>{let{variant:t,modifiers:o,...a}=e,i=fs.label,l={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{l.showButtons=!!o?.[m];break}case"label":{i=!!o?.[m];break}case"tick":{l.showTicks=!!o?.[m];break}}});let d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?us(cs,{style:{height:"300px",...d},...a,...l,children:[It(O,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),It(O,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),It(O,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),It(O,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),It(O,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):us(ms,{style:{width:"400px",...d},...a,...l,children:[It(O,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),It(O,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),It(O,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),It(O,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),It(O,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};wo.options=mu;wo.states=cu;wo.variants=uu;wo.defaultOptions=fs;wo.modifiers=fu;wo.className=F.className;import{jsx as bs,jsxs as Nu}from"react/jsx-runtime";var xs="k-spin-button",hu=[],gu={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Vr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},St=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Vr.increaseLabel,decreaseLabel:l=Vr.decreaseLabel,...d}=e;return Nu("span",{...d,className:r(xs,e.className),children:[bs(s,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),bs(s,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":l})]})};St.states=hu;St.options=gu;St.className=xs;St.defaultOptions=Vr;St.moduleName=null;St.folderName=null;var hs="numeric-textbox",gs="numerictextbox";import{Fragment as Ns,jsx as Kt,jsxs as Xr}from"react/jsx-runtime";var vs="k-numerictextbox",vu=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],ku={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},yi={showSpinButton:!0,showClearButton:!0,separators:!0},P=e=>{let{size:t,rounded:o,fillMode:a,separators:i=yi.separators,showClearButton:l=yi.showClearButton,showSpinButton:d=yi.showSpinButton,prefix:m,suffix:f,value:h,placeholder:b,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:T,id:K,"aria-label":Y,"aria-describedby":oe,...ae}=e;return Xr(V,{...ae,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:T,className:r(e.className,vs),children:[m&&Xr(Ns,{children:[Kt(be,{children:m}),i&&Kt(ee,{})]}),Kt(ce,{id:K,placeholder:b,value:h,role:"spinbutton",disabled:M,"aria-label":Y,"aria-describedby":oe,"aria-invalid":L?"true":void 0}),Kt(j,{valid:v,invalid:L,loading:S,disabled:M}),Kt(ie,{loading:S,disabled:M}),l&&Kt(me,{loading:S,disabled:M,readonly:T,value:h}),f&&Xr(Ns,{children:[i&&Kt(ee,{}),Kt(xe,{children:f})]}),d&&Kt(St,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};P.states=vu;P.options=ku;P.className=vs;P.defaultOptions=yi;P.moduleName=hs;P.folderName=gs;var Ja=P;import{jsx as Lu}from"react/jsx-runtime";var ks=e=>Lu(Ja,{...e});import Jr from"react";import{jsx as Ls}from"react/jsx-runtime";var Iu="k-list-group-sticky-header",Wr=e=>Ls("div",{className:r(Iu,e.className),children:Ls("div",{className:"k-list-header-text",children:e.children})});import{jsx as Mu}from"react/jsx-runtime";var Su="k-no-data",Ei=e=>{let{live:t,...o}=e;return Mu("span",{...o,className:r(Su,e.className),"aria-live":t?"polite":void 0,children:e.children})};var so="list",Ko=so;import{jsx as Is,jsxs as Ss}from"react/jsx-runtime";var qr="k-list",yu=[],Eu={size:[p.undefined,p.small,p.medium,p.large]},Cu={},w=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:l,optionLabel:d,customValue:m,noData:f,screenReaders:h,...b}=e,c=Jr.Children.toArray(a)[0],v=c?.props?.children?Jr.Children.count(c.props.children):Jr.Children.count(a);return Ss("div",{...b,className:r(e.className,qr,E(qr,{size:t}),{"k-virtual-list":o}),children:[d,l,m,i&&Is(Wr,{children:i}),a||(f!==void 0?f:Is(Ei,{live:!0,children:"No data found."})),h&&a&&Ss(Ei,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};w.states=yu;w.options=Eu;w.className=qr;w.defaultOptions=Cu;w.moduleName=so;w.folderName=Ko;import{jsx as Ou}from"react/jsx-runtime";var Ms="k-list-container",Bu=[],Tu={},Au={},zo=e=>{let{...t}=e;return Ou("div",{...t,className:r(e.className,Ms),children:e.children})};zo.states=Bu;zo.options=Tu;zo.className=Ms;zo.defaultOptions=Au;zo.moduleName=so;zo.folderName=Ko;var po="checkbox",_o=po;import{jsx as ys}from"react/jsx-runtime";var Ci="k-checkbox",Ru=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Pu={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},wu={},we=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:l,disabled:d,invalid:m,valid:f,required:h,size:b,rounded:N,wrapperRole:c,...v}=e;return ys("span",{className:"k-checkbox-wrap",role:c,children:ys("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Ci,E(Ci,{size:b,rounded:N}),y(Ci,{hover:i,focus:l,disabled:d,invalid:m,valid:f,indeterminate:a,checked:o}))})})};we.states=Ru;we.options=Pu;we.className=Ci;we.defaultOptions=wu;we.moduleName=po;we.folderName=_o;var ft=we;import{jsx as _u}from"react/jsx-runtime";var Es="k-checkbox-list",Ku=[],zu={},Cs={layout:"vertical"},Ce=e=>{let{layout:t=Cs.layout,...o}=e;return _u("ul",{...o,className:r(e.className,Es,{[`k-list-${t}`]:t}),children:e.children})};Ce.states=Ku;Ce.options=zu;Ce.className=Es;Ce.defaultOptions=Cs;Ce.moduleName=po;Ce.folderName=_o;import{jsx as Uu}from"react/jsx-runtime";var Bs="k-checkbox-list-item",Du=[],Fu={},Hu={},Be=e=>{let{...t}=e;return Uu("li",{...t,className:r(e.className,Bs),children:e.children})};Be.states=Du;Be.options=Fu;Be.className=Bs;Be.defaultOptions=Hu;Be.moduleName=po;Be.folderName=_o;import{Fragment as Gu,jsx as Ts,jsxs as $u}from"react/jsx-runtime";var bt=({children:e="Label",id:t="cb-label-after",...o})=>$u(Gu,{children:[Ts(ft,{id:t,...o}),Ts("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as UC,jsx as HC,jsxs as GC}from"react/jsx-runtime";import{Fragment as JC,jsx as WC,jsxs as qC}from"react/jsx-runtime";import{Fragment as eB,jsx as jC,jsxs as tB}from"react/jsx-runtime";import{jsx as rB}from"react/jsx-runtime";import{jsx as dB}from"react/jsx-runtime";import{jsx as uB}from"react/jsx-runtime";import{jsx as tt,jsxs as As}from"react/jsx-runtime";var Vu=Ce.options,Xu=Ce.states,Wu={...Ce.defaultOptions,variant:"vertical"},Ju=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qu=[],Do=e=>{let{variant:t,...o}=e;return t==="horizontal"?As(Ce,{layout:"horizontal",...o,children:[tt(Be,{children:tt(bt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),tt(Be,{children:tt(bt,{id:B("cb"),children:"Label"})}),tt(Be,{children:tt(bt,{id:B("cb"),children:"Label"})})]}):As(Ce,{...o,children:[tt(Be,{children:tt(bt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),tt(Be,{children:tt(bt,{id:B("cb"),children:"Label"})}),tt(Be,{children:tt(bt,{id:B("cb"),children:"Label"})})]})};Do.options=Vu;Do.states=Xu;Do.variants=Ju;Do.defaultOptions=Wu;Do.modifiers=qu;Do.className=Ce.className;import{jsx as tf}from"react/jsx-runtime";var Yu=ft.options,Zu=ft.states,Qu=ft.defaultOptions,ju=[],ef=[],Fo=e=>tf(bt,{id:B("checkbox"),...e,defaultChecked:!0,children:"Label"});Fo.options=Yu;Fo.states=Zu;Fo.variants=ju;Fo.defaultOptions=Qu;Fo.modifiers=ef;Fo.className=ft.className;import{jsx as Ho,jsxs as nf}from"react/jsx-runtime";var Yr="k-list-item",of=[n.hover,n.focus,n.selected,n.disabled],af={},rf={},C=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:l,hover:d,focus:m,selected:f,disabled:h,actions:b,description:N,id:c,...v}=e,L=t||e.children,I=t||(typeof L=="string"?L:void 0);return nf("li",{...v,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":h?"true":void 0,className:r(e.className,Yr,y(Yr,{hover:d,focus:m,disabled:h,selected:f})),children:[i&&Ho(we,{checked:l,disabled:h,"aria-label":I,tabIndex:-1}),o&&Ho("span",{className:"k-list-item-icon-wrapper",children:Ho(g,{icon:o,className:r("k-list-item-icon",a)})}),Ho("span",{className:"k-list-item-text",children:L}),b&&Ho("div",{className:"k-list-item-actions",children:b}),N&&Ho("span",{className:"k-list-item-description",children:N})]})};C.states=of;C.options=af;C.className=Yr;C.defaultOptions=rf;C.moduleName=so;C.folderName=Ko;import{jsx as sf}from"react/jsx-runtime";var lf="k-list-ul",Mt=e=>{let{children:t,role:o,id:a,...i}=e;return sf("ul",{...i,id:a,role:o,className:r(lf,e.className),children:t})};import{jsx as Zr,jsxs as pf}from"react/jsx-runtime";var df="k-list-content",z=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:l,...d}=e;return pf("div",{...d,className:r(df,e.className),role:o?"listbox":void 0,id:o?l:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:Zr(Mt,{role:"listbox",id:l,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&Zr("div",{className:"k-height-container",children:Zr("div",{})})]})};import{jsx as Qr,jsxs as ff}from"react/jsx-runtime";var Bi="k-list-sticky-header",mf=[n.hover,n.focus,n.selected],cf={},uf={},Ti=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:l,focus:d,selected:m,...f}=e;return Qr("div",{...f,className:r(Bi,e.className),children:ff("div",{className:r(`${Bi}-item`,y(`${Bi}-item`,{hover:l,focus:d,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&Qr(we,{checked:a,indeterminate:i,"aria-label":t}),Qr("span",{className:"k-list-item-text",children:t})]})})};Ti.states=mf;Ti.options=cf;Ti.className=Bi;Ti.defaultOptions=uf;import{Fragment as lT,jsx as nT,jsxs as sT}from"react/jsx-runtime";import{jsx as uT,jsxs as fT}from"react/jsx-runtime";import{jsx as gf}from"react/jsx-runtime";var jr="k-list-optionlabel",bf=[n.hover,n.focus,n.selected,n.disabled],xf={},hf={},Ai=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...d}=e;return gf("div",{...d,className:r(jr,y(jr,{hover:o,focus:a,selected:i,disabled:l})),children:t})};Ai.states=bf;Ai.options=xf;Ai.className=jr;Ai.defaultOptions=hf;import{jsx as Lf}from"react/jsx-runtime";var en="k-list-custom-value",Nf=[n.hover,n.focus,n.selected,n.disabled],vf={},kf={},ot=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...d}=e;return Lf("div",{...d,className:r(en,y(en,{hover:o,focus:a,selected:i,disabled:l})),children:t})};ot.states=Nf;ot.options=vf;ot.className=en;ot.defaultOptions=kf;import{Fragment as yT,jsx as MT,jsxs as ET}from"react/jsx-runtime";import{Fragment as RT,jsx as OT,jsxs as PT}from"react/jsx-runtime";import{Fragment as HT,jsx as DT,jsxs as FT}from"react/jsx-runtime";import{Fragment as JT,jsx as XT,jsxs as WT}from"react/jsx-runtime";import{jsx as QT}from"react/jsx-runtime";import{Fragment as iA,jsx as aA,jsxs as rA}from"react/jsx-runtime";import{Fragment as mA,jsx as pA,jsxs as cA}from"react/jsx-runtime";var Os="dropdown-list",Rs="dropdownlist";import{Fragment as Mf,jsx as Te,jsxs as tn}from"react/jsx-runtime";var Ps="k-dropdownlist",If=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Sf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},on={showValue:!0,arrowIconName:"chevron-down"},$=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=on.arrowIconName,showValue:l=on.showValue,valueIconName:d,prefix:m,suffix:f,value:h,placeholder:b,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:T,popup:K,opened:Y,adaptive:oe,adaptiveSettings:ae,adaptiveTitle:pe,adaptiveSubtitle:no,adaptiveFilter:ht,id:Ot,activeDescendant:$t,"aria-label":Aa,...Oa}=e,Ra=Ot?`${Ot}-listbox`:void 0,ul=Ot?`${Ot}-value`:void 0;return tn(Mf,{children:[tn(vt,{...Oa,id:Ot,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:T,className:r(e.className,Ps,{"k-icon-picker":!l&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":Y?"true":"false","aria-controls":Y?Ra:void 0,"aria-activedescendant":Y&&$t?$t:void 0,"aria-describedby":Y?ul:void 0,"aria-disabled":M?"true":void 0,"aria-label":Aa,tabIndex:0,children:[Te(be,{children:m}),Te(lo,{placeholder:b,value:h,showValue:l,valueIconName:d,id:ul}),Te(j,{valid:v,invalid:L,loading:S,disabled:M}),Te(ie,{loading:S,disabled:M}),Te(xe,{children:f}),Te(s,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),Y&&K&&Te(J,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:K}),oe&&Te(Z,{adaptive:!0,...ae,header:Te(ve,{actionsEnd:Te(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ht,inputValue:h,inputPlaceholder:b,title:pe,subtitle:no}),children:Te("div",{className:"k-list-container",children:Te(w,{size:"large",children:tn(z,{"aria-label":"Options",children:[Te(C,{text:"List item"}),Te(C,{text:"List item"}),Te(C,{text:"List item"})]})})})})]})};$.states=If;$.options=Sf;$.className=Ps;$.defaultOptions=on;$.moduleName=Os;$.folderName=Rs;import{jsx as WA}from"react/jsx-runtime";import{jsx as jA,jsxs as eO}from"react/jsx-runtime";import{Fragment as dO,jsx as lO,jsxs as sO}from"react/jsx-runtime";import{jsx as fO}from"react/jsx-runtime";import{jsx as vO,jsxs as kO}from"react/jsx-runtime";import{Fragment as TO,jsx as CO,jsxs as BO}from"react/jsx-runtime";import{jsx as wO}from"react/jsx-runtime";import{Fragment as Af,jsx as Zt,jsxs as ws}from"react/jsx-runtime";var yf=$.states,Ef=$.defaultOptions,Cf=$.options,Bf=[{name:"opened",title:"Opened"}],Tf=[],Go=e=>{let{modifiers:t,...o}=e,a={},i=ws(Af,{children:[Zt("div",{className:"k-list-filter",children:Zt(Ze,{})}),Zt(w,{style:{width:300},size:o.size,children:ws(z,{children:[Zt(C,{children:"List item"}),Zt(C,{children:"List item"}),Zt(C,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(l=>{l==="opened"&&(a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0)}),Zt("div",{children:Zt($,{placeholder:"Value",style:{width:300},...o,...a})})};Go.options=Cf;Go.states=yf;Go.variants=Tf;Go.defaultOptions=Ef;Go.modifiers=Bf;Go.className=$.className;import{Fragment as aR,jsx as oR}from"react/jsx-runtime";import{Fragment as dR,jsx as sR}from"react/jsx-runtime";import{jsx as uR}from"react/jsx-runtime";import{jsx as an}from"react/jsx-runtime";var Of=P.states,Rf=P.defaultOptions,Pf=P.options,wf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Kf=[],$o=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?an($,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?an(wt,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),an(ks,{value:"Value",style:{width:300},...o,...a})};$o.options=Pf;$o.states=Of;$o.variants=Kf;$o.defaultOptions=Rf;$o.modifiers=wf;$o.className=P.className;import{Fragment as qa,jsx as _,jsxs as re}from"react/jsx-runtime";var Ks="k-colorgradient-inputs",zf=[],_f={size:[p.undefined,p.small,p.medium,p.large]},zs={mode:"rgba"},Vo=e=>{let{mode:t=zs.mode,size:o,...a}=e;return re("div",{...a,className:r(Ks,"k-hstack"),children:[_("div",{className:"k-vstack",children:_(s,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&re(qa,{children:[re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&re(qa,{children:[re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&re(qa,{children:[re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&re(qa,{children:[re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&_(qa,{children:re("div",{className:"k-vstack k-flex-1",children:[_(U,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),_("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Vo.states=zf;Vo.options=_f;Vo.className=Ks;Vo.defaultOptions=zs;import{jsx as co,jsxs as uo}from"react/jsx-runtime";var _s="k-colorgradient-color-contrast",Df=[],Ff={},Hf={},Xo=()=>uo("div",{className:r(_s,"k-vbox"),children:[uo("div",{className:"k-contrast-ratio",children:[co("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),uo("span",{className:"k-contrast-validation !k-text-success",children:[co(g,{icon:"check"}),co(g,{icon:"check"})]})]}),uo("div",{children:[co("span",{children:"AA: 4.5"}),uo("span",{className:"k-contrast-validation !k-text-success",children:["Pass",co(g,{icon:"check"})]})]}),uo("div",{children:[co("span",{children:"AAA: 7.0"}),uo("span",{className:"k-contrast-validation !k-text-error",children:["Fail",co(g,{icon:"x"})]})]})]});Xo.states=Df;Xo.options=Ff;Xo.className=_s;Xo.defaultOptions=Hf;var Ds="color-gradient",Fs="colorgradient";import{jsx as at,jsxs as Ya}from"react/jsx-runtime";var Oi="k-colorgradient",Uf=[n.hover,n.focus,n.readonly,n.disabled],Gf={size:[p.undefined,p.small,p.medium,p.large]},yt={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"},Le=e=>{let{size:t,mode:o=yt.mode,readonly:a=yt.readonly,disabled:i=yt.disabled,gradientStyle:l=yt.gradientStyle,dragHandleStyle:d=yt.dragHandleStyle,alphaStyle:m=yt.alphaStyle,alphaStyleHorizontal:f=yt.alphaStyleHorizontal,contrast:h=yt.contrast,dir:b,hover:N,focus:c,hoverHandle:v,focusHandle:L,canvasOrientation:I=yt.canvasOrientation,role:S,tabIndex:M,...T}=e;return Ya("div",{...T,role:S??"textbox","aria-label":S==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":i?"true":void 0,className:r(e.className,Oi,E(Oi,{size:t}),y(Oi,{hover:N,focus:c,readonly:a,disabled:i})),dir:b,children:[!I||I==="horizontal"&&Ya("div",{className:"k-colorgradient-canvas k-hstack",children:[at("div",{className:"k-hsv-rectangle",style:l,children:at("div",{className:"k-hsv-gradient",children:at("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":L}),style:d,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})})}),Ya("div",{className:"k-hsv-controls k-hstack",children:[at($r,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&at($r,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:m})]})]}),I==="vertical"&&Ya("div",{className:"k-colorgradient-canvas k-vstack",children:[at("div",{className:"k-hsv-rectangle",style:l,children:at("div",{className:"k-hsv-gradient",children:at("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":L}),style:d,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})})}),Ya("div",{className:"k-hsv-controls k-vstack",children:[at(Gr,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&at(Gr,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:f})]})]}),at(Vo,{mode:e.mode,size:t}),h&&at(Xo,{})]})};Le.states=Uf;Le.options=Gf;Le.className=Oi;Le.defaultOptions=yt;Le.moduleName=Ds;Le.folderName=Fs;import{jsx as $f}from"react/jsx-runtime";var Ri=e=>$f(Le,{...e});import{jsx as QR}from"react/jsx-runtime";import{jsx as oP}from"react/jsx-runtime";import{jsx as rn}from"react/jsx-runtime";var Vf=Le.options,Xf=Le.states,Wf={...Le.defaultOptions,variant:"rgba"},Jf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],qf=[],Wo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return rn(Ri,{...o,mode:t});case"rgb":return rn(Ri,{...o,mode:t});default:return rn(Ri,{...o,mode:t})}};Wo.options=Vf;Wo.states=Xf;Wo.variants=Jf;Wo.defaultOptions=Wf;Wo.modifiers=qf;Wo.className=Le.className;import{jsx as Yf}from"react/jsx-runtime";var nn=e=>Yf("tr",{role:"row",children:e.children});import{jsx as jf}from"react/jsx-runtime";var ln="k-colorpalette-tile",Zf=[n.hover,n.focus,n.selected],Qf={},Qt=e=>{let{color:t,tileSize:o,hover:a,focus:i,selected:l,...d}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return jf("td",{...d,role:"gridcell","aria-label":t,"aria-selected":l?"true":void 0,className:r(e.className,ln,y(ln,{hover:a,focus:i,selected:l})),style:m})};Qt.states=Zf;Qt.options=Qf;Qt.className=ln;Qt.moduleName=null;Qt.folderName=null;var Hs="color-palette",Us="colorpalette";import{jsx as Za}from"react/jsx-runtime";var Pi="k-colorpalette",eb=[n.disabled],tb={size:[p.undefined,p.small,p.medium,p.large]},Gs={columns:10},Ke=e=>{let{size:t,palette:o,columns:a=Gs.columns,tileSize:i,disabled:l,...d}=e,m=[];if(o){let f=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/f)},(b,N)=>{let c=[];h.slice(N*f,(N+1)*f).map((L,I)=>{c.push(Za(Qt,{color:L,tileSize:i},I))});let v=Za(nn,{children:c},N);m.push(v)})}return Za("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":l?"true":void 0,className:r(e.className,Pi,y(Pi,{disabled:l}),E(Pi,{size:t})),children:Za("table",{className:"k-colorpalette-table",role:"none",children:Za("tbody",{children:m.length>0?m:e.children})})})};Ke.states=eb;Ke.options=tb;Ke.className=Pi;Ke.defaultOptions=Gs;Ke.moduleName=Hs;Ke.folderName=Us;var wi=Ke;var Qa={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as ob}from"react/jsx-runtime";var $s=e=>ob(wi,{palette:Qa.basic,...e});import{jsx as zP}from"react/jsx-runtime";import{jsx as GP,jsxs as $P}from"react/jsx-runtime";import{jsx as db}from"react/jsx-runtime";var ab=Ke.options,ib=Ke.states,rb={...Ke.defaultOptions,variant:"basic"},nb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],lb={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}},sb=[],Jo=e=>{let{variant:t="basic",...o}=e,a=lb[t];return db($s,{columns:a.columns,palette:a,...o})};Jo.options=ab;Jo.states=ib;Jo.variants=nb;Jo.defaultOptions=rb;Jo.modifiers=sb;Jo.className=Ke.className;var Vs="color-editor",Xs="coloreditor";import{jsx as it,jsxs as qo}from"react/jsx-runtime";var Ki="k-coloreditor",pb=[n.focus],mb={size:[p.undefined,p.small,p.medium,p.large]},ja={view:"gradient",palette:Qa.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=ja.view,palette:a=ja.palette,color:i,currentColor:l,focus:d,focusView:m,dir:f,group:h,actionButtons:b=ja.actionButtons,canvasOrientation:N=ja.canvasOrientation,...c}=e;return qo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",Ki,E(Ki,{size:t}),y(Ki,{focus:d})),dir:f,children:[qo("div",{className:"k-coloreditor-header k-hstack",children:[it("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&qo(A,{fillMode:"flat",children:[it(s,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),it(s,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),it("div",{className:"k-spacer"}),qo("div",{className:"k-coloreditor-header-actions k-hstack",children:[it(s,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),qo("div",{className:"k-coloreditor-preview k-vstack",children:[it(Xt,{className:"k-coloreditor-preview-color",color:i}),it(Xt,{className:"k-coloreditor-current-color",color:l})]})]})]}),it("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?it(Le,{focus:m,size:t,canvasOrientation:N,role:"none",tabIndex:-1}):it(Ke,{palette:a,size:t})}),b&&qo(He,{className:"k-coloreditor-footer",alignment:"start",children:[it(s,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),it(s,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=pb;ne.options=mb;ne.className=Ki;ne.defaultOptions=ja;ne.moduleName=Vs;ne.folderName=Xs;var Yo=ne;import{jsx as Nw}from"react/jsx-runtime";import{jsx as Iw}from"react/jsx-runtime";import{jsx as cb}from"react/jsx-runtime";var Ws=e=>cb(Yo,{group:!0,currentColor:"fuchsia",...e});import{jsx as ub}from"react/jsx-runtime";var Js=e=>ub(Yo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as qs}from"react/jsx-runtime";var fb=ne.options,bb=ne.states,xb={...ne.defaultOptions,variant:"gradient"},hb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],gb=[],Zo=e=>{let{variant:t,...o}=e;return t==="palette"?qs(Js,{...o,color:"white"}):qs(Ws,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Zo.options=fb;Zo.states=bb;Zo.variants=hb;Zo.defaultOptions=xb;Zo.modifiers=gb;Zo.className=ne.className;var Ys="color-picker",Zs="colorpicker";import{Fragment as kb,jsx as rt,jsxs as sn}from"react/jsx-runtime";var Qs="k-colorpicker",Nb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],vb={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},js={arrowIconName:"chevron-down"},he=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=js.arrowIconName,prefix:l,suffix:d,value:m,placeholder:f,hover:h,focus:b,valid:N,invalid:c,required:v,disabled:L,valueIconName:I,popup:S,opened:M,adaptive:T,adaptiveSettings:K,adaptiveTitle:Y,adaptiveSubtitle:oe,...ae}=e,pe="colorpicker-popup";return sn(kb,{children:[sn(vt,{...ae,size:t,rounded:o,fillMode:a,hover:h,focus:b,valid:N,invalid:c,required:v,disabled:L,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||T?pe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":L?"true":void 0,className:r(e.className,Qs,"k-icon-picker"),children:[rt(be,{children:l}),rt(lo,{placeholder:f,value:m,showValue:!1,valueIcon:rt(Xt,{className:"k-value-icon",color:m,iconName:I}),valueIconName:I}),rt(xe,{children:d}),rt(s,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:L})]}),M&&S&&rt(J,{id:pe,className:"k-colorpicker-popup",children:S}),T&&rt(Z,{adaptive:!0,id:pe,...K,header:rt(ve,{actionsEnd:rt(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Y,subtitle:oe}),footer:sn(Wt,{children:[rt(s,{text:"Cancel",size:"large"}),rt(s,{text:"Set",size:"large",themeColor:"primary"})]}),children:rt(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};he.states=Nb;he.options=vb;he.className=Qs;he.defaultOptions=js;he.moduleName=Ys;he.folderName=Zs;var zt=he;import{jsx as Lb}from"react/jsx-runtime";var zi=e=>Lb(zt,{...e});import{jsx as n0}from"react/jsx-runtime";import{jsx as m0}from"react/jsx-runtime";import{jsx as b0}from"react/jsx-runtime";import{jsx as N0}from"react/jsx-runtime";import{jsx as I0}from"react/jsx-runtime";import{jsx as E0}from"react/jsx-runtime";import{jsx as fo}from"react/jsx-runtime";var Ib=zt.options,Sb=zt.states,ed={...zt.defaultOptions,variant:"color"},Mb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],yb=[{name:"opened",title:"Opened"}],Qo=e=>{let{variant:t,modifiers:o,...a}={...ed,...e},i={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?fo(ne,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let l=i.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return fo("div",{style:l,children:fo(zi,{...a,...i})});case"icon":return fo("div",{style:l,children:fo(zi,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return fo("div",{style:l,children:fo(zi,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};Qo.options=Ib;Qo.states=Sb;Qo.variants=Mb;Qo.defaultOptions=ed;Qo.modifiers=yb;Qo.className=zt.className;var dn="combobox",td=dn;import{Fragment as pn,jsx as ue,jsxs as ei}from"react/jsx-runtime";var od="k-combobox",Eb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Cb={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},mn={separators:!0,showClearButton:!0},Ie=e=>{let{size:t,rounded:o,fillMode:a,separators:i=mn.separators,showClearButton:l=mn.showClearButton,prefix:d,suffix:m,value:f,placeholder:h,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,popup:M,opened:T,readonly:K,adaptive:Y,adaptiveSettings:oe,adaptiveTitle:ae,adaptiveSubtitle:pe,adaptiveCustomValue:no,id:ht,autocomplete:Ot,activeDescendant:$t,"aria-label":Aa,...Oa}=e,Ra=ht?`${ht}-listbox`:void 0;return ei(pn,{children:[ei(V,{...Oa,size:t,rounded:o,fillMode:a,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:K,className:r(e.className,od),children:[d&&ei(pn,{children:[ue(be,{children:d}),i&&ue(ee,{})]}),ue(ce,{id:ht,placeholder:h,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Ra:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Ot,"aria-invalid":v?"true":void 0,"aria-busy":I?"true":void 0,"aria-label":Aa,disabled:S,readOnly:K}),ue(j,{valid:c,invalid:v,loading:I,disabled:S}),ue(ie,{loading:I,disabled:S}),l&&ue(me,{loading:I,disabled:S,readonly:K,value:f}),m&&ei(pn,{children:[i&&ue(ee,{}),ue(xe,{children:m})]}),ue(s,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),T&&M&&ue(J,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:M}),Y&&ue(Z,{adaptive:!0,id:ht?`${ht}-adaptive`:void 0,...oe,header:ue(ve,{actionsEnd:ue(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:h,title:ae,subtitle:pe}),children:ue("div",{className:"k-list-container",children:ue(w,{customValue:no?ue(ot,{text:`Use "${f}"`}):void 0,size:"large",children:ei(z,{"aria-label":ae||"Options",children:[ue(C,{text:"List item"}),ue(C,{text:"List item"}),ue(C,{text:"List item"})]})})})})]})};Ie.states=Eb;Ie.options=Cb;Ie.className=od;Ie.defaultOptions=mn;Ie.moduleName=dn;Ie.folderName=td;var Ue=Ie;import{jsx as Bb}from"react/jsx-runtime";var ad=e=>Bb(Ue,{...e});import{jsx as dK,jsxs as pK}from"react/jsx-runtime";import{jsx as xK,jsxs as hK}from"react/jsx-runtime";import{jsx as IK,jsxs as SK}from"react/jsx-runtime";import{Fragment as TK,jsx as BK}from"react/jsx-runtime";import{Fragment as KK,jsx as wK}from"react/jsx-runtime";import{jsx as UK,jsxs as GK}from"react/jsx-runtime";import{Fragment as ZK,jsx as qK,jsxs as YK}from"react/jsx-runtime";import{jsx as tz}from"react/jsx-runtime";import{jsx as rz}from"react/jsx-runtime";import{jsx as mz,jsxs as cz}from"react/jsx-runtime";import{jsx as gz,jsxs as Nz}from"react/jsx-runtime";import{jsx as jt,jsxs as wb}from"react/jsx-runtime";var Tb=Ie.states,Ab=Ie.defaultOptions,Ob=Ie.options,Rb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Pb=[],jo=e=>{let{modifiers:t,...o}=e,a={},i=jt(w,{style:{width:300},size:o.size,children:wb(z,{children:[jt(C,{children:"List item"}),jt(C,{children:"List item"}),jt(C,{children:"List item"})]})});return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?jt(g,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[l]?jt(Rt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0;break;default:break}}),jt("div",{children:jt(ad,{value:"Value",style:{width:300},...o,...a})})};jo.options=Ob;jo.states=Tb;jo.variants=Pb;jo.defaultOptions=Ab;jo.modifiers=Rb;jo.className=Ie.className;var cn="menu-button",id=cn;import{jsx as _b}from"react/jsx-runtime";var rd="k-menu-button",Kb=[n.hover,n.focus,n.active,n.selected,n.disabled],zb={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},un={showArrow:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,icon:b,endIcon:N,text:c,showArrow:v=un.showArrow,arrowIconName:L=un.arrowIconName,expanded:I,...S}=e;return _b(s,{...S,className:r(e.className,rd),text:c,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,ariaDisabled:h||void 0,icon:b,endIcon:N,showArrow:v,arrowIconName:L,"aria-expanded":I?"true":"false",...!c&&b&&!e["aria-label"]&&{"aria-label":"Menu"}})};W.states=Kb;W.options=zb;W.className=rd;W.defaultOptions=un;W.moduleName=cn;W.folderName=id;import{jsx as Qz}from"react/jsx-runtime";import{jsx as o_}from"react/jsx-runtime";import{jsx as n_}from"react/jsx-runtime";import{jsx as p_}from"react/jsx-runtime";var Ge="menu",nt=Ge;import{jsx as oi,jsxs as nd}from"react/jsx-runtime";var fn="k-menu-item",Db=[n.hover,n.focus,n.active,n.selected,n.disabled],Fb={},ld={iconPosition:"before"},Me=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:d,text:m,showArrow:f,arrowIconName:h,iconPosition:b=ld.iconPosition,dir:N,children:c,expanded:v,...L}=e,I=h;return I||(I=N==="rtl"?"chevron-left":"chevron-right"),nd("li",{...L,className:r(e.className,fn,"k-item",y(fn,{focus:o,disabled:l,hover:t,active:a,selected:i})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":v?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[nd("span",{className:r("k-link k-menu-link"),children:[d&&b==="before"&&oi(g,{className:"k-menu-link-icon",icon:d}),oi("span",{className:"k-menu-link-text",children:m}),d&&b==="after"&&oi(g,{className:"k-menu-link-icon",icon:d}),f&&oi("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:oi(g,{icon:I})})]}),c]})};Me.states=Db;Me.options=Fb;Me.className=fn;Me.defaultOptions=ld;Me.moduleName=Ge;Me.folderName=nt;import{jsx as bo,jsxs as sd}from"react/jsx-runtime";var bn="k-menu-item",Hb=[n.hover,n.focus,n.active,n.selected,n.disabled],Ub={},xn={dir:"ltr",iconPosition:"before"},Q=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:d,text:m,showArrow:f,arrowIconName:h,iconPosition:b=xn.iconPosition,dir:N=xn.dir,children:c,popup:v,expanded:L,actions:I,description:S,...M}=e,T=h;return T||(T=N==="rtl"?"chevron-left":"chevron-right"),sd("li",{role:"menuitem",...M,className:r(e.className,bn,"k-item",y(bn,{focus:o,disabled:l})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":L?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[sd("span",{className:r("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:i,disabled:l})),children:[d&&b==="before"&&bo(g,{className:"k-menu-link-icon",icon:d}),bo("span",{className:"k-menu-link-text",children:m}),d&&b==="after"&&bo(g,{className:"k-menu-link-icon",icon:d}),I&&bo("span",{className:"k-menu-link-actions",children:I}),f&&bo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:bo(g,{icon:T})}),S&&bo("span",{className:"k-menu-link-description",children:S})]}),c,v]})};Q.states=Hb;Q.options=Ub;Q.className=bn;Q.defaultOptions=xn;Q.moduleName=Ge;Q.folderName=nt;import{jsx as Xb}from"react/jsx-runtime";var dd="k-menu-scroll-wrapper",Gb=[],$b={},Vb={},xo=e=>{let{className:t,children:o,orientation:a,...i}=e;return Xb("div",{...i,className:r(t,dd,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};xo.states=Gb;xo.options=$b;xo.className=dd;xo.defaultOptions=Vb;xo.moduleName=Ge;xo.folderName=nt;var pd=xo;import{Fragment as hn,jsx as ho,jsxs as _i}from"react/jsx-runtime";var Di="k-menu",Wb=[],Jb={size:[p.undefined,p.small,p.medium,p.large]},Fi={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Se=e=>{let{children:t,orientation:o=Fi.orientation,header:a=Fi.header,scrollable:i,scrollButtonsPosition:l=Fi.scrollButtonsPosition,wrapperStyles:d,dir:m,size:f,popup:h,contextMenu:b,...N}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},v=ho("ul",{dir:m,...N,className:r(e.className,"k-reset",Di,{[`${Di}-${o}`]:o,"k-header":a},E(Di,{size:f})),role:b?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return _i(hn,{children:[i?_i(pd,{orientation:o,style:d,dir:e.dir,children:[l==="start"&&_i(hn,{children:[ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),l==="around"&&ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),v,l==="end"&&_i(hn,{children:[ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),l==="around"&&ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):v,h]})};Se.states=Wb;Se.options=Jb;Se.className=Di;Se.defaultOptions=Fi;Se.moduleName=Ge;Se.folderName=nt;import{jsx as qb}from"react/jsx-runtime";var gn="k-separator",md={orientation:"horizontal"},ea=e=>{let{orientation:t=md.orientation,...o}=e;return qb("li",{...o,className:r(e.className,"k-item",gn,{[`${gn}-${t}`]:t}),role:"separator"})};ea.className=gn;ea.defaultOptions=md;ea.moduleName=Ge;ea.folderName=nt;import{Fragment as D_,jsx as F_}from"react/jsx-runtime";import{jsx as jb}from"react/jsx-runtime";var Nn="k-menu-group",Yb=[],Zb={size:[p.undefined,p.small,p.medium,p.large]},Qb={},ye=e=>{let{children:t,size:o,...a}=e;return jb("ul",{role:"menu",...a,className:r(e.className,Nn,E(Nn,{size:o})),children:t})};ye.states=Yb;ye.options=Zb;ye.className=Nn;ye.defaultOptions=Qb;ye.moduleName=Ge;ye.folderName=nt;import{jsx as q_,jsxs as Y_}from"react/jsx-runtime";import{Fragment as ex,jsx as ta,jsxs as tx}from"react/jsx-runtime";var vn=e=>ta(Se,{children:tx(ex,{children:[ta(Me,{text:"Item 1"}),ta(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),ta(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),ta(Me,{text:"Item 4"}),ta(Me,{text:"Item 5"})]}),...e});import{Fragment as nD,jsx as iD,jsxs as rD}from"react/jsx-runtime";import{Fragment as mD,jsx as pD,jsxs as cD}from"react/jsx-runtime";import{Fragment as hD,jsx as xD,jsxs as gD}from"react/jsx-runtime";import{Fragment as ID,jsx as LD,jsxs as SD}from"react/jsx-runtime";import{jsx as go,jsxs as nx}from"react/jsx-runtime";var ox={...Se.options,scrollable:{type:"boolean"}},ax=Se.states,cd={...Se.defaultOptions,variant:"horizontal"},ix=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rx=[{name:"opened",title:"Opened"}],oa=e=>{let{variant:t,modifiers:o,...a}={...cd,...e},i={},l=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?go(J,{className:"k-menu-popup",offset:l,children:nx(ye,{children:[go(Q,{text:"Item 1"}),go(Q,{text:"Item 2"}),go(ea,{}),go(Q,{text:"Item 3"})]})}):null)}),t==="vertical"?go(vn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):go(vn,{...a,...i})};oa.options=ox;oa.states=ax;oa.variants=ix;oa.defaultOptions=cd;oa.modifiers=rx;oa.className=Se.className;import{Fragment as a1,jsx as t1,jsxs as o1}from"react/jsx-runtime";import{jsx as l1}from"react/jsx-runtime";import{Fragment as mx,jsx as Et,jsxs as ud}from"react/jsx-runtime";var lx=s.states,fd={...s.defaultOptions,variant:"text"},sx=s.options,dx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],px=[{name:"opened",title:"Opened"}],aa=e=>{let{variant:t,modifiers:o,...a}={...fd,...e},i={},l=Et(J,{className:"k-menu-popup",children:ud(ye,{size:a.size,children:[Et(Q,{text:"Menu Item"}),Et(Q,{text:"Menu Item"}),Et(Q,{text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=Et("div",{children:Et(W,{...a,...i,icon:"star"})});break;case"icon-and-text":d=Et("div",{children:Et(W,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:d=Et("div",{children:Et(W,{...a,...i,children:"Dropdown Button"})});break}return ud(mx,{children:[d,o?.opened&&l]})};aa.options=sx;aa.states=lx;aa.variants=dx;aa.defaultOptions=fd;aa.modifiers=px;aa.className=W.className;var kn="split-button",bd=kn;import{Fragment as fx,jsx as Ln,jsxs as xd}from"react/jsx-runtime";var In="k-split-button",cx=[n.hover,n.focus,n.active,n.selected,n.disabled],ux={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},hd={arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,icon:b,endIcon:N,text:c,arrowIconName:v=hd.arrowIconName,popup:L,opened:I,popupId:S,...M}=e;return xd(fx,{children:[xd("div",{...M,className:r(e.className,In,"k-button-group",E(In,{rounded:o})),children:[Ln(s,{text:c,icon:b,endIcon:N,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,...!c&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),Ln(s,{className:"k-split-button-arrow",icon:v,size:t,rounded:o,fillMode:a,disabled:h,ariaDisabled:h||void 0,"aria-label":"Toggle dropdown","aria-expanded":I?"true":"false","aria-controls":I?S:void 0,tabIndex:-1})]}),I&&L&&Ln(J,{className:"k-menu-popup",children:L})]})};D.states=cx;D.options=ux;D.className=In;D.defaultOptions=hd;D.moduleName=kn;D.folderName=bd;var Sn=D;import{jsx as xx}from"react/jsx-runtime";var bx="k-toolbar-separator",Ee=e=>xx("div",{className:r(bx,e.className,"k-separator")});var No="toolbar",ia=No;import{Fragment as Mn,jsx as H,jsxs as ra}from"react/jsx-runtime";var _t="k-toolbar",hx=[n.focus],gx={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Nx={scrollButtons:"around"},q=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:l,scrollButtons:d,scrollingPosition:m,section:f,...h}=e,b=[],N=(c,v)=>{let L=[];if(c.type===s&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))L.push(H(s,{...c.props,className:`${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===s)L.push(H(s,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===_a)L.push(H(_a,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===Rt)L.push(H(Rt,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===W)L.push(H(W,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===Sn)L.push(H(Sn,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===A||c.props.className&&c.props.className.includes("k-button-group")){let I=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((M,T)=>{I.push(H(s,{...M.props,className:`${M.props.className?M.props.className:""}`},`${T}-${new Date().getTime()}`))}),L.push(H(A,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:I},`${v}-${new Date().getTime()}`))}else c.type===Ie?L.push(H(Ie,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===$?L.push(H($,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===he?L.push(H(he,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):L.push(c);L.forEach(I=>{b.push(I)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,L)=>{N(v,L)}),ra("div",{...h,className:r(e.className,_t,E(_t,{size:t,fillMode:o}),y(_t,{focus:a}),{[`${_t}-resizable`]:i,[`${_t}-scrollable`]:l,[`${_t}-scrollable-overlay`]:l&&d==="hidden",[`${_t}-scrollable-${m}`]:m&&m!=="both",[`${_t}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!l&&b,l&&d==="hidden"&&H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),l&&d==="start"&&ra(Mn,{children:[ra(A,{children:[H("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(g,{className:"k-button-icon",icon:"chevron-left"})}),H("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(g,{className:"k-button-icon",icon:"chevron-right"})})]}),H(Ee,{className:"k-toolbar-button-separator"}),H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),l&&d==="end"&&ra(Mn,{children:[H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),H(Ee,{className:"k-toolbar-button-separator"}),ra(A,{children:[H("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(g,{className:"k-button-icon",icon:"chevron-left"})}),H("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(g,{className:"k-button-icon",icon:"chevron-right"})})]})]}),l&&(d==="around"||!d)&&ra(Mn,{children:[H("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(g,{className:"k-button-icon",icon:"chevron-left"})}),H(Ee,{className:"k-toolbar-button-separator"}),H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),H(Ee,{className:"k-toolbar-button-separator"}),H("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(g,{className:"k-button-icon",icon:"chevron-right"})})]})]})};q.states=hx;q.options=gx;q.className=_t;q.defaultOptions=Nx;q.moduleName=No;q.folderName=ia;import{jsx as Ix}from"react/jsx-runtime";var yn="k-toolbar-item",vx=[n.focus],kx={},Lx={},Ct=e=>{let{focus:t,...o}=e;return Ix("div",{...o,className:r(e.className,yn,y(yn,{focus:t})),children:e.children})};Ct.states=vx;Ct.options=kx;Ct.className=yn;Ct.defaultOptions=Lx;Ct.moduleName=No;Ct.folderName=ia;import{jsx as gd}from"react/jsx-runtime";var Nd="k-toolbar-popup",Sx=[],Mx={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},yx={},vo=e=>{let{size:t,fillMode:o,section:a,...i}=e;return gd(J,{...i,className:r(e.className,Nd),children:a?gd("span",{className:r("k-toolbar-items-list",E("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};vo.states=Sx;vo.options=Mx;vo.className=Nd;vo.defaultOptions=yx;vo.moduleName=No;vo.folderName=ia;var Hi=vo;import{jsx as lF}from"react/jsx-runtime";import{jsx as mF}from"react/jsx-runtime";import{jsx as bF}from"react/jsx-runtime";import{jsx as NF}from"react/jsx-runtime";import{jsx as MF,jsxs as yF}from"react/jsx-runtime";import{jsx as TF}from"react/jsx-runtime";import{jsx as Dt,jsxs as Ax}from"react/jsx-runtime";var Ex=D.states,vd={...D.defaultOptions,variant:"text"},Cx=D.options,Bx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Tx=[{name:"opened",title:"Opened"}],na=e=>{let{variant:t,modifiers:o,...a}={...vd,...e},i={},l=Ax(ye,{size:a.size,children:[Dt(Q,{text:"Menu Item"}),Dt(Q,{text:"Menu Item"}),Dt(Q,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?l:"")}),t){case"icon-only":return Dt("div",{children:Dt(D,{...a,...i,icon:"star"})});case"icon-and-text":return Dt("div",{children:Dt(D,{...a,...i,icon:"star",children:"Split Button"})});default:return Dt("div",{children:Dt(D,{...a,...i,children:"Split Button"})})}};na.options=Cx;na.states=Ex;na.variants=Bx;na.defaultOptions=vd;na.modifiers=Tx;na.className=D.className;import{jsx as ko,jsxs as Ox}from"react/jsx-runtime";var kd=e=>ko(q,{children:[ko(s,{children:"Button"},"toolbar-button"),ko(W,{text:"Menu button"},"toolbar-menu-button"),ko(D,{children:"Split button"},"toolbar-split-button"),Ox(A,{children:[ko(s,{className:"k-group-start",icon:"align-left",children:"Left"}),ko(s,{icon:"align-center",children:"Center"}),ko(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as nH,jsxs as lH}from"react/jsx-runtime";import{jsx as $e,jsxs as Ld}from"react/jsx-runtime";var Id=e=>$e(q,{scrollable:!0,...e,children:[$e(s,{children:"Button"},"toolbar-button"),$e(W,{text:"Menu button"},"toolbar-menu-button"),$e(D,{children:"Split button"},"toolbar-split-button"),Ld(A,{children:[$e(s,{className:"k-group-start",icon:"align-left",children:"Left"}),$e(s,{icon:"align-center",children:"Center"}),$e(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),$e(s,{children:"Button"},"toolbar-button"),$e(W,{text:"Menu button"},"toolbar-menu-button"),$e(D,{children:"Split button"},"toolbar-split-button"),Ld(A,{children:[$e(s,{className:"k-group-start",icon:"align-left",children:"Left"}),$e(s,{icon:"align-center",children:"Center"}),$e(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Ve,jsxs as Sd}from"react/jsx-runtime";var Md=({scrollingPosition:e="start",...t})=>Ve(q,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Ve(s,{children:"Button"},"toolbar-button"),Ve(W,{text:"Menu button"},"toolbar-menu-button"),Ve(D,{children:"Split button"},"toolbar-split-button"),Sd(A,{children:[Ve(s,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(s,{icon:"align-center",children:"Center"}),Ve(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ve(s,{children:"Button"},"toolbar-button"),Ve(W,{text:"Menu button"},"toolbar-menu-button"),Ve(D,{children:"Split button"},"toolbar-split-button"),Sd(A,{children:[Ve(s,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(s,{icon:"align-center",children:"Center"}),Ve(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Rx,jsx as ze,jsxs as Ui}from"react/jsx-runtime";var yd=({fillMode:e,size:t,...o})=>Ui(Rx,{children:[ze(q,{section:!0,fillMode:e,size:t,children:[ze(s,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Ui(A,{fillMode:e,children:[ze(s,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(s,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(s,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ze(Ee,{className:"k-toolbar-button-separator"}),ze(s,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Ui(Hi,{size:t,fillMode:e,section:!0,...o,children:[ze(D,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ze(s,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ze(Ee,{}),ze(W,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Ui(A,{fillMode:e,children:[ze(s,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(s,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(s,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as FH,jsx as _H,jsxs as DH}from"react/jsx-runtime";import{Fragment as ZH,jsx as qH,jsxs as YH}from"react/jsx-runtime";import{jsx as eo}from"react/jsx-runtime";var Px=q.options,wx=q.states,Ed={...q.defaultOptions,variant:"default"},Kx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],zx=[],la=e=>{let{variant:t,...o}={...Ed,...e};switch(t){case"responsive":return eo("div",{children:eo(yd,{style:{width:"583px"},...o})});case"overlay":return eo("div",{children:eo(Md,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return eo("div",{children:eo(Id,{style:{width:"583px"},...o})});default:return eo("div",{children:eo(kd,{style:{width:"583px"},...o})})}};la.options=Px;la.states=wx;la.variants=Kx;la.defaultOptions=Ed;la.modifiers=zx;la.className=q.className;var En="autocomplete",Cd=En;import{Fragment as Cn,jsx as ge,jsxs as ai}from"react/jsx-runtime";var Bd="k-autocomplete",_x=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Dx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Bn={separators:!0,showClearButton:!0},Xe=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Bn.separators,showClearButton:l=Bn.showClearButton,prefix:d,suffix:m,value:f,placeholder:h,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,popup:M,opened:T,readonly:K,adaptive:Y,adaptiveSettings:oe,adaptiveTitle:ae,adaptiveSubtitle:pe,adaptiveCustomValue:no,id:ht,autocomplete:Ot,activeDescendant:$t,"aria-label":Aa,...Oa}=e,Ra=ht?`${ht}-listbox`:void 0;return ai(Cn,{children:[ai(V,{...Oa,size:t,rounded:o,fillMode:a,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:K,className:r(e.className,Bd),children:[d&&ai(Cn,{children:[ge(be,{children:d}),i&&ge(ee,{})]}),ge(ce,{placeholder:h,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Ra:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Ot,"aria-invalid":v?"true":void 0,"aria-busy":I?"true":void 0,"aria-label":Aa,disabled:S,readOnly:K}),ge(j,{valid:c,invalid:v,loading:I,disabled:S}),ge(ie,{loading:I,disabled:S}),l&&ge(me,{loading:I,disabled:S,readonly:K,value:f}),m&&ai(Cn,{children:[i&&ge(ee,{}),ge(xe,{children:m})]})]}),T&&M&&ge(J,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:M}),Y&&ge(Z,{adaptive:!0,...oe,header:ge(ve,{actionsEnd:ge(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:h,title:ae,subtitle:pe}),children:ge("div",{className:"k-list-container",children:ge(w,{customValue:no?ge(ot,{text:`Use "${f}"`}):void 0,size:"large",children:ai(z,{"aria-label":"Options",children:[ge(C,{text:"List item"}),ge(C,{text:"List item"}),ge(C,{text:"List item"})]})})})})]})};Xe.states=_x;Xe.options=Dx;Xe.className=Bd;Xe.defaultOptions=Bn;Xe.moduleName=En;Xe.folderName=Cd;var Bt=Xe;import{jsx as Fx}from"react/jsx-runtime";var Td=e=>Fx(Bt,{id:B("ac"),"aria-label":"Search",...e});import{jsx as D2,jsxs as F2}from"react/jsx-runtime";import{jsx as V2}from"react/jsx-runtime";import{Fragment as Q2,jsx as Z2}from"react/jsx-runtime";import{Fragment as r3,jsx as i3}from"react/jsx-runtime";import{jsx as m3,jsxs as c3}from"react/jsx-runtime";import{jsx as g3,jsxs as N3}from"react/jsx-runtime";import{jsx as M3,jsxs as y3}from"react/jsx-runtime";import{jsx as A3}from"react/jsx-runtime";import{jsx as Lo,jsxs as Xx}from"react/jsx-runtime";var Hx=U.states,Ux=U.defaultOptions,Gx=U.options,$x=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Vx=[],sa=e=>{let{modifiers:t,...o}=e,a={},i=Lo(w,{style:{width:300},size:o.size,children:Xx(z,{children:[Lo(C,{children:"List item"}),Lo(C,{children:"List item"}),Lo(C,{children:"List item"})]})});return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?Lo(g,{icon:"search"}):void 0;break;case"suffix":a.suffix=t?.[l]?Lo(Nt,{size:o.size,fillMode:"clear",children:"Search"}):void 0;break;case"opened":a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0;break;default:break}}),Lo(Td,{value:"Value",style:{width:300},...o,...a})};sa.options=Gx;sa.states=Hx;sa.variants=Vx;sa.defaultOptions=Ux;sa.modifiers=$x;sa.className=Xe.className;import{jsx as lt}from"react/jsx-runtime";var Ad="k-imageeditor-toolbar",Wx=[],Jx={},qx=[lt(s,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"},"toolbar-button-1"),lt(Ee,{},"toolbar-separator-1"),lt(s,{fillMode:"flat",icon:"undo","aria-label":"Undo"},"toolbar-button-2"),lt(s,{fillMode:"flat",icon:"redo","aria-label":"Redo"},"toolbar-button-3"),lt(Ee,{},"toolbar-separator-2"),lt(s,{fillMode:"flat",icon:"download","aria-label":"Download"},"toolbar-button-4"),lt("div",{className:"k-spacer"},"toolbar-spacer"),lt(s,{fillMode:"flat",icon:"zoom-in","aria-label":"Zoom In"},"toolbar-button-5"),lt(Ct,{children:lt(Xe,{fillMode:"flat",value:"Fit",showClearButton:!1,"aria-label":"Zoom options"})},"toolbar-item-1"),lt(s,{fillMode:"flat",icon:"zoom-out","aria-label":"Zoom Out"},"toolbar-button-6")],Od={toolbarItems:qx},da=e=>{let{toolbarItems:t=Od.toolbarItems,...o}=e;return lt(q,{...o,className:r(e.className,Ad),fillMode:"flat",children:t})};da.states=Wx;da.options=Jx;da.className=Ad;da.defaultOptions=Od;import{jsx as Ae}from"react/jsx-runtime";var Tn="k-imageeditor-sidebar",Yx=[Ae(s,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),Ae(s,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),Ae(s,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),Ae("div",{className:"k-separator"},"sidebar-separator-1"),Ae(s,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),Ae(s,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),Ae("div",{className:"k-separator"},"sidebar-separator-2"),Ae(s,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),Ae(s,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),Ae(s,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),Ae("div",{className:"k-separator"},"sidebar-separator-3"),Ae(s,{fillMode:"flat",icon:"frame-corners","aria-label":"Frame"},"sidebar-button-9"),Ae(s,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],Rd={sidebarItems:Yx,scrollable:!1},Pd=e=>{let{sidebarItems:t=Rd.sidebarItems,scrollable:o=Rd.scrollable,scrollingPosition:a,...i}=e;return Ae("div",{...i,className:r(e.className,Tn,{[`${Tn}-scrollable`]:o,[`${Tn}-scrollable-${a}`]:a&&a!=="both"}),children:Ae("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??e.children})})};var ii="loader",Gi=ii;import{Fragment as An,jsx as wd,jsxs as $i}from"react/jsx-runtime";var On="k-loader",Zx={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},Qx=[],jx={size:[p.undefined,p.small,p.medium,p.large],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary]},Kd={animation:"pulsing"},le=e=>{let{size:t,themeColor:o,animation:a=Kd.animation,...i}=e,l=wd("span",{className:"k-loader-segment"});return wd("div",{...i,className:r(e.className,On,{[`k-loader-${Zx[a]||a}`]:a},E(On,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:$i("div",{className:"k-loader-canvas",children:[a==="pulsing"&&$i(An,{children:[l,l]}),a==="infinite-spinner"&&$i(An,{children:[l,l,l]}),a==="converging-spinner"&&$i(An,{children:[l,l,l,l]})]})})};le.states=Qx;le.options=jx;le.className=On;le.defaultOptions=Kd;le.moduleName=ii;le.folderName=Gi;var zd=le;import{jsx as Rn,jsxs as _d}from"react/jsx-runtime";var Pn="k-loader-container",eh=[],th={size:[p.undefined,p.small,p.medium,p.large],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary]},Vi={loaderType:"pulsing",position:"top",panel:!1},Io=e=>{let{size:t,themeColor:o,loaderType:a=Vi.loaderType,position:i=Vi.position,panel:l=Vi.panel,...d}=e;return _d("div",{...d,className:r(e.className,Pn,E(Pn,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":d["aria-label"]||"Loading",children:[Rn(os,{className:"k-loader-container-overlay"}),_d("div",{className:r("k-loader-container-inner",{"k-loader-container-panel":l}),children:[Rn(zd,{size:t,themeColor:o,animation:a}),Rn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};Io.states=eh;Io.options=th;Io.className=Pn;Io.defaultOptions=Vi;Io.moduleName=ii;Io.folderName=Gi;import{jsx as SU}from"react/jsx-runtime";import{jsx as CU}from"react/jsx-runtime";import{jsx as OU}from"react/jsx-runtime";import{jsx as KU}from"react/jsx-runtime";import{jsx as wn}from"react/jsx-runtime";var oh=le.options,ah=le.states,ih={...le.defaultOptions,variant:"infinite-spinner"},rh=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],nh=[],pa=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return wn(le,{animation:"pulsing",...o});case"converging-spinner":return wn(le,{animation:"converging-spinner",...o});default:return wn(le,{animation:"infinite-spinner",...o})}};pa.options=oh;pa.states=ah;pa.variants=rh;pa.defaultOptions=ih;pa.modifiers=nh;pa.className=le.className;var Dd="image-editor",Fd="imageeditor";import{Fragment as Hd,jsx as Tt,jsxs as ri}from"react/jsx-runtime";var Kn="k-imageeditor",lh=[],sh={},dh={},te=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,placeholder:i,contentHeight:l,exporting:d,adaptive:m,sidebarScrollable:f,sidebarScrollingPosition:h,children:b,...N}=e,c=Tt("div",{className:"k-imageeditor-canvas-container",children:i??Tt("div",{className:"k-imageeditor-canvas",children:b})}),v=o&&Tt("div",{className:"k-imageeditor-action-pane",children:o}),L=Tt(Pd,{sidebarItems:a,scrollable:f,scrollingPosition:h});return ri("div",{...N,className:r(e.className,Kn,{[`${Kn}-adaptive`]:m}),children:[Tt("div",{className:"k-imageeditor-header",children:Tt(da,{toolbarItems:t})}),Tt("div",{className:"k-imageeditor-content",style:{height:l},children:m?ri(Hd,{children:[c,v,L]}):ri(Hd,{children:[L,v,c]})}),d&&ri("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[Tt(ut,{className:"k-loader-container-overlay"}),ri("div",{className:"k-loader-container-inner k-loader-container-panel",children:[Tt(le,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),Tt("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};te.states=lh;te.options=sh;te.className=Kn;te.defaultOptions=dh;te.moduleName=Dd;te.folderName=Fd;import{Fragment as Xi,jsx as to,jsxs as ni}from"react/jsx-runtime";var zn="k-upload-dropzone",ph=[n.hover],Wi=e=>{let{hover:t,status:o,disabled:a,hasFiles:i,filesId:l,buttonText:d="Select files...",...m}=e,f;switch(o){case"uploading":f=ni(Xi,{children:[to(g,{icon:"upload"}),"Uploading..."]});break;case"done":f=ni(Xi,{children:[to(g,{icon:"check"}),"Done"]});break;case"failed":f=ni(Xi,{children:[to(g,{icon:"exclamation-circle"}),"Done"]});break;default:f=to(Xi,{});break}return ni("div",{...m,className:r(e.className,zn,"k-dropzone",y(zn,{hover:t})),children:[ni("div",{className:"k-upload-button-wrap",children:[to(s,{className:"k-upload-button","aria-disabled":a?"true":"false",...i&&l?{"aria-controls":l}:{},children:d}),to("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),to("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&to("span",{className:"k-upload-status",children:f})]})};Wi.states=ph;Wi.className=zn;var _n="upload",Ud=_n;import{jsx as Ji,jsxs as $d}from"react/jsx-runtime";var Dn="k-upload",mh=[n.hover,n.disabled],ch={},Vd={actionsLayout:"end"},Gd="upload-files-list",Ne=e=>{let{async:t,empty:o,actions:a,actionsLayout:i=Vd.actionsLayout,hover:l,status:d,disabled:m,buttonText:f,...h}=e,b=!!e.children;return $d("div",{...h,className:r(e.className,Dn,y(Dn,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Ji(Wi,{status:d,hover:l,disabled:m,hasFiles:b,filesId:Gd,buttonText:f}),b&&Ji("ul",{className:"k-upload-files",role:"list",id:Gd,children:e.children}),a&&b&&$d(Vl,{alignment:i,orientation:"horizontal",children:[Ji(s,{className:"k-clear-selected",children:"Clear"}),Ji(s,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};Ne.states=mh;Ne.options=ch;Ne.className=Dn;Ne.defaultOptions=Vd;Ne.moduleName=_n;Ne.folderName=Ud;var li="progressbar",qi=li;import{jsx as Hn,jsxs as Fn}from"react/jsx-runtime";var st="k-progressbar",uh=[n.disabled,n.indeterminate],fh={orientation:["horizontal","vertical"]},So={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Oe=e=>{let{disabled:t,height:o,indeterminate:a=So.indeterminate,label:i=So.label,labelPosition:l=So.labelPosition,orientation:d=So.orientation,reverse:m=So.reverse,value:f=So.value,width:h,style:b,ariaLabel:N,...c}=e;return Fn("div",{...c,className:r(e.className,st,y(st,{disabled:t}),{[`${st}-${d}`]:d,[`${st}-indeterminate`]:a,[`${st}-reverse`]:m}),style:{...b,"--kendo-progressbar-value":f,[d==="horizontal"?"height":"width"]:d==="horizontal"?o:h},role:"progressbar","aria-label":N||"progress","aria-valuenow":a?void 0:Number(f),"aria-valuemin":0,"aria-valuemax":100,children:[Hn("span",{className:r("k-progress-status-wrap",{[`k-progress-${l}`]:l&&!a}),children:i&&Fn("span",{className:"k-progress-status",children:[f,"%"]})}),!a&&Hn("div",{className:"k-progressbar-value k-selected",children:Hn("span",{className:r("k-progress-status-wrap",{[`k-progress-${l}`]:l}),children:i&&Fn("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Oe.states=uh;Oe.options=fh;Oe.className=st;Oe.defaultOptions=So;Oe.moduleName=li;Oe.folderName=qi;var Xd=Oe;import{jsx as Un}from"react/jsx-runtime";var Wd="k-chunk-progressbar",bh=(e,t)=>t<=e-1,xh=[n.disabled,n.indeterminate],hh={},Yi={chunkCount:5,orientation:"horizontal",progress:0},ma=e=>{let{disabled:t,chunkCount:o=Yi.chunkCount,indeterminate:a,orientation:i=Yi.orientation,progress:l=Yi.progress,reverse:d,ariaLabel:m,...f}=e;return Un("div",{...f,className:r(e.className,st,Wd,y(st,{disabled:t}),{[`${st}-${i}`]:i,[`${st}-indeterminate`]:a,[`${st}-reverse`]:d}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:l,"aria-valuemin":0,"aria-valuemax":o,children:Un("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((h,b)=>Un("li",{className:r("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":bh(l,b)})},b))})})};ma.states=xh;ma.options=hh;ma.className=Wd;ma.defaultOptions=Yi;ma.moduleName=li;ma.folderName=qi;import{jsx as gh}from"react/jsx-runtime";var si=e=>gh(Xd,{...e});import{jsx as P5}from"react/jsx-runtime";import{jsx as oo}from"react/jsx-runtime";var Nh=Oe.options,vh=Oe.states,Jd={...Oe.defaultOptions,variant:"start"},kh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Lh=[],ca=e=>{let{variant:t,modifiers:o,...a}={...Jd,...e},i={},l={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(d=>{switch(d){case"reverse":i.reverse=!!o?.[d];break;case"vertical":i.orientation=o?.[d]?"vertical":void 0,l.style=o?.[d]?void 0:{width:"324px"};break}}),t){case"end":return oo("div",{...l,children:oo(si,{...a,...i,labelPosition:"end",value:"50"})});case"center":return oo("div",{...l,children:oo(si,{...a,...i,labelPosition:"center",value:"50"})});case"empty":return oo("div",{...l,children:oo(si,{...a,...i,label:!1,value:"50"})});default:return oo("div",{...l,children:oo(si,{...a,...i,labelPosition:"start",value:"50"})})}};ca.options=Nh;ca.states=vh;ca.variants=kh;ca.defaultOptions=Jd;ca.modifiers=Lh;ca.className=Oe.className;import{jsx as Gn,jsxs as Sh}from"react/jsx-runtime";var Ih="k-file-info",$n=e=>{let{name:t,size:o,validationMsg:a,...i}=e;return Sh("div",{...i,className:r(e.className,Ih),children:[t&&Gn("span",{className:"k-file-name",children:t}),o&&Gn("span",{className:"k-file-size",children:o}),a&&Gn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as yh,jsx as Ft,jsxs as Zi}from"react/jsx-runtime";var Mh="k-file",_e=e=>{let{status:t,progress:o,name:a,icon:i,size:l,state:d,validationMsg:m,...f}=e;return Ft("li",{...f,className:r(e.className,Mh,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:Zi("div",{className:"k-file-single",children:[Ft(Oe,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),Zi("span",{className:"k-file-icon-wrapper",children:[Ft(g,{className:"k-file-icon",icon:i,size:"xxlarge"}),d&&Ft("span",{className:"k-file-state",children:d})]}),Ft($n,{name:a,size:l,validationMsg:m}),Ft("div",{className:"k-upload-actions",children:t==="progress"?Zi(yh,{children:[Zi("span",{className:"k-upload-pct",children:[o,"%"]}),Ft(s,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),Ft(s,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):Ft(s,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as p6,jsx as s6,jsxs as d6}from"react/jsx-runtime";import{Fragment as Eh,jsx as Vn,jsxs as Ch}from"react/jsx-runtime";var di=e=>Vn(Ne,{async:!0,children:Ch(Eh,{children:[Vn(_e,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),Vn(_e,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as v6,jsx as g6,jsxs as N6}from"react/jsx-runtime";import{jsx as Bh}from"react/jsx-runtime";var Xn=e=>Bh(Ne,{async:!0,empty:!0,...e});import{Fragment as C6,jsx as E6,jsxs as B6}from"react/jsx-runtime";import{Fragment as P6,jsx as R6,jsxs as w6}from"react/jsx-runtime";import{jsx as Ht,jsxs as Qi}from"react/jsx-runtime";var Th=Ne.options,Ah=Ne.states,qd={...Ne.defaultOptions,variant:"empty"},Oh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],Rh=[],ua=e=>{let{variant:t,...o}={...qd,...e};switch(t){case"success":return Qi(di,{status:"done",style:{width:"586px"},...o,children:[Ht(_e,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Ht(_e,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return Qi(di,{status:"failed",style:{width:"586px"},...o,children:[Ht(_e,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Ht(_e,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return Qi(di,{status:"uploading",style:{width:"586px"},...o,children:[Ht(_e,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Ht(_e,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return Qi(di,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Ht(_e,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Ht(_e,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Ht(Xn,{async:!0,status:"upload",style:{width:"586px"},...o})}};ua.options=Th;ua.states=Ah;ua.variants=Oh;ua.defaultOptions=qd;ua.modifiers=Rh;ua.className=Ne.className;import{Fragment as s4,jsx as n4,jsxs as l4}from"react/jsx-runtime";import{jsx as fa,jsxs as Yd}from"react/jsx-runtime";var Zd="k-imageeditor-pane",Ph=[],wh={},Kh={},fe=e=>{let{title:t,actions:o,adaptive:a,children:i,...l}=e;return Yd("div",{...l,className:r(e.className,Zd),children:[Yd("div",{className:"k-imageeditor-pane-header",children:[a&&fa(s,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),fa("div",{className:"k-imageeditor-pane-title",children:t}),a?fa(s,{fillMode:"flat",icon:"check","aria-label":"Confirm",title:"Confirm"}):fa(s,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),fa("div",{className:"k-imageeditor-pane-content",children:i}),!a&&o&&fa(He,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};fe.states=Ph;fe.options=wh;fe.className=Zd;fe.moduleName=null;fe.folderName=null;fe.defaultOptions=Kh;import{jsx as Fh}from"react/jsx-runtime";var Wn="k-imageeditor-option-preview",zh=[n.hover,n.focus,n.selected],_h={},Dh={},xt=e=>{let{label:t,hover:o,focus:a,selected:i,children:l,...d}=e;return Fh("div",{...d,className:r(e.className,Wn,y(Wn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:l??t})};xt.states=zh;xt.options=_h;xt.className=Wn;xt.moduleName=null;xt.folderName=null;xt.defaultOptions=Dh;import{jsx as Qd}from"react/jsx-runtime";var ji="k-imageeditor-option-list",jd={scrollable:!1},ba=e=>{let{scrollable:t=jd.scrollable,scrollingPosition:o,children:a,...i}=e;return Qd("div",{...i,className:r(e.className,ji,{[`${ji}-scrollable`]:t,[`${ji}-scrollable-${o}`]:o&&o!=="both"}),children:Qd("div",{className:"k-imageeditor-option-list-items",children:a})})};ba.className=ji;ba.moduleName=null;ba.folderName=null;ba.defaultOptions=jd;import{Fragment as Uh,jsx as ep,jsxs as Gh}from"react/jsx-runtime";var Hh={},xa=e=>{let{label:t,style:o,children:a}=e;return Gh(Uh,{children:[ep("span",{"aria-hidden":"true",style:{position:"relative",display:"block",width:"100%",height:"40px",borderRadius:"2px",backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover",boxSizing:"border-box",...o},children:a}),t&&ep("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};xa.moduleName=null;xa.folderName=null;xa.defaultOptions=Hh;import{Fragment as tp,jsx as Ut,jsxs as op}from"react/jsx-runtime";var ap={variant:"crop"},ha=e=>{let{variant:t=ap.variant,grid:o,corners:a=!0}=e,i=t==="crop"?"k-resize-handle":"k-scale-handle",l=t==="scale"?"k-scale-handle":"k-resize-handle";return op(tp,{children:[o&&Ut("div",{className:"k-imageeditor-crop-grid"}),a&&op(tp,{children:[Ut("span",{className:`${i} k-resize-nw`}),Ut("span",{className:`${i} k-resize-ne`}),Ut("span",{className:`${i} k-resize-sw`}),Ut("span",{className:`${i} k-resize-se`})]}),Ut("span",{className:`${l} k-resize-n`}),Ut("span",{className:`${l} k-resize-s`}),Ut("span",{className:`${l} k-resize-w`}),Ut("span",{className:`${l} k-resize-e`})]})};ha.moduleName=null;ha.folderName=null;ha.defaultOptions=ap;import{jsx as ip}from"react/jsx-runtime";var $h="k-rotate-handle",Jn=e=>ip("span",{...e,className:r(e.className,$h),children:ip(g,{icon:"rotate"})});Jn.moduleName=null;Jn.folderName=null;import{jsx as w4}from"react/jsx-runtime";var rp="form",np="forms";import{Fragment as lp,jsx as er,jsxs as Jh}from"react/jsx-runtime";var tr="k-form",Xh=[],Wh={size:[p.undefined,p.small,p.medium,p.large]},qn={layout:"basic",tag:"form"},G=e=>{let{size:t,orientation:o,layout:a=qn.layout,formButtons:i,cols:l,gutters:d,tag:m=qn.tag,children:f,style:h}=e,b=m,N=r(e.className,tr,E(tr,{size:t}),{[`${tr}-${o}`]:o}),c=Jh(lp,{children:[a==="grid"?er("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${l}`]:l}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols},...h},children:f}):er(lp,{children:f}),i&&er("div",{className:"k-form-buttons",children:i})]}),{role:v,"aria-labelledby":L,"aria-label":I,id:S}=e;return er(b,{className:N,role:v,"aria-labelledby":L,"aria-label":I,id:S,children:c})};G.states=Xh;G.options=Wh;G.className=tr;G.defaultOptions=qn;G.moduleName=rp;G.folderName=np;var sp="label",dp="label";import{jsx as pp,jsxs as Qh}from"react/jsx-runtime";var Yn="k-label",qh=[n.disabled],Yh={},Zh={},ao=e=>{let{disabled:t,optional:o,info:a,text:i,children:l,...d}=e;return Qh("label",{...d,className:r(e.className,Yn,y(Yn,{disabled:t})),children:[i||l,o&&pp("span",{className:"k-label-optional",children:"(Optional)"}),a&&pp("span",{className:"k-field-info",children:a})]})};ao.states=qh;ao.options=Yh;ao.className=Yn;ao.defaultOptions=Zh;ao.moduleName=sp;ao.folderName=dp;import{jsx as og}from"react/jsx-runtime";var mp="k-form-hint",jh=[],eg={},tg={},dt=e=>{let{text:t,children:o,...a}=e;return og("div",{...a,className:r(e.className,mp),children:t||o})};dt.states=jh;dt.options=eg;dt.className=mp;dt.defaultOptions=tg;import{jsx as ng}from"react/jsx-runtime";var cp="k-form-error",ag=[],ig={},rg={},pt=e=>{let{text:t,children:o,...a}=e;return ng("div",{...a,className:r(e.className,cp),children:t||o})};pt.states=ag;pt.options=ig;pt.className=cp;pt.defaultOptions=rg;import{jsx as or,jsxs as up}from"react/jsx-runtime";var Zn="k-form-field",lg=[n.disabled],X=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:l,hint:d,error:m,info:f,disabled:h,dir:b,colSpan:N,...c}=e;return up("div",{...c,className:r(Zn,e.className,y(Zn,{disabled:h}),{[`k-col-span-${N}`]:N}),dir:b,children:[o&&or(ao,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:f?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&or("span",{className:"k-label k-form-label k-label-empty"}),up("div",{className:"k-form-field-wrap",children:[l,d&&or(dt,{id:t?`${t}-hint`:void 0,children:d}),m&&or(pt,{id:t?`${t}-error`:void 0,children:m})]})]})};X.states=lg;X.className=Zn;import{Fragment as sg,jsx as Qn,jsxs as dg}from"react/jsx-runtime";var fp="k-form-fieldset",Re=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:l}=e;return dg("fieldset",{className:r(fp,{[`k-col-span-${l}`]:l}),children:[t&&Qn("legend",{className:"k-form-legend",children:t}),o==="grid"?Qn("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):Qn(sg,{children:e.children})]})};Re.className=fp;var Mo="radio",ga=Mo;import{jsx as bp}from"react/jsx-runtime";var ar="k-radio",pg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],mg={size:[p.undefined,p.small,p.medium,p.large]},cg={},We=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:l,invalid:d,valid:m,required:f,size:h,...b}=e;return bp("span",{className:"k-radio-wrap",children:bp("input",{...b,id:t,type:"radio",checked:o,required:f,disabled:l||void 0,"aria-invalid":d?"true":void 0,className:r(e.className,ar,E(ar,{size:h}),y(ar,{hover:a,focus:i,disabled:l,invalid:d,valid:m,checked:o}))})})};We.states=pg;We.options=mg;We.className=ar;We.defaultOptions=cg;We.moduleName=Mo;We.folderName=ga;var mt=We;import{jsx as bg}from"react/jsx-runtime";var xp="k-radio-list",ug=[],fg={},hp={layout:"vertical"},se=e=>{let{layout:t=hp.layout,...o}=e;return bg("ul",{...o,className:r(e.className,xp,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};se.states=ug;se.options=fg;se.className=xp;se.defaultOptions=hp;se.moduleName=Mo;se.folderName=ga;import{jsx as Ng}from"react/jsx-runtime";var gp="k-radio-list-item",xg=[],hg={},gg={},de=e=>{let{...t}=e;return Ng("li",{...t,className:r(e.className,gp),role:"none",children:e.children})};de.states=xg;de.options=hg;de.className=gp;de.defaultOptions=gg;de.moduleName=Mo;de.folderName=ga;import{jsx as I9}from"react/jsx-runtime";import{Fragment as vg,jsx as Np,jsxs as kg}from"react/jsx-runtime";var Je=({children:e,id:t,...o})=>kg(vg,{children:[Np(mt,{...o,id:t}),Np("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as A9,jsx as T9,jsxs as O9}from"react/jsx-runtime";import{Fragment as _9,jsx as K9,jsxs as z9}from"react/jsx-runtime";import{Fragment as G9,jsx as U9,jsxs as $9}from"react/jsx-runtime";import{Fragment as q9,jsx as J9,jsxs as Y9}from"react/jsx-runtime";import{Fragment as a7,jsx as o7,jsxs as i7}from"react/jsx-runtime";import{jsx as s7}from"react/jsx-runtime";import{jsx as Cg}from"react/jsx-runtime";var Ig=mt.options,Sg=mt.states,Mg=mt.defaultOptions,yg=[],Eg=[],Na=e=>Cg(Je,{id:B("radio"),name:"value",...e,children:"Label"});Na.options=Ig;Na.states=Sg;Na.variants=yg;Na.defaultOptions=Mg;Na.modifiers=Eg;Na.className=mt.className;import{jsx as ct,jsxs as vp}from"react/jsx-runtime";var Bg=se.options,Tg=se.states,Ag={...se.defaultOptions,variant:"vertical"},Og=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Rg=[],va=e=>{let{variant:t,...o}=e;return t==="horizontal"?vp(se,{layout:"horizontal",...o,children:[ct(de,{children:ct(Je,{id:B("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ct(de,{children:ct(Je,{id:B("rb"),name:"value",children:"Label"})}),ct(de,{children:ct(Je,{id:B("rb"),name:"value",children:"Label"})})]}):vp(se,{...o,children:[ct(de,{children:ct(Je,{id:B("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ct(de,{children:ct(Je,{id:B("rb"),name:"value",children:"Label"})}),ct(de,{children:ct(Je,{id:B("rb"),name:"value",children:"Label"})})]})};va.options=Bg;va.states=Tg;va.variants=Og;va.defaultOptions=Ag;va.modifiers=Rg;va.className=se.className;import{Fragment as $7,jsx as G7,jsxs as V7}from"react/jsx-runtime";import{Fragment as eG,jsx as j7,jsxs as tG}from"react/jsx-runtime";import{Fragment as sG,jsx as lG,jsxs as dG}from"react/jsx-runtime";var kp="date-input",Lp="dateinput";import{jsx as pi,jsxs as zg}from"react/jsx-runtime";var Ip="k-dateinput",Pg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],wg={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Kg={},qe=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:l,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,readonly:v,showClearButton:L,showSpinButton:I,id:S,"aria-label":M,"aria-describedby":T,...K}=e;return zg(V,{...K,size:t,rounded:o,fillMode:a,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,readonly:v,className:r(e.className,Ip),children:[pi(ce,{id:S,placeholder:l,value:i,disabled:c,"aria-label":M,"aria-describedby":T,"aria-invalid":h?"true":void 0}),pi(j,{valid:f,invalid:h,loading:N,disabled:c}),pi(ie,{loading:N,disabled:c}),L&&pi(me,{loading:N,disabled:c,readonly:v,value:i}),I&&pi(St,{className:"k-input-spinner",size:t,fillMode:a,disabled:c})]})};qe.states=Pg;qe.options=wg;qe.className=Ip;qe.defaultOptions=Kg;qe.moduleName=kp;qe.folderName=Lp;var jn=qe;import{jsx as _g}from"react/jsx-runtime";var Sp=e=>_g(jn,{...e});import{jsx as IG}from"react/jsx-runtime";import{jsx as $g}from"react/jsx-runtime";var Dg=qe.options,Fg=qe.states,Hg=qe.defaultOptions,Ug=[{name:"spin-button",title:"`Spin` Button"}],Gg=[],ka=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),$g(Sp,{value:"2/04/2021",style:{width:"300px"},...o,...a})};ka.options=Dg;ka.states=Fg;ka.variants=Gg;ka.defaultOptions=Hg;ka.modifiers=Ug;ka.className=qe.className;var Mp="masked-textbox",yp="maskedtextbox";import{Fragment as Ep,jsx as io,jsxs as el}from"react/jsx-runtime";var Cp="k-maskedtextbox",Vg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Xg={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},tl={showClearButton:!0,separators:!0},Ye=e=>{let{size:t,rounded:o,fillMode:a,separators:i=tl.separators,showClearButton:l=tl.showClearButton,prefix:d,suffix:m,value:f,placeholder:h,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:M,id:T,"aria-label":K,"aria-describedby":Y,...oe}=e;return el(V,{...oe,size:t,rounded:o,fillMode:a,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:M,className:r(e.className,Cp),children:[d&&el(Ep,{children:[io(be,{children:d}),i&&io(ee,{})]}),io(ce,{id:T,placeholder:h,value:f,disabled:S,"aria-label":K,"aria-describedby":Y,"aria-invalid":v?"true":void 0}),io(j,{valid:c,invalid:v,loading:I,disabled:S}),io(ie,{loading:I,disabled:S}),l&&io(me,{loading:I,disabled:S,readonly:M,value:f}),m&&el(Ep,{children:[i&&io(ee,{}),io(xe,{children:m})]})]})};Ye.states=Vg;Ye.options=Xg;Ye.className=Cp;Ye.defaultOptions=tl;Ye.moduleName=Mp;Ye.folderName=yp;var La=Ye;import{jsx as Wg}from"react/jsx-runtime";var Bp=e=>Wg(La,{...e});import{Fragment as JG,jsx as WG}from"react/jsx-runtime";import{Fragment as e8,jsx as jG}from"react/jsx-runtime";import{jsx as i8}from"react/jsx-runtime";import{jsx as s8}from"react/jsx-runtime";import{jsx as ol}from"react/jsx-runtime";var Jg=Ye.states,qg=Ye.defaultOptions,Yg=Ye.options,Zg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Qg=[],Ia=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?ol($,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?ol(g,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),ol(Bp,{value:"Value",style:{width:300},...o,...a})};Ia.options=Yg;Ia.states=Jg;Ia.variants=Qg;Ia.defaultOptions=qg;Ia.modifiers=Zg;Ia.className=Ye.className;var al="switch",Tp=al;import{jsx as ir,jsxs as Ap}from"react/jsx-runtime";var ro="k-switch",jg=[n.hover,n.focus,n.disabled,n.readonly,n.checked],eN={size:[p.undefined,p.small,p.medium,p.large],trackRounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],thumbRounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},tN={},De=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:l,thumbRounded:d,hover:m,focus:f,disabled:h,readonly:b,...N}=e;return Ap("span",{...N,className:r(e.className,ro,E(ro,{size:i}),y(ro,{hover:m,focus:f,disabled:h,readonly:b}),{[`${ro}-on`]:t,[`${ro}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:h?void 0:0,"aria-disabled":h?"true":void 0,"aria-readonly":b?"true":void 0,children:[Ap("span",{className:r("k-switch-track",E(ro,{rounded:l})),children:[o&&ir("span",{className:"k-switch-label-on",children:o}),a&&ir("span",{className:"k-switch-label-off",children:a})]}),ir("span",{className:"k-switch-thumb-wrap",children:ir("span",{className:r("k-switch-thumb",E(ro,{rounded:d}))})})]})};De.states=jg;De.options=eN;De.className=ro;De.defaultOptions=tN;De.moduleName=al;De.folderName=Tp;import{jsx as O8}from"react/jsx-runtime";import{jsx as K8}from"react/jsx-runtime";import{jsx as F8}from"react/jsx-runtime";import{jsx as $8}from"react/jsx-runtime";import{jsx as Op}from"react/jsx-runtime";var oN=De.options,aN=De.states,iN={...De.defaultOptions,variant:"on"},rN=[{name:"on",title:"On"},{name:"off",title:"Off"}],nN=[],Sa=e=>{let{variant:t,...o}=e;return t==="off"?Op(De,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Op(De,{checked:!0,onLabel:"On",offLabel:"Off",...o})};Sa.options=oN;Sa.states=aN;Sa.variants=rN;Sa.defaultOptions=iN;Sa.modifiers=nN;Sa.className=De.className;var rl="textarea",Rp=rl;import{Fragment as Pp,jsx as mi,jsxs as nl}from"react/jsx-runtime";var wp="k-textarea",lN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],sN={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ma={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Fe=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=Ma.prefixSeparator,suffixSeparator:l=Ma.prefixSeparator,affixesOrientation:d=Ma.affixesOrientation,flow:m=Ma.flow,resize:f=Ma.resize,prefix:h,suffix:b,rows:N,value:c,placeholder:v,hover:L,focus:I,valid:S,invalid:M,required:T,disabled:K,id:Y,"aria-label":oe,"aria-describedby":ae,...pe}=e;return nl(V,{...pe,size:t,rounded:o,fillMode:a,hover:L,focus:I,valid:S,invalid:M,required:T,disabled:K,className:r(e.className,wp,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[h&&nl(Pp,{children:[mi(be,{className:r({"!k-align-items-start":m===d}),direction:d,children:h}),i&&mi(ee,{direction:m==="horizontal"?"vertical":"horizontal"})]}),mi(Ha,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:c,placeholder:v,rows:N,disabled:K,id:Y,"aria-label":oe,"aria-describedby":ae,"aria-invalid":M?"true":void 0}),b&&nl(Pp,{children:[l&&mi(ee,{direction:m==="horizontal"?"vertical":"horizontal"}),mi(xe,{className:r({"!k-align-items-start":m===d}),direction:d,children:b})]})]})};Fe.states=lN;Fe.options=sN;Fe.className=wp;Fe.defaultOptions=Ma;Fe.moduleName=rl;Fe.folderName=Rp;import{jsx as m$}from"react/jsx-runtime";import{Fragment as h$,jsx as x$}from"react/jsx-runtime";import{Fragment as I$,jsx as L$}from"react/jsx-runtime";import{jsx as E$}from"react/jsx-runtime";import{jsx as rr}from"react/jsx-runtime";var dN=Fe.options,pN=Fe.states,Kp={...Fe.defaultOptions,variant:"vertical"},mN=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],cN=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],ya=e=>{let{variant:t,modifiers:o,...a}={...Kp,...e},i={resize:"y"};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":i.prefix=o?.[l]?rr(g,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o?.[l]?rr(g,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?rr(Fe,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):rr(Fe,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};ya.options=dN;ya.states=pN;ya.variants=mN;ya.defaultOptions=Kp;ya.modifiers=cN;ya.className=Fe.className;import{Fragment as Z$,jsx as Y$,jsxs as Q$}from"react/jsx-runtime";import{Fragment as gN,jsx as Pe,jsxs as Ea}from"react/jsx-runtime";var uN=G.options,fN=G.states,bN={...G.defaultOptions,variant:"vertical"},xN=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],hN=[],Ca=e=>{let{variant:t,size:o,...a}=e,i=Ea(Re,{legend:"Form Legend",children:[Pe(X,{label:"Label",editor:Pe(U,{size:o})}),Pe(X,{label:"Label",hint:"Hint text",editor:Pe($,{value:"Dropdown List",size:o})}),Pe(X,{label:"City",editor:Ea("ul",{className:"k-radio-list k-list-horizontal",children:[Ea("li",{className:"k-radio-list-item",children:[Pe(We,{checked:!0,size:o}),Pe("label",{className:"k-radio-label",children:"Label"})]}),Ea("li",{className:"k-radio-list-item",children:[Pe(We,{size:o}),Pe("label",{className:"k-radio-label",children:"Label"})]}),Ea("li",{className:"k-radio-list-item",children:[Pe(We,{size:o}),Pe("label",{className:"k-radio-label",children:"Label"})]})]})})]}),l=Ea(gN,{children:[Pe(s,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),Pe(s,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?Pe(G,{orientation:"horizontal",size:o,...a,formButtons:l,children:i}):Pe(G,{size:o,...a,formButtons:l,children:i})};Ca.options=uN;Ca.states=fN;Ca.variants=xN;Ca.defaultOptions=bN;Ca.modifiers=hN;Ca.className=G.className;import{jsx as zp,jsxs as IN}from"react/jsx-runtime";var NN=dt.options,vN=dt.states,_p={...dt.defaultOptions},kN=[],LN=[{name:"showHint",title:"Show Hint"}],Ba=e=>{let{modifiers:t,...o}={..._p,...e},a=t?.showHint??!0;return IN("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[zp(U,{placeholder:"Component",style:{width:"200px"}}),a&&zp(dt,{...o,children:"Hint text"})]})};Ba.options=NN;Ba.states=vN;Ba.variants=kN;Ba.defaultOptions=_p;Ba.modifiers=LN;Ba.className=dt.className;import{jsx as Dp,jsxs as CN}from"react/jsx-runtime";var SN=pt.options,MN=pt.states,Fp={...pt.defaultOptions},yN=[],EN=[{name:"showError",title:"Show Error"}],Ta=e=>{let{modifiers:t,...o}={...Fp,...e},a=t?.showError??!0;return CN("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Dp(U,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&Dp(pt,{...o,children:"Error text"})]})};Ta.options=SN;Ta.states=MN;Ta.variants=yN;Ta.defaultOptions=Fp;Ta.modifiers=EN;Ta.className=pt.className;import{Fragment as UV,jsx as HV,jsxs as GV}from"react/jsx-runtime";import{Fragment as jV,jsx as QV,jsxs as eX}from"react/jsx-runtime";import{Fragment as mX,jsx as pX,jsxs as cX}from"react/jsx-runtime";import{jsx as vX}from"react/jsx-runtime";import{Fragment as PX,jsx as RX,jsxs as wX}from"react/jsx-runtime";var sl="segmented-control",Hp=sl,Up="segmented-control-button",Gp="segmented-control";import{jsx as AN,jsxs as ON}from"react/jsx-runtime";var nr="k-segmented-control",BN=[],TN={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Gt=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:l,...d}=e;return ON("div",{...d,className:r(e.className,nr,E(nr,{size:t,rounded:o}),{[`${nr}-stretched`]:a}),role:"group",children:[AN("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:l}),i]})};Gt.states=BN;Gt.options=TN;Gt.className=nr;Gt.moduleName=sl;Gt.folderName=Hp;import{jsx as dl,jsxs as KN}from"react/jsx-runtime";var pl="k-segmented-control-button",RN=[n.selected,n.hover,n.focus,n.disabled],PN={},wN={},At=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:l,endIcon:d,text:m,iconClassName:f,...h}=e;return KN("button",{...h,className:r(e.className,pl,y(pl,{hover:t,focus:o,disabled:i,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":i?"true":void 0,tabIndex:a?0:-1,children:[l&&dl(g,{className:r(f,"k-segmented-control-button-icon"),icon:l}),(m||e.children)&&dl("span",{className:"k-segmented-control-button-text",children:m||e.children}),d&&dl(g,{className:r(f,"k-segmented-control-button-icon"),icon:d})]})};At.states=RN;At.options=PN;At.className=pl;At.defaultOptions=wN;At.moduleName=Up;At.folderName=Gp;import{Fragment as ZX,jsx as YX,jsxs as QX}from"react/jsx-runtime";import{Fragment as iW,jsx as aW,jsxs as rW}from"react/jsx-runtime";import{Fragment as mW,jsx as pW,jsxs as cW}from"react/jsx-runtime";import{Fragment as gW,jsx as hW,jsxs as NW}from"react/jsx-runtime";import{Fragment as MW,jsx as SW,jsxs as yW}from"react/jsx-runtime";import{Fragment as OW,jsx as AW,jsxs as RW}from"react/jsx-runtime";import{Fragment as aJ,jsx as oJ,jsxs as iJ}from"react/jsx-runtime";import{Fragment as NJ,jsx as gJ,jsxs as vJ}from"react/jsx-runtime";import{Fragment as OJ,jsx as AJ,jsxs as RJ}from"react/jsx-runtime";import{Fragment as VJ,jsx as $J,jsxs as XJ}from"react/jsx-runtime";import{Fragment as jJ,jsx as QJ,jsxs as eq}from"react/jsx-runtime";import{Fragment as pq,jsx as sq,jsxs as dq}from"react/jsx-runtime";import{Fragment as Lq,jsx as kq,jsxs as Iq}from"react/jsx-runtime";import{Fragment as $p,jsx as R,jsxs as yo}from"react/jsx-runtime";var zN=[R(s,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),R(s,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),R(s,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),R("div",{className:"k-separator"},"sidebar-separator-1"),R(s,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),R(s,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),R("div",{className:"k-separator"},"sidebar-separator-2"),R(s,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),R(s,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),R(s,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),R("div",{className:"k-separator"},"sidebar-separator-3"),R(s,{fillMode:"flat",icon:"frame-corners",selected:!0,"aria-label":"Frame"},"sidebar-button-9"),R(s,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],ml=({id:e,label:t,value:o})=>R(X,{label:t,editorId:e,editor:yo("div",{className:"k-imageeditor-field-row",children:[R(F,{style:{flex:1,"--kendo-slider-start":0,"--kendo-slider-end":o},"aria-label":t,showButtons:!1,showTicks:!1,value:o,min:0,max:100}),R(P,{id:e,style:{width:"80px",flex:"none"},showClearButton:!1,showSpinButton:!1,value:String(o)})]})}),_N={none:{},single:{border:"3px dashed #b0e855",borderRadius:"4px"},multiple:{border:"3px dashed #b0e855",borderRadius:"4px"}},cl=({styleKey:e,label:t,selected:o})=>R(xt,{selected:o,"aria-label":t,children:R(xa,{label:t,style:_N[e],children:e==="multiple"&&R("span",{style:{position:"absolute",inset:"6px",border:"3px dashed #b0e855",borderRadius:"1px",boxSizing:"border-box",pointerEvents:"none"}})})}),iY=({style:e="none",imageRoundness:t=0,framesAmount:o=3,frameThickness:a=12,frameRoundness:i=e==="multiple"?40:16,offset:l=12,strokeColor:d="#b0e855",...m})=>R(te,{sidebarItems:zN,actionPane:R(fe,{title:"Frame",actions:yo($p,{children:[R(s,{children:"Reset"}),R(s,{themeColor:"primary",children:"Apply"})]}),children:yo(G,{tag:"div",children:[R(X,{label:"Frame Style",editor:yo("div",{className:"k-imageeditor-option-grid",children:[R(cl,{styleKey:"none",label:"None",selected:e==="none"}),R(cl,{styleKey:"single",label:"Single",selected:e==="single"}),R(cl,{styleKey:"multiple",label:"Multiple",selected:e==="multiple"})]})}),R(ml,{id:"frame-image-roundness",label:"Image Roundness",value:t}),e==="multiple"&&R(X,{label:"Frames Amount",editorId:"frame-frames-amount",editor:R(P,{id:"frame-frames-amount",showClearButton:!1,value:String(o)})}),e!=="none"&&yo($p,{children:[R(ml,{id:"frame-thickness",label:"Frame Thickness",value:a}),R(ml,{id:"frame-roundness",label:"Frame Roundness",value:i}),yo(Re,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[R(X,{label:"Stroke Type",editor:R($,{id:"frame-stroke-type",value:"Dashed","aria-label":"Stroke Type"})}),R(X,{label:"Offset",editorId:"frame-offset",editor:R(P,{id:"frame-offset",showSpinButton:!1,value:String(l),prefix:R(g,{icon:"max-width"})})})]}),R(X,{label:"Stroke Color",editor:R(he,{id:"frame-stroke-color",value:d,"aria-label":"Stroke Color"})})]})]})}),children:e==="none"?R("canvas",{width:"494",height:"307",role:"img","aria-label":"Image being edited",style:{backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover",borderRadius:`${t}px`}}):yo("div",{style:{position:"relative",width:"494px",height:"307px"},children:[R("canvas",{width:"494",height:"307",role:"img","aria-label":"Image being edited",style:{position:"absolute",top:"0px",left:"0px",backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover",borderRadius:`${t}px`}}),R("div",{style:{position:"absolute",top:"0px",left:"0px",width:"494px",height:"307px",border:`${a}px dashed ${d}`,borderRadius:`${i}px`,boxSizing:"border-box",pointerEvents:"none"}}),e==="multiple"&&R("div",{style:{position:"absolute",top:`${0+a+l}px`,left:`${0+a+l}px`,width:`${494-(a+l)*2}px`,height:`${307-(a+l)*2}px`,border:`${a}px dashed ${d}`,borderRadius:`${Math.max(i-a-l,0)}px`,boxSizing:"border-box",pointerEvents:"none"}})]}),...m});export{iY as ImageEditorFrames};
|
|
1
|
+
var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...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)=>n({[`${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"}),M=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:r,checked:l,active:m,selected:c,disabled:b,indeterminate:x,loading:g,empty:u,readonly:v,highlighted:I,...S}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":r,"k-checked":l,"k-active":m,"k-selected":c,"k-disabled":b,"k-indeterminate":x&&!l,"k-loading":g,"k-empty":u,"k-readonly":v,"k-highlighted":I},Object.keys(S).reduce((k,E)=>(E.startsWith("k-")?k[E]=S[E]:k[`k-${E}`]=S[E],k),{}))};function xs(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},gt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={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 pr={};function A(e){return pr[e]=(pr[e]||0)+1,`k-${e}-${pr[e]}`}import{Fragment as Wp,jsx as hs}from"react/jsx-runtime";var mr="k-font-icon",$p=[],Vp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info]},Xp={},wa=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:r,...l}=e;return a?hs("span",{...l,className:n(e.className,mr,C(mr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):hs(Wp,{})};wa.states=$p;wa.options=Vp;wa.className=mr;wa.defaultOptions=Xp;var Ns=wa;import{Fragment as Yp,jsx as hi}from"react/jsx-runtime";var cr="k-svg-icon",Jp=[],qp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[gt.outline,gt.solid,gt.duotone]},ur={viewBox:"0 0 24 24",variant:gt.outline},Ka=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:r=ur.viewBox,variant:l=ur.variant,icon:m,...c}=e;if(!m)return hi(Yp,{});if(m==="none")return hi("span",{...c,className:n(e.className,cr,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return hi("span",{...c,className:n(e.className,cr,C("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:hi("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:r,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:m?void 0:e.children})})};Ka.states=Jp;Ka.options=qp;Ka.className=cr;Ka.defaultOptions=ur;var fr=Ka;import*as br from"@progress/kendo-svg-icons";var gs="icon",vs="icons";import{useContext as Qp}from"react";import{createContext as Zp}from"react";var Ls=Zp({iconsType:"svg"});import{Fragment as Is,jsx as Da}from"react/jsx-runtime";var Ni="k-icon",jp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),em=[],tm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[gt.outline,gt.solid,gt.duotone]},gi={viewBox:"0 0 24 24",type:"svg",variant:gt.outline},N=e=>{let{iconsType:t}=Qp(Ls),{size:o,themeColor:a,icon:i,type:r=t||gi.type,rotate:l,flip:m,viewBox:c=gi.viewBox,variant:b=gi.variant,...x}=e;if(!i)return Da(Is,{});if((t||r)==="svg"){if(i==="none")return Da(fr,{...x,className:n(e.className,Ni),icon:i,size:o,variant:b});let u=br[i]?i:jp(`${i}-icon`);return br[u]?Da(fr,{...x,className:n(e.className,Ni),icon:br[u],size:o,themeColor:a,rotate:l,flip:m,viewBox:c,variant:b}):Da(Is,{})}return Da(Ns,{...x,className:n(e.className,Ni),icon:i,size:o,themeColor:a,rotate:l,flip:m})};N.states=em;N.options=tm;N.defaultOptions=gi;N.className=Ni;N.moduleName=gs;N.folderName=vs;var xr="button",Ss=xr;import{Fragment as hr,jsx as Xt,jsxs as ks}from"react/jsx-runtime";var _a="k-button",om=["icon-button"],am=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],im={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Nr={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:r,showArrow:l=Nr.showArrow,arrowIconName:m=Nr.arrowIconName,variant:c,hover:b,focus:x,active:g,selected:u,disabled:v,togglable:I,ariaDisabled:S,icon:k,endIcon:E,iconSize:T,text:w,iconClassName:Y,className:te,...oe}=e,pe=k!=null,po=e.children!==void 0;return ks(t,{className:n(te,_a,xs(_a,c),C(_a,{size:o,rounded:a,fillMode:i,themeColor:r}),M(_a,{hover:b,focus:x,active:g,disabled:v||S,selected:u}),{"k-icon-button":!w&&!po&&pe}),"aria-pressed":I?u?"true":"false":void 0,...oe,"aria-disabled":S?"true":void 0,disabled:v||void 0,children:[typeof k=="string"&&k&&Xt(N,{className:n(Y,"k-button-icon"),icon:k,size:T}),k&&typeof k!="string"&&Xt(hr,{children:k}),w?ks(hr,{children:[w&&Xt("span",{className:"k-button-text",children:w}),e.children]}):e.children&&Xt("span",{className:"k-button-text",children:e.children}),typeof E=="string"&&E&&Xt(N,{className:n(Y,"k-button-icon"),icon:E,size:T}),E&&typeof E!="string"&&Xt(hr,{children:E}),l&&Xt("span",{className:"k-menu-button-arrow k-button-arrow",children:Xt(N,{icon:m})})]})};p.states=am;p.options=im;p.variants=om;p.className=_a;p.defaultOptions=Nr;p.moduleName=xr;p.folderName=Ss;import{jsx as rm}from"react/jsx-runtime";var Rt=e=>rm(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as nm}from"react/jsx-runtime";var za=e=>nm(p,{icon:"folder",children:"Button",...e});import{jsx as Bv}from"react/jsx-runtime";import{jsx as sm}from"react/jsx-runtime";var vt=e=>sm(p,{children:"Button",...e});import{jsx as gr}from"react/jsx-runtime";var lm=p.options,dm=p.states,pm={...p.defaultOptions,variant:"text"},mm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],cm=[],Ao=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return gr(Rt,{...o,icon:"star"});case"icon-and-text":return gr(za,{...o,icon:"star",children:"Button"});default:return gr(vt,{...o,children:"Button"})}};Ao.options=lm;Ao.states=dm;Ao.variants=mm;Ao.defaultOptions=pm;Ao.modifiers=cm;Ao.className=p.className;var vr="button",Es=vr;import{jsx as xm}from"react/jsx-runtime";var Ha="k-button-group",um=[s.disabled],fm={fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},bm={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return xm("div",{role:"group",...i,className:n(e.className,Ha,C(Ha,{fillMode:t}),M(Ha,{disabled:o}),{[`${Ha}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=um;B.options=fm;B.className=Ha;B.defaultOptions=bm;B.moduleName=vr;B.folderName=Es;import{Fragment as nL,jsx as rL,jsxs as sL}from"react/jsx-runtime";import{Fragment as uL,jsx as cL,jsxs as fL}from"react/jsx-runtime";import{Fragment as vL,jsx as gL,jsxs as LL}from"react/jsx-runtime";import{Fragment as CL,jsx as ML,jsxs as yL}from"react/jsx-runtime";import{Fragment as PL,jsx as RL,jsxs as wL}from"react/jsx-runtime";import{Fragment as FL,jsx as HL,jsxs as UL}from"react/jsx-runtime";import{Fragment as JL,jsx as WL,jsxs as qL}from"react/jsx-runtime";import{jsx as Pt,jsxs as Lr}from"react/jsx-runtime";var hm={...p.options,...B.options},Nm=p.states,gm={...p.defaultOptions,...B.defaultOptions,variant:"text-button"},vm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Lm=[],To=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Lr(B,{fillMode:a.fillMode,className:o,children:[Pt(p,{...a,icon:"star"}),Pt(p,{...a,icon:"star"}),Pt(p,{...a,icon:"star"})]}):t==="icon-text-button"?Lr(B,{fillMode:a.fillMode,className:o,children:[Pt(p,{...a,icon:"star",children:"First"}),Pt(p,{...a,icon:"star",children:"Middle"}),Pt(p,{...a,icon:"star",children:"Last"})]}):Lr(B,{fillMode:a.fillMode,className:o,children:[Pt(p,{...a,children:"First"}),Pt(p,{...a,children:"Middle"}),Pt(p,{...a,children:"Last"})]})};To.options=hm;To.states=Nm;To.variants=vm;To.defaultOptions=gm;To.modifiers=Lm;To.className=B.className;var Fa="input",vi=Fa;import{jsx as Em}from"react/jsx-runtime";var Li="k-input",Im=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Sm={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},km={},X=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:r,loading:l,readonly:m,size:c,rounded:b,fillMode:x,...g}=e;return Em("span",{...g,className:n(e.className,Li,C(Li,{size:c,rounded:b,fillMode:x}),M(Li,{hover:t,focus:o,disabled:a,invalid:i,valid:r,loading:l,readonly:m}))})};X.states=Im;X.options=Sm;X.className=Li;X.defaultOptions=km;X.moduleName=Fa;X.folderName=vi;import{jsx as Am}from"react/jsx-runtime";var Ii="k-picker",Mm=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Cm={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},ym={},Lt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:r,loading:l,readonly:m,size:c,rounded:b,fillMode:x,...g}=e;return Am("span",{...g,className:n(e.className,Ii,C(Ii,{size:c,rounded:b,fillMode:x}),M(Ii,{hover:t,focus:o,disabled:a,invalid:i,valid:r,loading:l,readonly:m})),children:e.children})};Lt.states=Mm;Lt.options=Cm;Lt.className=Ii;Lt.defaultOptions=ym;Lt.moduleName=Fa;Lt.folderName=vi;import{Fragment as Bm,jsx as Ir}from"react/jsx-runtime";var Ms="k-clear-value",Tm=[s.disabled,s.loading,s.readonly],Om={},me=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?Ir(Bm,{}):Ir("span",{className:n(e.className,Ms),children:Ir(N,{icon:"x"})})};me.states=Tm;me.options=Om;me.className=Ms;import{jsx as wm}from"react/jsx-runtime";var Sr="k-input-inner",Rm=[],Pm={},Si={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=Si.value,type:o=Si.type,placeholder:a=Si.placeholder,autocomplete:i=Si.autocomplete,disabled:r,readOnly:l,...m}=e;return wm("input",{...m,type:o,className:n(e.className,Sr,C(Sr,e)),placeholder:a,autoComplete:i,defaultValue:t,disabled:r||void 0,readOnly:l||void 0})};ce.states=Rm;ce.options=Pm;ce.className=Sr;import{jsx as Cs,jsxs as _m}from"react/jsx-runtime";var kr="k-input-inner",Km=[],Dm={},mo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:r,...l}=e;return _m("span",{...l,className:n(e.className,kr,C(kr,e)),children:[i,!i&&r&&Cs(N,{className:"k-input-value-icon",icon:r}),a&&!t&&o,a&&t&&Cs("span",{className:"k-input-value-text",children:t})]})};mo.states=Km;mo.options=Dm;mo.className=kr;import{jsx as Fm}from"react/jsx-runtime";var Er="k-input-inner",zm=[],Hm={},ys={value:"",placeholder:""},Ua=e=>{let{value:t=ys.value,placeholder:o=ys.placeholder,rows:a,disabled:i,...r}=e;return Fm("textarea",{...r,className:n(e.className,Er,C(Er,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Ua.states=zm;Ua.options=Hm;Ua.className=Er;import{Fragment as Gm,jsx as As}from"react/jsx-runtime";var Ts="k-input-loading-icon",Um=[s.disabled,s.loading],ae=e=>{let{disabled:t,loading:o}=e;return t||!o?As(Gm,{}):As("span",{className:n(e.className,Ts,"k-icon k-i-loading")})};ae.states=Um;ae.className=Ts;import{Fragment as Xm,jsx as Os}from"react/jsx-runtime";var Bs="k-input-validation-icon",$m=[s.valid,s.invalid,s.disabled,s.loading],Vm={},j=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,r=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?Os(Xm,{}):Os(N,{className:n(Bs),icon:r})};j.states=$m;j.options=Vm;j.className=Bs;import{Fragment as qm,jsx as Rs}from"react/jsx-runtime";var Wm="k-input-prefix",Jm={direction:"horizontal"},be=e=>{let{direction:t=Jm.direction,...o}=e;return e.children?Rs("span",{...o,className:n(Wm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Rs(qm,{})};import{Fragment as Qm,jsx as Ps}from"react/jsx-runtime";var Ym="k-input-suffix",Zm={direction:"horizontal"},xe=e=>{let{direction:t=Zm.direction,...o}=e;return e.children?Ps("span",{...o,className:n(Ym,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ps(Qm,{})};import{jsx as YI}from"react/jsx-runtime";import{jsx as ec}from"react/jsx-runtime";var jm="k-input-suffix-text",wt=e=>{let{children:t,...o}=e;return ec("span",{...o,className:n(jm,e.className),children:t})};import{jsx as oc}from"react/jsx-runtime";var ws="k-input-separator",tc={direction:"vertical"},ee=e=>{let{direction:t=tc.direction,...o}=e;return oc("span",{...o,className:n(ws,e.className,{[`${ws}-${t}`]:t})})};import{Fragment as Ks,jsx as It,jsxs as Mr}from"react/jsx-runtime";var ac=X.states,ic=X.defaultOptions,rc=X.options,nc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],sc=[],Oo=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:r,readonly:l,...m}=e,c=t?.prefix,b=t?.suffix,x=t?.["clear-button"],g=t?.["validation-icon"],u=t?.separators;return Mr(X,{...m,valid:o,invalid:a,loading:i,disabled:r,readonly:l,style:{width:300},children:[c&&Mr(Ks,{children:[It(be,{children:It(N,{icon:"lock"})}),u&&It(ee,{})]}),It(ce,{placeholder:"Placeholder",value:"Value"}),g&&It(j,{valid:o,invalid:a,loading:i,disabled:r}),It(ae,{loading:i,disabled:r}),x&&It(me,{loading:i,disabled:r,readonly:l,value:"Value"}),b&&Mr(Ks,{children:[u&&It(ee,{}),It(xe,{children:It(vt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Oo.options=rc;Oo.states=ac;Oo.variants=sc;Oo.defaultOptions=ic;Oo.modifiers=nc;Oo.className=X.className;import{jsx as Ds,jsxs as pc}from"react/jsx-runtime";var _s="k-color-preview",lc=[],dc={},Wt=e=>{let{color:t,iconName:o,...a}=e;return pc("span",{...a,className:n(e.className,_s,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Ds(N,{icon:o,className:"k-color-preview-icon"}),Ds("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Wt.states=lc;Wt.options=dc;Wt.className=_s;var Cr="popup",zs=Cr;import{jsx as Hs}from"react/jsx-runtime";var Fs="k-animation-container",mc=[],cc={},yr={positionMode:"absolute",shown:!0},St=e=>{let{positionMode:t=yr.positionMode,shown:o=yr.shown,animationStyle:a,offset:i,...r}=e;return Hs("div",{...r,style:{...i,...e.style},className:n(e.className,Fs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Hs("div",{className:"k-child-animation-container",style:a,children:e.children})})};St.states=mc;St.options=cc;St.className=Fs;St.defaultOptions=yr;St.moduleName=Cr;St.folderName=zs;var Ar="popup",Us=Ar;import{jsx as Gs}from"react/jsx-runtime";var $s="k-popup",uc=[],fc={},Vs={positionMode:"absolute"},J=e=>{let{offset:t,positionMode:o=Vs.positionMode,animationStyle:a,containerClassName:i,containerRole:r,containerAriaLabel:l,...m}=e;return Gs(St,{positionMode:o,offset:t,animationStyle:a,className:i,role:r,"aria-label":l,children:Gs("div",{...m,className:n(e.className,$s),children:e.children})})};J.states=uc;J.options=fc;J.className=$s;J.defaultOptions=Vs;J.moduleName=Ar;J.folderName=Us;var Tr="action-buttons",Xs=Tr;import{jsx as hc}from"react/jsx-runtime";var ki="k-actions",bc=[],xc={},Or={alignment:"start",orientation:"horizontal"},Ue=e=>{let{alignment:t=Or.alignment,orientation:o=Or.orientation,...a}=e;return hc("div",{...a,className:n(ki,{[`${ki}-${t}`]:t,[`${ki}-${o}`]:o},e.className),children:e.children})};Ue.states=bc;Ue.options=xc;Ue.className=ki;Ue.defaultOptions=Or;Ue.moduleName=Tr;Ue.folderName=Xs;var Ws=Ue;import{jsx as gc}from"react/jsx-runtime";var Nc="k-actionsheet-footer",Js={alignment:"stretched",orientation:"horizontal"},Jt=e=>{let{alignment:t=Js.alignment,orientation:o=Js.orientation,template:a,as:i=a?"div":Ue,...r}=e;return gc(i,{...r,...!a&&{alignment:t,orientation:o},className:n(e.className,Nc),children:e.children})};var Br="searchbox",qs=Br;import{jsx as Ga,jsxs as Ic}from"react/jsx-runtime";var Ys="k-searchbox",vc=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Lc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ei={showIcon:!0,showClearButton:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:r,hover:l,focus:m,valid:c,invalid:b,required:x,loading:g,disabled:u,showIcon:v=Ei.showIcon,showClearButton:I=Ei.showClearButton,icon:S=Ei.icon,"aria-label":k,...E}=e;return Ic(X,{...E,size:a,rounded:i,fillMode:r,hover:l,focus:m,valid:c,invalid:b,required:x,loading:g,disabled:u,className:n(e.className,Ys),children:[v&&Ga(N,{className:"k-input-icon",icon:S}),Ga(ce,{placeholder:o,value:t,"aria-label":k}),Ga(ae,{...e}),Ga(j,{...e}),I&&Ga(me,{...e})]})};Qe.states=vc;Qe.options=Lc;Qe.className=Ys;Qe.defaultOptions=Ei;Qe.moduleName=Br;Qe.folderName=qs;import{jsx as Lk}from"react/jsx-runtime";var Rr="textbox",Zs=Rr;import{Fragment as Qs,jsx as qt,jsxs as Pr}from"react/jsx-runtime";var js="k-textbox",Sc=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],kc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Mi={showClearButton:!0,showValidationIcon:!0,separators:!0},U=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Mi.separators,showClearButton:r=Mi.showClearButton,showValidationIcon:l=Mi.showValidationIcon,prefix:m,suffix:c,type:b,value:x,placeholder:g,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:T,readonly:w,id:Y,"aria-label":te,"aria-describedby":oe,...pe}=e;return Pr(X,{...pe,size:t,rounded:o,fillMode:a,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:T,readonly:w,className:n(e.className,js),children:[m&&Pr(Qs,{children:[qt(be,{children:m}),i&&qt(ee,{})]}),qt(ce,{id:Y,placeholder:g,value:x,type:b,disabled:T,"aria-label":te,"aria-describedby":oe,"aria-invalid":S?"true":void 0}),l&&qt(j,{valid:I,invalid:S,loading:E,disabled:T}),qt(ae,{loading:E,disabled:T}),r&&qt(me,{loading:E,disabled:T,readonly:w,value:x}),c&&Pr(Qs,{children:[i&&qt(ee,{}),qt(xe,{children:c})]})]})};U.states=Sc;U.options=kc;U.className=js;U.defaultOptions=Mi;U.moduleName=Rr;U.folderName=Zs;var $a=U;import{jsx as Ec}from"react/jsx-runtime";var el=e=>Ec($a,{...e});import{Fragment as zk,jsx as _k}from"react/jsx-runtime";import{Fragment as Vk,jsx as $k}from"react/jsx-runtime";import{jsx as qk}from"react/jsx-runtime";import{jsx as wr}from"react/jsx-runtime";var Mc=U.states,Cc=U.defaultOptions,yc=U.options,Ac=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Tc=[],Bo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?wr(N,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?wr(vt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),wr(el,{value:"Value",style:{width:300},...o,...a})};Bo.options=yc;Bo.states=Mc;Bo.variants=Tc;Bo.defaultOptions=Cc;Bo.modifiers=Ac;Bo.className=U.className;import{jsx as Yt,jsxs as Kr}from"react/jsx-runtime";var tl="k-actionsheet-titlebar",Oc={},ve=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:r,input:l,inputValue:m,inputPlaceholder:c,adaptive:b,titleId:x,children:g,...u}=e;return Kr("div",{...u,className:n(e.className,tl),children:[Kr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Yt("div",{className:"k-actionsheet-actions",children:a}),!g&&Kr("div",{className:"k-actionsheet-title",id:x,children:[t&&Yt("div",{className:"k-text-center",children:t}),o&&Yt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&Yt("div",{className:"k-actionsheet-title",id:x,children:g}),i&&Yt("div",{className:"k-actionsheet-actions",children:i})]}),(l||r)&&Yt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Yt(U,{value:m,placeholder:c,size:b?"large":"medium","aria-label":t||c||"Input"}):Yt(Qe,{placeholder:"Filter",size:b?"large":"medium","aria-label":"Filter options"})})]})};ve.className=tl;ve.defaultOptions=Oc;import{jsx as Dr,jsxs as wc}from"react/jsx-runtime";var _r="k-actionsheet-view",Bc=[],Rc={},Pc={},Ro=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:r,titleId:l,...m}=e,c=i?.type===ve&&Dr(ve,{adaptive:t,titleId:l,...i?.props}),b=r?.type===Jt&&Dr(Jt,{...r?.props});return wc("div",{...m,className:n(e.className,_r,{[`${_r}-animated`]:o}),children:[c,Dr("div",{className:"k-actionsheet-content",children:a}),b]})};Ro.states=Bc;Ro.options=Rc;Ro.className=_r;Ro.defaultOptions=Pc;var Va="action-sheet",Ci=Va;var zr="overlay",ol=zr;import{jsx as zc}from"react/jsx-runtime";var al="k-overlay",Kc=[],Dc={},_c={},ft=e=>{let{...t}=e;return zc("div",{...t,className:n(e.className,al),children:e.children})};ft.states=Kc;ft.options=Dc;ft.className=al;ft.defaultOptions=_c;ft.moduleName=zr;ft.folderName=ol;var il=ft;import{jsx as yi,jsxs as Uc}from"react/jsx-runtime";var rl="k-actionsheet",Hc=[],Fc={},Xa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Z=e=>{let{side:t=Xa.side,fullscreen:o=Xa.fullscreen,adaptive:a=Xa.adaptive,overlay:i=Xa.overlay,template:r,children:l,header:m,footer:c,id:b,...x}=e,g=b&&!r&&m?`${b}-title`:void 0;return Uc("div",{className:"k-actionsheet-container",children:[i&&yi(ft,{}),yi(St,{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:yi("div",{...x,id:b,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":g,className:n(e.className,rl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:r||yi(Ro,{header:m,footer:c,adaptive:a,titleId:g,...e,children:l})})})]})};Z.states=Hc;Z.options=Fc;Z.className=rl;Z.defaultOptions=Xa;Z.moduleName=Va;Z.folderName=Ci;import{jsx as Xc}from"react/jsx-runtime";var nl="k-actionsheet-container",Gc=[],$c={},Vc={},Po=e=>{let{children:t,...o}=e;return Xc("div",{...o,className:nl,children:t})};Po.states=Gc;Po.options=$c;Po.className=nl;Po.defaultOptions=Vc;Po.moduleName=Va;Po.folderName=Ci;import{jsx as Wc}from"react/jsx-runtime";var Hr=e=>{let{...t}=e;return Wc("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};import{Fragment as qc,jsx as Wa,jsxs as Fr}from"react/jsx-runtime";var Ur="k-actionsheet-item",Jc=[s.hover,s.focus,s.selected,s.disabled],Zt=e=>{let{iconName:t,text:o,description:a,hover:i,focus:r,selected:l,disabled:m,...c}=e;return Fr("span",{...c,className:n(e.className,Ur,M(Ur,{hover:i,focus:r,selected:l,disabled:m})),children:[!e.children&&Wa(qc,{children:Fr("span",{className:"k-actionsheet-action",children:[t&&Wa("span",{className:"k-icon-wrap",children:Wa(N,{className:"k-actionsheet-item-icon",icon:t})}),Fr("span",{className:"k-actionsheet-item-text",children:[o&&Wa("span",{className:"k-actionsheet-item-title",children:o}),a&&Wa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Zt.states=Jc;Zt.className=Ur;import{jsx as JE,jsxs as qE}from"react/jsx-runtime";import{jsx as jE}from"react/jsx-runtime";import{jsx as aM}from"react/jsx-runtime";import{jsx as sM}from"react/jsx-runtime";import{jsx as Le,jsxs as Gr}from"react/jsx-runtime";var Yc=Z.options,Zc=Z.states,ll={...Z.defaultOptions,variant:"normal"},Qc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],jc=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],wo=e=>{let{variant:t,modifiers:o,...a}={...ll,...e},i={},r=Gr(Hr,{children:[Le(Zt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Le(Zt,{text:"Add to Favorites",iconName:"heart"}),Le(Zt,{text:"Upload New",iconName:"upload",disabled:!0}),Le("hr",{className:"k-hr"}),Le(Zt,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(i.fullScreen=!0),Object.keys(o||{}).forEach(c=>{switch(c){case"actions":i.actionsStart=!!o?.[c],i.actionsEnd=!!o?.[c];break;case"subtitle":i.subtitle=o?.[c]?l:void 0;break;case"footer":i.footer=!!o?.[c];break;default:break}}),t==="adaptive"?Le(Z,{...a,adaptive:!0,fullscreen:i.fullScreen,header:Le(ve,{actionsStart:i.actionsStart?Le(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?Le(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?Gr(Jt,{alignment:"stretched",children:[Le(p,{text:"Cancel",size:"large",themeColor:"base"}),Le(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):Le(Z,{...a,fullscreen:i.fullScreen,header:Le(ve,{actionsStart:i.actionsStart?Le(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?Le(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?Gr(Jt,{alignment:"stretched",children:[Le(p,{text:"Apply",themeColor:"primary"}),Le(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};wo.options=Yc;wo.states=Zc;wo.variants=Qc;wo.defaultOptions=ll;wo.modifiers=jc;wo.className=Z.className;var $r="slider",dl=$r;import{jsx as Ko,jsxs as Vr}from"react/jsx-runtime";var Ja="k-slider",eu=[s.hover,s.focus,s.active,s.disabled,s.readonly],tu={},je={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},K=e=>{let{type:t=je.type,orientation:o=je.orientation,gradientType:a=je.gradientType,readonly:i=je.readonly,disabled:r=je.disabled,handlePosition:l=je.handlePosition,showButtons:m=je.showButtons,showTicks:c=je.showTicks,value:b=je.value,min:x=je.min,max:g=je.max,startValue:u,endValue:v,hover:I,focus:S,active:k,trackStyle:E,dir:T,...w}=e,te=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),oe,pe;return o==="horizontal"?(oe=T==="rtl"?"chevron-left":"chevron-right",pe=T==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(oe="chevron-up",pe="chevron-down"),Vr("div",{...w,className:n(Ja,e.className,M(Ja,{readonly:i,disabled:r}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:T,children:[m&&Ko(p,{className:"k-button-decrease",rounded:"full",icon:pe,tabIndex:-1,title:"Decrease"}),Vr("div",{className:"k-slider-track-wrap",children:[c&&Ko("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Vr("div",{className:"k-slider-track",style:E,children:[Ko("div",{className:"k-slider-selection"}),t==="range"&&Ko("span",{className:n("k-draghandle","k-draghandle-start",M(Ja,{hover:I,focus:S,active:k})),role:"slider",tabIndex:r?void 0:0,"aria-valuenow":u??x,"aria-valuemin":x,"aria-valuemax":v??g,"aria-orientation":te,"aria-disabled":r?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":w["aria-label"]?`${w["aria-label"]} start`:"Range start"}),Ko("span",{className:n("k-draghandle",`k-draghandle-${l}`,M(Ja,{hover:I,focus:S,active:k})),role:"slider",tabIndex:r?void 0:0,"aria-valuenow":t==="range"?v??g:b,"aria-valuemin":t==="range"?u??x:x,"aria-valuemax":g,"aria-orientation":te,"aria-disabled":r?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?w["aria-label"]?`${w["aria-label"]} end`:"Range end":w["aria-label"]})]})]}),m&&Ko(p,{className:"k-button-increase",rounded:"full",icon:oe,tabIndex:-1,title:"Increase"})]})};K.states=eu;K.options=tu;K.className=Ja;K.defaultOptions=je;K.moduleName=$r;K.folderName=dl;import{jsx as pl}from"react/jsx-runtime";var ml="k-tick",ou=[],au={},cl={label:!1},R=e=>{let{style:t,label:o=cl.label,orientation:a,large:i,text:r,...l}=e;return pl("li",{...l,role:"presentation",title:r||"Tick",className:n(e.className,ml,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&pl("span",{className:"k-label",children:r})})};R.states=ou;R.options=au;R.className=ml;R.defaultOptions=cl;import{Fragment as iu,jsx as et,jsxs as ru}from"react/jsx-runtime";var ul=e=>et(K,{"aria-label":e["aria-label"]||"Slider",children:ru(iu,{children:[et(R,{className:"k-first",label:!0,large:!0,text:"0"}),et(R,{}),et(R,{}),et(R,{}),et(R,{}),et(R,{label:!0,large:!0,text:"5"}),et(R,{}),et(R,{}),et(R,{}),et(R,{}),et(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as nu,jsx as tt,jsxs as su}from"react/jsx-runtime";var fl=e=>tt(K,{children:su(nu,{children:[tt(R,{className:"k-first",label:!0,large:!0,text:"0"}),tt(R,{}),tt(R,{}),tt(R,{}),tt(R,{}),tt(R,{label:!0,large:!0,text:"5"}),tt(R,{}),tt(R,{}),tt(R,{}),tt(R,{}),tt(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as qM,jsx as JM,jsxs as YM}from"react/jsx-runtime";import{Fragment as tC,jsx as eC,jsxs as oC}from"react/jsx-runtime";import{jsx as lu}from"react/jsx-runtime";var Xr=e=>lu(K,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as du}from"react/jsx-runtime";var Wr=e=>du(K,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as uC,jsx as cC,jsxs as fC}from"react/jsx-runtime";import{Fragment as gC,jsx as NC,jsxs as vC}from"react/jsx-runtime";import{jsx as kt,jsxs as bl}from"react/jsx-runtime";var pu=K.options,mu=K.states,xl={...K.defaultOptions,variant:"horizontal",label:!0},cu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],uu=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Do=e=>{let{variant:t,modifiers:o,...a}=e,i=xl.label,r={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{r.showButtons=!!o?.[m];break}case"label":{i=!!o?.[m];break}case"tick":{r.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?bl(fl,{style:{height:"300px",...l},...a,...r,children:[kt(R,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),kt(R,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),kt(R,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),kt(R,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),kt(R,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):bl(ul,{style:{width:"400px",...l},...a,...r,children:[kt(R,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),kt(R,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),kt(R,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),kt(R,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),kt(R,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Do.options=pu;Do.states=mu;Do.variants=cu;Do.defaultOptions=xl;Do.modifiers=uu;Do.className=K.className;import{jsx as hl,jsxs as Nu}from"react/jsx-runtime";var Nl="k-spin-button",xu=[],hu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},Jr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Et=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Jr.increaseLabel,decreaseLabel:r=Jr.decreaseLabel,...l}=e;return Nu("span",{...l,className:n(Nl,e.className),children:[hl(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),hl(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":r})]})};Et.states=xu;Et.options=hu;Et.className=Nl;Et.defaultOptions=Jr;Et.moduleName=null;Et.folderName=null;var gl="numeric-textbox",vl="numerictextbox";import{Fragment as Ll,jsx as Kt,jsxs as qr}from"react/jsx-runtime";var Il="k-numerictextbox",gu=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],vu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ai={showSpinButton:!0,showClearButton:!0,separators:!0},O=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ai.separators,showClearButton:r=Ai.showClearButton,showSpinButton:l=Ai.showSpinButton,prefix:m,suffix:c,value:b,placeholder:x,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,id:w,"aria-label":Y,"aria-describedby":te,...oe}=e;return qr(X,{...oe,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,className:n(e.className,Il),children:[m&&qr(Ll,{children:[Kt(be,{children:m}),i&&Kt(ee,{})]}),Kt(ce,{id:w,placeholder:x,value:b,role:"spinbutton",disabled:E,"aria-label":Y,"aria-describedby":te,"aria-invalid":I?"true":void 0}),Kt(j,{valid:v,invalid:I,loading:k,disabled:E}),Kt(ae,{loading:k,disabled:E}),r&&Kt(me,{loading:k,disabled:E,readonly:T,value:b}),c&&qr(Ll,{children:[i&&Kt(ee,{}),Kt(xe,{children:c})]}),l&&Kt(Et,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};O.states=gu;O.options=vu;O.className=Il;O.defaultOptions=Ai;O.moduleName=gl;O.folderName=vl;var qa=O;import{jsx as Lu}from"react/jsx-runtime";var Sl=e=>Lu(qa,{...e});import Zr from"react";import{jsx as kl}from"react/jsx-runtime";var Iu="k-list-group-sticky-header",Yr=e=>kl("div",{className:n(Iu,e.className),children:kl("div",{className:"k-list-header-text",children:e.children})});import{jsx as ku}from"react/jsx-runtime";var Su="k-no-data",Ti=e=>{let{live:t,...o}=e;return ku("span",{...o,className:n(Su,e.className),"aria-live":t?"polite":void 0,children:e.children})};var co="list",_o=co;import{jsx as El,jsxs as Ml}from"react/jsx-runtime";var Qr="k-list",Eu=[],Mu={size:[d.undefined,d.small,d.medium,d.large]},Cu={},P=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:r,optionLabel:l,customValue:m,noData:c,screenReaders:b,...x}=e,u=Zr.Children.toArray(a)[0],v=u?.props?.children?Zr.Children.count(u.props.children):Zr.Children.count(a);return Ml("div",{...x,className:n(e.className,Qr,C(Qr,{size:t}),{"k-virtual-list":o}),children:[l,r,m,i&&El(Yr,{children:i}),a||(c!==void 0?c:El(Ti,{live:!0,children:"No data found."})),b&&a&&Ml(Ti,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};P.states=Eu;P.options=Mu;P.className=Qr;P.defaultOptions=Cu;P.moduleName=co;P.folderName=_o;import{jsx as Ou}from"react/jsx-runtime";var Cl="k-list-container",yu=[],Au={},Tu={},zo=e=>{let{...t}=e;return Ou("div",{...t,className:n(e.className,Cl),children:e.children})};zo.states=yu;zo.options=Au;zo.className=Cl;zo.defaultOptions=Tu;zo.moduleName=co;zo.folderName=_o;var uo="checkbox",Ho=uo;import{jsx as yl}from"react/jsx-runtime";var Oi="k-checkbox",Bu=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],Ru={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Pu={},Ke=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:r,disabled:l,invalid:m,valid:c,required:b,size:x,rounded:g,wrapperRole:u,...v}=e;return yl("span",{className:"k-checkbox-wrap",role:u,children:yl("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:b,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:n(e.className,Oi,C(Oi,{size:x,rounded:g}),M(Oi,{hover:i,focus:r,disabled:l,invalid:m,valid:c,indeterminate:a,checked:o}))})})};Ke.states=Bu;Ke.options=Ru;Ke.className=Oi;Ke.defaultOptions=Pu;Ke.moduleName=uo;Ke.folderName=Ho;var bt=Ke;import{jsx as Du}from"react/jsx-runtime";var Al="k-checkbox-list",wu=[],Ku={},Tl={layout:"vertical"},Ae=e=>{let{layout:t=Tl.layout,...o}=e;return Du("ul",{...o,className:n(e.className,Al,{[`k-list-${t}`]:t}),children:e.children})};Ae.states=wu;Ae.options=Ku;Ae.className=Al;Ae.defaultOptions=Tl;Ae.moduleName=uo;Ae.folderName=Ho;import{jsx as Fu}from"react/jsx-runtime";var Ol="k-checkbox-list-item",_u=[],zu={},Hu={},Te=e=>{let{...t}=e;return Fu("li",{...t,className:n(e.className,Ol),children:e.children})};Te.states=_u;Te.options=zu;Te.className=Ol;Te.defaultOptions=Hu;Te.moduleName=uo;Te.folderName=Ho;import{Fragment as Uu,jsx as Bl,jsxs as Gu}from"react/jsx-runtime";var xt=({children:e="Label",id:t="cb-label-after",...o})=>Gu(Uu,{children:[Bl(bt,{id:t,...o}),Bl("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as $y,jsx as Gy,jsxs as Vy}from"react/jsx-runtime";import{Fragment as Yy,jsx as qy,jsxs as Zy}from"react/jsx-runtime";import{Fragment as oA,jsx as tA,jsxs as aA}from"react/jsx-runtime";import{jsx as sA}from"react/jsx-runtime";import{jsx as mA}from"react/jsx-runtime";import{jsx as bA}from"react/jsx-runtime";import{jsx as ot,jsxs as Rl}from"react/jsx-runtime";var $u=Ae.options,Vu=Ae.states,Xu={...Ae.defaultOptions,variant:"vertical"},Wu=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Ju=[],Fo=e=>{let{variant:t,...o}=e;return t==="horizontal"?Rl(Ae,{layout:"horizontal",...o,children:[ot(Te,{children:ot(xt,{id:A("cb"),defaultChecked:!0,children:"Label"})}),ot(Te,{children:ot(xt,{id:A("cb"),children:"Label"})}),ot(Te,{children:ot(xt,{id:A("cb"),children:"Label"})})]}):Rl(Ae,{...o,children:[ot(Te,{children:ot(xt,{id:A("cb"),defaultChecked:!0,children:"Label"})}),ot(Te,{children:ot(xt,{id:A("cb"),children:"Label"})}),ot(Te,{children:ot(xt,{id:A("cb"),children:"Label"})})]})};Fo.options=$u;Fo.states=Vu;Fo.variants=Wu;Fo.defaultOptions=Xu;Fo.modifiers=Ju;Fo.className=Ae.className;import{jsx as ef}from"react/jsx-runtime";var qu=bt.options,Yu=bt.states,Zu=bt.defaultOptions,Qu=[],ju=[],Uo=e=>ef(xt,{id:A("checkbox"),...e,defaultChecked:!0,children:"Label"});Uo.options=qu;Uo.states=Yu;Uo.variants=Qu;Uo.defaultOptions=Zu;Uo.modifiers=ju;Uo.className=bt.className;import{jsx as Go,jsxs as rf}from"react/jsx-runtime";var jr="k-list-item",tf=[s.hover,s.focus,s.selected,s.disabled],of={},af={},y=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:r,hover:l,focus:m,selected:c,disabled:b,actions:x,description:g,id:u,...v}=e,I=t||e.children,S=t||(typeof I=="string"?I:void 0);return rf("li",{...v,id:u,role:"option",tabIndex:m?0:-1,"aria-selected":c?"true":"false","aria-disabled":b?"true":void 0,className:n(e.className,jr,M(jr,{hover:l,focus:m,disabled:b,selected:c})),children:[i&&Go(Ke,{checked:r,disabled:b,"aria-label":S,tabIndex:-1}),o&&Go("span",{className:"k-list-item-icon-wrapper",children:Go(N,{icon:o,className:n("k-list-item-icon",a)})}),Go("span",{className:"k-list-item-text",children:I}),x&&Go("div",{className:"k-list-item-actions",children:x}),g&&Go("span",{className:"k-list-item-description",children:g})]})};y.states=tf;y.options=of;y.className=jr;y.defaultOptions=af;y.moduleName=co;y.folderName=_o;import{jsx as sf}from"react/jsx-runtime";var nf="k-list-ul",Mt=e=>{let{children:t,role:o,id:a,...i}=e;return sf("ul",{...i,id:a,role:o,className:n(nf,e.className),children:t})};import{jsx as en,jsxs as df}from"react/jsx-runtime";var lf="k-list-content",D=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:r,...l}=e;return df("div",{...l,className:n(lf,e.className),role:o?"listbox":void 0,id:o?r:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:en(Mt,{role:"listbox",id:r,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&en("div",{className:"k-height-container",children:en("div",{})})]})};import{jsx as tn,jsxs as uf}from"react/jsx-runtime";var Bi="k-list-sticky-header",pf=[s.hover,s.focus,s.selected],mf={},cf={},Ri=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:r,focus:l,selected:m,...c}=e;return tn("div",{...c,className:n(Bi,e.className),children:uf("div",{className:n(`${Bi}-item`,M(`${Bi}-item`,{hover:r,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&tn(Ke,{checked:a,indeterminate:i,"aria-label":t}),tn("span",{className:"k-list-item-text",children:t})]})})};Ri.states=pf;Ri.options=mf;Ri.className=Bi;Ri.defaultOptions=cf;import{Fragment as dT,jsx as lT,jsxs as pT}from"react/jsx-runtime";import{jsx as bT,jsxs as xT}from"react/jsx-runtime";import{jsx as hf}from"react/jsx-runtime";var on="k-list-optionlabel",ff=[s.hover,s.focus,s.selected,s.disabled],bf={},xf={},Pi=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:r,...l}=e;return hf("div",{...l,className:n(on,M(on,{hover:o,focus:a,selected:i,disabled:r})),children:t})};Pi.states=ff;Pi.options=bf;Pi.className=on;Pi.defaultOptions=xf;import{jsx as Lf}from"react/jsx-runtime";var an="k-list-custom-value",Nf=[s.hover,s.focus,s.selected,s.disabled],gf={},vf={},at=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:r,...l}=e;return Lf("div",{...l,className:n(an,M(an,{hover:o,focus:a,selected:i,disabled:r})),children:t})};at.states=Nf;at.options=gf;at.className=an;at.defaultOptions=vf;import{Fragment as yT,jsx as CT,jsxs as AT}from"react/jsx-runtime";import{Fragment as wT,jsx as PT,jsxs as KT}from"react/jsx-runtime";import{Fragment as GT,jsx as FT,jsxs as UT}from"react/jsx-runtime";import{Fragment as YT,jsx as JT,jsxs as qT}from"react/jsx-runtime";import{jsx as eO}from"react/jsx-runtime";import{Fragment as nO,jsx as rO,jsxs as sO}from"react/jsx-runtime";import{Fragment as uO,jsx as cO,jsxs as fO}from"react/jsx-runtime";var Pl="dropdown-list",wl="dropdownlist";import{Fragment as kf,jsx as Oe,jsxs as rn}from"react/jsx-runtime";var Kl="k-dropdownlist",If=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Sf={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},nn={showValue:!0,arrowIconName:"chevron-down"},V=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=nn.arrowIconName,showValue:r=nn.showValue,valueIconName:l,prefix:m,suffix:c,value:b,placeholder:x,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,popup:w,opened:Y,adaptive:te,adaptiveSettings:oe,adaptiveTitle:pe,adaptiveSubtitle:po,adaptiveFilter:Nt,id:Bt,activeDescendant:Vt,"aria-label":Ba,...Ra}=e,Pa=Bt?`${Bt}-listbox`:void 0,bs=Bt?`${Bt}-value`:void 0;return rn(kf,{children:[rn(Lt,{...Ra,id:Bt,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,className:n(e.className,Kl,{"k-icon-picker":!r&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":Y?"true":"false","aria-controls":Y?Pa:void 0,"aria-activedescendant":Y&&Vt?Vt:void 0,"aria-describedby":Y?bs:void 0,"aria-disabled":E?"true":void 0,"aria-label":Ba,tabIndex:0,children:[Oe(be,{children:m}),Oe(mo,{placeholder:x,value:b,showValue:r,valueIconName:l,id:bs}),Oe(j,{valid:v,invalid:I,loading:k,disabled:E}),Oe(ae,{loading:k,disabled:E}),Oe(xe,{children:c}),Oe(p,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),Y&&w&&Oe(J,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:w}),te&&Oe(Z,{adaptive:!0,...oe,header:Oe(ve,{actionsEnd:Oe(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Nt,inputValue:b,inputPlaceholder:x,title:pe,subtitle:po}),children:Oe("div",{className:"k-list-container",children:Oe(P,{size:"large",children:rn(D,{"aria-label":"Options",children:[Oe(y,{text:"List item"}),Oe(y,{text:"List item"}),Oe(y,{text:"List item"})]})})})})]})};V.states=If;V.options=Sf;V.className=Kl;V.defaultOptions=nn;V.moduleName=Pl;V.folderName=wl;import{jsx as qO}from"react/jsx-runtime";import{jsx as tB,jsxs as oB}from"react/jsx-runtime";import{Fragment as mB,jsx as dB,jsxs as pB}from"react/jsx-runtime";import{jsx as xB}from"react/jsx-runtime";import{jsx as IB,jsxs as SB}from"react/jsx-runtime";import{Fragment as BB,jsx as TB,jsxs as OB}from"react/jsx-runtime";import{jsx as DB}from"react/jsx-runtime";import{Fragment as Tf,jsx as Qt,jsxs as Dl}from"react/jsx-runtime";var Ef=V.states,Mf=V.defaultOptions,Cf=V.options,yf=[{name:"opened",title:"Opened"}],Af=[],Vo=e=>{let{modifiers:t,...o}=e,a={},i=Dl(Tf,{children:[Qt("div",{className:"k-list-filter",children:Qt(Qe,{})}),Qt(P,{style:{width:300},size:o.size,children:Dl(D,{children:[Qt(y,{children:"List item"}),Qt(y,{children:"List item"}),Qt(y,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(r=>{r==="opened"&&(a.opened=!!t?.[r],a.popup=t?.[r]?i:void 0)}),Qt("div",{children:Qt(V,{placeholder:"Value",style:{width:300},...o,...a})})};Vo.options=Cf;Vo.states=Ef;Vo.variants=Af;Vo.defaultOptions=Mf;Vo.modifiers=yf;Vo.className=V.className;import{Fragment as rR,jsx as iR}from"react/jsx-runtime";import{Fragment as mR,jsx as pR}from"react/jsx-runtime";import{jsx as bR}from"react/jsx-runtime";import{jsx as sn}from"react/jsx-runtime";var Of=O.states,Bf=O.defaultOptions,Rf=O.options,Pf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],wf=[],Xo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?sn(V,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?sn(wt,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),sn(Sl,{value:"Value",style:{width:300},...o,...a})};Xo.options=Rf;Xo.states=Of;Xo.variants=wf;Xo.defaultOptions=Bf;Xo.modifiers=Pf;Xo.className=O.className;import{Fragment as Ya,jsx as z,jsxs as ie}from"react/jsx-runtime";var _l="k-colorgradient-inputs",Kf=[],Df={size:[d.undefined,d.small,d.medium,d.large]},zl={mode:"rgba"},Wo=e=>{let{mode:t=zl.mode,size:o,...a}=e;return ie("div",{...a,className:n(_l,"k-hstack"),children:[z("div",{className:"k-vstack",children:z(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ie(Ya,{children:[ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),z("label",{className:"k-colorgradient-input-label",children:"R"})]}),ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),z("label",{className:"k-colorgradient-input-label",children:"G"})]}),ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),z("label",{className:"k-colorgradient-input-label",children:"B"})]}),ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),z("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ie(Ya,{children:[ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),z("label",{className:"k-colorgradient-input-label",children:"R"})]}),ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),z("label",{className:"k-colorgradient-input-label",children:"G"})]}),ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),z("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ie(Ya,{children:[ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),z("label",{className:"k-colorgradient-input-label",children:"H"})]}),ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),z("label",{className:"k-colorgradient-input-label",children:"S"})]}),ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),z("label",{className:"k-colorgradient-input-label",children:"V"})]}),ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),z("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ie(Ya,{children:[ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),z("label",{className:"k-colorgradient-input-label",children:"H"})]}),ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),z("label",{className:"k-colorgradient-input-label",children:"S"})]}),ie("div",{className:"k-vstack",children:[z(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),z("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&z(Ya,{children:ie("div",{className:"k-vstack k-flex-1",children:[z(U,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),z("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Wo.states=Kf;Wo.options=Df;Wo.className=_l;Wo.defaultOptions=zl;import{jsx as bo,jsxs as xo}from"react/jsx-runtime";var Hl="k-colorgradient-color-contrast",_f=[],zf={},Hf={},Jo=()=>xo("div",{className:n(Hl,"k-vbox"),children:[xo("div",{className:"k-contrast-ratio",children:[bo("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),xo("span",{className:"k-contrast-validation !k-text-success",children:[bo(N,{icon:"check"}),bo(N,{icon:"check"})]})]}),xo("div",{children:[bo("span",{children:"AA: 4.5"}),xo("span",{className:"k-contrast-validation !k-text-success",children:["Pass",bo(N,{icon:"check"})]})]}),xo("div",{children:[bo("span",{children:"AAA: 7.0"}),xo("span",{className:"k-contrast-validation !k-text-error",children:["Fail",bo(N,{icon:"x"})]})]})]});Jo.states=_f;Jo.options=zf;Jo.className=Hl;Jo.defaultOptions=Hf;var Fl="color-gradient",Ul="colorgradient";import{jsx as it,jsxs as Za}from"react/jsx-runtime";var wi="k-colorgradient",Ff=[s.hover,s.focus,s.readonly,s.disabled],Uf={size:[d.undefined,d.small,d.medium,d.large]},Ct={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"},Ie=e=>{let{size:t,mode:o=Ct.mode,readonly:a=Ct.readonly,disabled:i=Ct.disabled,gradientStyle:r=Ct.gradientStyle,dragHandleStyle:l=Ct.dragHandleStyle,alphaStyle:m=Ct.alphaStyle,alphaStyleHorizontal:c=Ct.alphaStyleHorizontal,contrast:b=Ct.contrast,dir:x,hover:g,focus:u,hoverHandle:v,focusHandle:I,canvasOrientation:S=Ct.canvasOrientation,role:k,tabIndex:E,...T}=e;return Za("div",{...T,role:k??"textbox","aria-label":k==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":i?"true":void 0,className:n(e.className,wi,C(wi,{size:t}),M(wi,{hover:g,focus:u,readonly:a,disabled:i})),dir:x,children:[!S||S==="horizontal"&&Za("div",{className:"k-colorgradient-canvas k-hstack",children:[it("div",{className:"k-hsv-rectangle",style:r,children:it("div",{className:"k-hsv-gradient",children:it("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":I}),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})})}),Za("div",{className:"k-hsv-controls k-hstack",children:[it(Wr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&it(Wr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:m})]})]}),S==="vertical"&&Za("div",{className:"k-colorgradient-canvas k-vstack",children:[it("div",{className:"k-hsv-rectangle",style:r,children:it("div",{className:"k-hsv-gradient",children:it("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":I}),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})})}),Za("div",{className:"k-hsv-controls k-vstack",children:[it(Xr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&it(Xr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:c})]})]}),it(Wo,{mode:e.mode,size:t}),b&&it(Jo,{})]})};Ie.states=Ff;Ie.options=Uf;Ie.className=wi;Ie.defaultOptions=Ct;Ie.moduleName=Fl;Ie.folderName=Ul;import{jsx as Gf}from"react/jsx-runtime";var Ki=e=>Gf(Ie,{...e});import{jsx as eP}from"react/jsx-runtime";import{jsx as iP}from"react/jsx-runtime";import{jsx as ln}from"react/jsx-runtime";var $f=Ie.options,Vf=Ie.states,Xf={...Ie.defaultOptions,variant:"rgba"},Wf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Jf=[],qo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return ln(Ki,{...o,mode:t});case"rgb":return ln(Ki,{...o,mode:t});default:return ln(Ki,{...o,mode:t})}};qo.options=$f;qo.states=Vf;qo.variants=Wf;qo.defaultOptions=Xf;qo.modifiers=Jf;qo.className=Ie.className;import{jsx as qf}from"react/jsx-runtime";var dn=e=>qf("tr",{role:"row",children:e.children});import{jsx as Qf}from"react/jsx-runtime";var pn="k-colorpalette-tile",Yf=[s.hover,s.focus,s.selected],Zf={},jt=e=>{let{color:t,tileSize:o,hover:a,focus:i,selected:r,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Qf("td",{...l,role:"gridcell","aria-label":t,"aria-selected":r?"true":void 0,className:n(e.className,pn,M(pn,{hover:a,focus:i,selected:r})),style:m})};jt.states=Yf;jt.options=Zf;jt.className=pn;jt.moduleName=null;jt.folderName=null;var Gl="color-palette",$l="colorpalette";import{jsx as Qa}from"react/jsx-runtime";var Di="k-colorpalette",jf=[s.disabled],eb={size:[d.undefined,d.small,d.medium,d.large]},Vl={columns:10},De=e=>{let{size:t,palette:o,columns:a=Vl.columns,tileSize:i,disabled:r,...l}=e,m=[];if(o){let c=a||o.columns,b=o.colors?o.colors:o;Array.isArray(b)&&Array.from({length:Math.ceil(b.length/c)},(x,g)=>{let u=[];b.slice(g*c,(g+1)*c).map((I,S)=>{u.push(Qa(jt,{color:I,tileSize:i},S))});let v=Qa(dn,{children:u},g);m.push(v)})}return Qa("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":r?"true":void 0,className:n(e.className,Di,M(Di,{disabled:r}),C(Di,{size:t})),children:Qa("table",{className:"k-colorpalette-table",role:"none",children:Qa("tbody",{children:m.length>0?m:e.children})})})};De.states=jf;De.options=eb;De.className=Di;De.defaultOptions=Vl;De.moduleName=Gl;De.folderName=$l;var _i=De;var ja={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as tb}from"react/jsx-runtime";var Xl=e=>tb(_i,{palette:ja.basic,...e});import{jsx as zP}from"react/jsx-runtime";import{jsx as VP,jsxs as XP}from"react/jsx-runtime";import{jsx as lb}from"react/jsx-runtime";var ob=De.options,ab=De.states,ib={...De.defaultOptions,variant:"basic"},rb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],nb={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}},sb=[],Yo=e=>{let{variant:t="basic",...o}=e,a=nb[t];return lb(Xl,{columns:a.columns,palette:a,...o})};Yo.options=ob;Yo.states=ab;Yo.variants=rb;Yo.defaultOptions=ib;Yo.modifiers=sb;Yo.className=De.className;var Wl="color-editor",Jl="coloreditor";import{jsx as rt,jsxs as Zo}from"react/jsx-runtime";var zi="k-coloreditor",db=[s.focus],pb={size:[d.undefined,d.small,d.medium,d.large]},ei={view:"gradient",palette:ja.office,actionButtons:!0,canvasOrientation:"horizontal"},re=e=>{let{size:t,view:o=ei.view,palette:a=ei.palette,color:i,currentColor:r,focus:l,focusView:m,dir:c,group:b,actionButtons:x=ei.actionButtons,canvasOrientation:g=ei.canvasOrientation,...u}=e;return Zo("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:n(e.className,"k-flatcolorpicker",zi,C(zi,{size:t}),M(zi,{focus:l})),dir:c,children:[Zo("div",{className:"k-coloreditor-header k-hstack",children:[rt("div",{className:"k-coloreditor-header-actions k-hstack",children:b&&Zo(B,{fillMode:"flat",children:[rt(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),rt(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),rt("div",{className:"k-spacer"}),Zo("div",{className:"k-coloreditor-header-actions k-hstack",children:[rt(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Zo("div",{className:"k-coloreditor-preview k-vstack",children:[rt(Wt,{className:"k-coloreditor-preview-color",color:i}),rt(Wt,{className:"k-coloreditor-current-color",color:r})]})]})]}),rt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?rt(Ie,{focus:m,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):rt(De,{palette:a,size:t})}),x&&Zo(Ue,{className:"k-coloreditor-footer",alignment:"start",children:[rt(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),rt(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};re.states=db;re.options=pb;re.className=zi;re.defaultOptions=ei;re.moduleName=Wl;re.folderName=Jl;var Qo=re;import{jsx as Lw}from"react/jsx-runtime";import{jsx as Ew}from"react/jsx-runtime";import{jsx as mb}from"react/jsx-runtime";var ql=e=>mb(Qo,{group:!0,currentColor:"fuchsia",...e});import{jsx as cb}from"react/jsx-runtime";var Yl=e=>cb(Qo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Zl}from"react/jsx-runtime";var ub=re.options,fb=re.states,bb={...re.defaultOptions,variant:"gradient"},xb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],hb=[],jo=e=>{let{variant:t,...o}=e;return t==="palette"?Zl(Yl,{...o,color:"white"}):Zl(ql,{...o,color:"rgba(183, 118 , 118, 1.00)"})};jo.options=ub;jo.states=fb;jo.variants=xb;jo.defaultOptions=bb;jo.modifiers=hb;jo.className=re.className;var Ql="color-picker",jl="colorpicker";import{Fragment as vb,jsx as nt,jsxs as mn}from"react/jsx-runtime";var ed="k-colorpicker",Nb=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],gb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},td={arrowIconName:"chevron-down"},he=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=td.arrowIconName,prefix:r,suffix:l,value:m,placeholder:c,hover:b,focus:x,valid:g,invalid:u,required:v,disabled:I,valueIconName:S,popup:k,opened:E,adaptive:T,adaptiveSettings:w,adaptiveTitle:Y,adaptiveSubtitle:te,...oe}=e,pe="colorpicker-popup";return mn(vb,{children:[mn(Lt,{...oe,size:t,rounded:o,fillMode:a,hover:b,focus:x,valid:g,invalid:u,required:v,disabled:I,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||T?pe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":I?"true":void 0,className:n(e.className,ed,"k-icon-picker"),children:[nt(be,{children:r}),nt(mo,{placeholder:c,value:m,showValue:!1,valueIcon:nt(Wt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),nt(xe,{children:l}),nt(p,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:I})]}),E&&k&&nt(J,{id:pe,className:"k-colorpicker-popup",children:k}),T&&nt(Z,{adaptive:!0,id:pe,...w,header:nt(ve,{actionsEnd:nt(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Y,subtitle:te}),footer:mn(Jt,{children:[nt(p,{text:"Cancel",size:"large"}),nt(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:nt(re,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};he.states=Nb;he.options=gb;he.className=ed;he.defaultOptions=td;he.moduleName=Ql;he.folderName=jl;var Dt=he;import{jsx as Lb}from"react/jsx-runtime";var Hi=e=>Lb(Dt,{...e});import{jsx as l0}from"react/jsx-runtime";import{jsx as u0}from"react/jsx-runtime";import{jsx as h0}from"react/jsx-runtime";import{jsx as L0}from"react/jsx-runtime";import{jsx as E0}from"react/jsx-runtime";import{jsx as A0}from"react/jsx-runtime";import{jsx as ho}from"react/jsx-runtime";var Ib=Dt.options,Sb=Dt.states,od={...Dt.defaultOptions,variant:"color"},kb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Eb=[{name:"opened",title:"Opened"}],ea=e=>{let{variant:t,modifiers:o,...a}={...od,...e},i={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?ho(re,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let r=i.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return ho("div",{style:r,children:ho(Hi,{...a,...i})});case"icon":return ho("div",{style:r,children:ho(Hi,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return ho("div",{style:r,children:ho(Hi,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};ea.options=Ib;ea.states=Sb;ea.variants=kb;ea.defaultOptions=od;ea.modifiers=Eb;ea.className=Dt.className;var cn="combobox",ad=cn;import{Fragment as un,jsx as ue,jsxs as ti}from"react/jsx-runtime";var id="k-combobox",Mb=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Cb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},fn={separators:!0,showClearButton:!0},Se=e=>{let{size:t,rounded:o,fillMode:a,separators:i=fn.separators,showClearButton:r=fn.showClearButton,prefix:l,suffix:m,value:c,placeholder:b,hover:x,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:T,readonly:w,adaptive:Y,adaptiveSettings:te,adaptiveTitle:oe,adaptiveSubtitle:pe,adaptiveCustomValue:po,id:Nt,autocomplete:Bt,activeDescendant:Vt,"aria-label":Ba,...Ra}=e,Pa=Nt?`${Nt}-listbox`:void 0;return ti(un,{children:[ti(X,{...Ra,size:t,rounded:o,fillMode:a,hover:x,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:w,className:n(e.className,id),children:[l&&ti(un,{children:[ue(be,{children:l}),i&&ue(ee,{})]}),ue(ce,{id:Nt,placeholder:b,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Pa:void 0,"aria-activedescendant":T&&Vt?Vt:void 0,"aria-autocomplete":Bt,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Ba,disabled:k,readOnly:w}),ue(j,{valid:u,invalid:v,loading:S,disabled:k}),ue(ae,{loading:S,disabled:k}),r&&ue(me,{loading:S,disabled:k,readonly:w,value:c}),m&&ti(un,{children:[i&&ue(ee,{}),ue(xe,{children:m})]}),ue(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:k})]}),T&&E&&ue(J,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),Y&&ue(Z,{adaptive:!0,id:Nt?`${Nt}-adaptive`:void 0,...te,header:ue(ve,{actionsEnd:ue(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:b,title:oe,subtitle:pe}),children:ue("div",{className:"k-list-container",children:ue(P,{customValue:po?ue(at,{text:`Use "${c}"`}):void 0,size:"large",children:ti(D,{"aria-label":oe||"Options",children:[ue(y,{text:"List item"}),ue(y,{text:"List item"}),ue(y,{text:"List item"})]})})})})]})};Se.states=Mb;Se.options=Cb;Se.className=id;Se.defaultOptions=fn;Se.moduleName=cn;Se.folderName=ad;var Ge=Se;import{jsx as yb}from"react/jsx-runtime";var rd=e=>yb(Ge,{...e});import{jsx as mK,jsxs as cK}from"react/jsx-runtime";import{jsx as NK,jsxs as gK}from"react/jsx-runtime";import{jsx as EK,jsxs as MK}from"react/jsx-runtime";import{Fragment as BK,jsx as OK}from"react/jsx-runtime";import{Fragment as _K,jsx as DK}from"react/jsx-runtime";import{jsx as $K,jsxs as VK}from"react/jsx-runtime";import{Fragment as jK,jsx as ZK,jsxs as QK}from"react/jsx-runtime";import{jsx as aD}from"react/jsx-runtime";import{jsx as sD}from"react/jsx-runtime";import{jsx as uD,jsxs as fD}from"react/jsx-runtime";import{jsx as vD,jsxs as LD}from"react/jsx-runtime";import{jsx as eo,jsxs as Pb}from"react/jsx-runtime";var Ab=Se.states,Tb=Se.defaultOptions,Ob=Se.options,Bb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Rb=[],ta=e=>{let{modifiers:t,...o}=e,a={},i=eo(P,{style:{width:300},size:o.size,children:Pb(D,{children:[eo(y,{children:"List item"}),eo(y,{children:"List item"}),eo(y,{children:"List item"})]})});return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?eo(N,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[r]?eo(Rt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[r],a.popup=t?.[r]?i:void 0;break;default:break}}),eo("div",{children:eo(rd,{value:"Value",style:{width:300},...o,...a})})};ta.options=Ob;ta.states=Ab;ta.variants=Rb;ta.defaultOptions=Tb;ta.modifiers=Bb;ta.className=Se.className;var bn="menu-button",nd=bn;import{jsx as Db}from"react/jsx-runtime";var sd="k-menu-button",wb=[s.hover,s.focus,s.active,s.selected,s.disabled],Kb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},xn={showArrow:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:r,focus:l,active:m,selected:c,disabled:b,icon:x,endIcon:g,text:u,showArrow:v=xn.showArrow,arrowIconName:I=xn.arrowIconName,expanded:S,...k}=e;return Db(p,{...k,className:n(e.className,sd),text:u,size:t,rounded:o,fillMode:a,themeColor:i,hover:r,focus:l,active:m,selected:c,disabled:b,ariaDisabled:b||void 0,icon:x,endIcon:g,showArrow:v,arrowIconName:I,"aria-expanded":S?"true":"false",...!u&&x&&!e["aria-label"]&&{"aria-label":"Menu"}})};W.states=wb;W.options=Kb;W.className=sd;W.defaultOptions=xn;W.moduleName=bn;W.folderName=nd;import{jsx as e_}from"react/jsx-runtime";import{jsx as i_}from"react/jsx-runtime";import{jsx as l_}from"react/jsx-runtime";import{jsx as c_}from"react/jsx-runtime";var $e="menu",st=$e;import{jsx as ai,jsxs as ld}from"react/jsx-runtime";var hn="k-menu-item",_b=[s.hover,s.focus,s.active,s.selected,s.disabled],zb={},dd={iconPosition:"before"},Me=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:r,icon:l,text:m,showArrow:c,arrowIconName:b,iconPosition:x=dd.iconPosition,dir:g,children:u,expanded:v,...I}=e,S=b;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),ld("li",{...I,className:n(e.className,hn,"k-item",M(hn,{focus:o,disabled:r,hover:t,active:a,selected:i})),role:"menuitem",...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":v?"true":"false"},...r&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[ld("span",{className:n("k-link k-menu-link"),children:[l&&x==="before"&&ai(N,{className:"k-menu-link-icon",icon:l}),ai("span",{className:"k-menu-link-text",children:m}),l&&x==="after"&&ai(N,{className:"k-menu-link-icon",icon:l}),c&&ai("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ai(N,{icon:S})})]}),u]})};Me.states=_b;Me.options=zb;Me.className=hn;Me.defaultOptions=dd;Me.moduleName=$e;Me.folderName=st;import{jsx as No,jsxs as pd}from"react/jsx-runtime";var Nn="k-menu-item",Hb=[s.hover,s.focus,s.active,s.selected,s.disabled],Fb={},gn={dir:"ltr",iconPosition:"before"},Q=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:r,icon:l,text:m,showArrow:c,arrowIconName:b,iconPosition:x=gn.iconPosition,dir:g=gn.dir,children:u,popup:v,expanded:I,actions:S,description:k,...E}=e,T=b;return T||(T=g==="rtl"?"chevron-left":"chevron-right"),pd("li",{role:"menuitem",...E,className:n(e.className,Nn,"k-item",M(Nn,{focus:o,disabled:r})),...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":I?"true":"false"},...r&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[pd("span",{className:n("k-link k-menu-link",M("k-menu-link",{hover:t,active:a,selected:i,disabled:r})),children:[l&&x==="before"&&No(N,{className:"k-menu-link-icon",icon:l}),No("span",{className:"k-menu-link-text",children:m}),l&&x==="after"&&No(N,{className:"k-menu-link-icon",icon:l}),S&&No("span",{className:"k-menu-link-actions",children:S}),c&&No("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:No(N,{icon:T})}),k&&No("span",{className:"k-menu-link-description",children:k})]}),u,v]})};Q.states=Hb;Q.options=Fb;Q.className=Nn;Q.defaultOptions=gn;Q.moduleName=$e;Q.folderName=st;import{jsx as Vb}from"react/jsx-runtime";var md="k-menu-scroll-wrapper",Ub=[],Gb={},$b={},go=e=>{let{className:t,children:o,orientation:a,...i}=e;return Vb("div",{...i,className:n(t,md,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};go.states=Ub;go.options=Gb;go.className=md;go.defaultOptions=$b;go.moduleName=$e;go.folderName=st;var cd=go;import{Fragment as vn,jsx as vo,jsxs as Fi}from"react/jsx-runtime";var Ui="k-menu",Xb=[],Wb={size:[d.undefined,d.small,d.medium,d.large]},Gi={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ke=e=>{let{children:t,orientation:o=Gi.orientation,header:a=Gi.header,scrollable:i,scrollButtonsPosition:r=Gi.scrollButtonsPosition,wrapperStyles:l,dir:m,size:c,popup:b,contextMenu:x,...g}=e,u={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},v=vo("ul",{dir:m,...g,className:n(e.className,"k-reset",Ui,{[`${Ui}-${o}`]:o,"k-header":a},C(Ui,{size:c})),role:x?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Fi(vn,{children:[i?Fi(cd,{orientation:o,style:l,dir:e.dir,children:[r==="start"&&Fi(vn,{children:[vo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),vo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),r==="around"&&vo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),v,r==="end"&&Fi(vn,{children:[vo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),vo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),r==="around"&&vo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):v,b]})};ke.states=Xb;ke.options=Wb;ke.className=Ui;ke.defaultOptions=Gi;ke.moduleName=$e;ke.folderName=st;import{jsx as Jb}from"react/jsx-runtime";var Ln="k-separator",ud={orientation:"horizontal"},oa=e=>{let{orientation:t=ud.orientation,...o}=e;return Jb("li",{...o,className:n(e.className,"k-item",Ln,{[`${Ln}-${t}`]:t}),role:"separator"})};oa.className=Ln;oa.defaultOptions=ud;oa.moduleName=$e;oa.folderName=st;import{Fragment as F_,jsx as U_}from"react/jsx-runtime";import{jsx as Qb}from"react/jsx-runtime";var In="k-menu-group",qb=[],Yb={size:[d.undefined,d.small,d.medium,d.large]},Zb={},Ce=e=>{let{children:t,size:o,...a}=e;return Qb("ul",{role:"menu",...a,className:n(e.className,In,C(In,{size:o})),children:t})};Ce.states=qb;Ce.options=Yb;Ce.className=In;Ce.defaultOptions=Zb;Ce.moduleName=$e;Ce.folderName=st;import{jsx as Z_,jsxs as Q_}from"react/jsx-runtime";import{Fragment as jb,jsx as aa,jsxs as ex}from"react/jsx-runtime";var Sn=e=>aa(ke,{children:ex(jb,{children:[aa(Me,{text:"Item 1"}),aa(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),aa(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),aa(Me,{text:"Item 4"}),aa(Me,{text:"Item 5"})]}),...e});import{Fragment as lz,jsx as nz,jsxs as sz}from"react/jsx-runtime";import{Fragment as uz,jsx as cz,jsxs as fz}from"react/jsx-runtime";import{Fragment as gz,jsx as Nz,jsxs as vz}from"react/jsx-runtime";import{Fragment as Ez,jsx as kz,jsxs as Mz}from"react/jsx-runtime";import{jsx as Lo,jsxs as rx}from"react/jsx-runtime";var tx={...ke.options,scrollable:{type:"boolean"}},ox=ke.states,fd={...ke.defaultOptions,variant:"horizontal"},ax=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],ix=[{name:"opened",title:"Opened"}],ia=e=>{let{variant:t,modifiers:o,...a}={...fd,...e},i={},r=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?Lo(J,{className:"k-menu-popup",offset:r,children:rx(Ce,{children:[Lo(Q,{text:"Item 1"}),Lo(Q,{text:"Item 2"}),Lo(oa,{}),Lo(Q,{text:"Item 3"})]})}):null)}),t==="vertical"?Lo(Sn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):Lo(Sn,{...a,...i})};ia.options=tx;ia.states=ox;ia.variants=ax;ia.defaultOptions=fd;ia.modifiers=ix;ia.className=ke.className;import{Fragment as rH,jsx as aH,jsxs as iH}from"react/jsx-runtime";import{jsx as dH}from"react/jsx-runtime";import{Fragment as px,jsx as yt,jsxs as bd}from"react/jsx-runtime";var nx=p.states,xd={...p.defaultOptions,variant:"text"},sx=p.options,lx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],dx=[{name:"opened",title:"Opened"}],ra=e=>{let{variant:t,modifiers:o,...a}={...xd,...e},i={},r=yt(J,{className:"k-menu-popup",children:bd(Ce,{size:a.size,children:[yt(Q,{text:"Menu Item"}),yt(Q,{text:"Menu Item"}),yt(Q,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=yt("div",{children:yt(W,{...a,...i,icon:"star"})});break;case"icon-and-text":l=yt("div",{children:yt(W,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:l=yt("div",{children:yt(W,{...a,...i,children:"Dropdown Button"})});break}return bd(px,{children:[l,o?.opened&&r]})};ra.options=sx;ra.states=nx;ra.variants=lx;ra.defaultOptions=xd;ra.modifiers=dx;ra.className=W.className;var kn="split-button",hd=kn;import{Fragment as ux,jsx as En,jsxs as Nd}from"react/jsx-runtime";var Mn="k-split-button",mx=[s.hover,s.focus,s.active,s.selected,s.disabled],cx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},gd={arrowIconName:"chevron-down"},H=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:r,focus:l,active:m,selected:c,disabled:b,icon:x,endIcon:g,text:u,arrowIconName:v=gd.arrowIconName,popup:I,opened:S,popupId:k,...E}=e;return Nd(ux,{children:[Nd("div",{...E,className:n(e.className,Mn,"k-button-group",C(Mn,{rounded:o})),children:[En(p,{text:u,icon:x,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:i,hover:r,focus:l,active:m,selected:c,disabled:b,...!u&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),En(p,{className:"k-split-button-arrow",icon:v,size:t,rounded:o,fillMode:a,disabled:b,ariaDisabled:b||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?k:void 0,tabIndex:-1})]}),S&&I&&En(J,{className:"k-menu-popup",children:I})]})};H.states=mx;H.options=cx;H.className=Mn;H.defaultOptions=gd;H.moduleName=kn;H.folderName=hd;var Cn=H;import{jsx as bx}from"react/jsx-runtime";var fx="k-toolbar-separator",Ee=e=>bx("div",{className:n(fx,e.className,"k-separator")});var Io="toolbar",na=Io;import{Fragment as yn,jsx as F,jsxs as sa}from"react/jsx-runtime";var _t="k-toolbar",xx=[s.focus],hx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},Nx={scrollButtons:"around"},q=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:r,scrollButtons:l,scrollingPosition:m,section:c,...b}=e,x=[],g=(u,v)=>{let I=[];if(u.type===p&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))I.push(F(p,{...u.props,className:`${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===p)I.push(F(p,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===za)I.push(F(za,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===Rt)I.push(F(Rt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===W)I.push(F(W,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===Cn)I.push(F(Cn,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===B||u.props.className&&u.props.className.includes("k-button-group")){let S=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((E,T)=>{S.push(F(p,{...E.props,className:`${E.props.className?E.props.className:""}`},`${T}-${new Date().getTime()}`))}),I.push(F(B,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:S},`${v}-${new Date().getTime()}`))}else u.type===Se?I.push(F(Se,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===V?I.push(F(V,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===he?I.push(F(he,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):I.push(u);I.forEach(S=>{x.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,I)=>{g(v,I)}),sa("div",{...b,className:n(e.className,_t,C(_t,{size:t,fillMode:o}),M(_t,{focus:a}),{[`${_t}-resizable`]:i,[`${_t}-scrollable`]:r,[`${_t}-scrollable-overlay`]:r&&l==="hidden",[`${_t}-scrollable-${m}`]:m&&m!=="both",[`${_t}-section`]:c}),role:"toolbar","aria-label":"Toolbar",children:[!r&&x,r&&l==="hidden"&&F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),r&&l==="start"&&sa(yn,{children:[sa(B,{children:[F("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-left"})}),F("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-right"})})]}),F(Ee,{className:"k-toolbar-button-separator"}),F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),r&&l==="end"&&sa(yn,{children:[F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),F(Ee,{className:"k-toolbar-button-separator"}),sa(B,{children:[F("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-left"})}),F("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-right"})})]})]}),r&&(l==="around"||!l)&&sa(yn,{children:[F("span",{className:n("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-left"})}),F(Ee,{className:"k-toolbar-button-separator"}),F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),F(Ee,{className:"k-toolbar-button-separator"}),F("span",{className:n("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-right"})})]})]})};q.states=xx;q.options=hx;q.className=_t;q.defaultOptions=Nx;q.moduleName=Io;q.folderName=na;import{jsx as Ix}from"react/jsx-runtime";var An="k-toolbar-item",gx=[s.focus],vx={},Lx={},to=e=>{let{focus:t,...o}=e;return Ix("div",{...o,className:n(e.className,An,M(An,{focus:t})),children:e.children})};to.states=gx;to.options=vx;to.className=An;to.defaultOptions=Lx;to.moduleName=Io;to.folderName=na;import{jsx as vd}from"react/jsx-runtime";var Ld="k-toolbar-popup",Sx=[],kx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},Ex={},So=e=>{let{size:t,fillMode:o,section:a,...i}=e;return vd(J,{...i,className:n(e.className,Ld),children:a?vd("span",{className:n("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};So.states=Sx;So.options=kx;So.className=Ld;So.defaultOptions=Ex;So.moduleName=Io;So.folderName=na;var $i=So;import{jsx as d1}from"react/jsx-runtime";import{jsx as u1}from"react/jsx-runtime";import{jsx as h1}from"react/jsx-runtime";import{jsx as L1}from"react/jsx-runtime";import{jsx as C1,jsxs as y1}from"react/jsx-runtime";import{jsx as B1}from"react/jsx-runtime";import{jsx as zt,jsxs as Tx}from"react/jsx-runtime";var Mx=H.states,Id={...H.defaultOptions,variant:"text"},Cx=H.options,yx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ax=[{name:"opened",title:"Opened"}],la=e=>{let{variant:t,modifiers:o,...a}={...Id,...e},i={},r=Tx(Ce,{size:a.size,children:[zt(Q,{text:"Menu Item"}),zt(Q,{text:"Menu Item"}),zt(Q,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?r:"")}),t){case"icon-only":return zt("div",{children:zt(H,{...a,...i,icon:"star"})});case"icon-and-text":return zt("div",{children:zt(H,{...a,...i,icon:"star",children:"Split Button"})});default:return zt("div",{children:zt(H,{...a,...i,children:"Split Button"})})}};la.options=Cx;la.states=Mx;la.variants=yx;la.defaultOptions=Id;la.modifiers=Ax;la.className=H.className;import{jsx as ko,jsxs as Ox}from"react/jsx-runtime";var Sd=e=>ko(q,{children:[ko(p,{children:"Button"},"toolbar-button"),ko(W,{text:"Menu button"},"toolbar-menu-button"),ko(H,{children:"Split button"},"toolbar-split-button"),Ox(B,{children:[ko(p,{className:"k-group-start",icon:"align-left",children:"Left"}),ko(p,{icon:"align-center",children:"Center"}),ko(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as lF,jsxs as dF}from"react/jsx-runtime";import{jsx as Ve,jsxs as kd}from"react/jsx-runtime";var Ed=e=>Ve(q,{scrollable:!0,...e,children:[Ve(p,{children:"Button"},"toolbar-button"),Ve(W,{text:"Menu button"},"toolbar-menu-button"),Ve(H,{children:"Split button"},"toolbar-split-button"),kd(B,{children:[Ve(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(p,{icon:"align-center",children:"Center"}),Ve(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ve(p,{children:"Button"},"toolbar-button"),Ve(W,{text:"Menu button"},"toolbar-menu-button"),Ve(H,{children:"Split button"},"toolbar-split-button"),kd(B,{children:[Ve(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(p,{icon:"align-center",children:"Center"}),Ve(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Xe,jsxs as Md}from"react/jsx-runtime";var Cd=({scrollingPosition:e="start",...t})=>Xe(q,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Xe(p,{children:"Button"},"toolbar-button"),Xe(W,{text:"Menu button"},"toolbar-menu-button"),Xe(H,{children:"Split button"},"toolbar-split-button"),Md(B,{children:[Xe(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Xe(p,{icon:"align-center",children:"Center"}),Xe(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Xe(p,{children:"Button"},"toolbar-button"),Xe(W,{text:"Menu button"},"toolbar-menu-button"),Xe(H,{children:"Split button"},"toolbar-split-button"),Md(B,{children:[Xe(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Xe(p,{icon:"align-center",children:"Center"}),Xe(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Bx,jsx as _e,jsxs as Vi}from"react/jsx-runtime";var yd=({fillMode:e,size:t,...o})=>Vi(Bx,{children:[_e(q,{section:!0,fillMode:e,size:t,children:[_e(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Vi(B,{fillMode:e,children:[_e(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),_e(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),_e(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),_e(Ee,{className:"k-toolbar-button-separator"}),_e(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Vi($i,{size:t,fillMode:e,section:!0,...o,children:[_e(H,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),_e(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),_e(Ee,{}),_e(W,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Vi(B,{fillMode:e,children:[_e(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),_e(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),_e(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as UF,jsx as HF,jsxs as FF}from"react/jsx-runtime";import{Fragment as jF,jsx as ZF,jsxs as QF}from"react/jsx-runtime";import{jsx as oo}from"react/jsx-runtime";var Rx=q.options,Px=q.states,Ad={...q.defaultOptions,variant:"default"},wx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Kx=[],da=e=>{let{variant:t,...o}={...Ad,...e};switch(t){case"responsive":return oo("div",{children:oo(yd,{style:{width:"583px"},...o})});case"overlay":return oo("div",{children:oo(Cd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return oo("div",{children:oo(Ed,{style:{width:"583px"},...o})});default:return oo("div",{children:oo(Sd,{style:{width:"583px"},...o})})}};da.options=Rx;da.states=Px;da.variants=wx;da.defaultOptions=Ad;da.modifiers=Kx;da.className=q.className;var Tn="autocomplete",Td=Tn;import{Fragment as On,jsx as Ne,jsxs as ii}from"react/jsx-runtime";var Od="k-autocomplete",Dx=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],_x={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Bn={separators:!0,showClearButton:!0},ht=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Bn.separators,showClearButton:r=Bn.showClearButton,prefix:l,suffix:m,value:c,placeholder:b,hover:x,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:T,readonly:w,adaptive:Y,adaptiveSettings:te,adaptiveTitle:oe,adaptiveSubtitle:pe,adaptiveCustomValue:po,id:Nt,autocomplete:Bt,activeDescendant:Vt,"aria-label":Ba,...Ra}=e,Pa=Nt?`${Nt}-listbox`:void 0;return ii(On,{children:[ii(X,{...Ra,size:t,rounded:o,fillMode:a,hover:x,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:w,className:n(e.className,Od),children:[l&&ii(On,{children:[Ne(be,{children:l}),i&&Ne(ee,{})]}),Ne(ce,{placeholder:b,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Pa:void 0,"aria-activedescendant":T&&Vt?Vt:void 0,"aria-autocomplete":Bt,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Ba,disabled:k,readOnly:w}),Ne(j,{valid:u,invalid:v,loading:S,disabled:k}),Ne(ae,{loading:S,disabled:k}),r&&Ne(me,{loading:S,disabled:k,readonly:w,value:c}),m&&ii(On,{children:[i&&Ne(ee,{}),Ne(xe,{children:m})]})]}),T&&E&&Ne(J,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:E}),Y&&Ne(Z,{adaptive:!0,...te,header:Ne(ve,{actionsEnd:Ne(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:b,title:oe,subtitle:pe}),children:Ne("div",{className:"k-list-container",children:Ne(P,{customValue:po?Ne(at,{text:`Use "${c}"`}):void 0,size:"large",children:ii(D,{"aria-label":"Options",children:[Ne(y,{text:"List item"}),Ne(y,{text:"List item"}),Ne(y,{text:"List item"})]})})})})]})};ht.states=Dx;ht.options=_x;ht.className=Od;ht.defaultOptions=Bn;ht.moduleName=Tn;ht.folderName=Td;var At=ht;import{jsx as zx}from"react/jsx-runtime";var Bd=e=>zx(At,{id:A("ac"),"aria-label":"Search",...e});import{jsx as F2,jsxs as U2}from"react/jsx-runtime";import{jsx as W2}from"react/jsx-runtime";import{Fragment as eU,jsx as j2}from"react/jsx-runtime";import{Fragment as sU,jsx as nU}from"react/jsx-runtime";import{jsx as uU,jsxs as fU}from"react/jsx-runtime";import{jsx as vU,jsxs as LU}from"react/jsx-runtime";import{jsx as CU,jsxs as yU}from"react/jsx-runtime";import{jsx as RU}from"react/jsx-runtime";import{jsx as Eo,jsxs as Vx}from"react/jsx-runtime";var Hx=U.states,Fx=U.defaultOptions,Ux=U.options,Gx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],$x=[],pa=e=>{let{modifiers:t,...o}=e,a={},i=Eo(P,{style:{width:300},size:o.size,children:Vx(D,{children:[Eo(y,{children:"List item"}),Eo(y,{children:"List item"}),Eo(y,{children:"List item"})]})});return Object.keys(t||{}).forEach(r=>{switch(r){case"prefix":a.prefix=t?.[r]?Eo(N,{icon:"search"}):void 0;break;case"suffix":a.suffix=t?.[r]?Eo(vt,{size:o.size,fillMode:"clear",children:"Search"}):void 0;break;case"opened":a.opened=!!t?.[r],a.popup=t?.[r]?i:void 0;break;default:break}}),Eo(Bd,{value:"Value",style:{width:300},...o,...a})};pa.options=Ux;pa.states=Hx;pa.variants=$x;pa.defaultOptions=Fx;pa.modifiers=Gx;pa.className=ht.className;import{Fragment as qx,jsx as lt,jsxs as Yx}from"react/jsx-runtime";var Rd="k-imageeditor-toolbar",Xx=[],Wx={},Jx={},ma=e=>{let{toolbarItems:t,adaptive:o,disabled:a,...i}=e;return lt(q,{...i,className:n(e.className,Rd),fillMode:"flat",children:t??Yx(qx,{children:[lt(p,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"}),lt(Ee,{}),lt(p,{fillMode:"flat",disabled:!0,icon:"undo","aria-label":"Undo"}),lt(p,{fillMode:"flat",disabled:!0,icon:"redo","aria-label":"Redo"}),lt(Ee,{}),lt(p,{fillMode:"flat",disabled:a,icon:"download","aria-label":"Download"}),lt("div",{className:"k-spacer"}),lt(p,{fillMode:"flat",disabled:a,icon:"zoom-in","aria-label":"Zoom In"}),!o&<(to,{children:lt(ht,{fillMode:"flat",disabled:a,value:"Fit",showClearButton:!1,"aria-label":"Zoom options"})}),lt(p,{fillMode:"flat",disabled:a,icon:"zoom-out","aria-label":"Zoom Out"})]})})};ma.states=Xx;ma.options=Wx;ma.className=Rd;ma.defaultOptions=Jx;import{Fragment as Qx,jsx as Be,jsxs as jx}from"react/jsx-runtime";var Rn="k-imageeditor-sidebar",Zx={scrollable:!1},Pd=e=>{let{sidebarItems:t,activeTool:o,disabled:a,adaptive:i,scrollable:r=Zx.scrollable,scrollingPosition:l,...m}=e,c=i?"k-separator k-separator-vertical":"k-separator";return Be("div",{...m,className:n(e.className,Rn,{[`${Rn}-scrollable`]:r,[`${Rn}-scrollable-${l}`]:l&&l!=="both"}),children:Be("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??jx(Qx,{children:[Be(p,{fillMode:"flat",togglable:!0,icon:"image-resize","aria-label":"Resize",selected:o==="Resize",disabled:a}),Be(p,{fillMode:"flat",togglable:!0,icon:"crop","aria-label":"Crop",selected:o==="Crop",disabled:a}),Be(p,{fillMode:"flat",togglable:!0,icon:"rotate","aria-label":"Rotate",selected:o==="Rotate",disabled:a}),Be("div",{className:c}),Be(p,{fillMode:"flat",togglable:!0,icon:"free-text","aria-label":"Text",selected:o==="Text",disabled:a}),Be(p,{fillMode:"flat",togglable:!0,icon:"shapes","aria-label":"Shapes",selected:o==="Shapes",disabled:a}),Be("div",{className:c}),Be(p,{fillMode:"flat",togglable:!0,icon:"drop-half-pixelated","aria-label":"Blur",selected:o==="Blur",disabled:a}),Be(p,{fillMode:"flat",togglable:!0,icon:"sliders-horizontal","aria-label":"Adjustments",selected:o==="Adjustments",disabled:a}),Be(p,{fillMode:"flat",togglable:!0,icon:"circles-three-intersecting","aria-label":"Filters",selected:o==="Filters",disabled:a}),Be("div",{className:c}),Be(p,{fillMode:"flat",togglable:!0,icon:"frame-corners","aria-label":"Frame",selected:o==="Frame",disabled:a}),Be(p,{fillMode:"flat",togglable:!0,icon:"circle-half-tilted","aria-label":"Shadow",selected:o==="Shadow",disabled:a})]})})})};var ri="loader",Xi=ri;import{Fragment as Pn,jsx as wd,jsxs as Wi}from"react/jsx-runtime";var wn="k-loader",eh={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},th=[],oh={size:[d.undefined,d.small,d.medium,d.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Kd={animation:"pulsing"},ne=e=>{let{size:t,themeColor:o,animation:a=Kd.animation,...i}=e,r=wd("span",{className:"k-loader-segment"});return wd("div",{...i,className:n(e.className,wn,{[`k-loader-${eh[a]||a}`]:a},C(wn,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:Wi("div",{className:"k-loader-canvas",children:[a==="pulsing"&&Wi(Pn,{children:[r,r]}),a==="infinite-spinner"&&Wi(Pn,{children:[r,r,r]}),a==="converging-spinner"&&Wi(Pn,{children:[r,r,r,r]})]})})};ne.states=th;ne.options=oh;ne.className=wn;ne.defaultOptions=Kd;ne.moduleName=ri;ne.folderName=Xi;var Dd=ne;import{jsx as Kn,jsxs as _d}from"react/jsx-runtime";var Dn="k-loader-container",ah=[],ih={size:[d.undefined,d.small,d.medium,d.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Ji={loaderType:"pulsing",position:"top",panel:!1},Mo=e=>{let{size:t,themeColor:o,loaderType:a=Ji.loaderType,position:i=Ji.position,panel:r=Ji.panel,...l}=e;return _d("div",{...l,className:n(e.className,Dn,C(Dn,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":l["aria-label"]||"Loading",children:[Kn(il,{className:"k-loader-container-overlay"}),_d("div",{className:n("k-loader-container-inner",{"k-loader-container-panel":r}),children:[Kn(Dd,{size:t,themeColor:o,animation:a}),Kn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};Mo.states=ah;Mo.options=ih;Mo.className=Dn;Mo.defaultOptions=Ji;Mo.moduleName=ri;Mo.folderName=Xi;import{jsx as M3}from"react/jsx-runtime";import{jsx as T3}from"react/jsx-runtime";import{jsx as P3}from"react/jsx-runtime";import{jsx as _3}from"react/jsx-runtime";import{jsx as _n}from"react/jsx-runtime";var rh=ne.options,nh=ne.states,sh={...ne.defaultOptions,variant:"infinite-spinner"},lh=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],dh=[],ca=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return _n(ne,{animation:"pulsing",...o});case"converging-spinner":return _n(ne,{animation:"converging-spinner",...o});default:return _n(ne,{animation:"infinite-spinner",...o})}};ca.options=rh;ca.states=nh;ca.variants=lh;ca.defaultOptions=sh;ca.modifiers=dh;ca.className=ne.className;var zd="image-editor",Hd="imageeditor",ni={width:494,height:307},si={width:326,height:203};import{Fragment as Fd,jsx as Tt,jsxs as li}from"react/jsx-runtime";var zn="k-imageeditor",ph=[],mh={},ch={},se=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,activeTool:i,placeholder:r,contentHeight:l,exporting:m,adaptive:c,sidebarScrollable:b,sidebarScrollingPosition:x,children:g,...u}=e,v=!!r,I=Tt("div",{className:"k-imageeditor-canvas-container",children:r??Tt("div",{className:"k-imageeditor-canvas",children:g})}),S=o&&Tt("div",{className:"k-imageeditor-action-pane",children:o}),k=Tt(Pd,{sidebarItems:a,activeTool:i,disabled:v,adaptive:c,scrollable:b,scrollingPosition:x});return li("div",{role:"application","aria-label":"Image Editor",...u,className:n(e.className,zn,{[`${zn}-adaptive`]:c}),children:[Tt("div",{className:"k-imageeditor-header",children:Tt(ma,{toolbarItems:t,adaptive:c,disabled:v})}),Tt("div",{className:"k-imageeditor-content",style:{height:l},children:c?li(Fd,{children:[I,S,k]}):li(Fd,{children:[k,S,I]})}),m&&li("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[Tt(ft,{className:"k-loader-container-overlay"}),li("div",{className:"k-loader-container-inner k-loader-container-panel",children:[Tt(ne,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),Tt("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};se.states=ph;se.options=mh;se.className=zn;se.defaultOptions=ch;se.moduleName=zd;se.folderName=Hd;import{Fragment as qi,jsx as ao,jsxs as di}from"react/jsx-runtime";var Hn="k-upload-dropzone",uh=[s.hover],Yi=e=>{let{hover:t,status:o,disabled:a,hasFiles:i,filesId:r,buttonText:l="Select files...",...m}=e,c;switch(o){case"uploading":c=di(qi,{children:[ao(N,{icon:"upload"}),"Uploading..."]});break;case"done":c=di(qi,{children:[ao(N,{icon:"check"}),"Done"]});break;case"failed":c=di(qi,{children:[ao(N,{icon:"exclamation-circle"}),"Done"]});break;default:c=ao(qi,{});break}return di("div",{...m,className:n(e.className,Hn,"k-dropzone",M(Hn,{hover:t})),children:[di("div",{className:"k-upload-button-wrap",children:[ao(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...i&&r?{"aria-controls":r}:{},children:l}),ao("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),ao("span",{className:n("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&ao("span",{className:"k-upload-status",children:c})]})};Yi.states=uh;Yi.className=Hn;var Fn="upload",Ud=Fn;import{jsx as Zi,jsxs as $d}from"react/jsx-runtime";var Un="k-upload",fh=[s.hover,s.disabled],bh={},Vd={actionsLayout:"end"},Gd="upload-files-list",ge=e=>{let{async:t,empty:o,actions:a,actionsLayout:i=Vd.actionsLayout,hover:r,status:l,disabled:m,buttonText:c,...b}=e,x=!!e.children;return $d("div",{...b,className:n(e.className,Un,M(Un,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Zi(Yi,{status:l,hover:r,disabled:m,hasFiles:x,filesId:Gd,buttonText:c}),x&&Zi("ul",{className:"k-upload-files",role:"list",id:Gd,children:e.children}),a&&x&&$d(Ws,{alignment:i,orientation:"horizontal",children:[Zi(p,{className:"k-clear-selected",children:"Clear"}),Zi(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};ge.states=fh;ge.options=bh;ge.className=Un;ge.defaultOptions=Vd;ge.moduleName=Fn;ge.folderName=Ud;var pi="progressbar",Qi=pi;import{jsx as $n,jsxs as Gn}from"react/jsx-runtime";var dt="k-progressbar",xh=[s.disabled,s.indeterminate],hh={orientation:["horizontal","vertical"]},Co={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Re=e=>{let{disabled:t,height:o,indeterminate:a=Co.indeterminate,label:i=Co.label,labelPosition:r=Co.labelPosition,orientation:l=Co.orientation,reverse:m=Co.reverse,value:c=Co.value,width:b,style:x,ariaLabel:g,...u}=e;return Gn("div",{...u,className:n(e.className,dt,M(dt,{disabled:t}),{[`${dt}-${l}`]:l,[`${dt}-indeterminate`]:a,[`${dt}-reverse`]:m}),style:{...x,"--kendo-progressbar-value":c,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:b},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(c),"aria-valuemin":0,"aria-valuemax":100,children:[$n("span",{className:n("k-progress-status-wrap",{[`k-progress-${r}`]:r&&!a}),children:i&&Gn("span",{className:"k-progress-status",children:[c,"%"]})}),!a&&$n("div",{className:"k-progressbar-value k-selected",children:$n("span",{className:n("k-progress-status-wrap",{[`k-progress-${r}`]:r}),children:i&&Gn("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Re.states=xh;Re.options=hh;Re.className=dt;Re.defaultOptions=Co;Re.moduleName=pi;Re.folderName=Qi;var Xd=Re;import{jsx as Vn}from"react/jsx-runtime";var Wd="k-chunk-progressbar",Nh=(e,t)=>t<=e-1,gh=[s.disabled,s.indeterminate],vh={},ji={chunkCount:5,orientation:"horizontal",progress:0},ua=e=>{let{disabled:t,chunkCount:o=ji.chunkCount,indeterminate:a,orientation:i=ji.orientation,progress:r=ji.progress,reverse:l,ariaLabel:m,...c}=e;return Vn("div",{...c,className:n(e.className,dt,Wd,M(dt,{disabled:t}),{[`${dt}-${i}`]:i,[`${dt}-indeterminate`]:a,[`${dt}-reverse`]:l}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:r,"aria-valuemin":0,"aria-valuemax":o,children:Vn("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((b,x)=>Vn("li",{className:n("k-progressbar-chunk",{"k-first":x===0,"k-last":x===[...Array(o)].length-1,"k-selected":Nh(r,x)})},x))})})};ua.states=gh;ua.options=vh;ua.className=Wd;ua.defaultOptions=ji;ua.moduleName=pi;ua.folderName=Qi;import{jsx as Lh}from"react/jsx-runtime";var mi=e=>Lh(Xd,{...e});import{jsx as D5}from"react/jsx-runtime";import{jsx as io}from"react/jsx-runtime";var Ih=Re.options,Sh=Re.states,Jd={...Re.defaultOptions,variant:"start"},kh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Eh=[],fa=e=>{let{variant:t,modifiers:o,...a}={...Jd,...e},i={},r={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":i.reverse=!!o?.[l];break;case"vertical":i.orientation=o?.[l]?"vertical":void 0,r.style=o?.[l]?void 0:{width:"324px"};break}}),t){case"end":return io("div",{...r,children:io(mi,{...a,...i,labelPosition:"end",value:"50"})});case"center":return io("div",{...r,children:io(mi,{...a,...i,labelPosition:"center",value:"50"})});case"empty":return io("div",{...r,children:io(mi,{...a,...i,label:!1,value:"50"})});default:return io("div",{...r,children:io(mi,{...a,...i,labelPosition:"start",value:"50"})})}};fa.options=Ih;fa.states=Sh;fa.variants=kh;fa.defaultOptions=Jd;fa.modifiers=Eh;fa.className=Re.className;import{jsx as Xn,jsxs as Ch}from"react/jsx-runtime";var Mh="k-file-info",Wn=e=>{let{name:t,size:o,validationMsg:a,...i}=e;return Ch("div",{...i,className:n(e.className,Mh),children:[t&&Xn("span",{className:"k-file-name",children:t}),o&&Xn("span",{className:"k-file-size",children:o}),a&&Xn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as Ah,jsx as Ht,jsxs as er}from"react/jsx-runtime";var yh="k-file",ze=e=>{let{status:t,progress:o,name:a,icon:i,size:r,state:l,validationMsg:m,...c}=e;return Ht("li",{...c,className:n(e.className,yh,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:er("div",{className:"k-file-single",children:[Ht(Re,{className:n({"k-hidden":t!=="progress"}),value:o,label:!1}),er("span",{className:"k-file-icon-wrapper",children:[Ht(N,{className:"k-file-icon",icon:i,size:"xxlarge"}),l&&Ht("span",{className:"k-file-state",children:l})]}),Ht(Wn,{name:a,size:r,validationMsg:m}),Ht("div",{className:"k-upload-actions",children:t==="progress"?er(Ah,{children:[er("span",{className:"k-upload-pct",children:[o,"%"]}),Ht(p,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),Ht(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):Ht(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as uG,jsx as mG,jsxs as cG}from"react/jsx-runtime";import{Fragment as Th,jsx as Jn,jsxs as Oh}from"react/jsx-runtime";var ci=e=>Jn(ge,{async:!0,children:Oh(Th,{children:[Jn(ze,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),Jn(ze,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as SG,jsx as LG,jsxs as IG}from"react/jsx-runtime";import{jsx as Bh}from"react/jsx-runtime";var qn=e=>Bh(ge,{async:!0,empty:!0,...e});import{Fragment as OG,jsx as TG,jsxs as BG}from"react/jsx-runtime";import{Fragment as DG,jsx as KG,jsxs as _G}from"react/jsx-runtime";import{jsx as Ft,jsxs as tr}from"react/jsx-runtime";var Rh=ge.options,Ph=ge.states,qd={...ge.defaultOptions,variant:"empty"},wh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],Kh=[],ba=e=>{let{variant:t,...o}={...qd,...e};switch(t){case"success":return tr(ci,{status:"done",style:{width:"586px"},...o,children:[Ft(ze,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Ft(ze,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return tr(ci,{status:"failed",style:{width:"586px"},...o,children:[Ft(ze,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Ft(ze,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return tr(ci,{status:"uploading",style:{width:"586px"},...o,children:[Ft(ze,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Ft(ze,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return tr(ci,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Ft(ze,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Ft(ze,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Ft(qn,{async:!0,status:"upload",style:{width:"586px"},...o})}};ba.options=Rh;ba.states=Ph;ba.variants=wh;ba.defaultOptions=qd;ba.modifiers=Kh;ba.className=ge.className;import{Fragment as m6,jsx as d6,jsxs as p6}from"react/jsx-runtime";import{jsx as xa,jsxs as Yd}from"react/jsx-runtime";var Zd="k-imageeditor-pane",Dh=[],_h={},zh={},fe=e=>{let{title:t,actions:o,adaptive:a,confirmDisabled:i,children:r,...l}=e;return Yd("div",{...l,className:n(e.className,Zd),children:[Yd("div",{className:"k-imageeditor-pane-header",children:[a&&xa(p,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),xa("div",{className:"k-imageeditor-pane-title",children:t}),a?xa(p,{fillMode:"flat",icon:"check",disabled:i,"aria-label":"Confirm",title:"Confirm"}):xa(p,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),xa("div",{className:"k-imageeditor-pane-content",children:r}),!a&&o&&xa(Ue,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};fe.states=Dh;fe.options=_h;fe.className=Zd;fe.moduleName=null;fe.folderName=null;fe.defaultOptions=zh;import{jsx as Gh}from"react/jsx-runtime";var Yn="k-imageeditor-option-preview",Hh=[s.hover,s.focus,s.selected],Fh={},Uh={},We=e=>{let{label:t,hover:o,focus:a,selected:i,children:r,...l}=e;return Gh("div",{...l,className:n(e.className,Yn,M(Yn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:r??t})};We.states=Hh;We.options=Fh;We.className=Yn;We.moduleName=null;We.folderName=null;We.defaultOptions=Uh;import{jsx as Qd}from"react/jsx-runtime";var or="k-imageeditor-option-list",Zn={scrollable:!1,scrollingPosition:"start"},ha=e=>{let{scrollable:t=Zn.scrollable,scrollingPosition:o=Zn.scrollingPosition,children:a,...i}=e;return Qd("div",{...i,className:n(e.className,or,{[`${or}-scrollable`]:t,[`${or}-scrollable-${o}`]:o&&o!=="both"}),children:Qd("div",{className:"k-imageeditor-option-list-items",children:a})})};ha.className=or;ha.moduleName=null;ha.folderName=null;ha.defaultOptions=Zn;import{Fragment as Vh,jsx as jd,jsxs as Xh}from"react/jsx-runtime";var $h={},ro=e=>{let{label:t,style:o,children:a,imageSrc:i}=e;return Xh(Vh,{children:[jd("span",{"aria-hidden":"true",style:{position:"relative",display:"block",width:"100%",height:"40px",borderRadius:"2px",backgroundImage:i?`url('${i}')`:void 0,backgroundSize:"cover",boxSizing:"border-box",...o},children:a}),t&&jd("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};ro.moduleName=null;ro.folderName=null;ro.defaultOptions=$h;import{jsx as Wh}from"react/jsx-runtime";var ye=e=>{let{imageSrc:t,adaptive:o,style:a,...i}=e;return Wh("canvas",{role:"img","aria-label":"Image being edited",...o?si:ni,...i,style:{...t&&{backgroundImage:`url('${t}')`},backgroundSize:"cover",...a}})};ye.moduleName=null;ye.folderName=null;import{Fragment as ep,jsx as Ut,jsxs as tp}from"react/jsx-runtime";var op={variant:"crop"},Na=e=>{let{variant:t=op.variant,grid:o,corners:a=!0}=e,i=t==="crop"?"k-resize-handle":"k-scale-handle",r=t==="scale"?"k-scale-handle":"k-resize-handle";return tp(ep,{children:[o&&Ut("div",{className:"k-imageeditor-crop-grid"}),a&&tp(ep,{children:[Ut("span",{className:`${i} k-resize-nw`}),Ut("span",{className:`${i} k-resize-ne`}),Ut("span",{className:`${i} k-resize-sw`}),Ut("span",{className:`${i} k-resize-se`})]}),Ut("span",{className:`${r} k-resize-n`}),Ut("span",{className:`${r} k-resize-s`}),Ut("span",{className:`${r} k-resize-w`}),Ut("span",{className:`${r} k-resize-e`})]})};Na.moduleName=null;Na.folderName=null;Na.defaultOptions=op;import{jsx as ap}from"react/jsx-runtime";var Jh="k-rotate-handle",Qn=e=>ap("span",{...e,className:n(e.className,Jh),children:ap(N,{icon:"rotate"})});Qn.moduleName=null;Qn.folderName=null;import{jsx as z6}from"react/jsx-runtime";var ip="form",rp="forms";import{Fragment as np,jsx as ar,jsxs as Zh}from"react/jsx-runtime";var ir="k-form",qh=[],Yh={size:[d.undefined,d.small,d.medium,d.large]},jn={layout:"basic",tag:"form"},G=e=>{let{size:t,orientation:o,layout:a=jn.layout,formButtons:i,cols:r,gutters:l,tag:m=jn.tag,children:c,style:b}=e,x=m,g=n(e.className,ir,C(ir,{size:t}),{[`${ir}-${o}`]:o}),u=Zh(np,{children:[a==="grid"?ar("div",{className:n("k-form-layout","k-d-grid",{[`k-grid-cols-${r}`]:r}),style:{...typeof l=="string"&&{gap:l},...typeof l=="object"&&l.rows&&{rowGap:l.rows},...typeof l=="object"&&l.cols&&{columnGap:l.cols},...b},children:c}):ar(np,{children:c}),i&&ar("div",{className:"k-form-buttons",children:i})]}),{role:v,"aria-labelledby":I,"aria-label":S,id:k}=e;return ar(x,{className:g,role:v,"aria-labelledby":I,"aria-label":S,id:k,children:u})};G.states=qh;G.options=Yh;G.className=ir;G.defaultOptions=jn;G.moduleName=ip;G.folderName=rp;var sp="label",lp="label";import{jsx as dp,jsxs as tN}from"react/jsx-runtime";var es="k-label",Qh=[s.disabled],jh={},eN={},no=e=>{let{disabled:t,optional:o,info:a,text:i,children:r,...l}=e;return tN("label",{...l,className:n(e.className,es,M(es,{disabled:t})),children:[i||r,o&&dp("span",{className:"k-label-optional",children:"(Optional)"}),a&&dp("span",{className:"k-field-info",children:a})]})};no.states=Qh;no.options=jh;no.className=es;no.defaultOptions=eN;no.moduleName=sp;no.folderName=lp;import{jsx as rN}from"react/jsx-runtime";var pp="k-form-hint",oN=[],aN={},iN={},pt=e=>{let{text:t,children:o,...a}=e;return rN("div",{...a,className:n(e.className,pp),children:t||o})};pt.states=oN;pt.options=aN;pt.className=pp;pt.defaultOptions=iN;import{jsx as dN}from"react/jsx-runtime";var mp="k-form-error",nN=[],sN={},lN={},mt=e=>{let{text:t,children:o,...a}=e;return dN("div",{...a,className:n(e.className,mp),children:t||o})};mt.states=nN;mt.options=sN;mt.className=mp;mt.defaultOptions=lN;import{jsx as rr,jsxs as cp}from"react/jsx-runtime";var ts="k-form-field",pN=[s.disabled],$=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:r,hint:l,error:m,info:c,disabled:b,dir:x,colSpan:g,...u}=e;return cp("div",{...u,className:n(ts,e.className,M(ts,{disabled:b}),{[`k-col-span-${g}`]:g}),dir:x,children:[o&&rr(no,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:c?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&rr("span",{className:"k-label k-form-label k-label-empty"}),cp("div",{className:"k-form-field-wrap",children:[r,l&&rr(pt,{id:t?`${t}-hint`:void 0,children:l}),m&&rr(mt,{id:t?`${t}-error`:void 0,children:m})]})]})};$.states=pN;$.className=ts;import{Fragment as mN,jsx as os,jsxs as cN}from"react/jsx-runtime";var up="k-form-fieldset",Pe=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:r}=e;return cN("fieldset",{className:n(up,{[`k-col-span-${r}`]:r}),children:[t&&os("legend",{className:"k-form-legend",children:t}),o==="grid"?os("div",{className:n("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):os(mN,{children:e.children})]})};Pe.className=up;var yo="radio",ga=yo;import{jsx as fp}from"react/jsx-runtime";var nr="k-radio",uN=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked],fN={size:[d.undefined,d.small,d.medium,d.large]},bN={},Je=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:r,invalid:l,valid:m,required:c,size:b,...x}=e;return fp("span",{className:"k-radio-wrap",children:fp("input",{...x,id:t,type:"radio",checked:o,required:c,disabled:r||void 0,"aria-invalid":l?"true":void 0,className:n(e.className,nr,C(nr,{size:b}),M(nr,{hover:a,focus:i,disabled:r,invalid:l,valid:m,checked:o}))})})};Je.states=uN;Je.options=fN;Je.className=nr;Je.defaultOptions=bN;Je.moduleName=yo;Je.folderName=ga;var ct=Je;import{jsx as NN}from"react/jsx-runtime";var bp="k-radio-list",xN=[],hN={},xp={layout:"vertical"},le=e=>{let{layout:t=xp.layout,...o}=e;return NN("ul",{...o,className:n(e.className,bp,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};le.states=xN;le.options=hN;le.className=bp;le.defaultOptions=xp;le.moduleName=yo;le.folderName=ga;import{jsx as IN}from"react/jsx-runtime";var hp="k-radio-list-item",gN=[],vN={},LN={},de=e=>{let{...t}=e;return IN("li",{...t,className:n(e.className,hp),role:"none",children:e.children})};de.states=gN;de.options=vN;de.className=hp;de.defaultOptions=LN;de.moduleName=yo;de.folderName=ga;import{jsx as C9}from"react/jsx-runtime";import{Fragment as SN,jsx as Np,jsxs as kN}from"react/jsx-runtime";var qe=({children:e,id:t,...o})=>kN(SN,{children:[Np(ct,{...o,id:t}),Np("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as w9,jsx as P9,jsxs as K9}from"react/jsx-runtime";import{Fragment as U9,jsx as H9,jsxs as F9}from"react/jsx-runtime";import{Fragment as W9,jsx as X9,jsxs as J9}from"react/jsx-runtime";import{Fragment as j9,jsx as Q9,jsxs as e7}from"react/jsx-runtime";import{Fragment as s7,jsx as n7,jsxs as l7}from"react/jsx-runtime";import{jsx as c7}from"react/jsx-runtime";import{jsx as ON}from"react/jsx-runtime";var MN=ct.options,CN=ct.states,yN=ct.defaultOptions,AN=[],TN=[],va=e=>ON(qe,{id:A("radio"),name:"value",...e,children:"Label"});va.options=MN;va.states=CN;va.variants=AN;va.defaultOptions=yN;va.modifiers=TN;va.className=ct.className;import{jsx as ut,jsxs as gp}from"react/jsx-runtime";var BN=le.options,RN=le.states,PN={...le.defaultOptions,variant:"vertical"},wN=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],KN=[],La=e=>{let{variant:t,...o}=e;return t==="horizontal"?gp(le,{layout:"horizontal",...o,children:[ut(de,{children:ut(qe,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ut(de,{children:ut(qe,{id:A("rb"),name:"value",children:"Label"})}),ut(de,{children:ut(qe,{id:A("rb"),name:"value",children:"Label"})})]}):gp(le,{...o,children:[ut(de,{children:ut(qe,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ut(de,{children:ut(qe,{id:A("rb"),name:"value",children:"Label"})}),ut(de,{children:ut(qe,{id:A("rb"),name:"value",children:"Label"})})]})};La.options=BN;La.states=RN;La.variants=wN;La.defaultOptions=PN;La.modifiers=KN;La.className=le.className;import{Fragment as J7,jsx as W7,jsxs as q7}from"react/jsx-runtime";import{Fragment as i4,jsx as a4,jsxs as r4}from"react/jsx-runtime";import{Fragment as c4,jsx as m4,jsxs as u4}from"react/jsx-runtime";var vp="date-input",Lp="dateinput";import{jsx as ui,jsxs as HN}from"react/jsx-runtime";var Ip="k-dateinput",DN=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],_N={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},zN={},Ye=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:r,hover:l,focus:m,valid:c,invalid:b,required:x,loading:g,disabled:u,readonly:v,showClearButton:I,showSpinButton:S,id:k,"aria-label":E,"aria-describedby":T,...w}=e;return HN(X,{...w,size:t,rounded:o,fillMode:a,hover:l,focus:m,valid:c,invalid:b,required:x,loading:g,disabled:u,readonly:v,className:n(e.className,Ip),children:[ui(ce,{id:k,placeholder:r,value:i,disabled:u,"aria-label":E,"aria-describedby":T,"aria-invalid":b?"true":void 0}),ui(j,{valid:c,invalid:b,loading:g,disabled:u}),ui(ae,{loading:g,disabled:u}),I&&ui(me,{loading:g,disabled:u,readonly:v,value:i}),S&&ui(Et,{className:"k-input-spinner",size:t,fillMode:a,disabled:u})]})};Ye.states=DN;Ye.options=_N;Ye.className=Ip;Ye.defaultOptions=zN;Ye.moduleName=vp;Ye.folderName=Lp;var as=Ye;import{jsx as FN}from"react/jsx-runtime";var Sp=e=>FN(as,{...e});import{jsx as C4}from"react/jsx-runtime";import{jsx as WN}from"react/jsx-runtime";var UN=Ye.options,GN=Ye.states,$N=Ye.defaultOptions,VN=[{name:"spin-button",title:"`Spin` Button"}],XN=[],Ia=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),WN(Sp,{value:"2/04/2021",style:{width:"300px"},...o,...a})};Ia.options=UN;Ia.states=GN;Ia.variants=XN;Ia.defaultOptions=$N;Ia.modifiers=VN;Ia.className=Ye.className;var kp="masked-textbox",Ep="maskedtextbox";import{Fragment as Mp,jsx as so,jsxs as is}from"react/jsx-runtime";var Cp="k-maskedtextbox",JN=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],qN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},rs={showClearButton:!0,separators:!0},Ze=e=>{let{size:t,rounded:o,fillMode:a,separators:i=rs.separators,showClearButton:r=rs.showClearButton,prefix:l,suffix:m,value:c,placeholder:b,hover:x,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,id:T,"aria-label":w,"aria-describedby":Y,...te}=e;return is(X,{...te,size:t,rounded:o,fillMode:a,hover:x,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,className:n(e.className,Cp),children:[l&&is(Mp,{children:[so(be,{children:l}),i&&so(ee,{})]}),so(ce,{id:T,placeholder:b,value:c,disabled:k,"aria-label":w,"aria-describedby":Y,"aria-invalid":v?"true":void 0}),so(j,{valid:u,invalid:v,loading:S,disabled:k}),so(ae,{loading:S,disabled:k}),r&&so(me,{loading:S,disabled:k,readonly:E,value:c}),m&&is(Mp,{children:[i&&so(ee,{}),so(xe,{children:m})]})]})};Ze.states=JN;Ze.options=qN;Ze.className=Cp;Ze.defaultOptions=rs;Ze.moduleName=kp;Ze.folderName=Ep;var Sa=Ze;import{jsx as YN}from"react/jsx-runtime";var yp=e=>YN(Sa,{...e});import{Fragment as Q4,jsx as Z4}from"react/jsx-runtime";import{Fragment as i8,jsx as a8}from"react/jsx-runtime";import{jsx as l8}from"react/jsx-runtime";import{jsx as c8}from"react/jsx-runtime";import{jsx as ns}from"react/jsx-runtime";var ZN=Ze.states,QN=Ze.defaultOptions,jN=Ze.options,eg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],tg=[],ka=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?ns(V,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?ns(N,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),ns(yp,{value:"Value",style:{width:300},...o,...a})};ka.options=jN;ka.states=ZN;ka.variants=tg;ka.defaultOptions=QN;ka.modifiers=eg;ka.className=Ze.className;var ss="switch",Ap=ss;import{jsx as sr,jsxs as Tp}from"react/jsx-runtime";var lo="k-switch",og=[s.hover,s.focus,s.disabled,s.readonly,s.checked],ag={size:[d.undefined,d.small,d.medium,d.large],trackRounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],thumbRounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},ig={},He=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:r,thumbRounded:l,hover:m,focus:c,disabled:b,readonly:x,...g}=e;return Tp("span",{...g,className:n(e.className,lo,C(lo,{size:i}),M(lo,{hover:m,focus:c,disabled:b,readonly:x}),{[`${lo}-on`]:t,[`${lo}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:b?void 0:0,"aria-disabled":b?"true":void 0,"aria-readonly":x?"true":void 0,children:[Tp("span",{className:n("k-switch-track",C(lo,{rounded:r})),children:[o&&sr("span",{className:"k-switch-label-on",children:o}),a&&sr("span",{className:"k-switch-label-off",children:a})]}),sr("span",{className:"k-switch-thumb-wrap",children:sr("span",{className:n("k-switch-thumb",C(lo,{rounded:l}))})})]})};He.states=og;He.options=ag;He.className=lo;He.defaultOptions=ig;He.moduleName=ss;He.folderName=Ap;import{jsx as K8}from"react/jsx-runtime";import{jsx as H8}from"react/jsx-runtime";import{jsx as $8}from"react/jsx-runtime";import{jsx as J8}from"react/jsx-runtime";import{jsx as Op}from"react/jsx-runtime";var rg=He.options,ng=He.states,sg={...He.defaultOptions,variant:"on"},lg=[{name:"on",title:"On"},{name:"off",title:"Off"}],dg=[],Ea=e=>{let{variant:t,...o}=e;return t==="off"?Op(He,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Op(He,{checked:!0,onLabel:"On",offLabel:"Off",...o})};Ea.options=rg;Ea.states=ng;Ea.variants=lg;Ea.defaultOptions=sg;Ea.modifiers=dg;Ea.className=He.className;var ds="textarea",Bp=ds;import{Fragment as Rp,jsx as fi,jsxs as ps}from"react/jsx-runtime";var Pp="k-textarea",pg=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],mg={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ma={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Fe=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=Ma.prefixSeparator,suffixSeparator:r=Ma.prefixSeparator,affixesOrientation:l=Ma.affixesOrientation,flow:m=Ma.flow,resize:c=Ma.resize,prefix:b,suffix:x,rows:g,value:u,placeholder:v,hover:I,focus:S,valid:k,invalid:E,required:T,disabled:w,id:Y,"aria-label":te,"aria-describedby":oe,...pe}=e;return ps(X,{...pe,size:t,rounded:o,fillMode:a,hover:I,focus:S,valid:k,invalid:E,required:T,disabled:w,className:n(e.className,Pp,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[b&&ps(Rp,{children:[fi(be,{className:n({"!k-align-items-start":m===l}),direction:l,children:b}),i&&fi(ee,{direction:m==="horizontal"?"vertical":"horizontal"})]}),fi(Ua,{className:n("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":c==="x","k-resize-y":c==="y","k-resize":c==="both","k-resize-none":c==="none"}),value:u,placeholder:v,rows:g,disabled:w,id:Y,"aria-label":te,"aria-describedby":oe,"aria-invalid":E?"true":void 0}),x&&ps(Rp,{children:[r&&fi(ee,{direction:m==="horizontal"?"vertical":"horizontal"}),fi(xe,{className:n({"!k-align-items-start":m===l}),direction:l,children:x})]})]})};Fe.states=pg;Fe.options=mg;Fe.className=Pp;Fe.defaultOptions=Ma;Fe.moduleName=ds;Fe.folderName=Bp;import{jsx as b$}from"react/jsx-runtime";import{Fragment as L$,jsx as v$}from"react/jsx-runtime";import{Fragment as C$,jsx as M$}from"react/jsx-runtime";import{jsx as O$}from"react/jsx-runtime";import{jsx as lr}from"react/jsx-runtime";var cg=Fe.options,ug=Fe.states,wp={...Fe.defaultOptions,variant:"vertical"},fg=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],bg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Ca=e=>{let{variant:t,modifiers:o,...a}={...wp,...e},i={resize:"y"};return Object.keys(o||{}).forEach(r=>{switch(r){case"prefix":i.prefix=o?.[r]?lr(N,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o?.[r]?lr(N,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?lr(Fe,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):lr(Fe,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};Ca.options=cg;Ca.states=ug;Ca.variants=fg;Ca.defaultOptions=wp;Ca.modifiers=bg;Ca.className=Fe.className;import{Fragment as tV,jsx as eV,jsxs as oV}from"react/jsx-runtime";import{Fragment as Lg,jsx as we,jsxs as ya}from"react/jsx-runtime";var xg=G.options,hg=G.states,Ng={...G.defaultOptions,variant:"vertical"},gg=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],vg=[],Aa=e=>{let{variant:t,size:o,...a}=e,i=ya(Pe,{legend:"Form Legend",children:[we($,{label:"Label",editor:we(U,{size:o})}),we($,{label:"Label",hint:"Hint text",editor:we(V,{value:"Dropdown List",size:o})}),we($,{label:"City",editor:ya("ul",{className:"k-radio-list k-list-horizontal",children:[ya("li",{className:"k-radio-list-item",children:[we(Je,{checked:!0,size:o}),we("label",{className:"k-radio-label",children:"Label"})]}),ya("li",{className:"k-radio-list-item",children:[we(Je,{size:o}),we("label",{className:"k-radio-label",children:"Label"})]}),ya("li",{className:"k-radio-list-item",children:[we(Je,{size:o}),we("label",{className:"k-radio-label",children:"Label"})]})]})})]}),r=ya(Lg,{children:[we(p,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),we(p,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?we(G,{orientation:"horizontal",size:o,...a,formButtons:r,children:i}):we(G,{size:o,...a,formButtons:r,children:i})};Aa.options=xg;Aa.states=hg;Aa.variants=gg;Aa.defaultOptions=Ng;Aa.modifiers=vg;Aa.className=G.className;import{jsx as Kp,jsxs as Mg}from"react/jsx-runtime";var Ig=pt.options,Sg=pt.states,Dp={...pt.defaultOptions},kg=[],Eg=[{name:"showHint",title:"Show Hint"}],Ta=e=>{let{modifiers:t,...o}={...Dp,...e},a=t?.showHint??!0;return Mg("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Kp(U,{placeholder:"Component",style:{width:"200px"}}),a&&Kp(pt,{...o,children:"Hint text"})]})};Ta.options=Ig;Ta.states=Sg;Ta.variants=kg;Ta.defaultOptions=Dp;Ta.modifiers=Eg;Ta.className=pt.className;import{jsx as _p,jsxs as Og}from"react/jsx-runtime";var Cg=mt.options,yg=mt.states,zp={...mt.defaultOptions},Ag=[],Tg=[{name:"showError",title:"Show Error"}],Oa=e=>{let{modifiers:t,...o}={...zp,...e},a=t?.showError??!0;return Og("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[_p(U,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&_p(mt,{...o,children:"Error text"})]})};Oa.options=Cg;Oa.states=yg;Oa.variants=Ag;Oa.defaultOptions=zp;Oa.modifiers=Tg;Oa.className=mt.className;import{Fragment as XV,jsx as VV,jsxs as WV}from"react/jsx-runtime";import{Fragment as aX,jsx as oX,jsxs as iX}from"react/jsx-runtime";import{Fragment as xX,jsx as bX,jsxs as hX}from"react/jsx-runtime";import{Fragment as BX,jsx as OX,jsxs as RX}from"react/jsx-runtime";var cs="segmented-control",Hp=cs,Fp="segmented-control-button",Up="segmented-control";import{jsx as Pg,jsxs as wg}from"react/jsx-runtime";var dr="k-segmented-control",Bg=[],Rg={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Gt=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:r,...l}=e;return wg("div",{...l,className:n(e.className,dr,C(dr,{size:t,rounded:o}),{[`${dr}-stretched`]:a}),role:"group",children:[Pg("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:r}),i]})};Gt.states=Bg;Gt.options=Rg;Gt.className=dr;Gt.moduleName=cs;Gt.folderName=Hp;import{jsx as us,jsxs as zg}from"react/jsx-runtime";var fs="k-segmented-control-button",Kg=[s.selected,s.hover,s.focus,s.disabled],Dg={},_g={},Ot=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:r,endIcon:l,text:m,iconClassName:c,...b}=e;return zg("button",{...b,className:n(e.className,fs,M(fs,{hover:t,focus:o,disabled:i,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":i?"true":void 0,tabIndex:a?0:-1,children:[r&&us(N,{className:n(c,"k-segmented-control-button-icon"),icon:r}),(m||e.children)&&us("span",{className:"k-segmented-control-button-text",children:m||e.children}),l&&us(N,{className:n(c,"k-segmented-control-button-icon"),icon:l})]})};Ot.states=Kg;Ot.options=Dg;Ot.className=fs;Ot.defaultOptions=_g;Ot.moduleName=Fp;Ot.folderName=Up;import{Fragment as qX,jsx as JX,jsxs as YX}from"react/jsx-runtime";import{Fragment as oW,jsx as tW,jsxs as aW}from"react/jsx-runtime";import{Fragment as dW,jsx as lW,jsxs as pW}from"react/jsx-runtime";import{Fragment as xW,jsx as bW,jsxs as hW}from"react/jsx-runtime";import{Fragment as SW,jsx as IW,jsxs as kW}from"react/jsx-runtime";import{Fragment as TW,jsx as AW,jsxs as OW}from"react/jsx-runtime";import{Fragment as oJ,jsx as tJ,jsxs as aJ}from"react/jsx-runtime";import{Fragment as gJ,jsx as NJ,jsxs as vJ}from"react/jsx-runtime";import{Fragment as BJ,jsx as OJ,jsxs as RJ}from"react/jsx-runtime";import{Fragment as VJ,jsx as $J,jsxs as XJ}from"react/jsx-runtime";import{Fragment as jJ,jsx as QJ,jsxs as eq}from"react/jsx-runtime";import{Fragment as dq,jsx as lq,jsxs as pq}from"react/jsx-runtime";import{Fragment as Iq,jsx as Lq,jsxs as Sq}from"react/jsx-runtime";import{jsx as yq}from"react/jsx-runtime";import{jsx as Rq}from"react/jsx-runtime";import{jsx as _q}from"react/jsx-runtime";import{jsx as Gq}from"react/jsx-runtime";import{jsx as Jq}from"react/jsx-runtime";import{jsx as jq}from"react/jsx-runtime";import{jsx as iY}from"react/jsx-runtime";import{jsx as dY}from"react/jsx-runtime";import{jsx as fY}from"react/jsx-runtime";import{jsx as gY}from"react/jsx-runtime";import{jsx as SY}from"react/jsx-runtime";import{jsx as yY}from"react/jsx-runtime";import{Fragment as Gp,jsx as _,jsxs as $t}from"react/jsx-runtime";var Hg=({style:e="none",imageRoundness:t=0,isPristine:o=e==="none"&&t===0,framesAmount:a=3,frameThickness:i=0,frameRoundness:r=0,offset:l=0,strokeColor:m="#b0e855",adaptive:c,canvas:b=c?si:ni,imageSrc:x,...g})=>_(se,{adaptive:c,activeTool:"Frame",actionPane:_(fe,{title:"Frame",adaptive:c,confirmDisabled:o,actions:$t(Gp,{children:[_(p,{disabled:o,children:"Reset"}),_(p,{themeColor:"primary",disabled:o,children:"Apply"})]}),children:$t(G,{tag:"div",children:[_($,{label:"Frame Style",editor:$t("div",{className:"k-imageeditor-option-grid",children:[_(We,{selected:e==="none","aria-label":"None",children:_(ro,{label:"None",imageSrc:x})}),_(We,{selected:e==="single","aria-label":"Single",children:_(ro,{label:"Single",imageSrc:x,style:{border:"3px dashed #b0e855",borderRadius:"4px"}})}),_(We,{selected:e==="multiple","aria-label":"Multiple",children:_(ro,{label:"Multiple",imageSrc:x,style:{border:"3px dashed #b0e855",borderRadius:"4px"},children:_("span",{style:{position:"absolute",inset:"6px",border:"3px dashed #b0e855",borderRadius:"1px",boxSizing:"border-box",pointerEvents:"none"}})})})]})}),_($,{label:"Image Roundness",editorId:"frame-image-roundness",editor:$t("div",{className:"k-imageeditor-field-row",children:[_(K,{style:{flex:1,"--kendo-slider-start":0,"--kendo-slider-end":t},"aria-label":"Image Roundness",showButtons:!1,showTicks:!1,value:t,min:0,max:100}),_(O,{id:"frame-image-roundness",style:{width:"80px",flex:"none"},showClearButton:!1,showSpinButton:!1,value:String(t)})]})}),e==="multiple"&&_($,{label:"Frames Amount",editorId:"frame-frames-amount",editor:_(O,{id:"frame-frames-amount",showClearButton:!1,showSpinButton:!1,value:String(a)})}),e!=="none"&&$t(Gp,{children:[_($,{label:"Frame Thickness",editorId:"frame-thickness",editor:$t("div",{className:"k-imageeditor-field-row",children:[_(K,{style:{flex:1,"--kendo-slider-start":0,"--kendo-slider-end":i},"aria-label":"Frame Thickness",showButtons:!1,showTicks:!1,value:i,min:0,max:100}),_(O,{id:"frame-thickness",style:{width:"80px",flex:"none"},showClearButton:!1,showSpinButton:!1,value:String(i)})]})}),_($,{label:"Frame Roundness",editorId:"frame-roundness",editor:$t("div",{className:"k-imageeditor-field-row",children:[_(K,{style:{flex:1,"--kendo-slider-start":0,"--kendo-slider-end":r},"aria-label":"Frame Roundness",showButtons:!1,showTicks:!1,value:r,min:0,max:100}),_(O,{id:"frame-roundness",style:{width:"80px",flex:"none"},showClearButton:!1,showSpinButton:!1,value:String(r)})]})}),$t(Pe,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[_($,{label:"Stroke Type",editor:_(V,{id:"frame-stroke-type",value:"Dashed","aria-label":"Stroke Type"})}),_($,{label:"Offset",editorId:"frame-offset",editor:_(O,{id:"frame-offset",showClearButton:!1,showSpinButton:!1,value:String(l),prefix:_(N,{icon:"max-width"})})})]}),_($,{label:"Stroke Color",editor:_(he,{id:"frame-stroke-color",value:m,"aria-label":"Stroke Color"})})]})]})}),children:e==="none"?_(ye,{...b,imageSrc:x,style:{borderRadius:`${t}px`}}):$t("div",{style:{position:"relative",width:`${b.width}px`,height:`${b.height}px`},children:[_(ye,{...b,imageSrc:x,style:{position:"absolute",top:0,left:0,borderRadius:`${t}px`}}),_("div",{style:{position:"absolute",top:0,left:0,width:`${b.width}px`,height:`${b.height}px`,border:`${i}px dashed ${m}`,borderRadius:`${r}px`,boxSizing:"border-box",pointerEvents:"none"}}),e==="multiple"&&_("div",{style:{position:"absolute",top:`${i+l}px`,left:`${i+l}px`,width:`${b.width-(i+l)*2}px`,height:`${b.height-(i+l)*2}px`,border:`${i}px dashed ${m}`,borderRadius:`${Math.max(r-i-l,0)}px`,boxSizing:"border-box",pointerEvents:"none"}})]}),...g});export{Hg as ImageEditorFrames};
|